/* pseudo-class & floating-label styles that cannot be inlined */

/* social links hover */
.socials__link:hover { opacity: 0.65; }

.page-footer {
    margin-top:40px;
}

/* footer nav/contact links hover */
.page-footer__links-column a:hover { opacity: 0.7; text-decoration: none; }

/* sign up button hover */
.subscribe__email-fields-submit button:hover { opacity: 0.85; }

/* privacy link hover */
.subscribe__privacy a:hover { opacity: 0.7; }

/* bottom bar legal links hover */
.page-footer-bottom__legal a:hover { opacity: 0.65; text-decoration: underline; }

/* radio checked state */
.form-checkbox__input:checked + .form-checkbox__icon {
    border-color: #ffffff;
    background-color: #ffffff;
    box-shadow: inset 0 0 0 4px #000000;
}

/* email input focus */
.subscribe__email-fields-email input.email:focus {
    border-bottom-color: #ffffff;
}

/* floating label — sits on baseline by default, floats up on focus/filled */
.subscribe__email-fields-email input.email:focus ~ label,
.subscribe__email-fields-email input.email:not(:placeholder-shown) ~ label {
    bottom: calc(100% - 1.1rem);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
}

/* reset Bootstrap input styles that inline style can't override */
.subscribe__email-fields-email input.email:focus {
    outline: none;
    box-shadow: none;
}

/**
event list page
 */

/* =============================================================
   events.css  –  Royal Highland Centre · Vehicle Registration
   Bootstrap 5 + Font Awesome 6
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;800;900&family=Barlow:wght@300;400;500&display=swap');

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
    --rhc-black:        #000000;
    --rhc-white:        #ffffff;
    --rhc-page-bg:      #ffffff;
    --rhc-banner-bg:    #000000;
    --rhc-card-bg:      #ffffff;
    --rhc-card-border:  #e5e5e5;
    --rhc-card-shadow:  rgba(0,0,0,0.08);
    --rhc-card-shadow-hover: rgba(0,0,0,0.18);
    --rhc-text:         #111111;
    --rhc-text-muted:   #666666;
    --rhc-accent:       #c8a84b;
    --rhc-btn-bg:       #000000;
    --rhc-btn-text:     #ffffff;
    --rhc-font-display: 'Barlow Condensed', sans-serif;
    --rhc-font-body:    'Barlow', sans-serif;
    --rhc-radius:       8px;
    --rhc-transition:   0.25s ease;
}

/* ── Base ───────────────────────────────────────────────────── */
body {
    background-color: var(--rhc-page-bg);
    color: var(--rhc-text);
    font-family: var(--rhc-font-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

/* ════════════════════════════════════════════════════════════
   HERO BANNER  — true full-width, no container constraint
   ════════════════════════════════════════════════════════════ */
.home-banner {
    position: relative;
    background-color: var(--rhc-banner-bg);
    /* Tall enough for a background image — set min-height so even
       without an image it looks intentional */
    min-height: 320px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* Remove Bootstrap container padding interference */
    width: 100%;
    margin-bottom:40px;
}

/* The inner Bootstrap container/row must not cap the visual width */
.home-banner .container {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.home-banner .row {
    width: 100%;
    margin: 0;
}

/* Left col — title block, full bleed with its own padding */
.home-banner .col-sm-12.col-md-6:first-child {
    padding: 5rem 3.5rem 5rem 5vw;
    background-color: var(--rhc-banner-bg);
}

/* Right col — empty placeholder ready for an image or colour */
.home-banner .col-sm-12.col-md-6:last-child {
    padding: 0;
    min-height: 320px;
    /* Default: slightly lighter dark so you can see the split.
       Replace this background-color with background-image when ready. */
    background-color: #1a1a1a;
}

/* ── Hero title ── */
.welcome-title {
    font-family: var(--rhc-font-display);
    font-weight: 900;
    font-size: clamp(4rem, 7vw, 8rem);
    line-height: 0.88;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--rhc-white);
    margin: 0;
}

/* Gold accent bar below title */
.welcome-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 3px;
    background-color: var(--rhc-accent);
    margin-top: 1.5rem;
}

/* ════════════════════════════════════════════════════════════
   INTRO TEXT SECTION  — nicely presented two-column layout
   ════════════════════════════════════════════════════════════ */
#main-inner-events-list {
    background-color: var(--rhc-page-bg);
    padding-top: 0;
    padding-bottom: 5rem;
}

