/* baharogretmen.com - Premium Design System */

:root {
    --primary: #28c76f;
    --primary-dark: #20a35a;
    --primary-light: #e9f9f0;
    --secondary: #ff9f43;
    --accent: #5d87e0;
    --accent-dark: #4869b0;
    --bg: #f8f9fb;
    --card-bg: #ffffff;
    --text-main: #2c3e50;
    --text-muted: #82868b;
    --white: #ffffff;
    --shadow-soft: 0 4px 20px 0 rgba(0,0,0,0.05);
    --shadow-medium: 0 10px 30px 0 rgba(0,0,0,0.08);
    --radius: 15px;
    --radius-full: 50px;
    --container: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 🌑 Dark Theme Variables */
.dark-theme {
    --bg: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --white: #1e293b;
    --shadow-soft: 0 4px 20px 0 rgba(0,0,0,0.3);
    --shadow-medium: 0 10px 30px 0 rgba(0,0,0,0.5);
    --primary-light: rgba(40, 199, 111, 0.1);
}

/* ═══ Announcement Bar ═══ */
.announcement-bar {
    background: linear-gradient(90deg, #2D3436, #4b5457);
    color: #fff;
    padding: 10px 0;
    font-size: 0.88rem;
    text-align: center;
    position: relative;
    z-index: 1001;
}
.announcement-bar p { margin: 0; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.announcement-bar .badgex {
    background: var(--secondary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}
.announcement-bar a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    margin-left: 5px;
    border-bottom: 1px dashed var(--secondary);
}
.announcement-bar a:hover { border-bottom-style: solid; }

/* ═══ Skeleton Loader ═══ */
.skeleton {
    background: #f0f2f5;
    background: linear-gradient(90deg, #f0f2f5 25%, #e0e2e5 50%, #f0f2f5 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
    overflow-wrap: break-word; /* Prevents long words from breaking layout */
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    color: var(--text-main);
}

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

/* Header & Navigation */
header {
    background: var(--white);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

.nav-links a i {
    color: var(--primary);
    margin-right: 6px;
    font-size: 0.95rem;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-games {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    padding: 10px 25px !important;
    border-radius: 50px !important;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.3);
    border: none !important;
}

.btn-games:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(118, 75, 162, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

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

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
}

/* Mobile Menu Overlay CSS */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    transition: 0.4s;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-content {
    background: var(--white);
    width: 80%;
    max-width: 350px;
    height: 100%;
    margin-left: auto;
    padding: 30px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: 25px;
}

.mobile-nav-links a {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-main);
}

.mobile-nav-links a i {
    color: var(--primary);
    width: 30px;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 0 0 100px 100px;
    margin-bottom: 60px;
    color: var(--white);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: rgba(255,255,255,0.95);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* New Topic Hero Style */
.topic-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 40px;
}

.topic-hero h1 {
    color: var(--white) !important;
    margin-bottom: 20px !important;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Categories Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.category-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0,0,0,0.02);
    transition: 0.4s;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-light);
}

.category-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: block;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.topic-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 50px;
    margin-top: 30px;
}

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

@media (max-width: 768px) {
    .topics-grid {
        grid-template-columns: 1fr;
    }
}

/* Content List */
.topic-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: 0.3s;
    overflow: hidden;
}

.topic-card.has-image {
    padding: 0;
    flex-direction: column;
    align-items: stretch;
}

.topic-featured-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

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

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

