/*
Theme Name: Maxi News PRO
Author: Maxi News
Version: 2.0
*/

/* базові стилі */

html, body{
margin:0;
padding:0;
overflow-x:hidden;
}

body{
margin:0;
font-family:Arial, Helvetica, sans-serif;
background:#f4f4f4;
color:#111;
}

a{
text-decoration:none;
color:#111;
}

/* контейнер */

.container{
max-width:900px;
margin:auto;
padding:15px;
}

/* HEADER */

.site-header{
background:#c40000;
color:#fff;
padding:8px 12px;
display:flex;
align-items:center;
justify-content:space-between;
height:50px;
}

/* логотип */

.logo{
font-size:22px;
font-weight:800;
line-height:1;
}

.logo span{
color:#ffd000;
}

/* кнопки мов */

.lang-switch{
display:flex;
gap:8px;
}

.lang-switch a{
background:#fff;
padding:3px 8px;
border-radius:6px;
font-size:12px;
color:#000;
}

/* меню */

.category-menu{
background:#fff;
padding:6px 10px;
display:flex;
gap:12px;
overflow-x:auto;
border-bottom:1px solid #eee;
font-size:14px;
}

.category-menu a{
font-weight:600;
font-size:15px;
}

/* LIVE блок */

.live-block{
background:#d10000;
color:#fff;
padding:10px 15px;
border-radius:8px;
margin:15px 0;
font-weight:bold;
}

/* новини */

.news-card{
background:#fff;
border-radius:14px;
margin-bottom:18px;
overflow:hidden;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.news-card img{
width:100%;
display:block;
}

.news-card h2{
font-size:20px;
padding:10px 12px;
line-height:1.3;
}

/* список новин */

.news-list{
background:#fff;
border-radius:12px;
padding:10px;
}

.news-item{
padding:10px 0;
border-bottom:1px solid #eee;
}

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

.news-item a{
font-size:16px;
}

/* категорії */

.category-block{
margin-top:25px;
}

.category-block h3{
font-size:22px;
margin-bottom:10px;
}

/* footer */

.site-footer{
margin-top:40px;
background:#111;
color:#fff;
text-align:center;
padding:20px;
font-size:14px;
}
.article-container{
max-width:900px;
margin:auto;
padding:15px;
}

.article-title{
font-size:28px;
font-weight:800;
margin-bottom:10px;
}

.article-meta{
color:#777;
font-size:14px;
margin-bottom:10px;
}

.article-image img{
width:100%;
border-radius:12px;
margin:10px 0;
}

.article-content{
font-size:18px;
line-height:1.6;
margin-top:10px;
}

.article-share{
margin-top:20px;
display:flex;
gap:10px;
}
.news-container{
max-width:720px;
margin:auto;
padding:15px;
}

.news-title{
font-size:28px;
font-weight:800;
line-height:1.3;
margin-bottom:10px;
}

.news-meta{
color:#777;
font-size:14px;
margin-bottom:15px;
}

.news-image img{
width:100%;
border-radius:14px;
margin-bottom:15px;
}

.news-content{
font-size:18px;
line-height:1.7;
}

.news-content p{
margin-bottom:16px;
}

.news-content h2{
font-size:24px;
margin-top:20px;
margin-bottom:10px;
}

.share-block{
margin-top:25px;
border-top:1px solid #eee;
padding-top:15px;
}

.share-title{
font-weight:700;
margin-bottom:10px;
}

.share-btn{
display:inline-block;
padding:8px 12px;
margin-right:10px;
border-radius:6px;
color:white;
font-size:14px;
}

.tg{
background:#27A7E7;
}

.fb{
background:#3b5998;
}

.related-news{
margin-top:30px;
}

.related-news h3{
margin-bottom:15px;
}

.related-item{
display:flex;
gap:10px;
margin-bottom:12px;
align-items:center;
}

.related-item img{
width:90px;
height:60px;
object-fit:cover;
border-radius:8px;
}

.related-item span{
font-weight:600;
}
.news-page{
max-width:680px;
margin:auto;
padding:16px;
}

.news-title{
font-size:24px;
font-weight:700;
line-height:1.3;
margin-bottom:10px;
color:#111;
}

.news-date{
font-size:13px;
color:#8a8a8a;
margin-bottom:12px;
}

.news-image img{
width:100%;
height:auto;
border-radius:10px;
margin-bottom:14px;
}

.news-text{
font-size:17px;
line-height:1.65;
color:#222;
}

.news-text p{
margin-bottom:14px;
}

.news-text h2{
font-size:22px;
font-weight:700;
margin-top:22px;
margin-bottom:10px;
}

.news-text a{
color:#e60023;
font-weight:600;
text-decoration:none;
}

.news-text a:hover{
text-decoration:underline;
}

.news-share{
margin-top:25px;
border-top:1px solid #eee;
padding-top:12px;
display:flex;
gap:14px;
font-size:14px;
}

.news-share a{
color:#e60023;
font-weight:600;
}
.goog-te-banner-frame{
display:none!important;
}

body{
top:0!important;
}
.article-wrap{
max-width:720px;
margin:auto;
padding:16px;
}

.article-title{
font-size:26px;
font-weight:800;
line-height:1.35;
margin-bottom:10px;
color:#111;
}

.article-meta{
font-size:13px;
color:#8c8c8c;
margin-bottom:12px;
}

.article-image img{
width:100%;
height:260px;
object-fit:cover;
border-radius:12px;
margin-bottom:16px;
}

.article-content{
font-size:18px;
line-height:1.7;
color:#222;
}

.article-content p{
margin-bottom:16px;
}

.article-content h2{
font-size:22px;
font-weight:700;
margin-top:22px;
margin-bottom:10px;
}

.article-content a{
color:#e30613;
font-weight:600;
text-decoration:none;
}

.article-content a:hover{
text-decoration:underline;
}

.article-share{
margin-top:25px;
border-top:1px solid #eee;
padding-top:12px;
display:flex;
gap:10px;
}

.share{
padding:8px 14px;
border-radius:6px;
color:#fff;
font-size:14px;
}

.tg{
background:#2AABEE;
}

.fb{
background:#3b5998;
}

.related-block{
margin-top:30px;
}

.related-block h3{
font-size:18px;
margin-bottom:14px;
}

.related-item{
display:flex;
gap:10px;
margin-bottom:12px;
align-items:center;
}

.related-item img{
width:90px;
height:60px;
object-fit:cover;
border-radius:8px;
}

.related-item span{
font-weight:600;
font-size:14px;
}
/* HEADER */

.site-header{
position:sticky;
top:0;
z-index:9999;
background:#fff;
border-bottom:1px solid #eee;
}

/* верх хедера */

.header-top{
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 15px;
}

/* логотип */

.logo-text{
font-size:22px;
font-weight:800;
}

.logo-a{
color:#111;
}

.logo-b{
color:#ff3b30;
}

/* меню категорій */

.category-menu{
display:flex;
gap:18px;
overflow-x:auto;
padding:10px 15px;
border-top:1px solid #eee;
background:#fff;
}

/* елементи меню */

.category-menu a{
white-space:nowrap;
font-weight:600;
color:#333;
font-size:15px;
}

/* скрол меню */

.category-menu::-webkit-scrollbar{
display:none;
}
/* FOOTER */

.site-footer{
background:#111;
color:#fff;
margin-top:40px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
padding:30px 15px;
max-width:1200px;
margin:auto;
}

.footer-widget{
margin-bottom:15px;
}

.footer-widget h3{
font-size:16px;
margin-bottom:10px;
}

.footer-widget a{
color:#ddd;
}

.footer-widget a:hover{
color:#fff;
}

.footer-bottom{
border-top:1px solid #333;
text-align:center;
padding:15px;
font-size:14px;
}

.footer-logo{
font-size:20px;
font-weight:700;
margin-bottom:5px;
}

/* MOBILE */

@media(max-width:768px){

.footer-container{
grid-template-columns:1fr 1fr;
}

}
.home-container{
max-width:450px;
margin:auto;
padding:15px;
}

.main-news img{
width:100%;
height:320px;
object-fit:cover;
border-radius:12px;
}

.main-news h1{
font-size:28px;
margin-top:10px;
}

.top-news{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:12px;
margin-top:20px;
}

.top-card img{
width:100%;
height:120px;
object-fit:cover;
border-radius:10px;
}

.top-card span{
font-weight:600;
font-size:14px;
display:block;
margin-top:5px;
}

.news-feed{
margin-top:30px;
}

.news-item{
display:flex;
gap:10px;
margin-bottom:15px;
}

.news-item img{
width:110px;
height:70px;
object-fit:cover;
border-radius:8px;
}

.news-item h3{
font-size:16px;
margin:0;
}

.time{
font-size:12px;
color:#777;
}

.popular-news{
margin-top:40px;
}

.popular-news a{
display:block;
margin-bottom:8px;
font-weight:600;
}
.rbc-container{
max-width:1100px;
margin:auto;
padding:15px;
}

/* головна новина */

.hero-news img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
}

