*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:Arial,sans-serif;
background:#f5f7fb;
color:#1e293b;
line-height:1.7;
}

.container{
width:min(1200px,92%);
margin:auto;
}

.header{
background:#fff;
padding:18px 0;
box-shadow:0 4px 14px rgba(0,0,0,.05);
position:sticky;
top:0;
z-index:100;
}

.header-inner{
display:grid;
grid-template-columns:1fr auto 1fr;
align-items:center;
gap:20px;
}

.site-name a{
font-size:22px;
font-weight:700;
text-decoration:none;
color:#1e293b;
}

.logo{
justify-self:center;
}

.logo img{
height:80px;
}

.header-right{
justify-self:end;
min-width:200px;
display:flex;
justify-content:flex-end;
}

.header-tip{
font-size:14px;
background:#eef2ff;
padding:10px 14px;
border-radius:10px;
color:#4f46e5;
font-weight:500;
}

.hero{
padding:70px 0;
text-align:center;
}

.hero h1{
font-size:42px;
margin-bottom:10px;
}

.hero p{
margin-bottom:25px;
color:#64748b;
}

.search-form{
display:flex;
justify-content:center;
gap:10px;
flex-wrap:wrap;
}

.search-form input{
padding:14px;
width:340px;
border:none;
border-radius:12px;
box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.search-form button{
padding:14px 24px;
background:#2563eb;
color:#fff;
border:none;
border-radius:12px;
cursor:pointer;
}

.cards-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.card{
background:#fff;
padding:24px;
border-radius:18px;
text-decoration:none;
color:#111;
box-shadow:0 4px 18px rgba(0,0,0,.05);
transition:.3s;
}

.card:hover{
transform:translateY(-5px);
}

.card-date{
font-size:14px;
color:#64748b;
margin-bottom:10px;
}

.card-title{
font-size:20px;
font-weight:600;
margin-bottom:12px;
}

.article{
padding:50px 0;
}

.article .container{
background:#fff;
padding:35px;
border-radius:20px;
box-shadow:0 4px 20px rgba(0,0,0,.06);
}

.breadcrumbs{
margin-bottom:25px;
}

.breadcrumbs a{
text-decoration:none;
color:#2563eb;
font-weight:500;
}

.meta{
margin:15px 0 25px;
display:flex;
gap:20px;
color:#64748b;
}

.related-block{
margin-top:70px;
padding-top:30px;
border-top:1px solid #eee;
}

.related-title{
text-align:center;
margin-bottom:30px;
font-size:28px;
}

.pagination{
display:flex;
justify-content:center;
align-items:center;
gap:8px;
margin-top:40px;
flex-wrap:wrap;
}

.pagination a{
padding:10px 14px;
background:#fff;
border-radius:10px;
text-decoration:none;
color:#1e293b;
transition:.2s;
min-width:38px;
text-align:center;
}

.pagination a:hover{
transform:translateY(-2px);
background:#eef2ff;
}

.pagination .active{
background:#2563eb;
color:#fff;
font-weight:600;
}

.pagination .arrow{
font-weight:bold;
font-size:16px;
}

.pagination .dots{
padding:10px;
color:#64748b;
}

.footer{
padding:40px 0;
text-align:center;
color:#64748b;
}

.btn{
display:inline-block;
padding:14px 28px;
background:#2563eb;
color:#fff;
text-decoration:none;
border-radius:12px;
}

#scrollTopBtn{
position:fixed;
right:20px;
bottom:20px;
width:50px;
height:50px;
border:none;
border-radius:50%;
background:#2563eb;
color:#fff;
font-size:22px;
cursor:pointer;
opacity:0;
pointer-events:none;
transition:.3s;
}

#scrollTopBtn.show{
opacity:1;
pointer-events:auto;
}

/* РАЗДЕЛ ФУТЕРА */
.footer-links a{
text-decoration:none;
color:#2563eb;
font-weight:500;
position:relative;
transition:.25s;
}

/* убираем фиолетовый visited */
.footer-links a:visited{
color:#2563eb;
}

/* эффект подъёма */
.footer-links a:hover{
transform:translateY(-2px);
}

/* underline анимация */
.footer-links a::after{
content:"";
position:absolute;
left:0;
bottom:-3px;
width:0%;
height:2px;
background:#2563eb;
transition:.25s;
}

.footer-links a:hover::after{
width:100%;
}

.footer-top{
margin-bottom:15px;
}

.footer-divider{
height:1px;
background:#e5e7eb;
margin:15px auto 20px;
max-width:600px;
}

.footer-note{
font-size:13px;
color:#64748b;
max-width:800px;
margin:0 auto 15px;
line-height:1.6;

/* ВОТ ЗДЕСЬ УПРАВЛЯЕШЬ */
font-family: "Inter", Arial, sans-serif;
font-weight:400;
letter-spacing:0.2px;
}

/* ВОТ ЗДЕСЬ УПРАВЛЯЕШЬ КУКИ */
.cookie-banner{
position:fixed;
bottom:20px;
left:50%;
transform:translateX(-50%) translateY(20px);

background:#fff;
padding:14px 18px;
border-radius:14px;

box-shadow:0 10px 30px rgba(0,0,0,.1);

display:flex;
align-items:center;
gap:15px;

opacity:0;
pointer-events:none;
transition:.3s;

z-index:999;
}

.cookie-banner.show{
opacity:1;
transform:translateX(-50%) translateY(0);
pointer-events:auto;
}

.cookie-text{
font-size:14px;
color:#475569;
}

.cookie-btn{
background:#2563eb;
color:#fff;
border:none;
padding:8px 14px;
border-radius:8px;
cursor:pointer;
transition:.2s;
}

.cookie-btn:hover{
background:#1d4ed8;
}

.ym-informer-bottom{
width:min(1200px,92%);
margin:10px auto 30px;
display:flex;
justify-content:flex-start;
}

@media(max-width:768px){

.header-inner{
grid-template-columns:1fr auto;
}

.header-right{
display:none;
}

.logo img{
height:42px;
}

.hero h1{
font-size:30px;
}

.article .container{
padding:20px;
}

.search-form input{
width:100%;
}

.cookie-banner{
width:90%;
flex-direction:column;
text-align:center;
}

.ym-informer-bottom{
display:none;
}

}
