/* ==========================================================================
   ORF.at Edition (news.SZING.at / Die Blaue Seite) - Stylesheet
   Gottfried Szing Professional Portfolio Homage to Austria's Public Broadcaster
   ========================================================================== */

:root {
    --orf-blue-primary: #396698;
    --orf-blue-dark: #22436d;
    --orf-blue-light: #4f7fac;
    --orf-blue-subtle: #eaf1f8;
    --orf-red: #d0021b;
    --orf-red-hover: #b00216;
    --orf-dark-bg: #1e1e1e;
    --orf-darker-bg: #141414;
    --orf-light-bg: #eef2f6;
    --orf-card-bg: #ffffff;
    --orf-border: #d4dde6;
    --orf-border-light: #e6ecf2;
    --orf-text-primary: #1d1d1b;
    --orf-text-secondary: #5a6673;
    --orf-text-muted: #8492a2;
    --orf-ticker-bg: #f8fafc;
    --orf-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --orf-font-teletext: "VT323", "Courier New", Courier, monospace;
    --orf-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --orf-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --orf-shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --max-width: 1240px;
    --border-radius: 4px;
}

/* Base & Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--orf-light-bg);
}

body {
    font-family: var(--orf-font-sans);
    color: var(--orf-text-primary);
    background-color: var(--orf-light-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Accessibility Skip Link */
.skiplink {
    position: absolute;
    top: -100px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
}
.skiplink:focus {
    top: 10px;
}

/* Page Layout Shell */
.orf-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
    min-height: 100vh;
}

/* ==========================================================================
   1. Network Navigation (Dark Top Bar)
   ========================================================================== */
.orf-network-bar {
    background-color: var(--orf-dark-bg);
    color: #cccccc;
    font-size: 0.82rem;
    font-weight: 500;
    border-bottom: 1px solid #111111;
}

.orf-network-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
}

.orf-network-links {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}
.orf-network-links::-webkit-scrollbar {
    display: none;
}

.orf-network-links a {
    color: #b0b0b0;
    transition: color 0.15s ease;
    padding: 4px 2px;
}
.orf-network-links a:hover,
.orf-network-links a.active {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}
.orf-network-links a.active {
    border-bottom: 2px solid #5286c1;
}

.orf-badge-oesterreich {
    background-color: var(--orf-red);
    color: #ffffff !important;
    padding: 2px 6px !important;
    border-radius: 2px;
    font-size: 0.75rem;
    font-weight: 700;
}

.orf-network-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.orf-version-selector {
    position: relative;
}

.orf-version-btn {
    background: #333333;
    color: #ffffff;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.orf-version-btn:hover {
    background: #444444;
}

.orf-version-dropdown {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: #222222;
    border: 1px solid #444444;
    border-radius: 4px;
    padding: 6px 0;
    min-width: 220px;
    z-index: 1000;
    box-shadow: var(--orf-shadow-lg);
}
.orf-version-dropdown.show {
    display: block;
}
.orf-version-dropdown a {
    display: block;
    padding: 6px 14px;
    color: #ddd;
    font-size: 0.8rem;
}
.orf-version-dropdown a:hover {
    background: #333;
    color: #fff;
    text-decoration: none;
}
.orf-version-dropdown a.current {
    color: #4da3ff;
    font-weight: 700;
}

/* ==========================================================================
   2. Main ORF Blue Header
   ========================================================================== */
.orf-main-header {
    background: linear-gradient(180deg, var(--orf-blue-primary) 0%, var(--orf-blue-dark) 100%);
    color: #ffffff;
    padding: 16px 20px;
    position: relative;
}

.orf-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* Iconic Logo */
.orf-logo-combo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #ffffff;
}
.orf-logo-combo:hover {
    text-decoration: none;
}

.orf-logo-news {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #ffffff;
    line-height: 1;
}

