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

:root {
    --red: #C0392B;
    --red-dark: #922B21;
    --red-light: #F5B7B1;
    --black: #111111;
    --dark: #1a1a1a;
    --gray-900: #222;
    --gray-700: #444;
    --gray-500: #777;
    --gray-300: #bbb;
    --gray-100: #f0f0f0;
    --gray-50: #f8f8f8;
    --white: #fff;
    --gold: #c9a84c;
    --font: 'Vazirmatn', Tahoma, Arial, sans-serif
}

body {
    font-family: var(--font);
    background: var(--gray-50);
    color: var(--gray-900);
    font-size: 15px;
    line-height: 1.7
}

a {
    text-decoration: none;
    color: inherit
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover
}

.topbar {
    background: var(--black);
    color: var(--gray-300);
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #333
}

.topbar-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.topbar a {
    color: var(--gray-300)
}

.topbar a:hover {
    color: var(--red-light)
}

.topbar-links {
    display: flex;
    gap: 20px
}

.topbar-social {
    display: flex;
    gap: 12px
}

.topbar-social a {
    width: 26px;
    height: 26px;
    background: #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: background .2s
}

.topbar-social a:hover {
    background: var(--red)
}

header {
    background: var(--dark);
    padding: 18px 0 0;
    border-bottom: 3px solid var(--red)
}

.header-top {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.logo-main {
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -1px;
    line-height: 1
}

.logo-main span {
    color: var(--red)
}

.logo-sub {
    font-size: 11px;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 3px
}

.logo-film-strip {
    display: flex;
    gap: 3px;
    margin-top: 5px
}

.logo-film-strip span {
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 1px
}

.logo-film-strip span:nth-child(even) {
    background: #555
}

.header-search {
    flex: 1;
    max-width: 380px;
    position: relative
}

.header-search input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 6px;
    color: var(--white);
    font-family: var(--font);
    font-size: 14px;
    direction: rtl
}

.header-search input::placeholder {
    color: #666
}

.header-search input:focus {
    outline: none;
    border-color: var(--red)
}

.header-search .search-btn {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    font-size: 16px
}

.header-date {
    color: #999;
    font-size: 12px;
    text-align: left;
    white-space: nowrap
}

.header-date strong {
    display: block;
    color: var(--white);
    font-size: 14px
}

nav {
    background: var(--black)
}

.nav-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto
}

.nav-inner::-webkit-scrollbar {
    height: 0
}

nav a {
    color: var(--gray-300);
    font-size: 13.5px;
    font-weight: 500;
    padding: 14px 16px;
    display: block;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s
}

nav a:hover,
nav a.active {
    color: var(--white);
    border-bottom-color: var(--red)
}

nav a.active {
    background: #181818
}

.ticker {
    background: var(--red);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap
}

.ticker-inner {
    max-width: 1200px;
    margin: auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 0
}

.ticker-label {
    background: var(--white);
    color: var(--red);
    font-weight: 700;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 3px;
    margin-left: 16px;
    flex-shrink: 0
}

.ticker-track {
    overflow: hidden;
    flex: 1
}

.ticker-items {
    display: inline-flex;
    gap: 40px;
    animation: ticker-scroll 40s linear infinite
}

.ticker-items span::before {
    content: '◈ ';
    opacity: .7
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

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

.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    padding: 24px 0
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gray-100)
}

.section-title h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900)
}

.section-title .bar {
    width: 4px;
    height: 20px;
    background: var(--red);
    border-radius: 2px
}

.section-title .more-link {
    margin-right: auto;
    font-size: 12px;
    color: var(--red);
    font-weight: 500
}

.section-title .more-link:hover {
    text-decoration: underline
}

.page-title-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #0d2137 100%);
    border-radius: 8px;
    padding: 28px 24px;
    margin: 20px 0 24px;
    border: 1px solid #2a2a2a;
    position: relative;
    overflow: hidden
}

.page-title-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 10%, rgba(192, 57, 43, .25), transparent 60%)
}

.page-title-hero h1 {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    position: relative;
    z-index: 1
}

.page-title-hero p {
    color: #aaa;
    font-size: 13px;
    margin-top: 8px;
    max-width: 640px;
    position: relative;
    z-index: 1
}

.breadcrumb {
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 18px
}

.breadcrumb a {
    color: var(--red)
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 200px;
    gap: 8px;
    margin-bottom: 24px
}

.feat-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer
}

.feat-card:first-child {
    grid-row: 1/3
}

.feat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .2) 50%, transparent 100%);
    z-index: 1
}

.feat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease
}

.feat-card:hover img {
    transform: scale(1.04)
}

.feat-info {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 16px;
    z-index: 2;
    color: var(--white)
}

.feat-cat {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 6px
}

.feat-cat.gold {
    background: var(--gold)
}

.feat-card:first-child .feat-title {
    font-size: 20px;
    line-height: 1.4
}

.feat-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 6px
}

.feat-meta {
    font-size: 11px;
    opacity: .75;
    display: flex;
    gap: 10px
}

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

