
.slider-wrap {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.slider-hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    display: block;
    transition: transform .3s ease, box-shadow .3s ease;
}

.slider-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.slider-hero-img { aspect-ratio: 16/9; background: #e8eaf6; }
.slider-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.slider-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), transparent); }

.slider-cat {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #c2185b;
    font-size: 9px;
    padding: 3px 10px;
    border-radius: 999px;
    z-index: 2;
}

.slider-content { position: absolute; bottom: 0; right: 0; left: 0; padding: 14px; }
.slider-content h1 { font-size: 16px; font-weight: 800; line-height: 1.5; }

.slider-side { display: flex; flex-direction: column; gap: 8px; }

.slider-pick {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
    flex: 1;
    display: block;
    transition: transform .3s ease;
}

.slider-pick:hover { transform: translateY(-2px); }
.slider-pick img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }
.slider-pick-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), transparent); }
.slider-pick h3 { position: absolute; bottom: 8px; right: 8px; left: 8px; font-size: 11px; font-weight: 700; }

/* باکس */
.box {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    transition: box-shadow .3s ease;
}

.box:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }

.box-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 6px;
}

.box-head h2 { font-size: 13px; font-weight: 800; }
.box-head a { font-size: 10px; color: #3584e4; font-weight: 600; }

/* اخبار */
.news-item {
    display: flex;
    gap: 10px;
    padding: 8px;
    border-bottom: 1px solid #f0efe9;
    align-items: center;
    border-radius: 8px;
    transition: background .2s ease;
}

.news-item:hover { background: #faf9f7; }
.news-item img { width: 50px; height: 35px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.news-item h3 { font-size: 12px; font-weight: 600; flex: 1; line-height: 1.6; }
.news-item span { font-size: 9px; color: #9ca3af; }

/* خبر زنده */
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #d32f2f;
    color: #fff;
    font-size: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
}

.live-dot {
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }

.live-list { max-height: 200px; overflow-y: auto; }
.live-item { padding: 5px 0; }
.live-item small { font-size: 8px; color: #9ca3af; }
.live-item p { font-size: 9px; line-height: 1.6; }

/* نظرسنجی */
.poll-q { font-size: 10px; font-weight: 600; margin-bottom: 8px; }
.poll-opt {
    width: 100%;
    padding: 6px 10px;
    background: #faf9f7;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 9px;
    cursor: pointer;
    margin-bottom: 4px;
    text-align: right;
    transition: border-color .2s ease, background .2s ease;
}

.poll-opt:hover { border-color: #3584e4; background: #f5f6fa; }

/* تبلیغ */
.ad {
    min-height: 45px;
    background: #faf9f7;
    border: 1px dashed #d1d5db;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 8px;
    color: #9ca3af;
    margin-bottom: 8px;
}

/* آیتم باریک */
.narrow-item {
    display: flex;
    gap: 6px;
    padding: 5px 0;
    align-items: center;
    transition: color .2s ease;
}

.narrow-item:hover { color: #3584e4; }
.narrow-item img { width: 30px; height: 30px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.narrow-item span { font-size: 9px; }

/* ═══ فوتر ═══ */
.site-footer {
    background: linear-gradient(180deg, #1a5fb4, #0d3b7a);
    color: #c5cae9;
    margin-top: 30px;
    padding: 30px 0 15px;
}

.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 20px; }
.site-footer h3 { color: #fff; font-size: 13px; margin-bottom: 10px; }
.site-footer p, .site-footer a { font-size: 11px; color: #c5cae9; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { transition: color .2s ease; }
.site-footer a:hover { color: #fff; padding-right: 3px; }
.footer-logo { max-height: 50px; margin-bottom: 10px; }

.footer-social { display: flex; gap: 8px; justify-content: center; padding: 12px 0; }
.social-icon-link {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: grid;
    place-items: center;
    color: #c5cae9;
    transition: .2s;
}

.social-icon-link:hover { background: #fff; color: #1a5fb4; }
.footer-licenses { display: flex; justify-content: center; gap: 16px; padding: 12px 0; flex-wrap: wrap; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    padding-top: 14px;
    font-size: 10px;
    color: #9fa8da;
}

/* ═══ سوییچر زبان ═══ */
.lang-switcher { display: flex; gap: 3px; }
.lang-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 600;
}

.lang-btn.active { background: #3584e4; color: #fff; border-color: #3584e4; }

/* ═══ منوی شناور ═══ */
.floating-nav {
    display: none;
    position: fixed;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: calc(100% - 24px);
    max-width: 400px;
}

.fn-inner {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(229,231,235,.7);
    border-radius: 18px;
    padding: 6px 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
}

.fn-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px 4px;
    text-decoration: none;
    color: #9ca3af;
    flex: 1;
    border-radius: 10px;
    transition: .2s;
}

.fn-item:hover, .fn-item.active { color: #3584e4; background: rgba(63,81,181,.06); }
.fn-icon { width: 28px; height: 24px; display: grid; place-items: center; }
.fn-icon .icon { width: 17px; height: 17px; }
.fn-label { font-size: 8px; font-weight: 700; }

.fn-icon-center {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #3584e4, #c2185b);
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin-top: -12px;
    box-shadow: 0 4px 12px rgba(194,24,91,.35);
    transition: transform .2s ease;
}

.fn-icon-center:hover { transform: scale(1.1); }
.fn-icon-center .icon { width: 17px; height: 17px; color: #fff; }

/* ═══ آیکون ═══ */
.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 20px; height: 20px; }
.icon-xl { width: 24px; height: 24px; }

/* ═══ خبر فوری ═══ */
.breaking-bar {
    background: linear-gradient(135deg, #880e4f, #c2185b);
    color: #fff;
    padding: 6px 0;
    position: relative;
    z-index: 200;
}

.breaking-inner { display: flex; align-items: center; gap: 12px; }
.breaking-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,0,0,.3);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.breaking-pulse {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: breakingPulse 1.2s infinite;
}

@keyframes breakingPulse {
    0%,100%{opacity:1; transform:scale(1)}
    50%{opacity:.4; transform:scale(1.4)}
}

.breaking-ticker { flex: 1; overflow: hidden; }
.ticker-track { display: flex; gap: 30px; white-space: nowrap; animation: tickerScroll 20s linear infinite; }
.ticker-item { color: #fff; font-size: 11px; font-weight: 600; }
.ticker-item:hover { text-decoration: underline; }

@keyframes tickerScroll {
    0%{transform:translateX(0)}
    100%{transform:translateX(50%)}
}

/* ═══ صفحات رسانه ═══ */
.media-page { padding: 24px 0; }
.media-header { text-align: center; margin-bottom: 16px; }
.media-header h1 {
    font-size: 22px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.media-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }
.media-tab {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: .2s;
}

.media-tab.active { background: #3584e4; color: #fff; border-color: #3584e4; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.video-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
    transition: .2s;
}

.video-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); transform: translateY(-2px); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: #1a1a1a; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-ph { width: 100%; height: 100%; display: grid; place-items: center; color: #9ca3af; background: #f5f6fa; }

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 40px;
    height: 40px;
    background: rgba(194,24,91,.9);
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.video-info { padding: 12px; }
.video-info h3 { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.meta { display: flex; gap: 10px; font-size: 10px; color: #9ca3af; }

.podcast-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.podcast-card {
    background: #fff;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.podcast-cover { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.podcast-cover img { width: 100%; height: 100%; object-fit: cover; }
.podcast-info h3 { font-size: 13px; font-weight: 700; }
.podcast-info span { font-size: 10px; color: #6b7280; }
.podcast-info audio { width: 100%; margin-top: 6px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    text-decoration: none;
}

.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.gallery-card:hover img { transform: scale(1.05); }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    color: #fff;
}

.gallery-overlay h3 { font-size: 13px; font-weight: 700; }
.gallery-overlay span { font-size: 10px; }

.empty { text-align: center; padding: 50px; color: #9ca3af; }
.empty .icon { display: block; margin: 0 auto 10px; }


.article-detail-page { padding: 24px 0; }
.article-box {
    max-width: 850px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05);
}

.article-rutitr {
    display: inline-block;
    color: #c2185b;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.article-title { font-size: 24px; font-weight: 900; line-height: 1.6; margin-bottom: 16px; }
.article-figure { margin-bottom: 16px; }
.article-figure img { width: 100%; border-radius: 12px; max-height: 450px; object-fit: cover; }

.article-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 14px;
    font-size: 11px;
    color: #6b7280;
}

.meta-item { display: flex; align-items: center; gap: 4px; }

.article-lead {
    font-size: 14px;
    color: #6b7280;
    padding: 14px 16px;
    background: #faf9f7;
    border-right: 4px solid #3584e4;
    border-radius: 8px;
    margin-bottom: 16px;
    line-height: 1.9;
}

.article-content { font-size: 16px; line-height: 2.4; color: #1a1a1a; }
.article-content p { margin-bottom: 14px; text-align: justify; }
.article-content h2 { font-size: 19px; margin: 20px 0 10px; }
.article-content h3 { font-size: 16px; margin: 16px 0 8px; }
.article-content blockquote {
    border-right: 4px solid #3584e4;
    background: #f5f6fa;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 8px;
}

.article-source {
    margin-top: 16px;
    padding: 10px 14px;
    background: #faf9f7;
    border-radius: 8px;
    font-size: 12px;
    color: #6b7280;
}

.article-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.tag-chip {
    font-size: 10px;
    background: #f5f6fa;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 999px;
    text-decoration: none;
    transition: .2s;
}

.tag-chip:hover { background: #e8eaf6; color: #3584e4; }

/* ═══ جزئیات گالری ═══ */
.gallery-page { padding: 24px 0; }
.gallery-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
}

.gallery-cover { width: 150px; height: 150px; border-radius: 50%; overflow: hidden; border: 3px solid #c2185b; flex-shrink: 0; }
.gallery-cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery-info h1 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.gallery-info p { font-size: 13px; color: #6b7280; }
.gallery-meta { display: flex; gap: 12px; font-size: 12px; color: #3584e4; font-weight: 600; margin-top: 8px; }

.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
    color: #fff;
    font-size: 11px;
    opacity: 0;
    transition: .2s;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox img { max-width: 90%; max-height: 80vh; border-radius: 8px; }
.lightbox-caption { color: #fff; margin-top: 10px; font-size: 13px; }
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
}

/* ═══ جزئیات نظرسنجی ═══ */
.poll-detail-page { padding: 24px 0; }
.poll-detail-header { text-align: center; margin-bottom: 20px; }

.poll-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.poll-status-badge.active { background: #e0f2f1; color: #26a69a; }
.poll-status-badge.inactive { background: #f5f6fa; color: #9ca3af; }

.poll-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.poll-stat-card { background: #fff; border-radius: 12px; padding: 16px; text-align: center; border: 1px solid #e5e7eb; }
.poll-stat-value { font-size: 22px; font-weight: 900; color: #3584e4; display: block; }
.poll-stat-label { font-size: 10px; color: #9ca3af; }

.poll-chart-section { background: #fff; border-radius: 12px; padding: 16px; margin-bottom: 14px; border: 1px solid #e5e7eb; }
.poll-chart-section h3 { font-size: 13px; font-weight: 800; margin-bottom: 12px; }

.poll-result-row { margin-bottom: 10px; }
.poll-result-label { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 4px; }
.poll-result-dot { width: 8px; height: 8px; border-radius: 50%; }
.poll-result-label strong { margin-right: auto; }
.poll-result-track { height: 8px; background: #f0efe9; border-radius: 4px; overflow: hidden; }
.poll-result-fill { height: 100%; border-radius: 4px; transition: width .5s; }
.poll-result-count { font-size: 10px; color: #9ca3af; }

.poll-vote-section, .poll-voted-message, .poll-inactive-message {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    border: 1px solid #e5e7eb;
}

.poll-vote-options { display: flex; flex-direction: column; gap: 8px; }
.poll-vote-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #faf9f7;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    transition: .2s;
}

.poll-vote-option:hover { border-color: #3584e4; }
.poll-vote-radio { width: 16px; height: 16px; border: 2px solid #d1d5db; border-radius: 50%; flex-shrink: 0; }
.poll-vote-option input:checked + .poll-vote-radio { border-color: #3584e4; background: #3584e4; box-shadow: inset 0 0 0 3px #fff; }

.btn-poll-vote {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: #3584e4;
    color: #fff;
    border: 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.btn-poll-vote:hover { background: #2a6bb8; }

/* ═══ اسکرول‌بار ═══ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f5f6fa; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #9ca3af; }

/* ═══ ریسپانسیو ═══ */

    body { padding-bottom: 65px; }
    .search-box { display: none; }
    .nav-toggle { display: grid; }
    .main-nav { display: none; }
    .main-nav.open { display: block; }
    
    .home-grid { grid-template-columns: 1fr; }
    .col-narrow { grid-column: span 1; }
    .slider-wrap { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .video-grid, .podcast-grid, .gallery-grid { grid-template-columns: 1fr; }
    .poll-stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .nav-inner { flex-direction: column; padding: 8px 0; }
    .nav-link { padding: 10px 14px; border-bottom: 1px solid #f0efe9; }
    
    .article-box { padding: 20px; }
    .article-title { font-size: 20px; }
}


    
    .search-logo {
        font-size: 18px;
    }
    
    .search-box-large {
        padding: 8px 12px;
    }
    
    .search-box-large input {
        font-size: 13px;
    }
    
    .search-btn {
        padding: 6px 14px;
        font-size: 11px;
    }
    
    .search-results-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filters {
        flex-direction: column;
    }
    
    .search-filters select {
        width: 100%;
    }
    
    .result-title {
        font-size: 14px;
    }
}
/* ═══ استایل‌های صفحه جستجوی گوگل ═══ */
.gsearch-page {
    min-height: 100vh;
    background: #fff;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.gsearch-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 20px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}

.gsearch-top {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.gsearch-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #3584e4;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.gsearch-logo svg {
    width: 24px;
    height: 24px;
}

.gsearch-form {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    transition: box-shadow 0.2s;
}

.gsearch-form:focus-within {
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    border-color: #d1d5db;
}

.gsearch-form input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 14px;
    font-family: inherit;
}

.gsearch-form button {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 4px;
    display: grid;
    place-items: center;
}

.gsearch-form button svg {
    width: 18px;
    height: 18px;
    color: #3584e4;
}

/* تب‌ها */
.gsearch-tabs {
    display: flex;
    gap: 2px;
    max-width: 900px;
    margin: 10px auto 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.gsearch-tabs::-webkit-scrollbar { display: none; }

.gsearch-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    text-decoration: none;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: 0.2s;
}

.gsearch-tab svg {
    width: 14px;
    height: 14px;
}

.gsearch-tab:hover {
    color: #3584e4;
}

.gsearch-tab.active {
    color: #3584e4;
    border-bottom-color: #3584e4;
}

/* بدنه */
.gsearch-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* حالت خالی */
.gsearch-hero {
    text-align: center;
    padding: 80px 0 40px;
}

.gsearch-hero svg {
    width: 64px;
    height: 64px;
    color: #d1d5db;
    margin-bottom: 16px;
}

.gsearch-hero h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.gsearch-hero p {
    font-size: 14px;
    color: #9ca3af;
}

.gsearch-trending {
    margin-top: 32px;
}

.gsearch-trending h3 {
    font-size: 14px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 12px;
}

.gsearch-trending-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gsearch-trending-list a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #faf9f7;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 12px;
    transition: 0.2s;
}

.gsearch-trending-list a:hover {
    background: #f5f6fa;
    border-color: #3584e4;
    color: #3584e4;
}

.gsearch-trending-list svg {
    width: 14px;
    height: 14px;
    color: #3584e4;
}

/* نتایج */
.gsearch-results-info {
    margin-bottom: 16px;
    font-size: 12px;
    color: #9ca3af;
}

.gsearch-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gsearch-result {
    padding: 4px 0;
}

.gsearch-result-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.gsearch-type-icon {
    width: 14px;
    height: 14px;
    color: #9ca3af;
}

.gsearch-type-label {
    font-size: 10px;
    color: #9ca3af;
    text-transform: uppercase;
}

.gsearch-result-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a0dab;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    line-height: 1.4;
}

.gsearch-result-title:hover {
    text-decoration: underline;
}

.gsearch-result-url {
    font-size: 12px;
    color: #006621;
    margin-bottom: 6px;
}

.gsearch-result-snippet {
    font-size: 13px;
    color: #4d5156;
    line-height: 1.8;
}

.gsearch-result-meta {
    display: flex;
    gap: 12px;
    margin-top: 6px;
    font-size: 11px;
    color: #9ca3af;
}

/* بدون نتیجه */
.gsearch-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.gsearch-no-results svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
}

.gsearch-no-results p {
    font-size: 16px;
    margin-bottom: 12px;
}

.gsearch-no-results ul {
    list-style: none;
    padding: 0;
    font-size: 12px;
}

.gsearch-no-results li {
    padding: 4px 0;
}

/* صفحه‌بندی */
.gsearch-pagination {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 32px;
}

.gsearch-pagination a {
    padding: 8px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: #3584e4;
    font-size: 13px;
    transition: 0.2s;
}

.gsearch-pagination a:hover {
    background: #f5f6fa;
}

.gsearch-pagination a.active {
    background: #3584e4;
    color: #fff;
    border-color: #3584e4;
}

/* ریسپانسیو */

    
    .gsearch-top {
        gap: 8px;
    }
    
    .gsearch-logo span {
        display: none;
    }
    
    .gsearch-logo svg {
        width: 20px;
        height: 20px;
    }
    
    .gsearch-form {
        padding: 6px 10px;
    }
    
    .gsearch-form input {
        font-size: 12px;
    }
    
    .gsearch-tab {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .gsearch-tab svg {
        width: 12px;
        height: 12px;
    }
    
    .gsearch-body {
        padding: 12px 8px;
    }
    
    .gsearch-hero {
        padding: 40px 0 20px;
    }
    
    .gsearch-hero svg {
        width: 48px;
        height: 48px;
    }
    
    .gsearch-hero h1 {
        font-size: 22px;
    }
    
    .gsearch-result-title {
        font-size: 15px;
    }
    
    .gsearch-result-snippet {
        font-size: 12px;
    }
}
/* ═══ استایل‌های صفحه جستجو - با رنگ‌های سایت ═══ */
.gsearch-page {
    min-height: 100vh;
    background: #fff;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    display: flex;
    flex-direction: column;
}

.gsearch-header {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 16px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.gsearch-top {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.gsearch-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #1a5fb4;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.gsearch-logo svg {
    width: 22px;
    height: 22px;
}

.gsearch-form {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.gsearch-form:focus-within {
    box-shadow: 0 2px 10px rgba(63,81,181,0.15);
    border-color: #3584e4;
}

.gsearch-form input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 13px;
    font-family: inherit;
    color: #1a1a1a;
}

.gsearch-form button {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 2px;
    display: grid;
    place-items: center;
}

.gsearch-form button svg {
    width: 16px;
    height: 16px;
    color: #3584e4;
}

/* تب‌ها */
.gsearch-tabs {
    display: flex;
    gap: 0;
    max-width: 800px;
    margin: 8px auto 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gsearch-tabs::-webkit-scrollbar { display: none; }

.gsearch-tab {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    text-decoration: none;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: 0.2s;
    flex-shrink: 0;
}

.gsearch-tab svg {
    width: 13px;
    height: 13px;
}

.gsearch-tab:hover {
    color: #3584e4;
}

.gsearch-tab.active {
    color: #1a5fb4;
    border-bottom-color: #3584e4;
    font-weight: 800;
}

/* بدنه */
.gsearch-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px;
    width: 100%;
    flex: 1;
}

/* حالت خالی */
.gsearch-hero {
    text-align: center;
    padding: 60px 0 30px;
}

.gsearch-hero svg {
    width: 56px;
    height: 56px;
    color: #d1d5db;
    margin-bottom: 12px;
}

.gsearch-hero h1 {
    font-size: 24px;
    font-weight: 800;
    color: #1a5fb4;
    margin-bottom: 6px;
}

.gsearch-hero p {
    font-size: 13px;
    color: #9ca3af;
}

.gsearch-trending {
    margin-top: 24px;
}

.gsearch-trending h3 {
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 10px;
}

.gsearch-trending-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.gsearch-trending-list a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: #faf9f7;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 11px;
    transition: 0.2s;
}

.gsearch-trending-list a:hover {
    background: #f5f6fa;
    border-color: #3584e4;
    color: #1a5fb4;
}

.gsearch-trending-list svg {
    width: 12px;
    height: 12px;
    color: #c2185b;
}

/* نتایج */
.gsearch-results-info {
    margin-bottom: 12px;
    font-size: 11px;
    color: #9ca3af;
}

.gsearch-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gsearch-result {
    padding: 2px 0;
}

.gsearch-result-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
}

.gsearch-type-icon {
    width: 13px;
    height: 13px;
    color: #9ca3af;
}

.gsearch-type-label {
    font-size: 9px;
    color: #9ca3af;
}

.gsearch-result-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a5fb4;
    text-decoration: none;
    display: block;
    margin-bottom: 3px;
    line-height: 1.5;
}

.gsearch-result-title:hover {
    color: #3584e4;
    text-decoration: underline;
}

.gsearch-result-url {
    font-size: 11px;
    color: #26a69a;
    margin-bottom: 4px;
}

.gsearch-result-snippet {
    font-size: 12px;
    color: #4d5156;
    line-height: 1.9;
}

.gsearch-result-meta {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    font-size: 10px;
    color: #9ca3af;
}

/* بدون نتیجه */
.gsearch-no-results {
    text-align: center;
    padding: 50px 16px;
    color: #9ca3af;
}

.gsearch-no-results svg {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
}

.gsearch-no-results p {
    font-size: 15px;
    margin-bottom: 10px;
    color: #6b7280;
}

.gsearch-no-results ul {
    list-style: none;
    padding: 0;
    font-size: 11px;
}

.gsearch-no-results li {
    padding: 3px 0;
}

/* صفحه‌بندی */
.gsearch-pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 24px;
}

.gsearch-pagination a {
    padding: 7px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: #3584e4;
    font-size: 12px;
    transition: 0.2s;
}

.gsearch-pagination a:hover {
    background: #f5f6fa;
}

.gsearch-pagination a.active {
    background: #1a5fb4;
    color: #fff;
    border-color: #1a5fb4;
}

/* موبایل */

    
    .gsearch-top {
        gap: 6px;
    }
    
    .gsearch-logo {
        font-size: 12px;
    }
    
    .gsearch-logo svg {
        width: 18px;
        height: 18px;
    }
    
    .gsearch-form {
        padding: 6px 10px;
    }
    
    .gsearch-form input {
        font-size: 12px;
    }
    
    .gsearch-tab {
        padding: 5px 8px;
        font-size: 10px;
    }
    
    .gsearch-body {
        padding: 10px 8px;
    }
    
    .gsearch-hero {
        padding: 40px 0 20px;
    }
    
    .gsearch-hero svg {
        width: 44px;
        height: 44px;
    }
    
    .gsearch-hero h1 {
        font-size: 20px;
    }
    
    .gsearch-result-title {
        font-size: 14px;
    }
    
    .gsearch-result-snippet {
        font-size: 11px;
    }
}
/* ═══ صفحه جستجوی کامل ═══ */
.gsearch-page {
    min-height: 100vh;
    background: #fff;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.gsearch-header {
    border-bottom: 1px solid #e5e7eb;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}

.gsearch-header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 16px;
}

.gsearch-home-link {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #6b7280;
    text-decoration: none;
    transition: 0.2s;
    flex-shrink: 0;
}

.gsearch-home-link:hover {
    background: #f5f6fa;
    color: #1a5fb4;
}

.gsearch-home-link svg {
    width: 18px;
    height: 18px;
}

.gsearch-logo {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #1a5fb4;
    font-weight: 800;
    font-size: 14px;
    flex-shrink: 0;
}

.gsearch-logo svg {
    width: 20px;
    height: 20px;
}

.gsearch-form {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    transition: 0.2s;
    max-width: 500px;
    margin: 0 auto;
}

.gsearch-form:focus-within {
    box-shadow: 0 2px 10px rgba(63,81,181,0.15);
    border-color: #3584e4;
}

.gsearch-form input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 13px;
    font-family: inherit;
}

.gsearch-form button {
    background: none;
    border: 0;
    cursor: pointer;
    padding: 2px;
}

.gsearch-form button svg {
    width: 15px;
    height: 15px;
    color: #3584e4;
}

/* ناوبری */
.gsearch-nav {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px 8px;
}

.gsearch-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    color: #9ca3af;
    margin-bottom: 6px;
}

.gsearch-breadcrumb a {
    color: #3584e4;
    text-decoration: none;
}

.gsearch-breadcrumb svg {
    width: 10px;
    height: 10px;
}

.gsearch-current-query {
    color: #1a5fb4;
    font-weight: 700;
}

/* تب‌ها */
.gsearch-tabs {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.gsearch-tabs::-webkit-scrollbar { display: none; }

.gsearch-tab {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    text-decoration: none;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.gsearch-tab svg {
    width: 13px;
    height: 13px;
}

.gsearch-tab.active {
    color: #1a5fb4;
    border-bottom-color: #3584e4;
    font-weight: 800;
}

/* بدنه */
.gsearch-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px;
}

/* حالت خالی */
.gsearch-hero {
    text-align: center;
    padding: 60px 0 30px;
}

.gsearch-hero svg {
    width: 56px;
    height: 56px;
    color: #d1d5db;
    margin-bottom: 12px;
}

.gsearch-hero h1 {
    font-size: 24px;
    font-weight: 800;
    color: #1a5fb4;
}

.gsearch-quick-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}

.gsearch-quick-links a {
    padding: 8px 16px;
    background: #faf9f7;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 11px;
}

/* چیدمان دو ستونه */
.gsearch-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
}

.gsearch-main {
    min-width: 0;
}

/* نتایج */
.gsearch-results-info {
    margin-bottom: 12px;
    font-size: 11px;
    color: #9ca3af;
}

.gsearch-results {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.gsearch-result-header {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 3px;
}

.gsearch-result-number {
    margin-right: auto;
    font-size: 9px;
    color: #d1d5db;
}

.gsearch-result-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a5fb4;
    text-decoration: none;
}

.gsearch-result-title:hover {
    text-decoration: underline;
}

.gsearch-result-url {
    font-size: 11px;
    color: #26a69a;
}

.gsearch-result-snippet {
    font-size: 12px;
    color: #4d5156;
    line-height: 1.9;
}

/* ستون AI */
.gsearch-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-overview {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px;
}

.ai-overview-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #1a5fb4;
    margin-bottom: 8px;
}

.ai-overview-header svg {
    width: 16px;
    height: 16px;
    color: #c2185b;
}

.ai-summary-text {
    font-size: 11px;
    line-height: 1.9;
    color: #4d5156;
}

.ai-key-points {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.ai-key-points strong {
    font-size: 10px;
    color: #1a5fb4;
}

.ai-key-points ul {
    list-style: none;
    padding: 0;
    margin-top: 4px;
}

.ai-key-points li {
    font-size: 10px;
    padding: 3px 0;
    color: #6b7280;
}

.ai-suggestions {
    list-style: none;
    padding: 0;
}

.ai-suggestions li {
    font-size: 10px;
    padding: 3px 0;
    color: #6b7280;
}

.ai-overview-footer {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #e5e7eb;
    font-size: 9px;
    color: #9ca3af;
}

.gsearch-sidebar-links {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
}

.gsearch-sidebar-links h4 {
    font-size: 11px;
    font-weight: 800;
    color: #1a5fb4;
    margin-bottom: 8px;
}

.gsearch-sidebar-links a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    text-decoration: none;
    color: #6b7280;
    font-size: 11px;
}

.gsearch-sidebar-links svg {
    width: 13px;
    height: 13px;
    color: #3584e4;
}

/* صفحه‌بندی */
.gsearch-pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 20px;
}

.gsearch-pagination a {
    padding: 6px 10px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-decoration: none;
    color: #3584e4;
    font-size: 11px;
}

.gsearch-pagination a.active {
    background: #1a5fb4;
    color: #fff;
}

/* موبایل */

    
    .gsearch-logo span {
        display: none;
    }
    
    .gsearch-layout {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .gsearch-sidebar {
        order: -1;
    }
    
    .ai-overview {
        padding: 10px;
    }
    
    .gsearch-body {
        padding: 10px 8px;
    }
    
    .gsearch-result-title {
        font-size: 14px;
    }
}
/* ═══ صفحه جزئیات مقاله ═══ */
.article-detail-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 16px;
}

.article-hero {
    margin-bottom: 20px;
}

.article-hero-content {
    max-width: 800px;
}

.article-rutitr {
    display: inline-block;
    color: #c2185b;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.article-lead {
    font-size: 15px;
    color: #6b7280;
    line-height: 2;
    padding: 14px 16px;
    background: #faf9f7;
    border-right: 4px solid #1a5fb4;
    border-radius: 8px;
    margin-bottom: 14px;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9ca3af;
}

.meta-item svg {
    width: 13px;
    height: 13px;
}

.meta-category {
    padding: 4px 12px;
    background: #e8f0fe;
    color: #1a5fb4;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.article-featured-image {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

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

.article-body-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
}

.article-content {
    font-size: 16px;
    line-height: 2.4;
    color: #1a1a1a;
}

.article-content p {
    margin-bottom: 14px;
    text-align: justify;
}

.article-content h2 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: #1a5fb4;
}

.article-content h3 {
    font-size: 17px;
    margin: 16px 0 8px;
}

.article-content blockquote {
    border-right: 4px solid #c2185b;
    background: #fce4ec;
    padding: 12px 16px;
    margin: 12px 0;
    border-radius: 8px;
}

.article-source {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px 14px;
    background: #faf9f7;
    border-radius: 8px;
    font-size: 12px;
    color: #6b7280;
}

.article-source svg {
    width: 14px;
    height: 14px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag-chip {
    padding: 4px 12px;
    background: #f5f6fa;
    color: #6b7280;
    border-radius: 999px;
    font-size: 10px;
    text-decoration: none;
    transition: 0.2s;
}

.tag-chip:hover {
    background: #e8f0fe;
    color: #1a5fb4;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.article-share span {
    font-size: 11px;
    color: #9ca3af;
}

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: 0.2s;
}

.share-btn svg {
    width: 14px;
    height: 14px;
    color: #6b7280;
}

.share-btn:hover {
    background: #e8f0fe;
    border-color: #1a5fb4;
}

/* سایدبار */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
}

.sidebar-card h4 {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a5fb4;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    font-size: 12px;
}

.author-info span {
    font-size: 10px;
    color: #9ca3af;
}

.related-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-item {
    padding: 8px 10px;
    background: #faf9f7;
    border-radius: 6px;
    font-size: 11px;
    color: #1a1a1a;
    text-decoration: none;
    transition: 0.2s;
}

.related-item:hover {
    background: #e8f0fe;
    color: #1a5fb4;
}

/* موبایل */

    
    .article-title {
        font-size: 20px;
    }
    
    .article-lead {
        font-size: 13px;
    }
    
    .article-body-layout {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        font-size: 14px;
    }
    
    .article-sidebar {
        order: -1;
    }
}
/* ═══ صفحه جزئیات مقاله - نسخه ۲ ═══ */
.article-detail-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 16px;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.article-detail-page .article-hero {
    margin-bottom: 20px;
}

.article-detail-page .article-hero-content {
    max-width: 800px;
}

.article-detail-page .article-rutitr {
    display: inline-block;
    color: #c2185b;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.article-detail-page .article-title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.article-detail-page .article-lead {
    font-size: 15px;
    color: #6b7280;
    line-height: 2;
    padding: 14px 16px;
    background: #faf9f7;
    border-right: 4px solid #1a5fb4;
    border-radius: 8px;
    margin-bottom: 14px;
}

.article-detail-page .article-meta-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.article-detail-page .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9ca3af;
}

.article-detail-page .meta-item svg {
    width: 13px;
    height: 13px;
}

.article-detail-page .meta-category {
    padding: 4px 12px;
    background: #e8f0fe;
    color: #1a5fb4;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.article-detail-page .article-featured-image {
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.article-detail-page .article-featured-image img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.article-detail-page .article-body-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 20px;
}

.article-detail-page .article-content {
    font-size: 16px;
    line-height: 2.4;
    color: #1a1a1a;
}

.article-detail-page .article-content p {
    margin-bottom: 14px;
    text-align: justify;
}

.article-detail-page .article-content h2 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: #1a5fb4;
}

.article-detail-page .article-source {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 10px 14px;
    background: #faf9f7;
    border-radius: 8px;
    font-size: 12px;
    color: #6b7280;
}

.article-detail-page .article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.article-detail-page .tag-chip {
    padding: 4px 12px;
    background: #f5f6fa;
    color: #6b7280;
    border-radius: 999px;
    font-size: 10px;
    text-decoration: none;
}

.article-detail-page .article-share {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}

.article-detail-page .share-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
}

.article-detail-page .article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article-detail-page .sidebar-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
}

.article-detail-page .sidebar-card h4 {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1a5fb4;
}

.article-detail-page .author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-detail-page .author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 800;
}

.article-detail-page .related-item {
    padding: 8px 10px;
    background: #faf9f7;
    border-radius: 6px;
    font-size: 11px;
    color: #1a1a1a;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}


    
    .article-detail-page .article-title {
        font-size: 20px;
    }
    
    .article-detail-page .article-body-layout {
        grid-template-columns: 1fr;
    }
    
    .article-detail-page .article-sidebar {
        order: -1;
    }
}
/* ══════════════════════════════════════════════════════════════
   صفحه اصلی
   ══════════════════════════════════════════════════════════════ */
.home-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px;
}

.hero-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
}

.hero-slide {
    position: relative;
    min-height: 400px;
}

.hero-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.hero-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 24px;
    color: #fff;
}

.hero-category {
    display: inline-block;
    background: #c2185b;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-content h1 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

.hero-content h1 a {
    color: #fff;
    text-decoration: none;
}

.hero-content p {
    font-size: 13px;
    opacity: 0.85;
}

.home-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-card {
    display: flex;
    gap: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    transition: 0.2s;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.news-card-image {
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-content h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.news-card-content h3 a {
    color: #1a1a1a;
    text-decoration: none;
}

.news-card-content h3 a:hover {
    color: #1a5fb4;
}

.news-card-meta {
    display: flex;
    gap: 10px;
    font-size: 10px;
    color: #9ca3af;
}

.home-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
}

.sidebar-widget h3 {
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.poll-link {
    display: inline-block;
    margin-top: 8px;
    color: #1a5fb4;
    font-size: 12px;
    font-weight: 700;
}

.event-item {
    display: flex;
    gap: 8px;
    padding: 6px 0;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 11px;
}

.event-date {
    color: #c2185b;
    font-weight: 700;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════════
   صفحه جزئیات مقاله
   ══════════════════════════════════════════════════════════════ */
.article-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 16px;
    background: #fff;
}

.article-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.article-header {
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.article-rutitr {
    display: inline-block;
    color: #c2185b;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 6px;
}

.article-title {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.article-lead {
    font-size: 14px;
    color: #6b7280;
    line-height: 2;
    padding: 12px 14px;
    background: #faf9f7;
    border-right: 4px solid #1a5fb4;
    border-radius: 6px;
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #9ca3af;
}

.meta-author, .meta-date, .meta-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-image {
    border-radius: 12px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.article-content {
    font-size: 15px;
    line-height: 2.4;
    color: #1a1a1a;
}

.article-content p {
    margin-bottom: 12px;
    text-align: justify;
}

.article-source {
    padding: 10px 14px;
    background: #faf9f7;
    border-radius: 6px;
    font-size: 12px;
    color: #6b7280;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-link {
    padding: 4px 12px;
    background: #f5f6fa;
    color: #6b7280;
    border-radius: 999px;
    font-size: 10px;
    text-decoration: none;
}

/* موبایل */

    
    .hero-slide {
        min-height: 250px;
    }
    
    .hero-slide img {
        height: 250px;
    }
    
    .hero-content h1 {
        font-size: 18px;
    }
    
    .news-card {
        flex-direction: column;
    }
    
    .news-card-image {
        width: 100%;
        height: 150px;
    }
    
    .article-page {
        padding: 12px 8px;
    }
    
    .article-title {
        font-size: 20px;
    }
    
    .article-content {
        font-size: 14px;
    }
}
/* ═══ استایل‌های پایه (تضمینی) ═══ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    background: #f8f9fa;
    color: #1a1a1a;
    line-height: 1.8;
    font-size: 14px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* هدر سایت */
.site-header {
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a5fb4, #26a69a);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 18px;
}

/* ناوبری */
.main-nav {
    border-top: 1px solid #e5e7eb;
    background: #fff;
}

.nav-inner {
    display: flex;
    gap: 2px;
    overflow-x: auto;
}

.nav-link {
    padding: 9px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active { color: #1a5fb4; }

/* فوتر */
.site-footer {
    background: linear-gradient(180deg, #1a5fb4, #0d3b7a);
    color: #c5cae9;
    margin-top: 30px;
    padding: 30px 0 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    padding-top: 14px;
    font-size: 10px;
}
/* ═══ استایل‌های گمشده ═══ */
.home-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.breaking-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
}

.title-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 800;
}

.breaking-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
}

.breaking-item {
    padding: 8px 10px;
    background: #fce4ec;
    border-right: 3px solid #c2185b;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
}

.latest-section {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
}

.empty-state {
    text-align: center;
    padding: 30px;
    color: #9ca3af;
    font-size: 12px;
}

.poll-widget {
    border-top: 3px solid #1a5fb4;
}

.poll-question {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
    line-height: 1.8;
}

.event-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.event-title {
    flex: 1;
    font-size: 11px;
    line-height: 1.6;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #faf9f7;
    border-radius: 6px;
    text-decoration: none;
    color: #1a1a1a;
    transition: 0.2s;
}

.event-item:hover {
    background: #e8f0fe;
}

.event-date {
    color: #c2185b;
    font-weight: 700;
    font-size: 10px;
    flex-shrink: 0;
}

/* استایل‌های مقاله */
.article-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ریسپانسیو */

    
    .breaking-section,
    .latest-section {
        padding: 10px;
    }
    
    .breaking-item {
        font-size: 11px;
    }
    
    .event-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
}
/* ══════════════════════════════════════════════════════════════
   صفحه اصلی خبری - نسخه کامل
   ══════════════════════════════════════════════════════════════ */


/* ردیف ۱ */
.row-top {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.main-slider {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 400px;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.slide.active {
    opacity: 1;
}

.slide-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.slide-content {
    position: absolute;
    bottom: 20px;
    right: 20px;
    left: 20px;
    color: #fff;
}

.slide-rutitr {
    display: inline-block;
    background: #c2185b;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.slide-content h2 {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 10px;
}

.slide-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}

.action-btn:hover {
    background: rgba(255,255,255,0.25);
}

.action-btn svg {
    width: 13px;
    height: 13px;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 0;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.slider-prev { right: 10px; }
.slider-next { left: 10px; }

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* خط زمانی زنده */
.live-timeline {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 12px;
    color: #fff;
    overflow-y: auto;
    max-height: 400px;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

.live-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d32f2f;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-item {
    padding: 6px 0;
    border-right: 2px solid #d32f2f;
    padding-right: 8px;
}

.timeline-time {
    font-size: 9px;
    color: #9ca3af;
}

.timeline-item p {
    font-size: 10px;
    line-height: 1.6;
}

/* بخش‌ها */
.section-heading {
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #1a5fb4;
}

.section-heading svg {
    width: 20px;
    height: 20px;
}

/* کارت‌های خبری */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.news-card-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s;
}

.news-card-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-content {
    padding: 12px;
}

.card-rutitr {
    color: #c2185b;
    font-size: 10px;
    font-weight: 700;
}

.card-content h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 4px 0 8px;
    line-height: 1.6;
}

.card-actions {
    display: flex;
    gap: 6px;
    align-items: center;
}

.read-more {
    margin-right: auto;
    color: #1a5fb4;
    font-size: 11px;
    font-weight: 700;
}

/* دسته‌بندی‌ها */
.category-hero-section {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

.category-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 200px;
}

.category-hero img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.category-hero-content {
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: #fff;
}

.cat-badge {
    background: #c2185b;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
}

.category-latest {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    flex: 1;
}

.category-three-news {
    margin: 20px 0;
}

.cat-title {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
}

.three-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.mini-news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.mini-news-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.mini-news-card h4 {
    padding: 8px;
    font-size: 11px;
    font-weight: 600;
}

/* تلویزیون */
.tv-section {
    margin: 20px 0;
}

.tv-layout {
    display: flex;
    gap: 12px;
}

.tv-main-player {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.tv-main-player video {
    width: 100%;
    max-height: 400px;
}

.tv-main-player.mini-player {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 300px;
    z-index: 999;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.tv-playlist {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tv-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.tv-item:hover {
    background: #e8f0fe;
}

.tv-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.tv-item span {
    font-size: 10px;
    font-weight: 600;
}

/* رادیو */
.radio-section {
    margin: 20px 0;
}

.radio-player {
    display: flex;
    gap: 12px;
    background: #1a1a1a;
    border-radius: 12px;
    padding: 16px;
}

.radio-now-playing {
    flex: 1;
    color: #fff;
    text-align: center;
}

.equalizer {
    display: flex;
    gap: 3px;
    justify-content: center;
    margin-bottom: 10px;
}

.equalizer span {
    width: 4px;
    height: 20px;
    background: #26a69a;
    animation: equalize 1s infinite;
}

.equalizer span:nth-child(2) { animation-delay: 0.2s; }
.equalizer span:nth-child(3) { animation-delay: 0.4s; }
.equalizer span:nth-child(4) { animation-delay: 0.6s; }
.equalizer span:nth-child(5) { animation-delay: 0.8s; }

@keyframes equalize {
    0%, 100% { height: 10px; }
    50% { height: 30px; }
}

.radio-playlist {
    width: 250px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    color: #c5cae9;
    cursor: pointer;
    font-size: 10px;
}

.radio-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #26a69a;
}

/* گالری */
.gallery-section {
    margin: 20px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
}

/* موبایل */

    
    .main-slider, .live-timeline {
        width: 100% !important;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .slide-image img {
        height: 250px;
    }
    
    .news-cards-grid,
    .three-news-grid {
        grid-template-columns: 1fr;
    }
    
    .category-hero-section {
        flex-direction: column;
    }
    
    .category-hero {
        width: 100% !important;
    }
    
    .tv-layout {
        flex-direction: column;
    }
    
    .tv-playlist {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }
    
    .radio-player {
        flex-direction: column;
    }
    
    .radio-playlist {
        width: 100%;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* حالت خالی بخش‌ها */
.category-hero-section,
.category-three-news,
.tv-section,
.radio-section,
.gallery-section {
    margin: 20px 0;
}

.category-hero,
.tv-main-player,
.radio-player,
.gallery-grid {
    background: #faf9f7;
}

.tv-main-player:empty::after {
    content: 'ویدیویی موجود نیست';
    display: grid;
    place-items: center;
    min-height: 200px;
    color: #9ca3af;
    font-size: 12px;
}
/* ══════════════════════════════════════════════════════════════
   استایل MSN/Google - کارت‌های خبری
   ══════════════════════════════════════════════════════════════ */

/* رنگ‌های اصلی */
:root {
    --primary: #1a5fb4;      /* آبی گوگل */
    --primary-light: #3584e4;
    --accent: #c2185b;       /* یاقوتی */
    --success: #26a69a;      /* فیروزه‌ای */
    --bg: #f8f9fa;
    --card: #ffffff;
    --border: #e5e7eb;
    --text: #1a1a1a;
    --text-secondary: #6b7280;
}

/* بدنه */


/* کارت‌های خبری */
.news-card-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
}

.news-card-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-content h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--text);
}

.card-content h3 a {
    color: inherit;
    text-decoration: none;
}

.card-content h3 a:hover {
    color: var(--primary);
}

/* دکمه‌های اقدام (like, dislike, comment, share) */
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-secondary);
    font-size: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #e8f0fe;
    border-color: var(--primary-light);
    color: var(--primary);
}

.action-btn svg {
    width: 14px;
    height: 14px;
}

/* لایک */
.like-btn:hover {
    background: #e0f2f1;
    border-color: var(--success);
    color: var(--success);
}

/* دیس‌لایک */
.dislike-btn:hover {
    background: #fce4ec;
    border-color: var(--accent);
    color: var(--accent);
}

/* نظر */
.comment-btn:hover {
    background: #fff3e0;
    border-color: #f57c00;
    color: #f57c00;
}

/* بخش آخرین اخبار */
.latest-news-section {
    margin: 24px 0;
}

.latest-news-section .section-heading {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}

.latest-news-section .section-heading svg {
    width: 22px;
    height: 22px;
}

/* اسلایدر - شبیه MSN */
.main-slider {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.slider-container {
    height: 420px;
}

.slide-content {
    padding: 24px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
}

.slide-rutitr {
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.slide-content h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 8px 0;
}

/* خط زمانی زنده */
.live-timeline {
    background: #1e1e1e;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: 700;
}

.timeline-item {
    padding: 8px 0;
    border-right: 2px solid #d32f2f;
    padding-right: 10px;
}

/* دسته‌بندی‌ها */
.category-hero {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.category-hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.category-hero-content h2 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.category-latest {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
}

.category-three-news {
    margin: 24px 0;
}

.mini-news-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: 0.2s;
}

.mini-news-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.mini-news-card h4 {
    font-size: 12px;
    font-weight: 600;
    padding: 8px;
}

/* تلویزیون */
.tv-section {
    margin: 24px 0;
}

.tv-layout {
    display: flex;
    gap: 12px;
}

.tv-main-player {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.tv-playlist {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tv-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
}

.tv-item:hover {
    background: #e8f0fe;
}

/* رادیو */
.radio-player {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
}

.equalizer span {
    background: var(--success);
}

/* گالری */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 8px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ریسپانسیو */

    .main-slider, .live-timeline {
        width: 100% !important;
    }
    .news-cards-grid {
        grid-template-columns: 1fr;
    }
    .category-hero-section {
        flex-direction: column;
    }
    .category-hero {
        width: 100% !important;
    }
    .tv-layout {
        flex-direction: column;
    }
    .tv-playlist {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
    }
    .radio-player {
        flex-direction: column;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ═══ ویجت آب‌وهوا ═══ */
.weather-widget {
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    border-radius: 16px;
    padding: 20px;
    color: #fff;
    text-align: center;
}

.weather-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.weather-city {
    font-size: 14px;
    font-weight: 700;
}

.weather-header svg {
    width: 20px;
    height: 20px;
    color: #ffd54f;
}

.weather-main {
    margin-bottom: 10px;
}

.weather-temp {
    font-size: 42px;
    font-weight: 900;
}

.weather-condition {
    font-size: 13px;
    opacity: 0.9;
}

.weather-details {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 11px;
}

/* ═══ ویجت اوقات شرعی ═══ */
.prayer-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
}

.prayer-header {
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 10px;
    color: #1a5fb4;
}

.prayer-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f0efe9;
    font-size: 12px;
}

.prayer-item:last-child {
    border-bottom: 0;
}

.prayer-item strong {
    color: #c2185b;
}

/* ═══ ویجت تقویم ═══ */
.calendar-widget {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.calendar-header {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 8px;
    color: #1a5fb4;
}

.calendar-today {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 8px;
}

.calendar-day-name {
    font-size: 12px;
    color: #6b7280;
}

.calendar-day-num {
    font-size: 40px;
    font-weight: 900;
    color: #1a5fb4;
}

.calendar-week {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #9ca3af;
}

/* ═══ ابر کارت سرویس ═══ */
.service-hero {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.service-hero-header {
    background: linear-gradient(135deg, #1a5fb4, #3584e4);
    padding: 16px;
    color: #fff;
}

.service-badge {
    background: #c2185b;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
}

.service-latest-news {
    padding: 12px;
}

.service-news-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0efe9;
}

.service-news-item:last-child {
    border-bottom: 0;
}

.service-news-item img {
    width: 60px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.service-news-item h3 {
    font-size: 12px;
    font-weight: 600;
}

/* رفع تصاویر شکسته */
.card-image img,
.news-card-item img,
.slide img,
.mini-news-card img,
.tv-item img,
.gallery-item img {
    background: #f0efe9;
    min-height: 40px;
}

.card-image img::before {
    content: 'تصویر';
    display: grid;
    place-items: center;
    color: #9ca3af;
}
/* گرید ۵×۹ */


/* کارت خبر حرفه‌ای */

/* ══════════════════════════════════════════════════════════════
   گرید صفحه اصلی ۵×۹
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════
   کارت خبر حرفه‌ای
   ══════════════════════════════════════════════════════════════ */
.news-card-pro {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    grid-column: span 2;
    grid-row: span 2;
    transition: box-shadow 0.3s, transform 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.news-card-pro:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.ncp-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    background: #f0efe9;
}

.ncp-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.news-card-pro:hover .ncp-image img {
    transform: scale(1.06);
}

.ncp-content {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ncp-category {
    display: inline-block;
    background: #e8f0fe;
    color: #1a5fb4;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    align-self: flex-start;
}

.ncp-rutitr {
    color: #c2185b;
    font-size: 11px;
    font-weight: 700;
}

.ncp-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.7;
    margin: 0;
}

.ncp-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.ncp-title a:hover {
    color: #1a5fb4;
}

.ncp-excerpt {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.9;
    margin: 0;
    flex: 1;
}

.ncp-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
    border-top: 1px solid #f0efe9;
}

.ncp-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #9ca3af;
}

.ncp-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.ncp-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 14px;
    transition: all 0.2s;
}

.ncp-save:hover {
    background: #e0f2f1;
    border-color: #26a69a;
}

.ncp-share:hover {
    background: #e8f0fe;
    border-color: #1a5fb4;
}

/* حالت خالی */
.empty-state {
    grid-column: span 5;
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
    font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════
   ریسپانسیو
   ══════════════════════════════════════════════════════════════ */

    .ncp-content {
        padding: 10px 12px;
    }
    .ncp-title {
        font-size: 13px;
    }
}
/* ══════════════════════════════════════════════════════════════
   گرید ۵×۹ صفحه اصلی
   ══════════════════════════════════════════════════════════════ */

    
}


/* ══════════════════════════════════════════════════════════════
   گرید ۵×۹
   ══════════════════════════════════════════════════════════════ */




/* اسلایدر ۵×۳ */

/* ═══ کارت خبر حرفه‌ای ═══ */






















/* ══════════════════════════════════════════════════════════════
   گرید صفحه اصلی ۵×۹
   ══════════════════════════════════════════════════════════════ */
.news-home {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-auto-rows: minmax(60px, auto);
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px;
    background: #f8f9fa;
}

.template-block {
    position: relative;
    min-height: 60px;
    overflow: hidden;
}

/* اندازه‌های گرید */
.template-block[data-col="1"] { grid-column: span 1; }
.template-block[data-col="2"] { grid-column: span 2; }
.template-block[data-col="3"] { grid-column: span 3; }
.template-block[data-col="4"] { grid-column: span 4; }
.template-block[data-col="5"] { grid-column: span 5; }
.template-block[data-row="1"] { grid-row: span 1; }
.template-block[data-row="2"] { grid-row: span 2; }
.template-block[data-row="3"] { grid-row: span 3; }
.template-block[data-row="4"] { grid-row: span 4; }
.template-block[data-row="5"] { grid-row: span 5; }
.template-block[data-row="6"] { grid-row: span 6; }
.template-block[data-row="7"] { grid-row: span 7; }
.template-block[data-row="8"] { grid-row: span 8; }
.template-block[data-row="9"] { grid-row: span 9; }

/* ══════════════════════════════════════════════════════════════
   اسلایدر
   ══════════════════════════════════════════════════════════════ */
.mabsut-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.mabsut-slides {
    position: relative;
    height: 100%;
}

.mabsut-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s;
}

.mabsut-slide.active { opacity: 1; }

.mabsut-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mabsut-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.15));
}

.mabsut-slide-content {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 18px;
    color: #fff;
}

.mabsut-rutitr {
    display: inline-block;
    background: #c2185b;
    color: #fff;
    padding: 3px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 6px;
}

.mabsut-slide-content h2 {
    font-size: 18px;
    font-weight: 900;
    margin: 0 0 8px;
}

.mabsut-actions { display: flex; gap: 6px; }

.mabsut-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 5px 12px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    color: #fff;
    font-size: 10px;
    cursor: pointer;
}

.mabsut-btn svg { width: 12px; height: 12px; }

.mabsut-prev, .mabsut-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 0;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    z-index: 10;
}

.mabsut-prev { right: 8px; }
.mabsut-next { left: 8px; }

.mabsut-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 10;
}

.mabsut-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}

.mabsut-dot.active { background: #fff; }

/* ══════════════════════════════════════════════════════════════
   کارت خبر
   ══════════════════════════════════════════════════════════════ */
.mabsut-news-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}

.mabsut-news-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.mabsut-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: #f0efe9;
}

.mabsut-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.4s;
}

