﻿.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > ul {
        display: none; /* Hide by default */
        position: absolute;
        left: 100%; /* Position it to the right of the parent */
        top: 0;
        margin: 0;
        padding: 0;
        z-index: 1000;
    }

    .dropdown-submenu:hover > ul {
        display: block; /* Show on hover */
    }

    .dropdown-submenu > ul > li {
        list-style: none;
    }

/* Video Guide Banner */
.video-guide-banner {
    display: flex;
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: box-shadow 0.2s ease;
}

.video-guide-banner:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    text-decoration: none;
}

.video-guide-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 30px;
    white-space: nowrap;
    background: #406da4;
    color: white;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.video-guide-thumb-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
}

    .video-guide-thumb-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 80px;
        height: 100%;
        background: linear-gradient(to right, #406da4, transparent);
        z-index: 1;
    }

.video-guide-thumb-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 117, 191, 0.8), transparent);
}

.video-guide-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.video-guide-thumbnail.active {
    opacity: 1;
}

/* Keep the top navigation on one row.
   The public nav has seven items. At Bootstrap's default 15px horizontal
   padding they overflow the col-md-9 the nav sits in by roughly 45px, which
   pushed LOG IN onto a second row. Trimming the padding to 10px recovers
   about 70px across the seven items, so every item fits without shortening
   any label - CUSTOMER PORTAL and MAKE A PAYMENT are the names WEB-4763 and
   WEB-4766 specify. Scoped to >=768px, where the navbar is horizontal;
   below that it collapses and the padding does not apply. */
