﻿/*
Theme Name: قالب خبری سیمای فولاد
Theme URI: https://goldeneagleweb.com/
Author: میترا لواف پور ، وحید دربندی
Author URI: https://www.goldeneagleweb.ir
Description: قالب حرفه ای سیمای فولاد با قابلیت حرفه ای / پنل ویژه خبرنگاران / ارسال اخبار و تایید توسط سر دبیر/ امکان نمایش اخبار برجسته روی صفحه اصلی و پایین آن بر اساس زمان بندی
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greenskin
Tags: news, rtl, custom-menu, custom-logo, translation-ready
*/

/* پنل خبرنگاران / فرم ورود / داشبورد */
.reporter-portal-box { max-width: 760px; margin: 40px auto; background: var(--surface); border-radius: 16px; padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.reporter-portal-box h1 { font-size: 22px; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.gs-message { display: none; padding: 12px 16px; border-radius: 10px; margin: 14px 0; font-size: 14px; }
.gs-message:not(:empty) { display: block; }
.gs-message-success { background: #e6f7ee; color: #16a56b; }
.gs-message-error { background: #fdeceb; color: #d9432b; }
.reporter-dashboard-head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.reporter-dashboard-head > div { display: flex; gap: 8px; }
.reporter-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 28px; }
.reporter-stat-card { background: var(--surface-soft); border-radius: 12px; padding: 18px; text-align: center; }
.reporter-stat-card strong { display: block; font-size: 26px; }
.reporter-stat-card.pending strong { color: var(--orange); }
.reporter-stat-card.rejected strong { color: #d9432b; }
.reporter-list-title { margin: 20px 0 12px; font-size: 18px; }
.reporter-status-badge { padding: 2px 10px; border-radius: 20px; font-size: 12px; background: #e6f7ee; color: #16a56b; }
.reporter-status-badge.status-pending { background: var(--orange-light); color: var(--orange-dark); }
.reporter-status-badge.status-needs_revision { background: #fdeceb; color: #d9432b; }
.reporter-rejection-note { color: #d9432b; font-size: 13px; }
.reporter-news-form .comment-form-field { margin-bottom: 16px; }
.reporter-news-form input[type=text], .reporter-news-form input[type=file], .reporter-news-form select, .reporter-news-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--sn-border-strong); border-radius: 8px; font-family: inherit; background: var(--sn-input-bg); color: var(--sn-text); transition: var(--sn-transition); }
.reporter-news-form select { cursor: pointer; }
.reporter-news-form input[type=text]::placeholder, .reporter-news-form textarea::placeholder { color: var(--sn-muted); }
.reporter-news-form input[type=text]:focus, .reporter-news-form select:focus, .reporter-news-form textarea:focus { outline: 0; border-color: var(--sn-primary); box-shadow: 0 0 0 3px rgba(8, 124, 199, 0.1); }
.reporter-news-form textarea { resize: vertical; }

/* پاپ‌آپ ورود خبرنگاران (OTP) */
.reporter-login-page { min-height: 70vh; display: flex; align-items: center; justify-content: center; padding: 24px 0; }
.reporter-login-overlay { position: relative; width: 100%; min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: radial-gradient(circle at 50% 0%, rgba(7,28,59,.06), transparent 60%); }
.gs-otp-modal { position: relative; max-width: 420px; width: 100%; margin: 0 auto; text-align: center; box-shadow: var(--shadow-lg); border: 1px solid var(--border); animation: gsOtpPop .28s ease; }
@keyframes gsOtpPop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.gs-otp-modal-close { position: absolute; top: 14px; left: 14px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-soft); color: var(--text-soft); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 13px; }
.gs-otp-modal-close:hover { background: var(--border); color: var(--text); }
.gs-otp-modal-icon { width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--blue)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 26px; }
.gs-otp-modal h1 { justify-content: center; }
.gs-otp-modal p { color: var(--text-soft); font-size: 13.5px; margin-bottom: 18px; }
.gs-otp-hint { color: var(--text-soft); font-size: 13.5px; margin: -4px 0 16px; }
.gs-otp-hint bdi { color: var(--text); font-weight: 700; }

.gs-otp-boxes { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.gs-otp-box { width: 48px; height: 56px; text-align: center; font-size: 22px; font-weight: 700; border: 1.5px solid var(--border-dark); border-radius: var(--radius-sm); background: var(--surface-soft); color: var(--text); transition: var(--transition); }
.gs-otp-box:focus { outline: none; border-color: var(--blue); background: var(--surface); box-shadow: 0 0 0 3px var(--blue-light); }

.gs-otp-modal-links { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; gap: 10px; flex-wrap: wrap; }
.gs-otp-link-btn { background: none; border: none; color: var(--blue); font-size: 13px; cursor: pointer; padding: 6px 4px; }
.gs-otp-link-btn:disabled { color: var(--text-muted); cursor: not-allowed; }
.gs-otp-link-btn:not(:disabled):hover { text-decoration: underline; }

@media (max-width: 480px) {
    .gs-otp-modal { padding: 24px 18px; }
    .gs-otp-box { width: 40px; height: 50px; font-size: 18px; }
}

/* پاپ‌آپ ورود خبرنگاران (روی هر صفحه، بدون رفتن به صفحه جدید) */
.gs-modal-overlay { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 24px 16px; background: rgba(6, 15, 30, 0.6); overflow-y: auto; }
.gs-modal-overlay[hidden] { display: none; }
body.gs-modal-open { overflow: hidden; }

/* پروفایل خبرنگار در داشبورد: عکس پروفایل (کراپ ۵۰۰×۵۰۰)، درباره من، تلفن، شبکه‌های اجتماعی */
.reporter-profile-section { margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.gs-avatar-editor { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 8px; }
.gs-avatar-preview { width: 96px; height: 96px; border-radius: 50%; background-size: cover; background-position: center; background-color: var(--surface-soft); border: 3px solid var(--border); flex-shrink: 0; }
.gs-avatar-hint { color: var(--text-muted); font-size: 12.5px; margin: 8px 0 0; }
.gs-avatar-crop-box { margin: 16px 0; padding: 18px; background: var(--surface-soft); border-radius: var(--radius); text-align: center; }
.gs-avatar-crop-box canvas { max-width: 100%; width: 260px; height: 260px; border-radius: 12px; cursor: grab; touch-action: none; box-shadow: var(--shadow-sm); background: var(--surface); }
.gs-avatar-crop-box canvas:active { cursor: grabbing; }
.gs-avatar-zoom-label { display: block; margin: 14px auto; max-width: 260px; font-size: 12.5px; color: var(--text-soft); }
.gs-avatar-zoom-label input[type=range] { display: block; width: 100%; margin-top: 6px; }
.gs-avatar-crop-actions { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.gs-social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 16px; }
.gs-profile-form textarea#greenskin_bio { min-height: 80px; }
.gs-profile-subheading { font-size: 15px; margin: 22px 0 10px; }

/* تصویر شاخص: درگ‌اند‌دراپ + پیش‌نمایش */
.gs-featured-image-drop { position: relative; border: 2px dashed var(--border-dark, #d6dce6); border-radius: var(--radius-sm, 8px); cursor: pointer; transition: var(--transition); overflow: hidden; }
.gs-featured-image-drop:hover, .gs-featured-image-drop.drag-over { border-color: var(--blue, #0d6efd); background: var(--blue-light, #eaf3ff); }
.gs-featured-image-preview { height: 180px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.gs-featured-image-placeholder { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--text-muted, #939eaf); font-size: 13px; text-align: center; padding: 10px; }
.gs-featured-image-placeholder i { font-size: 26px; }
.gs-featured-image-drop.has-image .gs-featured-image-placeholder { display: none; }
.gs-featured-image-drop.has-image .gs-featured-image-preview { background-color: rgba(0,0,0,.03); }

/* بسته‌بندی ادیتور متن غنی خبر داخل فرم */
.reporter-news-form .wp-editor-wrap, .reporter-news-form .wp-core-ui { max-width: 100%; }
.reporter-news-form .mce-panel { border-color: var(--border-dark, #d6dce6) !important; }

/* پنل تمام‌صفحه خبرنگار: منوی سمت راست + محتوا */
.reporter-app-body { margin: 0; background: var(--body-bg); direction: rtl; font-family: "Vazirmatn", Tahoma, sans-serif; }
.reporter-app-shell { display: flex; min-height: 100vh; align-items: stretch; }

.reporter-app-sidebar { width: 272px; flex-shrink: 0; background: var(--primary); color: #fff; display: flex; flex-direction: column; padding: 24px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.reporter-app-brand img { max-height: 34px; margin-bottom: 26px; display: block; }
.reporter-app-user { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.reporter-app-theme-toggle { margin-inline-start: auto; flex-shrink: 0; border: none; cursor: pointer; }
.reporter-app-avatar { width: 46px; height: 46px; border-radius: 50%; background-size: cover; background-position: center; background-color: rgba(255,255,255,.15); flex-shrink: 0; }
.reporter-app-user strong { display: block; font-size: 13.5px; }
.reporter-app-user span { font-size: 11px; opacity: .7; }

.reporter-app-nav { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.reporter-app-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 10px; color: rgba(255,255,255,.78); text-decoration: none; font-size: 13.5px; transition: var(--transition); }
.reporter-app-nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.reporter-app-nav a.active { background: var(--orange); color: #fff; font-weight: 700; }
.reporter-app-nav-badge { margin-inline-start: auto; background: rgba(255,255,255,.18); border-radius: 20px; padding: 1px 8px; font-size: 11px; min-width: 20px; text-align: center; }
.reporter-app-nav a.active .reporter-app-nav-badge { background: rgba(255,255,255,.3); }

.reporter-app-sidebar-footer { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; margin-top: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.reporter-app-sidebar-footer form { margin: 0; }
.reporter-app-add-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px; border-radius: 10px; background: var(--orange); color: #fff !important; text-decoration: none; font-weight: 700; font-size: 13px; }
.reporter-app-link { display: flex; align-items: center; gap: 8px; padding: 9px 4px; color: rgba(255,255,255,.72); text-decoration: none; font-size: 13px; background: none; border: none; width: 100%; font-family: inherit; cursor: pointer; }
.reporter-app-link:hover { color: #fff; }

.reporter-app-overlay { display: none; }
.reporter-app-sidebar-toggle { display: none; }

.reporter-app-content { flex: 1; min-width: 0; padding: 34px; max-width: 1080px; }
.reporter-app-content-head { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.reporter-app-content-head h1 { font-size: 21px; display: flex; align-items: center; gap: 10px; margin: 0; }

@media (max-width: 900px) {
    .reporter-app-sidebar-toggle { display: flex; align-items: center; justify-content: center; position: fixed; top: 14px; right: 14px; z-index: 130; width: 42px; height: 42px; border-radius: 10px; background: var(--primary); color: #fff; border: none; font-size: 19px; }
    .reporter-app-sidebar { position: fixed; top: 0; right: 0; height: 100vh; z-index: 135; transform: translateX(100%); transition: transform .25s ease; }
    .reporter-app-sidebar.open { transform: translateX(0); }
    .reporter-app-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 128; }
    .reporter-app-overlay.show { display: block; }
    .reporter-app-content { padding: 78px 16px 32px; }
}

/* انتخاب‌گر تاریخ شمسی */
.greenskin-jalali-panel { position: absolute; z-index: 100000; background: #fff; border: 1px solid #dcdcde; border-radius: 8px; padding: 10px; margin-top: 4px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.greenskin-jalali-panel .gjp-row { display: flex; gap: 6px; margin-bottom: 8px; align-items: center; }
.greenskin-jalali-panel select { padding: 4px; }

:root {
    --primary: #071c3b;
    --primary-dark: #041126;
    --primary-light: #0c2d5c;
    --blue: #0d6efd;
    --blue-light: #eaf3ff;
    --orange: #f58220;
    --orange-dark: #d9680a;
    --orange-light: #fff1e5;
    --body-bg: #f5f7fa;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --text: #172033;
    --text-soft: #697386;
    --text-muted: #939eaf;
    --border: #e5e9f0;
    --border-dark: #d6dce6;
    --green: #16a56b;
    --red: #e5484d;
    --shadow-sm: 0 4px 15px rgba(10, 30, 60, 0.06);
    --shadow: 0 10px 30px rgba(10, 30, 60, 0.1);
    --shadow-lg: 0 20px 50px rgba(6, 22, 48, 0.18);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --transition: all 0.25s ease;
}

body.dark-theme {
    --body-bg: #0b1424;
    --surface: #111e31;
    --surface-soft: #17263b;
    --text: #edf3fb;
    --text-soft: #b3c0d0;
    --text-muted: #7e91a8;
    --border: #263852;
    --border-dark: #354b68;
    --blue-light: rgba(13, 110, 253, 0.12);
    --orange-light: rgba(245, 130, 32, 0.12);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* =========================================================
   BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    direction: rtl;
    font-family: "Vazirmatn", Tahoma, sans-serif;
    font-size: 14px;
    line-height: 1.9;
    color: var(--text);
    background: var(--body-bg);
    transition: background 0.3s ease, color 0.3s ease;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--orange);
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

button {
    border: 0;
    outline: 0;
    cursor: pointer;
}

.site-container {
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    padding-right: 28px;
    padding-left: 28px;
}

.section-space {
    padding: 42px 0;
}

.main-content {
    overflow: hidden;
}

.logo-dark,
.dark-logo,
.theme-dark-icon {
    display: none;
}

.dark-theme .logo-light,
.dark-theme .light-logo,
.dark-theme .theme-light-icon {
    display: none;
}

.dark-theme .logo-dark,
.dark-theme .dark-logo,
.dark-theme .theme-dark-icon {
    display: block;
}

.dark-theme .theme-toggle-text::after {
    content: "حالت تاریک";
}

.light-theme .theme-toggle-text::after {
    content: "حالت روشن";
}

/* =========================================================
   PRELOADER
========================================================= */

.page-preloader {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.dark-theme .page-preloader {
    background: #071c3b;
}

.page-preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    width: min(280px, 85vw);
    text-align: center;
}

.preloader-logo img {
    width: 180px;
    height: 70px;
    margin: 0 auto 20px;
    object-fit: contain;
}

.preloader-line {
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 10px;
    background: #e6ebf2;
}

.preloader-line span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--orange));
    animation: loadingLine 1.2s infinite ease-in-out;
}

.preloader-inner p {
    margin: 12px 0 0;
    color: var(--text-soft);
    font-size: 13px;
}

@keyframes loadingLine {
    0% {
        transform: translateX(150%);
    }

    100% {
        transform: translateX(-250%);
    }
}

/* =========================================================
   TOP BAR
========================================================= */

.topbar {
    color: #d9e4f3;
    background: var(--primary-dark);
    font-size: 12px;
}

.topbar-content,
.main-header-content,
.footer-bottom-content,
.newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.topbar-content {
    min-height: 40px;
}

.topbar-right,
.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-right i,
.topbar-left i {
    margin-left: 4px;
    color: var(--orange);
}

.topbar-left a:hover {
    color: var(--orange);
}

.topbar-separator {
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.2);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    color: #fff;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.11);
}

.theme-toggle:hover {
    color: #fff;
    background: var(--orange);
}

/* =========================================================
   MAIN HEADER
========================================================= */

.main-header {
    position: relative;
    z-index: 100;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.main-header-content {
    min-height: 105px;
}

.site-logo {
    display: block;
}

.logo-image {
    width: 210px;
    height: 75px;
    object-fit: contain;
}

.header-actions {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 11px;
}

.header-actions-left {
    justify-content: flex-end;
}

.desktop-search-toggle,
.header-action-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-soft);
    font-size: 13px;
    background: transparent;
}

.desktop-search-toggle {
    padding: 9px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.desktop-search-toggle:hover {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

.header-action-link {
    padding: 8px 6px;
}

.header-action-link i {
    color: var(--orange);
    font-size: 17px;
}

.header-action-link:hover {
    color: var(--blue);
}

.mobile-menu-trigger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 43px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.mobile-menu-trigger span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: var(--primary);
}

.dark-theme .mobile-menu-trigger span {
    background: #fff;
}

.desktop-search-collapse {
    padding-bottom: 18px;
}

.desktop-search-form {
    display: flex;
    overflow: hidden;
    max-width: 820px;
    margin: auto;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--surface-soft);
}

.desktop-search-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 18px;
    color: var(--text);
    outline: 0;
    border: 0;
    background: transparent;
}

.desktop-search-form button {
    padding: 0 22px;
    color: #fff;
    background: var(--primary);
}

.desktop-search-form button:hover {
    background: var(--orange);
}

/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.desktop-navigation {
    position: relative;
    z-index: 90;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.desktop-menu {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 56px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.desktop-menu-item {
    position: relative;
}

.desktop-menu-item > a {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 56px;
    padding: 0 17px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.desktop-menu-item > a > .bi-chevron-down {
    color: var(--text-muted);
    font-size: 10px;
    transition: var(--transition);
}

.desktop-menu-item.active > a,
.desktop-menu-item:hover > a {
    color: var(--orange);
}

.desktop-menu-item.active > a::after {
    position: absolute;
    right: 15px;
    bottom: 0;
    left: 15px;
    height: 3px;
    content: "";
    border-radius: 4px 4px 0 0;
    background: var(--orange);
}

.desktop-menu-item:hover > a > .bi-chevron-down {
    transform: rotate(180deg);
}

.desktop-dropdown,
.desktop-sub-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    visibility: hidden;
    width: 210px;
    margin: 0;
    padding: 8px;
    list-style: none;
    opacity: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    box-shadow: var(--shadow);
    transform: translateY(10px);
    transition: var(--transition);
}

.desktop-menu-item:hover > .desktop-dropdown,
.has-sub-dropdown:hover > .desktop-sub-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.desktop-dropdown li {
    position: relative;
}

.desktop-dropdown li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    color: var(--text-soft);
    border-radius: 6px;
    font-size: 13px;
}

.desktop-dropdown li > a:hover {
    color: var(--primary);
    background: var(--blue-light);
}

.desktop-dropdown li > a i {
    font-size: 11px;
}

.desktop-sub-dropdown {
    top: -8px;
    right: calc(100% + 8px);
}

.dropdown-all-link {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid var(--border);
}

.mega-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: -190px;
    z-index: 50;
    visibility: hidden;
    width: 940px;
    padding: 24px;
    opacity: 0;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translateY(10px);
    transition: var(--transition);
}

.has-mega-menu:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.1fr;
    gap: 24px;
}

.mega-menu-column {
    padding-left: 20px;
    border-left: 1px solid var(--border);
}

.mega-menu-column h4 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 800;
}

.mega-menu-column h4 i {
    color: var(--orange);
}

.mega-menu-column a {
    display: block;
    padding: 5px 0;
    color: var(--text-soft);
    font-size: 13px;
}

.mega-menu-column a::before {
    margin-left: 7px;
    content: "•";
    color: var(--orange);
}

.mega-menu-column a:hover {
    padding-right: 4px;
    color: var(--blue);
}

.mega-menu-featured {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 18px;
    color: #fff;
    border-radius: 10px;
    background: var(--primary);
}

.mega-menu-featured::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(0deg, rgba(4, 17, 38, 0.95), rgba(4, 17, 38, 0.15));
}

.mega-menu-featured img {
    position: absolute;
    inset: 0;
    height: 100%;
    opacity: 0.6;
}

.mega-menu-featured > *:not(img) {
    position: relative;
    z-index: 2;
}

.mega-menu-featured .category-label {
    display: inline-block;
    padding: 3px 9px;
    color: #fff;
    border-radius: 5px;
    background: var(--orange);
    font-size: 11px;
}

.mega-menu-featured a {
    display: block;
    margin-top: 53px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.9;
}

.mega-menu-featured p {
    margin: 7px 0 0;
    color: #e0e8f2;
    font-size: 11px;
    line-height: 1.8;
}

/* =========================================================
   TICKER
========================================================= */

.news-ticker {
    position: relative;
    z-index: 5;
    color: #fff;
    background: var(--primary);
}

.news-ticker-inner {
    display: flex;
    align-items: center;
    min-height: 46px;
}

.ticker-title {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    margin-left: 19px;
    padding: 5px 11px;
    color: #fff;
    border-radius: 6px;
    background: var(--orange);
    font-size: 12px;
    font-weight: 700;
}

.ticker-marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    min-width: 100%;
    animation: tickerMove 35s linear infinite;
}

.ticker-track a {
    color: #e9f1fb;
    font-size: 12px;
}

.ticker-track a:hover {
    color: var(--orange);
}

.ticker-dot {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: var(--orange);
}

.ticker-all-news {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    margin-right: 20px;
    color: #fff;
    font-size: 12px;
}

.ticker-all-news:hover {
    color: var(--orange);
}

@keyframes tickerMove {
    from {
        transform: translateX(25%);
    }

    to {
        transform: translateX(-100%);
    }
}

/* =========================================================
   ADVERTISEMENTS
========================================================= */

.top-ad-section {
    padding-top: 20px;
}

.top-banner-ad,
.middle-banner-ad,
.sidebar-ad {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.top-banner-ad {
    height: 118px;
}

.middle-ad-section {
    padding: 18px 0;
}

.middle-banner-ad {
    height: 145px;
}

.sidebar-ad {
    height: 190px;
    margin: 24px 0;
}

.top-banner-ad img,
.middle-banner-ad img,
.sidebar-ad img {
    height: 100%;
    transition: transform 0.5s ease;
}

.top-banner-ad:hover img,
.middle-banner-ad:hover img,
.sidebar-ad:hover img {
    transform: scale(1.03);
}

.ad-label {
    position: absolute;
    z-index: 2;
    top: 9px;
    left: 9px;
    padding: 2px 8px;
    color: #fff;
    border-radius: 4px;
    background: rgba(7, 28, 59, 0.78);
    font-size: 10px;
}

/* =========================================================
   HEADINGS AND COMMON CARDS
========================================================= */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 23px;
}

.section-heading-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    box-shadow: 0 7px 15px rgba(13, 110, 253, 0.2);
    font-size: 20px;
}

.section-kicker {
    display: block;
    margin-bottom: -2px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
}

.section-heading h2 {
    margin: 0;
    color: var(--text);
    font-size: 21px;
    font-weight: 900;
}

.section-all-link,
.box-more-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
}

.section-all-link:hover,
.box-more-link:hover {
    color: var(--orange);
}

.section-heading-dark h2,
.section-heading-on-dark h2 {
    color: #fff;
}

.section-heading-on-dark .section-all-link {
    color: #d7e4f4;
}

.section-heading-on-dark .section-all-link:hover {
    color: var(--orange);
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    color: var(--text-muted);
    font-size: 11px;
}

.news-meta i {
    margin-left: 3px;
    color: var(--orange);
}

.news-category-badge {
    display: inline-block;
    padding: 4px 10px;
    color: #fff;
    border-radius: 5px;
    background: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

.badge-energy {
    background: #e9a400;
}

.badge-mine {
    background: #735137;
}

.badge-tech {
    background: #5a45b9;
}

.badge-economy {
    background: #138b67;
}

.mini-category {
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
}

/* =========================================================
   HERO
========================================================= */

.hero-main-card,
.hero-small-card,
.important-news-widget,
.sidebar-widget,
.opinion-widget,
.category-news-list-box {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.hero-main-card {
    height: 100%;
}

.hero-main-image {
    position: relative;
    display: block;
    height: 360px;
    overflow: hidden;
}

.hero-main-image img {
    height: 100%;
    transition: transform 0.6s ease;
}

.hero-main-card:hover .hero-main-image img {
    transform: scale(1.06);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 17, 38, 0.78), rgba(3, 17, 38, 0.04) 65%);
}

.hero-main-image .news-category-badge {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
}

.hero-main-content {
    padding: 21px 23px 25px;
}

.hero-main-content h1 {
    margin: 10px 0;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.9;
}

.hero-main-content h1 a:hover {
    color: var(--blue);
}

.hero-main-content p {
    margin: 0 0 14px;
    color: var(--text-soft);
    font-size: 13px;
    line-height: 2.05;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
}

.read-more-link:hover {
    gap: 10px;
    color: var(--blue);
}

.hero-secondary-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 17px;
}

.hero-small-card {
    display: flex;
    flex-direction: column;
}

.hero-small-image {
    position: relative;
    display: block;
    height: 142px;
    overflow: hidden;
}

.hero-small-image img {
    height: 100%;
    transition: transform 0.4s ease;
}

.hero-small-card:hover img {
    transform: scale(1.07);
}

.hero-small-image .news-category-badge {
    position: absolute;
    right: 10px;
    bottom: 10px;
}

.hero-small-content {
    padding: 12px;
}

.hero-small-content h2 {
    margin: 0 0 9px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.9;
}

.hero-small-content h2 a:hover {
    color: var(--blue);
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
}

.widget-header h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
}

.widget-header h3 i {
    color: var(--orange);
}

.widget-header > a {
    color: var(--text-muted);
    font-size: 11px;
}

.important-news-widget {
    height: 100%;
    padding: 19px;
}

.popular-news-list {
    margin: 0;
    padding: 5px 0 0;
    list-style: none;
}

.popular-news-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 15px 0;
    border-bottom: 1px dashed var(--border);
}

.popular-news-list li:last-child {
    border-bottom: 0;
}

.popular-number {
    color: var(--orange);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.4;
}

.popular-news-list a {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    line-height: 2;
}

.popular-news-list a:hover {
    color: var(--blue);
}

.widget-footer-link {
    padding-top: 11px;
    text-align: center;
    border-top: 1px solid var(--border);
}

.widget-footer-link a {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

/* =========================================================
   LATEST NEWS
========================================================= */

.latest-news-list {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.latest-news-item {
    display: flex;
    gap: 18px;
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

.latest-news-item:last-child {
    border-bottom: 0;
}

.latest-news-image {
    position: relative;
    flex: 0 0 220px;
    width: 220px;
    height: 145px;
    overflow: hidden;
    border-radius: 9px;
}

.latest-news-image img {
    height: 100%;
    transition: transform 0.5s ease;
}

.latest-news-item:hover .latest-news-image img {
    transform: scale(1.07);
}

.latest-news-image .news-category-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
}

.latest-news-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.latest-news-content h3 {
    margin: 7px 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.95;
}

.latest-news-content h3 a:hover {
    color: var(--blue);
}

.latest-news-content p {
    margin: 0;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 2;
}

.news-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 7px;
}

.category-text-link {
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
}

.read-news-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    color: var(--primary);
    border-radius: 50%;
    background: var(--blue-light);
}

.read-news-icon:hover {
    color: #fff;
    background: var(--orange);
}

.load-more-wrapper {
    padding-top: 22px;
    text-align: center;
}

.load-more-btn {
    padding: 10px 24px;
    color: var(--primary);
    border: 1px solid var(--border-dark);
    border-radius: 8px;
    background: var(--surface);
    font-size: 12px;
    font-weight: 700;
}

.load-more-btn i {
    margin-left: 5px;
}

.load-more-btn:hover {
    color: #fff;
    border-color: var(--primary);
    background: var(--primary);
}

/* =========================================================
   SIDEBAR MARKET
========================================================= */

.sidebar-widget {
    padding: 19px;
}

.market-tabs {
    display: flex;
    gap: 5px;
    margin: 17px 0 10px;
    padding: 4px;
    border-radius: 8px;
    background: var(--surface-soft);
}

.market-tab {
    flex: 1;
    padding: 6px;
    color: var(--text-soft);
    border-radius: 6px;
    background: transparent;
    font-size: 11px;
}

.market-tab.active {
    color: #fff;
    background: var(--primary);
    box-shadow: 0 3px 8px rgba(7, 28, 59, 0.18);
}

.market-content {
    display: none;
}

.market-content.active {
    display: block;
}

.market-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 10px 3px;
    border-bottom: 1px dashed var(--border);
    font-size: 12px;
}

.market-row:last-child {
    border-bottom: 0;
}

.market-name {
    color: var(--text-soft);
}

.market-row strong {
    color: var(--text);
    font-size: 12px;
}

.market-change {
    direction: ltr;
    font-size: 11px;
    font-weight: 700;
}

.market-change.positive {
    color: var(--green);
}

.market-change.negative {
    color: var(--red);
}

.market-update-time {
    margin: 12px 0 0;
    padding-top: 10px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    font-size: 10px;
}

.market-update-time i {
    margin-left: 4px;
    color: var(--blue);
}

.commented-news-list article {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px dashed var(--border);
}

.commented-news-list article:last-child {
    border-bottom: 0;
}

.comment-count {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex: 0 0 auto;
    padding: 2px 6px;
    color: var(--orange);
    border-radius: 5px;
    background: var(--orange-light);
    font-size: 10px;
    font-weight: 700;
}

.commented-news-list a {
    color: var(--text-soft);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.9;
}

.commented-news-list a:hover {
    color: var(--blue);
}

/* =========================================================
   INDUSTRY FOCUS
========================================================= */

.industry-focus-section {
    color: #fff;
    background:
        radial-gradient(circle at 15% 30%, rgba(13, 110, 253, 0.25), transparent 30%),
        linear-gradient(135deg, #061833, #0a2853);
}

.category-feature-card {
    overflow: hidden;
    height: 100%;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.category-feature-image {
    position: relative;
    display: block;
    height: 290px;
}

.category-feature-image img {
    height: 100%;
}

.category-feature-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 17, 38, 0.75), transparent 65%);
}

.category-feature-image .news-category-badge {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
}

.category-feature-content {
    padding: 20px;
}

.category-feature-content h3 {
    margin: 9px 0;
    color: #15233a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.9;
}

.category-feature-content p {
    margin: 0 0 10px;
    color: #627087;
    font-size: 12px;
    line-height: 2;
}

.category-middle-news {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.category-horizontal-card {
    display: flex;
    gap: 13px;
    min-height: 110px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.category-horizontal-card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.category-horizontal-image {
    flex: 0 0 125px;
    width: 125px;
    height: 90px;
    overflow: hidden;
    border-radius: 8px;
}

.category-horizontal-image img {
    height: 100%;
    transition: transform 0.35s ease;
}

.category-horizontal-card:hover img {
    transform: scale(1.06);
}

.category-horizontal-content {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.category-horizontal-content .mini-category {
    color: #ffae69;
}

.category-horizontal-content h3 {
    margin: 4px 0 auto;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.95;
}

.category-horizontal-content h3 a:hover {
    color: var(--orange);
}

.category-horizontal-content .news-meta {
    color: #a8bad1;
}

.category-news-list-box {
    padding: 19px;
    color: var(--text);
    background: #fff;
}

.category-list-header {
    margin-bottom: 10px;
    padding-bottom: 11px;
    border-bottom: 2px solid var(--orange);
}

.category-list-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 15px;
    font-weight: 900;
}

.compact-news-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.compact-news-list li {
    border-bottom: 1px dashed #dfe5ed;
}

.compact-news-list li:last-child {
    border-bottom: 0;
}

.compact-news-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 12px 0;
    color: #536174;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.9;
}

.compact-news-list a i {
    flex: 0 0 auto;
    color: var(--orange);
    font-size: 12px;
}

.compact-news-list a:hover {
    color: var(--blue);
}

.box-more-link {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding-top: 13px;
    color: var(--primary);
    border-top: 1px solid #e6eaf0;
}

/* =========================================================
   THREE CATEGORY COLUMNS
========================================================= */

.category-column {
    height: 100%;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.category-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 17px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.category-column-header > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.category-header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #fff;
    border-radius: 9px;
    font-size: 17px;
}

.energy-column .category-header-icon {
    background: #e9a400;
}

.mine-column .category-header-icon {
    background: #735137;
}

.tech-column .category-header-icon {
    background: #5a45b9;
}

.category-column-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.category-column-header > a {
    color: var(--text-muted);
    font-size: 11px;
}

.category-column-header > a:hover {
    color: var(--orange);
}

.column-featured-news > a {
    display: block;
    height: 210px;
    overflow: hidden;
    border-radius: 9px;
}

.column-featured-news img {
    height: 100%;
    transition: transform 0.5s ease;
}

.column-featured-news:hover img {
    transform: scale(1.06);
}

.column-featured-content {
    padding: 13px 2px;
}

.column-featured-content h3 {
    margin: 5px 0 8px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.9;
}

.column-featured-content h3 a:hover {
    color: var(--blue);
}

.column-featured-content p {
    margin: 0 0 8px;
    color: var(--text-soft);
    font-size: 12px;
    line-height: 1.95;
}

.column-list-news {
    padding-top: 3px;
}

.column-list-news article {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-top: 1px dashed var(--border);
}

.column-list-image {
    flex: 0 0 83px;
    width: 83px;
    height: 62px;
    overflow: hidden;
    border-radius: 7px;
}

.column-list-image img {
    height: 100%;
}

.column-list-news h4 {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.85;
}

.column-list-news h4 a:hover {
    color: var(--blue);
}

.column-list-news span {
    color: var(--text-muted);
    font-size: 10px;
}

.column-list-news span i {
    margin-left: 3px;
    color: var(--orange);
}

/* =========================================================
   VIDEO
========================================================= */

.video-section {
    background:
        radial-gradient(circle at 85% 20%, rgba(245, 130, 32, 0.18), transparent 22%),
        linear-gradient(135deg, #071c3b, #102f5b);
}

.video-section-inner {
    padding: 2px 0;
}

.main-video-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
}

.main-video-image {
    position: relative;
    display: block;
    height: 320px;
    overflow: hidden;
}

.main-video-image img {
    height: 100%;
    transition: transform 0.5s ease;
}

.main-video-card:hover .main-video-image img {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 17, 38, 0.55), transparent);
}

.play-video-button {
    position: absolute;
    top: 50%;
    right: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    color: #fff;
    border: 3px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(245, 130, 32, 0.88);
    font-size: 27px;
    transform: translate(50%, -50%);
    transition: var(--transition);
}

.main-video-card:hover .play-video-button {
    color: var(--orange);
    background: #fff;
    transform: translate(50%, -50%) scale(1.08);
}

.play-video-button.small {
    width: 42px;
    height: 42px;
    border-width: 2px;
    font-size: 18px;
}

.video-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 2px 8px;
    color: #fff;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 11px;
}

.main-video-content {
    padding: 18px 20px;
}

.video-label {
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
}

.main-video-content h3 {
    margin: 6px 0;
    color: #15233a;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.9;
}

.main-video-content p {
    margin: 0;
    color: #68778b;
    font-size: 12px;
    line-height: 2;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.small-video-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
}

.small-video-image {
    position: relative;
    display: block;
    height: 145px;
    overflow: hidden;
}

.small-video-image::after {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(4, 17, 38, 0.25);
}

.small-video-image img {
    height: 100%;
    transition: transform 0.4s ease;
}

.small-video-card:hover .small-video-image img {
    transform: scale(1.07);
}

.small-video-image .play-video-button,
.small-video-image .video-duration {
    z-index: 2;
}

.small-video-content {
    padding: 11px 13px;
}

.small-video-content h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
}

