/* ==========================================================================
   /integrator.php — partner teaser (V86, Sprint 2 handoff "Certified
   Integrator v2"). Light console: dark-teal ink, orange prompt, the stat
   strip between two 2px dark-teal rules. Metrics are the dummy's.
   ========================================================================== */

.partner-main {
    text-align: left;
    padding-bottom: 72px;
}

.partner-prompt {
    font-family: var(--font-code);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-orange);
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

/* base.css styles every h1 as the centered lowercase brand flex row —
   this one is a plain left-aligned headline */
.partner-title {
    display: block;
    font-family: var(--font-code);
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.2;
    color: var(--dark-teal);
    letter-spacing: -0.02em;
    text-transform: none;
    text-align: left;
    margin: 0 0 14px;
}

.partner-intro {
    font-size: 1.08rem;
    line-height: 1.6;
    color: var(--text-main);
    max-width: 720px;
    margin: 0 0 22px;
}

/* auto-fit + min(100%, 220px): three cells side by side on desktop, wraps
   on tablets, one column at 320px without overflowing */
.partner-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    border-top: 2px solid var(--dark-teal);
    border-bottom: 2px solid var(--dark-teal);
    margin: 0 0 24px;
}

.partner-stat {
    padding: 16px 20px 18px 0;
}

.partner-stat-label {
    font-family: var(--font-code);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    color: var(--text-dim);
}

.partner-stat-value {
    font-family: var(--font-code);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-teal);
}

.partner-cta {
    display: inline-block;
    font-family: var(--font-code);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    background: var(--dark-teal);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 4px;
    text-decoration: none;
}

.partner-cta:hover,
.partner-cta:focus-visible {
    background: var(--brand-blue);
    color: #ffffff;
    text-decoration: none;
}

/* house rule: every element with an explicit display needs this */
.partner-title[hidden],
.partner-stats[hidden],
.partner-cta[hidden] {
    display: none;
}

/* --------------------------------------------------------------------------
   V96 (CT): >_ FOR TEAMS — three one-page PDFs as tiles (handoff 12, variant
   A), markup from src/lib/teams-kit.php. HAND TWIN: this block is identical
   in masterclass.css and integrator.css (verify-v96 compares them); only the
   section's top margin is page-specific (below the block).
   -------------------------------------------------------------------------- */

.teams-panel {
    border: 1px solid var(--border-color);
    background: #fdfdfc;
    border-radius: 6px;
    padding: 26px 24px;
    text-align: left;
}

.teams-title {
    font-family: var(--font-code);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: normal;
    text-transform: none;
    color: var(--dark-teal);
    margin: 0 0 8px;
}

.teams-intro {
    margin: 0 0 20px;
    font-size: 0.98rem;
    color: var(--text-main);
}

/* auto-fit + min(100%, 260px): three tiles side by side on desktop, one
   column at 320px without overflowing */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 16px;
}

.teams-tile {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    border: 1px solid var(--border-color);
    background: #ffffff;
    border-radius: 4px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
}

.teams-tile:hover,
.teams-tile:focus-visible {
    border-color: var(--brand-blue);
    text-decoration: none;
}

/* page 1 of the PDF; width/height attributes reserve the box, height:auto
   keeps the 340:481 ratio at the 84px column width */
.teams-preview {
    display: block;
    width: 84px;
    height: auto;
    aspect-ratio: 340 / 481;
    border: 1px solid var(--border-color);
    border-radius: 2px;
}

.teams-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    min-width: 0;
}

.teams-tag {
    font-family: var(--font-code);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-orange);
    border: 1px solid var(--brand-orange);
    padding: 3px 7px;
}

.teams-name {
    font-family: var(--font-code);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-teal);
    overflow-wrap: anywhere;
}

.teams-desc {
    font-size: 0.92rem;
    color: var(--text-dim);
    line-height: 1.5;
}

.teams-link {
    font-family: var(--font-code);
    font-size: 0.72rem;
    /* #2F7A86 (4.94:1), not the draft's #358691 (4.23:1): small text needs AA */
    color: #2F7A86;
}

/* house rule: every element with an explicit display needs this */
.teams-panel[hidden],
.teams-grid[hidden],
.teams-tile[hidden],
.teams-preview[hidden],
.teams-text[hidden] {
    display: none;
}
/* ---- end of the FOR TEAMS hand twin ---- */

.partner-main .teams-kit {
    margin-top: 56px;
}
