/**
 * success-stories.css — Success Stories Page Styles
 * TradeUp BC — v2 Design System
 *
 * Banner styles are intentionally self-contained here (not imported from
 * partner-institutes.css) so future changes to either page stay isolated.
 */


/* =============================================================================
   BANNER
   Full-width background image, label anchored to bottom-left of container.
   ============================================================================= */

.ss-banner {
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
}

.ss-banner .container {
    display: flex;
    align-items: flex-end;
    padding-left: 0;
    padding-right: 0;
}

.ss-banner__label {
    width: 563px;
    max-width: 100%;
    background: transparent linear-gradient(180deg, #FFFFFFCB 0%, #FFFFFF 76%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
    border-radius: 10px 10px 0px 0px;
    padding-top: 30px;
    padding-bottom: 29px;
    padding-left: 41px;
    padding-right: 31px;
}

.ss-banner__title {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 50px;
    letter-spacing: 0px;
    color: #006E51;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}


/* =============================================================================
   MAIN CONTENT WRAP + INTRO COPY
   Scoped to Success Stories template only (this stylesheet).
   ============================================================================= */

.sus_wrap {
    padding-top: 60px;
    padding-bottom: 70px;
}

.sus_wrap .container {
    padding-left: 0;
    padding-right: 0;
}

.sus_wrap h2 {
    margin-bottom: 12px;
}

.sus_wrap .subtitle {
    margin-bottom: 10px;
}

.sus_wrap .signup_lede {
    font: normal normal normal 18px/28px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0.09px;
    color: #3c413f;
    margin-top: 0;
    margin-bottom: 43px;
}


/* =============================================================================
   STORY CARDS GRID
   2 columns, max 654px each, 50px row/column gap.
   All v2-card-story rules are self-contained here (base.css / components.css are
   not loaded on this template) with hard-coded font values matching home.css.
   ============================================================================= */

.v2-stories__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 654px));
    gap: 50px;
    justify-content: center;
    margin-bottom: 40px;
}