.small-video-content h3 a:hover {
    color: var(--orange);
}

.small-video-content span {
    color: #afc1d8;
    font-size: 10px;
}

.small-video-content span i {
    margin-left: 3px;
    color: var(--orange);
}

/* =========================================================
   OTHER NEWS
========================================================= */

.other-news-list {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.other-news-item {
    display: grid;
    grid-template-columns: 66px 105px 1fr 30px;
    align-items: center;
    gap: 15px;
    min-height: 70px;
    padding: 10px 18px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.other-news-item:last-child {
    border-bottom: 0;
}

.other-news-item:hover {
    background: var(--surface-soft);
}

.other-news-date {
    text-align: center;
    line-height: 1.3;
}

.other-news-date strong {
    display: block;
    color: var(--primary);
    font-size: 13px;
}

.other-news-date span {
    color: var(--text-muted);
    font-size: 10px;
}

.other-news-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 7px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.category-industry {
    color: #1568c6;
    background: #e7f1ff;
}

.category-energy {
    color: #a56b00;
    background: #fff4d8;
}

.category-economy {
    color: #08795a;
    background: #ddf7ed;
}

.category-tech {
    color: #5640b4;
    background: #ece9ff;
}

.category-mine {
    color: #704322;
    background: #f8eadf;
}

.category-province {
    color: #b5530c;
    background: #fff0e5;
}

.category-world {
    color: #0c6f8f;
    background: #e4f5fb;
}

.other-news-item h3 {
    margin: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.9;
}

.other-news-item h3 a:hover {
    color: var(--blue);
}

.other-news-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.other-news-item:hover .other-news-arrow {
    color: var(--orange);
    transform: translateX(-4px);
}

/* =========================================================
   OPINION
========================================================= */

.opinion-widget {
    padding: 19px;
}

.small-heading {
    margin-bottom: 16px;
}

.small-heading .heading-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
}

.small-heading h2 {
    font-size: 17px;
}

.opinion-main-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 13px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.opinion-main-card > a {
    height: 122px;
    overflow: hidden;
    border-radius: 9px;
}

.opinion-main-card img {
    height: 100%;
    transition: transform 0.4s ease;
}

.opinion-main-card:hover img {
    transform: scale(1.06);
}

.opinion-author {
    color: var(--orange);
    font-size: 10px;
    font-weight: 700;
}

.opinion-main-card h3 {
    margin: 5px 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.9;
}

.opinion-main-card h3 a:hover {
    color: var(--blue);
}

.opinion-main-card p {
    margin: 0;
    color: var(--text-soft);
    font-size: 11px;
    line-height: 1.9;
}

.opinion-mini-list article {
    display: flex;
    gap: 11px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border);
}

