/* =========================================================
   JUSOOR V2 — Indicators
   ========================================================= */

.ind-page {
    padding: 22px 0 64px;
    background: #f4f7f9;
    color: #173149;
}


/* =========================================================
   Breadcrumb
   ========================================================= */

.ind-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 14px;

    color: #7e8d97;
    font-size: 12px;
}

.ind-breadcrumb a {
    color: #286b94;
    text-decoration: none;
}

.ind-breadcrumb strong {
    color: #173149;
}


/* =========================================================
   Hero
   ========================================================= */

.ind-hero {
    position: relative;

    overflow: hidden;

    padding: 34px 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);
}

.ind-hero::after {
    content: "";

    position: absolute;
    left: -90px;
    top: -120px;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.025);
}

.ind-eyebrow {
    margin: 0 0 7px;

    color: #c9a549;

    font-size: 12px;
    font-weight: 800;
}

.ind-hero h1 {
    margin: 0;

    color: #fff;

    font-size: 34px;
    font-weight: 800;

    line-height: 1.35;
}

.ind-hero p:not(.ind-eyebrow) {
    max-width: 780px;

    margin: 11px 0 0;

    color: rgba(255,255,255,.80);

    font-size: 13px;

    line-height: 2;
}


/* =========================================================
   Overview
   ========================================================= */

.ind-overview {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;

    margin-top: 15px;
}

.ind-overview article {
    min-height: 104px;

    padding: 17px;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-radius: 12px;

    box-shadow:
        0 5px 16px rgba(15,49,72,.035);
}

.ind-overview span {
    display: block;

    color: #758793;

    font-size: 10px;
}

.ind-overview strong {
    display: block;

    margin-top: 9px;

    color: #173149;

    font-size: 27px;
    font-weight: 800;

    line-height: 1.2;
}

.ind-overview strong.is-date {
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   Principle
   ========================================================= */

.ind-principle {
    display: flex;
    align-items: flex-start;

    gap: 13px;

    margin-top: 14px;

    padding: 16px 18px;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-radius: 12px;
}

.ind-principle__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 29px;

    width: 29px;
    height: 29px;

    border-radius: 50%;

    background: #173149;

    color: #fff;

    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 800;
}

.ind-principle strong {
    color: #173149;

    font-size: 13px;
}

.ind-principle p {
    margin: 4px 0 0;

    color: #617583;

    font-size: 11px;

    line-height: 1.9;
}


/* =========================================================
   Sections
   ========================================================= */

.ind-section {
    margin-top: 36px;
}

.ind-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 15px;
}

.ind-section-head h2 {
    margin: 0;

    color: #173149;

    font-size: 23px;
    font-weight: 800;
}

.ind-section-head > span {
    padding: 6px 9px;

    background: #eef2f4;

    border-radius: 7px;

    color: #738692;

    font-size: 10px;
}


/* =========================================================
   Overall card
   ========================================================= */

.ind-overall-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        210px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-top: 3px solid #b99a56;
    border-radius: 14px;

    box-shadow:
        0 7px 20px rgba(15,49,72,.04);
}

.ind-overall-main {
    padding: 24px;
}

.ind-overall-main h3 {
    margin: 0;

    color: #173149;

    font-size: 20px;
    font-weight: 800;
}

.ind-overall-main > p {
    margin: 8px 0 0;

    color: #647987;

    font-size: 12px;

    line-height: 1.9;
}

.ind-overall-state {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 7px;

    padding: 24px;

    background:
        linear-gradient(
            180deg,
            #fafbfb,
            #f2f5f6
        );

    border-right: 1px solid #e4e9ec;

    text-align: center;
}

.ind-overall-state strong {
    color: #a67d24;

    font-size: 31px;
    font-weight: 800;
}

.ind-overall-state span {
    max-width: 125px;

    color: #758692;

    font-size: 10px;

    line-height: 1.7;
}


/* =========================================================
   Indicator cards
   ========================================================= */

.ind-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 13px;
}

.ind-card {
    display: flex;
    flex-direction: column;

    min-height: 310px;

    padding: 18px;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-top: 3px solid #aab6bf;
    border-radius: 13px;

    box-shadow:
        0 6px 18px rgba(15,49,72,.035);

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}

.ind-card:hover {
    transform: translateY(-2px);

    border-color: #c8d4dc;

    box-shadow:
        0 11px 25px rgba(15,49,72,.07);
}

.ind-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
}

.ind-card-heading h3 {
    margin: 0;

    color: #173149;

    font-size: 16px;
    font-weight: 800;

    line-height: 1.55;
}

.ind-card-heading span {
    display: block;

    margin-top: 5px;

    color: #a17d2e;

    font-size: 9px;
    font-weight: 700;
}

.ind-card-heading > strong {
    flex: 0 0 auto;

    min-width: 35px;

    padding: 6px 8px;

    background: #f2f5f6;

    border-radius: 8px;

    color: #6f818d;

    text-align: center;

    font-size: 13px;
}

.ind-card-description {
    margin: 14px 0 0;

    color: #687c89;

    font-size: 11px;

    line-height: 1.9;
}

.ind-card-unit {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    margin-top: 16px;

    padding: 9px 10px;

    background: #f7f9fa;

    border: 1px solid #eef2f4;
    border-radius: 8px;
}

.ind-card-unit span {
    color: #81909a;

    font-size: 9px;
}

.ind-card-unit strong {
    color: #173149;

    font-size: 10px;
}


/* =========================================================
   Scale
   ========================================================= */