@media (min-width: 768px) {
    .navbar-default .navbar-nav > li > a {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Producer PRODUCTS menu: let long product names fit their submenu.
   main.css gives nested navbar submenus min-width:190px. Because .dropdown-submenu > ul
   is absolutely positioned at left:100%, its available width for shrink-to-fit is zero,
   so the box collapses to that minimum while nowrap link text runs past the edge -
   "Road Warrior Safe Driver Auto Program" overflowed visibly. Widen the box and let the
   text wrap instead of overflowing. Scoped to the product menu so the short Customer
   Portal submenus (AR, IL, IN / AZ, OK, TX) keep their current sizing. */
[data-product-nav] .dropdown-menu {
    min-width: 280px;
}

    [data-product-nav] .dropdown-menu > li > a {
        white-space: normal;
    }

/* Product document lists: four columns like FCIC, collapsing on narrow screens.
   These used to render as a single table row with one cell per document, so every
   document in a product sat on one line stretched across the page. */
.productforms-doc-list {
    list-style: none;
    padding-left: 0;
    margin: 0 0 18px;
    -webkit-columns: 4 200px;
    -moz-columns: 4 200px;
    columns: 4 200px;
    -webkit-column-gap: 24px;
    -moz-column-gap: 24px;
    column-gap: 24px;
}

    .productforms-doc-list > li {
        /* Keep a wrapped document name from splitting across two columns. */
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        margin-bottom: 4px;
    }

/* State picker: replaces the "Please Select State" dropdown. Each state is a link laid
   out on the Bootstrap grid, styled after the bordered buttons used on the home page so
   it reads as part of the site rather than a bare form control. */
.productforms-state {
    display: block;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 2px solid #355987;
    border-radius: 3px;
    background-color: #fff;
    color: #355987;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}

    .productforms-state:hover,
    .productforms-state:focus {
        background-color: #355987;
        color: #fff;
        text-decoration: none;
    }

/* Product sections on a state page. */
.productforms-product {
    margin-bottom: 34px;
}

.productforms-product-title {
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e4e7eb;
    color: #355987;
    font-size: 22px;
    font-weight: 600;
}

.productforms-group-title {
    margin: 18px 0 8px;
    color: #474747;
    font-size: 16px;
    font-weight: 600;
}

    .productforms-doc-list > li > a > .fa {
        margin-right: 8px;
        color: #9aa5b1;
    }

    .productforms-doc-list > li > a:hover > .fa {
        color: #355987;
    }

/* Systems Access cards on the producer login page (WEB-5423).
   Bordered cards after FCIC's pattern: system logo, one line of copy, a Click Here
   button. The two logos have very different aspect ratios - Guidewire is 308x49 and
   PTS is 486x312 - so the logo sits in a fixed-height box and scales inside it, which
   keeps the two cards aligned instead of one towering over the other. */
.systems-access-title {
    margin: 10px 0 18px;
    color: #355987;
    font-size: 26px;
    font-weight: 600;
}

.system-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 22px;
    padding: 22px 20px 20px;
    border: 1px solid #d8dde4;
    border-radius: 3px;
    background-color: #fff;
    text-align: center;
}

.system-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    margin-bottom: 14px;
}

    .system-card-logo img {
        max-width: 82%;
        max-height: 72px;
    }

.system-card-copy {
    flex: 1 1 auto;
    margin: 0 0 16px;
    color: #4a5768;
    font-size: 14.5px;
    line-height: 1.5;
}

.system-card-cta {
    align-self: center;
    padding: 9px 26px;
    border-radius: 3px;
    background-color: #4aabdf;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .15s ease;
}

    .system-card-cta:hover,
    .system-card-cta:focus {
        background-color: #355987;
        color: #fff;
        text-decoration: none;
    }

/* Agent News lists. The page carried the same inline style on every list; it is one
   class now so the new Press Releases and Marketing Flashes sections match the existing
   Newsletters and Partner Resources without repeating it. Values are unchanged. */
.news-list {
    margin: 0 10px 5px 10px;
    padding: 0 10px 5px 10px;
    list-style-type: square;
}

    .news-list .news-empty {
        list-style: none;
        margin-left: -10px;
        color: #74839a;
        font-style: italic;
    }

/* "Keep me logged in" on the producer login page (WEB-4756).
   Bootstrap's .checkbox absolutely positions the input at margin-left:-20px and relies
   on a wrapping label carrying padding-left to line the text back up. asp:CheckBox
   renders the input and its label as siblings, so that padding never applied and on
   narrow screens the box detached and sat against the left edge. Lay the pair out
   explicitly instead of fighting the framework rule. */
.login-remember {
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

    .login-remember input[type="checkbox"] {
        position: static;
        margin: 0 8px 0 0;
    }

    .login-remember label {
        margin: 0;
        font-weight: normal;
    }

/* Services modal backdrop on mobile (WEB-6307).
   main.css sets background-color: #B1191E on #servicesOKModal below 768px. Bootstrap's
   own .modal-backdrop is present and working - black at 50% opacity, full coverage - and
   paints on top of that red, so the two composite into a dark maroon wash instead of the
   dimmed page seen on desktop. The red is doing no work; only the z-index alongside it is,
   and that is left alone. Overriding here rather than in main.css: the offending rule was
   hand-edited into the compiled file and has no counterpart in sass/, so recompiling would
   drop it. Custom.css loads after main.css at equal specificity, so source order wins and
   no !important is needed. */
@media only screen and (max-width: 768px) {
    #servicesOKModal {
        background-color: transparent;
    }
}

/* Services modal position on mobile (WEB-6307).
   main.css centres modals with the old Bootstrap 3 strut trick: .modal:before is an
   inline-block of height 100%, and .modal-dialog is inline-block with vertical-align
   middle, so the two share a line and the dialog centres against the strut. It only
   works while the dialog is narrower than the line. Below 768px Bootstrap gives
   .modal-dialog width:auto and margin:10px, so it spans the full viewport; with the
   strut and the inline whitespace between them there is nothing left, and the dialog
   wraps onto the line BELOW a full-viewport-height strut. Measured at 414x896: dialog
   top 906px, i.e. entirely off screen, and the user has to scroll to find the popup.
   Above 768px .modal-dialog is a fixed 600px, which leaves room, so desktop is fine
   and is deliberately left untouched.
   Dropping the strut here and letting the dialog be a normal block puts it back at the
   top of the viewport, horizontally centred by its own 10px margins.
   Bounded at 767px, not 768px, because Bootstrap switches .modal-dialog to a fixed
   600px at min-width:768px. Overlapping the two at exactly 768px produced a hybrid -
   a 600px dialog pinned to the top instead of centred. */
@media only screen and (max-width: 767px) {
    #servicesOKModal:before {
        display: none;
    }

    #servicesOKModal .modal-dialog {
        display: block;
        /* Bootstrap's own margin is a flat 10px. Designer asked for 100px of clearance
           from the top so the popup does not sit flush against the status bar. Sides are
           auto so the dialog stays centred once max-width caps it below the viewport. */
        margin: 100px auto 10px;
    }
}

