/* =============================================================================
   How We Hire Page Styles
   Extracted from template-parts/new-hwh/*.php
   ============================================================================= */


/* =============================================================================
   Hero Panel — new-hwh-hero-panel.php
   ============================================================================= */

#new_hwh_hero_panel {
    position: relative;
    min-height: 130vh;
    display: flex;
    align-items: flex-start;
    background-image: var(--nhhp-bg-desktop);
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top:-134px;
    padding-bottom:100px;
}

#new_hwh_hero_panel .nhhp-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 180px;
    padding-bottom: 80px;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

#new_hwh_hero_panel .nhhp-heading {
    font-size: 65px;
    font-weight: 700;
    line-height: 1.1;
    color: #F4F8F5;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
}
#new_hwh_hero_panel .nhhp-heading span {
    display: block;
    color: #16161D;
    font-size: 40px;
    font-weight: 300;

}

/* ── Sub heading WYSIWYG content ── */
#new_hwh_hero_panel .nhhp-sub {
    color: #F4F8F5;
}

#new_hwh_hero_panel .nhhp-sub h2,
#new_hwh_hero_panel .nhhp-sub h3 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.35;
    color: #F4F8F5;
    margin: 0 0 24px;
}

#new_hwh_hero_panel .nhhp-sub p {
    font-size: 22px;
    font-weight: 300;
    line-height: 1.4;
    color: #F4F8F5;
    max-width: 950px;
    margin: 0 auto 16px;
}

#new_hwh_hero_panel .nhhp-sub p:last-child {
    margin-bottom: 0;
}

#new_hwh_hero_panel .nhhp-sub strong,
#new_hwh_hero_panel .nhhp-sub b {
    font-weight: 600;
    color: #F4F8F5;
}

/* ── Mobile ── */
@media (max-width: 991px) {
    #new_hwh_hero_panel {
        background-image: var(--nhhp-bg-mobile, var(--nhhp-bg-desktop));
        background-position: center center;
        min-height: 100svh;
        padding-top: 80px;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    #new_hwh_hero_panel .nhhp-content {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    #new_hwh_hero_panel .nhhp-heading {
        font-size: 40px;
    }

    #new_hwh_hero_panel .nhhp-sub h2,
    #new_hwh_hero_panel .nhhp-sub h3 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    #new_hwh_hero_panel .nhhp-sub p {
        font-size: 14px;
    }
}


/* =============================================================================
   Top Find Panel — new-hwh-top-find-panel.php
   ============================================================================= */

#new_hwh_top_find_panel {
    position: relative;
    background-image: var(--nhtfp-bg-desktop);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 460px;
    overflow: hidden;
}

@media screen and (min-width:1690px){
    #new_hwh_top_find_panel{
        padding: 160px 0 460px;
    }
}

#new_hwh_top_find_panel .nhtfp-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

#new_hwh_top_find_panel .nhtfp-heading {
    font-size: 90px;
    font-weight: 400;
    line-height: 1.2;
    color: #FF4D04;
    margin: 0;
}

/* Bottom fade-out gradient into #16161D */
#new_hwh_top_find_panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(22, 22, 29, 0), #16161D);
    pointer-events: none;
    z-index: 1;
}

/* "Top 1%" — wrapped in <span> inside the heading field */
#new_hwh_top_find_panel .nhtfp-heading span {
    display: block;
    font-size: 90px;
    font-weight: 800;
    line-height: 1.05;
    color: #F4F8F5;
    letter-spacing: -0.03em;
    margin-top: 8px;
}

@media (max-width: 991px) {
    #new_hwh_top_find_panel {
        background-image: var(--nhtfp-bg-mobile, var(--nhtfp-bg-desktop));
    }

    #new_hwh_top_find_panel .nhtfp-heading {
        font-size: 24px;
    }

    #new_hwh_top_find_panel .nhtfp-heading span {
        font-size: 56px;
    }
}


/* =============================================================================
   Normal Table Panel — new-hwh-normal-table-panel.php
   ============================================================================= */

#new_hwh_normal_table_panel {
    background: #16161D;
    padding: 80px 0 0px;
}

/* ── Count badge + Heading row ── */
#new_hwh_normal_table_panel .nhntp-stat-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 12px;
}

/* Box-style step badge — "1." */
#new_hwh_normal_table_panel .nhntp-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 90px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

#new_hwh_normal_table_panel .nhntp-heading {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.15;
    color: #F4F8F5;
    margin: 0;
}

