/* ==========================================================================
   SK Elementor Addons: Posts & Slider Widget Stylesheet
   ========================================================================== */

/* ── Global Layout Rules & Grid Columns ── */
.skea-posts-wrapper {
    position: relative;
    width: 100%;
}

.skea-posts-container-inner {
    transition: opacity 0.3s ease;
}

.skea-loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Base Post Card Styles */
.skea-post-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.skea-post-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.skea-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ── Featured Image ── */
.skea-post-thumbnail {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
    z-index: 1;
}

/* Aspect Ratio Utilities */
.skea-post-thumbnail::before {
    content: "";
    display: block;
    width: 100%;
}

.skea-ratio-1-1::before {
    padding-top: 100%;
}

.skea-ratio-4-3::before {
    padding-top: 75%;
}

.skea-ratio-16-9::before {
    padding-top: 56.25%;
}

.skea-ratio-3-2::before {
    padding-top: 66.66%;
}

/* Default ratio when no ratio class is set */
.skea-post-thumbnail:not([class*="skea-ratio-"])::before {
    padding-top: 56.25%;
    /* 16:9 fallback */
    content: "";
}

.skea-thumbnail-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.skea-post-thumbnail-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease !important;
}

.skea-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
}

.skea-post-thumbnail:hover .skea-thumbnail-overlay {
    background-color: rgba(0, 0, 0, 0.15);
}


/* Hover Zoom Effects */
.skea-img-hover-zoom:hover {
    transform: scale(1.08);
}

.skea-img-hover-zoom-out {
    transform: scale(1.08);
}

.skea-post-thumbnail:hover .skea-img-hover-zoom-out {
    transform: scale(1);
}

.skea-post-thumbnail:hover .skea-img-hover-blur {
    filter: blur(2px);
}

.skea-post-thumbnail:hover .skea-img-hover-grayscale {
    filter: grayscale(100%);
}

.skea-post-thumbnail:hover .skea-img-hover-brightness {
    filter: brightness(1.2);
}

/* ── Badges ── */
.skea-post-badge-wrap {
    position: absolute;
    z-index: 10;
    pointer-events: none;
}

.skea-badge-top-left {
    top: 15px;
    left: 15px;
}

.skea-badge-top-right {
    top: 15px;
    right: 15px;
}

.skea-badge-bottom-left {
    bottom: 15px;
    left: 15px;
}

.skea-badge-bottom-right {
    bottom: 15px;
    right: 15px;
}

.skea-post-badge {
    pointer-events: auto;
    display: inline-block;
    padding: 6px 14px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #fff;
    background-color: var(--skea-primary);
    text-decoration: none;
    transition: var(--skea-transition);
}

.skea-badge-style-pill {
    border-radius: 50px;
}

.skea-badge-style-rounded {
    border-radius: 4px;
}

.skea-badge-style-flat {
    border-radius: 0;
}

.skea-post-badge:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
}

/* Typography styles */
.skea-post-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px 0;
}

.skea-post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.skea-post-title a:hover {
    color: #3b82f6;
}

.skea-post-excerpt {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Post Meta ── */
.skea-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--skea-text-muted);
    margin-bottom: 10px;
}

.skea-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.skea-meta-item a {
    color: inherit;
    text-decoration: none;
}

.skea-meta-item a:hover {
    color: #3b82f6;
}

.skea-meta-separator {
    color: #d1d5db;
}

/* ── Read More Button ── */
.skea-post-footer {
    margin-top: auto;
    padding-top: 15px;
}

.skea-post-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--skea-primary);
    background-color: transparent;
    border: 2px solid var(--skea-primary);
    border-radius: 6px;
    text-decoration: none;
    transition: var(--skea-transition);
}

.skea-post-btn:hover {
    background-color: var(--skea-primary);
    color: #fff;
    transform: translateX(3px);
}

/* ── Grid System ── */
.skea-posts-grid {
    display: grid;
    gap: var(--skea-grid-gap, 30px);
    width: 100%;
}

.skea-cols-1 .skea-posts-grid {
    grid-template-columns: 1fr;
}

.skea-cols-2 .skea-posts-grid {
    grid-template-columns: repeat(2, 1fr);
}

.skea-cols-3 .skea-posts-grid {
    grid-template-columns: repeat(3, 1fr);
}

