/*
 * Styling matched to the published DCF page on Hwb: Arial stack, #1f1f1f body
 * text, #0360a6 accordion headings, #215b57 element bands on #efefef, #e5e5e5
 * rules, 320px progression step columns.
 */

:root {
    --ink: #1f1f1f;
    --ink-muted: #737373;
    --link: #0360a6;
    --element: #215b57;
    --band: #efefef;
    --rule: #e5e5e5;
    --brand: #c73333;
    --error: #8c2222;
    --column: 320px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, "Nimbus Sans L", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
    color: var(--ink);
    background: #fff;
}

a {
    color: var(--link);
}

:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 0;
    box-shadow: 0 0 0 5px var(--ink);
}

.skip-link {
    position: absolute;
    left: -9999px;
}

.skip-link:focus {
    position: static;
    display: inline-block;
    padding: 0.75rem 1rem;
    background: #ffbf47;
    color: var(--ink);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.wrap {
    max-width: 76rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Masthead */

.masthead {
    background: var(--brand);
    color: #fff;
}

.masthead .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    min-height: 4.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.wordmark {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    text-decoration: none;
}

.wordmark span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
}

.lang-switch {
    color: #fff;
    font-weight: 700;
    text-underline-offset: 0.2em;
}

.masthead__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.masthead__nav form {
    margin: 0;
}

/* Nav items are plain links; the one action, sign in or out, gets the box. */

.masthead__link {
    font: inherit;
    font-weight: 700;
    padding: 0.35rem 0;
    border: 0;
    background: none;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.masthead__link:hover {
    text-decoration: underline;
    text-underline-offset: 0.4em;
}

.masthead__link[aria-current="page"],
.masthead__link--current {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.4em;
}

.masthead__button {
    font: inherit;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border: 2px solid #fff;
    background: none;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.masthead__button:hover {
    background: #fff;
    color: var(--brand);
}

/* Pupils' work and account menus: native <details> disclosures, so no JavaScript.
   Sign out is a form button, styled to sit in the list like the links. */

.menu {
    position: relative;
}

.menu > summary {
    display: inline-block;
    list-style: none;
}

.menu > summary::-webkit-details-marker {
    display: none;
}

.menu > summary::after {
    content: " \25be";
}

.menu[open] > summary {
    text-decoration: underline;
    text-underline-offset: 0.4em;
}

.menu > ul {
    position: absolute;
    right: 0;
    z-index: 10;
    width: max-content;
    max-width: 17rem;
    margin: 0.35rem 0 0;
    padding: 0.35rem 0;
    list-style: none;
    background: #fff;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.menu > ul a,
.menu > ul button {
    display: block;
    width: 100%;
    padding: 0.5rem 0.9rem;
    border: 0;
    background: none;
    font: inherit;
    text-align: left;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}

.menu > ul a:hover,
.menu > ul button:hover {
    background: var(--band);
    text-decoration: underline;
}

.menu > ul a[aria-current="page"] {
    font-weight: 700;
}

/* Login */

.login {
    max-width: 27rem;
    padding: 3rem 0 4rem;
}

.login h1 {
    margin: 0 0 0.75rem;
    font-size: 2rem;
}

.login__lede {
    margin: 0 0 1.5rem;
    color: var(--ink-muted);
}

.login__provider {
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: var(--link);
    border: 2px solid var(--link);
}

.login__provider:hover {
    background: #024b83;
    border-color: #024b83;
}

.login__error {
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    border-left: 4px solid var(--error);
    background: var(--band);
}

/* Local password sign-in, below the providers. */

.login__divider {
    margin: 2rem 0 1rem;
    font-size: 1.125rem;
}

.login__form {
    display: grid;
    gap: 1rem;
}

.login__form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.login__form input {
    width: 100%;
    padding: 0.5rem;
    font: inherit;
    border: 1px solid var(--ink-muted);
    border-radius: 0;
    background: #fff;
}

.login__form button {
    padding: 0.85rem 1rem;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: var(--link);
    border: 2px solid var(--link);
    cursor: pointer;
}

.login__form button:hover {
    background: #024b83;
    border-color: #024b83;
}

.login__back {
    margin: 1.5rem 0 0;
    font-size: 0.875rem;
}

/* The request form a teacher fills in: the login form's look, more fields. */

.form {
    display: grid;
    gap: 1.25rem;
    max-width: 36rem;
}

.form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 0.5rem;
    font: inherit;
    border: 1px solid var(--ink-muted);
    border-radius: 0;
    background: #fff;
}

.form input[type="file"] {
    padding: 0.5rem 0;
    border: 0;
    background: none;
}

.form__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
    gap: 1rem;
}

.form__note {
    margin: 0.4rem 0 0;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.form .button {
    padding: 0.85rem 1.25rem;
    font: inherit;
    font-weight: 700;
    color: #fff;
    background: var(--link);
    border: 2px solid var(--link);
    cursor: pointer;
}

.form .button:hover {
    background: #024b83;
    border-color: #024b83;
}

/* Page heading */

.page-head {
    padding: 2.5rem 0 1.5rem;
}

.page-head h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 2.875rem);
    line-height: 1.1;
}

.part-of {
    margin: 0;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.part-of strong {
    display: block;
    color: var(--ink);
}

/* lnf.cymru lists literacy then numeracy, each under its own heading. */
.framework-heading {
    margin: 2.5rem 0 1rem;
    font-size: 1.75rem;
}

.framework-heading a {
    color: var(--ink);
    text-decoration: none;
}

.framework-heading a:hover {
    text-decoration: underline;
}

/* Toolbar */

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--rule);
}

