/*
Theme Name: WIJ kappers
Theme URI: https://wijkappers.nl
Author: One Marketing Agency
Author URI: https://onemarketingagency.nl
Description: Maatwerkthema voor WIJ kappers in Apeldoorn (voorheen SMILE kappers). Onepager met volledig via ACF Free bewerkbare teksten en foto's, plus custom post types voor team, behandelingen, reviews en galerij.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wij-kappers
Tags: onepager, salon, custom-menu, translation-ready
*/

/* ============================================================
   Aanvullingen op assets/css/styles.css:
   WordPress-basisklassen, adminbalk, losse pagina's en berichten.
   ============================================================ */

/* ---------- toegankelijkheid ---------- */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: 12px;
	left: 12px;
	z-index: 999;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	border-radius: 100px;
	background: var(--petrol);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

/* ---------- adminbalk ---------- */
.admin-bar .hdr {
	top: 32px;
}

.admin-bar .mobnav {
	top: 32px;
}

@media screen and (max-width: 782px) {

	.admin-bar .hdr,
	.admin-bar .mobnav {
		top: 46px;
	}
}

/* ---------- losse pagina's en berichten ---------- */
.entry {
	max-width: 70ch;
	font-size: 17px;
	line-height: 1.75;
}

.entry > * + * {
	margin-top: 20px;
}

.entry h2,
.entry h3,
.entry h4 {
	margin-top: 40px;
	line-height: 1.15;
}

.entry h2 {
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.entry h3 {
	font-size: 1.3rem;
}

.entry a {
	color: var(--brass);
	text-underline-offset: 3px;
}

.entry ul,
.entry ol {
	padding-left: 22px;
	list-style: revert;
}

.entry li {
	margin-block: 6px;
}

.entry blockquote {
	margin: 0;
	padding-left: 22px;
	border-left: 2px solid var(--brass);
	font-family: var(--font-accent);
	font-style: italic;
	font-size: 1.2rem;
}

.entry img,
.entry-hero img {
	border-radius: var(--r);
	height: auto;
}

.entry-hero {
	margin: 0 0 clamp(24px, 4vw, 44px);
}

.entry table {
	width: 100%;
	border-collapse: collapse;
}

.entry th,
.entry td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.entry code,
.entry pre {
	background: var(--chalk);
	border-radius: 8px;
}

.entry code {
	padding: 2px 6px;
	font-size: 15px;
}

.entry pre {
	padding: 18px;
	overflow-x: auto;
}

/* ---------- berichtenoverzicht ---------- */
.entry-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: clamp(24px, 3vw, 38px);
}

.entry-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: clamp(20px, 2.4vw, 28px);
}

.entry-card__media img {
	border-radius: 10px;
	margin-bottom: 18px;
	height: auto;
}

.entry-card h2 a {
	text-decoration: none;
}

.entry-card__meta {
	font-size: 13px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--ink-40);
	margin-block: 8px 14px;
}

.entry-card .entry {
	font-size: 15.5px;
	color: var(--ink-60);
}

.entry-nav {
	margin-top: clamp(30px, 4vw, 50px);
}

.entry-nav .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.entry-nav .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 12px;
	border: 1px solid var(--line);
	border-radius: 100px;
	text-decoration: none;
	font-size: 15px;
}

.entry-nav .page-numbers.current {
	background: var(--petrol);
	border-color: var(--petrol);
	color: #fff;
}

/* ---------- WordPress-uitlijning en bijschriften ---------- */
.alignleft {
	float: left;
	margin: 6px 24px 18px 0;
}

.alignright {
	float: right;
	margin: 6px 0 18px 24px;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide,
.alignfull {
	max-width: none;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.entry figcaption {
	font-size: 14px;
	color: var(--ink-40);
	margin-top: 8px;
}

.sticky .entry-card {
	border-color: var(--brass);
}
