/* ==========================================================================
   NISST theme — based on the React demo design.
   Accessibility changes vs the demo: higher text contrast, keyboard-usable
   menus, pause buttons for moving content, reduced-motion support, mobile layout.
   ========================================================================== */

@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/rajdhani-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/rajdhani-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/rajdhani-latin-700-normal.woff2") format("woff2"); }

:root {
	--red: #b7171a;
	--red-dark: #941113;
	--red-ink: #4b0e0f;
	--ink: #1a1a1a;
	--ink-2: #4a4a4a;          /* body text on light (was rgba(0,0,0,.55)) */
	--black: #0a0a0e;
	--footer: #060609;
	--hero-bg: #d4d4d4;
	--light: #f5f5f5;
	--labs: #55555c;           /* darker than demo #86868b so white text passes contrast */
	--contact: #3e3e45;
	--green-ink: #124020;
	--green: #15803d;
	--green-btn: #15803d;      /* demo #16a34a fails contrast with white text */
	--radius: 12px;
	--head: "Rajdhani", "Segoe UI", system-ui, sans-serif;
	--body: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
	--max: 1200px;
	--focus: 0 0 0 3px #fff, 0 0 0 6px #1d4ed8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }
a:hover { color: var(--red-dark); }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; }
ul.menu, .cards, .stats, .tags, .labs__grid, .taxonomy, .post-list, .footer__links, .footer__legal, .footer__social, .ticker__list { list-style: none; margin: 0; padding: 0; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 2rem; }
.container--wide { max-width: 1400px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: #fff; color: var(--ink); padding: .75rem 1rem; border-radius: 6px; font-weight: 600; }
.skip-link:focus { top: 1rem; }
.site-main:focus { outline: none; }
.text-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .55rem 1.15rem; border-radius: 7px; font-family: var(--head); font-weight: 700; font-size: .95rem; letter-spacing: .3px; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: opacity .2s, background .2s; }
.btn--lg { padding: .8rem 1.5rem; font-size: 1rem; }
.btn--block { width: 100%; padding: .85rem 1rem; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); color: #fff; }
.btn--ghost { background: rgba(0,0,0,.06); color: #222; border-color: rgba(0,0,0,.15); font-family: var(--body); font-weight: 500; }
.btn--ghost:hover { background: rgba(0,0,0,.12); color: #000; }
.btn--green { background: var(--green-btn); color: #fff; }
.btn--green:hover { background: #166534; color: #fff; }
.btn--green-outline { background: #fff; color: var(--green); border-color: rgba(21,128,61,.45); font-family: var(--body); font-weight: 500; }
.btn--green-outline:hover { background: #f0fdf4; color: #166534; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn-row--center { margin-top: 2.5rem; }

/* ---------- Top strip ---------- */
.topbar { background: #fff; border-bottom: 1px solid #e6e6e6; font-size: .8rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 48px; }
.topbar__text { margin: 0; color: #444; font-weight: 500; }
.topbar__right { display: flex; align-items: center; gap: .75rem; }
.topbar__logo { height: 40px; width: auto; }
.topbar__btn { display: inline-flex; align-items: center; gap: .35rem; background: var(--red); color: #fff; text-decoration: none; padding: .35rem .8rem; border-radius: 6px; font-weight: 600; font-family: var(--head); font-size: .85rem; }
.topbar__btn:hover { background: var(--red-dark); color: #fff; }
.topbar__social { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: #1f1f25; color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem; }
.topbar__social:hover { background: var(--red); color: #fff; }

/* ---------- Ticker ---------- */
.ticker { background: var(--red-dark); color: #fff; padding: .55rem 0; font-size: .85rem; }
.ticker__inner { display: flex; align-items: center; gap: 1rem; }
.ticker__label { font-family: var(--head); font-weight: 700; font-size: .75rem; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; }
.ticker__divider { width: 1px; height: 14px; background: rgba(255,255,255,.45); }
.ticker__list { flex: 1; min-width: 0; text-align: center; font-weight: 500; }
.ticker__item { display: none; }
.ticker__item.is-active { display: block; animation: fadein .4s; }
.ticker__item a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ticker__controls { display: flex; align-items: center; gap: .4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.dot.is-active { background: #fff; }
.pause-btn { border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; border-radius: 4px; font-size: .55rem; line-height: 1; padding: .3rem .4rem; cursor: pointer; margin-left: .25rem; }
.pause-btn[aria-pressed="true"] span[aria-hidden]::before { content: "▶"; }
.pause-btn[aria-pressed="true"] span[aria-hidden] { font-size: 0; }
.pause-btn[aria-pressed="true"] span[aria-hidden]::before { font-size: .6rem; }
.pause-btn--dark { color: #333; border-color: rgba(0,0,0,.35); }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--black); border-bottom: 1px solid rgba(255,255,255,.06); }
.site-header.is-scrolled { background: rgba(10,10,14,.97); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	.topbar__text { display: none; }
	.topbar__inner { justify-content: center; }
	.quality__grid { grid-template-columns: 1fr; }
	.cards > .card { flex-basis: 100%; } .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; min-height: 72px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; margin-right: auto; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand__logo { height: 60px; width: auto; }
.brand__name { font-family: var(--head); font-weight: 700; font-size: .95rem; line-height: 1.1; max-width: 22rem; }

.site-nav { display: flex; align-items: center; gap: .25rem; }
.site-nav .menu { display: flex; align-items: center; gap: .1rem; }
.site-nav .menu > li { position: relative; }
.site-nav .menu > li > a { display: flex; align-items: center; gap: .3rem; color: rgba(255,255,255,.8); font-size: .875rem; font-weight: 500; padding: .5rem .8rem; border-radius: 6px; text-decoration: none; }
.site-nav .menu > li > a:hover, .site-nav .menu > li:focus-within > a, .site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { color: #fff; }
.site-nav .menu-item-has-children > a::after { content: "▾"; font-size: .6rem; opacity: .7; }
.js .site-nav .menu-item-has-children > a::after { content: none; }
.site-nav .menu > li { display: flex; align-items: center; }
.submenu-toggle { background: none; border: 0; color: rgba(255,255,255,.7); font-size: .65rem; padding: .4rem .3rem; margin-left: -.6rem; cursor: pointer; border-radius: 4px; }
.submenu-toggle:hover { color: #fff; }
.menu-item-has-children.is-open > .submenu-toggle span[aria-hidden] { display: inline-block; transform: rotate(180deg); }
.site-nav .sub-menu { list-style: none; margin: 0; padding: .4rem 0; position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px; background: #1c1c22; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 10; }
.site-nav .sub-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px; }
.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu, .site-nav .menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { display: block; padding: .55rem 1rem; font-size: .9rem; color: rgba(255,255,255,.85); text-decoration: none; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu a:focus-visible { color: #fff; background: rgba(255,255,255,.08); }
.site-nav__cta { margin-left: 1rem; padding: .5rem 1.15rem; font-size: .875rem; }

.menu-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 6px; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { position: absolute; left: 11px; width: 20px; height: 2px; background: #fff; content: ""; transition: transform .2s; }
.menu-toggle__bars { top: 20px; }
.menu-toggle__bars::before { left: 0; top: -6px; }
.menu-toggle__bars::after { left: 0; top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mega menu (Services, RTI & Charter) and third-level links */
.site-nav .menu-group-title { display: block; padding: .55rem 1rem; font-size: .9rem; font-weight: 700; color: #fff; }
.site-nav .sub-sub-menu { list-style: none; margin: 0; padding: 0 0 .4rem; }
.site-nav .sub-sub-menu a { padding: .3rem 1rem .3rem 1.6rem; font-size: .84rem; color: rgba(255,255,255,.78); }
@media (min-width: 1101px) {
	.site-nav .menu > li.is-mega { position: static; }
	.site-nav .menu > li.is-mega > .sub-menu { left: 50%; right: auto; transform: translate(-50%, 4px); width: min(1180px, calc(100vw - 2rem)); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .25rem 1rem; padding: 1rem; max-height: calc(100vh - 160px); overflow-y: auto; }
	.site-nav .menu > li.is-mega:hover > .sub-menu, .site-nav .menu > li.is-mega:focus-within > .sub-menu, .site-nav .menu > li.is-mega.is-open > .sub-menu { transform: translate(-50%, 0); }
	.site-nav .menu > li.is-mega > .sub-menu > li > a, .site-nav .menu > li.is-mega > .sub-menu > li > .menu-group-title { font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: .25rem; }
	.site-nav .menu > li.is-mega .sub-sub-menu a { padding-left: 1rem; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--hero-bg); }
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(183,23,26,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(183,23,26,.06) 1px, transparent 1px); background-size: 60px 60px; }
.hero__inner { position: relative; z-index: 1; padding-top: 1rem; padding-bottom: 4rem; }

.carousel__track { position: relative; height: 290px; }
.carousel__slide { position: absolute; top: 50%; left: 50%; width: 44%; height: 280px; margin: 0; border-radius: 16px; overflow: hidden; transform: translate(-50%, -50%); opacity: 0; visibility: hidden; transition: all .45s ease; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel__caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.2rem 1rem .7rem; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #fff; font-size: .85rem; line-height: 1.4; opacity: 0; transition: opacity .3s; }
.carousel__slide.is-active .carousel__caption { opacity: 1; }
.carousel__slide.is-active { opacity: 1; visibility: visible; z-index: 3; border: 2px solid rgba(183,23,26,.45); box-shadow: 0 12px 40px rgba(183,23,26,.25); }
.carousel__slide.is-prev, .carousel__slide.is-next { opacity: .5; visibility: visible; width: 26%; height: 200px; filter: brightness(.65); cursor: pointer; z-index: 2; border-radius: 12px; }
.carousel__slide.is-prev { left: 13%; }
.carousel__slide.is-next { left: 87%; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: .6rem; margin-top: .9rem; }
.carousel__dots { display: flex; gap: .5rem; }
.carousel__dot { width: 9px; height: 9px; border-radius: 100px; border: 0; padding: 0; background: rgba(0,0,0,.25); cursor: pointer; transition: all .3s; }
.carousel__dot.is-active { width: 24px; background: var(--red); }
.carousel__arrow { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); background: rgba(255,255,255,.7); color: #222; font-size: 1.2rem; line-height: 1; cursor: pointer; }

.badge { display: flex; width: fit-content; align-items: center; gap: .5rem; margin: .5rem auto 1rem; background: rgba(183,23,26,.12); border: 1px solid rgba(183,23,26,.3); border-radius: 100px; padding: .3rem .9rem; font-family: var(--head); font-size: .75rem; font-weight: 700; color: var(--red-ink); letter-spacing: 1.5px; text-transform: uppercase; text-align: center; }
.badge__dot { width: 7px; height: 7px; background: var(--red); border-radius: 50%; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

.hero__main { display: grid; grid-template-columns: 1fr minmax(auto, 480px) 1fr; gap: 2.5rem; align-items: center; }
.stats { display: flex; flex-direction: column; gap: .875rem; }
.stat { background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius); padding: 1.375rem 1.25rem; text-align: center; transition: border-color .25s, background .25s; }
.stat:hover { border-color: rgba(183,23,26,.4); background: #fdf6f6; }
.stat__value { display: block; font-family: var(--head); font-size: 2.5rem; font-weight: 700; color: var(--red); line-height: 1; margin-bottom: .375rem; }
.stat__label { display: block; font-size: .8125rem; color: #555; line-height: 1.4; }
.hero__text { text-align: center; }
.hero__title { font-size: clamp(2rem, 3.5vw, 3.25rem); font-weight: 700; color: var(--ink); margin: 0 0 1rem; }
.hero__lead { font-size: .9375rem; color: var(--ink-2); line-height: 1.75; margin: 0 0 1.75rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section--light { background: var(--light); }
.section--white { background: #fff; }
.section__head { margin-bottom: 3.75rem; }
.section__head--center { text-align: center; }
.kicker { font-family: var(--head); font-size: .75rem; font-weight: 700; letter-spacing: 3px; color: var(--red); text-transform: uppercase; margin: 0 0 .75rem; }
.kicker--light { color: #ff8a8c; }
.section__title { font-size: clamp(1.9rem, 3.5vw, 2.625rem); font-weight: 700; color: var(--ink); margin: 0 0 .875rem; }
.section__title--green { color: var(--green-ink); }
.section__title--light { color: #fff; }
.section__lead { font-size: 1rem; color: #555; max-width: 33rem; margin: 0 auto; line-height: 1.6; }
.section__lead--green { color: #2f4a33; }
.section__lead--light { color: rgba(255,255,255,.85); margin: 0 0 2rem; }

/* Services cards */
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; }
.cards > .card { flex: 0 1 calc((100% - 2.5rem) / 3); }
.card { position: relative; background: #fff; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius); padding: 1.75rem 1.625rem; text-align: center; transition: border-color .25s, background .25s, transform .25s; }
.card:hover, .card:focus-within { border-color: rgba(183,23,26,.4); background: #fdf8f8; transform: translateY(-3px); }
.card__icon { display: block; font-size: 2rem; margin-bottom: 1rem; line-height: 1; }
.card__title { font-size: 1.25rem; font-weight: 700; color: var(--ink); margin: 0 0 .625rem; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card__text { font-size: .875rem; color: var(--ink-2); line-height: 1.65; margin: 0 0 1.125rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.tag { font-family: var(--head); font-size: .75rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--red); background: rgba(183,23,26,.08); border: 1px solid rgba(183,23,26,.2); border-radius: 100px; padding: .2rem .65rem; }

/* Scroll reveal (only when JS is on and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Green steel */
.green { background: rgba(22,78,44,.06); border: 1px solid rgba(34,197,94,.18); border-radius: 16px; padding: 3rem 3.75rem; }
.badge--green { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); color: #0a2d17; font-size: .75rem; margin-top: 0; }
.green__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.green__label { font-size: .85rem; font-weight: 700; color: #2f5a3b; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 1.25rem; }
.taxonomy__row { margin-bottom: 1.25rem; }
.taxonomy__head { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; }
.star { font-size: 1rem; color: rgba(0,0,0,.15); }
.star.is-on { color: #a16207; }
.taxonomy__name { font-family: var(--head); font-weight: 700; font-size: .9rem; color: #14532d; }
.taxonomy__value { font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--green); margin-left: auto; }
.bar { height: 10px; background: rgba(0,0,0,.07); border-radius: 100px; overflow: hidden; }
.bar__fill { display: block; height: 100%; border-radius: 100px; background: #16a34a; }
.bar__fill--1 { background: #22c55e; }
.bar__fill--2 { background: #86efac; }
.taxonomy__scale { display: flex; justify-content: space-between; margin-top: .4rem; font-family: var(--head); font-size: .75rem; color: #5b6b5e; }
.taxonomy__unit { margin: .25rem 0 0; font-family: var(--head); font-size: .75rem; color: #5b6b5e; text-align: center; }
.green__cert-wrap { margin-top: 1.75rem; display: flex; justify-content: center; }
.green__cert { width: 60%; max-width: 240px; border-radius: 10px; box-shadow: 0 6px 24px rgba(22,163,74,.18); border: 1px solid rgba(22,163,74,.15); }
.map { position: relative; width: 100%; min-height: 400px; border-radius: 12px; background: rgba(22,78,44,.02); border: 1px solid rgba(34,197,94,.12); }
.map svg { display: block; }
.map__tip { position: absolute; background: #14532d; color: #fff; padding: .3rem .6rem; border-radius: 6px; font-size: .8rem; pointer-events: none; opacity: 0; white-space: nowrap; }
.map__legend text { font-family: var(--head); }
.state-table { width: 100%; margin-top: 1rem; border-collapse: collapse; display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
.state-table tbody { display: contents; }
.state-table tr { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(22,163,74,.15); padding: .3rem 0; }
.state-table tr:nth-child(n+9) { display: none; }
.state-table th { font-family: var(--head); font-weight: 600; font-size: .85rem; color: #14532d; text-align: left; }
.state-table td { font-family: var(--head); font-weight: 700; font-size: .9rem; color: var(--green); }

.green__note { max-width: 52rem; margin: 2rem auto 0; padding: .75rem 1rem; font-size: .85rem; color: #2f4a33; background: rgba(255,255,255,.7); border-left: 3px solid var(--green); border-radius: 6px; }
.contact__privacy { margin: 1rem 0 0; font-size: .8rem; color: rgba(255,255,255,.75); }
.contact__privacy a { color: #fff; }
.section-nav { background: var(--light); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 2rem; }
.section-nav__title { font-family: var(--head); font-weight: 700; font-size: 1.05rem; margin: 0 0 .5rem; padding-bottom: .5rem; border-bottom: 2px solid var(--red); }
.section-nav__title a { color: var(--ink); text-decoration: none; }
.section-nav ul { list-style: none; margin: 0; padding: 0; }
.section-nav li a { display: block; padding: .4rem 0; color: #333; text-decoration: none; font-size: .92rem; }
.section-nav a[aria-current="page"] { color: var(--red); font-weight: 600; }
.section-nav li a:hover { color: var(--red); text-decoration: underline; }

/* Photo galleries: neat grid of equal tiles, whatever markup the page uses */
.entry-content .wp-block-gallery, .entry-content .gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 1.5rem 0; padding: 0; }
.entry-content .wp-block-gallery > p, .entry-content .wp-block-gallery > h1, .entry-content .wp-block-gallery > h2, .entry-content .wp-block-gallery > h3, .entry-content .wp-block-gallery > h4, .entry-content .wp-block-gallery > h5, .entry-content .wp-block-gallery > h6, .entry-content .wp-block-gallery > div,
.entry-content .wp-block-gallery figure.wp-block-image, .entry-content .gallery .gallery-item, .entry-content .gallery .gallery-icon, .entry-content .wp-block-gallery a { display: contents; }
.entry-content .wp-block-gallery br, .entry-content .wp-block-gallery > * > span:not(:has(img)), .entry-content .gallery br { display: none; }
.entry-content .wp-block-gallery img, .entry-content .gallery img { display: block; float: none !important; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 !important; border-radius: 10px; background: #eee; cursor: zoom-in; transition: transform .2s, box-shadow .2s; }
.entry-content .wp-block-gallery img:hover, .entry-content .gallery img:hover, .entry-content .wp-block-gallery img:focus-visible, .entry-content .gallery img:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.entry-content .wp-block-gallery figcaption, .entry-content .gallery .gallery-caption { grid-column: 1 / -1; }
@media (max-width: 520px) { .entry-content .wp-block-gallery, .entry-content .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 3.5rem 4rem; }
.lightbox[hidden] { display: none; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; width: 46px; height: 46px; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .9rem; }
@media (max-width: 600px) { .lightbox { padding: 3.5rem .5rem; } .lightbox__prev, .lightbox__next { top: auto; bottom: .6rem; transform: none; } }

/* Labs */
.section--labs { background: var(--labs); }
.labs { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.labs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.lab { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 1.4rem 1.1rem; transition: border-color .25s; }
.lab:hover { border-color: rgba(255,138,140,.6); }
.lab__icon { display: block; font-size: 1.75rem; margin-bottom: .75rem; }
.lab__label { font-family: var(--head); font-weight: 600; font-size: 1rem; color: #fff; line-height: 1.3; }

/* Contact */
.section--contact { background: var(--contact); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; }
.contact__address { font-style: normal; color: rgba(255,255,255,.85); line-height: 1.75; margin-bottom: 2.25rem; }
.contact__list { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.contact__row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: .9rem; }
.contact__row dt { color: rgba(255,255,255,.75); }
.contact__row dd { margin: 0; }
.contact__row a { color: #fff; text-decoration: none; font-weight: 500; }
.contact__row a:hover { text-decoration: underline; }
.contact__form { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 2.25rem 2rem; color: #fff; }
.contact__form-title { font-size: 1.4rem; margin: 0 0 1.25rem; color: #fff; }
.contact__note { color: rgba(255,255,255,.8); }
/* Contact Form 7 inside the dark box */
.contact__form label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.8); }
.contact__form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .contact__form select, .contact__form textarea { width: 100%; margin-top: .35rem; background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.2); border-radius: 7px; padding: .65rem .85rem; color: var(--ink); font: inherit; font-size: .9rem; text-transform: none; letter-spacing: 0; }
.contact__form input[type="submit"] { width: 100%; background: var(--red); color: #fff; border: 0; border-radius: 7px; padding: .85rem; font-family: var(--head); font-size: 1rem; font-weight: 700; cursor: pointer; }
.contact__form input[type="submit"]:hover { background: var(--red-dark); }
.contact__form .wpcf7-response-output { color: #fff; }

/* Notice board */
.section--notices { background: var(--light); padding: 4rem 0; }
.notice-board { background: #fff; border: 1px solid rgba(0,0,0,.08); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 1.75rem 2rem; box-shadow: 0 8px 30px rgba(0,0,0,.05); }
.notice-board__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.notice-board__head .kicker { margin-bottom: .35rem; }
.notice-board__title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0; color: var(--ink); }
.notice-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.notice-list--archive { grid-template-columns: 1fr; }
.notice-item { display: flex; gap: 1rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid #eee; }
.notice-item.is-pinned .notice-item__date { background: var(--red); color: #fff; }
.notice-item__date { flex: none; width: 64px; text-align: center; background: #fbeaea; color: var(--red-dark); border-radius: 8px; padding: .35rem .25rem; line-height: 1.1; font-family: var(--head); }
.notice-item__day { display: block; font-size: 1.4rem; font-weight: 700; }
.notice-item__month { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }
.notice-item__body { min-width: 0; }
.notice-item__title { display: inline; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: none; line-height: 1.45; }
a.notice-item__title:hover, a.notice-item__title:focus-visible { color: var(--red); text-decoration: underline; }
.notice-item__tags { display: inline-flex; flex-wrap: wrap; gap: .3rem; margin-left: .4rem; vertical-align: middle; }
.notice-tag { font-family: var(--head); font-size: .68rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; border-radius: 4px; padding: .05rem .4rem; }
.notice-tag--new { background: var(--red); color: #fff; }
.notice-tag--pin { background: #fff4d6; color: #7a4f00; border: 1px solid #f1d58a; }
.notice-tag--file { background: #eef2ff; color: #2b3a8f; border: 1px solid #c9d2ff; }
.notice-tag--old { background: #eee; color: #555; }
.notice-item.is-archived .notice-item__date { background: #f0f0f0; color: #666; }
@media (max-width: 782px) {
	.notice-board { padding: 1.25rem 1rem; }
	.notice-list { grid-template-columns: 1fr; }
	.section--notices { padding: 2.5rem 0; }
}

/* Notice board + quick links side by side */
.notices-wrap.has-quick { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 1.5rem; align-items: start; }
.notices-wrap.has-quick .notice-list { grid-template-columns: 1fr; }
.quick__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.quick__item { display: flex; gap: .8rem; align-items: center; background: #fff; border: 1px solid rgba(0,0,0,.08); border-left: 4px solid var(--red); border-radius: 10px; padding: .85rem 1rem; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.quick__item:hover, .quick__item:focus-visible { transform: translateX(3px); box-shadow: 0 6px 18px rgba(0,0,0,.08); color: var(--ink); }
.quick__icon { font-size: 1.5rem; flex: none; }
.quick__title { display: block; font-family: var(--head); font-weight: 700; font-size: 1.02rem; }
.quick__text { display: block; font-size: .8rem; color: #555; }

/* Welcome & vision */
.section--about { background: #fff; padding: 4.5rem 0; }
.about { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 3rem; align-items: center; }
.about__tagline { font-family: var(--head); font-size: 1.15rem; font-weight: 600; color: var(--red); margin: 0 0 .75rem; }
.about__text { color: var(--ink-2); line-height: 1.75; }
.about__sub { font-size: 1.3rem; margin: 1.75rem 0 .5rem; }
.btn-row--left { justify-content: flex-start; margin-top: 1.5rem; }
.about__vision { background: var(--black); color: rgba(255,255,255,.88); border-radius: var(--radius); padding: 2rem 1.75rem; border-top: 4px solid var(--red); }
.about__vision-icon { font-size: 2rem; }
.about__vision-title { color: #fff; font-size: 1.5rem; margin: .5rem 0 .75rem; }

/* Quality services (inside the labs section) */
.quality { margin-top: 3.5rem; }
.quality__title { color: #fff; font-size: 1.6rem; text-align: center; margin: 0 0 1.5rem; }
.quality__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quality__item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 1.25rem; }
.quality__icon { font-size: 1.6rem; }
.quality__name { color: #fff; font-size: 1.1rem; margin: .5rem 0 .4rem; }
.quality__text { color: rgba(255,255,255,.82); font-size: .88rem; margin: 0; line-height: 1.6; }

/* Experts */
.people { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.person { flex: 0 1 230px; text-align: center; background: var(--light); border-radius: var(--radius); padding: 1.5rem 1rem; }
.person__photo-wrap { width: 150px; height: 150px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; border: 4px solid #fff; box-shadow: 0 6px 20px rgba(0,0,0,.12); background: #ddd; }
.person__photo { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person__initials { display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font-family: var(--head); font-size: 2.6rem; font-weight: 700; }
.contact__row dd a + a, .contact__row dd { white-space: normal; }
.person__name { font-size: 1.15rem; margin: 0 0 .25rem; }
.person__role { margin: 0; color: var(--red-dark); font-size: .88rem; font-weight: 600; }

/* Associates */
.section--assoc { background: var(--light); padding: 3.5rem 0; }
.assoc { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: 2rem; align-items: center; }
.assoc__title { font-size: 1.7rem; margin: 0 0 .5rem; }
.assoc__text { color: var(--ink-2); margin: 0 0 .75rem; }
.assoc__more { font-weight: 600; text-decoration: none; }
.assoc__logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; align-items: center; }
.assoc__logos li { background: #fff; border-radius: 10px; padding: .75rem 1.25rem; box-shadow: 0 2px 10px rgba(0,0,0,.05); }
.assoc__logo { max-height: 80px; width: auto; }

/* Footer contact */
.footer__contact { font-style: normal; font-size: .82rem; line-height: 1.8; margin-top: 1rem; color: rgba(255,255,255,.8); }
.footer__contact a { color: #fff; text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; background: var(--hero-bg); padding: 2.5rem 0 2.25rem; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(183,23,26,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(183,23,26,.06) 1px, transparent 1px); background-size: 60px 60px; }
.page-hero .container { position: relative; }
.page-hero__title { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: .25rem 0 0; color: var(--ink); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: .85rem; color: #444; }
.breadcrumb li + li::before { content: "›"; margin-right: .25rem; color: #777; }
.breadcrumb a { color: var(--red); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-layout { padding-top: 3rem; padding-bottom: 4rem; }
.page-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; }
.page-layout__sidebar .widget { margin-bottom: 2rem; }
.widget-title { font-size: 1.15rem; margin: 0 0 .75rem; padding-bottom: .5rem; border-bottom: 2px solid var(--red); }
.entry-content { font-size: 1.02rem; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-size: 1.7rem; margin: 2rem 0 .75rem; }
.entry-content h3 { font-size: 1.35rem; margin: 1.5rem 0 .5rem; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .95rem; }
.entry-content th, .entry-content td { border: 1px solid #ddd; padding: .6rem .75rem; text-align: left; vertical-align: top; }
.entry-content th { background: var(--light); }
.entry-content tr:nth-child(even) td { background: #fafafa; }
.entry-content a { text-underline-offset: 2px; }
.entry-content img { border-radius: 8px; }
.entry__thumb { margin-bottom: 1.5rem; }
.entry__thumb img { border-radius: var(--radius); }
.entry__meta { color: #555; font-size: .9rem; margin: 0 0 .5rem; }
.entry__updated { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid #e5e5e5; color: #555; font-size: .85rem; }
.post-list__item { display: grid; grid-template-columns: 180px 1fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid #e5e5e5; }
.post-list__item:not(:has(.post-list__thumb)) { grid-template-columns: 1fr; }
.post-list__thumb img { border-radius: 8px; }
.post-list__title { font-size: 1.35rem; margin: 0 0 .25rem; }
.post-list__title a { color: var(--ink); text-decoration: none; }
.post-list__title a:hover { color: var(--red); }
.nav-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; }
.nav-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: #555; }
.page-numbers { display: inline-block; padding: .35rem .7rem; border: 1px solid #ddd; border-radius: 6px; text-decoration: none; margin-right: .25rem; }
.page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.search-form { display: flex; gap: .5rem; margin: 1rem 0 2rem; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: .6rem .8rem; border: 1px solid #bbb; border-radius: 7px; font: inherit; }
.search-submit { background: var(--red); color: #fff; border: 0; border-radius: 7px; padding: .6rem 1.1rem; font-weight: 600; cursor: pointer; }
.alignwide { max-width: 100%; }
.wp-caption-text, figcaption { font-size: .85rem; color: #555; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: rgba(255,255,255,.75); padding: 3rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer__name { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: #fff; margin: 0 0 .6rem; }
.footer__text { font-size: .85rem; line-height: 1.75; max-width: 290px; margin: 0; }
.footer__social { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.footer__social a { display: inline-block; font-size: .8rem; color: rgba(255,255,255,.8); text-decoration: none; border: 1px solid rgba(255,255,255,.2); border-radius: 5px; padding: .3rem .65rem; }
.footer__social a:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.footer__heading { font-size: .75rem; font-weight: 700; letter-spacing: 2px; color: rgba(255,255,255,.65); text-transform: uppercase; margin: 0 0 .9rem; }
.footer__links li { margin-bottom: .55rem; }
.footer__links a { font-size: .85rem; color: rgba(255,255,255,.8); text-decoration: none; }
.footer__links a:hover { color: #fff; text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__copy { font-size: .8rem; color: rgba(255,255,255,.65); margin: 0 0 .2rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__legal a { font-size: .8rem; color: rgba(255,255,255,.7); text-decoration: none; }
.footer__legal a:hover { color: #fff; text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.site-nav .menu > li > a { padding: .5rem .55rem; font-size: .9rem; }
	.brand__name { font-size: 1rem; }
	.site-nav__cta { margin-left: .5rem; padding: .6rem 1rem; font-size: .9rem; }
}

@media (max-width: 1100px) {
	.site-nav .sub-sub-menu { padding-left: .5rem; }
	.notices-wrap.has-quick, .about, .assoc { grid-template-columns: 1fr; }
	.quality__grid { grid-template-columns: 1fr 1fr; }
	.cards > .card { flex-basis: calc((100% - 1.25rem) / 2); }
	.menu-toggle { display: block; }
	.site-header__inner { min-height: 64px; }
	.brand__logo { height: 50px; }
	.site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--black); border-top: 1px solid rgba(255,255,255,.08); padding: .5rem 1.25rem 1.25rem; max-height: calc(100vh - 100px); overflow-y: auto; }
	.site-nav.is-open { display: flex; }
	.site-nav .menu { flex-direction: column; align-items: stretch; }
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.06); }
	.site-nav .menu > li > a { flex: 1; padding: .8rem .25rem; font-size: 1rem; border-radius: 0; }
	.submenu-toggle { margin: 0; padding: .7rem .9rem; font-size: .8rem; }
	.site-nav .sub-menu { flex-basis: 100%; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 .5rem 1rem; display: none; min-width: 0; }
	.site-nav .menu > li.is-open > .sub-menu { display: block; }
	.site-nav__cta { margin: 1rem 0 0; }

	.hero__main { grid-template-columns: 1fr 1fr; }
	.hero__text { grid-column: 1 / -1; grid-row: 1; }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.labs, .contact { gap: 3rem; }
}

@media (max-width: 782px) {
	.container { padding: 0 1rem; }
	.section { padding: 4rem 0; }
	.brand__name { font-size: .9rem; }
	.ticker__label, .ticker__divider { display: none; }
	.carousel__track { height: 220px; }
	.carousel__slide { width: 100%; height: 210px; }
	.carousel__slide.is-prev, .carousel__slide.is-next { display: none; }
	.hero__title { font-size: 2.1rem; }
	.stats { gap: .9rem; }
	.stat { padding: 1.1rem .75rem; }
	.stat__value { font-size: 2rem; }
	.cards { grid-template-columns: 1fr; gap: 1.25rem; }
	.card { padding: 1.75rem 1.25rem; }
	.green { padding: 1.75rem 1.1rem; }
	.green__grid, .labs, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
	.state-table { grid-template-columns: 1fr; }
	.contact__row { flex-direction: column; gap: .2rem; }
	.page-layout.has-sidebar { grid-template-columns: 1fr; }
	.post-list__item { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__about { grid-column: 1 / -1; }
}

@media (max-width: 420px) {
	.hero__main { gap: .75rem; }
	.stats { gap: .75rem; }
	.stat { padding: 1rem .5rem; }
	.stat__value { font-size: 1.75rem; }
	.brand__name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.ticker, .site-header, .carousel, .site-footer, .contact__form { display: none !important; }
	.section, .hero { padding: 1rem 0; background: #fff !important; }
}

/* ==========================================================================
   v1.4 — line icons and a white header bar
   ========================================================================== */

/* Icons */
.icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }
.icon--inline { width: 1.05em; height: 1.05em; }
.icon--title { width: .9em; height: .9em; color: var(--red); vertical-align: -0.08em; }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin: 0 auto 1rem; border-radius: 14px; background: #fbeaea; color: var(--red); font-size: 1.6rem; }
.card:hover .card__icon, .card:focus-within .card__icon { background: var(--red); color: #fff; }
.lab__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.12); color: #fff; font-size: 1.35rem; margin-bottom: .75rem; }
.quality__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: rgba(255,255,255,.12); color: #ffb3b4; font-size: 1.3rem; }
.quick__icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: #fbeaea; color: var(--red); font-size: 1.3rem; }
.about__vision-icon { display: inline-flex; color: #ff8a8c; font-size: 2rem; }
.badge--green .icon { color: #15803d; }

/* White header bar: the logo's white background now blends in */
.site-header { background: #fff; border-bottom: 1px solid #e3e3e3; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.site-header.is-scrolled { background: rgba(255,255,255,.98); box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.brand, .brand:hover { color: var(--ink); }
.brand__name { color: var(--ink); }
.site-nav .menu > li > a { color: #2b2b2b; }
.site-nav .menu > li > a:hover, .site-nav .menu > li:focus-within > a, .site-nav .menu > li.current-menu-item > a, .site-nav .menu > li.current-menu-ancestor > a { color: var(--red); }
.submenu-toggle { color: #666; }
.submenu-toggle:hover { color: var(--red); }

/* Dropdowns: white panels with dark text */
.site-nav .sub-menu { background: #fff; border: 1px solid #e6e6e6; box-shadow: 0 18px 40px rgba(0,0,0,.14); }
.site-nav .sub-menu a { color: #333; }
.site-nav .sub-menu a:hover, .site-nav .sub-menu a:focus-visible { color: var(--red); background: #fbf2f2; }
.site-nav .menu-group-title { color: var(--ink); }
.site-nav .sub-sub-menu a { color: #4a4a4a; }
@media (min-width: 1101px) {
	.site-nav .menu > li.is-mega > .sub-menu > li > a, .site-nav .menu > li.is-mega > .sub-menu > li > .menu-group-title { color: var(--red-dark); border-bottom-color: #eee; }
}

/* Mobile menu */
.menu-toggle { border-color: #ccc; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { background: var(--ink); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
@media (max-width: 1100px) {
	.site-nav { background: #fff; border-top: 1px solid #e6e6e6; box-shadow: 0 14px 30px rgba(0,0,0,.12); }
	.site-nav .menu > li { border-bottom-color: #eee; }
	.site-nav .menu > li > a { border-bottom-color: #eee; }
	.site-nav .sub-menu { background: transparent; border: 0; box-shadow: none; }
}

/* ==========================================================================
   v1.4.2 — gallery photo fix, missing images hidden, portrait leadership photos
   ========================================================================== */
/* Gallery keeps the even grid; this tall photo is anchored to its top so heads are not cut off. */
.entry-content .wp-block-gallery img[src*="DSC01314"] { object-position: center top; }
.entry-content .wp-block-gallery img.is-broken, .entry-content .gallery img.is-broken, .entry-content img.is-broken { display: none !important; }

.person__photo-wrap { width: 180px; height: auto; aspect-ratio: 3 / 4; border-radius: 14px; border: 0; box-shadow: 0 8px 22px rgba(0,0,0,.12); background: #e9e9e9; }
.person__photo { object-position: center top; }
.person__initials { border-radius: 14px; }
.person__initials { background: var(--red); color: #fff; }

/* ---------- Contact Us page (v1.5) ---------- */
.contact-page { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; padding-block: 3.5rem 4.5rem; align-items: start; }
.contact-page__info { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; background: #fff; border: 1px solid #e6e6e6; border-radius: var(--radius); padding: 1.35rem 1.4rem; box-shadow: 0 4px 14px rgba(0,0,0,.04); }
.contact-card__icon { flex: 0 0 44px; height: 44px; border-radius: 10px; background: #fbecec; color: var(--red); display: grid; place-items: center; }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card__title { font-family: var(--head); font-size: 1.15rem; margin: .1rem 0 .4rem; color: var(--ink); }
.contact-card__text { font-style: normal; margin: 0; color: var(--ink-2); line-height: 1.65; font-size: .95rem; }
.contact-card__text strong { color: var(--ink); }
.contact-card a { color: var(--red); text-decoration: none; font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.contact-card__link { display: inline-block; margin-top: .6rem; font-size: .9rem; }
.contact-card__list { margin: 0; display: grid; gap: .55rem; font-size: .93rem; }
.contact-card__list dt { color: var(--ink-2); font-size: .82rem; }
.contact-card__list dd { margin: 0; }
.contact-page__form { background: #fff; border: 1px solid #e6e6e6; border-top: 4px solid var(--red); border-radius: var(--radius); padding: 2.2rem 2.2rem 1.8rem; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.contact-page__form-title { font-family: var(--head); font-size: 1.6rem; margin: 0 0 .4rem; color: var(--ink); }
.contact-page__intro { margin: 0 0 1.6rem; color: var(--ink-2); font-size: .95rem; }
.contact-page__privacy { margin: 1.2rem 0 0; font-size: .8rem; color: var(--ink-2); }
.contact-page__privacy a { color: var(--red); }

/* Contact Form 7 on light backgrounds (Contact page and any other page) */
.contact-page .wpcf7-form, .entry-content .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.contact-page .wpcf7-form > *, .entry-content .wpcf7-form > * { grid-column: 1 / -1; }
.contact-page .wpcf7-form > p:has(input:not([type="submit"])):not(:has(textarea)), .entry-content .wpcf7-form > p:has(input:not([type="submit"])):not(:has(textarea)) { grid-column: auto; }
.contact-page .wpcf7-form > p:has(input[type="tel"]):not(:has(textarea)), .entry-content .wpcf7-form > p:has(input[type="tel"]):not(:has(textarea)) { grid-column: 1 / -1; }
.contact-page .wpcf7 form .wpcf7-response-output:empty, .entry-content .wpcf7 form .wpcf7-response-output:empty { display: none; }
.contact-page .wpcf7-form p, .entry-content .wpcf7-form p { margin: 0 0 1rem; }
.contact-page .wpcf7-form .hidden-fields-container, .entry-content .wpcf7-form .hidden-fields-container { display: none; }
.contact-page .wpcf7-form label, .entry-content .wpcf7-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); }
.contact-page .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .contact-page .wpcf7-form textarea, .contact-page .wpcf7-form select,
.entry-content .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .entry-content .wpcf7-form textarea, .entry-content .wpcf7-form select {
	width: 100%; margin-top: .35rem; background: #fafafa; border: 1px solid #cfcfcf; border-radius: 8px; padding: .7rem .9rem; font: inherit; font-size: .95rem; font-weight: 400; color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.contact-page .wpcf7-form textarea, .entry-content .wpcf7-form textarea { min-height: 150px; height: 150px; resize: vertical; }
.contact-page .wpcf7-form input:focus, .contact-page .wpcf7-form textarea:focus, .entry-content .wpcf7-form input:focus, .entry-content .wpcf7-form textarea:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 3px rgba(183,23,26,.15); }
.contact-page .wpcf7-form input[type="submit"], .entry-content .wpcf7-form input[type="submit"] { background: var(--red); color: #fff; border: 0; border-radius: 8px; padding: .85rem 2.4rem; font-family: var(--head); font-size: 1.05rem; font-weight: 700; letter-spacing: .5px; cursor: pointer; transition: background .15s; }
.contact-page .wpcf7-form input[type="submit"]:hover, .entry-content .wpcf7-form input[type="submit"]:hover { background: var(--red-dark); }
.contact-page .wpcf7-form input[type="submit"]:focus-visible, .entry-content .wpcf7-form input[type="submit"]:focus-visible { box-shadow: var(--focus); }
.contact-page .wpcf7-not-valid-tip, .entry-content .wpcf7-not-valid-tip { font-size: .8rem; margin-top: .25rem; }
.contact-page .wpcf7 form .wpcf7-response-output, .entry-content .wpcf7 form .wpcf7-response-output { margin: .5rem 0 0; border-radius: 8px; padding: .7rem 1rem; font-size: .9rem; }
.contact-page .wpcf7-spinner { vertical-align: middle; }
@media (max-width: 860px) {
	.contact-page { grid-template-columns: 1fr; padding-block: 2.5rem 3.5rem; }
	.contact-page__form { padding: 1.6rem 1.25rem; }
}
@media (max-width: 560px) {
	.contact-page .wpcf7-form, .entry-content .wpcf7-form { grid-template-columns: 1fr; }
	.contact-page .wpcf7-form > p, .entry-content .wpcf7-form > p { grid-column: 1 / -1 !important; }
}

.wpcf7-form label br { display: none; }
.wpcf7-label-text { display: block; }

/* ---------- Accessibility bar, Hindi switch, standard pages (v1.6) ---------- */
.a11y-bar { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.a11y-bar__link { color: #333; font-size: .75rem; text-decoration: none; white-space: nowrap; }
.a11y-bar__link:hover { color: var(--red); text-decoration: underline; }
.a11y-bar__group { display: inline-flex; border: 1px solid #ccc; border-radius: 6px; overflow: hidden; }
.a11y-btn { min-width: 30px; height: 28px; padding: 0 .35rem; border: 0; border-left: 1px solid #ccc; background: #fff; color: #222; font: 700 .78rem/1 var(--body); cursor: pointer; }
.a11y-btn:first-child { border-left: 0; }
.a11y-btn sup { font-size: .6rem; }
.a11y-btn:hover:not(:disabled) { background: #f2f2f2; color: var(--red); }
.a11y-btn:disabled { color: #aaa; cursor: default; }
.a11y-btn[aria-pressed="true"] { background: #1f1f25; color: #fff; }
.a11y-btn--contrast span { font-size: 1rem; }
.a11y-lang { display: inline-flex; align-items: center; height: 28px; padding: 0 .7rem; border: 1px solid var(--red); border-radius: 6px; background: #fff; color: var(--red); font: 700 .82rem/1 var(--body); text-decoration: none; cursor: pointer; }
.a11y-lang:hover { background: var(--red); color: #fff; }
.a11y-langs { display: inline-flex; align-items: center; }
.a11y-langs .a11y-lang { border-radius: 0; margin-left: -1px; }
.a11y-langs .a11y-lang:first-child { border-radius: 6px 0 0 6px; margin-left: 0; }
.a11y-langs .a11y-lang:last-child { border-radius: 0 6px 6px 0; }
.a11y-lang[lang="hi"], .a11y-lang[lang="pa"] { font-family: system-ui, "Nirmala UI", "Noto Sans Devanagari", "Noto Sans Gurmukhi", sans-serif; font-size: .85rem; }
.a11y-lang[aria-pressed="true"] { background: var(--red); color: #fff; cursor: default; }
.topbar__right { margin-left: auto; }
.a11y-btn:focus-visible, .a11y-lang:focus-visible, .a11y-bar__link:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
@media (max-width: 1100px) { .a11y-bar__link { display: none; } }
@media (max-width: 760px) {
	.topbar__inner { flex-wrap: wrap; padding-block: .4rem; }
	.topbar__right { flex-wrap: wrap; justify-content: center; gap: .5rem; }
}

/* Google translation: hide its banner and tooltips, keep the page where it was */
body { top: 0 !important; }
iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* Standard pages */
.info-page h2 { font-family: var(--head); font-size: 1.35rem; margin: 2rem 0 .6rem; }
.info-page h2:first-child { margin-top: 0; }
.info-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .95rem; }
.info-table th, .info-table td { border: 1px solid #ddd; padding: .65rem .85rem; text-align: left; vertical-align: top; }
.info-table th { background: #f4f4f4; font-weight: 700; }
.sitemap { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; margin-top: 1.5rem; }
.sitemap ul { margin: .25rem 0 .5rem; padding-left: 1.2rem; }
.sitemap > section > ul { padding-left: 0; list-style: none; }
.sitemap > section > ul > li { margin-bottom: .5rem; font-weight: 600; }
.sitemap > section > ul > li li { font-weight: 400; }
.sitemap .menu-group-title { font-weight: 600; }
.sitemap a { color: var(--red); }
@media (max-width: 760px) { .sitemap { grid-template-columns: 1fr; } }
.footer__bottom nav { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 1.25rem; row-gap: .5rem; max-width: 640px; }
.footer__bottom nav .footer__legal { display: contents; }
.footer__legal--std { margin-top: 0; }
@media (max-width: 760px) { .footer__bottom nav { justify-content: flex-start; } }

/* ---------- Dark mode (the ◐ button) ----------
   A designed dark theme: charcoal surfaces, soft white text, a brighter brand red
   for text and links, and the deeper red for buttons. All text meets WCAG AA. */
html.hc {
	color-scheme: dark;
	--ink: #ececef; --ink-2: #b9bbc3; --red: #f0656a; --red-dark: #b3262b; --red-ink: #ffd5d6;
	--black: #0c0d10; --footer: #0a0a0d; --hero-bg: #15161b; --light: #15161b; --labs: #1b1c22; --contact: #17181d;
	--green-ink: #b9f2c9; --green: #4ade80; --green-btn: #15803d;
	--d-bg: #101115; --d-surface: #191a20; --d-card: #1f2027; --d-hover: #262832; --d-border: #2e3039; --d-btn: #c62a2f;
}
html.hc body, html.hc .section--white, html.hc .section--about { background: var(--d-bg); color: var(--ink); }
html.hc .topbar, html.hc .site-header, html.hc .site-header.is-scrolled, html.hc .site-nav .sub-menu { background: var(--d-surface); border-color: var(--d-border); }
html.hc .site-header { box-shadow: 0 1px 0 var(--d-border); }
html.hc .topbar__text, html.hc .a11y-bar__link, html.hc .breadcrumb ol, html.hc .stat__label, html.hc .section__lead, html.hc .quick__text, html.hc .entry__meta, html.hc .entry__updated, html.hc .nav-label, html.hc .wp-caption-text, html.hc figcaption { color: var(--ink-2); }
html.hc .site-nav .menu > li > a, html.hc .site-nav .sub-menu a, html.hc .site-nav .sub-sub-menu a, html.hc .section-nav li a, html.hc .brand, html.hc .brand__name { color: var(--ink); }
html.hc .submenu-toggle { color: var(--ink-2); }
html.hc .site-nav .sub-menu a:hover, html.hc .site-nav .sub-menu a:focus-visible { background: var(--d-hover); color: #fff; }
html.hc .menu-toggle__bars, html.hc .menu-toggle__bars::before, html.hc .menu-toggle__bars::after { background: var(--ink); }
html.hc .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
@media (max-width: 1024px) { html.hc .site-nav { background: var(--d-surface); } }
html.hc .brand__logo { background: #fff; border-radius: 6px; padding: 2px; }
html.hc .ticker { background: #7c1518; }

/* Cards and panels */
html.hc .stat, html.hc .card, html.hc .notice-board, html.hc .quick__item, html.hc .person, html.hc .contact-card, html.hc .contact-page__form, html.hc .section-nav, html.hc .notice-item { background: var(--d-card); border-color: var(--d-border); box-shadow: none; }
html.hc .stat:hover, html.hc .card:hover, html.hc .card:focus-within, html.hc .quick__item:hover { background: var(--d-hover); border-color: rgba(240,101,106,.5); }
html.hc .card__icon, html.hc .quick__icon, html.hc .contact-card__icon, html.hc .notice-item__date, html.hc .tag, html.hc .badge { background: rgba(240,101,106,.14); color: var(--red); }
html.hc .card:hover .card__icon, html.hc .card:focus-within .card__icon { background: var(--d-btn); color: #fff; }
html.hc .about__vision { background: var(--d-card); border: 1px solid var(--d-border); }
html.hc .hero__grid-bg, html.hc .page-hero__bg { opacity: .35; }
html.hc .carousel__arrow { background: var(--d-card); color: var(--ink); border-color: var(--d-border); }
html.hc .carousel__dot { background: rgba(255,255,255,.3); }
html.hc .assoc__logos li { background: #f2f2f4; }
html.hc .person__photo-wrap { background: var(--d-hover); }

/* Buttons: deeper red so white text stays readable */
html.hc .btn--red, html.hc .topbar__btn, html.hc input[type="submit"], html.hc .notice-tag--new, html.hc .page-numbers.current, html.hc .search-submit, html.hc .person__initials, html.hc .notice-item.is-pinned .notice-item__date, html.hc .carousel__dot.is-active { background: var(--d-btn); color: #fff; }
html.hc .btn--red:hover, html.hc .topbar__btn:hover, html.hc input[type="submit"]:hover { background: #a92227; }
html.hc .btn--ghost { background: rgba(255,255,255,.08); color: var(--ink); }
html.hc .btn--ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
html.hc .btn--green-outline { background: transparent; color: #86efac; border-color: #86efac; }
html.hc .topbar__social { background: var(--d-hover); }

/* Notice tags */
html.hc .notice-tag--pin { background: rgba(250,204,21,.15); color: #fde68a; }
html.hc .notice-tag--file { background: rgba(129,140,248,.18); color: #c7d2fe; }
html.hc .notice-tag--old { background: rgba(255,255,255,.08); color: var(--ink-2); }
html.hc .notice-item.is-archived .notice-item__date { background: rgba(255,255,255,.06); color: var(--ink-2); }

/* Green Steel section */
html.hc .green { background: #0f1a13; }
html.hc .section__lead--green, html.hc .green__label, html.hc .green__note, html.hc .taxonomy__scale, html.hc .taxonomy__unit { color: #a7c7b0; }
html.hc .taxonomy__name, html.hc .state-table th { color: #86efac; }
html.hc .badge--green { background: rgba(74,222,128,.12); color: #bbf7d0; }
html.hc .badge--green .icon { color: #4ade80; }
html.hc .green__note { background: rgba(255,255,255,.04); }
html.hc .bar { background: rgba(255,255,255,.08); }
html.hc .map { background: rgba(255,255,255,.02); }
html.hc .star { color: rgba(255,255,255,.2); }
html.hc .star.is-on { color: #facc15; }

/* Page content, tables and forms */
html.hc .entry-content a, html.hc .contact-card a, html.hc .sitemap a, html.hc .info-page a { color: var(--red); }
html.hc .entry-content th, html.hc .info-table th { background: var(--d-surface); color: var(--ink); }
html.hc .entry-content td, html.hc .info-table td, html.hc .entry-content th, html.hc .info-table th { border-color: var(--d-border); }
html.hc .entry-content tr:nth-child(even) td { background: rgba(255,255,255,.03); }
html.hc .contact-page .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), html.hc .contact-page .wpcf7-form textarea,
html.hc .entry-content .wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), html.hc .entry-content .wpcf7-form textarea { background: var(--d-bg); border-color: #3c3f4a; color: var(--ink); }
html.hc .contact-page .wpcf7-form input:focus, html.hc .contact-page .wpcf7-form textarea:focus { background: #14151a; border-color: var(--red); }
html.hc ::placeholder { color: #8b8e99; }
html.hc .skip-link { background: var(--d-card); color: var(--ink); }

/* Accessibility bar itself */
html.hc .a11y-bar__group, html.hc .a11y-btn { border-color: var(--d-border); }
html.hc .a11y-btn { background: var(--d-card); color: var(--ink); }
html.hc .a11y-btn:hover:not(:disabled) { background: var(--d-hover); color: #fff; }
html.hc .a11y-btn:disabled { color: #5d606b; }
html.hc .a11y-btn[data-font="0"][aria-pressed="true"] { background: var(--d-card); color: var(--ink); }
html.hc .a11y-btn--contrast[aria-pressed="true"] { background: var(--d-btn); color: #fff; }
html.hc .a11y-lang { background: transparent; color: var(--red); border-color: var(--red); }
html.hc .a11y-lang:hover { background: var(--d-btn); color: #fff; border-color: var(--d-btn); }
html.hc .a11y-lang[aria-pressed="true"] { background: var(--d-btn); color: #fff; border-color: var(--d-btn); }
html.hc img:not(.brand__logo):not(.topbar__logo) { filter: brightness(.92); }
html.hc .topbar__logo { background: #fff; border-radius: 4px; padding: 2px; }

.a11y-btn--contrast .icon { width: 16px; height: 16px; vertical-align: middle; }
.a11y-btn[data-font="0"][aria-pressed="true"] { background: #fff; color: #222; }
html.hc .contact-page .wpcf7-form input[type="submit"], html.hc .entry-content .wpcf7-form input[type="submit"], html.hc .contact__form input[type="submit"] { background: var(--d-btn); color: #fff; }
html.hc .contact-page .wpcf7-form input[type="submit"]:hover, html.hc .entry-content .wpcf7-form input[type="submit"]:hover, html.hc .contact__form input[type="submit"]:hover { background: #a92227; }

/* Contact page map */
.contact-page { padding-bottom: 2.5rem; }
.contact-map { padding-bottom: 4.5rem; }
.contact-map__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.contact-map__title { font-family: var(--head); font-size: 1.6rem; margin: 0 0 .25rem; color: var(--ink); }
.contact-map__text { margin: 0; color: var(--ink-2); font-size: .95rem; }
.contact-map__head .btn .icon { width: 18px; height: 18px; }
.contact-map__frame { border: 1px solid #e3e3e3; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.06); background: #eef0f2; }
.contact-map__frame iframe { display: block; width: 100%; height: 440px; border: 0; }
@media (max-width: 760px) { .contact-map__frame iframe { height: 320px; } }
html.hc .contact-map__frame { border-color: var(--d-border); background: var(--d-card); }
.entry-content .wp-block-gallery img.is-portrait, .entry-content .gallery img.is-portrait { object-position: center 18%; }

/* Plugin buttons in NISST style (v1.6.5) */
/* WhatsApp (WP Chat App): drop the empty white label, slightly smaller button */
.wa__btn_popup .wa__btn_popup_txt { display: none !important; }
.wa__btn_popup .wa__btn_popup_icon { width: 48px !important; height: 48px !important; box-shadow: 0 6px 16px rgba(0,0,0,.18) !important; }
/* Training Schedule shortcut (Sticky Buttons): brand red instead of lime green */
.sticky-buttons .sb-item { --bg: var(--red) !important; --color: #fff !important; }
.sticky-buttons .sb-link { border-radius: 0 10px 10px 0 !important; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
html.hc .sticky-buttons .sb-item { --bg: var(--d-btn) !important; }

/* ---------- Site search (v1.7) ---------- */
.search-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: .6rem; border: 1px solid #ddd; border-radius: 8px; background: #fff; color: var(--ink); cursor: pointer; flex: none; transition: background .15s, color .15s, border-color .15s; }
.search-toggle .icon { width: 19px; height: 19px; }
.search-toggle:hover, .search-toggle.is-active { background: var(--red); border-color: var(--red); color: #fff; }
.search-toggle:focus-visible, .search-panel__close:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.search-panel { border-top: 1px solid #ececec; background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.search-panel[hidden] { display: none; }
.search-panel__inner { display: flex; align-items: center; gap: .75rem; padding-block: 1rem; }
.search-panel .nisst-search { flex: 1; }
.search-panel__close { flex: none; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); cursor: pointer; }
.search-panel__close:hover { background: #f2f2f2; color: var(--ink); }
.search-panel__close .icon { width: 20px; height: 20px; }
.nisst-search { position: relative; display: flex; gap: .6rem; }
.nisst-search__icon { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: #888; pointer-events: none; display: flex; }
.nisst-search__icon .icon { width: 18px; height: 18px; }
.nisst-search__field { flex: 1; min-width: 0; height: 46px; padding: 0 1rem 0 2.6rem; border: 1px solid #cfcfcf; border-radius: 8px; background: #fafafa; font: inherit; font-size: 1rem; color: var(--ink); }
.nisst-search__field:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 3px rgba(183,23,26,.15); }
.nisst-search__submit { flex: none; height: 46px; padding: 0 1.5rem; border: 0; border-radius: 8px; background: var(--red); color: #fff; font-family: var(--head); font-size: 1rem; font-weight: 700; cursor: pointer; }
.nisst-search__submit:hover { background: var(--red-dark); }
.search-page__form { margin-bottom: 1.5rem; max-width: 760px; }
.search-page__count { color: var(--ink-2); font-size: .95rem; margin: 0 0 1.25rem; }
.nisst-results { list-style: none; margin: 0; padding: 0; max-width: 860px; }
.search-result { padding: 1.25rem 0; border-bottom: 1px solid #ececec; }
.search-result__meta { display: flex; align-items: center; gap: .7rem; margin: 0 0 .35rem; font-size: .8rem; color: var(--ink-2); }
.search-result__type { font-family: var(--head); font-weight: 700; letter-spacing: .5px; text-transform: uppercase; font-size: .7rem; color: var(--red); background: rgba(183,23,26,.08); padding: .15rem .55rem; border-radius: 100px; }
.search-result__title { font-family: var(--head); font-size: 1.25rem; margin: 0 0 .35rem; }
.search-result__title a { color: var(--ink); text-decoration: none; }
.search-result__title a:hover { color: var(--red); text-decoration: underline; }
.search-result__extract { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.6; }
.search-result__extract mark, .nisst-results mark { background: #fff1b8; color: inherit; padding: 0 .1em; border-radius: 2px; }
.search-empty { background: var(--light); border-radius: var(--radius); padding: 1.75rem 2rem; max-width: 760px; }
.search-empty h2 { font-family: var(--head); margin: 0 0 .5rem; }
.search-empty a { color: var(--red); }
@media (max-width: 1024px) {
	.search-toggle { margin-left: auto; margin-right: .5rem; }
}
@media (max-width: 560px) {
	.nisst-search__submit { padding: 0 1rem; }
	.search-panel__inner { gap: .4rem; }
}
html.hc .search-toggle { background: var(--d-card); border-color: var(--d-border); color: var(--ink); }
html.hc .search-toggle:hover, html.hc .search-toggle.is-active { background: var(--d-btn); border-color: var(--d-btn); color: #fff; }
html.hc .search-panel { background: var(--d-surface); border-color: var(--d-border); }
html.hc .search-panel__close:hover { background: var(--d-hover); color: #fff; }
html.hc .nisst-search__field { background: var(--d-bg); border-color: #3c3f4a; color: var(--ink); }
html.hc .nisst-search__submit { background: var(--d-btn); }
html.hc .search-result { border-color: var(--d-border); }
html.hc .search-result__type { background: rgba(240,101,106,.14); }
html.hc .search-result__extract mark { background: rgba(250,204,21,.25); color: #fff; }
html.hc .search-empty { background: var(--d-card); }
@media (min-width: 1025px) {
	.site-header__inner .brand { order: 1; }
	.site-header__inner .site-nav { order: 2; margin-left: auto; }
	.site-header__inner .search-toggle { order: 3; }
}
@media (min-width: 1025px) {
	.site-nav .menu > li > a, .site-nav__cta { white-space: nowrap; }
	.site-header__inner { gap: .75rem; }
}
@media (min-width: 1025px) and (max-width: 1320px) {
	.site-nav .menu > li > a { padding-left: .5rem !important; padding-right: .5rem !important; font-size: .9rem; }
	.brand__name { max-width: 13rem; font-size: .85rem; }
	.site-nav__cta { margin-left: .4rem; padding: .5rem .9rem; }
	.search-toggle { margin-left: .25rem; }
}
@media (max-width: 560px) {
	.search-panel .nisst-search__submit { display: none; }
}

/* ---------- Tabbed pages (v1.8): Green Steel, VVB ---------- */
.page-layout:has(.nisst-tabs) { max-width: var(--max); }
.page-layout:has(.nisst-tabs) .page-layout__content { max-width: none; }
.nisst-tabs.is-tabbed { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.nisst-tabs__nav { position: sticky; top: 100px; background: var(--light); border-radius: var(--radius); padding: 1.1rem .9rem; border: 1px solid #e8e8e8; }
.nisst-tabs__title { font-family: var(--head); font-weight: 700; font-size: 1.05rem; margin: 0 .5rem .6rem; color: var(--ink); }
.nisst-tabs__group { font-family: var(--head); font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin: 1rem .5rem .35rem; }
.nisst-tabs__nav ul { list-style: none; margin: 0; padding: 0; }
.nisst-tabs__nav a { display: block; padding: .5rem .7rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .92rem; line-height: 1.35; border-left: 3px solid transparent; }
.nisst-tabs__nav li.is-sub a { padding-left: 1.6rem; font-size: .86rem; color: var(--ink-2); }
.nisst-tabs__nav a:hover { background: #fff; color: var(--red); }
.nisst-tabs__nav a[aria-current="true"] { background: #fff; color: var(--red); font-weight: 600; border-left-color: var(--red); box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.nisst-tab { scroll-margin-top: 120px; }
.nisst-tabs:not(.is-tabbed) .nisst-tab + .nisst-tab { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #e6e6e6; }
.nisst-tab > h2:first-child { margin-top: 0; font-family: var(--head); font-size: 1.75rem; }
.nisst-tab h2:focus { outline: none; }
.nisst-tab h3 { font-family: var(--head); font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.nisst-lead { font-size: 1.08rem; color: var(--ink); }
.nisst-status { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .85rem; border-radius: 100px; background: #fff4d6; color: #7a4f00; font-weight: 700; font-size: .85rem; }
.nisst-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d4a017; }
.nisst-upcoming { display: flex; gap: .9rem; align-items: flex-start; background: #f7f7f8; border: 1px dashed #c9c9cf; border-radius: var(--radius); padding: 1.1rem 1.25rem; margin: 1rem 0; color: var(--ink-2); }
.nisst-upcoming::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center/contain no-repeat; color: var(--red); }
.nisst-upcoming strong { display: block; color: var(--ink); font-family: var(--head); font-size: 1.05rem; margin-bottom: .15rem; }
.nisst-upcoming p { margin: 0; }
.nisst-note { background: #fbf2f2; border-left: 4px solid var(--red); border-radius: 0 8px 8px 0; padding: .85rem 1.1rem; margin: 1.25rem 0; font-size: .93rem; }
.nisst-figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.nisst-figs img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; border: 1px solid #ececec; background: #fff; display: block; }
.nisst-figs--wide img { aspect-ratio: 4 / 3; }
.nisst-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.nisst-card { border: 1px solid #e6e6e6; border-radius: var(--radius); padding: 1.2rem 1.25rem; background: #fff; }
.nisst-card h3, .nisst-card h4 { margin: 0 0 .4rem; font-family: var(--head); font-size: 1.05rem; }
.nisst-card p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.nisst-card .num { display: inline-flex; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; align-items: center; justify-content: center; font-weight: 700; font-size: .85rem; margin-bottom: .6rem; }
.nisst-downloads { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.nisst-downloads a { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border: 1px solid #e6e6e6; border-radius: 10px; text-decoration: none; color: var(--ink); background: #fff; font-weight: 600; }
.nisst-downloads a:hover { border-color: var(--red); color: var(--red); }
.nisst-downloads a::before { content: attr(data-type); flex: none; font-size: .68rem; font-weight: 800; letter-spacing: .5px; color: #fff; background: var(--red); border-radius: 5px; padding: .3rem .45rem; min-width: 38px; text-align: center; }
.nisst-downloads small { display: block; font-weight: 400; color: var(--ink-2); font-size: .82rem; }
.nisst-btnrow { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.entry-content .nisst-tab table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1rem 0 1.5rem; }
.entry-content .nisst-tab th, .entry-content .nisst-tab td { border: 1px solid #ddd; padding: .6rem .75rem; vertical-align: top; text-align: left; }
.entry-content .nisst-tab td.blank { height: 2.4rem; }
.nisst-table-scroll { overflow-x: auto; }
.nisst-stars { color: #d4a017; letter-spacing: 2px; white-space: nowrap; }
@media (max-width: 900px) {
	.nisst-tabs.is-tabbed { grid-template-columns: 1fr; gap: 1.25rem; }
	.nisst-tabs__nav { position: static; padding: .75rem; }
	.nisst-tabs__nav ul { display: flex; flex-wrap: wrap; gap: .35rem; }
	.nisst-tabs__nav a { border: 1px solid #ddd; border-left-width: 1px; background: #fff; padding: .4rem .7rem; font-size: .85rem; }
	.nisst-tabs__nav li.is-sub a { padding-left: .7rem; }
	.nisst-tabs__nav a[aria-current="true"] { border-color: var(--red); }
}
html.hc .nisst-tabs__nav, html.hc .nisst-upcoming, html.hc .nisst-card, html.hc .nisst-downloads a { background: var(--d-card); border-color: var(--d-border); }
html.hc .nisst-tabs__nav a:hover, html.hc .nisst-tabs__nav a[aria-current="true"] { background: var(--d-hover); }
html.hc .nisst-note { background: rgba(240,101,106,.1); }
html.hc .nisst-status { background: rgba(250,204,21,.15); color: #fde68a; }
html.hc .nisst-downloads a::before, html.hc .nisst-card .num { background: var(--d-btn); }
html.hc .nisst-figs img { border-color: var(--d-border); }
/* Green Steel map: year dropdown (v1.8) */
.map-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.map-head .green__label { margin: 0; }
.map-year select { appearance: none; -webkit-appearance: none; padding: .45rem 2.2rem .45rem .85rem; border: 1px solid #9fd8b0; border-radius: 8px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803d' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right .6rem center / 14px; color: #14532d; font: 600 .9rem/1.2 var(--body); cursor: pointer; }
.map-year select:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.map-year--single { font-weight: 700; color: #14532d; font-size: .9rem; }
.map-summary { margin: .5rem 0 .25rem; color: #2f5a3b; font-size: .9rem; font-weight: 600; }
html.hc .map-year select { background-color: var(--d-card); color: var(--ink); border-color: #2f6b45; }
html.hc .map-summary, html.hc .map-year--single { color: #a7c7b0; }
.entry-content .nisst-tab th.zone { background: #f3f7f4; color: #14532d; font-size: .85rem; }
html.hc .entry-content .nisst-tab th.zone { background: rgba(74,222,128,.08); color: #86efac; }
.nisst-tab h2[tabindex="-1"]:focus, .nisst-tab h2[tabindex="-1"]:focus-visible { outline: none; box-shadow: none; }
@media (min-width: 1100px) { .nisst-figs { grid-template-columns: repeat(3, 1fr); } .nisst-figs--wide { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Compact cascading dropdown menu (v1.8.2) ---------- */
@media (min-width: 1025px) {
	.site-nav .sub-menu { min-width: 250px; padding: .45rem 0; border-radius: 10px; }
	.site-nav .sub-menu > li { position: relative; }
	.site-nav .sub-menu a, .site-nav .sub-menu .menu-group-title { padding: .55rem 1.1rem; font-size: .9rem; line-height: 1.35; }
	/* Items that have their own sections show an arrow and open a side list */
	.site-nav .sub-menu > li.has-flyout > a, .site-nav .sub-menu > li.has-flyout > .menu-group-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-right: .9rem; font-weight: 400; color: #333; border: 0; margin: 0; }
	.site-nav .sub-menu > li.has-flyout > a::after, .site-nav .sub-menu > li.has-flyout > .menu-group-title::after { content: "›"; font-size: 1.15rem; line-height: 1; color: #999; transition: transform .15s, color .15s; }
	.site-nav .sub-menu > li.has-flyout:hover > a, .site-nav .sub-menu > li.has-flyout:focus-within > a, .site-nav .sub-menu > li.has-flyout:hover > .menu-group-title { color: var(--red); background: #fbf2f2; }
	.site-nav .sub-menu > li.has-flyout:hover > a::after, .site-nav .sub-menu > li.has-flyout:focus-within > a::after { color: var(--red); transform: translateX(2px); }
	.site-nav .sub-sub-menu { position: absolute; top: -.45rem; left: 100%; min-width: 260px; max-width: 320px; margin: 0; padding: .45rem 0; list-style: none; background: #fff; border: 1px solid #e6e6e6; border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateX(6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 2; }
	.site-nav .sub-sub-menu::before { content: ""; position: absolute; top: 0; bottom: 0; left: -10px; width: 10px; }
	.site-nav .has-flyout:hover > .sub-sub-menu, .site-nav .has-flyout:focus-within > .sub-sub-menu { opacity: 1; visibility: visible; transform: none; }
	.site-nav .has-flyout.flyout-left > .sub-sub-menu { left: auto; right: 100%; transform: translateX(-6px); }
	.site-nav .has-flyout.flyout-left > .sub-sub-menu::before { left: auto; right: -10px; }
	.site-nav .has-flyout.flyout-left:hover > .sub-sub-menu, .site-nav .has-flyout.flyout-left:focus-within > .sub-sub-menu { transform: none; }
	.site-nav .sub-sub-menu a { padding: .5rem 1.1rem; font-size: .88rem; color: #333; }
	html.hc .site-nav .sub-sub-menu { background: var(--d-surface); border-color: var(--d-border); }
	html.hc .site-nav .sub-menu > li.has-flyout > a { color: var(--ink); }
	html.hc .site-nav .sub-menu > li.has-flyout:hover > a { background: var(--d-hover); color: #fff; }
	html.hc .site-nav .sub-sub-menu a { color: var(--ink); }
}

/* ==========================================================================
   v1.8.4: two-row header (large logo and name, menu below) and a single
   large slideshow photo that slides to the next one.
   ========================================================================== */

/* ---------- Header: larger logo and full name, menu row below ---------- */
.site-header .brand { gap: 1rem; }
.brand__text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.site-header .brand__name { font-family: var(--head); font-weight: 700; color: var(--ink); letter-spacing: .005em; line-height: 1.08; }
.brand__tag { font-size: .9rem; font-weight: 500; color: #6b6b6b; letter-spacing: .02em; }
.brand__tag::before { content: ""; display: inline-block; width: 22px; height: 3px; margin: 0 .55rem .22em 0; border-radius: 2px; background: var(--red); vertical-align: middle; }
.brand-logos { display: none; }
html.hc .brand__tag { color: var(--ink-2); }

@media (min-width: 1101px) {
	.site-header__inner { flex-wrap: wrap; column-gap: 1.25rem; row-gap: 0; min-height: 0; padding-top: .85rem; }
	.site-header__inner .brand { order: 1; }
	.brand-logos { order: 2; display: flex; align-items: center; gap: 1.1rem; margin-left: auto; padding-right: 1.1rem; border-right: 1px solid #e6e6e6; }
	.brand-logos__img { height: 60px; width: auto; }
	.topbar .topbar__logo { display: none; }
	.site-header__inner .search-toggle { order: 3; margin-left: 0; width: 46px; height: 46px; border-radius: 50%; }
	.site-header__inner .site-nav { order: 4; position: relative; flex: 0 0 100%; margin-top: .85rem; padding: 0; justify-content: space-between; }
	.site-header__inner .site-nav::before { content: ""; position: absolute; top: 0; left: 50%; width: 100vw; height: 1px; transform: translateX(-50%); background: #e8e8e8; }
	.site-header .brand__logo { height: 92px; width: auto; }
	.site-header .brand__name { font-size: clamp(1.8rem, 2.45vw, 2.35rem); max-width: none; white-space: nowrap; }

	.site-header .site-nav .menu { gap: 0; }
	.site-header .site-nav .menu > li > a { position: relative; font-size: 1rem; font-weight: 600; color: #262626; padding: 1rem .95rem !important; border-radius: 0; }
	.site-header .site-nav .menu > li > a::before { content: ""; position: absolute; left: .95rem; right: .95rem; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--red); transform: scaleX(0); transition: transform .2s ease; }
	.site-header .site-nav .menu > li:hover > a::before, .site-header .site-nav .menu > li:focus-within > a::before, .site-header .site-nav .menu > li.current-menu-item > a::before, .site-header .site-nav .menu > li.current-menu-ancestor > a::before { transform: scaleX(1); }
	.site-header .site-nav .menu > li.current-menu-item > a, .site-header .site-nav .menu > li.current-menu-ancestor > a { color: var(--red); }
	.site-header .site-nav .sub-menu { top: 100%; }
	.site-header .site-nav__cta { margin-left: 1rem; padding: .6rem 1.35rem; font-size: .95rem; }
	html.hc .site-header__inner .site-nav::before { background: var(--d-border); }
	html.hc .brand-logos { border-right-color: var(--d-border); }
	html.hc .brand-logos__img { background: #fff; border-radius: 6px; padding: 2px; }
	html.hc .site-header .site-nav .menu > li > a { color: var(--ink); }
	html.hc .site-header .site-nav .menu > li.current-menu-item > a, html.hc .site-header .site-nav .menu > li.current-menu-ancestor > a { color: #fff; }
}
@media (min-width: 1101px) and (max-width: 1300px) {
	.site-header .site-nav .menu > li > a { padding: 1rem .6rem !important; font-size: .95rem; }
	.site-header .site-nav .menu > li > a::before { left: .6rem; right: .6rem; }
	.brand-logos__img { height: 50px; }
}
@media (max-width: 1100px) {
	.site-header .brand__logo { height: 64px; width: auto; }
	.site-header .brand__name { display: block; font-size: 1.35rem; max-width: 26rem; }
}
@media (max-width: 782px) {
	.site-header .brand { gap: .6rem; }
	.site-header .brand__logo { height: 54px; }
	.site-header .brand__name { font-size: 1.05rem; max-width: 15rem; }
	.brand__tag { font-size: .78rem; }
	.brand__tag::before { width: 14px; margin-right: .4rem; }
}
@media (max-width: 420px) {
	.site-header .brand__logo { height: 46px; }
	.site-header .brand__name { display: block; font-size: .95rem; max-width: 11.5rem; }
	.brand__tag { display: none; }
}

/* ---------- Slideshow: one large photo at a time ---------- */
.carousel__viewport { position: relative; overflow: hidden; border-radius: 16px; background: #15151a; box-shadow: 0 14px 40px rgba(0,0,0,.18); }
.carousel .carousel__track { display: flex; position: relative; height: clamp(260px, 46vw, 580px); transition: transform .7s ease; will-change: transform; }
.carousel .carousel__slide,
.carousel .carousel__slide.is-active { position: relative; top: auto; left: auto; flex: 0 0 100%; width: 100%; height: 100%; margin: 0; transform: none; opacity: 1; visibility: visible; border: 0; border-radius: 0; box-shadow: none; filter: none; overflow: hidden; }
.carousel__bg { position: absolute; inset: -30px; background-size: cover; background-position: center; filter: blur(22px) brightness(.5); }
.carousel .carousel__slide img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.carousel .carousel__caption { z-index: 2; opacity: 1; padding: 3rem 1.5rem 1.1rem; font-size: 1rem; text-align: center; }
.carousel .carousel__controls { margin-top: 1rem; }
@media (max-width: 782px) {
	.carousel .carousel__track { height: clamp(220px, 66vw, 380px); }
	.carousel__viewport { border-radius: 12px; }
	.carousel .carousel__caption { font-size: .85rem; padding: 2rem .9rem .7rem; }
}
@media (prefers-reduced-motion: reduce) {
	.carousel .carousel__track { transition: none; }
}

/* ---------- v1.8.4 polish ---------- */
.site-header { overflow-x: clip; }                       /* the full-width menu line must not widen the page */
.submenu-toggle span[aria-hidden] { display: inline-block; width: 7px; height: 7px; font-size: 0; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.menu-item-has-children.is-open > .submenu-toggle span[aria-hidden] { transform: translateY(2px) rotate(225deg); }
@media (min-width: 1101px) {
	.site-header .submenu-toggle { margin-left: -.85rem; padding: .5rem .45rem; color: #8a8a8a; }
	.site-header .menu > li:hover > .submenu-toggle, .site-header .menu > li.current-menu-ancestor > .submenu-toggle { color: var(--red); }
}
.carousel__bg { filter: blur(24px) brightness(.72) saturate(1.15); }
@media (max-width: 560px) {
	.topbar__right { gap: .45rem .5rem; }
	.topbar .topbar__logo { height: 30px; }
	.topbar__btn { padding: .3rem .6rem; font-size: .8rem; }
	.topbar__social { width: 28px; height: 28px; font-size: .8rem; }
}

/* ---------- v1.8.8 download cards (inc/downloads.php) ---------- */
.entry-content .nisst-downloads, .nisst-downloads { list-style: none; padding: 0; margin: 1.1rem 0 1.4rem; display: grid; gap: .65rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.nisst-downloads > li { margin: 0; padding: 0; }
.nisst-downloads > li::before, .nisst-downloads > li::marker { content: none; }
li:has(> .dl-card) { list-style: none; }
.wp-block-buttons > .nisst-downloads { flex: 1 1 100%; }
.dl-card { position: relative; display: flex; align-items: center; gap: .9rem; height: 100%; padding: .9rem 1rem .9rem .9rem; border: 1px solid #e3e3e3; border-left: 4px solid var(--red); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none !important; box-shadow: 0 1px 2px rgba(0,0,0,.04); transition: border-color .15s, box-shadow .15s, transform .15s; }
.dl-card:hover, .dl-card:focus-visible { border-color: var(--red); box-shadow: 0 8px 22px rgba(183,23,26,.12); transform: translateY(-1px); color: var(--ink); }
.dl-card:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.dl-card__icon { position: relative; flex: none; display: grid; place-items: end center; width: 40px; height: 48px; padding-bottom: 7px; border-radius: 4px 12px 4px 4px; background: #fbeaea; color: var(--red); font: 800 .66rem/1 var(--body); letter-spacing: .4px; }
.dl-card__icon::before { content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 12px; background: linear-gradient(225deg, #fff 50%, #f0c9ca 50%); border-radius: 0 12px 0 3px; }
.dl-card__icon::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 12px; background: repeating-linear-gradient(to bottom, rgba(183,23,26,.35) 0 2px, transparent 2px 5px); }
.dl-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.dl-card__title { font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.dl-card__meta { font-size: .8rem; color: var(--ink-2); }
.dl-card__action { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; transition: background .15s, transform .15s; }
.dl-card:hover .dl-card__action { background: var(--red-dark); transform: translateY(1px); }
.dl-chip { display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .65rem .3rem .35rem; border: 1px solid #e3e3e3; border-radius: 7px; background: #fff; color: var(--ink); font-weight: 600; font-size: .92em; line-height: 1.3; text-decoration: none !important; vertical-align: middle; transition: border-color .15s, color .15s; }
.dl-chip:hover, .dl-chip:focus-visible { border-color: var(--red); color: var(--red); }
.dl-chip__type { flex: none; padding: .2rem .35rem; border-radius: 4px; background: var(--red); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .4px; }
.dl-chip__size { font-weight: 400; color: var(--ink-2); font-size: .85em; }
td .dl-chip { margin: .15rem 0; }
html.hc .dl-card, html.hc .dl-chip { background: var(--d-card); border-color: var(--d-border); color: var(--ink); }
html.hc .dl-card { border-left-color: var(--d-btn); }
html.hc .dl-card__icon { background: rgba(240,101,106,.15); color: #f0656a; }
html.hc .dl-card__icon::before { background: linear-gradient(225deg, var(--d-card) 50%, rgba(240,101,106,.35) 50%); }
html.hc .dl-card__action, html.hc .dl-chip__type { background: var(--d-btn); }
@media print { .dl-card__action { display: none; } }
.nisst-downloads a.dl-card::before { content: none; display: none; }
.nisst-downloads a.dl-card { padding: .9rem 1rem .9rem .9rem; font-weight: 400; }
.nisst-downloads a.dl-card:hover { color: var(--ink); }

/* ---------- v1.8.8 event-wise gallery ---------- */
.gallery-index { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 2rem; padding: 0; list-style: none; }
.gallery-index li { margin: 0; }
.gallery-index li::marker { content: none; }
.gallery-index a { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border: 1px solid #e3e3e3; border-radius: 100px; background: #fff; color: var(--ink); font-size: .88rem; font-weight: 600; text-decoration: none; transition: border-color .15s, color .15s; }
.gallery-index a:hover, .gallery-index a:focus-visible { border-color: var(--red); color: var(--red); }
.gallery-index time { font-weight: 400; color: var(--ink-2); font-size: .82rem; }
.gallery-event { margin: 0 0 2.75rem; padding-top: 1.75rem; border-top: 1px solid #ececec; scroll-margin-top: 90px; }
.gallery-event:first-of-type { border-top: 0; padding-top: 0; }
.gallery-event__head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.gallery-event__date { flex: none; display: grid; place-items: center; width: 64px; padding: .45rem 0 .5rem; border-radius: 10px; background: var(--red); color: #fff; text-align: center; line-height: 1; }
.gallery-event__date b { display: block; font: 700 1.55rem/1 var(--head); }
.gallery-event__date span { display: block; margin-top: .25rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gallery-event__title { margin: 0 0 .3rem !important; font-family: var(--head); font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.25; }
.gallery-event__meta { margin: 0 !important; color: var(--ink-2); font-size: .9rem; }
.gallery-event .wp-block-gallery { margin-top: .5rem; }
html.hc .gallery-index a { background: var(--d-card); border-color: var(--d-border); color: var(--ink); }
html.hc .gallery-event { border-top-color: var(--d-border); }
html.hc .gallery-event__date { background: var(--d-btn); }
@media (max-width: 560px) { .gallery-event__date { width: 54px; } .gallery-event__date b { font-size: 1.3rem; } }

/* ==========================================================================
   v1.9.0: clickable stats, BIS side panel, labs page, training calendar
   ========================================================================== */
.stat--link { padding: 0; overflow: hidden; }
.stat__link { display: block; width: 100%; height: 100%; padding: 1.375rem 1.25rem 1.1rem; border: 0; background: none; color: inherit; font: inherit; text-align: center; text-decoration: none; cursor: pointer; }
.stat--link:hover, .stat--link:focus-within { border-color: var(--red); box-shadow: 0 10px 26px rgba(183,23,26,.12); transform: translateY(-2px); }
.stat--link { transition: border-color .2s, box-shadow .2s, transform .2s; }
.stat__link:focus-visible { outline: 3px solid #1d4ed8; outline-offset: -3px; border-radius: var(--radius); }
.stat__more { display: block; margin-top: .55rem; font-size: .75rem; font-weight: 700; letter-spacing: .02em; color: var(--red); opacity: .75; transition: opacity .2s; }
.stat--link:hover .stat__more, .stat--link:focus-within .stat__more { opacity: 1; }
@media (max-width: 782px) { .stat__link { padding: 1.1rem .75rem .9rem; } }
@media (max-width: 420px) { .stat__link { padding: 1rem .5rem .8rem; } .stat__more { font-size: .7rem; } }

/* Side panel */
.drawer { position: fixed; inset: 0; z-index: 1000; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(10,10,14,.5); opacity: 0; transition: opacity .25s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: #fff; box-shadow: -18px 0 40px rgba(0,0,0,.2); transform: translateX(100%); transition: transform .25s ease; outline: none; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.admin-bar .drawer__panel { top: 32px; }
.drawer__head { position: relative; padding: 1.5rem 3.5rem 1.1rem 1.5rem; border-bottom: 1px solid #eee; background: linear-gradient(135deg, #fff, #fbf2f2); }
.drawer__kicker { margin: 0 0 .25rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.drawer__title { margin: 0; font-family: var(--head); font-size: 1.6rem; line-height: 1.2; }
.drawer__close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border: 1px solid #e3e3e3; border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.drawer__close:hover { border-color: var(--red); color: var(--red); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem 1.5rem; font-size: .95rem; }
.drawer__list { padding-left: 1.1rem; }
.drawer__list li { margin-bottom: .45rem; }
.drawer__foot { padding: 1rem 1.5rem; border-top: 1px solid #eee; font-weight: 600; }
.drawer__foot a { color: var(--red); text-decoration: none; }
html.hc .drawer__panel { background: var(--d-surface); color: var(--ink); }
html.hc .drawer__head { background: var(--d-card); border-color: var(--d-border); }
html.hc .drawer__close { background: var(--d-card); border-color: var(--d-border); color: var(--ink); }
html.hc .drawer__foot { border-color: var(--d-border); }
@media (max-width: 782px) { .admin-bar .drawer__panel { top: 0; } }

/* Homepage lab tiles as links */
.lab--link { padding: 0; }
.lab--link a { position: relative; display: block; height: 100%; padding: 1.4rem 2.6rem 1.4rem 1.1rem; color: #fff; text-decoration: none; }
.lab--link:hover, .lab--link:focus-within { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.1); }
.lab__go { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-size: 1.2rem; color: #fff; opacity: .7; transition: transform .2s, opacity .2s; }
.lab--link:hover .lab__go { opacity: 1; transform: translate(3px, -50%); }
.labs__grid > .lab:nth-child(odd):last-child { grid-column: 1 / -1; }

/* Testing Laboratories page */
.lab-jump { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .8rem; margin: 1.25rem 0 2.25rem; padding: 0; list-style: none; }
.lab-jump li { margin: 0; }
.lab-jump a { display: flex; align-items: center; gap: .75rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid #e3e3e3; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.lab-jump a:hover, .lab-jump a:focus-visible { border-color: var(--red); box-shadow: 0 8px 22px rgba(183,23,26,.1); }
.lab-jump span { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 10px; background: #fbeaea; color: var(--red); font: 700 1rem/1 var(--head); }
.lab-section { margin: 0 0 3rem; padding: 1.75rem; border: 1px solid #ececec; border-radius: 16px; background: #fff; scroll-margin-top: 90px; }
.lab-section__title { margin: 0 0 .35rem !important; font-family: var(--head); font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.lab-section__lead { margin: 0 0 1.1rem !important; color: var(--ink-2); }
.lab-tests { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: .55rem 1.5rem; margin: 0 0 1rem !important; padding: 0 !important; list-style: none; }
.lab-tests li { position: relative; margin: 0 !important; padding: .35rem 0 .35rem 1.7rem; line-height: 1.45; }
.lab-tests li::before { content: ""; position: absolute; left: 0; top: .6rem; width: 16px; height: 16px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; }
.lab-tests__sub { margin: 1rem 0 .5rem !important; font-family: var(--head); font-size: 1.05rem; color: var(--red-dark); }
.lab-section .wp-block-gallery { margin-top: 1.25rem; }
.lab-machines__title { margin: 1.6rem 0 .9rem !important; padding-top: 1.2rem; border-top: 1px solid #ececec; font-family: var(--head); font-size: 1.15rem; }
.machine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 1rem; margin: 0 !important; padding: 0 !important; list-style: none; }
.machine-grid > li { margin: 0 !important; padding: 0; }
.machine { display: flex; flex-direction: column; height: 100%; margin: 0; overflow: hidden; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; transition: box-shadow .15s, border-color .15s; }
.machine:hover { border-color: #d6d6d6; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.machine img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: #f2f2f2; cursor: zoom-in; }
.machine figcaption { flex: 1; padding: .8rem .9rem 1rem; }
.machine__name { display: block; margin: 0 0 .3rem; font: 700 1rem/1.3 var(--head); color: var(--ink); }
.machine__cap { display: inline-block; margin: 0 0 .4rem; padding: .1rem .5rem; border-radius: 999px; background: #fbeaea; color: var(--red-dark); font-size: .78rem; font-weight: 700; }
.machine__text { display: block; margin: 0; color: var(--ink-2); font-size: .9rem; line-height: 1.45; }
html.hc .machine { background: var(--d-card); border-color: var(--d-border); }
html.hc .machine__cap { background: rgba(240,101,106,.15); color: #f0656a; }
html.hc .lab-jump a, html.hc .lab-section { background: var(--d-card); border-color: var(--d-border); color: var(--ink); }
html.hc .lab-jump span { background: rgba(240,101,106,.15); color: #f0656a; }
@media (max-width: 560px) { .lab-section { padding: 1.1rem; } }

/* Training calendar (Centre of Excellence) */
.prog-list { display: grid; gap: .8rem; margin: 1.25rem 0 2.5rem; padding: 0; list-style: none; }
.prog { margin: 0 !important; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; overflow: hidden; }
.prog__row { display: grid; grid-template-columns: 76px 1fr auto; align-items: center; gap: 1rem; padding: .9rem 1rem; }
.prog__month { display: grid; place-items: center; padding: .45rem 0; border-radius: 10px; background: #fbeaea; color: var(--red); text-align: center; line-height: 1; }
.prog__month b { font: 700 1.25rem/1 var(--head); }
.prog__month span { margin-top: .2rem; font-size: .72rem; font-weight: 700; letter-spacing: .05em; }
.prog__title { margin: 0 0 .25rem !important; font-family: var(--head); font-size: 1.08rem; line-height: 1.3; }
.prog__meta { margin: 0 !important; font-size: .85rem; color: var(--ink-2); }
.prog__status { padding: .3rem .7rem; border-radius: 100px; background: #eef2ff; color: #3730a3; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.prog.is-done .prog__month { background: #ecfdf3; color: #166534; }
.prog.is-done .prog__status { background: #ecfdf3; color: #166534; }
.prog.is-now .prog__month, .prog.is-now .prog__status { background: var(--red); color: #fff; }
.prog details { border-top: 1px solid #f0f0f0; }
.prog summary { padding: .6rem 1rem; font-size: .88rem; font-weight: 600; color: var(--red); cursor: pointer; list-style: none; }
.prog summary::-webkit-details-marker { display: none; }
.prog summary::before { content: "+"; display: inline-block; width: 1.1rem; font-weight: 700; }
.prog details[open] summary::before { content: "−"; }
.prog__detail { padding: 0 1rem 1rem 2.1rem; font-size: .92rem; }
.prog__detail h4 { margin: .6rem 0 .25rem; font-size: .9rem; font-family: var(--head); }
.prog__detail p { margin: 0; color: var(--ink-2); }
.company-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: .6rem; margin: 1.25rem 0 2rem; padding: 0; list-style: none; counter-reset: co; }
.company-grid li { counter-increment: co; display: flex; align-items: center; gap: .75rem; margin: 0 !important; padding: .8rem 1rem; border: 1px solid #e6e6e6; border-radius: 10px; background: #fff; font-weight: 600; line-height: 1.35; }
.company-grid li::before { content: counter(co); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fbeaea; color: var(--red); font: 700 .85rem/1 var(--head); }
html.hc .prog, html.hc .company-grid li { background: var(--d-card); border-color: var(--d-border); }
html.hc .prog details { border-color: var(--d-border); }
html.hc .prog__month, html.hc .company-grid li::before { background: rgba(240,101,106,.15); color: #f0656a; }
@media (max-width: 560px) {
	.prog__row { grid-template-columns: 60px 1fr; }
	.prog__status { grid-column: 2; justify-self: start; }
}

/* ---------- v1.9.3 Green Steel certificate verification ---------- */
.gsv-form { max-width: 640px; margin: 1.5rem 0 1.75rem; padding: 1.4rem; border: 1px solid #e6e6e6; border-radius: 14px; background: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.05); }
.gsv-form label { display: block; margin-bottom: .45rem; font-weight: 700; }
.gsv-form__row { display: flex; gap: .6rem; }
.gsv-form__row input { flex: 1; min-width: 0; height: 50px; padding: 0 1rem; border: 1px solid #cfcfcf; border-radius: 10px; font: 600 1.05rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace; letter-spacing: .03em; text-transform: uppercase; }
.gsv-form__row input:focus { outline: 3px solid rgba(29,78,216,.35); border-color: #1d4ed8; }
.gsv-form__row .btn { height: 50px; padding: 0 1.6rem; }
.gsv-form__hint { margin: .55rem 0 0 !important; font-size: .82rem; color: var(--ink-2); }
.gsv-result { max-width: 760px; margin: 0 0 2rem; }
.gsv-card { border: 1px solid #e6e6e6; border-radius: 14px; background: #fff; overflow: hidden; }
.gsv-card__head { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; }
.gsv-card__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font: 700 1.4rem/1 var(--body); }
.gsv-card__status { margin: 0 0 .15rem !important; font-family: var(--head); font-size: 1.2rem; font-weight: 700; }
.gsv-card__no { margin: 0 !important; font-size: .92rem; color: var(--ink-2); }
.gsv-card__no strong { font-family: ui-monospace, Consolas, monospace; color: var(--ink); letter-spacing: .02em; }
.gsv-card.is-valid { border-color: #86d3a3; }
.gsv-card.is-valid .gsv-card__head { background: #ecfdf3; }
.gsv-card.is-valid .gsv-card__icon { background: #16a34a; }
.gsv-card.is-valid .gsv-card__status { color: #166534; }
.gsv-card.is-expired { border-color: #f3c98b; }
.gsv-card.is-expired .gsv-card__head { background: #fff7ed; }
.gsv-card.is-expired .gsv-card__icon { background: #d97706; }
.gsv-card.is-expired .gsv-card__status { color: #9a3412; }
.gsv-card.is-missing .gsv-card__head { background: #fbf2f2; }
.gsv-card.is-missing .gsv-card__icon { background: var(--red); }
.gsv-card.is-missing .gsv-card__status { color: var(--red-dark); }
.gsv-card__note { margin: 0 !important; padding: .9rem 1.3rem 1.1rem; font-size: .92rem; color: var(--ink-2); }
.gsv-card__list { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; padding: .4rem 1.3rem 1.2rem; }
.gsv-card__list > div { padding: .75rem 0; border-bottom: 1px solid #f0f0f0; }
.gsv-card__list > div:nth-child(odd):not(.gsv-card__wide) { padding-right: 1rem; }
.gsv-card__wide { grid-column: 1 / -1; }
.gsv-card__list dt { margin: 0 0 .2rem; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); }
.gsv-card__list dd { margin: 0; font-weight: 600; }
.gsv-products { margin: .25rem 0 0 !important; padding: 0 !important; list-style: none; }
.gsv-products li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem; margin: 0 !important; padding: .45rem 0; border-top: 1px dashed #eee; }
.gsv-products li:first-child { border-top: 0; }
.gsv-stars { color: #b45309; letter-spacing: 1px; }
html.hc .gsv-form, html.hc .gsv-card { background: var(--d-card); border-color: var(--d-border); }
html.hc .gsv-form__row input { background: var(--d-bg); color: var(--ink); border-color: #3c3f4a; }
html.hc .gsv-card__head { background: var(--d-surface) !important; }
html.hc .gsv-card__list > div, html.hc .gsv-products li { border-color: var(--d-border); }
html.hc .gsv-card__no strong { color: var(--ink); }
@media (max-width: 560px) {
	.gsv-form { padding: 1rem; }
	.gsv-form__row { flex-direction: column; }
	.gsv-form__row .btn { width: 100%; }
	.gsv-card__list { grid-template-columns: 1fr; }
	.gsv-card__list > div:nth-child(odd):not(.gsv-card__wide) { padding-right: 0; }
}
.gsv-products__name small { display: block; margin-top: .15rem; font-size: .82rem; font-weight: 400; color: var(--ink-2); }
.nisst-contact-table td:last-child { white-space: nowrap; }

/* ---------- Centre of Excellence: short-term courses (v1.9.17) ---------- */
.coe-courses { counter-reset: coe; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: .75rem; margin: 1rem 0 2rem !important; padding: 0 !important; list-style: none; }
.coe-courses li { counter-increment: coe; display: flex; align-items: center; gap: .85rem; margin: 0 !important; padding: .85rem 1rem; border: 1px solid #e6e6e6; border-radius: 12px; background: #fff; font-weight: 600; line-height: 1.4; color: var(--ink); }
.coe-courses li::before { content: counter(coe); display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: #fbeaea; color: var(--red); font: 700 1rem/1 var(--head); }
html.hc .coe-courses li { background: var(--d-card); border-color: var(--d-border); }
html.hc .coe-courses li::before { background: rgba(240,101,106,.15); color: #f0656a; }

/* ---------- Phone layout (v1.9.19) ---------- */
@media (max-width: 1100px) {
	/* Menu = a panel fixed under the header bar, filling the rest of the screen and scrolling on its own. */
	.site-nav { position: fixed; top: var(--nav-top, 64px); bottom: 0; left: 0; right: 0; max-height: none; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; z-index: 990; box-shadow: 0 12px 30px rgba(0,0,0,.18); }
	html.nav-open, html.nav-open body { overflow: hidden; }
	html.nav-open .wa__btn_popup, html.nav-open .wa__popup_chat_box, html.nav-open ul.sticky-buttons { display: none !important; }
	.site-nav .menu > li > a, .submenu-toggle { min-height: 48px; }
	.submenu-toggle { min-width: 48px; }
}
@media (max-width: 782px) {
	/* Slideshow: keep every slide in the track so the sliding stays aligned. */
	.carousel .carousel__slide.is-prev, .carousel .carousel__slide.is-next { display: block; }
}
@media (max-width: 600px) {
	/* Top bar in one tidy row: text size, contrast, language, brochure. */
	.topbar__inner { flex-wrap: nowrap; min-height: 0; padding-block: .35rem; gap: .4rem; }
	.topbar__right { flex-wrap: nowrap; justify-content: space-between; width: 100%; gap: .4rem; }
	.topbar__logo, .topbar__social, .a11y-bar__link { display: none; }
	.a11y-btn { min-width: 26px; padding: 0 .25rem; }
	.a11y-lang { padding: 0 .5rem; font-size: .78rem; }
	.topbar__btn { font-size: 0; gap: 0; padding: .4rem .5rem; flex: none; }
	.topbar__btn svg { width: 16px; height: 16px; }
	/* News ticker: one line. */
	.ticker { padding: .45rem 0; }
	.ticker__inner { gap: .5rem; }
	.ticker__list { text-align: left; }
	.ticker__item.is-active { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.ticker__controls .dot { display: none; }
	/* Header bar */
	.site-header .brand__name { font-size: .95rem; }
	.site-header .brand__tag { display: none; }
	/* "Training Schedule" side button (Sticky Buttons plugin): bottom-left corner, opposite WhatsApp. */
	ul.sticky-buttons.-left-center { top: auto !important; bottom: 20px !important; left: 12px !important; transform: none !important; }
	ul.sticky-buttons.-left-center a, ul.sticky-buttons.-left-center li { width: 44px !important; height: 44px !important; border-radius: 50% !important; }
}
