/* JakMus Homepage — isolated styles, prefixed with jm- to avoid collisions with the main theme */
:root {
  --jm-ink: #18343a;
  --jm-muted: #66777a;
  --jm-teal: #2f7775;
  --jm-teal-dark: #174c4e;
  --jm-paper: #fbfaf7;
  --jm-line: #e4e8e4;
  --jm-radius: 18px;
}
.jm-home { color: var(--jm-ink); background: #fff; font-family: "Segoe UI", Calibri, sans-serif; overflow: hidden; }
.jm-home * { box-sizing: border-box; }
.jm-container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.jm-eyebrow { display: inline-block; font-size: 11px; letter-spacing: .16em; font-weight: 700; }
.jm-button { display: inline-flex; gap: 18px; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 6px; text-decoration: none; font-size: 13px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.jm-button:hover { transform: translateY(-2px); }
.jm-button--light { color: #173b3d; background: #f6f8f4; }
.jm-button--dark { color: #fff; background: var(--jm-teal-dark); }
.jm-button--dark:hover {
    background: #0f766e; /* sesuaikan warna */
    color: #fff;
}
.jm-text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--jm-teal-dark); text-decoration: none; font-size: 13px; font-weight: 700; }
.jm-text-link:hover, .jm-card-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.jm-intro { padding-block: 100px 94px; }
.jm-intro__label { display: flex; align-items: center; gap: 12px; margin-bottom: 35px; color: var(--jm-teal); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.jm-label-line { display: inline-block; width: 34px; height: 1px; background: var(--jm-teal); }
.jm-intro__body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.jm-intro h2, .jm-section h2 { margin: 0; font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.jm-intro h2 { font-size: clamp(34px, 4vw, 52px); }
.jm-intro h2 span { color: var(--jm-teal); }
.jm-intro__copy p { color: var(--jm-muted); line-height: 1.9; margin: 0 0 22px; font-size: 15px; }
.jm-section { padding-block: 86px; }
.jm-agenda { background: var(--jm-paper); }
.jm-section__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.jm-eyebrow { color: var(--jm-teal); margin-bottom: 13px; }
.jm-section h2 { font-size: clamp(32px, 4vw, 44px); }
.jm-section__head p { color: var(--jm-muted); margin: 12px 0 0; line-height: 1.7; }
.jm-section__head > .jm-text-link { margin-bottom: 7px; white-space: nowrap; }
.jm-agenda-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.jm-agenda-card { min-height: 260px; padding: 23px 21px 20px; border: 1px solid var(--jm-line); border-radius: var(--jm-radius); background: #fff; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.jm-agenda-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(25,55,55,.07); }
.jm-agenda-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 28px; }
.jm-agenda-card__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-size: 25px; }
.jm-agenda-card--teal .jm-agenda-card__icon { color: #286c67; background: #e7f3ee; }
.jm-agenda-card--blue .jm-agenda-card__icon { color: #456b91; background: #eaf0f8; }
.jm-agenda-card--lavender .jm-agenda-card__icon { color: #786a9c; background: #f0edf8; }
.jm-agenda-card--sand .jm-agenda-card__icon { color: #967849; background: #f6f0e2; }
.jm-agenda-card__type { color: #83908d; font-size: 9px; letter-spacing: .12em; font-weight: 700; text-align: right; }
.jm-agenda-card h3 { margin: 0 0 18px; font-size: 18px; line-height: 1.35; font-weight: 600; letter-spacing: -.02em; }
.jm-agenda-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--jm-muted); font-size: 11px; margin-bottom: 22px; }
.jm-agenda-card__status { padding: 4px 7px; border-radius: 4px; background: #f0f5f1; color: #467064; }
.jm-card-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--jm-line); color: var(--jm-teal-dark); text-decoration: none; font-size: 12px; font-weight: 700; }
.jm-news { background: #fff; }
.jm-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.jm-news-card { overflow: hidden; border: 1px solid var(--jm-line); border-radius: var(--jm-radius); background: #fff; }
.jm-news-card__image { display: block; position: relative; aspect-ratio: 1.55; overflow: hidden; background: #edf2ef; }
.jm-news-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.jm-news-card:hover .jm-news-card__image img { transform: scale(1.04); }
.jm-news-card__image > span { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--jm-teal-dark); }
.jm-news-card__body { padding: 23px; }
.jm-news-card__date { color: var(--jm-teal); font-size: 11px; font-weight: 700; margin-bottom: 12px; }
.jm-news-card h3 { margin: 0 0 12px; font-size: 20px; line-height: 1.35; letter-spacing: -.025em; }
.jm-news-card h3 a { color: var(--jm-ink); text-decoration: none; }
.jm-news-card h3 a:hover { color: var(--jm-teal); }
.jm-news-card p { color: var(--jm-muted); font-size: 13px; line-height: 1.8; margin: 0 0 19px; }
.jm-empty-state { text-align: center; padding: 50px 20px; border: 1px dashed #cdd9d3; border-radius: var(--jm-radius); background: var(--jm-paper); }
.jm-empty-state > span { color: var(--jm-teal); font-size: 28px; }
.jm-empty-state h3 { margin: 12px 0 6px; font-size: 20px; }
.jm-empty-state p { color: var(--jm-muted); margin: 0; }
.jm-cta { padding-block: 70px; }
.jm-cta__inner { padding: 44px 48px; display: flex; align-items: center; justify-content: space-between; gap: 36px; background: #eaf2ed; border-radius: 22px; }
.jm-cta h2 { max-width: 620px; margin: 0; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.2; font-weight: 500; letter-spacing: -.04em; }
.jm-cta .jm-button { flex-shrink: 0; }
@media (max-width: 1000px) {
  .jm-agenda-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .jm-intro__body { gap: 38px; }
  .jm-news-grid { gap: 16px; }
  .jm-news-card__body { padding: 18px; }
  .jm-cta__inner { padding: 36px; }
}
@media (max-width: 680px) {
  .jm-container { width: min(100% - 32px, 1160px); }
  .jm-intro { padding-block: 68px; }
  .jm-intro__body { grid-template-columns: 1fr; gap: 24px; }
  .jm-section { padding-block: 64px; }
  .jm-section__head { align-items: start; flex-direction: column; }
  .jm-section__head > .jm-text-link { margin-top: 0; }
  .jm-agenda-grid, .jm-news-grid { grid-template-columns: 1fr; }
  .jm-agenda-card { min-height: 225px; }
  .jm-news-card__image { aspect-ratio: 1.8; }
  .jm-cta { padding-block: 42px; }
  .jm-cta__inner { align-items: start; flex-direction: column; padding: 28px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .jm-home *, .jm-home *::before, .jm-home *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* Agenda cards: dedicated image thumbnail for each event category */
.jm-agenda-card { overflow: hidden; padding: 0; }
.jm-agenda-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9efeb;
}
.jm-agenda-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}
.jm-agenda-card:hover .jm-agenda-card__image img { transform: scale(1.035); }
.jm-agenda-card__top,
.jm-agenda-card h3,
.jm-agenda-card__meta,
.jm-agenda-card .jm-card-link {
  margin-left: 21px;
  margin-right: 21px;
}
.jm-agenda-card__top { margin-top: 22px; }
.jm-agenda-card h3 { margin-top: 0; }
.jm-agenda-card__meta { margin-bottom: 22px; }
.jm-agenda-card .jm-card-link { margin-top: auto; margin-bottom: 18px; }
@media (max-width: 680px) {
  .jm-agenda-card__top,
  .jm-agenda-card h3,
  .jm-agenda-card__meta,
  .jm-agenda-card .jm-card-link {
    margin-left: 18px;
    margin-right: 18px;
  }
}


.jm-agenda-card__image--empty {
  background: linear-gradient(135deg, #e8f1ed 0%, #d4e4dc 100%);
}


/* =====================================================
   ABOUT JAKMUS FC
   Typography & Layout
===================================================== */

.jm-about {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-about *,
.jm-about *::before,
.jm-about *::after {
    box-sizing: border-box;
}

.jm-about .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

/* Section Label */
.jm-about .jm-intro__label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--jm-teal, #2f7775);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.jm-about .jm-label-line {
    flex: 0 0 34px;
    width: 34px;
    height: 1px;
    background: var(--jm-teal, #2f7775);
}

/* Section Heading */
.jm-about .jm-section__head {
    margin-bottom: 36px;
}

.jm-about .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-about .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Main Layout */
.jm-about .jm-about__grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Image */
.jm-about .jm-about__media {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #edf2ef;
}

.jm-about .jm-about__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 560px;
    margin: 0;
    object-fit: cover;
    object-position: center;
}

/* Description */
.jm-about .jm-about__content {
    min-width: 0;
    max-width: 100%;
    margin: 0;
}

.jm-about .jm-about__description {
    width: 100%;
    max-width: 100%;
    margin: 0;
    color: var(--jm-muted, #66777a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(15px, 1.25vw, 17px);
    font-weight: 400;
    line-height: 1.9;
    text-align: justify;
    overflow-wrap: anywhere;
}

.jm-about .jm-about__description > :first-child {
    margin-top: 0;
}

.jm-about .jm-about__description > :last-child {
    margin-bottom: 0;
}

.jm-about .jm-about__description p {
    margin: 0 0 1em;
}

.jm-about .jm-about__description h2,
.jm-about .jm-about__description h3,
.jm-about .jm-about__description h4 {
    margin: 1.2em 0 .5em;
    color: var(--jm-ink, #18343a);
    font-weight: 600;
    line-height: 1.35;
}

.jm-about .jm-about__description strong,
.jm-about .jm-about__description b {
    color: var(--jm-ink, #18343a);
    font-weight: 700;
}

.jm-about .jm-about__description em,
.jm-about .jm-about__description i {
    font-style: italic;
}

.jm-about .jm-about__description u {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jm-about .jm-about__description ul,
.jm-about .jm-about__description ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.jm-about .jm-about__description li {
    margin-bottom: .35em;
}

.jm-about .jm-about__description a {
    color: var(--jm-teal, #2f7775);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Responsive */
@media (max-width: 760px) {
    .jm-about {
        padding-block: 48px 60px;
    }

    .jm-about .container {
        width: calc(100% - 32px);
    }

    .jm-about .jm-about__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .jm-about .jm-about__image {
        max-height: 380px;
    }

    .jm-about .jm-about__description {
        font-size: 15px;
        line-height: 1.85;
    }
}

/* =========================================
   NEWS LIST — JAKMUS FC
   Layout aligned with About / Faculty
========================================= */

.jm-news {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-news,
.jm-news * {
    box-sizing: border-box;
}

/* Samakan lebar container dengan About */
.jm-news .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

/* Section label */
.jm-news .jm-intro__label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    color: var(--jm-teal, #2f7775);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.jm-news .jm-label-line {
    display: inline-block;
    flex: 0 0 34px;
    width: 34px;
    height: 1px;
    background: var(--jm-teal, #2f7775);
}

/* Section heading */
.jm-news .jm-section__head {
    margin-bottom: 36px;
}

.jm-news .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-news .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* News card layout */
.jm-news .row {
    align-items: stretch;
}

.jm-news .row > [class*="col-"] {
    display: flex;
    min-width: 0;
}

/* Card wrapper — supports common card class names */
.jm-news .jm-news-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: 100%;
}

/* Card metadata */
.jm-news-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 12px;
    color: var(--jm-muted, #66777a);
    font-size: 11px;
    line-height: 1.6;
}

.jm-news-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.jm-news-card__author {
    color: var(--jm-muted, #66777a);
}

/* Image placeholder */
.jm-news-card__image-placeholder {
    display: grid;
    width: 100%;
    min-height: 180px;
    place-items: center;
    background: #e8f1ed;
}

.jm-news-card__image-placeholder-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--jm-teal-dark, #174c4e);
    font-size: 20px;
    font-weight: 700;
}

/* Keep card content from stretching outside its column */
.jm-news .jm-news-card img {
    display: block;
    max-width: 100%;
}

/* Responsive */
@media (max-width: 760px) {
    .jm-news {
        padding-block: 48px 60px;
    }

    .jm-news .container {
        width: calc(100% - 32px);
    }

    .jm-news .jm-section__head {
        margin-bottom: 26px;
    }
}

@media (max-width: 576px) {
    .jm-news {
        padding-bottom: 45px;
    }
}


/* =====================================================
   NEWS DETAIL — JakMus FC
   Konsisten dengan homepage dan news list
===================================================== */

.jm-news-detail {
    padding-block: 72px 86px;
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    text-align: justify;
}

.jm-news-detail,
.jm-news-detail * {
    box-sizing: border-box;
}

.jm-news-detail .container {
    width: min(960px, calc(100% - 48px));
    margin-inline: auto;
}

.jm-news-detail__article {
    width: 100%;
    min-width: 0;
}

.jm-news-detail__media {
    margin: 0 0 30px;
    overflow: hidden;
    border-radius: var(--jm-radius, 18px);
    background: #edf2ef;
}

.jm-news-detail__image {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    object-position: center;
}

.jm-news-detail__content {
    max-width: 820px;
    margin-inline: auto;
}

.jm-news-detail__category {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #eaf2ed;
    color: var(--jm-teal-dark, #174c4e);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.jm-news-detail__title {
    margin: 0 0 20px;
    color: var(--jm-ink, #18343a);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.jm-news-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--jm-line, #e4e8e4);
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    line-height: 1.6;
}

.jm-news-detail__meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jm-news-detail__body {
    color: var(--jm-ink, #18343a);
    font-size: 16px;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.jm-news-detail__body > :first-child {
    margin-top: 0;
}

.jm-news-detail__body p {
    margin: 0 0 1.25em;
}

.jm-news-detail__body h2,
.jm-news-detail__body h3,
.jm-news-detail__body h4 {
    margin: 1.5em 0 .6em;
    color: var(--jm-ink, #18343a);
    font-weight: 600;
    line-height: 1.35;
}

.jm-news-detail__body img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 10px;
}

.jm-news-detail__body ul,
.jm-news-detail__body ol {
    margin-bottom: 1.25em;
    padding-left: 1.5em;
}

.jm-news-detail__body a {
    color: var(--jm-teal, #2f7775);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.jm-news-detail__back {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--jm-line, #e4e8e4);
}

@media (max-width: 680px) {
    .jm-news-detail {
        padding-block: 48px 60px;
    }

    .jm-news-detail .container {
        width: calc(100% - 32px);
    }

    .jm-news-detail__media {
        margin-bottom: 22px;
        border-radius: 12px;
    }

    .jm-news-detail__image {
        max-height: 360px;
    }

    .jm-news-detail__title {
        font-size: clamp(27px, 7vw, 36px);
    }

    .jm-news-detail__body {
        font-size: 15px;
        line-height: 1.85;
    }
}


/* =====================================================
   FACULTY — JakMus FC
   Mengikuti tipografi dan warna homepage
===================================================== */

.jm-faculty {
    padding-block: 72px 86px;
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
}

.jm-faculty,
.jm-faculty * {
    box-sizing: border-box;
}

.jm-faculty .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.jm-faculty .jm-section__head {
    margin-bottom: 36px;
}

.jm-faculty .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-faculty .jm-section__head p {
    color: var(--jm-muted, #66777a);
    font-size: 15px;
    line-height: 1.8;
}

/* Eyebrow / Caption */
.jm-faculty .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

.jm-faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jm-faculty-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.jm-faculty-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(25, 55, 55, .07);
}

.jm-faculty-card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf2ef;
}

.jm-faculty-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.jm-faculty-card:hover .jm-faculty-card__image {
    transform: scale(1.035);
}

.jm-faculty-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 180px;
    place-items: center;
    background: linear-gradient(135deg, #e8f1ed, #d4e4dc);
}

.jm-faculty-card__placeholder span {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--jm-teal-dark, #174c4e);
    font-size: 20px;
    font-weight: 700;
}

.jm-faculty-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.jm-faculty-card__name {
    margin: 0 0 12px;
    color: var(--jm-ink, #18343a);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.jm-faculty-card__description {
    color: var(--jm-muted, #66777a);
    font-size: 14px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.jm-faculty-card__description p {
    margin: 0 0 1em;
}

.jm-faculty-card__description p:last-child {
    margin-bottom: 0;
}

.jm-faculty-card__description h2,
.jm-faculty-card__description h3,
.jm-faculty-card__description h4 {
    margin: 1em 0 .5em;
    color: var(--jm-ink, #18343a);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.jm-faculty-card__description ul,
.jm-faculty-card__description ol {
    padding-left: 1.4em;
}

.jm-faculty-card__description a {
    color: var(--jm-teal, #2f7775);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 1000px) {
    .jm-faculty-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .jm-faculty {
        padding-block: 48px 60px;
    }

    .jm-faculty .container {
        width: calc(100% - 32px);
    }

    .jm-faculty-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jm-faculty-card__media {
        aspect-ratio: 16 / 10;
    }

    .jm-faculty-card__body {
        padding: 20px;
    }

    .jm-faculty-card__name {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jm-faculty-card,
    .jm-faculty-card__image {
        transition: none;
    }
}



/* Guest Contributors — konsisten dengan Faculty JakMus FC */

.jm-contributors {
    padding-block: 72px 86px;
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
}

.jm-contributors,
.jm-contributors * {
    box-sizing: border-box;
}

.jm-contributors .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.jm-contributors .jm-section__head {
    margin-bottom: 36px;
}

.jm-contributors .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-contributors .jm-section__head p {
    color: var(--jm-muted, #66777a);
    font-size: 15px;
    line-height: 1.8;
}

/* Eyebrow / Caption */
.jm-contributors .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

.jm-contributor-card {
    height: 100%;
}

.jm-contributor-card .jm-faculty-card__description {
    color: var(--jm-muted, #66777a);
    font-size: 14px;
    line-height: 1.8;
}

.jm-contributor-card .jm-faculty-card__description p {
    margin: 0 0 1em;
}

.jm-contributor-card .jm-faculty-card__description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 680px) {
    .jm-contributors {
        padding-block: 48px 60px;
    }

    .jm-contributors .container {
        width: calc(100% - 32px);
    }
}



/* =====================================================
   EDUCATIONAL EVENTS — JakMus FC
===================================================== */

.jm-event-detail {
    padding-block: 72px 86px;
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
}

.jm-event-detail,
.jm-event-detail * {
    box-sizing: border-box;
}

.jm-event-detail .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.jm-event-detail .jm-section__head {
    margin-bottom: 36px;
}

.jm-event-detail .jm-section__head h2 {
    color: var(--jm-ink, #18343a);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.jm-event-detail .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-event-detail .jm-section__head p {
    margin-top: 12px;
    color: var(--jm-muted, #66777a);
    font-size: 15px;
    line-height: 1.8;
}

/* Eyebrow / Caption */
.jm-event-detail .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

.jm-event-detail__figure {
    width: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: var(--jm-radius, 18px);
    background: #edf2ef;
}

.jm-event-detail__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: contain;
    object-position: center;
    margin-inline: auto;
}

@media (max-width: 680px) {
    .jm-event-detail {
        padding-block: 48px 60px;
    }

    .jm-event-detail .container {
        width: calc(100% - 32px);
    }

    .jm-event-detail .jm-section__head {
        margin-bottom: 24px;
    }

    .jm-event-detail__figure {
        border-radius: 12px;
    }

    .jm-event-detail__image {
        max-height: none;
    }
}


/* =====================================================
   GALLERY — JakMus FC
   Konsisten dengan homepage, news, dan faculty
===================================================== */

.jm-gallery {
    padding-block: 72px 86px;
    color: var(--jm-ink, #18343a);
    background: var(--jm-paper, #fbfaf7);
    font-family: "Segoe UI", Calibri, sans-serif;
}

.jm-gallery,
.jm-gallery * {
    box-sizing: border-box;
}

.jm-gallery .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.jm-gallery .jm-section__head {
    margin-bottom: 36px;
}

.jm-gallery .jm-section__head h2 {
    color: var(--jm-ink, #18343a);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.jm-gallery .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-gallery .jm-section__head p {
    margin-top: 12px;
    color: var(--jm-muted, #66777a);
    font-size: 15px;
    line-height: 1.8;
}

/* Eyebrow / Caption */
.jm-gallery .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

.jm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jm-gallery-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    transition: transform .25s ease, box-shadow .25s ease;
}

.jm-gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(25, 55, 55, .08);
}

.jm-gallery-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.jm-gallery-card__media {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #edf2ef;
}

.jm-gallery-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.jm-gallery-card:hover .jm-gallery-card__image {
    transform: scale(1.04);
}

.jm-gallery-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
}

.jm-gallery-card__body h3 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
}

.jm-gallery-card__action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--jm-line, #e4e8e4);
    color: var(--jm-teal-dark, #174c4e);
    font-size: 12px;
    font-weight: 700;
}

.jm-gallery-card__link:hover .jm-gallery-card__action {
    color: var(--jm-teal, #2f7775);
}

@media (max-width: 1000px) {
    .jm-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .jm-gallery {
        padding-block: 48px 60px;
    }

    .jm-gallery .container {
        width: calc(100% - 32px);
    }

    .jm-gallery .jm-section__head {
        margin-bottom: 24px;
    }

    .jm-gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jm-gallery-card__media {
        aspect-ratio: 16 / 10;
    }

    .jm-gallery-card__body {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jm-gallery-card,
    .jm-gallery-card__image {
        transition: none;
    }
}



/* =====================================================
   GALLERY DETAIL — JakMus FC
===================================================== */

.jm-gallery-detail {
    padding-block: 72px 86px;
    color: var(--jm-ink, #18343a);
    background: var(--jm-paper, #fbfaf7);
    font-family: "Segoe UI", Calibri, sans-serif;
}

.jm-gallery-detail,
.jm-gallery-detail * {
    box-sizing: border-box;
}

.jm-gallery-detail .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

.jm-gallery-detail .jm-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
}

.jm-gallery-detail .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.jm-gallery-detail .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-gallery-detail .jm-section__head p {
    margin: 12px 0 0;
    color: var(--jm-muted, #66777a);
    font-size: 15px;
    line-height: 1.8;
}

.jm-gallery-detail__back {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: 6px;
    background: #fff;
    color: var(--jm-teal-dark, #174c4e);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.jm-gallery-detail__back:hover {
    border-color: var(--jm-teal, #2f7775);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
}

.jm-gallery-detail__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.jm-gallery-detail__item {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 5px 18px rgba(24, 52, 58, .04);
}

.jm-gallery-detail__link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #edf2ef;
}

.jm-gallery-detail__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .4s ease;
}

.jm-gallery-detail__link:hover .jm-gallery-detail__image {
    transform: scale(1.045);
}

.jm-gallery-detail__zoom {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--jm-teal-dark, #174c4e);
    font-size: 20px;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease;
}

.jm-gallery-detail__link:hover .jm-gallery-detail__zoom,
.jm-gallery-detail__link:focus-visible .jm-gallery-detail__zoom {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1000px) {
    .jm-gallery-detail__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

@media (max-width: 680px) {
    .jm-gallery-detail {
        padding-block: 48px 60px;
    }

    .jm-gallery-detail .container {
        width: calc(100% - 32px);
    }

    .jm-gallery-detail .jm-section__head {
        align-items: start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 24px;
    }

    .jm-gallery-detail__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .jm-gallery-detail__link {
        aspect-ratio: 16 / 10;
    }

    .jm-gallery-detail__zoom {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jm-gallery-detail__image,
    .jm-gallery-detail__zoom,
    .jm-gallery-detail__back {
        transition: none;
    }
}




/* ========================================
   SUPPORTERS
   Layout aligned with About / Faculty
======================================== */

.jm-supporters {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-supporters *,
.jm-supporters *::before,
.jm-supporters *::after {
    box-sizing: border-box;
}

/* Container: follow About page alignment */
.jm-supporters .container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

/* Section Heading */
.jm-supporters .jm-section__head {
    margin-bottom: 36px;
}

.jm-supporters .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.jm-supporters .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-supporters .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Supporter Content */
.jm-supporters__content {
    width: 100%;
    max-width: 100%;
    margin: 0;
}

/* Supporter Card */
.jm-supporters .jm-supporter-card {
    width: 100%;
    margin: 0;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    overflow: hidden;
    text-align: center;
}

/* Image */
.jm-supporters .jm-supporter-card__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 600px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

/* Responsive */
@media (max-width: 760px) {
    .jm-supporters {
        padding-block: 48px 60px;
    }

    .jm-supporters .container {
        width: calc(100% - 32px);
    }

    .jm-supporters .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-supporters .jm-supporter-card {
        padding: 12px;
    }

    .jm-supporters .jm-supporter-card__image {
        max-height: 420px;
    }
}




/* =========================================
   MSK US COURSE DESCRIPTION
   Layout aligned with About / Faculty
========================================= */

.jm-msk-course {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-msk-course *,
.jm-msk-course *::before,
.jm-msk-course *::after {
    box-sizing: border-box;
}

/* Container: same alignment as About */
.jm-msk-course .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section Heading */
.jm-msk-course .jm-section__head {
    margin: 0 0 36px;
}

.jm-msk-course .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.jm-msk-course .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Caption */
.jm-msk-course .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Intro Layout */
.jm-msk-course .jm-msk-intro {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
    width: 100%;
    margin: 0 0 48px;
}

.jm-msk-course .jm-msk-intro__image {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
}

.jm-msk-course .jm-msk-intro__image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.jm-msk-course .jm-msk-intro__content {
    min-width: 0;
}

.jm-msk-course .jm-msk-intro__content h2 {
    margin: 6px 0 18px;
    color: var(--jm-teal-dark, #174c4e);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

.jm-msk-course .jm-msk-eyebrow {
    display: inline-block;
    color: var(--jm-teal, #2f7775);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.jm-msk-course .jm-msk-intro__content > p,
.jm-msk-course .jm-msk-objective p {
    margin: 0 0 16px;
    color: var(--jm-muted, #66777a);
    font-size: .98rem;
    line-height: 1.85;
    text-align: left;
}

.jm-msk-course .jm-msk-objective {
    margin-top: 26px;
    padding: 24px;
    border-left: 4px solid var(--jm-teal, #2f7775);
    border-radius: 0 var(--jm-radius, 18px) var(--jm-radius, 18px) 0;
    background: #f1f7f5;
}

.jm-msk-course .jm-msk-objective h3 {
    margin: 6px 0 12px;
    color: var(--jm-teal-dark, #174c4e);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.jm-msk-course .jm-msk-objective p {
    margin-bottom: 0;
}

/* Course Modules */
.jm-msk-course .jm-msk-modules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
    width: 100%;
}

.jm-msk-course .jm-msk-module {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 8px 28px rgba(24, 52, 58, .05);
}

.jm-msk-course .jm-msk-module__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--jm-line, #e4e8e4);
}

.jm-msk-course .jm-msk-module--upper .jm-msk-module__header {
    background: #edf4f8;
}

.jm-msk-course .jm-msk-module--lower .jm-msk-module__header {
    background: #fff7e7;
}

.jm-msk-course .jm-msk-module__number {
    display: flex;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.jm-msk-course .jm-msk-module--lower .jm-msk-module__number {
    background: #b77b14;
}

.jm-msk-course .jm-msk-module__header h2 {
    margin: 4px 0 0;
    color: var(--jm-ink, #18343a);
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 700;
    line-height: 1.35;
    text-transform: none;
}

.jm-msk-course .jm-msk-module__section {
    padding: 24px;
}

.jm-msk-course .jm-msk-module__section + .jm-msk-module__section {
    padding-top: 20px;
    border-top: 1px solid var(--jm-line, #e4e8e4);
}

.jm-msk-course .jm-msk-module__section h3 {
    margin: 0 0 18px;
    color: var(--jm-teal-dark, #174c4e);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
}

.jm-msk-course .jm-msk-module--lower .jm-msk-module__section h3 {
    color: #94630e;
}

/* Topic Lists */
.jm-msk-course .jm-msk-topic-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.jm-msk-course .jm-msk-topic-list li {
    position: relative;
    min-width: 0;
    padding-left: 18px;
    color: var(--jm-muted, #66777a);
    font-size: .92rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.jm-msk-course .jm-msk-topic-list li::before {
    position: absolute;
    top: .68em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--jm-teal, #2f7775);
    content: "";
}

.jm-msk-course .jm-msk-module--lower .jm-msk-topic-list li::before {
    background: #d69a2d;
}

/* Schedule */
.jm-msk-course .jm-msk-schedule {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: msk-schedule;
}

.jm-msk-course .jm-msk-schedule li {
    position: relative;
    padding: 13px 0 13px 36px;
    border-bottom: 1px solid #edf0ed;
    color: var(--jm-muted, #66777a);
    font-size: .92rem;
    line-height: 1.65;
    counter-increment: msk-schedule;
    overflow-wrap: anywhere;
}

.jm-msk-course .jm-msk-schedule li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.jm-msk-course .jm-msk-schedule li::before {
    position: absolute;
    top: 13px;
    left: 0;
    color: var(--jm-teal, #2f7775);
    font-size: .82rem;
    font-weight: 700;
    content: counter(msk-schedule, decimal-leading-zero);
}

.jm-msk-course .jm-msk-module--lower .jm-msk-schedule li::before {
    color: #b77b14;
}

/* Responsive */
@media (max-width: 991px) {
    .jm-msk-course .jm-msk-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .jm-msk-course .jm-msk-intro__image {
        width: 100%;
        max-width: 680px;
    }

    .jm-msk-course .jm-msk-modules {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .jm-msk-course {
        padding-block: 48px 60px;
    }

    .jm-msk-course .container {
        width: calc(100% - 32px);
    }

    .jm-msk-course .jm-section__head {
        margin-bottom: 26px;
    }
}

@media (max-width: 575px) {
    .jm-msk-course .jm-msk-intro {
        margin-bottom: 32px;
    }

    .jm-msk-course .jm-msk-objective {
        padding: 18px;
    }

    .jm-msk-course .jm-msk-module__header {
        padding: 20px;
    }

    .jm-msk-course .jm-msk-module__section {
        padding: 20px;
    }

    .jm-msk-course .jm-msk-topic-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .jm-msk-course .jm-msk-intro__content > p,
    .jm-msk-course .jm-msk-objective p {
        font-size: .94rem;
        line-height: 1.8;
    }
}



/* =========================================
   MSK US - UPCOMING EVENT
   Layout aligned with About / Faculty
========================================= */

.jm-msk-upcoming {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-msk-upcoming *,
.jm-msk-upcoming *::before,
.jm-msk-upcoming *::after {
    box-sizing: border-box;
}

/* Container: consistent with About / Faculty */
.jm-msk-upcoming .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section Heading */
.jm-msk-upcoming .jm-section__head {
    margin: 0 0 36px;
}

.jm-msk-upcoming .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.jm-msk-upcoming .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-msk-upcoming .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Event List */
.jm-msk-upcoming .jm-msk-upcoming__list {
    display: flex;
    flex-direction: column;
    gap: 36px;
    width: 100%;
    margin: 0;
}

.jm-msk-upcoming .jm-msk-upcoming__item {
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* Event Image */
.jm-msk-upcoming .jm-msk-upcoming__image-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
}

.jm-msk-upcoming .jm-msk-upcoming__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

/* Event Actions */
.jm-msk-upcoming .jm-msk-upcoming__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.jm-msk-upcoming .jm-msk-upcoming__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.jm-msk-upcoming .jm-msk-upcoming__button:hover {
    transform: translateY(-2px);
}

.jm-msk-upcoming .jm-msk-upcoming__button--primary {
    background: var(--jm-teal, #2f7775);
    border-color: var(--jm-teal, #2f7775);
    color: #fff;
}

.jm-msk-upcoming .jm-msk-upcoming__button--primary:hover {
    background: var(--jm-teal-dark, #174c4e);
    border-color: var(--jm-teal-dark, #174c4e);
    color: #fff;
}

.jm-msk-upcoming .jm-msk-upcoming__button--secondary {
    background: #fff;
    border-color: var(--jm-line, #e4e8e4);
    color: var(--jm-teal-dark, #174c4e);
}

.jm-msk-upcoming .jm-msk-upcoming__button--secondary:hover {
    background: var(--jm-paper, #fbfaf7);
    border-color: var(--jm-teal, #2f7775);
    color: var(--jm-teal-dark, #174c4e);
}

.jm-msk-upcoming .jm-msk-upcoming__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, .35);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 760px) {
    .jm-msk-upcoming {
        padding-block: 48px 60px;
    }

    .jm-msk-upcoming .container {
        width: calc(100% - 32px);
    }

    .jm-msk-upcoming .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-msk-upcoming .jm-msk-upcoming__list {
        gap: 28px;
    }

    .jm-msk-upcoming .jm-msk-upcoming__actions {
        gap: 10px;
        margin-top: 16px;
    }

    .jm-msk-upcoming .jm-msk-upcoming__button {
        flex: 1 1 100%;
        width: 100%;
    }
}


/* =========================================
   MSK US - PAST EVENTS
   Layout aligned with About / Faculty / Upcoming
========================================= */

.jm-msk-past {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-msk-past *,
.jm-msk-past *::before,
.jm-msk-past *::after {
    box-sizing: border-box;
}

/* Container: consistent across pages */
.jm-msk-past .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section Heading */
.jm-msk-past .jm-section__head {
    margin: 0 0 36px;
}

.jm-msk-past .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.jm-msk-past .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-msk-past .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Past Events Grid */
.jm-msk-past .jm-msk-past__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
    width: 100%;
    margin: 0;
}

/* Event Card */
.jm-msk-past .jm-msk-past__card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, .05);
    transition:
        box-shadow .25s ease,
        transform .25s ease;
}

.jm-msk-past .jm-msk-past__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(24, 52, 58, .1);
}

/* Event Image */
.jm-msk-past .jm-msk-past__image-wrap {
    width: 100%;
    overflow: hidden;
    background: var(--jm-paper, #fbfaf7);
}

.jm-msk-past .jm-msk-past__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-msk-past .jm-msk-past__grid {
        gap: 22px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .jm-msk-past {
        padding-block: 48px 60px;
    }

    .jm-msk-past .container {
        width: calc(100% - 32px);
    }

    .jm-msk-past .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-msk-past .jm-msk-past__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .jm-msk-past .jm-msk-past__card:hover {
        transform: none;
    }
}


/* =========================================
   MSK MRI - COURSE DESCRIPTION
   Layout aligned with About / Faculty
========================================= */

.jm-msk-mri {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-msk-mri *,
.jm-msk-mri *::before,
.jm-msk-mri *::after {
    box-sizing: border-box;
}

/* Container: consistent with About / Faculty */
.jm-msk-mri .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}


/* Section Heading with Teal Accent */
.jm-msk-mri .jm-section__head {
    margin: 0 0 36px;
}

.jm-msk-mri .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.jm-msk-mri .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-msk-mri .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}


/* Main Layout */
.jm-msk-mri .jm-msk-mri__intro {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
    width: 100%;
    margin: 0;
}

/* Image */
.jm-msk-mri .jm-msk-mri__image-wrap {
    min-width: 0;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
}

.jm-msk-mri .jm-msk-mri__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

/* Content */
.jm-msk-mri .jm-msk-mri__content {
    min-width: 0;
    max-width: 100%;
}

.jm-msk-mri .jm-msk-mri__eyebrow {
    display: inline-block;
    color: var(--jm-teal, #2f7775);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.jm-msk-mri .jm-msk-mri__content > h2 {
    margin: 6px 0 18px;
    color: var(--jm-teal-dark, #174c4e);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
}

.jm-msk-mri .jm-msk-mri__content > p {
    margin: 0 0 16px;
    color: var(--jm-muted, #66777a);
    font-size: .98rem;
    font-weight: 400;
    line-height: 1.85;
    text-align: left;
}

/* Course Objective */
.jm-msk-mri .jm-msk-mri__objective {
    margin-top: 26px;
    padding: 24px;
    border-left: 4px solid var(--jm-teal, #2f7775);
    border-radius: 0 var(--jm-radius, 18px) var(--jm-radius, 18px) 0;
    background: #f1f7f5;
}

.jm-msk-mri .jm-msk-mri__objective h3 {
    margin: 6px 0 12px;
    color: var(--jm-teal-dark, #174c4e);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
}

.jm-msk-mri .jm-msk-mri__objective p {
    margin: 0;
    color: var(--jm-muted, #66777a);
    font-size: .96rem;
    line-height: 1.8;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-msk-mri .jm-msk-mri__intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .jm-msk-mri .jm-msk-mri__image-wrap {
        width: 100%;
        max-width: 680px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .jm-msk-mri {
        padding-block: 48px 60px;
    }

    .jm-msk-mri .container {
        width: calc(100% - 32px);
    }
}

@media (max-width: 575px) {
    .jm-msk-mri .jm-msk-mri__content > p {
        font-size: .94rem;
        line-height: 1.8;
    }

    .jm-msk-mri .jm-msk-mri__objective {
        padding: 18px;
        margin-top: 22px;
    }

    .jm-msk-mri .jm-msk-mri__objective p {
        font-size: .92rem;
    }
}


/* =========================================
   MSK MRI - UPCOMING EVENT
   Layout aligned with About / Faculty
========================================= */

.jm-msk-mri-upcoming {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-msk-mri-upcoming *,
.jm-msk-mri-upcoming *::before,
.jm-msk-mri-upcoming *::after {
    box-sizing: border-box;
}

/* Container */
.jm-msk-mri-upcoming .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section Heading */
.jm-msk-mri-upcoming .jm-section__head {
    margin: 0 0 36px;
}

.jm-msk-mri-upcoming .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

/* Teal Accent: consistent with other pages */
.jm-msk-mri-upcoming .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-msk-mri-upcoming .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Event List */
.jm-msk-mri-upcoming .jm-msk-mri-upcoming__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    margin: 0;
}

.jm-msk-mri-upcoming .jm-msk-mri-upcoming__item {
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* Event Image */
.jm-msk-mri-upcoming .jm-msk-mri-upcoming__image-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
}

.jm-msk-mri-upcoming .jm-msk-mri-upcoming__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

/* Event Actions */
.jm-msk-mri-upcoming .jm-msk-mri-upcoming__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

.jm-msk-mri-upcoming .jm-msk-mri-upcoming__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.jm-msk-mri-upcoming .jm-msk-mri-upcoming__button:hover {
    transform: translateY(-2px);
}

/* Primary Button */
.jm-msk-mri-upcoming .jm-msk-mri-upcoming__button--primary {
    background: var(--jm-teal, #2f7775);
    border-color: var(--jm-teal, #2f7775);
    color: #fff;
}

.jm-msk-mri-upcoming .jm-msk-mri-upcoming__button--primary:hover {
    background: var(--jm-teal-dark, #174c4e);
    border-color: var(--jm-teal-dark, #174c4e);
    color: #fff;
}

/* Secondary Button */
.jm-msk-mri-upcoming .jm-msk-mri-upcoming__button--secondary {
    background: #fff;
    border-color: var(--jm-line, #e4e8e4);
    color: var(--jm-teal-dark, #174c4e);
}

.jm-msk-mri-upcoming .jm-msk-mri-upcoming__button--secondary:hover {
    background: var(--jm-paper, #fbfaf7);
    border-color: var(--jm-teal, #2f7775);
    color: var(--jm-teal-dark, #174c4e);
}

/* Keyboard Accessibility */
.jm-msk-mri-upcoming .jm-msk-mri-upcoming__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, .35);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 760px) {
    .jm-msk-mri-upcoming {
        padding-block: 48px 60px;
    }

    .jm-msk-mri-upcoming .container {
        width: calc(100% - 32px);
    }

    .jm-msk-mri-upcoming .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-msk-mri-upcoming .jm-msk-mri-upcoming__list {
        gap: 24px;
    }

    .jm-msk-mri-upcoming .jm-msk-mri-upcoming__actions {
        gap: 10px;
        margin-top: 16px;
    }

    .jm-msk-mri-upcoming .jm-msk-mri-upcoming__button {
        flex: 1 1 100%;
        width: 100%;
    }
}


/* =========================================
   MSK MRI - PAST EVENTS
   Layout aligned with About / Faculty
========================================= */

.jm-msk-mri-past {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-msk-mri-past *,
.jm-msk-mri-past *::before,
.jm-msk-mri-past *::after {
    box-sizing: border-box;
}

/* Container */
.jm-msk-mri-past .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section Heading */
.jm-msk-mri-past .jm-section__head {
    margin: 0 0 36px;
}

.jm-msk-mri-past .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

/* Teal Accent */
.jm-msk-mri-past .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-msk-mri-past .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Past Events Grid */
.jm-msk-mri-past .jm-msk-mri-past__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
    width: 100%;
    margin: 0;
}

/* Event Card */
.jm-msk-mri-past .jm-msk-mri-past__card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, .05);
    transition:
        box-shadow .25s ease,
        transform .25s ease;
}

.jm-msk-mri-past .jm-msk-mri-past__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(24, 52, 58, .1);
}

/* Event Image */
.jm-msk-mri-past .jm-msk-mri-past__image-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: var(--jm-paper, #fbfaf7);
}

.jm-msk-mri-past .jm-msk-mri-past__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-msk-mri-past .jm-msk-mri-past__grid {
        gap: 22px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .jm-msk-mri-past {
        padding-block: 48px 60px;
    }

    .jm-msk-mri-past .container {
        width: calc(100% - 32px);
    }

    .jm-msk-mri-past .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-msk-mri-past .jm-msk-mri-past__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .jm-msk-mri-past .jm-msk-mri-past__card:hover {
        transform: none;
    }
}


/* =========================================
   JAMSS - UPCOMING EVENTS
   Layout aligned with About / Faculty
========================================= */

.jm-jamss-upcoming {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-jamss-upcoming *,
.jm-jamss-upcoming *::before,
.jm-jamss-upcoming *::after {
    box-sizing: border-box;
}

/* Container */
.jm-jamss-upcoming .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section Heading */
.jm-jamss-upcoming .jm-section__head {
    margin: 0 0 36px;
}

.jm-jamss-upcoming .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

/* Teal Accent */
.jm-jamss-upcoming .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-jamss-upcoming .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Event List */
.jm-jamss-upcoming .jm-jamss-upcoming__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    margin: 0;
}

.jm-jamss-upcoming .jm-jamss-upcoming__item {
    width: 100%;
    min-width: 0;
    margin: 0;
}

/* Event Image */
.jm-jamss-upcoming .jm-jamss-upcoming__image-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
}

.jm-jamss-upcoming .jm-jamss-upcoming__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
}

/* Event Actions */
.jm-jamss-upcoming .jm-jamss-upcoming__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 22px;
}

/* Buttons */
.jm-jamss-upcoming .jm-jamss-upcoming__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.jm-jamss-upcoming .jm-jamss-upcoming__button:hover {
    transform: translateY(-2px);
}

/* Primary Button */
.jm-jamss-upcoming .jm-jamss-upcoming__button--primary {
    background: var(--jm-teal, #2f7775);
    border-color: var(--jm-teal, #2f7775);
    color: #fff;
}

.jm-jamss-upcoming .jm-jamss-upcoming__button--primary:hover {
    background: var(--jm-teal-dark, #174c4e);
    border-color: var(--jm-teal-dark, #174c4e);
    color: #fff;
}

/* Secondary Button */
.jm-jamss-upcoming .jm-jamss-upcoming__button--secondary {
    background: #fff;
    border-color: var(--jm-line, #e4e8e4);
    color: var(--jm-teal-dark, #174c4e);
}

.jm-jamss-upcoming .jm-jamss-upcoming__button--secondary:hover {
    background: var(--jm-paper, #fbfaf7);
    border-color: var(--jm-teal, #2f7775);
    color: var(--jm-teal-dark, #174c4e);
}

/* Keyboard Accessibility */
.jm-jamss-upcoming .jm-jamss-upcoming__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, .35);
    outline-offset: 3px;
}

/* Responsive */
@media (max-width: 760px) {
    .jm-jamss-upcoming {
        padding-block: 48px 60px;
    }

    .jm-jamss-upcoming .container {
        width: calc(100% - 32px);
    }

    .jm-jamss-upcoming .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-jamss-upcoming .jm-jamss-upcoming__list {
        gap: 24px;
    }

    .jm-jamss-upcoming .jm-jamss-upcoming__actions {
        gap: 10px;
        margin-top: 16px;
    }

    .jm-jamss-upcoming .jm-jamss-upcoming__button {
        flex: 1 1 100%;
        width: 100%;
    }
}


/* =========================================
   JAMSS - PAST EVENTS
   Layout aligned with About / Faculty
========================================= */

.jm-jamss-past {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-jamss-past *,
.jm-jamss-past *::before,
.jm-jamss-past *::after {
    box-sizing: border-box;
}

/* Container */
.jm-jamss-past .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section Heading */
.jm-jamss-past .jm-section__head {
    margin: 0 0 36px;
}

.jm-jamss-past .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

/* Teal Accent */
.jm-jamss-past .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-jamss-past .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Past Events Grid */
.jm-jamss-past .jm-jamss-past__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
    width: 100%;
    margin: 0;
}

/* Event Card */
.jm-jamss-past .jm-jamss-past__card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, .05);
    transition:
        box-shadow .25s ease,
        transform .25s ease;
}

.jm-jamss-past .jm-jamss-past__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(24, 52, 58, .1);
}

/* Event Image */
.jm-jamss-past .jm-jamss-past__image-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: var(--jm-paper, #fbfaf7);
}

.jm-jamss-past .jm-jamss-past__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-jamss-past .jm-jamss-past__grid {
        gap: 22px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .jm-jamss-past {
        padding-block: 48px 60px;
    }

    .jm-jamss-past .container {
        width: calc(100% - 32px);
    }

    .jm-jamss-past .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-jamss-past .jm-jamss-past__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .jm-jamss-past .jm-jamss-past__card:hover {
        transform: none;
    }
}


/* =========================================
   R3D - UPCOMING EVENTS
   Layout aligned with About / Faculty
========================================= */

.jm-r3d-upcoming {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-r3d-upcoming *,
.jm-r3d-upcoming *::before,
.jm-r3d-upcoming *::after {
    box-sizing: border-box;
}

/* Container */
.jm-r3d-upcoming .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section Heading */
.jm-r3d-upcoming .jm-section__head {
    margin: 0 0 36px;
}

.jm-r3d-upcoming .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

/* Teal Accent */
.jm-r3d-upcoming .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-r3d-upcoming .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Main Event Card */
.jm-r3d-upcoming .jm-r3d-upcoming__card {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 0;
    align-items: stretch;
    width: 100%;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, .05);
    transition: box-shadow .25s ease, transform .25s ease;
}

.jm-r3d-upcoming .jm-r3d-upcoming__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(24, 52, 58, .09);
}

/* Event Image */
.jm-r3d-upcoming .jm-r3d-upcoming__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 24px;
    border-right: 1px solid var(--jm-line, #e4e8e4);
    background: var(--jm-paper, #fbfaf7);
}

.jm-r3d-upcoming .jm-r3d-upcoming__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 620px;
    object-fit: contain;
    border-radius: 10px;
}

/* Event Content */
.jm-r3d-upcoming .jm-r3d-upcoming__content {
    min-width: 0;
    padding: 36px;
}

.jm-r3d-upcoming .jm-r3d-upcoming__eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--jm-teal, #2f7775);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.jm-r3d-upcoming .jm-r3d-upcoming__content h2 {
    margin: 0 0 20px;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.025em;
}

/* Event Description */
.jm-r3d-upcoming .jm-r3d-upcoming__description {
    margin: 0 0 24px;
    color: var(--jm-muted, #66777a);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.85;
    text-align: left;
}

/* Event Details */
.jm-r3d-upcoming .jm-r3d-upcoming__details {
    display: grid;
    gap: 0;
    margin: 0 0 26px;
    border-top: 1px solid var(--jm-line, #e4e8e4);
}

.jm-r3d-upcoming .jm-r3d-upcoming__detail {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--jm-line, #e4e8e4);
    color: var(--jm-muted, #66777a);
    font-size: .95rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.jm-r3d-upcoming .jm-r3d-upcoming__detail-label {
    color: var(--jm-teal-dark, #174c4e);
    font-weight: 700;
}

/* Action Button */
.jm-r3d-upcoming .jm-r3d-upcoming__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.jm-r3d-upcoming .jm-r3d-upcoming__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid var(--jm-teal, #2f7775);
    border-radius: 10px;
    background: var(--jm-teal, #2f7775);
    color: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.jm-r3d-upcoming .jm-r3d-upcoming__button:hover {
    transform: translateY(-2px);
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    text-decoration: none;
}

.jm-r3d-upcoming .jm-r3d-upcoming__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, .25);
    outline-offset: 3px;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-r3d-upcoming .jm-r3d-upcoming__card {
        grid-template-columns: minmax(0, 1fr);
    }

    .jm-r3d-upcoming .jm-r3d-upcoming__image-wrap {
        width: 100%;
        padding: 24px;
        border-right: 0;
        border-bottom: 1px solid var(--jm-line, #e4e8e4);
    }

    .jm-r3d-upcoming .jm-r3d-upcoming__image {
        max-height: 560px;
    }

    .jm-r3d-upcoming .jm-r3d-upcoming__content {
        padding: 30px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .jm-r3d-upcoming {
        padding-block: 48px 60px;
    }

    .jm-r3d-upcoming .container {
        width: calc(100% - 32px);
    }

    .jm-r3d-upcoming .jm-section__head {
        margin-bottom: 26px;
    }
}

@media (max-width: 575px) {
    .jm-r3d-upcoming .jm-r3d-upcoming__image-wrap {
        padding: 16px;
    }

    .jm-r3d-upcoming .jm-r3d-upcoming__content {
        padding: 22px 20px;
    }

    .jm-r3d-upcoming .jm-r3d-upcoming__content h2 {
        margin-bottom: 16px;
        font-size: 1.4rem;
    }

    .jm-r3d-upcoming .jm-r3d-upcoming__description {
        margin-bottom: 20px;
        font-size: .94rem;
        line-height: 1.8;
    }

    .jm-r3d-upcoming .jm-r3d-upcoming__detail {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0;
        font-size: .88rem;
    }

    .jm-r3d-upcoming .jm-r3d-upcoming__button {
        width: 100%;
    }

    .jm-r3d-upcoming .jm-r3d-upcoming__card:hover {
        transform: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .jm-r3d-upcoming .jm-r3d-upcoming__card,
    .jm-r3d-upcoming .jm-r3d-upcoming__button {
        transition: none;
    }
}


/* =========================================
   R3D - PAST EVENTS
   Layout aligned with About / Faculty
========================================= */

.jm-r3d-past {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-r3d-past *,
.jm-r3d-past *::before,
.jm-r3d-past *::after {
    box-sizing: border-box;
}

/* Container */
.jm-r3d-past .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section Heading */
.jm-r3d-past .jm-section__head {
    margin: 0 0 36px;
}

.jm-r3d-past .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.04em;
}

/* Teal Accent */
.jm-r3d-past .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

/* Eyebrow / Caption */
.jm-r3d-past .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Past Events Grid */
.jm-r3d-past .jm-r3d-past__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
    width: 100%;
    margin: 0;
}

/* Event Card */
.jm-r3d-past .jm-r3d-past__card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, .05);
    transition:
        box-shadow .25s ease,
        transform .25s ease;
}

.jm-r3d-past .jm-r3d-past__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(24, 52, 58, .1);
}

/* Event Image */
.jm-r3d-past .jm-r3d-past__image-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: var(--jm-paper, #fbfaf7);
}

.jm-r3d-past .jm-r3d-past__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-r3d-past .jm-r3d-past__grid {
        gap: 22px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .jm-r3d-past {
        padding-block: 48px 60px;
    }

    .jm-r3d-past .container {
        width: calc(100% - 32px);
    }

    .jm-r3d-past .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-r3d-past .jm-r3d-past__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .jm-r3d-past .jm-r3d-past__card:hover {
        transform: none;
    }
}


/* =========================================
   STUDIUM GENERALE - UPCOMING EVENTS
   Aligned with About / Faculty
   ========================================= */

.jm-studium-upcoming {
  color: var(--jm-ink, #18343a);
  background: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
  padding-block: 72px 86px;
  box-sizing: border-box;
}

.jm-studium-upcoming *,
.jm-studium-upcoming *::before,
.jm-studium-upcoming *::after {
  box-sizing: border-box;
}

/* Container: samakan dengan About / Faculty */
.jm-studium-upcoming .container {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

/* Section heading */
.jm-studium-upcoming .jm-section__head {
  margin: 0 0 36px;
}

.jm-studium-upcoming .jm-section__head h2 {
  margin: 0;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.jm-studium-upcoming .jm-section__head h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-studium-upcoming .jm-eyebrow {
  display: inline-block;
  margin-top: 8px;
  color: var(--jm-muted, #66777a);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}



/* Event card */
.jm-studium-upcoming__card {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: var(--jm-radius, 18px);
  background: #fff;
  box-shadow: 0 6px 24px rgba(24, 52, 58, 0.05);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.jm-studium-upcoming__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(24, 52, 58, 0.09);
}

.jm-studium-upcoming__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: stretch;
  min-width: 0;
}

.jm-studium-upcoming__poster {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 24px;
  background: var(--jm-paper, #fbfaf7);
  border-right: 1px solid var(--jm-line, #e4e8e4);
}

.jm-studium-upcoming__image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}

.jm-studium-upcoming__content {
  min-width: 0;
  padding: 36px;
}

.jm-studium-upcoming__eyebrow {
  margin-bottom: 10px;
  color: var(--jm-teal, #2f7775);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
}

.jm-studium-upcoming__title {
  margin: 0 0 20px;
  color: var(--jm-teal-dark, #174c4e);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.jm-studium-upcoming__description {
  margin: 0 0 24px;
  color: var(--jm-muted, #66777a);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
}

.jm-studium-upcoming__schedule {
  display: grid;
  gap: 0;
  margin: 0 0 26px;
  border-top: 1px solid var(--jm-line, #e4e8e4);
}

.jm-studium-upcoming__schedule-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--jm-line, #e4e8e4);
}

.jm-studium-upcoming__label {
  color: var(--jm-teal-dark, #174c4e);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.jm-studium-upcoming__value {
  color: var(--jm-muted, #66777a);
  font-size: 0.95rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* Action buttons */
.jm-studium-upcoming__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jm-studium-upcoming__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--jm-teal, #2f7775);
  border-radius: 10px;
  background: var(--jm-teal, #2f7775);
  color: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.jm-studium-upcoming__button:hover,
.jm-studium-upcoming__button:focus-visible {
  border-color: var(--jm-teal-dark, #174c4e);
  background: var(--jm-teal-dark, #174c4e);
  color: #fff;
  text-decoration: none;
}

.jm-studium-upcoming__button:focus-visible {
  outline: 3px solid rgba(47, 119, 117, 0.25);
  outline-offset: 3px;
}

.jm-studium-upcoming__button i {
  font-size: 1.1rem;
  line-height: 1;
}

/* Empty state */
.jm-studium-upcoming__empty {
  padding: 28px;
  border: 1px dashed var(--jm-line, #e4e8e4);
  border-radius: var(--jm-radius, 18px);
  background: var(--jm-paper, #fbfaf7);
  color: var(--jm-muted, #66777a);
  text-align: center;
}

.jm-studium-upcoming__empty p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Tablet */
@media (max-width: 991px) {
  .jm-studium-upcoming__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .jm-studium-upcoming__poster {
    padding: 24px;
    border-right: 0;
    border-bottom: 1px solid var(--jm-line, #e4e8e4);
  }

  .jm-studium-upcoming__image {
    max-height: 560px;
  }

  .jm-studium-upcoming__content {
    padding: 30px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .jm-studium-upcoming {
    padding-block: 48px 60px;
  }

  .jm-studium-upcoming .container {
    width: calc(100% - 32px);
  }

  .jm-studium-upcoming .jm-section__head {
    margin-bottom: 26px;
  }

  .jm-studium-upcoming__poster {
    padding: 16px;
  }

  .jm-studium-upcoming__content {
    padding: 22px 20px;
  }

  .jm-studium-upcoming__title {
    margin-bottom: 16px;
    font-size: 1.4rem;
  }

  .jm-studium-upcoming__description {
    margin-bottom: 20px;
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .jm-studium-upcoming__schedule-item {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 10px;
    padding: 12px 0;
  }

  .jm-studium-upcoming__label,
  .jm-studium-upcoming__value {
    font-size: 0.88rem;
  }

  .jm-studium-upcoming__button {
    width: 100%;
  }

  .jm-studium-upcoming__card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jm-studium-upcoming__card,
  .jm-studium-upcoming__button {
    transition: none;
  }
}


/* =========================================
   STUDIUM GENERALE - PAST EVENTS
   Aligned with About / Faculty
   ========================================= */

.jm-studium-past {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-studium-past *,
.jm-studium-past *::before,
.jm-studium-past *::after {
    box-sizing: border-box;
}

/* Container: consistent with About / Faculty */
.jm-studium-past .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section heading */
.jm-studium-past .jm-section__head {
    margin: 0 0 36px;
}

.jm-studium-past .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.jm-studium-past .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-studium-past .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Poster grid */
.jm-studium-past__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
    width: 100%;
    margin: 0;
}

/* Poster card */
.jm-studium-past__card {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, 0.05);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.jm-studium-past__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(24, 52, 58, 0.1);
}

/* Poster image */
.jm-studium-past__image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    background: var(--jm-paper, #fbfaf7);
}

.jm-studium-past__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

/* Empty state */
.jm-studium-past__empty {
    padding: 28px;
    border: 1px dashed var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
    color: var(--jm-muted, #66777a);
    text-align: center;
}

.jm-studium-past__empty p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-studium-past__grid {
        gap: 22px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .jm-studium-past {
        padding-block: 48px 60px;
    }

    .jm-studium-past .container {
        width: calc(100% - 32px);
    }

    .jm-studium-past .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-studium-past__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .jm-studium-past__card:hover {
        transform: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .jm-studium-past__card {
        transition: none;
    }
}


/* =========================================
   MEMBER ACCESS - JAKMUS FC
========================================= */

.jm-member-access {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-member-access,
.jm-member-access * {
    box-sizing: border-box;
}

/* Member Notice Card */

.jm-member-access__card {
    max-width: 760px;
    margin: 0 auto;
    padding: 44px 36px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, 0.05);
    text-align: center;
}

/* Icon */

.jm-member-access__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 22px;
    border: 1px solid rgba(47, 119, 117, 0.16);
    border-radius: 50%;
    background: var(--jm-paper, #fbfaf7);
    color: var(--jm-teal, #2f7775);
}

.jm-member-access__icon i {
    font-size: 1.8rem;
    line-height: 1;
}

/* Heading */

.jm-member-access__title {
    margin: 0 0 14px;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

/* Description */

.jm-member-access__description {
    max-width: 560px;
    margin: 0 auto 28px;
    color: var(--jm-muted, #66777a);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.85;
}

/* Registration Button */

.jm-member-access__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.jm-member-access__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--jm-teal, #2f7775);
    border-radius: 10px;
    background: var(--jm-teal, #2f7775);
    color: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.jm-member-access__button:hover {
    transform: translateY(-2px);
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    text-decoration: none;
}

.jm-member-access__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, 0.25);
    outline-offset: 3px;
}

.jm-member-access__button i {
    font-size: 1rem;
    line-height: 1;
}

/* Mobile */

@media (max-width: 575px) {
    .jm-member-access {
        padding-bottom: 32px;
    }

    .jm-member-access__card {
        padding: 32px 22px;
    }

    .jm-member-access__icon {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }

    .jm-member-access__title {
        font-size: 1.45rem;
    }

    .jm-member-access__description {
        margin-bottom: 24px;
        font-size: 0.94rem;
        line-height: 1.8;
    }

    .jm-member-access__button {
        width: 100%;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .jm-member-access__button {
        transition: none;
    }
}



/* =========================================
   ANNUAL MEMBERSHIP
   Aligned with About / Faculty
   Preserve Original Poster Proportions
   ========================================= */

.jm-annual-membership {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-annual-membership *,
.jm-annual-membership *::before,
.jm-annual-membership *::after {
    box-sizing: border-box;
}

/* Container: consistent with About / Faculty */
.jm-annual-membership .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section heading */
.jm-annual-membership .jm-section__head {
    margin: 0 0 36px;
}

.jm-annual-membership .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.jm-annual-membership .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-annual-membership .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Poster grid */
.jm-annual-membership__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: start;
    width: 100%;
    margin: 0;
}

.jm-annual-membership__featured,
.jm-annual-membership__gallery {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* Preserve original poster proportions */
.jm-annual-membership__image-wrap,
.jm-annual-membership__swiper .jm-annual-membership__image-wrap {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Do not crop or stretch images */
.jm-annual-membership__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: top center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

/* Swiper */
.jm-annual-membership__swiper {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0 0 28px;
    background: transparent;
}

.jm-annual-membership__swiper .swiper-wrapper {
    align-items: flex-start;
}

.jm-annual-membership__swiper .swiper-slide {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

.jm-annual-membership__swiper .jm-annual-membership__image-wrap {
    width: 100%;
    height: auto;
}

/* Registration CTA */
.jm-annual-membership__cta {
    margin-top: 36px;
    padding: 32px 24px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fff);
    text-align: center;
}

.jm-annual-membership__cta-title {
    margin: 0 0 10px;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.025em;
}

.jm-annual-membership__cta-description {
    max-width: 560px;
    margin: 0 auto 22px;
    color: var(--jm-muted, #66777a);
    font-size: 1rem;
    line-height: 1.8;
}

/* Registration button */
.jm-annual-membership__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--jm-teal, #2f7775);
    border-radius: 10px;
    background: var(--jm-teal, #2f7775);
    color: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.jm-annual-membership__button:hover {
    transform: translateY(-2px);
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    text-decoration: none;
}

.jm-annual-membership__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, 0.25);
    outline-offset: 3px;
}

.jm-annual-membership__button i {
    font-size: 1rem;
    line-height: 1;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-annual-membership__grid {
        gap: 22px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .jm-annual-membership {
        padding-block: 48px 60px;
    }

    .jm-annual-membership .container {
        width: calc(100% - 32px);
    }

    .jm-annual-membership .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-annual-membership__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .jm-annual-membership__cta {
        margin-top: 26px;
        padding: 26px 20px;
    }

    .jm-annual-membership__cta-title {
        font-size: 1.45rem;
    }

    .jm-annual-membership__cta-description {
        font-size: 0.94rem;
        line-height: 1.8;
    }

    .jm-annual-membership__button {
        width: 100%;
    }
}

/* Hide Annual Membership pagination */
.jm-annual-membership__pagination {
    display: none !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .jm-annual-membership__button,
    .jm-annual-membership__pagination .swiper-pagination-bullet {
        transition: none;
    }
}



/* =========================================
   MEMBER DASHBOARD - JAKMUS FC
   Aligned with About / Faculty
   ========================================= */

.jm-member-dashboard {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-member-dashboard *,
.jm-member-dashboard *::before,
.jm-member-dashboard *::after {
    box-sizing: border-box;
}

/* Container: consistent with About / Faculty */
.jm-member-dashboard .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Welcome */
.jm-member-dashboard__welcome {
    width: 100%;
    max-width: 780px;
    margin: 0 auto 44px;
    text-align: center;
}

.jm-member-dashboard__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.jm-member-dashboard__logo {
    display: block;
    width: 120px;
    max-width: 35%;
    height: auto;
    object-fit: contain;
}

.jm-member-dashboard__eyebrow {
    margin: 0 0 10px;
    color: var(--jm-teal, #2f7775);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.5;
    text-transform: uppercase;
}

.jm-member-dashboard__title {
    margin: 0 0 14px;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
}

.jm-member-dashboard__title span {
    color: var(--jm-teal, #2f7775);
}

.jm-member-dashboard__description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--jm-muted, #66777a);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.85;
}

/* Dashboard section */
.jm-member-dashboard__section {
    margin-top: 0;
}

.jm-member-dashboard__section-heading {
    margin: 0 0 26px;
}

.jm-member-dashboard__section-heading h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.jm-member-dashboard__section-heading h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-member-dashboard__section-heading p {
    margin: 8px 0 0;
    color: var(--jm-muted, #66777a);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Resource grid */
.jm-member-dashboard__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    margin: 0;
}

/* Resource card */
.jm-member-dashboard__card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    min-height: 112px;
    padding: 22px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, 0.04);
    color: var(--jm-ink, #18343a);
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jm-member-dashboard__card:hover {
    transform: translateY(-3px);
    border-color: rgba(47, 119, 117, 0.45);
    box-shadow: 0 12px 28px rgba(24, 52, 58, 0.08);
    color: var(--jm-ink, #18343a);
    text-decoration: none;
}

.jm-member-dashboard__card:focus-visible {
    outline: 3px solid rgba(47, 119, 117, 0.3);
    outline-offset: 3px;
}

/* Card icon */
.jm-member-dashboard__card-icon {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--jm-paper, #fbfaf7);
    color: var(--jm-teal, #2f7775);
}

.jm-member-dashboard__card-icon i {
    font-size: 1.35rem;
    line-height: 1;
}

/* Card text */
.jm-member-dashboard__card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.jm-member-dashboard__card-title {
    color: var(--jm-teal-dark, #174c4e);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
}

.jm-member-dashboard__card-description {
    color: var(--jm-muted, #66777a);
    font-size: 0.88rem;
    line-height: 1.65;
}

.jm-member-dashboard__arrow {
    flex: 0 0 auto;
    margin-left: auto;
    color: var(--jm-teal, #2f7775);
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}

.jm-member-dashboard__card:hover .jm-member-dashboard__arrow {
    transform: translate(2px, -2px);
}

/* Tablet */
@media (max-width: 767px) {
    .jm-member-dashboard__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .jm-member-dashboard__welcome {
        margin-bottom: 34px;
    }

    .jm-member-dashboard__card {
        min-height: 96px;
        padding: 18px;
    }
}

/* Mobile: match About / Faculty spacing */
@media (max-width: 760px) {
    .jm-member-dashboard {
        padding-block: 48px 60px;
    }

    .jm-member-dashboard .container {
        width: calc(100% - 32px);
    }

    .jm-member-dashboard__section-heading {
        margin-bottom: 22px;
    }
}

@media (max-width: 575px) {
    .jm-member-dashboard__logo {
        width: 96px;
    }

    .jm-member-dashboard__title {
        font-size: 1.75rem;
    }

    .jm-member-dashboard__description {
        font-size: 0.94rem;
        line-height: 1.8;
    }

    .jm-member-dashboard__card {
        gap: 13px;
        padding: 16px;
        border-radius: 14px;
    }

    .jm-member-dashboard__card-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }

    .jm-member-dashboard__card-title {
        font-size: 0.95rem;
    }

    .jm-member-dashboard__card-description {
        font-size: 0.84rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .jm-member-dashboard__card,
    .jm-member-dashboard__arrow {
        transition: none;
    }
}


/* =========================================
   DIGITAL LIBRARY - R3D
   Aligned with About / Faculty
   ========================================= */

.jm-library-r3d {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-library-r3d *,
.jm-library-r3d *::before,
.jm-library-r3d *::after {
    box-sizing: border-box;
}

/* Container: consistent with About / Faculty */
.jm-library-r3d .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section heading */
.jm-library-r3d .jm-section__head {
    margin: 0 0 36px;
}

.jm-library-r3d .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.jm-library-r3d .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-library-r3d .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Resource list */
.jm-library-r3d__list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    margin: 0;
}

/* Resource item */
.jm-library-r3d__item {
    display: grid;
    grid-template-columns:
        minmax(110px, 0.7fr)
        minmax(0, 3fr)
        minmax(145px, 1fr);
    align-items: center;
    gap: 26px;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, 0.04);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jm-library-r3d__item:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 119, 117, 0.35);
    box-shadow: 0 10px 28px rgba(24, 52, 58, 0.07);
}

/* Cover image */
.jm-library-r3d__cover {
    width: 100%;
    min-width: 0;
}

.jm-library-r3d__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: 12px;
    background: var(--jm-paper, #fbfaf7);
}

.jm-library-r3d__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.jm-library-r3d__image-link:hover .jm-library-r3d__image {
    transform: scale(1.025);
}

/* Resource content */
.jm-library-r3d__content {
    min-width: 0;
}

.jm-library-r3d__title {
    margin: 0 0 14px;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.jm-library-r3d__description {
    color: var(--jm-muted, #66777a);
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.85;
    overflow-wrap: anywhere;
    text-align: justify;
}

.jm-library-r3d__description p {
    margin: 0 0 12px;
}

.jm-library-r3d__description p:last-child {
    margin-bottom: 0;
}

.jm-library-r3d__description b {
    color: var(--jm-ink, #18343a);
    font-weight: 700;
}

.jm-library-r3d__instruction {
    margin: 18px 0 0;
    color: var(--jm-muted, #66777a);
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.7;
}

/* Video action */
.jm-library-r3d__action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.jm-library-r3d__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border: 1px solid var(--jm-teal, #2f7775);
    border-radius: 10px;
    background: var(--jm-teal, #2f7775);
    color: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.jm-library-r3d__button:hover {
    transform: translateY(-2px);
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    text-decoration: none;
}

.jm-library-r3d__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, 0.25);
    outline-offset: 3px;
}

.jm-library-r3d__button i {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
}

.jm-library-r3d__unavailable {
    color: var(--jm-muted, #66777a);
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

/* Empty state */
.jm-library-r3d__empty {
    padding: 32px 24px;
    border: 1px dashed var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
    color: var(--jm-muted, #66777a);
    text-align: center;
}

.jm-library-r3d__empty i {
    display: block;
    margin-bottom: 12px;
    color: var(--jm-teal, #2f7775);
    font-size: 2rem;
}

.jm-library-r3d__empty p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-library-r3d__item {
        grid-template-columns:
            minmax(100px, 0.8fr)
            minmax(0, 2fr);
        gap: 22px;
        padding: 22px;
    }

    .jm-library-r3d__action {
        grid-column: 2;
        justify-content: flex-start;
    }

    .jm-library-r3d__button {
        width: auto;
        min-width: 160px;
    }
}

/* Mobile */
@media (max-width: 760px) {
    .jm-library-r3d {
        padding-block: 48px 60px;
    }

    .jm-library-r3d .container {
        width: calc(100% - 32px);
    }

    .jm-library-r3d .jm-section__head {
        margin-bottom: 26px;
    }
}

@media (max-width: 575px) {
    .jm-library-r3d__list {
        gap: 18px;
    }

    .jm-library-r3d__item {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 18px;
        border-radius: 14px;
    }

    .jm-library-r3d__cover {
        max-width: 220px;
        margin: 0 auto;
    }

    .jm-library-r3d__title {
        margin-bottom: 10px;
        font-size: 1.15rem;
    }

    .jm-library-r3d__description {
        font-size: 0.93rem;
        line-height: 1.8;
    }

    .jm-library-r3d__instruction {
        margin-top: 14px;
        font-size: 0.85rem;
    }

    .jm-library-r3d__action {
        grid-column: auto;
    }

    .jm-library-r3d__button {
        width: 100%;
    }

    .jm-library-r3d__item:hover {
        transform: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .jm-library-r3d__item,
    .jm-library-r3d__button,
    .jm-library-r3d__image {
        transition: none;
    }
}


/* =========================================
   DIGITAL LIBRARY - STUDIUM GENERALE
   Aligned with About / Faculty
   ========================================= */

.jm-library-sg {
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    padding-block: 72px 86px;
    box-sizing: border-box;
}

.jm-library-sg *,
.jm-library-sg *::before,
.jm-library-sg *::after {
    box-sizing: border-box;
}

/* Container: consistent with About / Faculty */
.jm-library-sg .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section heading */
.jm-library-sg .jm-section__head {
    margin: 0 0 36px;
}

.jm-library-sg .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.jm-library-sg .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-library-sg .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Resource list */
.jm-library-sg__list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    margin: 0;
}

/* Resource item */
.jm-library-sg__item {
    display: grid;
    grid-template-columns:
        minmax(110px, 0.7fr)
        minmax(0, 3fr)
        minmax(145px, 1fr);
    align-items: center;
    gap: 26px;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    box-shadow: 0 6px 24px rgba(24, 52, 58, 0.04);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jm-library-sg__item:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 119, 117, 0.35);
    box-shadow: 0 10px 28px rgba(24, 52, 58, 0.07);
}

/* Cover image */
.jm-library-sg__cover {
    width: 100%;
    min-width: 0;
}

.jm-library-sg__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: 12px;
    background: var(--jm-paper, #fbfaf7);
}

.jm-library-sg__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.jm-library-sg__image-link:hover .jm-library-sg__image {
    transform: scale(1.025);
}

/* Resource content */
.jm-library-sg__content {
    min-width: 0;
}

.jm-library-sg__title {
    margin: 0 0 14px;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(1.15rem, 1.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.jm-library-sg__description {
    color: var(--jm-muted, #66777a);
    font-size: 0.96rem;
    font-weight: 400;
    line-height: 1.85;
    overflow-wrap: anywhere;
    text-align: justify;
}

.jm-library-sg__description p {
    margin: 0 0 12px;
}

.jm-library-sg__description p:last-child {
    margin-bottom: 0;
}

.jm-library-sg__description b {
    color: var(--jm-ink, #18343a);
    font-weight: 700;
}

.jm-library-sg__instruction {
    margin: 18px 0 0;
    color: var(--jm-muted, #66777a);
    font-size: 0.88rem;
    font-style: italic;
    line-height: 1.7;
}

/* Video action */
.jm-library-sg__action {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.jm-library-sg__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 46px;
    padding: 12px 16px;
    border: 1px solid var(--jm-teal, #2f7775);
    border-radius: 10px;
    background: var(--jm-teal, #2f7775);
    color: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.jm-library-sg__button:hover {
    transform: translateY(-2px);
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    text-decoration: none;
}

.jm-library-sg__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, 0.25);
    outline-offset: 3px;
}

.jm-library-sg__button i {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
}

.jm-library-sg__unavailable {
    color: var(--jm-muted, #66777a);
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}

/* Empty state */
.jm-library-sg__empty {
    padding: 32px 24px;
    border: 1px dashed var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
    color: var(--jm-muted, #66777a);
    text-align: center;
}

.jm-library-sg__empty i {
    display: block;
    margin-bottom: 12px;
    color: var(--jm-teal, #2f7775);
    font-size: 2rem;
}

.jm-library-sg__empty p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-library-sg__item {
        grid-template-columns:
            minmax(100px, 0.8fr)
            minmax(0, 2fr);
        gap: 22px;
        padding: 22px;
    }

    .jm-library-sg__action {
        grid-column: 2;
        justify-content: flex-start;
    }

    .jm-library-sg__button {
        width: auto;
        min-width: 160px;
    }
}

/* Mobile: match About / Faculty spacing */
@media (max-width: 760px) {
    .jm-library-sg {
        padding-block: 48px 60px;
    }

    .jm-library-sg .container {
        width: calc(100% - 32px);
    }

    .jm-library-sg .jm-section__head {
        margin-bottom: 26px;
    }
}

@media (max-width: 575px) {
    .jm-library-sg__list {
        gap: 18px;
    }

    .jm-library-sg__item {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 18px;
        border-radius: 14px;
    }

    .jm-library-sg__cover {
        max-width: 220px;
        margin: 0 auto;
    }

    .jm-library-sg__title {
        margin-bottom: 10px;
        font-size: 1.15rem;
    }

    .jm-library-sg__description {
        font-size: 0.93rem;
        line-height: 1.8;
    }

    .jm-library-sg__instruction {
        margin-top: 14px;
        font-size: 0.85rem;
    }

    .jm-library-sg__action {
        grid-column: auto;
    }

    .jm-library-sg__button {
        width: 100%;
    }

    .jm-library-sg__item:hover {
        transform: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .jm-library-sg__item,
    .jm-library-sg__button,
    .jm-library-sg__image {
        transition: none;
    }
}



/* =========================================================
   PEER LEARNING — JAKMUS FC
   Aligned with About / Faculty
   Append to assets/site/css/homepage.css
   ========================================================= */

.jm-peer-learning {
    padding-block: 72px 86px;
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    box-sizing: border-box;
}

.jm-peer-learning *,
.jm-peer-learning *::before,
.jm-peer-learning *::after {
    box-sizing: border-box;
}

/* Container: match About / Faculty */
.jm-peer-learning .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section heading */
.jm-peer-learning .jm-section__head {
    margin: 0 0 36px;
}

.jm-peer-learning .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.jm-peer-learning .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-peer-learning .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Main card layout */
.jm-peer-learning__card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.jm-peer-learning__visual {
    min-width: 0;
    overflow: hidden;
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
}

.jm-peer-learning__image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--jm-radius, 18px);
}

.jm-peer-learning__image-placeholder {
    display: flex;
    min-height: 280px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--jm-muted, #66777a);
}

.jm-peer-learning__image-placeholder i {
    color: var(--jm-teal, #2f7775);
    font-size: 42px;
}

.jm-peer-learning__content {
    min-width: 0;
}

/* Content eyebrow */
.jm-peer-learning__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--jm-teal, #2f7775);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

/* Main content heading */
.jm-peer-learning__heading {
    margin: 0 0 18px;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.jm-peer-learning__heading span {
    color: var(--jm-teal, #2f7775);
}

.jm-peer-learning__description {
    margin: 0 0 14px;
    color: var(--jm-muted, #66777a);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    text-align: left;
}

/* Schedule */
.jm-peer-learning__schedule {
    display: grid;
    gap: 0;
    margin: 24px 0;
    border-top: 1px solid var(--jm-line, #e4e8e4);
}

.jm-peer-learning__schedule-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid var(--jm-line, #e4e8e4);
}

.jm-peer-learning__schedule-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(47, 119, 117, 0.10);
    color: var(--jm-teal, #2f7775);
    font-size: 19px;
}

.jm-peer-learning__label {
    display: block;
    margin-bottom: 3px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.jm-peer-learning__schedule-item p {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
}

/* Upload panel */
.jm-peer-learning__upload {
    padding: 22px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
}

.jm-peer-learning__upload h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.jm-peer-learning__upload h3 i {
    color: var(--jm-teal, #2f7775);
    font-size: 21px;
}

.jm-peer-learning__upload > p {
    margin: 0 0 18px;
    color: var(--jm-muted, #66777a);
    font-size: 14px;
    line-height: 1.75;
}

/* Button */
.jm-peer-learning__button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid var(--jm-teal, #2f7775);
    border-radius: 10px;
    background: var(--jm-teal, #2f7775);
    color: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.jm-peer-learning__button:hover {
    transform: translateY(-2px);
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    text-decoration: none;
}

.jm-peer-learning__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, 0.3);
    outline-offset: 3px;
}

/* Empty state */
.jm-peer-learning__empty {
    padding: 48px 20px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    color: var(--jm-muted, #66777a);
    text-align: center;
}

.jm-peer-learning__empty i {
    color: var(--jm-teal, #2f7775);
    font-size: 36px;
}

.jm-peer-learning__empty p {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.7;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-peer-learning__card {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
    }

    .jm-peer-learning__heading {
        font-size: 26px;
    }

    .jm-peer-learning__upload {
        padding: 18px;
    }
}

/* Mobile: match About / Faculty spacing */
@media (max-width: 760px) {
    .jm-peer-learning {
        padding-block: 48px 60px;
    }

    .jm-peer-learning .container {
        width: calc(100% - 32px);
    }

    .jm-peer-learning .jm-section__head {
        margin-bottom: 26px;
    }

    .jm-peer-learning__card {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .jm-peer-learning__heading {
        font-size: 25px;
    }

    .jm-peer-learning__description {
        font-size: 15px;
        line-height: 1.8;
    }

    .jm-peer-learning__schedule {
        margin: 20px 0;
    }

    .jm-peer-learning__schedule-item {
        gap: 12px;
        padding: 13px 0;
    }

    .jm-peer-learning__upload {
        padding: 18px;
    }

    .jm-peer-learning__button {
        width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .jm-peer-learning__button {
        transition: none;
    }

    .jm-peer-learning__button:hover {
        transform: none;
    }
}



/* =========================================================
   RECOMMENDED READING — JAKMUS FC
   Aligned with About / Faculty
   ========================================================= */

.jm-recommended-reading {
    padding-block: 72px 86px;
    color: var(--jm-ink, #18343a);
    background: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    box-sizing: border-box;
}

.jm-recommended-reading *,
.jm-recommended-reading *::before,
.jm-recommended-reading *::after {
    box-sizing: border-box;
}

/* Container: consistent with About / Faculty */
.jm-recommended-reading .container {
    width: min(1160px, calc(100% - 48px));
    max-width: none;
    margin-inline: auto;
}

/* Section heading */
.jm-recommended-reading .jm-section__head {
    margin: 0 0 36px;
}

.jm-recommended-reading .jm-section__head h2 {
    margin: 0;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

.jm-recommended-reading .jm-section__head h2 span {
    color: var(--jm-teal, #2f7775);
}

.jm-recommended-reading .jm-eyebrow {
    display: inline-block;
    margin-top: 8px;
    color: var(--jm-muted, #66777a);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.7;
}

/* Filter panel */
.jm-reading__filter {
    width: 100%;
    margin: 0 0 36px;
    padding: 26px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
}

.jm-reading__filter-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.jm-reading__filter-icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(47, 119, 117, 0.11);
    color: var(--jm-teal, #2f7775);
    font-size: 21px;
}

.jm-reading__filter-heading h2 {
    margin: 0 0 5px;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.jm-reading__filter-heading p {
    margin: 0;
    color: var(--jm-muted, #66777a);
    font-size: 14px;
    line-height: 1.6;
}

/* Filter form */
.jm-reading__form {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: end;
}

.jm-reading__field {
    min-width: 0;
}

.jm-reading__field label {
    display: block;
    margin-bottom: 8px;
    color: var(--jm-ink, #18343a);
    font-size: 13px;
    font-weight: 600;
}

.jm-reading__field .form-select {
    width: 100%;
    min-height: 46px;
    padding: 10px 36px 10px 13px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: 10px;
    background-color: #fff;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 14px;
    box-shadow: none;
}

.jm-reading__field .form-select:focus {
    border-color: var(--jm-teal, #2f7775);
    box-shadow: 0 0 0 3px rgba(47, 119, 117, 0.12);
}

.jm-reading__filter-actions {
    display: flex;
    grid-column: 1 / -1;
    align-items: center;
    gap: 12px;
    padding-top: 4px;
}

.jm-reading__search-button,
.jm-reading__read-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border: 1px solid var(--jm-teal, #2f7775);
    border-radius: 10px;
    background: var(--jm-teal, #2f7775);
    color: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.jm-reading__search-button:hover,
.jm-reading__read-button:hover {
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
}

.jm-reading__reset-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 15px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: 10px;
    background: #fff;
    color: var(--jm-muted, #66777a);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.jm-reading__reset-button:hover {
    border-color: var(--jm-teal, #2f7775);
    color: var(--jm-teal-dark, #174c4e);
}

/* Article results */
.jm-reading__results {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    margin: 0;
}

.jm-reading__card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: start;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jm-reading__card:hover {
    border-color: rgba(47, 119, 117, 0.4);
    box-shadow: 0 8px 24px rgba(24, 52, 58, 0.06);
}

.jm-reading__article-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: rgba(47, 119, 117, 0.10);
    color: var(--jm-teal, #2f7775);
    font-size: 22px;
}

.jm-reading__article-content {
    min-width: 0;
}

.jm-reading__article-title {
    margin: 0 0 12px;
    color: var(--jm-ink, #18343a);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.jm-reading__author {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 12px;
    color: var(--jm-teal-dark, #174c4e);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.7;
}

.jm-reading__author i {
    margin-top: 3px;
}

.jm-reading__description {
    margin: 0 0 14px;
    color: var(--jm-muted, #66777a);
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.jm-reading__journal {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding-top: 13px;
    border-top: 1px solid var(--jm-line, #e4e8e4);
    color: var(--jm-muted, #66777a);
    font-size: 13px;
    font-style: italic;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.jm-reading__journal i {
    margin-top: 3px;
    color: var(--jm-teal, #2f7775);
}

.jm-reading__article-action {
    align-self: center;
    padding-left: 8px;
}

/* Empty state */
.jm-reading__empty {
    padding: 48px 24px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: var(--jm-paper, #fbfaf7);
    text-align: center;
}

.jm-reading__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: rgba(47, 119, 117, 0.10);
    color: var(--jm-teal, #2f7775);
    font-size: 27px;
}

.jm-reading__empty h2 {
    margin: 0 0 10px;
    color: var(--jm-ink, #18343a);
    font-size: 21px;
    font-weight: 700;
}

.jm-reading__empty p {
    max-width: 500px;
    margin: 0 auto 20px;
    color: var(--jm-muted, #66777a);
    font-size: 14px;
    line-height: 1.8;
}

/* Tablet */
@media (max-width: 991px) {
    .jm-reading__form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jm-reading__card {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 16px;
        padding: 22px;
    }

    .jm-reading__article-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .jm-reading__article-action {
        grid-column: 2;
        padding-left: 0;
    }
}

/* Mobile: match About / Faculty spacing */
@media (max-width: 760px) {
    .jm-recommended-reading {
        padding-block: 48px 60px;
    }

    .jm-recommended-reading .container {
        width: calc(100% - 32px);
    }

    .jm-recommended-reading .jm-section__head {
        margin-bottom: 26px;
    }
}

@media (max-width: 575px) {
    .jm-reading__filter {
        padding: 20px;
        margin-bottom: 26px;
    }

    .jm-reading__filter-heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 20px;
    }

    .jm-reading__filter-heading h2 {
        font-size: 18px;
    }

    .jm-reading__form {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .jm-reading__filter-actions {
        flex-wrap: wrap;
    }

    .jm-reading__search-button,
    .jm-reading__reset-button {
        flex: 1 1 100%;
    }

    .jm-reading__card {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 20px;
    }

    .jm-reading__article-icon {
        width: 42px;
        height: 42px;
    }

    .jm-reading__article-title {
        font-size: 18px;
    }

    .jm-reading__description {
        font-size: 14px;
        line-height: 1.8;
    }

    .jm-reading__article-action {
        grid-column: 1;
    }

    .jm-reading__read-button {
        width: 100%;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .jm-reading__search-button,
    .jm-reading__read-button,
    .jm-reading__reset-button,
    .jm-reading__card {
        transition: none;
    }
}



/* =========================================================
   RESIDENT AREA — JAKMUS FC
   Shared layout: About / Faculty
   ========================================================= */

.jm-resident-area {
  color: var(--jm-ink, #18343a);
  background: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
  padding: 72px 86px;
  box-sizing: border-box;
}

.jm-resident-area *,
.jm-resident-area *::before,
.jm-resident-area *::after {
  box-sizing: border-box;
}

/* Shared container — align with About / Faculty */
.jm-resident-area .container {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

/* Section heading — consistent with other pages */
.jm-resident-area .jm-section__head {
  margin: 0 0 36px;
}

.jm-resident-area .jm-section__head h2 {
  margin: 0;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.jm-resident-area .jm-section__head h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-resident-area .jm-eyebrow {
  display: inline-block;
  margin-top: 8px;
  color: var(--jm-muted, #66777a);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

/* Intro */
.jm-resident__intro {
  max-width: 760px;
  margin: 0 0 32px;
  text-align: left;
}

.jm-resident__intro p {
  margin: 0;
  color: var(--jm-muted, #66777a);
  font-size: 16px;
  line-height: 1.8;
}

/* Navigation grid */
.jm-resident__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 920px;
  margin: 0;
}

/* Navigation cards */
.jm-resident__card {
  position: relative;
  display: flex;
  min-height: 190px;
  align-items: flex-start;
  gap: 20px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: var(--jm-radius, 18px);
  background: #fff;
  color: var(--jm-ink, #18343a);
  text-decoration: none;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.jm-resident__card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--jm-teal, #2f7775);
  content: "";
  opacity: 0;
  transition: opacity 0.22s ease;
}

.jm-resident__card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 119, 117, 0.45);
  box-shadow: 0 12px 28px rgba(24, 52, 58, 0.08);
  color: var(--jm-ink, #18343a);
}

.jm-resident__card:hover::before {
  opacity: 1;
}

.jm-resident__card:focus-visible {
  outline: 3px solid rgba(47, 119, 117, 0.3);
  outline-offset: 4px;
}

/* Folder icon */
.jm-resident__icon {
  display: flex;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(47, 119, 117, 0.10);
  color: var(--jm-teal, #2f7775);
  font-size: 30px;
  transition:
    background-color 0.22s ease,
    color 0.22s ease;
}

.jm-resident__card:hover .jm-resident__icon {
  background: var(--jm-teal, #2f7775);
  color: #fff;
}

/* Card content */
.jm-resident__content {
  flex: 1;
  min-width: 0;
  padding-top: 3px;
}

.jm-resident__content h2 {
  margin: 0 0 10px;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.jm-resident__content h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-resident__content p {
  margin: 0;
  color: var(--jm-muted, #66777a);
  font-size: 14px;
  line-height: 1.8;
}

/* Arrow indicator */
.jm-resident__arrow {
  display: flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: 50%;
  color: var(--jm-teal, #2f7775);
  font-size: 16px;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.jm-resident__card:hover .jm-resident__arrow {
  border-color: var(--jm-teal, #2f7775);
  background: var(--jm-teal, #2f7775);
  color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
  .jm-resident-area {
    padding: 56px 0 68px;
  }

  .jm-resident__grid {
    gap: 18px;
  }

  .jm-resident__card {
    min-height: 180px;
    gap: 15px;
    padding: 22px;
  }

  .jm-resident__icon {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
    font-size: 26px;
  }

  .jm-resident__content h2 {
    font-size: 18px;
  }

  .jm-resident__arrow {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .jm-resident-area {
    padding: 48px 0 60px;
  }

  .jm-resident-area .container {
    width: calc(100% - 32px);
  }

  .jm-resident-area .jm-section__head {
    margin-bottom: 26px;
  }

  .jm-resident__intro {
    max-width: none;
    margin-bottom: 24px;
  }

  .jm-resident__intro p {
    font-size: 15px;
  }

  .jm-resident__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    max-width: none;
  }

  .jm-resident__card {
    min-height: 0;
    padding: 22px;
  }

  .jm-resident__content h2 {
    font-size: 18px;
  }

  .jm-resident__content p {
    font-size: 14px;
  }
}

/* Small mobile */
@media (max-width: 400px) {
  .jm-resident__card {
    gap: 12px;
    padding: 18px;
  }

  .jm-resident__icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 23px;
  }

  .jm-resident__content h2 {
    font-size: 16px;
  }

  .jm-resident__arrow {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .jm-resident__card,
  .jm-resident__card::before,
  .jm-resident__icon,
  .jm-resident__arrow {
    transition: none;
  }

  .jm-resident__card:hover {
    transform: none;
  }
}


/* =========================================================
   RESIDENT BASIC MATERIALS — JAKMUS FC
   Shared layout: About / Faculty
   ========================================================= */

.jm-resident-basic {
  padding: 72px 86px;
  color: var(--jm-ink, #18343a);
  background: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
  box-sizing: border-box;
}

.jm-resident-basic *,
.jm-resident-basic *::before,
.jm-resident-basic *::after {
  box-sizing: border-box;
}

/* Shared container — align with About / Faculty */
.jm-resident-basic .container {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

/* Back navigation */
.jm-resident-basic__navigation {
  margin-bottom: 28px;
}

.jm-resident-basic__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: 10px;
  background: #fff;
  color: var(--jm-teal-dark, #174c4e);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.jm-resident-basic__back:hover {
  border-color: var(--jm-teal, #2f7775);
  background: var(--jm-teal, #2f7775);
  color: #fff;
}

.jm-resident-basic__back:focus-visible,
.jm-resident-basic__return:focus-visible {
  outline: 3px solid rgba(47, 119, 117, 0.3);
  outline-offset: 3px;
}

/* Shared section heading — optional */
.jm-resident-basic .jm-section__head {
  margin: 0 0 36px;
}

.jm-resident-basic .jm-section__head h2 {
  margin: 0;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.jm-resident-basic .jm-section__head h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-resident-basic .jm-eyebrow {
  display: inline-block;
  margin-top: 8px;
  color: var(--jm-muted, #66777a);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

/* Main content */
.jm-resident-basic__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: var(--jm-radius, 18px);
  background: #fff;
}

.jm-resident-basic__illustration {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--jm-paper, #fbfaf7);
}

.jm-resident-basic__image {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
}

/* Message content */
.jm-resident-basic__message {
  min-width: 0;
}

.jm-resident-basic__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--jm-teal, #2f7775);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-transform: uppercase;
}

.jm-resident-basic__eyebrow i {
  font-size: 17px;
}

.jm-resident-basic__message h2 {
  margin: 0 0 16px;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

/* Teal accent for part of the main heading */
.jm-resident-basic__message h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-resident-basic__message > p {
  margin: 0 0 24px;
  color: var(--jm-muted, #66777a);
  font-size: 15px;
  line-height: 1.85;
}

/* Return button */
.jm-resident-basic__return {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--jm-teal, #2f7775);
  border-radius: 10px;
  background: var(--jm-teal, #2f7775);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.jm-resident-basic__return:hover {
  transform: translateY(-2px);
  border-color: var(--jm-teal-dark, #174c4e);
  background: var(--jm-teal-dark, #174c4e);
  color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
  .jm-resident-basic {
    padding: 56px 0 68px;
  }

  .jm-resident-basic__content {
    gap: 26px;
    padding: 26px;
  }

  .jm-resident-basic__message h2 {
    font-size: 25px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .jm-resident-basic {
    padding: 48px 0 60px;
  }

  .jm-resident-basic .container {
    width: calc(100% - 32px);
  }

  .jm-resident-basic .jm-section__head {
    margin-bottom: 26px;
  }

  .jm-resident-basic__navigation {
    margin-bottom: 20px;
  }

  .jm-resident-basic__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 20px;
  }

  .jm-resident-basic__illustration {
    padding: 10px;
  }

  .jm-resident-basic__image {
    max-width: 380px;
  }

  .jm-resident-basic__message h2 {
    font-size: 24px;
  }

  .jm-resident-basic__message > p {
    font-size: 14px;
  }

  .jm-resident-basic__return {
    width: 100%;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .jm-resident-basic__back,
  .jm-resident-basic__return {
    transition: none;
  }

  .jm-resident-basic__return:hover {
    transform: none;
  }
}



/* =========================================================
   RESIDENT SYLLABUS / RECOMMENDED READING — JAKMUS FC
   Shared layout: About / Faculty
   ========================================================= */

.jm-resident-syllabus {
  padding: 72px 86px;
  color: var(--jm-ink, #18343a);
  background: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
  box-sizing: border-box;
}

.jm-resident-syllabus *,
.jm-resident-syllabus *::before,
.jm-resident-syllabus *::after {
  box-sizing: border-box;
}

/* Shared container — align with About / Faculty */
.jm-resident-syllabus .container {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

/* Shared section heading — optional */
.jm-resident-syllabus .jm-section__head {
  margin: 0 0 36px;
}

.jm-resident-syllabus .jm-section__head h2 {
  margin: 0;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.jm-resident-syllabus .jm-section__head h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-resident-syllabus .jm-eyebrow {
  display: inline-block;
  margin-top: 8px;
  color: var(--jm-muted, #66777a);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

/* Back navigation */
.jm-syllabus__navigation {
  margin-bottom: 28px;
}

.jm-syllabus__back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: 10px;
  background: #fff;
  color: var(--jm-teal-dark, #174c4e);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.jm-syllabus__back:hover {
  border-color: var(--jm-teal, #2f7775);
  background: var(--jm-teal, #2f7775);
  color: #fff;
}

.jm-syllabus__back:focus-visible,
.jm-syllabus__return:focus-visible {
  outline: 3px solid rgba(47, 119, 117, 0.3);
  outline-offset: 3px;
}

/* Main card */
.jm-syllabus__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 36px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: var(--jm-radius, 18px);
  background: #fff;
}

.jm-syllabus__visual {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 16px;
  background: var(--jm-paper, #fbfaf7);
}

.jm-syllabus__image {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
}

/* Main content */
.jm-syllabus__content {
  min-width: 0;
}

.jm-syllabus__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--jm-teal, #2f7775);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-transform: uppercase;
}

.jm-syllabus__eyebrow i {
  font-size: 17px;
}

.jm-syllabus__content h2 {
  margin: 0 0 16px;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

/* Teal accent within the main heading */
.jm-syllabus__content h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-syllabus__content > p {
  margin: 0 0 24px;
  color: var(--jm-muted, #66777a);
  font-size: 15px;
  line-height: 1.85;
}

/* Return button */
.jm-syllabus__return {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--jm-teal, #2f7775);
  border-radius: 10px;
  background: var(--jm-teal, #2f7775);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.jm-syllabus__return:hover {
  transform: translateY(-2px);
  border-color: var(--jm-teal-dark, #174c4e);
  background: var(--jm-teal-dark, #174c4e);
  color: #fff;
}

/* Tablet */
@media (max-width: 991px) {
  .jm-resident-syllabus {
    padding: 56px 0 68px;
  }

  .jm-syllabus__card {
    gap: 26px;
    padding: 26px;
  }

  .jm-syllabus__content h2 {
    font-size: 25px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .jm-resident-syllabus {
    padding: 48px 0 60px;
  }

  .jm-resident-syllabus .container {
    width: calc(100% - 32px);
  }

  .jm-resident-syllabus .jm-section__head {
    margin-bottom: 26px;
  }

  .jm-syllabus__navigation {
    margin-bottom: 20px;
  }

  .jm-syllabus__card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding: 20px;
  }

  .jm-syllabus__visual {
    padding: 10px;
  }

  .jm-syllabus__image {
    max-width: 380px;
  }

  .jm-syllabus__content h2 {
    font-size: 24px;
  }

  .jm-syllabus__content > p {
    font-size: 14px;
  }

  .jm-syllabus__return {
    width: 100%;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .jm-syllabus__back,
  .jm-syllabus__return {
    transition: none;
  }

  .jm-syllabus__return:hover {
    transform: none;
  }
}



/* =========================================================
   JAKMUS STORE
   Shared layout: About / Faculty
   ========================================================= */

.jm-store {
  padding: 72px 0 86px;
  color: var(--jm-ink, #18343a);
  background: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
  box-sizing: border-box;
}

.jm-store *,
.jm-store *::before,
.jm-store *::after {
  box-sizing: border-box;
}

/* Shared container — align with About / Faculty */
.jm-store .container {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

/* Shared section heading */
.jm-store .jm-section__head {
  margin: 0 0 36px;
}

.jm-store .jm-section__head h2 {
  margin: 0;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.jm-store .jm-section__head h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-store .jm-eyebrow {
  display: inline-block;
  margin-top: 8px;
  color: var(--jm-muted, #66777a);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

/* Product grid */
.jm-store__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* Product card */
.jm-store__card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: var(--jm-radius, 18px);
  background: #fff;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.jm-store__card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 119, 117, 0.4);
  box-shadow: 0 12px 28px rgba(24, 52, 58, 0.08);
}

/* Image area */
.jm-store__image-wrap {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  overflow: hidden;
  border-bottom: 1px solid var(--jm-line, #e4e8e4);
  background: var(--jm-paper, #fbfaf7);
}

.jm-store__image-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}

.jm-store__image {
  display: block;
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
  transition: transform 0.25s ease;
}

.jm-store__card:hover .jm-store__image {
  transform: scale(1.025);
}

.jm-store__image-placeholder {
  display: flex;
  min-height: 200px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--jm-muted, #66777a);
  font-size: 13px;
}

.jm-store__image-placeholder i {
  color: var(--jm-teal, #2f7775);
  font-size: 38px;
}

/* Product information */
.jm-store__info {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
}

.jm-store__name {
  margin: 0 0 12px;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.jm-store__name span {
  color: var(--jm-teal, #2f7775);
}

.jm-store__price {
  margin: 0 0 14px;
  color: var(--jm-teal, #2f7775);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
}

.jm-store__description {
  margin: 0;
  color: var(--jm-muted, #66777a);
  font-size: 14px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

/* Booking section */
.jm-store__booking {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  padding: 26px 30px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: var(--jm-radius, 18px);
  background: var(--jm-paper, #fbfaf7);
}

.jm-store__booking-content {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
}

.jm-store__booking-icon {
  display: flex;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(47, 119, 117, 0.11);
  color: var(--jm-teal, #2f7775);
  font-size: 25px;
}

.jm-store__booking-content h2 {
  margin: 0 0 6px;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
}

.jm-store__booking-content h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-store__booking-content p {
  margin: 0;
  color: var(--jm-muted, #66777a);
  font-size: 14px;
  line-height: 1.7;
}

.jm-store__booking-button {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid var(--jm-teal, #2f7775);
  border-radius: 10px;
  background: var(--jm-teal, #2f7775);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.jm-store__booking-button:hover {
  transform: translateY(-2px);
  border-color: var(--jm-teal-dark, #174c4e);
  background: var(--jm-teal-dark, #174c4e);
  color: #fff;
}

.jm-store__booking-button:focus-visible {
  outline: 3px solid rgba(47, 119, 117, 0.3);
  outline-offset: 3px;
}

/* Empty state */
.jm-store__empty {
  padding: 48px 24px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: var(--jm-radius, 18px);
  background: var(--jm-paper, #fbfaf7);
  text-align: center;
}

.jm-store__empty > i {
  color: var(--jm-teal, #2f7775);
  font-size: 42px;
}

.jm-store__empty h2 {
  margin: 16px 0 8px;
  color: var(--jm-ink, #18343a);
  font-size: 21px;
  font-weight: 700;
}

.jm-store__empty h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-store__empty p {
  max-width: 520px;
  margin: 0 auto;
  color: var(--jm-muted, #66777a);
  font-size: 14px;
  line-height: 1.8;
}

/* Tablet */
@media (max-width: 991px) {
  .jm-store {
    padding: 56px 0 68px;
  }

  .jm-store__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .jm-store__image-wrap {
    min-height: 220px;
  }

  .jm-store__info {
    padding: 20px;
  }

  .jm-store__name {
    font-size: 18px;
  }

  .jm-store__booking {
    padding: 22px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .jm-store {
    padding: 48px 0 60px;
  }

  .jm-store .container {
    width: calc(100% - 32px);
  }

  .jm-store .jm-section__head {
    margin-bottom: 26px;
  }

  .jm-store__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .jm-store__image-wrap {
    min-height: 220px;
  }

  .jm-store__image {
    max-height: 320px;
  }

  .jm-store__info {
    padding: 20px;
  }

  .jm-store__booking {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-top: 24px;
    padding: 20px;
  }

  .jm-store__booking-content {
    align-items: flex-start;
    gap: 12px;
  }

  .jm-store__booking-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    font-size: 22px;
  }

  .jm-store__booking-content h2 {
    font-size: 17px;
  }

  .jm-store__booking-button {
    width: 100%;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .jm-store__card,
  .jm-store__image,
  .jm-store__booking-button {
    transition: none;
  }

  .jm-store__card:hover,
  .jm-store__booking-button:hover {
    transform: none;
  }
}


/* =========================================
   REGISTRATION SUCCESS
   JakMus FC Typography & Visual Identity
========================================= */

.jm-success {
  padding-block: 72px 86px;
  color: var(--jm-ink, #18343a);
  background: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
}

.jm-success .section-title {
    padding-bottom: 25px;
}

.jm-success .section-title p {
    margin-bottom: 0;
}

.jm-success__content {
    max-width: 760px;
    margin: 0 auto;
    padding: 42px 32px;
    text-align: center;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: transparent;
}

.jm-success__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    border: 1px solid rgba(47, 119, 117, 0.25);
    border-radius: 50%;
    color: var(--jm-teal, #2f7775);
    font-size: 42px;
}

.jm-success__title {
    margin: 0 0 16px;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.4px;
}

.jm-success__message {
    max-width: 560px;
    margin: 0 auto;
    color: var(--jm-muted, #66777a);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
}

.jm-success__action {
    margin-top: 30px;
}

.jm-success__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--jm-teal, #2f7775);
    border-radius: 10px;
    background: var(--jm-teal, #2f7775);
    color: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.jm-success__button i {
    font-size: 17px;
}

.jm-success__button:hover {
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    transform: translateY(-2px);
}

.jm-success__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, 0.3);
    outline-offset: 4px;
}

/* Responsive */
@media (max-width: 576px) {
    .jm-success {
        padding-top: 25px;
        padding-bottom: 45px;
    }

    .jm-success .section-title {
        padding-bottom: 20px;
    }

    .jm-success__content {
        padding: 30px 20px;
        border-radius: 14px;
    }

    .jm-success__icon {
        width: 64px;
        height: 64px;
        margin-bottom: 20px;
        font-size: 36px;
    }

    .jm-success__message {
        font-size: 15px;
    }

    .jm-success__action {
        margin-top: 25px;
    }

    .jm-success__button {
        width: 100%;
        max-width: 280px;
    }
}



/* =========================================================
   JAKMUS FC — REGISTRATION FORM
   Shared layout: About / Faculty
   ========================================================= */

.jm-register {
  --jm-register-shadow: 0 12px 35px rgba(24, 52, 58, 0.06);

  padding: 72px 0 86px;
  color: var(--jm-ink, #18343a);
  background: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
  box-sizing: border-box;
}

.jm-register *,
.jm-register *::before,
.jm-register *::after,
.jm-register__modal,
.jm-register__modal * {
  box-sizing: border-box;
}

/* Shared container — align with About / Faculty */
.jm-register .container {
  width: min(1160px, calc(100% - 48px));
  max-width: none;
  margin-inline: auto;
}

/* Shared section heading */
.jm-register .section-title,
.jm-register .jm-section__head {
  margin: 0 0 36px;
  padding-bottom: 0;
}

.jm-register .section-title h2,
.jm-register .jm-section__head h2 {
  margin: 0;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.jm-register .section-title h2 span,
.jm-register .jm-section__head h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-register .section-title p,
.jm-register .jm-section__head .jm-eyebrow {
  margin-top: 8px;
  margin-bottom: 0;
  color: var(--jm-muted, #66777a);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.7;
}

/* Main wrapper */
.jm-register__wrapper {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  overflow: hidden;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: var(--jm-radius, 18px);
  background: #fff;
  box-shadow: var(--jm-register-shadow);
}

/* Visual panel */
.jm-register__visual {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 620px;
  align-items: flex-end;
  padding: 38px;
  background-color: var(--jm-teal-dark, #174c4e);
  background-position: center;
  background-size: cover;
  isolation: isolate;
}

.jm-register__visual::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 76, 78, 0.08) 0%,
    rgba(23, 76, 78, 0.88) 100%
  );
  content: "";
}

.jm-register__visual-content {
  max-width: 390px;
  color: #fff;
}

.jm-register__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #e0f0d0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.jm-register__visual-content h2 {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.6px;
}

.jm-register__visual-content h2 span {
  color: #e0f0d0;
}

.jm-register__visual-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.8;
}

/* Form panel */
.jm-register__form-panel {
  min-width: 0;
  padding: 36px;
  background: #fff;
}

.jm-register__intro {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--jm-line, #e4e8e4);
}

.jm-register__intro h2 {
  margin: 0 0 7px;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.35;
}

.jm-register__intro h2 span {
  color: var(--jm-teal, #2f7775);
}

.jm-register__intro p {
  margin: 0;
  color: var(--jm-muted, #66777a);
  font-size: 14px;
  line-height: 1.7;
}

.jm-register__form {
  width: 100%;
}

.jm-register__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.jm-register__field {
  min-width: 0;
  margin: 0;
}

.jm-register__field--full {
  grid-column: 1 / -1;
}

.jm-register__field > label,
.jm-register__fieldset legend {
  display: block;
  width: 100%;
  margin: 0 0 9px;
  padding: 0;
  color: var(--jm-ink, #18343a);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}

.jm-register__field > label span,
.jm-register__fieldset legend span,
.jm-register__submit > p span {
  color: var(--jm-teal, #2f7775);
}

/* Form controls */
.jm-register__field .form-control {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: 9px;
  background: #fff;
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.jm-register__field .form-control::placeholder {
  color: #8a999a;
  opacity: 1;
}

.jm-register__field .form-control:focus {
  border-color: var(--jm-teal, #2f7775);
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 119, 117, 0.11);
}

.jm-register__field select.form-control {
  cursor: pointer;
}

.jm-register__field .jm-register__file {
  height: auto;
  min-height: 46px;
  padding: 8px;
}

.jm-register__help {
  margin: -2px 0 10px;
  color: var(--jm-muted, #66777a);
  font-size: 13px;
  line-height: 1.7;
}

/* Field choices */
.jm-register__fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.jm-register__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.jm-register__choice {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  width: auto !important;
  min-height: 42px;
  margin: 0 !important;
  padding: 9px 15px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: 9px;
  background: #fff;
  color: var(--jm-ink, #18343a) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.jm-register__choice:has(input:checked) {
  border-color: var(--jm-teal, #2f7775);
  color: var(--jm-teal-dark, #174c4e) !important;
}

.jm-register__choice input,
.jm-register__check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--jm-teal, #2f7775);
  cursor: pointer;
}

/* Member-specific fields */
.jm-register__member-field {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: 10px;
  background: var(--jm-paper, #fbfaf7);
}

/* Consent */
.jm-register__consent {
  padding: 17px;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: 10px;
  background: var(--jm-paper, #fbfaf7);
}

.jm-register__check {
  display: flex !important;
  align-items: flex-start;
  gap: 11px;
  margin: 0 !important;
  color: var(--jm-muted, #66777a) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  cursor: pointer;
}

.jm-register__check input {
  margin-top: 4px;
}

.jm-register__check a {
  color: var(--jm-teal, #2f7775);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.jm-register__check a:hover {
  color: var(--jm-teal-dark, #174c4e);
}

/* Submit area */
.jm-register__submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--jm-line, #e4e8e4);
}

.jm-register__submit > p {
  margin: 0;
  color: var(--jm-muted, #66777a);
  font-size: 12px;
  line-height: 1.6;
}

.jm-register__button,
.jm-register__modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--jm-teal, #2f7775);
  border-radius: 9px;
  background: var(--jm-teal, #2f7775);
  color: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.jm-register__button:hover,
.jm-register__modal-close:hover {
  border-color: var(--jm-teal-dark, #174c4e);
  background: var(--jm-teal-dark, #174c4e);
  color: #fff;
  transform: translateY(-1px);
}

.jm-register__button:focus-visible,
.jm-register__modal-close:focus-visible {
  outline: 3px solid rgba(47, 119, 117, 0.25);
  outline-offset: 3px;
}

/* Terms modal */
.jm-register__modal .modal-content {
  overflow: hidden;
  border: 1px solid var(--jm-line, #e4e8e4);
  border-radius: 14px;
  background: var(--jm-paper, #fbfaf7);
  color: var(--jm-ink, #18343a);
  font-family: "Segoe UI", Calibri, sans-serif;
}

.jm-register__modal .modal-header,
.jm-register__modal .modal-footer {
  padding: 18px 22px;
  border-color: var(--jm-line, #e4e8e4);
}

.jm-register__modal .modal-title {
  color: var(--jm-ink, #18343a);
  font-size: 18px;
  font-weight: 600;
}

.jm-register__modal .modal-title span {
  color: var(--jm-teal, #2f7775);
}

.jm-register__modal .modal-body {
  padding: 22px;
}

.jm-register__terms {
  margin: 0;
  padding-left: 22px;
  color: var(--jm-muted, #66777a);
  font-size: 14px;
  line-height: 1.85;
}

.jm-register__terms li {
  padding-left: 5px;
  margin-bottom: 12px;
}

.jm-register__terms li:last-child {
  margin-bottom: 0;
}

.jm-register__terms strong {
  color: var(--jm-ink, #18343a);
}

/* Tablet */
@media (max-width: 991px) {
  .jm-register {
    padding: 56px 0 68px;
  }

  .jm-register__wrapper {
    grid-template-columns: 1fr;
  }

  .jm-register__visual {
    min-height: 300px;
    padding: 30px;
  }

  .jm-register__form-panel {
    padding: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .jm-register {
    padding: 48px 0 60px;
  }

  .jm-register .container {
    width: calc(100% - 32px);
  }

  .jm-register .section-title,
  .jm-register .jm-section__head {
    margin-bottom: 26px;
  }
}

@media (max-width: 576px) {
  .jm-register .section-title h2,
  .jm-register .jm-section__head h2 {
    font-size: clamp(30px, 8vw, 36px);
  }

  .jm-register .section-title p {
    font-size: 14px;
  }

  .jm-register__visual {
    min-height: 240px;
    padding: 24px;
  }

  .jm-register__visual-content h2 {
    font-size: 28px;
  }

  .jm-register__form-panel {
    padding: 22px 18px;
  }

  .jm-register__intro h2 {
    font-size: 21px;
  }

  .jm-register__fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .jm-register__field--full,
  .jm-register__member-field {
    grid-column: auto;
  }

  .jm-register__submit {
    align-items: stretch;
    flex-direction: column;
  }

  .jm-register__button {
    width: 100%;
  }

  .jm-register__modal .modal-header,
  .jm-register__modal .modal-footer,
  .jm-register__modal .modal-body {
    padding: 16px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .jm-register__button,
  .jm-register__modal-close {
    transition: none;
  }

  .jm-register__button:hover,
  .jm-register__modal-close:hover {
    transform: none;
  }
}



/* =========================================
   JAKMUS FC - UNDER CONSTRUCTION
========================================= */

.jm-under {
  padding-block: 72px 86px;
  color: var(--jm-ink, #18343a);
  background: #fff;
  font-family: "Segoe UI", Calibri, sans-serif;
}

.jm-under .section-title {
    padding-bottom: 25px;
}

.jm-under .section-title p {
    margin-bottom: 0;
}

.jm-under__content {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: var(--jm-radius, 18px);
    background: transparent;
    text-align: center;
}

.jm-under__image {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.jm-under__image img {
    display: block;
    width: 100%;
    max-height: 520px;
    margin: 0 auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
}

/* Judul dan caption lebih dekat ke gambar */
.jm-under__message {
    max-width: 620px;
    margin: 10px auto 0;
}

.jm-under__message h2 {
    margin: 0 0 8px;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.4px;
}

.jm-under__message p {
    margin: 0;
    color: var(--jm-muted, #66777a);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
}

/* Tombol kembali ke beranda */
.jm-under__action {
    margin-top: 22px;
}

.jm-under__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--jm-teal, #2f7775);
    border-radius: 9px;
    background: var(--jm-teal, #2f7775);
    color: #fff;
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.jm-under__button i {
    font-size: 17px;
}

.jm-under__button:hover {
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    transform: translateY(-2px);
}

.jm-under__button:focus-visible {
    outline: 3px solid rgba(47, 119, 117, 0.25);
    outline-offset: 4px;
}

/* Tampilan tablet */
@media (max-width: 768px) {
    .jm-under__content {
        padding: 22px;
    }

    .jm-under__image img {
        max-height: 420px;
    }
}

/* Tampilan mobile */
@media (max-width: 576px) {
    .jm-under {
        padding-top: 25px;
        padding-bottom: 45px;
    }

    .jm-under .section-title {
        padding-bottom: 20px;
    }

    .jm-under__content {
        padding: 16px;
        border-radius: 14px;
    }

    .jm-under__image img {
        max-height: 360px;
    }

    .jm-under__message {
        margin-top: 8px;
    }

    .jm-under__message h2 {
        margin-bottom: 8px;
        font-size: 24px;
    }

    .jm-under__message p {
        font-size: 14px;
        line-height: 1.7;
    }

    .jm-under__action {
        margin-top: 18px;
    }

    .jm-under__button {
        width: 100%;
        max-width: 280px;
    }
}


/*--------------------------------------------------------------
# Global Footer - JakMus FC
# Mengikuti struktur Global Footer tema utama
--------------------------------------------------------------*/

.footer.jm-site-footer {
    --heading-font: var(--default-font);

    font-family: var(--default-font, "Segoe UI", Calibri, sans-serif);
    font-size: 14px;
    line-height: 1.7;

    /* Background dan warna mengikuti tema yang sudah ada */
    color: var(--default-color);
    background-color: var(--background-color);

    padding: 40px 0 0;
    position: relative;
}

/* Footer columns */

.jm-site-footer .jm-site-footer__grid {
    row-gap: 30px;
}

.jm-site-footer .jm-footer-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
}

.jm-site-footer .jm-footer-item__icon {
    display: inline-flex;
    flex: 0 0 24px;
    align-items: flex-start;
    justify-content: center;

    width: 24px;
    height: auto;
    margin: 2px 0 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    color: var(--accent-color);
    font-size: 24px;
    line-height: 1.2;
}

.jm-site-footer .jm-footer-item__content {
    flex: 1;
    min-width: 0;
}

/* Headings */

.jm-site-footer .jm-footer-item__content h4 {
    margin: 0 0 15px;

    font-family: var(--heading-font, var(--default-font));
    color: inherit;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: normal;
}

/* Address and contact text */

.jm-site-footer .jm-footer-item__content p,
.jm-site-footer .jm-footer-item__content address p {
    margin: 0 0 8px;

    color: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;

    overflow-wrap: anywhere;
}

.jm-site-footer .jm-footer-item__content address {
    margin: 0;
    font-style: normal;
}

.jm-site-footer .jm-footer-item__content strong {
    color: inherit;
    font-weight: 600;
}

.jm-site-footer .jm-footer-item__content a {
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.25s ease;
}

.jm-site-footer .jm-footer-item__content a:hover {
    color: var(--accent-color);
}

/* Opening hours and social media */

.jm-site-footer .jm-footer-item--sub {
    height: auto;
    margin-top: 26px;
}

/* Visitor statistics */

.jm-site-footer .jm-footer-stat {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;

    padding: 8px 0;
    border-bottom: 1px solid
        color-mix(in srgb, var(--default-color), transparent 90%);

    color: inherit;
    font-size: 14px;
    line-height: 1.6;
}

.jm-site-footer .jm-footer-stat:first-of-type {
    padding-top: 0;
}

.jm-site-footer .jm-footer-stat:last-child {
    border-bottom: 0;
}

.jm-site-footer .jm-footer-stat span,
.jm-site-footer .jm-footer-stat strong {
    color: inherit;
}

.jm-site-footer .jm-footer-stat strong {
    flex-shrink: 0;
    font-weight: 600;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Copyright */

.jm-site-footer .jm-site-footer__copyright {
    margin-top: 30px;
    padding: 20px 0;

    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 90%);

    text-align: center;
}

.jm-site-footer .jm-site-footer__copyright p {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;

    margin: 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.7;
}

.jm-site-footer .jm-site-footer__copyright .sitename {
    color: inherit;
    font-weight: 700;
}

/* Responsive */

@media (max-width: 991px) {
    .footer.jm-site-footer {
        padding-top: 36px;
    }

    .jm-site-footer .jm-site-footer__grid {
        row-gap: 28px;
    }
}

@media (max-width: 575px) {
    .footer.jm-site-footer {
        padding-top: 30px;
    }

    .jm-site-footer .jm-site-footer__grid {
        row-gap: 24px;
    }

    .jm-site-footer .jm-footer-item__content h4 {
        margin-bottom: 12px;
    }

    .jm-site-footer .jm-footer-item--sub {
        margin-top: 22px;
    }

    .jm-site-footer .jm-site-footer__copyright {
        margin-top: 24px;
        padding: 18px 0;
    }
}


/* =========================================================
   MODERN HERO CAROUSEL — isolated from legacy slider styles
   ========================================================= */
.jm-home .jm-hero-carousel {
    --hero-ink: #102f37;
    --hero-muted: #547076;
    --hero-turquoise: #67d7c8;
    --hero-paper: #f7f8f2;
    padding: 0;
    color: #fff;
    background:
        radial-gradient(circle at 8% 0%, rgba(103, 215, 200, .16), transparent 23rem),
        linear-gradient(145deg, #21474a 0%, #193b3e 52%, #123135 100%);
}

.jm-home .jm-hero-carousel__shell {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #193b3e;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.jm-home .jm-hero-carousel__viewport {
    position: relative;
    width: 100%;
    height: clamp(440px, 53vw, 660px);
    overflow: hidden;
    touch-action: pan-y;
    outline-offset: -4px;
}

.jm-home .jm-hero-carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.jm-home .jm-hero-carousel__slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 500ms ease, visibility 0s linear 500ms;
}

.jm-home .jm-hero-carousel__slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 500ms ease;
}

.jm-home .jm-hero-carousel__media {
    position: relative;
    display: grid;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 14% 18%, rgba(103, 215, 200, .26), transparent 28%),
        linear-gradient(125deg, #173f48, #0b222a);
    place-items: center;
}

.jm-home .jm-hero-carousel__media::before {
    position: absolute;
    inset: 0;
    z-index: 2;
    content: "";
    background:
        linear-gradient(90deg, rgba(5, 25, 31, .84) 0%, rgba(5, 25, 31, .63) 47%, rgba(5, 25, 31, .16) 78%, rgba(5, 25, 31, .05) 100%),
        linear-gradient(0deg, rgba(5, 25, 31, .65) 0%, transparent 40%),
        repeating-linear-gradient(120deg, transparent 0 42px, rgba(255, 255, 255, .045) 43px 44px);
    pointer-events: none;
}


.jm-home .jm-hero-carousel__media img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    background: #193b3e;
    filter: none;
}

.jm-home .jm-hero-carousel__media-label {
    position: absolute;
    right: clamp(16px, 3vw, 28px);
    top: clamp(16px, 3vw, 28px);
    z-index: 4;
    padding: .45rem .75rem;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
    background: rgba(8, 31, 37, .72);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.jm-home .jm-hero-carousel__content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    align-content: end;
    gap: 1.5rem;
    padding: clamp(28px, 5vw, 72px) clamp(26px, 5vw, 72px) clamp(94px, 10vw, 126px);
    color: #fff;
    pointer-events: none;
}

.jm-home .jm-hero-carousel__content > * {
    pointer-events: auto;
}

.jm-home .jm-hero-carousel__content > div:first-child {
    max-width: 660px;
}

.jm-home .jm-hero-carousel__eyebrow {
    margin: 0 0 1rem;
    color: var(--hero-turquoise);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.45;
}

.jm-home .jm-hero-carousel h1,
.jm-home .jm-hero-carousel h2 {
    max-width: 17ch;
    margin: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4.6vw, 70px);
    font-weight: 500;
    letter-spacing: -.058em;
    line-height: .98;
}

.jm-home .jm-hero-carousel h1 em,
.jm-home .jm-hero-carousel h2 em {
    color: var(--hero-turquoise);
    font-style: italic;
    font-weight: inherit;
}

.jm-home .jm-hero-carousel__description {
    max-width: 62ch;
    margin: 1.25rem 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.72;
}

.jm-home .jm-hero-carousel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
    justify-content: flex-start;
}

.jm-home .jm-hero-carousel__button {
    display: inline-flex;
    gap: .55rem;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: .75rem 1.1rem;
    color: var(--hero-ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.jm-home .jm-hero-carousel__button:hover { transform: translateY(-2px); }
.jm-home .jm-hero-carousel__button--primary { background: var(--hero-turquoise); }
.jm-home .jm-hero-carousel__button--primary:hover { background: #45c2b2; }
.jm-home .jm-hero-carousel__button--secondary { color: #fff; border-color: rgba(255, 255, 255, .52); background: rgba(255, 255, 255, .08); }
.jm-home .jm-hero-carousel__button--secondary:hover { background: rgba(255, 255, 255, .2); }

.jm-home .jm-hero-carousel__controls {
    position: absolute;
    right: clamp(22px, 4vw, 58px);
    bottom: clamp(20px, 3vw, 30px);
    left: clamp(22px, 4vw, 58px);
    z-index: 5;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1.25rem;
    align-items: center;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
}

.jm-home .jm-hero-carousel__count {
    display: flex;
    gap: .35rem;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.jm-home .jm-hero-carousel__count span:last-child { color: rgba(255, 255, 255, .6); }
.jm-home .jm-hero-carousel__dots { display: flex; gap: .5rem; align-items: center; }

.jm-home .jm-hero-carousel__dots button {
    width: 1.5rem;
    height: .28rem;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, .45);
    border: 0;
    border-radius: 999px;
    transition: width 200ms ease, background-color 200ms ease;
}

.jm-home .jm-hero-carousel__dots button.is-active {
    width: 3rem;
    background: var(--hero-turquoise);
}

.jm-home .jm-hero-carousel__arrows { display: flex; gap: .5rem; }

.jm-home .jm-hero-carousel__arrows button {
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
    place-items: center;
}

.jm-home .jm-hero-carousel__arrows button:hover {
    color: var(--hero-ink);
    background: #fff;
    transform: translateY(-2px);
}

.jm-home .jm-hero-carousel__progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 6;
    height: 4px;
    overflow: hidden;
    background: #e3eae6;
}

.jm-home .jm-hero-carousel__progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--hero-turquoise);
    transform: scaleX(0);
    transform-origin: left;
}

.jm-home .jm-hero-carousel__progress span.is-running {
    transform: scaleX(1);
    transition: transform var(--hero-duration, 6500ms) linear;
}

.jm-home .jm-hero-carousel :is(a, button, .jm-hero-carousel__viewport):focus-visible {
    outline: 3px solid #4e8e8b;
    outline-offset: 3px;
}

.jm-home .jm-hero-carousel__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    .jm-home .jm-hero-carousel__viewport { height: clamp(480px, 134vw, 620px); }
    .jm-home .jm-hero-carousel__content { gap: 1.25rem; padding: 24px 22px 88px; }
    .jm-home .jm-hero-carousel__controls { right: 16px; bottom: 18px; left: 16px; gap: .75rem; }
    .jm-home .jm-hero-carousel__arrows button { width: 36px; height: 36px; }
}

@media (max-width: 420px) {
    .jm-home .jm-hero-carousel h1,
    .jm-home .jm-hero-carousel h2 { font-size: clamp(32px, 10.5vw, 42px); }
    .jm-home .jm-hero-carousel__dots { gap: .35rem; }
    .jm-home .jm-hero-carousel__dots button { width: 1.15rem; }
    .jm-home .jm-hero-carousel__dots button.is-active { width: 2.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .jm-home .jm-hero-carousel *,
    .jm-home .jm-hero-carousel *::before,
    .jm-home .jm-hero-carousel *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   JAKMUS — FULLSCREEN IMAGE HERO
   Full image, overlay text, no split layout.
========================================================= */
.jm-home .jm-hero-carousel {
    --hero-ink: #18343a;
    --hero-turquoise: #67d7c8;
    padding: 0;
    color: #fff;
    background: #193b3e;
}
.jm-home .jm-hero-carousel__shell {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden;
    background: #193b3e;
}
.jm-home .jm-hero-carousel__viewport {
    position: relative;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    touch-action: pan-y;
}
.jm-home .jm-hero-carousel__track { position: absolute; inset: 0; width: 100%; height: 100%; }
.jm-home .jm-hero-carousel__slide {
    position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 500ms ease, visibility 0s linear 500ms;
}
.jm-home .jm-hero-carousel__slide.is-active {
    z-index: 1; opacity: 1; visibility: visible; pointer-events: auto;
    transition: opacity 500ms ease;
}
.jm-home .jm-hero-carousel__media {
    position: relative; display: block; width: 100%; height: 100%; margin: 0;
    overflow: hidden; isolation: isolate; background: #193b3e;
}
.jm-home .jm-hero-carousel__media::before {
    position: absolute; inset: 0; z-index: 2; display: block; content: "";
    background: linear-gradient(90deg, rgba(5,25,31,.58), rgba(5,25,31,.20) 55%, rgba(5,25,31,.02)),
                linear-gradient(0deg, rgba(5,25,31,.76), rgba(5,25,31,.08) 58%, transparent);
    pointer-events: none;
}
.jm-home .jm-hero-carousel__media img {
    position: absolute; inset: 0; z-index: 1; display: block;
    width: 100% !important; height: 100% !important;
    min-width: 0; min-height: 0; max-width: 100%; max-height: 100%;
    object-fit: contain !important; object-position: center center !important;
    background: #193b3e; filter: none;
}
.jm-home .jm-hero-carousel__media-label {
    position: absolute; top: clamp(16px,3vw,32px); right: clamp(16px,3vw,32px); z-index: 4;
    padding: .5rem .8rem; color: #fff; font-size: 10px; font-weight: 800;
    letter-spacing: .14em; line-height: 1.2; text-transform: uppercase;
    background: rgba(8,31,37,.68); border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px; backdrop-filter: blur(8px);
}
.jm-home .jm-hero-carousel__content {
    position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
    align-items: flex-start; justify-content: flex-end; gap: clamp(12px,2vw,24px);
    padding: clamp(24px,5vw,72px) clamp(22px,5vw,72px) clamp(82px,9vw,116px);
    color: #fff; pointer-events: none;
}
.jm-home .jm-hero-carousel__content > * { pointer-events: auto; }
.jm-home .jm-hero-carousel__content > div:first-child { width: 100%; max-width: 660px; }
.jm-home .jm-hero-carousel__eyebrow {
    margin: 0 0 1rem; color: var(--hero-turquoise); font-size: 10px; font-weight: 800;
    letter-spacing: .16em; line-height: 1.5;
}
.jm-home .jm-hero-carousel h1, .jm-home .jm-hero-carousel h2 {
    max-width: 17ch; margin: 0; color: #fff; font-family: "Segoe UI",Calibri,sans-serif;
    font-size: clamp(32px,4.6vw,68px); font-weight: 700; letter-spacing: -.055em;
    line-height: 1.04; text-shadow: 0 2px 18px rgba(0,0,0,.25);
}
.jm-home .jm-hero-carousel h1 em, .jm-home .jm-hero-carousel h2 em {
    color: var(--hero-turquoise); font-style: normal; font-weight: inherit;
}
.jm-home .jm-hero-carousel__description {
    max-width: 62ch; margin: 1rem 0 0; color: rgba(255,255,255,.92);
    font-size: clamp(14px,1.3vw,17px); line-height: 1.65;
    text-shadow: 0 1px 10px rgba(0,0,0,.25);
}
.jm-home .jm-hero-carousel__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.jm-home .jm-hero-carousel__button {
    display: inline-flex; gap: .55rem; align-items: center; justify-content: center;
    min-height: 46px; padding: .75rem 1.1rem; color: var(--hero-ink); font-size: 13px;
    font-weight: 800; line-height: 1; text-decoration: none; border: 1px solid transparent;
    border-radius: 999px; transition: transform 180ms ease,background-color 180ms ease;
}
.jm-home .jm-hero-carousel__button:hover { transform: translateY(-2px); }
.jm-home .jm-hero-carousel__button--primary { background: var(--hero-turquoise); }
.jm-home .jm-hero-carousel__button--secondary {
    color: #fff; border-color: rgba(255,255,255,.52); background: rgba(255,255,255,.08);
}
.jm-home .jm-hero-carousel__controls {
    position: absolute; right: clamp(18px,4vw,58px); bottom: clamp(16px,2.5vw,28px);
    left: clamp(18px,4vw,58px); z-index: 5; display: grid;
    grid-template-columns: auto minmax(0,1fr) auto; gap: 1rem; align-items: center;
    padding: 0; color: #fff; background: transparent; border: 0;
}
.jm-home .jm-hero-carousel__count { display: flex; gap: .35rem; margin: 0; color: #fff; font-size: 12px; font-weight: 800; }
.jm-home .jm-hero-carousel__count span:last-child { color: rgba(255,255,255,.6); }
.jm-home .jm-hero-carousel__dots { display: flex; gap: .5rem; align-items: center; }
.jm-home .jm-hero-carousel__dots button {
    width: 1.5rem; height: .28rem; padding: 0; cursor: pointer;
    background: rgba(255,255,255,.45); border: 0; border-radius: 999px;
    transition: width 200ms ease,background-color 200ms ease;
}
.jm-home .jm-hero-carousel__dots button.is-active { width: 3rem; background: var(--hero-turquoise); }
.jm-home .jm-hero-carousel__arrows { display: flex; gap: .5rem; }
.jm-home .jm-hero-carousel__arrows button {
    display: grid; width: 40px; height: 40px; padding: 0; color: #fff; font-size: 18px;
    cursor: pointer; background: rgba(5,25,31,.22); border: 1px solid rgba(255,255,255,.48);
    border-radius: 50%; place-items: center;
}
.jm-home .jm-hero-carousel__progress {
    position: absolute; right: 0; bottom: 0; left: 0; z-index: 6;
    height: 4px; overflow: hidden; background: rgba(255,255,255,.16);
}
.jm-home .jm-hero-carousel__progress span {
    display: block; width: 100%; height: 100%; background: var(--hero-turquoise);
    transform: scaleX(0); transform-origin: left;
}
.jm-home .jm-hero-carousel__progress span.is-running {
    transform: scaleX(1); transition: transform var(--hero-duration,6500ms) linear;
}
.jm-home .jm-hero-carousel :is(a,button,.jm-hero-carousel__viewport):focus-visible {
    outline: 3px solid #4e8e8b; outline-offset: 3px;
}
@media (max-width: 767px) {
    .jm-home .jm-hero-carousel__viewport { aspect-ratio: 16 / 9; height: auto !important; min-height: 0 !important; }
    .jm-home .jm-hero-carousel__content { gap: 8px; padding: 12px 14px 54px; }
    .jm-home .jm-hero-carousel__eyebrow { margin-bottom: 6px; font-size: 8px; letter-spacing: .1em; }
    .jm-home .jm-hero-carousel h1, .jm-home .jm-hero-carousel h2 { max-width: 18ch; font-size: clamp(19px,5.5vw,32px); line-height: 1.04; }
    .jm-home .jm-hero-carousel__description { margin-top: 6px; font-size: clamp(10px,2.6vw,13px); line-height: 1.35; }
    .jm-home .jm-hero-carousel__actions { gap: 6px; }
    .jm-home .jm-hero-carousel__button { min-height: 30px; padding: 7px 10px; font-size: 10px; }
    .jm-home .jm-hero-carousel__controls { right: 12px; bottom: 9px; left: 12px; gap: 7px; }
    .jm-home .jm-hero-carousel__arrows button { width: 28px; height: 28px; font-size: 14px; }
    .jm-home .jm-hero-carousel__dots { gap: 4px; }
    .jm-home .jm-hero-carousel__dots button { width: 13px; }
    .jm-home .jm-hero-carousel__dots button.is-active { width: 24px; }
}
@media (max-width: 420px) {
    .jm-home .jm-hero-carousel__content { padding: 10px 11px 48px; }
    .jm-home .jm-hero-carousel h1, .jm-home .jm-hero-carousel h2 { font-size: clamp(17px,5.4vw,23px); }
    .jm-home .jm-hero-carousel__description { font-size: 9px; line-height: 1.3; }
    .jm-home .jm-hero-carousel__button { min-height: 27px; padding: 6px 8px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .jm-home .jm-hero-carousel *, .jm-home .jm-hero-carousel *::before, .jm-home .jm-hero-carousel *::after {
        transition-duration: .01ms !important; animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   HOMEPAGE — COMPACT SECTION SPACING
   Mengurangi jarak vertikal antar section tanpa mengubah layout
========================================================= */
.jm-home .jm-intro {
    padding-top: clamp(52px, 6vw, 68px);
    padding-bottom: clamp(42px, 5vw, 58px);
}

.jm-home .jm-intro__label {
    margin-bottom: clamp(20px, 2.4vw, 26px);
}

.jm-home .jm-section {
    padding-top: clamp(48px, 5vw, 62px);
    padding-bottom: clamp(54px, 5.5vw, 68px);
}

.jm-home .jm-section__head {
    margin-bottom: 28px;
}

@media (max-width: 760px) {
    .jm-home .jm-intro {
        padding-top: 44px;
        padding-bottom: 42px;
    }

    .jm-home .jm-intro__label {
        margin-bottom: 18px;
    }

    .jm-home .jm-intro__body {
        gap: 22px;
    }

    .jm-home .jm-section {
        padding-top: 42px;
        padding-bottom: 48px;
    }

    .jm-home .jm-section__head {
        margin-bottom: 22px;
    }
}


/* =========================================================
   JAKMUS HERO — MOBILE SPLIT LAYOUT
   Gambar dan teks menjadi dua area terpisah pada layar mobile.
   Tampilan desktop tidak diubah.
========================================================= */
@media (max-width: 767px) {
    .jm-home .jm-hero-carousel__shell {
        overflow: hidden;
        background: #f5f8f6;
    }

    .jm-home .jm-hero-carousel__viewport {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        overflow: hidden;
    }

    .jm-home .jm-hero-carousel__track {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
    }

    .jm-home .jm-hero-carousel__slide {
        position: absolute;
        inset: 0;
        width: 100%;
        height: auto;
        min-height: 0;
    }

    .jm-home .jm-hero-carousel__slide.is-active {
        position: relative;
        inset: auto;
        display: block;
    }

    .jm-home .jm-hero-carousel__media {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        min-height: 0;
        overflow: hidden;
        background: #f5f8f6;
    }

    .jm-home .jm-hero-carousel__media::before {
        display: none;
        content: none;
    }

    .jm-home .jm-hero-carousel__media img {
        position: relative;
        inset: auto;
        z-index: 1;
        display: block;
        width: 100% !important;
        height: auto !important;
        min-width: 0;
        min-height: 0;
        max-width: 100%;
        max-height: none;
        aspect-ratio: 16 / 9;
        object-fit: contain !important;
        object-position: center center !important;
        background: #193b3e;
    }

    .jm-home .jm-hero-carousel__content {
        position: relative;
        inset: auto;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 14px;
        width: 100%;
        min-height: 0;
        padding: 22px 20px 82px;
        color: #18343a;
        background: #f5f8f6;
        pointer-events: auto;
    }

    .jm-home .jm-hero-carousel__content > * {
        pointer-events: auto;
    }

    .jm-home .jm-hero-carousel__content > div:first-child {
        width: 100%;
        max-width: none;
    }

    .jm-home .jm-hero-carousel__eyebrow {
        margin: 0 0 9px;
        color: #2f7775;
        font-size: 9px;
        line-height: 1.5;
        letter-spacing: .12em;
    }

    .jm-home .jm-hero-carousel h1,
    .jm-home .jm-hero-carousel h2 {
        max-width: 22ch;
        margin: 0;
        color: #18343a;
        font-size: clamp(25px, 6.5vw, 36px);
        line-height: 1.08;
        text-shadow: none;
    }

    .jm-home .jm-hero-carousel h1 em,
    .jm-home .jm-hero-carousel h2 em {
        color: #2f7775;
    }

    .jm-home .jm-hero-carousel__description {
        max-width: 58ch;
        margin: 10px 0 0;
        color: #53666a;
        font-size: 13px;
        line-height: 1.55;
        text-shadow: none;
    }

    .jm-home .jm-hero-carousel__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        width: 100%;
        align-items: center;
    }

    .jm-home .jm-hero-carousel__button {
        min-height: 38px;
        padding: 9px 14px;
        font-size: 11px;
    }

    .jm-home .jm-hero-carousel__button--secondary {
        color: #2f7775;
        border-color: rgba(47, 119, 117, .35);
        background: transparent;
    }

    .jm-home .jm-hero-carousel__media-label {
        display: none;
    }

    .jm-home .jm-hero-carousel__controls {
        position: absolute;
        right: 16px;
        bottom: 16px;
        left: 16px;
        z-index: 5;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 9px;
        align-items: center;
        color: #18343a;
    }

    .jm-home .jm-hero-carousel__count {
        color: #18343a;
        font-size: 10px;
    }

    .jm-home .jm-hero-carousel__count span:last-child {
        color: #8b9b9b;
    }

    .jm-home .jm-hero-carousel__dots {
        gap: 4px;
    }

    .jm-home .jm-hero-carousel__dots button {
        width: 13px;
        height: 3px;
        background: rgba(47, 119, 117, .25);
    }

    .jm-home .jm-hero-carousel__dots button.is-active {
        width: 24px;
        background: #2f7775;
    }

    .jm-home .jm-hero-carousel__arrows {
        gap: 5px;
    }

    .jm-home .jm-hero-carousel__arrows button {
        width: 30px;
        height: 30px;
        color: #2f7775;
        font-size: 14px;
        background: #fff;
        border-color: rgba(47, 119, 117, .28);
    }

    .jm-home .jm-hero-carousel__progress {
        height: 3px;
        background: rgba(47, 119, 117, .12);
    }

    .jm-home .jm-hero-carousel__progress span {
        background: #2f7775;
    }
}

@media (max-width: 420px) {
    .jm-home .jm-hero-carousel__content {
        gap: 12px;
        padding: 18px 16px 76px;
    }

    .jm-home .jm-hero-carousel h1,
    .jm-home .jm-hero-carousel h2 {
        font-size: clamp(23px, 6.4vw, 29px);
    }

    .jm-home .jm-hero-carousel__description {
        font-size: 12px;
        line-height: 1.5;
    }

    .jm-home .jm-hero-carousel__button {
        min-height: 36px;
        padding: 8px 12px;
        font-size: 10px;
    }

    .jm-home .jm-hero-carousel__controls {
        right: 12px;
        bottom: 13px;
        left: 12px;
    }
}


/* Hero carousel: samakan warna garis progres dengan background hero */
.jm-home .jm-hero-carousel__progress span {
    background: #193b3e !important;
}


/* =========================================================
   JAKMUS HERO — MOBILE DESKTOP-STYLE OVERLAY
   Perubahan dibatasi pada carousel versi mobile.
   Desktop dan seluruh section website lainnya tetap.
========================================================= */
@media (max-width: 767px) {
    .jm-home .jm-hero-carousel__shell {
        position: relative;
        overflow: hidden;
        background: #193b3e;
    }

    .jm-home .jm-hero-carousel__viewport {
        position: relative;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9 !important;
        overflow: hidden;
    }

    .jm-home .jm-hero-carousel__track {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .jm-home .jm-hero-carousel__slide,
    .jm-home .jm-hero-carousel__slide.is-active {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .jm-home .jm-hero-carousel__media {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        overflow: hidden;
        background: #193b3e;
    }

    /* Overlay gelap tetap di atas gambar untuk menjaga kontras teks. */
    .jm-home .jm-hero-carousel__media::before {
        display: block;
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background:
            linear-gradient(90deg, rgba(5, 25, 31, .58), rgba(5, 25, 31, .18) 72%, rgba(5, 25, 31, .04)),
            linear-gradient(0deg, rgba(5, 25, 31, .82), rgba(5, 25, 31, .16) 78%, rgba(5, 25, 31, .04));
        pointer-events: none;
    }

    .jm-home .jm-hero-carousel__media img {
        position: absolute;
        inset: 0;
        z-index: 1;
        display: block;
        width: 100% !important;
        height: 100% !important;
        min-width: 0;
        min-height: 0;
        max-width: 100%;
        max-height: 100%;
        aspect-ratio: auto;
        object-fit: cover !important;
        object-position: center center !important;
        background: #193b3e;
    }

    /* Judul, deskripsi, dan CTA kembali menjadi overlay seperti desktop. */
    .jm-home .jm-hero-carousel__content {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        gap: 8px;
        width: 100%;
        min-height: 0;
        padding: 12px 16px 52px;
        color: #fff;
        background: transparent;
        pointer-events: none;
    }

    .jm-home .jm-hero-carousel__content > * {
        pointer-events: auto;
    }

    .jm-home .jm-hero-carousel__content > div:first-child {
        width: 100%;
        max-width: 520px;
    }

    .jm-home .jm-hero-carousel__eyebrow {
        margin: 0 0 5px;
        color: var(--hero-turquoise, #52c7b7);
        font-size: clamp(7px, 1.65vw, 9px);
        line-height: 1.3;
        letter-spacing: .1em;
    }

    .jm-home .jm-hero-carousel h1,
    .jm-home .jm-hero-carousel h2 {
        max-width: 20ch;
        margin: 0;
        color: #fff;
        font-size: clamp(18px, 4.8vw, 29px);
        line-height: 1.06;
        letter-spacing: -.035em;
        text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
    }

    .jm-home .jm-hero-carousel h1 em,
    .jm-home .jm-hero-carousel h2 em {
        color: var(--hero-turquoise, #52c7b7);
    }

    .jm-home .jm-hero-carousel__description {
        display: -webkit-box;
        max-width: 50ch;
        margin: 5px 0 0;
        overflow: hidden;
        color: rgba(255, 255, 255, .93);
        font-size: clamp(9px, 2.15vw, 12px);
        line-height: 1.32;
        text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .jm-home .jm-hero-carousel__actions {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        width: 100%;
        align-items: center;
    }

    .jm-home .jm-hero-carousel__button {
        min-height: 28px;
        padding: 7px 10px;
        font-size: 9px;
        line-height: 1;
    }

    .jm-home .jm-hero-carousel__button--secondary {
        color: #fff;
        border-color: rgba(255, 255, 255, .52);
        background: rgba(255, 255, 255, .08);
    }

    .jm-home .jm-hero-carousel__media-label {
        display: none;
    }

    /* Kontrol, navigasi, dan progress tetap berada di atas gambar. */
    .jm-home .jm-hero-carousel__controls {
        position: absolute;
        right: 12px;
        bottom: 9px;
        left: 12px;
        z-index: 5;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 7px;
        align-items: center;
        padding: 0;
        color: #fff;
        background: transparent;
    }

    .jm-home .jm-hero-carousel__count {
        color: #fff;
        font-size: 9px;
    }

    .jm-home .jm-hero-carousel__count span:last-child {
        color: rgba(255, 255, 255, .62);
    }

    .jm-home .jm-hero-carousel__dots {
        gap: 4px;
    }

    .jm-home .jm-hero-carousel__dots button {
        width: 13px;
        height: 3px;
        background: rgba(255, 255, 255, .48);
    }

    .jm-home .jm-hero-carousel__dots button.is-active {
        width: 23px;
        background: var(--hero-turquoise, #52c7b7);
    }

    .jm-home .jm-hero-carousel__arrows {
        gap: 5px;
    }

    .jm-home .jm-hero-carousel__arrows button {
        width: 27px;
        height: 27px;
        color: #fff;
        font-size: 13px;
        background: rgba(5, 25, 31, .3);
        border-color: rgba(255, 255, 255, .48);
    }

    .jm-home .jm-hero-carousel__progress {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 6;
        height: 3px;
        background: rgba(255, 255, 255, .18);
    }

    .jm-home .jm-hero-carousel__progress span {
        background: #193b3e !important;
    }
}

@media (max-width: 420px) {
    .jm-home .jm-hero-carousel__content {
        gap: 6px;
        padding: 9px 12px 47px;
    }

    .jm-home .jm-hero-carousel__eyebrow {
        margin-bottom: 4px;
        font-size: 7px;
        letter-spacing: .08em;
    }

    .jm-home .jm-hero-carousel h1,
    .jm-home .jm-hero-carousel h2 {
        font-size: clamp(16px, 4.9vw, 21px);
        line-height: 1.04;
    }

    .jm-home .jm-hero-carousel__description {
        margin-top: 4px;
        font-size: 9px;
        line-height: 1.27;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .jm-home .jm-hero-carousel__button {
        min-height: 25px;
        padding: 6px 8px;
        font-size: 8px;
    }

    .jm-home .jm-hero-carousel__controls {
        right: 10px;
        bottom: 7px;
        left: 10px;
    }
}

/* =========================================================
   PAST EVENTS — SHARED PAGINATION
   Satu gaya navigasi untuk seluruh halaman Past Event.
   Mengikuti palet teal, radius, dan tipografi JakMus.
========================================================= */
.jm-msk-past .pagination,
.jm-msk-mri-past .pagination,
.jm-jamss-past .pagination,
.jm-r3d-past .pagination,
.jm-studium-past .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.jm-msk-past .pagination .page-item,
.jm-msk-mri-past .pagination .page-item,
.jm-jamss-past .pagination .page-item,
.jm-r3d-past .pagination .page-item,
.jm-studium-past .pagination .page-item {
    margin: 0;
}

.jm-msk-past .pagination .page-link,
.jm-msk-mri-past .pagination .page-link,
.jm-jamss-past .pagination .page-link,
.jm-r3d-past .pagination .page-link,
.jm-studium-past .pagination .page-link {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: 8px;
    background: #fff;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    transition: color .2s ease, background-color .2s ease,
                border-color .2s ease, transform .2s ease;
}

.jm-msk-past .pagination a.page-link:hover,
.jm-msk-mri-past .pagination a.page-link:hover,
.jm-jamss-past .pagination a.page-link:hover,
.jm-r3d-past .pagination a.page-link:hover,
.jm-studium-past .pagination a.page-link:hover {
    border-color: var(--jm-teal, #2f7775);
    background: #edf5f1;
    color: var(--jm-teal-dark, #174c4e);
    transform: translateY(-1px);
}

.jm-msk-past .pagination .page-item.active .page-link,
.jm-msk-mri-past .pagination .page-item.active .page-link,
.jm-jamss-past .pagination .page-item.active .page-link,
.jm-r3d-past .pagination .page-item.active .page-link,
.jm-studium-past .pagination .page-item.active .page-link {
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    cursor: default;
}

.jm-msk-past .pagination .page-item.disabled .page-link,
.jm-msk-mri-past .pagination .page-item.disabled .page-link,
.jm-jamss-past .pagination .page-item.disabled .page-link,
.jm-r3d-past .pagination .page-item.disabled .page-link,
.jm-studium-past .pagination .page-item.disabled .page-link {
    border-color: #edf0ed;
    background: #f7f9f7;
    color: #a5b0ac;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 575px) {
    .jm-msk-past .pagination,
    .jm-msk-mri-past .pagination,
    .jm-jamss-past .pagination,
    .jm-r3d-past .pagination,
    .jm-studium-past .pagination {
        gap: 5px;
        margin-top: 26px;
    }

    .jm-msk-past .pagination .page-link,
    .jm-msk-mri-past .pagination .page-link,
    .jm-jamss-past .pagination .page-link,
    .jm-r3d-past .pagination .page-link,
    .jm-studium-past .pagination .page-link {
        min-width: 34px;
        min-height: 34px;
        padding: 7px 9px;
        font-size: 12px;
    }
}


/* =========================================================
   GALLERY, FACULTY & CONTRIBUTORS — SHARED PAGINATION
   Menggunakan gaya navigasi yang konsisten.
========================================================= */
.jm-gallery .jm-gallery-pagination .pagination,
.jm-faculty .jm-gallery-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.jm-gallery .jm-gallery-pagination .pagination .page-item,
.jm-faculty .jm-gallery-pagination .pagination .page-item {
    margin: 0;
}

.jm-gallery .jm-gallery-pagination .pagination .page-link,
.jm-faculty .jm-gallery-pagination .pagination .page-link {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: 8px;
    background: #fff;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    transition: color .2s ease, background-color .2s ease,
                border-color .2s ease, transform .2s ease;
}

.jm-gallery .jm-gallery-pagination .pagination a.page-link:hover,
.jm-faculty .jm-gallery-pagination .pagination a.page-link:hover {
    border-color: var(--jm-teal, #2f7775);
    background: #edf5f1;
    color: var(--jm-teal-dark, #174c4e);
    transform: translateY(-1px);
}

.jm-gallery .jm-gallery-pagination .pagination .page-item.active .page-link,
.jm-faculty .jm-gallery-pagination .pagination .page-item.active .page-link {
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
    cursor: default;
}

.jm-gallery .jm-gallery-pagination .pagination .page-item.disabled .page-link,
.jm-faculty .jm-gallery-pagination .pagination .page-item.disabled .page-link {
    border-color: #edf0ed;
    background: #f7f9f7;
    color: #a5b0ac;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 575px) {
    .jm-gallery .jm-gallery-pagination .pagination,
    .jm-faculty .jm-gallery-pagination .pagination {
        gap: 5px;
        margin-top: 26px;
    }

    .jm-gallery .jm-gallery-pagination .pagination .page-link,
    .jm-faculty .jm-gallery-pagination .pagination .page-link {
        min-width: 34px;
        min-height: 34px;
        padding: 7px 9px;
        font-size: 12px;
    }
}


/* =========================================================
   DIGITAL LIBRARY PAGINATION
   Konsisten dengan navigasi halaman JakMus.
========================================================= */
.jm-library-sg .pagination,
.jm-library-r3d .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin: 34px 0 0;
    padding: 0;
    list-style: none;
}

.jm-library-sg .pagination .page-item,
.jm-library-r3d .pagination .page-item {
    margin: 0;
}

.jm-library-sg .pagination .page-link,
.jm-library-r3d .pagination .page-link {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid var(--jm-line, #e4e8e4);
    border-radius: 8px;
    background: #fff;
    color: var(--jm-teal-dark, #174c4e);
    font-family: "Segoe UI", Calibri, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: none;
    transition: color .2s ease, background-color .2s ease,
                border-color .2s ease, transform .2s ease;
}

.jm-library-sg .pagination a.page-link:hover,
.jm-library-r3d .pagination a.page-link:hover {
    border-color: var(--jm-teal, #2f7775);
    background: #edf5f1;
    color: var(--jm-teal-dark, #174c4e);
    transform: translateY(-1px);
}

.jm-library-sg .pagination .page-item.active .page-link,
.jm-library-r3d .pagination .page-item.active .page-link {
    border-color: var(--jm-teal-dark, #174c4e);
    background: var(--jm-teal-dark, #174c4e);
    color: #fff;
}

@media (max-width: 575px) {
    .jm-library-sg .pagination,
    .jm-library-r3d .pagination {
        gap: 5px;
        margin-top: 26px;
    }

    .jm-library-sg .pagination .page-link,
    .jm-library-r3d .pagination .page-link {
        min-width: 34px;
        min-height: 34px;
        padding: 7px 9px;
        font-size: 12px;
    }
}
