/* ======================================================
   WHATSAPP
====================================================== */

.whatsapp-news {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    width: 60%;
    background: #0095dc10;
    border-radius: 5px;
    padding: 15px;
}

.whatsapp-news a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #25D366;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

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

@media (max-width: 480px) {
    .whatsapp-news {
        font-size: 15px;
    }
}

.icon-whatsapp svg{
    width:24px;
    height:24px;
}

.insta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    width: 40%;
    background: #0095dc10;
    border-radius: 5px;
    padding: 15px;
}

.insta a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(
    to right,
    #833ab4, /* Royal Purple */
    #fd1d1d, /* Torch Red */
    #fcb045  /* Yellow Orange */
    );
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
}

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

@media (max-width: 480px) {
    .whatsapp-news {
        width: 100%;
    }
  .insta {
    font-size: 15px;
    width: 100%;
  }
}

/* ======================================================
   GLOBAL
====================================================== */

body {
    background-color: #fff;
}

body img,
p img,
.elementor img,
.slider-img {
    border-radius: 5px;
}

h3 {
    font-weight: 600;
}


/* ======================================================
   BANNERS
====================================================== */

.banner_body_left,
.banner_body_right {
    position: fixed;
    top: 0;

    width: 18%;
    padding: 8px;

    text-align: center;
    z-index: 999;
}

.banner_body_left {
    left: 0;
}

.banner_body_right {
    right: 0;
}

.banner_body_left img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}


/* ======================================================
   HOME ADS BLOCK
====================================================== */

.ads-block-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}


/* ======================================================
   CONTAINER WIDTHS
====================================================== */

.grid-container {
    max-width: 1200px;
}

.site-header .header-image {
    width: 90%;
    border-radius: 0;
}

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

@media (max-width: 1900px) {

    .grid-container {
        max-width: 1200px;
    }

    .site-header .header-image {
        width: 100%;
    }

}

@media (max-width: 1740px) {

    .grid-container {
        max-width: 1100px;
    }

    .site-header .header-image {
        width: 100%;
    }

}

@media (max-width: 1600px) {

    .grid-container {
        max-width: 1000px;
    }

    .site-header .header-image {
        width: 100%;
    }

}

@media (max-width: 1400px) {

    .grid-container {
        max-width: 900px;
    }

}

@media (max-width: 1300px) {

    .grid-container {
        max-width: 750px;
    }

}

@media (max-width: 1100px) {

    .banner_body_left,
    .banner_body_right {
        display: none;
    }

}

@media (max-width: 700px) {

    .entry-title {
        font-size: 25px;
        font-weight: bold;
    }

    .custom-entry-meta {
        font-size: 0.6em !important;
    }

}


/* ======================================================
   AUTHOR
====================================================== */

.author-photo,
.author-photo-p,
.author-photo-p-new {
    text-align: right;
    font-weight: bold;
}


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

.site-header .header-image {
    width: 90%;
    border-radius: 0;
}


/* ======================================================
   GLAVNOE LIST
====================================================== */

.custom-glavnoe-list {
    display: flex;
    flex-direction: column;
    gap: 15px;

    height: 494px;
    overflow-y: scroll;
}

@media (max-width: 1600px) {

    .custom-glavnoe-list {
        height: 434px;
    }

}

@media (max-width: 1400px) {

    .custom-glavnoe-list {
        height: 400px;
    }

}

@media (max-width: 1300px) {

    .custom-glavnoe-list {
        height: 350px;
    }

}

/* ======================================================
   GLAVNOE ITEMS
====================================================== */

.custom-glavnoe-item {
    border-radius: 5px;
    transition: 0.3s;
}

.custom-glavnoe-item:hover .custom-glavnoe-title,
.custom-category-item:hover .custom-glavnoe-title {
    color: #0096df;
}