#new_hwh_normal_table_panel .nhntp-heading span {
    font-weight: 300;
    color: #FF4D04;
}

/* ── Sub heading — italic label below heading ── */
#new_hwh_normal_table_panel .nhntp-sub {
    font-size: 22px;
    font-weight: 400;
    color: #F4F8F5;
}

#new_hwh_normal_table_panel .nhntp-sub p { margin: 0; }

/* ── Description ── */
#new_hwh_normal_table_panel .nhntp-description {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    color: #F4F8F5;
    margin-bottom: 40px;
}

#new_hwh_normal_table_panel .nhntp-description p {
    margin: 0 0 10px;
}

#new_hwh_normal_table_panel .nhntp-description p:last-child {
    margin-bottom: 0;
}

/* ── Table ── */
#new_hwh_normal_table_panel .nhntp-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#new_hwh_normal_table_panel .nhntp-table {
    width: 100%;
    border-collapse: collapse;
}

/* Stage col wider, Volume narrower, Outcome fills rest */
#new_hwh_normal_table_panel .nhntp-table col:nth-child(1) { width: 30%; }
#new_hwh_normal_table_panel .nhntp-table col:nth-child(2) { width: 18%; }
#new_hwh_normal_table_panel .nhntp-table col:nth-child(3) { width: 52%; }

/* Header row */
#new_hwh_normal_table_panel .nhntp-table thead th {
    font-size: 22px;
    font-weight: 500;
    color: #F4F8F5;
    text-align: left;
    padding: 10px 16px;
    border-bottom: 1px solid #FF4D04;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

/* Body rows */
#new_hwh_normal_table_panel .nhntp-table tbody td {
    font-size: 15px;
    font-weight: 300;
    color: #F4F8F5;
    padding: 14px 16px;
    border-bottom: 1px solid #FF4D04;
    vertical-align: middle;
    line-height: 1.5;
}

/* Stage col — slightly bolder */
#new_hwh_normal_table_panel .nhntp-table tbody td:first-child {
    font-weight: 400;
}

#new_hwh_normal_table_panel .nhntp-table tbody tr {
    transition: background 0.18s ease, color 0.18s ease;
}

#new_hwh_normal_table_panel .nhntp-table tbody tr:hover {
    background: rgb(255 77 4 / 80%);
}

#new_hwh_normal_table_panel .nhntp-table tbody tr:hover td {
    color: #16161D;
    border-bottom-color: #FF4D04;
    font-weight: 400;
}

#new_hwh_normal_table_panel .nhntp-table tbody tr:last-child td {
    border-bottom: none;
}

/* ── Vertical column dividers ── */
#new_hwh_normal_table_panel .nhntp-table thead th:not(:last-child),
#new_hwh_normal_table_panel .nhntp-table tbody td:not(:last-child) {
    border-right: 1px solid #FF4D04;
}

@media (max-width: 991px) {
    #new_hwh_normal_table_panel {
        padding: 60px 0 0px;
    }

    #new_hwh_normal_table_panel .nhntp-stat-row {
        gap: 16px;
        margin-bottom: 8px;
    }

    #new_hwh_normal_table_panel .nhntp-count {
        width: 52px;
        height: 52px;
        font-size: 26px;
    }

    #new_hwh_normal_table_panel .nhntp-heading {
        font-size: 24px;
    }

    #new_hwh_normal_table_panel .nhntp-sub {
        padding-left: 0;
        font-size: 14px;
        margin-bottom: 20px;
    }

    #new_hwh_normal_table_panel .nhntp-description {
        margin-bottom: 28px;
    }

    #new_hwh_normal_table_panel .nhntp-table thead th,
    #new_hwh_normal_table_panel .nhntp-table tbody td {
        font-size: 15px;
        padding: 12px 12px;
    }
}


/* =============================================================================
   Column Table Panel — new-hwh-column-table-panel.php
   ============================================================================= */

#new_hwh_column_table_panel {
    background: #16161D;
    padding: 80px 0 0px;
}

/* ── Count badge + Heading row — mirrors normal-table-panel ── */
#new_hwh_column_table_panel .nhctp-stat-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 12px;
}

#new_hwh_column_table_panel .nhctp-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 90px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

#new_hwh_column_table_panel .nhctp-heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#new_hwh_column_table_panel .nhctp-heading {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.15;
    color: #F4F8F5;
    margin: 0;
}

#new_hwh_column_table_panel .nhctp-heading span {
    font-weight: 300;
    color: #FF4D04;
}