.skea-cols-4 .skea-posts-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .skea-cols-tab-1 .skea-posts-grid {
        grid-template-columns: 1fr;
    }

    .skea-cols-tab-2 .skea-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .skea-cols-mob-1 .skea-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* ── List Layout ── */
.skea-posts-list {
    display: grid;
    gap: 20px;
    width: 100%;
}

.skea-cols-1 .skea-posts-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.skea-cols-2 .skea-posts-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.skea-cols-3 .skea-posts-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.skea-cols-4 .skea-posts-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.skea-cols-5 .skea-posts-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.skea-cols-6 .skea-posts-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}


@media (max-width: 767px) {
    .skea-cols-mob-1 .skea-posts-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .skea-cols-mob-2 .skea-posts-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .skea-cols-mob-3 .skea-posts-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.skea-posts-list .skea-post-card {
    flex-direction: row;
}

.skea-posts-list .skea-post-thumbnail {
    width: 35%;
}

.skea-posts-list .skea-card-body {
    width: 65%;
}

.skea-posts-list.skea-list-img-right .skea-post-card {
    flex-direction: row-reverse;
}

.skea-posts-list.skea-list-img-top .skea-post-card {
    flex-direction: column;
}

.skea-posts-list.skea-list-img-bottom .skea-post-card {
    flex-direction: column-reverse;
}

.skea-posts-list.skea-list-img-top .skea-post-thumbnail,
.skea-posts-list.skea-list-img-top .skea-card-body,
.skea-posts-list.skea-list-img-bottom .skea-post-thumbnail,
.skea-posts-list.skea-list-img-bottom .skea-card-body {
    width: 100% !important;
}

@media (max-width: 767px) {
    .skea-posts-list .skea-post-card {
        flex-direction: column;
    }

    .skea-posts-list .skea-post-thumbnail,
    .skea-posts-list .skea-card-body {
        width: 100%;
    }
}


/* ── Masonry Grid Layout (Pure CSS Columns) ── */
.skea-posts-masonry {
    display: block;
    width: 100%;
    column-gap: 30px;
}

.skea-posts-masonry .skea-post-item {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 30px;
    box-sizing: border-box;
}

.skea-posts-layout-masonry.skea-cols-1 .skea-posts-masonry {
    column-count: 1;
}

.skea-posts-layout-masonry.skea-cols-2 .skea-posts-masonry {
    column-count: 2;
}

.skea-posts-layout-masonry.skea-cols-3 .skea-posts-masonry {
    column-count: 3;
}

.skea-posts-layout-masonry.skea-cols-4 .skea-posts-masonry {
    column-count: 4;
}

.skea-posts-layout-masonry.skea-cols-5 .skea-posts-masonry {
    column-count: 5;
}

.skea-posts-layout-masonry.skea-cols-6 .skea-posts-masonry {
    column-count: 6;
}

@media (max-width: 1024px) {
    .skea-posts-layout-masonry.skea-cols-tab-1 .skea-posts-masonry {
        column-count: 1;
    }

    .skea-posts-layout-masonry.skea-cols-tab-2 .skea-posts-masonry {
        column-count: 2;
    }

    .skea-posts-layout-masonry.skea-cols-tab-3 .skea-posts-masonry {
        column-count: 3;
    }

    .skea-posts-layout-masonry.skea-cols-tab-4 .skea-posts-masonry {
        column-count: 4;
    }
}

@media (max-width: 767px) {
    .skea-posts-layout-masonry.skea-cols-mob-1 .skea-posts-masonry {
        column-count: 1;
    }

    .skea-posts-layout-masonry.skea-cols-mob-2 .skea-posts-masonry {
        column-count: 2;
    }

    .skea-posts-layout-masonry.skea-cols-mob-3 .skea-posts-masonry {
        column-count: 3;
    }
}

/* Masonry: always use natural card heights — equal-height toggle must not apply */
.skea-posts-layout-masonry .skea-post-card {
    height: auto !important;
    min-height: 0 !important;
}

/* ── Carousel / Slider ── */
.skea-swiper-wrapper {
    position: relative;
    width: 100%;
    padding: 10px 0;
    /* Clip ghost slides and overflow from centeredSlides / loop mode */
    overflow: hidden;
}

.skea-posts-swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
    /* Prevent the swiper container itself from leaking outside */
    clip-path: inset(0);
}