.topic-content-wrapper {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (max-width: 768px) {
    .topic-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.topic-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

/* Share Button Overlay */
.share-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    border: 1px solid #eee;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    opacity: 0.8;
}

.share-btn:hover {
    opacity: 1;
    background: var(--primary);
    transform: scale(1.1) rotate(15deg);
}

.share-btn i {
    color: var(--primary);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.share-btn:hover i {
    color: white;
}

.topic-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.topic-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 15px;
}

.btn-download {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: var(--radius-full);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px 0 rgba(40, 199, 111, 0.39);
}

.btn-view {
    background: var(--accent);
    color: white;
    padding: 12px 25px;
    border-radius: var(--radius-full);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px 0 rgba(93, 135, 224, 0.39);
}

.action-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

@media (max-width: 480px) {
    .action-row {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 0 40px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 25px;
}

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

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

/* Responsive */
/* Responsive Implementation */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .topic-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Stack sidebars on mobile/tablet */
    header .nav {
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem 0;
        align-items: center;
    }
    
    .logo {
        font-size: 1.25rem;
        gap: 8px;
    }

    .header-actions {
        gap: 12px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px; /* Standard accessible tap target size */
        height: 44px;
        margin-right: -10px; /* Slight offset to keep it within eye-reach but larger area */
        font-size: 1.6rem;
        cursor: pointer;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    main .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    aside .card {
        position: static !important;
    }

    /* ═══ Math Game Responsive Suite ═══ */
    #gameContainer {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 12px !important;
    }
    #gameArea {
        padding: 15px 10px !important;
    }
    
    /* Central Game Classes */
    .game-stats-row {
        grid-template-columns: 1fr 1fr 1fr !important;
        background: #fff;
    }
    .game-stats-row > div {
        padding: 8px 4px !important;
    }
    .game-stats-row .stat-value {
        font-size: 1.1rem !important;
    }
    .game-stats-row .stat-label {
        font-size: 0.6rem !important;
    }

    .game-equation-row {
        gap: clamp(5px, 2vw, 10px) !important;
        margin-bottom: 20px !important;
    }
    .game-equation-row > div, .equation-box {
        min-width: clamp(45px, 13vw, 56px) !important;
        height: clamp(45px, 13vw, 56px) !important;
        font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
        border-radius: 10px !important;
    }
    .game-operator {
        font-size: clamp(1.2rem, 5vw, 1.8rem) !important;
    }

    .game-options-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }
    .game-ans-btn {
        padding: 12px 10px !important;
        font-size: clamp(1.1rem, 4vw, 1.4rem) !important;
        min-height: 50px !important;
    }

    #emojiRow {
        font-size: clamp(1rem, 6vw, 1.5rem) !important;
        gap: 2px !important;
    }
    
    /* Result Screen */
    #gameOver h2 { font-size: 1.3rem !important; }
    #gameOver #resultScore { font-size: 2rem !important; }
    #gameOver #resultStars { font-size: 1.6rem !important; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .topic-hero {
        padding: 30px 0;
    }
    .topic-hero h1 {
        font-size: 1.6rem !important;
    }
    #gameContainer .stats-row {
        grid-template-columns: 1fr 1fr 1fr !important;
    }
    #gameContainer .stats-row > div {
        padding: 10px 4px !important;
    }
    #gameContainer .stats-row div[style*="font-size: 1.4rem"] {
        font-size: 1.1rem !important;
    }
    .game-ans-btn {
        padding: 10px 5px !important;
    }
}
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0;
        border-radius: 0 0 50px 50px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .topic-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .btn-download {
        width: 100%;
        justify-content: center;
    }
    
    h1 { font-size: 2.2rem !important; }
    
    .download-card-premium {
        padding: 30px 20px;
    }
}

/* Typography Enhancements */
h1 { font-size: 3rem; line-height: 1.1; letter-spacing: -1px; margin-bottom: 1.5rem; }
.article-content { font-size: 1.15rem; line-height: 1.8; color: #34495e; }
.article-content h2 { margin-top: 2rem; margin-bottom: 1rem; color: var(--primary-dark); }
.article-content p { margin-bottom: 1.5rem; }

/* Breadcrumbs */
.breadcrumb {
    display: flex;
    gap: 8px;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    flex-wrap: wrap;
}
.breadcrumb li::after { content: '/'; margin-left: 8px; color: #ddd; }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

/* Premium Download Card */
.download-card-premium {
    background: linear-gradient(135deg, var(--white) 0%, #f9fbfd 100%);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid #eef2f6;
    box-shadow: 0 20px 50px rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}
.download-card-premium::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}
.download-card-premium i.icon-main {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    display: inline-block;
    filter: drop-shadow(0 10px 10px rgba(46, 204, 113, 0.2));
}

/* Related Content Grid */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}
.related-item {
    background: var(--white);
    padding: 15px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid #f1f2f6;
    transition: 0.3s;
}
.related-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-soft);
}
.related-item img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--bg);
}

