/* Swiper settings */
.commune-slider {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;
}

.commune-slider__swiper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.commune-slider .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

/* 
*
* SINGLE SLIDE GRID 
*
*/
.commune-slider__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: start;
    gap: 48px;
}

/* First post (big one) */
.commune-slider__grid .commune-slider__first-post {
    position: relative;
    height: 100%;
}

.commune-slider__grid .commune-slider__first-post:before {
    content: "";
    position: absolute;
    right: -24px;
    width: 1px;
    height: 100%;
    background: #ccc;
}

.commune-slider__grid .commune-slider__first-post .entries {
    display: flex;
}

.commune-slider__grid .commune-slider__first-post .entries article {
    border: none !important;
    padding-bottom: 0 !important;
}

.commune-slider__grid
    .commune-slider__first-post
    .entries
    article
    .entry-title {
    margin-bottom: 0 !important;
}

.commune-slider__grid
    .commune-slider__first-post
    .entries
    article
    .entry-title {
    font-size: 32px !important;
}

/* Other posts (3) */
.commune-slider__grid .commune-slider__other-posts .entries {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.commune-slider__grid .commune-slider__other-posts .entries article {
    display: flex;
    flex-direction: row;
    gap: 24px;
    padding-bottom: 8px;
}

.commune-slider__grid .commune-slider__other-posts .entries article:before {
    display: none;
}

.commune-slider__grid
    .commune-slider__other-posts
    .entries
    article
    .ct-media-container,
.commune-slider__grid
    .commune-slider__other-posts
    .entries
    article
    .ct-media-container
    img {
    max-width: 250px;
}

.commune-slider__grid .commune-slider__other-posts .entries article:last-child {
    border: none !important;
    padding-bottom: 0;
}

.commune-slider__grid
    .commune-slider__other-posts
    .entries
    article:last-child
    .ct-media-container {
    margin-bottom: 0;
}

/*
*
*
*
*
*
*/

/* Hidden details - will be moved to pagination bullets */
.commune-slider .slide-details {
    display: none !important;
}

/* Pagination */
.commune-slider .swiper-pagination {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    position: relative;
    top: 0;
}

/* Default pagination bullet */
.commune-slider .swiper-pagination .swiper-pagination-bullet {
    width: auto;
    height: auto;
    background-color: var(--theme-palette-color-5);
    color: var(--theme-palette-color-3);
    opacity: 1;
    text-align: center;
    margin: 0;
    padding: 8px 16px;
}

.commune-slider .swiper-pagination .swiper-pagination-bullet * {
    color: var(--theme-palette-color-3);
    font-size: 16px;
}

/* Active and hovered pagination bullet */
.commune-slider .swiper-pagination .swiper-pagination-bullet-active,
.home-hero .container .swiper-pagination .swiper-pagination-bullet:hover {
    background-color: var(--theme-palette-color-1);
}

.commune-slider .swiper-pagination .swiper-pagination-bullet-active *,
.home-hero .container .swiper-pagination .swiper-pagination-bullet:hover * {
    color: var(--theme-palette-color-8) !important;
}
