/* 
Theme Name: Sons of Zayed Custom CSS
Author: Antigravity AI
*/

:root {
    --color-primary: #e60000; /* Red */
    --color-dark: #0f1014;
    --color-dark-alt: #1a1b22;
    --color-gray: #f5f6f8;
    --color-text: #333;
    --color-text-light: #777;
    --color-white: #ffffff;
    --font-main: 'Tajawal', sans-serif;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

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

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }

/* Buttons */
.btn-primary, .btn-subscribe {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}
.btn-subscribe { background: var(--color-dark); }
.btn-primary:hover, .btn-subscribe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(230,0,0,0.3);
}
.btn-subscribe:hover { box-shadow: 0 8px 15px rgba(0,0,0,0.3); }

/* ---- Header ---- */
.site-header {
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.header-logo img { height: 40px; }
.site-title { font-size: 24px; font-weight: 900; color: var(--color-dark); }

.header-nav ul {
    display: flex;
    gap: 32px;
}
.header-nav a {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-dark);
}
.header-nav a:hover, .header-nav .current-menu-item a {
    color: var(--color-primary);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.search-trigger {
    background: none; border: none; cursor: pointer; color: var(--color-dark);
}
.mobile-menu-toggle { display: none; }

/* ---- Search Overlay (Full-Screen Modern) ---- */
.search-overlay {
    position: fixed; inset: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    z-index: 1000; display: flex; align-items: flex-start; justify-content: center;
    padding: 120px 20px 40px; opacity: 0; visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-modal { position: relative; width: 100%; max-width: 700px; }
.close-search {
    position: absolute; top: -60px; left: 0; background: none; border: none;
    color: #fff; font-size: 32px; cursor: pointer; transition: 0.3s; opacity: 0.7;
}
.close-search:hover { opacity: 1; transform: scale(1.1); }
.search-form-custom {
    display: flex; width: 100%; background: rgba(255,255,255,0.1);
    border-radius: 16px; border: 1px solid rgba(255,255,255,0.2); padding: 5px;
    transition: 0.3s; position: relative;
}
.search-form-custom:focus-within { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }
.search-field-custom {
    background: transparent; border: none; color: #fff; font-size: 22px; font-weight: 700;
    padding: 18px 25px; width: 100%; outline: none; font-family: var(--font-main);
}
.search-field-custom::placeholder { color: rgba(255,255,255,0.5); }
.search-submit-custom {
    background: rgba(255,255,255,0.15); border: none; color: #fff; border-radius: 12px;
    cursor: pointer; padding: 0 20px; margin: 5px; transition: 0.3s;
}
.search-submit-custom:hover { background: var(--color-primary); }
/* AJAX Search Results */
.ajax-search-results {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: #fff; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    max-height: 400px; overflow-y: auto; z-index: 100; display: none;
    text-align: right;
}
.ajax-search-item {
    display: flex; gap: 15px; padding: 15px 20px; border-bottom: 1px solid #f0f0f0;
    align-items: center; transition: 0.2s; text-decoration: none; color: inherit;
}
.ajax-search-item:hover { background: #f9f9f9; }
.ajax-search-item .aj-img { width: 55px; height: 55px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.ajax-search-item .aj-info h4 { font-size: 15px; font-weight: 700; color: var(--color-dark); margin-bottom: 4px; line-height: 1.4; }
.ajax-search-item .aj-info .aj-date { font-size: 12px; color: #888; }
.ajax-search-all {
    display: block; text-align: center; padding: 15px; background: #fafafa;
    color: var(--color-primary); font-weight: 800; border-top: 1px solid #eee;
    text-decoration: none; border-radius: 0 0 16px 16px;
}
.ajax-no-results { padding: 25px; text-align: center; color: #666; font-size: 15px; }

/* ---- Hero / Featured Article ---- */
.hero-section {
    padding: 40px 0;
}
.featured-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 500px;
    display: flex;
    align-items: flex-end;
}
.featured-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 80%);
    z-index: 1;
}
.featured-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 10s ease;
}
.featured-card:hover .featured-img { transform: scale(1.05); }

.featured-content {
    position: relative; z-index: 2;
    padding: 40px; width: 100%; max-width: 800px;
}
.tag-badge {
    background: var(--color-primary); color: #fff;
    padding: 6px 16px; border-radius: var(--radius-full);
    font-size: 14px; font-weight: 700; display: inline-block;
    margin-bottom: 20px;
}
.featured-title {
    font-size: 40px; font-weight: 900; color: #fff;
    line-height: 1.3; margin-bottom: 16px;
}
/* ---- Stories Redesign ---- */
.stories-section { padding: 40px 0; }
.stories-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.stories-title { font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.stories-dot { width: 10px; height: 10px; background: #e3000f; border-radius: 50%; display: inline-block; animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(227,0,15,0.6); }
    50% { opacity: 0.4; box-shadow: 0 0 12px 4px rgba(227,0,15,0.3); }
}
.stories-carousel-nav { display: flex; gap: 10px; }
.stories-carousel-nav button {
    background: #f1f2f6; border: none; width: 36px; height: 36px; border-radius: 50%;
    font-size: 14px; cursor: pointer; color: #1a1a1a; display: inline-flex;
    align-items: center; justify-content: center; transition: background 0.3s;
}
.stories-carousel-nav button:hover { background: #e1e2e6; }

.stories-list {
    display: flex; overflow-x: auto; gap: 16px; padding-bottom: 20px;
    scrollbar-width: none; scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}
.stories-list::-webkit-scrollbar { display: none; }

.story-card {
    flex: 0 0 200px; height: 350px; border-radius: 16px;
    position: relative; cursor: pointer; overflow: hidden;
    transition: transform 0.3s ease; scroll-snap-align: start;
}
.story-card:hover { transform: translateY(-5px); }
.story-card::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.1) 100%);
    z-index: 1; pointer-events: none;
}
.story-play-icon {
    position: absolute; top: 12px; left: 12px; width: 28px; height: 28px;
    background: rgba(0,0,0,0.35); backdrop-filter: blur(4px);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; z-index: 3;
}
.story-thumb {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s ease;
}
.story-card:hover .story-thumb { transform: scale(1.1); }
.story-overlay-text {
    position: absolute; bottom: 20px; left: 15px; right: 15px;
    color: #fff; font-size: 16px; font-weight: 800; line-height: 1.4;
    z-index: 2; transition: transform 0.3s;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.story-card:hover .story-overlay-text { transform: translateY(-8px); }

/* ---- Story Modal (Instagram-Style) ---- */
.story-modal {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); z-index: 9999;
    display: none; align-items: center; justify-content: center;
}
.story-modal.active { display: flex; }
.story-modal-inner {
    width: 100%; max-width: 400px; height: 85vh; max-height: 800px; position: relative;
    background: #000; box-shadow: 0 10px 60px rgba(0,0,0,0.6); overflow: hidden;
    border-radius: 16px;
}
/* Close button OUTSIDE the story frame */
.close-modal {
    position: fixed; top: 30px; right: 30px; background: rgba(255,255,255,0.15); border: none;
    color: #fff; font-size: 28px; cursor: pointer; z-index: 10001;
    width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(10px); transition: 0.3s;
}
.close-modal:hover { background: rgba(255,255,255,0.3); }
.story-header-info {
    position: absolute; top: 25px; right: 20px; z-index: 10;
    display: flex; align-items: center; gap: 10px; text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
.story-header-logo { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; }
.story-header-text { color: #fff; font-weight: 700; font-size: 14px; }

.story-progress {
    position: absolute; top: 10px; left: 10px; right: 10px; height: 3px;
    display: flex; gap: 4px; z-index: 10;
}
.story-progress-segment {
    flex: 1; background: rgba(255,255,255,0.3); border-radius: 3px; overflow: hidden;
}
.story-progress-bar {
    height: 100%; width: 0; background: #fff; border-radius: 3px;
}
.story-progress-segment.filled .story-progress-bar { width: 100%; }
.story-progress-segment.active .story-progress-bar { animation: storyLoad 5s linear forwards; }
@keyframes storyLoad { to { width: 100%; } }

.story-image {
    width: 100%; height: 100%; object-fit: cover; opacity: 0;
}
.story-video {
    width: 100%; height: 100%; object-fit: cover;
    display: none;
}
.story-image.animate-in { animation: zoomInStory 5s linear forwards; opacity: 1; }
@keyframes zoomInStory { from { transform: scale(1); } to { transform: scale(1.08); } }

.story-modal-title {
    position: absolute; bottom: 40px; left: 20px; right: 20px;
    z-index: 10; color: #fff; font-size: 22px; font-weight: 800; text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
/* Nav buttons OUTSIDE the story frame */
.story-nav {
    position: fixed; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.15); border: none; color: #fff;
    width: 50px; height: 50px; border-radius: 50%; font-size: 20px;
    cursor: pointer; z-index: 10001; display: flex; align-items: center; justify-content: center;
    transition: 0.3s ease; backdrop-filter: blur(10px);
}
.story-nav:hover { background: rgba(255,255,255,0.3); }
.prev-story { left: 30px; }
.next-story { right: 30px; }

/* ---- Main Articles Grid ---- */
.main-layout {
    display: grid; grid-template-columns: 1fr 350px; gap: 40px; padding: 40px 0;
}
.section-title {
    font-size: 28px; font-weight: 800; margin-bottom: 30px;
    display: flex; align-items: center; gap: 10px;
}
.section-header { 
    display: flex; justify-content: space-between; align-items: flex-end; 
    margin-bottom: 30px; border-bottom: 1px solid #ddd; padding-bottom: 15px; 
}
.section-header .section-title { margin-bottom: 0; }
.section-title-bordered { 
    position: relative; 
}
.section-title-bordered::after {
    content: ''; position: absolute; bottom: -16px; right: 0;
    width: 60px; height: 3px; background: var(--color-primary);
}
.view-all-link { 
    color: var(--color-dark); font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 5px; transition: var(--transition);
}
.view-all-link:hover { color: var(--color-primary); transform: translateX(-5px); }

.articles-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px;
}
.article-card {
    background: #fff; border-radius: var(--radius-md); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.article-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-md);
}
.card-img-wrap {
    position: relative; height: 220px; overflow: hidden;
}
.card-img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.article-card:hover .card-img { transform: scale(1.05); }
.card-tag {
    position: absolute; top: 15px; right: 15px; background: var(--color-primary);
    color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700;
}
.card-content { padding: 24px; }
.card-title {
    font-size: 20px; font-weight: 800; color: var(--color-dark);
    margin-bottom: 15px; line-height: 1.4;
}
.card-meta {
    display: flex; gap: 15px; color: var(--color-text-light); font-size: 13px;
}

/* Sidebar - Most Popular */
.popular-list {
    background: #fff; padding: 30px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.popular-item {
    display: flex; gap: 20px; margin-bottom: 25px; padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}
.popular-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.pop-num {
    font-size: 32px; font-weight: 900; color: #eee; line-height: 1;
}
.pop-content h4 { font-size: 16px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; color: var(--color-dark); }
.pop-meta { font-size: 12px; color: var(--color-text-light); }


/* ---- Newsletter Section ---- */
.footer-newsletter {
    background: var(--color-dark-alt); padding: 80px 0; color: #fff;
    position: relative; overflow: hidden;
}
.footer-newsletter h2 { font-size: 36px; font-weight: 900; margin-bottom: 15px; }
.footer-newsletter p { font-size: 18px; color: #aaa; margin-bottom: 40px; }
#soz-subscribe-form { display: flex; max-width: 500px; margin: 0 auto; gap: 10px; }
#soz-subscribe-form input {
    flex: 1; padding: 15px 20px; border-radius: var(--radius-full);
    border: none; outline: none; font-family: var(--font-main);
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
    z-index: 0; pointer-events: none;
}
.footer-newsletter .container { position: relative; z-index: 1; }
.blob-1 { width: 300px; height: 300px; background: var(--color-primary); top: -100px; right: -50px; }
.blob-2 { width: 250px; height: 250px; background: #9b51e0; bottom: -50px; left: 10%; }


/* ---- Footer ---- */
.site-footer { background: var(--color-dark); color: #fff; }
.footer-main { padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo img { height: 50px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-desc { color: #888; margin-bottom: 20px; }
.footer-heading { font-size: 18px; font-weight: 700; margin-bottom: 25px; position: relative; }
.footer-heading::after {
    content:''; position: absolute; bottom:-10px; right:0; width: 30px; height: 2px; background: var(--color-primary);
}
.col-links ul li, .col-cats ul li, .contact-list li { margin-bottom: 15px; }
.col-links a, .col-cats a { color: #888; transition: var(--transition); }
.col-links a:hover, .col-cats a:hover { color: #fff; padding-right: 5px; }
.contact-list li { display: flex; gap: 15px; color: #888; }
.social-links { display: flex; gap: 10px; }
.social-icon {
    width: 40px; height: 40px; border-radius: 50%; background: #222;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; transition: var(--transition); font-weight: bold;
}
.social-icon:hover { background: var(--color-primary); transform: translateY(-3px); }

.footer-bottom { border-top: 1px solid #222; padding: 25px 0; color: #777; font-size: 14px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; }
.footer-legal { display: flex; gap: 20px; }


/* ---- Animations ---- */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.reveal-down { opacity: 0; transform: translateY(-30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.stagger-up { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }

.is-revealed { opacity: 1; transform: translateY(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ---- Single Article ---- */
.single-hero { position: relative; height: 75vh; min-height: 500px; display: flex; align-items: flex-end; overflow: hidden; }
.single-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,16,20,0.95) 0%, rgba(15,16,20,0.5) 40%, transparent 100%); z-index: 1; }
.hero-content-wrapper { position: relative; z-index: 2; padding-bottom: 60px; width: 100%; }
.hero-content { max-width: 800px; color: #fff; }
.hero-meta-top { display: flex; align-items: center; gap: 20px; font-weight: 700; font-size: 14px; margin-bottom: 20px; color: #ccc; }
.hero-meta-top .tag-badge { margin-bottom: 0; background: var(--color-primary); color: #fff; border-radius: 4px; padding: 4px 12px; }
.hero-title { font-size: 48px; font-weight: 900; line-height: 1.25; margin-bottom: 20px; text-shadow: 0 4px 10px rgba(0,0,0,0.3); }
.hero-excerpt { font-size: 20px; color: #ddd; margin-bottom: 30px; border-right: 3px solid var(--color-primary); padding-right: 15px; }

.hero-author { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; }
.author-avatar img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--color-primary); }
.author-info { display: flex; flex-direction: column; }
.author-info strong { font-size: 16px; font-weight: 800; color: #fff; }
.author-info span { font-size: 13px; color: #aaa; }
.hero-date, .hero-comments-count { display: flex; align-items: center; gap: 8px; color: #ccc; font-size: 14px; margin-right: 20px; }

.single-layout { padding: 60px 24px; display: grid; grid-template-columns: 1fr 300px; gap: 60px; }
.single-content { background: #fff; padding: 40px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.post-content { font-size: 18px; line-height: 1.9; color: #222; margin-bottom: 40px; }
.post-content h2, .post-content h3 { font-weight: 800; margin: 40px 0 20px; color: var(--color-dark); }
.post-content p { margin-bottom: 20px; }
.post-content blockquote { background: #fff; border-right: 4px solid var(--color-primary); padding: 20px 30px; margin: 30px 0; font-style: italic; font-weight: 700; box-shadow: var(--shadow-sm); }

.post-tags { margin: 40px 0; padding-top: 30px; border-top: 1px solid #ddd; }
.tags-title { font-size: 18px; font-weight: 800; margin-bottom: 15px; }
.post-tags a { display: inline-block; background: #eef2f5; color: var(--color-dark); padding: 6px 15px; border-radius: 20px; font-size: 14px; font-weight: 700; margin-left: 10px; margin-bottom: 10px; transition: var(--transition); }
.post-tags a:hover { background: var(--color-primary); color: #fff; }

/* Sidebar & Share */
.single-sidebar .widget-title { font-size: 20px; font-weight: 800; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.title-accent { display: inline-block; width: 6px; height: 20px; background: var(--color-primary); border-radius: 4px; }
.related-widget { background: #fff; padding: 25px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 40px; }
.related-item { display: flex; gap: 15px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 20px; }
.related-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.related-img-wrap { width: 80px; height: 80px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.related-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.related-info h4 { font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--color-dark); margin-bottom: 10px; transition: var(--transition); }
.related-item:hover .related-info h4 { color: var(--color-primary); }
.related-date { color: #888; font-size: 12px; display: flex; align-items: center; gap: 5px; }

.share-widget { background: #fff; padding: 25px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.share-icons { display: flex; gap: 10px; flex-direction: column; }
.share-btn { display: flex; align-items: center; justify-content: center; width: 100%; height: 45px; border-radius: 8px; color: #fff; font-weight: bold; transition: var(--transition); }
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #000; }
.share-btn.in { background: #0077b5; }
.share-btn:hover { opacity: 0.9; transform: translateX(-5px); }

/* Comments */
.comments-area { background: #fff; padding: 40px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-top: 40px; }
.comments-title, .comment-reply-title { font-size: 24px; font-weight: 800; color: var(--color-dark); margin-bottom: 30px; display: flex; align-items: center; gap: 10px; }
.comments-title::before, .comment-reply-title::before { content: ''; display: inline-block; width: 24px; height: 24px; background: url('data:image/svg+xml;utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="%23e60000" stroke-width="2" fill="none"%3E%3Cpath d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"%3E%3C/path%3E%3C/svg%3E') no-repeat center; }
.comment-list { margin-bottom: 40px; }
.comment-list li { margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 25px; }
.comment-body { display: flex; gap: 20px; }
.comment-author img { border-radius: 50%; width: 50px; height: 50px; }
.comment-meta { margin-bottom: 10px; }
.comment-meta b { font-size: 16px; font-weight: 700; color: var(--color-dark); }
.comment-metadata { display: block; font-size: 13px; color: #888; margin-top: 5px; }
.comment-content { font-size: 15px; color: #444; line-height: 1.6; }
.comment-form-comment textarea, .comment-form-author input { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; font-family: var(--font-main); font-size: 15px; background: #f9f9f9; outline: none; transition: border 0.3s; }
.comment-form-comment textarea:focus, .comment-form-author input:focus { border-color: var(--color-primary); }
.comment-form-author { margin-bottom: 20px; }
.submit-comment { width: 100%; padding: 16px; background: var(--color-dark); color: #fff; font-size: 16px; border-radius: 8px; border: none; cursor: pointer; transition: 0.3s; font-weight: 700; }
.submit-comment:hover { background: var(--color-primary); }

/* ---- Responsive ---- */
@media (max-width: 992px) {
    .main-layout, .single-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    .header-nav { 
        position: absolute; top: 100%; left: 0; width: 100%;
        background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px; z-index: 100;
        display: none;
    }
    .header-nav.active { display: block; }
    .header-nav ul { flex-direction: column; gap: 15px; }

    .mobile-menu-toggle { display: block; background: none; border: none; width: 30px; height: 20px; position: relative; cursor: pointer;}
    .mobile-menu-toggle span { display: block; width: 100%; height: 2px; background: var(--color-dark); position: absolute; left: 0; transition: .3s; }
    .mobile-menu-toggle span:nth-child(1) { top: 0; }
    .mobile-menu-toggle span:nth-child(2) { top: 9px; }
    .mobile-menu-toggle span:nth-child(3) { top: 18px; }
    
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); top: 9px; }
    
    .share-icons { flex-direction: row; }
}
@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .articles-grid, .articles-page-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    #soz-subscribe-form { flex-direction: column; }
    
    .featured-content { padding: 20px; }
    .featured-title, .hero-title { font-size: 24px; }
    
    .story-card { flex: 0 0 180px; height: 320px; }
    .story-play-icon { width: 30px; height: 30px; left: 10px; top: 10px; }
    
    .category-pills {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .category-pills::-webkit-scrollbar { display: none; }
    .cat-pill { white-space: nowrap !important; flex-shrink: 0 !important; }
    
    .share-mini-popup {
        left: 0 !important;
        right: auto !important;
        transform: none !important;
    }
    
    .footer-col-content { display: none; padding-top: 15px; }
    .footer-col-content.active { display: block; }
    .mobile-toggle { cursor: pointer; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 15px; margin-bottom: 10px; }
    .toggle-icon::after { content: '+'; font-size: 24px; font-weight: 300; color: #fff; transition: 0.3s; }
    .mobile-toggle.active .toggle-icon::after { content: '-'; color: var(--color-primary); }
}

/* ---- Articles Page Full Layout ---- */
.articles-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
@media (max-width: 1100px) {
    .articles-page-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .articles-page-grid { grid-template-columns: 1fr; }
}
.article-page-card {
    background: #fff; border-radius: 20px;
    border: 1px solid #f0f0f0; transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column;
}
.article-page-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,0.08); }
.apc-img-wrap { position: relative; height: 220px; overflow: hidden; display: block; }
.apc-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-page-card:hover .apc-img { transform: scale(1.05); }
.apc-tag {
    position: absolute; top: 15px; right: 15px; background: #e3000f;
    color: #fff; padding: 5px 16px; border-radius: 20px; font-size: 12px; font-weight: 800;
    z-index: 2;
}
.apc-content { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.apc-meta { display: flex; gap: 10px; color: #888; font-size: 12px; margin-bottom: 12px; justify-content: space-between; }
.apc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.apc-title { font-size: 17px; font-weight: 800; color: var(--color-dark); margin-bottom: 10px; line-height: 1.5; }
.article-page-card:hover .apc-title { color: #e3000f; }
.apc-excerpt { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 18px; flex: 1;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.apc-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 14px; border-top: 1px solid #f0f0f0; margin-top: auto;
}
.apc-icons { display: flex; gap: 12px; color: #bbb; }
.apc-icons svg { cursor: pointer; transition: 0.3s; }
.apc-icons svg:hover { color: #e3000f; }
.apc-readmore { color: #107e3e; font-weight: 800; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.apc-readmore svg { transition: transform 0.3s; }
.article-page-card:hover .apc-readmore svg { transform: translateX(-5px); }

/* ---- Category Pills ---- */
.category-pills { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.cat-pill {
    background: #fff; border: 1px solid #ddd; color: #444;
    padding: 8px 22px; border-radius: 30px; font-size: 14px; font-weight: 700;
    transition: all 0.3s ease; text-decoration: none;
}
.cat-pill:hover { background: #f5f5f5; color: #000; }
.cat-pill.active { background: #000; color: #fff; border-color: #000; }

/* ---- Global Button Font Fix ---- */
button, input[type="submit"], .btn-primary, .submit-comment, .search-submit-custom {
    font-family: var(--font-main);
}

/* ---- Comments ---- */
.comments-area { margin-top: 40px; }
.comments-title { font-size: 22px; font-weight: 800; margin-bottom: 25px; text-align: center; }
.comment-list { list-style: none; padding: 0; margin: 0; }
.comment-list .children { padding-right: 30px; margin: 0; list-style: none; }
.soz-comment-card { margin-bottom: 16px; }
.soz-comment-inner {
    background: #f8f9fa; border-radius: 16px; padding: 20px 24px;
    border: 1px solid #eee; transition: box-shadow 0.3s ease;
}
.soz-comment-inner:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.soz-comment-header {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.soz-comment-avatar { flex-shrink: 0; }
.soz-avatar-img { border-radius: 50%; width: 44px; height: 44px; }
.soz-comment-meta { flex: 1; }
.soz-comment-author { font-size: 14px; color: #555; display: block; }
.soz-comment-author strong { color: var(--color-dark); font-weight: 800; }
.soz-comment-date { font-size: 12px; color: #aaa; display: block; margin-top: 2px; }
.soz-comment-reply-link a {
    font-size: 12px; color: #e3000f; text-decoration: none; font-weight: 700;
    background: rgba(227,0,15,0.08); padding: 4px 14px; border-radius: 20px;
    transition: all 0.3s ease;
}
.soz-comment-reply-link a:hover { background: #e3000f; color: #fff; }
.soz-comment-body { font-size: 15px; line-height: 1.7; color: #333; }
.soz-comment-body p { margin: 0; }
.soz-comment-awaiting {
    font-size: 13px; color: #f5a623; background: #fef7e8;
    padding: 8px 14px; border-radius: 8px; margin-bottom: 8px;
}
.comment-reply-title { font-size: 22px; font-weight: 800; margin-bottom: 20px; text-align: center; }
.comment-reply-title small { font-size: 14px; font-weight: 400; }
.comment-reply-title small a { color: #e3000f; text-decoration: none; }
#respond .comment-form-comment textarea,
#respond .comment-form-author input {
    width: 100%; padding: 14px 18px; border: 1px solid #e0e0e0;
    border-radius: 12px; font-family: var(--font-main); font-size: 14px;
    background: #fafbfc; transition: border-color 0.3s ease; margin-bottom: 12px;
}
#respond .comment-form-comment textarea:focus,
#respond .comment-form-author input:focus { border-color: #e3000f; outline: none; background: #fff; }
.comment-notes { font-size: 13px; color: #888; margin-bottom: 15px; text-align: center; }
.logged-in-as { font-size: 13px; color: #888; margin-bottom: 15px; text-align: center; }
.logged-in-as a { color: #e3000f; text-decoration: none; }
