/* ==========================================================================
   Team carousel ([thermal_team] / [thermal_team_card])
   Extracted from style.css (was inline). Enqueued conditionally via
   thermal_enqueue_shortcode_styles() in functions.php.
   ========================================================================== */

/* ==========================================================================
   Team carousel ([thermal_team] / [thermal_team_card])
   Slick (variableWidth) photo cards + custom prev/next arrows (no dots).
   Init: wpk_team_carousel in child-main.js (ready + mutated).
   ========================================================================== */
.thermal-team {
    display: flex;
    flex-direction: column;
    margin: 64px 0;
}

.thermal-team__head { margin-bottom: 24px; }

.thermal-team__title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    color: #ffffff;
}

.thermal-team-slide { margin-right: 8px; }

.thermal-team__card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 350px;
    margin: 0;
}

.thermal-team__photo {
    width: 100%;
    aspect-ratio: 350 / 251;
    border-radius: 2px;
    overflow: hidden;
}

.thermal-team__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.thermal-team__meta {
    display: flex;
    flex-direction: column;
}

.thermal-team__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    color: #ffffff;
}

.thermal-team__role {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.4;
}

/* Custom prev/next arrows */
.thermal-team__nav {
    display: flex;
    gap: 10px;
    margin-top: 26px;
}

.thermal-team__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border: 1px solid #5c5c5c;
    background: transparent;
    color: #5c5c5c;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.thermal-team__arrow svg { width: 21px; height: 21px; }
.thermal-team__arrow--prev svg { transform: rotate(180deg); }

.thermal-team__arrow:hover { color: #ffffff; border-color: #ffffff; }

@media (max-width: 600px) {
    .thermal-team__card { width: 260px; }
}