#new_hwh_column_table_panel .nhctp-sub {
    font-size: 22px;
    font-weight: 400;
    color: #F4F8F5;
}

#new_hwh_column_table_panel .nhctp-sub p { margin: 0; }

/* ── Description ── */
#new_hwh_column_table_panel .nhctp-description {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #F4F8F5;
    margin-bottom: 48px;
}

#new_hwh_column_table_panel .nhctp-description p { margin: 0 0 10px; }
#new_hwh_column_table_panel .nhctp-description p:last-child { margin-bottom: 0; }

/* ── Columns grid ── */
#new_hwh_column_table_panel .nhctp-columns {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

#new_hwh_column_table_panel .nhctp-col {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Icon */
#new_hwh_column_table_panel .nhctp-col-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

/* Dynamic number — 01, 02, 03... */
#new_hwh_column_table_panel .nhctp-col-num {
    font-size: 80px;
    font-weight: 300;
    color: #FF4D04;
    line-height: 1;
}

/* Column heading */
#new_hwh_column_table_panel .nhctp-col-heading {
    font-size: 22px;
    font-weight: 400;
    color: #F4F8F5;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

/* Column content */
#new_hwh_column_table_panel .nhctp-col-content {
    font-size: 15px;
    font-weight: 300;
    color: #F4F8F5;
    line-height: 1.5;
    text-align: center;
}
#new_hwh_column_table_panel .icon-wrap {
    display: flex;
    gap: 15px;
    border-bottom: 1px solid #FF4D04;
    width: 100%;
    justify-content: center;
    padding-bottom: 10px;
}

#new_hwh_column_table_panel .nhctp-col-content p { margin: 0 0 8px; }
#new_hwh_column_table_panel .nhctp-col-content p:last-child { margin-bottom: 0; }

@media (max-width: 991px) {
    #new_hwh_column_table_panel {
        padding: 0px 0 0px;
    }

    #new_hwh_column_table_panel .nhctp-stat-row {
        gap: 16px;
        margin-bottom: 8px;
    }

    #new_hwh_column_table_panel .nhctp-count {
        font-size: 60px;
    }

    #new_hwh_column_table_panel .nhctp-heading {
        font-size: 26px;
    }

    #new_hwh_column_table_panel .nhctp-sub {
        font-size: 16px;
    }

    #new_hwh_column_table_panel .nhctp-description {
        margin-bottom: 32px;
    }

    #new_hwh_column_table_panel .nhctp-columns {
        gap: 28px;
    }

    #new_hwh_column_table_panel .nhctp-col {
        flex: 1 1 calc(50% - 14px);
    }
}


/* =============================================================================
   Image Hover List Panel — new-hwh-image-hover-list-panel.php
   ============================================================================= */

.new_hwh_image_hover_list_panel {
    background: #16161D;
    padding: 80px 0 0px;
}

/* ── Top section — same pattern as other panels ── */
.new_hwh_image_hover_list_panel .nhihlp-stat-row {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 12px;
}

.new_hwh_image_hover_list_panel .nhihlp-count {
    font-size: 90px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    flex-shrink: 0;
}

.new_hwh_image_hover_list_panel .nhihlp-heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.new_hwh_image_hover_list_panel .nhihlp-heading {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.15;
    color: #F4F8F5;
    margin: 0;
}

.new_hwh_image_hover_list_panel .nhihlp-heading span {
    font-weight: 300;
    color: #FF4D04;
}

.new_hwh_image_hover_list_panel .nhihlp-sub {
    font-size: 22px;
    font-weight: 400;
    color: #F4F8F5;
}

.new_hwh_image_hover_list_panel .nhihlp-sub p { margin: 0; }

.new_hwh_image_hover_list_panel .nhihlp-description {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.65;
    color: rgba(244, 248, 245, 0.75);
    margin-bottom: 48px;
}

.new_hwh_image_hover_list_panel .nhihlp-description p { margin: 0 0 10px; }
.new_hwh_image_hover_list_panel .nhihlp-description p:last-child { margin-bottom: 0; }

/* ── List ── */
.new_hwh_image_hover_list_panel .nhihlp-list {
    display: flex;
    flex-direction: column;
}

/* ── Each item: single horizontal row ── */
.new_hwh_image_hover_list_panel .nhihlp-item {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: default;
    transition: opacity 0.3s ease;
    overflow: hidden;
}

