/* The Deltan — native theme styles. Values measured from the Elementor/Astra site (Nov 2026). */

:root {
    --deltan-red: #ec1c24;          /* Elementor kit "Primary" / "Accent" */
    --deltan-red-dark: #be1e2d;     /* kit "Secondary" */
    --deltan-text: #3d3d3d;         /* kit "Text" */
    --deltan-body: #4b4f58;         /* Astra body text */
    --deltan-rule: #e5e5e5;
    --deltan-width: 1200px;         /* kit container width */
    --deltan-gutter: 10px;
    --font-heading: "Zilla Slab", Georgia, serif;
    --font-ui: "Roboto", Arial, sans-serif;
    --font-body: Georgia, "Times New Roman", serif;
    --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --header-shadow: 0 3px 20px rgba(0, 0, 0, .15);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Astra's root size (15px, 13.68px at 921px and below). Templates use fixed sizes, but post and
   page content saved from the old editors carries inline rem sizes that rely on it. */
html { -webkit-text-size-adjust: 100%; font-size: 93.75%; }
@media (max-width: 921px) { html { font-size: 85.5%; } }
body {
    margin: 0;
    font: 400 15px/1.65 var(--font-system);
    color: var(--deltan-body);
    background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deltan-red); text-decoration: none; }
a:hover, a:focus-visible { color: var(--deltan-red-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--deltan-text); line-height: 1.2; margin: 0 0 .5em; }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; word-wrap: normal;
}
.skip-link:focus {
    clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
    padding: 8px 12px; background: #fff; color: var(--deltan-text);
}
.icon-button {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0; border: 0; background: none; color: var(--deltan-red); cursor: pointer; line-height: 0;
}
.icon-button:focus-visible { outline: 2px solid var(--deltan-red); outline-offset: 3px; }
.deltan-icon { width: 1em; height: 1em; }

/* ---------- Header ---------- */
/* Geometry follows the Elementor headers: a full-width section with 10px padding whose columns
   (fixed percentages) pad their content by another 10px. Above 1024px "Single Posts" (160) is
   4/16/60/16/4 % and "Entire Site" (154) is 4/21/71/4 %; at 1024px and below both switch to
   25/50/25 % (15/70/15 % on phones) with the logo centred. */
/* Every Elementor header bar was "sticky: top" on all devices (shadow 0 10px 20px). The one
   exception is the desktop front page, whose two-row header scrolls away and hands over to the
   compact bar below. */
.site-header {
    position: sticky; top: 0; z-index: 50; background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
}
body.admin-bar .site-header { top: 32px; }
.site-header--front { position: relative; padding-top: 10px; box-shadow: var(--header-shadow); }
.site-header__top,
.site-header__bar {
    display: grid; align-items: center; column-gap: 20px; padding: 0 20px;
}
.site-header__top {
    grid-template-columns: 1fr auto 1fr;
    min-height: 58px; padding-top: 10px; padding-bottom: 10px;
    border-bottom: 1px dashed rgba(61, 61, 61, .25);
}
.site-header__top .site-header__date { margin-right: 9px; }
.site-header__bar { grid-template-columns: auto auto 1fr auto auto; min-height: 66px; }
.site-header--front .site-header__bar { grid-template-columns: 1fr 60% 1fr; padding-bottom: 14px; }
.site-header--front .site-header__middle { margin-top: 4.4px; }
.site-header--front .site-header__menu { justify-self: start; }

.site-header__newsletter { font: 500 15px/18px var(--font-ui); color: var(--deltan-red); justify-self: start; }
.site-header__date { font: 400 12.75px/1.65 var(--font-system); color: var(--deltan-body); justify-self: end; white-space: nowrap; }
.site-header__logo img { width: 142px; height: auto; }
.site-header__logo--center { justify-self: center; }
.site-header__menu { font-size: 30px; }
.site-header__search { font-size: 20px; justify-self: end; }
.site-header__middle { min-width: 0; text-align: center; }

