/* =========================================================
   ESTG — UPCOMING CLASSES
   CONCEPT B+
========================================================= */

.bplus-page {
    --navy: #101827;
    --navy-soft: #182233;
    --gold: #b88e3a;
    --gold-dark: #967126;
    --gold-pale: #f7f1e5;
    --ink: #172033;
    --muted: #687080;
    --line: #e7e4de;
    --surface: #ffffff;
    --soft: #f7f7f5;

    background: #fff;
    color: var(--ink);
}

.bplus-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.bplus-kicker,
.bplus-eyebrow {
    display: block;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}


/* =========================================================
   HERO
========================================================= */

.bplus-hero {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(10, 18, 31, .97) 0%,
            rgba(10, 18, 31, .88) 44%,
            rgba(10, 18, 31, .57) 100%
        ),
        none
        center 38% / cover no-repeat;
}

.bplus-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(9, 16, 28, .28)
    );
    pointer-events: none;
}

.bplus-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 75% 40%,
            rgba(184, 142, 58, .10),
            transparent 28%
        );
}

.bplus-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    gap: 90px;
    align-items: center;
    padding: 100px 0 125px;
}

.bplus-hero-copy {
    max-width: 690px;
}

.bplus-eyebrow {
    margin-bottom: 18px;
}

.bplus-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(50px, 5.4vw, 76px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 750;
}

.bplus-hero-lead {
    max-width: 590px;
    margin: 25px 0 32px;
    color: rgba(255,255,255,.78);
    font-size: 18px;
    line-height: 1.75;
}

.bplus-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
}

.bplus-hero-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 650;
}

.bplus-hero-benefits i {
    color: #d0ab5d;
}


/* =========================================================
   COUNTDOWN
========================================================= */

.bplus-countdown {
    position: relative;
    padding: 30px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(14, 23, 38, .78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0,0,0,.20);
}

.bplus-countdown-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(208,171,93,.40);
    color: #d0ab5d;
    font-size: 17px;
}

