/* ========================================================
   STILURI PRINCIPALE - PLANTILLĂ WEB UNIVERSALĂ (SEO + AI)
   ======================================================== */

:root {
    --primary-color: #0f2744;
    /* Deep Navy Intelligence */
    --primary-dark: #0a192c;
    --primary-light: #1e3a5f;
    --accent-color: #d97706;
    /* Gold / Amber Accent */

    /* Culori Temă Luminoasă (Default) */
    --bg-main: #f9fafb;
    --bg-card: #ffffff;
    --bg-header: #ffffff;
    --text-main: #1f2a37;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.04);

    /* Fonturi */
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-reading: 'Merriweather', Georgia, serif;

    /* Dimensiuni */
    --container-max: 1300px;
    --border-radius: 8px;
    --reading-font-size: 1.12rem;
}

/* Mod Nocturn / Dark Mode */
body.theme-dark {
    --bg-main: #111827;
    --bg-card: #1f2937;
    --bg-header: #1f2937;
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border-color: #374151;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Mod Sepia (Lectură caldă) */
body.theme-sepia {
    --bg-main: #fbf7ee;
    --bg-card: #f5eedc;
    --bg-header: #f0e6d6;
    --text-main: #3e3223;
    --text-muted: #796854;
    --border-color: #dfd3c3;
}

/* Reset de bază */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-text-size-adjust: 100%;
}

/* Fix critic: deplasare ancoră sub bara fixă */
[id] {
    scroll-margin-top: 85px;
}

body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-ui);
    line-height: 1.6;
    transition: background-color 0.25s ease, color 0.25s ease;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-light);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Topbar Status */
