/*! videalert — default.css | variables, container, typography, buttons, forms, helpers */


/* ===== Variables (confirmed from Figma variables — full 10-page sweep 2026-08-04) ===== */
:root {

    /*-- palette --*/
    --va-blue:             #0072ff;   /* Pantone 2192 */
    --va-blue-2:           #0072ff;   /* Pantone 2192 */
    --va-teal:             #2c95b5;   /* Pantone 7459 */
    --va-teal-2:           #2a95b5;
    --va-navy:             #162b48;   /* Pantone 2767 */
    --va-slate:            #1a2b46;   /* brochure band */
    --va-ocean:            #005c84;   /* Pantone 7469 */
    --va-ocean-2:          #005c84;   /* Pantone 7469 */
    --va-cream:            #faf4e7;   /* Pantone 7501 */
    --va-light-gray:       #f5f5f5;
    --va-placeholder-gray: #d9d9d9;
    --va-dark-gray:        #252525;
    --va-mid-gray:         #374151;
    --va-gray-line:        #bababa;   /* news listing divider (Line 2404) */
    --va-gray-caption:     #424242;   /* article figcaption */

    --color-white:         #ffffff;
    --color-black:         #000000;

    /*-- Fonts (Google Fonts link in header.php) --*/
    --ff-display:          "Funnel Display", sans-serif;
    --ff-body:             "Roboto", sans-serif;

    /*-- line-height tokens --*/
    --lh-heading:          1.2;
    --lh-body:             1.3;

    /*-- shadow --*/
    --va-card-shadow:      1px 1px 1px 0 rgba(10, 10, 10, 0.04);
    --va-header-shadow:    0 4px 6px 0 rgba(0, 0, 0, 0.12);
    --va-header-shadow-fade: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 100%); /* drawer shadow */
    --va-card-border:      #e2e2e2;
    --va-page-dim:         rgba(0, 0, 0, 0.36);

    /*-- Easing --*/
    --ease-out-quart:      cubic-bezier(0.25, 1, 0.5, 1);

}


/* ===== Master motion ===== */
.animated {
    -webkit-animation-timing-function: var(--ease-out-quart);
    animation-timing-function: var(--ease-out-quart);
}


/* ===== Container (client spec — 1920 grid amended in Figma v2, 2026-08-17) ===== */
.container {
    max-width: 1390px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 1536px) {
    .container { max-width: 1295px; }
}

@media (max-width: 1200px) {
    .container { max-width: 1040px; }
}

@media (max-width: 1024px) {
    .container { max-width: 945px; }
}

@media (max-width: 991px) {
    .container { max-width: 730px; }
}

@media (max-width: 767px) {
    .container { max-width: 100%; }
}


/* ===== Flex helpers ===== */
.c-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.c-col {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
}

.mb-0 { margin-bottom: 0 !important; }


/* ===== Section background utilities ===== */
.dark-section-bg  { background-color: var(--va-navy) !important; color: var(--color-white); }
.blue-section-bg  { background-color: var(--va-blue) !important; color: var(--color-white); }
.light-section-bg { background-color: var(--va-light-gray) !important; }
.cream-section-bg { background-color: var(--va-cream) !important; }

.dark-section-bg h1, .dark-section-bg .h1,
.dark-section-bg h2, .dark-section-bg .h2,
.dark-section-bg h3, .dark-section-bg .h3,
.dark-section-bg h4, .dark-section-bg .h4,
.dark-section-bg h5, .dark-section-bg .h5,
.dark-section-bg h6, .dark-section-bg .h6,
.dark-section-bg p,
.dark-section-bg a:not([class*="btn"]):not([class*="cta-"]),
.blue-section-bg h1, .blue-section-bg .h1,
.blue-section-bg h2, .blue-section-bg .h2,
.blue-section-bg h3, .blue-section-bg .h3,
.blue-section-bg h4, .blue-section-bg .h4,
.blue-section-bg h5, .blue-section-bg .h5,
.blue-section-bg h6, .blue-section-bg .h6,
.blue-section-bg p,
.blue-section-bg a:not([class*="btn"]):not([class*="cta-"]) {
    color: var(--color-white);
}


/* ===== Reset basics ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
}


/* ===== Body ===== */
body {
    margin: 0;
    overflow-x: clip;
    font-family: var(--ff-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    color: var(--va-navy);
    background-color: rgba(255, 255, 255, 0.85);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1200px) {
    body { font-size: 18px; line-height: 24px; }
}

@media (max-width: 991px) {
    body { font-size: 16px; line-height: 24px; }
}

@media (max-width: 767px) {
    body { font-size: 14px; line-height: 20px; }
}


/* ===== Headings (Figma sweep 2026-08-04: 40/36/32/30/26/22 ladder; h6 22/28 constant at every breakpoint) ===== */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--ff-display);
    font-weight: 700;
    color: inherit;
    margin: 0 0 0.5em;
    line-height: var(--lh-heading);
}

