/* Shared photo composition; CMS media and focus remain independent of the stamp. */
.website-hero.has-industrial-stamp .website-hero__shell { background: #10233e; }
.website-hero.has-industrial-stamp:where(:not(.has-clearance-stamp)) :is(.website-hero__shell, .website-hero__inner) {
    min-height: 420px;
}
.website-hero.has-industrial-stamp .website-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
    gap: clamp(28px, 4vw, 60px);
}
.website-hero.has-industrial-stamp:where(:not(.has-clearance-stamp)) .website-hero__inner {
    padding: 36px 32px;
}
.website-hero.has-industrial-stamp .website-hero__content { min-width: 0; max-width: 670px; }
.website-hero.has-industrial-stamp .website-hero__media { inset: 0; }
.website-hero.has-industrial-stamp .website-hero__media img {
    object-fit: cover;
    object-position: var(--hero-mobile-focus, 50% 50%);
}
.website-hero.has-industrial-stamp .website-hero__overlay {
    background: linear-gradient(90deg, #071526e8 0%, #071526b8 43%, #07152624 100%);
}
.website-hero.has-industrial-stamp h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.5px;
}
.website-hero.has-industrial-stamp p { margin: 12px 0 0; color: #edf2f7; font-size: 15px; line-height: 1.6; }
.website-hero.has-industrial-stamp .website-hero__subtitle { color: #e2e8f0; }
.website-hero.has-industrial-stamp .website-hero__actions { justify-content: flex-start; }
.website-hero.has-industrial-stamp .website-hero__actions .btn { min-height: 44px; }
.website-hero.has-industrial-stamp .btn.secondary { color: #fff; background: #0b1b32c9; border-color: #ffffff80; }
.website-hero.has-industrial-stamp .btn.secondary:hover { color: #fff; background: #193754; border-color: #fff; }
.website-hero.has-industrial-stamp .btn:focus-visible { outline: 3px solid #edc780; outline-offset: 4px; }
.hero-stamp {
    --stamp-amber: #dfb367;
    --stamp-ink: #102a43;
    display: block;
    width: min(100%, 350px);
    justify-self: end;
    margin: 12px 8px;
    color: var(--stamp-ink);
    text-decoration: none;
    transform: rotate(-4deg);
    filter: drop-shadow(0 8px 12px #02081740);
}
.hero-stamp__border, .hero-stamp__face {
    display: block;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px), 0 12px);
}
.hero-stamp__border { padding: 3px; background: var(--stamp-amber); }
.hero-stamp__face {
    position: relative;
    min-height: 142px;
    padding: 24px 35px 24px 22px;
    border: 3px solid var(--stamp-ink);
    background: var(--stamp-amber);
    color: var(--stamp-ink);
}
.hero-stamp .hero-stamp__title {
    display: block;
    color: var(--stamp-ink);
    font-family: inherit;
    font-size: clamp(24px, 2.5vw, 31px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.025em;
    text-wrap: balance;
}
.hero-stamp .hero-stamp__description {
    display: block;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #102a4366;
    color: var(--stamp-ink);
    font-size: 13px;
    font-weight: 650;
    line-height: 1.45;
}
.hero-stamp__arrow { position: absolute; right: 14px; bottom: 19px; color: var(--stamp-ink); font-size: 22px; }
.hero-stamp:hover { --stamp-amber: #efc680; color: var(--stamp-ink); }
.hero-stamp:focus-visible { outline: 3px solid #fff; outline-offset: 5px; border-radius: 4px; --stamp-amber: #efc680; }
/* The public theme applies !important colours to all main headings/strong text. */
html[data-theme] main .hero-stamp :is(.hero-stamp__title, .hero-stamp__description, .hero-stamp__arrow) { color: var(--stamp-ink) !important; }
html[data-theme="dark"] main .website-hero.has-industrial-stamp h1 { color: #fff !important; }
html[data-theme="dark"] main .website-hero.has-industrial-stamp p { color: #edf2f7 !important; }
.v4 p.v4-banner-note { margin: 18px 0 0; color: var(--v4-muted); font-size: 11px; line-height: 1.65; }
#sale-offers { scroll-margin-top: 150px; }

.website-hero.has-second-grade-stamp.is-compact .website-hero__shell,
.website-hero.has-second-grade-stamp.is-compact .website-hero__inner { min-height: 320px; }
.website-hero.has-second-grade-stamp .website-hero__overlay {
    background: linear-gradient(90deg, #071932ed, #0b2547c7 48%, #0b254738);
}
.website-hero.has-second-grade-stamp h2 {
    margin: 0;
    color: #fff !important;
    font-size: clamp(32px, 3.7vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.5px;
    text-wrap: balance;
}
.hero-stamp[data-hero-stamp="second-grade"] {
    --stamp-amber: #1255b2;
    --stamp-ink: #fff;
    width: min(100%, 275px);
}
.hero-stamp[data-hero-stamp="second-grade"] .hero-stamp__face {
    min-height: 0;
    padding: 22px 15px;
    text-align: center;
}
.hero-stamp[data-hero-stamp="second-grade"] .hero-stamp__title { letter-spacing: .045em; }
.website-hero .second-grade-terms-links { display: flex; flex-wrap: wrap; gap: 2px 8px; white-space: normal; }
.second-grade-terms-links a { color: #155bb8; font-weight: 750; text-decoration: underline; }

@media (max-width: 900px) {
    .website-hero.has-industrial-stamp .website-hero__inner { grid-template-columns: minmax(0, 1fr) minmax(230px, 34%); gap: 24px; }
    .website-hero.has-industrial-stamp:where(:not(.has-clearance-stamp)) .website-hero__inner { padding: 30px 24px; }
}
@media (max-width: 760px) {
    .website-hero.has-industrial-stamp .website-hero__inner {
        grid-template-columns: minmax(0, 1fr);
        align-content: center;
        gap: 22px;
    }
    .website-hero.has-industrial-stamp:where(:not(.has-clearance-stamp)) .website-hero__inner { padding: 30px 22px 38px; }
    .website-hero.has-industrial-stamp:where(:not(.has-clearance-stamp)) :is(.website-hero__shell, .website-hero__inner) {
        min-height: 600px;
    }
    /* The Services photo uses 440px on mobile to accommodate its benefit strip. */
    .website-hero.has-clearance-stamp.is-standard .website-hero__shell { min-height: 440px; }
    .website-hero.has-clearance-stamp.is-large .website-hero__shell { min-height: 520px; }
    .website-hero.has-industrial-stamp .website-hero__overlay { background: linear-gradient(100deg, #071526eb, #071526a8 65%, #07152666); }
    .website-hero.has-industrial-stamp h1 { font-size: clamp(29px, 8.8vw, 35px); }
    .website-hero.has-industrial-stamp p { font-size: 14px; }
    .hero-stamp { width: min(calc(100% - 12px), 310px); justify-self: start; margin: 4px 6px; }
    .hero-stamp__face { min-height: 108px; padding: 17px 33px 17px 18px; }
    .hero-stamp .hero-stamp__title { font-size: 25px; }
    .hero-stamp .hero-stamp__description { margin-top: 9px; padding-top: 8px; font-size: 12px; }
}
@media (forced-colors: active) {
    .hero-stamp { filter: none; outline: 2px solid LinkText; }
    .hero-stamp__face { border-color: LinkText; }
}
@media (max-width: 360px) {
    .website-hero.has-industrial-stamp:where(:not(.has-clearance-stamp)) :is(.website-hero__shell, .website-hero__inner) {
        min-height: 660px;
    }
}
@media (max-width: 760px) {
    .website-hero.has-second-grade-stamp .website-hero__shell,
    .website-hero.has-second-grade-stamp .website-hero__inner { min-height: 400px; }
    .website-hero.has-second-grade-stamp.is-compact .website-hero__inner { min-height: 320px; }
    .website-hero.has-second-grade-stamp .website-hero__overlay { background: linear-gradient(95deg, #071932ef, #0b25477a); }
    .website-hero.has-second-grade-stamp h2 { font-size: clamp(27px, 8vw, 34px); }
    .hero-stamp[data-hero-stamp="second-grade"] { width: min(calc(100% - 12px), 200px); }
    .hero-stamp[data-hero-stamp="second-grade"] .hero-stamp__face { padding: 13px 10px; }
}