/* Services modal width (WEB-6307).
   Capped at 600px at every width - Bootstrap already uses 600px from 768px up, so this
   only bites below that, where .modal-dialog was width:auto and grew to fill the screen.
   max-width is calc(100% - 20px) rather than a flat 600px so the 10px gutters survive on
   screens narrower than 600px; between the two, the dialog is never wider than 600px and
   never flush against the edge. */
#servicesOKModal .modal-dialog {
    width: 600px;
    max-width: calc(100% - 20px);
}

/* Services modal close button (WEB-6307).
   main.css gives .modal-title display:inline, so the floated .close sits in the middle
   of the text flow and drifts down the moment the title wraps to a second line. Laying
   the header out as a flex row pins the close to the top right corner and lets the title
   take the remaining width. Applied at every width: when the title fits on one line this
   renders identically to the float, so desktop is unchanged. */
#servicesOKModal .modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

    #servicesOKModal .modal-title {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
    }

    #servicesOKModal .modal-header .close {
        flex: 0 0 auto;
        float: none;
        margin-left: 10px;
    }

/* Services modal Policyholder / Producer buttons (WEB-6307).
   main.css sets .policy-buttons a to width:45% with no flex-wrap on the container, so the
   pair stays locked side by side however narrow the popup gets and the labels spill out of
   their borders. height:3.5em is fixed too, so a wrapped label overflows downward as well.
   Below 768px: drop to a 16px label, let each button size from a 140px basis, and allow the
   row to wrap so the two stack once there is no longer room for both. Height becomes a
   minimum rather than a cap so a wrapped label grows the button instead of escaping it. */
@media only screen and (max-width: 767px) {
    #servicesOKModal .policy-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

        #servicesOKModal .policy-buttons a {
            width: auto;
            flex: 1 1 140px;
            font-size: 16px;
            height: auto;
            min-height: 3.5em;
            padding: 8px 12px;
            overflow-wrap: break-word;
        }
}


/* ==========================================================================
   Systems Access cards — Producer Services page (WEB-6227)

   Distinct from .system-card (WEB-5423, further up this file), which is the
   producer login page's pattern. This one stacks a centred logo over a
   left-aligned title, state line, capability list, full-width CTA and a
   "What is ...?" disclosure.

   Blue is deliberately limited to the CTA's default and hover states. The PTS
   mark's own blue belongs to the logo artwork and is not reused as a UI colour.

   Measurements from Figma (USIC-Producer-Web, node 1:448).
   Flex uses margins, not gap, which IE11 does not support.
   ========================================================================== */

.systems-access-heading {
    margin: 0 0 20px;
    text-align: center;
}

/* Mobile drops the section heading from the h2 default (30px) to 24px. */
@media (max-width: 767px) {
    .systems-access-heading {
        font-size: 24px;
    }
}

/* Row behaviour is specified in the Figma component description ("Interaction" /
   "Dropdown Interaction and Card Height"):
     - cards start at the same height;
     - opening one card must NOT resize its neighbour;
     - the page must not reflow every time a disclosure opens, so space is
       reserved underneath for the tallest expanded panel.
   flex-start stops the neighbour stretching; the reserve is the min-height
   below. If the disclosure copy grows, re-check that reserve - overflowing it
   degrades gracefully (the page grows again) rather than breaking. */
