:root {
    /* Colors */
    --bg-color: #f4f6fa;
    --text-main: #2b2940;
    --text-muted: #6b6a7a;
    --primary-color: #eebc27;
    --primary-hover: #d4a51a;
    --white: #ffffff;
    --footer-bg: #2e2c45;
    --footer-border: #42405c;
    --card-shadow: 0 10px 30px rgba(43, 41, 64, 0.05);
    --radius-lg: 16px;
    --radius-md: 8px;
    --radius-sm: 4px;
    --transition: all 0.3s ease;
}

/* Dark Theme Variables */
body.dark-theme {
    --bg-color: #1a1924;
    --text-main: #e4e4eb;
    --text-muted: #a0a0b0;
    --white: #2b2940;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --footer-bg: #111018;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons & Icons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.icon-btn:hover {
    background-color: rgba(0,0,0,0.05);
}

body.dark-theme .icon-btn:hover {
    background-color: rgba(255,255,255,0.1);
}

.ui-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.ui-icon.sm-icon {
    width: 16px;
    height: 16px;
}

.inline-icon {
    width: 14px;
    height: 14px;
    margin-left: 5px;
}

.btn-icon {
    margin-right: 8px;
    filter: brightness(0) invert(1);
}

/* Top Bar */
.top-bar {
    background-color: rgba(238, 188, 39, 0.1);
    font-size: 0.8rem;
    padding: 8px 0;
    color: var(--text-muted);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.date-container, .top-bar-promo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-promo strong {
    color: var(--text-main);
    cursor: pointer;
}

/* Header */
.main-header {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon-placeholder {
    background-color: var(--text-main);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -1px;
}

.logo-h { color: var(--primary-color); }

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin-right: 10px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Ticker */
.ticker-bar {
    margin-top: 20px;
}

.ticker-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.ticker-inner::-webkit-scrollbar {
    height: 4px;
}
.ticker-inner::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}

.ticker-label {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.ticker-items {
    display: flex;
    gap: 20px;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    min-width: 250px;
}

.ticker-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.ticker-text {
    display: flex;
    flex-direction: column;
}

.ticker-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.ticker-date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Tags */
.tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    background-color: rgba(238, 188, 39, 0.2);
    color: #b58d15;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.dark-theme .tag {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    margin-top: 30px;
}

.hero-card {
    display: flex;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
    min-height: 400px;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    z-index: 10;
}

.nav-arrow:hover {
    background-color: var(--primary-color);
}

.nav-arrow:hover .ui-icon {
    filter: brightness(0) invert(1);
}

.prev-arrow { left: 20px; }
.next-arrow { right: 20px; position: absolute; right: 20px; }

.hero-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-excerpt {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 1rem;
}

.read-more {
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.read-more:hover {
    color: var(--primary-color);
}

.meta-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

body.dark-theme .ui-icon {
    filter: invert(0.8);
}
body.dark-theme .btn-icon, 
body.dark-theme .nav-arrow:hover .ui-icon,
body.dark-theme .search-btn .ui-icon {
    filter: brightness(0) invert(1);
}


/* Section Headers */
.section-header {
    margin: 50px 0 30px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    white-space: nowrap;
}

.section-header h2::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-left: 10px;
    vertical-align: middle;
}

.header-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
}

body.dark-theme .header-line {
    background-color: rgba(255,255,255,0.1);
}

/* Popular Topics Grid */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.topic-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.topic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.topic-card:hover .topic-img {
    transform: scale(1.05);
}

.topic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.topic-frame {
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.topic-label {
    background-color: #fff;
    color: #2b2940;
    padding: 10px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Content Layout */
.content-layout {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.main-column {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar {
    flex: 1;
}

/* List Article Card */
.list-article-card {
    display: flex;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.article-img {
    width: 40%;
    object-fit: cover;
}

.article-info {
    padding: 30px;
    width: 60%;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-excerpt {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-num, .page-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--white);
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-num.active {
    background-color: var(--primary-color);
    color: #fff;
}

.page-num:not(.active):hover, .page-arrow:hover {
    background-color: rgba(0,0,0,0.05);
}

/* Sidebar Widgets */
.widget {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--card-shadow);
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.widget-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
}

.widget-header h3::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-left: 10px;
}

.widget-line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-sm);
    background-color: transparent;
    color: var(--text-main);
    font-family: inherit;
}

body.dark-theme .search-input {
    border-color: rgba(255,255,255,0.1);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Missed Section */
.missed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.missed-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    display: block;
}

.missed-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.missed-card:hover .missed-bg {
    transform: scale(1.05);
}

.missed-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.2));
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.missed-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.missed-date {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
}

/* Trust Section */
.trust-section {
    margin-top: 50px;
}

.trust-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--card-shadow);
}

.trust-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.trust-line {
    width: 100%;
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    margin: 20px 0;
}

body.dark-theme .trust-line {
    background-color: rgba(255,255,255,0.1);
}

.trust-logo {
    height: 40px;
    margin: 0 auto 20px;
    object-fit: contain;
}

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

/* Welcome Pre-Footer */
.welcome-pre-footer {
    margin-top: 60px;
    margin-bottom: 40px;
}