.hero-news h1{
font-size:30px;
margin-top:10px;
}

/* 4 новини */

.top-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:12px;
margin-top:20px;
}

.grid-item img{
width:100%;
height:120px;
object-fit:cover;
border-radius:10px;
}

.grid-item span{
font-weight:600;
font-size:14px;
display:block;
margin-top:6px;
}

/* стрічка новин */

.news-list{
margin-top:30px;
}

.news-row{
display:flex;
gap:10px;
margin-bottom:15px;
}

.news-row img{
width:120px;
height:80px;
object-fit:cover;
border-radius:8px;
}

.news-row h3{
font-size:16px;
margin:0;
}

.news-time{
font-size:12px;
color:#777;
}

/* популярні */

.popular-block{
margin-top:40px;
}

.popular-block a{
display:block;
margin-bottom:8px;
font-weight:600;
}
/* контейнер */

.news-container{
max-width:1100px;
margin:auto;
padding:15px;
}

/* головна новина */

.main-image img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
}

.main-title{
font-size:24px;
margin-top:10px;
}

/* топ новини */

.top-news-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:12px;
margin-top:20px;
}

.top-news-item img{
width:100%;
height:110px;
object-fit:cover;
border-radius:8px;
}

.top-news-item h3{
font-size:15px;
margin-top:6px;
}

/* стрічка */

.news-list{
margin-top:25px;
}

.news-row{
display:flex;
gap:10px;
margin-bottom:15px;
}

.news-thumb img{
width:110px;
height:70px;
object-fit:cover;
border-radius:8px;
}

.news-text h3{
font-size:16px;
margin:0;
}

.news-time{
font-size:12px;
color:#888;
}

/* мобільна адаптація */

@media(max-width:768px){

.main-image img{
height:180px;
}

.top-news-grid{
grid-template-columns:1fr 1fr;
}

.news-thumb img{
width:95px;
height:65px;
}

}
.tg-container{
max-width:1100px;
margin:auto;
padding:10px;
}

/* TOP */

.tg-top{
position:relative;
margin-bottom:20px;
}

.tg-top-img img{
width:100%;
height:240px;
object-fit:cover;
border-radius:10px;
}

.tg-top-overlay{
position:absolute;
bottom:0;
left:0;
right:0;
padding:15px;
color:white;
background:linear-gradient(transparent,rgba(0,0,0,0.8));
}

.tg-top-overlay h1{
font-size:22px;
margin:5px 0;
}

.tg-cat{
background:#ff4d4d;
padding:4px 8px;
font-size:12px;
border-radius:4px;
}

/* tabs */

.tg-tabs{
display:flex;
border-bottom:2px solid #eee;
margin-bottom:15px;
}

.tg-tab{
flex:1;
text-align:center;
padding:10px;
font-weight:bold;
}

.tg-tab.active{
color:white;
background:#e53935;
}

/* feed */

.tg-item{
display:flex;
margin-bottom:15px;
}

.tg-item-time{
width:55px;
font-weight:bold;
color:#888;
}

.tg-item-content{
display:flex;
gap:10px;
}

.tg-thumb img{
width:90px;
height:60px;
object-fit:cover;
border-radius:6px;
}

.tg-item h3{
font-size:15px;
margin:0;
}

/* top10 */

.tg-top10{
margin-top:30px;
}

.tg-top10 h2{
margin-bottom:10px;
}

.tg-top10-item{
display:flex;
align-items:center;
gap:10px;
margin-bottom:12px;
}

.tg-thumb-small img{
width:70px;
height:50px;
object-fit:cover;
border-radius:6px;
}
.telegraf-container{
max-width:900px;
margin:auto;
padding:10px;
font-family:Arial;
}

/* HERO */

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

.hero-image img{
width:100%;
height:220px;
object-fit:cover;
border-radius:6px;
}

.hero-title{
font-size:22px;
font-weight:700;
margin-top:10px;
}

/* NEWS FEED */

.news-item{
display:flex;
gap:10px;
padding:12px 0;
border-bottom:1px solid #eee;
}

.news-time{
width:50px;
color:#999;
font-size:13px;
}

.news-content{
display:flex;
gap:10px;
align-items:center;
}

.news-thumb img{
width:90px;
height:60px;
object-fit:cover;
border-radius:5px;
}

.news-title{
font-size:16px;
line-height:1.3;
}

/* LOAD MORE */

.load-more{
text-align:center;
margin:20px 0;
}

.load-more a{
border:1px solid #e74c3c;
padding:10px 20px;
display:inline-block;
}

/* TOP10 */

.top10{
margin-top:30px;
}

.top10 h3{
font-size:20px;
margin-bottom:10px;
}

.top-item{
display:flex;
gap:10px;
margin-bottom:12px;
}

.top-thumb img{
width:80px;
height:60px;
object-fit:cover;
}

.top-title{
font-size:15px;
}
.news-feed{
margin-top:40px;
}

.feed-item{
display:flex;
gap:15px;
padding:18px 0;
border-bottom:1px solid #e5e5e5;
align-items:center;
}

.feed-image img{
width:140px;
height:90px;
object-fit:cover;
border-radius:6px;
}

.feed-text{
flex:1;
}

.feed-date{
font-size:13px;
color:#888;
margin-bottom:5px;
}

.feed-title{
font-size:18px;
font-weight:600;
color:#111;
text-decoration:none;
line-height:1.4;
}

.feed-title:hover{
color:#e3001b;
}
.main-news{
max-width:1100px;
margin:auto;
padding:20px;
}

.section-title{
display:flex;
justify-content:space-between;
align-items:center;
font-size:20px;
margin-bottom:15px;
}

.section-title span{
background:#3bb3d8;
padding:6px 12px;
color:#fff;
font-weight:600;
}

.main-top img{
width:100%;
height:260px;
object-fit:cover;
border-radius:6px;
}

.main-top h1{
font-size:22px;
margin-top:10px;
}

.news-line{
display:block;
padding:12px 0;
border-bottom:1px solid #eee;
text-decoration:none;
color:#111;
}

.news-line .time{
font-size:13px;
color:#777;
margin-bottom:4px;
}

.news-line .title{
font-size:16px;
}

.cat-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

.cat-post img{
width:100%;
height:120px;
object-fit:cover;
border-radius:6px;
}

.cat-post h3{
font-size:15px;
margin:6px 0;
}

.more-news{
display:block;
text-align:center;
padding:12px;
border:2px solid #3bb3d8;
margin-top:15px;
text-decoration:none;
font-weight:600;
}
.container{
max-width:1200px;
margin:auto;
padding:15px;
}

.top-news img{
width:100%;
height:350px;
object-fit:cover;
}

.top-news h1{
font-size:26px;
margin-top:10px;
}

.latest-news{
margin-top:30px;
}

.news-item{
display:block;
padding:10px 0;
border-bottom:1px solid #eee;
}

.news-item .time{
color:#888;
font-size:13px;
margin-right:10px;
}

.news-item .title{
font-size:16px;
}

.category-block{
margin-top:40px;
}

.cat-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

.cat-post img{
width:100%;
height:140px;
object-fit:cover;
}

.cat-post h3{
font-size:16px;
margin-top:6px;
}
.home-container{
max-width:1100px;
margin:auto;
padding:15px;
}