.site-header--single .site-header__bar,
.site-header--default .site-header__bar { column-gap: 0; padding: 10px; min-height: 76.8px; }
.site-header--single .site-header__bar { grid-template-columns: 4% 16% 60% 16% 4%; }
.site-header--default .site-header__bar { grid-template-columns: 4% 21% 71% 4%; }
.site-header--default .site-header__middle { display: none; }
.site-header--single .site-header__bar > *,
.site-header--default .site-header__bar > * { padding: 10px; }
.site-header--single .site-header__menu,
.site-header--default .site-header__menu { align-self: start; justify-self: start; }
.site-header--single .site-header__search,
.site-header--default .site-header__search { align-self: start; font-size: 30px; }
.site-header--single .site-header__logo,
.site-header--default .site-header__logo { align-self: start; }
.site-header--single .site-header__logo img { width: 64%; }
.site-header--default .site-header__logo img { width: 44%; }
.site-header--single .site-header__date,
.site-header--default .site-header__date { font-size: 15px; text-align: right; white-space: normal; } /* long dates wrap to 2 lines (89.5px bar), as the old shortcode widget did */

.deltan-spotlight {
    margin: 0; font: 400 18px/1.35 var(--font-ui); color: var(--deltan-text); text-transform: uppercase;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    padding-right: 7px; /* the old widget's paragraph padding, which moves the centred line 3.5px left */
}
.deltan-spotlight b { font-weight: 700; padding-right: 3px; }
.deltan-spotlight a { color: var(--deltan-red); }

/* Compact bar ("Header 2" of Elementor header 84) on the desktop front page. It sticks and fades
   in once the top row has scrolled away (site.js), and uses the 4/16/60/20 % columns of the
   original with its logo at 61 % and the date and search icon sharing the last column. */
.site-header--compact {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    opacity: 0; transform: translateY(-100%); pointer-events: none; visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
}
.site-header--compact.is-visible { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .5s ease-out; }
.site-header--compact .site-header__bar {
    grid-template-columns: 4% 16% 60% 20%; column-gap: 0; padding: 10px; min-height: 76.8px;
}
.site-header--compact .site-header__bar > * { padding: 10px; }
.site-header--compact .site-header__menu { align-self: start; justify-self: start; }
.site-header--compact .site-header__logo img { width: 61%; }
.site-header__end { display: flex; align-items: center; justify-content: flex-end; min-width: 0; }
.site-header--compact .site-header__date { margin-right: 30px; }
.site-header--compact .site-header__search { padding: 0; margin-bottom: 6.8px; }
body.admin-bar .site-header--compact { top: 32px; }

/* On tablet/phone the front page shows the logo in the single bar like every other page. */
.site-header__logo--bar-mobile { display: none; }
@media (max-width: 1024px) {
    /* Tablet/phone front page: one sticky bar, like every other page; no compact bar. */
    .site-header--front { position: sticky; padding-top: 0; box-shadow: 0 10px 20px rgba(0, 0, 0, .15); }
    .site-header--compact { display: none; }
    .site-header__top,
    .site-header__middle,
    .site-header__date { display: none; }
    .site-header .site-header__bar {
        grid-template-columns: 25% 50% 25%; column-gap: 0; padding: 10px; min-height: 0; align-items: start;
    }
    .site-header .site-header__bar > * { padding: 10px; }
    .site-header .site-header__menu { justify-self: start; margin-top: 2.6px; }
    .site-header .site-header__search { justify-self: end; font-size: 30px; }
    .site-header .site-header__logo { display: block; justify-self: stretch; }
    .site-header .site-header__logo img { width: 44%; margin: 0 auto; }
    .site-header--front .site-header__logo--bar-mobile { display: block; }
}
/* The WordPress toolbar is 46px tall from 782px down and stops being fixed at 600px. */
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .site-header { top: 0; } }
@media (max-width: 767px) {
    .site-header .site-header__bar { grid-template-columns: 15% 70% 15%; }
    .site-header .site-header__logo img { width: 66%; }
}

