/* =========================================
   LOGO – Tageszeitungs-Masthead
   Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Logo-Text nicht groesser als Logo-Icon
   ========================================= */

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Logo nur Base-Primary-Font */
.base-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-family-primary);
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-headline);
    text-decoration: none;
    letter-spacing: var(--letter-spacing-masthead);
    line-height: 1;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance, @skill-feedback-widget | Masthead-Gutter links wie Content (40/48) */
.base-nav-masthead {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem 2px 0.85rem 40px;
    box-sizing: border-box;
    border-bottom: 3px double var(--color-border);
}

@media (min-width: 600px) {
    /* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance, @skill-feedback-widget | Masthead links 48px / rechts 16px ab 600px */
    .base-nav-masthead {
        padding-left: 48px;
        padding-right: 16px;
    }
}

@media (min-width: 1024px) {
    /* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance, @skill-feedback-widget | Masthead links 48px / rechts 20px ab 1024px */
    .base-nav-masthead {
        padding-left: 48px;
        padding-right: 20px;
    }
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Logo zentriert in Masthead-Grid */
.base-nav-masthead > .base-nav-logo {
    grid-column: 2;
    justify-self: center;
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Hamburger oben rechts in Masthead-Grid, Mobile-First sichtbar */
.base-nav-masthead > .base-nav-menu-toggle,
#mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-column: 3;
    justify-self: end;
    position: relative;
    z-index: 10003;
    margin: 0;
}

@media (min-width: 1024px) {
    /* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Hamburger auf Desktop ausblenden */
    .base-nav-masthead > .base-nav-menu-toggle,
    #mobile-nav-toggle {
        display: none;
    }
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Masthead-Logo nur Base-Primary-Font */
.base-nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-family-primary);
    font-size: 1.375rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-headline);
    text-decoration: none;
    letter-spacing: var(--letter-spacing-masthead);
    text-align: center;
    line-height: 1;
}

.base-logo-icon {
    display: block;
    width: 36px;
    height: 36px;
    max-width: 36px;
    max-height: 36px;
    flex-shrink: 0;
}

.base-nav-logo .base-logo-icon {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
}

.base-logo-text {
    display: inline;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: var(--color-headline);
    text-transform: none;
}

@media (max-width: 575px) {
    /* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance, @skill-feedback-widget | Mobile Masthead links 40px wie Content */
    .base-nav-masthead {
        padding: 0.75rem 2px 0.65rem 40px;
    }

    .base-nav-logo {
        max-width: calc(100vw - 88px);
        font-size: 1.125rem;
    }

    .base-nav-logo .base-logo-icon {
        width: 28px;
        height: 28px;
        max-width: 28px;
        max-height: 28px;
    }

    .base-logo {
        max-width: calc(100vw - 40px);
        font-size: 1.125rem;
    }

    .base-logo-icon {
        width: 24px;
        height: 24px;
        max-width: 24px;
        max-height: 24px;
    }
}
