:root {
    --main-bg: #1a171b;
    --default-color: #0f0f0f;
    --effect-color:#fcdd35;
    --border-color:#e91b15;
    --container-bg:#f5f5f5;
    --container-featured:#ebc7c7;
    --container-promo:#000000;
    --main-width:1200px;
    --gradient-a: #f7f7f7;
    --gradient-b: #f6f6f6;
  }

*, *:after, *:before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

*:focus {
    outline: none;
}


html, 
body {
    height: 100%;
    background:#242424;
    background:url(../images/pattern.webp);
    color:#fafafa;
    padding: 0; 
    margin:0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'regular', sans-serif;
}

/** LINKI **/
a {
    color:#fff;
    text-decoration: none;
}

h3 {
    display: block;
    font-size: 1.25em;
    margin-block-start: 0em;
    margin-block-end: 0em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

/** HEADER **/
header {
    display:flex;
    flex-direction:column;
    max-width:1200px;
    margin:0 auto;
}

header .header-top {
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    align-items:center;
    width:1080px;
    margin:0 auto;
    padding-top:30px;
    padding-bottom:10px;
}

header ul {
    display:flex;
    flex-direction:row;
    list-style:none;
    padding-inline-start: 0px;
    background:#111;
    border-radius:12px;
    overflow:hidden;
}

header ul li a{
    display:flex;
    padding-left:15px;
    padding-right:15px;
    padding-top:15px;
    padding-bottom:13px;
    border-bottom:2px solid transparent;
}

header ul li a:hover {
    background:#181818;
    border-bottom:2px solid #ff200a;
}

header .header-socials {
    display:flex;
    flex-direction:row;
    gap:24px;
}

header .header-socials img {
    width:32px;
    height:32px;
    filter: brightness(0) invert(1);
}

header .header-socials img:hover {
    opacity:0.8;
}

/** UNIVERSALS **/

.page-wraper {
    max-width:1200px;
    width:100%;
    display:flex;
    flex-direction:column;
    margin:0 auto;
}

.page-wraper .blocks {
    display:flex;
    gap:15px;
    padding-bottom:15px;
}

.page-wraper .blocks .block {
    display:flex;
    width:100%;
}

.page-wraper .blocks .block .block-inner {
    width:100%;
    background:#111;
    display:flex;
    flex-direction:column;
}

.category .page-wraper {
    max-width:1100px;
}

.category .page-wraper .blocks .block .block-inner {
    flex-direction:row;
}

.category .page-wraper .blocks {
    flex-wrap:wrap;
}

.category .page-wraper .blocks .block .block-inner h3{
    font-size:30px;
}

.category .page-wraper .blocks .block .block-image {
    flex-basis:30%;
}

.category .page-wraper .blocks .block .block-info {
    flex-basis:70%;
}

.page-wraper .blocks .block.block--event .block-inner {
    background:transparent;
}


.page-wraper .blocks .block.block--news {
    border-radius:12px;
    overflow:hidden;
}

.page-wraper .blocks .block .block-image {
    display:flex;
    align-items:center;
}

.page-wraper .blocks .block .block-image img {
    width:100%;
    height:auto;
}

.page-wraper .blocks .block .block-info {
    padding:12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height:100%;
}

.page-wraper .blocks .block .block-info h3 {
    font-family:'title', sans-serif;
}

.page-wraper .blocks .block .block-details {
    padding-top:16px;
    font-size:12px;
    color:#ddd;
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
}

.page-wraper .blocks .block.block--slider {
    flex-basis:66%;
    border-radius:12px;
    overflow:hidden;
}

.page-wraper .blocks .block.block--slider h3 a {
    font-size:1.6em;
}

.page-wraper .blocks .block.block--event {
    flex-basis:33%;
}

.page-wraper .blocks .block .block-container {
    width:100%;
    padding:10px;
    border-radius:12px; 
    background:#111;
    height:100%;
}

.page-wraper .blocks .block .block-title {
    font-weight:bold;
    font-family:'title', sans-serif;
    padding-bottom:15px;
}

.page-wraper .blocks .block .block-title span{
    font-size:1.5em;
}

.page-wraper .block-title-single {
    font-weight:bold;
    font-family:'title', sans-serif;
    font-size: 1.5em;
    border-bottom:1px solid #ff200a;
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    
    margin-top:20px;
}

.page-wraper .block-title-single span:first-child {
    background:#ff200a;
    padding-left:25px;
    padding-right:25px;
    padding-bottom:5px;
    padding-top:5px;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
}

.page-wraper .block-title-single span:nth-child(2) {
    font-size:0.7em;
    padding-right:10px;
}

.quad, .half {
    flex-wrap:wrap;
    background:#242424;
    padding:15px;
    border-bottom-left-radius:12px;
    border-bottom-right-radius:12px;
    margin-bottom:30px;
}
  
.quad .block--news {
    flex-basis:24%;
}

.half .block--news {
    flex-basis:49%;
}

/** BOX **/
.page-wraper .blocks .block .box {
    display:flex;
    gap:5px;
    border-bottom:1px solid #474747;
    padding-top:15px;
    padding-bottom:15px;
    height:33.3%;
}

.page-wraper .blocks .block .box:nth-child(3) {
    border-bottom:0px;
    padding-bottom:5px;
}

.page-wraper .blocks .block .box:nth-child(1) {
    padding-top:5px;
}

.page-wraper .blocks .block .box .block-image img {
    border-radius:12px;
    width:130px;
    height:130px;
}

.page-wraper .blocks .block .box .block-details {
    flex-direction:column;
}
/** MAIN PAGE **/



/** FOOTER **/
footer {
    background:#111;
    max-width:1200px;
    width:100%;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    border-top-left-radius:12px;
    border-top-right-radius:12px;
    padding:20px;
}

footer .inner .about img {
    width:200px;
}

footer .inner .about div:nth-child(2) {
    font-size:12px;
}

footer .inner {
    display:flex;
    flex-direction:row;
}

footer .inner div:first-child {
    flex-basis:40%;
    padding-right:10%;
}

footer .inner div:nth-child(2) {
    flex-basis:25%;
}

footer .inner div:nth-child(3) {
    flex-basis:25%;
}

footer .footer-bottom {
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    width:100%;
    font-size:12px;
    margin-top:20px;
    border-top:1px solid #474747;
    padding-top:10px;
    padding-left:10px;
    padding-right:10px;
}



/** ARTICLE **/

.single .page-wraper {
    max-width:1200px;
}

.single .page-wraper .blocks {
    display:flex;
    flex-direction:row;
    gap:20px; 
    justify-content:space-between;
    background:#1c1c1c;
    padding:20px;
    border:1px solid #1f1f1f;
    border-radius:20px;
}
.single .page-wraper .blocks .article-block {
    display:flex;
    flex-direction:column;
    gap:20px;
}
.page-wraper .blocks article {
    display:flex;
    flex-direction:column;    
}
.page-wraper .blocks .article-block {
    flex-basis:70%;
}
.page-wraper .blocks aside {
    flex-basis:30%;
    display:flex;
    flex-direction:column;
}

.page-wraper .blocks .article-block article .post-thumbnail img {
    width:100%;
    height:auto;
}

.page-wraper .blocks .article-block article .entry-content p {
    font-size:1.2em;
    color:#ddd;
    margin-block-start:10px;
    line-height:32px;
}
.page-wraper .blocks .article-block .entry-meta {
    display:flex;
    flex-direction:row;
    background: #111;
    padding: 10px;
    border-radius: 12px;
    align-items: center;
    justify-content:space-between;
}

.page-wraper .blocks .article-block .byline {
    flex-basis:50%;
}
.page-wraper .blocks .article-block .categories {
    background:#e91b15;
    padding:5px 10px 5px 10px;
    border-radius:12px;
}
.page-wraper h1.entry-title {
    font-weight: bold;
    font-family: 'title', sans-serif;
    font-size: 36px;
    text-transform: uppercase;
    margin-block-start:5px;
    margin-block-end:10px;
}

.page-wraper .blocks article .entry-content h2 {
    font-weight: bold;
    font-family: 'title', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    margin-block-start: 0.83em;
    margin-block-end: 0.05em;
}

.page-wraper .widget {
    background: #111;
    border-radius: 12px;
    padding:20px;
    margin-bottom:20px;
}

.page-wraper .blocks .widget-title {
    margin-block-start:0;
    margin-block-end:4px;
}

.page-wraper ul.toc-list, .page-wraper .ow-widget ul {
    list-style:none;
    padding-inline-start: 0px;
}

.page-wraper ul li {
    padding-top:4px;
    padding-bottom:4px;
}

.page-wraper .recent-post-item a{
    display:flex;
    flex-direction:column;
    margin-bottom:10px;
}

.page-wraper .widget-title {
    font-weight: bold;
    font-family: 'title', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    margin-block-start: 0.05em;
    margin-block-end: 0.05em;
}

.page-wraper .recent-post-title {
    font-weight: bold;
    font-family: 'title', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    margin-block-start: 0.05em;
    margin-block-end: 0.05em;
}


.page-wraper .blocks .check-content{
    width:100%;
    background:#000;
    color:#f1f1f1;
    padding:15px;
    font-size:16px;
    font-family: 'regular', sans-serif;
    border:2px solid #242424;
    border-radius:12px;
    display:flex;
    flex-direction: column;
}

.page-wraper .blocks .check-content .random-posts-list {
    display:flex;
    flex-direction: row;
    padding-inline-start: 0px;
    justify-content: space-around;
}

.page-wraper .blocks .check-content .random-post-thumb img {
    max-width:300px;
    width:100%;
    height:auto;
}

.page-wraper .blocks .check-content .random-post-item a{
    display:flex;
    flex-direction:column;
}

.single .recent-post-thumb img {
    width:100%;
    height:auto;
    border-radius:12px;
}

.single .author-block {
    display:flex;
    flex-direction:row;
    gap:10px;
    align-items:center;
}

.single .author-info {
    display:flex;
    flex-direction:column;
}

.single .author-av {
    display:flex;
}
.single .author-av img {
    border-radius:50%;
}

.single .author-info span:nth-child(1) {
    font-size:18px;
}

.single .author-info span:nth-child(2) {
    font-size:14px;
}

.single .entry-meta .button {
    background:#e91b15;
    padding:10px 20px 10px 20px;
    margin-right:10px;
    border-radius:12px;
}

.single .event-widget .button {
    background:#e91b15;
    padding:10px 20px 10px 20px;
    margin-right:10px;
    border-radius:12px;
    display: flex;
    width: 300px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.single .event-widget .widget-title {
    padding-bottom:10px;
}

.acf-fields {
    margin-bottom: 2em;
    padding: 1em;
    background: #202020;
    border-left: 4px solid #555;
    border-radius: 6px;
}

.acf-fields h2 {
    margin-top: 0;
}

.acf-field {
    margin-bottom: 10px;
}


/** COMMENTS **/
.comments-area {
    margin-bottom:20px;
}

.comment article{
    background:#111;
    margin-bottom:10px;
    border-radius:12px;
}

.comment-meta {
    display:flex;
    flex-direction:row;
    justify-content: space-between;
}

.comment-content {
    padding-left:20px;
}

.comment-body {
    padding:10px;
    position:relative;
}

.reply, #submit {
    background:#e91b15;
    color:#fff;
    border-radius:12px; 
    padding-left:15px; padding-top:12px; padding-right:15px; padding-bottom:12px;
    display:inline-flex;
}

.comment-reply-link {
    background:#e91b15;
}

.reply {
    position:absolute;
    right:10px;
    bottom:10px;
}


.comment-list {
    padding-inline-start:0px;
}

#respond {
    background:#111;
    border-radius:12px;
    padding:20px;
}