.orf-brick-logo {
    background-color: var(--orf-red);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.15rem;
    padding: 4px 10px;
    border-radius: 3px;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.orf-brick-domain {
    font-size: 0.85rem;
    font-weight: 700;
    margin-left: 2px;
    opacity: 0.9;
}

.orf-header-tagline {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
    letter-spacing: 0.02em;
}

/* Weather & Quick Widgets */
.orf-header-widgets {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.orf-weather-pill {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    position: relative;
    cursor: pointer;
    user-select: none;
}
.orf-weather-pill:hover {
    background: rgba(255, 255, 255, 0.2);
}

.orf-weather-icon {
    font-size: 1.4rem;
}
.orf-weather-temp {
    font-weight: 700;
    font-size: 1rem;
}
.orf-weather-city {
    font-size: 0.78rem;
    opacity: 0.85;
    display: block;
}

.orf-weather-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #ffffff;
    color: var(--orf-text-primary);
    border-radius: 6px;
    box-shadow: var(--orf-shadow-lg);
    width: 220px;
    z-index: 100;
    border: 1px solid var(--orf-border);
}
.orf-weather-dropdown.show {
    display: block;
}
.orf-weather-option {
    padding: 8px 12px;
    font-size: 0.82rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}
.orf-weather-option:hover {
    background: #f0f5fa;
    color: var(--orf-blue-primary);
}

.orf-live-clock {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: right;
    font-feature-settings: "tnum";
    font-variant-numeric: tabular-nums;
}

.orf-teletext-btn {
    background: #000000;
    color: #00ff00;
    font-family: var(--orf-font-teletext);
    font-size: 1.1rem;
    padding: 4px 10px;
    border-radius: 3px;
    border: 1px solid #00ff00;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}
.orf-teletext-btn:hover {
    background: #00ff00;
    color: #000000;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    text-decoration: none;
}

.orf-audio-toggle {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.orf-audio-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   3. Breaking News Ticker (Eilmeldung)
   ========================================================================== */
.orf-breaking-bar {
    background-color: var(--orf-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    height: 38px;
    font-size: 0.88rem;
    overflow: hidden;
    position: relative;
}

.orf-breaking-badge {
    background-color: #8c0010;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0 14px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    letter-spacing: 0.05em;
    font-size: 0.78rem;
    z-index: 2;
    box-shadow: 2px 0 6px rgba(0,0,0,0.2);
}

.orf-breaking-ticker {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 16px;
}

.orf-ticker-text {
    display: inline-block;
    animation: orfMarquee 28s linear infinite;
    cursor: pointer;
    font-weight: 600;
}
.orf-ticker-text:hover {
    animation-play-state: paused;
    text-decoration: underline;
}

@keyframes orfMarquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ==========================================================================
   4. Channel Navigation Bar
   ========================================================================== */
.orf-channel-bar {
    background-color: #ffffff;
    border-bottom: 2px solid var(--orf-border);
    position: sticky;
    top: 0;
    z-index: 900;
    box-shadow: var(--orf-shadow-sm);
}

.orf-channel-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

.orf-channel-list {
    display: flex;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}
.orf-channel-list::-webkit-scrollbar {
    display: none;
}

.orf-channel-item a {
    display: inline-block;
    padding: 12px 14px;
    font-size: 0.92rem;
    font-weight: 600;
    color: #333333;
    border-bottom: 3px solid transparent;
    transition: all 0.15s ease;
}
.orf-channel-item a:hover {
    color: var(--orf-blue-primary);
    text-decoration: none;
}
.orf-channel-item a.active {
    color: var(--orf-blue-primary);
    border-bottom-color: var(--orf-blue-primary);
}

.orf-channel-search {
    display: flex;
    align-items: center;
    padding-left: 10px;
}
.orf-search-input {
    padding: 6px 12px;
    font-size: 0.82rem;
    border: 1px solid var(--orf-border);
    border-radius: 20px;
    outline: none;
    width: 140px;
    transition: width 0.3s ease;
}
.orf-search-input:focus {
    width: 200px;
    border-color: var(--orf-blue-primary);
}

/* ==========================================================================
   5. Main Content Grid (Blaue Seite Layout)
   ========================================================================== */
.orf-main-content {
    padding: 20px 16px 40px 16px;
}

.orf-grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
}

/* Lead Top Story (Der Aufmacher) */
.orf-lead-story {
    background: #ffffff;
    border: 1px solid var(--orf-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--orf-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.orf-lead-story:hover {
    box-shadow: var(--orf-shadow-md);
    border-color: var(--orf-blue-light);
}

.orf-lead-media {
    position: relative;
    background-color: #111;
    overflow: hidden;
}

.orf-lead-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.4s ease;
}
.orf-lead-story:hover .orf-lead-img {
    transform: scale(1.02);
}

.orf-media-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #eeeeee;
    font-size: 0.72rem;
    padding: 3px 8px;
}

.orf-lead-body {
    padding: 20px;
}

.orf-story-cue {
    color: var(--orf-red);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
    display: inline-block;
}

.orf-lead-title {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--orf-text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.orf-lead-teaser {
    font-size: 1.05rem;
    color: var(--orf-text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

.orf-story-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--orf-text-muted);
}
.orf-story-tag {
    background: var(--orf-blue-subtle);
    color: var(--orf-blue-dark);
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 600;
}

/* Secondary 2-Column Grid */
.orf-subgrid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 24px;
}

.orf-card-story {
    background: #ffffff;
    border: 1px solid var(--orf-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: var(--orf-shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.orf-card-story:hover {
    box-shadow: var(--orf-shadow-md);
    border-color: var(--orf-blue-light);
    transform: translateY(-2px);
}

.orf-card-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.orf-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.orf-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: var(--orf-text-primary);
}

.orf-card-teaser {
    font-size: 0.88rem;
    color: var(--orf-text-secondary);
    line-height: 1.45;
    margin-bottom: 12px;
    flex: 1;
}

/* Category Story Stream (Classic Blaue Seite Text Lists) */
.orf-rubrik-section {
    margin-bottom: 32px;
}

.orf-rubrik-header {
    border-bottom: 2px solid var(--orf-blue-primary);
    padding-bottom: 6px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.orf-rubrik-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--orf-blue-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}
.orf-rubrik-title::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 18px;
    background-color: var(--orf-red);
}

.orf-rubrik-more {
    font-size: 0.82rem;
    color: var(--orf-blue-primary);
    font-weight: 600;
}

.orf-story-list {
    list-style: none;
}

.orf-story-list-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--orf-border-light);
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.orf-story-list-item:hover {
    background-color: #f8fafc;
}
.orf-story-list-item:last-child {
    border-bottom: none;
}

.orf-list-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--orf-text-primary);
    line-height: 1.4;
    margin-bottom: 4px;
}
.orf-list-title .cue {
    color: var(--orf-red);
    font-weight: 800;
}

.orf-list-summary {
    font-size: 0.85rem;
    color: var(--orf-text-secondary);
    line-height: 1.45;
}

.orf-list-meta {
    font-size: 0.75rem;
    color: var(--orf-text-muted);
    margin-top: 4px;
}

/* ==========================================================================
   6. Sidebar Widgets (Rechte Spalte)
   ========================================================================== */
.orf-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.orf-widget {
    background: #ffffff;
    border: 1px solid var(--orf-border);
    border-radius: var(--border-radius);
    box-shadow: var(--orf-shadow-sm);
    overflow: hidden;
}

.orf-widget-header {
    background: var(--orf-blue-subtle);
    padding: 10px 14px;
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--orf-blue-dark);
    border-bottom: 1px solid var(--orf-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.orf-widget-body {
    padding: 14px;
}

/* Live Ticker Widget */
.orf-ticker-list {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
}

.orf-ticker-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 0.85rem;
}
.orf-ticker-item:hover {
    background-color: #fafbfc;
}
.orf-ticker-item:last-child {
    border-bottom: none;
}

.orf-ticker-time {
    font-weight: 700;
    color: var(--orf-red);
    font-feature-settings: "tnum";
    white-space: nowrap;
}

.orf-ticker-headline {
    color: var(--orf-text-primary);
    line-height: 1.35;
}
.orf-ticker-headline strong {
    color: var(--orf-blue-dark);
}

/* ZiB 2 Spezial Studio Player Simulator */
.orf-zib-box {
    background: #000000;
    color: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.orf-zib-screen {
    position: relative;
    background: #111111;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.orf-zib-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.orf-zib-overlay-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--orf-red);
    color: #fff;
    font-weight: 900;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 0.05em;
}

.orf-zib-play-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(208, 2, 27, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease, background 0.2s ease;
}
.orf-zib-play-btn:hover {
    transform: scale(1.1);
    background: var(--orf-red);
}

.orf-zib-lowerthird {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.85);
    border-left: 4px solid var(--orf-red);
    padding: 6px 10px;
    font-size: 0.78rem;
}
.orf-zib-name {
    font-weight: 800;
    color: #ffffff;
}
.orf-zib-title {
    color: #ffcc00;
}

.orf-zib-controls {
    padding: 10px;
    background: #1a1a1a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

/* Most Read (Meistgelesen) */
.orf-ranked-list {
    list-style: none;
}

.orf-ranked-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}
.orf-ranked-item:hover {
    color: var(--orf-blue-primary);
}
.orf-ranked-item:last-child {
    border-bottom: none;
}

.orf-rank-number {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--orf-blue-light);
    line-height: 1;
    min-width: 20px;
}