/* Bootstrap's .row carries clearfix :before/:after pseudo-elements. In a flex
   container those become flex items, so space-between distributes the gap
   across four children instead of two and the cards drift inward. */
.systems-access-row:before,
.systems-access-row:after {
    display: none;
}

.systems-access-row {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

    /* The row is a flex container, so its columns are flex items and Bootstrap's
       own grid widths no longer apply on their own - an unwidthed flex item
       shrinks to fit instead of filling the row. Widths are therefore explicit.
       Default is the single-column case; two-up takes over from 376px. */
    .systems-access-row > [class*="col-"] {
        width: 100%;
    }

    /* Figma: 569 + 32 + 569 = 1170, i.e. the cards fill the row edge to edge and
       line up with the banners above. The column gutter is therefore dropped and
       the 32px gap comes from space-between instead. */
    .systems-access-row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

/* Two-up is held as low as it will go. Single column only at 375 and below. */
@media (min-width: 376px) {
    .systems-access-row {
        -webkit-justify-content: space-between;
        justify-content: space-between;
    }

        .systems-access-row > [class*="col-"] {
            width: calc(50% - 16px);
        }
}

/* The card row is given ONE fixed height that already contains the tallest
   possible expanded card, so a disclosure opening changes nothing outside
   itself - neighbour, footer and page all stay put (component note: "the other
   cards ... don't change in height" / "the page should not be actively
   expanding"). 611px is the worst case across the whole two-up range, measured
   at 376px where the copy wraps most. Re-measure if the disclosure copy
   changes. The card's own bottom margin is the gap between stacked cards and is
   cancelled below the row, so the space underneath comes from .page-content. */
.systems-access-row {
    margin-bottom: -32px;
}

/* Below sm the copy wraps hardest, and the expanded card shrinks in steps as
   the cards widen - so this range is banded to its measured open-row heights
   (611@376, 587@420, 539@480, 519@520, 495@530, 475@545+) rather than carrying
   the 376px worst case all the way to 575, which left a ~308px gap at 574. */
@media (min-width: 376px) and (max-width: 419px) {
    .systems-access-row { min-height: 611px; }
}

@media (min-width: 420px) and (max-width: 479px) {
    .systems-access-row { min-height: 587px; }
}

@media (min-width: 480px) and (max-width: 519px) {
    .systems-access-row { min-height: 539px; }
}

@media (min-width: 520px) and (max-width: 529px) {
    .systems-access-row { min-height: 519px; }
}

@media (min-width: 530px) and (max-width: 544px) {
    .systems-access-row { min-height: 495px; }
}

@media (min-width: 545px) and (max-width: 575px) {
    .systems-access-row { min-height: 475px; }
}

@media (min-width: 576px) {
    /* 502 = the tallest expanded card in this range (measured at 768), and it
       lands the desktop card-to-footer gap on 138px exactly */
    .systems-access-row {
        min-height: 502px;
    }
}

/* Between sm and md the card comes out 12px shorter (360 vs 372) because the
   copy wraps differently at that width, which would read as a 150px gap. The
   height has to stay 502 - that is the room the card expands into - so the 12px
   comes off the spacing below the row instead, holding the gap on 138. */
@media (min-width: 768px) and (max-width: 991px) {
    .systems-access-row {
        margin-bottom: -44px;
    }
}




.sa-card {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    flex-direction: column;
    width: 100%;
    margin-bottom: 32px;
    background-color: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .12);
}

.sa-card-body {
    -webkit-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 24px 32px;
}

/* One fixed-height box for both marks. pts.png is 486x312 and guidewire.png is
   308x49, so without a common box the two cards sit at wildly different
   heights - the same trap .system-card-logo calls out on the login page. */