.step-filter {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.5rem;
}

.step-filter label {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.step-filter select {
    font: inherit;
    padding: 0.55rem 0.6rem;
    border: 2px solid var(--ink);
    background: #fff;
    color: inherit;
}

.step-filter button {
    font: inherit;
    font-weight: 700;
    padding: 0.55rem 1.1rem;
    border: 2px solid var(--link);
    background: var(--link);
    color: #fff;
    cursor: pointer;
}

.step-filter button:hover {
    background: #024b83;
    border-color: #024b83;
}

.step-filter__clear {
    align-self: center;
    margin-left: 0.5rem;
    font-weight: 700;
}

.accordion-controls {
    display: flex;
    gap: 1.25rem;
    font-size: 0.875rem;
    font-weight: 700;
}

.accordion-controls button {
    font: inherit;
    padding: 0.4rem 0;
    border: 0;
    background: none;
    color: var(--ink-muted);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.accordion-controls button:hover {
    color: var(--ink);
}

/* Strand accordions */

.strand {
    border-bottom: 1px solid var(--rule);
}

.strand > summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--link);
    cursor: pointer;
    list-style: none;
}

.strand > summary::-webkit-details-marker {
    display: none;
}

.chevron {
    flex: none;
    width: 0.6rem;
    height: 0.9rem;
    fill: var(--ink);
    transition: transform 150ms ease;
}

.strand[open] > summary .chevron {
    transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
    .chevron {
        transition: none;
    }
}

.strand__intro {
    max-width: 60rem;
    margin: 0 0 1.5rem;
}

.strand__intro p {
    margin: 0 0 1rem;
}

.strand__body {
    padding-bottom: 2rem;
}

/* Framework table */

.scroller {
    position: relative;
}