.site-topbar {
    display: none !important;
    background: #090d16;
    color: #94a3b8;
    font-size: 0.75rem;
    border-bottom: 1px solid #1e293b;
    padding: 6px 0;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.topbar-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(14, 165, 233, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
}

.topbar-pulse {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
    animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.topbar-tagline {
    color: #64748b;
    font-size: 0.75rem;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-link {
    color: #94a3b8;
    font-size: 0.75rem;
    transition: color 0.2s ease;
}

.topbar-link:hover {
    color: #38bdf8;
}

.topbar-link code {
    background: #1e293b;
    padding: 1px 5px;
    border-radius: 3px;
    color: #38bdf8;
}

.topbar-sep {
    color: #334155;
}

/* Header & Nav */
.header-top-accent {
    height: 2px;
    background: linear-gradient(90deg, #0284c7 0%, #38bdf8 30%, #10b981 70%, #0284c7 100%);
    width: 100%;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(2, 132, 199, 0.16);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .site-header,
body.theme-dark .site-header {
    background: rgba(9, 14, 26, 0.95);
    border-bottom: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(56, 189, 248, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 66px;
    gap: 16px;
}

.site-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.site-brand:hover {
    transform: translateY(-1px);
}

.site-logo-img {
    height: 42px;
    width: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(2, 132, 199, 0.2));
}

[data-theme="dark"] .site-logo-img,
body.theme-dark .site-logo-img {
    filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.35));
}

/* Theme switching for logo */
body.theme-light .logo-light-mode {
    display: block !important;
}

body.theme-light .logo-dark-mode {
    display: none !important;
}

body.theme-dark .logo-light-mode {
    display: none !important;
}

body.theme-dark .logo-dark-mode {
    display: block !important;
}

body.theme-sepia .logo-light-mode {
    display: block !important;
}

body.theme-sepia .logo-dark-mode {
    display: none !important;
}

/* Navigație Principală Desktop: Pills Interactive */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #334155;
    font-weight: 600;
    font-size: 0.86rem;
    padding: 7px 12px;
    border-radius: 20px;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.main-nav a:hover {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.2);
    transform: translateY(-1px);
}

.main-nav li.active a {
    color: #0284c7;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(14, 165, 233, 0.04) 100%);
    border-color: rgba(2, 132, 199, 0.35);
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
    font-weight: 700;
}

[data-theme="dark"] .main-nav a,
body.theme-dark .main-nav a {
    color: #cbd5e1;
}

[data-theme="dark"] .main-nav a:hover,
body.theme-dark .main-nav a:hover {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
}

[data-theme="dark"] .main-nav li.active a,
body.theme-dark .main-nav li.active a {
    color: #38bdf8;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(2, 132, 199, 0.08) 100%);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

.nav-cat-icon {
    font-size: 0.95rem;
    line-height: 1;
}

/* Căutare Tip Command-Palette */
.header-search {
    flex: 0 1 270px;
    position: relative;
}

.search-form {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid rgba(2, 132, 199, 0.22);
    border-radius: 24px;
    padding: 3px 6px 3px 12px;
    transition: all 0.2s ease;
    gap: 6px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .search-form,
body.theme-dark .search-form {
    background: #0f172a;
    border: 1.5px solid rgba(56, 189, 248, 0.25);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.search-form:focus-within {
    border-color: #0284c7;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18), 0 0 14px rgba(2, 132, 199, 0.12);
}

[data-theme="dark"] .search-form:focus-within,
body.theme-dark .search-form:focus-within {
    border-color: #38bdf8;
    background: #090e1a;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2), 0 0 16px rgba(56, 189, 248, 0.15);
}

.search-submit-icon-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0284c7;
    transition: transform 0.15s ease;
}

[data-theme="dark"] .search-submit-icon-btn,
body.theme-dark .search-submit-icon-btn {
    color: #38bdf8;
}

.search-submit-icon-btn:hover {
    transform: scale(1.15);
}

.search-form input {
    border: none;
    background: transparent;
    padding: 6px 2px;
    width: 100%;
    outline: none;
    font-size: 0.84rem;
    color: var(--text-main);
    font-weight: 500;
}

.search-kbd-shortcut {
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid rgba(2, 132, 199, 0.25);
    color: #0284c7;
    font-size: 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    line-height: 1;
}

[data-theme="dark"] .search-kbd-shortcut,
body.theme-dark .search-kbd-shortcut {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

.search-form button {
    display: none;
}

.ajax-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 350px;
    overflow-y: auto;
    z-index: 1001;
}

.ajax-item {
    display: block;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.ajax-item:hover {
    background: rgba(2, 132, 199, 0.08);
}

.ajax-item small {
    display: block;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-theme-toggle {
    background: #f8fafc;
    border: 1.5px solid rgba(2, 132, 199, 0.22);
    border-radius: 10px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: var(--text-main);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: all 0.2s ease;
}

[data-theme="dark"] .btn-theme-toggle,
body.theme-dark .btn-theme-toggle {
    background: #0f172a;
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

.btn-theme-toggle:hover {
    transform: scale(1.05);
    border-color: #0284c7;
}

.mobile-menu-btn {
    display: none;
    background: #f8fafc;
    border: 1.5px solid rgba(2, 132, 199, 0.22);
    border-radius: 10px;
    width: 38px;
    height: 38px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    transition: all 0.2s ease;
}

[data-theme="dark"] .mobile-menu-btn,
body.theme-dark .mobile-menu-btn {
    background: #0f172a;
    border-color: rgba(56, 189, 248, 0.3);
}

.mobile-menu-btn:hover {
    border-color: #0284c7;
    transform: scale(1.05);
}

.mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    background: #0284c7;
    border-radius: 2px;
    transition: all 0.2s ease;
}

[data-theme="dark"] .mobile-menu-btn span,
body.theme-dark .mobile-menu-btn span {
    background: #38bdf8;
}

/* Hero */
/* ==========================================================================
   BANNER HERO SLIM & GUAPO (SUBȚIRE, FINIT, TEHNOLOGIC)
   ========================================================================== */
.hero-banner-slim {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 249, 255, 0.9) 100%);
    border: 1px solid rgba(2, 132, 199, 0.18);
    border-radius: 14px;
    padding: 20px 28px;
    margin: 20px 0 28px;
    box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .hero-banner-slim {
    background: linear-gradient(135deg, #090e1a 0%, #0d1527 100%);
    border: 1px solid rgba(56, 189, 248, 0.18);
    box-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(56, 189, 248, 0.15);
}

.hero-banner-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 10% 40%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 90% 60%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
}

.hero-banner-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

/* Brand, Titlu & Asset */
.hero-banner-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
    min-width: 0;
}

.hero-asset-box {
    position: relative;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(14, 165, 233, 0.05) 100%);
    border: 1px solid rgba(2, 132, 199, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

[data-theme="dark"] .hero-asset-box {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.2);
}

.hero-emblem-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(2, 132, 199, 0.3));
}

.hero-asset-pulse {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 9px;
    height: 9px;
    background: #10b981;
    border-radius: 50%;
    border: 2px solid var(--bg-card);
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 1.8s infinite;
}

.hero-banner-text {
    flex: 1;
    min-width: 0;
}

.hero-banner-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.hero-badge-tag {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
    padding: 2px 7px;
    border-radius: 4px;
}

[data-theme="dark"] .hero-badge-tag {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}

.hero-meta-sep {
    color: var(--border-color);
    font-size: 0.75rem;
}

.hero-meta-stats {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
}

.hero-title-slim {
    font-size: 1.42rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.hero-desc-slim {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
    max-width: 580px;
}

/* Action: Căutare Finuță & Taguri */
.hero-banner-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex: 0 0 320px;
}

.hero-slim-search {
    display: flex;
    align-items: center;
    width: 100%;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3px 4px 3px 12px;
    transition: all 0.2s ease;
    gap: 8px;
}

.hero-slim-search:focus-within {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

[data-theme="dark"] .hero-slim-search:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

.hero-search-icon {
    font-size: 0.85rem;
    opacity: 0.7;
    flex-shrink: 0;
}

.hero-slim-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.82rem;
    color: var(--text-main);
    outline: none;
    padding: 6px 0;
    min-width: 0;
}

.hero-search-btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.hero-search-btn:hover {
    background: #0369a1;
    transform: scale(1.02);
}

.hero-quick-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.74rem;
}

.hero-qt-label {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.hero-qt-link {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
    padding: 1px 4px;
    border-radius: 3px;
    transition: background 0.15s ease, color 0.15s ease;
}

.hero-qt-link:hover {
    background: rgba(2, 132, 199, 0.1);
    color: #0369a1;
}

[data-theme="dark"] .hero-qt-link {
    color: #38bdf8;
}

[data-theme="dark"] .hero-qt-link:hover {
    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.12);
}

/* Grids */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 20px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.articles-section:first-child .section-header {
    margin-top: 14px;
}

.section-title {
    font-size: 1.5rem;
    color: var(--text-main);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.category-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.category-icon {
    font-size: 2rem;
}

.category-info h3 {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.category-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
}

.article-card-thumb img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.article-card-header {
    padding: 16px 16px 0;
}

.article-badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(26, 86, 219, 0.1);
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 4px;
}

.article-card-body {
    padding: 12px 16px;
    flex: 1;
}

.article-title {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-main);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-card-footer {
    padding: 12px 16px 16px;
}

.read-more-link {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Articol Single (Design Editorial de Elită) */
.single-article {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin: 32px auto 60px;
    max-width: 880px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 auto 20px;
    text-align: center;
    gap: 4px;
}

.breadcrumb-nav .sep {
    margin: 0 4px;
    color: var(--text-muted);
    opacity: 0.7;
}

.article-header {
    text-align: center;
    margin-bottom: 28px;
}

.article-cat-badge {
    display: inline-flex;
    align-items: center;
    margin: 0 auto 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.article-main-title {
    font-size: 2.35rem;
    margin: 14px auto 18px;
    color: var(--text-main);
    line-height: 1.26;
    text-align: center;
    max-width: 820px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0 auto 24px;
    flex-wrap: wrap;
    text-align: center;
}

.reading-controls {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.reading-controls button {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-main);
    transition: all 0.2s;
}

.reading-controls button:hover {
    border-color: #0284c7;
    color: #0284c7;
}

.article-featured-image {
    text-align: center;
    margin: 24px auto 32px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.article-featured-image img {
    width: 100%;
    max-height: 520px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Lead Paragraph (Curat, Elegant, Fără chenare înguste) */
.article-lead {
    font-size: 1.22rem !important;
    line-height: 1.8 !important;
    color: var(--text-main);
    font-weight: 500;
    margin: 24px 0 32px !important;
    text-align: left;
    letter-spacing: -0.01em;
}

/* Dynamic Table of Contents (Cuprins Curat) */
.article-toc-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 22px 26px;
    margin: 32px 0 36px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.toc-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-toggle-btn {
    background: transparent;
    border: none;
    color: #0284c7;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.toc-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 24px;
}

.toc-list li::before {
    counter-increment: toc-counter;
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    color: #0ea5e9;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.toc-list li.toc-level-3 {
    padding-left: 40px;
    font-size: 0.9rem;
}

.toc-list li.toc-level-3::before {
    left: 20px;
    content: "–";
    color: var(--text-muted);
}

.toc-list a {
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.toc-list a:hover {
    color: #0284c7;
    text-decoration: underline;
}

/* Corp Articol & Headings SEO */
.article-content {
    font-family: var(--font-reading);
    font-size: var(--reading-font-size);
    line-height: 1.85;
    color: var(--text-main);
}

.article-content h2 {
    font-family: var(--font-ui);
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 44px 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.article-content h3 {
    font-family: var(--font-ui);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 32px 0 14px;
    color: var(--text-main);
}

.article-content h4 {
    font-family: var(--font-ui);
    font-size: 1.15rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--text-muted);
}

.article-content p {
    margin-bottom: 22px;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    background: var(--bg-main);
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-muted);
}

.article-content code {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    color: #0284c7;
}

.article-content pre {
    background: #090d16;
    color: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    margin: 24px 0;
}

.article-content pre code {
    background: transparent;
    border: none;
    color: inherit;
    padding: 0;
}

/* Card Autor */
.article-author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin: 40px 0 32px;
}

.author-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #090d16;
    padding: 4px;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--text-main);
}

.author-role {
    display: block;
    font-size: 0.8rem;
    color: #0284c7;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0 !important;
    line-height: 1.5;
}

/* Articole Corelate (Related) */
.related-articles-section {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 2px solid var(--border-color);
}

.related-section-header {
    margin-bottom: 24px;
}

.related-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.related-section-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Partajare */
.article-share-box {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    border: none;
    cursor: pointer;
}

.share-wa {
    background: #25d366;
}

.share-fb {
    background: #1877f2;
}

.share-copy {
    background: #4b5563;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 32px;
    margin: 40px 0;
}

.faq-grid {
    display: grid;
    gap: 20px;
}

.faq-item h3 {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-muted);
}

/* Paginare Inteligentă & Responsivă (Mobile-First) */
.pagination-nav {
    display: flex;
    justify-content: center;
    margin: 40px 0 24px;
    width: 100%;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    max-width: 100%;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 7px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    user-select: none;
}

.page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(14, 165, 233, 0.05);
}