.sa-card-logo {
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    height: 72px;
    margin-bottom: 5px;
    text-align: center;
}

    .sa-card-logo img {
        max-width: 88%;
        max-height: 70px;
    }

/* The Guidewire lockup is a ~5:1 SVG carrying a lot of built-in vertical
   padding, so capping it at the PTS mark's height renders it visually much
   smaller than PTS. It gets a taller ceiling and runs nearer the card width. */
.sa-card-logo--wide img {
    /* the Guidewire lockup is ~7:1, so it is width-constrained rather than
       height-constrained and needs a wider ceiling than the PTS mark */
    max-width: 92%;
    max-height: 72px;
}

.sa-card-title {
    margin: 0;
    font-size: 24px;
    line-height: 33px;
    color: #474747;
}

.sa-card-states {
    margin: 0 0 5px;
    font-size: 16px;
    line-height: 24px;
    color: #4a4a4a;
}

.sa-card-list {
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

    .sa-card-list > li {
        position: relative;
        margin-bottom: 8px;
        padding-left: 19px;
        font-size: 16px;
        line-height: 24px;
        color: #4a4a4a;
    }

        .sa-card-list > li:last-child {
            margin-bottom: 0;
        }

        .sa-card-list > li:before {
            content: "";
            position: absolute;
            top: 7px;
            left: 0;
            width: 11px;
            height: 11px;
            border-radius: 50%;
            background-color: #0056a7;
        }

.sa-card-cta {
    display: block;
    padding: 13px 12px;
    border-radius: 2px;
    background-color: #0056a7;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

    .sa-card-cta:hover,
    .sa-card-cta:focus {
        background-color: #00417e;
        color: #fff;
        text-decoration: none;
    }

/* "What is PTS?" / "What is Guidewire?" - Bootstrap collapse, already loaded
   site-wide from the CDN, so this needs no new script. */
.sa-accordion-toggle {
    display: block;
    padding: 16px 32px;
    border-top: 1px solid #4a4a4a;
    color: #474747;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 16px;
}

    /* The card component defines this as a link: #474747 at rest, and the CTA
       blue on link-hover and while open (Type=*, State=link hover / open). */
    .sa-accordion-toggle:hover,
    .sa-accordion-toggle:focus {
        color: #0056a7;
        text-decoration: none;
    }

    .sa-accordion-toggle[aria-expanded="true"] {
        color: #0056a7;
    }

    .sa-accordion-toggle .fa {
        float: right;
        margin-top: 3px;
        color: #9aa5b1;
    }

    .sa-accordion-toggle[aria-expanded="true"] .fa:before {
        content: "\f106"; /* fa-angle-up */
    }

/* Body copy stays in Open Sans, the page's body face. */
.sa-accordion-body {
    padding: 0 32px 16px;
    font-size: 16px;
    line-height: 24px;
    color: #4a4a4a;
}

@media (max-width: 991px) {
    .sa-card-body {
        padding: 20px 16px;
    }

    .sa-accordion-toggle {
        padding: 14px 16px;
    }

    .sa-accordion-body {
        padding: 0 16px 14px;
    }
}

/* Two cards sharing a sub-768px row have very little width each, so the card
   chrome tightens to leave the copy as much room as possible. */
@media (max-width: 767px) {
    .sa-card-body {
        padding: 16px 12px;
    }

    .sa-accordion-toggle {
        padding: 12px;
        font-size: 15px;
    }

    .sa-accordion-body {
        padding: 0 12px 12px;
        font-size: 15px;
    }

    .sa-card-title {
        font-size: 20px;
        line-height: 26px;
    }

    .sa-card-states,
    .sa-card-list > li {
        font-size: 14px;
        line-height: 20px;
    }

    .sa-card-list > li {
        padding-left: 16px;
    }

        .sa-card-list > li:before {
            top: 5px;
            width: 9px;
            height: 9px;
        }

    .sa-card-logo {
        height: 56px;
        margin-bottom: 5px;
    }

        .sa-card-logo img {
            max-width: 100%;
            max-height: 52px;
        }

        .sa-card-logo--wide img {
            max-height: 64px;
        }
}

/* Single column - the cards get the full row back, so the logos do too. */
@media (max-width: 375px) {
    .sa-card-body {
        padding: 20px 16px;
    }

    .sa-card-logo {
        height: 72px;
        margin-bottom: 5px;
    }

        .sa-card-logo img {
            max-height: 70px;
        }

        .sa-card-logo--wide img {
            max-height: 96px;
        }

    .sa-card-title {
        font-size: 24px;
        line-height: 33px;
    }

    .sa-card-states,
    .sa-card-list > li {
        font-size: 16px;
        line-height: 24px;
    }
}


/* ==========================================================================
   Page gutters (WEB-6227)

   Below the sm breakpoint the Bootstrap container is auto-width, and the hero
   and video banners sit outside a column - so the row's negative margin lets
   them bleed to the viewport edge. These keep a 15px gutter on everything and
   line the card row up with the banners above it.

   All scoped to .producer-portal (on agents.aspx only). .page-content is on 59
   pages and this stylesheet loads everywhere, so these must not be written
   against it.
   ========================================================================== */
@media (max-width: 767px) {
    .producer-portal > .container > .row {
        margin-left: 0;
        margin-right: 0;
    }

        .producer-portal > .container > .row > .col-md-12 {
            padding-left: 0;
            padding-right: 0;
        }

    /* With the column gutter gone, the card row's own negative margin would push
       the cards out to the viewport edge - so it is cancelled here too. */
    .systems-access-row {
        margin-left: 0;
        margin-right: 0;
    }

}

/* Just above each Bootstrap breakpoint the container is a fixed width in a
   barely-wider viewport, so the gutter collapses (750 in 768 leaves 9px a side;
   970 in 992 leaves 11px). Capping the container keeps a true 15px minimum at
   every width.

   Scoped to .producer-portal, not .page-content: that class is on 59 pages and
   Custom.css is loaded site-wide, so an unscoped rule here would reflow all of
   them. The header and footer use .container too and are left alone. */
@media (min-width: 768px) {
    .producer-portal > .container {
        max-width: calc(100% - 30px);
    }
}


/* 60px of clear space between the banners and the Systems Access section.
   The video banner's container carries an inline padding-bottom:10px in the
   markup; it is a class on agents.aspx now, so no !important is needed. The
   zeroed side padding lets the banner span the full container width, matching
   the hero above it; the mobile block above restores a 15px gutter. */
.producer-portal .video-guide-container {
    padding-bottom: 50px;
}

/* From sm up the banner spans the full container width, matching the hero above
   it. Below that the container's own 15px padding is left alone so the banner
   keeps a gutter - zeroing it here and restoring it in a mobile block would make
   the two rules order-dependent. */
@media (min-width: 768px) {
    .producer-portal .video-guide-container {
        padding-right: 0;
        padding-left: 0;
    }
}


/* WEB-4265 homepage auto hero - USIC Design System banner/hero-auto.
   A light-blue plate (#F0F8FF) with the shortcuts, headline, subhead and the
   two actions centred on top, and the sky-removed road-trip photo running full
   width underneath. Type follows the DS Display style: Roboto Condensed Bold at
   62/62 desktop, 50/50 tablet, 40/40 mobile.
   The previous hero's rules (.hero-main, .hero-button, .hero-lower, ...) live in
   assets/css/main.css with no SASS source; nothing on the homepage uses them
   any more. .hero-section is kept for its 40px gap to OUR MISSION. */
.hero-auto {
    background-color: #f0f8ff;
    text-align: center;
    overflow: hidden;
}

/* The office-closure notice sits directly above the banner and takes the
   plate colour (it was cream for the previous hero), so the two still read as
   one band. */
.hero-notice {
    background-color: #f0f8ff;
}

.hero-auto-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 15px 15px 0;
}

.hero-auto-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 36px;
}

