/* =========================================
   HEADLINE WIDGETS – Tageszeitung
   Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Editorial-Typografie: Tracking, Ligaturen, Rubrik-Linien
   ========================================= */

.base-headline-h1,
.base-headline-h2,
.base-headline-h3,
.base-headline-hero-h1-title,
.base-headline-section-h2-title,
.base-headline-tile-h3-title,
.base-headline-cta-h2-title {
    font-family: var(--font-family-primary);
    color: var(--color-headline);
    font-feature-settings: "kern" 1, "liga" 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.base-headline-h1 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-headline);
    margin-bottom: 0.75rem;
    max-width: 100%;
    text-wrap: balance;
}

.base-headline-h2 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-headline);
    letter-spacing: var(--letter-spacing-section);
    margin-bottom: 0.65rem;
    max-width: 100%;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.4rem;
}

.base-headline-h3 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-headline);
    letter-spacing: 0.005em;
    margin-bottom: 0.5rem;
    max-width: 100%;
}

.base-headline-h4 {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.35rem;
    color: var(--color-headline);
    text-transform: uppercase;
    letter-spacing: var(--letter-spacing-nav);
}

/* Änderungsprotokoll: 2026-08-01 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-Rahmen mit Haarlinie (ohne Schatten) */
.base-headline-hero-h1 {
    margin-bottom: 0.95rem;
    max-width: 100%;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.55rem;
}

.base-headline-hero-h1::after {
    content: none;
    display: none;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Hero-H1 kleiner (--font-size-xl statt 2xl) */
.base-headline-hero-h1-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin: 0;
    max-width: 100%;
    white-space: normal;
    color: var(--color-headline);
    letter-spacing: var(--letter-spacing-headline);
    text-wrap: balance;
}

.base-headline-section-h2 {
    margin-bottom: 0.85rem;
    max-width: 100%;
}

.base-headline-section-h2::after {
    content: none;
    display: none;
}

/* Änderungsprotokoll: 2026-08-15 | parent-agent | @skill-css-rules, @skill-change-provenance | Section-H2 näher an Hero-H1 via --font-size-section */
.base-headline-section-h2-title {
    font-size: var(--font-size-section);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-headline);
    margin: 0;
    max-width: 100%;
    letter-spacing: var(--letter-spacing-section);
    border-bottom: 3px double var(--color-border);
    padding-bottom: 0.4rem;
    text-wrap: balance;
}

.base-headline-tile-h3 {
    margin-bottom: 0;
    max-width: 100%;
    min-width: 0;
    flex: 1;
}

.base-headline-tile-h3-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-headline);
    letter-spacing: 0.005em;
    margin: 0;
    max-width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.base-headline-cta-h2 {
    margin-bottom: 0.65rem;
    max-width: 100%;
    text-align: left;
}

.base-headline-cta-h2-title {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-headline);
    letter-spacing: var(--letter-spacing-section);
    margin: 0;
    max-width: 100%;
    text-wrap: balance;
}
