/*
Theme Name: موج بازار
Theme URI: https://marunstudio.ir/
Author: مارون استودیو
Author URI: https://marunstudio.ir
Description: پوسته خبری و اقتصادی حرفه‌ای، سبک، فوق‌العاده سریع و هماهنگ با پنل تنظیمات اختصاصی.
Version: 1.2.5
Text Domain: mojbazar
Domain Path: /languages
*/

/* ==========================================================================
   ۱. تنظیمات کلی و متغیرها
   ========================================================================== */
:root {
    --bg-top-bar: #2d2d2d;
    --bg-logo-bar: #ff0000;
    --bg-nav-bar: #a00501;
    --bg-nav-active: #730200;
    --bg-footer: #222222;
    --bg-footer-bottom: #171717;
    --text-white: #ffffff;
    --font-main: 'Vazirmatn', sans-serif;
    --max-width: 1280px;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    direction: rtl;
    text-align: right;
    font-family: var(--font-main);
    background-color: #ffffff;
    color: #222222;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
    height: 100%;
}

/* ==========================================================================
   ۲. عناوین و خطوط قرمز
   ========================================================================== */
.section-title-lined {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    width: 100%;
}

.section-title-lined h2, 
.section-title-lined h1 {
    color: var(--bg-logo-bar);
    font-size: 1.15rem;
    font-weight: 800;
    white-space: nowrap;
    padding-left: 15px;
    margin: 0;
}

.section-title-lined::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background-color: var(--bg-logo-bar);
}

/* ==========================================================================
   ۳. هدر عمومی سایت
   ========================================================================== */
