/* WordPress integration only; delivered design rules remain in their original order. */
.pagination .page-numbers.current{background:var(--pink);color:#fff}
.pagination .page-numbers.dots{border:0}
.detail-body iframe{max-width:100%}
.detail-body img{height:auto}
.catalog-tools select:focus-visible{outline:3px solid #326f8b;outline-offset:3px}
/* Achievement navigation uses the existing term and region categories. */
.achievement-sidebar{position:static;background:none;padding:0;border-radius:0}
.achievement-sidebar-group{padding:22px 20px;margin-bottom:24px;background:#fff;border:1px solid #ddd5d2}
.achievement-sidebar-group h2{padding-bottom:10px;margin:0 0 12px;border-bottom:1px solid #fd9d96;font-size:18px}
.achievement-sidebar-group nav{display:grid;grid-template-columns:1fr;gap:0}
.achievement-sidebar-group a{display:flex;align-items:baseline;gap:9px;padding:8px 10px;border:0;overflow-wrap:anywhere}
.achievement-sidebar-group a:hover,.achievement-sidebar-group a:focus-visible{background:#fff6f4}
.achievement-sidebar-group a[aria-current]{background:#fff0ee;color:#20362e;font-weight:700}
@media(max-width:800px){.achievement-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.achievement-sidebar-group{margin:0}.achievement-sidebar .sidebar-salon-banner{grid-column:1/-1}}
@media(max-width:640px){.achievement-sidebar{grid-template-columns:1fr}.achievement-sidebar-group{padding:22px 20px}.achievement-sidebar-group h2{font-size:20px}}

/* Detail-page masthead shows the content category; the article keeps the only H1. */
.page-masthead .page-category-title{font-size:38px;line-height:1.5;letter-spacing:.035em;margin:0;font-weight:700}
.page-masthead .page-category-title::after{content:'';display:block;width:44px;height:4px;border-radius:4px;background:#f26a60;margin-top:15px}
@media(max-width:640px){.page-masthead .page-category-title{font-size:28px}}

/* Body embeds preserve the original ratio and fit small screens. */
.detail-body .ok-video-embed{position:relative;width:100%;margin:1.5rem 0}
.detail-body .ok-video-embed iframe{position:absolute;inset:0;width:100%;height:100%;max-width:100%;border:0}

/* Keep full article titles readable in long and nested breadcrumb trails. */
.breadcrumbs li{min-width:0;overflow-wrap:anywhere}

/* Standalone achievement articles are linked from static policy content. */
.catalog-note{font-size:14px;line-height:1.8;margin:16px 0;color:var(--muted)}
.policy-static-achievement{scroll-margin-top:120px}

@media(min-width:641px) and (max-width:800px){.achievement-theme-sidebar{grid-column:1/-1}.achievement-theme-sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

@media(max-width:640px){.detail-end{grid-template-columns:minmax(0,1fr);justify-content:stretch}.detail-end>.outline-button{box-sizing:border-box;width:100%}}

/* Paged archives must fit their grid column while keeping 44px pagination targets. */
.sub-layout>div{min-width:0}
.pagination{flex-wrap:wrap;max-width:100%}

/* Theme discovery follows the policy section and searches the actual article archive. */
.topics-section{padding-block:40px}
.topic-search-form{max-width:760px;margin:22px auto 0}
.topic-search-form label{display:block;font-size:14px;font-weight:700;margin-bottom:9px}
.topic-search-fields{display:flex;gap:12px;align-items:stretch}
.topic-search-fields input{flex:1;min-width:0;border:1px solid #c9c2bf;border-radius:6px;padding:11px 14px;font:inherit;font-size:16px;background:#fff}
.topic-search-fields .pink-button{flex-shrink:0;min-height:48px;padding:10px 24px}
.topic-search-fields input:focus-visible{outline:3px solid #326f8b;outline-offset:3px}
@media(max-width:640px){.topics-section{padding-block:30px}.topic-search-fields{flex-direction:column;gap:10px}.topic-search-fields .pink-button{width:100%}}
.pickup-strip:empty{display:none}
.hero+.pickup-strip{margin-top:32px}
@media(max-width:640px){.hero+.pickup-strip{margin-top:24px}}

/* Supplied name artwork keeps the existing KV nameplate anchor. */
.identity-note.identity-note-image{width:300px;min-width:0;padding:0;gap:0}
.identity-note-image .hero-identity-logo{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}
@media(min-width:1600px){.identity-note.identity-note-image{width:330px}}
@media(min-width:1001px) and (max-width:1200px){.identity-note.identity-note-image{width:270px}}
@media(min-width:641px) and (max-width:1000px){.identity-note.identity-note-image{width:240px}}
@media(max-width:640px){.identity-note.identity-note-image{width:210px}}
