/* ==========================================================================
   Insights Page Styles
   ========================================================================== */

/* ── 1. Hero Content Adjustments ─────────────────────────────────────── */
.page-insights #hero .hero-content h1,
.page-insightspage #hero .hero-content h1 {
    font-size: 72px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
}

.page-insights #hero .hero-content,
.page-insightspage #hero .hero-content {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.page-insights #hero .hero-content .btn,
.page-insightspage #hero .hero-content .btn {
    font-size: 18px;
    padding: 16px 36px;
    letter-spacing: 0.5px;
}
/* ── 2. Featured Insights Section ────────────────────────────────────── */
.featured-insights-section {
    background-color: #0F1D2C;
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.featured-insights-section .white-box {
    background-color: #ffffff;
    width: 100%;
    max-width: 1340px;
    margin: 36px auto 0 auto;
    border-radius: 0;
    padding: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.insights-header {
    margin-bottom: 30px;
}

.insights-header h2 {
    font-size: 42px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    margin: 0;
}

/* ── Category Filters ── */
.insights-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.insights-filters .filter-btn,
.case-studies-filters .filter-btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: none;
    color: #333333;
    font-weight: 400;
    font-size: 14px;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.insights-filters .filter-btn:hover,
.case-studies-filters .filter-btn:hover {
    background-color: #e0e0e0;
    color: #000000;
}

.insights-filters .filter-btn.active,
.case-studies-filters .filter-btn.active {
    background-color: #00A4EB;
    color: #ffffff;
}

.insights-clear-btn,
.clear-all-btn {
    padding: 10px 16px;
    background: transparent;
    border: 1.5px solid #adb5bd;
    color: #6c757d;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.insights-clear-btn::before,
.clear-all-btn::before {
    content: '\00D7';
    font-size: 16px;
    line-height: 1;
    font-weight: bold;
}

.insights-clear-btn:hover,
.clear-all-btn:hover {
    border-color: #c0392b;
    color: #c0392b;
    background: transparent;
}

/* ── Insights Grid ── */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.insight-card {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card.hide-card,
.insight-card.hidden-card {
    display: none !important;
}

.insight-card-inner {
    background: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    height: 100%;
    min-height: 220px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.insight-card:hover .insight-card-inner {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.insight-card-inner .standard-image {
    width: 40%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
}

.insight-card-inner .standard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.insight-card:hover .standard-image img {
    transform: scale(1.06);
}

.insight-card-inner .read-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: #111111;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

.insight-card-inner .read-badge img {
    width: 12px;
    height: 12px;
    display: inline-block;
}

.insight-card-inner .standard-content {
    width: 60%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
}

.insight-card-inner .standard-meta {
    font-size: 13px;
    color: #737373;
    margin-bottom: 8px;
    font-weight: 400;
}

.insight-card-inner h3 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
    color: #000000;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.insight-card:hover .standard-content h3 {
    color: #00A4EB;
}

.insight-card-inner .standard-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #555555;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.insight-card-inner .case-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #EAEAEA;
    padding-top: 14px;
    margin-top: auto;
}

.insight-card-inner .author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.insight-card-inner .author-info img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #eee;
}

.insight-card-inner .author-name {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #000000;
}

.insight-card-inner .author-role {
    display: block;
    font-size: 11px;
    color: #737373;
}

.insight-card-inner .case-view-btn {
    background-color: #F5F5F5;
    color: #000000;
    padding: 8px 16px;
    border: none;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.insight-card-inner .view-arrow {
    width: 11px;
    height: 11px;
    margin-left: 6px;
    transition: all 0.3s ease;
    filter: brightness(0);
}

.insight-card:hover .case-view-btn {
    background-color: #000000;
    color: #ffffff;
}

.insight-card:hover .view-arrow {
    filter: brightness(0) invert(1);
}

/* ── Action Button (Show More) ── */
.insights-action,
.cases-action {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    width: 100%;
}

.show-more-btn {
    padding: 12px 32px;
    background-color: #00A4EB;
    border: 1px solid #00A4EB;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    background-color: #008ecc;
    border-color: #008ecc;
}

.show-more-btn svg.filter-arrow {
    transition: transform 0.3s ease;
}

/* ── 3. Case Studies Section on Insights Page ────────────────────────── */
.case-studies-section {
    background-color: #0F1D2C;
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
    padding-bottom: 36px;
}

.case-studies-section .white-box {
    background-color: #ffffff;
    width: 100%;
    max-width: 1340px;
    margin: 36px auto 0 auto;
    border-radius: 0;
    padding: 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.case-studies-header {
    margin-bottom: 36px;
}

.case-studies-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #737373;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.case-studies-header h2 {
    font-size: 42px;
    font-weight: 400;
    color: #000000;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.case-studies-header p {
    font-size: 18px;
    line-height: 1.6;
    color: #737373;
    max-width: 100%;
    margin: 0;
}

.case-studies-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.selected-filters-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.selected-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.selected-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #00A4EB;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
}

.badge-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    margin-left: 4px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

/* ── Case Studies Grid ── */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
    width: 100%;
}

.case-card {
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 250px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    box-sizing: border-box;
}

.case-card.hide-card,
.case-card.hidden-card {
    display: none !important;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.case-logo {
    position: absolute;
    left: 16px;
    top: 16px;
    max-width: 50px;
    height: auto;
    object-fit: contain;
    z-index: 5;
}

.case-img-wrapper {
    height: 170px;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
}

.case-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.case-card:hover .case-img-wrapper img {
    transform: scale(1.05);
}

.case-content {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-cat {
    font-size: 12px;
    color: #737373;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-content h3 {
    font-size: 19px;
    font-weight: 400;
    color: #000000;
    line-height: 1.3;
    margin: 0 0 12px 0;
}

.case-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.case-studies-grid .case-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-top: 1px solid #EAEAEA;
    padding-top: 16px;
    margin-top: auto;
}

.case-studies-grid .case-view-btn {
    background-color: #F5F5F5;
    color: #000000;
    padding: 8px 20px;
    border: none;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.case-card:hover .case-view-btn {
    background-color: #000000;
    color: #ffffff;
}

.case-card:hover .view-arrow {
    filter: brightness(0) invert(1);
}

/* ── Mobile Pagers ── */
#insightsPager,
#exploreMobPagination {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    width: 100%;
}

.mob-dash,
.case-mob-dash {
    height: 4px;
    width: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0;
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.mob-dash.active,
.case-mob-dash.active {
    width: 28px;
    background: #00A4EB;
}

.bullet-list li p {
    margin: -1px;
    padding: 0px;
}
/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    .featured-insights-section .white-box,
    .case-studies-section .white-box {
        padding: 40px;
        margin: 24px 16px 0 16px;
        width: calc(100% - 32px);
    }

    .case-studies-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 16px;
        padding-bottom: 10px;
    }

    .case-studies-grid::-webkit-scrollbar {
        display: none;
    }

    .case-card {
        flex: 0 0 calc(50% - 8px);
        min-width: calc(50% - 8px);
        scroll-snap-align: start;
    }

    #exploreMobPagination {
        display: flex;
    }
}

@media (max-width: 992px) {
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .insight-card-inner {
        min-height: auto;
    }

    .case-studies-header h2,
    .insights-header h2 {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .featured-insights-section .white-box,
    .case-studies-section .white-box {
        padding: 24px 16px;
        margin: 16px 12px 0 12px;
        width: calc(100% - 24px);
    }

    .page-insights #hero .hero-content h1,
    .page-insightspage #hero .hero-content h1 {
        font-size: 42px;
        margin-bottom: 16px;
    }

    .case-studies-header h2,
    .insights-header h2 {
        font-size: 28px;
    }

    .case-studies-header p {
        font-size: 15px;
    }

    .insight-card-inner {
        flex-direction: column;
    }

    .insight-card-inner .standard-image {
        width: 100%;
        height: 200px;
    }

    .insight-card-inner .standard-content {
        width: 100%;
        padding: 20px;
    }

    .case-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .insights-filters .filter-btn,
    .case-studies-filters .filter-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}