/* 🌑 Dark Mode Specific Fixes */
.dark-theme .comment-card {
    background: #1e293b;
    border-color: #334155;
    border-left-color: var(--primary);
}
.dark-theme .comment-form-wrap {
    background: #1e293b;
    border: 1px solid #334155;
}
.dark-theme .comment-input {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}
.dark-theme .comment-input:focus {
    border-color: var(--primary);
    background: #0f172a;
}
.dark-theme .skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}
.dark-theme header {
    background: #1e293b;
    border-bottom: 1px solid #334155;
}
.dark-theme .search-overlay {
    background: rgba(15, 23, 42, 0.98);
}
.dark-theme .search-overlay-content input {
    color: #fff;
}
.dark-theme .mobile-menu-content {
    background: #1e293b;
}
.dark-theme .mobile-nav-links a {
    color: #f1f5f9;
}
.dark-theme .ad-slot {
    background: #0f172a;
    border-color: #1e293b;
}

/* AdSlot Stability */
.ad-slot {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    margin: 40px 0;
    border-radius: 10px;
    overflow: hidden;
}

/* Admin: Reklam alanları gizlendiğinde */
body.ads-hidden .ad-slot {
    display: none !important;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay .close-search {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 2rem;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.3s;
}

.search-overlay .close-search:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.search-overlay-content {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

.search-overlay-content form {
    display: flex;
    position: relative;
    width: 100%;
}

.search-overlay-content input {
    width: 100%;
    padding: 20px 60px 20px 20px;
    font-size: 1.5rem;
    border: none;
    border-bottom: 3px solid var(--primary);
    background: transparent;
    outline: none;
    color: var(--text-main);
}

.search-overlay-content button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

.search-btn {
    cursor: pointer;
    transition: 0.3s;
}

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

/* ========================
   COMMENT SECTION
======================== */
.comments-section {
    background: #f8f9fb;
    padding: 60px 0;
    margin-top: 20px;
    border-top: 1px solid #eee;
}

.comments-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.comments-title i { color: var(--primary); }

.comments-list {
    margin-bottom: 50px;
}

.comment-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--primary);
    transition: transform 0.2s;
}
.comment-card:hover { transform: translateX(4px); }

.comment-avatar {
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    flex-shrink: 0;
}

.comment-body { flex: 1; }

.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}
.comment-meta strong {
    font-size: 0.95rem;
    color: var(--text-main);
}
.comment-meta span {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.comment-body p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin: 0;
}

.comment-form-wrap {
    background: #fff;
    border-radius: 20px;
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.comment-label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 7px;
    color: var(--text-main);
}

.comment-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    color: var(--text-main);
    box-sizing: border-box;
}
.comment-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46,204,113,0.12);
}

@media (max-width: 600px) {
    .comment-form-wrap { padding: 24px 18px; }
    .comment-form-wrap > div:first-of-type { grid-template-columns: 1fr !important; }
    .comment-meta { flex-direction: column; align-items: flex-start; }
}

/* ═══ Responsive Grid Utilities ═══ */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.grid-about {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 992px) {
    .grid-2-col, .grid-about {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero {
        padding: 60px 0;
        border-radius: 0 0 40px 40px;
    }
}

@media (max-width: 768px) {
    .grid-2-col, .grid-about {
        gap: 30px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* --- Cookie Consent Banner --- */
#cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #1a1a2e;
    color: white;
    padding: 20px;
    border-radius: 16px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255,255,255,0.1);
}

#cookie-consent-banner .cookie-content {
    max-width: 1000px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

#cookie-consent-banner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

#cookie-consent-banner a {
    color: #2ecc71;
    font-weight: 700;
    text-decoration: underline;
}

.cookie-btn {
    background: #2ecc71;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s;
}

.cookie-btn:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #cookie-consent-banner {
        bottom: 10px;
        left: 10px;
        right: 10px;
        padding: 15px;
    }
    
    #cookie-consent-banner .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    #cookie-consent-banner p {
        font-size: 0.85rem;
    }
}
