/*-------------------------------------------------------------------------COMMON---------------------------------------------------------------------------------*/

@media (min-width: 768px) {
    [class*="__container"] {
        max-width: 1300px;
        margin: 0 auto;
        padding: 0 35px;
    }
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------FOOTER---------------------------------------------------------------------------------*/

@media (min-width: 768px) {
    .footer__container {
        max-width: 795px;
        margin: 0 auto;
    }

    .footer__columns {
        grid-template-columns: minmax(100px, 140px) minmax(80px, 91px) minmax(190px, 202px);
        gap: 50px;
    }

    .footer__column:last-child {
        grid-column: unset;
        grid-template-columns: unset;
    }

    .footer__top {
        padding: 60px 0;
    }

    .footer__bottom {
        padding: 25px 0 35px;
    }

    .footer__subscribe,
    .footer__column:last-child .footer__links {
        grid-column: unset;
    }

    .footer__socials {
        grid-column: unset;
        max-height: unset;
        align-self: unset;
    }
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*-------------------------------------------------------------------------HEADER---------------------------------------------------------------------------------*/

@media (min-width: 992px) {
    .cutsom-post-block-list-inner .blog-post-meta-items.post-block-meta-top .post-cat-box.post-block-meta-cat {
        position: relative;
        font-size: 14px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        line-height: 17px;
    }

    .theme-logo-area {
        padding: 32px 0 44px;
    }

    .theme-navigation-area .row.align-items-center {
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
        padding: 12px 0;
    }

    body .main-container {
        padding-top: 30px !important;
    }

    a.slicknav_btn,
    .header-right-content {
        position: static;
    }

    /* .switch-label {
        height: 30px;
    }

    .toggle-switch {
        width: 55px;
        height: 30px;
    }

    .slider::before {
        top: 5px;
        width: 15px;
        height: 15px;
        transform: translateX(26px);
    } */

    .slicknav_menu .slicknav_icon-bar {
        width: 30px;
    }

    .header-right-content {
        gap: 20px;
    }

    header.theme_header__main {
        border-bottom: 0;
        padding: 0;
    }

    .theme-blog-details-meta-wrap {
        margin-bottom: 50px;
    }

    .dark-theme .search-icon.theme-search-custom-iconn svg,
    .dark-theme .toggle-switch svg {
        max-width: unset;
        max-height: unset;
    }

    .grid-content-top.post-block-item-three-inner {
        padding-top: 0;
        padding-bottom: 8px;
    }

    body .elementor-9 .elementor-element.elementor-element-a83e794 .theme-tab-one-wrapper .tab-post-small-list-wrap .small-post-list-item-block .news-post-grid-thumbnail a img {
        height: 150px !important;
    }

    .theme-post-block-blog-wrapper article.post-block-three-wrap .grid-content-top.post-block-item-three-inner {
        padding: 25px;
    }

    .blog.main-container .theme-post-block-blog-wrapper .post-block-item-three .grid-content-top h3.post-title {
        font-size: 24px;
    }

    .elementor-9 .elementor-element.elementor-element-d5ef976>.elementor-element-populated,
    .elementor-9 .elementor-element.elementor-element-fd069d9>.elementor-element-populated,
    .elementor-9 .elementor-element.elementor-element-8bfce14>.elementor-element-populated,
    .blog-single .col-lg-9,
    .category .col-lg-12,
    .category .col-lg-8 {
        padding-left: 0 !important;
    }

    .elementor-9 .elementor-element.elementor-element-f07bb59>.elementor-element-populated,
    .elementor-9 .elementor-element.elementor-element-54a698b>.elementor-element-populated,
    .elementor-9 .elementor-element.elementor-element-002034a>.elementor-element-populated,
    .category .col-lg-4,
    .blog-single .col-lg-3 {
        padding-right: 0 !important;
    }

    .elementor-9 .elementor-element.elementor-element-6f3bfa2>.elementor-element-populated {
        padding: 0 !important;
    }

    .theme-post-block-three-wrapper .post-block-item-three {
        border-right: 1px solid #cfcfcf;
        border-bottom: 1px solid #cfcfcf;
        border-top: 1px solid #cfcfcf;
    }

    .grid-content-top.post-block-item-three-inner {
        border: 0;
    }

    .first-block-section .elementor-column:first-child .elementor-widget-wrap {
        padding-left: 0 !important;
    }

    .first-block-section .elementor-column:last-child .elementor-widget-wrap {
        padding-right: 0 !important;
    }

    .mini-blocks-2 .theme-small-posts-list-wrapper article.post-small-list-wrap {
        margin-bottom: 0 !important;
    }

    .main-opinion .post-block-title {
        margin-bottom: 15px !important;
    }
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------------------*/

@media (min-width: 768px) {

    .main-tabs .col-lg-6.col-sm-12:first-child .theme-news-post-block,
    .main-tabs .col-lg-6.col-sm-12:nth-child(2) .theme-news-post-block {
        display: flex;
    }

    .main-tabs .col-lg-6.col-sm-12:first-child .grid-content-top.grid-content-inner,
    .main-tabs .col-lg-6.col-sm-12:nth-child(2) .grid-content-top.grid-content-inner {
        padding: 0 0 0 15px;
    }
}

@media (max-width: 1025px) {
    .mini-blocks-2 .theme-small-posts-list-wrapper .small-post-list-item-block {
        flex-wrap: wrap;
    }

    .mini-blocks-2 .news-post-grid-thumbnail {
        max-width: 100% !important;
    }
}

@media (max-width: 767px) {
    .elementor-column-gap-default>.elementor-column>.elementor-element-populated {
        padding: 15px !important;
    }

    .theme-tab-one-wrapper .small-post-list-item-block .news-post-grid-content.grid-content-top.small-post-list-inner {
        border: unset;
    }

    .main-tabs .col-lg-6.col-sm-12:first-child,
    .main-tabs .col-lg-6.col-sm-12:nth-child(2) {
        margin-bottom: 25px;
    }

    .mini-blocks-2 .theme-small-posts-list-wrapper.custom-exclusive-post-list .small-post-list-item-block .news-post-grid-thumbnail a img {
        height: 200px !important;
    }

    .mini-blocks-2 .theme-small-posts-list-wrapper article.post-small-list-wrap,
    .mini-blocks-1 .theme-news-post-block:not(:last-child) {
        margin-bottom: 20px !important;
    }

    .elementor-9 .elementor-element.elementor-element-cadb6d6 {
        padding-bottom: 0 !important;
    }

    .elementor-9 .elementor-element.elementor-element-43407c01 {
        width: 100% !important;
        max-width: 100% !important;
    }

    .theme-heading-one-custom.elementor-widget-heading h2 {
        margin-bottom: 5px !important;
    }
}

/*-------------------------------------------------------------------------SOCIAL MODAL---------------------------------------------------------------------------------*/

@media (min-width: 992px) {
    .social-modal__title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .social-modal__text {
        font-size: 16px;
    }

    .social-modal__btn {
        font-size: 22px;
    }
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------------*/

/*--------------------------------------------------------------------404 PAGE--------------------------------------------------------------------------------------------*/

@media (min-width: 992px) {
    .custom-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .error404 .error-page {
        padding: 115px 0 72px !important;
    }

    .error404 .error-message h3 {
        font-size: 50px;
        margin-bottom: 30px;
    }

    .error-body p {
        font-size: 20px;
    }

    .custom-grid .news-post-grid-thumbnail img {
        height: 160px !important;
    }

    .custom-grid .post-title {
        font-size: 24px;
    }
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------------------*/