.mabsut-news-card:hover .mabsut-card-media img {
    transform: scale(1.05);
}

.mabsut-media-category {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.mabsut-media-actions-bottom {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 4px;
    z-index: 5;
}

.mabsut-media-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    color: #fff;
    padding: 3px 8px;
    font-size: 9px;
    cursor: pointer;
}

.mabsut-media-btn svg { width: 11px; height: 11px; }

.mabsut-card-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.mabsut-card-rutitr { color: #c2185b; font-size: 10px; font-weight: 700; }

.mabsut-card-title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0;
}

.mabsut-card-title a { color: #1a1a1a; text-decoration: none; }
.mabsut-card-title a:hover { color: #1a5fb4; }

.mabsut-card-excerpt {
    font-size: 11px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

.mabsut-card-footer {
    display: flex;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px solid #f0efe9;
    font-size: 9px;
    color: #9ca3af;
    flex-wrap: wrap;
}

.mabsut-date, .mabsut-author, .mabsut-views {
    display: flex;
    align-items: center;
    gap: 3px;
}

.mabsut-date svg, .mabsut-author svg, .mabsut-views svg {
    width: 10px;
    height: 10px;
}

/* ══════════════════════════════════════════════════════════════
   موبایل
   ══════════════════════════════════════════════════════════════ */

    .template-block[data-col="5"] { grid-column: span 2; }
    .template-block[data-col="4"] { grid-column: span 2; }
    .template-block[data-col="3"] { grid-column: span 2; }
    .template-block[data-col="2"] { grid-column: span 2; }
    .mabsut-slider { min-height: 180px; }
    .mabsut-slide-content h2 { font-size: 14px; }
}
/* ══════════════════════════════════════════════════════════════
   کارت مقاله تصویری ۱×۱ - طراحی خاص
   ══════════════════════════════════════════════════════════════ */
.aic-card {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.aic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.aic-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aic-card:hover .aic-image {
    transform: scale(1.08);
}

.aic-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 40px;
    background: #f0efe9;
    color: #d1d5db;
}

.aic-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.85) 0%,
        rgba(0,0,0,0.4) 40%,
        rgba(0,0,0,0.1) 70%,
        transparent 100%
    );
    pointer-events: none;
}