.welcome-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--card-shadow);
}

.welcome-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.welcome-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 50px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.disclaimer-text {
    color: #a3a2b5;
    font-size: 0.85rem;
    line-height: 1.8;
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #a3a2b5;
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid var(--footer-border);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #a3a2b5;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 350px;
    background-color: var(--white);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 4px solid var(--primary-color);
}

.cookie-modal.show {
    transform: translateY(0);
}

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

.cookie-header h4 {
    font-size: 1rem;
    font-weight: 700;
}

.cookie-body p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cookie-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-card {
        flex-direction: column;
    }
    .hero-image-wrapper {
        height: 300px;
    }
    .nav-arrow.next-arrow {
        top: auto;
        bottom: -20px;
        right: 20px;
        transform: none;
    }
    .nav-arrow.prev-arrow {
        top: auto;
        bottom: -20px;
        left: auto;
        right: 70px;
        transform: none;
    }
    .missed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav ul {
        display: none;
    }
    .topics-grid {
        grid-template-columns: 1fr;
    }
    .content-layout {
        flex-direction: column;
    }
    .list-article-card {
        flex-direction: column;
    }
    .article-img {
        width: 100%;
        height: 200px;
    }
    .article-info {
        width: 100%;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .ticker-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .missed-grid {
        grid-template-columns: 1fr;
    }
    .cookie-modal {
        width: calc(100% - 40px);
        bottom: 20px;
        right: 20px;
    }
}

/* Inner page styles */
/* -----------------------------------
   NOI STILURI PENTRU PAGINA INTERNĂ (ARTICOL)
------------------------------------ */

.single-article {
    margin-top: 40px;
    margin-bottom: 60px;
}

/* Article Header */
.article-header {
    margin-bottom: 30px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-header .tags-group {
    justify-content: center;
    margin-bottom: 20px;
}

.article-main-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--text-main);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.article-meta strong {
    color: var(--text-main);
}

/* Featured Image */
.article-featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.article-featured-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.image-caption {
    display: block;
    padding: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background-color: var(--white);
    font-style: italic;
}

/* Table of Contents (Cuprins) */
.toc {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border-left: 4px solid var(--primary-color);
}

.toc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.toc-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

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

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

.toc-list li::before {
    content: '\2022';
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

.toc-list a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.toc-list a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Typography inside Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

.article-content h2, 
.article-content h3, 
.article-content h4, 
.article-content h5, 
.article-content h6 {
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-main);
    line-height: 1.3;
}

.article-content h2 { font-size: 2rem; }
.article-content h3 { font-size: 1.7rem; }
.article-content h4 { font-size: 1.4rem; }
.article-content h5 { font-size: 1.2rem; }
.article-content h6 { font-size: 1rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

.article-content p {
    margin-bottom: 25px;
    color: inherit;
}

.article-content span.text-highlight {
    background-color: rgba(238, 188, 39, 0.2);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: #b58d15;
}

body.dark-theme .article-content span.text-highlight {
    color: var(--primary-color);
}

/* Lists in Article */
.article-content ul, 
.article-content ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.article-content ul li, 
.article-content ol li {
    margin-bottom: 10px;
    padding-left: 5px;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ul li::marker {
    color: var(--primary-color);
}

.article-content ol {
    list-style-type: decimal;
}

.article-content ol li::marker {
    color: var(--primary-color);
    font-weight: 700;
}

/* Images in Article */
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 30px 0 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: block;
}

/* Tables */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background-color: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.article-content th, 
.article-content td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.article-content th {
    background-color: rgba(238, 188, 39, 0.1);
    font-weight: 700;
    color: var(--text-main);
}

body.dark-theme .article-content th, 
body.dark-theme .article-content td {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

body.dark-theme .article-content th {
    background-color: rgba(255,255,255,0.05);
}

/* Forms (Comments & Contact) */
.interaction-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

body.dark-theme .interaction-section {
    border-top: 1px solid rgba(255,255,255,0.1);
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.modern-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group label span {
    color: #e74c3c;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: var(--radius-md);
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(238, 188, 39, 0.2);
}

body.dark-theme .form-control {
    border-color: rgba(255,255,255,0.1);
    background-color: rgba(0,0,0,0.2);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 25px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 5px;
    accent-color: var(--primary-color);
}

.form-checkbox label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

/* Mini Post List (Sidebar) */
.mini-post-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mini-post {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

body.dark-theme .mini-post {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mini-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mini-post-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.mini-post-info h5 {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 5px;
    color: var(--text-main);
    transition: color 0.2s;
}

.mini-post:hover .mini-post-info h5 {
    color: var(--primary-color);
}

.mini-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .article-main-title {
        font-size: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .modern-form {
        padding: 25px;
    }
    .article-content h2 { font-size: 1.6rem; }
    .article-content h3 { font-size: 1.4rem; }
    .article-content table, .article-content thead, .article-content tbody, .article-content th, .article-content td, .article-content tr { 
        display: block; 
    }
    .article-content thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .article-content td {
        border: none;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        position: relative;
        padding-left: 50%;
    }
    .article-content td:before {
        position: absolute;
        top: 15px;
        left: 15px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 700;
        content: attr(data-label);
    }
}