.orf-rank-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
}

/* Teletext Mini Box */
.orf-teletext-mini {
    background: #000000;
    color: #00ffcc;
    font-family: var(--orf-font-teletext);
    padding: 12px;
    border-radius: 4px;
    border: 2px solid #333333;
    font-size: 0.95rem;
    line-height: 1.3;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
.orf-teletext-mini:hover {
    border-color: #00ff00;
}
.orf-tt-header {
    color: #ffff00;
    font-weight: 700;
    border-bottom: 1px dashed #555555;
    padding-bottom: 4px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}
.orf-tt-row {
    margin-bottom: 4px;
}
.orf-tt-num {
    color: #ffffff;
    background: #0000aa;
    padding: 0 4px;
}

/* Contact Fast Action Box */
.orf-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.orf-contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid var(--orf-border);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--orf-text-primary);
    transition: all 0.15s ease;
}
.orf-contact-btn:hover {
    background: var(--orf-blue-subtle);
    border-color: var(--orf-blue-light);
    color: var(--orf-blue-dark);
    text-decoration: none;
}

/* ==========================================================================
   7. Article Reader Modal (Full ORF News Story View)
   ========================================================================== */
.orf-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 30px 16px;
    backdrop-filter: blur(3px);
}
.orf-modal-backdrop.show {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.orf-modal-content {
    background: #ffffff;
    max-width: 860px;
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideUp 0.25s ease-out;
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.orf-modal-header-bar {
    background: var(--orf-blue-primary);
    color: #ffffff;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.orf-modal-close-btn {
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 6px;
    border-radius: 3px;
}
.orf-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.orf-modal-article {
    padding: 30px;
}

.orf-article-breadcrumb {
    font-size: 0.8rem;
    color: var(--orf-text-muted);
    margin-bottom: 12px;
}

.orf-article-kicker {
    color: var(--orf-red);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.orf-article-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--orf-text-primary);
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.orf-article-byline {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--orf-border-light);
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: var(--orf-text-secondary);
}
.orf-byline-author {
    font-weight: 700;
    color: var(--orf-text-primary);
}

.orf-article-lead {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.55;
    color: var(--orf-text-primary);
    margin-bottom: 24px;
}

.orf-article-body {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #2b2b2b;
}
.orf-article-body p {
    margin-bottom: 18px;
}
.orf-article-body h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 28px 0 12px 0;
    color: var(--orf-blue-dark);
}
.orf-article-body ul {
    margin: 0 0 20px 24px;
}
.orf-article-body li {
    margin-bottom: 8px;
}