.scroller__hint {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.scroller__hint[hidden] {
    display: none;
}

.scroller__hint button {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    background: var(--link);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.scroller__hint button:hover {
    background: #024b83;
}

.scroller__viewport {
    overflow-x: auto;
    scrollbar-color: var(--link) var(--band);
}

table.framework {
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}

table.framework thead th {
    width: var(--column);
    min-width: var(--column);
    padding: 1.25rem 1.7rem 1.25rem 0;
    text-align: left;
    vertical-align: bottom;
    font-size: 1.25rem;
    border-bottom: 2px solid var(--rule);
}

table.framework .element-row th {
    padding: 1.3rem 0 1.05rem 0.95rem;
    text-align: left;
    font-size: 1.3125rem;
    color: var(--element);
    background: var(--band);
    border-bottom: 1px solid var(--rule);
}

/* Keep the element name in view while the statements scroll sideways. */
table.framework .element-row th span {
    position: sticky;
    left: 0.95rem;
    display: inline-block;
}

table.framework td {
    padding: 0.9rem 1.7rem 0.9rem 0;
    vertical-align: top;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--rule);
}

table.framework td p {
    margin: 0;
}

table.framework td p + ul {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
}

table.framework td li + li {
    margin-top: 0.35rem;
}

table.framework em {
    font-style: italic;
}

table.framework .example-task-row td {
    padding: 1rem 1.25rem;
    border-top: 3px solid var(--element);
    background: #f2f8f7;
    font-size: 1rem;
}

table.framework .example-task-row .example-task__label {
    margin-bottom: 0.35rem;
    color: var(--element);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Footer */

.page-foot {
    margin-top: 3rem;
    padding: 2rem 0 3rem;
    border-top: 4px solid var(--brand);
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.page-foot p {
    max-width: 48rem;
    margin: 0 0 0.5rem;
}

/* Dashboard and super admin */

.panel {
    max-width: 40rem;
    padding: 3rem 0 4rem;
}

.panel--wide {
    max-width: none;
}

.panel h1 {
    margin: 0 0 0.75rem;
    font-size: 2rem;
}

.panel__lede {
    max-width: 40rem;
    margin: 0 0 1.5rem;
    color: var(--ink-muted);
}

.panel__lede p {
    margin: 0 0 1rem;
}

.panel__lede p:last-child {
    margin-bottom: 0;
}

/* Strand intro (wide + tight): let the description prose fill the width, but
   keep the empty-state note a comfortable reading width. */
.panel--wide.panel--tight .panel__lede {
    max-width: none;
}

.panel--wide.panel--tight .empty {
    max-width: 40rem;
}

.panel__links {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.panel__links li + li {
    margin-top: 0.5rem;
}

.panel--tight {
    padding-bottom: 1.5rem;
}

.panel + .panel {
    padding-top: 0;
}

.section-heading {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
}

.empty {
    margin: 0 0 2rem;
    padding: 0.85rem 1rem;
    border-left: 4px solid var(--rule);
    background: var(--band);
    color: var(--ink-muted);
}

/* Pupils' work element page: statements grouped by progression step. */

.step-outcomes h3 {
    margin: 1.75rem 0 0.25rem;
    font-size: 1rem;
    color: var(--element);
}

.step-grid {
    columns: 26rem;
    column-gap: 2.5rem;
    padding-bottom: 4rem;
}

/* Keep each step whole in its column and carry the spacing on the section, so
   a step that starts a column is not pushed down by the h3 top margin. */
.step-grid .step-outcomes {
    break-inside: avoid;
    margin-bottom: 1.75rem;
}

.step-grid .step-outcomes h3 {
    margin-top: 0;
}

.outcome-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.outcome-list > li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--rule);
}

.outcome-list p {
    margin: 0;
}

/* The bullet list Hwb publishes inside a statement, not the evidence list
   that follows the wording. */
.outcome-list p + ul:not(.evidence) {
    margin: 0.35rem 0 0;
    padding-left: 1.25rem;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
    gap: 1.5rem;
    padding: 0 0 4rem;
}

.card {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 4px solid var(--element);
    background: var(--band);
}

.card h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ink-muted);
}

.card__links {
    margin: 0.9rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.9375rem;
}

.card__links li + li {
    margin-top: 0.35rem;
}

/* Evidence of pupils' work: thumbnail beside a titled narration, the way
   the old YGACS site presented each piece. */

.evidence {
    display: grid;
    gap: 1.5rem;
    margin: 0 0 2.5rem;
    padding: 0;
    list-style: none;
    max-width: 48rem;
}

.evidence li {
    display: flex;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--band);
    border-top: 4px solid var(--element);
}

.evidence__media {
    flex: 0 0 14rem;
}

.evidence__media img {
    display: block;
    width: 100%;
    height: auto;
}

