body:is(.pagelayout-frontpage,.pagelayout-course) {
    --ex-ink:#1d3043; --ex-blue:#245984; --ex-line:#cfd9df;
    background:#fdfcf9;color:var(--ex-ink);
}
:is(.pagelayout-frontpage,.pagelayout-course) .navbar {border-top:3px solid var(--ex-blue);background:white}
:is(.pagelayout-frontpage,.pagelayout-course) #page-header h1,
.pagelayout-frontpage #frontpage-available-course-list h2 {
    font-family:AppleMyungjo,'Noto Serif CJK KR',Batang,serif;
    color:var(--ex-ink);letter-spacing:-.045em;line-height:1.3;
}
.pagelayout-frontpage .exmath-catalog-card {overflow:hidden;border:1px solid var(--ex-line);border-radius:5px;box-shadow:none}
.pagelayout-frontpage #frontpage-available-course-list .row {gap:12px}
.pagelayout-course #page-header {padding:clamp(16px,3vw,32px);border-left:4px solid var(--ex-blue);background:#eef3f6}
.pagelayout-course .course-content .course-section {background:white;border:1px solid var(--ex-line);border-radius:5px;margin-block:16px;padding:clamp(12px,2vw,24px)}
.pagelayout-course .course-content .sectionname {color:var(--ex-ink);font-weight:700;line-height:1.4}
.pagelayout-course .activity-item {border-color:var(--ex-line)}
.exmath-catalog-card[data-course-id="17"] {--cover:url("pix/exmathcards/cover-17.svg")}
.exmath-catalog-card[data-course-id="9"] {--cover:url("pix/exmathcards/cover-9.svg")}
.exmath-catalog-card[data-course-id="16"] {--cover:url("pix/exmathcards/cover-16.svg")}
.exmath-catalog-card[data-course-id="15"] {--cover:url("pix/exmathcards/cover-15.svg")}
.exmath-catalog-card[data-course-id="14"] {--cover:url("pix/exmathcards/cover-14.svg")}
.exmath-catalog-card[data-course-id="13"] {--cover:url("pix/exmathcards/cover-13.svg")}
.exmath-catalog-card[data-course-id="12"] {--cover:url("pix/exmathcards/cover-12.svg")}
.exmath-catalog-card[data-course-id="11"] {--cover:url("pix/exmathcards/cover-11.svg")}
.exmath-catalog-card[data-course-id="8"] {--cover:url("pix/exmathcards/cover-8.svg")}
.exmath-catalog-card:is([data-course-id="17"],[data-course-id="9"],[data-course-id="16"],[data-course-id="15"],[data-course-id="14"],[data-course-id="13"],[data-course-id="12"],[data-course-id="11"],[data-course-id="8"]) img {display:none!important}
.exmath-catalog-card:is([data-course-id="17"],[data-course-id="9"],[data-course-id="16"],[data-course-id="15"],[data-course-id="14"],[data-course-id="13"],[data-course-id="12"],[data-course-id="11"],[data-course-id="8"])::before {content:"";display:block;aspect-ratio:48/19;background:var(--cover) center/cover}
.exmath-catalog-card:is([data-course-id="17"],[data-course-id="9"],[data-course-id="16"],[data-course-id="15"],[data-course-id="14"],[data-course-id="13"],[data-course-id="12"],[data-course-id="11"],[data-course-id="8"]) h3.visually-hidden {position:static!important;clip:auto!important;width:auto!important;height:auto!important;white-space:normal!important;margin:0!important;padding:14px 18px!important;font-size:1.12rem;line-height:1.4;color:#20364c}
.pagelayout-frontpage #frontpage-available-course-list .card-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.pagelayout-frontpage #frontpage-available-course-list .card-grid>.col {width:auto}
.pagelayout-course .courseindex .courseindex-item.pageitem {background:var(--ex-blue);color:white}
:is(.pagelayout-course,.pagelayout-frontpage) a:focus-visible {outline:3px solid #1568ac;outline-offset:3px}
