/* YJC.ir Clone - Persian News Theme v2 */
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Vazirmatn,Tahoma,Verdana,sans-serif;background:#f0f1f3;color:#222;font-size:14px;line-height:1.9}
a{text-decoration:none;color:inherit}
a:hover{color:#c00}
img{max-width:100%;height:auto}
ul{list-style:none}

/* Top Bar */
.top-bar{background:#1a237e;color:#fff;font-size:11px;padding:3px 0;direction:rtl}
.top-bar .container{max-width:1250px;margin:0 auto;padding:0 15px;display:flex;justify-content:space-between;align-items:center}
.top-bar .date{color:#9fa8da}
.top-bar .top-links a{color:#c5cae9;margin:0 8px;font-size:11px}
.top-bar .top-links a:hover{color:#fff}

/* Header */
.header{background:#fff;border-bottom:3px solid #1a237e;direction:rtl;position:sticky;top:0;z-index:1000;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:all .3s}
.header .container{max-width:1250px;margin:0 auto;padding:0 15px;display:flex;align-items:center;height:60px;gap:15px}
.header.shrink .container{height:48px}
.header.shrink .logo h1{font-size:16px}
.header.shrink .main-nav>ul>li>a{padding:6px 10px;font-size:12px}
.logo{display:flex;align-items:center;gap:8px;flex-shrink:0}
.logo img{height:40px}
.logo h1{font-size:17px;color:#1a237e;font-weight:900;white-space:nowrap;transition:font-size .3s}
.logo span{font-size:9px;color:#888;display:block;margin-top:-4px;direction:rtl}

/* Main Navigation */
.main-nav{flex:1;direction:rtl}
.main-nav ul{display:flex;gap:0}
.main-nav>ul>li{position:relative}
.main-nav>ul>li>a{display:block;padding:8px 12px;color:#333;font-size:12px;font-weight:700;transition:.2s;border-bottom:3px solid transparent}
.main-nav>ul>li:hover>a{color:#c00;border-bottom-color:#c00}
.main-nav .mega-menu{display:none;position:absolute;top:100%;right:0;background:#fff;border:1px solid #ddd;border-top:3px solid #c00;padding:8px 0;z-index:999;min-width:160px;box-shadow:0 4px 15px rgba(0,0,0,.15);border-radius:0 0 4px 4px}
.main-nav>ul>li:hover .mega-menu{display:block}
.main-nav .mega-menu a{display:block;padding:6px 15px;color:#555;font-size:12px;white-space:nowrap;transition:.15s}
.main-nav .mega-menu a:hover{background:#f5f5f5;color:#c00}

/* Header Search */
.header-actions{display:flex;align-items:center;gap:8px;flex-shrink:0}
.header-actions a{padding:5px 10px;background:#1a237e;color:#fff;border-radius:3px;font-size:11px;white-space:nowrap;font-weight:500}
.header-actions a:hover{background:#283593;color:#fff}
.search-box{display:flex;align-items:center;background:#f0f1f3;border-radius:4px;overflow:hidden;transition:.2s;border:1px solid transparent}
.search-box:focus-within{background:#fff;border-color:#1a237e}
.search-box input{border:none;background:none;padding:5px 10px;font-size:11px;font-family:Vazirmatn,Tahoma;outline:none;width:140px;direction:rtl}
.search-box button{background:none;border:none;padding:5px 8px;cursor:pointer;color:#888;font-size:14px;transition:.15s}
.search-box button:hover{color:#1a237e}

/* Breaking News Ticker */
.breaking-ticker{background:#fff;border-bottom:1px solid #e0e0e0;direction:rtl;padding:0}
.breaking-ticker .container{max-width:1250px;margin:0 auto;padding:0 15px;display:flex;align-items:center;height:34px;overflow:hidden}
.breaking-ticker .label{background:#c00;color:#fff;padding:3px 10px;font-size:10px;font-weight:700;border-radius:0 3px 3px 0;flex-shrink:0;margin-left:10px}
.breaking-ticker .ticker-wrap{overflow:hidden;flex:1;height:34px;line-height:34px}
.breaking-ticker .ticker-wrap ul{animation:tickerScroll 30s linear infinite;white-space:nowrap;display:flex}
.breaking-ticker .ticker-wrap ul li{display:inline-block;margin-left:40px;font-size:12px;color:#333}
.breaking-ticker .ticker-wrap ul li a:hover{color:#c00}
.breaking-ticker .ticker-wrap ul li .time{color:#999;font-size:10px;margin-right:5px}
@keyframes tickerScroll{0%{transform:translateX(100%)}100%{transform:translateX(-100%)}}

/* Container Layout */
.page-wrap{max-width:1250px;margin:20px auto;padding:0 15px;display:grid;grid-template-columns:1fr 300px;gap:20px;direction:rtl}
.page-wrap.full{grid-template-columns:1fr}
.main-content{min-width:0}
.sidebar{min-width:0}

/* Slider / Hero Area */
.hero-section{margin-bottom:20px;display:grid;grid-template-columns:2fr 1fr;gap:10px}
.hero-slider{position:relative;overflow:hidden;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.hero-slider .slides{position:relative;min-height:350px}
.hero-slider .slide{display:none;position:absolute;top:0;left:0;width:100%;height:100%}
.hero-slider .slide.active{display:block}
.hero-slider .slide img{width:100%;height:350px;object-fit:cover;display:block}
.hero-slider .slide .caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.85));padding:50px 20px 20px;color:#fff}
.hero-slider .slide .caption h2{font-size:18px;margin-bottom:5px;line-height:1.5}
.hero-slider .slide .caption .cat{display:inline-block;background:#c00;padding:2px 10px;border-radius:3px;font-size:11px;margin-bottom:8px}
.hero-slider .slide .caption .lead{font-size:12px;opacity:.85;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.hero-slider .controls{position:absolute;bottom:15px;left:15px;display:flex;gap:5px;z-index:10}
.hero-slider .controls button{background:rgba(255,255,255,.3);border:none;color:#fff;width:32px;height:32px;border-radius:50%;cursor:pointer;font-size:14px;transition:.2s}
.hero-slider .controls button:hover{background:rgba(255,255,255,.5)}
.hero-slider .dots{position:absolute;bottom:15px;right:15px;display:flex;gap:6px;z-index:10}
.hero-slider .dots span{width:10px;height:10px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:.2s}
.hero-slider .dots span.active{background:#fff;width:25px;border-radius:5px}

/* Hero Side */
.hero-side{display:flex;flex-direction:column;gap:10px}
.hero-side .side-item{position:relative;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08);flex:1;transition:transform .2s}
.hero-side .side-item:hover{transform:translateY(-2px)}
.hero-side .side-item img{width:100%;height:170px;object-fit:cover;display:block}
.hero-side .side-item .cap{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,rgba(0,0,0,.85));padding:30px 12px 12px;color:#fff}
.hero-side .side-item .cap h3{font-size:13px;line-height:1.5}
.hero-side .side-item .cap .cat{font-size:10px;color:#ff5252;font-weight:bold}

/* Section Heading */
.section-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid #1a237e;direction:rtl}
.section-head h2{font-size:15px;color:#1a237e;font-weight:700}
.section-head h2 a{color:#1a237e}
.section-head .more{font-size:11px;color:#888;transition:.15s}
.section-head .more:hover{color:#c00}

/* News Grid */
.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-bottom:30px}
.news-grid .featured{grid-column:1/-1}
.news-grid .featured .card{display:grid;grid-template-columns:2fr 1fr;gap:15px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:.25s}
.news-grid .featured .card:hover{box-shadow:0 6px 20px rgba(0,0,0,.12);transform:translateY(-2px)}
.news-grid .featured .card img{width:100%;height:100%;object-fit:cover;display:block}
.news-grid .featured .card .info{padding:18px;display:flex;flex-direction:column;justify-content:center}
.news-grid .featured .card .info .cat{color:#c00;font-size:11px;font-weight:700;margin-bottom:5px}
.news-grid .featured .card .info h3{font-size:18px;margin-bottom:8px;line-height:1.6}
.news-grid .featured .card .info p{color:#666;font-size:13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.news-grid .card-s{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:.25s}
.news-grid .card-s:hover{box-shadow:0 6px 20px rgba(0,0,0,.12);transform:translateY(-3px)}
.news-grid .card-s img{width:100%;height:170px;object-fit:cover;display:block}
.news-grid .card-s .info{padding:12px}
.news-grid .card-s .info .cat{color:#c00;font-size:10px;font-weight:700}
.news-grid .card-s .info h3{font-size:13px;line-height:1.6;margin-top:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.news-grid .card-s .info .meta{font-size:11px;color:#999;margin-top:6px}

/* Category Section */
.cat-section{margin-bottom:25px;background:#fff;border-radius:8px;padding:18px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.cat-section .cat-articles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cat-section .cat-articles .cat-main{grid-column:1/-1;display:grid;grid-template-columns:2fr 1fr;gap:12px;padding-bottom:12px;border-bottom:1px solid #eee;margin-bottom:12px}
.cat-section .cat-articles .cat-main img{width:100%;height:100%;object-fit:cover;border-radius:6px;display:block}
.cat-section .cat-articles .cat-main h3{font-size:15px;margin-top:5px;line-height:1.5}
.cat-section .cat-articles .cat-main .lead{color:#666;font-size:12px;margin-top:5px}
.cat-section .cat-item{display:flex;gap:10px;padding:8px 0;border-bottom:1px dotted #eee;transition:.15s}
.cat-section .cat-item:last-child{border:none}
.cat-section .cat-item:hover{background:#fafafa;padding-right:5px}
.cat-section .cat-item img{width:100px;height:70px;object-fit:cover;border-radius:6px;flex-shrink:0}
.cat-section .cat-item h4{font-size:12px;line-height:1.6;flex:1}
.cat-section .cat-item .date{font-size:10px;color:#999}

/* Sidebar */
.sidebar .widget{background:#fff;border-radius:8px;padding:18px;margin-bottom:15px;box-shadow:0 2px 8px rgba(0,0,0,.08)}
.sidebar .widget h3{font-size:14px;color:#1a237e;padding-bottom:8px;border-bottom:2px solid #1a237e;margin-bottom:10px}
.sidebar .widget .item{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #f0f0f0;align-items:flex-start;transition:.15s}
.sidebar .widget .item:last-child{border:none}
.sidebar .widget .item:hover{background:#fafafa;padding-right:5px;border-radius:3px}
.sidebar .widget .item .num{background:#1a237e;color:#fff;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}
.sidebar .widget .item .text{flex:1}
.sidebar .widget .item .text h4{font-size:12px;line-height:1.5}
.sidebar .widget .item .text .meta{font-size:10px;color:#999;margin-top:3px}
.sidebar .widget .item img{width:80px;height:65px;object-fit:cover;border-radius:6px;flex-shrink:0}
.sidebar .widget .tags{display:flex;flex-wrap:wrap;gap:5px}
.sidebar .widget .tags a{background:#f0f1f3;padding:4px 10px;border-radius:3px;font-size:11px;color:#555;transition:.15s}
.sidebar .widget .tags a:hover{background:#1a237e;color:#fff}

/* Sidebar Tabs */
.widget-tabs{display:flex;border-bottom:2px solid #1a237e;margin-bottom:10px;gap:0}
.widget-tabs span{padding:6px 12px;font-size:11px;cursor:pointer;color:#888;border-radius:3px 3px 0 0;transition:.15s;font-weight:500}
.widget-tabs span.active{background:#1a237e;color:#fff}
.widget-tabs span:hover:not(.active){background:#f0f1f3;color:#333}
.tab-content{display:none}
.tab-content.active{display:block}

/* Article Page */
.article-page{background:#fff;border-radius:8px;padding:30px;box-shadow:0 2px 8px rgba(0,0,0,.08);direction:rtl}
.article-page .breadcrumb{font-size:11px;color:#888;margin-bottom:15px}
.article-page .breadcrumb a{color:#1a237e}
.article-page .breadcrumb a:hover{color:#c00}
.article-page h1{font-size:22px;line-height:1.6;margin-bottom:10px;color:#222}
.article-page .article-meta{display:flex;gap:12px;font-size:11px;color:#888;margin-bottom:15px;flex-wrap:wrap}
.article-page .article-meta span{display:flex;align-items:center;gap:4px}
.article-page .article-img{margin-bottom:20px}
.article-page .article-img img{width:100%;max-height:450px;object-fit:cover;border-radius:8px}
.article-page .article-img .caption{font-size:11px;color:#888;margin-top:5px;text-align:center}
.article-page .lead-text{font-size:15px;color:#444;line-height:2;margin-bottom:20px;padding:15px;background:#f8f9fa;border-right:3px solid #c00;border-radius:4px}
.article-page .article-body{font-size:15px;line-height:2.3;color:#333}
.article-page .article-body p{margin-bottom:18px}
.article-page .article-body h2{font-size:20px;color:#1a237e;margin:30px 0 15px;padding-bottom:8px;border-bottom:2px solid #1a237e;line-height:1.7}
.article-page .article-body h3{font-size:17px;color:#222;margin:25px 0 12px;line-height:1.7}
.article-page .article-body h4{font-size:15px;color:#444;margin:20px 0 10px}
.article-page .article-body img{width:100%;max-height:450px;object-fit:cover;border-radius:8px;margin:15px 0;box-shadow:0 3px 12px rgba(0,0,0,.1)}
.article-page .article-body blockquote{background:#f8f9fa;border-right:4px solid #c00;margin:20px 0;padding:12px 20px;color:#555;font-size:14px;line-height:2.2;border-radius:0 4px 4px 0}
.article-page .article-body ul,.article-page .article-body ol{margin:10px 0 15px;padding-right:25px}
.article-page .article-body ul li{list-style:disc;margin-bottom:6px}
.article-page .article-body ol li{list-style:decimal;margin-bottom:6px}
.article-page .article-body a{color:#1a237e;border-bottom:1px dotted #1a237e}
.article-page .article-body a:hover{color:#c00;border-bottom-color:#c00}

/* Share Buttons */
.share-buttons{display:flex;gap:6px;margin-top:20px;padding-top:15px;border-top:1px solid #eee}
.share-buttons a{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;color:#fff;transition:.2s}
.share-buttons a:hover{transform:translateY(-2px);color:#fff}
.share-telegram{background:#0088cc}
.share-whatsapp{background:#25d366}
.share-twitter{background:#000}
.share-copy{background:#bbb}

.article-page .article-tags{margin-top:20px;padding-top:15px;border-top:1px solid #eee;display:flex;gap:5px;flex-wrap:wrap}
.article-page .article-tags a{background:#f0f1f3;padding:4px 10px;border-radius:3px;font-size:11px;color:#555;transition:.15s}
.article-page .article-tags a:hover{background:#1a237e;color:#fff}
.article-page .reading-time{font-size:11px;color:#999;display:flex;align-items:center;gap:4px}

/* Comments */
.comments{margin-top:25px}
.comments h3{font-size:15px;color:#1a237e;margin-bottom:15px;padding-bottom:8px;border-bottom:2px solid #1a237e}
.comment-item{background:#f8f9fa;padding:12px;border-radius:6px;margin-bottom:10px}
.comment-item .author{font-weight:700;font-size:12px;color:#222;margin-bottom:5px}
.comment-item .date{font-size:10px;color:#999;margin-right:8px;font-weight:400}
.comment-item .body{font-size:12px;line-height:1.8;color:#444}
.comment-item .body p{margin-bottom:8px}
.comment-item .body ol,.comment-item .body ul{margin:5px 0 8px;padding-right:20px}
.comment-item .body ol li{list-style:decimal;margin-bottom:3px}
.comment-item .body ul li{list-style:disc;margin-bottom:3px}
.comment-item .body strong{font-weight:700}
.comment-item .body em{font-style:italic}
.comment-item .body table{width:100%;border-collapse:collapse;margin:10px 0;font-size:11px;direction:rtl}
.comment-item .body th,.comment-item .body td{border:1px solid #ddd;padding:6px 10px;text-align:right}
.comment-item .body th{background:#1a237e;color:#fff;font-weight:700}
.comment-item .body tr:nth-child(even){background:#f5f5f5}
.comment-item .body code{background:#eee;padding:2px 6px;border-radius:3px;font-size:11px;direction:ltr;display:inline-block}
.comment-item .body pre{background:#2d2d2d;color:#f8f8f2;padding:12px;border-radius:4px;overflow-x:auto;margin:10px 0;font-size:11px;direction:ltr}
.comment-item .body blockquote{background:#f0f1f3;border-right:3px solid #c00;margin:10px 0;padding:8px 12px;color:#555;font-size:12px;border-radius:0 3px 3px 0}
.comment-item .body a{color:#1a237e;border-bottom:1px dotted #1a237e}
.comment-item .body a:hover{color:#c00}
.comment-item .body img{max-width:100%;border-radius:4px;margin:8px 0}
.comment-item .reply{background:#fff;padding:10px;margin-top:8px;border-right:3px solid #1a237e;border-radius:4px;font-size:12px}
.comment-item .reply p{margin-bottom:6px}
.comment-item .reply ol,.comment-item .reply ul{margin:5px 0 8px;padding-right:20px}
.comment-item .reply ol li{list-style:decimal;margin-bottom:3px}
.comment-item .reply ul li{list-style:disc;margin-bottom:3px}
.comment-item .reply strong{font-weight:700}
.comment-item .reply em{font-style:italic}
.comment-item .reply table{width:100%;border-collapse:collapse;margin:10px 0;font-size:11px;direction:rtl}
.comment-item .reply th,.comment-item .reply td{border:1px solid #ddd;padding:6px 10px;text-align:right}
.comment-item .reply th{background:#1a237e;color:#fff;font-weight:700}
.comment-item .reply tr:nth-child(even){background:#f5f5f5}
.comment-item .reply code{background:#eee;padding:2px 6px;border-radius:3px;font-size:11px;direction:ltr;display:inline-block}
.comment-item .reply pre{background:#2d2d2d;color:#f8f8f2;padding:12px;border-radius:4px;overflow-x:auto;margin:10px 0;font-size:11px;direction:ltr}
.comment-item .reply blockquote{background:#f0f1f3;border-right:3px solid #c00;margin:10px 0;padding:8px 12px;color:#555;font-size:12px;border-radius:0 3px 3px 0}
.comment-item .reply a{color:#1a237e;border-bottom:1px dotted #1a237e}
.comment-item .reply a:hover{color:#c00}
.comment-item .reply img{max-width:100%;border-radius:4px;margin:8px 0}
.comment-form{margin-top:15px}

/* Category Page */
.cat-page .cat-header{background:#fff;border-radius:8px;padding:15px 20px;margin-bottom:20px;box-shadow:0 2px 8px rgba(0,0,0,.08);direction:rtl}
.cat-page .cat-header h1{font-size:20px;color:#1a237e}
.cat-page .cat-header p{color:#888;font-size:12px;margin-top:5px}
.cat-page .cat-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px;direction:rtl}
.cat-page .cat-grid .article-item{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:.25s;display:grid;grid-template-columns:200px 1fr}
.cat-page .cat-grid .article-item:hover{box-shadow:0 6px 20px rgba(0,0,0,.12);transform:translateY(-2px)}
.cat-page .cat-grid .article-item img{width:200px;height:100%;object-fit:cover;display:block}
.cat-page .cat-grid .article-item .info{padding:15px}
.cat-page .cat-grid .article-item .info h3{font-size:14px;line-height:1.6;margin-bottom:5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.cat-page .cat-grid .article-item .info .lead{font-size:12px;color:#666;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:5px}
.cat-page .cat-grid .article-item .info .meta{font-size:10px;color:#999}

/* Pagination */
.pagination{display:flex;justify-content:center;gap:5px;margin-top:25px}
.pagination a,.pagination span{background:#fff;padding:7px 14px;border-radius:4px;font-size:12px;box-shadow:0 2px 6px rgba(0,0,0,.08);transition:.15s}
.pagination a:hover{background:#1a237e;color:#fff;transform:translateY(-1px)}
.pagination .active{background:#1a237e;color:#fff}
.pagination .disabled{background:#f0f0f0;color:#bbb;cursor:default}

/* Footer */
.footer{background:#1a237e;color:#c5cae9;margin-top:40px;padding:30px 0 0;direction:rtl}
.footer .container{max-width:1250px;margin:0 auto;padding:0 15px}
.footer .grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;padding-bottom:25px}
.footer h4{color:#fff;font-size:14px;margin-bottom:12px;padding-bottom:6px;border-bottom:1px solid rgba(255,255,255,.1)}
.footer p{font-size:12px;line-height:2;color:#9fa8da}
.footer ul li{margin-bottom:6px}
.footer ul li a{color:#c5cae9;font-size:12px;transition:.2s}
.footer ul li a:hover{color:#fff;padding-right:5px}
.footer .bottom{background:rgba(0,0,0,.2);padding:12px 0;margin-top:20px;text-align:center;font-size:11px;color:#7986cb}

/* Back to Top */
.back-top{position:fixed;bottom:30px;left:30px;width:42px;height:42px;background:#1a237e;color:#fff;border:none;border-radius:50%;cursor:pointer;font-size:18px;display:none;align-items:center;justify-content:center;z-index:999;box-shadow:0 3px 12px rgba(0,0,0,.2);transition:.3s}
.back-top:hover{background:#c00;transform:translateY(-3px)}

/* ======== Features v2 ======== */

/* Special News Section */
.special-section{background:#fff;border-radius:8px;padding:18px;margin-bottom:25px;box-shadow:0 2px 8px rgba(0,0,0,.08);direction:rtl}
.special-section .section-head{border-bottom-color:#c00}
.special-section .section-head h2{color:#c00}
.special-section .special-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.special-section .special-grid .sp-main{grid-column:1/-1;display:grid;grid-template-columns:2fr 1fr;gap:15px;padding-bottom:12px;border-bottom:1px solid #eee;margin-bottom:12px}
.special-section .special-grid .sp-main img{width:100%;height:220px;object-fit:cover;border-radius:6px}
.special-section .special-grid .sp-main h3{font-size:16px;line-height:1.6;margin-top:8px;color:#c00}
.special-section .special-grid .sp-main .lead{color:#555;font-size:13px;margin-top:5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.special-section .special-grid .sp-item{display:flex;gap:12px;align-items:flex-start;padding:8px 0;border-bottom:1px dotted #f0f0f0}
.special-section .special-grid .sp-item:last-child{border:none}
.special-section .special-grid .sp-item img{width:120px;height:80px;object-fit:cover;border-radius:6px;flex-shrink:0}
.special-section .special-grid .sp-item h4{font-size:13px;line-height:1.6}
.special-section .badge{display:inline-block;background:#c00;color:#fff;padding:1px 8px;border-radius:3px;font-size:10px;font-weight:700;margin-left:6px}

/* Comment & View Counts on Cards */
.card-meta{display:flex;gap:8px;font-size:10px;color:#999;margin-top:6px;align-items:center}
.card-meta svg{width:12px;height:12px;vertical-align:middle}
.card-meta span{display:flex;align-items:center;gap:3px}

/* Gallery Page */
.gallery-page .gallery-header{background:#fff;border-radius:8px;padding:15px 20px;margin-bottom:20px;box-shadow:0 2px 8px rgba(0,0,0,.08);direction:rtl}
.gallery-page .gallery-header h1{font-size:20px;color:#1a237e}
.gallery-page .gallery-header p{color:#888;font-size:12px;margin-top:5px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;direction:rtl}
.gallery-grid .gallery-item{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:.25s;cursor:pointer}
.gallery-grid .gallery-item:hover{box-shadow:0 6px 20px rgba(0,0,0,.12);transform:translateY(-3px)}
.gallery-grid .gallery-item img{width:100%;height:200px;object-fit:cover}
.gallery-grid .gallery-item .info{padding:10px 12px}
.gallery-grid .gallery-item .info h3{font-size:12px;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.gallery-grid .gallery-item .info .meta{font-size:10px;color:#999;margin-top:4px}
.gallery-grid .gallery-item .overlay{position:relative}
.gallery-grid .gallery-item .overlay .play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:50px;height:50px;background:rgba(0,0,0,.6);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;border:2px solid rgba(255,255,255,.5);transition:.2s}
.gallery-grid .gallery-item:hover .play-btn{background:rgba(192,0,0,.8);transform:translate(-50%,-50%) scale(1.1)}

/* Lightbox */
.lightbox{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.9);z-index:9999;align-items:center;justify-content:center;direction:rtl}
.lightbox.active{display:flex}
.lightbox img{max-width:90%;max-height:90%;border-radius:8px;box-shadow:0 10px 40px rgba(0,0,0,.5)}
.lightbox .close{position:absolute;top:20px;left:20px;color:#fff;font-size:30px;cursor:pointer;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.2);border-radius:50%;transition:.2s;border:none}
.lightbox .close:hover{background:#c00}
.lightbox .caption{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);color:#fff;font-size:13px;background:rgba(0,0,0,.6);padding:8px 20px;border-radius:4px;max-width:80%;text-align:center}

/* Dark Mode — comprehensive */
:root{--bg-body:#f0f1f3;--bg-card:#fff;--bg-header:#fff;--bg-top:#1a237e;--text:#222;--text-secondary:#666;--text-muted:#999;--text-inv:#c5cae9;--bg-secondary:#f5f5f5;--border:#e0e0e0;--border-light:#eee;--shadow:rgba(0,0,0,.08);--accent:#1a237e}

[data-theme=dark]{--bg-body:#0d1117;--bg-card:#161b22;--bg-header:#0d1117;--bg-top:#0d1117;--text:#e6edf3;--text-secondary:#8b949e;--text-muted:#6e7681;--text-inv:#8b949e;--bg-secondary:#1c2333;--border:#30363d;--border-light:#21262d;--shadow:rgba(0,0,0,.4);--accent:#f85149}
/* Base */
[data-theme=dark] body{background:var(--bg-body);color:var(--text)}
[data-theme=dark] a:hover{color:#f85149}
[data-theme=dark] ::selection{background:rgba(248,81,73,.3)}

/* Top bar */
[data-theme=dark] .top-bar{background:var(--bg-top)}
[data-theme=dark] .top-bar .date{color:var(--text-inv)}
[data-theme=dark] .top-bar .top-links a{color:var(--text-inv)}

/* Header */
[data-theme=dark] .header{background:var(--bg-header);border-bottom-color:#f85149}
[data-theme=dark] .logo h1{color:var(--text)}
[data-theme=dark] .logo span{color:var(--text-muted)}
[data-theme=dark] .main-nav>ul>li>a{color:var(--text-secondary)}
[data-theme=dark] .main-nav>ul>li:hover>a{color:var(--text);border-bottom-color:#f85149}
[data-theme=dark] .main-nav .mega-menu{background:var(--bg-card);border-color:var(--border);border-top-color:#f85149}
[data-theme=dark] .main-nav .mega-menu a{color:var(--text-secondary)}
[data-theme=dark] .main-nav .mega-menu a:hover{background:rgba(255,255,255,.05);color:var(--text)}
[data-theme=dark] .search-box{background:rgba(255,255,255,.06)}
[data-theme=dark] .search-box:focus-within{background:rgba(255,255,255,.1);border-color:#f85149}
[data-theme=dark] .search-box input{color:var(--text)}
[data-theme=dark] .search-box input::placeholder{color:var(--text-muted)}
[data-theme=dark] .search-box button{color:var(--text-muted)}
[data-theme=dark] .search-box button:hover{color:#f85149}
[data-theme=dark] .header-actions a{background:#f85149;color:#fff}
[data-theme=dark] .header-actions a:hover{background:#da3633;color:#fff}

/* Cards & sections */
[data-theme=dark] .hero-slider{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .hero-side .side-item{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .card-s{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .cat-section{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .article-page{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .sidebar .widget{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .special-section{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .cat-page .cat-header{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .cat-page .cat-grid .article-item{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .gallery-page .gallery-header{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .gallery-grid .gallery-item{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .pagination a,.pagination span{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}
[data-theme=dark] .newsletter-widget{background:var(--bg-card);box-shadow:0 2px 8px var(--shadow)}

/* Breaking ticker */
[data-theme=dark] .breaking-ticker{background:var(--bg-card);border-bottom-color:var(--border)}
[data-theme=dark] .breaking-ticker .ticker-wrap ul li{color:var(--text)}
[data-theme=dark] .breaking-ticker .ticker-wrap ul li .time{color:var(--text-muted)}

/* Hero slider */
[data-theme=dark] .hero-slider .slide .caption .cat{background:#f85149}
[data-theme=dark] .hero-side .side-item .cap .cat{color:#f85149}

/* Section headings */
[data-theme=dark] .section-head{border-bottom-color:var(--border)}
[data-theme=dark] .section-head h2{color:var(--text)}
[data-theme=dark] .section-head h2 a{color:var(--text)}
[data-theme=dark] .section-head .more{color:var(--text-muted)}
[data-theme=dark] .section-head .more:hover{color:#f85149}

/* News grid */
[data-theme=dark] .news-grid .featured .card{background:var(--bg-card)}
[data-theme=dark] .news-grid .featured .card .info .cat{color:#f85149}
[data-theme=dark] .news-grid .featured .card .info p{color:var(--text-secondary)}
[data-theme=dark] .news-grid .card-s .info .cat{color:#f85149}
[data-theme=dark] .news-grid .card-s .info .meta{color:var(--text-muted)}

/* Category section */
[data-theme=dark] .cat-section .cat-main{border-bottom-color:var(--border-light)}
[data-theme=dark] .cat-section .cat-main .lead{color:var(--text-secondary)}
[data-theme=dark] .cat-section .cat-item{border-bottom-color:var(--border-light)}
[data-theme=dark] .cat-section .cat-item:hover{background:rgba(255,255,255,.03)}
[data-theme=dark] .cat-section .cat-item .date{color:var(--text-muted)}

/* Article page */
[data-theme=dark] .article-page .breadcrumb{color:var(--text-muted)}
[data-theme=dark] .article-page .breadcrumb a{color:var(--text-secondary)}
[data-theme=dark] .article-page .breadcrumb a:hover{color:#f85149}
[data-theme=dark] .article-page h1{color:var(--text)}
[data-theme=dark] .article-page .article-meta{color:var(--text-muted)}
[data-theme=dark] .article-page .lead-text{background:rgba(255,255,255,.03);border-right-color:#f85149;color:var(--text)}
[data-theme=dark] .article-page .article-body{color:var(--text)}
[data-theme=dark] .article-page .article-body h2{color:var(--text);border-bottom-color:var(--border)}
[data-theme=dark] .article-page .article-body h3{color:var(--text)}
[data-theme=dark] .article-page .article-body h4{color:var(--text-secondary)}
[data-theme=dark] .article-page .article-body blockquote{background:rgba(255,255,255,.03);border-right-color:#f85149;color:var(--text-secondary)}
[data-theme=dark] .article-page .article-body a{color:#58a6ff}
[data-theme=dark] .article-page .article-body a:hover{color:#f85149}
[data-theme=dark] .article-page .article-body img{box-shadow:0 3px 12px var(--shadow)}

/* Share buttons */
[data-theme=dark] .share-buttons{border-top-color:var(--border-light)}
[data-theme=dark] .article-page .article-tags{border-top-color:var(--border-light)}

/* Tags on article */
[data-theme=dark] .article-page .article-tags a{background:rgba(255,255,255,.08);color:var(--text-secondary)}
[data-theme=dark] .article-page .article-tags a:hover{background:#f85149;color:#fff}

/* Reading time */
[data-theme=dark] .article-page .reading-time{color:var(--text-muted)}

/* Comments */
[data-theme=dark] .comments h3{color:var(--text);border-bottom-color:var(--border)}
[data-theme=dark] .comment-item{background:rgba(255,255,255,.03)}
[data-theme=dark] .comment-item .author{color:var(--text)}
[data-theme=dark] .comment-item .date{color:var(--text-muted)}
[data-theme=dark] .comment-item .body{color:var(--text-secondary)}
[data-theme=dark] .comment-item .body code{background:rgba(255,255,255,.08);color:var(--text)}
[data-theme=dark] .comment-item .body blockquote{background:rgba(255,255,255,.03);border-right-color:#f85149;color:var(--text-secondary)}
[data-theme=dark] .comment-item .body a{color:#58a6ff}
[data-theme=dark] .comment-item .body a:hover{color:#f85149}
[data-theme=dark] .comment-item .body th{background:#f85149;color:#fff}
[data-theme=dark] .comment-item .body td{border-color:var(--border)}
[data-theme=dark] .comment-item .body tr:nth-child(even){background:rgba(255,255,255,.03)}
[data-theme=dark] .comment-item .reply{background:rgba(255,255,255,.02);border-right-color:#f85149}
[data-theme=dark] .comment-item .reply code{background:rgba(255,255,255,.08);color:var(--text)}
[data-theme=dark] .comment-item .reply blockquote{background:rgba(255,255,255,.03);border-right-color:#f85149;color:var(--text-secondary)}
[data-theme=dark] .comment-item .reply a{color:#58a6ff}
[data-theme=dark] .comment-item .reply a:hover{color:#f85149}
[data-theme=dark] .comment-item .reply th{background:#f85149;color:#fff}
[data-theme=dark] .comment-item .reply td{border-color:var(--border)}
[data-theme=dark] .comment-item .reply tr:nth-child(even){background:rgba(255,255,255,.03)}

/* Sidebar */
[data-theme=dark] .sidebar .widget h3{color:var(--text);border-bottom-color:var(--border)}
[data-theme=dark] .sidebar .widget .item{border-bottom-color:var(--border-light)}
[data-theme=dark] .sidebar .widget .item:hover{background:rgba(255,255,255,.03)}
[data-theme=dark] .sidebar .widget .item .num{background:#f85149;color:#fff}
[data-theme=dark] .sidebar .widget .item .text .meta{color:var(--text-muted)}
[data-theme=dark] .sidebar .widget .tags a{background:rgba(255,255,255,.08);color:var(--text-secondary)}
[data-theme=dark] .sidebar .widget .tags a:hover{background:#f85149;color:#fff}

/* Sidebar tabs */
[data-theme=dark] .widget-tabs{border-bottom-color:var(--border)}
[data-theme=dark] .widget-tabs span{color:var(--text-muted)}
[data-theme=dark] .widget-tabs span.active{background:#f85149;color:#fff}
[data-theme=dark] .widget-tabs span:hover:not(.active){background:rgba(255,255,255,.08);color:var(--text)}

/* Category page */
[data-theme=dark] .cat-page .cat-header h1{color:var(--text)}
[data-theme=dark] .cat-page .cat-header p{color:var(--text-muted)}
[data-theme=dark] .cat-page .cat-grid .article-item .info h3{color:var(--text)}
[data-theme=dark] .cat-page .cat-grid .article-item .info .lead{color:var(--text-secondary)}
[data-theme=dark] .cat-page .cat-grid .article-item .info .meta{color:var(--text-muted)}

/* Gallery */
[data-theme=dark] .gallery-page .gallery-header h1{color:var(--text)}
[data-theme=dark] .gallery-page .gallery-header p{color:var(--text-muted)}
[data-theme=dark] .gallery-grid .gallery-item .info .meta{color:var(--text-muted)}

/* Pagination */
[data-theme=dark] .pagination a,.pagination span{color:var(--text)}
[data-theme=dark] .pagination a:hover{background:#f85149;color:#fff}
[data-theme=dark] .pagination .active{background:#f85149;color:#fff}
[data-theme=dark] .pagination .disabled{background:rgba(255,255,255,.05);color:var(--text-muted);cursor:default}

/* Footer */
[data-theme=dark] .footer{background:var(--bg-top)}
[data-theme=dark] .footer h4{color:var(--text);border-bottom-color:var(--border)}
[data-theme=dark] .footer p{color:var(--text-inv)}
[data-theme=dark] .footer ul li a{color:var(--text-inv)}
[data-theme=dark] .footer ul li a:hover{color:var(--text)}
[data-theme=dark] .footer .bottom{background:rgba(255,255,255,.03);color:var(--text-muted)}

/* Back to top */
[data-theme=dark] .back-top{background:#f85149;color:#fff}
[data-theme=dark] .back-top:hover{background:#da3633}

/* Special section */
[data-theme=dark] .special-section .sp-main{border-bottom-color:var(--border-light)}
[data-theme=dark] .special-section .sp-main h3{color:#f85149}
[data-theme=dark] .special-section .sp-main .lead{color:var(--text-secondary)}
[data-theme=dark] .special-section .sp-item{border-bottom-color:var(--border-light)}

/* Newsletter */
[data-theme=dark] .newsletter-widget h3{color:var(--text);border-bottom-color:var(--border)}
[data-theme=dark] .newsletter-widget p{color:var(--text-muted)}
[data-theme=dark] .newsletter-widget .nl-form input{background:rgba(255,255,255,.05);color:var(--text);border-color:var(--border)}
[data-theme=dark] .newsletter-widget .nl-form input:focus{border-color:#f85149}
[data-theme=dark] .newsletter-widget .nl-form button{background:#f85149}
[data-theme=dark] .newsletter-widget .nl-form button:hover{background:#da3633}

/* Card meta */
[data-theme=dark] .card-meta{color:var(--text-muted)}

/* Dark Mode Toggle Button */
.theme-toggle{background:none;border:none;cursor:pointer;color:#ffc107;font-size:16px;padding:4px;display:flex;align-items:center;transition:.2s;line-height:1}
.theme-toggle:hover{transform:scale(1.15);color:#ff8f00}

/* Sticky Search Improvements */
.header .search-box{transition:all .3s}
.header.shrink .search-box input{width:110px}
.header.shrink .search-box{background:rgba(240,241,243,.9)}
.header.shrink .header-actions a{padding:4px 8px;font-size:10px}
.header-actions{flex-wrap:nowrap}

/* Weather & Prayer Times Widget */
.weather-widget{background:linear-gradient(135deg,#1a237e,#283593);color:#fff;border-radius:8px;padding:18px;margin-bottom:15px;direction:rtl}
.weather-widget .w-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.weather-widget .w-header h3{font-size:13px;color:#fff;border:none;padding:0;margin:0}
.weather-widget .w-rows{display:flex;align-items:center;gap:8px;margin-bottom:5px;justify-content:space-between}
.weather-widget .w-temp{font-size:28px;font-weight:700}
.weather-widget .w-temp small{font-size:14px;font-weight:400;color:#9fa8da}
.weather-widget .w-desc{font-size:11px;color:#c5cae9;margin-bottom:8px}
.weather-widget .w-icon{font-size:36px;line-height:1;flex-shrink:0}
.w-city-select{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.3);border-radius:4px;padding:4px 8px;font-size:11px;font-family:Vazirmatn,Tahoma;cursor:pointer;outline:none;width:95px;transition:.2s;direction:rtl;text-align:right}
.w-city-select:hover{background:rgba(255,255,255,.25)}
.w-city-select option{background:#1a237e;color:#fff}
.w-city-select::-webkit-scrollbar{width:6px}
.w-city-select::-webkit-scrollbar-track{background:rgba(255,255,255,.08);border-radius:3px}
.w-city-select::-webkit-scrollbar-thumb{background:rgba(255,255,255,.25);border-radius:3px}
.w-city-select::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.4)}
.w-city-select{scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) rgba(255,255,255,.08)}
.prayer-times{background:rgba(255,255,255,.1);border-radius:6px;padding:10px;margin-top:10px}
.prayer-times .p-row{display:flex;justify-content:space-between;font-size:11px;padding:4px 0;color:#c5cae9}
.prayer-times .p-row .p-name{color:#9fa8da}
.prayer-times .p-row .p-time{font-weight:500;color:#fff}

/* Newsletter Widget */
.newsletter-widget{background:#fff;border-radius:8px;padding:18px;margin-bottom:15px;box-shadow:0 2px 8px rgba(0,0,0,.08);direction:rtl}
[data-theme=dark] .newsletter-widget{background:var(--bg-card)}
.newsletter-widget h3{font-size:14px;color:#1a237e;padding-bottom:8px;border-bottom:2px solid #1a237e;margin-bottom:10px}
[data-theme=dark] .newsletter-widget h3{color:#c00;border-bottom-color:#c00}
.newsletter-widget p{font-size:11px;color:#888;margin-bottom:10px}
.newsletter-widget .nl-form{display:flex;gap:5px}
.newsletter-widget .nl-form input{flex:1;padding:7px 10px;border:1px solid #ddd;border-radius:4px;font-size:11px;font-family:Vazirmatn,Tahoma;direction:rtl;outline:none;transition:border-color .2s}
.newsletter-widget .nl-form input:focus{border-color:#1a237e}
[data-theme=dark] .newsletter-widget .nl-form input{background:rgba(255,255,255,.05);color:var(--text);border-color:var(--border)}
[data-theme=dark] .newsletter-widget .nl-form input:focus{border-color:#c00}
.newsletter-widget .nl-form button{background:#1a237e;color:#fff;border:none;padding:7px 12px;border-radius:4px;cursor:pointer;font-size:11px;font-family:Vazirmatn,Tahoma;white-space:nowrap;transition:.2s}
.newsletter-widget .nl-form button:hover{background:#283593}
[data-theme=dark] .newsletter-widget .nl-form button{background:#c00}

/* Ticker pause on hover */
.breaking-ticker .ticker-wrap ul:hover{animation-play-state:paused}

/* Comment Form */
.comment-form h4{font-size:14px;font-weight:700;color:var(--text);margin-bottom:12px}
.comment-form #reply-to-info{display:none;font-size:12px;color:var(--text-secondary);margin-bottom:8px;padding:6px 10px;background:var(--bg-secondary);border-radius:6px;border:1px solid var(--border)}
.comment-form #reply-to-info a{display:inline-block;margin-right:10px;color:#c62828;font-weight:500;font-size:11px;text-decoration:none}
.comment-form input[type=text],.comment-form input[type=email],.comment-form textarea{width:100%;padding:10px 12px;margin-bottom:8px;border:1px solid var(--border);border-radius:6px;font-size:13px;background:var(--bg-secondary);color:var(--text);transition:border-color .2s;box-sizing:border-box;font-family:inherit}
.comment-form input:focus,.comment-form textarea:focus{outline:none;border-color:var(--accent)}
.comment-form textarea{min-height:80px;resize:vertical}
.comment-form button{width:100%;padding:10px;font-size:13px;font-weight:700;border:none;border-radius:6px;background:var(--accent);color:#fff;cursor:pointer;transition:opacity .2s}
.comment-form button:hover{opacity:.9}
.comment-form button:disabled{opacity:.6;cursor:not-allowed}
.comment-msg{padding:10px 14px;border-radius:6px;font-size:12px;margin-bottom:10px;line-height:1.5}
.comment-msg-success{background:#e8f5e9;color:#2e7d32;border:1px solid #a5d6a7}
.comment-msg-error{background:#ffebee;color:#c62828;border:1px solid #ef9a9a}
[data-theme=dark] .comment-msg-success{background:#1b3a1b;color:#81c784;border-color:#2e7d32}
[data-theme=dark] .comment-msg-error{background:#3a1b1b;color:#ef9a9a;border-color:#c62828}

/* Captcha */
.captcha-field{margin-bottom:8px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.captcha-img{display:block;border:1px solid var(--border);border-radius:6px;height:50px;width:200px;cursor:pointer;user-select:none}
.captcha-img:hover{opacity:.85}
.captcha-refresh{font-size:11px;color:var(--accent);text-decoration:none;font-weight:500}
.captcha-refresh:hover{text-decoration:underline}
.captcha-field input[type=text]{flex:1;min-width:120px;text-align:center;letter-spacing:4px;font-weight:700;direction:ltr}

/* Ad Placements */
.ad-slot{text-align:center;margin:0 auto;overflow:hidden}
.ad-slot img{max-width:100%;height:auto;display:inline-block}
.ad-header_banner{margin:8px auto;max-width:728px}
.ad-after_slider{margin:20px auto;max-width:728px}
.ad-sidebar_top{margin-bottom:15px;max-width:300px;max-height:260px;overflow:hidden}
.ad-sidebar_top img{max-height:250px;width:auto}
.ad-sidebar_middle{margin-bottom:15px;max-width:300px;max-height:260px;overflow:hidden}
.ad-sidebar_middle img{max-height:250px;width:auto}
.ad-between_posts{margin:15px auto;grid-column:1/-1;max-width:100%}
.ad-after_article{margin:25px auto;max-width:728px}
.ad-article_inline{margin:20px auto;max-width:468px}
.ad-category_banner{margin:0 auto 20px;max-width:728px}
.ad-footer_banner{margin:20px auto;max-width:728px}

/* Responsive updates */
@media(max-width:768px){
    .gallery-grid{grid-template-columns:1fr 1fr}
    .special-section .special-grid{grid-template-columns:1fr}
    .special-section .special-grid .sp-main{grid-template-columns:1fr}
    .special-section .special-grid .sp-main img{height:180px}
}
@media(max-width:480px){
    .gallery-grid{grid-template-columns:1fr}
    .theme-toggle{font-size:14px}
    .header-actions .search-box{display:flex;width:100%}
}

/* Responsive */

@media(max-width:768px){
    .page-wrap{grid-template-columns:1fr}
    .hero-section{grid-template-columns:1fr}
    .hero-side{flex-direction:row}
    .hero-side .side-item{flex:1}
    .news-grid{grid-template-columns:1fr}
    .news-grid .featured .card{grid-template-columns:1fr}
    .cat-section .cat-articles .cat-main{grid-template-columns:1fr}
    .cat-page .cat-grid .article-item{grid-template-columns:1fr}
    .cat-page .cat-grid .article-item img{width:100%;height:200px}
    .footer .grid{grid-template-columns:1fr 1fr}
    .main-nav{display:none}
    .header .container{height:50px}
    .search-box input{width:100px}
    .article-page{padding:18px}
    .header.shrink .container{height:44px}
}
@media(max-width:480px){
    .hero-side{flex-direction:column}
    .footer .grid{grid-template-columns:1fr}
    .search-box{display:none}
}