.skea-posts-swiper .swiper-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
}

.skea-posts-swiper .skea-post-card {
    width: 100%;
}

/* Navigation Buttons (Arrows) - placed outside swiper but inside wrapper */
.skea-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 50;
    transition: background-color 0.3s ease, color 0.3s ease,
                border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
                0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 0;
    /* Prevent arrows from being hidden by parent overflow:hidden */
    margin-top: 0;
}

.skea-swiper-btn i {
    font-size: 16px;
}

.skea-swiper-btn:hover {
    background-color: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

/* Wrapper must have overflow:visible for arrows positioned outside swiper */
.skea-swiper-wrapper {
    overflow: visible;
}

/* But we still need the swiper itself clipped */
.skea-swiper-wrapper .skea-posts-swiper {
    overflow: hidden;
}

.skea-swiper-btn-prev {
    left: -22px;
}

.skea-swiper-btn-next {
    right: -22px;
}

/* Fallback: on smaller containers keep arrows inside */
@media (max-width: 1200px) {
    .skea-swiper-btn-prev {
        left: 5px;
    }

    .skea-swiper-btn-next {
        right: 5px;
    }
}

/* Dots Styling */
.skea-swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    position: relative !important;
    bottom: auto !important;
    margin-top: 25px;
}

.skea-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 50%;
    background: #d1d5db;
    opacity: 1;
    cursor: pointer;
    margin: 0 !important;
    transition: all 0.3s ease;
}

.skea-swiper-pagination .swiper-pagination-bullet-active {
    background: #3b82f6;
    width: 24px;
    border-radius: 50px;
}

/* ── Category Live Filtering Tabs ── */
.skea-filter-tabs-wrap {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.skea-filter-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    flex-wrap: wrap;
    background: #ebeef3;
    padding: 6px;
    border-radius: 50px;
    gap: 5px;
}

.skea-filter-tab {
    padding: 9px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    user-select: none;
}

.skea-filter-tab:hover {
    color: #111827;
}

.skea-filter-tab.active {
    background: #ffffff;
    color: var(--skea-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ── Pagination styling ── */
.skea-pagination-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
}

.skea-pagination-ajax {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.skea-pagination-ajax a,
.skea-pagination-ajax span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    border-radius: 8px;
    border: 1px solid var(--skea-border-color);
    text-decoration: none;
    font-weight: 600;
    color: #4b5563;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.skea-pagination-ajax a:hover {
    background: var(--skea-primary);
    color: #fff;
    border-color: var(--skea-primary);
}

.skea-pagination-ajax .current {
    background: #3b82f6;
    color: #fff;
    border-color: #3b82f6;
    cursor: default;
}

/* Load More Button Wrapper */
.skea-pagination-ajax-wrap,
.skea-load-more-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 30px;
}

.skea-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: var(--skea-primary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.skea-load-more-btn:hover {
    background-color: #1d4ed8;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.skea-load-more-btn.loading {
    opacity: 0.85;
    cursor: not-allowed;
}

/* ── Overlay Layout ──
   ========================================================================== */
.skea-posts-layout-overlay .skea-post-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 380px;
    border: none;
    overflow: hidden;
    border-radius: 8px;
}

.skea-posts-layout-overlay .skea-post-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.skea-posts-layout-overlay .skea-post-thumbnail::before {
    display: none !important;
}

.skea-posts-layout-overlay .skea-thumbnail-link,
.skea-posts-layout-overlay .skea-post-thumbnail-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.skea-posts-layout-overlay .skea-post-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, var(--skea-overlay-color, #000000) 100%);
    opacity: var(--skea-overlay-opacity, 0.85);
    transition: all 0.3s ease;
    z-index: 2;
}