.opinion-mini-list article:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.opinion-number {
    color: var(--orange);
    font-size: 17px;
    font-weight: 900;
}

.opinion-mini-list span:not(.opinion-number) {
    color: var(--text-muted);
    font-size: 10px;
}

.opinion-mini-list h4 {
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.9;
}

.opinion-mini-list h4 a:hover {
    color: var(--blue);
}

/* =========================================================
   PROVINCE MAP
========================================================= */

.province-map-section {
    color: #fff;
    background:
        radial-gradient(circle at 20% 80%, rgba(13, 110, 253, 0.25), transparent 30%),
        linear-gradient(135deg, #06152d, #0b2a54);
}

.province-map-wrapper {
    padding: 5px 0;
}

.province-map-intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: -5px 0 23px;
    padding: 12px 16px;
    color: #cfdbeb;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
}

.province-map-intro p {
    margin: 0;
    font-size: 12px;
}

.map-legend {
    display: flex;
    gap: 13px;
    flex: 0 0 auto;
    font-size: 11px;
}

.map-legend span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.legend-dot.default {
    background: #4b84cf;
}

.legend-dot.active {
    background: var(--orange);
    box-shadow: 0 0 0 4px rgba(245, 130, 32, 0.17);
}

.iran-map-container {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
}

.iran-map {
    width: 100%;
    max-height: 520px;
}

.province-path {
    cursor: pointer;
    fill: #ececec;
    stroke: #ccc;
    stroke-width: 2;
    transition: fill 0.2s ease, transform 0.2s ease, filter 0.2s ease;
    transform-origin: center;
}

.province-path:nth-child(3n) {
    fill: #ececec;
}

.province-path:nth-child(4n) {
    fill: #ececec;
}

.province-path:hover,
.province-path.active {
    fill: var(--orange);
    filter: drop-shadow(0 0 8px rgba(245, 130, 32, 0.65));
    transform: scale(1.02);
}

/* استان بدون خبر: خاکستری و غیرفعال (بدون افکت هاور) */
.province-path[data-has-news="0"] {
    fill: #cfcfcf;
    opacity: 0.6;
    cursor: default;
}

.province-path[data-has-news="0"]:hover {
    fill: #cfcfcf;
    filter: none;
    transform: none;
}

.province-path[data-has-news="0"].active {
    fill: #b9b9b9;
    filter: none;
    transform: none;
}

.province-island {
    cursor: pointer;
    fill: #3d76ba;
    stroke: #d7e9ff;
    stroke-width: 2;
    transition: var(--transition);
}

.province-island:hover,
.province-island.active {
    fill: var(--orange);
}

.province-news-panel {
    overflow: hidden;
    color: var(--text);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-lg);
}

.province-panel-top {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 17px 19px;
    color: #fff;
    background: linear-gradient(135deg, var(--orange), #f3a035);
}

.province-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 20px;
}

.province-panel-top span:not(.province-panel-icon) {
    display: block;
    font-size: 10px;
}

.province-panel-top h3 {
    margin: -1px 0 0;
    font-size: 19px;
    font-weight: 900;
}

#provinceNewsCount {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-inline-start: auto;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: rgba(255, 255, 255, 0.22);
    white-space: nowrap;
}

.province-news-content {
    padding: 18px;
}

.province-empty-state {
    margin: 0;
    padding: 20px 4px;
    color: var(--text-soft, #697386);
    text-align: center;
}

.province-main-news {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 13px;
    padding-bottom: 17px;
    border-bottom: 1px solid #e9edf2;
}

.province-main-news:has(> a:empty) {
    grid-template-columns: 1fr;
}

.province-main-news > a {
    height: 128px;
    overflow: hidden;
    border-radius: 8px;
}

.province-main-news img {
    height: 100%;
}

.province-main-news h4 {
    margin: 4px 0 5px;
    color: #18263c;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.9;
}

.province-main-news h4 a:hover {
    color: var(--blue);
}

.province-main-news p {
    margin: 0;
    color: #65738a;
    font-size: 11px;
    line-height: 1.95;
}

.province-news-list {
    margin: 0;
    padding: 8px 0 0;
    list-style: none;
}

.province-news-list li {
    border-bottom: 1px dashed #e1e6ed;
}

.province-news-list li:last-child {
    border-bottom: 0;
}

.province-news-list a {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 10px 0;
    color: #536176;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.85;
}

.province-news-list a i {
    margin-top: 5px;
    color: var(--orange);
    font-size: 10px;
}

.province-news-list a:hover {
    color: var(--blue);
}

.province-all-news-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px;
    color: var(--primary);
    border-top: 1px solid #e9edf2;
    background: #f8fafc;
    font-size: 12px;
    font-weight: 800;
}

.province-all-news-link[hidden],
#provinceNewsCount[hidden] {
    display: none;
}

.province-all-news-link:hover {
    color: #fff;
    background: var(--primary);
}

/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter-section {
    padding: 35px 0;
    background: var(--orange);
}

.newsletter-inner {
    gap: 25px;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.newsletter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 59px;
    height: 59px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.13);
    font-size: 27px;
}

.newsletter-content h2 {
    margin: 0 0 2px;
    font-size: 20px;
    font-weight: 900;
}

.newsletter-content p {
    margin: 0;
    color: #fff4e9;
    font-size: 12px;
}

.newsletter-form {
    display: flex;
    flex: 0 1 520px;
    overflow: hidden;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 7px 15px rgba(125, 58, 3, 0.15);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 12px 15px;
    color: var(--text);
    outline: 0;
    border: 0;
    background: #fff;
    font-size: 12px;
}

.newsletter-form button {
    padding: 0 18px;
    color: #fff;
    background: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

.newsletter-form button:hover {
    background: var(--blue);
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    color: #bdcade;
    background: var(--primary-dark);
}

.footer-main {
    padding: 55px 0 38px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 195px;
    height: 65px;
    object-fit: contain;
    object-position: right;
}

.footer-about p {
    max-width: 400px;
    margin: 0;
    color: #b8c8dc;
    font-size: 12px;
    line-height: 2.15;
}

.footer-socials {
    display: flex;
    gap: 8px;
    margin-top: 17px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    color: #d7e5f5;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-socials a:hover {
    color: #fff;
    background: var(--orange);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    position: relative;
    margin: 5px 0 17px;
    padding-bottom: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.footer-links h3::after,
.footer-contact h3::after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    content: "";
    background: var(--orange);
}

.footer-links ul,
.footer-contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #b8c8dc;
    font-size: 12px;
}

.footer-links a::before {
    margin-left: 6px;
    content: "‹";
    color: var(--orange);
    font-size: 17px;
    vertical-align: -1px;
}

.footer-links a:hover {
    padding-right: 4px;
    color: var(--orange);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    color: #b8c8dc;
    font-size: 12px;
    line-height: 1.9;
}

.footer-contact li i {
    margin-top: 4px;
    color: var(--orange);
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-enamad {
    margin-top: 17px;
}

.footer-enamad a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    color: #d9e8f8;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 6px;
    font-size: 11px;
}

.footer-enamad i {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.13);
}

.footer-bottom-content {
    min-height: 53px;
    font-size: 11px;
}

.footer-bottom-content p {
    margin: 0;
}

.footer-bottom strong {
    color: #fff;
}

.footer-bottom .bi-heart-fill {
    color: var(--orange);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-overlay {
    position: fixed;
    z-index: 9990;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(2, 11, 24, 0.7);
    transition: var(--transition);
}

.mobile-menu-overlay.show {
    visibility: visible;
    opacity: 1;
}

.mobile-sidebar {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 88vw);
    color: var(--text);
    background: var(--surface);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    transform: translateX(105%);
    transition: transform 0.32s ease;
}

.mobile-sidebar.show {
    transform: translateX(0);
}

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 83px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--border);
}

.mobile-logo {
    width: 165px;
    height: 55px;
    object-fit: contain;
    object-position: right;
}

.mobile-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    color: var(--text);
    border-radius: 8px;
    background: var(--surface-soft);
    font-size: 18px;
}

.mobile-close-btn:hover {
    color: #fff;
    background: var(--orange);
}

.mobile-sidebar-content {
    height: calc(100vh - 83px);
    overflow-y: auto;
    padding: 16px;
}

.mobile-search-form {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-soft);
}

.mobile-search-form input {
    flex: 1;
    min-width: 0;
    padding: 10px 11px;
    color: var(--text);
    outline: 0;
    border: 0;
    background: transparent;
    font-size: 12px;
}

.mobile-search-form button {
    width: 43px;
    color: #fff;
    background: var(--primary);
}

.mobile-theme-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 14px 0;
    padding: 9px 11px;
    color: var(--text-soft);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 12px;
}

.mobile-theme-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    color: var(--orange);
    border-radius: 5px;
    background: var(--orange-light);
    font-size: 11px;
}