.hero-auto-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 26px;
    color: #0056a7;
    text-decoration: none;
}

    /* DS link/arrow Hover: label and arrow turn brand red, no underline. */
    .hero-auto-link:hover,
    .hero-auto-link:focus {
        color: #d71920;
        text-decoration: none;
    }

    /* With no underline, keyboard focus needs its own cue. */
    .hero-auto-link:focus-visible {
        outline: 3px solid #66afe9;
        outline-offset: 2px;
    }

/* The policy-button arrow (cdn …/img/arrow_white_hover.svg), drawn in the link
   colour at 18px. */
.hero-auto-arrow {
    flex: none;
    width: 18px;
    height: 10px;
    fill: currentColor;
}

/* Typed in sentence case and capitalised here, so screen readers read words
   rather than letters. */
.hero-auto-title {
    max-width: 1100px;
    margin: 0;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 62px;
    font-weight: 700;
    line-height: 62px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #0056a7;
}

.hero-auto-accent {
    color: #d71920;
}

.hero-auto-subhead {
    max-width: 960px;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 21px;
    line-height: 45px;
    color: #4a4a4a;
}

.hero-auto-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding-top: 10px;
}

/* Both buttons are 59px tall, the same as the hero CTA they replace. */
.hero-auto-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 59px;
    border-radius: 6px;
    font-family: "Roboto Condensed", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 23px;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

    .hero-auto-btn:hover,
    .hero-auto-btn:focus {
        text-decoration: none;
    }

    .hero-auto-btn:focus-visible {
        outline: 3px solid #66afe9;
        outline-offset: 2px;
    }