/* دسته‌بندی - بالا راست */
.aic-category {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s;
    z-index: 5;
}

.aic-category:hover {
    background: #c2185b;
    transform: scale(1.05);
}

/* تیتر - پایین */
.aic-title-wrap {
    position: absolute;
    bottom: 42px;
    right: 12px;
    left: 12px;
    z-index: 3;
}

.aic-title {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aic-title a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    transition: color 0.2s;
}

.aic-title a:hover {
    color: #ffd54f;
}

/* اکشن‌ها - پایین چپ */
.aic-actions {
    position: absolute;
    bottom: 8px;
    left: 10px;
    display: flex;
    gap: 4px;
    align-items: center;
    z-index: 5;
}

.aic-btn {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    color: #fff;
    font-size: 9px;
    cursor: pointer;
    transition: all 0.25s;
}

.aic-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.08);
}

.aic-btn svg {
    width: 12px;
    height: 12px;
}

.aic-btn span {
    font-size: 9px;
}

.aic-like:hover {
    background: #26a69a;
    border-color: #26a69a;
}

.aic-dislike:hover {
    background: #c2185b;
    border-color: #c2185b;
}

.aic-views {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    color: #fff;
    font-size: 9px;
}

.aic-views svg {
    width: 12px;
    height: 12px;
}