.mobile-menu-list {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-list.active {
    display: block;
    animation: mobileMenuFade 0.25s ease;
}

@keyframes mobileMenuFade {
    from {
        opacity: 0;
        transform: translateX(12px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-menu-list > li {
    border-bottom: 1px solid var(--border);
}

.mobile-menu-list > li > a,
.mobile-menu-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 8px 4px;
    color: var(--text);
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.mobile-menu-list > li > a i:first-child,
.mobile-menu-parent span i {
    display: inline-block;
    width: 22px;
    color: var(--orange);
    font-size: 16px;
}

.mobile-menu-parent > i {
    color: var(--text-muted);
    font-size: 12px;
}

.mobile-menu-list > li > a:hover,
.mobile-menu-parent:hover {
    color: var(--blue);
}

.mobile-submenu-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 8px 0;
    color: var(--primary);
    border-bottom: 2px solid var(--orange) !important;
}

.mobile-submenu-title strong {
    font-size: 14px;
}

.mobile-menu-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    color: var(--text-soft);
    border-radius: 5px;
    background: var(--surface-soft);
    font-size: 11px;
}

.mobile-menu-back:hover {
    color: #fff;
    background: var(--primary);
}

.mobile-contact-box {
    margin-top: 20px;
    padding: 15px;
    color: #dce8f5;
    border-radius: 11px;
    background: var(--primary);
}

.mobile-contact-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.mobile-contact-title i {
    color: var(--orange);
}

.mobile-contact-box > a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 0;
    color: #c8d7e8;
    font-size: 11px;
}

.mobile-contact-box > a i {
    color: var(--orange);
}

.mobile-socials {
    display: flex;
    gap: 7px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.mobile-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    color: #fff;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
}

/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    z-index: 1000;
    bottom: 25px;
    left: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    visibility: hidden;
    padding: 0;
    color: #fff;
    opacity: 0;
    border-radius: 10px;
    background: var(--orange);
    box-shadow: 0 7px 20px rgba(245, 130, 32, 0.35);
    transform: translateY(15px);
    transition: var(--transition);
}

.back-to-top.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* =========================================================
   MODAL
========================================================= */

.video-modal-content {
    overflow: hidden;
    color: var(--text);
    border: 0;
    border-radius: 14px;
    background: var(--surface);
}

.video-modal-content .modal-header {
    border-color: var(--border);
}

.video-modal-content .modal-title {
    font-size: 15px;
    font-weight: 800;
}

.dark-theme .btn-close {
    filter: invert(1);
}

.video-player-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 30px;
    color: #d8e7f6;
    background: var(--primary-dark);
    text-align: center;
    flex-direction: column;
}

.video-player-placeholder i {
    color: var(--orange);
    font-size: 68px;
}

.video-player-placeholder p {
    margin: 10px 0 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.video-player-placeholder span {
    color: #aec2d8;
    font-size: 12px;
}

/* =========================================================
   DARK THEME EXTRA FIXES
========================================================= */

.dark-theme .category-feature-card,
.dark-theme .category-news-list-box,
.dark-theme .main-video-card,
.dark-theme .province-news-panel {
    background: var(--surface);
}

.dark-theme .category-feature-content h3,
.dark-theme .main-video-content h3,
.dark-theme .province-main-news h4 {
    color: var(--text);
}

.dark-theme .category-feature-content p,
.dark-theme .main-video-content p,
.dark-theme .province-main-news p {
    color: var(--text-soft);
}

.dark-theme .compact-news-list li,
.dark-theme .box-more-link,
.dark-theme .province-main-news,
.dark-theme .province-all-news-link {
    border-color: var(--border);
}

.dark-theme .compact-news-list a,
.dark-theme .province-news-list a {
    color: var(--text-soft);
}

.dark-theme .province-all-news-link {
    color: var(--text);
    background: var(--surface-soft);
}

.dark-theme .other-news-date strong {
    color: #b8d7ff;
}

.dark-theme .category-industry {
    color: #8fc2ff;
    background: rgba(21, 104, 198, 0.2);
}

.dark-theme .category-energy {
    color: #ffce66;
    background: rgba(233, 164, 0, 0.16);
}

.dark-theme .category-economy {
    color: #75d9b7;
    background: rgba(8, 121, 90, 0.2);
}

.dark-theme .category-tech {
    color: #b7aaff;
    background: rgba(86, 64, 180, 0.22);
}

.dark-theme .category-mine {
    color: #eab28a;
    background: rgba(112, 67, 34, 0.22);
}

.dark-theme .category-province {
    color: #ffb378;
    background: rgba(181, 83, 12, 0.2);
}

.dark-theme .category-world {
    color: #81d8f4;
    background: rgba(12, 111, 143, 0.2);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1399px) {
    .hero-main-image {
        height: 345px;
    }

    .important-news-widget {
        margin-top: 4px;
    }

    .category-feature-image {
        height: 260px;
    }

    .main-sidebar {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .sidebar-ad {
        height: 100%;
        min-height: 220px;
        margin: 0;
    }

    .most-commented-widget {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1199px) {
    .site-container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .hero-main-image {
        height: 330px;
    }

    .main-sidebar {
        display: block;
    }

    .sidebar-ad {
        height: 210px;
        margin: 24px 0;
    }

    .section-space {
        padding: 35px 0;
    }

    .province-map-intro {
        margin-bottom: 15px;
    }
}

@media (max-width: 991px) {
    .topbar-left {
        display: none;
    }

    .topbar-content {
        justify-content: center;
    }

    .main-header-content {
        min-height: 82px;
    }

    .header-actions-left {
        display: none !important;
    }

    .site-logo {
        margin: auto;
    }

    .logo-image {
        width: 180px;
        height: 62px;
    }

    .header-actions-right {
        position: absolute;
        right: 20px;
    }

    .hero-main-content h1 {
        font-size: 20px;
    }

    .hero-secondary-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero-small-image {
        height: 130px;
    }

    .main-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .most-commented-widget {
        grid-column: auto;
    }

    .category-middle-news {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .category-horizontal-card:nth-last-child(2) {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .newsletter-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .newsletter-form {
        width: 100%;
        max-width: 600px;
        flex-basis: auto;
    }

    .footer-main {
        padding: 42px 0 26px;
    }

    .footer-about {
        margin-bottom: 18px;
    }

    .mega-menu {
        right: -300px;
        width: 860px;
    }

    .province-news-panel {
        max-width: 720px;
        margin: auto;
    }

    .iran-map-container {
        max-width: 760px;
        margin: auto;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 13px;
    }

    .site-container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .section-space {
        padding: 28px 0;
    }

    .topbar-content {
        min-height: 35px;
    }

    .topbar-right {
        gap: 8px;
        font-size: 10px;
    }

    .topbar-right span:last-child {
        display: none;
    }

    .main-header-content {
        min-height: 72px;
    }

    .header-actions-right {
        right: 14px;
    }

    .logo-image {
        width: 153px;
        height: 53px;
    }

    .mobile-menu-trigger {
        width: 38px;
        height: 36px;
        padding: 0 8px;
    }

    .ticker-title {
        margin-left: 10px;
        padding: 4px 7px;
        font-size: 10px;
    }

    .ticker-title span {
        display: none;
    }

    .ticker-all-news {
        display: none;
    }

    .ticker-track {
        gap: 13px;
    }

    .ticker-track a {
        font-size: 11px;
    }

    .top-ad-section {
        padding-top: 14px;
    }

    .top-banner-ad {
        height: 70px;
        border-radius: 9px;
    }

    .middle-ad-section {
        padding: 10px 0;
    }

    .middle-banner-ad {
        height: 80px;
        border-radius: 9px;
    }

    .ad-label {
        top: 5px;
        left: 5px;
        padding: 1px 5px;
        font-size: 8px;
    }

    .section-heading {
        align-items: flex-end;
        margin-bottom: 16px;
    }

    .section-heading-title {
        gap: 8px;
    }

    .heading-icon {
        width: 37px;
        height: 37px;
        border-radius: 9px;
        font-size: 16px;
    }

    .section-kicker {
        margin-bottom: 0;
        font-size: 9px;
    }

    .section-heading h2 {
        font-size: 17px;
    }

    .section-all-link {
        gap: 3px;
        font-size: 10px;
        white-space: nowrap;
    }

    /* Hero */

    .hero-main-image {
        height: 235px;
    }

    .hero-main-image .news-category-badge {
        top: 10px;
        right: 10px;
    }

    .hero-main-content {
        padding: 15px;
    }

    .hero-main-content h1 {
        margin: 7px 0;
        font-size: 17px;
        line-height: 1.95;
    }

    .hero-main-content p {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 9px;
        font-size: 11px;
        line-height: 2;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .news-meta {
        gap: 8px;
        font-size: 9px;
    }

    .hero-secondary-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .hero-small-image {
        height: 115px;
    }

    .hero-small-content {
        padding: 9px;
    }

    .hero-small-content h2 {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 5px;
        font-size: 11px;
        line-height: 1.9;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .news-category-badge {
        padding: 3px 7px;
        font-size: 9px;
    }

    .important-news-widget,
    .sidebar-widget,
    .opinion-widget,
    .category-news-list-box,
    .category-column {
        padding: 14px;
        border-radius: 11px;
    }

    .widget-header {
        padding-bottom: 10px;
    }

    .widget-header h3 {
        font-size: 13px;
    }

    .popular-news-list li {
        gap: 8px;
        padding: 11px 0;
    }

    .popular-number {
        font-size: 15px;
    }

    .popular-news-list a {
        font-size: 11px;
        line-height: 1.9;
    }

    /* Latest news */

    .latest-news-item {
        gap: 10px;
        padding: 12px;
    }

    .latest-news-image {
        flex: 0 0 105px;
        width: 105px;
        height: 87px;
        border-radius: 7px;
    }

    .latest-news-image .news-category-badge {
        right: 4px;
        bottom: 4px;
        padding: 2px 5px;
        font-size: 8px;
    }

    .latest-news-content h3 {
        display: -webkit-box;
        overflow: hidden;
        margin: 0 0 3px;
        font-size: 12px;
        line-height: 1.9;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .latest-news-content p {
        display: none;
    }

    .news-item-footer {
        margin-top: 2px;
        padding-top: 0;
    }

    .category-text-link,
    .read-news-icon {
        font-size: 9px;
    }

    .read-news-icon {
        width: 23px;
        height: 23px;
    }

    .load-more-wrapper {
        padding-top: 15px;
    }

    .load-more-btn {
        padding: 8px 16px;
        font-size: 11px;
    }

    /* Sidebar */

    .main-sidebar {
        display: block;
    }

    .sidebar-ad {
        height: 145px;
        min-height: unset;
        margin: 16px 0;
    }

    .market-tabs {
        margin: 12px 0 7px;
    }

    .market-tab {
        padding: 5px 2px;
        font-size: 10px;
    }

    .market-row {
        gap: 5px;
        padding: 8px 0;
        font-size: 11px;
    }

    .market-row strong {
        font-size: 11px;
    }

    .market-change {
        font-size: 10px;
    }

    /* Industry focus */

    .industry-focus-section {
        padding: 30px 0;
    }

    .category-feature-image {
        height: 220px;
    }

    .category-feature-content {
        padding: 15px;
    }

    .category-feature-content h3 {
        margin: 7px 0;
        font-size: 15px;
    }

    .category-feature-content p {
        font-size: 11px;
    }

    .category-middle-news {
        display: block;
        margin-top: 4px;
    }

    .category-horizontal-card {
        min-height: auto;
        gap: 10px;
        padding: 12px 0;
    }

    .category-horizontal-card:nth-last-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .category-horizontal-image {
        flex: 0 0 100px;
        width: 100px;
        height: 74px;
    }

    .category-horizontal-content h3 {
        font-size: 11px;
        line-height: 1.9;
    }

    .category-news-list-box {
        margin-top: 5px;
    }

    /* Three columns */

    .category-column-header {
        margin-bottom: 13px;
    }

    .category-column-header h2 {
        font-size: 16px;
    }

    .category-header-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .column-featured-news > a {
        height: 190px;
    }

    .column-featured-content {
        padding: 11px 1px;
    }

    .column-featured-content h3 {
        margin: 4px 0 6px;
        font-size: 14px;
    }

    .column-featured-content p {
        font-size: 11px;
    }

    .column-list-news article {
        padding: 10px 0;
    }

    .column-list-image {
        flex-basis: 75px;
        width: 75px;
        height: 57px;
    }

    .column-list-news h4 {
        font-size: 11px;
    }

    /* Video */

    .video-section {
        padding: 30px 0;
    }

    .main-video-image {
        height: 220px;
    }

    .play-video-button {
        width: 54px;
        height: 54px;
        font-size: 22px;
    }

    .play-video-button.small {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .main-video-content {
        padding: 14px;
    }

    .main-video-content h3 {
        margin: 5px 0;
        font-size: 15px;
    }

    .main-video-content p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 11px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .video-grid {
        gap: 11px;
    }

    .small-video-image {
        height: 105px;
    }

    .small-video-content {
        padding: 8px 9px;
    }

    .small-video-content h3 {
        display: -webkit-box;
        overflow: hidden;
        margin-bottom: 3px;
        font-size: 10px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .small-video-content span {
        font-size: 8px;
    }

    .video-duration {
        right: auto;
        bottom: 6px;
        left: 6px;
        padding: 1px 5px;
        font-size: 9px;
    }

    /* Other news */

    .other-news-item {
        grid-template-columns: 45px 1fr 22px;
        gap: 8px;
        min-height: 56px;
        padding: 9px 10px;
    }

    .other-news-category {
        display: none;
    }

    .other-news-date strong {
        font-size: 10px;
    }

    .other-news-date span {
        font-size: 8px;
    }

    .other-news-item h3 {
        font-size: 11px;
        line-height: 1.85;
    }

    .other-news-arrow {
        font-size: 12px;
    }

    /* Opinion */

    .opinion-main-card {
        grid-template-columns: 95px 1fr;
        gap: 10px;
    }

    .opinion-main-card > a {
        height: 105px;
    }

    .opinion-main-card h3 {
        font-size: 12px;
    }

    .opinion-main-card p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 10px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    /* Province map */

    .province-map-section {
        padding: 30px 0;
    }

    .province-map-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin: 0 0 15px;
        padding: 10px 11px;
    }

    .province-map-intro p {
        font-size: 10px;
        line-height: 2;
    }

    .map-legend {
        gap: 10px;
        font-size: 9px;
    }

    .iran-map-container {
        padding: 9px;
        border-radius: 10px;
    }

    .iran-map {
        max-height: none;
    }

    .province-news-panel {
        border-radius: 11px;
    }

    .province-panel-top {
        padding: 13px;
    }

    .province-panel-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .province-panel-top h3 {
        font-size: 16px;
    }

    .province-news-content {
        padding: 13px;
    }

    .province-main-news {
        grid-template-columns: 100px 1fr;
        gap: 10px;
        padding-bottom: 12px;
    }

    .province-main-news > a {
        height: 103px;
    }

    .province-main-news h4 {
        font-size: 12px;
    }

    .province-main-news p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 10px;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .province-news-list a {
        padding: 8px 0;
        font-size: 11px;
    }

    .province-all-news-link {
        padding: 11px;
        font-size: 11px;
    }

    /* Newsletter */

    .newsletter-section {
        padding: 25px 0;
    }

    .newsletter-inner {
        gap: 16px;
    }

    .newsletter-content {
        align-items: flex-start;
        gap: 10px;
    }

    .newsletter-icon {
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        border-radius: 10px;
        font-size: 21px;
    }

    .newsletter-content h2 {
        font-size: 16px;
    }

    .newsletter-content p {
        font-size: 10px;
        line-height: 1.9;
    }

    .newsletter-form input {
        padding: 10px;
        font-size: 10px;
    }

    .newsletter-form button {
        padding: 0 10px;
        font-size: 10px;
    }

    .newsletter-form button i {
        display: none;
    }

    /* Footer */

    .footer-main {
        padding: 32px 0 18px;
    }

    .footer-logo img {
        width: 170px;
        height: 54px;
    }

    .footer-about p {
        font-size: 11px;
    }

    .footer-socials a {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .footer-links h3,
    .footer-contact h3 {
        margin: 12px 0 12px;
        font-size: 13px;
    }

    .footer-links li {
        margin-bottom: 5px;
    }

    .footer-links a,
    .footer-contact li {
        font-size: 11px;
    }

    .footer-bottom-content {
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 2px;
        min-height: 67px;
        padding: 10px 0;
        font-size: 9px;
    }

    .back-to-top {
        bottom: 15px;
        left: 15px;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        font-size: 14px;
    }

    .video-player-placeholder {
        min-height: 230px;
    }

    .video-player-placeholder i {
        font-size: 50px;
    }

    .video-player-placeholder p {
        font-size: 15px;
    }

    .video-player-placeholder span {
        font-size: 10px;
    }
}

@media (max-width: 430px) {
    .hero-secondary-grid {
        gap: 8px;
    }

    .hero-small-image {
        height: 100px;
    }

    .hero-small-content {
        padding: 7px;
    }

    .hero-small-content h2 {
        font-size: 10px;
    }

    .latest-news-image {
        flex-basis: 90px;
        width: 90px;
        height: 77px;
    }

    .latest-news-content h3 {
        font-size: 10px;
    }

    .news-item-footer .news-meta {
        display: none;
    }

    .video-grid {
        gap: 8px;
    }

    .small-video-image {
        height: 90px;
    }

    .small-video-content h3 {
        font-size: 9px;
    }

    .small-video-content span {
        display: none;
    }

    .province-main-news {
        grid-template-columns: 85px 1fr;
    }

    .province-main-news > a {
        height: 91px;
    }

    .province-main-news h4 {
        font-size: 11px;
    }

    .province-main-news p {
        display: none;
    }
}

/* =========================================================
   PRINT STYLE
========================================================= */

@media print {
    .topbar,
    .main-header,
    .desktop-navigation,
    .news-ticker,
    .top-ad-section,
    .middle-ad-section,
    .newsletter-section,
    .site-footer,
    .back-to-top,
    .mobile-sidebar,
    .mobile-menu-overlay,
    .page-preloader,
    .desktop-search-collapse,
    .video-section {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .section-space {
        padding: 15px 0;
    }

    .hero-main-card,
    .hero-small-card,
    .latest-news-list,
    .sidebar-widget,
    .other-news-list,
    .opinion-widget {
        box-shadow: none;
    }
}
/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.scroll-reveal.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================================
   Sedaye Sanat News Agency | Archive Page Styles
   File: css/archive.css
   RTL - Light Mode / Dark Mode
========================================================= */

/* ---------------------------------------------------------
   1. Variables
--------------------------------------------------------- */
:root {
    --archive-primary: #0879c9;
    --archive-primary-dark: #045d9d;
    --archive-navy: #092f4f;
    --archive-navy-deep: #041e35;
    --archive-orange: #f28a24;
    --archive-orange-dark: #da7311;

    --archive-body-bg: #f3f6f9;
    --archive-card-bg: #ffffff;
    --archive-card-soft: #f8fafc;
    --archive-text: #263746;
    --archive-heading: #102b40;
    --archive-muted: #748291;
    --archive-border: #e3eaf0;
    --archive-border-dark: #d6e0e8;

    --archive-shadow: 0 5px 22px rgba(13, 45, 69, 0.07);
    --archive-shadow-hover: 0 14px 30px rgba(10, 52, 83, 0.13);

    --archive-radius-sm: 7px;
    --archive-radius: 12px;
    --archive-radius-lg: 16px;

    --archive-transition: all 0.25s ease;
}

body.dark-theme {
    --archive-body-bg: #071522;
    --archive-card-bg: #0c2031;
    --archive-card-soft: #0a1b2b;
    --archive-text: #d4e0e8;
    --archive-heading: #f4f8fb;
    --archive-muted: #9aacba;
    --archive-border: #1d3b50;
    --archive-border-dark: #2a4a60;

    --archive-shadow: 0 7px 22px rgba(0, 0, 0, 0.2);
    --archive-shadow-hover: 0 15px 32px rgba(0, 0, 0, 0.35);
}

/* ---------------------------------------------------------
   2. Base Archive
--------------------------------------------------------- */
.archive-page {
    min-height: 100vh;
    padding: 0 0 55px;
    color: var(--archive-text);
    background: var(--archive-body-bg);
}

.archive-page *,
.archive-page *::before,
.archive-page *::after {
    box-sizing: border-box;
}

.archive-page a {
    color: inherit;
    text-decoration: none;
}

.archive-page button,
.archive-page select,
.archive-page input {
    font-family: inherit;
}

.archive-page button {
    cursor: pointer;
}

/* ---------------------------------------------------------
   3. Breadcrumb
--------------------------------------------------------- */
.archive-breadcrumb {
    border-bottom: 1px solid var(--archive-border);
    background: var(--archive-card-bg);
}

.archive-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    color: var(--archive-muted);
    font-size: 11px;
}

.archive-breadcrumb a {
    color: var(--archive-muted);
    transition: var(--archive-transition);
}

.archive-breadcrumb a:hover {
    color: var(--archive-primary);
}

.archive-breadcrumb i {
    color: var(--archive-muted);
    font-size: 9px;
}

.archive-breadcrumb span {
    color: var(--archive-heading);
    font-weight: 700;
}

/* ---------------------------------------------------------
   4. Archive Hero
--------------------------------------------------------- */
.archive-search-input .bi-search{position: absolute;margin: 9px 10px 0px;}
.archive-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 11% 80%, rgba(242, 138, 36, 0.38), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(32, 145, 224, 0.38), transparent 27%),
        linear-gradient(118deg, #041f37 0%, #07345b 53%, #075b94 100%);
		margin-bottom: 20px;
}

.archive-hero::before {
    position: absolute;
    top: -100px;
    left: -60px;
    width: 300px;
    height: 300px;
    border: 45px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;
    content: "";
}

.archive-hero::after {
    position: absolute;
    right: 15%;
    bottom: -90px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
}

.archive-hero .container,
.archive-hero .container-fluid {
    position: relative;
    z-index: 1;
}

/* پروفایل عمومی خبرنگار (شبیه ایکس) */
.author-profile-hero {
    position: relative;
    overflow: hidden;
    padding: 40px 0;
    color: #ffffff;
    background:
        radial-gradient(circle at 11% 80%, rgba(242, 138, 36, 0.38), transparent 24%),
        radial-gradient(circle at 88% 18%, rgba(32, 145, 224, 0.38), transparent 27%),
        linear-gradient(118deg, #041f37 0%, #07345b 53%, #075b94 100%);
    margin-bottom: 28px;
}

.author-profile-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.author-profile-avatar {
    flex-shrink: 0;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: rgba(255,255,255,.12);
    border: 4px solid rgba(255,255,255,.25);
}

.author-profile-info { min-width: 0; }

.author-profile-info h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 900;
}

.author-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: 20px;
    background: rgba(255,255,255,.16);
    font-size: 12px;
    font-weight: 700;
    color: var(--orange, #f58220);
}

.author-bio {
    max-width: 640px;
    margin: 0 0 14px;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    line-height: 1.9;
}

.author-profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 14px;
    font-size: 13px;
    color: rgba(255,255,255,.7);
}

.author-profile-meta span { display: flex; align-items: center; gap: 6px; }

.author-social-links { display: flex; flex-wrap: wrap; gap: 10px; }

.author-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 16px;
    transition: var(--transition, all .25s ease);
}

.author-social-links a:hover {
    background: var(--orange, #f58220);
    transform: translateY(-2px);
}

@media (max-width: 576px) {
    .author-profile-card { flex-direction: column; align-items: center; text-align: center; }
    .author-profile-meta, .author-social-links { justify-content: center; }
}

.archive-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.archive-hero-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.archive-title-icon {
    display: flex;
    flex: 0 0 62px;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.05);
    font-size: 27px;
}

.archive-hero h1 {
    margin: 0 0 7px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.4;
}

.archive-hero p {
    max-width: 630px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 2;
}

.archive-stat {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 11px;
    min-width: 165px;
    padding: 13px 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--archive-radius);
    background: rgba(2, 20, 36, 0.2);
    backdrop-filter: blur(5px);
}

.archive-stat i {
    color: var(--archive-orange);
    font-size: 25px;
}

.archive-stat-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.archive-stat strong {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}

.archive-stat span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 10px;
}

/* ---------------------------------------------------------
   5. Main Layout
--------------------------------------------------------- */
.archive-main {
    padding-top: 30px;
}

.archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 24px;
    align-items: start;
}

.archive-content {
    min-width: 0;
}
/* =========================================================
   Sticky Sidebar
========================================================= */
.archive-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    overflow-y: none;
    /* مخفی‌کردن اسکرول‌بار در فایرفاکس */
    scrollbar-width: thin;
    scrollbar-color: var(--sn-border-strong) transparent;
}

/* ظاهر اسکرول‌بار در Chrome / Edge / Safari */
.archive-sidebar::-webkit-scrollbar {
    width: 5px;
}

.archive-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.archive-sidebar::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: var(--sn-border-strong);
}

.archive-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--sn-primary);
}
/* ---------------------------------------------------------
   6. Filter Box
--------------------------------------------------------- */
.archive-filter-box {
    margin-bottom: 20px;
    padding: 19px;
    border: 1px solid var(--archive-border);
    border-radius: var(--archive-radius-lg);
    background: var(--archive-card-bg);
    box-shadow: var(--archive-shadow);
}

