/* ==========================================================================
   Kandryn Performance - Insights index (/insights/)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.insights-hero {
    position: relative;
    background:
        linear-gradient(180deg, rgba(37,51,57,0.78) 0%, rgba(37,51,57,0.62) 100%),
        url('/images/kandryn-insights-hero-rowing.jpg') center 38% / cover no-repeat;
    color: #fff;
    text-align: center;
    padding-block: clamp(4rem, 11vw, 8rem);
}
.insights-hero h1 {
    color: #fff;
    margin-bottom: 0.9rem;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
}
.insights-hero p {
    color: #e4eaec;
    font-size: 1.18rem;
    line-height: 1.6;
    max-width: 40rem;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Post list - full-width alternating bands
   -------------------------------------------------------------------------- */
.insight-list { /* container-free; each row is a full-width band */ }

.insight-row { background: #fff; }
.insight-row:nth-child(even) { background: var(--grey); }

.insight-row__inner {
    display: flex;
    align-items: center;
    gap: clamp(1.8rem, 4vw, 4rem);
    padding-block: clamp(2.2rem, 4vw, 3.4rem);
}
.insight-row:nth-child(even) .insight-row__inner { flex-direction: row-reverse; }

.insight-row__media {
    flex: 0 0 42%;
    max-width: 42%;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 16 / 10;
}
.insight-row__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.insight-row__media:hover img { transform: scale(1.04); }

.insight-row__body { flex: 1; min-width: 0; }
.insight-row__meta {
    font-family: var(--font-head);
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: 0.7rem;
}
.insight-row__body h2 {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin-bottom: 0.7rem;
}
.insight-row__body h2 a { color: var(--charcoal); }
.insight-row__body h2 a:hover { color: var(--teal-dark); }
.insight-row__excerpt {
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-block: clamp(2.5rem, 5vw, 4rem);
}
.pagination a, .pagination span {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 44px;
    height: 44px;
    padding: 0 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    border: 1px solid var(--grey-line);
    color: var(--charcoal);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pagination a:hover { border-color: var(--teal); color: var(--teal-dark); }
.pagination .is-current {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}
.pagination .is-disabled {
    opacity: 0.4;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 760px) {
    .insight-row__inner,
    .insight-row:nth-child(even) .insight-row__inner { flex-direction: column; align-items: stretch; }
    .insight-row__media { flex-basis: auto; max-width: 100%; width: 100%; }
}