.top-bar {
    background-color: var(--bg-top-bar);
    color: var(--text-white);
    font-size: 0.78rem;
    padding: 4px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-links a { color: #dddddd; transition: color 0.2s; }
.top-links a:hover { color: #ffffff; }

.top-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-icons a {
    width: 22px;
    height: 22px;
    background-color: #ffffff;
    color: #2d2d2d;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    transition: all 0.2s;
}

.social-icons a:hover {
    background-color: var(--bg-logo-bar);
    color: #ffffff;
}

.date-text { color: #cccccc; }

.logo-bar {
    background-color: var(--bg-logo-bar);
    padding: 10px 0;
    color: var(--text-white);
}

.logo-bar .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.brand-logo-img img {
    max-height: 58px;
    width: auto;
    display: block;
}

.main-nav {
    background-color: var(--bg-nav-bar);
    min-height: 36px;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-list {
    display: flex;
    align-items: center;
    height: 100%;
}

.menu-list li { height: 100%; position: relative; }

.menu-list li a {
    display: flex;
    align-items: center;
    height: 36px;
    padding: 0 12px;
    color: var(--text-white);
    font-size: 0.82rem;
    font-weight: 500;
    white-space: nowrap;
}

.menu-list li.current-menu-item a,
.menu-list li.active a {
    background-color: var(--bg-nav-active);
    font-weight: bold;
}

.hamburger-btn {
    display: none;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    color: var(--text-white);
    font-size: 1.15rem;
    cursor: pointer;
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    color: var(--text-white);
    font-size: 0.95rem;
    cursor: pointer;
}

/* ==========================================================================
   ۴. منوی کشویی موبایل و مدال جستجو
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.65); z-index: 99990; opacity: 0; visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu-drawer {
    position: fixed; top: 0; right: -310px; width: 280px; height: 100vh;
    background-color: #ffffff; z-index: 99991;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    display: flex; flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-drawer.active { right: 0; }

.mobile-menu-header {
    background-color: var(--bg-nav-bar); color: #ffffff;
    padding: 14px 18px; display: flex; align-items: center; justify-content: space-between;
}
.mobile-menu-title { font-weight: 800; font-size: 0.95rem; }
.close-mobile-btn { background: none; border: none; color: #ffffff; font-size: 1.8rem; cursor: pointer; }
.mobile-menu-body { padding: 10px 0; overflow-y: auto; flex: 1; }

.mobile-nav-list li a {
    display: block; padding: 12px 20px; color: #333333;
    font-weight: 600; font-size: 0.88rem; border-bottom: 1px solid #f2f2f2;
}
.mobile-nav-list li.current-menu-item a, .mobile-nav-list li a:hover {
    background-color: #fff0f0; color: var(--bg-nav-bar);
}

.search-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-color: rgba(0, 0, 0, 0.88); backdrop-filter: blur(6px);
    z-index: 99999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-modal-overlay.active { opacity: 1; visibility: visible; }
.close-search-btn { position: absolute; top: 25px; left: 30px; background: none; border: none; color: #ffffff; font-size: 2.5rem; cursor: pointer; }
.search-modal-box { width: 90%; max-width: 700px; }

.search-input-wrapper {
    position: relative; display: flex; align-items: center;
    background-color: #ffffff; border-radius: 6px; padding: 4px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.search-input-wrapper input {
    width: 100%; height: 55px; border: none; outline: none;
    font-size: 1.25rem; font-family: var(--font-main); color: #333333;
    background: transparent; padding-left: 45px;
}
.search-input-wrapper input::placeholder { color: #a0a0a0; font-weight: 500; }
.search-input-wrapper .submit-search { position: absolute; left: 18px; background: none; border: none; color: #888888; font-size: 1.35rem; cursor: pointer; }
/* ==========================================================================
   استایل کامل مدال و فرم جستجو
   ========================================================================== */

.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

.close-search-btn { 
    position: absolute; 
    top: 25px; 
    left: 30px; 
    background: none; 
    border: none; 
    color: #ffffff; 
    font-size: 2.5rem; 
    cursor: pointer; 
}

.search-modal-box { 
    width: 90%; 
    max-width: 700px; 
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border-radius: 6px;
    padding: 4px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.search-input-wrapper input {
    width: 100%;
    height: 55px;
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-family: var(--font-main);
    color: #333333;
    background: transparent;
    padding-left: 45px;
    box-sizing: border-box;
}

.search-input-wrapper input::placeholder { 
    color: #a0a0a0; 
    font-weight: 500; 
}

.search-input-wrapper .submit-search { 
    position: absolute; 
    left: 18px; 
    background: none; 
    border: none; 
    color: #888888; 
    font-size: 1.35rem; 
    cursor: pointer; 
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   ۵. معماری اصلی ۳ ستونه
   ========================================================================== */
.main-content { padding: 25px 0 40px; }

.content-grid {
    display: grid !important;
    grid-template-columns: 2.2fr 1.1fr 0.8fr !important;
    gap: 25px !important;
    align-items: start !important;
}

.content-grid > * {
    min-width: 0 !important;
}

.news-feed,
.single-post-wrapper {
    display: flex; 
    flex-direction: column; 
    width: 100% !important;
    min-width: 0 !important;
}

.middle-column {
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100% !important;
    min-width: 0 !important;
}

.ads-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid var(--border-color);
    padding-right: 20px;
    width: 100% !important;
    min-width: 0 !important;
}

/* ==========================================================================
   ۶. اخبار اصلی و خبر ویژه
   ========================================================================== */
.featured-news {
    display: flex; gap: 20px; padding-bottom: 25px; margin-bottom: 25px;
    border-bottom: 2px solid var(--border-color); align-items: flex-start;
}
.featured-info { flex: 1; }
.featured-badge { color: var(--bg-logo-bar); font-weight: 800; font-size: 0.85rem; margin-bottom: 8px; display: block; }

h1.featured-title {
    font-size: 1.35rem; font-weight: 900; line-height: 1.5;
    color: #111111; margin: 0 0 12px 0;
}
h1.featured-title a { color: inherit; text-decoration: none; }
h1.featured-title a:hover { color: var(--bg-logo-bar); }

.featured-excerpt { font-size: 0.85rem; color: #555555; line-height: 1.8; text-align: justify; }
.featured-thumb { width: 48%; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.featured-thumb img { width: 100%; height: auto; max-height: 260px; object-fit: cover; display: block; }

.news-card {
    display: flex; gap: 15px; padding-bottom: 18px; margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color); align-items: flex-start;
}
.news-card:last-child { border-bottom: none; margin-bottom: 0; }
.news-card .news-thumb { width: 145px; height: 90px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.news-card .news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.news-card:hover .news-thumb img { transform: scale(1.05); }

.news-card .news-details { flex: 1; }
.news-card .category { font-size: 0.75rem; color: var(--bg-logo-bar); font-weight: 600; margin-bottom: 4px; display: block; }

h2.news-title { font-size: 0.88rem; font-weight: 700; line-height: 1.6; margin: 0; padding: 0; }
h2.news-title a { color: #222222; transition: color 0.2s; text-decoration: none; }
h2.news-title a:hover { color: var(--bg-logo-bar); }

.news-rootitr { font-size: 0.78rem; color: var(--bg-logo-bar); font-weight: 700; margin-bottom: 4px; display: block; }
.news-excerpt { font-size: 0.8rem; color: #555555; line-height: 1.6; margin-top: 6px; display: block; }

.more-news-container { margin-top: 25px; text-align: center; }
.more-news-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background-color: #f1f3f5; color: #333333; padding: 10px 24px;
    border-radius: 4px; font-size: 0.85rem; font-weight: 700;
    transition: all 0.2s ease; border: 1px solid var(--border-color);
}
.more-news-btn:hover { background-color: var(--bg-nav-bar); color: #ffffff; border-color: var(--bg-nav-bar); }

/* ==========================================================================
   ۷. ویجت‌های سایدبار
   ========================================================================== */
.most-viewed-list { display: flex; flex-direction: column; gap: 12px; }
.most-viewed-item { display: flex; align-items: flex-start; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed var(--border-color); }
.most-viewed-item:last-child { border-bottom: none; }
.most-viewed-item .number {
    background-color: #f1f3f5; color: #d00000; font-weight: bold; font-size: 0.8rem;
    min-width: 22px; height: 22px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}

h3.most-viewed-title { font-size: 0.82rem; font-weight: 600; line-height: 1.5; margin: 0; padding: 0; flex: 1; }
h3.most-viewed-title a { color: #333333; text-decoration: none; transition: color 0.2s; }
h3.most-viewed-title a:hover { color: var(--bg-logo-bar); }

.compact-news-section { border-top: 2px solid var(--border-color); padding-top: 20px; }
.compact-news-list { display: flex; flex-direction: column; gap: 16px; }
.compact-news-item { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--border-color); }
.compact-news-item:last-child { border-bottom: none; padding-bottom: 0; }

.compact-news-thumb { width: 68px; height: 68px; flex-shrink: 0; border-radius: 8px; overflow: hidden; }
.compact-news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.compact-news-item:hover .compact-news-thumb img { transform: scale(1.06); }

h3.compact-news-title { flex: 1; font-size: 0.85rem; font-weight: 700; line-height: 1.55; margin: 0; padding: 0; }
h3.compact-news-title a { color: #0c3866; text-decoration: none; transition: color 0.2s; }
h3.compact-news-title a:hover { color: var(--bg-logo-bar); }

.ad-banner {
    background: linear-gradient(135deg, #0f3260, #081d3a); color: #ffffff;
    border-radius: 6px; min-height: 220px; display: flex; align-items: center;
    justify-content: center; text-align: center; padding: 20px;
    border: 2px dashed #4a6fa5; overflow: hidden;
}
.ad-banner img { max-width: 100%; height: auto; display: block; border-radius: 4px; }

/* ==========================================================================
   ۸. Breadcrumbs & Single Post Page
   ========================================================================== */
.breadcrumb-container {
    margin-bottom: 20px; font-size: 0.8rem; color: #666666;
    background-color: #f8f9fa; padding: 8px 15px; border-radius: 4px;
    border-right: 3px solid var(--bg-logo-bar);
}
.breadcrumb-container a { color: #333333; font-weight: 600; }
.breadcrumb-container a:hover { color: var(--bg-logo-bar); }
.breadcrumb-container span.separator { margin: 0 6px; color: #aaaaaa; }

.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 6px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--border-color);
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; height: 34px; padding: 0 8px; border-radius: 4px;
    border: 1px solid var(--border-color); font-size: 0.85rem; font-weight: 600; color: #444;
}
.pagination a:hover, .pagination span.current {
    background-color: var(--bg-logo-bar); color: #ffffff; border-color: var(--bg-logo-bar);
}

.single-meta-bar {
    display: flex; align-items: center; gap: 15px; font-size: 0.78rem;
    color: #777777; margin-bottom: 15px; padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color); flex-wrap: wrap;
}
.single-meta-item { display: flex; align-items: center; gap: 5px; }
.single-meta-item i { color: var(--bg-logo-bar); }

.single-main-title { font-size: 1.6rem; font-weight: 900; line-height: 1.5; color: #111111; margin-bottom: 18px; }
h1.single-main-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
h1.single-main-title a:hover { color: var(--bg-logo-bar); }

.single-featured-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 6px; margin-bottom: 22px; }
.single-content { font-size: 0.95rem; line-height: 2; color: #333333; text-align: justify; }
.single-content p { margin-bottom: 18px; }
.single-content blockquote {
    background-color: #fff8f8; border-right: 4px solid var(--bg-logo-bar);
    padding: 15px 20px; margin: 20px 0; font-weight: 600; color: #555555;
    border-radius: 0 4px 4px 0;
}



/* ==========================================================================
   استایل اختصاصی برچسب‌ها (طرح دکمه‌ای ایمنا هماهنگ با قالب)
   ========================================================================== */

.post-tags-wrapper {
    margin-top: 35px;
    margin-bottom: 25px;
}

.post-tags-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-top: 15px !important;
}

.post-tags-list a {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #f1f3f5 !important; /* رنگ زمینه خاکستری ملایم */
    color: #444444 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    border: 1px solid var(--border-color) !important;
    transition: all 0.2s ease !important;
}

/* افکت هاور دکمه برچسب‌ها با رنگ قرمز قالب */
.post-tags-list a:hover {
    background-color: var(--bg-nav-bar) !important; /* قرمز اصلی پوسته */
    color: #ffffff !important;
    border-color: var(--bg-nav-bar) !important;
    transform: translateY(-2px) !important;
}

/* ==========================================================================
   ۹. سیستم نظرات پوسته
   ========================================================================== */
.comments-section {
    margin-top: 35px; padding-top: 25px;
    border-top: 2px solid var(--border-color); width: 100% !important;
}

.comment-respond, #respond { margin: 0 !important; padding: 0 !important; background: transparent !important; border: none !important; }
.comment-reply-title { display: none !important; }

.comment-form, #commentform {
    display: flex !important; flex-direction: column !important; gap: 15px !important;
    background-color: #f9f9f9 !important; padding: 20px !important;
    border-radius: 6px !important; border: 1px solid var(--border-color) !important;
    margin-bottom: 30px !important; box-sizing: border-box !important; width: 100% !important;
}

.form-row { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 15px !important; width: 100% !important; }

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea,
#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
    width: 100% !important; padding: 12px 15px !important; border: 1px solid #dddddd !important;
    border-radius: 4px !important; font-family: var(--font-main) !important;
    font-size: 0.85rem !important; outline: none !important; transition: border-color 0.2s !important;
    box-sizing: border-box !important; background: #ffffff !important; color: #222222 !important;
}

.comment-form input:focus, .comment-form textarea:focus,
#commentform input:focus, #commentform textarea:focus { border-color: var(--bg-logo-bar) !important; }

.comment-form textarea, #commentform textarea { resize: vertical !important; min-height: 120px !important; }

.logged-in-as { font-size: 0.85rem !important; color: #555555 !important; margin: 0 0 10px 0 !important; }
.logged-in-as a { color: var(--bg-nav-bar) !important; font-weight: bold !important; }

.form-submit { margin: 0 !important; padding: 0 !important; }

.btn-submit-comment,
#commentform #submit,
.comment-form #submit {
    background-color: var(--bg-nav-bar) !important; color: #ffffff !important;
    border: none !important; padding: 10px 28px !important; font-family: var(--font-main) !important;
    font-weight: 700 !important; font-size: 0.88rem !important; border-radius: 4px !important;
    cursor: pointer !important; transition: background-color 0.2s !important;
    display: inline-block !important; width: auto !important; height: auto !important; box-shadow: none !important;
}

.btn-submit-comment:hover,
#commentform #submit:hover,
.comment-form #submit:hover { background-color: var(--bg-logo-bar) !important; }

.comments-list { display: flex !important; flex-direction: column !important; gap: 16px !important; margin-top: 15px !important; }
.comment-card { background-color: #ffffff !important; border: 1px solid var(--border-color) !important; border-radius: 6px !important; padding: 16px 20px !important; margin-bottom: 12px !important; }
.comment-header { display: flex !important; justify-content: space-between !important; align-items: center !important; margin-bottom: 10px !important; border-bottom: 1px solid #f2f2f2 !important; padding-bottom: 8px !important; }
.comment-author { font-weight: 700 !important; font-size: 0.9rem !important; color: #222222 !important; }
.comment-date { font-size: 0.78rem !important; color: #888888 !important; }
.comment-text { font-size: 0.88rem !important; color: #444444 !important; line-height: 1.8 !important; }
.comment-text p { margin: 0 !important; }

/* ==========================================================================
   ۱۰. دکمه بالارونده و فوتر
   ========================================================================== */
.scroll-to-top-btn {
    position: fixed; bottom: 25px; left: 25px; width: 40px; height: 40px;
    background-color: var(--bg-nav-bar); color: #ffffff; border: none; border-radius: 4px;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); z-index: 9900;
    opacity: 0; visibility: hidden; transition: all 0.3s;
}
.scroll-to-top-btn.active { opacity: 1; visibility: visible; }

.site-footer { background-color: var(--bg-footer); color: #cccccc; border-top: 4px solid var(--bg-nav-bar); font-size: 0.85rem; }
.footer-top { padding: 40px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; }
.footer-col .footer-title { color: #ffffff; font-size: 0.98rem; font-weight: 700; margin-bottom: 18px; position: relative; padding-bottom: 8px; }
.footer-col .footer-title::after { content: ''; position: absolute; bottom: 0; right: 0; width: 35px; height: 2px; background-color: var(--bg-logo-bar); }

.footer-logo { max-height: 48px; margin-bottom: 12px; display: block; }
.about-text { line-height: 1.8; font-size: 0.8rem; color: #a0a0a0; margin-bottom: 15px; }
.footer-socials { display: flex; gap: 8px; }
.footer-socials a { width: 32px; height: 32px; background-color: #333333; color: #ffffff; border-radius: 4px; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }

.footer-menu li { margin-bottom: 10px; }
.footer-menu li a { color: #b0b0b0; display: inline-block; }

.contact-list li { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #b0b0b0; font-size: 0.82rem; }
.contact-list li i { color: var(--bg-logo-bar); font-size: 0.9rem; }

.footer-bottom { background-color: var(--bg-footer-bottom); padding: 15px 0; border-top: 1px solid #2a2a2a; font-size: 0.78rem; color: #888888; }
.footer-bottom-content { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.footer-copyright p, .footer-developer p { margin: 0; }
.footer-developer a { color: #b0b0b0; font-weight: bold; transition: color 0.2s; }
.footer-developer a:hover { color: var(--bg-logo-bar); }

/* ==========================================================================
   ۱۱. واکنش‌گرایی (Responsive Media Queries)
   ========================================================================== */
@media (max-width: 992px) {
    .menu-list { display: none; }
    .hamburger-btn { display: flex; }
    
    .content-grid {
        grid-template-columns: 1fr !important;
    }
    
    .news-feed,
    .single-post-wrapper,
    .middle-column,
    .ads-sidebar {
        width: 100% !important;
        border-right: none !important;
        padding-right: 0 !important;
    }
    
    .featured-news { flex-direction: column-reverse; }
    .featured-thumb { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
}

@media (max-width: 576px) {
    .top-bar .container { flex-direction: column; gap: 6px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr !important; }
    .single-main-title { font-size: 1.3rem; }
    .footer-bottom-content { flex-direction: column; text-align: center; gap: 10px; }
}