.main-news img{
width:100%;
height:320px;
object-fit:cover;
}

.main-news h1{
font-size:24px;
margin-top:10px;
}

.meta{
color:#777;
font-size:14px;
margin-top:6px;
}

.news-list{
margin-top:20px;
}

.news-line{
display:block;
padding:10px 0;
border-bottom:1px solid #eee;
}

.news-title{
display:block;
font-size:17px;
font-weight:500;
}

.news-date{
font-size:13px;
color:#888;
}

.more-news{
display:block;
border:2px solid #ffd400;
text-align:center;
padding:12px;
margin-top:15px;
font-weight:600;
}

.category-section{
margin-top:35px;
}

.section-title{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.cat-label{
background:#ffd400;
padding:6px 12px;
font-weight:600;
}

.category-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:15px;
}

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

.small-post img{
width:100%;
height:90px;
object-fit:cover;
}

.small-post h4{
font-size:14px;
margin-top:5px;
}
.news-container{
max-width:800px;
margin:auto;
padding:20px;
}

.section-title{
font-size:26px;
margin-bottom:20px;
}

.news-card{
margin-bottom:40px;
}

.news-card a{
text-decoration:none;
color:#000;
}

.news-image img{
width:100%;
height:auto;
border-radius:6px;
}

.news-cats{
margin-top:10px;
}

.news-cats span{
color:#1aa0d8;
font-weight:600;
margin-right:10px;
font-size:14px;
}

.news-title{
font-size:24px;
margin:10px 0;
line-height:1.3;
}

.news-excerpt{
color:#666;
font-size:16px;
line-height:1.4;
}

.read-more{
display:block;
color:#1aa0d8;
margin-top:10px;
font-weight:600;
}

.news-date{
color:#999;
font-size:14px;
margin-top:10px;
}

.all-news{
text-align:center;
margin:40px 0;
}

.all-news a{
background:#1aa0d8;
color:#fff;
padding:14px 30px;
text-decoration:none;
border-radius:4px;
font-weight:600;
}
.news-card{
background:#fff;
border-radius:18px;
margin-bottom:25px;
overflow:hidden;
box-shadow:0 4px 20px rgba(0,0,0,0.08);
}

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

.news-content{
padding:18px;
}

.news-category{
color:#888;
font-size:14px;
font-weight:600;
margin-bottom:6px;
}

.news-title{
font-size:22px;
font-weight:700;
line-height:1.35;
margin:8px 0;
}

.news-excerpt{
color:#555;
font-size:16px;
line-height:1.45;
}

.news-date{
color:#999;
font-size:14px;
margin-top:8px;
}
.read-more{
display:inline-block;
margin-top:12px;
color:#1aa0d8;
font-weight:700;
text-decoration:none;
}
.news-container{
max-width:800px;
margin:auto;
padding:20px;
}

.news-card{
background:#fff;
border-radius:20px;
margin-bottom:25px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

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

.news-content{
padding:18px;
}

.news-category{
color:#777;
font-size:14px;
margin-bottom:5px;
}

.news-title{
font-size:22px;
font-weight:700;
line-height:1.3;
margin:8px 0;
}

.news-excerpt{
color:#555;
font-size:16px;
line-height:1.4;
}

.read-more{
display:block;
margin-top:10px;
color:#1aa0d8;
font-weight:600;
}

.news-date{
color:#999;
font-size:14px;
margin-top:8px;
}
.container{
max-width:900px;
margin:auto;
padding:20px;
}

.section-title{
font-size:26px;
font-weight:700;
margin:20px 0;
}

.news-card{
background:#fff;
border-radius:18px;
overflow:hidden;
margin-bottom:25px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

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

.news-content{
padding:18px;
}

.news-category{
color:#777;
font-size:14px;
margin-bottom:5px;
}

.news-title{
font-size:22px;
font-weight:700;
line-height:1.3;
margin:8px 0;
}

.news-excerpt{
color:#555;
font-size:16px;
}

.read-more{
display:block;
margin-top:10px;
color:#1aa0d8;
font-weight:600;
}

.news-date{
color:#999;
font-size:14px;
margin-top:6px;
}

.all-news{
text-align:center;
margin:30px 0;
}

.all-news a{
background:#1aa0d8;
color:#fff;
padding:12px 25px;
border-radius:8px;
text-decoration:none;
font-weight:600;
}

.live-news{
max-width:900px;
margin:auto;
padding:20px;
background:#fafafa;
border-radius:10px;
}

.live-item{
padding:10px 0;
border-bottom:1px solid #eee;
font-size:16px;
}

.live-time{
font-weight:700;
margin-right:10px;
}
.site-container{
max-width:900px;
margin:auto;
padding:20px;
}

.section-title{
font-size:26px;
font-weight:700;
margin:30px 0 20px;
}

.news-grid{
display:grid;
grid-template-columns:1fr;
gap:25px;
}

.news-card{
background:#fff;
border-radius:18px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

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

.news-content{
padding:18px;
}

.news-category{
font-size:14px;
color:#777;
margin-bottom:6px;
}

.news-title{
font-size:22px;
font-weight:700;
line-height:1.3;
margin:8px 0;
}

.news-excerpt{
color:#555;
font-size:16px;
}

.read-more{
display:block;
margin-top:10px;
color:#1aa0d8;
font-weight:600;
}

.news-date{
color:#999;
font-size:14px;
margin-top:6px;
}

.live-feed{
background:#fafafa;
padding:15px;
border-radius:12px;
}

.live-item{
padding:10px 0;
border-bottom:1px solid #eee;
font-size:16px;
}

.live-time{
font-weight:700;
margin-right:10px;
}

.breaking-news{
background:#000;
color:#fff;
padding:10px;
margin-bottom:20px;
display:flex;
gap:10px;
align-items:center;
}

.breaking-label{
color:red;
font-weight:700;
}

.breaking-list a{
color:#fff;
margin-right:15px;
text-decoration:none;
}

.all-news{
text-align:center;
margin:40px 0;
}

.all-news a{
background:#1aa0d8;
color:#fff;
padding:14px 30px;
border-radius:8px;
text-decoration:none;
font-weight:600;
}
.breaking-news{
background:#111;
color:#fff;
padding:10px;
display:flex;
align-items:center;
overflow:hidden;
}

.breaking-label{
color:#ff3b3b;
font-weight:700;
margin-right:15px;
white-space:nowrap;
}

.breaking-slider{
display:flex;
gap:40px;
animation:scrollNews 25s linear infinite;
}

.breaking-slider a{
color:#fff;
text-decoration:none;
white-space:nowrap;
font-size:14px;
}

@keyframes scrollNews{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-100%);
}
}
.breaking-news{
background:#111;
color:#fff;
padding:8px 10px;
font-size:14px;
}

.breaking-label{
color:#ff3b3b;
font-weight:700;
margin-right:10px;
}

.breaking-news a{
color:#fff;
text-decoration:none;
margin-right:15px;
}
.breaking-bar{
display:flex;
align-items:center;
background:#111;
color:#fff;
overflow:hidden;
}

.breaking-title{
background:#e30613;
padding:10px 14px;
font-weight:700;
font-size:14px;
white-space:nowrap;
}

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

.ticker-track{
display:flex;
gap:40px;
padding:10px;
animation:tickerMove 25s linear infinite;
}

.ticker-track a{
color:#fff;
text-decoration:none;
white-space:nowrap;
font-size:14px;
}

@keyframes tickerMove{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}
.breaking-news{
display:flex;
align-items:center;
background:#f5f5f5;
padding:10px;
border-bottom:1px solid #ddd;
}

.breaking-label{
color:#e30613;
font-weight:700;
margin-right:15px;
}

.breaking-items{
display:flex;
gap:20px;
overflow-x:auto;
}

.breaking-items a{
white-space:nowrap;
color:#222;
text-decoration:none;
font-size:14px;
}
.breaking-news{
display:flex;
align-items:center;
background:#f2f2f2;
padding:8px 10px;
border-bottom:1px solid #ddd;
}

.breaking-label{
color:#e30613;
font-weight:700;
margin-right:10px;
}

.breaking-list{
display:flex;
flex-wrap:wrap;
gap:10px;
}

.breaking-item a{
color:#222;
text-decoration:none;
font-size:14px;
}

.breaking-item::after{
content:"•";
margin-left:10px;
color:#999;
}
.breaking-news{
display:flex;
background:#f5f5f5;
border-bottom:1px solid #ddd;
}

.breaking-title{
background:#e30613;
color:#fff;
padding:10px 15px;
font-weight:700;
}

.breaking-container{
overflow:hidden;
flex:1;
}

.breaking-list{
display:flex;
gap:30px;
list-style:none;
padding:10px;
margin:0;
animation:scrollNews 20s linear infinite;
}

.breaking-list{
display:flex;
gap:25px;
list-style:none;
padding:10px;
margin:0;
overflow-x:auto;
}

@keyframes scrollNews{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}
/* BREAKING NEWS */

.breaking-news{
display:flex;
align-items:center;
background:#f3f3f3;
border-bottom:1px solid #ddd;
padding:8px 0;
}

.breaking-title{
background:#e30613;
color:#fff;
padding:8px 14px;
font-weight:700;
font-size:14px;
margin-right:10px;
}

.breaking-wrapper{
display:flex;
gap:25px;
overflow-x:auto;
padding-right:10px;
}

.breaking-item{
white-space:nowrap;
text-decoration:none;
color:#222;
font-size:14px;
font-weight:500;
}

.breaking-item:hover{
color:#e30613;
}
.breaking-news{
display:flex;
align-items:center;
background:#f3f3f3;
padding:8px 10px;
border-bottom:1px solid #ddd;
}

.breaking-label{
color:#e30613;
font-weight:700;
margin-right:10px;
}

.breaking-scroll{
display:flex;
gap:20px;
overflow-x:auto;
}

.breaking-item a{
white-space:nowrap;
text-decoration:none;
color:#222;
font-size:14px;
}

.breaking-item::after{
content:"•";
margin-left:15px;
color:#999;
}
.site-container{
width:100%;
padding:10px;
box-sizing:border-box;
}

.breaking-bar{
display:flex;
background:#f3f3f3;
padding:8px;
border-bottom:1px solid #ddd;
}

.breaking-label{
color:#e30613;
font-weight:700;
margin-right:10px;
}

.breaking-items{
display:flex;
gap:20px;
overflow-x:auto;
}

.breaking-items a{
white-space:nowrap;
text-decoration:none;
color:#222;
font-size:14px;
}

.hero-news{
margin:20px 0;
}

.hero-title{
font-size:26px;
margin-top:10px;
}

.section-title{
font-size:22px;
margin:20px 0;
}

.news-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}