/* موبایل */

    .aic-category {
        font-size: 8px;
        padding: 3px 8px;
    }
}
/* ══════════════════════════════════════════════════════════════
   موزیک پلیر پادکست حرفه‌ای
   ══════════════════════════════════════════════════════════════ */












/* حاله کهکشانی */







@keyframes ppcSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* دایره پیشرفت */










/* مشخصات */




/* کنترل‌ها */







/* فوتر */





/* موبایل */

    
    
    
}
/* ستون‌های ۶ تا ۹ */
.template-block[data-col="6"] { grid-column: span 6; }
.template-block[data-col="7"] { grid-column: span 7; }
.template-block[data-col="8"] { grid-column: span 8; }
.template-block[data-col="9"] { grid-column: span 9; }

/* ردیف‌های ۴ تا ۱۸ */
.template-block[data-row="4"] { grid-row: span 4; }
.template-block[data-row="5"] { grid-row: span 5; }
.template-block[data-row="6"] { grid-row: span 6; }
.template-block[data-row="7"] { grid-row: span 7; }
.template-block[data-row="8"] { grid-row: span 8; }
.template-block[data-row="9"] { grid-row: span 9; }
.template-block[data-row="10"] { grid-row: span 10; }
.template-block[data-row="11"] { grid-row: span 11; }
.template-block[data-row="12"] { grid-row: span 12; }
.template-block[data-row="13"] { grid-row: span 13; }
.template-block[data-row="14"] { grid-row: span 14; }
.template-block[data-row="15"] { grid-row: span 15; }
.template-block[data-row="16"] { grid-row: span 16; }
.template-block[data-row="17"] { grid-row: span 17; }
.template-block[data-row="18"] { grid-row: span 18; }

