/* Header, shared card geometry and real SVG centers. Unslop: Damir Sokolovsky
   (@heydamir), CC BY 4.0. Retains the earlier b26 mark, in the current palette. */
body.site-refresh .site-brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0;}
body.site-refresh .site-brand__mark{display:grid;grid-template-columns:10px 10px;grid-template-rows:16px 24px;gap:4px;width:24px;height:44px;flex:0 0 24px;}
body.site-refresh .site-brand__mark>span{display:block;border-radius:8px;background:var(--ui-action);}
body.site-refresh .site-brand__mark>span:first-child{grid-row:1/3;height:36px;align-self:end;}
body.site-refresh .site-brand__text{display:flex;flex-direction:column;gap:4px;}
body.site-refresh .site-brand__name{font-size:25px;font-weight:600;line-height:1.25;letter-spacing:.025em;}
body.site-refresh .site-brand__caption{display:block;font-size:12px;font-weight:400;line-height:1.5;color:var(--ui-secondary);letter-spacing:0;}
body.site-refresh .site-brand__image{display:block;max-width:240px;max-height:48px;width:auto;height:auto;}
body.site-refresh .site-header__main{min-height:88px;gap:24px;}
body.site-refresh .site-header__actions{min-height:40px;padding-block:4px;}
body.site-refresh .site-header__quick{display:none;}
body.site-refresh .site-main .breadcrumbs{padding-bottom:16px;}
body.site-refresh .breadcrumbs li:first-child a{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:none;}
body.site-refresh .breadcrumbs li:first-child a:hover{text-decoration:underline;text-underline-offset:4px;}
body.site-refresh .breadcrumbs li:first-child .detail-icon{color:var(--ui-secondary);}

/* No anonymous text grid row: one real SVG is centered in each circular control. */
body.site-refresh .rich-arrow{display:inline-flex;align-items:center;justify-content:center;height:auto;aspect-ratio:1;line-height:0;font-size:0;box-sizing:border-box;}
body.site-refresh .rich-arrow::before{content:none;display:none;}
body.site-refresh .rich-arrow>.detail-icon{display:block;flex:0 0 20px;width:20px;height:20px;margin:0;vertical-align:initial;}
body.site-refresh :is(.page-next a,.site-footer nav a)>span:last-child{display:inline-flex;align-items:center;justify-content:center;line-height:0;}
body.site-refresh :is(.page-next a,.site-footer nav a)>span:last-child::before{content:none;display:none;}
body.site-refresh .site-main .page-next a>span:last-child{width:48px;height:48px;min-width:48px;min-height:48px;flex:0 0 48px;aspect-ratio:1;align-self:center;box-sizing:border-box;border-radius:50%;padding:0;}
body.site-refresh .site-main .page-next a>span:last-child>.detail-icon{width:20px;height:20px;flex:0 0 20px;margin:0;}

/* Equal outside height, equal divider height and equal action baseline. */
body.site-refresh .home-public-candidate .is-region-grid{align-items:stretch;}
body.site-refresh .home-public-candidate .is-region-grid>a{display:flex;flex-direction:column;}
body.site-refresh .home-public-candidate .rich-photo-link__image{flex:0 0 auto;}
body.site-refresh .home-public-candidate .rich-photo-link__body{display:flex;flex:1;flex-direction:column;min-width:0;}
body.site-refresh .home-public-candidate .rich-card-end{margin-top:auto;min-height:72px;}
body.site-refresh .home-public-candidate .is-guide-grid>a{display:flex;flex-direction:column;align-items:stretch;}
body.site-refresh .home-public-candidate .rich-guide-label{margin-top:auto;min-height:72px;}
body.site-refresh .home-public-candidate .rich-guide-label h3{margin:0;}
body.site-refresh .site-main .fixed-page :is(.service-learning-grid,.service-topic-grid){align-items:stretch;}
body.site-refresh .fixed-page .service-learning-card{display:flex;flex-direction:column;}
body.site-refresh .fixed-page .service-learning-card__visual{flex:0 0 176px;}
body.site-refresh .fixed-page .service-learning-card__copy{display:flex;flex:1;flex-direction:column;}
body.site-refresh .fixed-page .service-learning-card__copy>details{margin-top:auto;}
body.site-refresh .fixed-page .service-learning-list{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0;padding:0;}
body.site-refresh .fixed-page .service-learning-list>li{margin:0;padding:4px 8px;border:1px solid var(--ui-border);border-radius:6px;font-size:16px;line-height:1.7;background:var(--ui-neutral);}
body.site-refresh .fixed-page .service-learning-card .service-card-condition{font-size:15px;line-height:1.8;color:var(--ui-secondary);margin:16px 0 0;}
body.site-refresh .service-mini-day{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:8px 0 0;padding:0;}
body.site-refresh .service-mini-day>li{display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;min-height:72px;padding:8px 0;background:var(--ui-mint);border-radius:8px;}
body.site-refresh .service-mini-day time{font-size:16px;font-variant-numeric:tabular-nums;color:var(--ui-action);}
body.site-refresh .service-mini-day span{font-size:17px;}
body.site-refresh .voice-final-link{display:grid;grid-template-columns:minmax(0,1fr) 48px;column-gap:24px;padding:32px;align-items:center;}
body.site-refresh .voice-final-link>span:first-child,body.site-refresh .voice-final-link>strong{grid-column:1;}
body.site-refresh .voice-final-link .rich-arrow{position:static;grid-column:2;grid-row:1/3;align-self:center;margin:0;}