.ind-scale {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 14px;
}

.ind-scale span,
.ind-legend-items span {
    display: inline-flex;
    align-items: center;

    min-height: 27px;

    padding: 5px 8px;

    border-radius: 7px;

    font-size: 9px;
    font-weight: 700;
}

.ind-scale .level-green,
.ind-legend-items .level-green {
    background: rgba(47,155,99,.11);
    color: #267d52;
}

.ind-scale .level-yellow,
.ind-legend-items .level-yellow {
    background: rgba(210,167,46,.13);
    color: #917015;
}

.ind-scale .level-orange,
.ind-legend-items .level-orange {
    background: rgba(215,124,49,.12);
    color: #a65a1d;
}

.ind-scale .level-red,
.ind-legend-items .level-red {
    background: rgba(200,77,85,.11);
    color: #a63c45;
}

.ind-legend-items .level-none {
    background: #edf1f3;
    color: #72838e;
}


/* =========================================================
   Reading state
   ========================================================= */

.ind-card-state {
    margin-top: auto;

    padding-top: 13px;

    border-top: 1px solid #edf1f3;
}

.ind-card-state span {
    color: #9a7423;

    font-size: 10px;
    font-weight: 700;
}

.ind-card-state span.is-empty {
    color: #87959f;
}


/* =========================================================
   Methodology
   ========================================================= */

.ind-methodology {
    margin-top: 12px;
}

.ind-methodology summary {
    color: #275f81;

    font-size: 10px;
    font-weight: 800;

    cursor: pointer;

    list-style: none;
}

.ind-methodology summary::-webkit-details-marker {
    display: none;
}

.ind-methodology summary::before {
    content: "＋";

    display: inline-block;

    margin-left: 5px;

    color: #b0872f;

    font-size: 11px;
}

.ind-methodology[open] summary::before {
    content: "−";
}

.ind-methodology p {
    margin: 10px 0 0;

    padding: 11px;

    background: #f7f9fa;

    border-radius: 8px;

    color: #647884;

    font-size: 10px;

    line-height: 1.9;
}

.ind-methodology small {
    display: block;

    margin-top: 8px;

    color: #8c969d;

    font-size: 9px;

    line-height: 1.8;
}


/* =========================================================
   Empty readings
   ========================================================= */

.ind-empty {
    padding: 48px 24px;

    background: #fff;

    border: 1px dashed #ccd7de;
    border-radius: 13px;

    text-align: center;
}

.ind-empty > div {
    color: #aab6bf;

    font-size: 34px;
}

.ind-empty strong {
    display: block;

    margin-top: 8px;

    color: #173149;

    font-size: 15px;
}

.ind-empty p {
    max-width: 550px;

    margin: 8px auto 0;

    color: #788993;

    font-size: 11px;

    line-height: 1.9;
}


/* =========================================================
   Readings table
   ========================================================= */

.ind-readings-table-wrap {
    overflow-x: auto;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-radius: 12px;
}

.ind-readings-table {
    width: 100%;

    min-width: 760px;

    border-collapse: collapse;
}

.ind-readings-table th,
.ind-readings-table td {
    padding: 13px 14px;

    border-bottom: 1px solid #edf1f3;

    text-align: right;

    font-size: 10px;
}

.ind-readings-table th {
    background: #f6f8f9;

    color: #667a88;

    font-weight: 800;
}

.ind-readings-table td {
    color: #546b79;
}

.ind-readings-table td strong {
    color: #173149;
}

.ind-readings-table a {
    color: #286b94;
    text-decoration: none;
}


/* =========================================================
   Level badges
   ========================================================= */

.ind-level {
    display: inline-flex;

    padding: 5px 8px;

    border-radius: 7px;

    font-size: 9px;
    font-weight: 800;
}

.ind-level--green {
    background: rgba(47,155,99,.11);
    color: #267d52;
}

.ind-level--yellow {
    background: rgba(210,167,46,.13);
    color: #917015;
}

.ind-level--orange {
    background: rgba(215,124,49,.12);
    color: #a65a1d;
}

.ind-level--red {
    background: rgba(200,77,85,.11);
    color: #a63c45;
}

.ind-level--none {
    background: #edf1f3;
    color: #72838e;
}


/* =========================================================
   Legend
   ========================================================= */

.ind-legend {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 34px;

    padding: 18px;

    background: #fff;

    border: 1px solid #dfe7ec;
    border-radius: 12px;
}

.ind-legend strong {
    color: #173149;

    font-size: 12px;
}

.ind-legend p {
    margin: 4px 0 0;

    color: #788994;

    font-size: 10px;
}

.ind-legend-items {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1050px) {

    .ind-overview {
        grid-template-columns:
            repeat(3, minmax(0,1fr));
    }

    .ind-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

}


@media (max-width: 760px) {

    .ind-page {
        padding-top: 14px;
    }

    .ind-hero {
        padding: 26px 22px;
    }

    .ind-hero h1 {
        font-size: 28px;
    }

    .ind-overview {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

    .ind-overall-card {
        grid-template-columns: 1fr;
    }

    .ind-overall-state {
        border-right: 0;
        border-top: 1px solid #e4e9ec;
    }

    .ind-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .ind-grid {
        grid-template-columns: 1fr;
    }

    .ind-card {
        min-height: auto;
    }

    .ind-legend {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 480px) {

    .ind-overview {
        grid-template-columns: 1fr;
    }

    .ind-principle {
        padding: 14px;
    }

}