/* ── Image — slides in from left ── */
.new_hwh_image_hover_list_panel .nhihlp-item-image {
    flex-shrink: 0;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity    0.35s ease;
}

.new_hwh_image_hover_list_panel .nhihlp-item.is-active .nhihlp-item-image {
    max-width: 160px;
    opacity: 1;
}

.new_hwh_image_hover_list_panel .nhihlp-item-image img {
    display: block;
    width: auto;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
}

/* ── Number ── */
.new_hwh_image_hover_list_panel .nhihlp-item-num {
    flex-shrink: 0;
    font-size: 90px;
    font-weight: 300;
    line-height: 1;
    color: #FF4D04;
    letter-spacing: -0.03em;
    min-width: 80px;
    text-align: right;
}

/* ── Body: heading + collapsible content ── */
.new_hwh_image_hover_list_panel .nhihlp-item-body {
    flex: 1;
    min-width: 0;
    border-left: 2px solid #FF4D04;
    padding-left: 20px;
}

.new_hwh_image_hover_list_panel .nhihlp-item-heading {
    font-size: 20px;
    font-weight: 600;
    color: #F4F8F5;
    line-height: 1.3;
    margin: 0;
}

/* Content reveals with smooth slide + fade */
.new_hwh_image_hover_list_panel .nhihlp-item-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity    0.3s  ease 0.05s;
}

.new_hwh_image_hover_list_panel .nhihlp-item.is-active .nhihlp-item-content {
    max-height: 400px;
    opacity: 1;
}

.new_hwh_image_hover_list_panel .nhihlp-item-content {
    font-size: 18px;
    font-weight: 500;
    color: rgba(244, 248, 245, 0.7);
    line-height: 1.65;
    margin-top: 6px;
}
.new_hwh_image_hover_list_panel .nhihlp-item-content span {
    font-size: 14px;
    font-weight: 300;
}

.new_hwh_image_hover_list_panel .nhihlp-item-content p { margin: 0 0 6px; }
.new_hwh_image_hover_list_panel .nhihlp-item-content p:last-child { margin-bottom: 0; }

/* ── Fix 1: content (sub heading) always visible — override the max-height:0 ── */
.new_hwh_image_hover_list_panel .nhihlp-item-content {
    max-height: none;
    overflow: visible;
    opacity: 1;
    transition: none;
}