.custom-glavnoe-link {
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.custom-glavnoe-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.custom-glavnoe-thumbnail {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 12px;
    border-radius: 5px;
}

.custom-glavnoe-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.custom-glavnoe-title {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    transition: 0.3s;
}

.custom-glavnoe-title a {
    color: inherit;
    text-decoration: none;
}

.custom-glavnoe-title:hover {
    color: var(--contrast-2);
}

@media (max-width: 1500px) {

    .custom-glavnoe-title {
        font-size: 14px;
    }

}

.custom-glavnoe-date {
    font-size: 12px;
    color: #777;
}


/* ======================================================
   CATEGORY POSTS
====================================================== */

.custom-category-item {
    margin-bottom: 20px;
    transition: 0.3s;
}

.custom-category-title,
.custom-category-title a {
    font-size: 14px;
    color: #000;
    text-decoration: none;
}

.custom-category-date {
    margin-top: 5px;
    font-size: 12px;
    color: #777;
}

.custom-category-more {
    margin-top: 20px;
    text-align: center;
}

.custom-category-more-button {
    padding: 10px 20px;
    font-weight: 500;

    color: #0095DC;
    text-decoration: underline !important;
}


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

.h3-category {
    font-weight: 600;

    color: #0095DC;
    border-bottom: 1px solid #0095DC;
}

/* ======================================================
   NEWSPAPER
====================================================== */

.newspaper-content {
    display: flex;
    gap: 16px;

    margin-bottom: 15px;
    padding-bottom: 10px;

    border-bottom: 1px solid #e7e7e7;
}

.newspaper-item:last-child .newspaper-content {
    border-bottom: 0;
}

.newspaper-content:hover h3.newspaper-title {
    color: #0095DC;
}

.newspaper-details {
    width: 100%;
}

h3.newspaper-title {
    margin-bottom: 0.5em;

    font-size: 18px;
    font-weight: 400;
    color: #333;
}

p.newspaper-excerpt {
    margin-bottom: 0;

    font-size: 14px;
    color: #7b7b7b;
}

p.newspaper-meta,
p.newspaper-meta a {
    margin-top: 5px;
    margin-bottom: 0.5em;

    font-size: 12px;
    color: #7b7b7b;
}


/* ======================================================
   SLIDER BASE
====================================================== */

.n2-padding {
    overflow: hidden;
    border-radius: 5px;
}

.header-widget {
    width: 50%;
    border-radius: 5px;
}

@media (max-width: 768px) {

    .header-widget {
        width: 90%;
    }

    .whatsapp-news {
        width: 100%;
    }

}


/* ======================================================
   ENTRY META
====================================================== */

.custom-entry-meta {
    display: flex;
    align-items: center;
    gap: 0.22em;

    margin-top: 1em;
}

.custom-entry-meta > :nth-last-child(2) {
    margin-left: auto;
}

span.posted-on,
span.byline,
.comments-area {
    display: none !important;
}

.entry-content:not(:first-child),
.entry-summary:not(:first-child),
.page-content:not(:first-child) {
    margin-top: 1em;
}


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

.related-posts-container {
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.related-post-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;

    border-radius: 5px;
    overflow: hidden;
}

.related-post-link {
    display: flex;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.related-post-thumbnail-wrapper {
    flex-shrink: 0;
    max-width: 100px;
    overflow: hidden;
}

.related-post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-thumbnail-wrapper img {
    aspect-ratio: 1 / 1;
}

.related-post-info {
    flex-grow: 1;
    padding: 10px;
}

.related-post-title {
    margin: 0 0 10px;

    font-size: 14px;
    font-weight: 500;
}

.related-post-date {
    font-size: 12px;
    color: #777;
}


/* ======================================================
   PROJECTS (HOME PAGE)
====================================================== */

.container-project {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;

    margin-bottom: 10px;
}

.container-project-sidebar {
    display: grid;
    justify-content: center;
    justify-items: stretch;

    width: 100%;
}

.container-project-sidebar .content-block {
    border-bottom: 1px solid #e7e7e7;
}

.container-project-sidebar .content-block:last-child {
    border-bottom: 0;
}


/* ======================================================
   PROJECT BLOCK
====================================================== */

.content-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 20px;

    text-align: center;

    background-color: #fff;
    border-radius: 8px;

    transition: transform 0.3s ease;
}

.block-title {
    margin-bottom: 15px;

    font-size: 16px;
    color: #333;
}

.block-title-sidebar {
    margin-bottom: 15px;
    font-size: 100%;
}

.block-text {
    margin-bottom: 15px;
    font-size: 14px;
    color: #ccc;
}

.block-image {
    width: 100%;
    max-width: 100%;
    max-height: 150px;
    margin-bottom: 15px;
    object-fit: cover;
}

/* ======================================================
   PROJECT BUTTON
====================================================== */

.more-button {
    display: inline-block;

    padding: 10px 20px;

    font-size: 14px;
    text-decoration: none;

    color: #fff;
    background-color: #0096df;

    border-radius: 6px;

    transition: background-color 0.3s;
}

.content-block:hover .more-button {
    background-color: #0095dc10;
    color: #0096df;
}

.content-block:hover .block-title {
    color: #0096df;
}


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

@media (max-width: 768px) {

    .block-title {
        font-size: 20px;
    }

    .block-text {
        font-size: 14px;
    }

    .more-button {
        padding: 8px 16px;
    }

}

@media (max-width: 480px) {

    .block-title {
        font-size: 18px;
    }

    .block-text {
        font-size: 12px;
    }

    .more-button {
        padding: 6px 12px;
    }

}


/* ======================================================
   RADIO KN
====================================================== */

.radiokn {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;
    align-items: center;
    align-content: space-around;

    width: 20%;
    padding: 10px;
}

.radiokn button#toggleButton {
    width: 30px;
    margin: 0;
    padding: 0;

    background: transparent;
}

