/* =========================================================
   JUSOOR V2 — News & Activities
   ========================================================= */

.news-page {
    padding: 22px 0 64px;
    background: #f4f7f9;
    color: #173149;
}


/* Breadcrumb */

.news-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 14px;

    color: #81909a;
    font-size: 12px;
}

.news-breadcrumb a {
    color: #286b94;
    text-decoration: none;
}

.news-breadcrumb strong {
    color: #173149;
}


/* Shared */

.news-eyebrow {
    margin: 0 0 7px;

    color: #c49a3b;

    font-size: 12px;
    font-weight: 800;
}


/* Hero */

.news-hero {
    position: relative;
    overflow: hidden;

    padding: 36px;

    border-radius: 18px;
    border-bottom: 3px solid #cda94f;

    background:
        linear-gradient(
            135deg,
            #073654 0%,
            #052a43 52%,
            #031b2b 100%
        );

    color: #fff;

    box-shadow:
        0 14px 32px rgba(10,42,63,.08);
}

.news-hero::after {
    content: "";

    position: absolute;
    left: -100px;
    top: -125px;

    width: 320px;
    height: 320px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.025);
}

.news-hero__content {
    position: relative;
    z-index: 1;
}

.news-hero h1 {
    margin: 0;

    color: #fff;

    font-size: 34px;
    font-weight: 800;

    line-height: 1.35;
}

.news-hero p:not(.news-eyebrow) {
    max-width: 790px;

    margin: 11px 0 0;

    color: rgba(255,255,255,.8);

    font-size: 13px;
    line-height: 2;
}


/* Stats */

.news-stats {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 10px;

    margin-top: 15px;
}

.news-stats article {
    padding: 17px;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-radius: 12px;

    box-shadow:
        0 5px 16px rgba(15,49,72,.035);
}

.news-stats span {
    display: block;

    color: #758793;

    font-size: 10px;
}

.news-stats strong {
    display: block;

    margin-top: 8px;

    color: #173149;

    font-size: 27px;
    font-weight: 800;
}


/* Filters */

.news-toolbar {
    margin-top: 24px;

    padding: 17px;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-radius: 13px;
}

.news-filter {
    display: grid;

    grid-template-columns:
        minmax(230px,2fr)
        repeat(3,minmax(145px,1fr))
        auto;

    align-items: end;

    gap: 10px;
}

.news-field label {
    display: block;

    margin-bottom: 6px;

    color: #687c89;

    font-size: 10px;
    font-weight: 800;
}

.news-field input,
.news-field select {
    width: 100%;
    height: 42px;

    padding: 0 11px;

    background: #f8fafb;

    border: 1px solid #dce5ea;
    border-radius: 8px;

    color: #173149;

    font: inherit;
    font-size: 11px;

    outline: none;
}

.news-field select:disabled {
    color: #98a5ad;
    background: #f1f4f6;
}

.news-field input:focus,
.news-field select:focus {
    border-color: #b99a56;
}

.news-filter-actions {
    display: flex;
    align-items: center;

    gap: 8px;
}

.news-filter-actions button {
    height: 42px;

    padding: 0 18px;

    border: 0;
    border-radius: 8px;

    background: #173149;
    color: #fff;

    font: inherit;
    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

.news-filter-actions a {
    white-space: nowrap;

    color: #748792;

    font-size: 10px;
    text-decoration: none;
}


/* Results */

.news-results {
    margin-top: 34px;
}

.news-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 15px;
}

.news-section-head h2 {
    margin: 0;

    font-size: 23px;
    font-weight: 800;
}

.news-section-head > span {
    padding: 6px 9px;

    background: #e9eef1;

    border-radius: 7px;

    color: #70838f;

    font-size: 10px;
}


/* Grid */

.news-grid {
    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 14px;
}


/* Cards */

.news-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-radius: 13px;

    box-shadow:
        0 6px 18px rgba(15,49,72,.035);

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.news-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 27px rgba(15,49,72,.07);
}

.news-card.is-featured {
    border-top: 3px solid #b99a56;
}

.news-card__media {
    display: block;

    height: 190px;

    overflow: hidden;

    background: #e9eef1;
}

.news-card__media img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.news-card__body {
    display: flex;
    flex-direction: column;

    min-height: 250px;

    padding: 17px;
}

.news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
}

.news-card__meta time {
    color: #8a989f;

    font-size: 9px;
}

.news-type {
    display: inline-flex;
    align-items: center;

    padding: 5px 8px;

    border-radius: 6px;

    font-size: 9px;
    font-weight: 800;
}

.news-type--news {
    background: rgba(39,95,129,.10);
    color: #275f81;
}

.news-type--activity {
    background: rgba(185,154,86,.14);
    color: #8d6d27;
}

.news-card h3 {
    margin: 13px 0 0;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.65;
}

.news-card h3 a {
    color: inherit;
    text-decoration: none;
}

.news-card__summary {
    margin: 9px 0 0;

    color: #687c89;

    font-size: 11px;
    line-height: 1.9;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;

    overflow: hidden;
}

.news-card__geo {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 13px;
}

.news-card__geo span {
    padding: 4px 7px;

    background: #f1f4f6;

    border-radius: 6px;

    color: #687c89;

    font-size: 9px;
}

.news-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-top: auto;
    padding-top: 14px;

    border-top: 1px solid #edf1f3;
}