.news-card{
background:#fff;
border-radius:8px;
overflow:hidden;
box-shadow:0 2px 6px rgba(0,0,0,0.1);
}

.news-image img{
width:100%;
height:auto;
}

.news-content{
padding:10px;
}

.news-title{
font-size:18px;
margin:5px 0;
}

.news-excerpt{
font-size:14px;
color:#555;
}

.news-date{
font-size:12px;
color:#999;
}

@media(max-width:768px){

.news-grid{
grid-template-columns:1fr;
}

.hero-title{
font-size:22px;
}

}
/* POPULAR NEWS */

.popular-news{
margin:20px 10px;
}

.popular-header h2{
font-size:26px;
margin-bottom:15px;
}

.popular-item{
display:flex;
align-items:center;
background:#d8e6ef;
margin-bottom:10px;
padding:15px;
text-decoration:none;
color:#000;
border-radius:6px;
}

.popular-number{
font-size:38px;
font-weight:bold;
color:#7ea6be;
width:50px;
}

.popular-title{
font-size:16px;
line-height:1.4;
}
/* POPULAR BLOCK */

.popular-news{
padding:15px;
margin-top:10px;
}

.popular-head{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.popular-head h2{
font-size:26px;
font-weight:700;
letter-spacing:2px;
}

.popular-card{
display:flex;
align-items:center;
background:#d9e8f2;
padding:16px;
margin-bottom:10px;
border-radius:4px;
text-decoration:none;
color:#222;
}

.popular-num{
font-size:42px;
font-weight:700;
color:#8fb4c8;
width:60px;
}

.popular-text{
font-size:16px;
line-height:1.4;
font-weight:500;
}
/* POPULAR NEWS */

.popular-news{
padding:15px;
}

.popular-title{
font-size:26px;
font-weight:700;
margin-bottom:20px;
}

.popular-item{
display:flex;
align-items:center;
background:#dbeaf3;
padding:15px;
margin-bottom:12px;
border-radius:4px;
text-decoration:none;
color:#111;
}

.popular-number{
font-size:40px;
font-weight:700;
color:#8fb4c8;
width:60px;
flex-shrink:0;
}

.popular-text{
font-size:16px;
line-height:1.4;
}
/* POPULAR NEWS */

.popular-news{
padding:20px 15px;
}

.popular-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.popular-header h2{
font-size:26px;
font-weight:700;
letter-spacing:2px;
}

.popular-more{
font-size:14px;
color:#ff7a00;
text-decoration:none;
}

.popular-card{
display:flex;
align-items:center;
background:#dcebf3;
padding:18px;
margin-bottom:10px;
border-radius:4px;
text-decoration:none;
}

.popular-card:hover{
background:#cfe3ee;
}

.popular-num{
font-size:44px;
font-weight:700;
color:#9bbdcc;
width:60px;
flex-shrink:0;
}

.popular-title{
font-size:16px;
line-height:1.4;
color:#222;
}
/* POPULAR NEWS STYLE */

.popular-block{
padding:20px 15px;
}

.popular-top{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.popular-top h2{
font-size:28px;
font-weight:700;
letter-spacing:1px;
}

.popular-more{
color:#ff7a00;
font-size:14px;
text-decoration:none;
}

.popular-card{
display:flex;
align-items:center;
background:#dcebf3;
padding:16px;
margin-bottom:10px;
border-radius:4px;
text-decoration:none;
transition:0.2s;
}

.popular-card:hover{
background:#cfe3ee;
}

.popular-number{
font-size:46px;
font-weight:700;
color:#9bbdcc;
width:60px;
flex-shrink:0;
}

.popular-text{
font-size:16px;
line-height:1.4;
color:#222;
}
.container{
max-width:1100px;
margin:auto;
padding:20px;
}

/* POPULAR */

.popular{
margin-bottom:40px;
}

.popular-head{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.popular-head h2{
font-size:28px;
font-weight:700;
}

.popular-more{
color:#ff7a00;
text-decoration:none;
font-size:14px;
}

.popular-item{
display:flex;
align-items:center;
background:#dcebf3;
padding:15px;
margin-bottom:10px;
border-radius:4px;
text-decoration:none;
}

.popular-number{
font-size:46px;
color:#9bbdcc;
width:60px;
font-weight:700;
}

.popular-title{
color:#222;
font-size:16px;
}

/* NEWS GRID */

.section-title{
font-size:28px;
margin-bottom:20px;
}

.news-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:20px;
}

.news-card{
background:#fff;
border-radius:6px;
overflow:hidden;
}

.news-image img{
width:100%;
height:auto;
display:block;
}

.news-title{
font-size:18px;
padding:10px;
color:#111;
}

/* MOBILE */

@media(max-width:768px){

.news-grid{
grid-template-columns:1fr;
}

}
.popular-card{
display:flex;
align-items:center;
background:#dbe7ee;
padding:18px;
margin-bottom:12px;
border-radius:6px;
transition:0.2s;
}

.popular-card:hover{
background:#d0e0ea;
}

.popular-number{
font-size:56px;
font-weight:700;
color:#9bbdcc;
width:70px;
}

.popular-text{
font-size:17px;
line-height:1.4;
font-weight:500;
}
.category-container{
max-width:900px;
margin:auto;
padding:20px;
}

.category-post{
display:flex;
gap:15px;
margin-bottom:20px;
text-decoration:none;
color:#111;
}

.category-thumb img{
width:120px;
height:80px;
object-fit:cover;
border-radius:6px;
}

.category-info h2{
font-size:18px;
margin:0;
}

.category-meta{
font-size:13px;
color:#777;
margin-top:5px;
}
.popular-page{
max-width:900px;
margin:auto;
padding:20px;
}

.popular-page h1{
font-size:28px;
margin-bottom:20px;
}

.popular-item{
display:flex;
gap:15px;
padding:15px;
background:#eef3f6;
border-radius:8px;
margin-bottom:10px;
text-decoration:none;
color:#111;
}

.popular-number{
font-size:32px;
font-weight:700;
color:#7aa0b2;
min-width:40px;
}

.more-link{
color:#ff6a00;
text-decoration:none;
font-weight:600;
}
.popular-item{
display:flex;
gap:15px;
background:#eef3f6;
padding:15px;
border-radius:8px;
margin-bottom:10px;
text-decoration:none;
color:#111;
}

.popular-number{
font-size:32px;
font-weight:700;
color:#7aa0b2;
min-width:40px;
}

.page-title{
font-size:28px;
margin-bottom:20px;
}
<header style="background: <?php echo $header_color; ?>">
.breaking-news{
background:#111;
color:#fff;
display:flex;
align-items:center;
padding:6px 10px;
font-size:14px;
overflow:hidden;
}

.breaking-label{
background:#e00000;
padding:4px 8px;
margin-right:10px;
font-weight:700;
white-space:nowrap;
}

.breaking-scroll{
display:flex;
gap:40px;
white-space:nowrap;
animation:breakingScroll 30s linear infinite;
}

.breaking-scroll a{
color:#fff;
text-decoration:none;
}

@keyframes breakingScroll{

0%{
transform:translateX(100%);
}

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

}
.breaking-news{
background:#111;
color:#fff;
padding:8px 12px;
display:flex;
align-items:center;
gap:12px;
overflow:hidden;
}

.breaking-label{
background:#e00000;
padding:4px 8px;
font-weight:700;
font-size:12px;
white-space:nowrap;
}

.breaking-scroll{
display:flex;
gap:30px;
white-space:nowrap;
animation:scrollNews 25s linear infinite;
}

.breaking-scroll a{
color:#fff;
text-decoration:none;
}

@keyframes scrollNews{

0%{
transform:translateX(100%);
}

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

}
.breaking-news{
background:#fff;
border-bottom:1px solid #eee;
overflow:hidden;
}

.breaking-container{
display:flex;
align-items:center;
gap:10px;
padding:8px 10px;
}

.breaking-label{
font-weight:700;
color:#d40000;
font-size:13px;
flex-shrink:0;
}

.breaking-scroll{
display:flex;
gap:30px;
white-space:nowrap;
animation:scrollNews 35s linear infinite;
}

.breaking-scroll a{
text-decoration:none;
color:#111;
font-size:14px;
}

.breaking-scroll a:hover{
color:#d40000;
}

@keyframes scrollNews{

0%{
transform:translateX(100%);
}

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

}
.live-news{
background:#fff;
padding:10px;
border-bottom:1px solid #eee;
}

.live-label{
background:#ff0000;
color:#fff;
padding:3px 8px;
font-size:12px;
font-weight:bold;
border-radius:3px;
margin-right:10px;
}

.live-item{
display:flex;
gap:10px;
margin-bottom:6px;
font-size:14px;
}

.live-time{
color:#999;
font-size:12px;
min-width:40px;
}
.hero-news{
margin:20px 0;
}

.hero-main img{
width:100%;
border-radius:10px;
}

.hero-main h2{
font-size:22px;
margin-top:10px;
}
.container{
padding:10px;
}

.hero-news img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
}

.hero-news h1{
font-size:20px;
margin-top:10px;
}

.section-title{
margin:20px 0 10px;
font-size:18px;
font-weight:700;
}

.popular-item{
display:flex;
gap:10px;
padding:10px;
background:#eef2f5;
border-radius:8px;
margin-bottom:8px;
text-decoration:none;
color:#000;
}

.popular-number{
font-size:20px;
color:#9bb0be;
font-weight:bold;
}

.news-card{
display:block;
margin-bottom:15px;
text-decoration:none;
color:#000;
}

.news-card img{
width:100%;
height:170px;
object-fit:cover;
border-radius:10px;
}

.news-card h3{
font-size:16px;
margin-top:8px;
}

.news-card{
background:#fff;
border-radius:12px;
overflow:hidden;
margin-bottom:20px;
box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.news-card img{
width:100%;
height:auto;
display:block;
}

.news-title{
padding:12px;
font-size:18px;
color:#000;
}
.post-card{
background:#fff;
border-radius:16px;
overflow:hidden;
margin-bottom:20px;
box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.post-thumb img{
width:100%;
height:auto;
display:block;
}

.post-title{
font-size:20px;
padding:14px;
line-height:1.3;
}
#more-news{
display:none;
}
.article-container{
max-width:760px;
margin:auto;
padding:20px;
}

.breadcrumbs{
font-size:14px;
color:#888;
margin-bottom:15px;
}

.article-title{
font-size:32px;
font-weight:700;
line-height:1.3;
margin-bottom:15px;
}

.article-meta{
display:flex;
justify-content:space-between;
align-items:center;
color:#777;
font-size:14px;
margin-bottom:20px;
}

.article-image img{
width:100%;
border-radius:12px;
}

.image-caption{
font-size:13px;
color:#888;
margin-top:5px;
margin-bottom:25px;
}

.article-content{
font-size:19px;
line-height:1.8;
color:#222;
}

.article-content p{
margin-bottom:20px;
}

.related-title{
font-size:22px;
margin-top:40px;
margin-bottom:15px;
}

.related-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:15px;
}

.related-card{
text-decoration:none;
color:#111;
}

.related-img img{
width:100%;
border-radius:10px;
}

.related-text{
font-weight:600;
margin-top:8px;
}

.tags-box{
margin-top:30px;
}

.tag-item{
display:inline-block;
background:#f2f2f2;
padding:6px 12px;
border-radius:20px;
margin:4px;
font-size:14px;
text-decoration:none;
color:#333;
}

.author-box{
display:flex;
align-items:center;
margin-top:35px;
}

.author-avatar img{
border-radius:50%;
margin-right:10px;
}

.author-label{
font-size:13px;
color:#888;
}

.author-name{
font-weight:700;
}

.subscribe-box{
margin-top:35px;
text-align:center;
}

.subscribe-title{
font-size:20px;
font-weight:700;
margin-bottom:15px;
}

.btn-telegram{
display:block;
background:#2AABEE;
color:#fff;
padding:12px;
border-radius:30px;
margin-bottom:10px;
text-decoration:none;
}

.btn-viber{
display:block;
background:#7360F2;
color:#fff;
padding:12px;
border-radius:30px;
text-decoration:none;
}

.next-post{
margin-top:40px;
padding-top:20px;
border-top:1px solid #eee;
}

.next-label{
color:#ff6600;
font-size:14px;
margin-bottom:8px;
}

.next-title{
font-size:22px;
font-weight:700;
text-decoration:none;
color:#111;
}
.tsn-container{
max-width:720px;
margin:auto;
padding:20px;
}

.tsn-meta{
font-size:14px;
color:#777;
margin-bottom:10px;
display:flex;
gap:10px;
flex-wrap:wrap;
}

.tsn-title{
font-size:34px;
font-weight:700;
line-height:1.3;
margin-bottom:15px;
}

.tsn-excerpt{
font-size:20px;
color:#444;
margin-bottom:20px;
}

.tsn-author{
display:flex;
align-items:center;
gap:10px;
margin-bottom:15px;
}

.tsn-author img{
border-radius:50%;
}

.tsn-share{
margin-left:auto;
color:#e30613;
font-size:20px;
}

.tsn-image img{
width:100%;
border-radius:12px;
}

.tsn-caption{
font-size:13px;
color:#777;
margin-top:6px;
margin-bottom:20px;
}

.tsn-content{
font-size:19px;
line-height:1.8;
}

.tsn-content p{
margin-bottom:18px;
}

.tsn-content ul{
padding-left:20px;
}

.tsn-content li{
margin-bottom:10px;
}

.tsn-related-title{
margin-top:40px;
font-size:24px;
border-top:1px solid #ddd;
padding-top:20px;
}

.tsn-related-item{
display:flex;
gap:12px;
padding:15px 0;
border-bottom:1px solid #eee;
text-decoration:none;
color:#111;
}

.tsn-related-img img{
width:90px;
height:60px;
object-fit:cover;
border-radius:6px;
}

.tsn-related-title2{
font-weight:600;
}

.tsn-related-author{
font-size:13px;
color:#777;
margin-top:5px;
}
.article-container{
max-width:750px;
margin:auto;
padding:15px;
font-family:system-ui;
}

.breadcrumbs{
font-size:14px;
color:#777;
margin-bottom:10px;
}

.article-title{
font-size:32px;
font-weight:700;
margin-bottom:15px;
line-height:1.3;
}

.article-meta{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

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

.author-name{
font-weight:600;
color:#2a5db0;
}

.article-image img{
width:100%;
border-radius:6px;
}

.image-caption{
font-size:13px;
color:#777;
margin-top:5px;
}

.article-content{
font-size:19px;
line-height:1.7;
margin-top:20px;
}

.article-content h2{
font-size:24px;
margin-top:25px;
}

.article-content ul{
margin-left:20px;
}

.article-content li{
margin-bottom:10px;
}

.follow-box{
background:#f4f4f4;
padding:20px;
text-align:center;
margin-top:30px;
border-radius:8px;
}

.social-follow{
display:flex;
justify-content:center;
gap:15px;
margin-top:10px;
}

.social-follow a{
background:#eee;
padding:8px 14px;
border-radius:20px;
text-decoration:none;
color:#000;
}

.article-tags{
margin-top:20px;
}

.article-tags a{
background:#eee;
padding:6px 12px;
border-radius:20px;
margin-right:5px;
font-size:14px;
text-decoration:none;
}
.news-container{

max-width:760px;

margin:auto;

padding:20px;

}

.news-breadcrumbs{

font-size:14px;

color:#777;

margin-bottom:10px;

}

.news-title{

font-size:32px;

font-weight:700;

line-height:1.3;

margin-bottom:10px;

}

.news-meta{

color:#888;

margin-bottom:15px;

}

.news-image img{

width:100%;

border-radius:10px;

}

.news-content{

font-size:19px;

line-height:1.7;

margin-top:20px;

}

.news-tags{

margin-top:25px;

}

.news-tags a{

background:#f4f4f4;

padding:6px 12px;

border-radius:20px;

margin-right:8px;

text-decoration:none;

color:#333;

}

.news-author{

display:flex;

gap:12px;

align-items:center;

margin-top:25px;

}

.author-label{

font-size:14px;

color:#777;

}

.author-name{

font-weight:600;

}



/* READ ALSO */

.read-also{

margin-top:40px;

}

.read-slider{

display:flex;

gap:15px;

overflow-x:auto;

padding-bottom:10px;

scroll-snap-type:x mandatory;

}

.read-slider::-webkit-scrollbar{

display:none;

}

.read-card{

min-width:230px;

text-decoration:none;

color:#000;

scroll-snap-align:start;

}

.read-card img{

width:100%;

border-radius:10px;

}

.read-title{

font-size:16px;

font-weight:600;

margin-top:8px;

line-height:1.3;

}
.post-container{

max-width:760px;
margin:auto;
padding:20px;

}

.breadcrumbs{

font-size:14px;
color:#777;
margin-bottom:10px;

}

.post-title{

font-size:32px;
font-weight:700;
line-height:1.3;
margin-bottom:10px;

}

.post-meta{

color:#888;
margin-bottom:15px;

}

.post-image img{

width:100%;
border-radius:10px;

}

.post-content{

font-size:19px;
line-height:1.7;
margin-top:20px;

}

.post-author{

display:flex;
align-items:center;
gap:12px;
margin-top:25px;

}

.post-author img{

border-radius:50%;

}


/* Читайте також */

.related-news{

margin-top:40px;

}

.related-news h3{

font-size:22px;
margin-bottom:15px;

}

.related-slider{

display:flex;
overflow-x:auto;
gap:15px;
padding-bottom:10px;

scroll-snap-type:x mandatory;

}

.related-slider::-webkit-scrollbar{

display:none;

}

.related-card{

min-width:240px;
text-decoration:none;
color:#000;

scroll-snap-align:start;

}

.related-card img{

width:100%;
border-radius:10px;

}

.related-title{

font-size:16px;
font-weight:600;
margin-top:8px;
line-height:1.3;

}
.container{
max-width:1200px;
margin:0 auto;
padding:0 15px;
box-sizing:border-box;
}
.news-container{
max-width:800px;
margin:auto;
padding:20px;
}

.news-page-title{
font-size:38px;
font-weight:700;
margin-bottom:25px;
}

.news-item{
padding:20px 0;
border-bottom:1px solid #e5e5e5;
}

.news-title{
font-size:22px;
font-weight:600;
line-height:1.4;
margin-bottom:10px;
}

.news-title a{
color:#111;
text-decoration:none;
}

.news-date{
font-size:14px;
color:#777;
}

.news-badge{
display:inline-block;
background:#f26522;
color:#fff;
padding:4px 8px;
font-size:12px;
margin-bottom:10px;
font-weight:600;
}

.news-pagination{
margin-top:30px;
}
.news-badge{
display:inline-block;
background:#f26522;
color:#fff;
font-size:12px;
font-weight:700;
padding:5px 10px;
margin-bottom:10px;
}
.news-divider{
height:1px;
background:#e5e5e5;
margin:18px 0;
}

.news-badge{
display:inline-block;
background:#f26522;
color:#fff;
font-size:12px;
font-weight:700;
padding:4px 10px;
border-radius:3px;
margin-bottom:8px;
}
.important-badge{
display:inline-block;
background:#f26522;
color:#fff;
font-size:12px;
font-weight:700;
padding:6px 12px;
margin-bottom:10px;
border-radius:4px;
text-transform:uppercase;
letter-spacing:0.5px;
}

.badge-important{
display:inline-block;
background:#f26522;
color:#fff;
font-size:13px;
font-weight:700;
padding:6px 14px;
border-radius:3px;
margin-bottom:12px;
text-transform:uppercase;
letter-spacing:0.4px;
}

.important-label{
display:inline-block;
background:#f26522;
color:#ffffff;
font-size:12px;
font-weight:700;
padding:6px 14px;
border-radius:3px;
margin-bottom:12px;
text-transform:uppercase;
letter-spacing:0.5px;
}

.news-item{
padding:18px 0;
}

.news-divider{
height:1px;
background:#e6e6e6;
margin:18px 0;
}
.important-label{
display:inline-block;
background:#f26522;
color:#fff;
font-size:11px;
font-weight:700;
padding:5px 12px;
border-radius:3px;
margin-bottom:10px;
text-transform:uppercase;
letter-spacing:0.4px;
}
.news-divider{
height:1px;
background:#e5e5e5;
margin:22px 0;
}
.news-pagination{
margin-top:30px;
display:flex;
justify-content:center;
}

.news-pagination ul{
display:flex;
gap:8px;
list-style:none;
padding:0;
}

.news-pagination li{
display:inline-block;
}

.news-pagination a,
.news-pagination span{
display:flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
border:1px solid #e5e5e5;
text-decoration:none;
color:#333;
font-weight:600;
background:#fff;
}

.news-pagination .current{
background:#f26522;
color:#fff;
border-color:#f26522;
}

.news-pagination a:hover{
background:#f26522;
color:#fff;
border-color:#f26522;
}
.news-pagination ul{
list-style:none !important;
padding:0;
margin:0;
display:flex;
justify-content:center;
gap:10px;
}

.news-pagination li{
list-style:none !important;
}

.news-pagination a,
.news-pagination span{
display:flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
border:1px solid #e5e5e5;
text-decoration:none;
color:#222;
font-weight:600;
border-radius:3px;
}

.news-pagination .current{
background:#f26522;
color:#fff;
border-color:#f26522;
}

.news-pagination a:hover{
background:#f26522;
color:#fff;
}
.news-pagination{
display:flex;
justify-content:center;
margin:30px 0;
}

.news-pagination ul{
display:flex;
gap:10px;
list-style:none;
padding:0;
margin:0;
}

.news-pagination li{
list-style:none;
}

.news-pagination a,
.news-pagination span{
display:flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
border:1px solid #e5e5e5;
text-decoration:none;
color:#333;
font-weight:600;
background:#fff;
}

.news-pagination .current{
background:#f26522;
color:#fff;
border-color:#f26522;
}

.news-pagination .dots{
border:none;
width:auto;
padding:0 8px;
}

.news-pagination a:hover{
background:#f26522;
color:#fff;
border-color:#f26522;
}
.news-pagination{
display:flex;
justify-content:center;
gap:10px;
margin:30px 0;
flex-wrap:wrap;
}

.news-pagination .page-numbers{
display:flex;
align-items:center;
justify-content:center;
width:42px;
height:42px;
border:1px solid #e5e5e5;
text-decoration:none;
color:#333;
font-weight:600;
background:#fff;
}

.news-pagination .current{
background:#f26522;
color:#fff;
border-color:#f26522;
}

.news-pagination a:hover{
background:#f26522;
color:#fff;
}
.error404-page{
text-align:center;
max-width:700px;
margin:auto;
padding:80px 20px;
}

.error-code{
font-size:80px;
margin-bottom:10px;
}

.error-title{
font-size:28px;
margin-bottom:10px;
}

.error-text{
color:#666;
margin-bottom:30px;
}

.error-actions{
display:flex;
justify-content:center;
gap:15px;
margin-bottom:30px;
flex-wrap:wrap;
}

.btn-home,
.btn-news{
background:#f26522;
color:#fff;
padding:12px 22px;
text-decoration:none;
font-weight:600;
border-radius:4px;
}

.btn-home:hover,
.btn-news:hover{
opacity:0.9;
}

.error-search{
margin-bottom:40px;
}

.latest-title{
margin-bottom:20px;
}

.latest-item{
padding:12px 0;
border-bottom:1px solid #eee;
}

.latest-item a{
font-weight:600;
text-decoration:none;
color:#222;
}

.latest-date{
font-size:13px;
color:#888;
margin-top:4px;
}
.error404-wrap{
max-width:800px;
margin:auto;
padding:60px 20px;
}

.error404-box{
text-align:center;
margin-bottom:40px;
}

.error404-code{
font-size:70px;
margin-bottom:10px;
}

.error404-title{
font-size:28px;
margin-bottom:10px;
}

.error404-text{
color:#777;
margin-bottom:25px;
}

.error404-buttons{
display:flex;
justify-content:center;
gap:15px;
margin-bottom:25px;
flex-wrap:wrap;
}

.error-btn{
background:#f26522;
color:#fff;
padding:10px 20px;
text-decoration:none;
font-weight:600;
border-radius:4px;
}

.error-btn:hover{
opacity:0.9;
}

.error404-search{
max-width:400px;
margin:auto;
margin-bottom:40px;
}

.latest404-title{
font-size:22px;
margin-bottom:20px;
}

.latest404-item{
padding:15px 0;
border-bottom:1px solid #eee;
}

.latest404-link{
font-weight:600;
text-decoration:none;
color:#111;
}

.latest404-date{
font-size:13px;
color:#888;
margin-top:4px;
}
.news-pagination{
display:flex;
justify-content:center;
gap:8px;
margin:30px 0;
font-weight:600;
}

.news-pagination a,
.news-pagination span{
padding:8px 12px;
border-radius:6px;
background:#f2f2f2;
text-decoration:none;
color:#222;
}

.news-pagination .current{
background:#ff3b00;
color:#fff;
}

.news-pagination a:hover{
background:#ff3b00;
color:#fff;
}
.news-pagination{
display:flex;
justify-content:center;
gap:8px;
margin:40px 0;
flex-wrap:wrap;
}

.news-pagination a,
.news-pagination span{
display:flex;
align-items:center;
justify-content:center;
width:44px;
height:44px;
border:1px solid #ddd;
background:#fff;
font-size:16px;
text-decoration:none;
color:#333;
}

.news-pagination .current{
background:#ff6a00;
color:#fff;
border-color:#ff6a00;
}

.news-pagination a:hover{
background:#ff6a00;
color:#fff;
border-color:#ff6a00;
}
.maxi-pagination{
display:flex;
justify-content:center;
gap:8px;
margin:40px 0;
flex-wrap:wrap;
}

.maxi-pagination a,
.maxi-pagination span{
display:flex;
align-items:center;
justify-content:center;
width:44px;
height:44px;
border:1px solid #ddd;
background:#fff;
font-size:16px;
text-decoration:none;
color:#333;
}

.maxi-pagination .current{
background:#ff6a00;
color:#fff;
border-color:#ff6a00;
}
.news-item{
padding:22px 0;
border-bottom:1px solid #e5e5e5;
}

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

.news-title{
font-size:20px;
font-weight:700;
line-height:1.35;
margin-bottom:8px;
}

.news-title a{
color:#111;
text-decoration:none;
}

.news-title a:hover{
color:#f26522;
}

.news-date{
font-size:13px;
color:#888;
margin-top:6px;
}

.news-important{
display:inline-block;
background:#f26522;
color:#fff;
padding:5px 12px;
font-size:12px;
font-weight:700;
border-radius:4px;
margin-bottom:10px;
}
.news-item{
padding:26px 0;
border-bottom:1px solid #e6e6e6;
margin-top:10px;
transition:all 0.2s ease;
}

.news-item:hover{
background:#fafafa;
padding-left:6px;
}

.news-title a{
color:#111;
text-decoration:none;
transition:color 0.2s ease;
}

.news-title a:hover{
color:#f26522;
}
header{

position:sticky;
top:0;

z-index:9999;

box-shadow:0 2px 8px rgba(0,0,0,0.1);

}
.popular-item{

display:flex;
align-items:center;

background:#eaf2f7;

padding:18px;
border-radius:14px;

margin-bottom:14px;

transition:all .2s ease;

}

.popular-item:hover{
transform:translateY(-2px);
box-shadow:0 5px 12px rgba(0,0,0,0.08);
}

.popular-number{

font-size:42px;
font-weight:800;

color:#a7bccb;

margin-right:15px;

}

.popular-title{

font-size:16px;
font-weight:600;

line-height:1.4;

}
/* HEADER */

.site-header{

position:sticky;
top:0;
z-index:9999;

background:#d80000;

box-shadow:0 2px 10px rgba(0,0,0,0.15);

}

.header-inner{

display:flex;
align-items:center;
justify-content:space-between;

padding:12px 16px;

}

/* LOGO */

.site-logo{

display:flex;
align-items:center;

font-size:22px;
font-weight:700;
color:#ffd200;

}

/* LANGUAGE BUTTONS */

.lang-switch{

display:flex;
gap:8px;

}

.lang-switch a{

background:#fff;
color:#000;

padding:4px 10px;

border-radius:6px;

font-size:13px;
font-weight:600;

text-decoration:none;

}

/* MENU */

.menu-toggle{

font-size:24px;
color:#fff;
cursor:pointer;

}
.category-menu{

display:flex;

overflow-x:auto;

background:#f6f6f6;

border-bottom:1px solid #ddd;

}

.category-menu a{

padding:10px 14px;

font-weight:600;

color:#333;

white-space:nowrap;

text-decoration:none;

}

.category-menu a:hover{

color:#d80000;

}
/* FIXED HEADER */

header,
.site-header,
.header{

position:fixed;
top:0;
left:0;
right:0;

z-index:9999;

background:#d80000;

box-shadow:0 3px 10px rgba(0,0,0,0.15);

}

/* щоб контент не заїжджав під хедер */

body{

padding-top:70px;

}
/* STICKY HEADER */

header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:9999;
background:#d60000;
}

/* відступ під header */

body{
padding-top:160px;
}
.menu-toggle{
display:none !important;
}

.mobile-menu-toggle{
display:none !important;
}

.nav-toggle{
display:none !important;
}
.cat-menu{
display:none;
flex-direction:column;
background:#fff;
border-top:1px solid #eee;
}

.cat-menu.menu-open{
display:flex;
}
.side-menu{
position:fixed;
top:0;
left:0;
width:260px;
height:100%;
background:#fff;
z-index:99999;
padding:20px;

transform:translateX(-100%);
transition:0.3s;
}

.side-menu.open{
transform:translateX(0);
}

.side-menu a{
display:block;
padding:12px 0;
border-bottom:1px solid #eee;
text-decoration:none;
color:#222;
font-size:16px;
}

.side-close{
font-size:22px;
margin-bottom:20px;
cursor:pointer;
}
<style>

header{
background:<?php echo get_option('header_color','#d60000'); ?>;
}

body{
font-family:<?php echo get_option('custom_font','Arial'); ?>;
}

</style>

header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:9999;
}