.radiokn p {
    margin-bottom: 0;

    padding-right: 10px;

    font-size: 10pt;
    line-height: 1em;

    text-align: left;
}

@media (max-width: 768px) {

    .radiokn {
        width: 90%;
    }

}

/* ======================================================
   WIDGETS
====================================================== */

.widget-area .widget {
    padding: 1px;
}

.separate-containers .comments-area,
.separate-containers .inside-article,
.separate-containers .page-header,
.separate-containers .paging-navigation {
    padding: 10px;
}


/* ======================================================
   FEATURED IMAGE
====================================================== */

.featured-image-after-title {
    padding-top: 20px;
}


/* ======================================================
   VIEW COUNTER
====================================================== */

span.wp_counter_span {
    padding: 2px;

    font-size: 14px;

    color: #0096df;
    background-color: #0096df26;

    border-radius: 5px;
}


/* ======================================================
   NEWSPAPER GRADIENT
====================================================== */

.newspaper-posts {
    position: relative;
    overflow: hidden;
}

.newspaper-posts::after {
    content: "";

    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 80px;

    background: linear-gradient(
        to top,
        white,
        rgba(255,255,255,0)
    );

    pointer-events: none;
    z-index: 10;
}


/* ======================================================
   SLIDER CONTAINER
====================================================== */

.slider-container {
    position: relative;

    width: 100%;
    max-width: 800px;

    overflow: hidden;
}

.slider-wrapper {
    position: relative;

    max-width: 100%;
    overflow: hidden;
}

.simple-slider {
    display: flex;

    transition: transform 0.5s ease;
    will-change: transform;
}

/* ======================================================
   SLIDER
====================================================== */

.slide {
    position: relative;

    min-width: 100%;
    flex-shrink: 0;

    box-sizing: border-box;
    overflow: hidden;

    border-radius: 5px;
}

.slide-link {
    display: block;

    position: relative;

    width: 100%;
    height: 100%;

    text-decoration: none;
    color: inherit;
}


/* ======================================================
   SLIDER IMAGE RATIO (3:4)
====================================================== */

.slide-link::before {
    content: "";
    display: block;

    padding-bottom: 75%;
}


/* ======================================================
   SLIDER IMAGE
====================================================== */

.slide-link img {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;

    z-index: 1;

    border-radius: 6px;

    transition: transform 1s ease;
}

.slide-link:hover img {
    transform: scale(1.05);
}


/* ======================================================
   SLIDER OVERLAY
====================================================== */

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;

    padding: 15px;

    color: #fff;

    background: linear-gradient(
        0deg,
        rgba(41,41,41,1) 0%,
        rgba(41,41,41,0.6) 69%,
        rgba(0,0,0,0) 100%
    );

    z-index: 2;
    pointer-events: none;
}