.news-card__footer span {
    overflow: hidden;

    color: #87959d;

    font-size: 9px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-card__footer a {
    flex: 0 0 auto;

    color: #286b94;

    font-size: 10px;
    font-weight: 800;

    text-decoration: none;
}


/* Empty */

.news-empty {
    padding: 52px 24px;

    background: #fff;

    border: 1px dashed #ccd7de;
    border-radius: 13px;

    text-align: center;
}

.news-empty > div {
    color: #aab6bf;

    font-size: 34px;
}

.news-empty strong {
    display: block;

    margin-top: 8px;

    font-size: 15px;
}

.news-empty p {
    max-width: 540px;

    margin: 8px auto 0;

    color: #788993;

    font-size: 11px;
    line-height: 1.9;
}


/* Pagination */

.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 24px;
}

.news-pagination a,
.news-pagination span {
    padding: 8px 12px;

    border-radius: 8px;

    font-size: 10px;
}

.news-pagination a {
    background: #173149;
    color: #fff;

    text-decoration: none;
}

.news-pagination span {
    background: #fff;

    border: 1px solid #dfe7ec;

    color: #6e818d;
}


/* =========================================================
   Single news / activity
   ========================================================= */

.news-view {
    max-width: 960px;

    margin: 0 auto;

    overflow: hidden;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-radius: 16px;

    box-shadow:
        0 8px 24px rgba(15,49,72,.045);
}

.news-view__header {
    padding: 34px 38px 28px;
}

.news-view__meta {
    display: flex;
    align-items: center;

    gap: 10px;
}

.news-view__meta time {
    color: #89979f;

    font-size: 10px;
}

.news-view h1 {
    max-width: 850px;

    margin: 16px 0 0;

    font-size: 30px;
    font-weight: 800;

    line-height: 1.55;
}

.news-view__summary {
    max-width: 820px;

    margin: 13px 0 0;

    color: #687d89;

    font-size: 13px;
    line-height: 2;
}

.news-view__context {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 18px;
}

.news-view__context span {
    padding: 6px 9px;

    background: #f4f6f7;

    border-radius: 7px;

    color: #72838e;

    font-size: 9px;
}

.news-view__context strong {
    color: #173149;
}

.news-view__media {
    width: min(860px,calc(100% - 76px));

    margin: 0 auto 30px;

    text-align: center;
}

.news-view__media img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 520px;

    margin: 0 auto;

    object-fit: contain;

    border-radius: 12px;
}

.news-view__body {
    max-width: 820px;

    margin: 0 auto;

    padding: 0 38px 38px;

    color: #344e60;

    font-size: 14px;
    line-height: 2.2;
}

.news-view__source {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 0 38px 30px;
    padding: 15px 16px;

    background: #f6f8f9;

    border: 1px solid #e6ecef;
    border-radius: 10px;
}

.news-view__source span {
    color: #788993;

    font-size: 10px;
}

.news-view__source strong,
.news-view__source a {
    color: #286b94;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}

.news-view__footer {
    padding: 18px 38px;

    background: #f8fafb;

    border-top: 1px solid #e9eef1;
}

.news-view__footer a {
    color: #286b94;

    font-size: 11px;
    font-weight: 800;

    text-decoration: none;
}


/* Responsive */

@media (max-width: 1050px) {

    .news-filter {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .news-field--search {
        grid-column: 1 / -1;
    }

    .news-filter-actions
 {
        grid-column: 1 / -1;
    }

    .news-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}


@media (max-width: 760px) {

    .news-hero {
        padding: 26px 22px;
    }

    .news-hero h1 {
        font-size: 28px;
    }

    .news-stats {
        grid-template-columns: 1fr;
    }

    .news-filter {
        grid-template-columns: 1fr;
    }

    .news-field--search,
    .news-filter-actions {
        grid-column: auto;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .news-view__header {
        padding: 26px 22px;
    }

    .news-view h1 {
        font-size: 24px;
    }

    .news-view__media {
        width: calc(100% - 44px);
    }

    .news-view__body {
        padding: 0 22px 30px;
    }

    .news-view__source {
        margin: 0 22px 24px;
    }

    .news-view__footer {
        padding: 17px 22px;
    }

}


@media (max-width: 480px) {

    .news-filter-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .news-filter-actions button {
        width: 100%;
    }

}

/* =========================================================
   Single result / featured presentation
   ========================================================= */

.news-grid--single {
    grid-template-columns: 1fr;
}

.news-card--single {
    width: 100%;
}

.news-card--single.has-media {
    display: grid;
    grid-template-columns:
        minmax(320px, 42%)
        minmax(0, 1fr);
    align-items: stretch;
}

.news-card--single.has-media .news-card__media {
    height: 100%;
    min-height: 340px;
}

.news-card--single .news-card__body {
    min-height: 340px;
    padding: 24px;
}

.news-card--single h3 {
    font-size: 22px;
    line-height: 1.65;
}

.news-card--single .news-card__summary {
    font-size: 13px;
    line-height: 2;
    -webkit-line-clamp: 5;
}

@media (max-width: 760px) {

    .news-card--single.has-media {
        display: block;
    }

    .news-card--single.has-media .news-card__media {
        height: 220px;
        min-height: 0;
    }

    .news-card--single .news-card__body {
        min-height: 250px;
        padding: 17px;
    }

    .news-card--single h3 {
        font-size: 16px;
    }

    .news-card--single .news-card__summary {
        font-size: 11px;
        line-height: 1.9;
        -webkit-line-clamp: 3;
    }
}