/* Intro row — light grey band, two-column: heading left, text right */
#main-inner-events-list > .row:first-child {
    background-color: #f7f7f5;
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-bottom: 3rem;
    padding: 3rem calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    border-bottom: none;
    /* Two-column split inside the col-md-12 */
    display: flex;
}

#main-inner-events-list > .row:first-child .col-md-12 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem 4rem;
    align-items: start;
    width: 100%;
}

#main-inner-events-list h2 {
    font-family: var(--rhc-font-display);
    font-weight: 900;
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--rhc-text);
    margin: 0;
    line-height: 1.15;
    /* Gold left border accent */
    padding-left: 1rem;
    border-left: 4px solid var(--rhc-accent);
}

.silverstone-font {
    font-family: var(--rhc-font-body);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--rhc-text-muted);
    margin: 0;
}

/* ── Responsive: intro text stacks on mobile ── */
@media (max-width: 768px) {
    #main-inner-events-list > .row:first-child .col-md-12 {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    #main-inner-events-list h2 {
        font-size: 1.4rem;
    }
}

/* Bottom margin on card grid row */
.margin-bottom-52 {
    margin-bottom: 52px;
    padding-top: 0.5rem;
}

/* ════════════════════════════════════════════════════════════
   EVENT CARDS
   ════════════════════════════════════════════════════════════ */
.card {
    background-color: var(--rhc-card-bg);
    border: 1px solid var(--rhc-card-border);
    border-radius: var(--rhc-radius);
    box-shadow: 0 2px 12px var(--rhc-card-shadow);
    transition: transform var(--rhc-transition),
    box-shadow var(--rhc-transition),
    border-color var(--rhc-transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--rhc-card-shadow-hover);
    border-color: #d0d0d0;
}

/* Card image */
.card-img-top {
    width: 100%;
    height: 185px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    border-bottom: 1px solid var(--rhc-card-border);
}

/* Card body */
.card-body {
    padding: 1.25rem 1.25rem 0.75rem;
}

.card-title {
    font-family: var(--rhc-font-display);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--rhc-text);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.text-bold {
    font-weight: 800;
}

.card-text {
    font-family: var(--rhc-font-body);
    font-size: 0.85rem;
    color: var(--rhc-text-muted);
    line-height: 1.65;
    margin: 0;
    /* Clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card footer */
.card-footer {
    padding: 0.75rem 1.25rem 1.25rem;
}

.card-footer.bg-transparent {
    background-color: transparent !important;
}

.card-footer.border-top-0 {
    border-top: none !important;
}

/* Date badge */
.event_dates {
    font-family: var(--rhc-font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--rhc-text-muted);
    letter-spacing: 0.01em;
    margin-bottom: 0.2rem;
}

.event_dates .fa-regular.fa-calendar {
    color: var(--rhc-accent);
    margin-right: 0.4rem;
}

/* ── Parking permit button ──────────────────────────────────── */
.silverstone-button {
    display: block;
    background-color: var(--rhc-btn-bg);
    color: var(--rhc-btn-text) !important;
    border: 2px solid var(--rhc-btn-bg);
    border-radius: 999px;
    font-family: var(--rhc-font-display);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    padding: 0.65rem 1rem;
    transition: background-color var(--rhc-transition),
    color var(--rhc-transition),
    border-color var(--rhc-transition);
}

.silverstone-button:hover,
.silverstone-button:focus {
    background-color: var(--rhc-white);
    color: var(--rhc-black) !important;
    border-color: var(--rhc-black);
    text-decoration: none;
}

/* mt-3 utility used on the button */
.mt-3 {
    margin-top: 1rem !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .home-banner .col-sm-12.col-md-6:first-child {
        padding: 3rem 1.5rem;
    }

    .home-banner .col-sm-12.col-md-6:last-child {
        min-height: 180px;
    }

    #main-inner-events-list {
        padding-bottom: 3rem;
    }

    #main-inner-events-list > .row:first-child {
        padding: 2rem 0.75rem;
        margin-left: 0;
        margin-right: 0;
    }

    .card-img-top {
        height: 160px;
    }
}

