/* Keep the original banner ratio and shorten the unavailable form rows. */
.site-header .main-menu > ul > li > a { white-space: nowrap; }
.site-header a[href]:focus-visible, .site-footer a[href]:focus-visible, .owl button:focus-visible { outline: 2px solid #166a9a; outline-offset: 3px; }
a:not([href]) { cursor: default; }
.archive .entry-media:empty, .entry-content figure:empty { display: none; }
.module.slider [data-restored-hero] { background-size: cover; background-position: center; }
.tg-home-title { font-size: clamp(1.45rem,3vw,1.95rem); line-height: 1.2; color: #173245; font-weight: 600; width: min(1140px,calc(100% - 40px)); margin: 20px auto 14px; }
.tg-disabled-link { font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit; }
.tg-footer-description { max-width: 410px; }

/* Visual finish */
.module.slider [data-restored-hero]::before { content: none !important; }
.site-footer .widget p,.site-footer .copyright,.site-footer .copyright a { color:#526571; }
.site-footer .widget .local-links { display:flex;flex-wrap:wrap;gap: 8px 20px;padding-inline-start:0;list-style:none; }
.site-footer .local-links a { color:#243f53; }
.home .post-list .entry-meta, .archive .post-grid .entry-meta { color:#5b6872; }

/* Offline banner controls */
.module.slider[data-local-slider] { position:relative; display:block; }
.module.slider[data-local-slider] [data-restored-hero] { display:block; background-size:cover; background-position:center; height:clamp(230px,28vw,400px) !important; }
.module.slider[data-local-slider] [data-restored-hero][hidden] { display:none !important; }
.tg-hero-picker { position:absolute; bottom:14px; left:50%; transform:translateX(-50%); display:flex; gap:7px; border-radius:18px; padding:4px 7px; background:#233944df; }
.tg-hero-picker button { appearance:none; display:grid; place-items:center; padding:0; border:0; width:27px; height:27px; background:transparent; cursor:pointer; }
.tg-hero-picker button::before { content:""; width:8px; height:8px; border:1px solid white; border-radius:10px; background:#ffffff70; }
.tg-hero-picker button[aria-pressed=true]::before { width:16px; background:white; }
.tg-hero-picker button:focus-visible { outline:2px solid #fff; outline-offset:1px; border-radius:5px; }

.site-footer .footer--text, .site-footer .footer--text p, .site-footer .footer--about, .site-footer .footer--about p, .site-footer .site-info { color:#526571 !important; }