.news-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer;
    transition: background .15s
}

.news-item:hover {
    background: #fafafa
}

.news-item:last-child {
    border-bottom: none
}

.news-thumb {
    width: 100px;
    height: 68px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--gray-100)
}

.news-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 4px
}

.news-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--gray-900);
    margin-bottom: 5px
}

.news-item:hover .news-title {
    color: var(--red)
}

.news-time {
    font-size: 11px;
    color: var(--gray-500)
}

.news-source-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 11px;
    color: var(--red);
    font-weight: 600
}

.news-source-link:hover {
    text-decoration: underline
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px
}

.video-card {
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--gray-100);
    cursor: pointer
}

.video-thumb {
    height: 120px;
    position: relative;
    background: var(--gray-100);
    overflow: hidden
}

.play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .35);
    z-index: 2
}

.play-btn::after {
    content: '';
    width: 38px;
    height: 38px;
    background: rgba(192, 57, 43, .9);
    border-radius: 50%;
    display: block
}

.play-btn::before {
    content: '▶';
    position: absolute;
    color: white;
    font-size: 14px;
    margin-right: -3px;
    z-index: 3
}

.video-info {
    padding: 10px 12px 12px
}

.video-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--gray-900)
}

.video-meta {
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 4px
}

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

.widget {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden
}

.widget-head {
    background: var(--dark);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--red)
}

.widget-body {
    padding: 14px
}

.hot-item {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    cursor: pointer
}

.hot-item:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.hot-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--gray-100);
    min-width: 28px;
    line-height: 1;
    padding-top: 2px
}

.hot-item:nth-child(1) .hot-num {
    color: var(--red)
}

.hot-item:nth-child(2) .hot-num {
    color: var(--gold)
}

.hot-item:nth-child(3) .hot-num {
    color: var(--gray-500)
}

.hot-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--gray-900)
}

.hot-item:hover .hot-title {
    color: var(--red)
}

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

.tag {
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    color: var(--gray-700);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all .2s
}

.tag:hover {
    background: var(--red);
    color: var(--white);
    border-color: var(--red)
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.newsletter-form p {
    font-size: 12.5px;
    color: var(--gray-500);
    line-height: 1.6
}

.newsletter-form input {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--gray-100);
    border-radius: 5px;
    font-family: var(--font);
    font-size: 13px;
    direction: rtl;
    color: var(--gray-900)
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--red)
}

.newsletter-form button {
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s
}

.newsletter-form button:hover {
    background: var(--red-dark)
}

.ad-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #aaa;
    font-size: 12px;
    border: 1px dashed #444;
    gap: 8px
}

.ad-box strong {
    color: #ddd;
    font-size: 14px
}

.cat-bar {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    margin-bottom: 24px;
    overflow: hidden
}

.cat-bar-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr)
}

.cat-btn {
    padding: 14px 10px;
    text-align: center;
    cursor: pointer;
    border-left: 1px solid var(--gray-100);
    transition: background .2s
}

.cat-btn:last-child {
    border-left: none
}

.cat-btn:hover {
    background: #fff5f5
}

.cat-btn i {
    font-size: 26px;
    display: block;
    margin-bottom: 5px;
    color: var(--red)
}

.cat-btn span {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-700)
}

.special-news-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #0d2137 100%);
    border: 2px solid var(--gold);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 24px
}

.special-news-box .snb-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold);
    color: #111;
    font-size: 11px;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
    letter-spacing: .5px
}

.special-news-box .snb-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 8px
}

.special-news-box .snb-desc {
    font-size: 13px;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 10px
}

.special-news-box .snb-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px
}

.snb-badge {
    background: rgba(201, 168, 76, .15);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600
}

/* --- باکس ویژه‌ی مهم‌ترین خبر (برجسته‌تر از بقیه) --- */
.special-news-box.snb-top {
    position: relative;
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, #2b2108 0%, #1a1a2e 55%, #0d2137 100%);
    box-shadow: 0 0 0 4px rgba(201, 168, 76, .12), 0 14px 34px rgba(201, 168, 76, .22);
    padding-top: 22px;
    margin-bottom: 28px;
    overflow: visible
}

.special-news-box.snb-top::before {
    content: '⭐ مهم‌ترین خبر امروز';
    position: absolute;
    top: -14px;
    right: 20px;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: .3px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .35)
}

.special-news-box.snb-top .snb-label {
    background: var(--red);
    color: #fff
}

.special-news-box.snb-top .snb-title {
    font-size: 21px
}

.special-news-box.snb-top .snb-badges .snb-badge:first-child {
    background: rgba(201, 168, 76, .25);
    font-weight: 800
}

footer {
    background: var(--black);
    color: var(--gray-300);
    margin-top: 40px
}

.footer-top {
    max-width: 1200px;
    margin: auto;
    padding: 40px 16px 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    border-bottom: 1px solid #2a2a2a
}

.footer-about .logo-main {
    font-size: 24px;
    margin-bottom: 12px
}