h1, .h1 { font-size: 40px; line-height: 48px; }
@media (max-width: 1200px) { h1, .h1 { font-size: 36px; line-height: 42px; } }
@media (max-width: 1024px) { h1, .h1 { font-size: 32px; line-height: 38px; } }
@media (max-width: 767px)  { h1, .h1 { font-size: 28px; line-height: 34px; } }

h2, .h2 { font-size: 36px; line-height: 42px; }
@media (max-width: 1200px) { h2, .h2 { font-size: 32px; line-height: 38px; } }
@media (max-width: 991px)  { h2, .h2 { font-size: 28px; line-height: 34px; } }
@media (max-width: 767px)  { h2, .h2 { font-size: 24px; line-height: 30px; } }

h3, .h3 { font-size: 32px; line-height: 38px; }
@media (max-width: 1200px) { h3, .h3 { font-size: 30px; line-height: 36px; } }
@media (max-width: 991px)  { h3, .h3 { font-size: 26px; line-height: 32px; } }
@media (max-width: 767px)  { h3, .h3 { font-size: 24px; line-height: 30px; } }

h4, .h4 { font-size: 30px; line-height: 36px; }
@media (max-width: 1200px) { h4, .h4 { font-size: 28px; line-height: 34px; } }
@media (max-width: 991px)  { h4, .h4 { font-size: 24px; line-height: 30px; } }
@media (max-width: 767px)  { h4, .h4 { font-size: 22px; line-height: 28px; } }

h5, .h5 { font-size: 26px; line-height: 32px; }
@media (max-width: 1200px) { h5, .h5 { font-size: 24px; line-height: 30px; } }
@media (max-width: 767px)  { h5, .h5 { font-size: 20px; line-height: 26px; } }

h6, .h6 { font-size: 22px; line-height: 28px; }


/* ===== Body copy ===== */
p {
    font-family: var(--ff-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 26px;
    color: inherit;
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1200px) {
    p { font-size: 18px; line-height: 24px; }
}

@media (max-width: 991px) {
    p { font-size: 16px; line-height: 24px; }
}

@media (max-width: 767px) {
    p { font-size: 14px; line-height: 20px; }
}

strong, b { font-weight: 700; }
em, i     { font-style: italic; }


/* ===== Intro text (Figma "Roboto intro" 22/28; some pages 24/30 — override per section) ===== */
.intro-text p,
p.intro-text {
    font-size: 22px;
    line-height: 28px;
}

@media (max-width: 991px) {
    .intro-text p,
    p.intro-text { font-size: 20px; line-height: 26px; }
}

@media (max-width: 767px) {
    .intro-text p,
    p.intro-text { font-size: 18px; line-height: 24px; }
}


/* ===== Blockquote (Figma "Quote" — Roboto SemiBold Italic 28/34 → 24/30 tablet/mobile) ===== */
blockquote {
    font-family: var(--ff-body);
    font-size: 28px;
    font-weight: 600;
    font-style: italic;
    line-height: 34px;
    margin: 0 0 1em;
}

@media (max-width: 991px) {
    blockquote { font-size: 24px; line-height: 30px; }
}


/* ===== Links ===== */
a {
    color: var(--va-blue);
    text-decoration: none;
    -webkit-transition: color 0.3s var(--ease-out-quart), opacity 0.3s var(--ease-out-quart);
    -ms-transition: color 0.3s var(--ease-out-quart), opacity 0.3s var(--ease-out-quart);
    -o-transition: color 0.3s var(--ease-out-quart), opacity 0.3s var(--ease-out-quart);
    -moz-transition: color 0.3s var(--ease-out-quart), opacity 0.3s var(--ease-out-quart);
    transition: color 0.3s var(--ease-out-quart), opacity 0.3s var(--ease-out-quart);
}

a:hover,
a:focus {
    color: var(--va-navy);
    text-decoration: none;
}

p a {
    text-decoration: underline;
    text-underline-position: from-font;
}


/* ===== Buttons (Figma CTA component: blue pill 45px, white text, 25px side padding) ===== */
button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 5px 25px;
    background-color: var(--va-blue);
    border: 1px solid var(--va-blue);
    color: var(--color-white);
    font-family: var(--ff-body);
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    letter-spacing: -0.12px;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    -webkit-transition: all 0.3s var(--ease-out-quart);
    -ms-transition: all 0.3s var(--ease-out-quart);
    -o-transition: all 0.3s var(--ease-out-quart);
    -moz-transition: all 0.3s var(--ease-out-quart);
    transition: all 0.3s var(--ease-out-quart);
}