.evidence__tile {
    display: grid;
    place-items: center;
    height: 100%;
    min-height: 6rem;
    font-weight: 700;
    color: #fff;
    background: var(--element);
}

.evidence__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
}

.evidence__body p {
    margin: 0;
}

/* The subject the work was done in: a small label above the narration. */

.evidence__body .evidence__subject {
    margin: -0.25rem 0 0.4rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* The same cards inside an "I can" statement's row: smaller, and holding no
   more room than the statement above them. */
.evidence--compact {
    gap: 0.75rem;
    margin: 0.6rem 0 0.25rem;
    max-width: none;
    font-size: 0.9375rem;
}

.evidence--compact li {
    gap: 0.75rem;
    padding: 0.6rem;
    border-top-width: 3px;
}

.evidence--compact .evidence__media {
    flex: 0 0 7rem;
}

.evidence--compact .evidence__tile {
    min-height: 4rem;
    font-size: 0.8125rem;
}

.evidence--compact .evidence__title {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

/* Cover lesson cards: each one carries the DCF mapping, the printable
   worksheet and the links a cover teacher needs, so they are denser than the
   plain .card used elsewhere. */

.lessons {
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
}

.lesson {
    padding: 1.25rem 1.5rem 1.5rem;
    border: 1px solid var(--rule);
    border-top: 4px solid var(--element);
    background: #fff;
}

.lesson h2 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.lesson__meta {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.lesson__dcf {
    margin: 0 0 0.75rem;
    padding: 0.4rem 0.6rem;
    background: var(--band);
    font-size: 0.875rem;
}

.lesson__description {
    margin: 0 0 1rem;
}

.lesson h3 {
    margin: 0.9rem 0 0.25rem;
    font-size: 0.9375rem;
}

.lesson ul {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
}

.lesson__example {
    margin: 0.9rem 0 0;
    font-weight: 700;
}

.pager {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0 0 3rem;
}

.pager__link {
    min-width: 2.5rem;
    padding: 0.45rem 0.6rem;
    border: 2px solid var(--link);
    text-align: center;
    font-weight: 700;
    text-decoration: none;
}

.pager__link--current {
    background: var(--link);
    border-color: var(--link);
    color: #fff;
}

.pager__link--off {
    border-color: var(--rule);
    color: var(--ink-muted);
}

.pager__gap {
    align-self: end;
    padding: 0.45rem 0.2rem;
    color: var(--ink-muted);
}

@media (max-width: 40rem) {
    .evidence li {
        flex-direction: column;
    }

    .evidence__media {
        flex-basis: auto;
    }

    /* Nested in a statement the thumbnail is small enough to stay beside the
       narration, which keeps the statement readable on a phone. */
    .evidence--compact li {
        flex-direction: row;
    }

    .evidence--compact .evidence__media {
        flex: 0 0 5rem;
    }
}

@media (max-width: 40rem) {
    :root {
        --column: 17rem;
    }

    .toolbar {
        align-items: stretch;
    }
}

/* GCSEs and the DCF: written for staff who are not digital specialists, so
   every GCSE card is one big target, the element filter is a row of large
   buttons, and the detail a specialist wants sits behind a "Show" toggle. */

.gcse-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.gcse-card {
    position: relative;
}

.gcse-card:hover,
.gcse-card:focus-within {
    background: #e3eeec;
}

.gcse-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

/* The whole card follows the GCSE link. */
.gcse-card h3 a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.gcse-card p {
    color: var(--ink);
}

.gcse-card p + p {
    margin-top: 0.25rem;
}

.gcse-demand {
    display: inline-block;
    padding: 0.05rem 0.5rem;
    border: 2px solid var(--element);
    font-size: 0.875rem;
}

.gcse-demand--high {
    background: var(--element);
    color: #fff;
}

.gcse-demand--medium {
    background: #cfe3e0;
    color: var(--ink);
}

.gcse-demand--low {
    background: #fff;
    color: var(--ink);
}

.gcse-hint {
    margin: 0 0 1rem;
    color: var(--ink-muted);
}

.gcse-elements {
    max-width: 48rem;
    padding-bottom: 2rem;
}

.gcse-framework {
    margin: 2.25rem 0 0;
    font-size: 1.375rem;
}

.gcse-strand {
    margin: 1.75rem 0 0.5rem;
    font-size: 1.125rem;
    color: var(--element);
}

.gcse-element {
    border-bottom: 1px solid var(--rule);
}

.gcse-element > summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    padding: 0.85rem 0.25rem;
    cursor: pointer;
    font-weight: 700;
}

.gcse-element > summary::-webkit-details-marker {
    display: none;
}

/* A plus that turns into a minus, so it is obvious the row opens. */
.gcse-element__title::before {
    content: "+";
    display: inline-block;
    width: 1.5rem;
    color: var(--link);
    font-size: 1.25rem;
    line-height: 1;
}

.gcse-element[open] .gcse-element__title::before {
    content: "\2212";
}

.gcse-element > summary:hover .gcse-element__title {
    text-decoration: underline;
}

.gcse-element__count {
    font-weight: 400;
    color: var(--ink-muted);
}

.gcse-element__list {
    columns: 16rem;
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.gcse-element__list li {
    padding: 0.2rem 0;
}

.gcse-source {
    margin: 0 0 3rem;
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.gcse-back {
    margin: 1.5rem 0 0;
    font-weight: 700;
}

.gcse-back + .panel {
    padding-top: 1rem;
}

.gcse-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
    margin: 0 0 1.25rem;
}

.gcse-facts dt {
    font-size: 0.875rem;
    color: var(--ink-muted);
}

.gcse-facts dd {
    margin: 0.2rem 0 0;
    font-weight: 700;
}

.gcse-units > summary,
.gcse-more > summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--link);
}

.gcse-units ul {
    margin: 0.75rem 0 0;
    padding-left: 1.25rem;
}

.gcse-units li + li {
    margin-top: 0.35rem;
}

.gcse-filter {
    margin: 0 0 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--band);
}