.archive-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--archive-border);
}

.archive-filter-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--archive-heading);
    font-size: 13px;
    font-weight: 800;
}

.archive-filter-title i {
    color: var(--archive-primary);
    font-size: 17px;
}

.archive-reset-btn {
    padding: 3px 0;
    color: var(--archive-muted);
    border: 0;
    background: transparent;
    font-size: 10px;
    transition: var(--archive-transition);
}

.archive-reset-btn i {
    margin-left: 3px;
    font-size: 12px;
}

.archive-reset-btn:hover {
    color: var(--archive-orange);
}

.archive-filter-fields {
    display: grid;
    grid-template-columns: minmax(220px, 1.65fr) minmax(130px, 1fr) minmax(130px, 1fr) minmax(110px, 0.75fr);
    gap: 12px;
}

.archive-field {
    position: relative;
}

.archive-field label {
    display: block;
    margin: 0 0 7px;
    color: var(--archive-heading);
    font-size: 10px;
    font-weight: 700;
}

.archive-field-input {
    position: relative;
}

.archive-field-input > i {
    position: absolute;
    top: 50%;
    right: 11px;
    z-index: 1;
    color: var(--archive-muted);
    font-size: 13px;
    pointer-events: none;
    transform: translateY(-50%);
}

.archive-field input,
.archive-field select {
    width: 100%;
    height: 41px;
    outline: none;
    color: var(--archive-text);
    border: 1px solid var(--archive-border-dark);
    border-radius: var(--archive-radius-sm);
    background: var(--archive-card-soft);
    font-size: 10px;
    transition: var(--archive-transition);
}

.archive-field input {
    padding: 0 35px 0 11px;
}

.archive-field select {
    padding: 0 11px;
    cursor: pointer;
}

.archive-field input::placeholder {
    color: var(--archive-muted);
}

.archive-field input:focus,
.archive-field select:focus {
    border-color: var(--archive-primary);
    box-shadow: 0 0 0 3px rgba(8, 121, 201, 0.1);
}

.archive-filter-submit {
    display: flex;
    align-items: end;
}

.archive-filter-submit button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 41px;
    color: #ffffff;
    border: 1px solid var(--archive-primary);
    border-radius: var(--archive-radius-sm);
    background: var(--archive-primary);
    box-shadow: 0 5px 11px rgba(8, 121, 201, 0.18);
    font-size: 11px;
    font-weight: 700;
    transition: var(--archive-transition);
}

.archive-filter-submit button:hover {
    border-color: var(--archive-primary-dark);
    background: var(--archive-primary-dark);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   7. Archive Content Box & Toolbar
--------------------------------------------------------- */
.archive-content-box {
    padding: 19px;
    border: 1px solid var(--archive-border);
    border-radius: var(--archive-radius-lg);
    background: var(--archive-card-bg);
    box-shadow: var(--archive-shadow);
}

.archive-content-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 17px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--archive-border);
}

.archive-toolbar-left,
.archive-toolbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.archive-result-count {
    color: var(--archive-muted);
    font-size: 10px;
    white-space: nowrap;
}

.archive-result-count strong {
    color: var(--archive-heading);
    font-weight: 800;
}

.archive-sort {
    display: flex;
    align-items: center;
    gap: 7px;
}

.archive-sort label {
    color: var(--archive-muted);
    font-size: 10px;
    white-space: nowrap;
}

.archive-sort select {
    height: 31px;
    padding: 0 8px;
    outline: none;
    color: var(--archive-text);
    border: 1px solid var(--archive-border);
    border-radius: 6px;
    background: var(--archive-card-soft);
    font-size: 10px;
    cursor: pointer;
}

.archive-view-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--archive-border);
    border-radius: 7px;
    background: var(--archive-card-soft);
}

.archive-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 25px;
    padding: 0;
    color: var(--archive-muted);
    border: 0;
    border-radius: 5px;
    background: transparent;
    font-size: 13px;
    transition: var(--archive-transition);
}

.archive-view-btn:hover {
    color: var(--archive-primary);
}

.archive-view-btn.active {
    color: #ffffff;
    background: var(--archive-primary);
    box-shadow: 0 2px 5px rgba(8, 121, 201, 0.25);
}

/* ---------------------------------------------------------
   8. News Cards - List View
--------------------------------------------------------- */
#archiveNewsWrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.archive-news-card {
    display: flex;
    gap: 16px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid var(--archive-border);
    border-radius: var(--archive-radius);
    background: var(--archive-card-bg);
    transition: var(--archive-transition);
}

.archive-news-card:hover {
    border-color: rgba(8, 121, 201, 0.35);
    box-shadow: var(--archive-shadow-hover);
    transform: translateY(-3px);
}

.archive-news-card.archive-card-hidden {
    display: none !important;
}

.archive-news-image {
    position: relative;
    display: block;
    flex: 0 0 190px;
    width: 190px;
    height: 137px;
    overflow: hidden;
    border-radius: 9px;
    background: #dbe5ec;
}

.archive-news-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.25));
    content: "";
    pointer-events: none;
}

.archive-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.archive-news-card:hover .archive-news-image img {
    transform: scale(1.07);
}

.archive-news-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    padding: 2px 2px 1px 0;
}

.archive-news-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.archive-news-topline > span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--archive-primary);
    font-size: 9px;
    font-weight: 700;
}

.archive-news-topline > span i {
    font-size: 10px;
}

.archive-news-topline .news-category {
    padding: 3px 7px;
    color: var(--archive-primary);
    border-radius: 4px;
    background: rgba(8, 121, 201, 0.09);
}