.footer-about p {
    font-size: 13px;
    line-height: 1.8;
    color: #888
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2a2a2a
}

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

.footer-col li {
    margin-bottom: 8px
}

.footer-col a {
    font-size: 13px;
    color: #888
}

.footer-col a:hover {
    color: var(--red-light)
}

.footer-bottom {
    max-width: 1200px;
    margin: auto;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #666
}

.img-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
    font-weight: 700;
    letter-spacing: 1px
}

.news-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px
}

.news-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer
}

.news-card:hover .nc-title {
    color: var(--red)
}

.nc-thumb {
    height: 110px;
    overflow: hidden;
    background: var(--gray-100)
}

.nc-thumb img,
.post-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.nc-body {
    padding: 10px 12px 12px
}

.nc-cat {
    font-size: 10px;
    font-weight: 700;
    color: var(--red);
    margin-bottom: 4px
}

.nc-title {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--gray-900);
    margin-bottom: 4px
}

.nc-time {
    font-size: 11px;
    color: var(--gray-500)
}

/* ===== Pagination ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 28px 0 8px;
    flex-wrap: wrap
}

.pagination button {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--gray-100);
    background: var(--white);
    color: var(--gray-700);
    border-radius: 6px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s
}

.pagination button:hover:not(:disabled) {
    border-color: var(--red);
    color: var(--red)
}

.pagination button.active {
    background: var(--red);
    color: var(--white);
    border-color: var(--red)
}

.pagination button:disabled {
    opacity: .35;
    cursor: not-allowed
}

.results-count {
    text-align: center;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 10px
}

/* ===== Blog ===== */
.blog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
    flex-wrap: wrap
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: var(--white);
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s
}

.btn-primary:hover {
    background: var(--red-dark)
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    color: var(--gray-700);
    border: 1px solid var(--gray-100);
    padding: 9px 16px;
    border-radius: 6px;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.btn-outline:hover {
    border-color: var(--red);
    color: var(--red)
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative
}

.blog-card .nc-thumb {
    height: 140px
}

.blog-card .bc-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1
}

.blog-card .bc-title {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.6;
    color: var(--gray-900)
}

.blog-card:hover .bc-title {
    color: var(--red)
}

.blog-card .bc-summary {
    font-size: 12.5px;
    color: var(--gray-500);
    line-height: 1.7;
    flex: 1
}

.blog-card .bc-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: var(--gray-500);
    margin-top: 6px;
    border-top: 1px solid var(--gray-100);
    padding-top: 8px
}

.blog-card .bc-delete {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 13px;
    z-index: 3
}

.blog-card .bc-delete:hover {
    background: var(--red)
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500)
}

.empty-state i {
    font-size: 40px;
    color: var(--gray-300);
    display: block;
    margin-bottom: 12px
}

/* Admin form */
.admin-form {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 8px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 760px
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-900)
}

.form-group .hint {
    font-size: 11px;
    color: var(--gray-500);
    font-weight: 400
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--gray-100);
    border-radius: 6px;
    font-family: var(--font);
    font-size: 13.5px;
    direction: rtl;
    color: var(--gray-900);
    background: var(--gray-50)
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
    line-height: 1.8
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white)
}

.color-swatches {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.color-swatches span {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent
}

.color-swatches span.active {
    border-color: var(--gray-900)
}

.form-actions {
    display: flex;
    gap: 10px;
    padding-top: 6px;
    border-top: 1px solid var(--gray-100)
}

.save-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--dark);
    color: var(--white);
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: all .3s;
    z-index: 999;
    border: 1px solid #333
}

.save-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0)
}

.save-toast i {
    color: #2ecc71
}

/* Single post */
.post-hero {
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative
}

.post-hero .img-ph {
    font-size: 15px
}

.post-header h1 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.6;
    margin-bottom: 10px;
    color: var(--gray-900)
}

.post-meta-row {
    display: flex;
    gap: 14px;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 20px;
    flex-wrap: wrap
}

.post-meta-row span {
    display: flex;
    align-items: center;
    gap: 4px
}

.post-body {
    font-size: 15px;
    line-height: 2;
    color: var(--gray-900);
    white-space: pre-line
}

.post-body p {
    margin-bottom: 16px
}

@media(max-width:900px) {
    .main-layout {
        grid-template-columns: 1fr
    }

    .featured-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto
    }

    .feat-card:first-child {
        grid-row: auto
    }

    .cat-bar-inner {
        grid-template-columns: repeat(3, 1fr)
    }

    .footer-top {
        grid-template-columns: 1fr 1fr
    }

    .video-grid,
    .news-grid-3,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {
    .header-top {
        flex-wrap: wrap
    }

    .header-search {
        max-width: 100%;
        order: 3;
        width: 100%
    }

    .topbar-links {
        display: none
    }

    .cat-bar-inner {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .video-grid,
    .news-grid-3,
    .blog-grid {
        grid-template-columns: 1fr
    }
}

/* برای متن‌های مخصوص سئو/دسترسی‌پذیری که نباید در ظاهر سایت دیده شوند */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
