@media(min-width:851px) and (max-width:1050px){#menu{gap:12px;font-size:13px}.header-row{gap:14px}}
@media(min-width:761px) and (max-width:850px){#menu{gap:7px;font-size:12px}.header-row{gap:10px}.application-check-link{display:none}}
@media(min-width:701px) and (max-width:760px){.header-row{min-height:78px;flex-wrap:wrap;gap:10px}.brand{gap:8px}.brand img{width:32px;height:32px}.brand strong{font-size:17px;letter-spacing:1.3px}.brand small{display:none}.menu-button{display:block;font-size:13px;padding:8px 10px}#menu{display:none;order:5;width:100%;flex-direction:column;gap:0;padding:0 0 16px}#menu.open{display:flex}#menu a{padding:12px 0;border-top:1px solid var(--line);font-size:16px}.application-actions{margin-left:auto;gap:8px}.application-check-link{display:none}}

/* Confirmed mobile masthead: centered bilingual identity and quiet text actions. */
@media(max-width:760px){
 .header{border-bottom:1px solid #b8a78b}
 .header .header-row{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px 0;min-height:0;padding-top:14px;padding-bottom:8px}
 .header .brand{grid-column:2;grid-row:1;justify-self:center;min-width:0;gap:8px}
 .header .brand img{width:30px;height:34px;object-fit:contain}
 .header .brand strong{font-size:17px;line-height:1.2;letter-spacing:1px;white-space:nowrap}
 .header .brand small{display:block;font-size:10.5px;font-weight:400;line-height:1.4;letter-spacing:0;margin-top:3px;color:var(--ink);white-space:nowrap}
 .header .menu-button{display:block;grid-column:1;grid-row:1;justify-self:start;margin-left:-16px;width:44px;height:44px;min-height:44px;padding:0;border:0;background:transparent url('icons/menu.svg') center/20px 20px no-repeat;font-size:0;line-height:0;color:transparent}
 .header .menu-button[aria-expanded="true"]{background-image:url('icons/x.svg')}
 .header .application-actions{grid-column:1/-1;grid-row:2;display:flex;justify-content:center;align-items:center;flex-direction:row;gap:0;width:100%;margin:0}
 .header .application-actions .button,.header .application-actions .application-check-link{display:inline-flex;position:relative;align-items:center;justify-content:center;min-height:44px;padding:8px 22px;font-size:14px;line-height:1.4;letter-spacing:0;white-space:nowrap;border:0;background:transparent}
 .header .application-actions .application-check-link{order:-1;color:var(--ink);font-weight:400;text-decoration:none}
 .header .application-actions .application-check-link::after{content:'';position:absolute;right:0;top:16px;height:12px;border-right:1px solid #b8a78b}
 .header .application-actions .button{color:#89642e;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:8px}
 .header .application-actions .application-check-link:hover{color:#89642e;background:transparent;text-decoration:underline;text-underline-offset:5px}
 .header .application-actions .button:hover{color:var(--ink);background:transparent}
 .header #menu{display:none;grid-column:1/-1;grid-row:3;width:100%;flex-direction:column;gap:0;padding:0;border:0}
 .header #menu.open{display:flex}
 .header #menu a{padding:12px 0;border-top:1px solid var(--line)}
}

/* Desktop current-page marker: retain the active color and add a fine underline. */
@media(min-width:761px){
 .readable-type #menu a[aria-current="page"]{text-decoration-line:underline;text-decoration-color:currentColor;text-decoration-thickness:1px;text-underline-offset:8px;text-decoration-skip-ink:auto}
}