.page-link.active {
    background: var(--primary-color);
    color: #ffffff !important;
    border-color: var(--primary-color);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.35);
}

.page-link.prev,
.page-link.next {
    padding: 0 14px;
    font-size: 0.85rem;
    font-weight: 700;
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 38px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    user-select: none;
}

/* Footer High-Tech Architecture */
.site-footer {
    background: #090d16;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    margin-top: 70px;
    padding: 0;
    position: relative;
}

body.theme-dark .site-footer {
    background: #06090e;
    border-top: 1px solid #1e293b;
}

.footer-accent-line {
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #10b981, #0284c7);
    background-size: 300% 100%;
}

.footer-content-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.2fr 1.3fr 1.3fr;
    gap: 40px;
    padding: 50px 24px 40px;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 44px;
    width: auto;
    display: block;
}

.footer-about-text {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-about-text strong {
    color: #e2e8f0;
}

.footer-security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.sec-badge {
    background: #0f172a;
    border: 1px solid #1e293b;
    color: #38bdf8;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'JetBrains Mono', monospace;
}

.footer-contact-info p {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 6px;
}

.footer-contact-info a {
    color: #38bdf8;
}

.footer-contact-info a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

.footer-col-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: #0ea5e9;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(3px);
}

.footer-links code {
    background: #1e293b;
    color: #38bdf8;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.f-icon {
    font-size: 0.95rem;
    line-height: 1;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid #1e293b;
    background: #05080f;
    padding: 22px 0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.85rem;
    color: #64748b;
}

.copyright-text p {
    margin: 0;
    color: #94a3b8;
}

.copyright-text strong {
    color: #f1f5f9;
}

.copyright-subtext {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px !important;
}

.footer-system-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #090d16;
    border: 1px solid #1e293b;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
}

.status-pulse-live {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 1.8s infinite;
}

.status-label {
    color: #94a3b8;
}

.status-label strong {
    color: #10b981;
}

.status-meta {
    color: #475569;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-links a {
    color: #94a3b8;
    font-size: 0.82rem;
}