.archive-news-topline .news-category.orange {
    color: var(--archive-orange-dark);
    background: rgba(242, 138, 36, 0.12);
}

.archive-news-topline .news-category.green {
    color: #13835c;
    background: rgba(19, 131, 92, 0.1);
}

.archive-news-topline .news-category.red {
    color: #d84343;
    background: rgba(216, 67, 67, 0.1);
}

.archive-news-topline .news-category.purple {
    color: #7858b9;
    background: rgba(120, 88, 185, 0.11);
}

.archive-news-content h3 {
    margin: 0 0 5px;
    line-height: 1.75;
}

.archive-news-content h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--archive-heading);
    font-size: 14px;
    font-weight: 800;
    transition: var(--archive-transition);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.archive-news-content h3 a:hover {
    color: var(--archive-primary);
}

.archive-news-content p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--archive-muted);
    font-size: 10px;
    line-height: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.archive-news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.news-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--archive-muted);
    font-size: 9px;
}

.news-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.news-meta i {
    color: var(--archive-primary);
    font-size: 10px;
}

.archive-read-more {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--archive-primary);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
    transition: var(--archive-transition);
}

.archive-read-more i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.archive-read-more:hover {
    color: var(--archive-orange);
}

.archive-read-more:hover i {
    transform: translateX(-4px);
}

/* ---------------------------------------------------------
   9. News Cards - Grid View
--------------------------------------------------------- */
#archiveNewsWrapper.archive-grid-view {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.archive-grid-view .archive-news-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.archive-grid-view .archive-news-image {
    width: 100%;
    height: 192px;
    border-radius: 11px 11px 0 0;
}

.archive-grid-view .archive-news-content {
    min-height: 174px;
    padding: 14px;
}

.archive-grid-view .archive-news-content h3 a {
    font-size: 13px;
}

.archive-grid-view .archive-news-content p {
    -webkit-line-clamp: 2;
}

.archive-grid-view .archive-news-footer {
    padding-top: 11px;
    border-top: 1px solid var(--archive-border);
}

/* ---------------------------------------------------------
   10. Empty State
--------------------------------------------------------- */
.archive-empty-state {
    display: none;
    padding: 55px 20px;
    text-align: center;
}

.archive-empty-state.show {
    display: block;
}

.archive-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 69px;
    height: 69px;
    margin: 0 auto 13px;
    color: var(--archive-primary);
    border-radius: 50%;
    background: rgba(8, 121, 201, 0.09);
    font-size: 31px;
}

.archive-empty-state h3 {
    margin: 0 0 8px;
    color: var(--archive-heading);
    font-size: 15px;
    font-weight: 800;
}

.archive-empty-state p {
    margin: 0 0 16px;
    color: var(--archive-muted);
    font-size: 11px;
}

.archive-empty-state button {
    padding: 9px 15px;
    color: #ffffff;
    border: 0;
    border-radius: 7px;
    background: var(--archive-primary);
    font-size: 11px;
    transition: var(--archive-transition);
}

.archive-empty-state button:hover {
    background: var(--archive-primary-dark);
    transform: translateY(-2px);
}

/* ---------------------------------------------------------
   11. Pagination
--------------------------------------------------------- */
.archive-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 24px;
    direction: rtl;
}

.archive-pagination a,
.archive-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    color: var(--archive-muted);
    border: 1px solid var(--archive-border);
    border-radius: 7px;
    background: var(--archive-card-bg);
    font-size: 10px;
    font-weight: 700;
    transition: var(--archive-transition);
}

.archive-pagination a:hover {
    color: var(--archive-primary);
    border-color: var(--archive-primary);
}

.archive-pagination a.active,
.archive-pagination span.active {
    color: #ffffff;
    border-color: var(--archive-primary);
    background: var(--archive-primary);
    box-shadow: 0 4px 10px rgba(8, 121, 201, 0.22);
}

.archive-pagination .pagination-prev,
.archive-pagination .pagination-next {
    width: auto;
    padding: 0 10px;
}

/* ---------------------------------------------------------
   12. Sidebar Widgets
--------------------------------------------------------- */
.archive-widget {
    overflow: hidden;
    border: 1px solid var(--archive-border);
    border-radius: var(--archive-radius);
    background: var(--archive-card-bg);
    box-shadow: var(--archive-shadow);
}

.archive-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--archive-border);
}

.archive-widget-title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--archive-heading);
    font-size: 12px;
    font-weight: 800;
}

.archive-widget-title::before {
    width: 3px;
    height: 17px;
    border-radius: 4px;
    background: var(--archive-orange);
    content: "";
}

.archive-widget-title i {
    color: var(--archive-primary);
    font-size: 15px;
}

.archive-widget-body {
    padding: 10px 14px 14px;
}

/* Quick Categories */
.archive-category-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-category-list li {
    border-bottom: 1px dashed var(--archive-border);
}

.archive-category-list li:last-child {
    border-bottom: 0;
}

.archive-category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 7px;
    padding: 10px 0;
    color: var(--archive-text);
    font-size: 10px;
    transition: var(--archive-transition);
}

.archive-category-list a:hover {
    padding-right: 4px;
    color: var(--archive-primary);
}

.archive-category-list span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.archive-category-list span i {
    width: 17px;
    color: var(--archive-primary);
    font-size: 13px;
    text-align: center;
}

.archive-category-list strong {
    min-width: 29px;
    padding: 3px 5px;
    color: var(--archive-muted);
    border-radius: 5px;
    background: var(--archive-card-soft);
    font-size: 9px;
    font-weight: 700;
    text-align: center;
}

/* Popular List */
.popular-news-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.popular-news-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 0;
    border-bottom: 1px solid var(--archive-border);
}

.popular-news-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.popular-number {
    display: flex;
    flex: 0 0 27px;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    color: var(--archive-orange-dark);
    border-radius: 6px;
    background: rgba(242, 138, 36, 0.11);
    font-size: 10px;
    font-weight: 800;
}

.popular-news-list a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--archive-heading);
    font-size: 10px;
    font-weight: 700;
    line-height: 2;
    transition: var(--archive-transition);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.popular-news-list a:hover {
    color: var(--archive-primary);
}

/* Tags */
.archive-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.archive-tags a {
    padding: 6px 8px;
    color: var(--archive-muted);
    border: 1px solid var(--archive-border);
    border-radius: 6px;
    background: var(--archive-card-soft);
    font-size: 9px;
    transition: var(--archive-transition);
}

.archive-tags a:hover {
    color: #ffffff;
    border-color: var(--archive-primary);
    background: var(--archive-primary);
    transform: translateY(-2px);
}

/* Sidebar Advertisement */
.archive-sidebar-ad {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    overflow: hidden;
    border: 1px dashed rgba(8, 121, 201, 0.42);
    border-radius: var(--archive-radius);
    background:
        radial-gradient(circle at 85% 15%, rgba(8, 121, 201, 0.13), transparent 24%),
        radial-gradient(circle at 10% 90%, rgba(242, 138, 36, 0.14), transparent 28%),
        var(--archive-card-bg);
    text-align: center;
	margin-bottom: 20px;
}

.archive-sidebar-ad::before,
.archive-sidebar-ad::after {
    position: absolute;
    border: 1px solid rgba(8, 121, 201, 0.1);
    border-radius: 50%;
    content: "";
}

.archive-sidebar-ad::before {
    top: -65px;
    right: -45px;
    width: 145px;
    height: 145px;
}

.archive-sidebar-ad::after {
    bottom: -68px;
    left: -42px;
    width: 125px;
    height: 125px;
}

.archive-sidebar-ad .ad-label {
    position: absolute;
    top: 10px;
    right: 12px;
    color: var(--archive-muted);
    font-size: 8px;
}

.archive-sidebar-ad > div {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.archive-sidebar-ad i {
    color: var(--archive-primary);
    font-size: 31px;
}

.archive-sidebar-ad strong {
    color: var(--archive-heading);
    font-size: 13px;
    font-weight: 800;
}

.archive-sidebar-ad small {
    color: var(--archive-muted);
    font-size: 9px;
}

/* ---------------------------------------------------------
   13. Dark Mode Fine Tuning
--------------------------------------------------------- */
.dark-theme .archive-hero {
    background:
        radial-gradient(circle at 11% 80%, rgba(242, 138, 36, 0.22), transparent 27%),
        radial-gradient(circle at 88% 18%, rgba(32, 145, 224, 0.2), transparent 28%),
        linear-gradient(118deg, #031322 0%, #061f36 53%, #07385d 100%);
}

.dark-theme .archive-field input,
.dark-theme .archive-field select {
    color-scheme: dark;
}

.dark-theme .archive-news-image {
    background: #17384d;
}

.dark-theme .archive-news-card:hover {
    border-color: rgba(56, 158, 225, 0.48);
}

.dark-theme .archive-sidebar-ad {
    border-color: rgba(77, 164, 225, 0.35);
}

.dark-theme .archive-news-topline .news-category.green {
    color: #55d09d;
    background: rgba(85, 208, 157, 0.12);
}

.dark-theme .archive-news-topline .news-category.red {
    color: #ff8282;
    background: rgba(255, 130, 130, 0.12);
}

.dark-theme .archive-news-topline .news-category.purple {
    color: #bda4f4;
    background: rgba(189, 164, 244, 0.12);
}

/* ---------------------------------------------------------
   14. Responsive - Laptop
--------------------------------------------------------- */
@media (max-width: 1199px) {
    .archive-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 18px;
    }

    .archive-filter-fields {
        grid-template-columns: minmax(190px, 1.5fr) 1fr 1fr;
    }

    .archive-filter-submit {
        grid-column: span 3;
    }

    .archive-filter-submit button {
        width: auto;
        min-width: 145px;
    }

    .archive-news-image {
        flex-basis: 165px;
        width: 165px;
        height: 128px;
    }
}

/* ---------------------------------------------------------
   15. Responsive - Tablet
--------------------------------------------------------- */
@media (max-width: 991px) {
    .archive-layout {
        grid-template-columns: 1fr;
    }

    .archive-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .archive-sidebar-ad {
        min-height: 160px;
    }

    .archive-filter-fields {
        grid-template-columns: minmax(180px, 1.5fr) 1fr 1fr auto;
    }

    .archive-filter-submit {
        grid-column: auto;
    }

    .archive-filter-submit button {
        width: 100%;
        min-width: 0;
    }

    .archive-tags-widget,
    .archive-sidebar-ad {
        display: none;
    }
}

/* ---------------------------------------------------------
   16. Responsive - Mobile
--------------------------------------------------------- */
@media (max-width: 767px) {
    .archive-page {
        padding-bottom: 35px;
    }

    .archive-breadcrumb-inner {
        min-height: 43px;
        font-size: 10px;
    }

    .archive-hero {
        padding: 26px 0;
    }

    .archive-hero-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .archive-title-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        border-radius: 12px;
        font-size: 22px;
    }

    .archive-hero-title {
        align-items: flex-start;
        gap: 11px;
    }

    .archive-hero h1 {
        margin-bottom: 5px;
        font-size: 20px;
    }

    .archive-hero p {
        font-size: 10px;
        line-height: 2;
    }

    .archive-stat {
        width: 100%;
        min-width: 0;
        padding: 11px 13px;
    }

    .archive-main {
        padding-top: 18px;
    }

    .archive-filter-box,
    .archive-content-box {
        padding: 14px;
        border-radius: 11px;
    }

    .archive-filter-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .archive-filter-fields {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .archive-search-field,
    .archive-filter-submit {
        grid-column: span 2;
    }

    .archive-filter-submit button {
        width: 100%;
    }

    .archive-content-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .archive-toolbar-left,
    .archive-toolbar-right {
        justify-content: space-between;
        width: 100%;
    }

    .archive-news-card {
        gap: 11px;
        padding: 8px;
    }

    .archive-news-image {
        flex: 0 0 132px;
        width: 132px;
        height: 115px;
    }

    .archive-news-content {
        padding: 0;
    }

    .archive-news-topline {
        gap: 5px;
        margin-bottom: 3px;
    }

    .archive-news-topline > span {
        font-size: 8px;
    }

    .archive-news-content h3 {
        margin-bottom: 3px;
        line-height: 1.8;
    }

    .archive-news-content h3 a {
        font-size: 11px;
    }

    .archive-news-content p {
        font-size: 9px;
        line-height: 1.9;
        -webkit-line-clamp: 2;
    }

    .archive-news-footer {
        margin-top: 4px;
        padding-top: 4px;
    }

    .archive-read-more {
        font-size: 9px;
    }

    .news-meta {
        display: none;
    }

    #archiveNewsWrapper.archive-grid-view {
        grid-template-columns: 1fr;
    }

    .archive-grid-view .archive-news-image {
        width: 100%;
        height: 200px;
    }

    .archive-grid-view .news-meta {
        display: flex;
    }

    .archive-sidebar {
        grid-template-columns: 1fr;
    }

    .archive-category-widget {
        display: none;
    }
}

/* ---------------------------------------------------------
   17. Responsive - Small Mobile
--------------------------------------------------------- */
@media (max-width: 460px) {
    .archive-filter-fields {
        grid-template-columns: 1fr;
    }

    .archive-search-field,
    .archive-filter-submit {
        grid-column: auto;
    }

    .archive-toolbar-right {
        gap: 6px;
    }

    .archive-sort {
        gap: 4px;
    }

    .archive-sort label {
        display: none;
    }

    .archive-news-card {
        display: block;
        padding: 0;
    }

    .archive-news-image {
        display: block;
        width: 100%;
        height: 185px;
        border-radius: 10px 10px 0 0;
    }

    .archive-news-content {
        padding: 12px;
    }

    .archive-news-content h3 a {
        font-size: 13px;
    }

    .archive-news-footer {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid var(--archive-border);
    }

    .archive-news-card .news-meta {
        display: flex;
    }

    .archive-pagination {
        gap: 4px;
    }

    .archive-pagination a,
    .archive-pagination span {
        width: 29px;
        height: 29px;
        font-size: 9px;
    }

    .archive-pagination .pagination-prev,
    .archive-pagination .pagination-next {
        width: 29px;
        padding: 0;
        font-size: 0;
    }

    .archive-pagination .pagination-prev i,
    .archive-pagination .pagination-next i {
        font-size: 13px;
    }
}
/* =========================================================
   Archive Pagination
========================================================= */
.archive-pagination {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 26px;
    direction: rtl;
}

.archive-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-pagination a,
.archive-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    color: var(--archive-muted);
    border: 1px solid var(--archive-border);
    border-radius: 8px;
    background: var(--archive-card-bg);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: var(--archive-transition);
}

.archive-pagination a:hover {
    color: var(--archive-primary);
    border-color: var(--archive-primary);
    background: rgba(8, 121, 201, 0.06);
    transform: translateY(-2px);
}

.archive-pagination a.active {
    color: #ffffff;
    border-color: var(--archive-primary);
    background: var(--archive-primary);
    box-shadow: 0 5px 12px rgba(8, 121, 201, 0.25);
}

.archive-pagination span {
    min-width: 25px;
    color: var(--archive-muted);
    border-color: transparent;
    background: transparent;
    letter-spacing: 2px;
    cursor: default;
}

.archive-pagination .pagination-prev,
.archive-pagination .pagination-next {
    width: 38px;
    min-width: 38px;
    padding: 0;
    color: var(--archive-primary);
}

.archive-pagination .pagination-prev i,
.archive-pagination .pagination-next i {
    font-size: 14px;
    line-height: 1;
}

.archive-pagination .pagination-prev:hover,
.archive-pagination .pagination-next:hover {
    color: #ffffff;
    background: var(--archive-primary);
}

