.hv1-menu-toggle { display: none; }

@media (max-width: 1100px) {
  .hv1 {
    --u: .75px;
    width: 100%;
    min-width: 0;
    font-size: 16px;
  }
  .hv1-wrap,
  .hv1-hybrid .hv1-teacher-card { width: min(760px, calc(100% - 40px)); }
  .hv1 svg { width: 20px; height: 20px; }

  .hv1-header { height: 72px; }
  .hv1-header-inner { width: calc(100% - 32px); padding: 0; gap: 8px; }
  .hv1-brand { width: clamp(158px, 43vw, 206px); height: 52px; gap: 4px; }
  .hv1-brand .hv1-brand-mark { width: 25%; height: 100%; }
  .hv1-brand-wordmark { width: 73%; height: 100%; }
  .hv1-brand-wordmark img { width: 138%; left: -38%; }
  .hv1-header-actions { margin-left: auto; gap: 4px; }
  .hv1-search,
  .hv1-login,
  .hv1 .hv1-menu-toggle { display: grid; place-items: center; width: 38px; height: 40px; flex: 0 0 38px; border: 0 !important; border-radius: 4px; }
  .hv1-search { background: #f0f6f9 !important; }
  .hv1-login { background: var(--navy) !important; }
  .hv1-search svg,
  .hv1-login svg,
  .hv1-menu-toggle svg { width: 21px; height: 21px; }
  .hv1-login-label,
  .hv1-chevron { display: none; }
  .hv1 .hv1-menu-toggle { background: #eef5f8; color: var(--navy); }
  .hv1-nav { display: none; position: absolute; top: 100%; left: 0; width: 100%; height: auto; max-height: calc(100dvh - 72px); margin: 0; padding: 8px 20px 20px; overflow-y: auto; background: #fff; box-shadow: 0 12px 24px #163e7828; }
  .hv1-nav.is-open { display: block; }
  .hv1-nav > ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
  .hv1-nav > ul > li { border-bottom: 1px solid #e1eaf0; }
  .hv1-nav > ul > li > a { justify-content: flex-start; width: 100%; height: 44px; font-size: 16px; font-weight: 700; }
  .hv1-nav > ul > li > a::after { display: none; }
  .hv1-nav .hv1-submenu,
  .hv1-nav li:hover > .hv1-submenu,
  .hv1-nav li:focus-within > .hv1-submenu { display: block; position: static; min-width: 0; padding: 0 0 8px !important; box-shadow: none; border-radius: 0; }
  .hv1-nav .hv1-submenu .hv1-submenu { padding-left: 10px !important; }
  .hv1-nav .hv1-submenu a { padding: 7px 2px; white-space: normal; font-size: 13px; line-height: 1.45; color: #52718a; }

  .hv1-hero-shell,
  .hv1-hero,
  .activity-carousel { height: clamp(220px, 57vw, 440px); min-height: 0; }
  .activity-carousel { --activity-main-width: 100%; background: #e9f2f7; }
  .activity-carousel__slide[data-position="previous"],
  .activity-carousel__slide[data-position="next"] { opacity: 0; pointer-events: none; }
  .activity-carousel__link,
  .activity-carousel__slide[data-position="current"] .activity-carousel__link { box-shadow: none; }
  .activity-carousel .activity-carousel__image,
  .activity-carousel .activity-carousel__campus-base,
  .activity-carousel .activity-carousel__campus-ribbons img,
  .activity-carousel .campus-scene__building,
  .activity-carousel .campus-scene__lettering { object-fit: contain; }
  .activity-carousel__slide[data-kind="campus"] .activity-carousel__link { background: #eff9fd; }

  .hv1-quick { height: auto; }
  .hv1-quick .hv1-wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; padding: 12px 0; }
  .hv1-quick a { height: 62px; gap: 10px; min-width: 0; }
  .hv1-quick-icon { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 5px; }
  .hv1-quick-icon svg { width: 24px; height: 24px; }
  .hv1-quick strong { font-size: 16px; white-space: nowrap; }
  .hv1-quick small { margin-top: 2px; font-size: 10px; white-space: nowrap; }
  .hv1-quick a > svg { display: none; }

  .hv1-hybrid :is(.hv1-news, .hv1-activities, .hv1-courses, .hv1-ethics) .hv1-section-heading,
  .hv1-hybrid .hv1-ethics .hv1-section-heading { height: auto; min-height: 100px; padding: 30px 0 22px; gap: 16px; }
  .hv1-hybrid :is(.hv1-news, .hv1-activities, .hv1-courses, .hv1-teachers, .hv1-ethics) .hv1-section-title h2 { font-size: 28px; line-height: 38px; }
  .hv1-hybrid :is(.hv1-news, .hv1-activities, .hv1-courses, .hv1-teachers, .hv1-ethics) .hv1-section-subtitle { font-size: 10px; line-height: 15px; letter-spacing: 0; padding-bottom: 12px; }
  .hv1-hybrid :is(.hv1-news, .hv1-activities, .hv1-courses, .hv1-ethics) .hv1-section-heading > .hv1-more { min-height: 40px; margin: 0; align-self: flex-start; white-space: nowrap; font-size: 13px; }

  .hv1-hybrid .hv1-news { height: auto; padding-bottom: 32px; }
  .hv1-hybrid .hv1-news-feature { height: auto; }
  .hv1-hybrid .hv1-news-slide { height: auto; flex-direction: column-reverse; }
  .hv1-hybrid .hv1-news-image { display: block; flex: none; height: clamp(180px, 50vw, 320px); }
  .hv1-hybrid .hv1-news-copy { width: 100%; min-height: 178px; padding: 24px 20px 20px; background: #1e3c78; }
  .hv1-hybrid .hv1-news-meta { font-size: 12px; line-height: 1.5; color: #bfd6e5; }
  .hv1-hybrid .hv1-news-copy h3 { margin-top: 12px; font-size: 19px; line-height: 29px; }
  .hv1-hybrid .hv1-news-copy .hv1-more { margin-top: 12px; font-size: 13px; }
  .hv1-hybrid .hv1-news-tag { height: 30px; padding: 0 10px; font-size: 11px; }
  .hv1-news-controls { top: calc(clamp(180px, 50vw, 320px) - 42px); bottom: auto; right: 10px; gap: 6px; opacity: 1; }
  .hv1-news-controls button { width: 32px; height: 32px; font-size: 22px; }
  .hv1-hybrid .hv1-news-briefs { display: grid; grid-template-columns: 1fr; gap: 0; padding: 12px 0; }
  .hv1-hybrid .hv1-news-brief { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid #d6e3ea; }
  .hv1-hybrid .hv1-news-brief-image { display: block; width: 84px; aspect-ratio: 4 / 3; overflow: hidden; }
  .hv1-hybrid .hv1-news-brief h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 14px; line-height: 21px; }
  .hv1-hybrid .hv1-news-brief time { display: block; margin-top: 4px; color: #6b8494; font-size: 12px; }
  .hv1-hybrid .hv1-notices { display: block; height: auto; margin: 4px 0 0; }
  .hv1-hybrid .hv1-notice-heading { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 16px; border-bottom: 1px solid #d8e5ec; }
  .hv1-hybrid .hv1-notice-heading > svg { display: none; }
  .hv1-hybrid .hv1-notice-heading h3 { margin: 0; font-size: 20px; }
  .hv1-hybrid .hv1-notice-heading a { position: static; margin: 0; font-size: 13px; }
  .hv1-hybrid .hv1-notice-list { display: grid; grid-template-columns: 1fr; padding: 0 16px; }
  .hv1-hybrid .hv1-notice-card { padding: 12px 0; border-right: 0; border-bottom: 1px solid #e3edf1; }
  .hv1-hybrid .hv1-notice-card:first-child { border-left: 0; }
  .hv1-hybrid .hv1-notice-card:last-child { border-bottom: 0; }
  .hv1-hybrid .hv1-notice-card time { font-size: 12px; }
  .hv1-hybrid .hv1-notice-card h3 { margin-top: 4px; font-size: 14px; line-height: 21px; }

  .hv1-hybrid .hv1-activities { height: auto; padding-bottom: 32px; }
  .hv1-hybrid .hv1-activity-columns { display: grid; grid-template-columns: 1fr; height: auto; gap: 20px; }
  .hv1-hybrid .hv1-training-top { height: auto; min-height: 70px; padding: 12px 16px; }
  .hv1-hybrid .hv1-training-top > div { display: block; }
  .hv1-hybrid .hv1-training-top h3 { font-size: 20px; }
  .hv1-hybrid .hv1-training-top span { margin-top: 2px; font-size: 12px; }
  .hv1-hybrid .hv1-training-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 4px 10px; height: auto; min-height: 104px; padding: 12px; }
  .hv1-hybrid .hv1-training-row::after { left: 12px; right: 12px; }
  .hv1-hybrid .hv1-day { grid-column: 1; grid-row: 1 / 3; width: 48px; align-self: center; }
  .hv1-hybrid .hv1-day strong { font-size: 25px; }
  .hv1-hybrid .hv1-day small { font-size: 10px; }
  .hv1-hybrid .hv1-training-name { grid-column: 2 / 4; grid-row: 1; width: auto; }
  .hv1-hybrid .hv1-training-name > a { font-size: 16px; line-height: 23px; }
  .hv1-hybrid .hv1-training-name > span { margin-top: 3px; font-size: 11px; }
  .hv1-hybrid .hv1-training-state { grid-column: 2; grid-row: 2; text-align: left; }
  .hv1-hybrid .hv1-training-state small { justify-content: flex-start; margin-top: 3px; font-size: 11px; }
  .hv1-hybrid .hv1-training-row .hv1-more,
  .hv1-hybrid .hv1-training-row .hv1-more.hv1-filled { grid-column: 3; grid-row: 2; width: auto; min-width: 62px; min-height: 36px; padding: 0 8px; margin: 0; justify-content: center; font-size: 12px; }
  .hv1-hybrid .hv1-lectures > h3 { height: 60px; padding: 0 16px; font-size: 20px; }
  .hv1-hybrid .hv1-lecture-card { height: auto; min-height: 120px; padding: 18px 16px; border-bottom: 1px solid #cfe5dd; }
  .hv1-hybrid .hv1-lecture-card h3 { height: auto; margin: 8px 0; font-size: 16px; line-height: 24px; }
  .hv1-hybrid .hv1-lecture-bottom { font-size: 13px; }

  .hv1-hybrid .hv1-courses { height: auto; padding-bottom: 28px; }
  .hv1-hybrid .hv1-courses .hv1-section-heading { height: auto; padding-top: 30px; }
  .hv1-hybrid .hv1-course-grid { grid-template-columns: 1fr; gap: 0; }
  .hv1-hybrid .hv1-course-card { height: auto; min-height: 116px; }
  .hv1-hybrid .hv1-course-entry { grid-template-columns: clamp(94px, 30vw, 144px) minmax(0, 1fr) 18px; gap: 12px; min-height: 116px; padding: 14px 0; }
  .hv1-hybrid .hv1-course-info h3 { max-height: 48px; font-size: 15px; line-height: 24px; }
  .hv1-hybrid .hv1-course-meta { display: block; margin-top: 5px; font-size: 11px; line-height: 17px; }
  .hv1-hybrid .hv1-course-lecturer { -webkit-line-clamp: 1; }
  .hv1-hybrid .hv1-course-duration { margin-top: 2px; }
  .hv1-hybrid .hv1-course-arrow svg { width: 18px; height: 18px; }

  .hv1-hybrid .hv1-teachers { height: auto; padding: 0 0 36px; }
  .hv1-hybrid .hv1-teacher-card { height: auto; }
  .hv1-hybrid .hv1-teacher-card > .hv1-section-title { position: static; padding: 30px 0 22px; }
  .hv1-hybrid .hv1-teacher-slide { display: flex; flex-direction: column-reverse; gap: 18px; height: auto; }
  .hv1-hybrid .hv1-teacher-copy { position: static; width: 100%; }
  .hv1-hybrid .hv1-teacher-copy h3 { font-size: 30px; line-height: 42px; }
  .hv1-hybrid .hv1-teacher-position { display: block; margin: 0; font-size: 13px; }
  .hv1-hybrid .hv1-teacher-copy p { margin-top: 10px; font-size: 14px; line-height: 24px; }
  .hv1-hybrid .hv1-teacher-copy p + p { margin-top: 8px; }
  .hv1-hybrid .hv1-teacher-photo { position: static; display: block; width: 100%; height: 245px; border-radius: 4px; }
  .hv1-hybrid .hv1-teacher-photo img { object-position: center 20%; }
  .hv1-hybrid .hv1-teacher-controls { position: static; display: flex; align-items: center; gap: 14px; width: 100%; margin-top: 22px; }
  .hv1-hybrid .hv1-teacher-thumbnails { gap: 10px; }
  .hv1-hybrid .hv1-teacher-thumbnails button,
  .hv1-hybrid .hv1-teacher-arrows button { width: 40px; height: 40px; }
  .hv1-hybrid .hv1-teacher-arrows { gap: 8px; margin: 0; }
  .hv1-hybrid .hv1-teacher-arrows button { font-size: 22px; }
  .hv1-hybrid .hv1-teacher-controls > .hv1-more { width: auto; min-height: 38px; margin: 0; }

  .hv1-hybrid .hv1-ethics { height: auto; padding-bottom: 32px; }
  .hv1-hybrid .hv1-ethics .hv1-section-heading { display: block; }
  .hv1-hybrid .hv1-ethics-tabs { width: 100%; margin-top: 20px; padding-bottom: 4px; gap: 20px; overflow-x: auto; }
  .hv1-hybrid .hv1-ethics-tabs button,
  .hv1-hybrid .hv1-ethics-tabs > a { height: 40px; flex: 0 0 auto; font-size: 14px; }
  .hv1-hybrid .hv1-ethics-grid { grid-template-columns: 1fr; gap: 12px; }
  .hv1-hybrid .hv1-ethics-card { grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 4px 12px; height: 130px; padding: 12px; }
  .hv1-hybrid .hv1-ethics-title { align-self: start; font-size: 16px; line-height: 23px; }
  .hv1-hybrid .hv1-ethics-bottom { font-size: 12px; }

  .hv1-footer { height: auto; }
  .hv1-footer::before { left: 20px; width: 180px; height: 4px; }
  .hv1-footer-main { height: auto; padding: 36px 0; background-size: auto 150px; }
  .hv1-footer-main .hv1-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
  .hv1-footer-brand { grid-column: 1 / -1; }
  .hv1-footer-brand img { width: min(300px, 100%); height: auto; }
  .hv1-footer-brand > h3 { margin-top: 18px; font-size: 22px; }
  .hv1-footer-brand > p { margin-top: 4px; font-size: 14px; }
  .hv1-footer-brand > div { margin-top: 18px; gap: 10px; }
  .hv1-footer-brand button { width: 116px; height: 38px; gap: 6px; font-size: 12px; border-radius: 4px; }
  .hv1-footer-brand button svg { width: 16px; height: 16px; }
  .hv1-footer-contact > h3,
  .hv1-footer-links > h3 { margin-bottom: 16px; padding-bottom: 16px; font-size: 18px; }
  .hv1-footer-contact > h3::after,
  .hv1-footer-links > h3::after { bottom: 6px; }
  .hv1-contact-item { gap: 10px; margin-bottom: 16px; }
  .hv1-contact-item > span { width: 32px; height: 32px; flex: 0 0 32px; }
  .hv1-contact-item svg { width: 18px; height: 18px; }
  .hv1-contact-item small { font-size: 11px; }
  .hv1-contact-item p { margin-top: 2px; font-size: 13px; overflow-wrap: anywhere; }
  .hv1-footer-links a { height: auto; min-height: 40px; margin-bottom: 7px; padding: 6px 10px; gap: 8px; font-size: 12px; border-radius: 4px; }
  .hv1-footer-links a span { font-size: 17px; }
  .hv1-copyright { height: auto; padding: 16px 20px; font-size: 11px; }
  .hv1-copyright small { font-size: 10px; }
}

@media (min-width: 700px) and (max-width: 1100px) {
  .hv1-wrap,
  .hv1-hybrid .hv1-teacher-card { width: min(980px, calc(100% - 48px)); }
  .hv1-quick .hv1-wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hv1-hybrid .hv1-news-feature { height: 330px; }
  .hv1-hybrid .hv1-news-slide { height: 100%; flex-direction: row-reverse; }
  .hv1-hybrid .hv1-news-image { flex: 1; height: 100%; }
  .hv1-hybrid .hv1-news-copy { width: 45%; min-height: 0; display: flex; flex-direction: column; justify-content: center; }
  .hv1-news-controls { top: auto; bottom: 10px; }
  .hv1-hybrid .hv1-news-briefs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hv1-hybrid .hv1-news-brief { grid-template-columns: 74px minmax(0, 1fr); }
  .hv1-hybrid .hv1-news-brief-image { width: 74px; }
  .hv1-hybrid .hv1-notice-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .hv1-hybrid .hv1-course-grid,
  .hv1-hybrid .hv1-ethics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
  .hv1-hybrid .hv1-ethics-grid { gap: 16px; }
  .hv1-hybrid .hv1-teacher-photo { width: min(460px, 100%); height: 300px; }
}

@media (max-width: 599px) {
  .hv1-footer-main .hv1-wrap { grid-template-columns: 1fr; gap: 26px; }
  .hv1-footer-brand { grid-column: auto; }
  .hv1-quick small { display: none; }
  .hv1-hybrid .hv1-teacher-photo { height: 210px; }
  .hv1-hybrid .hv1-teacher-controls > .hv1-more { flex-basis: 100%; }
}

@media (max-width: 350px) {
  .hv1-header-inner { width: calc(100% - 24px); gap: 2px; }
  .hv1-brand { width: 154px; }
  .hv1-search,
  .hv1-login,
  .hv1 .hv1-menu-toggle { width: 34px; flex-basis: 34px; }
  .hv1-quick a { gap: 6px; }
  .hv1-quick-icon { width: 36px; height: 36px; flex-basis: 36px; }
  .hv1-quick strong { font-size: 14px; }
  .hv1-hybrid .hv1-ethics-card { grid-template-columns: 94px minmax(0, 1fr); }
}
