/*
Theme Name: Your Theme
Author: You
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Manrope:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Manrope', sans-serif;

    font-size:16px;

    color:#666;

    line-height:1.7;

}

h1,
h2,
h3,
h4,
h5,
h6{

    font-family:'Space Grotesk', sans-serif;

    font-weight:700;

    letter-spacing:-0.03em;

}

.single-post .page-title{

    font-family:'Space Grotesk', sans-serif;

    font-weight:700;

    letter-spacing:-0.05em;

}

.single-category{

    font-family:'Bebas Neue', sans-serif;

    font-size:18px;

    letter-spacing:1.5px;

}

.sf-menu a{

    font-family:'Space Grotesk', sans-serif!important;

    font-weight:600!important;

}

.entry-content{

    font-family:'Manrope', sans-serif!important;

    font-weight:400!important;

}

.footer-brand{

    font-family:'Space Grotesk', sans-serif;

    font-weight:800;

}

.footer-menu a{

    font-family:'Manrope', sans-serif;

}

.fake-comment strong{

    font-family:'Space Grotesk', sans-serif;

}

.stars{

    font-family:'Bebas Neue', sans-serif;

    font-size:22px;

}

.post-meta,
.breadcrumbs,
.fake-comment small{

    font-family:'Manrope', sans-serif;

    font-size:13px;

    letter-spacing:.02em;

}

a{

    text-decoration:none;
    color:inherit;
    transition:.25s;
}

ul{
    list-style:none;
}

img{
    max-width:100%;
    height:auto;
    display:block;
}

.container{

    max-width:1250px;
    margin:auto;
    padding:0 20px;
}

/* ===========================
HEADER
=========================== */

.site-header{

    position:relative;
    z-index:1000;
}

.header-inner{

    background:#fff;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
    transition:.3s;
}

.header-inner.fixed{

    position:fixed;
    top:0;
    left:0;
    width:100%;
    animation:header .3s ease;
}

@keyframes header{

from{

    transform:translateY(-100%);
}

to{

    transform:translateY(0);
}

}

