.blue-finance-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 70%, #3b82f6 100%);
}

.indigo-scheme {
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 70%, #6366f1 100%);
}

.blue-teal-gradient {
    background: linear-gradient(135deg, #0c4a6e 0%, #0891b2 50%, #06b6d4 100%);
}

.classic-blue-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #60a5fa 100%);
}

.navy-accent-gradient {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 60%, #0ea5e9 100%);
}

.blue-purple-gradient {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #8b5cf6 100%);
}

.hover-effect {
    transition: all 0.3s ease;
}
.hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.modern-card {
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
}
.modern-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: rgba(191, 219, 254, 0.5);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
}

.bg-blue-600, .bg-green-600 {
    color: white !important;
}

a.bg-blue-600, a.bg-green-600 {
    color: white !important;
}

.banner-deep-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 70%, #3b82f6 100%);
}

.banner-blue-indigo {
    background: linear-gradient(135deg, #312e81 0%, #4338ca 70%, #3b82f6 100%);
}

.banner-blue-teal {
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 70%, #0ea5e9 100%);
}

.banner-royal-blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 70%, #3b82f6 100%);
}

.banner-blue-violet {
    background: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 70%, #6366f1 100%);
}

/* Pattern-uri pentru textură */
.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.pattern-dots {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.2' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.pattern-grid {
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M0 0h40v40H0V0zm20 20h20v20H20V20zm0-20h20v20H20V0zM0 20h20v20H0V20z'/%3E%3C/g%3E%3C/svg%3E");
}

.pattern-circuit {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%23ffffff' fill-opacity='0.2' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H42.41L66 217.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62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0 0 0 0 6zm-16 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 180a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0 16a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm0-32a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E");
}

.banner-modern {
    position: relative;
    overflow: hidden;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.banner-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
}

.banner-content {
    position: relative;
    z-index: 10;
}

.banner-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
}

.review-page-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    color: #333;
}

.review-page-container h1 {
    font-size: 2.2em;
    margin-bottom: 0.8em;
    color: #004080;
}

.review-page-container h2 {
    font-size: 1.8em;
    margin-top: 1.5em;
    margin-bottom: 0.6em;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 0.3em;
    color: #004080;
}

.review-page-container h3 {
    font-size: 1.4em;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    color: #004080;
}

.review-page-container a {
    color: #0066cc;
    text-decoration: none;
}

.review-page-container a:hover {
    text-decoration: underline;
}

.review-page-container ul, 
.review-page-container ol {
    margin-left: 20px;
    margin-bottom: 1.5em;
}

.review-page-container li {
    margin-bottom: 0.5em;
}

.summary-box {
    background-color: #f7f9fc;
    border: 1px solid #e0e8f5;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.feature-list {
    list-style-type: none;
    padding-left: 5px;
}

.feature-list li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.feature-list li:before {
    position: absolute;
    left: 0;
    top: 2px;
}