/* ---------- Menu panel ---------- */
/* Elementor popup 390: a 300px sheet (350px on tablets) over a #2E2E30AD overlay, content inset
   10px. Sizes in --mp-rem follow Astra's root size (15px, 13.68px at 921px and below). */
.menu-panel { --mp-rem: 15px; position: fixed; inset: 0; z-index: 100; }
.menu-panel[hidden] { display: none; }
.menu-panel__overlay { position: absolute; inset: 0; background: rgba(46, 46, 48, .68); }
.menu-panel__sheet {
    position: absolute; top: 0; left: 0; bottom: 0; width: 300px; max-width: 100%;
    background: #fff; box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, .2);
    font: 400 var(--mp-rem)/1.5 var(--font-system); color: var(--deltan-body);
    animation: deltan-slide-in .5s ease-out;
}
@keyframes deltan-slide-in { from { transform: translateX(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .menu-panel__sheet { animation: none; } .site-header--compact { transition: none; } }
.menu-panel__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 0 10px 15px; }
.menu-panel__close { position: absolute; z-index: 3; top: 20px; right: 20px; font-size: 15px; color: var(--deltan-red); }
/* Logo and search stay pinned at the top while the panel scrolls (the popup's sticky section). */
.menu-panel__top { position: sticky; top: 0; z-index: 2; background: #fff; padding: calc(var(--mp-rem) + 10px) 0 10px; }
.menu-panel__brand { width: 85%; padding-bottom: var(--mp-rem); }
.menu-panel__logo { display: block; }
.menu-panel__logo img { width: 74%; }
.menu-panel__search { display: flex; height: 32px; border-radius: 3px; overflow: hidden; background: #f1f2f3; }
.menu-panel__search-input {
    flex: 1 1 auto; min-width: 0; margin: 0; border: 0; border-radius: 2px; padding: 0 calc(32px / 3);
    background: transparent; font: 400 15px/15px var(--font-ui); color: var(--deltan-red-dark);
    -webkit-appearance: none; appearance: none;
}
.menu-panel__search-input::placeholder { color: inherit; opacity: .6; }
.menu-panel__search-input:focus { outline: 0; }
.menu-panel__search:focus-within { box-shadow: 0 0 0 2px var(--deltan-red-dark); }
.menu-panel__search-submit {
    flex: none; display: flex; align-items: center; justify-content: center; width: 32px; padding: 0; border: 0;
    background: var(--deltan-red-dark); color: #fff; font-size: 16px; cursor: pointer;
}
.menu-panel__body { padding-top: calc(var(--mp-rem) + 10px); }
.menu-panel .menu-panel__heading {
    margin: 0 0 20px; font: 600 calc(var(--mp-rem) * 1.6)/1.2 var(--font-heading); color: var(--deltan-red-dark);
}
.menu-panel__rule { margin: 35px 0; border: 0; border-top: 1px solid rgba(0, 0, 0, .18); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
/* SECTIONS: the old nav-menu widget's "dropdown" layout. A 33px burger toggle (5% grey, 3px
   corners) is centred in the column; it opens the list as a white box, as wide as its longest
   item, centred under the toggle and laid over the blocks below it (they do not move). */
.menu-panel__dropdown { position: relative; display: flex; justify-content: center; }
.menu-panel__toggle {
    display: flex; flex: none; align-items: center; justify-content: center; width: 33px; height: 33px; padding: 5.5px;
    border: 0; border-radius: 3px; background: rgba(0, 0, 0, .05); color: var(--deltan-text); cursor: pointer;
}
.menu-panel__toggle svg { display: block; flex: none; width: 22px; height: 22px; }
.menu-panel__toggle .deltan-icon--menu-close,
.menu-panel__toggle[aria-expanded="true"] .deltan-icon--menu-bar { display: none; }
.menu-panel__toggle[aria-expanded="true"] .deltan-icon--menu-close { display: block; }
.menu-panel__toggle:focus-visible { outline: 2px solid var(--deltan-text); outline-offset: 2px; }
.menu-panel__sections {
    position: absolute; z-index: 1; top: 100%; left: 50%; transform: translateX(-50%);
    width: max-content; max-width: 100%; max-height: 100vh; overflow-y: auto; overscroll-behavior: contain; background: #fff;
}
.menu-panel__sections[hidden] { display: none; }
/* Listed directly in the panel: in the flow, full width, same type size as the other lists. */
.menu-panel__sections--open { position: static; transform: none; width: auto; max-width: none; max-height: none; overflow: visible; background: none; }
.menu-panel__sections--open .section-menu a { padding: 11px 20px; font-size: var(--mp-rem); }
.menu-panel__sections--open .section-menu .sub-menu a { padding: 9px 20px 9px 28px; font-size: 14px; }
.menu-panel__sections--open .section-menu .submenu-toggle { top: 4.5px; }
/* The list: 13px items, current item in red, sub-sections behind a caret. */
.section-menu a { display: block; padding: 14px 20px; font: 400 13px/20px var(--font-ui); color: var(--deltan-text); }
.section-menu .menu-item-has-children > a { padding-right: 38.125px; }   /* room for the 18.125px caret, then 20px */
.section-menu a:hover, .section-menu a:focus-visible, .section-menu .current-menu-item > a,
.section-menu li.is-open > a, .section-menu li:has(> .submenu-toggle:hover) > a { background: var(--deltan-red); color: #fff; }
.section-menu a:focus-visible { outline: 2px solid var(--deltan-text); outline-offset: -2px; }
.section-menu .sub-menu { display: none; }
.section-menu .sub-menu a { border-left: 8px solid transparent; font-size: 11.05px; }
.section-menu li.is-open > .sub-menu { display: block; }
.section-menu .menu-item-has-children { position: relative; }
.section-menu .submenu-toggle {
    position: absolute; top: 7.5px; left: var(--toggle-left, 200px); display: flex; align-items: center;
    height: 33px; padding: 10px 0 10px 10px; border: 0; background: none; color: var(--deltan-text); cursor: pointer;
}
.section-menu .submenu-toggle svg { display: block; width: 8.125px; height: 13px; fill: currentColor; }
.section-menu .submenu-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.section-menu li:has(> a:hover) > .submenu-toggle, .section-menu li:has(> a:focus-visible) > .submenu-toggle,
.section-menu .current-menu-item > .submenu-toggle, .section-menu li.is-open > .submenu-toggle,
.section-menu .submenu-toggle:hover { color: #fff; }
.section-menu li.is-open > .submenu-toggle svg { transform: rotate(180deg); }
/* JOIN US and the Careers link under REACH OUT: the vertical nav menus. */
.menu-panel .plain-menu a { display: block; padding: 13px 20px; font: 400 var(--mp-rem)/20px var(--font-ui); color: var(--deltan-text); }
.menu-panel .plain-menu a:hover, .menu-panel .plain-menu a:focus-visible { background: var(--deltan-red); color: #fff; }
.menu-panel__contact a {
    display: block; padding: var(--mp-rem) calc(var(--mp-rem) * 2) var(--mp-rem) calc(var(--mp-rem) * 1.7);
    font: 400 var(--mp-rem)/1.5 var(--font-ui); color: var(--deltan-text);
}
.menu-panel__contact a:hover, .menu-panel__contact a:focus-visible { color: var(--deltan-red); }
.menu-panel .menu-panel__social { gap: 5px; }
.menu-panel .menu-panel__social a[href] { width: 30px; height: 30px; border-radius: 50%; background: #3a3a3a; color: #fff; font-size: 15px; }
@media (max-width: 1024px) { .menu-panel__sheet { width: 350px; } }
@media (max-width: 921px) { .menu-panel { --mp-rem: 13.68px; } }
@media (max-width: 767px) {
    .menu-panel__sheet { width: 300px; }
    .menu-panel__scroll { padding-top: 15px; }
    .menu-panel__top { top: -15px; padding: var(--mp-rem) 0 0; }
    .menu-panel__body { padding-top: var(--mp-rem); }
    .menu-panel__close { font-size: 20px; }
}

.search-form { display: flex; border: 1px solid rgba(0, 0, 0, .2); }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; border: 0; padding: 10px 12px; font: 400 15px var(--font-ui); }
.search-form .search-submit { border: 0; background: var(--deltan-red); color: #fff; padding: 0 14px; font: 500 14px var(--font-ui); cursor: pointer; }

/* ---------- Footer ---------- */
/* Elementor footer 857: boxed 1200px sections with 10px column padding. Astra's root size
   (15px, 13.68px at 921px and below) drives the link text and the em paddings. Templates tune
   their bottom spacing against this 60px top margin and the 20px brand padding. */
.site-footer {
    --footer-fs: 15px;
    max-width: var(--deltan-width); margin: 60px auto 0; padding: 0 var(--deltan-gutter);
    font-size: var(--footer-fs); display: flow-root;
}
.site-footer__brand { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px 0; }
.site-footer__logo { display: block; width: 100%; }
.site-footer__logo img { width: 256px; max-width: 45%; margin: 0 auto; }
.deltan-social { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.deltan-social a {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    color: #fff; font-size: 16px; line-height: 1;
}
.site-footer__social { gap: 5px; }
.site-footer__social a { border-radius: 50%; }
.deltan-social a[href*="facebook"] { background: #3b5998; }
.deltan-social a[href*="twitter"], .deltan-social a[href*="x.com"] { background: #1da1f2; }
.deltan-social a:hover { opacity: .9; color: #fff; }
.site-footer__rule { border: 0; border-top: 1px solid var(--deltan-rule); margin: 20px 0; }
.site-footer__columns {
    display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 -10px; padding: 20px 0 30px;
}
.site-footer__columns ul {
    list-style: none; margin: 0; padding: 0 10px; display: flex; flex-direction: column; gap: 8px;
}
.site-footer__columns li { font: 400 var(--footer-fs)/1.65 var(--font-ui); color: var(--deltan-text); }
.site-footer__columns a { display: block; color: var(--deltan-text); }
.site-footer__columns a:hover,
.site-footer__columns a:focus-visible { color: var(--deltan-red); }
.site-footer__legal {
    text-align: center; font: 400 11px/1.6 var(--font-ui); color: var(--deltan-text);
    margin: 0 -10px; padding: 2.7px 0 7.3px;
}
.site-footer__legal p { margin: 0 0 4.65px; }
.site-footer__legal a { color: var(--deltan-red-dark); }
@media (max-width: 1024px) {
    .site-footer__columns { margin: 0 calc(2em - 10px); padding-bottom: 2em; }
    .site-footer__columns ul { gap: 5px; }
    .site-footer__legal { margin: 0 calc(2 * var(--footer-fs) - 10px); padding: 10px 0 0; }
    .site-footer__legal p { margin-bottom: 1.75em; }
}
@media (max-width: 921px) {
    .site-footer { --footer-fs: 13.68px; }
}
@media (max-width: 767px) {
    .site-footer__columns { grid-template-columns: repeat(2, 1fr); margin: 0 calc(1em - 10px); row-gap: 20px; }
    .site-footer__columns ul { gap: 4px; }
    .site-footer__legal { margin: 0 calc(var(--footer-fs) - 10px); }
    .site-footer__legal p { line-height: 2; }
}

/* ---------- Generic content wrapper (until each template is built) ---------- */
.deltan-main { max-width: var(--deltan-width); margin: 30px auto; padding: 0 var(--deltan-gutter); }
