/* ==========================================
   MEDIA COVERAGE ARCHIVE
========================================== */

.media-coverage-page {
    background: #ffffff;
    padding: 35px 0 50px;
}

/* Media Coverage Page Font */

.media-coverage-container {
    font-family: 'Roboto', sans-serif;
}

/* Keep WordPress Dashicons working */

.media-coverage-container .dashicons {
    font-family: dashicons !important;
}
.media-coverage-container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


/* ==========================================
   YEAR FILTER
========================================== */

.media-years {
    width: 210px;
    flex: 0 0 210px;
    background: transparent;
}

.media-year-item {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 18px 20px;
    margin-bottom: 6px;
    background: #eeeeee;
    color: #555555;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease;
}

.media-year-item:hover,
.media-year-item.active {
    background: #2799c8;
    color: #ffffff;
}


/* ==========================================
   MEDIA LIST
========================================== */

.media-coverage-list {
    flex: 1;
    min-width: 0;
}

.media-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #777;
}

.media-meta span.media-source,
.media-meta span.media-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.media-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
    color: #7fae35;
}

/* ==========================================
   MEDIA CARD
========================================== */

.media-coverage-card {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 15px;
    background: #f3f9fa;
    border: 1px solid #d6e1e3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
}


/* ==========================================
   IMAGE
========================================== */

.media-image {
    width: 240px;
    min-width: 240px;
    height: 205px;
    box-sizing: border-box;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


/* ==========================================
   CONTENT
========================================== */

.media-content {
    flex: 1;
    padding: 28px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* ==========================================
   META
========================================== */

.media-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #666666;
}

.media-source,
.media-date {
    display: inline-flex;
    align-items: center;
}



/* ==========================================
   TITLE
========================================== */

.media-title {
    margin: 0 0 12px;
    padding: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.media-title,
.media-title a {
    color: #2799c8;
    text-decoration: none;
}

.media-title a:hover {
    color: #1595aa;
}


/* ==========================================
   DESCRIPTION
========================================== */

.media-description {
    font-size: 15px;
    line-height: 1.7;
    color: #555555;
}

.media-description p {
    margin: 0;
}


/* ==========================================
   TABLET
========================================== */

@media screen and (max-width: 1024px) {

    .media-coverage-container {
        width: 94%;
    }

    .media-years {
        width: 170px;
        flex-basis: 170px;
    }

    .media-image {
        width: 190px;
        min-width: 190px;
        height: 170px;
    }

    .media-content {
        padding: 22px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media screen and (max-width: 767px) {

    .media-coverage-page {
        padding: 25px 0 40px;
    }

    .media-coverage-container {
        width: 90%;
        flex-direction: column;
    }

    .media-years {
        width: 100%;
        flex-basis: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .media-year-item {
        width: auto;
        flex: 1;
        min-width: 70px;
        margin-bottom: 0;
    }

    .media-coverage-card {
        flex-direction: column;
    }

    .media-image {
        width: 100%;
        min-width: 100%;
        height: 240px;
    }

    .media-content {
        padding: 20px;
    }

    .media-meta {
        flex-wrap: wrap;
    }

}




/* =========================================
   MEDIA COVERAGE BANNER
========================================= */

.media-page-banner {
    width: 100%;
    height: 150px;
    position: relative;
    overflow: hidden;
    background: #2799c8;
    display: flex;
    align-items: center;
}

/* Left content */

.media-banner-content {
    width: 55%;
    padding-left: 7%;
    position: relative;
    z-index: 2;
}

.media-banner-content h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
}

/* Breadcrumb */

.media-banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 15px;
}

.media-banner-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.media-banner-breadcrumb a:hover {
    text-decoration: underline;
}

.media-banner-breadcrumb span {
    color: #ffffff;
}

/* Right image */

.media-banner-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.media-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Gradient blending image into cyan */

.media-banner-image::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 35%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(
        to right,
        #2799c8,
        rgba(22, 197, 212, 0)
    );
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .media-page-banner {
        height: 220px;
    }

    .media-banner-content {
        width: 100%;
        padding: 30px;
        z-index: 3;
    }

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

    .media-banner-image {
        width: 70%;
        opacity: 0.45;
    }

    .media-banner-image::before {
        width: 60%;
    }

}