.course-regulation-content {
    max-width: none;
}

.coursemap-content {
    max-width: 56rem;
}

.coursemap-svg-figure {
    margin: 1rem 0 2rem;
    border: 1px solid #d7cbb8;
    background: #fff;
    padding: clamp(0.5rem, 1.8vw, 1rem);
}

.coursemap-svg-object {
    display: block;
    width: 100%;
    aspect-ratio: 3321 / 4189;
    border: 0;
}

.regulation-panel {
    max-width: 56rem;
}

.regulation-panel + .regulation-panel {
    margin-top: clamp(3rem, 7vw, 5rem);
    padding-top: clamp(2rem, 5vw, 3.5rem);
    border-top: 1px solid #d7cbb8;
}

.regulation-document-figure {
    margin: 1rem 0 1.25rem;
    border: 1px solid #ded8ce;
    background: #f8f6f1;
    padding: clamp(0.5rem, 2vw, 1rem);
}

.regulation-document-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.content-section .regulation-history-note {
    margin: 0;
    padding: 1rem 1.125rem;
    border-left: 4px solid #8a1c16;
    background: #f8f6f1;
    color: #3f3a34;
}

.regulation-history-note a {
    color: #7a1a14;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}

.regulation-flow-section {
    max-width: 56rem;
}

.regulation-flow-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.25rem;
}

.content-section .regulation-flow-heading h3 {
    margin: 0.15rem 0 0;
}

.content-section .regulation-flow-kicker {
    margin: 0;
    color: #8a1c16;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.content-section .regulation-flow-help {
    max-width: 28rem;
    margin: 0;
    color: #6b645c;
    font-size: 0.875rem;
    line-height: 1.65;
    text-align: right;
}

.regulation-svg-figure {
    margin: 0;
    border: 1px solid #d7cbb8;
    background: #fff;
    padding: clamp(0.5rem, 1.8vw, 1rem);
}

.regulation-svg-object {
    display: block;
    width: 100%;
    aspect-ratio: 2612 / 1813;
    border: 0;
}

.content-section .regulation-flow-caption {
    margin: 1rem 0 0;
    padding-left: 1rem;
    border-left: 3px solid #b9afa4;
    color: #59534d;
    font-size: 0.9rem;
    line-height: 1.7;
}

.scholarship-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.scholarship-card-grid .info-box {
    margin-bottom: 0;
}

.scholarship-card-grid .info-box p {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 720px) {
    .scholarship-card-grid {
        grid-template-columns: 1fr;
    }

    .regulation-flow-heading {
        display: block;
    }

    .content-section .regulation-flow-help {
        margin-top: 0.75rem;
        text-align: left;
    }

    .regulation-svg-figure {
        margin-inline: -0.75rem;
        overflow-x: auto;
        padding: 0.5rem;
    }

    .regulation-svg-object {
        min-width: 42rem;
    }

    .coursemap-svg-figure {
        margin-inline: -0.75rem;
        overflow-x: auto;
        padding: 0.5rem;
    }

    .coursemap-svg-object {
        min-width: 40rem;
    }
}
