@charset "UTF-8";
/* CSS Document */


/* =========================================================
   S232 — FORCES × URBAN SYSTEMS MATRIX
   ========================================================= */

#s232-matrix {
    width: 100%;
}


/* HEADER
   --------------------------------------------------------- */

#s232-matrix .s232-matrix__header {
    max-width: 900px;
    margin-bottom: 2rem;
}

#s232-matrix .s232-matrix__header h2 {
    margin: 0 0 0.75rem;
}

#s232-matrix .s232-matrix__intro {
    margin: 0;
    max-width: 800px;
}


/* SCROLL CONTAINER
   --------------------------------------------------------- */

#s232-matrix .s232-matrix__scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* TABLE
   --------------------------------------------------------- */

#s232-matrix .s232-matrix__table {
    width: 100%;
    min-width: 1500px;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: var(--fs-md);
    line-height: 1.2;
}

#s232-matrix .s232-matrix__table th,
#s232-matrix .s232-matrix__table td {
    padding: 0.85rem 0.65rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    text-align: center;
    vertical-align: middle;
}


/* FIRST COLUMN
   --------------------------------------------------------- */

#s232-matrix .s232-matrix__table th:first-child {
    width: 240px;
    min-width: 240px;
    text-align: left;
}

#s232-matrix tbody th[scope="row"] {
    font-weight: 600;
}


/* COLUMN HEADERS
   --------------------------------------------------------- */

#s232-matrix thead th {
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid rgba(0, 0, 0, 0.45);

    font-size: var(--fs-xs);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}


/* CATEGORY ROWS
   --------------------------------------------------------- */

#s232-matrix .s232-matrix__group th {
    padding: 1.7rem 0 0.55rem;

    border-bottom: 2px solid currentColor;

    font-size: var(--fs-xs);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}


/* IMPACT DOTS
   --------------------------------------------------------- */

#s232-matrix td[class*="impact-"] {
    white-space: nowrap;
    font-size: 0;
    letter-spacing: 0;
    opacity: 1;
}

#s232-matrix td[class*="impact-"]::before,
#s232-matrix .s232-matrix__key strong::before {
    content: "";
    display: inline-block;
    width: var(--impact-circle-size, 0.5rem);
    height: var(--impact-circle-size, 0.5rem);
    border-radius: 50%;
    vertical-align: middle;
    background: currentColor;
}

#s232-matrix .impact-1 {
    --impact-circle-size: 0.38rem;
}

#s232-matrix .impact-2 {
    --impact-circle-size: 0.62rem;
}

#s232-matrix .impact-3 {
    --impact-circle-size: 0.9rem;
    cursor: help;
}

#s232-matrix .impact-3:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: -0.2rem;
}


/* ROW INTERACTION
   --------------------------------------------------------- */

#s232-matrix tbody tr:not(.s232-matrix__group) {
    transition: background-color 0.15s ease;
}

#s232-matrix tbody tr:not(.s232-matrix__group):hover {
    background: rgba(0, 0, 0, 0.045);
}


/* KEY
   --------------------------------------------------------- */

#s232-matrix .s232-matrix__key {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;

    margin-top: 0.9rem;

    font-size: var(--fs-xs);
    line-height: 1.3;
    opacity: 0.65;
}

#s232-matrix .s232-matrix__key strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0.9rem;
    min-height: 0.9rem;
    font-size: 0;
    letter-spacing: 0;
}

#s232-matrix .s232-matrix__key span:nth-child(1) strong {
    --impact-circle-size: 0.32rem;
}

#s232-matrix .s232-matrix__key span:nth-child(2) strong {
    --impact-circle-size: 0.52rem;
}

#s232-matrix .s232-matrix__key span:nth-child(3) strong {
    --impact-circle-size: 0.75rem;
}


/* TABLET + MOBILE
   --------------------------------------------------------- */

@media (max-width: 991px) {

    #s232-matrix .s232-matrix__table th:first-child {
        position: sticky;
        left: 0;
        z-index: 2;

        background: #fff;
    }

    #s232-matrix thead th:first-child {
        z-index: 4;
    }

    #s232-matrix .s232-matrix__group th {
        position: static;
    }

}


@media (max-width: 767px) {

    #s232-matrix .s232-matrix__header {
        margin-bottom: 1.25rem;
    }

    #s232-matrix .s232-matrix__table {
        font-size: 0.82rem;
    }

    #s232-matrix .s232-matrix__table th,
    #s232-matrix .s232-matrix__table td {
        padding: 0.7rem 0.55rem;
    }

    #s232-matrix .s232-matrix__table th:first-child {
        width: 185px;
        min-width: 185px;
    }

}
