/* ---------- Course of Study page (hero from history.css) ---------- */

.page-curriculum .h-hero::after { background: var(--c-cream); }
.page-curriculum .h-hero__content { padding-bottom: calc(var(--h-curve) + 1.5rem); }
.page-curriculum .h-hero + .section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* General information: a large CBSE monogram beside the statement */
.k-general { background: var(--c-cream); }
.k-general__grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.k-general__mark { font-family: var(--f-serif); font-size-adjust: 0.4; font-size: clamp(4.5rem, 2rem + 9vw, 10rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1.5px var(--c-gold-700); }
.k-general__inner { display: grid; gap: 1.25rem; padding-left: clamp(1.25rem, 3vw, 2.5rem); border-left: 3px solid var(--c-gold-500); }
.k-general__text { font-family: var(--f-serif); font-size-adjust: 0.4; font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.1rem); font-weight: 500; line-height: 1.35; color: var(--c-maroon-900, var(--c-maroon-950)); }


@media (max-width: 860px) {
    .k-general__grid { grid-template-columns: 1fr; }
    .k-general__inner { padding-left: 1.25rem; }
}

/* Scheme of studies: dark band, one tab per grade band, numbered subject tiles */
.k-schemes {
    color: rgb(255 255 255 / 0.85);
    background:
        radial-gradient(46rem 24rem at 85% 0%, rgb(var(--rgb-gold-300) / 0.1), transparent 68%),
        linear-gradient(135deg, var(--c-maroon-950) 0%, var(--c-maroon-800) 60%, var(--c-maroon-650) 100%);
}

.k-head { display: grid; justify-items: center; gap: 1rem; margin-bottom: 2rem; text-align: center; }
.k-head .eyebrow::after { content: ""; width: 1.75rem; height: 1px; background: currentColor; }
.k-head .h2 { color: var(--c-white); }

.k-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.k-tabs button { min-height: 2.9rem; padding: 0 1.2rem; font: inherit; font-size: 0.9375rem; font-weight: 600; color: rgb(255 255 255 / 0.85); background: transparent; border: 1px solid rgb(255 255 255 / 0.3); border-radius: 15px; cursor: pointer; transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.k-tabs button:hover { border-color: var(--c-gold-300); }
.k-tabs button[aria-selected="true"] { color: var(--c-maroon-950, var(--c-maroon-950)); background: var(--c-gold-500); border-color: var(--c-gold-500); }

.k-panel { display: grid; gap: 1.5rem; margin-bottom: 3rem; }
.k-panel[hidden] { display: none; }
.k-panel__title { font-family: var(--f-serif); font-size-adjust: 0.4; font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); font-weight: 600; line-height: 1.05; text-align: center; color: var(--c-gold-300); }

.k-panel .k-langs { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.k-panel .k-langs li { padding: 1rem 1.25rem; font-size: 1rem; font-weight: 600; line-height: 1.4; text-align: center; color: var(--c-maroon-950, var(--c-maroon-950)); background: var(--c-gold-500); border-radius: 15px; }

.k-panel .k-subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.k-panel .k-subjects li { display: flex; align-items: center; gap: 0.9rem; padding: 1rem 1.1rem; font-size: 1rem; line-height: 1.35; color: var(--c-white); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.14); border-radius: 15px; transition: background-color 0.25s ease, border-color 0.25s ease; }
.k-panel .k-subjects li:hover { background: rgb(255 255 255 / 0.12); border-color: var(--c-gold-500); }
.k-panel .k-subjects span { flex: none; font-family: var(--f-serif); font-size-adjust: 0.4; font-size: 1.35rem; font-weight: 600; color: var(--c-gold-300); font-variant-numeric: tabular-nums; }