/* ════════════════════════════════════════════════════════════
   NAVBAR  —  #inner-header-menu
   Matches the image: bold condensed uppercase, active underline,
   items pushed to the right edge away from the logo
   ════════════════════════════════════════════════════════════ */

/* Push the nav list to the far right of the navbar */

ul#inner-header-menu li.nav-item a.nav-link {
    padding:0.6rem 1.4rem;
}
#inner-header-menu {
    margin-left: auto !important;
    margin-right: 0 !important;
    gap: 0;
    align-items: center;
}

/* Each nav item */
#inner-header-menu .nav-item {
    position: relative;
}

/* Nav links */
#inner-header-menu .nav-link {
    font-family: var(--rhc-font-display);
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rhc-black) !important;
    padding: 0.6rem 1.4rem;
    text-decoration: none;
    white-space: nowrap;
    /* Bottom border placeholder — keeps layout stable */
    border-bottom: 3px solid transparent;
    transition: color var(--rhc-transition), border-color var(--rhc-transition);
    display: block;
}

/* Hover state — override Bootstrap's default which turns links white */
#inner-header-menu .nav-link:hover,
#inner-header-menu .nav-link:focus,
#inner-header-menu .nav-link:hover:focus {
    color: var(--rhc-black) !important;
    border-bottom-color: rgba(0, 0, 0, 0.25);
}

/* Active / current page — solid thick underline */
#inner-header-menu .nav-item.active .nav-link,
#inner-header-menu .nav-link.active {
    color: var(--rhc-black);
    border-bottom-color: var(--rhc-black);
}

/* ── Mobile collapsed nav — clean dropdown panel ─────────────── */
@media (max-width: 991.98px) {

    /* The collapsed panel itself */
    .navbar-collapse#inner-header-menu,
    .navbar-collapse .navbar-nav#inner-header-menu {
        margin-left: 0 !important;
        background-color: var(--rhc-white);
        border-top: 2px solid var(--rhc-black);
        padding: 0.5rem 0 1rem;
        width: 100%;
    }

    /* Remove the staggered box/shadow on each item */
    #inner-header-menu .nav-item {
        border: none !important;
        box-shadow: none !important;
        background: none !important;
        margin: 0;
        padding: 0;
        width:100% !important;
    }

    /* Clean, flush links — no bottom border underline trick in mobile */
    #inner-header-menu .nav-link {
        font-size: 1rem;
        letter-spacing: 0.1em;
        padding: 0.75rem 1.5rem;
        border-bottom: none;
        border-top: 1px solid #f0f0f0;
        white-space: normal;
    }

    /* First item — no top divider */
    #inner-header-menu .nav-item:first-child .nav-link {
        border-top: none;
    }

    /* Active item — gold left bar instead of underline */
    #inner-header-menu .nav-item.active .nav-link,
    #inner-header-menu .nav-link.active {
        border-bottom: none;
        border-left: 4px solid var(--rhc-black);
        padding-left: calc(1.5rem - 4px);
    }

    /* Hover — subtle grey fill */
    #inner-header-menu .nav-link:hover,
    #inner-header-menu .nav-link:focus {
        background-color: #f7f7f5;
        border-bottom: none;
    }
}

/* ── Mobile nav — left-align items ──────────────────────────── */
@media (max-width: 991.98px) {
    #inner-header-menu .nav-link {
        text-align: left !important;
    }
}

/* ════════════════════════════════════════════════════════════
   FORM TABLE  —  .silverstone-form-one
   ════════════════════════════════════════════════════════════ */