.header-wrapper{

    height:90px;

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

.brand{

    flex-shrink:0;
}

.brand div{

    font-size:30px;
    color:#222;
	font-weight: 600;
}

.brand img{

    max-height:70px;
    width:auto;
}

/* MENU */

.main-nav{

    margin-left:auto;
}

.sf-menu{

    display:flex;
    align-items:center;
    gap:10px;
}

.sf-menu>li{

    position:relative;
}

.sf-menu>li>a{

    display:block;
    padding:34px 15px;
    font-weight:600;
    color:#555;
}

.sf-menu>li>a:hover{

    color:#c44741;
}

.current-menu-item>a{

    color:#c44741;
}

/* Dropdown */

.sf-menu ul{

    position:absolute;
    top:100%;
    left:0;

    min-width:220px;

    background:#fff;

    opacity:0;
    visibility:hidden;

    transition:.25s;

    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.sf-menu li:hover>ul{

    opacity:1;
    visibility:visible;
}

.sf-menu ul li a{

    display:block;
    padding:14px 18px;
    border-bottom:1px solid #eee;
}

.sf-menu ul li:last-child a{

    border:none;
}

.sf-menu ul li a:hover{

    background:#f7f7f7;
}

/* Mobile */

.menu-toggle{

    display:none;

    width:46px;
    height:46px;

    border:none;

    background:none;

    font-size:28px;

    cursor:pointer;
}

@media(max-width:768px){

.menu-toggle{

    display:block;
}

.main-nav{

    position:absolute;

    left:0;
    top:100%;

    width:100%;

    display:none;

    background:#fff;
}

.main-nav.active{

    display:block;
}

.sf-menu{

    display:block;
}

.sf-menu li{

    border-top:1px solid #eee;
}

.sf-menu li a{

    padding:18px;
}

.sf-menu ul{

    position:static;
    opacity:1;
    visibility:visible;
    display:none;
    box-shadow:none;
    background:#f8f8f8;
}

.sf-menu li.open>ul{

    display:block;
}

}

/*==========================
FOOTER
==========================*/

.site-footer{

    margin-top:80px;
    background:#181818;
    color:#bdbdbd;
}

.footer-top{

    display:grid;
    grid-template-columns:240px 1fr;
    gap:50px;

    padding:60px 0 40px;
}

.footer-brand{

    font-size:34px;
    font-weight:700;
}

.footer-brand a{

    color:#fff;
}

.footer-menu{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:10px 25px;
}

.footer-menu li{

    margin:0;
}

.footer-menu a{

    display:block;

    padding:4px 0;

    color:#cfcfcf;

    font-size:15px;
}

.footer-menu a:hover{

    color:#fff;
    padding-left:6px;
}

.footer-warning{

    border-top:1px solid rgba(255,255,255,.08);
    border-bottom:1px solid rgba(255,255,255,.08);

    padding:35px 0;
}

.footer-18{

    display:flex;
    align-items:center;
    gap:25px;
}

@media(max-width:900px) {
	.footer-18 {
		align-items:flex-start;
	}
}

.badge18{

    width:72px;
    height:72px;

    border-radius:50%;

    background:#d12525;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:26px;

    font-weight:700;

    flex-shrink:0;
}

.footer-18 p{

    margin:0;

    font-size:14px;

    line-height:1.8;

    color:#a8a8a8;
}

.footer-bottom{

    padding:28px 0;

    text-align:center;
}

.footer-bottom p{

    margin:0;

    font-size:13px;

    color:#8f8f8f;
}

/*==========================
Responsive
==========================*/

@media(max-width:900px){

.footer-top{

    grid-template-columns:1fr;

    gap:35px;
}

}

@media(max-width:700px){

.footer-menu{

    grid-template-columns:repeat(2,1fr);
}

.footer-18{

    flex-direction:column;

    align-items:center;

    text-align:center;
}

}

@media(max-width:480px){

.footer-menu{

    grid-template-columns:1fr;
}

.footer-brand{

    text-align:center;
}

}

/*====================================
PAGE
====================================*/

.page-cover{

    margin-bottom:50px;
}

.page-cover img{

    display:block;

    width:100%;

    max-height:520px;

    object-fit:cover;
}

/*====================================
CONTENT
====================================*/

.entry-content{

    max-width:100%;

    overflow:hidden;

    color:#444;

    font-size:18px;

    line-height:1.8;

    word-wrap:break-word;
}

/* paragraphs */

.entry-content p{

    margin:0 0 28px;
}

/* headings */

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6{

    color:#1d1d1d;

    font-weight:700;

    line-height:1.3;

    margin:45px 0 20px;
}

.entry-content h1{

    font-size:42px;
}

.entry-content h2{

    font-size:34px;
}

.entry-content h3{

    font-size:28px;
}

.entry-content h4{

    font-size:24px;
}

.entry-content h5{

    font-size:20px;
}

.entry-content h6{

    font-size:18px;
}

/* links */

.entry-content a{

    color:#0a72c8;

    text-decoration:underline;
}

.entry-content a:hover{

    text-decoration:none;
}

/* images */

.entry-content img{

    display:block;

    max-width:100%;

    height:auto;

    border-radius:10px;
}

/* Gutenberg */

.entry-content .wp-block-image{

    margin:35px auto;
}

.entry-content .wp-block-image img{

    width:100%;
}

.entry-content .aligncenter{

    margin-left:auto;
    margin-right:auto;
}

.entry-content .alignleft{

    float:left;

    margin:0 30px 20px 0;
}

.entry-content .alignright{

    float:right;

    margin:0 0 20px 30px;
}

.entry-content .alignwide{

    width:100vw;

    max-width:1200px;

    margin-left:50%;

    transform:translateX(-50%);
}

.entry-content .alignfull{

    width:100vw;

    max-width:100vw;

    margin-left:50%;

    transform:translateX(-50%);
}

/* lists */

.entry-content ul,
.entry-content ol{

    margin:25px 0;

    padding-left:28px;
}

.entry-content li{

    margin:10px 0;
}

/* blockquote */

.entry-content blockquote{

    margin:40px 0;

    padding:30px;

    background:#f7f7f7;

    border-left:5px solid #0a72c8;

    font-style:italic;
}

/* code */

.entry-content code{

    background:#eee;

    padding:3px 6px;

    border-radius:4px;
}

.entry-content pre{

    overflow:auto;

    padding:25px;

    background:#202020;

    color:#fff;

    border-radius:10px;
}

/* tables */

.entry-content table{

    width:100%;

    border-collapse:collapse;

    margin:35px 0;

    display:block;

    overflow-x:auto;

    white-space:nowrap;
}

.entry-content th{

    background:#2d2d2d;

    color:#fff;

    padding:14px;

    text-align:left;
}

.entry-content td{

    padding:14px;

    border:1px solid #ddd;
}

/* iframe */

.entry-content iframe{

    width:100%;

    aspect-ratio:16/9;

    border:none;
}

/* videos */

.entry-content video{

    width:100%;
}

/* hr */

.entry-content hr{

    margin:50px 0;

    border:none;

    border-top:1px solid #ddd;
}

/*====================================
RESPONSIVE
====================================*/

@media(max-width:992px){

.entry-content{

    font-size:17px;
}

.entry-content h1{

    font-size:36px;
}

.entry-content h2{

    font-size:30px;
}

.entry-content h3{

    font-size:25px;
}

}

@media(max-width:768px){

.entry-content{

    font-size:16px;
}

.entry-content h1{

    font-size:30px;
}

.entry-content h2{

    font-size:26px;
}

.entry-content h3{

    font-size:22px;
}

.entry-content .alignleft,
.entry-content .alignright{

    float:none;

    margin:30px auto;

    display:block;
}

.page-cover{

    margin-bottom:30px;
}

}

@media(max-width:480px){

.entry-content{

    font-size:15px;
}

.entry-content h1{

    font-size:28px;
}

.entry-content h2{

    font-size:24px;
}

.entry-content h3{

    font-size:20px;
}

.entry-content table{

    font-size:14px;
}

}

.page-header{
	
	margin-top: 40px;

    margin-bottom:40px;
}

.page-title{

    margin:0;

    font-size:46px;

    line-height:1.2;

    font-weight:700;

    color:#222;
	
}

@media(max-width:992px){

.page-title{

    font-size:38px;
}

}

@media(max-width:768px){

.page-title{

    font-size:32px;
}

}

@media(max-width:480px){

.page-title{

    font-size:28px;
}

}

/* =========================================
SINGLE POST
========================================= */


/* COVER */

.single-post .page-cover{

    width:100%;

    margin-bottom:40px;

    overflow:hidden;

}

.single-post .page-cover img{

    width:100%;

    height:520px;

    object-fit:cover;

    border-radius:0;

}


/* =========================================
BREADCRUMBS
========================================= */

.breadcrumbs{

    display:flex;

    flex-wrap:wrap;

    align-items:center;

    gap:10px;

    margin-bottom:25px;

    font-size:14px;

    color:#888;

}

.breadcrumbs a{

    color:#555;

}

.breadcrumbs a:hover{

    color:#0d6efd;

}

.breadcrumbs span{

    color:#bbb;

}



/* =========================================
CATEGORY BADGE
========================================= */

.single-category{

    display:inline-flex;

    align-items:center;

    padding:7px 18px;

    margin-bottom:20px;

    border-radius:30px;

    background:#0d6efd;

    color:#fff;

    font-size:13px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.5px;

}

.single-category:hover{

    background:#084298;

    color:#fff;

}



/* =========================================
TITLE
========================================= */

.page-header{

    margin-bottom:40px;

}


.page-title{

    font-size:48px;

    line-height:1.15;

    color:#151515;

    font-weight:800;

    margin:0 0 20px;

}


.post-meta{

    color:#888;

    font-size:14px;

}


/* =========================================
CONTENT SPACING
========================================= */


.single-post .entry-content{

    margin-bottom:70px;

}


/* =========================================
COMMENTS
========================================= */


.fake-comments{

    margin-top:70px;

    padding-top:50px;

    border-top:1px solid #eee;

}


.fake-comments h2{

    font-size:32px;

    margin-bottom:35px;

}


.fake-comment{

    display:flex;

    gap:20px;

    background:#fff;

    padding:25px;

    margin-bottom:20px;

    border-radius:16px;

    box-shadow:0 8px 30px rgba(0,0,0,.06);

}


.avatar{

    width:55px;

    height:55px;

    background:#0d6efd;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    font-weight:700;

    font-size:22px;

    flex-shrink:0;

}


.comment-body{

    flex:1;

}


.comment-head{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:10px;

}


.comment-head strong{

    color:#222;

}


.stars{

    color:#ffb400;

    letter-spacing:2px;

}


.comment-body p{

    margin:0 0 10px;

    color:#555;

}


.comment-body small{

    color:#999;

}



/* disabled form */


.comment-disabled{

    margin-top:40px;

    padding:35px;

    background:#f7f7f7;

    border-radius:16px;

}


.comment-disabled h3{

    margin-bottom:25px;

}


.comment-disabled input,
.comment-disabled textarea{


    width:100%;

    padding:15px;

    margin-bottom:15px;

    border-radius:10px;

    border:1px solid #ddd;

    background:#fff;

}


.comment-disabled textarea{

    height:140px;

}


.comment-disabled button{

    padding:14px 30px;

    border:0;

    border-radius:8px;

    background:#0d6efd;

    color:#fff;

    opacity:.5;

}



.comment-disabled p{

    margin-top:15px;

    color:#777;

    font-size:14px;

}


/* =========================================
RELATED POSTS
========================================= */


.related-posts{

    margin-top:80px;

}


.related-posts h2{

    font-size:32px;

    margin-bottom:35px;

}


.related-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}


.related-card{

    background:#fff;

    border-radius:16px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.07);

    transition:.3s;

}