/* موقعیت ستون‌های ۶ تا ۹ */
.template-block[data-col-start="6"] { grid-column-start: 6; }
.template-block[data-col-start="7"] { grid-column-start: 7; }
.template-block[data-col-start="8"] { grid-column-start: 8; }
.template-block[data-col-start="9"] { grid-column-start: 9; }

/* موقعیت ردیف‌های ۱۰ تا ۱۸ */
.template-block[data-row-start="10"] { grid-row-start: 10; }
.template-block[data-row-start="11"] { grid-row-start: 11; }
.template-block[data-row-start="12"] { grid-row-start: 12; }
.template-block[data-row-start="13"] { grid-row-start: 13; }
.template-block[data-row-start="14"] { grid-row-start: 14; }
.template-block[data-row-start="15"] { grid-row-start: 15; }
.template-block[data-row-start="16"] { grid-row-start: 16; }
.template-block[data-row-start="17"] { grid-row-start: 17; }
.template-block[data-row-start="18"] { grid-row-start: 18; }
/* ══════════════════════════════════════════════════════════════
   ریسپانسیو کامل گرید ۹×۱۸
   ══════════════════════════════════════════════════════════════ */

/* دسکتاپ بزرگ (۱۴۰۰px+) */

    .template-block[data-col="5"],
    .template-block[data-col="6"],
    .template-block[data-col="7"],
    .template-block[data-col="8"],
    .template-block[data-col="9"] { grid-column: span 4 !important; }
    
    /* فونت‌های خوانا */
    .mabsut-slide-content h2 { font-size: 15px; }
    .mabsut-card-title { font-size: 11px; }
    .mabsut-card-excerpt { font-size: 10px; }
}

