.media-page {
    min-height: 70vh;
    padding-bottom: 100px;
    background: #fff;
}

.media-hero {
    position: relative;
    padding: 80px 20px 65px;
    text-align: center;
    background: #f5faf8;
    overflow: hidden;
}

.media-hero::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -90px;
    right: 12%;
    border: 1px solid rgba(44,175,149,.12);
    border-radius: 50%;
}

.media-hero::after {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    bottom: -45px;
    left: 18%;
    border: 1px solid rgba(6,59,68,.08);
    border-radius: 50%;
}

.media-hero .container {
    position: relative;
    z-index: 2;
}

.media-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #2caf95;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(12px);
    animation: mediaFadeUp .7s ease forwards;
}

.media-kicker::before,
.media-kicker::after {
    content: "";
    width: 28px;
    height: 1px;
    background: #2caf95;
}

.media-hero h1 {
    margin: 0 0 14px;
    color: #063b44;
    font-size: 42px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(18px);
    animation: mediaFadeUp .8s ease .1s forwards;
}

.media-hero p {
    max-width: 600px;
    margin: auto;
    color: #718589;
    font-size: 16px;
    line-height: 1.9;
    opacity: 0;
    transform: translateY(15px);
    animation: mediaFadeUp .8s ease .2s forwards;
}

/* =========================
   Editorial Layout
========================= */

.media-grid {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
}

.media-item {
    position: relative;
    display: grid;
    grid-template-columns: 42% 1fr;
    gap: 60px;
    align-items: center;
    padding: 70px 0;
    border-bottom: 1px solid #e7eeed;
    background: transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: mediaItemReveal .8s ease forwards;
}

.media-item:nth-child(1) {
    animation-delay: .15s;
}

.media-item:nth-child(2) {
    animation-delay: .25s;
}

.media-item:nth-child(3) {
    animation-delay: .35s;
}

.media-item:nth-child(4) {
    animation-delay: .45s;
}

.media-item:nth-child(5) {
    animation-delay: .55s;
}

.media-item:nth-child(6) {
    animation-delay: .65s;
}

.media-item:first-child {
    padding-top: 40px;
}

.media-item:last-child {
    border-bottom: none;
}

.media-item:nth-child(even) {
    direction: ltr;
}

.media-item:nth-child(even) .media-item-body {
    direction: rtl;
}

/* =========================
   Image / Video
========================= */

.media-item-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf3f2;
    border-radius: 4px;
}

.media-item-media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 0;
    height: 3px;
    background: #2caf95;
    transition: width .55s cubic-bezier(.4,0,.2,1);
}

.media-item-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        120deg,
        rgba(44,175,149,.08),
        transparent 45%
    );
    opacity: 0;
    transition: opacity .5s ease;
    pointer-events: none;
}

.media-item:hover .media-item-media::before {
    width: 100%;
}

.media-item:hover .media-item-media::after {
    opacity: 1;
}

.media-item-media img,
.media-item-media video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .8s cubic-bezier(.2,.7,.2,1),
        filter .5s ease;
}

.media-item:hover .media-item-media img {
    transform: scale(1.035);
    filter: brightness(1.02);
}

.media-item:hover .media-item-media video {
    transform: scale(1.01);
}

.media-item-media video {
    background: #082c32;
}

/* =========================
   Text
========================= */

.media-item-body {
    position: relative;
    padding: 0;
}

.media-item-body::before {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    margin-bottom: 22px;
    background: #2caf95;
    transition: width .45s ease;
}

.media-item:hover .media-item-body::before {
    width: 65px;
}

.media-item-content {
    color: #294d54;
    font-size: 19px;
    line-height: 1.95;
    white-space: pre-line;
    transition: color .35s ease;
}

.media-item:hover .media-item-content {
    color: #063b44;
}

.media-item-date {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #89999d;
    font-size: 12px;
    letter-spacing: .3px;
    transition: color .3s ease;
}

.media-item-date i {
    color: #2caf95;
    transition: transform .35s ease;
}

.media-item:hover .media-item-date {
    color: #647b80;
}

.media-item:hover .media-item-date i {
    transform: translateX(-3px);
}

/* =========================
   Empty State
========================= */

.media-empty {
    padding: 100px 20px;
    text-align: center;
    opacity: 0;
    animation: mediaFadeUp .8s ease forwards;
}

.media-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f1faf7;
    color: #2caf95;
    font-size: 28px;
}

.media-empty h2 {
    margin: 0;
    color: #063b44;
    font-size: 21px;
}

/* =========================
   Animations
========================= */

@keyframes mediaFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mediaItemReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================
   Tablet
========================= */

@media (max-width: 991px) {
    .media-item {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 45px 0;
    }

    .media-item:nth-child(even),
    .media-item:nth-child(even) .media-item-body {
        direction: rtl;
    }

    .media-item-media {
        aspect-ratio: 16 / 10;
    }

    .media-item-content {
        font-size: 18px;
    }
}

/* =========================
   Mobile
========================= */

@media (max-width: 767px) {
    .media-hero {
        padding: 60px 20px 50px;
    }

    .media-hero h1 {
        font-size: 32px;
    }

    .media-hero p {
        font-size: 15px;
    }

    .media-kicker::before,
    .media-kicker::after {
        width: 20px;
    }

    .media-item {
        gap: 24px;
        padding: 40px 0;
    }

    .media-item-media {
        aspect-ratio: 16 / 10;
        border-radius: 3px;
    }

    .media-item-content {
        font-size: 16px;
        line-height: 1.85;
    }

    .media-item-body::before {
        width: 32px;
    }

    .media-item:hover .media-item-body::before {
        width: 52px;
    }
}

/* =========================
   Reduced Motion
========================= */

@media (prefers-reduced-motion: reduce) {
    .media-page *,
    .media-page *::before,
    .media-page *::after {
        animation: none !important;
        transition: none !important;
    }
}