.skea-posts-layout-overlay .skea-post-card:hover .skea-post-thumbnail::after {
    background: linear-gradient(to bottom, transparent 20%, var(--skea-overlay-color-hover, var(--skea-overlay-color, #000000)) 100%);
    opacity: var(--skea-overlay-opacity-hover, 0.95);
}

.skea-posts-layout-overlay .skea-card-body {
    position: relative;
    z-index: 3;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    height: 100%;
    box-sizing: border-box;
    flex-grow: 1;
}

.skea-posts-layout-overlay .skea-post-title {
    margin-bottom: 8px;
}

.skea-posts-layout-overlay .skea-post-title a {
    color: #ffffff;
    text-decoration: none;
}

.skea-posts-layout-overlay .skea-post-title a:hover {
    color: var(--skea-primary);
}

.skea-posts-layout-overlay .skea-post-excerpt {
    color: #e5e7eb;
    margin-bottom: 12px;
}

.skea-posts-layout-overlay .skea-post-meta {
    color: #d1d5db;
    margin-bottom: 10px;
}

.skea-posts-layout-overlay .skea-post-meta a {
    color: #d1d5db;
    text-decoration: none;
}

.skea-posts-layout-overlay .skea-post-meta a:hover {
    color: var(--skea-primary);
}

.skea-posts-layout-overlay .skea-post-btn {
    border-color: #ffffff;
    color: #ffffff;
}

.skea-posts-layout-overlay .skea-post-btn:hover {
    background-color: #ffffff;
    color: #111827;
}

/* Hover effects for Overlay Layout */
.skea-posts-layout-overlay.skea-hover-effect-zoom .skea-post-card:hover .skea-post-thumbnail-img {
    transform: scale(1.1);
}

.skea-posts-layout-overlay.skea-hover-effect-lift .skea-post-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
}

.skea-posts-layout-overlay.skea-hover-effect-lift .skea-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.skea-posts-layout-overlay.skea-hover-effect-slide .skea-card-body {
    transform: translateY(15px);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.skea-posts-layout-overlay.skea-hover-effect-slide .skea-post-card:hover .skea-card-body {
    transform: translateY(0);
}


/* ── Featured Grid ──
   ========================================================================== */
.skea-posts-featured {
    display: grid;
    column-gap: var(--skea-column-gap, 20px);
    row-gap: var(--skea-row-gap, 20px);
    width: 100%;
}

.skea-posts-featured .skea-featured-main {
    width: 100%;
}

.skea-posts-featured .skea-featured-secondary {
    display: grid;
    width: 100%;
}

/* --- ROW Direction (Desktop) --- */
/* Direction class is on wrapper; target the inner grid element via descendant selector */
.skea-featured-dir-row .skea-posts-featured {
    grid-template-columns: var(--skea-featured-width, 50%) 1fr;
    align-items: stretch;
}

.skea-featured-dir-row .skea-posts-featured .skea-featured-main {
    height: 100%;
    min-height: 300px;
}

.skea-featured-dir-row .skea-posts-featured .skea-featured-secondary {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--skea-cards-count, 4), minmax(0, 1fr));
    row-gap: 20px;
}

/* --- COLUMN Direction (Desktop) --- */
.skea-featured-dir-column .skea-posts-featured {
    grid-template-columns: 1fr;
}

.skea-featured-dir-column .skea-posts-featured .skea-featured-secondary {
    grid-template-columns: repeat(var(--skea-cards-count, 4), minmax(0, 1fr));
    grid-template-rows: none;
    column-gap: 20px;
    row-gap: 20px;
}

/* --- Tablet Breakpoint (1024px) --- */
@media (max-width: 1024px) {

    /* Row direction on Tablet */
    .skea-featured-dir-tab-row .skea-posts-featured {
        grid-template-columns: var(--skea-featured-width, 50%) 1fr;
        align-items: stretch;
    }

    .skea-featured-dir-tab-row .skea-posts-featured .skea-featured-main {
        height: 100%;
        min-height: 260px;
    }

    .skea-featured-dir-tab-row .skea-posts-featured .skea-featured-secondary {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(var(--skea-cards-count, 4), minmax(0, 1fr));
        row-gap: 20px;
    }

    /* Column direction on Tablet */
    .skea-featured-dir-tab-column .skea-posts-featured {
        grid-template-columns: 1fr;
    }

    .skea-featured-dir-tab-column .skea-posts-featured .skea-featured-secondary {
        grid-template-columns: repeat(var(--skea-cards-count, 4), minmax(0, 1fr));
        grid-template-rows: none;
        column-gap: 20px;
        row-gap: 20px;
    }
}

/* --- Mobile Breakpoint (767px) --- */
@media (max-width: 767px) {

    /* Stack everything to single column on mobile by default */
    .skea-posts-layout-featured .skea-posts-featured {
        grid-template-columns: 1fr !important;
    }

    .skea-posts-layout-featured .skea-posts-featured .skea-featured-main {
        width: 100%;
        height: auto;
        min-height: 220px;
    }

    .skea-posts-layout-featured .skea-posts-featured .skea-featured-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        column-gap: 15px;
        row-gap: 15px;
    }

    /* Row direction on Mobile (if user explicitly set it) */
    .skea-featured-dir-mob-row .skea-posts-featured {
        grid-template-columns: var(--skea-featured-width, 50%) 1fr !important;
        align-items: stretch;
    }

    .skea-featured-dir-mob-row .skea-posts-featured .skea-featured-main {
        height: 100%;
    }

    .skea-featured-dir-mob-row .skea-posts-featured .skea-featured-secondary {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(var(--skea-cards-count, 4), minmax(0, 1fr));
        row-gap: 15px;
    }

    /* Column direction on Mobile */
    .skea-featured-dir-mob-column .skea-posts-featured {
        grid-template-columns: 1fr !important;
    }

    .skea-featured-dir-mob-column .skea-posts-featured .skea-featured-main {
        width: 100%;
        height: auto;
    }

    .skea-featured-dir-mob-column .skea-posts-featured .skea-featured-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        column-gap: 15px;
        row-gap: 15px;
    }
}