body{
padding-top:110px;
}

@media (max-width:768px){
body{
padding-top:140px;
}
}
/* STICKY HEADER */

.sticky-header{
position:sticky;
top:0;
z-index:9999;
}

body{
padding-top:0;
}
.post-content a{
display:inline-block;
background:#f5f7fb;
border:2px solid #e00000;
color:#e00000;
padding:10px 16px;
border-radius:8px;
text-decoration:none;
font-weight:600;
margin:10px 0;
word-break:break-word;
}

.post-content a:hover{
background:#e00000;
color:#fff;
}

.post-content a{
word-break: break-all;
overflow-wrap: anywhere;
}

.post-content{
overflow-wrap: anywhere;
word-break: break-word;
}

/* H1 заголовок новини */

h1{
font-size:42px;
line-height:1.2;
margin-bottom:15px;
}

/* планшет */

@media (max-width:1024px){
h1{
font-size:34px;
}
}

/* телефон */

@media (max-width:768px){
h1{
font-size:26px;
line-height:1.3;
}
}

/* Заголовок новини */

.entry-title{
font-size:24px;
line-height:1.3;
font-weight:800;
margin-bottom:12px;
}

/* ще менше для телефонів */

@media (max-width:480px){
.entry-title{
font-size:22px;
line-height:1.35;
}
}/* Заголовок новини */

