#top {
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 450px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
    content: " \25B4\25BE"
}

/* Shared styles */

#content-model-intro,
#content-model-tailoring,
#content-model-benefits,
#content-model-catalog {
    padding: 4rem 0;
}

.cm-section-heading {
    margin: 0 auto 2.5rem;
    max-width: 780px;
    text-align: center;
}

.cm-section-heading h2 {
    color: #0f3247;
    margin: 0 0 1rem;
}

.cm-section-heading p {
    color: #526879;
    font-size: 1.1rem;
    line-height: 1.65;
    margin: 0;
}


/* Introduction */

#content-model-intro {
    background: #fff;
    text-align: center;
}

.cm-intro-heading {
    margin: 0 auto 2.5rem;
    max-width: 880px;
}

.cm-intro-heading h2 {
    color: #0f3247;
    margin: 0 0 1.25rem;
}

.cm-intro-heading p {
    color: #526879;
    font-size: 1.15rem;
    line-height: 1.7;
    margin: 0;
}

/* Statistics */

.cm-stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto 2rem;
    max-width: 680px;
}

.cm-stat {
    background: #e7f1f9;
    border: 1px solid #dce6ed;
    border-radius: 14px;
    min-width: 0;
    padding: 1.5rem 0.75rem;
}

.cm-stat strong {
    color: #0f6489;
    display: block;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.cm-stat h3 {
    color: #0f3247;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.cm-stat p {
    color: #526879;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

/* Link to table */

.cm-explore-link {
    color: #0f6489;
    display: inline-flex;
    font-weight: 600;
    gap: 0.6rem;
    text-decoration: none;
}

.cm-explore-link:hover {
    color: #0f3247;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cm-explore-link span {
    color: #b7832c;
}


/* Two-stage tailoring */

#content-model-tailoring .cm-section-heading h2 {
    color: #fff;
}

#content-model-tailoring .cm-section-heading p {
    color: #d5e4ee;
}

.cm-tailoring-figure {
    margin: 0 auto;
    max-width: 1100px;
}

.cm-tailoring-stages {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

/* Individual stages */

.cm-stage {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-width: 0;
    padding: 1.5rem;
}

.cm-stage-header {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
}

.cm-stage-number {
    color: #ecae49;
    flex: 0 0 auto;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.cm-stage-header h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 0.6rem;
}

.cm-stage-header p {
    color: #d5e4ee;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Illustrative selections */

.cm-stage-example {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    margin-top: auto;
    padding: 1rem;
}

.cm-example-label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.cm-characteristics,
.cm-aspects {
    display: grid;
    gap: 0.6rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cm-characteristics li,
.cm-aspects li {
    align-items: center;
    border-radius: 7px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.75rem;
    justify-content: space-between;
    min-width: 0;
    padding: 0.75rem;
}

/* Selected content */

.cm-characteristics .cm-selected,
.cm-aspects .cm-selected {
    background: #ecae49;
    color: #173244;
    font-weight: 600;
}

/* Excluded content */

.cm-characteristics .cm-excluded,
.cm-aspects .cm-excluded {
    background: rgba(255, 255, 255, 0.08);
    color: #a9bfce;
}

/* Selection statuses */

.cm-choice-status {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0.85;
    text-transform: uppercase;
}

/* Result */

.cm-tailoring-arrow {
    color: #ecae49;
    font-size: 2.5rem;
    line-height: 1;
    padding: 1rem 0;
    text-align: center;
}

.cm-tailoring-result {
    align-items: center;
    background: rgba(236, 174, 73, 0.1);
    border: 1px solid rgba(236, 174, 73, 0.5);
    border-radius: 12px;
    display: flex;
    gap: 1.25rem;
    margin: 0 auto;
    max-width: 660px;
    padding: 1.5rem;
}

.cm-result-check {
    align-items: center;
    background: #ecae49;
    border-radius: 50%;
    color: #0f3247;
    display: flex;
    flex: 0 0 48px;
    font-size: 1.5rem;
    height: 48px;
    justify-content: center;
}

.cm-tailoring-result h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.4rem;
}

.cm-tailoring-result p {
    color: #d5e4ee;
    line-height: 1.55;
    margin: 0;
}

/* Diagram caption */

.cm-tailoring-figure figcaption {
    color: #b6cad7;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 1.5rem auto 0;
    max-width: 680px;
    text-align: center;
}


/* ========================================
   3. BENEFITS
   ======================================== */

/* Background supplied by .grey-bg */

.cm-benefits {
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    margin: 0 auto;
    max-width: 1100px;
}

.cm-benefit {
    border-top: 1px solid #cbdde8;
    display: grid;
    gap: 1rem;
    grid-template-columns: 2.5rem minmax(0, 1fr);
    padding: 1.5rem 0;
}

.cm-benefit-number {
    color: #b7832c;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.cm-benefit h3 {
    color: #0f3247;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.cm-benefit p {
    color: #526879;
    line-height: 1.65;
    margin: 0;
}

/* Application examples */

.cm-applications {
    border-top: 1px solid #cbdde8;
    margin: 2.5rem auto 0;
    max-width: 1100px;
    padding-top: 2.5rem;
    text-align: center;
}

.cm-applications > h3 {
    color: #0f3247;
    font-size: 1.4rem;
    margin: 0 0 0.75rem;
}

.cm-applications > p {
    color: #526879;
    line-height: 1.6;
    margin: 0 auto 1.75rem;
    max-width: 600px;
}

.cm-application-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 1fr;
}

.cm-application {
    background: #fff;
    border: 1px solid #dce6ed;
    border-radius: 10px;
    padding: 1.25rem;
}

.cm-application h4 {
    color: #0f3247;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.cm-application p {
    color: #526879;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}


/* Content model catalog */

#content-model-catalog {
    background: #fff;
    scroll-margin-top: 5rem;
    overflow-x: auto;
}

/* Scientific coverage note */

.cm-coverage-note {
    background: #e7f1f9;
    border-left: 4px solid #ecae49;
    border-radius: 0 10px 10px 0;
    margin: 0 auto 2rem;
    max-width: 850px;
    padding: 1.5rem;
}

.cm-coverage-note h3 {
    color: #0f3247;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
}

.cm-coverage-note p {
    color: #526879;
    line-height: 1.65;
    margin: 0;
}

/* Table introduction */

.cm-table-description {
    color: #526879;
    line-height: 1.65;
    margin: 0 auto 0.75rem;
    max-width: 850px;
    text-align: center;
}

.cm-security-note {
    color: #6d8090;
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.5;
    margin: 0 auto 2rem;
    max-width: 850px;
    text-align: center;
}

@media (min-width: 768px) {

    #content-model-intro,
    #content-model-tailoring,
    #content-model-benefits,
    #content-model-catalog {
        padding: 5rem 0;
    }

    .cm-stat {
        padding: 2rem;
    }

    .cm-stage {
        padding: 2rem;
    }

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

    .cm-benefits {
        gap: 2rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cm-benefit {
        display: block;
        padding: 1.5rem 0 2rem;
    }

    .cm-benefit-number {
        display: block;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .cm-application-grid {
        gap: 1rem;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cm-application {
        padding: 1.5rem;
    }

    .cm-coverage-note {
        padding: 1.75rem 2rem;
    }
}

@media (min-width: 992px) {

    .cm-tailoring-stages {
        gap: 1.5rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cm-benefits {
        gap: 3rem;
    }
}