.btn:hover,
.btn:focus {
    background-color: var(--va-navy);
    color: var(--color-white);
    border-color: var(--va-blue);
}


/* ===== Tag chip ===== */
.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 2px 20px;
    background-color: var(--va-teal);
    color: var(--color-white);
    font-family: var(--ff-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 30px;
    border-radius: 5px;
}

@media (max-width: 1536px) {

    .tag-chip{
        padding: 0 11px;
    }
}


/* ===== Section label + mark ===== */
.section-label {        
    font-family: var(--ff-body);
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    margin: 0 0 9px;
}

@media (max-width: 767px) {
    .section-label { font-size: 16px; line-height: 24px; }
}

.section-mark {
    width: 61px;
    aspect-ratio: 61 / 45;
}


/* ===== Arrow link ===== */
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-body);
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-black);
    text-decoration: underline;
    text-underline-position: from-font;
}

.arrow-link:hover,
.arrow-link:focus {
    color: var(--va-blue);
}

.arrow-link_chev {
    flex-shrink: 0;
    -webkit-transition: transform 0.3s var(--ease-out-quart);
    -ms-transition: transform 0.3s var(--ease-out-quart);
    -o-transition: transform 0.3s var(--ease-out-quart);
    -moz-transition: transform 0.3s var(--ease-out-quart);
    transition: transform 0.3s var(--ease-out-quart);
}

.arrow-link:hover .arrow-link_chev,
.arrow-link:focus .arrow-link_chev {
    transform: translateX(4px);
}


/* ===== Divider line ===== */
hr,
.divider-line {
    border: 0;
    border-top: 1px solid var(--va-navy);
    opacity: 1;
    margin: 0;
}

.dark-section-bg hr,
.dark-section-bg .divider-line,
.blue-section-bg hr,
.blue-section-bg .divider-line {
    border-top-color: var(--color-white);
}


/* ===== Images ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ===== Card shadow utility ===== */
.card-shadow {
    box-shadow: var(--va-card-shadow);
}


/* ===== Lists ===== */
ul, ol {
    margin: 0 0 1em;
    padding-left: 22px;
}

ul:last-child, ol:last-child {
    margin-bottom: 0;
}


/* ===== Form fields (initial — restyle from Figma form frames at first form build) ===== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="date"],
select {
    width: 100%;
    font-family: var(--ff-body);
    font-size: 18px;
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--va-navy);
    background-color: var(--color-white);
    border: 1px solid var(--va-navy);
    border-radius: 0;
    padding: 12px 16px;
    -webkit-transition: border-color 0.3s var(--ease-out-quart);
    -ms-transition: border-color 0.3s var(--ease-out-quart);
    -o-transition: border-color 0.3s var(--ease-out-quart);
    -moz-transition: border-color 0.3s var(--ease-out-quart);
    transition: border-color 0.3s var(--ease-out-quart);
}

textarea {
    width: 100%;
    font-family: var(--ff-body);
    font-size: 18px;
    font-weight: 400;
    line-height: var(--lh-body);
    color: var(--va-navy);
    background-color: var(--color-white);
    border: 1px solid var(--va-navy);
    border-radius: 0;
    padding: 12px 16px;
    resize: vertical;
    min-height: 160px;
    -webkit-transition: border-color 0.3s var(--ease-out-quart);
    -ms-transition: border-color 0.3s var(--ease-out-quart);
    -o-transition: border-color 0.3s var(--ease-out-quart);
    -moz-transition: border-color 0.3s var(--ease-out-quart);
    transition: border-color 0.3s var(--ease-out-quart);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--va-blue);
}

@media (max-width: 767px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="url"],
    input[type="date"],
    textarea,
    select { font-size: 16px; }
}

::-webkit-input-placeholder { color: var(--va-navy); opacity: 0.6; }
::-moz-placeholder          { color: var(--va-navy); opacity: 0.6; }
:-ms-input-placeholder      { color: var(--va-navy); opacity: 0.6; }
::-ms-input-placeholder     { color: var(--va-navy); opacity: 0.6; }
::placeholder               { color: var(--va-navy); opacity: 0.6; }

label {
    display: inline-block;
    font-family: var(--ff-body);
    font-size: 18px;
    font-weight: 400;
    line-height: var(--lh-body);
    color: inherit;
    margin-bottom: 6px;
}

@media (max-width: 767px) {
    label { font-size: 16px; }
}


/* ===== Screen-reader ===== */
.screen-reader-text,
.sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background: var(--va-navy);
    clip: auto !important;
    clip-path: none;
    color: var(--color-white);
    display: block;
    font-size: 16px;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