/* DS button/hero-cta-primary: surface/primary/default -> hover. */
.hero-auto-btn-primary {
    padding: 18px 32px;
    background-color: #d71920;
    color: #fff;
}

    .hero-auto-btn-primary:hover,
    .hero-auto-btn-primary:focus {
        background-color: #b1191e;
        color: #fff;
    }

/* DS button/hero-ghost, Tone=Dark. */
.hero-auto-btn-ghost {
    padding: 16px 28px;
    border: 2px solid #0056a7;
    background-color: transparent;
    color: #0056a7;
}

    .hero-auto-btn-ghost:hover,
    .hero-auto-btn-ghost:focus {
        background-color: #0056a7;
        color: #fff;
    }

/* The photo is cropped to the same band at every desktop and tablet width:
   the box is 32.61% of the width tall (470px at 1440), and the 2048x1366 image
   is pulled up so the band starts 32% down the picture, just above the open
   hatch, and ends just below the dog's tongue. 65.45% is that 32% of the
   image height expressed against the box. */
.hero-auto-photo {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-bottom: 32.61%;
}

    .hero-auto-photo img {
        position: absolute;
        top: -65.45%;
        left: 0;
        width: 100%;
        height: auto;
        max-width: none;
    }

/* Tablet: Display 50/50. */
@media (max-width: 1199px) {
    .hero-auto-title {
        font-size: 50px;
        line-height: 50px;
    }

    .hero-auto-subhead {
        max-width: 760px;
    }
}

/* Mobile: links stack, the headline breaks onto three lines, the buttons go
   full width, and the photo zooms in on the group (375x198 at 375). */
@media (max-width: 767px) {
    .hero-auto-content {
        gap: 14px;
        padding: 28px 16px 8px;
    }

    .hero-auto-links {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .hero-auto-title {
        font-size: 40px;
        line-height: 40px;
    }

        .hero-auto-title span {
            display: block;
        }

    .hero-auto-subhead {
        max-width: 343px;
        font-size: 16px;
        line-height: 25.6px;
    }

    .hero-auto-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
        padding-top: 6px;
    }

    .hero-auto-btn {
        width: 100%;
    }

    .hero-auto-photo {
        padding-bottom: 52.8%;
    }

        .hero-auto-photo img {
            top: -44.07%;
            left: -8.14%;
            width: 116.28%;
        }
}
