/* ==========================================================================
   Careers — Mission intro ([thermal_mission])
   Extracted from style.css (was inline). Enqueued conditionally via
   thermal_enqueue_shortcode_styles() in functions.php.
   ========================================================================== */

/* ==========================================================================
   Careers — Mission intro ([thermal_mission])
   Left "OUR MISSION" text block + right Achievements card.
   ========================================================================== */
.thermal-mission {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 48px;
}

.thermal-mission__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.thermal-mission__eyebrow {
    display: block;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.2;
    color: #249e80;
}

.thermal-mission__heading {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.35;
    color: #ffffff;
}

.thermal-mission__heading span { display: block; }

.thermal-mission__body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 15px;
    line-height: 1.6;
    color: #d3d3d3;
}

.thermal-mission__body p { margin: 0 0 1em; }
.thermal-mission__body p:last-child { margin-bottom: 0; }

/* Achievements card (right column) */
.thermal-achievements {
    align-self: start;
}

.thermal-achievements__head,
.thermal-achievements__item {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    column-gap: 16px;
    align-items: center;
}

.thermal-achievements__head {
    padding: 12px 12px 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 10px;
    letter-spacing: 2.1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

.thermal-achievements__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.thermal-achievements__item {
    padding: 20px 12px 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.thermal-achievements__item .thermal-achievements__no {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #d9d9d9;
}

.thermal-achievements__item .thermal-achievements__year {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.thermal-achievements__item .thermal-achievements__rec {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    letter-spacing: -0.15px;
    color: #ffffff;
}

.thermal-achievements__head .thermal-achievements__by,
.thermal-achievements__item .thermal-achievements__by {
    justify-self: end;
    text-align: right;
}

.thermal-achievements__item .thermal-achievements__by {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

/* Linked award rows ([thermal_award url="..."]): the anchor wraps the row's
   grid cells via display:contents so the columns are unaffected. #content scope
   resets the parent theme's forced bold/underline content-link styling; hover
   gives the recognition a brand-teal underline (matches the site link pattern). */
#content .thermal-achievements__link {
    display: contents;
    font-weight: 400;
    color: inherit;
}

#content .thermal-achievements__link::after { display: none; }

.thermal-achievements__link span { cursor: pointer; }

#content .thermal-achievements__link:hover .thermal-achievements__rec,
#content .thermal-achievements__link:focus-visible .thermal-achievements__rec {
    text-decoration: underline;
    text-decoration-color: #33ffcc;
    text-underline-offset: 3px;
}

/* Impact rows: no number/year — recognition spans the row */
.thermal-achievements__item--impact { display: block; padding-left: 4px; }
.thermal-achievements__item--impact .thermal-achievements__rec { font-size: 15px; }

/* IMPACT divider between awards and impact stats */
.thermal-achievements__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 2.26px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.thermal-achievements__divider::before,
.thermal-achievements__divider::after {
    content: "";
    flex: 1 1 auto;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.thermal-achievements__footer {
    padding-top: 20px;
    text-align: right;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 2.26px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 992px) {
    .thermal-mission {
        grid-template-columns: 630fr 540fr;
        gap: clamp(48px, 9vw, 130px);
        align-items: start;
    }
}

/* Mobile: drop the № column from the Achievements table (matches mobile comp) */
@media (max-width: 600px) {
    .thermal-achievements__head,
    .thermal-achievements__item {
        grid-template-columns: 44px 1fr auto;
    }
    .thermal-achievements__no { display: none; }
}