.entry-title{
font-size:24px;
line-height:1.3;
font-weight:800;
margin-bottom:12px;
}

/* ще менше для телефонів */

@media (max-width:480px){
.entry-title{
font-size:22px;
line-height:1.35;
}
}

/* Заголовок тільки у новині */

.single .entry-title{
font-size:24px;
line-height:1.3;
font-weight:800;
letter-spacing:-0.3px;
margin:10px 0 12px;
}

/* мобільний */

@media (max-width:768px){
.single .entry-title{
font-size:22px;
}
}

.site-footer{
background:#0b0b0b;
color:#ccc;
padding:50px 20px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:40px;
}

.footer-col{
font-size:14px;
line-height:1.6;
}

.footer-col h3{
color:#fff;
font-size:18px;
margin-bottom:15px;
}

.footer-col ul{
list-style:none;
padding:0;
margin:0;
}

.footer-col li{
display:flex;
justify-content:space-between;
padding:6px 0;
border-bottom:1px solid #222;
}

.footer-col a{
color:#ccc;
text-decoration:none;
}

.footer-col a:hover{
color:#fff;
}

.footer-bottom{
margin-top:40px;
border-top:1px solid #222;
padding-top:20px;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
}

.footer-logo{
font-size:22px;
font-weight:700;
color:#fff;
}

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

