/* ═══════════════════════════════════════════════════════════════════════
   PREVIEW ROW ALIGNMENT CONTRACT — shared structural CSS
   Covers: .b_profile_disc, .b_profile_disc_Check, .b_profile_disc_buttons,
           .button_org_bg_Se, .home_b_check_whi, .b_profile_disc_Wrap
   Loaded before theme CSS so themes can override colors/fonts by cascade.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Tabbed Disc Wrapper ─── */
.b_profile_disc_Wrap {
    width: 100%;
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

.b_profile_disc_Wrap .text_section_top {
    margin-bottom: 1.5rem;
}

.b_profile_disc_Wrap .b_profile_tabs,
.b_profile_disc_Wrap .b_profile_tabs1 {
    top: -1.4375rem;
    margin-bottom: 0.875rem;
    padding-right: 1rem;
}

.b_profile_disc_Wrap .b_profile_tabs ul,
.b_profile_disc_Wrap .b_profile_tabs1 ul {
    gap: clamp(0.5rem, 2vw, 1.25rem);
    justify-content: space-evenly;
}

.b_profile_disc_Wrap .b_profile_tabs li a,
.b_profile_disc_Wrap .b_profile_tabs1 li a {
    font-size: clamp(0.5625rem, 2.5vw, 0.875rem);
    padding: clamp(0.625rem, 2vw, 1rem) clamp(0.5rem, 1.5vw, 0.75rem);
    letter-spacing: clamp(0.3px, 0.5vw, 0.6px);
}

.b_profile_disc.tabs_contae {
    display: none;
}

.b_profile_disc.tabs_contae.active {
    display: flex;
}

/* ─── Main Disc Layout (Desktop: side-by-side) ─── */
.b_profile_disc {
    align-items: stretch;
    display: flex;
    gap: 2%;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
}

.b_profile_disc_img {
    flex: 0 0 45%;
    overflow: hidden;
    display: flex;
    border-radius: 1.5rem;
}

.b_profile_disc_img img,
.b_profile_disc_img video {
    width: 100%;
    height: 100%;
    border-radius: 1.5rem;
    object-fit: cover;
    object-position: center;
}

.b_profile_disc_content {
    flex: 0 0 53%;
    position: relative;
    min-width: 0;
    overflow: hidden;
    max-height: clamp(22rem, 5vw + 18rem, 30rem);
}

.b_profile_disc_content h4 {
    text-transform: uppercase;
    color: var(--org, #F26122);
    letter-spacing: 0.125rem;
    font-weight: 600;
}

.b_profile_disc_content h3 {
    color: #1e213a;
    letter-spacing: 0.03125rem;
    font-size: clamp(1.3125rem, 3.5vw, 1.57rem);
    font-weight: 600;
}

.b_profile_disc_content p {
    letter-spacing: 0.03125rem;
    font-size: clamp(1rem, 2.8vw, 1.125rem);
    font-weight: 400;
    color: #33334C;
    margin-bottom: 0;
}

/* ─── Scrollable Content ─── */
.limit_scroll_new {
    overflow-y: auto;
    scrollbar-width: thin;
}

/* ─── Check Items (.b_profile_disc_Check) ─── */
.b_profile_disc_Check {
    display: flex;
    align-items: start;
    gap: 0.625rem;
    margin: 0.3rem 0 0 0;
}

.b_profile_disc_Check.first-check {
    margin-top: 1.3125rem;
}

.b_profile_disc_Check img {
    width: clamp(0.9rem, 2vw, 1.5rem);
    height: auto;
}

.b_profile_disc_Check h5 {
    font-weight: 500;
    line-height: 1.25rem;
    vertical-align: middle;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.b_profile_disc_Check h5 span {
    font-weight: 400;
    font-size: clamp(0.75rem, 2vw, 0.8125rem);
    color: #33334C;
}

.b_profile_disc_Check p {
    font-weight: 700;
    font-size: clamp(1rem, 2.8vw, 1.625rem);
    margin-bottom: 0.375rem;
}

.b_profile_disc_Check .jd-mspacing {
    font-size: clamp(0.875rem, 2.5vw, 1rem);
    font-weight: 400;
}

/* ─── Action Buttons (.b_profile_disc_buttons) ─── */
.b_profile_disc_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1rem;
}

.b_profile_disc_buttons a {
    width: fit-content;
    border-radius: clamp(0.6875rem, 2vw, 0.9375rem);
    padding: clamp(0.4375rem, 1.5vw, 0.625rem) clamp(0.6875rem, 2vw, 0.9375rem);
    display: flex;
    border: 0.0625rem solid var(--org, #F26122);
    color: var(--org, #F26122);
    font-size: clamp(0.6875rem, 2vw, 0.8125rem);
    font-weight: 500;
    text-decoration: none;
    transition: 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
    flex-grow: 0;
}

.b_profile_disc_buttons a:hover,
.b_profile_disc_buttons a.bold {
    background: var(--org, #F26122);
    color: #fff;
}

/* ─── CTA Button Row (.button_org_bg_Se) ─── */
.button_org_bg_Se {
    margin-top: 1.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.button_org_bg_Se a {
    border: 1px solid #fff;
    color: #fff;
    padding: 0.5rem 1.5625rem;
    border-radius: 0.875rem;
    margin-right: 0.625rem;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: 0.15s;
}

.button_org_bg_Se a:hover,
.button_org_bg_Se a.bold {
    background: rgba(255, 255, 255, 0.15);
}

/* ─── Two-Column Check Grid (.home_b_check_whi) ─── */
.home_b_check_whi {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 10px;
}

.home_b_check_whi .b_profile_disc_Check {
    flex: 1 1 calc(50% - 20px);
    min-width: calc(50% - 20px);
    margin-bottom: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .b_profile_disc_Check {
        margin: 0.25rem 0 0 0;
    }

    .b_profile_disc_Check.first-check {
        margin-top: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile (≤767px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .b_profile_disc {
        flex-direction: column;
    }

    .b_profile_disc_img {
        width: 100%;
    }

    .b_profile_disc_img img {
        width: 100%;
        height: clamp(18rem, 50vw, 25rem);
        object-fit: cover;
        object-position: center;
    }

    .b_profile_disc_content {
        max-height: none;
        margin-top: 1.3rem;
    }

    .b_profile_disc_buttons {
        flex-direction: row;
        justify-content: flex-start;
        margin-bottom: 2rem !important;
        position: relative;
        z-index: 1;
    }

    .b_profile_disc_buttons.dynamic-buttons {
        margin-bottom: 2rem !important;
        padding-bottom: 1rem !important;
    }

    .b_profile_disc_Check {
        margin: 0.25rem 0 0 0;
    }

    .b_profile_disc_Check.first-check {
        margin-top: 1rem;
    }

    .home_b_check_whi {
        display: block;
    }

    .home_b_check_whi .b_profile_disc_Check {
        min-width: 100%;
        margin-bottom: 10px;
    }

    /* Tabbed disc section mobile */
    .b_profile_disc_Wrap .b_profile_tabs,
    .b_profile_disc_Wrap .b_profile_tabs1 {
        top: -0.75rem;
        margin-bottom: 0.5rem;
    }

    .button_org_bg_Se {
        margin-top: 1.5rem;
        gap: 0.5rem;
    }

    .button_org_bg_Se a {
        padding: clamp(0.375rem, 1.5vw, 0.5rem) clamp(0.75rem, 4vw, 1.5625rem);
        font-size: clamp(0.6875rem, 2.5vw, 0.8125rem);
        margin-right: 0.3125rem;
        border-radius: clamp(0.625rem, 2vw, 0.875rem);
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE — Very small (≤359px)
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 359px) {
    .b_profile_disc_Check h5 {
        font-weight: 300;
    }

    .b_profile_disc_buttons a {
        font-size: 0.625rem;
        padding: 0.375rem 0.5rem;
    }
}