.highlight-box {
    background-color: #e6f0ff;
    border-left: 4px solid #0066cc;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

.bg-blue-50.border-l-4.border-blue-600.p-6.rounded-lg {
    background-color: #e6f0ff;
    border-left-width: 4px;
    border-left-color: #0066cc;
    padding: 1.5rem;
    margin: 20px 0;
    border-radius: 0 0.5rem 0.5rem 0;
}

.cta-button {
    display: inline-block;
    background-color: #004080;
    color: white !important; /* Overriding link color */
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    margin: 20px 0;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #00306b;
    text-decoration: none !important; /* Overriding link hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .review-page-container {
        padding: 15px;
    }
    
    .review-page-container h1 {
        font-size: 1.8em;
    }
    
    .review-page-container h2 {
        font-size: 1.5em;
    }
    
    .review-page-container h3 {
        font-size: 1.3em;
    }
    
    .summary-box {
        padding: 15px;
    }
}

/* footer */
@media (max-width: 768px) {
    /* Pe mobile, fiecare coloană să fie pe linie separată */
    .container .grid.md\\:grid-cols-6 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Reduce padding pe mobile */
    .container .grid.md\\:grid-cols-6 .p-4 {
        padding: 1rem;
    }
    
    /* Adjustează font size pe mobile */
    .container .grid.md\\:grid-cols-6 h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .container .grid.md\\:grid-cols-6 ul li a {
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    /* Pe tablet, 3 coloane */
    .container .grid.md\\:grid-cols-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1280px) and (min-width: 1025px) {
    /* Pe desktop mic, 4-5 coloane */
    .container .grid.md\\:grid-cols-6 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Cards stiri */
.news-card img {
    width: 100%;
    height: 200px; /* Fixed height pentru uniformitate */
    object-fit: cover;
    object-position: center;
}

/* Imagine featured din articol */
.featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .news-card img {
        height: 180px;
    }
    
    .featured-image {
        max-height: 250px;
    }
}
/* ===== Dark mode (html.dark) ===== */
html.dark body { background-color: #0f172a !important; color: #e2e8f0; }
html.dark .bg-white { background-color: #1e293b !important; }
html.dark .bg-gray-50 { background-color: #0f172a !important; }
html.dark .bg-gray-100 { background-color: #1e293b !important; }
html.dark .bg-blue-50, html.dark .bg-cyan-50, html.dark .bg-green-50, html.dark .bg-yellow-50, html.dark .bg-red-50, html.dark .bg-purple-50, html.dark .bg-indigo-50 { background-color: #16233f !important; }
html.dark .text-gray-800, html.dark .text-gray-900 { color: #f1f5f9 !important; }
html.dark .text-gray-700 { color: #e2e8f0 !important; }
html.dark .text-gray-600 { color: #cbd5e1 !important; }
html.dark .text-gray-500 { color: #94a3b8 !important; }
html.dark .border-gray-100, html.dark .border-gray-200, html.dark .border-gray-300 { border-color: #334155 !important; }
html.dark .divide-gray-200 > * + * { border-color: #334155 !important; }
html.dark .shadow-xl, html.dark .shadow-lg, html.dark .shadow-md, html.dark .shadow { box-shadow: 0 10px 25px rgba(0,0,0,0.45) !important; }
html.dark input, html.dark select, html.dark textarea { background-color: #1e293b !important; color: #f1f5f9 !important; border-color: #475569 !important; }
html.dark .modern-card { background-color: #1e293b; border-color: #334155; }

/* Dark mode: header revine la bleumarin închis */
html.dark nav.nav-gradient { background: linear-gradient(90deg, #0f172a 0%, #16233f 60%, #111c33 100%) !important; border-bottom: 1px solid #334155 !important; color: #e2e8f0 !important; }
html.dark nav.nav-gradient .text-white, html.dark nav.nav-gradient .dropdown-button { color: #e2e8f0 !important; }
html.dark nav.nav-gradient .logo-link .text-2xl { color: #f1f5f9 !important; }
html.dark nav.nav-gradient .text-cyan-300 { color: #67e8f9 !important; }
html.dark nav.nav-gradient .text-blue-200 { color: #94a3b8 !important; }
html.dark nav.nav-gradient .hidden.lg\:flex > a:hover, html.dark nav.nav-gradient .dropdown-button:hover { background: rgba(255,255,255,0.08) !important; color: #67e8f9 !important; }
html.dark nav.nav-gradient a.bg-white { background: rgba(255,255,255,0.12) !important; color: #67e8f9 !important; }
html.dark nav.nav-gradient .text-cyan-200 { color: #67e8f9 !important; }
html.dark nav.nav-gradient .dropdown-gradient { background: #1e293b !important; border: 1px solid #334155 !important; }
html.dark nav.nav-gradient .dropdown-item { color: #e2e8f0 !important; border-bottom-color: #334155 !important; }
html.dark nav.nav-gradient .dropdown-item:hover { background: rgba(255,255,255,0.08) !important; color: #67e8f9 !important; }
html.dark #mobileMenu.nav-gradient, html.dark nav.nav-gradient #mobileMenu { background: #0f172a !important; border-top-color: #334155 !important; }
html.dark nav.nav-gradient .mobile-submenu { background: #1e293b !important; }
html.dark nav.nav-gradient .mobile-submenu a { color: #e2e8f0 !important; }
html.dark nav.nav-gradient .border-cyan-400 { border-color: #334155 !important; }
html.dark nav.nav-gradient button svg { color: #e2e8f0; }
html.dark .theme-toggle:hover { background: rgba(255,255,255,0.1); }
html.dark .theme-toggle .icon-sun { color: #fbbf24; }

/* Dark mode: footer */
html.dark footer .footer-gradient { background: #0b1120 !important; border-top: 1px solid #334155 !important; }
html.dark footer > .absolute.top-0 svg path { fill: #0f172a !important; }
html.dark footer.text-white, html.dark footer .text-white { color: #f1f5f9 !important; }
html.dark footer .text-cyan-300 { color: #67e8f9 !important; }
html.dark footer .text-cyan-200 { color: #cbd5e1 !important; }
html.dark footer .text-cyan-100 { color: #94a3b8 !important; }
html.dark footer .text-blue-200 { color: #94a3b8 !important; }
html.dark footer .text-slate-300 { color: #94a3b8 !important; }
html.dark footer .hover\:text-cyan-200:hover, html.dark footer .hover\:text-white:hover { color: #67e8f9 !important; }
html.dark footer .bg-white.bg-opacity-10, html.dark footer .bg-white.bg-opacity-5 { background: #1e293b !important; border: 1px solid #334155 !important; }
html.dark footer .border-cyan-400 { border-color: #334155 !important; }
html.dark footer .bg-cyan-400 { background: #1d4ed8 !important; color: #ffffff !important; }
html.dark footer .border-cyan-300 { border-color: #67e8f9 !important; color: #67e8f9 !important; }
html.dark footer .border-cyan-300:hover { background: rgba(103,232,249,0.1) !important; }

/* Dark mode: legende grafice și carduri cu gradient deschis */
html.dark .legend-item { background: #1e293b !important; color: #e2e8f0 !important; border: 1px solid #334155; }
html.dark .legend-item strong { color: #f1f5f9 !important; }
html.dark .bg-gradient-to-r.from-blue-50.to-cyan-50,
html.dark .bg-gradient-to-r.from-blue-50,
html.dark .bg-gradient-to-br.from-blue-50,
html.dark .from-blue-50 { background: #16233f !important; background-image: none !important; }
html.dark canvas { filter: none; }

/* ===== Dark mode: breadcrumbs, articles, banners ===== */
html.dark nav[aria-label="Breadcrumb"], html.dark .breadcrumb,
html.dark [style*="background:#f8f9fa"], html.dark [style*="background: #f8f9fa"] {
  background: #0f172a !important; border-color: #334155 !important; color: #94a3b8 !important;
}
html.dark nav[aria-label="Breadcrumb"] a, html.dark .breadcrumb a { color: #60a5fa !important; }
html.dark nav[aria-label="Breadcrumb"] span, html.dark nav[aria-label="Breadcrumb"] li { color: #94a3b8 !important; }

html.dark .article-content, html.dark .article-meta, html.dark .stat-card, html.dark .source-box,
html.dark .summary-box, html.dark .review-page-container, html.dark .content-section,
html.dark .article-header, html.dark .key-stat {
  background: #1e293b !important; border-color: #334155 !important; color: #cbd5e1 !important; box-shadow: none !important;
}
html.dark .article-content h1, html.dark .article-content h2, html.dark .article-content h3, html.dark .article-content h4,
html.dark .content-section h2, html.dark .content-section h3, html.dark .stat-card h3, html.dark .stat-card h4,
html.dark .summary-box h2, html.dark .summary-box h3, html.dark .article-meta strong { color: #f1f5f9 !important; }
html.dark .article-content p, html.dark .article-content li, html.dark .article-meta,
html.dark .content-section p, html.dark .content-section li, html.dark .summary-box p, html.dark .summary-box li { color: #cbd5e1 !important; }
html.dark .article-content a, html.dark .content-section a { color: #60a5fa !important; }
html.dark .article-content table th { background: #16233f !important; color: #f1f5f9 !important; }
html.dark .article-content table td { border-color: #334155 !important; color: #cbd5e1 !important; }
html.dark .highlight-box, html.dark .info-box { background: #16233f !important; border-color: #1e40af !important; color: #cbd5e1 !important; }
html.dark .highlight-box h4, html.dark .info-box strong { color: #93c5fd !important; }
html.dark .important-info { background: #362512 !important; border-color: #92400e !important; color: #fde68a !important; }
html.dark .important-info h4 { color: #fcd34d !important; }

html.dark .banner-deep-blue, html.dark .banner-blue-violet, html.dark .banner-royal-blue,
html.dark .banner-blue-teal, html.dark .pension-gradient:not(nav):not(#mobileMenu) {
  background: linear-gradient(135deg, #090d16 0%, #16233f 50%, #0f172a 100%) !important;
}
html.dark .banner-modern, html.dark .banner-modern h1, html.dark .banner-content h1 { color: #f8fafc !important; }
html.dark .banner-content p { color: #93c5fd !important; }
html.dark .banner-wave path, html.dark .banner-modern svg path { fill: #0f172a !important; }

/* ===== Dark mode: monochrome, clean (white text, white/outline buttons) ===== */
html.dark [class*="text-blue-"], html.dark [class*="text-green-"], html.dark [class*="text-purple-"],
html.dark [class*="text-indigo-"], html.dark [class*="text-cyan-"]:not(.icon-sun), html.dark [class*="text-teal-"],
html.dark .stat-number { color: #f8fafc !important; }
html.dark p[class*="text-blue-"], html.dark p[class*="text-green-"], html.dark p[class*="text-purple-"] { color: #cbd5e1 !important; }
html.dark .stat-label { color: #94a3b8 !important; }
html.dark .highlight-box h4, html.dark .important-info h4, html.dark .info-box strong { color: #f8fafc !important; }
html.dark .highlight-box, html.dark .important-info { background: #1e293b !important; border-color: #64748b !important; color: #cbd5e1 !important; }
html.dark .important-info p { color: #cbd5e1 !important; }
html.dark .article-content a:not([class*="bg-"]), html.dark .content-section a:not([class*="bg-"]),
html.dark nav[aria-label="Breadcrumb"] a { color: #f8fafc !important; text-decoration: underline; text-underline-offset: 3px; }

/* Primary buttons: white with dark text */
html.dark main a[class*="bg-blue-"], html.dark main a[class*="bg-green-"], html.dark main a[class*="bg-purple-"],
html.dark main a[class*="bg-indigo-"], html.dark main button[class*="bg-blue-"], html.dark main button[class*="bg-green-"],
html.dark article a[class*="bg-blue-"], html.dark article a[class*="bg-green-"], html.dark article a[class*="bg-purple-"],
html.dark .cta-button, html.dark a.bg-white, html.dark button.bg-white {
  background: #f8fafc !important; background-image: none !important; color: #0f172a !important; border-color: #f8fafc !important;
}
html.dark article a[class*="bg-"]:hover, html.dark main a[class*="bg-"]:hover, html.dark a.bg-white:hover { background: #e2e8f0 !important; }
/* Secondary outline buttons */
html.dark a.bg-transparent, html.dark a.border-2.border-white { background: transparent !important; color: #f8fafc !important; border-color: #64748b !important; }
/* Share buttons neutral */
html.dark .share-button { background: #334155 !important; color: #f8fafc !important; }
html.dark .news-category { background: #334155 !important; color: #f8fafc !important; }

/* Colored CTA sections -> dark neutral */
html.dark [class*="bg-gradient-to-"][class*="from-blue-"], html.dark [class*="bg-gradient-to-"][class*="from-green-"],
html.dark [class*="bg-gradient-to-"][class*="from-indigo-"], html.dark [class*="bg-gradient-to-"][class*="from-purple-"],
html.dark section.bg-blue-600, html.dark section.bg-blue-700, html.dark div.bg-blue-600 {
  background: #111827 !important; background-image: none !important; border-top: 1px solid #334155; border-bottom: 1px solid #334155;
}
html.dark .banner-content p { color: #cbd5e1 !important; }

/* ===== Șablon articole unificat ===== */
.p3-article .article-body h2{font-size:1.6rem;font-weight:700;color:#0f172a;margin:2.2rem 0 1rem;scroll-margin-top:90px}
.p3-article .article-body h3{font-size:1.25rem;font-weight:600;color:#1e293b;margin:1.6rem 0 .75rem}
.p3-article .article-body p{line-height:1.8;margin-bottom:1.1rem;font-size:1.075rem}
.p3-article .article-body ul,.p3-article .article-body ol{padding-left:1.5rem;margin-bottom:1.1rem;line-height:1.8}
.p3-article .article-body ul{list-style:disc}.p3-article .article-body ol{list-style:decimal}
.p3-article .article-body a{color:#1d4ed8;text-decoration:underline}
.p3-article .article-body table{width:100%;border-collapse:collapse;margin:1.5rem 0;font-size:.95rem;display:block;overflow-x:auto}
.p3-article .article-body th,.p3-article .article-body td{border:1px solid #e2e8f0;padding:.6rem .8rem;text-align:left}
.p3-article .article-body th{background:#f1f5f9;font-weight:600}
.p3-article .article-body .note{background:#f8fafc;border-left:4px solid #1d4ed8;padding:1rem 1.25rem;border-radius:.5rem;margin:1.5rem 0}
html.dark .p3-article .article-body h2,html.dark .p3-article .article-body h3{color:#f1f5f9}
html.dark .p3-article .article-body p,html.dark .p3-article .article-body li{color:#cbd5e1}
html.dark .p3-article .article-body a{color:#e2e8f0}
html.dark .p3-article .article-body th{background:#1e293b;color:#f1f5f9}
html.dark .p3-article .article-body th,html.dark .p3-article .article-body td{border-color:#334155;color:#cbd5e1}
html.dark .p3-article .article-body .note{background:#1e293b;border-left-color:#e2e8f0}
html.dark .p3-article details{background:#1e293b!important;border-color:#334155!important}
.p3-article .news-category{display:inline-block;padding:4px 12px;border-radius:20px;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.5px;background:#e2e8f0;color:#0f172a}
.p3-article .news-card{border-radius:12px;border:1px solid #e2e8f0;overflow:hidden}
html.dark .p3-article .news-category{background:#334155;color:#f1f5f9}

/* Știri: cardurile apar instant (fără ascundere până la animație) */
.news-card.animate-on-scroll,.news-filters.animate-on-scroll{opacity:1!important;transform:none!important;transition:box-shadow .3s ease,transform .3s ease}

/* Șablon articole – modul de noapte */
html.dark .p3-article{background:#0f172a}
html.dark .p3-article .breadcrumb{background:#0f172a!important;border-bottom-color:#1e293b!important}
html.dark .p3-article .breadcrumb a{color:#e2e8f0!important}
html.dark .p3-article .breadcrumb span{color:#94a3b8!important}
html.dark .p3-article .bg-white,html.dark .p3-article .bg-gray-100{background:#1e293b!important;border-color:#334155!important}
html.dark .p3-article .text-gray-900,html.dark .p3-article .text-gray-800,html.dark .p3-article h1,html.dark .p3-article h2,html.dark .p3-article h3,html.dark .p3-article summary{color:#f8fafc!important}
html.dark .p3-article .text-gray-700,html.dark .p3-article .text-gray-600,html.dark .p3-article li,html.dark .p3-article p{color:#cbd5e1!important}
html.dark .p3-article .text-gray-500,html.dark .p3-article .news-date{color:#94a3b8!important}
html.dark .p3-article .text-blue-600,html.dark .p3-article nav[aria-label="Cuprins"] a{color:#e2e8f0!important}
html.dark .p3-article aside a{background:#f8fafc!important;color:#0f172a!important}
html.dark .p3-article aside a:hover{background:#e2e8f0!important}
html.dark .p3-article .news-card{border-color:#334155}
html.dark .p3-article .article-body a{color:#f8fafc!important}
/* Carduri articole: hover pe modul de noapte rămâne închis */
html.dark a.news-card.bg-white,html.dark .news-card.bg-white{background:#1e293b!important;border-color:#334155!important;color:inherit!important}
html.dark a.news-card.bg-white:hover,html.dark .news-card.bg-white:hover{background:#26354a!important;border-color:#475569!important;box-shadow:0 10px 20px -5px rgba(0,0,0,.5)}
/* Știri: caseta de filtre pe modul de noapte */
html.dark .news-filters{background:#0f172a!important;border:1px solid #1e293b;box-shadow:none!important}
html.dark .news-filters h2,html.dark .news-filters h3,html.dark .news-filters p,html.dark .news-filters label{color:#e2e8f0!important}
html.dark .filter-button{background:transparent!important;border-color:#334155!important;color:#cbd5e1!important}
html.dark .filter-button:hover,html.dark .filter-button.active{background:#f8fafc!important;border-color:#f8fafc!important;color:#0f172a!important}

/* Dark mode: footer column hover must stay dark */
html.dark footer .bg-white.bg-opacity-10, html.dark footer .bg-white.bg-opacity-5 { background: #1e293b !important; border-color: #334155 !important; box-shadow: none !important; }
html.dark footer .hover\:bg-white:hover, html.dark footer .bg-white.bg-opacity-5:hover, html.dark footer .bg-white.bg-opacity-10:hover { background: #26354a !important; border-color: #475569 !important; }

/* Dark mode: FAQ accordion (homepage, ghid, articole) */
html.dark .faq-item{background:#1e293b!important;border:1px solid #334155!important;box-shadow:none!important}
html.dark .faq-question{background:#1e293b!important;color:#f8fafc!important}
html.dark .faq-question:hover{background:#26354a!important}
html.dark .faq-toggle{color:#f8fafc!important}
html.dark .faq-answer,html.dark .faq-answer p{background:#1e293b!important;color:#cbd5e1!important}
.p3-article .article-body .stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1rem;margin:0 0 2rem}
.p3-article .article-body .stats div{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:1rem;text-align:center}
.p3-article .article-body .stats strong{display:block;font-size:1.5rem;color:#1d4ed8}
.p3-article .article-body .stats span{font-size:.85rem;color:#64748b}
.p3-article .article-body .note h4{font-weight:600;margin-bottom:.4rem;color:#0f172a}
.p3-article .article-body .note p:last-child{margin-bottom:0}
.p3-article .article-body .timeline-list li{margin-bottom:.75rem}
html.dark .p3-article .article-body .stats div{background:#1e293b;border-color:#334155}
html.dark .p3-article .article-body .stats strong,html.dark .p3-article .article-body .note h4{color:#f8fafc}
html.dark .p3-article .article-body .stats span{color:#94a3b8!important}

/* Homepage hero buttons (Varianta A) */
.hero-btn-primary { background:#ffffff; color:#0f172a !important; transition:background .2s, transform .2s; }
.hero-btn-primary:hover { background:#e2e8f0; transform:translateY(-1px); }
.hero-btn-secondary { background:rgba(255,255,255,.15); color:#ffffff !important; border:2px solid rgba(255,255,255,.85); backdrop-filter:blur(4px); transition:background .2s; }
.hero-btn-secondary:hover { background:rgba(255,255,255,.28); }
.hero-guide-link { color:#ffffff; }
.hero-guide-link a { color:#ffffff; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.hero-guide-link a:hover { text-decoration-thickness:2px; }
html.dark .hero-btn-primary { background:#f8fafc !important; color:#0f172a !important; }
html.dark .hero-btn-primary:hover { background:#e2e8f0 !important; }
html.dark .hero-btn-secondary { background:#1e293b !important; border-color:#475569 !important; color:#f8fafc !important; }
html.dark .hero-btn-secondary:hover { background:#26354a !important; }
html.dark .hero-guide-link, html.dark .hero-guide-link a { color:#e2e8f0 !important; }

/* Logo coloana cu trei piloni */
.p3-logo { color:#1e3a8a !important; }
html.dark .p3-logo { color:#f1f5f9 !important; }

/* Butoane principale unitare pe dark: off-white cu text închis (ca butonul din banner) */
html.dark a[class*="bg-blue-"]:not(.news-card), html.dark button[class*="bg-blue-"]:not(.filter-button),
html.dark a[class*="bg-cyan-"]:not(.news-card), html.dark button[class*="bg-cyan-"],
html.dark .btn-primary, html.dark .cta-button {
  background:#f8fafc !important; background-image:none !important; color:#0f172a !important; border-color:#f8fafc !important;
}
html.dark a[class*="bg-blue-"]:not(.news-card):hover, html.dark button[class*="bg-blue-"]:not(.filter-button):hover,
html.dark a[class*="bg-cyan-"]:not(.news-card):hover, html.dark button[class*="bg-cyan-"]:hover,
html.dark .btn-primary:hover, html.dark .cta-button:hover { background:#e2e8f0 !important; }
html.dark a[class*="bg-blue-"] svg, html.dark .btn-primary svg { color:#0f172a !important; }

/* Mobil: butoanele din conținut centrate */
@media (max-width:640px){
  a.inline-block[class*="bg-blue-"]{ display:table !important; margin-left:auto !important; margin-right:auto !important; text-align:center; }
}

/* Meniu mobil: hover/tap lizibil pe ambele teme */
nav.nav-gradient #mobileMenu a:hover, nav.nav-gradient #mobileMenu a:active, nav.nav-gradient #mobileMenu a:focus,
nav.nav-gradient .mobile-dropdown-btn:hover, nav.nav-gradient .mobile-dropdown-btn:active, nav.nav-gradient .mobile-dropdown-btn:focus,
nav.nav-gradient .mobile-submenu a:hover, nav.nav-gradient .mobile-submenu a:active {
  background: #eff6ff !important; color: #1d4ed8 !important;
}
html.dark nav.nav-gradient #mobileMenu a:hover, html.dark nav.nav-gradient #mobileMenu a:active, html.dark nav.nav-gradient #mobileMenu a:focus,
html.dark nav.nav-gradient .mobile-dropdown-btn:hover, html.dark nav.nav-gradient .mobile-dropdown-btn:active, html.dark nav.nav-gradient .mobile-dropdown-btn:focus {
  background: #1e293b !important; color: #f8fafc !important;
}
html.dark nav.nav-gradient .mobile-submenu a:hover, html.dark nav.nav-gradient .mobile-submenu a:active, html.dark nav.nav-gradient .mobile-submenu a:focus {
  background: #26354a !important; color: #f8fafc !important;
}
#mobileMenu a, #mobileMenu button { -webkit-tap-highlight-color: transparent; }