/* موبایل بزرگ (۴۸۰px تا ۷۶۷px) */
@media (max-width: 767px) and (min-width: 480px) {
    .news-home {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px;
        padding: 8px;
    }
    .template-block[data-col="3"],
    .template-block[data-col="4"],
    .template-block[data-col="5"],
    .template-block[data-col="6"],
    .template-block[data-col="7"],
    .template-block[data-col="8"],
    .template-block[data-col="9"] { grid-column: span 2 !important; }
    
    /* فونت‌های بزرگ‌تر برای خوانایی */
    .mabsut-slide-content h2 { font-size: 14px; }
    .mabsut-card-title { font-size: 12px; }
    .mabsut-card-excerpt { font-size: 10px; }
    .mabsut-card-footer { font-size: 8px; }
    
    /* کاهش ارتفاع اسلایدر */
    .mabsut-slider { min-height: 180px; }
}

/* موبایل کوچک (کمتر از ۴۸۰px) */
@media (max-width: 479px) {
    .news-home {
        grid-template-columns: 1fr !important;
        gap: 6px;
        padding: 6px;
    }
    .template-block[data-col="2"],
    .template-block[data-col="3"],
    .template-block[data-col="4"],
    .template-block[data-col="5"],
    .template-block[data-col="6"],
    .template-block[data-col="7"],
    .template-block[data-col="8"],
    .template-block[data-col="9"] { grid-column: span 1 !important; }
    
    /* فونت‌های خوانا */
    .mabsut-slide-content h2 { font-size: 13px; }
    .mabsut-card-title { font-size: 12px; }
    .mabsut-card-excerpt { font-size: 10px; }
    .mabsut-card-footer { font-size: 8px; }
    
    /* کاهش ارتفاع اسلایدر */
    .mabsut-slider { min-height: 150px; }
    .mabsut-slide-content { padding: 12px; }
    
    /* دکمه‌های کوچک‌تر */
    .mabsut-btn { padding: 3px 8px; font-size: 8px; }
    .mabsut-btn svg { width: 10px; height: 10px; }
    
    /* کارت خبر */
    .mabsut-card-body { padding: 8px; }
    .mabsut-card-title { font-size: 11px; line-height: 1.5; }
    
    /* کنترل‌های اسلایدر */
    .mabsut-prev, .mabsut-next { width: 28px; height: 28px; font-size: 12px; }
    .mabsut-dots { bottom: 4px; }
    .mabsut-dot { width: 5px; height: 5px; }
}

