/* Preserve Peterpan's #7c3aed brand, Noto Sans KR and original feature screens. */
.discovery-service-nav{max-width:1180px;margin:auto;display:flex;gap:30px;padding:0 0 13px;overflow-x:auto;scrollbar-width:none;white-space:nowrap;color:#746783;font-size:13px;font-weight:600}
.discovery-service-nav a{min-height:38px;display:inline-flex;align-items:center;border-bottom:2px solid transparent}
.discovery-service-nav a:hover,.discovery-service-nav a[aria-current]{color:var(--primary);border-color:var(--primary)}
.site-header .header-inner{min-height:86px;gap:20px;padding-block:17px}.site-header .brand-tagline{display:none}.site-header .header-search{flex:1;max-width:270px}.site-header .header-account{max-width:60%;gap:14px}
.discovery-page{--muted:#756b83;padding-bottom:85px}.discovery-page p{line-height:1.8}
.discovery-intro{position:relative;padding:46px 0 32px;text-align:center}
.discovery-eyebrow{display:block;font-size:12px;letter-spacing:.08em;font-weight:700;color:var(--primary);margin-bottom:14px}
.discovery-intro h1{font-size:clamp(28px,3.4vw,43px);line-height:1.4;font-weight:800;letter-spacing:-.055em}.discovery-intro h1 span{color:var(--primary)}
.discovery-intro>p{margin-top:15px;font-size:14px;color:var(--muted)}
.discovery-search{display:grid;grid-template-columns:1.45fr 1fr auto;align-items:center;max-width:920px;margin:28px auto 0;padding:10px;background:white;border:1px solid #d9c6f4;box-shadow:0 8px 30px #7c3aed0c;border-radius:18px;text-align:left}
.discovery-search label{padding:6px 18px;min-width:0}.discovery-search label+label{border-left:1px solid var(--border)}.discovery-search label>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#6b537e;margin-bottom:3px}
.discovery-search input,.discovery-search select{border:0;padding:5px 0;border-radius:4px;min-height:34px;font-size:14px;box-shadow:none;background:transparent}.discovery-search input::placeholder{color:#8d829b}.discovery-search .primary{padding:18px 25px;min-height:62px;border-radius:12px;font-size:15px}
.discovery-hints{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:16px;font-size:12px;color:var(--muted)}.discovery-hints a{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--border);border-radius:30px;padding:4px 12px;background:#fff}.discovery-hints a:hover{border-color:#b895eb;color:var(--primary)}
.discovery-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 28px}.discovery-shortcuts>a{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:14px;padding:19px 15px;transition:background .15s,border-color .15s}.discovery-shortcuts>a:hover{background:var(--lavender);border-color:#c5a5ed}.discovery-shortcuts>a>span{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:12px;background:var(--lavender);color:var(--primary)}.discovery-shortcuts strong{display:block;font-size:14px;letter-spacing:-.035em}.discovery-shortcuts small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.discovery-shortcuts>a>svg{margin-left:auto;color:#ae9aba}
.discovery-page .hero{min-height:190px;padding:26px 34px;grid-template-columns:1fr 270px;border-radius:18px;gap:24px;background:#eee5fd;margin-bottom:34px}.discovery-page .hero-copy{align-self:center;padding:0}.discovery-page .hero h2{font-size:25px;line-height:1.45;color:#4c296f;max-width:530px}.discovery-page .hero-copy>p{font-size:13px;color:#735a8d;margin-top:10px}.discovery-page .hero-visual{min-height:0;height:155px}.discovery-page .hero-photo{width:100%;height:155px;border-radius:12px}.discovery-page .ad-label{display:inline-block;margin-bottom:8px;color:#77548e}.discovery-page .carousel-controls{right:47px;bottom:20px}.discovery-page .carousel-controls button{min-width:28px;min-height:28px}.discovery-page .carousel-controls span{font-size:11px}
.discovery-page .explore-heading{margin-bottom:18px}.discovery-page .explore-heading h2{font-size:25px;color:var(--ink)}.discovery-page .explore-heading p{font-size:13px;color:var(--muted);margin-top:5px}.discovery-page .filter-line{margin-bottom:22px}.discovery-page .filter-chip{min-height:40px;padding:8px 18px;font-size:13px;color:#6c5b7d}.discovery-page .filter-chip.active{color:#fff}.discovery-page .result-meta{font-size:12px;color:var(--muted)}.discovery-page .home-map-actions .text-link{font-size:13px}
.discovery-page .academy-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.discovery-page .academy-list>.empty-state{grid-column:1/-1}.discovery-page .academy-row{display:flex;flex-direction:column;position:relative;gap:0;padding:0;border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#fff;transition:border-color .15s,box-shadow .15s;min-width:0}.discovery-page .academy-row:hover{border-color:#c4a4ec;box-shadow:0 7px 22px #55356c09}.discovery-page .academy-image{order:-1;width:100%;height:auto;aspect-ratio:1.85;border-radius:0;background:var(--lavender);margin:0}.discovery-page .academy-image img{width:100%;height:100%;border-radius:0}.discovery-page .academy-info{padding:20px 20px 10px}.discovery-page .academy-name{display:inline-block;font-size:19px;font-weight:800;line-height:1.5;color:var(--ink)}.discovery-page .academy-price{font-size:16px;font-weight:700;color:var(--primary);margin:7px 0}.discovery-page .academy-location{font-size:12px;color:var(--muted);gap:5px;margin:0}.discovery-page .academy-actions{display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:0 20px 20px;margin-top:auto}.discovery-page .academy-actions .tags{margin:0}.discovery-page .subject-tag{font-size:11px;padding:3px 10px}.discovery-page .academy-actions>.primary,.discovery-page .academy-actions>.secondary{width:100%;min-height:44px;font-size:13px;padding:10px 15px;border-radius:9px}
.discovery-card-tools{display:flex;gap:8px;padding-top:12px;border-top:1px solid #f1ebf7}.discovery-card-tools button{display:flex;justify-content:center;align-items:center;gap:6px;flex:1;min-height:36px;border:1px solid var(--border);border-radius:8px;font-size:12px;color:#766485;background:#fff}.discovery-card-tools button[aria-pressed=true]{background:var(--lavender);color:var(--primary);border-color:#c4a3f0}
.discovery-page .search-title{padding:15px 0 22px}.discovery-page .search-title h1{font-size:30px}.discovery-page .search-title p{color:var(--muted);font-size:14px}.discovery-page .search-filters{background:#faf8ff;border-radius:14px;border:1px solid #ece4f6;margin-bottom:0;padding:18px;gap:18px}.discovery-page .search-filters select{font-size:13px}.discovery-refinements{display:flex;align-items:flex-end;gap:16px;padding:18px 0;flex-wrap:wrap}.discovery-refinements>label{font-size:12px;color:var(--muted)}.discovery-refinements select{font-size:13px;padding:9px 30px 9px 11px;min-width:165px;margin-top:5px;min-height:42px}.discovery-refinements .discovery-saved-filter{display:flex;align-items:center;gap:8px;min-height:42px;font-size:13px}.discovery-reset{font-size:12px;margin-left:auto;min-height:42px}.discovery-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.discovery-active-filters button{border:1px solid #decbf5;background:var(--lavender);color:#6d40a0;border-radius:30px;font-size:12px;padding:7px 12px;min-height:36px}.discovery-active-filters span{margin-left:10px;font-size:16px}.discovery-page .search-status{font-size:13px;color:var(--muted);margin:6px 0 20px}

.discovery-page .empty-state h2{font-size:23px;color:var(--ink);margin-bottom:10px}.discovery-page .empty-state .primary{margin-top:22px}
@media(min-width:761px) and (max-width:1150px){.discovery-page .academy-list{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.discovery-service-nav{margin-inline:30px}.site-header .header-inner{gap:12px;flex-wrap:wrap}.site-header .header-account{max-width:100%;flex:1}.discovery-page .hero{grid-template-columns:1fr 230px}}
@media(max-width:760px){.site-header .header-inner{padding:14px 20px;gap:10px}.site-header .brand{flex:1 1 100px;min-width:100px}.site-header .brand strong{font-size:24px}.site-header .brand img{width:35px;height:35px}.site-header .header-location{display:none}.site-header .header-search{order:3;max-width:none;flex:1 1 100%;min-height:42px}.site-header .header-account{order:2;max-width:calc(100% - 122px);gap:10px;flex:0 1 auto}.site-header .header-account .profile-nav span:last-child{display:none}.site-header .header-account .profile-nav{display:inline-flex}.site-header .header-account .recruit-community-menu,.site-header .header-account .teaching-account-link{display:none}.site-header .community-nav{display:inline-flex}.site-header .community-nav>span:not(.community-count){display:none}.discovery-service-nav{gap:22px;padding:0 20px 5px;font-size:12px}.discovery-service-nav a{min-height:40px}.discovery-page{padding-bottom:40px}.discovery-intro{text-align:left;padding:20px 0 25px}.discovery-eyebrow{font-size:11px;margin-bottom:12px}.discovery-intro h1{font-size:29px;line-height:1.45}.discovery-intro>p{font-size:12px;max-width:290px;margin-top:10px}.discovery-search{grid-template-columns:1fr;margin-top:22px;padding:7px;border-radius:14px;gap:0}.discovery-search label{padding:11px 12px}.discovery-search label+label{border-left:0;border-top:1px solid var(--border)}.discovery-search input,.discovery-search select{font-size:14px;min-height:35px}.discovery-search .primary{min-height:48px;padding:12px 20px;font-size:14px}.discovery-hints{justify-content:flex-start;gap:7px;font-size:11px}.discovery-hints>span{display:none}.discovery-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:22px}.discovery-shortcuts>a{padding:13px 10px;gap:9px}.discovery-shortcuts>a>span{width:32px;height:35px;border-radius:9px}.discovery-shortcuts>a>span svg{width:20px}.discovery-shortcuts strong{font-size:12px}.discovery-shortcuts small{font-size:10px}.discovery-shortcuts>a>svg{display:none}.discovery-page .hero{padding:22px;grid-template-columns:1fr;min-height:200px;gap:15px;margin-bottom:28px}.discovery-page .hero h2{font-size:22px}.discovery-page .hero-copy>p{font-size:12px;max-width:240px}.discovery-page .hero-visual{display:none}.discovery-page .carousel-controls{right:18px;bottom:12px}.discovery-page .explore-heading h2{font-size:22px}.discovery-page .explore-heading p{font-size:12px}.discovery-page .filter-line{align-items:flex-start;gap:12px;flex-direction:column}.discovery-page .filter-chips{flex-wrap:wrap;gap:7px}.discovery-page .filter-chip{font-size:12px;padding:7px 13px;min-height:38px}.discovery-page .home-map-actions{width:100%;justify-content:space-between}.discovery-page .academy-list{grid-template-columns:1fr;gap:18px}.discovery-page .academy-image{aspect-ratio:1.95}.discovery-page .academy-info{padding:17px 18px 11px}.discovery-page .academy-actions{padding:0 18px 18px;gap:13px}.discovery-page .academy-name{font-size:19px}.discovery-page .academy-price{font-size:16px}.discovery-card-tools button{min-height:40px}.discovery-page .search-title h1{font-size:25px}.discovery-page .search-title p{font-size:12px}.discovery-page .search-filters{padding:14px;gap:12px}.discovery-refinements{gap:12px;display:grid;grid-template-columns:1fr 1fr}.discovery-refinements select{min-width:0;width:100%;font-size:12px;padding-right:10px}.discovery-refinements .discovery-saved-filter{font-size:12px}.discovery-reset{justify-self:end;margin:0}}
@media(prefers-reduced-motion:reduce){.discovery-shortcuts>a,.discovery-page .academy-row{transition:none}}

.discovery-service-nav::-webkit-scrollbar{display:none}
@media(max-width:420px){.site-header .header-account{gap:5px;flex-wrap:nowrap;max-width:calc(100% - 110px)}.site-header .community-nav{width:28px;min-width:28px;padding:0}.site-header .icon-button{width:30px;height:34px}.site-header .profile-nav .user-ring{width:28px;height:28px}.discovery-page .discovery-intro h1{font-size:27px}}

/* Keep Korean words together on narrow mobile screens. */
.discovery-intro h1{word-break:keep-all;overflow-wrap:break-word}

@media(max-width:760px){.site-header .header-account>a[href="/admin/owner-requests"]{display:none}.site-header .header-account>.platform-admin-nav{white-space:nowrap}}