.footer-bottom-links a:hover {
    color: #38bdf8;
}

.back-to-top-link {
    background: #1e293b;
    color: #38bdf8 !important;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.back-to-top-link:hover {
    background: #0284c7;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Cookie Consent Banner (Mobile First, No Overflow) */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 580px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 20px;
    z-index: 9999;
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner-text {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.cookie-icon {
    font-size: 1.8rem;
}

.cookie-banner-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.cookie-banner-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: #fff;
    border: none;
}

.btn-cookie-decline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 992px) {
    .site-topbar .topbar-tagline {
        display: none;
    }

    .footer-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer-content-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 16px 28px;
    }

    .footer-bottom-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        gap: 8px;
    }
}


/* ========================================================
   STILURI AVANSATE: PAGINI LEGALE, DESPRE, EDITORIAL, CONTACT & SECȚIUNI
   ======================================================== */

.legal-page-container,
.sections-page-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.legal-page-hero,
.sections-hero {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(30, 41, 59, 0.04) 100%);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 36px 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.hero-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0284c7;
    background: rgba(14, 165, 233, 0.12);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.legal-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 10px;
}

.legal-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.legal-content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-section p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-main);
    margin-bottom: 16px;
}

.lead-text {
    font-size: 1.12rem !important;
    font-weight: 500;
    line-height: 1.75 !important;
    color: var(--text-main);
}

.highlight-quote {
    background: rgba(14, 165, 233, 0.06);
    border-left: 4px solid #0284c7;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-main);
    margin: 20px 0;
}

.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.pillar-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pillar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.pillar-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.pillar-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.pillar-card p {
    font-size: 0.9rem !important;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0 !important;
}

.methodology-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.method-step {
    display: flex;
    gap: 18px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
}

.step-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0284c7;
    min-width: 40px;
    line-height: 1;
}

.step-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.step-content p {
    font-size: 0.92rem !important;
    margin-bottom: 0 !important;
    color: var(--text-muted);
}

.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.team-card {
    display: flex;
    gap: 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
}

.team-avatar {
    font-size: 2.2rem;
    line-height: 1;
}

.team-info h4 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--text-main);
}

.team-role {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 8px;
}

.team-info p {
    font-size: 0.88rem !important;
    margin-bottom: 0 !important;
    color: var(--text-muted);
    line-height: 1.5;
}

.pgp-box, .pgp-box-clean {
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid #1e293b;
    border-radius: 10px;
    padding: 24px;
    margin: 24px 0;
}

.pgp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.pgp-title {
    font-weight: 700;
    font-size: 0.98rem;
    color: #38bdf8;
}

.btn-copy-pgp, .btn-copy-pgp-full {
    background: #1e293b;
    border: 1px solid #334155;
    color: #f1f5f9;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-copy-pgp:hover, .btn-copy-pgp-full:hover {
    background: #334155;
    color: #38bdf8;
}

.pgp-code pre, .pgp-public-key-display pre {
    background: #020617;
    padding: 14px;
    border-radius: 6px;
    overflow-x: auto;
    font-family: monospace;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

.pgp-hint {
    font-size: 0.85rem !important;
    color: #94a3b8 !important;
    margin-top: 12px;
    margin-bottom: 0 !important;
}

.legal-highlight-box {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-left: 4px solid #0284c7;
    border-radius: 8px;
    padding: 20px 24px;
    margin: 20px 0;
}

.legal-highlight-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-main);
}

.legal-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.legal-mini-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
}

.legal-mini-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.legal-mini-card p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    color: var(--text-muted);
}

.custom-check-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.custom-check-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--text-main);
}

.custom-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 700;
    color: #10b981;
}

.legal-table-wrapper {
    overflow-x: auto;
    margin: 24px 0;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.legal-table th {
    background: var(--bg-main);
    padding: 12px 16px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.legal-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    line-height: 1.5;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.rights-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.right-item {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-main);
}

.anspdcp-card {
    background: rgba(14, 165, 233, 0.05);
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
}

.anspdcp-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0369a1;
    margin-bottom: 10px;
}

.anspdcp-card p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    line-height: 1.6;
}

/* Contact Page Components */
.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.channel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.channel-icon {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.channel-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.channel-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
}

.channel-link {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0284c7;
    word-break: break-all;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.contact-form-card, .contact-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

.contact-form-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.custom-contact-form .form-group {
    margin-bottom: 18px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.custom-contact-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 6px;
}

.custom-contact-form input,
.custom-contact-form select,
.custom-contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-main);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.custom-contact-form input:focus,
.custom-contact-form select:focus,
.custom-contact-form textarea:focus {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.btn-submit-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0284c7;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-submit-contact:hover {
    background: #0369a1;
}

.alert-box {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    color: #065f46;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #991b1b;
}

.contact-sidebar-card .sidebar-block {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.contact-sidebar-card .sidebar-block:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-block h3, .sidebar-block h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.5;
}

.pgp-fingerprint-badge {
    background: #020617;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    margin: 10px 0;
}

.pgp-fingerprint-badge code {
    color: #38bdf8;
    word-break: break-all;
}

.whistleblowing-advice ul {
    padding-left: 20px;
    margin: 0;
}

.whistleblowing-advice li {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-faq-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
}

.contact-faq-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.faq-item h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Cookie Settings Interactive Panel */
.interactive-cookie-panel {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
}

.cookie-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.cookie-panel-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.cookie-panel-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
}

.cookie-pref-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 20px;
}

.cookie-pref-item:last-of-type {
    border-bottom: none;
}

.cookie-pref-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 4px;
}

.cookie-pref-info p {
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    line-height: 1.5;
}

.cookie-pref-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 80px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #0284c7;
}

input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