.silverstone-form-one {
    border-radius: var(--rhc-radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    margin-bottom: 2rem;
}

/* ── Header ── */
.silverstone-form-one thead.bg-blue {
    background-color: var(--rhc-black) !important;
}

.silverstone-form-one thead th {
    font-family: var(--rhc-font-display);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rhc-white);
    padding: 1rem 1.25rem;
    border: none;
}

/* ── Body rows ── */
.silverstone-form-one tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.silverstone-form-one tbody tr:last-child {
    border-bottom: none;
}

/* Alternating row stripe */
.silverstone-form-one tbody tr.bg-light-grey {
    background-color: #f7f7f5 !important;
}

/* Label cell */
.silverstone-form-one tbody td:first-child {
    padding: 0.9rem 1.25rem;
    vertical-align: middle;
    width: 30%;
    white-space: nowrap;
}

.silverstone-form-one tbody td:first-child .silverstone-font {
    font-family: var(--rhc-font-body);
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--rhc-text-muted);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Input cell */
.silverstone-form-one tbody td:last-child {
    padding: 0.65rem 1.25rem 0.65rem 0;
    vertical-align: middle;
}

/* ── Form control override ── */
.silverstone-form-one .form-control {
    border: none;
    border-bottom: 2px solid #e0e0e0;
    border-radius: 0;
    background-color: transparent;
    font-family: var(--rhc-font-body);
    font-size: 0.92rem;
    color: var(--rhc-text);
    padding: 0.45rem 0;
    box-shadow: none !important;
    transition: border-color var(--rhc-transition);
}

.silverstone-form-one .form-control:focus {
    border-bottom-color: var(--rhc-black);
    background-color: transparent;
    outline: none;
    box-shadow: none !important;
}

.silverstone-form-one .form-control::placeholder {
    color: #bbb;
    font-size: 0.85rem;
}

/* ── Mobile ── */
@media (max-width: 576px) {
    .silverstone-form-one tbody tr {
        display: flex;
        flex-direction: column;
    }

    .silverstone-form-one tbody td:first-child,
    .silverstone-form-one tbody td:last-child {
        width: 100%;
        padding: 0.5rem 1rem;
    }

    .silverstone-form-one tbody td:first-child {
        padding-bottom: 0;
    }

    .silverstone-form-one tbody td:last-child {
        padding-top: 0.25rem;
        padding-right: 1rem;
    }
}

/* ════════════════════════════════════════════════════════════
   TO-REGISTER INTRO PARAGRAPH  —  .to-register
   ════════════════════════════════════════════════════════════ */

.to-register {
    font-family: var(--rhc-font-body);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--rhc-text-muted);
    border-left: 4px solid var(--rhc-black);
    padding: 0.75rem 1.25rem;
    background-color: #f7f7f5;
    border-radius: 0 var(--rhc-radius) var(--rhc-radius) 0;
    margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════════════════════
   STEP TWO  —  .step-two-content
   ════════════════════════════════════════════════════════════ */

.step-two-content {

}

/* Intro paragraph row */
.step-two-content .row.mb-4 .silverstone-font {
    border-left: 4px solid var(--rhc-black);
    padding: 0.75rem 1.25rem;
    background-color: #f7f7f5;
    border-radius: 0 var(--rhc-radius) var(--rhc-radius) 0;
    max-width: 780px;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--rhc-text-muted);
}