.related-card:hover{

    transform:translateY(-6px);

}


.related-card img{

    width:100%;

    height:210px;

    object-fit:cover;

}


.related-card h3{

    padding:20px;

    margin:0;

    font-size:20px;

    line-height:1.4;

    color:#222;

}



/* =========================================
RESPONSIVE
========================================= */


@media(max-width:992px){


.single-post .page-cover img{

    height:400px;

}


.page-title{

    font-size:38px;

}


.related-grid{

    grid-template-columns:repeat(2,1fr);

}


}


@media(max-width:768px){


.single-post .page-cover img{

    height:300px;

}


.page-title{

    font-size:32px;

}


.fake-comment{

    flex-direction:column;

}


.comment-head{

    flex-direction:column;

    align-items:flex-start;

    gap:8px;

}


.related-grid{

    grid-template-columns:1fr;

}


.fake-comments h2,
.related-posts h2{

    font-size:26px;

}


}


@media(max-width:480px){


.page-title{

    font-size:27px;

}


.single-category{

    font-size:11px;

}


.comment-disabled{

    padding:20px;

}


.related-card h3{

    font-size:18px;

}


}

.single-post .breadcrumbs {
	margin-top: 40px;
}

/* =====================================
PRELOADER
===================================== */


.site-preloader{

    position:fixed;

    inset:0;

    z-index:99999;

    background:#090909;

    display:flex;

    align-items:center;

    justify-content:center;

    overflow:hidden;

    transition:opacity .8s ease, visibility .8s ease;

}