/* ── Fix 2: <span> inside content fades on hover — NO height change so items never shift ── */
.new_hwh_image_hover_list_panel .nhihlp-item-content span {
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.new_hwh_image_hover_list_panel .nhihlp-item.is-active .nhihlp-item-content span {
    opacity: 1;
}

/* ── Fix 3: number goes white + bold on active ── */
.new_hwh_image_hover_list_panel .nhihlp-item.is-active .nhihlp-item-num {
    color: #F4F8F5;
    font-weight: 700;
}

/* ── Box — slides in from right ── */
/* All visual styles in base so nothing flashes on hover — only max-width + opacity animate */
.new_hwh_image_hover_list_panel .nhihlp-item-box {
    flex-shrink: 0;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    border-radius: 4px;
    border: 1px solid #FF4D04;
    background: rgba(22, 22, 29, 0.9);
    padding: 20px 16px;
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
    color: #FF4D04;
    letter-spacing: -0.03em;
    white-space: nowrap;
    transition: max-width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity    0.35s ease;
    text-align: center;
}

.new_hwh_image_hover_list_panel .nhihlp-item.is-active .nhihlp-item-box {
    max-width: 220px;
    opacity: 1;
}

/* <span> = small label */
.new_hwh_image_hover_list_panel .nhihlp-item-box span {
    display: block;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.4;
    margin-top: 4px;
    letter-spacing: 0;
    white-space: normal;
}

/* ── Mobile: stacked cards, no image/box columns ── */
@media (max-width: 991px) {
    .new_hwh_image_hover_list_panel {
        padding: 60px 0 60px;
    }

    .new_hwh_image_hover_list_panel .nhihlp-count { font-size: 60px; }
    .new_hwh_image_hover_list_panel .nhihlp-heading { font-size: 26px; }
    .new_hwh_image_hover_list_panel .nhihlp-sub { font-size: 16px; }
    .new_hwh_image_hover_list_panel .nhihlp-description { margin-bottom: 32px; }

    .new_hwh_image_hover_list_panel .nhihlp-list {
        gap: 16px;
    }

    .new_hwh_image_hover_list_panel .nhihlp-item {
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid #FF4D04;
        border-top: 1px solid #FF4D04;
        border-radius: 4px;
        padding: 20px;
        opacity: 1 !important;
    }

    /* Hide image on mobile */
    .new_hwh_image_hover_list_panel .nhihlp-item-image {
        display: none;
    }

    .new_hwh_image_hover_list_panel .nhihlp-item-num {
        font-size: 40px;
        text-align: left;
        min-width: unset;
        margin-bottom: 8px;
    }

    .new_hwh_image_hover_list_panel .nhihlp-item-body {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
    }

    /* Always show content + span on mobile */
    .new_hwh_image_hover_list_panel .nhihlp-item-content {
        max-height: none !important;
        opacity: 1 !important;
    }

    .new_hwh_image_hover_list_panel .nhihlp-item-content span {
        max-height: none !important;
        opacity: 1 !important;
    }

    /* Box shown as inline dark card on mobile */
    .new_hwh_image_hover_list_panel .nhihlp-item-box {
        max-width: none !important;
        opacity: 1 !important;
        margin-left: 0 !important;
        margin-top: 16px;
        width: 100%;
        background: rgba(22, 22, 29, 0.9);
        border: 1px solid rgba(255, 77, 4, 0.35);
        border-radius: 4px;
        padding: 16px;
        font-size: 36px;
        font-weight: 700;
        line-height: 1;
        color: #FF4D04;
        letter-spacing: -0.02em;
        white-space: nowrap;
    }

    .new_hwh_image_hover_list_panel .nhihlp-item-box span {
        white-space: normal;
        font-size: 13px;
    }
}


/* =============================================================================
   Image Hover List Panel — Bordered layout modifier (.nhihlp--bordered)
   Activated when the "Bordered layout" checkbox is checked in ACF.
   ============================================================================= */

/* Badge hidden by default in standard mode */
.new_hwh_image_hover_list_panel .nhihlp-item-badge {
    display: none;
}

/* ── Bordered mode: transparent border always reserves space — no layout shift ── */
.new_hwh_image_hover_list_panel.nhihlp--bordered .nhihlp-item,
.new_hwh_image_hover_list_panel.nhihlp--bordered .nhihlp-item:last-child {
    border: 1.5px solid transparent;
    border-radius: 4px;
    padding: 20px 24px;
    background: rgba(255, 77, 4, 0);
    transition: border-color 0.35s ease,
                background   0.35s ease,
                opacity      0.3s  ease;
}

/* Active: border + subtle background fade in */
.new_hwh_image_hover_list_panel.nhihlp--bordered .nhihlp-item.is-active {
    border-color: #FF4D04;
    background: rgba(255, 77, 4, 0.04);
}

/* ── Count: glow fades in smoothly ── */
.new_hwh_image_hover_list_panel.nhihlp--bordered .nhihlp-item-num {
    transition: text-shadow 0.4s ease, color 0.3s ease, font-weight 0.2s ease;
}

.new_hwh_image_hover_list_panel.nhihlp--bordered .nhihlp-item.is-active .nhihlp-item-num {
    text-shadow:
        0 0 20px rgba(255, 77, 4, 0.95),
        0 0 50px rgba(255, 77, 4, 0.6),
        0 0 90px rgba(255, 77, 4, 0.35);
}

/* ── Badge — opacity fade so it can animate (always in flow, just invisible) ── */
.new_hwh_image_hover_list_panel.nhihlp--bordered .nhihlp-item-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    align-self: center;
    background: #FF4D04;
    color: #16161D;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.new_hwh_image_hover_list_panel.nhihlp--bordered .nhihlp-item.is-active .nhihlp-item-badge {
    opacity: 1;
}

/* ── Mobile: bordered mode cards ── */
@media (max-width: 991px) {
    .new_hwh_image_hover_list_panel.nhihlp--bordered .nhihlp-item {
        border: 1px solid rgba(255, 77, 4, 0.3) !important;
        padding: 20px !important;
    }

    .new_hwh_image_hover_list_panel.nhihlp--bordered .nhihlp-item-badge {
        display: inline-flex;
        margin-left: auto;
        background: #FF4D04;
        color: #16161D;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 5px 12px;
        border-radius: 3px;
        white-space: nowrap;
        align-self: center;
    }
}


/* =============================================================================
   Red Light Panel — new-hwh-red-light-panel.php
   ============================================================================= */

#new_hwh_red_light_panel {
    background: #16161D;
}