.toggle-slider.locked {
    background-color: #10b981 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.toggle-status {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.cookie-panel-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-save-prefs {
    background: #0284c7;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-reset-prefs {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

.cookie-feedback-msg {
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
}

.cookie-feedback-msg.success {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border: 1px solid #10b981;
}

.cookie-feedback-msg.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border: 1px solid #f59e0b;
}

.browser-guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.browser-guide-card {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px;
}

.browser-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 6px;
}

.browser-guide-card p {
    font-size: 0.82rem !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
    line-height: 1.5;
}

/* Sections Page Components */
.sections-stat-bar {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.sec-stat-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 18px;
    display: flex;
    flex-direction: column;
}

.sec-stat-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0284c7;
    line-height: 1.1;
}

.sec-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.sections-cards-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 36px 0;
}

.category-dossier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.category-dossier-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
}

.cat-header-main {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.cat-dossier-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.cat-dossier-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.cat-dossier-title a {
    color: var(--text-main);
    text-decoration: none;
}

.cat-dossier-title a:hover {
    color: #0284c7;
}

.cat-dossier-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.cat-count-badge {
    background: rgba(14, 165, 233, 0.1);
    color: #0284c7;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.cat-recent-preview {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 20px;
}

.preview-title {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.preview-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-articles-list li {
    margin-bottom: 8px;
}

.preview-articles-list li:last-child {
    margin-bottom: 0;
}

.preview-articles-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.preview-articles-list a:hover {
    color: #0284c7;
}

.rec-bullet {
    color: #0284c7;
    font-weight: 700;
}

.rec-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-date {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.btn-browse-category {
    display: inline-block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-browse-category:hover {
    transform: translateX(4px);
    text-decoration: underline;
}

.archive-search-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    margin-top: 40px;
}

.archive-search-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.archive-search-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.archive-search-form {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.archive-search-form input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-main);
    color: var(--text-main);
    font-size: 0.95rem;
    outline: none;
}

.archive-search-form input:focus {
    border-color: #0284c7;
}

.archive-search-form button {
    background: #0284c7;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

/* Action Bar Bottom Links */
.about-action-bar {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.btn-primary-action {
    display: inline-block;
    background: #0284c7;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-primary-action:hover {
    background: #0369a1;
}

.btn-secondary-action {
    display: inline-block;
    background: var(--bg-main);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s;
}

.btn-secondary-action:hover {
    border-color: #0284c7;
    color: #0284c7;
}

/* ========================================================
   OPTIMIZARE RESPONSIVĂ COMPLETĂ (MOBILE-FIRST & TABLET)
   ======================================================== */

html, body {
    overflow-x: hidden;
    width: 100%;
}

@media (max-width: 992px) {
    .site-topbar .topbar-tagline {
        display: none;
    }

    .footer-content-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 14px;
        padding-right: 14px;
        width: 100%;
        max-width: 100%;
    }

    /* Topbar pe mobil */
    .site-topbar {
        font-size: 0.72rem;
        padding: 5px 0;
    }

    .topbar-container {
        flex-direction: column;
        gap: 3px;
        text-align: center;
        align-items: center;
    }

    .topbar-right {
        display: none !important;
    }

    /* Header & Navigație Mobilă (Aerisit, Fără aglomerație) */
    .header-container {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        align-items: center !important;
        gap: 10px 12px !important;
        padding: 10px 0 !important;
        height: auto !important;
    }

    .site-brand {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        margin: 0;
        padding: 0;
    }

    .site-logo-img {
        height: 34px !important;
        max-width: 180px !important;
        width: auto !important;
        display: block !important;
    }

    .header-actions {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        display: flex !important;
        align-items: center;
        gap: 8px;
    }

    .header-search {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .search-form {
        width: 100% !important;
        display: flex !important;
        position: relative !important;
    }

    .search-form input {
        width: 100% !important;
        padding: 11px 16px 11px 40px !important;
        font-size: 0.92rem !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
    }

    .search-submit-icon-btn {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        font-size: 0.95rem;
        cursor: pointer;
        padding: 0;
        z-index: 2;
    }

    .search-kbd-shortcut {
        display: none !important;
    }

    .main-nav {
        display: none;
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        width: 100% !important;
        background: var(--bg-card);
        border: 1px solid var(--border-color);
        border-radius: 10px;
        margin-top: 6px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

    .main-nav.open {
        display: block !important;
        animation: fadeInDown 0.25s ease-out;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 2px;
        padding: 10px;
    }

    .main-nav a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        width: 100%;
        font-size: 0.95rem;
        font-weight: 600;
        border-radius: 6px;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: var(--bg-card);
    }

    /* =========================================================
       HOMEPAGE COMPACTĂ PE MOBIL (PANOU STREAMLINED & OPTIMIZAT)
       ========================================================= */

    /* 1. Hero Banner Slim pe Mobil: Finuț, Elegant, Spațiu Minim */
    .hero-banner-slim {
        padding: 14px 16px !important;
        margin: 10px 0 16px !important;
        border-radius: 12px !important;
    }

    .hero-banner-inner {
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
    }

    .hero-banner-brand {
        gap: 12px !important;
        align-items: center !important;
    }

    .hero-asset-box {
        width: 44px !important;
        height: 44px !important;
    }

    .hero-emblem-img {
        width: 30px !important;
        height: 30px !important;
    }

    .hero-title-slim {
        font-size: 1.15rem !important;
        line-height: 1.25 !important;
        margin: 0 0 2px !important;
    }

    .hero-badge-tag {
        font-size: 0.64rem !important;
        padding: 1px 6px !important;
    }

    .hero-meta-stats {
        font-size: 0.68rem !important;
    }

    .hero-desc-slim {
        font-size: 0.8rem !important;
        line-height: 1.4 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .hero-banner-action {
        flex: none !important;
        width: 100% !important;
        align-items: stretch !important;
        gap: 6px !important;
    }

    .hero-slim-search {
        max-width: 100% !important;
    }

    .hero-quick-tags {
        justify-content: center !important;
        flex-wrap: wrap !important;
    }

    /* 2. Categorii: Panou Orizontal de Tip Pills (Economie Masivă de Spațiu) */
    .categories-section {
        margin: 14px 0 20px !important;
    }

    .categories-section .section-header {
        margin-bottom: 10px !important;
    }

    .categories-section .section-title {
        font-size: 1.05rem !important;
    }

    .categories-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        gap: 8px !important;
        padding: 2px 2px 8px !important;
        margin: 0 !important;
    }

    .categories-grid::-webkit-scrollbar {
        display: none !important;
    }

    .category-card {
        flex: 0 0 auto !important;
        scroll-snap-align: start !important;
        padding: 8px 14px !important;
        border-radius: 24px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--border-color) !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    .category-card:hover {
        transform: none !important;
        border-color: #0284c7 !important;
    }

    .category-icon {
        font-size: 1.1rem !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .category-info h3 {
        font-size: 0.82rem !important;
        font-weight: 700 !important;
        margin: 0 !important;
        white-space: nowrap !important;
        color: var(--text-main) !important;
    }

    .category-info p {
        display: none !important; /* Ascundem paragrafele lungi pe mobil */
    }

    /* 3. Grid Articole & Carduri Feed Compacte pe Mobil (Apple News / Google News Layout) */
    .articles-section {
        margin-bottom: 24px !important;
    }

    .articles-section .section-header {
        margin-bottom: 12px !important;
    }

    .articles-section .section-title {
        font-size: 1.1rem !important;
    }

    .articles-count {
        font-size: 0.75rem !important;
    }

    .articles-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .article-card {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 10px 12px !important;
        gap: 12px !important;
        border-radius: 12px !important;
        background: var(--bg-card) !important;
        border: 1px solid var(--border-color) !important;
        box-shadow: none !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .article-card-thumb {
        order: 2 !important; /* Imagine compactă pe dreapta */
        flex: 0 0 82px !important;
        width: 82px !important;
        height: 82px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    .article-card-thumb a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .article-card-thumb img {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    .article-card-header {
        padding: 0 !important;
        margin-bottom: 4px !important;
    }

    .article-badge {
        font-size: 0.68rem !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
    }

    .article-card-body {
        order: 1 !important;
        flex: 1 1 auto !important;
        padding: 0 !important;
        min-width: 0 !important;
    }

    .article-title {
        font-size: 0.92rem !important;
        line-height: 1.34 !important;
        margin: 0 !important;
        font-weight: 700 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .article-title a {
        color: var(--text-main) !important;
    }

    .article-title a::after {
        content: "" !important;
        position: absolute !important;
        inset: 0 !important;
        z-index: 1 !important;
    }

    .article-card-desc {
        display: none !important; /* Eliminăm textul lung pentru a salva spațiu masiv */
    }

    .article-card-footer {
        display: none !important; /* Tot cardul e clicabil */
    }

    /* 4. Secțiune FAQ Compactă pe Mobil */
    .faq-section {
        padding: 16px 14px !important;
        margin: 20px 0 !important;
        border-radius: 12px !important;
    }

    .faq-section .section-title {
        font-size: 1.05rem !important;
        margin-bottom: 12px !important;
    }

    .faq-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    .faq-item {
        padding: 10px 12px !important;
        background: var(--bg-main) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 8px !important;
    }

    .faq-item h3 {
        font-size: 0.86rem !important;
        margin-bottom: 4px !important;
    }

    .faq-item p {
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
        color: var(--text-muted) !important;
    }

    /* Paginare pe Mobil: Compactă, Fără depășiri */
    .pagination-nav {
        margin: 28px 0 16px;
        width: 100%;
    }

    .pagination {
        gap: 4px;
        padding: 5px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .page-link {
        min-width: 34px;
        height: 36px;
        padding: 0 8px;
        font-size: 0.84rem;
        border-radius: 6px;
    }

    .page-link.prev,
    .page-link.next {
        padding: 0 10px;
        font-size: 0.8rem;
    }

    .page-ellipsis {
        min-width: 20px;
        height: 36px;
        font-size: 0.85rem;
    }

    /* Articol Individual pe Mobil: FĂRĂ CHENARE, FĂRĂ PANOURI ÎNGUSTE, 100% LĂȚIME */
    .single-article {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 8px 0 36px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .article-header {
        text-align: center !important;
        margin: 0 auto 20px !important;
        width: 100% !important;
    }

    .breadcrumb-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 0.8rem !important;
        margin: 0 auto 14px !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    .breadcrumb-nav .current-crumb {
        display: none !important;
    }

    .breadcrumb-nav .sep:last-of-type {
        display: none !important;
    }

    .article-cat-badge {
        display: inline-flex !important;
        margin: 0 auto 12px !important;
        text-align: center !important;
    }

    .article-main-title {
        font-size: 1.65rem !important;
        line-height: 1.32 !important;
        text-align: center !important;
        margin: 10px auto 16px !important;
        font-weight: 800 !important;
        letter-spacing: -0.02em !important;
        width: 100% !important;
    }

    .article-meta-bar {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-size: 0.82rem !important;
        gap: 8px !important;
        margin: 0 auto 20px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
    }

    .reading-controls {
        display: inline-flex !important;
        justify-content: center !important;
        margin: 6px auto 0 !important;
        width: auto !important;
    }

    /* Imagine Principală Centrată */
    .article-featured-image {
        margin: 16px auto 24px !important;
        text-align: center !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }

    .article-featured-image img {
        display: block !important;
        margin: 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 320px !important;
        border-radius: 10px !important;
        object-fit: cover !important;
    }

    /* Lead Paragraph pe Mobil: Fără bară laterală, Lățime plină, Spațios */
    .article-lead {
        font-size: 1.15rem !important;
        line-height: 1.78 !important;
        color: var(--text-main) !important;
        font-weight: 500 !important;
        border: none !important;
        border-left: none !important;
        padding: 0 !important;
        padding-left: 0 !important;
        margin: 18px 0 24px !important;
        text-align: left !important;
        width: 100% !important;
    }

    /* Cuprins (TOC) pe Mobil: Elegant, Compact, Fără chenare sufocante */
    .article-toc-box {
        background: var(--bg-card) !important;
        border: 1px solid var(--border-color) !important;
        border-left: 1px solid var(--border-color) !important;
        border-radius: 10px !important;
        padding: 16px 18px !important;
        margin: 20px 0 28px !important;
        box-shadow: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .toc-title {
        font-size: 1rem !important;
    }

    .toc-list li {
        margin-bottom: 10px !important;
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
    }

    /* Conținut Articol pe Mobil: Paragrafe aerisite, Imagini centrate */
    .article-content {
        font-size: 1.05rem !important;
        line-height: 1.8 !important;
        width: 100% !important;
    }

    .article-content p {
        font-size: 1.05rem !important;
        line-height: 1.8 !important;
        margin-bottom: 22px !important;
        word-break: break-word !important;
    }

    .article-content h2 {
        font-size: 1.45rem !important;
        line-height: 1.35 !important;
        margin: 36px 0 16px !important;
        padding-bottom: 8px !important;
        border-bottom: 1px solid var(--border-color) !important;
        text-align: left !important;
    }

    .article-content h3 {
        font-size: 1.25rem !important;
        line-height: 1.4 !important;
        margin: 28px 0 12px !important;
        text-align: left !important;
    }

    /* Toate Imaginile din Conținut: Centrate Obligatoriu */
    .article-content img {
        display: block !important;
        margin: 24px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 8px !important;
        text-align: center !important;
    }

    .article-content div:has(> img),
    .article-content figure {
        text-align: center !important;
        margin: 24px auto !important;
        width: 100% !important;
    }

    .article-share-box {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
        text-align: center !important;
    }

    .article-share-box .share-btn {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
        padding: 11px !important;
        box-sizing: border-box !important;
    }

    .article-author-card {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px 16px !important;
        gap: 12px !important;
    }

    .related-articles-section .related-grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    /* Pagini Legale & Secțiuni pe Mobil */
    .legal-page-container,
    .sections-page-container {
        padding: 12px 0 40px !important;
        width: 100% !important;
    }

    .legal-page-hero,
    .sections-hero {
        padding: 22px 16px !important;
        border-radius: 12px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
    }

    .legal-title {
        font-size: 1.55rem !important;
        text-align: center !important;
    }

    .legal-meta {
        text-align: center !important;
    }

    .sections-hero h1 {
        font-size: 1.55rem !important;
        text-align: center !important;
    }

    .sections-hero p {
        text-align: center !important;
    }

    .legal-content-card,
    .contact-form-card,
    .contact-sidebar-card {
        padding: 20px 14px !important;
        border-radius: 12px !important;
        border: 1px solid var(--border-color) !important;
        box-shadow: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .about-pillars-grid,
    .team-cards-grid,
    .contact-channels-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-main-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .form-group-row {
        grid-template-columns: 1fr !important;
    }

    .legal-grid-2 {
        grid-template-columns: 1fr !important;
    }

    .sections-stat-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .category-dossier-card {
        padding: 18px 14px !important;
        border-radius: 10px !important;
    }

    .category-dossier-header {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .cat-count-badge {
        align-self: flex-start !important;
    }

    .archive-search-box {
        padding: 22px 14px !important;
    }

    .archive-search-form {
        flex-direction: column !important;
    }

    .archive-search-form button {
        width: 100% !important;
    }

    .interactive-cookie-panel {
        padding: 16px 12px !important;
    }

    .cookie-pref-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .cookie-panel-actions {
        flex-direction: column !important;
    }

    .cookie-panel-actions button {
        width: 100% !important;
    }

    /* Subsol pe Mobil */
    .footer-content-grid {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding: 36px 16px 28px !important;
    }

    .footer-bottom-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 14px !important;
    }

    .footer-bottom-links {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    /* Banner Cookie pe Mobil */
    .cookie-consent-banner {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        padding: 14px !important;
        border-radius: 10px !important;
    }

    .cookie-banner-content {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .cookie-banner-actions {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
    }

    .cookie-banner-actions button {
        flex: 1 !important;
        padding: 10px !important;
    }
}

@media (max-width: 480px) {
    .site-logo-img {
        height: 28px;
        max-width: 160px;
    }

    .legal-title {
        font-size: 1.4rem;
    }

    .article-main-title {
        font-size: 1.4rem !important;
    }

    .sections-stat-bar {
        grid-template-columns: 1fr;
    }

    .page-link {
        min-width: 30px;
        height: 32px;
        font-size: 0.78rem;
        padding: 0 5px;
    }

    .page-link.prev,
    .page-link.next {
        padding: 0 6px;
        font-size: 0.72rem;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   ENLAZADO INTERNO & RETENȚIE DE AUDIENȚĂ (INTERNAL LINKING ARCHITECTURE)
   ========================================================================== */

/* Linkuri Interne Contextuale în Articol */
.article-content a.internal-link {
    color: #0284c7;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 0.15s ease, text-decoration-color 0.15s ease, background-color 0.15s ease;
    border-radius: 2px;
}

[data-theme="dark"] .article-content a.internal-link {
    color: #38bdf8;
    text-decoration-color: rgba(56, 189, 248, 0.4);
}

.article-content a.internal-link:hover {
    color: #0369a1;
    text-decoration-color: #0369a1;
    background-color: rgba(2, 132, 199, 0.08);
}

[data-theme="dark"] .article-content a.internal-link:hover {
    color: #7dd3fc;
    text-decoration-color: #7dd3fc;
    background-color: rgba(56, 189, 248, 0.12);
}

/* Callout Editorial Inline ("Citește și investigația / Dosar Recomandat") */
.inline-read-also {
    margin: 32px 0;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(14, 165, 233, 0.02) 100%);
    border-left: 4px solid #0284c7;
    border-top: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    border-radius: 0 10px 10px 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

[data-theme="dark"] .inline-read-also {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.07) 0%, rgba(15, 23, 42, 0.6) 100%);
    border-left-color: #38bdf8;
}

.inline-read-also:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: #0284c7;
}

.read-also-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.read-also-badge {
    display: inline-flex;
    align-items: center;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

[data-theme="dark"] .read-also-badge {
    background: #0284c7;
    color: #f8fafc;
}

.read-also-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.read-also-title {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.45;
    text-decoration: none !important;
    transition: color 0.15s ease;
}

.read-also-title:hover {
    color: #0284c7;
}

[data-theme="dark"] .read-also-title:hover {
    color: #38bdf8;
}

.read-also-arrow {
    display: inline-block;
    color: #0284c7;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.inline-read-also:hover .read-also-arrow {
    transform: translateX(4px);
}

/* Navigare Secvențială între Dosare (Dosarul Anterior / Dosarul Următor) */
.article-sequential-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 36px 0 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.seq-nav-card {
    display: flex;
    flex-direction: column;
    padding: 18px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.seq-nav-card.seq-prev {
    text-align: left;
}

.seq-nav-card.seq-next {
    text-align: right;
}

.seq-nav-card.seq-empty {
    border: none;
    background: transparent;
    pointer-events: none;
}

.seq-nav-card:hover {
    border-color: #0284c7;
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.seq-nav-direction {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0284c7;
    margin-bottom: 6px;
}

[data-theme="dark"] .seq-nav-direction {
    color: #38bdf8;
}

.seq-nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .article-sequential-nav {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .seq-nav-card.seq-next {
        text-align: left;
    }
    .seq-nav-card.seq-empty {
        display: none;
    }
    .inline-read-also {
        margin: 24px 0;
        padding: 14px 16px;
    }
    .read-also-title {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   PAGINĂ CATEGORIE & HUB EDITORIAL SEO AVANSAT
   ========================================================================== */
.category-hero-enhanced {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 32px 36px;
    margin: 16px 0 32px;
    box-shadow: 0 4px 20px -2px rgba(2, 132, 199, 0.05);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .category-hero-enhanced {
    background: linear-gradient(135deg, #090e1a 0%, #0c1424 100%);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.cat-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cat-badge-chip {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
}

[data-theme="dark"] .cat-badge-chip {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
}

.cat-count-pill {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: 20px;
}

.cat-hero-title-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.cat-hero-icon {
    font-size: 2.2rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

.cat-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.02em;
}

.cat-hero-subtitle {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0284c7;
    margin: 0 0 16px;
    line-height: 1.4;
}

[data-theme="dark"] .cat-hero-subtitle {
    color: #38bdf8;
}

.cat-editorial-prose {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 900px;
}

/* 4 Piloni de Cercetare Tehnologică */
.cat-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
    margin: 20px 0 24px;
}

.cat-pillar-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cat-pillar-card:hover {
    border-color: #0284c7;
    transform: translateY(-2px);
}

.pillar-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    line-height: 1.2;
}

.pillar-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 4px;
    line-height: 1.35;
}

.pillar-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
}

/* Subtopics Bar & Chips */
.cat-subtopics-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
    margin-top: 16px;
    flex-wrap: wrap;
}

.subtopics-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.subtopics-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.subtopic-chip {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.18);
    padding: 3px 10px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.subtopic-chip:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
    transform: translateY(-1px);
}

[data-theme="dark"] .subtopic-chip {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.2);
}

[data-theme="dark"] .subtopic-chip:hover {
    background: #0284c7;
    color: #ffffff;
}

/* Dosar Pilon Recomandat */
.cat-flagship-dossier {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 20px;
    padding: 12px 18px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(2, 132, 199, 0.25);
    border-radius: 8px;
    flex-wrap: wrap;
}

.flagship-label-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.flagship-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: #0284c7;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

[data-theme="dark"] .flagship-tag {
    color: #38bdf8;
}

.flagship-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.15s ease;
}

.flagship-link:hover {
    color: #0284c7;
}

[data-theme="dark"] .flagship-link:hover {
    color: #38bdf8;
}

/* Category FAQ Section */
.category-faq-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 32px 36px;
    margin: 40px 0 20px;
}

/* Responsivitate Categorie pe Mobil */
@media (max-width: 768px) {
    .category-hero-enhanced {
        padding: 18px 16px;
        margin: 12px 0 20px;
        border-radius: 12px;
    }

    .cat-hero-title {
        font-size: 1.45rem;
    }

    .cat-hero-subtitle {
        font-size: 0.88rem;
        margin-bottom: 12px;
    }

    .cat-editorial-prose {
        font-size: 0.88rem;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .cat-pillars-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 14px 0 18px;
    }

    .cat-pillar-card {
        padding: 12px 14px;
    }

    .cat-subtopics-bar {
        padding-top: 14px;
        gap: 8px;
    }

    .category-faq-section {
        padding: 20px 16px;
        margin: 28px 0 16px;
        border-radius: 12px;
    }
}