.orf-fact-box {
    background: var(--orf-blue-subtle);
    border-left: 4px solid var(--orf-blue-primary);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 4px 4px 0;
}
.orf-fact-title {
    font-weight: 800;
    font-size: 0.95rem;
    color: var(--orf-blue-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.orf-quote-box {
    border-left: 4px solid var(--orf-red);
    padding: 14px 20px;
    margin: 24px 0;
    font-style: italic;
    font-size: 1.15rem;
    color: #333333;
    background: #fdf8f8;
}

.orf-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--orf-border);
}
.orf-share-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orf-text-secondary);
}
.orf-share-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1px solid var(--orf-border);
    background: #f8fafc;
}
.orf-share-btn:hover {
    background: #e2e8f0;
}

/* ==========================================================================
   8. Full ORF Teletext Mode Overlay
   ========================================================================== */
.orf-teletext-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000000;
    z-index: 10000;
    overflow-y: auto;
    padding: 20px;
    font-family: var(--orf-font-teletext);
}
.orf-teletext-modal.show {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.orf-tt-screen {
    background: #000000;
    color: #ffffff;
    max-width: 800px;
    width: 100%;
    border: 3px solid #333333;
    padding: 20px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    font-size: 1.35rem;
    line-height: 1.35;
    letter-spacing: 0.05em;
}

.orf-tt-banner {
    display: flex;
    justify-content: space-between;
    background: #0000aa;
    color: #ffffff;
    padding: 4px 8px;
    font-weight: 700;
    margin-bottom: 12px;
}
.orf-tt-yellow { color: #ffff00; }
.orf-tt-cyan { color: #00ffff; }
.orf-tt-green { color: #00ff00; }
.orf-tt-red { color: #ff3333; }
.orf-tt-white { color: #ffffff; }

.orf-tt-keypad {
    max-width: 800px;
    width: 100%;
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.orf-tt-color-buttons {
    display: flex;
    gap: 8px;
}
.orf-tt-color-btn {
    padding: 8px 16px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 4px;
    font-family: var(--orf-font-teletext);
}
.orf-tt-btn-red { background: #ff0000; color: #fff; }
.orf-tt-btn-green { background: #00cc00; color: #000; }
.orf-tt-btn-yellow { background: #ffff00; color: #000; }
.orf-tt-btn-cyan { background: #00ffff; color: #000; }

.orf-tt-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.orf-tt-page-input {
    background: #222;
    color: #00ff00;
    border: 1px solid #00ff00;
    font-family: var(--orf-font-teletext);
    font-size: 1.3rem;
    width: 80px;
    text-align: center;
    padding: 4px;
}
.orf-tt-nav-btn {
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-family: var(--orf-font-teletext);
    font-size: 1.1rem;
}
.orf-tt-nav-btn:hover {
    background: #555;
}
.orf-tt-exit-btn {
    background: #cc0000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 700;
    font-family: var(--orf-font-sans);
    font-size: 0.9rem;
}

/* ==========================================================================
   9. Footer & Impressum
   ========================================================================== */
.orf-footer {
    background-color: var(--orf-blue-dark);
    color: #dbe4ee;
    padding: 30px 20px;
    font-size: 0.85rem;
    border-top: 4px solid var(--orf-red);
}

.orf-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.orf-footer-col h4 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
}

.orf-footer-col ul {
    list-style: none;
}
.orf-footer-col li {
    margin-bottom: 6px;
}
.orf-footer-col a {
    color: #ccd9e8;
}
.orf-footer-col a:hover {
    color: #ffffff;
}

.orf-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.78rem;
}

/* ==========================================================================
   10. Responsive Design
   ========================================================================== */
@media (max-width: 980px) {
    .orf-grid-container {
        grid-template-columns: 1fr;
    }
    .orf-lead-img {
        height: 280px;
    }
    .orf-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .orf-header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .orf-header-widgets {
        width: 100%;
        justify-content: space-between;
    }
    .orf-subgrid-2col {
        grid-template-columns: 1fr;
    }
    .orf-lead-title {
        font-size: 1.45rem;
    }
    .orf-article-title {
        font-size: 1.6rem;
    }
    .orf-footer-grid {
        grid-template-columns: 1fr;
    }
    .orf-tt-screen {
        font-size: 1rem;
        padding: 10px;
    }
}
