/* Bilingual navigation and readable author layouts. */
.site-header{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px}
.site-header>.wordmark,.site-header>.header-brand{grid-column:2;grid-row:1;position:static!important;transform:none!important;justify-self:center}
.site-header>#menu-open{grid-column:1;grid-row:1;justify-self:start}
.site-header>.header-tools{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:18px}
.site-header>.language-switch{grid-column:3;grid-row:2;justify-self:end;font-size:14px;line-height:1.4;display:flex;gap:8px;align-items:center}
.language-switch a{text-underline-offset:4px}.language-switch [aria-current]{font-weight:650}
body.author-page #main{max-width:1180px;margin:0 auto;padding:150px 5vw 72px}
body.author-page #main>section{max-width:880px;margin-bottom:48px}
body.author-page #main p,body.author-page #main li{font-size:clamp(18px,1.4vw,21px);line-height:1.65}
body.author-page #main h1{font-size:clamp(40px,6vw,80px)}
@media(min-width:761px){.site-header{padding-top:14px!important;padding-bottom:12px!important;row-gap:3px}.site-header>.language-switch{font-size:13px}}
@media(max-width:760px){
 .site-header{grid-template-columns:1fr auto 1fr;padding:14px 20px 10px!important;gap:10px 6px;height:auto!important;min-height:98px;box-sizing:border-box;background:var(--paper,#f3f1e8)}
 .site-header .wordmark{font-size:22px;letter-spacing:.2em}
 .site-header .header-cta{display:none!important}
 .site-header>.header-tools{grid-column:1;grid-row:2;justify-self:start}
 .site-header>.language-switch{grid-column:2/4;grid-row:2;justify-self:end;font-size:14px}
 .site-header button,.site-header .collection-toggle{font-size:14px!important;line-height:1.4;min-height:28px}
 .site-header>.header-brand{grid-column:2/4;justify-self:end}
 body.author-page #main{padding:140px 22px 48px}
 .language-switch a{min-height:28px;display:inline-flex;align-items:center}
 .expanded-content{padding-top:max(118px, var(--content-top,118px))}
}
/* Long translated headings wrap without clipping their glyphs. */
h1,h2,h3{overflow-wrap:anywhere}
.footer-links a,footer .footer-bottom,footer .footer-bottom a{font-size:16px;line-height:1.65}
@media(max-width:760px){.footer-links{gap:16px}.footer-links a{min-height:44px;display:inline-flex;align-items:center}}

.breadcrumb,.breadcrumb a,.feature-chips span,.zoom-button,.pending-card button{font-size:14px;line-height:1.55}
.zoom-button,.pending-card button{min-height:44px}

/* Shared labels and procurement controls stay legible on both viewports. */
body main :is(.eyebrow,dt,.breadcrumb,.chapter-enter,.home-project-link,.chapter-return,.chapter-index,.chapter-total,.color-item,.review-output strong,.product-card>span,.project-carousel-controls>span){font-size:14px!important;line-height:1.6}
body main :is(.text-link,.cd-link){font-size:16px!important;line-height:1.6}
body main small{font-size:16px!important;line-height:1.6}
body main table caption:not(#evidence caption){font-size:max(16px,1em)!important;line-height:1.6}
body .site-header :is(.collection-toggle,.language-switch a){font-size:14px!important}
html[lang=es] body main :is(.table-scroll,.cd-table-wrap):has(>.mobile-matrix)::before{content:"Desliza horizontalmente para comparar tallas →"}

@media(max-width:760px){
 body .site-header .language-switch a{min-height:44px}
 body main :is(.home-project-link,.yc-idea-link,.cd-link){min-height:44px;display:inline-flex;align-items:center}
 body main :is(.card-colours button,.colour-swatch,.project-carousel button){min-width:44px;min-height:44px}
 body main :is(.depth-workflow article>span,.review-stage-mark>span){font-size:14px}
}
@media(max-width:760px){body .yc-hotspots>button{width:44px;min-width:44px;height:44px;min-height:44px}body :is(.depth-workflow article>span,.review-stage-mark>span){font-size:14px!important}}

/* Compact receipt footers share the dark footer background. */
footer.v3-content{color:var(--cream,#f0eee6);font-size:17px;line-height:1.65}
footer.v3-content a{text-decoration:underline;text-underline-offset:3px}
