/* start banner slider styles */
.banner-slider {
    width: 100%;
    height: 500px;
    border-radius: 1rem;
}

.banner-slider .swiper-slide {
    position: relative;
    height: 100%;
}

.banner-slider .swiper-slide .banner-slider-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slider .swiper-slide .banner-slider-item .banner-slider-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.banner-slider .swiper-slide .banner-slider-item .banner-slider-item-content {
    position: absolute;
    right: 2em;
    bottom: 50%;
    transform: translateY(50%);
    z-index: 2;
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 2em;
    border-radius: 1rem;
    gap: 1em;
    align-items: flex-start;
}

.banner-slider .swiper-slide .banner-slider-item .banner-slider-item-meta-wrapper {
    display: flex;
    gap: 1.5em;
}

.banner-slider .swiper-slide .banner-slider-item .banner-slider-item-content .post-title-link {
    color: var(--white);
}

.banner-slider .swiper-slide .banner-slider-item .banner-slider-item-content .post-title-link:hover {
    color: #e1e1e1;
}

.banner-slider .swiper-slide .banner-slider-item .banner-slider-item-category {
    font-size: var(--small-size);
    color: var(--white);
}

.banner-slider .swiper-slide .banner-slider-item .banner-slider-item-title {
    font-size: var(--h1-size);
}

.banner-slider .swiper-slide .banner-slider-item .banner-slider-item-date {
    font-size: var(--small-size);
    color: var(--white);
}

.banner-slider .swiper-slide .banner-slider-item .banner-slider-item-excerpt {
    color: var(--light-gray);
    font-size: var(--small-size);
}

.swiper.banner-slider .banner-slider-pagination {
    width: max-content;
    left: auto;
    right: 4em;
    bottom: 2em;
}

.swiper.banner-slider .banner-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--gray);
    border-radius: 0.3em;
}

.swiper.banner-slider .banner-slider-buttons {
    position: absolute;
    left: 4em;
    bottom: 2em;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 1em;
}

.swiper.banner-slider .banner-slider-buttons .banner-slider-prev,
.swiper.banner-slider .banner-slider-buttons .banner-slider-next {
    position: static;
    width: 30px;
    height: 30px;
    font-size: 0.5rem;
    background-color: var(--gray);
    border-radius: 1em;
    color: var(--black);
}

.swiper.banner-slider .banner-slider-buttons .banner-slider-prev:after,
.swiper.banner-slider .banner-slider-buttons .banner-slider-next:after {
    font-size: 0.7rem;
}

/* end banner slider styles */
/* start headlines styles */
.headlines-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    list-style: none;
    gap: 1.5em;
}

.headlines-list .headlines-list-item {
    position: relative;
    padding: 1.5em;
    background-color: var(--gray);
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    gap: 01em;
    justify-content: space-between;
    border: 1px solid var(--border-color);
}

.headlines-list .headlines-list-item span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin-left: 0.25em;
}

.headlines-list .headlines-list-item .headline-item-link {
    font-size: 0.9rem;
    font-weight: var(--font-weight-medium);
    color: var(--black);
}

.headlines-list .headlines-list-item .post-meta {
    font-size: 0.7rem;
}

.headlines-list .headlines-list-item .post-meta svg {
    width: 18px;
}

/* end headlines styles */
/* start lead-story styles */
.lead-story {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.lead-story .lead-story-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--h3-size);
}