/* ── Order details wrapper (left col) ───────────────────────── */
.order-details-wrapper {
    border-radius: var(--rhc-radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

/* ── Shared step-two-table styles ───────────────────────────── */
.step-two-table {
    border-radius: var(--rhc-radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    margin-bottom: 0;
}

/* Header — reuse bg-blue pattern */
.step-two-table thead.bg-blue {
    background-color: var(--rhc-black) !important;
}

.step-two-table thead th {
    font-family: var(--rhc-font-display);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rhc-white);
    padding: 0.9rem 1.1rem;
    border: none;
    white-space: nowrap;
}

/* Body rows */
.step-two-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.step-two-table tbody tr:last-child {
    border-bottom: none;
}

.step-two-table tbody tr:nth-child(even) {
    background-color: #f7f7f5;
}

/* Cells */
.step-two-table tbody td {
    padding: 0.7rem 1.1rem;
    vertical-align: middle;
    font-family: var(--rhc-font-body);
    font-size: 0.88rem;
    color: var(--rhc-text-muted);
    font-weight: 500;
}

/* ── Readonly inputs inside step-two-table ──────────────────── */
.step-two-table .form-control[readonly],
.step-two-table .form-control-sm[readonly] {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0;
    box-shadow: none !important;
    padding: 0.3rem 0;
    font-family: var(--rhc-font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--rhc-text);
    cursor: default;
}

/* Price / qty / total — small compact inputs */
.step-two-table .form-control-sm[readonly] {
    font-size: 0.82rem;
    text-align: right;
    min-width: 0;
}

/* Note row — italic, muted, no stripe */
.step-two-table tbody tr td[colspan] {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--rhc-text-muted);
    background-color: #fafafa;
    border-top: 1px dashed #e8e8e8;
    padding: 0.6rem 1.1rem;
}

/* ── Vehicle number plate input group ───────────────────────── */
.vehicle-number-plate {
    flex: 1 1 auto;
}

.vehicle-number-plate .input-group-text.bg-warning {
    background-color: #f5c500 !important;
    border-color: #222 !important;
    border-radius: var(--rhc-radius) 0 0 var(--rhc-radius);
    color: var(--rhc-black);
    font-size: 0.95rem;
    padding: 0.4rem 0.65rem;
}

.vehicle-number-plate .form-control.bg-warning {
    background-color: #f5c500 !important;
    border-color: #222 !important;
    border-radius: 0 var(--rhc-radius) var(--rhc-radius) 0;
    font-family: var(--rhc-font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rhc-black);
    box-shadow: none !important;
}

.vehicle-number-plate .form-control.bg-warning::placeholder {
    color: rgba(0,0,0,0.4);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.vehicle-number-plate .form-control.bg-warning:focus {
    background-color: #ffd000 !important;
    border-color: var(--rhc-black) !important;
    box-shadow: none !important;
}

/* ── Car park select dropdown ───────────────────────────────── */
.step-two-table .form-select {
    border: 1px solid #d0d0d0;
    border-radius: var(--rhc-radius);
    font-family: var(--rhc-font-body);
    font-size: 0.85rem;
    color: var(--rhc-text);
    padding: 0.4rem 2rem 0.4rem 0.75rem;
    background-color: var(--rhc-white);
    box-shadow: none !important;
    transition: border-color var(--rhc-transition);
    height: 100%;
}

.step-two-table .form-select:focus {
    border-color: var(--rhc-black);
    box-shadow: none !important;
}

/* ── Input group row spacing ────────────────────────────────── */
.step-two-table .row.g-2,
.step-two-table .row {
    gap: 0.5rem 0;
}

/* ── Margin bottom utility ──────────────────────────────────── */
.margin-bottom-40 {
    margin-bottom: 40px;
}

/* ── Complete Parking button — override width:100% from .silverstone-button ── */
.step-two-content .silverstone-button {
    width: auto;
    display: inline-block;
    padding: 0.75rem 2.5rem;
    font-size: 0.9rem;
    margin-top: 1.25rem;
}

/* ── Arrow image ────────────────────────────────────────────── */
.arrow-right {
    display:none !important;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .step-two-table {
        font-size: 0.82rem;
    }

    .step-two-table thead th {
        font-size: 0.8rem;
        padding: 0.75rem 0.75rem;
    }

    .step-two-table tbody td {
        padding: 0.6rem 0.75rem;
    }

    .step-two-content .silverstone-button {
        width: 100%;
        display: block;
    }

    .vehicle-number-plate .form-control.bg-warning {
        font-size: 0.9rem;
    }
}

/* ════════════════════════════════════════════════════════════
   STEP 2 PAGE TITLE  —  .step-2-welcome-title
   Mirrors .welcome-title but scaled down for inner pages
   ════════════════════════════════════════════════════════════ */

.step-2-welcome-title {
    font-family: var(--rhc-font-display);
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.9;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--rhc-white);
    margin: 0;
}

.step-2-welcome-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--rhc-accent);
    margin-top: 1.1rem;
}

