/* ================================================================
   Letwork Header Plugin — Styles
   ================================================================ */

/* ── Reset & Container ── */

.lh-header {
    background-color: var(--lh-bg, #fff);
    width: 100%;
}

.lh-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Headline above image ── */

.lh-headline {
    text-align: center;
    padding: 20px 0 16px;
}

.lh-headline__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0D314B;
    margin: 0;
    display: inline;
}

.lh-headline__sub {
    font-size: 1.5rem;
    font-weight: 400;
    color: #0D314B;
    margin: 0;
    display: inline;
    margin-left: 0.5em;
}

/* ── Hero Image Section ── */

.lh-hero {
    position: relative;
}

.lh-hero__inner {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    max-height: var(--lh-max-h, 500px);
}

.lh-hero__figure {
    margin: 0;
    padding: 0;
    line-height: 0;
}

.lh-hero__img {
    width: 100%;
    height: auto;
    max-height: var(--lh-max-h, 500px);
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ── Promo Overlay ── */

.lh-hero__promo {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 40px;
    z-index: 2;
}

.lh-promo__line {
    display: block;
    line-height: 1.2;
}

.lh-promo__prefix {
    font-size: 0.5em;
    font-weight: 400;
    vertical-align: baseline;
    margin-right: 0.3em;
}

.lh-text--sm {
    font-size: 1rem;
}

.lh-text--md {
    font-size: 2rem;
}

.lh-text--lg {
    font-size: 2.75rem;
}

.lh-text--xl {
    font-size: 3.5rem;
}

/* ── CTA Button ── */

.lh-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #F19515, #f5a940);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(241, 149, 21, 0.3);
    transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.lh-hero__cta:hover {
    background: linear-gradient(135deg, #e08610, #F19515);
    color: #fff;
    box-shadow: 0 4px 14px rgba(241, 149, 21, 0.45);
    transform: translateY(-1px);
}

.lh-hero__cta-icon {
    flex-shrink: 0;
}

/* ── Trust Badges ── */

.lh-hero__badges {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    gap: 12px;
    padding: 24px 32px;
    z-index: 2;
    align-items: flex-end;
}

.lh-badge {
    display: block;
    width: 120px;
    height: 130px;
    text-decoration: none;
    line-height: 0;
    transition: transform 0.2s ease;
    flex: 0 0 auto;
}

a.lh-badge:hover {
    transform: scale(1.05);
}

.lh-badge__img {
    display: block;
    height: 130px;
    width: 120px;
    max-width: 120px;
    object-fit: contain;
}

/* ── Text below image ── */

.lh-below {
    padding: 16px 0;
    text-align: center;
}

.lh-below__text {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
}

.lh-below__text strong {
    font-weight: 600;
}

/* ── Press / Known from ── */

.lh-press {
    padding: 12px 0 20px;
    border-top: 1px solid #eee;
}

.lh-press__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.lh-press__label {
    font-size: 0.85rem;
    color: #666;
    white-space: nowrap;
}

.lh-press__logos {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.lh-press__logo {
    height: 22px;
    width: auto;
    object-fit: contain;
    filter: grayscale(0);
    opacity: 0.85;
}

.lh-press__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #333;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 6px 14px;
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.lh-press__cta:hover {
    border-color: #0D314B;
    color: #0D314B;
}

.lh-press__cta-icon {
    flex-shrink: 0;
}

/* ================================================================
   Responsive — Tablet (max 1024px)
   ================================================================ */

@media (max-width: 1024px) {
    .lh-hero__promo {
        padding: 24px 28px;
    }

    .lh-text--md {
        font-size: 1.6rem;
    }

    .lh-text--lg {
        font-size: 2.2rem;
    }

    .lh-text--xl {
        font-size: 2.8rem;
    }

    .lh-badge {
        width: 96px;
        height: 100px;
    }

    .lh-badge__img {
        height: 100px;
        width: 96px;
        max-width: 96px;
    }

    .lh-hero__badges {
        padding: 16px 20px;
        gap: 8px;
    }
}

/* ================================================================
   Responsive — Mobile (max 768px)
   ================================================================ */

@media (max-width: 768px) {
    .lh-headline {
        text-align: left;
        padding: 26px 0 19px;
    }

    .lh-headline__title {
        font-size: 1.1rem;
        display: block;
        text-align: center;
    }

    .lh-headline__sub {
        font-size: 0.875rem;
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }

    .lh-hero__inner {
        border-radius: 6px;
        max-height: none;
    }

    .lh-hero__img {
        max-height: none;
        aspect-ratio: 4 / 3;
    }

    /* Move promo below image on mobile */
    .lh-hero__promo {
        position: static;
        padding: 20px 0 0;
    }

    .lh-text--sm {
        font-size: 0.9rem;
    }

    .lh-text--md {
        font-size: 1.5rem;
    }

    .lh-text--lg {
        font-size: 2rem;
    }

    .lh-text--xl {
        font-size: 2.5rem;
    }

    .lh-hero__cta {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1.05rem;
    }

    /* Move badges below image on mobile */
    .lh-hero__badges {
        position: static;
        justify-content: center;
        padding: 16px 0 0;
    }

    .lh-badge {
        width: 88px;
        height: 72px;
    }

    .lh-badge__img {
        height: 72px;
        width: 88px;
        max-width: 88px;
    }

    .lh-below {
        text-align: center;
    }

    .lh-press__inner {
        flex-direction: column;
        gap: 10px;
    }

    .lh-press__logos {
        gap: 10px;
    }

    .lh-press__logo {
        height: 18px;
    }
}

/* ================================================================
   Responsive — Small Mobile (max 480px)
   ================================================================ */

@media (max-width: 480px) {
    .lh-container {
        padding: 0 16px;
    }

    .lh-text--lg {
        font-size: 1.6rem;
    }

    .lh-text--xl {
        font-size: 2rem;
    }

    .lh-text--md {
        font-size: 1.25rem;
    }

    .lh-badge__img {
        height: 140px;
        max-width: 72px;
    }
}