.lead-story .lead-story-title .bullet {
    position: relative;
    width: 25px;
    height: 25px;
    background-color: #d21a1a30;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-story .lead-story-title .bullet span {
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.lead-story .lead-story-post-wrapper {
    position: relative;
    width: 100%;
}

/* end lead-story styles */
/* Start tabs styles */
.tabs {
    display: flex;
    flex-direction: column;
    gap: 2em
}

.tabs .tabs-item-wrapper {}

.tabs .tabs-item-wrapper {
    display: flex;
    align-items: center;
    gap: 1em;
}

.tabs .tabs-item-wrapper .tabs-item {
    background-color: var(--gray);
    padding: 0.5em 1.5em;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.tabs .tabs-item-wrapper .tabs-item.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.tabs .tabs-content-wrapper {
    position: relative;
    padding: 1.5em;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background-color: var(--gray);
}

.tabs .tabs-content-wrapper .tabs-content {
    display: none;
}

.tabs .tabs-content-wrapper .tabs-content.active {
    display: flex;
    flex-direction: column;
}

.tabs .tabs-content-wrapper .tabs-content .post-simple-card:first-child {
    padding-top: 0;
}

.tabs .tabs-content-wrapper .tabs-content .post-simple-card:last-child {
    border: none;
    padding-bottom: 0;
}

/* end tabs styles */
/* start featured collection styles */
.featured-collection {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.featured-collection .featured-collection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.featured-collection .featured-collection-header .featured-collection-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--h3-size);
}

.featured-collection .featured-collection-header .featured-collection-title .bullet {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.featured-collection .featured-collection-header .featured-collection-link {
    font-size: 0.8rem;
}

.featured-collection .featured-collection-post-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

/* end featured collection styles */
/* start big tabs styles */
.big-tabs {
    grid-column: span 2 / span 2;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.big-tabs .big-tabs-header {}

.big-tabs .big-tabs-header .big-tabs-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--h3-size);
}

.big-tabs .big-tabs-header .big-tabs-title .bullet {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.big-tabs .big-tabs-box {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.big-tabs .big-tabs-box .big-tabs-item-wrapper {
    display: flex;
    align-items: center;
    gap: 1em;
}

.big-tabs .big-tabs-box .big-tabs-item-wrapper .big-tabs-item {
    background-color: var(--gray);
    padding: 0.5em 1.5em;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    cursor: pointer;
    border: 1px solid var(--border-color);
    transition: all var(--transition);
}

.big-tabs .big-tabs-box .big-tabs-item-wrapper .big-tabs-item.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.big-tabs .big-tabs-box .big-tabs-content-wrapper {
    position: relative;
}

.big-tabs .big-tabs-box .big-tabs-content {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
}

.big-tabs .big-tabs-box .big-tabs-content.active {
    display: grid;
}

/* end big tabs styles */
/* start simple collection styles */
.simple-collection {
    position: relative;
    padding: 1.5em;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background-color: var(--gray);
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.simple-collection .simple-collection-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.simple-collection .simple-collection-title {
    font-size: var(--h4-size);
}

.simple-collection .simple-collection-link {
    font-size: 0.8rem;
}

.simple-collection .simple-collection-post-wrapper {}

.simple-collection .simple-collection-post-wrapper .post-simple-card:first-child {
    padding-top: 0;
}

.simple-collection .simple-collection-post-wrapper .post-simple-card:last-child {
    border: none;
    padding-bottom: 0;
}

/* end simple collection styles */
/* start category posts styles */
.category-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.category-posts .category-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.category-posts .category-posts-header .category-posts-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--h3-size);
}

.category-posts .category-posts-header .category-posts-title .bullet {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.category-posts .category-posts-link {
    font-size: 0.8rem;
}

.category-posts .category-posts-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
}

/* end category posts styles */
/* start categories styles */
.categories {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.categories .categories-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--h3-size);
}

.categories .categories-title .bullet {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.categories .categories-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5em;
}

.categories .category-item {
    display: flex;
    flex-direction: column;
    gap: 0.75em;
    align-items: center;
}

.categories .category-item .category-image {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* end categories styles */
/* start ad styles */
.ad {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.ad .ad-link {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ad .ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* end ad styles */
/* start social-feed styles */
.social-feed {
    background-color: #d21a1a12;
    margin-top: 2em;
}

.social-feed .social-feed-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5em;
}

.social-feed .social-feed-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: var(--h3-size);
}

.social-feed .social-feed-title .bullet {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.social-feed .social-feed-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1em;
}

.social-feed .social-feed-items .social-feed-item {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 0.5em;
    border: 1px solid var(--border-color);
}

.social-feed .social-feed-items a {
    display: flex;
    width: 100%;
    height: 100%;
}

.social-feed .social-feed-items .social-feed-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-feed .social-feed-items p {
    line-height: 1;
}

.social-feed .social-feed-items svg {
    width: 18px;
}

.social-feed .social-feed-items .social-feed-view {
    position: absolute;
    right: 1em;
    bottom: 0.5em;
    display: flex;
    color: var(--white);
    gap: 0.5em;
    align-items: center;
}

/* end social-feed styles */
@media (max-width: 992px) {

    /* start headlines styles */
    .headlines-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        list-style: none;
        gap: 1.5em;
    }

    /* end headlines styles */
    /* Start tabs styles */
    .tabs .tabs-content-wrapper .tabs-content.active {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 1.5em;
    }

    .tabs .tabs-content-wrapper .tabs-content .post-simple-card:nth-last-child(2) {
        border-bottom: none;
    }

    .tabs .tabs-content-wrapper .tabs-content .post-simple-card:last-child {
        padding: 1em 0;
    }

    /* end tabs styles */
    /* Start featured collection styles */
    .featured-collection .featured-collection-post-wrapper {
        gap: 1.5em;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    /* end featured collection styles */
    /* start big tabs styles */
    .big-tabs {
        grid-column: span 1;
    }

    /* end big tabs styles */
    /* start simple collection styles */
    .simple-collection .simple-collection-post-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5em;
    }

    .simple-collection .simple-collection-post-wrapper .post-simple-card:nth-last-child(2) {
        border: none;
        padding-bottom: 0;
    }

    .simple-collection .simple-collection-post-wrapper .post-simple-card:last-child {
        padding: 1em 0;
    }

    /* end simple collection styles */
    /* start categories styles */
    .categories .categories-list {
        grid-template-columns: repeat(3, 1fr);
    }

    /* end categories styles */
    /* start ad styles */
    .ad {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .ad .ad-link {
        max-height: 300px;
    }

    .ad .ad-image {
        object-fit: cover;
        object-position: top;
    }

    /* end ad styles */
    /* start social-feed styles */
    .social-feed .social-feed-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5em;
    }

    /* end social-feed styles */

}

@media (max-width: 768px) {

    /* start banner slider styles */
    .banner-slider {
        height: 400px;
    }

    .banner-slider .swiper-slide .banner-slider-item .banner-slider-item-content {
        width: 75%;
    }

    /* end banner slider styles */
    /* start social-feed styles */
    .social-feed .social-feed-items {
        grid-template-columns: repeat(2, 1fr);
    }

    /* end social-feed styles */
}

@media (max-width: 600px) {

    /* start banner */
    .banner-slider .swiper-slide .banner-slider-item .banner-slider-item-title {
        font-size: .9rem;
    }

    /* .banner-slider .swiper-slide .banner-slider-item {
        height: 300px !important;
    } */

    .banner-slider .swiper-slide .banner-slider-item .banner-slider-item-excerpt {
        font-size: var(--extra-small-size);
    }

    .banner-slider {
        height: 300px;
    }

    .headlines-list .headlines-list-item .headline-item-link {
        font-size: 0.7rem;
    }

    .headlines-list .headlines-list-item .post-meta {
        font-size: 0.6rem;
    }

    .banner-slider .swiper-slide .banner-slider-item .banner-slider-item-date,
    .banner-slider .swiper-slide .banner-slider-item .banner-slider-item-category {
        font-size: 0.5rem;
    }

    .banner-slider .swiper-slide .banner-slider-item .banner-slider-item-content {
        right: 0;
        transform: translateY(30%);
    }

    .swiper.banner-slider .banner-slider-pagination {
        right: 1.5em;
        bottom: 1em;
    }
    .swiper.banner-slider .banner-slider-buttons {
        left: 1.5em;
        bottom: 1em;
    }

    .category-posts .category-posts-header .category-posts-title {
        font-size: var(--h4-size);
    }

    .categories .category-item .category-image {
        width: 80px;
        height: 80px;
    }

    .category-posts .category-posts-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
    }

    .big-tabs .big-tabs-box .big-tabs-content {
        grid-template-columns: repeat(2, 1fr);
    }
    .social-feed .social-feed-items .social-feed-item {
        height: 250px;
    }
    .ad {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 425px) {
    .banner-slider {
        height: 300px;
    }

    .banner-slider .swiper-slide .banner-slider-item .banner-slider-item-title {
        font-size: .75rem;
    }

    .category-posts .category-posts-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 5rem;
    }

}

@media (max-width: 375px) {
    .category-posts .category-posts-header {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 4rem;
    }
}

@media (max-width: 320px) {}