/* لنداسکیپ موبایل */
@media (max-width: 767px) and (orientation: landscape) {
    .news-home {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .template-block[data-col="4"],
    .template-block[data-col="5"],
    .template-block[data-col="6"],
    .template-block[data-col="7"],
    .template-block[data-col="8"],
    .template-block[data-col="9"] { grid-column: span 3 !important; }
}
/* ══════════════════════════════════════════════════════════════
   ریسپانسیو کامل گرید ۹×۱۸
   ══════════════════════════════════════════════════════════════ */

/* دسکتاپ بزرگ (۱۴۰۰px+) */
@media (min-width: 1400px) {
    .news-home {
        grid-template-columns: repeat(9, 1fr) !important;
        gap: 12px;
        max-width: 1600px;
    }
}

/* دسکتاپ معمولی (۱۰۲۴px تا ۱۳۹۹px) */
@media (max-width: 1399px) and (min-width: 1024px) {
    .news-home {
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 10px;
    }
    /* کارت‌های بزرگ به ۶ ستون محدود */
    .template-block[data-col="7"],
    .template-block[data-col="8"],
    .template-block[data-col="9"] { grid-column: span 6 !important; }
}

/* تبلت (۷۶۸px تا ۱۰۲۳px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .news-home {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px;
    }
    .template-block[data-col="5"],
    .template-block[data-col="6"],
    .template-block[data-col="7"],
    .template-block[data-col="8"],
    .template-block[data-col="9"] { grid-column: span 4 !important; }
    
    /* فونت‌های خوانا */
    .mabsut-slide-content h2 { font-size: 15px; }
    .mabsut-card-title { font-size: 11px; }
    .mabsut-card-excerpt { font-size: 10px; }
}