/* мобільна версія */

@media(max-width:900px){

.footer-container{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:600px){

.footer-container{
grid-template-columns:1fr;
}

.footer-bottom{
flex-direction:column;
gap:10px;
text-align:center;
}

}

.site-footer{
background:#111;
color:#ccc;
padding:40px 20px;
}

.footer-container{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.footer-bottom{
border-top:1px solid #333;
margin-top:30px;
padding-top:20px;
text-align:center;
}

.footer-logo{
font-size:22px;
color:#fff;
font-weight:700;
}

.footer-copy{
font-size:14px;
opacity:.7;
}
/* CATEGORY MENU FIX */

.cat-menu{
display:flex !important;
flex-direction:row !important;
align-items:center;
gap:20px;
padding:12px 15px;
background:#f2f2f2;
overflow-x:auto;
}

.cat-menu a{
display:inline-block !important;
white-space:nowrap;
font-weight:600;
text-decoration:none;
color:#222;
font-size:16px;
}

.cat-menu a:hover{
color:#d40000;
}

#cookie-banner{
position:fixed;
bottom:0;
left:0;
width:100%;
background:#111;
color:#fff;
padding:15px;
display:flex;
justify-content:space-between;
align-items:center;
z-index:9999;
font-size:14px;
}

#cookie-banner button{
background:#e00000;
color:#fff;
border:none;
padding:10px 20px;
cursor:pointer;
font-weight:bold;
}