.site-preloader.hide{

    opacity:0;

    visibility:hidden;

}



.preloader-inner{

    position:relative;

    width:180px;

    height:180px;

    display:flex;

    align-items:center;

    justify-content:center;

}


/* LOGO */

.preloader-logo{

    width:120px;

    height:120px;

    object-fit:contain;

    position:relative;

    z-index:2;

    animation:

    logoPulse 2s ease-in-out infinite;

}



/* круг вокруг */

.loader-circle{

    position:absolute;

    width:160px;

    height:160px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.15);

}


.loader-circle:before{

    content:"";

    position:absolute;

    inset:-2px;

    border-radius:50%;

    border:2px solid transparent;

    border-top-color:#00e5ff;

    border-right-color:#00e5ff;

    animation:rotateLoader 2s linear infinite;

}



/* glow */

.preloader-inner:after{

    content:"";

    position:absolute;

    width:120px;

    height:120px;

    background:#00e5ff;

    filter:blur(60px);

    opacity:.25;

}



/* animations */


@keyframes rotateLoader{

    from{

        transform:rotate(0deg);

    }

    to{

        transform:rotate(360deg);

    }

}



@keyframes logoPulse{


0%{

    transform:scale(1);

}


50%{

    transform:scale(1.08);

}


100%{

    transform:scale(1);

}


}