/* ════════════════════════════════════════════════════════════
   STEP TWO BANNER  —  .step-two-banner
   Similar to .home-banner but constrained to Bootstrap container,
   single full-width column, no split right col
   ════════════════════════════════════════════════════════════ */

/* Restore container max-width that .home-banner overrides */
.step-two-banner .container {
    max-width: 1320px;
    padding-left: var(--bs-gutter-x, 1.5rem);
    padding-right: var(--bs-gutter-x, 1.5rem);
    width: 100%;
}

.step-two-banner .row {
    margin: 0;
    width: auto;
}

/* Single col — reset the left/right column split from .home-banner */
.step-two-banner .col-sm-12.col-md-12 {
    padding: 4rem 0;
    background-color: transparent;
    min-height: auto;
}

/* Remove the right-col dark fill that .home-banner sets */
.step-two-banner .col-sm-12.col-md-6:last-child {
    display: none;
}

/* Slightly less tall than the main banner */
.step-two-banner {
    min-height: 220px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .step-two-banner .col-sm-12.col-md-12 {
        padding: 2.5rem 0;
    }

    .step-two-banner {
        min-height: auto;
    }
}

/* ════════════════════════════════════════════════════════════
   STEP 3 WELCOME TITLE  —  .step-3-welcome-title
   Mirrors .step-2-welcome-title exactly
   ════════════════════════════════════════════════════════════ */

.step-3-welcome-title {
    font-family: var(--rhc-font-display);
    font-weight: 900;
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 0.9;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--rhc-white);
    margin: 0;
}

.step-3-welcome-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background-color: var(--rhc-accent);
    margin-top: 1.1rem;
}

/* ── Step 3 banner — reuse step-two-banner container behaviour ── */
.home-banner:has(.step-3-welcome-title) .container {
    max-width: 1320px;
    padding-left: var(--bs-gutter-x, 1.5rem);
    padding-right: var(--bs-gutter-x, 1.5rem);
    width: 100%;
}

.home-banner:has(.step-3-welcome-title) .row {
    margin: 0;
    width: auto;
}

.home-banner:has(.step-3-welcome-title) .col-sm-12.col-md-12 {
    padding: 4rem 0;
    background-color: transparent;
    min-height: auto;
}

.home-banner:has(.step-3-welcome-title) {
    min-height: 220px;
}

@media (max-width: 768px) {
    .home-banner:has(.step-3-welcome-title) .col-sm-12.col-md-12 {
        padding: 2.5rem 0;
    }

    .home-banner:has(.step-3-welcome-title) {
        min-height: auto;
    }
}

/* ════════════════════════════════════════════════════════════
   STEP 3 CONTENT
   ════════════════════════════════════════════════════════════ */

/* Outer container spacing */
.home-banner:has(.step-3-welcome-title) + .container {
    padding-top: 3rem;
    padding-bottom: 4rem;
}

/* Confirmation paragraphs — reuses .silverstone-font but with
   a success callout treatment on the first one */
.home-banner:has(.step-3-welcome-title) + .container .col-md-8 .silverstone-font:first-of-type {
    border-left: 4px solid var(--rhc-accent);
    background-color: #f7f7f5;
    padding: 1rem 1.25rem;
    border-radius: 0 var(--rhc-radius) var(--rhc-radius) 0;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--rhc-text);
    font-weight: 500;
}

/* Second paragraph — plain muted text like .to-register */
.home-banner:has(.step-3-welcome-title) + .container .col-md-8 .silverstone-font:last-of-type {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--rhc-text-muted);
    margin-bottom: 0;
}

/* Inline link styling — consistent with site, override Bootstrap text-primary */
.home-banner:has(.step-3-welcome-title) + .container a.text-primary {
    color: var(--rhc-black) !important;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity var(--rhc-transition);
}

