/* ==========================================================================
   Work — Past Clients ([thermal_clients] / [thermal_client])
   Extracted from style.css (was inline). Enqueued conditionally via
   thermal_enqueue_shortcode_styles() in functions.php.
   ========================================================================== */

/* ==========================================================================
   Work — Past Clients ([thermal_clients] / [thermal_client])
   Header + column-header + rows. Row hover mirrors Open Roles (indent + green
   link/arrow + green border). #content scope + ::after reset neutralise the
   parent theme's forced-link styling on the row <a>.
   ========================================================================== */
.thermal-clients {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.thermal-clients__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.thermal-clients__note {
    flex: 0 0 auto;
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 1.4;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: #249e80;
}

.thermal-clients__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 2.12px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.thermal-clients__main,
.thermal-client__main {
    display: flex;
    align-items: center;
    min-width: 0;
}

.thermal-clients__company,
.thermal-client__company { flex: 0 0 264px; width: 264px; }

.thermal-clients__focus,
.thermal-client__focus {
    font-family: 'Roboto Mono', sans-serif;
    flex: 0 0 300px;
    width: 300px;
}

/* Rows */
#content .thermal-client {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 17px;
    min-height: 100px;
    padding: 20px 12px 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

#content .thermal-client::after { display: none; }

#content .thermal-client .thermal-client__company {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    color: #ffffff !important;
}

#content .thermal-client .thermal-client__focus {
    color: #a4a4a4;
    font-family: 'Roboto Mono', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: -0.15px;
}

.thermal-client__web {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

/* Link is always shown in white (no fade/colour-shift reveal). */
#content .thermal-client .thermal-client__url {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.13;
    color: #ffffff !important;
}

.thermal-client__arrow {
    width: 12px;
    height: 12px;
    margin-left: 10px;
    color: #ffffff;
}

/* Hover / focus: no animation/indent — just underline the URL in brand teal
   (matches Open Roles' .thermal-role__cta-text). */
#content .thermal-client:hover .thermal-client__url,
#content .thermal-client:focus-visible .thermal-client__url {
    text-decoration: underline;
    text-decoration-color: #33ffcc;
    text-underline-offset: 4px;
}

/* Mobile Past Clients: stack company/focus, show arrow only (no URL text),
   merge the header labels (matches mobile comp) */
@media (max-width: 600px) {
    .thermal-clients__head .thermal-clients__focus { display: none; }
    .thermal-clients__company { flex: initial; width: auto; }
    .thermal-clients__head .thermal-clients__company::after { content: " & Focus"; }

    .thermal-client__main { flex-direction: column; align-items: flex-start; gap: 6px; }
    #content .thermal-client .thermal-client__company,
    #content .thermal-client .thermal-client__focus { flex: initial; width: auto; }
    #content .thermal-client .thermal-client__url { display: none; }

    .thermal-client__arrow {
        opacity: 1;
        max-width: 12px;
        margin-left: 0;
        color: rgba(255, 255, 255, 0.6);
    }
    #content .thermal-client:hover .thermal-client__arrow,
    #content .thermal-client:focus-visible .thermal-client__arrow { color: #249e80; margin-left: 0; }
}
