/* Partners (org logos) block */

.tl-partners img { max-width: 100%; height: auto; display: block; }

.tl-partners {
    background: #eaebe6;
    padding: 120px 24px;
}
.tl-partners__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 96px;                       /* Figma section itemSpacing */
}

/* ── Header (two columns: left eyebrow+H2 / right description) ── */
.tl-partners__head {
    display: flex;
    flex-direction: column;
    gap: 64px;                       /* Figma titles itemSpacing (row → divider) */
}
.tl-partners__head-row {
    display: flex;
    flex-direction: row;
    gap: 64px;                       /* Figma title itemSpacing */
    align-items: flex-start;
}
.tl-partners__head-left {
    flex: 0 1 586px;                 /* Figma left frame width */
    display: flex;
    flex-direction: column;
    gap: 32px;                       /* Figma left itemSpacing (eyebrow → H2) */
}
.tl-partners__head-right {
    flex: 0 1 520px;                 /* Figma right frame width */
}
.tl-partners__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;                       /* Figma eyebrow itemSpacing */
    margin: 0;
    font-size: 16px;
    line-height: 21.82px;
    font-weight: 500;
    text-transform: uppercase;
    color: #333a42;
}
.tl-partners__dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #333a42;
    flex: 0 0 auto;
}
.tl-partners__heading {
    margin: 0;
    font-size: 36px;
    line-height: 50.4px;             /* Figma lineHeightPx exact */
    font-weight: 500;
    color: #333a42;
}
.tl-partners__description {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #333a42;
}
.tl-partners__divider {
    width: 100%;
    height: 0;
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(51, 58, 66, 0.2);   /* Figma Line 11 */
}

/* ── Logo row ── */
.tl-partners__logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;                 /* never overflow — wrap if the row gets too tight */
    align-items: center;
    justify-content: space-between;
    gap: 24px;                       /* Figma organizations itemSpacing */
}
.tl-partners__logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tl-partners__logo img {
    height: 80px;                    /* Figma logo height */
    width: auto;
    object-fit: contain;
}

/* ── Responsive ── */
/* Below the 1200 container width the 8 logos get too tight for edge-to-edge —
   center them, add row-gap, and scale them down so they fit / wrap cleanly. */
@media (max-width: 1200px) {
    .tl-partners__logos { justify-content: center; gap: 28px 36px; }
    .tl-partners__logo img { height: 64px; }
}

@media (max-width: 1024px) {
    .tl-partners { padding: 80px 24px; }
    .tl-partners__container { gap: 64px; }
    .tl-partners__head-row { flex-direction: column; gap: 32px; }
    .tl-partners__head-left,
    .tl-partners__head-right { flex: 1 1 auto; max-width: 100%; }
    .tl-partners__logos { flex-wrap: wrap; justify-content: center; gap: 32px 40px; }
}

@media (max-width: 767px) {
    .tl-partners { padding: 48px 16px; }
    .tl-partners__container { gap: 48px; }
    .tl-partners__head { gap: 32px; }
    .tl-partners__heading { font-size: 28px; line-height: 38px; }
    .tl-partners__logos { gap: 24px 32px; }
    .tl-partners__logo img { height: 56px; }
}

@media (max-width: 480px) {
    .tl-partners__logo img { height: 48px; }
    .tl-partners__logos { gap: 20px 24px; }
}