.home-banner:has(.step-3-welcome-title) + .container a.text-primary:hover {
    opacity: 0.6;
    color: var(--rhc-black) !important;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .home-banner:has(.step-3-welcome-title) + .container {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
}
/* ════════════════════════════════════════════════════════════
   STEP 2 UPDATE NOTICE  —  final working version
   Targets the paragraph via :has() — supported in all modern
   browsers (Chrome 105+, Firefox 121+, Safari 15.4+)
   ════════════════════════════════════════════════════════════ */

p.silverstone-font:has(.text-danger) {
    border-left: 4px solid var(--rhc-black);
    background-color: #f7f7f5;
    padding: 0.75rem 1.25rem;
    border-radius: 0 var(--rhc-radius) var(--rhc-radius) 0;
    margin-bottom: 1.5rem;
    line-height: 1.75;
    color: var(--rhc-text-muted);
}
/* ════════════════════════════════════════════════════════════
   STEP 2 UPDATE BANNER  —  .home-banner with col-md-12
   Constrains to container width, same as .step-two-banner
   ════════════════════════════════════════════════════════════ */

.home-banner:has(.col-md-12 .welcome-title) .container {
    max-width: 1320px;
    padding-left: var(--bs-gutter-x, 1.5rem);
    padding-right: var(--bs-gutter-x, 1.5rem);
    width: 100%;
}

.home-banner:has(.col-md-12 .welcome-title) .row {
    margin: 0;
    width: auto;
}

.home-banner:has(.col-md-12 .welcome-title) .col-sm-12.col-md-12 {
    padding: 4rem 0;
    background-color: transparent;
    min-height: auto;
}

.home-banner:has(.col-md-12 .welcome-title) {
    min-height: 220px;
}

@media (max-width: 768px) {
    .home-banner:has(.col-md-12 .welcome-title) .col-sm-12.col-md-12 {
        padding: 2.5rem 0;
    }

    .home-banner:has(.col-md-12 .welcome-title) {
        min-height: auto;
    }
}

/* ════════════════════════════════════════════════════════════
   HANGER CARD STEP ONE  —  .hanger-card-step-one
   ════════════════════════════════════════════════════════════ */

.hanger-card-step-one {
    border: 1px solid var(--rhc-card-border) !important;
    border-radius: var(--rhc-radius) !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    overflow: hidden;
    max-width: 680px;
}

/* Card header */
.hanger-card-step-one .card-header {
    background-color: transparent !important;
    border-bottom: 1px solid var(--rhc-card-border);
    padding: 1.1rem 1.4rem;
}

.hanger-card-step-one .card-title {
    font-family: var(--rhc-font-display);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rhc-text);
    margin: 0;
    padding: 0;
}

/* Card body */
.hanger-card-step-one .card-body {
    padding: 1.5rem 1.4rem;
    background-color: var(--rhc-white);
}

/* Label */
.hanger-card-step-one .form-label {
    font-family: var(--rhc-font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--rhc-text);
    margin-bottom: 0.85rem;
    display: block;
}

/* Input group wrapper */
.hanger-card-step-one .input-group {
    border: 1px solid var(--rhc-card-border);
    border-radius: 999px;
    overflow: hidden;
    background-color: var(--rhc-white);
    margin-bottom: 0 !important;
}

/* Text input — no individual border, sits inside the group pill */
.hanger-card-step-one .form-control {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background-color: transparent;
    font-family: var(--rhc-font-body);
    font-size: 1rem;
    color: var(--rhc-text);
    padding: 0.75rem 1.25rem;
}

.hanger-card-step-one .form-control::placeholder {
    color: #bbb;
}

.hanger-card-step-one .form-control:focus {
    outline: none;
    box-shadow: none !important;
    background-color: transparent;
}

/* NEXT button — pill on the right end */
.hanger-card-step-one .silverstone-button {
    width: auto;
    display: inline-block;
    border-radius: 999px !important;
    padding: 0.75rem 1.75rem;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    margin: 0;
    flex-shrink: 0;
}
.complete-hanger-card-button {
    margin:40px 0 0;
    float:right;
}