/* ── News Grid ──
   ========================================================================== */
.skea-posts-news {
    width: 100%;
}

.skea-posts-news .skea-news-main {
    width: 100%;
}

.skea-posts-news .skea-news-secondary {
    width: 100%;
}

/* --- News Grid Variation A --- */
.skea-posts-news.skea-news-style-layout_a {
    display: flex;
    flex-direction: column;
    row-gap: var(--skea-row-gap, 20px);
}

.skea-posts-news.skea-news-style-layout_a .skea-news-secondary {
    display: grid;
    grid-template-columns: repeat(var(--skea-news-cols, 3), minmax(0, 1fr));
    column-gap: var(--skea-column-gap, 20px);
    row-gap: var(--skea-row-gap, 20px);
}

@media (max-width: 1024px) {
    .skea-posts-news.skea-news-style-layout_a .skea-news-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .skea-posts-news.skea-news-style-layout_a .skea-news-secondary {
        grid-template-columns: 1fr;
    }
}

/* --- News Grid Variation B --- */
.skea-posts-news.skea-news-style-layout_b {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--skea-column-gap, 20px);
    row-gap: var(--skea-row-gap, 20px);
}

.skea-posts-news.skea-news-style-layout_b .skea-news-secondary {
    display: flex;
    flex-direction: column;
    row-gap: var(--skea-row-gap, 15px);
}

.skea-posts-news.skea-news-style-layout_b .skea-news-secondary .skea-post-card {
    flex-direction: row;
    align-items: center;
    height: auto;
}

.skea-posts-news.skea-news-style-layout_b .skea-news-secondary .skea-post-thumbnail {
    width: 30%;
    min-width: 100px;
}

.skea-posts-news.skea-news-style-layout_b .skea-news-secondary .skea-card-body {
    width: 70%;
    padding: 15px;
}

@media (max-width: 1024px) {
    .skea-posts-news.skea-news-style-layout_b {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .skea-posts-news.skea-news-style-layout_b .skea-news-secondary .skea-post-card {
        flex-direction: column;
        align-items: stretch;
    }

    .skea-posts-news.skea-news-style-layout_b .skea-news-secondary .skea-post-thumbnail,
    .skea-posts-news.skea-news-style-layout_b .skea-news-secondary .skea-card-body {
        width: 100%;
    }
}

/* --- News Grid Variation C --- */
.skea-posts-news.skea-news-style-layout_c {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--skea-column-gap, 20px);
    row-gap: var(--skea-row-gap, 20px);
}

.skea-posts-news.skea-news-style-layout_c .skea-news-secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--skea-column-gap, 20px);
    row-gap: var(--skea-row-gap, 20px);
}

@media (max-width: 1024px) {
    .skea-posts-news.skea-news-style-layout_c {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .skea-posts-news.skea-news-style-layout_c .skea-news-secondary {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================================
   Advanced Carousel Navigation Adjustments
   ========================================================================== */
.skea-swiper-btn {
    display: inline-flex !important;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.skea-swiper-btn-text {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.skea-swiper-btn svg {
    display: inline-block;
    vertical-align: middle;
}