/* =============================================
   Featured-in Block — taubenloft/press
   Pixel-perfect from Figma node 1:2578 (#2)
   Frame:      1920×284
   Padding:    64 top / 64 bottom
   Background: #EAEBE6
   ─────────────────────────────────────────────
   Inside: "logos" frame, VERTICAL, itemSpacing 48
     - Heading "Bekannt uns": 36/50.4 weight 500 NunitoSans-Medium #333A42
     - magazines row: HORIZONTAL, itemSpacing 80, center-aligned
   ============================================= */

.tl-press {
    background: #eaebe6;            /* Figma fill */
    color: #333a42;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    padding: 64px 24px;             /* Figma paddingTop/Bottom 64 */
}

.tl-press__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;                      /* Figma logos itemSpacing 48 */
}

.tl-press__heading {
    margin: 0;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', sans-serif;
    font-weight: 500;
    font-size: 36px;                /* Figma fontSize */
    line-height: 50.4px;            /* Figma lineHeightPx */
    letter-spacing: 0;
    text-align: center;
    color: #333a42;
}

.tl-press__logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 80px;                      /* Figma magazines itemSpacing 80 */
}

.tl-press__logos li { margin: 0; }

.tl-press__logos img {
    display: block;
    max-height: 58px;               /* Figma magazines row height (hamburg = tallest) */
    width: auto;
    height: auto;
    object-fit: contain;
}
/* Per-Figma sizes: each logo has its own natural display height */
.tl-press__logos img[src*="taz"]            { max-height: 56px; }
.tl-press__logos img[src*="frankfurter"]    { max-height: 40px; }   /* shorter (just wordmark) */
.tl-press__logos img[src*="hamburg"]        { max-height: 58px; }

/* Safety defaults */
.tl-press img { max-width: 100%; }

/* ── Tablet ≤1024 ─────────────────────────────────── */
@media (max-width: 1024px) {
    .tl-press { padding: 56px 32px; }
    .tl-press__container { gap: 36px; }
    .tl-press__heading { font-size: 30px; line-height: 1.25; }
    .tl-press__logos { gap: 48px; }
}

/* ── Mobile — Figma node 1:2599 (440×335) ───────────
   padding:  48 top / 48 bottom (no horizontal)
   logos gap: 32 (heading ↔ magazines)
   Heading:  24/28.8 weight 600 (SemiBold) — DIFFERENT from desktop 500
   magazines: VERTICAL stack, itemSpacing 32
   Logo h:   38
*/
@media (max-width: 767px) {
    .tl-press { padding: 48px 20px; }
    .tl-press__container { gap: 32px; }
    .tl-press__heading {
        font-size: 24px;
        line-height: 28.8px;
        font-weight: 600;            /* Figma SemiBold on mobile */
    }
    .tl-press__logos {
        gap: 32px;
        flex-direction: column;
    }
    /* Figma 2026-05 mobile (frame #2 @440): all 3 logos render at h=38 */
    .tl-press__logos img                          { max-height: 38px; }
    .tl-press__logos img[src*="taz"]              { max-height: 38px; }
    .tl-press__logos img[src*="frankfurter"]      { max-height: 38px; }
    .tl-press__logos img[src*="hamburg"]          { max-height: 38px; }
}