/* موبایل بزرگ (۴۸۰px تا ۷۶۷px) */
@media (max-width: 767px) and (min-width: 480px) {
    .news-home {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px;
        padding: 8px;
    }
    .template-block[data-col="3"],
    .template-block[data-col="4"],
    .template-block[data-col="5"],
    .template-block[data-col="6"],
    .template-block[data-col="7"],
    .template-block[data-col="8"],
    .template-block[data-col="9"] { grid-column: span 2 !important; }
    
    /* فونت‌های بزرگ‌تر برای خوانایی */
    .mabsut-slide-content h2 { font-size: 14px; }
    .mabsut-card-title { font-size: 12px; }
    .mabsut-card-excerpt { font-size: 10px; }
    .mabsut-card-footer { font-size: 8px; }
    
    /* کاهش ارتفاع اسلایدر */
    .mabsut-slider { min-height: 180px; }
}

/* موبایل کوچک (کمتر از ۴۸۰px) */
@media (max-width: 479px) {
    .news-home {
        grid-template-columns: 1fr !important;
        gap: 6px;
        padding: 6px;
    }
    .template-block[data-col="2"],
    .template-block[data-col="3"],
    .template-block[data-col="4"],
    .template-block[data-col="5"],
    .template-block[data-col="6"],
    .template-block[data-col="7"],
    .template-block[data-col="8"],
    .template-block[data-col="9"] { grid-column: span 1 !important; }
    
    /* فونت‌های خوانا */
    .mabsut-slide-content h2 { font-size: 13px; }
    .mabsut-card-title { font-size: 12px; }
    .mabsut-card-excerpt { font-size: 10px; }
    .mabsut-card-footer { font-size: 8px; }
    
    /* کاهش ارتفاع اسلایدر */
    .mabsut-slider { min-height: 150px; }
    .mabsut-slide-content { padding: 12px; }
    
    /* دکمه‌های کوچک‌تر */
    .mabsut-btn { padding: 3px 8px; font-size: 8px; }
    .mabsut-btn svg { width: 10px; height: 10px; }
    
    /* کارت خبر */
    .mabsut-card-body { padding: 8px; }
    .mabsut-card-title { font-size: 11px; line-height: 1.5; }
    
    /* کنترل‌های اسلایدر */
    .mabsut-prev, .mabsut-next { width: 28px; height: 28px; font-size: 12px; }
    .mabsut-dots { bottom: 4px; }
    .mabsut-dot { width: 5px; height: 5px; }
}

/* لنداسکیپ موبایل */
@media (max-width: 767px) and (orientation: landscape) {
    .news-home {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .template-block[data-col="4"],
    .template-block[data-col="5"],
    .template-block[data-col="6"],
    .template-block[data-col="7"],
    .template-block[data-col="8"],
    .template-block[data-col="9"] { grid-column: span 3 !important; }
}
/* ══════════════════════════════════════════════════════════════
   موزیک پلیر پادکست - رنگ‌های سایت
   ══════════════════════════════════════════════════════════════ */
.ppc-player {
    background: linear-gradient(160deg, #1a5fb4 0%, #0d3b7a 50%, #0a2540 100%);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    color: #fff;
    box-shadow: 0 8px 32px rgba(26,95,180,0.3);
    position: relative;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

/* هدر */
.ppc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.ppc-title {
    flex: 1;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}
.ppc-header-badge {
    background: #c2185b;
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
}

/* بدنه */
.ppc-body {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 14px;
    position: relative;
}

/* حاله کهکشانی */
.ppc-galaxy {
    position: relative;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
}
.ppc-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(255,255,255,0.2);
    animation: ppcSpin 12s linear infinite;
}
.ppc-orbit-1 {
    width: 140px; height: 140px;
    border-color: rgba(194,24,91,0.4);
    animation-duration: 10s;
}
.ppc-orbit-2 {
    width: 120px; height: 120px;
    border-color: rgba(38,166,154,0.35);
    animation-duration: 14s;
    animation-direction: reverse;
}
.ppc-orbit-3 {
    width: 100px; height: 100px;
    border-color: rgba(255,255,255,0.25);
    animation-duration: 18s;
}

@keyframes ppcSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* دایره پیشرفت */
.ppc-circle {
    position: relative;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 2;
}
.ppc-progress {
    position: absolute;
    inset: 0;
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}
.ppc-progress-bg {
    fill: none;
    stroke: rgba(255,255,255,0.15);
    stroke-width: 3.5;
}
.ppc-progress-fill {
    fill: none;
    stroke: #26a69a;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 326.73;
    stroke-dashoffset: 326.73;
    transition: stroke-dashoffset 0.3s;
    filter: drop-shadow(0 0 6px rgba(38,166,154,0.6));
}

/* تصویر دایره‌ای */
.ppc-circle-content {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.1);
    border: 2.5px solid #c2185b;
    box-shadow: 0 0 0 4px rgba(194,24,91,0.3), 0 4px 16px rgba(0,0,0,0.3);
}
.ppc-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ppc-cover-placeholder {
    font-size: 28px;
    color: #fff;
}

/* مشخصات */
.ppc-info {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 6px 10px;
    font-size: 10px;
    color: rgba(255,255,255,0.8);
}
.ppc-info span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* کنترل‌ها */
.ppc-controls {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
}
.ppc-ctrl-btn {
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #fff;
    transition: all 0.25s;
}
.ppc-ctrl-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.12);
    border-color: #26a69a;
}
.ppc-ctrl-btn svg {
    width: 15px;
    height: 15px;
}
.ppc-play-btn {
    background: #c2185b;
    border-color: #c2185b;
    width: 42px;
    height: 42px;
    box-shadow: 0 0 16px rgba(194,24,91,0.5);
}
.ppc-play-btn:hover {
    background: #d81b60;
    border-color: #d81b60;
    box-shadow: 0 0 20px rgba(194,24,91,0.7);
}

/* فوتر */
.ppc-footer {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.2);
}
.ppc-footer-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    font-size: 9px;
    font-family: inherit;
    padding: 4px 10px;
    transition: all 0.2s;
}
.ppc-footer-btn:hover {
    background: #26a69a;
    border-color: #26a69a;
    color: #fff;
}
.ppc-footer-btn svg {
    width: 11px;
    height: 11px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .ppc-galaxy { width: 110px; height: 110px; }
    .ppc-orbit-1 { width: 100px; height: 100px; }
    .ppc-orbit-2 { width: 85px; height: 85px; }
    .ppc-orbit-3 { width: 70px; height: 70px; }
    .ppc-circle { width: 66px; height: 66px; }
    .ppc-circle-content { width: 50px; height: 50px; }
    .ppc-ctrl-btn { width: 30px; height: 30px; }
    .ppc-play-btn { width: 34px; height: 34px; }
    .ppc-ctrl-btn svg { width: 12px; height: 12px; }
}