.gcse-filter__heading {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
}

.gcse-filter ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gcse-filter a {
    display: inline-block;
    padding: 0.55rem 0.9rem;
    border: 2px solid var(--link);
    background: #fff;
    font-weight: 700;
    text-decoration: none;
}

.gcse-filter a:hover {
    text-decoration: underline;
}

.gcse-filter a[aria-current="true"] {
    background: var(--link);
    color: #fff;
}

.gcse-skills {
    display: grid;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 0 3rem;
    padding: 0;
    list-style: none;
}

.gcse-skill {
    padding: 1.25rem 1.5rem 1.5rem;
    border: 1px solid var(--rule);
    border-top: 4px solid var(--element);
}

.gcse-skill h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.gcse-skill p {
    margin: 0 0 0.75rem;
}

.gcse-skill h4 {
    margin: 1.25rem 0 0.5rem;
    font-size: 1rem;
}

.gcse-skill__meta,
.gcse-skill__dcf {
    font-size: 0.9375rem;
}

.gcse-skill__dcf {
    padding: 0.4rem 0.6rem;
    background: var(--band);
}

.gcse-years {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
    gap: 1rem;
    margin: 0 0 1rem;
}

.gcse-years dt {
    font-weight: 700;
    color: var(--element);
}

.gcse-years dd {
    margin: 0.25rem 0 0;
    font-size: 0.9375rem;
}

.gcse-more blockquote {
    margin: 0 0 1rem;
    padding: 0.5rem 1rem;
    border-left: 4px solid var(--rule);
    font-style: italic;
}

.gcse-more > summary + p {
    margin-top: 0.75rem;
}

.gcse-more h5 {
    margin: 1rem 0 0.25rem;
    font-size: 0.9375rem;
    color: var(--element);
}

.gcse-statements {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
}

.gcse-statements p {
    margin: 0 0 0.35rem;
}

.gcse-notes {
    max-width: 56rem;
}

.gcse-notes ul {
    padding-left: 1.25rem;
}

.gcse-notes li + li {
    margin-top: 0.5rem;
}

.gcse-notes h3 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.125rem;
}
