.drop-trigger{display:inline-flex!important;align-items:center;justify-content:center;gap:5px;min-height:44px;line-height:1;cursor:pointer}
.drop-trigger svg{width:12px;height:12px;flex:none;transition:transform .2s ease}
.dropdown:hover .drop-trigger svg,.dropdown:has(:focus-visible) .drop-trigger svg{transform:rotate(180deg)}
.dropdown:focus-within .drop-menu{display:none}
.dropdown:hover .drop-menu,.dropdown:has(:focus-visible) .drop-menu{display:grid}
.btn svg{display:block;width:16px;height:16px;flex:0 0 16px}
.btn{white-space:nowrap;gap:8px}
.course-card .arrow{right:13px;bottom:12px;width:28px;height:28px;border:1.5px solid #3b74bd;color:#1c559b;box-shadow:0 2px 5px #173e7820;transition:background .2s,color .2s,transform .2s}
.course-card .arrow svg{width:16px;height:16px;display:block}
.course-card a:hover .arrow,.course-card a:focus-visible .arrow{background:#1c559b;color:#fff;transform:translateX(2px)}
.detail-link{display:inline-flex!important;align-items:center;gap:6px;min-height:32px}
.detail-link svg,.text-link svg,.detail-aside .btn svg,.article-end .btn svg{width:16px;height:16px;vertical-align:middle}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:#3d5882}
.breadcrumbs a:hover,.text-link:hover{text-decoration:underline}
.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:44px;align-items:start;padding-top:50px;padding-bottom:60px}
.detail-main{min-width:0}.detail-main h2{margin:14px 0 18px}.detail-main h3{margin-top:30px;margin-bottom:10px}.detail-main p{font-size:14px;line-height:1.75}
.detail-cover{width:100%;height:280px;object-fit:cover;border-radius:22px;margin-bottom:30px}
.check-list{padding-left:0;list-style:none;display:grid;gap:12px}.check-list li{position:relative;padding-left:29px}.check-list li:before{content:'✓';position:absolute;left:0;top:1px;display:grid;place-items:center;width:19px;height:19px;border-radius:50%;background:#ddecff;color:#1c559b;font-size:12px;font-weight:800}
.detail-aside{border:1px solid #d9e9fa;border-radius:20px;background:#f4f9ff;padding:24px;position:sticky;top:24px}.detail-aside p{font-size:12px}.detail-aside .btn{width:100%;padding:11px}.text-link{display:inline-flex;align-items:center;gap:6px;color:#1c559b;font-weight:700;font-size:12px;margin-top:18px}
.listing-intro{max-width:610px;margin-bottom:27px}.listing-intro h2{margin:7px 0 12px}.listing-intro p{font-size:13px}
.teacher-grid{grid-template-columns:repeat(4,1fr)}.teacher-card img{height:215px;object-fit:cover;object-position:center top}.teacher-card h3{font-size:14px}.teacher-card p{min-height:80px}
.content-card>a:first-child{display:block;margin:0}.content-card>a:first-child h3{margin-left:18px;margin-right:18px}.content-card>a:first-child:hover h3{text-decoration:underline}
.teacher-detail .detail-main{display:grid;grid-template-columns:220px 1fr;gap:28px;align-items:start}.teacher-portrait{width:100%;aspect-ratio:3/4;object-fit:cover;object-position:center top;border-radius:20px}.disclosure{font-size:12px!important;color:#526a8e;border-left:3px solid #9bbce6;padding-left:12px}
.article-detail{max-width:760px;padding-top:45px;padding-bottom:70px}.article-detail .detail-cover{height:310px}.article-lead{font-size:17px;font-weight:600;line-height:1.7}.article-detail section{margin-top:30px}.article-detail section h2{font-size:23px;margin-bottom:10px}.article-detail section p{font-size:14px;line-height:1.8}.article-end{border-top:1px solid #dce8f8;margin-top:40px;padding-top:24px;display:flex;gap:12px;flex-wrap:wrap}
.map-section{padding-bottom:70px}.map-frame{overflow:hidden;border-radius:22px;border:1px solid #c6dbf4;box-shadow:0 12px 30px #23487914}.map-frame iframe{width:100%;height:390px;display:block;border:0}
@media(max-width:850px){.teacher-grid{grid-template-columns:repeat(2,1fr)}.detail-layout{grid-template-columns:minmax(0,1fr) 220px;gap:24px}}
@media(max-width:680px){.drop-trigger{justify-content:flex-start;min-height:44px}.drop-menu,.dropdown:focus-within .drop-menu,.dropdown:hover .drop-menu{display:grid;position:static;box-shadow:none;padding:0 0 0 14px;width:auto}.detail-layout{grid-template-columns:1fr;padding-top:32px}.detail-aside{position:static}.teacher-detail .detail-main{grid-template-columns:1fr}.teacher-portrait{max-width:320px}.article-detail .detail-cover,.detail-cover{height:220px}.map-frame iframe{height:300px}}
@media(max-width:400px){.teacher-grid{gap:10px}.teacher-card img{height:160px}.teacher-card h3{font-size:12px}.teacher-card p{min-height:0}.teacher-card .detail-link{font-size:10px}}

/* Mobile navigation drawer */
.mobile-nav-head,.menu-backdrop{display:none}
@media(max-width:680px){
  body.menu-open{overflow:hidden}
  .menu-toggle{width:44px;height:44px;display:grid;place-items:center;flex:none;border-radius:10px}
  .menu-toggle:hover{background:#eef5ff}
  .menu-backdrop{display:block;position:fixed;inset:0;background:#09214b80;z-index:29;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .32s ease,visibility .32s ease}
  .menu-backdrop.visible{opacity:1;visibility:visible;pointer-events:auto}
  .nav,.nav.open{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;position:fixed;top:0;bottom:0;left:0;right:auto;width:min(84vw,330px);height:100dvh;padding:20px 22px 32px;background:#fff;box-shadow:18px 0 40px #08204826;z-index:30;overflow-y:auto;transform:translateX(-105%);visibility:hidden;pointer-events:none;transition:transform .34s cubic-bezier(.22,1,.36,1),visibility .34s ease}
  .nav.open{transform:translateX(0);visibility:visible;pointer-events:auto}
  .mobile-nav-head{display:flex;align-items:center;justify-content:space-between;min-height:52px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid #e4edf9;font-size:16px}
  .menu-close{display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:#eef5ff;color:#0c2054;font-size:18px;line-height:1}
  .nav>a,.nav .drop-trigger{display:flex!important;width:100%;min-height:53px;height:auto;padding:14px 4px;border-bottom:1px solid #e8eff9;font-size:14px;line-height:1.4;text-align:left;font-weight:700}
  .nav>a.active:after,.nav>a:hover:after{display:none}
  .nav>a.active{color:#1f67ad}
  .nav .dropdown{width:100%;height:auto}
  .nav .drop-trigger{justify-content:flex-start}
  .nav .drop-trigger svg{display:none}
  .nav .drop-menu,.nav .dropdown:hover .drop-menu,.nav .dropdown:focus-within .drop-menu,.nav .dropdown:has(:focus-visible) .drop-menu{display:none!important}
}