.comment-form-comment {
    display:flex;
    flex-direction:column;
}

#comment {
    background:#000;
    color:#f1f1f1;
    font-size:16px;
    padding:10px;
    font-family: 'regular', sans-serif;
    border:2px solid #242424;
    border-radius:12px;
}

input {
    background:#000;
    color:#f1f1f1;
    padding:5px;
    font-size:16px;
    font-family: 'regular', sans-serif;

    border:2px solid #242424;
    border-radius:12px;
}

.comment-author img {
    border-radius:50%;
}

.comment-author {
    display:flex;
    gap:10px;
    align-items:center;
}


.custom-comment {
    margin-bottom: 20px;
    list-style: none;
}

.comment-body {
    display: flex;
    gap: 15px;
    background: #111;
    padding: 15px;
    border-radius: 8px;
}

.comment-avatar img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.comment-content {
    flex: 1;
}

.comment-meta {
    font-size: 0.9em;
    margin-bottom: 5px;
    color: #666;
}

.comment-text {
    margin-bottom: 10px;
}

.comment-actions a {
    font-size: 0.85em;
    color: #fff;
    text-decoration: none;
    padding:8px;
    border-radius:12px;
}

#submit {
    cursor: pointer;
}

#reply-title {
    display:flex;
    flex-direction: row;
    justify-content: space-between;
}


#sidebar {
    position:relative;
}
#sidebar .sidebar-inner {
    position:sticky;
    top:0px;
}

.menu a {
    font-size:12px;
}

.menu a:hover {
    color:#ff200a;
}

.hamburger {
    width: 42px;
    height: 42px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999;
    margin-left: 10px;
    transition: all 0.3s;
    position: relative;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 28px;
    background: #fff;
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger.active {
    border: 3px dashed #ff200a;
    border-radius: 50%;
    background: #181818;
}

.hamburger.active span {
    background: transparent;
}

li::marker {
    color:#fafafa;
}

ul {
    margin-block-start: 0.1em;
    margin-block-end: 0.1em;
    padding-inline-start: 10px;
}

main {
    margin-top:20px;
}

@media (max-width: 950px) {
    .hamburger {
        display: flex;
    }
    .nav-mobile ul {
        display: none;
        position: absolute;
        top: 65px;
        right: 0;
        width: 100%;
        background: #111;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 30px #000a;
        flex-direction: column;
        padding: 15px 0;
        z-index: 1000;
    }
    .nav-mobile ul.show {
        display: flex;
    }
}