/* Dark Mode */
body.dark-theme .archive-pagination a,
body.dark-theme .archive-pagination span {
    background: var(--archive-card-soft);
}

body.dark-theme .archive-pagination span {
    background: transparent;
}

body.dark-theme .archive-pagination a:hover {
    background: rgba(44, 151, 223, 0.13);
}

body.dark-theme .archive-pagination a.active {
    color: #ffffff;
    background: var(--archive-primary);
}

/* Mobile */
@media (max-width: 575px) {
    .archive-pagination {
        margin-top: 20px;
    }

    .archive-pagination ul {
        gap: 4px;
    }

    .archive-pagination a,
    .archive-pagination span {
        min-width: 30px;
        height: 30px;
        padding: 0 6px;
        border-radius: 7px;
        font-size: 10px;
    }

    .archive-pagination .pagination-prev,
    .archive-pagination .pagination-next {
        width: 30px;
        min-width: 30px;
    }

    .archive-pagination .pagination-prev i,
    .archive-pagination .pagination-next i {
        font-size: 12px;
    }
}

@media (max-width: 390px) {
    .archive-pagination li:nth-child(3),
    .archive-pagination li:nth-child(4),
    .archive-pagination li:nth-child(5) {
        display: none;
    }
}

/* =========================================================
   Sedaye Sanat - Single News Page
   File: css/news-single.css
   Light Mode + Dark Mode
========================================================= */

/* =========================================================
   Variables - Light Mode
========================================================= */
:root {
    --sn-primary: #087cc7;
    --sn-primary-dark: #0567aa;
    --sn-navy: #082f50;
    --sn-orange: #f28a24;
    --sn-orange-dark: #d76f0c;
    --sn-green: #15956b;
    --sn-red: #d94a4a;

    --sn-page-bg: #f3f6f9;
    --sn-card-bg: #ffffff;
    --sn-soft-bg: #f7fafc;
    --sn-input-bg: #ffffff;

    --sn-heading: #102d43;
    --sn-text: #3c5060;
    --sn-muted: #758693;

    --sn-border: #e1e9ef;
    --sn-border-strong: #d1dfe8;

    --sn-shadow: 0 7px 25px rgba(10, 46, 74, 0.07);
    --sn-shadow-hover: 0 13px 31px rgba(10, 46, 74, 0.14);

    --sn-radius-sm: 7px;
    --sn-radius: 12px;
    --sn-radius-lg: 16px;

    --sn-transition: all 0.25s ease;
}

/* =========================================================
   Variables - Dark Mode
========================================================= */
body.dark-theme {
    --sn-page-bg: #071522;
    --sn-card-bg: #0c2031;
    --sn-soft-bg: #091b2a;
    --sn-input-bg: #0a1c2b;

    --sn-heading: #f0f5f8;
    --sn-text: #cfdee7;
    --sn-muted: #98aebb;

    --sn-border: #1c3a4f;
    --sn-border-strong: #2a4a60;

    --sn-shadow: 0 7px 25px rgba(0, 0, 0, 0.27);
    --sn-shadow-hover: 0 14px 32px rgba(0, 0, 0, 0.43);
}

/* =========================================================
   Reset Scoped
========================================================= */
.single-news-page,
.single-news-page * {
    box-sizing: border-box;
}

.single-news-page {
    min-height: 100vh;
    padding: 30px 0 65px;
    color: var(--sn-text);
    background: var(--sn-page-bg);
}

.single-news-page a {
    color: inherit;
    text-decoration: none;
}

.single-news-page img {
    display: block;
    max-width: 100%;
}

.single-news-page button,
.single-news-page input,
.single-news-page textarea {
    font-family: inherit;
}

.single-news-page button {
    cursor: pointer;
}

.site-container {
    width: min(1360px, calc(100% - 30px));
    margin: 0 auto;
}

/* =========================================================
   Breadcrumb
========================================================= */
.news-breadcrumb {
    margin-bottom: 18px;
}

.news-breadcrumb ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-breadcrumb li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--sn-muted);
    font-size: 11px;
}

.news-breadcrumb li:not(:last-child)::after {
    color: var(--sn-muted);
    content: "\F285";
    font-family: "bootstrap-icons";
    font-size: 8px;
}

.news-breadcrumb li:last-child {
    color: var(--sn-heading);
    font-weight: 700;
}

.news-breadcrumb a {
    color: var(--sn-muted);
    transition: var(--sn-transition);
}

.news-breadcrumb a:hover {
    color: var(--sn-primary);
}

/* =========================================================
   Main Layout
========================================================= */
.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 24px;
    align-items: start;
}

.news-main-column {
    min-width: 0;
}

.news-sidebar {
    position: sticky;
    top: 20px;
    align-self: start;

    /* جلوگیری از خارج شدن سایدبار از ارتفاع صفحه */
    overflow-y: none;

    /* مخفی‌کردن اسکرول‌بار در فایرفاکس */
    scrollbar-width: thin;
    scrollbar-color: var(--sn-border-strong) transparent;
}

/* ظاهر اسکرول‌بار در Chrome / Edge / Safari */
.news-sidebar::-webkit-scrollbar {
    width: 5px;
}

.news-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.news-sidebar::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background: var(--sn-border-strong);
}

.news-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--sn-primary);
}

/* =========================================================
   Article Card
========================================================= */
.news-article-card {
    overflow: hidden;
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius-lg);
    background: var(--sn-card-bg);
    box-shadow: var(--sn-shadow);
}

.news-article-header {
    padding: 27px 28px 21px;
}

.news-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 13px;
    padding: 6px 11px;
    color: var(--sn-primary);
    border-radius: 6px;
    background: rgba(8, 124, 199, 0.1);
    font-size: 10px;
    font-weight: 800;
}

.news-category i {
    font-size: 13px;
}

.news-article-title {
    margin: 0 0 14px;
    color: var(--sn-heading);
    font-size: clamp(21px, 2vw, 28px);
    font-weight: 900;
    line-height: 1.95;
}

.news-article-lead {
    margin: 0;
    padding: 11px 15px;
    color: var(--sn-text);
    border-right: 4px solid var(--sn-orange);
    border-radius: 0 8px 8px 0;
    background: var(--sn-soft-bg);
    font-size: 13px;
    font-weight: 500;
    line-height: 2.3;
}

/* =========================================================
   Article Meta
========================================================= */
.news-article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 19px;
    padding-top: 15px;
    border-top: 1px solid var(--sn-border);
}

.news-meta-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-meta-list li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--sn-muted);
    font-size: 10px;
}

.news-meta-list li > i {
    color: var(--sn-primary);
    font-size: 12px;
}

.news-meta-list strong {
    color: var(--sn-heading);
    font-weight: 800;
}

.news-font-control {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid var(--sn-border);
    border-radius: 7px;
    background: var(--sn-soft-bg);
}

.news-font-control button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 26px;
    padding: 0;
    color: var(--sn-muted);
    border: 0;
    border-radius: 5px;
    background: transparent;
    font-size: 10px;
    font-weight: 800;
    transition: var(--sn-transition);
}

.news-font-control button:hover,
.news-font-control button.active {
    color: #fff;
    background: var(--sn-primary);
}

/* =========================================================
   Featured Image
========================================================= */
.news-featured-image {
    margin: 0;
    overflow: hidden;
    background: #dbe7ed;
}

.news-featured-image img {
    width: 100%;
    min-height: 320px;
    max-height: 540px;
    object-fit: cover;
}

.news-featured-image figcaption {
    padding: 8px 28px;
    color: var(--sn-muted);
    background: var(--sn-soft-bg);
    font-size: 9px;
    line-height: 1.9;
}

/* =========================================================
   Article Body
========================================================= */
.news-article-body {
    padding: 27px 28px 31px;
    color: var(--sn-text);
    font-size: 14px;
    line-height: 2.6;
    transition: font-size 0.2s ease;
}

.news-article-body p {
    margin: 0 0 20px;
    color: var(--sn-text);
    text-align: justify;
}

.news-article-body strong {
    color: var(--sn-heading);
    font-weight: 800;
}

.news-article-body h2,
.news-article-body h3 {
    position: relative;
    margin: 30px 0 14px;
    padding-right: 14px;
    color: var(--sn-heading);
    font-weight: 900;
    line-height: 1.9;
}

.news-article-body h2::before,
.news-article-body h3::before {
    position: absolute;
    top: 9px;
    right: 0;
    width: 4px;
    height: 24px;
    border-radius: 4px;
    background: var(--sn-orange);
    content: "";
}

.news-article-body h2 {
    font-size: 19px;
}

.news-article-body h3 {
    font-size: 16px;
}

.news-article-body ul {
    margin: 0 0 22px;
    padding-right: 23px;
}

.news-article-body li {
    margin-bottom: 7px;
    padding-right: 4px;
}

.news-article-body li::marker {
    color: var(--sn-primary);
}

.news-article-body blockquote {
    position: relative;
    margin: 27px 0;
    padding: 17px 20px;
    color: var(--sn-heading);
    border-right: 4px solid var(--sn-primary);
    border-radius: 0 10px 10px 0;
    background: rgba(8, 124, 199, 0.07);
    font-size: 13px;
    font-weight: 600;
    line-height: 2.35;
}

.news-article-body blockquote::before {
    position: absolute;
    top: 1px;
    left: 15px;
    color: rgba(8, 124, 199, 0.16);
    content: "“";
    font-family: Georgia, serif;
    font-size: 56px;
    line-height: 1;
}

/* =========================================================
   Inline Advertisement
========================================================= */
.article-inline-ad {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 145px;
    margin: 28px 0;
    padding: 22px;
    overflow: hidden;
    border: 1px dashed rgba(8, 124, 199, 0.45);
    border-radius: var(--sn-radius);
    background:
        radial-gradient(circle at 11% 82%, rgba(242, 138, 36, 0.16), transparent 28%),
        radial-gradient(circle at 89% 17%, rgba(8, 124, 199, 0.14), transparent 25%),
        var(--sn-soft-bg);
}

.article-inline-ad::before,
.article-inline-ad::after {
    position: absolute;
    border: 1px solid rgba(8, 124, 199, 0.13);
    border-radius: 50%;
    content: "";
}

.article-inline-ad::before {
    top: -80px;
    right: -58px;
    width: 175px;
    height: 175px;
}

.article-inline-ad::after {
    bottom: -103px;
    left: -64px;
    width: 190px;
    height: 190px;
    border-color: rgba(242, 138, 36, 0.16);
}

.article-inline-ad-label {
    position: absolute;
    z-index: 2;
    top: 9px;
    right: 12px;
    color: var(--sn-muted);
    font-size: 8px;
}

.article-inline-ad-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

.article-inline-ad-content > i {
    color: var(--sn-primary);
    font-size: 35px;
}

.article-inline-ad-content > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.article-inline-ad-content strong {
    color: var(--sn-heading);
    font-size: 14px;
    font-weight: 900;
}

.article-inline-ad-content span {
    color: var(--sn-muted);
    font-size: 10px;
}

.article-inline-ad-content small {
    color: var(--sn-orange-dark);
    font-size: 9px;
    font-weight: 700;
}

/* =========================================================
   Article Source
========================================================= */
.news-source-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 10px 12px;
    color: var(--sn-muted);
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius-sm);
    background: var(--sn-soft-bg);
    font-size: 10px;
}

.news-source-box i {
    color: var(--sn-primary);
    font-size: 15px;
}

.news-source-box strong {
    color: var(--sn-heading);
    font-weight: 800;
}

/* =========================================================
   Tags & Share
========================================================= */
.news-article-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 28px;
    border-top: 1px solid var(--sn-border);
    background: var(--sn-soft-bg);
}

.news-tags {
    display: flex;
    flex: 1;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.news-tags-title {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 3px;
    color: var(--sn-heading);
    font-size: 10px;
    font-weight: 800;
}

.news-tags-title i {
    color: var(--sn-orange);
    font-size: 13px;
}

.news-tags a {
    padding: 5px 9px;
    color: var(--sn-muted);
    border: 1px solid var(--sn-border);
    border-radius: 5px;
    background: var(--sn-card-bg);
    font-size: 9px;
    transition: var(--sn-transition);
}

.news-tags a:hover {
    color: #fff;
    border-color: var(--sn-primary);
    background: var(--sn-primary);
}

.news-share {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-share > span {
    margin-left: 3px;
    color: var(--sn-heading);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.news-share a,
.news-share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    color: var(--sn-muted);
    border: 1px solid var(--sn-border);
    border-radius: 6px;
    background: var(--sn-card-bg);
    font-size: 13px;
    transition: var(--sn-transition);
}

.news-share a:hover,
.news-share button:hover {
    color: #fff;
    border-color: var(--sn-primary);
    background: var(--sn-primary);
    transform: translateY(-2px);
}

.news-share .share-telegram:hover {
    border-color: #229ed9;
    background: #229ed9;
}

.news-share .share-whatsapp:hover {
    border-color: #25d366;
    background: #25d366;
}

/* =========================================================
   Author Box
========================================================= */
.news-author-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 21px;
    padding: 16px;
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius);
    background: var(--sn-card-bg);
    box-shadow: var(--sn-shadow);
}

.news-author-avatar {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sn-primary), var(--sn-navy));
    background-size: cover;
    background-position: center;
    font-size: 23px;
}

.news-author-info h4 a {
    color: inherit;
    text-decoration: none;
}

.news-author-info h4 a:hover {
    color: var(--sn-primary);
    text-decoration: underline;
}

.news-author-info {
    flex: 1;
    min-width: 0;
}

.news-author-info > span {
    display: block;
    margin-bottom: 2px;
    color: var(--sn-muted);
    font-size: 9px;
}

.news-author-info h4 {
    margin: 0 0 4px;
    color: var(--sn-heading);
    font-size: 12px;
    font-weight: 900;
}

.news-author-info p {
    overflow: hidden;
    margin: 0;
    color: var(--sn-muted);
    font-size: 9px;
    line-height: 1.9;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-author-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--sn-primary);
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

.news-author-link:hover {
    color: var(--sn-orange-dark);
}

/* =========================================================
   Related News
========================================================= */
.related-news-section,
.news-comments-section {
    margin-top: 22px;
    padding: 20px;
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius-lg);
    background: var(--sn-card-bg);
    box-shadow: var(--sn-shadow);
}

.news-section-heading,
.comments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 17px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--sn-border);
}

.news-section-heading h2,
.comments-heading h2 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--sn-heading);
    font-size: 15px;
    font-weight: 900;
}

.news-section-heading h2::before,
.comments-heading h2::before {
    width: 4px;
    height: 20px;
    border-radius: 4px;
    background: var(--sn-orange);
    content: "";
}

.news-section-heading h2 i,
.comments-heading h2 i {
    color: var(--sn-primary);
    font-size: 17px;
}

.news-section-heading > a {
    color: var(--sn-primary);
    font-size: 10px;
    font-weight: 800;
}

.news-section-heading > a:hover {
    color: var(--sn-orange-dark);
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.related-news-card {
    overflow: hidden;
    border: 1px solid var(--sn-border);
    border-radius: 9px;
    background: var(--sn-card-bg);
    transition: var(--sn-transition);
}

.related-news-card:hover {
    border-color: rgba(8, 124, 199, 0.4);
    box-shadow: var(--sn-shadow-hover);
    transform: translateY(-3px);
}

.related-news-image {
    display: block;
    height: 126px;
    overflow: hidden;
    background: #dce8ee;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.related-news-card:hover .related-news-image img {
    transform: scale(1.08);
}

.related-news-content {
    padding: 10px;
}

.related-news-content > span {
    display: block;
    margin-bottom: 5px;
    color: var(--sn-primary);
    font-size: 8px;
    font-weight: 800;
}

.related-news-content h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--sn-heading);
    font-size: 10px;
    font-weight: 800;
    line-height: 2;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-news-content h3 a:hover {
    color: var(--sn-primary);
}