/* The footer cards have the same fields, in the same order. */
body.site-refresh .site-footer__offices{align-items:stretch;}
body.site-refresh .site-footer__office{grid-template-columns:1fr;grid-template-rows:120px minmax(0,1fr);}
body.site-refresh .site-footer__office-image img{height:120px;min-height:0;}
body.site-refresh .site-footer__office-info{display:flex;flex-direction:column;padding:20px;}
body.site-refresh .site-footer .site-footer__region{gap:8px;margin:0 0 8px;}
body.site-refresh .site-footer__service{margin-left:auto;font-size:14px;white-space:nowrap;}
body.site-refresh .site-footer__office h3{margin:0 0 16px;}
body.site-refresh .site-footer .site-footer__phone{margin-top:auto;}
body.site-refresh .site-footer .site-footer__hours{margin:8px 0 16px;}
body.site-refresh .site-footer__map{align-self:flex-start;}

/* One recognizable staff portrait beside the author and role. */
body.site-refresh .voice-editorial .idend-btype-voice--staff .voice-copy{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px 20px;align-content:start;height:100%;box-sizing:border-box;}
body.site-refresh .voice-staff-portrait{display:block;grid-column:1;grid-row:1;width:64px;height:64px;border-radius:50%;background:#fff;overflow:hidden;}
body.site-refresh .voice-staff-portrait img{display:block;width:100%;height:100%;object-fit:contain;}
body.site-refresh .voice-editorial .idend-btype-voice--staff .idend-btype-voice-meta{grid-column:2;grid-row:1;align-self:center;}
body.site-refresh .voice-editorial .idend-btype-voice--staff h3{grid-column:1/-1;grid-row:2;min-height:36px;margin:0;}
body.site-refresh .voice-editorial .idend-btype-voice--staff blockquote{grid-column:1/-1;grid-row:3;}
body.site-refresh .voice-editorial .idend-btype-voice--staff blockquote::before{display:none;}

@media(min-width:768px) and (max-width:1120px){
 body.site-refresh .site-header__quick{display:flex;margin-left:auto;margin-right:84px;gap:16px;}
 body.site-refresh .site-header__quick a{display:flex;align-items:center;gap:8px;font-size:15px;padding:8px 0;}
 body.site-refresh .site-header:has(.mobile-navigation[open]) .site-header__quick{visibility:hidden;}
 body.site-refresh .voice-editorial .idend-btype-voice--staff h3{min-height:72px;}
}
@media(max-width:1120px){
 body.site-refresh .site-header__main{min-height:80px;}
 body.site-refresh .mobile-navigation summary{top:16px;right:16px;gap:0;width:48px;min-height:48px;padding:12px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-white);}
 body.site-refresh .mobile-navigation__toggle{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;flex:0 0 24px;border-radius:0;background:transparent;}
 body.site-refresh .mobile-navigation__toggle .detail-icon{width:24px;height:24px;flex:none;}
 body.site-refresh .mobile-navigation[open] .mobile-navigation__toggle{color:var(--ui-action);}
 body.site-refresh .mobile-navigation__toggle>span{line-height:0;}
 body.site-refresh .mobile-navigation nav>a{display:flex;align-items:center;gap:12px;}
 body.site-refresh .mobile-navigation nav>a>span:not(.mobile-navigation__arrow){flex:1;}
 body.site-refresh .mobile-navigation__arrow{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;line-height:0;}
}
@media(max-width:767px){
 body.site-refresh .site-header__main{min-height:72px;}
 body.site-refresh .site-brand{gap:8px;}
 body.site-refresh .site-brand__name{font-size:21px;}
 body.site-refresh .site-brand__caption{font-size:12px;}
 body.site-refresh .site-brand__service{display:none;}
 body.site-refresh .site-brand__mark{grid-template-columns:8px 8px;grid-template-rows:12px 20px;width:20px;height:36px;flex-basis:20px;}
 body.site-refresh .site-brand__mark>span:first-child{height:28px;}
 body.site-refresh .mobile-navigation summary{top:12px;}
 body.site-refresh .home-public-candidate .is-region-grid>a{display:grid;grid-template-columns:100px minmax(0,1fr);}
 body.site-refresh .home-public-candidate .rich-card-end{min-height:64px;}
 body.site-refresh .home-public-candidate .is-guide-grid>a{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;}
 body.site-refresh .home-public-candidate .is-guide-grid .support-scene{width:72px;margin:auto;}
 body.site-refresh .home-public-candidate .rich-guide-label{margin:0;min-height:72px;}
 body.site-refresh :is(.rich-path-panel,.rich-audience-links>a){display:grid;grid-template-columns:64px minmax(0,1fr) 40px;gap:12px;padding:16px;}
 body.site-refresh :is(.rich-path-panel,.rich-audience-links>a) .support-scene{width:64px;min-width:0;}
 body.site-refresh :is(.rich-path-panel,.rich-audience-links>a) .rich-arrow{width:40px;height:40px;flex-basis:40px;}
 body.site-refresh :is(.rich-path-panel,.rich-audience-links>a)>span:nth-child(2){min-width:0;}
 body.site-refresh .rich-path-panel strong{font-size:19px;}
 body.site-refresh .voice-final-link{padding:24px;grid-template-columns:minmax(0,1fr) 40px;gap:8px 16px;}
 body.site-refresh .voice-final-link .rich-arrow{width:40px;height:40px;}
 body.site-refresh .site-footer__office{grid-template-columns:88px minmax(0,1fr);grid-template-rows:1fr;}
 body.site-refresh .site-footer__office-image img{height:100%;min-height:184px;}
 body.site-refresh .site-footer__office-info{padding:16px 12px;}
 body.site-refresh .site-footer__service{font-size:12px;}
 body.site-refresh .site-footer__office h3{font-size:17px;}
 body.site-refresh .voice-editorial .idend-btype-voice--staff .voice-copy{padding:24px;grid-template-columns:56px minmax(0,1fr);gap:16px;}
 body.site-refresh .voice-staff-portrait{width:56px;height:56px;}
 body.site-refresh .voice-editorial .idend-btype-voice--staff h3{min-height:0;}
}

/* Two consultation choices share the mobile bar without covering the page end. */
@media(max-width:760px){
 body.site-refresh:has(.mobile-contact-bar){padding-bottom:calc(84px + env(safe-area-inset-bottom,0px));}
 body.site-refresh .mobile-contact-bar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));}
 body.site-refresh .mobile-contact-bar :is(a,button){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:56px;margin:0;padding:8px;border:1px solid var(--ui-border-strong);border-radius:12px;font:inherit;font-size:14px;line-height:1.45;font-weight:600;text-align:center;text-decoration:none;cursor:pointer;}
 body.site-refresh .mobile-contact-bar .detail-icon{width:18px;height:18px;flex:0 0 18px;margin:0;}
 body.site-refresh .mobile-contact-bar button:focus-visible{outline:3px solid var(--ui-action);outline-offset:3px;}
 body.site-refresh .mobile-contact-bar button:disabled{opacity:.5;cursor:default;}
}