/* ======================================================
   SLIDER TEXT
====================================================== */

.slide-title {
    margin: 0 0 5px;

    font-size: 26px;
    font-weight: 600;
    line-height: 1em;
}

.slide-meta {
    font-size: 14px;
    color: #ccc;
}

/* ======================================================
   SLIDER NAVIGATION
====================================================== */

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    padding: 10px;

    font-size: 20px;
    line-height: 1;

    color: #fff;
    background: rgba(0,0,0,0.5);

    border: none;
    border-radius: 50%;

    cursor: pointer;

    z-index: 10;
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}


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

@media (max-width: 600px) {

    .slide-title {
        font-size: 16px;
    }

    .slide-meta {
        font-size: 12px;
    }

    .slider-prev,
    .slider-next {
        padding: 8px;
        font-size: 16px;
    }

}


/* ======================================================
   LATEST POSTS WIDGET
====================================================== */

.widget_recent_entries {
    margin-bottom: 10px;
}

a.wp-block-latest-posts__post-title {
    font-size: 16px;
    font-weight: 400;

    color: #333;
}

.wp-block-latest-posts li::after {
    content: "";
    display: block;
    clear: both;

    padding-bottom: 20px;

    border-bottom: 1px solid #d3d4d8;
}

.wp-block-latest-posts li:last-child::after {
    border-bottom: 0;
}

.wp-block-latest-posts li:hover a.wp-block-latest-posts__post-title {
    color: var(--accent);
}

.wp-block-latest-posts__featured-image {
    float: left;
    margin-right: 10px;
}


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

.header-widget aside {
    float: right;
}

.header-widget img {
    border-radius: 10px;
}

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

.gap {
    gap: 20px;
}

.inside-header {
    padding: 20px 0;
}

.item-home-in:nth-child(2) {
    padding-right: 0;
}


/* ======================================================
   TOP BAR
====================================================== */

.top-bar {
    background: #f1f1f1;
    border-bottom: 1px solid #e1e1e1;
}

.inside-top-bar {
    padding: 10px 0;
}

.top-bar .search-form {
    display: flex;

    max-width: 320px;
    max-height: 20px;

    border: 1px solid #ddd;
    border-radius: 10px;

    overflow: hidden;

    font-size: 8pt;
}

.top-bar .widget .search-field {
    width: 100%;

    padding: 2px 8px;

    font-size: 8pt;
}

.top-bar .search-form button {
    padding: 0 10px;

    color: #fff;
    background: #b1b1b1;

    border: none;

    cursor: pointer;
}

.top-bar .widget .search-form button.search-submit {
    font-size: 10px;
}


/* ======================================================
   BLOG LATEST
====================================================== */

.blog-latest-list {
    display: flex;
    flex-direction: column;
}

.blog-item {
    display: flex;
    align-items: stretch;
    gap: 15px;

    margin-bottom: 10px;
    padding-bottom: 10px;

    border-bottom: 1px solid #e7e7e7;
}

.blog-latest-list a:last-child .blog-item {
    border-bottom: 0;
}

.blog-thumb {
    width: 70px;
    aspect-ratio: 1 / 1;

    overflow: hidden;
    flex-shrink: 0;
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    display: flex;
    flex-direction: column;
}

.blog-content:hover .blog-title {
    color: #0096df;
}

.blog-title {
    font-size: 16px;
    color: #333;

    text-decoration: none;
}

.blog-author {
    margin-top: 5px;

    font-size: 13px;
    color: #7b7b7b;
}


/* ======================================================
   ADS
====================================================== */

.ads-block-manual img,
.ads-widget-slider img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.full-width button.btn-more {
    margin-top: 20px;
}


/* ======================================================
   MOST LIKED POSTS
====================================================== */

.home-widgets {
    margin-bottom: 16px;
}

.most_liked_post a {
    font-size: 16px;
    color: #333;

    text-decoration: none;
}

.most_liked_post li:hover a {
    color: #0096df;
}

.most_liked_post li::after {
    content: "";
    display: block;
    clear: both;

    padding-bottom: 20px;

    border-bottom: 1px solid #d3d4d8;
}

.most_liked_post li:last-child::after {
    border-bottom: 0;
}