/*
 * Shared university-branded course/program landing page.
 * Colors are injected per university as CSS custom properties by the
 * reusable PHP renderer.
 */
.je-university-landing,
.je-university-landing body {
    margin: 0;
    background: var(--university-background, #f4f7fb);
    color: var(--university-text, #172033);
}

.je-university-landing *,
.je-university-landing *::before,
.je-university-landing *::after {
    box-sizing: border-box;
}

.jeu-page {
    --university-primary: #33346a;
    --university-secondary: #f0784b;
    --university-accent: var(--university-secondary);
    --university-light: #f4f7fb;
    --university-background: var(--university-light);
    --university-text: #172033;
    min-height: 100vh;
    overflow: hidden;
    background: var(--university-background);
    color: var(--university-text);
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.jeu-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.jeu-header { background: var(--university-primary); color: #fff; }
.jeu-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.jeu-brand, .jeu-footer-brand { display: inline-flex; align-items: center; gap: 13px; color: inherit; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.jeu-brand img, .jeu-footer-brand img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: #fff; padding: 5px; }
.jeu-nav { display: flex; align-items: center; justify-content: flex-end; gap: 22px; flex-wrap: wrap; }
.jeu-nav a { color: rgba(255,255,255,.84); font-size: 12px; font-weight: 700; text-decoration: none; }
.jeu-nav a:hover, .jeu-footer a:hover { color: var(--university-secondary); }
.jeu-nav .jeu-nav-cta { color: var(--university-primary); background: #fff; border-radius: 999px; padding: 11px 17px; }

.jeu-hero { position: relative; color: #fff; background: linear-gradient(115deg, var(--university-primary), color-mix(in srgb, var(--university-primary) 66%, #000)); }
.jeu-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .2; background: var(--university-hero-image) center/cover no-repeat; mix-blend-mode: soft-light; }
.jeu-hero-grid { min-height: 430px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); align-items: center; gap: 60px; padding: 76px 0; position: relative; z-index: 1; }
.jeu-eyebrow, .jeu-section-kicker { margin: 0 0 13px; color: var(--university-secondary); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.jeu-hero h1 { max-width: 780px; margin: 0; font-size: clamp(38px, 6vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.jeu-program-name { margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 15px; font-weight: 600; }
.jeu-hero-excerpt { max-width: 690px; margin-top: 24px; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.7; }
.jeu-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.jeu-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 800; letter-spacing: .02em; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.jeu-button:hover { transform: translateY(-2px); }
.jeu-button-primary { background: var(--university-secondary); color: #fff !important; box-shadow: 0 10px 22px color-mix(in srgb, var(--university-secondary) 35%, transparent); }
.jeu-button-primary:hover { color: #fff; filter: brightness(.95); }
.jeu-button-secondary { background: var(--university-light); color: var(--university-primary) !important; }
.jeu-button-ghost { border-color: rgba(255,255,255,.34); color: #fff !important; }
.jeu-button-full { width: 100%; }
.jeu-hero-mark { justify-self: end; width: min(260px, 100%); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 32px; background: rgba(255,255,255,.12); box-shadow: 0 24px 60px rgba(0,0,0,.18); }
.jeu-hero-mark img { width: 68%; height: 68%; object-fit: contain; border-radius: 20px; background: #fff; padding: 15px; }
.jeu-hero-mark span { font-size: 100px; font-weight: 800; }

.jeu-summary { background: #fff; border-bottom: 1px solid rgba(23,32,51,.08); }
.jeu-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.jeu-summary-item { min-height: 105px; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 18px 22px; border-right: 1px solid rgba(23,32,51,.08); }
.jeu-summary-item:first-child { padding-left: 0; }
.jeu-summary-item:last-child { border-right: 0; }
/* .jeu-summary-item span, .jeu-sidebar-label, .jeu-fee-card span { color: color-mix(in srgb, var(--university-text) 55%, transparent); font-size: 11px; font-weight: 700; } */
.jeu-summary-item strong { color: var(--university-primary); font-size: 17px; }

.jeu-content-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.jeu-main-content { min-width: 0; }
.jeu-section { padding: 0 0 58px; margin-bottom: 58px; border-bottom: 1px solid rgba(23,32,51,.1); }
.jeu-section:last-child { margin-bottom: 0; }
.jeu-section h2, .jeu-bottom-form h2, .jeu-form-card h2 { margin: 0 0 22px; color: var(--university-primary); font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -.04em; }
.jeu-section h3 { margin: 0 0 12px; color: var(--university-primary); font-size: 17px; }
.jeu-richtext { color: color-mix(in srgb, var(--university-text) 80%, transparent); font-size: 15px; line-height: 1.8; }
.jeu-richtext + .jeu-richtext { margin-top: 26px; padding-top: 26px; border-top: 1px solid rgba(23,32,51,.1); }
.jeu-richtext p:first-child { margin-top: 0; }
.jeu-richtext p:last-child { margin-bottom: 0; }
.jeu-richtext a { color: var(--university-primary); font-weight: 700; }
.jeu-richtext ul, .jeu-richtext ol { padding-left: 1.3em; }
.jeu-detail-grid, .jeu-fee-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.jeu-detail-card, .jeu-fee-card, .jeu-note { padding: 23px; border: 1px solid rgba(23,32,51,.1); border-radius: 14px; background: #fff; }
.jeu-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.jeu-info-card { padding: 23px; border-left: 4px solid var(--university-secondary); border-radius: 12px; background: #fff; box-shadow: 0 8px 22px rgba(23,32,51,.05); }
.jeu-info-card h3 { margin-bottom: 8px; }
.jeu-info-card p { margin: 0; color: color-mix(in srgb, var(--university-text) 70%, transparent); font-size: 13px; line-height: 1.65; }
.jeu-info-card a { display: inline-block; margin-top: 13px; color: var(--university-primary); font-size: 11px; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.jeu-subsection { margin-top: 52px; padding-top: 42px; border-top: 1px solid rgba(23,32,51,.1); }
.jeu-semester-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.jeu-semester { padding: 20px; border-radius: 12px; background: var(--university-light); }
.jeu-semester h3 { margin-bottom: 10px; }
.jeu-semester ul, .jeu-check-list { margin: 0; padding-left: 1.2em; color: color-mix(in srgb, var(--university-text) 75%, transparent); font-size: 14px; line-height: 1.8; }
.jeu-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: jeu-step; }
.jeu-steps li { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 15px; }
.jeu-steps li > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--university-primary); color: #fff; font-size: 13px; font-weight: 800; }
.jeu-steps h3 { margin: 5px 0 5px; }
.jeu-steps p { margin: 0; color: color-mix(in srgb, var(--university-text) 70%, transparent); font-size: 13px; line-height: 1.6; }
.jeu-check-list { list-style: none; padding: 0; }
.jeu-check-list li { position: relative; padding-left: 28px; }
.jeu-check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--university-secondary); font-weight: 900; }
.jeu-tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.jeu-tag-list span { padding: 10px 14px; border-radius: 999px; background: var(--university-light); color: var(--university-primary); font-size: 12px; font-weight: 800; }
.jeu-faq-list { display: grid; gap: 10px; }
.jeu-faq-list details { padding: 17px 20px; border: 1px solid rgba(23,32,51,.1); border-radius: 10px; background: #fff; }
.jeu-faq-list summary { color: var(--university-primary); cursor: pointer; font-size: 14px; font-weight: 800; }
.jeu-faq-list details div { padding-top: 13px; color: color-mix(in srgb, var(--university-text) 70%, transparent); font-size: 13px; line-height: 1.7; }
.jeu-fee-grid { grid-template-columns: repeat(4, 1fr); }
.jeu-fee-card { display: flex; min-height: 116px; flex-direction: column; justify-content: space-between; gap: 10px; }
.jeu-fee-card strong { color: var(--university-primary); font-size: 19px; }
.jeu-note { margin-top: 16px; color: color-mix(in srgb, var(--university-text) 75%, transparent); font-size: 13px; line-height: 1.6; }
.jeu-resource-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.jeu-resource-actions p { flex: 1 1 100%; margin: 4px 0 0; color: color-mix(in srgb, var(--university-text) 65%, transparent); font-size: 13px; }
.jeu-sidebar { position: sticky; top: 24px; display: grid; gap: 18px; }
.jeu-sidebar-card, .jeu-form-card { padding: 28px; border-radius: 18px; background: #fff; box-shadow: 0 18px 45px rgba(23,32,51,.1); }
.jeu-sidebar-price { display: block; margin: 10px 0 22px; color: var(--university-primary); font-size: 28px; letter-spacing: -.04em; }
.jeu-form-card .jeu-section-kicker { margin-bottom: 8px; }
.jeu-form { font-size: 14px; }
.jeu-form input, .jeu-form select, .jeu-form textarea { width: 100%; max-width: 100%; min-height: 44px; margin-bottom: 10px; padding: 10px 12px; border: 1px solid rgba(23,32,51,.16); border-radius: 6px; }
.jeu-form button, .jeu-form input[type="submit"] { border: 0; border-radius: 6px; padding: 12px 18px; background: var(--university-primary); color: #fff; font-weight: 800; cursor: pointer; }
.jeu-program-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.jeu-program-card { display: flex; flex-direction: column; gap: 11px; padding: 22px; border: 1px solid rgba(23,32,51,.1); border-radius: 14px; background: #fff; color: var(--university-text); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.jeu-program-card:hover { color: var(--university-text); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(23,32,51,.1); }
.jeu-program-card span { color: var(--university-primary); font-size: 15px; font-weight: 800; }
.jeu-program-card strong { color: var(--university-secondary); font-size: 14px; }
.jeu-program-card em { color: color-mix(in srgb, var(--university-text) 55%, transparent); font-size: 11px; font-style: normal; font-weight: 700; text-transform: uppercase; }
.jeu-bottom-form { max-width: 1180px; margin: 0 auto 72px; padding: 38px; border-radius: 20px; background: #fff; box-shadow: 0 18px 45px rgba(23,32,51,.08); }
.jeu-footer { padding: 30px 0; background: var(--university-primary); color: #fff; }
.jeu-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.jeu-footer-brand img { width: 38px; height: 38px; border-radius: 8px; }
.jeu-footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.jeu-footer a { color: rgba(255,255,255,.8); font-size: 12px; font-weight: 700; text-decoration: none; }

@media (max-width: 991px) {
    .jeu-hero-grid, .jeu-content-wrap { grid-template-columns: 1fr; }
    .jeu-hero-mark { justify-self: start; width: 150px; border-radius: 20px; }
    .jeu-hero-mark span { font-size: 60px; }
    .jeu-sidebar { position: static; }
}
@media (max-width: 767px) {
    .jeu-container { width: min(100% - 28px, 1180px); }
    .jeu-header-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
    .jeu-nav { justify-content: flex-start; gap: 12px 16px; }
    .jeu-nav a { font-size: 11px; }
    .jeu-hero-grid { min-height: 0; gap: 34px; padding: 54px 0; }
    .jeu-summary-grid, .jeu-detail-grid, .jeu-fee-grid, .jeu-program-grid, .jeu-card-grid, .jeu-semester-list { grid-template-columns: 1fr 1fr; }
    .jeu-summary-item, .jeu-summary-item:first-child { padding: 15px 12px; border-bottom: 1px solid rgba(23,32,51,.08); }
    .jeu-summary-item:nth-child(2) { border-right: 0; }
    .jeu-summary-item:nth-child(3), .jeu-summary-item:nth-child(4) { border-bottom: 0; }
    .jeu-content-wrap { padding-top: 48px; padding-bottom: 48px; gap: 12px; }
    .jeu-section { padding-bottom: 42px; margin-bottom: 42px; }
    .jeu-bottom-form { margin: 0 14px 48px; padding: 24px 18px; }
    .jeu-footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 480px) {
    .jeu-hero h1 { font-size: 38px; }
    .jeu-summary-grid, .jeu-detail-grid, .jeu-fee-grid, .jeu-program-grid, .jeu-card-grid, .jeu-semester-list { grid-template-columns: 1fr; }
    .jeu-summary-item, .jeu-summary-item:first-child, .jeu-summary-item:nth-child(2), .jeu-summary-item:nth-child(3), .jeu-summary-item:nth-child(4) { padding-left: 0; border-right: 0; border-bottom: 1px solid rgba(23,32,51,.08); }
    .jeu-summary-item:last-child { border-bottom: 0; }
    .jeu-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .jeu-button, .jeu-program-card { transition: none; }
}

/*
 * Editorial program-page treatment inspired by modern university
 * admissions sites. The university controls below are injected by PHP,
 * so each assigned landing page can use a solid or gradient header/footer.
 */
.jeu-page {
    --university-header-background: var(--university-primary);
    --university-footer-background: var(--university-primary);
    background:
        radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--university-secondary) 10%, transparent), transparent 26rem),
        var(--university-background);
    scroll-behavior: smooth;
}

.jeu-header {
    padding-bottom: 26px;
    background: var(--university-header-background);
    color: #fff;
}

.jeu-utility {
    min-height: 42px;
    background: rgba(0, 0, 0, .18);
}

.jeu-utility-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255, 255, 255, .84);
    font-size: 11px;
    font-weight: 600;
}

.jeu-utility a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.jeu-utility a:hover {
    color: var(--university-secondary);
}

.jeu-header-shell {
    margin-top: 24px;
}

.jeu-header-inner {
    min-height: 78px;
    padding: 14px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .12);
}

.jeu-brand {
    color: var(--university-text);
}

/* .jeu-brand img {
    border: 1px solid rgba(23, 32, 51, .09);
    box-shadow: 0 5px 14px rgba(23, 32, 51, .08);
} */

.jeu-nav a {
    color: color-mix(in srgb, var(--university-text) 78%, transparent);
}

.jeu-nav a:hover {
    color: var(--university-primary);
}

.jeu-nav .jeu-nav-cta {
    background: var(--university-primary);
    color: #fff;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--university-primary) 25%, transparent);
}

.jeu-nav .jeu-nav-cta:hover {
    color: #fff;
    filter: brightness(.94);
}

.jeu-hero {
    overflow: hidden;
    background:
        linear-gradient(rgba(23, 32, 51, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 32, 51, .055) 1px, transparent 1px),
        var(--university-light);
    background-size: 22px 22px, 22px 22px, auto;
    color: var(--university-text);
}

.jeu-hero::before {
    content: "";
    position: absolute;
    width: 46vw;
    height: 46vw;
    max-width: 680px;
    max-height: 680px;
    right: -11vw;
    top: 7%;
    border: 64px solid color-mix(in srgb, var(--university-secondary) 12%, transparent);
    border-radius: 46% 54% 54% 46%;
    transform: rotate(-22deg);
    pointer-events: none;
}

.jeu-hero::after {
    opacity: .08;
    mix-blend-mode: multiply;
}

.jeu-hero-grid {
    min-height: 555px;
    gap: 70px;
    padding: 92px 0 118px;
}

.jeu-hero-copy {
    position: relative;
    z-index: 2;
    animation: jeu-rise-in .72s ease both;
}

.jeu-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--university-primary);
}

.jeu-eyebrow-mark {
    color: var(--university-secondary);
    font-size: 17px;
}

.jeu-hero h1 {
    max-width: 800px;
    color: var(--university-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(46px, 6.8vw, 84px);
    font-weight: 500;
    letter-spacing: -.065em;
}

.jeu-program-name {
    color: color-mix(in srgb, var(--university-text) 68%, transparent);
}

.jeu-hero-excerpt {
    color: color-mix(in srgb, var(--university-text) 72%, transparent);
}

.jeu-button-ghost {
    border-color: color-mix(in srgb, var(--university-primary) 35%, transparent);
    color: var(--university-primary) !important;
}

.jeu-button-ghost:hover {
    background: rgba(255, 255, 255, .72);
}

.jeu-hero-visual {
    position: relative;
    min-height: 355px;
    display: grid;
    place-items: center;
    z-index: 1;
    animation: jeu-float-in .86s .08s ease both;
}

.jeu-hero-image {
    position: relative;
    width: min(390px, 100%);
    aspect-ratio: 4 / 5;
    margin: 0;
    overflow: hidden;
    border: 10px solid rgba(255, 255, 255, .84);
    border-radius: 38% 38% 28% 28%;
    background: var(--university-primary);
    box-shadow: 0 28px 68px rgba(23, 32, 51, .18);
    transform: rotate(3deg);
}

.jeu-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, transparent 45%, color-mix(in srgb, var(--university-primary) 28%, transparent));
    pointer-events: none;
}

.jeu-hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.jeu-hero-mark {
    position: absolute;
    right: 2%;
    bottom: 2%;
    z-index: 2;
    width: 112px;
    height: 112px;
    justify-self: auto;
    border: 8px solid rgba(255, 255, 255, .86);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 15px 30px rgba(23, 32, 51, .2);
}

.jeu-hero-mark img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    padding: 12px;
}

.jeu-hero-mark span {
    color: var(--university-primary);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 60px;
}

.jeu-summary {
    position: relative;
    z-index: 3;
    max-width: 1180px;
    margin: -56px auto 0;
    background: transparent;
    border: 0;
}

.jeu-summary-grid {
    overflow: hidden;
    border: 1px solid rgba(23, 32, 51, .08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(23, 32, 51, .1);
}

.jeu-summary-item {
    min-height: 118px;
}

.jeu-content-wrap {
    padding-top: 88px;
}

.jeu-section h2,
.jeu-bottom-form h2,
.jeu-form-card h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
}

.jeu-section {
    animation: jeu-rise-in .7s ease both;
}

.jeu-section:nth-child(2) { animation-delay: .06s; }
.jeu-section:nth-child(3) { animation-delay: .12s; }
.jeu-section:nth-child(4) { animation-delay: .18s; }

.jeu-sidebar-card,
.jeu-form-card {
    animation: jeu-rise-in .72s .16s ease both;
}

.jeu-footer {
    background: var(--university-footer-background);
}

.jeu-footer-brand span {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
}

.jeu-footer-links a {
    color: rgba(255, 255, 255, .86);
}

.jeu-button:focus-visible,
.jeu-nav a:focus-visible,
.jeu-brand:focus-visible,
.jeu-utility a:focus-visible,
.jeu-footer a:focus-visible,
.jeu-faq-list summary:focus-visible {
    outline: 3px solid var(--university-secondary);
    outline-offset: 4px;
}

@keyframes jeu-rise-in {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes jeu-float-in {
    from { opacity: 0; transform: translate3d(20px, 16px, 0) scale(.96); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@media (max-width: 991px) {
    .jeu-hero-grid {
        min-height: 0;
        padding: 74px 0 100px;
    }

    .jeu-hero-visual {
        justify-self: start;
        width: min(390px, 100%);
    }
}

@media (max-width: 767px) {
    .jeu-header {
        padding-bottom: 16px;
    }

    .jeu-utility-inner {
        min-height: 38px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 2px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .jeu-header-shell {
        margin-top: 16px;
    }

    .jeu-header-inner {
        align-items: flex-start;
        padding: 14px;
        border-radius: 16px;
    }

    .jeu-hero-grid {
        gap: 46px;
        padding: 60px 0 90px;
    }

    .jeu-summary {
        width: calc(100% - 28px);
        margin-top: -46px;
    }

    .jeu-summary-grid {
        border-radius: 16px;
    }

    .jeu-content-wrap {
        padding-top: 62px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jeu-page {
        scroll-behavior: auto;
    }

    .jeu-hero-copy,
    .jeu-hero-visual,
    .jeu-section,
    .jeu-sidebar-card,
    .jeu-form-card {
        animation: none;
    }
}

/*
 * UNIVERSITY VISUAL DIRECTIONS
 *
 * The renderer assigns one of these profiles from the university name. Each
 * profile uses the same accessible content structure, but changes the
 * composition, typography, surfaces and motion so the program page feels
 * native to that university family instead of a duplicated generic page.
 */
.jeu-page {
    --jeu-card-radius: var(--university-radius, 20px);
    --jeu-button-radius: var(--university-button-radius, 8px);
}

.jeu-page .jeu-button,
.jeu-page .jeu-nav .jeu-nav-cta,
.jeu-page .jeu-form button,
.jeu-page .jeu-form input[type="submit"] {
    border-radius: var(--jeu-button-radius);
}

.jeu-page .jeu-section h2,
.jeu-page .jeu-bottom-form h2,
.jeu-page .jeu-form-card h2,
.jeu-page .jeu-footer-brand span {
    font-family: var(--university-heading-font);
}

.jeu-page .jeu-summary-grid,
.jeu-page .jeu-detail-card,
.jeu-page .jeu-fee-card,
.jeu-page .jeu-note,
.jeu-page .jeu-info-card,
.jeu-page .jeu-faq-list details,
.jeu-page .jeu-sidebar-card,
.jeu-page .jeu-form-card,
.jeu-page .jeu-program-card,
.jeu-page .jeu-bottom-form {
    border-radius: var(--jeu-card-radius);
}

.jeu-profile-manipal .jeu-header {
    border-bottom: 4px solid var(--university-secondary);
}

.jeu-profile-manipal .jeu-hero {
    background:
        linear-gradient(90deg, transparent 0 64%, rgba(243,111,61,.94) 64% 100%),
        linear-gradient(115deg, #072d4f, #0b4865);
}

.jeu-profile-manipal .jeu-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    min-height: 500px;
}

.jeu-profile-manipal .jeu-hero h1,
.jeu-profile-manipal .jeu-section h2,
.jeu-profile-manipal .jeu-bottom-form h2,
.jeu-profile-manipal .jeu-form-card h2 {
    letter-spacing: -.035em;
}

.jeu-profile-manipal .jeu-hero-image {
    width: min(440px, 100%);
    aspect-ratio: 16 / 11;
    border: 0;
    border-radius: 10px;
    transform: rotate(1deg);
    box-shadow: 0 26px 54px rgba(0,0,0,.24);
}

.jeu-profile-manipal .jeu-hero-mark {
    right: -3%;
    bottom: -3%;
    width: 96px;
    height: 96px;
    border-radius: 10px;
    border-width: 5px;
}

.jeu-profile-manipal .jeu-summary-grid {
    border-top: 4px solid var(--university-secondary);
}

.jeu-profile-amity .jeu-header {
    background:
        radial-gradient(circle at 86% 0, rgba(255,255,255,.17), transparent 18rem),
        var(--university-header-background);
}

.jeu-profile-amity .jeu-header-inner {
    border-radius: 28px;
}

.jeu-profile-amity .jeu-hero {
    background:
        radial-gradient(circle at 88% 16%, rgba(238,139,47,.26), transparent 18rem),
        linear-gradient(140deg, #fff8f4 0 57%, #f5ddd7 57% 100%);
    color: var(--university-text);
}

.jeu-profile-amity .jeu-hero h1,
.jeu-profile-amity .jeu-hero .jeu-program-name {
    color: var(--university-text);
}

.jeu-profile-amity .jeu-hero-excerpt {
    color: rgba(43,29,37,.72);
}

.jeu-profile-amity .jeu-hero-visual {
    min-height: 390px;
}

.jeu-profile-amity .jeu-hero-image {
    border-color: rgba(255,255,255,.92);
    border-radius: 30px;
    transform: rotate(-3deg);
}

.jeu-profile-amity .jeu-hero-mark {
    border-radius: 22px;
    transform: rotate(6deg);
}

.jeu-profile-amity .jeu-button-ghost {
    border-color: var(--university-primary);
    color: var(--university-primary) !important;
}

.jeu-profile-amity .jeu-summary-grid {
    box-shadow: 0 18px 45px rgba(169,37,42,.13);
}

.jeu-profile-lpu .jeu-header,
.jeu-profile-chandigarh .jeu-header {
    border-bottom: 7px solid var(--university-secondary);
}

.jeu-profile-lpu .jeu-hero,
.jeu-profile-chandigarh .jeu-hero {
    background:
        linear-gradient(0deg, rgba(0,0,0,.08), rgba(0,0,0,.08)),
        linear-gradient(115deg, var(--university-primary), color-mix(in srgb, var(--university-primary) 72%, #1b0710));
}

.jeu-profile-lpu .jeu-hero-image,
.jeu-profile-chandigarh .jeu-hero-image {
    border-radius: 8px;
    transform: none;
}

.jeu-profile-lpu .jeu-hero-mark,
.jeu-profile-chandigarh .jeu-hero-mark {
    border-radius: 8px;
}

.jeu-profile-amrita .jeu-hero,
.jeu-profile-dy-patil .jeu-hero,
.jeu-profile-subharti .jeu-hero {
    background:
        linear-gradient(120deg, color-mix(in srgb, var(--university-primary) 96%, #000), var(--university-primary)),
        var(--university-primary);
}

.jeu-profile-amrita .jeu-hero::before,
.jeu-profile-dy-patil .jeu-hero::before,
.jeu-profile-subharti .jeu-hero::before {
    content: "";
    position: absolute;
    width: 370px;
    height: 370px;
    right: 21%;
    top: -210px;
    border: 54px solid color-mix(in srgb, var(--university-secondary) 28%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

.jeu-profile-jain .jeu-hero,
.jeu-profile-arka-jain .jeu-hero,
.jeu-profile-mangalayatan .jeu-hero,
.jeu-profile-vgu .jeu-hero {
    background:
        radial-gradient(circle at 12% 15%, rgba(255,255,255,.12), transparent 16rem),
        linear-gradient(120deg, var(--university-primary), color-mix(in srgb, var(--university-primary) 70%, #000));
}

.jeu-profile-jain .jeu-hero-image,
.jeu-profile-arka-jain .jeu-hero-image,
.jeu-profile-mangalayatan .jeu-hero-image,
.jeu-profile-vgu .jeu-hero-image {
    border-radius: 18px;
    transform: rotate(0);
}

.jeu-profile-jain .jeu-hero-mark,
.jeu-profile-arka-jain .jeu-hero-mark,
.jeu-profile-mangalayatan .jeu-hero-mark,
.jeu-profile-vgu .jeu-hero-mark {
    border-radius: 50%;
}

.jeu-profile-sharda .jeu-hero {
    background:
        linear-gradient(135deg, rgba(178,31,54,.96), rgba(211,91,67,.92)),
        var(--university-primary);
}

.jeu-profile-sharda .jeu-hero-image {
    border-radius: 52% 12% 12% 12%;
    transform: rotate(-2deg);
}

.jeu-profile-shoolini .jeu-hero {
    background:
        radial-gradient(circle at 84% 26%, rgba(240,163,41,.25), transparent 15rem),
        linear-gradient(120deg, #116d57, #0b4a3c);
}

.jeu-profile-shoolini .jeu-hero-image {
    border-radius: 28px 28px 28px 4px;
    transform: rotate(-2deg);
}

.jeu-profile-shoolini .jeu-card-grid .jeu-info-card,
.jeu-profile-shoolini .jeu-detail-card {
    border-top: 3px solid var(--university-secondary);
    border-left: 0;
}

.jeu-profile-smu .jeu-hero {
    background:
        linear-gradient(90deg, transparent 0 70%, rgba(228,167,44,.9) 70% 100%),
        linear-gradient(115deg, #003b70, #07538e);
}

.jeu-profile-smu .jeu-hero-image {
    border-radius: 6px;
    transform: none;
}

.jeu-profile-smu .jeu-hero-mark {
    border-radius: 6px;
}

@media (max-width: 991px) {
    .jeu-profile-manipal .jeu-hero-grid {
        grid-template-columns: 1fr;
    }

    .jeu-profile-manipal .jeu-hero {
        background: linear-gradient(115deg, #072d4f, #0b4865);
    }

    .jeu-profile-smu .jeu-hero {
        background: linear-gradient(115deg, #003b70, #07538e);
    }
}

@media (max-width: 767px) {
    .jeu-profile-amity .jeu-hero {
        background: #fff8f4;
    }

    .jeu-profile-amity .jeu-hero h1,
    .jeu-profile-amity .jeu-hero .jeu-program-name,
    .jeu-profile-amity .jeu-hero-excerpt {
        color: var(--university-text);
    }

    .jeu-profile-amity .jeu-button-ghost {
        border-color: var(--university-primary);
    }
}

/*
 * LANDING PAGE POLISH
 *
 * These layers turn the data sections into a deliberate conversion flow:
 * hero -> quick facts -> overview card -> proof/details cards -> enquiry.
 */
.jeu-hero-copy {
    max-width: 760px;
}

.jeu-hero-quickfacts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.jeu-hero-quickfacts span {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    padding: 10px 13px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.78);
    font-size: 11px;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.jeu-hero-quickfacts strong {
    color: #fff;
    font-size: 13px;
}

.jeu-hero-image-card {
    position: absolute;
    right: -8%;
    bottom: 4%;
    z-index: 3;
    display: grid;
    gap: 4px;
    max-width: 180px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 14px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 16px 34px rgba(23,32,51,.2);
    color: var(--university-text);
}

.jeu-hero-image-card span {
    color: color-mix(in srgb, var(--university-text) 55%, transparent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jeu-hero-image-card strong {
    overflow: hidden;
    color: var(--university-primary);
    font-size: 13px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jeu-summary {
    width: min(1180px, calc(100% - 40px));
}

.jeu-summary-item {
    position: relative;
    overflow: hidden;
}

.jeu-summary-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 34px;
    height: 3px;
    border-radius: 0 0 5px 5px;
    background: var(--university-secondary);
}

.jeu-main-content > .jeu-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 22px;
    padding: 34px;
    border: 1px solid rgba(23,32,51,.08);
    border-bottom: 1px solid rgba(23,32,51,.08);
    border-radius: var(--jeu-card-radius);
    background: rgba(255,255,255,.94);
    box-shadow: 0 16px 38px rgba(23,32,51,.055);
}

.jeu-main-content > .jeu-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--university-primary), var(--university-secondary));
    opacity: .9;
}

.jeu-main-content > .jeu-section:last-child {
    margin-bottom: 0;
}

.jeu-overview-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(230px, .58fr);
    align-items: start;
    gap: 34px;
}

.jeu-overview-copy {
    min-width: 0;
}

.jeu-overview-visual {
    position: sticky;
    top: 28px;
    overflow: hidden;
    min-height: 300px;
    margin-top: 8px;
    border-radius: calc(var(--jeu-card-radius) + 4px);
    background: var(--university-primary);
    box-shadow: 0 20px 42px color-mix(in srgb, var(--university-primary) 18%, transparent);
}

.jeu-overview-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 34%, rgba(9,20,34,.78));
    pointer-events: none;
}

.jeu-overview-visual img {
    display: block;
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.jeu-overview-visual-caption {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    z-index: 1;
    display: grid;
    gap: 5px;
    color: #fff;
}

.jeu-overview-visual-caption span {
    color: var(--university-secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.jeu-overview-visual-caption strong {
    font-size: 19px;
    line-height: 1.15;
}

.jeu-detail-card,
.jeu-info-card,
.jeu-semester,
.jeu-program-card {
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.jeu-detail-card:hover,
.jeu-info-card:hover,
.jeu-semester:hover,
.jeu-program-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--university-secondary) 42%, rgba(23,32,51,.1));
    box-shadow: 0 14px 28px rgba(23,32,51,.09);
}

.jeu-section .jeu-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.jeu-section .jeu-section-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: var(--university-secondary);
}

.jeu-sidebar {
    top: 30px;
}

.jeu-sidebar-card,
.jeu-form-card {
    border: 1px solid rgba(23,32,51,.08);
    box-shadow: 0 16px 38px rgba(23,32,51,.08);
}

.jeu-sidebar-card {
    position: relative;
    overflow: hidden;
}

.jeu-sidebar-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--university-secondary), var(--university-primary));
}

.jeu-form-card {
    border-top: 4px solid var(--university-secondary);
}

.jeu-bottom-form {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23,32,51,.08);
}

.jeu-bottom-form::after {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 260px;
    height: 260px;
    border: 34px solid color-mix(in srgb, var(--university-secondary) 14%, transparent);
    border-radius: 50%;
    pointer-events: none;
}

@media (max-width: 991px) {
    .jeu-overview-layout {
        grid-template-columns: 1fr;
    }

    .jeu-overview-visual {
        position: relative;
        top: auto;
        min-height: 0;
        margin-top: 4px;
    }

    .jeu-overview-visual img {
        height: 270px;
    }

    .jeu-hero-image-card {
        right: 1%;
    }
}

@media (max-width: 767px) {
    .jeu-summary {
        width: calc(100% - 28px);
    }

    .jeu-main-content > .jeu-section {
        padding: 27px 20px;
        border-radius: 16px;
    }

    .jeu-hero-quickfacts {
        gap: 7px;
    }

    .jeu-hero-quickfacts span {
        padding: 9px 10px;
        font-size: 10px;
    }

    .jeu-hero-image-card {
        right: -2%;
        bottom: 2%;
        max-width: 145px;
        padding: 11px 12px;
    }

    .jeu-hero-image-card strong {
        font-size: 11px;
    }

    .jeu-summary-item::before {
        left: 12px;
    }
}

/*
 * ACF-CONTROLLED STYLE OVERRIDES
 *
 * These classes are emitted from the university branding fields. They are
 * intentionally additive: an admin can change the treatment without
 * changing the template or creating a university-specific PHP file.
 */
.jeu-hero-style-split .jeu-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    gap: 42px;
}

.jeu-hero-style-split .jeu-hero-image {
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    transform: rotate(0);
}

.jeu-hero-style-split .jeu-hero-mark {
    right: -4%;
    bottom: -4%;
    border-radius: 12px;
}

.jeu-hero-style-spotlight .jeu-hero-grid {
    grid-template-columns: minmax(0, .92fr) minmax(330px, 1.08fr);
    min-height: 540px;
}

.jeu-hero-style-spotlight .jeu-hero-visual {
    min-height: 440px;
}

.jeu-hero-style-spotlight .jeu-hero-image {
    width: min(470px, 100%);
    aspect-ratio: 5 / 4;
    border-radius: 24px;
    transform: rotate(-2deg);
}

.jeu-card-style-sharp .jeu-main-content > .jeu-section,
.jeu-card-style-sharp .jeu-sidebar-card,
.jeu-card-style-sharp .jeu-form-card,
.jeu-card-style-sharp .jeu-info-card,
.jeu-card-style-sharp .jeu-detail-card,
.jeu-card-style-sharp .jeu-program-card {
    border-radius: 8px;
}

.jeu-card-style-sharp .jeu-main-content > .jeu-section {
    box-shadow: 0 12px 26px rgba(23,32,51,.07);
}

.jeu-card-style-outline .jeu-main-content > .jeu-section,
.jeu-card-style-outline .jeu-sidebar-card,
.jeu-card-style-outline .jeu-form-card,
.jeu-card-style-outline .jeu-info-card,
.jeu-card-style-outline .jeu-detail-card,
.jeu-card-style-outline .jeu-program-card {
    background: transparent;
    box-shadow: none;
    border: 1px solid color-mix(in srgb, var(--university-primary) 24%, rgba(23,32,51,.1));
}

.jeu-card-style-outline .jeu-info-card,
.jeu-card-style-outline .jeu-detail-card,
.jeu-card-style-outline .jeu-program-card {
    background: rgba(255,255,255,.6);
}

.jeu-button-style-pill .jeu-button,
.jeu-button-style-pill .jeu-nav .jeu-nav-cta,
.jeu-button-style-pill .jeu-form button,
.jeu-button-style-pill .jeu-form input[type="submit"] {
    border-radius: 999px;
}

.jeu-button-style-outline .jeu-button-primary {
    border: 1px solid var(--university-secondary);
    background: transparent;
    color: var(--university-secondary) !important;
    box-shadow: none;
}

.jeu-button-style-outline .jeu-button-primary:hover {
    background: var(--university-secondary);
    color: #fff !important;
}

.jeu-button-style-outline .jeu-form button,
.jeu-button-style-outline .jeu-form input[type="submit"] {
    border: 1px solid var(--university-primary);
    background: transparent;
    color: var(--university-primary);
}

.jeu-animation-style-none .jeu-hero-copy,
.jeu-animation-style-none .jeu-hero-visual,
.jeu-animation-style-none .jeu-section,
.jeu-animation-style-none .jeu-sidebar-card,
.jeu-animation-style-none .jeu-form-card {
    animation: none !important;
}

.jeu-animation-style-none .jeu-detail-card,
.jeu-animation-style-none .jeu-info-card,
.jeu-animation-style-none .jeu-semester,
.jeu-animation-style-none .jeu-program-card,
.jeu-animation-style-none .jeu-button {
    transition: none !important;
}

@media (max-width: 991px) {
    .jeu-hero-style-spotlight .jeu-hero-grid,
    .jeu-hero-style-split .jeu-hero-grid {
        grid-template-columns: 1fr;
    }

    .jeu-hero-style-spotlight .jeu-hero-visual {
        min-height: 0;
    }
}

@media (max-width: 767px) {
    .jeu-hero-style-spotlight .jeu-hero-image {
        width: min(390px, 100%);
        aspect-ratio: 4 / 3;
    }

    .jeu-hero-actions .jeu-button {
        flex: 1 1 100%;
        width: 100%;
    }

    .jeu-hero-style-split .jeu-hero-image-card,
    .jeu-hero-style-spotlight .jeu-hero-image-card {
        right: 0;
    }
}

/*
 * Header dimensions and menu content are controlled per university through
 * ACF. The mobile values deliberately use clamps so a large desktop setting
 * cannot create overflow on a phone.
 */
.jeu-header-shell {
    width: min(var(--university-header-width, 1180px), calc(100% - 40px));
}

.jeu-header-inner {
    min-height: var(--university-header-height, 78px);
}

.jeu-page .jeu-brand img {
    width: var(--jeu-logo-w-d, auto);
    height: var(--jeu-logo-h-d, 80px);
    max-width: none;
    max-height: none;
    object-fit: contain;
}

@media (max-width: 767px) {
    .jeu-header-shell {
        width: min(var(--university-header-width, 1180px), calc(100% - 28px));
    }

    .jeu-header-inner {
        min-height: clamp(60px, calc(var(--university-header-height, 78px) * .78), 110px);
    }

    .jeu-page .jeu-brand img {
        width: clamp(34px, calc(var(--university-logo-size, 48px) * .72), 72px);
        height: clamp(34px, calc(var(--university-logo-size, 48px) * .72), 72px);
    }

    .jeu-brand {
        max-width: 100%;
    }

    .jeu-nav {
        max-width: 100%;
    }
}

/* Mobile keeps the header focused on the logo and one menu control. */
.jeu-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid color-mix(in srgb, var(--university-primary) 18%, transparent);
    border-radius: 10px;
    background: transparent;
    color: var(--university-primary);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.jeu-nav-toggle:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--university-secondary) 55%, transparent);
    outline-offset: 3px;
}

.jeu-nav-toggle-icon {
    display: grid;
    gap: 4px;
    width: 18px;
}

.jeu-nav-toggle-icon i {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}

.jeu-nav-toggle[aria-expanded="true"] .jeu-nav-toggle-icon i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.jeu-nav-toggle[aria-expanded="true"] .jeu-nav-toggle-icon i:nth-child(2) {
    opacity: 0;
}

.jeu-nav-toggle[aria-expanded="true"] .jeu-nav-toggle-icon i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 767px) {
    .jeu-utility {
        display: none;
    }

    .jeu-header-inner {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 12px;
    }

    .jeu-brand-name {
        display: none;
    }

    .jeu-nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .jeu-nav {
        display: none;
        flex: 1 0 100%;
        order: 3;
        align-items: stretch;
        justify-content: flex-start;
        gap: 4px;
        padding-top: 10px;
        border-top: 1px solid rgba(23, 32, 51, .1);
    }

    .jeu-nav.is-open {
        display: flex;
    }

    .jeu-nav a {
        width: 100%;
        padding: 9px 2px;
        font-size: 13px;
    }

    .jeu-nav .jeu-nav-cta {
        width: 100%;
        margin-top: 4px;
        text-align: center;
    }
}