/* Institute opening hours: native schedule and original reference illustration. */
.card.hours-card { position: relative; isolation: isolate; container-type: inline-size; min-width: 0; overflow: hidden; border: 1px solid #fff; border-radius: 18px; background: #fff9fa; color: #080c1a; box-shadow: 0 6px 20px rgb(131 48 59 / .08); }
.hours-card__header { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; min-height: 67px; padding: 14px 12px; }
.hours-card__header::after { content: ''; position: absolute; left: 0; bottom: 0; width: 70%; height: 1px; background: #f3e7e9; }
.hours-card__header h2 { min-width: 0; margin: 0; color: #080c1a; font-size: clamp(16px,5.3cqw,20px); font-weight: 800; line-height: 1.17; letter-spacing: -.035em; }
.hours-card__header em { color: #c0000c; font-style: normal; }
.hours-card__title-icon { display: grid; place-items: center; flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; background: #fce5e7; color: #c80012; }
.hours-card__title-icon svg { width: 27px; height: 27px; stroke-width: 1.8; }
.hours-card__schedule { position: relative; z-index: 2; display: grid; gap: 0; width: 100%; margin: 0; padding: 13px 12px 70px; }
.hours-card__schedule > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 63%; min-height: 53px; padding: 10px 0; }
.hours-card__schedule > div + div { border-top: 1px dashed #ded1d6; }
.hours-card__schedule dt { flex: 0 0 auto; color: #625e6b; font-size: 13px; font-weight: 650; line-height: 1.3; }
.hours-card__schedule dd { min-width: 0; margin: 0; color: #0c1022; font-size: 13px; font-weight: 800; line-height: 1.3; letter-spacing: -.025em; white-space: nowrap; }
.hours-card__schedule dd > span { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 27px; padding: 5px 8px; border-radius: 18px; background: #fce4e7; }
.hours-card__schedule .hours-card__closed { color: #c30013; }
.hours-card__closed svg { width: 16px; height: 16px; flex-shrink: 0; }
.hours-card__corner, .hours-card__art, .hours-card__wave { position: absolute; pointer-events: none; }
.hours-card__corner { z-index: 0; top: 0; right: 0; width: 38%; height: 105px; background: url('/images/teachers/paper-corner-20261203.svg') right top / 100% 100% no-repeat; }
.hours-card__art { z-index: 1; top: 110px; bottom: -1px; right: -1px; width: min(50%,150px); background: url('/images/hours/calendar-clock-cutout-v2-20261203.webp') right bottom / contain no-repeat; }
.hours-card__wave { z-index: 1; bottom: -1px; left: -1px; right: -1px; height: 25px; background: url('/images/admissions/footer-wave-20261203.svg') center bottom / 100% 100% no-repeat; }
@container (max-width: 280px) {
    .hours-card__schedule { padding-inline: 10px; padding-bottom: 78px; }
    .hours-card__schedule > div { width: 65%; gap: 6px; }
    .hours-card__schedule dt, .hours-card__schedule dd { font-size: 12px; }
    .hours-card__schedule dd > span { padding-inline: 6px; }
    .hours-card__art { width: min(50%,150px); }
}
@container (min-width: 440px) {
    .hours-card__header { gap: 14px; min-height: 80px; padding: 16px 22px; }
    .hours-card__header h2 { font-size: clamp(22px,4.2cqw,34px); }
    .hours-card__title-icon { width: 48px; height: 48px; border-radius: 15px; }
    .hours-card__title-icon svg { width: 35px; height: 35px; }
    .hours-card__schedule { padding: 22px 24px 70px; }
    .hours-card__schedule > div { width: 62%; min-height: 65px; }
    .hours-card__schedule dt, .hours-card__schedule dd { font-size: clamp(15px,2.7cqw,23px); }
    .hours-card__schedule dd > span { min-height: 35px; padding: 6px 13px; }
    .hours-card__art { top: 80px; width: 39%; }
    .hours-card__corner { height: 150px; }
    .hours-card__wave { height: 38px; }
}

.mobile-info-grid > .hours-card { grid-column: 1 / -1; }