.v2-card-story {
    max-width: 654px;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

.v2-card-story__media {
    position: relative;
    width: 100%;
    height: 390px;
    overflow: hidden;
    box-shadow: none;
    border-radius: 0;
}

.v2-card-story__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v2-card-story__badge {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 50px;
    min-width: 236px;
    padding: 0 14px;
    background: #E8C650 0% 0% no-repeat padding-box;
    border: 3px solid #FFFFFF;
    border-top: 0;
    border-left: 0;
    border-radius: 0 0 8px 0;
    font: normal normal 600 20px/28px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0.1px;
    color: #962D00;
    text-transform: uppercase;
    text-align: center;
}

.v2-card-story__body {
    padding: 0;
    margin-top: 9px;
    width: 100%;
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.v2-card-story__name {
    font: normal normal 600 32px/36px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0;
    color: #034B39;
    margin: 0 0 10px 0;
}

.v2-card-story__role {
    font: normal normal 500 22px/28px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0.11px;
    color: #962D00;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.v2-card-story__company {
    font: normal normal 500 22px/28px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0.11px;
    color: #000000;
    margin: 0 0 10px 0;
}

.v2-card-story__quote {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.v2-card-story__quote-icon {
    font-size: 24px;
    line-height: 29px;
    color: #32A07D;
    flex-shrink: 0;
}

.v2-card-story__quote-icon i {
    font-size: inherit;
    color: inherit;
}

.v2-card-story__quote-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.v2-card-story__quote-text {
    font: normal normal normal 18px/28px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0.09px;
    color: #3C413F;
    margin: 0 0 0.5em 0;
}

.v2-card-story__link {
    display: inline-block;
    font: normal normal 600 18px/20px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0;
    color: #005C99;
    text-transform: uppercase;
    text-decoration: underline;
    margin-top: 10px;
}

.v2-card-story__link:hover {
    text-decoration: underline;
}

/* Tablet: collapse to single column */
@media (max-width: 767px) {
    .v2-stories__grid {
        grid-template-columns: 1fr;
    }

    .v2-card-story__media {
        height: 210px;
    }
}


/* =============================================================================
   FULL-BLEED CTA BANNER
   Standalone section below .sus_wrap — same typography as .signup_cta on the
   Signup & Enrollment page but free of any grid parent.
   ============================================================================= */

.ss-cta {
    width: 100%;
    background: url("https://filter-tradeupbc-nexcess.dev.developmentwebsite.ca/wp-content/uploads/2026/03/background-green@2x-scaled.jpg")
        no-repeat center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 40px;
}

.ss-cta__inner {
    max-width: 890px;
    width: 100%;
}

.ss-cta__title {
    font: normal normal 600 32px / 36px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0px;
    color: #FFFFFF;
    text-transform: uppercase;
    text-align: left;
    margin: 0 0 5px;
}

.ss-cta__text {
    font: normal normal 500 22px/32px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0.11px;
    color: #FFFFFF;
    text-align: left;
    margin: 0 0 24px;
}

.ss-cta__btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    font: normal normal 600 20px / 20px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #962d00;
    background: #E8C650;
    border: 2px solid #E8C650;
    border-radius: 8px;
    padding: 14px 32px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.ss-cta__btn:hover {
    background: #962d00;
    color: #fff;
    border-color: #962d00;
}

@media (max-width: 767px) {
    .ss-cta {
        padding: 60px 30px;
        text-align: left;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .ss-cta__btn {
        width: 100%;
        max-width: 330px;
        text-align: center;
        box-sizing: border-box;
    }
}


/* =============================================================================
   RESPONSIVE
   ============================================================================= */

/* Mobile banner image swap */
@media (max-width: 767px) {
    .ss-banner {
        background-image: var(--banner-mobile) !important;
    }
}

/* Large tablet / small desktop */
@media (max-width: 1024px) {
    .ss-banner {
        min-height: 300px;
    }

    .ss-banner__title {
        font-size: 38px;
        line-height: 44px;
    }

    .ss-banner__label {
        padding-left: 28px;
        padding-right: 36px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .ss-banner {
        min-height: 240px;
    }

    .ss-banner .container {
        justify-content: center;
    }

    .ss-banner__label {
        background: transparent linear-gradient(180deg, #FFFFFFCB 0%, #FFFFFF 76%, #FFFFFF 100%) 0% 0% no-repeat padding-box;
        border-radius: 10px 10px 0px 0px;
        text-align: center;
    }
}

/* Under 768px — title typography */
@media (max-width: 767px) {
    .ss-banner__title {
        font: normal normal bold 38px/42px Rubik, sans-serif;
        letter-spacing: 0;
    }
}

/* Small mobile */
@media (max-width: 640px) {
    .ss-banner__label {
        max-width: min(563px, 100%);
        padding-top: 10px;
        padding-bottom: 15px;
        padding-left: 24px;
        padding-right: 24px;
    }
}


/* =============================================================================
   BC DIVIDER
   ============================================================================= */

.hiw-divider-outer {
    width: 100%;
    max-width: 1362px;
    margin-inline: auto;
    padding-inline: 0;
}

@media (max-width: 1362px) {
    .hiw-divider-outer {
        padding-inline: 30px;
    }
}

.hiw-divider-outer .v2-divider-bc {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 56px;
    margin-bottom: 40px;
    width: 100%;
}

.hiw-divider-outer .v2-divider-bc__line {
    display: block;
    flex: 1;
    max-width: 100%;
    height: 2px;
    background-color: #002961;
    min-width: 0;
}

.hiw-divider-outer .v2-divider-bc__logo {
    flex-shrink: 0;
    display: block;
    width: 50px;
    height: auto;
    object-fit: contain;
}


/* =============================================================================
   FAQ SECTION
   ============================================================================= */

.hiw-container {
    width: 100%;
    max-width: 1362px;
    margin-inline: auto;
    padding-inline: 0;
    position: relative;
}

@media (max-width: 1362px) {
    .hiw-container {
        padding-inline: 30px;
    }
}

.v2-faq {
    padding-top: 0;
    padding-bottom: 65px;
    background-color: #fff;
}

.v2-faq__title {
    font: normal normal 600 32px/34px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0;
    color: #034B39;
    text-transform: uppercase;
    margin: 0 0 30px 0;
    text-align: center;
}

.v2-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.v2-faq .v2-accordion__item {
    width: 100%;
    max-width: 1125px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    transition: background-color 0.2s ease;
}

.v2-faq .v2-accordion__item:first-child {
    border-top: none;
}

.v2-faq .v2-accordion__trigger {
    width: 100%;
    padding: 20px 24px 20px 30px;
    background: #EAEBEB;
    border: 1px solid #E8C650;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: background-color 0.2s ease;
}

.v2-faq .v2-accordion__item.is-active .v2-accordion__trigger {
    background: #fff;
    border-color: #E8C650;
    border-bottom-color: transparent;
    border-radius: 8px 8px 0 0;
}

.v2-faq .v2-accordion__question {
    font: normal normal 500 26px/30px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0;
    color: #034B39;
    text-align: left;
}

.v2-faq .v2-accordion__trigger:hover .v2-accordion__question {
    color: #034B39;
}

.v2-faq .v2-accordion__icon {
    flex-shrink: 0;
    color: #962D00;
    background: transparent;
    border-radius: 0;
    transform: none;
    transition: transform 0.3s ease, color 0.2s ease;
}

.v2-faq .v2-accordion__icon i {
    font-size: 26px;
    line-height: 31px;
}

.v2-faq .v2-accordion__item.is-active .v2-accordion__icon {
    color: #32A07D;
    background: transparent;
    transform: rotate(180deg);
}

.v2-faq .v2-accordion__item.is-active .v2-accordion__question {
    color: #034B39;
}

.v2-faq .v2-accordion__panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms ease;
}

.v2-faq .v2-accordion__item.is-active .v2-accordion__panel {
    max-height: 1200px;
}

.v2-faq .v2-accordion__panel-inner {
    padding: 0 30px 20px 30px;
    background: #fff;
    border: 1px solid #E8C650;
    border-top: none;
    border-radius: 0 0 8px 8px;
    font: normal normal normal 18px/28px "Barlow Semi Condensed", sans-serif;
    letter-spacing: 0.09px;
    color: #3C413F;
}

.v2-faq .v2-accordion__panel-inner p {
    margin: 0 0 0.75em 0;
    font: inherit;
    color: inherit;
}

.v2-faq .v2-accordion__panel-inner p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .v2-faq {
        padding-bottom: 65px;
    }

    .v2-faq__title {
        font-size: 26px;
        margin-bottom: 20px;
    }

    .v2-faq .v2-accordion__question {
        font-size: 22px;
        line-height: 26px;
    }
}


/* =============================================================================
   SCROLL FADE-UP
   ============================================================================= */

.v2-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.v2-fade-up.is-inview {
    opacity: 1;
    transform: translateY(0);
}