/* =========================================================
   Comments
========================================================= */
.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 29px;
    height: 23px;
    padding: 0 7px;
    color: var(--sn-primary);
    border-radius: 5px;
    background: rgba(8, 124, 199, 0.1);
    font-size: 10px;
    font-weight: 900;
}

.comments-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 17px;
    padding: 10px 11px;
    color: var(--sn-muted);
    border: 1px solid rgba(242, 138, 36, 0.27);
    border-radius: 8px;
    background: rgba(242, 138, 36, 0.07);
    font-size: 9px;
    line-height: 2;
}

.comments-notice > i {
    margin-top: 2px;
    color: var(--sn-orange);
    font-size: 14px;
}

/* Comment Form */
.comment-form-wrap {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid var(--sn-border);
    border-radius: 10px;
    background: var(--sn-soft-bg);
}

.comment-form-title {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 13px;
    color: var(--sn-heading);
    font-size: 12px;
    font-weight: 900;
}

.comment-form-title i {
    color: var(--sn-primary);
    font-size: 15px;
}

.comment-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}

.comment-form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--sn-heading);
    font-size: 9px;
    font-weight: 800;
}

.comment-form-field input,
.comment-form-field textarea {
    display: block;
    width: 100%;
    outline: 0;
    color: var(--sn-text);
    border: 1px solid var(--sn-border-strong);
    border-radius: 7px;
    background: var(--sn-input-bg);
    font-size: 10px;
    transition: var(--sn-transition);
}

.comment-form-field input {
    height: 39px;
    padding: 0 11px;
}

.comment-form-field textarea {
    min-height: 96px;
    padding: 10px 11px;
    resize: vertical;
    line-height: 2;
}

.comment-form-field input::placeholder,
.comment-form-field textarea::placeholder {
    color: var(--sn-muted);
}

.comment-form-field input:focus,
.comment-form-field textarea:focus {
    border-color: var(--sn-primary);
    box-shadow: 0 0 0 3px rgba(8, 124, 199, 0.1);
}

.comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    margin-top: 11px;
}

.comment-form-footer p {
    margin: 0;
    color: var(--sn-muted);
    font-size: 8px;
}

.comment-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 123px;
    height: 37px;
    padding: 0 14px;
    color: #fff;
    border: 0;
    border-radius: 7px;
    background: var(--sn-primary);
    box-shadow: 0 5px 13px rgba(8, 124, 199, 0.22);
    font-size: 10px;
    font-weight: 800;
    transition: var(--sn-transition);
}

.comment-submit-btn:hover {
    background: var(--sn-primary-dark);
    transform: translateY(-2px);
}

/* Dynamic Reply Form */
.dynamic-reply-form {
    margin: 13px 0 0;
}

.comment-reply-cancel {
    height: 36px;
    padding: 0 13px;
    color: var(--sn-muted);
    border: 1px solid var(--sn-border-strong);
    border-radius: 7px;
    background: var(--sn-card-bg);
    font-size: 10px;
    transition: var(--sn-transition);
}

.comment-reply-cancel:hover {
    color: var(--sn-red);
    border-color: var(--sn-red);
}

/* Comments List */
.comments-list,
.comment-replies {
    margin: 0;
    padding: 0;
    list-style: none;
}

.comments-list > li {
    margin-bottom: 15px;
}

.comments-list > li:last-child {
    margin-bottom: 0;
}

.comment-item {
    padding: 14px;
    border: 1px solid var(--sn-border);
    border-radius: 10px;
    background: var(--sn-card-bg);
    transition: var(--sn-transition);
}

.comment-item:hover {
    border-color: rgba(8, 124, 199, 0.34);
}

.comment-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.comment-avatar {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    overflow: hidden;
    color: #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #168ad4, #075283);
    font-size: 16px;
    font-weight: 900;
}

.comment-avatar.orange {
    background: linear-gradient(135deg, #f6a34d, #d97010);
}

.comment-avatar.green {
    background: linear-gradient(135deg, #31bb8c, #0f7051);
}

.comment-avatar.purple {
    background: linear-gradient(135deg, #9c7cda, #62449c);
}

.comment-avatar.gray {
    background: linear-gradient(135deg, #91a3af, #536976);
}

.comment-user-info {
    flex: 1;
    min-width: 0;
    padding-top: 1px;
}

.comment-user-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 3px;
}

.comment-user-name strong {
    color: var(--sn-heading);
    font-size: 11px;
    font-weight: 900;
}

.verified-user {
    color: var(--sn-primary);
    font-size: 12px;
}

.comment-user-role {
    padding: 2px 6px;
    color: var(--sn-orange-dark);
    border-radius: 4px;
    background: rgba(242, 138, 36, 0.13);
    font-size: 8px;
    font-weight: 800;
}

.comment-date {
    color: var(--sn-muted);
    font-size: 8px;
}

.comment-date i {
    margin-left: 3px;
    color: var(--sn-primary);
}

.comment-text {
    margin: 11px 0;
    padding-right: 50px;
    color: var(--sn-text);
    font-size: 11px;
    line-height: 2.3;
    text-align: justify;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 50px;
}

.comment-reply-btn,
.comment-like-btn,
.comment-dislike-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 28px;
    padding: 0 8px;
    color: var(--sn-muted);
    border: 1px solid var(--sn-border);
    border-radius: 5px;
    background: var(--sn-soft-bg);
    font-size: 8px;
    transition: var(--sn-transition);
}

.comment-reply-btn i,
.comment-like-btn i,
.comment-dislike-btn i {
    font-size: 11px;
}

.comment-reply-btn:hover {
    color: #fff;
    border-color: var(--sn-primary);
    background: var(--sn-primary);
}

.comment-like-btn:hover,
.comment-like-btn.active {
    color: var(--sn-green);
    border-color: rgba(21, 149, 107, 0.38);
    background: rgba(21, 149, 107, 0.1);
}

.comment-dislike-btn:hover,
.comment-dislike-btn.active {
    color: var(--sn-red);
    border-color: rgba(217, 74, 74, 0.38);
    background: rgba(217, 74, 74, 0.1);
}

/* Nested Replies */
.comment-replies {
    position: relative;
    margin-top: 13px;
    margin-right: 49px;
    padding-right: 15px;
    border-right: 2px solid var(--sn-border);
}

.comment-replies > li {
    position: relative;
    margin-bottom: 11px;
}

.comment-replies > li:last-child {
    margin-bottom: 0;
}

.comment-replies > li::before {
    position: absolute;
    top: 25px;
    right: -16px;
    width: 15px;
    height: 2px;
    background: var(--sn-border);
    content: "";
}

.comment-replies .comment-item {
    padding: 12px;
    background: var(--sn-soft-bg);
}

.comment-replies .comment-avatar {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 13px;
}

.comment-replies .comment-text,
.comment-replies .comment-actions {
    padding-right: 43px;
}

.comment-replies .comment-text {
    margin-top: 9px;
    font-size: 10px;
}

.comment-replies .comment-replies {
    margin-right: 35px;
}

.admin-comment {
    border-right: 3px solid var(--sn-primary);
    background:
        linear-gradient(90deg, rgba(8, 124, 199, 0.05), transparent 28%),
        var(--sn-card-bg);
}

.admin-comment .comment-avatar {
    background: linear-gradient(135deg, var(--sn-primary), var(--sn-navy));
}

.load-more-comments {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    height: 40px;
    margin-top: 19px;
    color: var(--sn-primary);
    border: 1px dashed rgba(8, 124, 199, 0.55);
    border-radius: 7px;
    background: var(--sn-soft-bg);
    font-size: 10px;
    font-weight: 800;
    transition: var(--sn-transition);
}

.load-more-comments:hover {
    color: #fff;
    border-style: solid;
    border-color: var(--sn-primary);
    background: var(--sn-primary);
}

/* =========================================================
   Sidebar
========================================================= */
.sidebar-widget {
    overflow: hidden;
    border: 1px solid var(--sn-border);
    border-radius: var(--sn-radius);
    background: var(--sn-card-bg);
    box-shadow: var(--sn-shadow);
	margin-bottom: 25px;
}

.widget-header {
    padding: 14px 14px 12px;
    border-bottom: 1px solid var(--sn-border);
}

.widget-header h3 {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: var(--sn-heading);
    font-size: 12px;
    font-weight: 900;
}

.widget-header h3::before {
    width: 3px;
    height: 18px;
    border-radius: 3px;
    background: var(--sn-orange);
    content: "";
}

.widget-header h3 i {
    color: var(--sn-primary);
    font-size: 15px;
}

.sidebar-news-list {
    margin: 0;
    padding: 0 14px;
    list-style: none;
}

.sidebar-news-list li {
    padding: 11px 0;
    border-bottom: 1px solid var(--sn-border);
}

.sidebar-news-list li:last-child {
    border-bottom: 0;
}

.sidebar-news-list a {
    display: flex;
    align-items: center;
    gap: 9px;
}

.sidebar-news-list img {
    flex: 0 0 70px;
    width: 70px;
    height: 54px;
    border-radius: 6px;
    object-fit: cover;
}

.sidebar-news-list a > div {
    min-width: 0;
}

.sidebar-news-list h4 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 4px;
    color: var(--sn-heading);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.9;
    transition: var(--sn-transition);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.sidebar-news-list a:hover h4 {
    color: var(--sn-primary);
}

.sidebar-news-list span {
    color: var(--sn-muted);
    font-size: 8px;
}

.sidebar-news-list span i {
    margin-left: 3px;
    color: var(--sn-primary);
}

.news-sidebar-ad {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    overflow: hidden;
    border: 1px dashed rgba(8, 124, 199, 0.45);
    border-radius: var(--sn-radius);
    background:
        radial-gradient(circle at 16% 85%, rgba(242, 138, 36, 0.16), transparent 29%),
        radial-gradient(circle at 87% 13%, rgba(8, 124, 199, 0.15), transparent 25%),
        var(--sn-card-bg);
    text-align: center;
}

.news-sidebar-ad > span {
    position: absolute;
    top: 10px;
    right: 12px;
    color: var(--sn-muted);
    font-size: 8px;
}

.news-sidebar-ad > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.news-sidebar-ad i {
    color: var(--sn-primary);
    font-size: 35px;
}

.news-sidebar-ad strong {
    color: var(--sn-heading);
    font-size: 13px;
    font-weight: 900;
}

.news-sidebar-ad small {
    color: var(--sn-muted);
    font-size: 9px;
}

/* =========================================================
   Dark Mode Enhancements
========================================================= */
body.dark-theme .news-featured-image {
    background: #15364a;
}

body.dark-theme .article-inline-ad {
    border-color: rgba(69, 165, 226, 0.38);
}

body.dark-theme .admin-comment {
    background:
        linear-gradient(90deg, rgba(8, 124, 199, 0.1), transparent 28%),
        var(--sn-card-bg);
}

body.dark-theme .comment-like-btn.active {
    color: #5bdbab;
    background: rgba(91, 219, 171, 0.12);
}

body.dark-theme .comment-dislike-btn.active {
    color: #ff9090;
    background: rgba(255, 144, 144, 0.12);
}

/* =========================================================
   Responsive - Tablet
========================================================= */
@media (max-width: 1199px) {
    .news-detail-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 19px;
    }

    .related-news-grid {
        gap: 10px;
    }
}

@media (max-width: 991px) {
    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .news-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }

    .news-sidebar-ad {
        min-height: 210px;
    }
}

/* =========================================================
   Responsive - Mobile
========================================================= */
@media (max-width: 767px) {
    .single-news-page {
        padding: 19px 0 45px;
    }

    .site-container {
        width: min(100% - 24px, 1360px);
    }

    .news-breadcrumb {
        margin-bottom: 14px;
    }

    .news-breadcrumb li {
        font-size: 9px;
    }

    .news-article-header {
        padding: 18px 15px 16px;
    }

    .news-category {
        margin-bottom: 10px;
    }

    .news-article-title {
        margin-bottom: 11px;
        font-size: 18px;
        line-height: 1.9;
    }

    .news-article-lead {
        padding: 9px 11px;
        font-size: 11px;
        line-height: 2.2;
    }

    .news-article-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        margin-top: 14px;
        padding-top: 12px;
    }

    .news-meta-list {
        gap: 9px;
    }

    .news-font-control {
        align-self: flex-end;
    }

    .news-featured-image img {
        min-height: 215px;
    }

    .news-featured-image figcaption {
        padding: 7px 15px;
        font-size: 8px;
    }

    .news-article-body {
        padding: 19px 15px 23px;
        font-size: 12px;
        line-height: 2.5;
    }

    .news-article-body p {
        margin-bottom: 17px;
    }

    .news-article-body h2 {
        margin-top: 25px;
        font-size: 16px;
    }

    .news-article-body h3 {
        font-size: 14px;
    }

    .news-article-body blockquote {
        margin: 21px 0;
        padding: 14px;
        font-size: 11px;
    }

    .article-inline-ad {
        min-height: 130px;
        margin: 22px 0;
        padding: 17px;
    }

    .article-inline-ad-content > i {
        font-size: 29px;
    }

    .article-inline-ad-content strong {
        font-size: 11px;
    }

    .article-inline-ad-content span {
        font-size: 9px;
    }

    .news-article-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 15px;
    }

    .news-share {
        width: 100%;
        padding-top: 11px;
        border-top: 1px solid var(--sn-border);
    }

    .news-author-box {
        padding: 13px;
    }

    .news-author-info p {
        white-space: normal;
    }

    .news-author-link {
        display: none;
    }

    .related-news-section,
    .news-comments-section {
        padding: 14px;
    }

    .related-news-grid {
        grid-template-columns: 1fr;
    }

    .related-news-card {
        display: flex;
    }

    .related-news-image {
        flex: 0 0 112px;
        width: 112px;
        height: 88px;
    }

    .related-news-content {
        padding: 9px;
    }

    .comment-form-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .comment-form-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .comment-submit-btn {
        width: 100%;
    }

    .comment-text,
    .comment-actions {
        padding-right: 0;
    }

    .comment-text {
        font-size: 10px;
    }

    .comment-replies {
        margin-right: 20px;
        padding-right: 10px;
    }

    .comment-replies .comment-text,
    .comment-replies .comment-actions {
        padding-right: 0;
    }

    .news-sidebar {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Responsive - Small Mobile
========================================================= */
@media (max-width: 430px) {
    .news-meta-list li:nth-child(3) {
        display: none;
    }

    .news-article-title {
        font-size: 16px;
    }

    .news-article-body {
        font-size: 11px;
    }

    .article-inline-ad-content {
        flex-direction: column;
        text-align: center;
    }

    .article-inline-ad-content > div {
        align-items: center;
        text-align: center;
    }

    .comment-head {
        gap: 8px;
    }

    .comment-avatar {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .comment-actions {
        gap: 4px;
    }

    .comment-reply-btn,
    .comment-like-btn,
    .comment-dislike-btn {
        padding: 0 6px;
    }

    .comment-replies {
        margin-right: 11px;
        padding-right: 7px;
    }

    .comment-replies > li::before {
        right: -8px;
        width: 7px;
    }

    .news-tags {
        gap: 5px;
    }
}