.bplus-countdown-label {
    display: block;
    margin-bottom: 18px;
    color: rgba(255,255,255,.62);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.bplus-countdown-time {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.bplus-countdown-time div {
    text-align: center;
}

.bplus-countdown-time strong {
    display: block;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -.04em;
}

.bplus-countdown-time span {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.bplus-countdown-class {
    display: grid;
    gap: 9px;
    padding-top: 22px;
}

.bplus-countdown-class strong {
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
}

.bplus-countdown-class span {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: rgba(255,255,255,.62);
    font-size: 11px;
    line-height: 1.45;
}

.bplus-countdown-class i {
    width: 14px;
    margin-top: 2px;
    color: #caa45a;
}


/* =========================================================
   FLOATING FILTER
========================================================= */

.bplus-filter-wrap {
    position: relative;
    z-index: 5;
    margin-top: -42px;
}

.bplus-filter-bar {
    display: grid;
    grid-template-columns: 1.6fr 1fr .9fr .9fr auto;
    min-height: 84px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e6e2db;
    box-shadow: 0 20px 50px rgba(17,24,39,.10);
}

.bplus-filter-bar label {
    position: relative;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--line);
}

.bplus-filter-bar select,
.bplus-filter-bar input {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
}

.bplus-search input {
    padding-left: 43px;
}

.bplus-search > i {
    position: absolute;
    left: 19px;
    color: #9a9da4;
    font-size: 13px;
}

.bplus-filter-bar select {
    cursor: pointer;
}

.bplus-filter-bar button {
    min-width: 115px;
    margin-left: 14px;
    padding: 0 24px;
    border: 0;
    background: var(--gold);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease;
}

.bplus-filter-bar button:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}


/* =========================================================
   SECTIONS
========================================================= */

.bplus-section {
    padding: 92px 0;
}

.bplus-featured-section {
    padding-top: 105px;
    padding-bottom: 72px;
}

.bplus-upcoming-section {
    background: #f8f8f6;
}

.bplus-section-heading {
    margin-bottom: 34px;
}

.bplus-section-heading > div:first-child {
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.bplus-section-heading .bplus-kicker {
    margin-bottom: 7px;
}

.bplus-section-heading h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(29px, 3vw, 40px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.bplus-section-heading p {
    max-width: 600px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.bplus-section-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: var(--gold-pale);
    color: var(--gold);
    font-size: 16px;
}


/* =========================================================
   FEATURED CLASS
========================================================= */

.bplus-featured-card {
    display: grid;
    grid-template-columns: minmax(330px, .85fr) minmax(0, 1.4fr);
    min-height: 390px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 50px rgba(20,28,42,.07);
}

.bplus-featured-visual,
.bplus-card-image {
    position: relative;
    overflow: hidden;
    background: #e8e9e6;
}

.bplus-featured-visual img,
.bplus-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.bplus-featured-card:hover .bplus-featured-visual img,
.bplus-class-card:hover .bplus-card-image img {
    transform: scale(1.025);
}

.bplus-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 250px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, #192436, #29364a);
    color: rgba(208,171,93,.65);
    font-size: 54px;
}

.bplus-date-tile {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 66px;
    padding: 11px 7px 9px;
    background: #fff;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.bplus-date-tile span,
.bplus-date-tile small {
    display: block;
    text-transform: uppercase;
}

.bplus-date-tile span {
    color: var(--gold-dark);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .13em;
}

.bplus-date-tile strong {
    display: block;
    margin: 2px 0;
    color: var(--ink);
    font-size: 25px;
    line-height: 1;
}

.bplus-date-tile small {
    color: #8a8f98;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
}

.bplus-featured-content {
    display: flex;
    flex-direction: column;
    padding: 46px 48px 40px;
}

.bplus-program-label {
    display: inline-block;
    width: fit-content;
    margin-bottom: 12px;
    color: var(--gold-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.bplus-featured-content h3 {
    max-width: 680px;
    margin: 0;
    color: var(--ink);
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.bplus-description {
    max-width: 690px;
    margin: 16px 0 25px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.bplus-featured-details {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 25px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.bplus-featured-details span {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    color: #515967;
    font-size: 12px;
    line-height: 1.5;
}

.bplus-featured-details i {
    margin-top: 2px;
    color: var(--gold);
}

.bplus-featured-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-top: auto;
    padding-top: 25px;
}

.bplus-benefit-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.bplus-benefit-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #59616d;
    font-size: 11px;
}

.bplus-benefit-list i {
    color: var(--gold);
    font-size: 9px;
}

.bplus-primary-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 23px;
    background: var(--gold);
    color: #fff !important;
    text-decoration: none;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition:
        background .2s ease,
        transform .2s ease;
}

.bplus-primary-action:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
}


/* =========================================================
   UPCOMING CLASS GRID
========================================================= */

.bplus-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.bplus-heading-row > div:first-child {
    display: block;
}

.bplus-view-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bplus-view-tools select {
    min-height: 42px;
    padding: 0 38px 0 14px;
    border: 1px solid #dedbd5;
    background: #fff;
    color: #555e6c;
    font-size: 11px;
    outline: none;
}

.bplus-view-toggle {
    display: flex;
    border: 1px solid #dedbd5;
    background: #fff;
}

.bplus-view-toggle button {
    width: 42px;
    height: 40px;
    border: 0;
    border-right: 1px solid #dedbd5;
    background: transparent;
    color: #8a8f97;
    cursor: pointer;
}

.bplus-view-toggle button:last-child {
    border-right: 0;
}

.bplus-view-toggle button.is-active {
    background: var(--navy);
    color: #fff;
}

.bplus-class-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.bplus-class-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e2dc;
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.bplus-class-card:hover {
    transform: translateY(-4px);
    border-color: #d8cfbd;
    box-shadow: 0 18px 38px rgba(22,30,44,.09);
}

.bplus-card-image {
    height: 190px;
}

.bplus-card-image .bplus-image-placeholder {
    min-height: 190px;
    font-size: 38px;
}

.bplus-card-image .bplus-date-tile {
    top: 14px;
    left: 14px;
    width: 57px;
}

.bplus-format-badge {
    position: absolute;
    right: 13px;
    bottom: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    background: rgba(16,24,39,.91);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bplus-format-badge i {
    color: #d4b16a;
}

.bplus-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 23px 22px 21px;
}

.bplus-card-body h3 {
    margin: 0;
    color: var(--ink);
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.bplus-card-body > p {
    margin: 11px 0 17px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}

.bplus-card-facts {
    display: grid;
    gap: 9px;
    margin-top: auto;
    padding: 16px 0;
    border-top: 1px solid #efede8;
}

.bplus-card-facts span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #5f6671;
    font-size: 10px;
    line-height: 1.45;
}

.bplus-card-facts i {
    width: 13px;
    margin-top: 2px;
    color: var(--gold);
}

.bplus-card-body > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 15px;
    color: var(--ink);
    text-decoration: none;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bplus-card-body > a i {
    color: var(--gold);
    transition: transform .2s ease;
}

.bplus-card-body > a:hover i {
    transform: translateX(4px);
}


/* =========================================================
   LIST VIEW
========================================================= */

.bplus-class-grid.is-list {
    grid-template-columns: 1fr;
}

.bplus-class-grid.is-list .bplus-class-card {
    display: grid;
    grid-template-columns: 260px 1fr;
}

.bplus-class-grid.is-list .bplus-card-image {
    height: 100%;
    min-height: 215px;
}

.bplus-class-grid.is-list .bplus-card-body {
    padding: 27px 30px;
}


/* =========================================================
   FILTER EMPTY
========================================================= */

.bplus-empty-filter {
    padding: 60px 20px;
    text-align: center;
}

.bplus-empty-filter > i {
    color: var(--gold);
    font-size: 28px;
}

.bplus-empty-filter h3 {
    margin: 15px 0 7px;
    font-size: 23px;
}

.bplus-empty-filter p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 13px;
}

.bplus-empty-filter button {
    padding: 11px 17px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}


/* =========================================================
   BROWSE BY PROGRAM
========================================================= */

.bplus-program-browser {
    padding: 82px 0 90px;
    background: var(--navy);
    color: #fff;
}

.bplus-program-browser header {
    max-width: 590px;
    margin-bottom: 34px;
}

.bplus-program-browser header h2 {
    margin: 8px 0 9px;
    color: #fff;
    font-size: clamp(29px, 3vw, 40px);
    letter-spacing: -.035em;
}

.bplus-program-browser header p {
    margin: 0;
    color: rgba(255,255,255,.55);
    font-size: 13px;
}

.bplus-program-links {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid rgba(255,255,255,.12);
    border-left: 1px solid rgba(255,255,255,.12);
}

.bplus-program-links > a {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 23px 21px;
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
    transition: background .2s ease;
}

.bplus-program-links > a:hover {
    background: rgba(255,255,255,.045);
}

.bplus-program-icon {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    border: 1px solid rgba(208,171,93,.35);
    color: #d0ab5d;
    font-size: 12px;
}

.bplus-program-links strong {
    display: block;
    padding-right: 20px;
    font-size: 12px;
    line-height: 1.45;
}

.bplus-program-links small {
    display: block;
    margin-top: 7px;
    color: rgba(255,255,255,.43);
    font-size: 9px;
}

.bplus-program-links > a > i {
    position: absolute;
    right: 18px;
    bottom: 20px;
    color: #caa45a;
    font-size: 10px;
    transition: transform .2s ease;
}

.bplus-program-links > a:hover > i {
    transform: translateX(4px);
}

.bplus-program-links .bplus-all-programs {
    background: var(--gold);
}

.bplus-program-links .bplus-all-programs:hover {
    background: var(--gold-dark);
}

.bplus-all-programs .bplus-program-icon {
    border-color: rgba(255,255,255,.35);
    color: #fff;
}

.bplus-program-links .bplus-all-programs small,
.bplus-program-links .bplus-all-programs > i {
    color: rgba(255,255,255,.75);
}


/* =========================================================
   NO UPCOMING CLASSES
========================================================= */

.bplus-empty-page {
    min-height: 500px;
    display: grid;
    place-items: center;
    padding: 100px 0;
    background: #f8f8f6;
    text-align: center;
}

.bplus-empty-page .bplus-shell {
    max-width: 650px;
}

.bplus-empty-page > div > i {
    margin-bottom: 22px;
    color: var(--gold);
    font-size: 38px;
}

.bplus-empty-page h1 {
    margin: 10px 0;
    color: var(--ink);
    font-size: 38px;
    letter-spacing: -.04em;
}

.bplus-empty-page p {
    margin: 0 auto 27px;
    color: var(--muted);
}

.bplus-empty-page a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 14px 20px;
    background: var(--gold);
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 1050px) {

    .bplus-hero-grid {
        grid-template-columns: 1.2fr .8fr;
        gap: 45px;
    }

    .bplus-class-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bplus-program-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .bplus-filter-bar {
        grid-template-columns: 1.4fr 1fr 1fr;
    }

    .bplus-filter-bar label {
        border-bottom: 1px solid var(--line);
    }

    .bplus-filter-bar button {
        min-height: 52px;
        margin: 8px 0 0;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 760px) {

    .bplus-shell {
        width: min(100% - 30px, 1180px);
    }

    .bplus-hero {
        min-height: auto;
    }

    .bplus-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 72px 0 100px;
    }

    .bplus-hero-copy h1 {
        font-size: clamp(43px, 13vw, 61px);
    }

    .bplus-hero-lead {
        margin: 20px 0 25px;
        font-size: 15px;
    }

    .bplus-hero-benefits {
        display: grid;
        gap: 10px;
    }

    .bplus-countdown {
        max-width: 430px;
        padding: 24px;
    }

    .bplus-filter-wrap {
        margin-top: -48px;
    }

    .bplus-filter-bar {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .bplus-filter-bar label {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .bplus-filter-bar button {
        width: 100%;
        margin: 10px 0 0;
        min-height: 50px;
    }

    .bplus-section {
        padding: 68px 0;
    }

    .bplus-featured-section {
        padding-top: 82px;
    }

    .bplus-featured-card {
        grid-template-columns: 1fr;
    }

    .bplus-featured-visual {
        height: 270px;
    }

    .bplus-featured-content {
        padding: 30px 24px;
    }

    .bplus-featured-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .bplus-primary-action {
        width: 100%;
    }

    .bplus-heading-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .bplus-view-tools {
        width: 100%;
        justify-content: space-between;
    }

    .bplus-class-grid {
        grid-template-columns: 1fr;
    }

    .bplus-card-image {
        height: 235px;
    }

    .bplus-class-grid.is-list .bplus-class-card {
        display: flex;
    }

    .bplus-class-grid.is-list .bplus-card-image {
        height: 220px;
        min-height: 0;
    }

    .bplus-program-links {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================================================
   RESPONSIVE — SMALL PHONE
========================================================= */

@media (max-width: 480px) {

    .bplus-shell {
        width: calc(100% - 24px);
    }

    .bplus-hero-grid {
        padding-top: 55px;
    }

    .bplus-hero-copy h1 {
        font-size: 42px;
    }

    .bplus-countdown-time strong {
        font-size: 27px;
    }

    .bplus-featured-visual {
        height: 225px;
    }

    .bplus-featured-content {
        padding: 27px 20px;
    }

    .bplus-featured-details {
        display: grid;
    }

    .bplus-benefit-list {
        display: grid;
    }

    .bplus-section-heading h2,
    .bplus-program-browser header h2 {
        font-size: 29px;
    }

    .bplus-view-tools select {
        flex: 1;
        min-width: 0;
    }

    .bplus-program-links {
        grid-template-columns: 1fr;
    }

    .bplus-program-links > a {
        min-height: 125px;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.bplus-page a:focus-visible,
.bplus-page button:focus-visible,
.bplus-page input:focus-visible,
.bplus-page select:focus-visible {
    outline: 3px solid rgba(184,142,58,.32);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .bplus-page *,
    .bplus-page *::before,
    .bplus-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