/* =====================================
ARCHIVE
===================================== */


.archive-page{

    padding:70px 0;

}


.archive-header{

    text-align:center;

    margin-bottom:60px;

}


.archive-title{

    font-family:'Space Grotesk',sans-serif;

    font-size:46px;

    font-weight:800;

    margin-bottom:20px;

}


.archive-description{

    max-width:750px;

    margin:auto;

    color:#777;

    font-size:17px;

}


/* GRID */


.archive-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}



/* CARD */


.archive-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 35px rgba(0,0,0,.07);

    transition:.35s ease;

}


.archive-card:hover{

    transform:translateY(-8px);

}



/* IMAGE */


.archive-image{

    display:block;

    aspect-ratio:16/9;

    overflow:hidden;

}


.archive-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}


.archive-card:hover img{

    transform:scale(1.05);

}


.no-image{

    height:100%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#111;

    color:#fff;

    font-family:'Space Grotesk';

    font-weight:700;

}


/* CONTENT */


.archive-content{

    padding:25px;

}



.archive-category{

    display:inline-block;

    padding:6px 15px;

    border-radius:30px;

    background:#0d6efd;

    color:#fff;

    font-family:'Bebas Neue';

    font-size:17px;

    letter-spacing:1px;

    margin-bottom:15px;

}


.archive-card-title{

    font-family:'Space Grotesk';

    font-size:24px;

    line-height:1.3;

    margin:10px 0 15px;

}


.archive-card-title a{

    color:#161616;

}


.archive-card-title a:hover{

    color:#0d6efd;

}


.archive-excerpt{

    color:#666;

    font-size:15px;

    line-height:1.7;

    margin-bottom:25px;

}



.archive-button{

    display:inline-flex;

    padding:11px 22px;

    border-radius:8px;

    background:#111;

    color:#fff;

    font-size:14px;

    font-weight:600;

}


.archive-button:hover{

    background:#0d6efd;

    color:#fff;

}



/* PAGINATION */


.archive-pagination{

    margin-top:60px;

    text-align:center;

}


.archive-pagination a,
.archive-pagination span{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    width:42px;

    height:42px;

    margin:5px;

    border-radius:50%;

    background:#f1f1f1;

}


.archive-pagination .current{

    background:#0d6efd;

    color:#fff;

}



/* RESPONSIVE */


@media(max-width:992px){


.archive-grid{

    grid-template-columns:repeat(2,1fr);

}


.archive-title{

    font-size:38px;

}


}



@media(max-width:650px){


.archive-grid{

    grid-template-columns:1fr;

}


.archive-page{

    padding:40px 0;

}


.archive-title{

    font-size:30px;

}


.archive-content{

    padding:20px;

}


}