/* ── Orange banner ── */
#new_hwh_red_light_panel .nhrlp-banner .container {
    background: #FF4D04;
    padding: 20px 0;
    margin-top: 80px;
}

#new_hwh_red_light_panel .nhrlp-banner-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    color: #F4F8F5;
    text-align: center;
    margin: 0 auto;
}

#new_hwh_red_light_panel .nhrlp-banner-text p { margin: 0; }

#new_hwh_red_light_panel .nhrlp-banner-text strong,
#new_hwh_red_light_panel .nhrlp-banner-text b {
    font-weight: 700;
}

/* ── Middle hero row ── */
#new_hwh_red_light_panel .nhrlp-main {
    padding: 60px 0 40px;
}

#new_hwh_red_light_panel .nhrlp-hero-row {
    display: flex;
    align-items: stretch; /* columns stretch to tallest item (the video) */
    justify-content: center;
    gap: 32px;
}

/* ── Headings — inner flex centres text vertically within the stretched column ── */
#new_hwh_red_light_panel .nhrlp-heading-left,
#new_hwh_red_light_panel .nhrlp-heading-right {
    flex: 1;
    display: flex;
    align-items: center;  /* vertically centre the h2 text within the column */
    font-size: 53px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #F4F8F5;
    margin: 0;
}

#new_hwh_red_light_panel .nhrlp-heading-left {
    justify-content: flex-end; /* push text to the right edge (toward the video) */
    text-align: right;
}

#new_hwh_red_light_panel .nhrlp-heading-right {
    justify-content: flex-start; /* push text to the left edge (toward the video) */
    text-align: left;
    font-weight: 400;
    color: rgba(244, 248, 245, 0.9);
}

/* ── Traffic signal video — align-self: center so it doesn't stretch ── */
#new_hwh_red_light_panel .nhrlp-signal {
    flex: 0 0 auto;
    align-self: center;
    display: flex;
    align-items: center;
}

#new_hwh_red_light_panel .nhrlp-signal video {
    display: block;
    width: 140px;
    height: auto;
    object-fit: contain;
}

/* ── Bottom: content + box ── */


#new_hwh_red_light_panel .nhrlp-content {
    font-size: 22px;
    font-weight: 600;
    color: #F4F8F5;
    text-align: center;
    line-height: 1.4;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 16px;
}

#new_hwh_red_light_panel .nhrlp-content p { margin: 0 0 8px; }
#new_hwh_red_light_panel .nhrlp-content p:last-child { margin-bottom: 0; }

#new_hwh_red_light_panel .nhrlp-content + .nhrlp-description {
    margin-top: 0;
}

/* Smaller body text if WYSIWYG has <p> tags after a heading */
#new_hwh_red_light_panel .nhrlp-content p:not(:first-child) {
    font-size: 14px;
    font-weight: 300;
    color: rgba(244, 248, 245, 0.7);
}

/* ── Box ── */
#new_hwh_red_light_panel .nhrlp-box {
    border: 1px solid #FF4D04;
    border-radius: 4px;
    padding: 18px 32px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    color: #FF4D04;
    line-height: 1.5;
    margin-top: 24px;
}

#new_hwh_red_light_panel .nhrlp-box p { margin: 0; }

#new_hwh_red_light_panel .nhrlp-box strong,
#new_hwh_red_light_panel .nhrlp-box b {
    font-weight: 700;
}

/* ── Mobile ── */
@media (max-width: 991px) {
    #new_hwh_red_light_panel .nhrlp-banner .container {
        margin-top: 60px;
    }
    #new_hwh_red_light_panel .nhrlp-banner-text {
        font-size: 15px;
    }

    #new_hwh_red_light_panel .nhrlp-main {
        padding: 40px 0 24px;
    }

    #new_hwh_red_light_panel .nhrlp-hero-row {
        flex-direction: column;
        gap: 16px;
    }

    #new_hwh_red_light_panel .nhrlp-heading-left,
    #new_hwh_red_light_panel .nhrlp-heading-right {
        flex: none;
        font-size: 36px;
        text-align: center;
    }

    #new_hwh_red_light_panel .nhrlp-signal video {
        width: 100px;
    }

    #new_hwh_red_light_panel .nhrlp-content {
        font-size: 18px;
    }

    #new_hwh_red_light_panel .nhrlp-box {
        padding: 16px 20px;
        font-size: 15px;
    }

    #new_hwh_red_light_panel .nhrlp-bottom {
        padding-bottom: 60px;
    }
}
