/* Shared editorial/content pages */
.page--stores .rich-text {
    max-width: 45rem;
}

.page--stores .rich-text h2 {
    margin: 0 0 .75rem;
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    letter-spacing: -.02em;
}

.page--stores .rich-text h2:not(:first-child) {
    position: relative;
    margin-top: 3.75rem;
}

.page--stores .rich-text h2:not(:first-child)::before {
    display: block;
    width: 1.5rem;
    height: .125rem;
    margin-bottom: 1.75rem;
    content: "";
    background: rgba(54, 176, 164, .35);
}

.page--games .page-content .container,
.page--teachers .page-content .container,
.page--rules .page-content .container {
    width: min(67.5rem, calc(100% - (2 * var(--gutter))));
}

.page--games .rich-text {
    max-width: 58rem;
}

.page--games .rich-text > p {
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.page--games .rich-text p > strong:first-child {
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-size: 1.45rem;
}

.page--teachers .page-content,
.page--rules .page-content {
    padding-top: clamp(1.75rem, 3.5vw, 3rem);
}

/* Align the teachers' article and child navigation with its 60rem hero axis.
   Keep a comfortable reading measure without leaving a large empty right column. */
.page--teachers .page-content .container {
    width: min(60rem, calc(100% - (2 * var(--gutter))));
}

/* Editorial text still remains a single RWS rich-text region. */
.page--teachers .rich-text {
    max-width: 58.75rem;
}

.page--rules .rich-text {
    max-width: 58.75rem;
}

.page--teachers .rich-text > p:first-child {
    margin-bottom: 2.125rem;
    color: var(--color-ink);
    font-family: var(--font-heading);
    font-size: clamp(1.35rem, 2.3vw, 1.75rem);
    line-height: 1.52;
}

.page--teachers .rich-text .topic-intro {
    color: var(--color-muted);
}

.page--rules .rich-text h2 {
    margin-top: clamp(4.5rem, 8vw, 6.5rem);
    font-size: clamp(2.3rem, 4vw, 3.5rem);
}

.page--rules .rich-text h2:first-child {
    margin-top: 0;
}

.page--rules .rich-text h3 {
    margin-top: 2.875rem;
}

.page--partners .page-content .container {
    width: min(62rem, calc(100% - (2 * var(--gutter))));
}

.page--partners .rich-text ul {
    display: grid;
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.page--partners .rich-text li {
    position: relative;
    padding-left: 1rem;
}

.page--partners .rich-text li::before {
    position: absolute;
    left: 0;
    color: var(--color-brand);
    content: "•";
}

.page--partners .rich-text a {
    font-size: 1.05rem;
}

@media (max-width: 41.25rem) {
    .page--teachers .rich-text > p:first-child {
        font-size: 1.25rem;
    }
}

/* The About page: slightly larger, lighter story lead and an understated ending.
   Editor content remains plain H2/H3/P/A with no custom editor-only classes. */
.page--about .rich-text > h2 + p,
.page--about .rich-text > h2 + p + p {
    font-size: clamp(1.0625rem, 1.25vw, 1.1875rem);
    line-height: 1.7;
}

.page--about .rich-text > h2 + p {
    margin-bottom: .75rem;
}

.page--about .rich-text > h2 + p + p {
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.page--about .rich-text > h3:last-of-type {
    margin-top: clamp(3.25rem, 5vw, 4.5rem);
    padding-top: clamp(1.75rem, 2.6vw, 2.5rem);
    border-top: 1px solid rgba(54, 176, 164, .25);
}
