/* Catalog sizing is unchanged; the guide uses official Campus decorations. */
@media (min-width: 1024px) {
  .header .uweb-catalog__dropdown { grid-template-columns: 280px minmax(0, 1fr); max-width: 900px !important; }
  .header-menu > ul li.uweb-catalog .uweb-catalog__section { grid-template-columns: 42px minmax(0, 1fr) 18px; gap: 10px; min-height: 120px; }
}
.header-menu > ul li.uweb-catalog .uweb-catalog__section-copy strong { font-size: 17px !important; line-height: 1.4 !important; white-space: normal; }
.header-menu > ul li.uweb-catalog .uweb-catalog__section.is-active::after { height: calc(100% - 22px); }
.uweb-catalog__product .icon img[src*="/course-menu/"] { object-fit: contain; }

.yl-campus-guide { --yl-guide-ink: #07129e; --yl-guide-accent: #10afe0; }
.yl-campus-guide .htw-wr { margin-top: 32px; }
.yl-campus-guide .htw-swiper .swiper-slide { height: auto; }
.yl-campus-guide .htw-swiper-wr { height: 100%; margin: 0; padding: 28px; gap: 28px; border: 1px solid #d7edf0; border-radius: 34px; background: #eef8f9; align-items: stretch; flex-wrap: nowrap; }
.yl-campus-guide .htw-swiper-box { width: 36%; flex: 0 0 36%; padding: 18px 8px; border-radius: 0; background: none; justify-content: center; }
.yl-campus-guide .htn-swiper-box-underittle { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; padding: 0; background: none; border-radius: 0; width: auto; font-size: 14px; font-weight: 500; color: var(--yl-guide-ink); }
.yl-guide-step { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; flex: 0 0 54px; border-radius: 18px; color: var(--yl-guide-ink); background: #f8c637; box-shadow: 4px 4px 0 #07129e; font-size: 28px; font-weight: 700; transform: rotate(5deg); }
.yl-campus-guide .htw-swiper-box h4 { color: var(--yl-guide-ink); font-size: clamp(25px, 2.15vw, 34px); line-height: 1.2; margin: 0 0 18px; font-weight: 600; }
.yl-campus-guide .htw-swiper-box p { color: #172247; font-size: 18px; line-height: 1.65; margin: 0 0 10px; }
.yl-guide-note { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 13px 16px; border-radius: 15px; background: #fff; border: 1px solid #d1e4eb; color: var(--yl-guide-ink); font-size: 15px; line-height: 1.4; font-weight: 500; }
.yl-guide-note-icon { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; color: #fff; background: #24b997; font-size: 15px; }
.yl-campus-guide .htw-swiper-wr .img.yl-guide-visual { flex: 1 1 0; width: auto; min-width: 0; height: auto; min-height: 430px; display: flex; align-items: center; padding: 26px 22px 32px !important; background: #d8f1f5 !important; border-radius: 26px; overflow: hidden; position: relative; isolation: isolate; }
.yl-guide-visual::before { content: ''; position: absolute; width: 280px; height: 280px; top: -175px; right: -90px; background: #f8c637; border-radius: 50%; z-index: -1; }
.yl-guide-visual::after { content: ''; position: absolute; width: 250px; height: 160px; bottom: -100px; left: 30px; border: 2px dashed #10afe066; border-radius: 50%; transform: rotate(-18deg); z-index: -1; }
.yl-campus-guide .swiper-slide:nth-child(2) .yl-guide-visual { background: #fff1c9 !important; }
.yl-campus-guide .swiper-slide:nth-child(3) .yl-guide-visual { background: #e8e7fc !important; }
.yl-campus-guide .swiper-slide:nth-child(4) .yl-guide-visual { background: #d9f4e9 !important; }
.yl-campus-guide .swiper-slide:nth-child(5) .yl-guide-visual { background: #e2efff !important; }
.yl-campus-capture { position: relative; z-index: 1; width: 100%; margin: 0; padding: 14px; background: #fff; border: 1px solid #c9dce7; border-radius: 20px; box-shadow: 0 12px 0 -7px #07129e17, 0 18px 28px #07129e12; }
.yl-guide-screen-label { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 12px; padding: 0 20px 10px 0; border-bottom: 1px solid #e6edf3; color: var(--yl-guide-ink); font-size: 11px; line-height: 1.4; font-weight: 500; }
.yl-guide-screen-label [dir="ltr"] { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.yl-guide-screen-label [dir="ltr"]::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #f8c637; box-shadow: -11px 0 0 #24b997; margin-left: 11px; }
.yl-guide-screen-label a { color: var(--yl-guide-ink); text-decoration: underline; text-underline-offset: 3px; }
.yl-guide-screen-label a:focus-visible { outline: 2px solid #10afe0; outline-offset: 3px; border-radius: 3px; }
.yl-guide-screen { position: relative; width: 100%; max-width: var(--yl-guide-screen-width, 100%); margin: 0 auto; border-radius: 12px; }
.yl-guide-screen picture { display: block; }
.yl-campus-guide .htw-swiper-wr .yl-guide-screen img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 12px; }
.yl-guide-focus { position: absolute; z-index: 3; pointer-events: none; border: 2px solid #10afe0; border-radius: 12px; box-shadow: 0 0 0 3px #ffffffb3; }
.yl-campus-capture figcaption { display: flex; align-items: center; gap: 8px; padding: 12px 0 0 62px; margin: 12px 0 0; border-top: 1px solid #e6edf3; font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--yl-guide-ink); }
.yl-guide-number { display: inline-flex; flex: 0 0 24px; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; color: var(--yl-guide-ink); background: #f8c637; font-size: 13px; font-weight: 600; }
.yl-guide-bee { position: absolute; z-index: 4; bottom: 5px; left: 5px; width: 84px; height: 113px; background: url('/assets/img/campus-guide/bee-v1.webp') center / contain no-repeat; pointer-events: none; filter: drop-shadow(0 6px 5px #07129e14); transform: rotate(-10deg); }
.yl-guide-coins { position: absolute; z-index: 4; top: 5px; right: 5px; width: 46px; height: 46px; background: url('/assets/img/campus-guide/coin-v1.svg') center / contain no-repeat; transform: rotate(12deg); pointer-events: none; filter: drop-shadow(0 4px 3px #b47b1630); }
.yl-guide-coins::after { content: ''; position: absolute; width: 29px; height: 29px; top: 36px; right: -2px; background: inherit; transform: rotate(-22deg); }
.yl-guide-spark { position: absolute; z-index: 0; left: 9px; top: 13px; width: 23px; height: 23px; background: #f8c637; clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%); }
.yl-campus-guide .htw-swiper-arrow { position: relative; inset: auto; justify-content: center; margin-top: 24px; }

@media (min-width: 768px) and (max-width: 1023px) {
  .yl-campus-guide .htw-swiper-wr { gap: 18px; padding: 20px; }
  .yl-campus-guide .htw-swiper-box { width: 39%; flex-basis: 39%; }
  .yl-campus-guide .htw-swiper-box p { font-size: 16px; }
  .yl-campus-guide .htw-swiper-wr .img.yl-guide-visual { min-height: 400px; margin: 0; padding: 24px 14px 30px !important; }
  .yl-campus-guide .htw-swiper-box h4 { font-size: 25px; }
  .yl-campus-capture { padding: 10px; }
  .yl-campus-capture figcaption { padding-left: 36px; font-size: 11px; }
  .yl-guide-bee { width: 65px; height: 87px; left: 0; }
}
@media (max-width: 767px) {
  .header-menu > ul li.uweb-catalog .uweb-catalog__section-copy strong { font-size: 16px !important; }
  .yl-campus-guide .htw-swiper-wr { flex-direction: column; gap: 0; padding: 10px; border-radius: 24px; height: auto; }
  .yl-campus-guide .htw-swiper-wr .img.yl-guide-visual { flex: none; min-height: 0; margin: 0; padding: 25px 12px 30px !important; border-radius: 18px; }
  .yl-campus-guide .htw-swiper-box { flex: none; width: 100%; padding: 24px 8px 12px; }
  .yl-campus-guide .htn-swiper-box-underittle { font-size: 12px; gap: 10px; margin-bottom: 16px; }
  .yl-guide-step { flex-basis: 36px; width: 36px; height: 36px; border-radius: 12px; font-size: 21px; box-shadow: 3px 3px 0 #07129e; }
  .yl-campus-guide .htw-swiper-box h4 { font-size: 25px; margin-bottom: 13px; }
  .yl-campus-guide .htw-swiper-box p { font-size: 16px; line-height: 1.55; margin-bottom: 8px; }
  .yl-guide-note { margin-top: 12px; padding: 10px; font-size: 13px; }
  .yl-campus-capture { padding: 10px; border-radius: 14px; }
  .yl-guide-screen-label { margin-bottom: 8px; padding-bottom: 8px; font-size: 9px; gap: 8px; }
  .yl-guide-screen-label [dir="ltr"] { font-size: 10px; }
  .yl-campus-capture figcaption { font-size: 11px; gap: 6px; padding: 10px 0 0 40px; margin-top: 8px; }
  .yl-guide-number { flex-basis: 21px; width: 21px; height: 21px; font-size: 11px; }
  .yl-guide-bee { width: 64px; height: 86px; left: 0; bottom: 2px; }
  .yl-guide-coins { width: 33px; height: 33px; top: 3px; right: 2px; }
  .yl-guide-coins::after { width: 20px; height: 20px; top: 26px; right: -1px; }
  .yl-guide-focus { border-radius: 7px; box-shadow: 0 0 0 2px #ffffffb3; }
  .yl-campus-guide .htw-swiper-arrow { position: static; margin: 0 0 15px; justify-content: flex-end; }
}