#cookie-banner{
position:fixed;
bottom:0;
left:0;
width:100%;
background:#111;
color:#fff;
padding:15px;
display:flex;
justify-content:space-between;
align-items:center;
z-index:99999;
font-size:14px;
}

#cookie-btn{
background:#d60000;
color:#fff;
border:none;
padding:8px 16px;
font-weight:bold;
cursor:pointer;
}
.inline-read-more {
    background: #f1f4f8;
    border-radius: 14px;
    padding: 16px;
    margin: 20px 0;
}

.inline-read-more span {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #3aa0c8;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.inline-read-more a {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    line-height: 1.4;
}

.inline-read-more a:hover {
    text-decoration: underline;
}
.inline-read-more {
    background: #f1f4f8;
    border-radius: 14px;
    padding: 16px;
    margin: 20px 0;
}

.inline-read-more span {
    display: block;
    font-size: 12px;
    font-weight: bold;
    color: #3aa0c8;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.inline-read-more a {
    font-size: 18px;
    font-weight: 600;
    color: #000 !important;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.inline-read-more a:hover {
    text-decoration: underline;
}
.inline-read-more {
    background: #f3f6f9;
    border-radius: 16px;
    padding: 18px;
    margin: 25px 0;
    border-left: 4px solid #3aa0c8;
}

.inline-read-more span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #3aa0c8;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.inline-read-more a {
    font-size: 19px;
    font-weight: 700;
    color: #111 !important;
    text-decoration: none;
    line-height: 1.5;
    display: block;
}

.inline-read-more a:hover {
    color: #3aa0c8 !important;
}
.popular-block {
    counter-reset: none !important;
}

.popular-card::before {
    display: none !important;
}
.popular-card {
    counter-increment: none !important;
}

.popular-card::before {
    content: none !important;
    display: none !important;
}

.popular-block {
    counter-reset: none !important;
}

.all-news-btn {
    background: #d40000 !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
}

.all-news-btn:hover {
    background: #a80000 !important;
}
img {
    max-width: 100%;
    height: auto;
}
/* === SITEMAP PRO DESIGN === */

.sitemap-wrap {
    max-width: 1100px;
    margin: auto;
    padding: 15px;
}

.sitemap-wrap h1 {
    font-size: 26px;
    margin-bottom: 15px;
}

.sitemap-wrap h2 {
    font-size: 18px;
    margin: 15px 0 8px;
}

/* 2 колонки */
.sitemap-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* списки */
.sitemap-wrap ul {
    padding-left: 18px;
    margin: 0;
}

.sitemap-wrap li {
    margin-bottom: 6px;
    line-height: 1.4;
}

/* посилання */
.sitemap-wrap a {
    color: #1e5aa5;
    text-decoration: none;
    font-weight: 500;
}

.sitemap-wrap a:hover {
    text-decoration: underline;
}

/* новини */
.sitemap-posts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 25px;
}

/* дата */
.sitemap-posts small {
    font-size: 12px;
    color: #888;
}

/* мобілка */
@media (max-width: 768px) {
    .sitemap-grid,
    .sitemap-posts {
        grid-template-columns: 1fr;
    }
}

/* ПРИБРАТИ ФУТЕР */
.site-footer,
footer:not(.custom-footer-block) {
    display: none !important;
}