.prestige-school-detail{--psd-navy:#10284f;--psd-blue:#1f5ea8;--psd-sky:#edf5ff;--psd-gold:#c89b3c;--psd-ink:#1c2733;--psd-muted:#667085;--psd-line:#e5eaf1;--psd-card:#fff;--psd-radius:22px;--psd-shadow:0 16px 38px rgba(16,40,79,.10);font-family:inherit;color:var(--psd-ink);line-height:1.65;background:#fff;padding-bottom:64px}.prestige-school-detail *{box-sizing:border-box}.psd-wrap{max-width:1140px;margin:0 auto;padding:0 22px}.psd-hero{background:linear-gradient(135deg,#0d2348 0%,#1c5ea7 64%,#58a6d9 100%);color:#fff;padding:76px 0 52px;position:relative;overflow:hidden}.psd-hero:after{content:"";position:absolute;right:-120px;top:-100px;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.12)}.psd-eyebrow{font-size:13px;letter-spacing:.16em;text-transform:uppercase;font-weight:800;color:#d9ecff;margin:0 0 12px}.psd-hero h1{font-size:clamp(34px,5vw,58px);line-height:1.08;margin:0 0 16px;color:#fff!important}.psd-hero-sub{max-width:760px;font-size:19px;margin:0 0 24px;color:#f1f7ff!important}.psd-badges{display:flex;gap:10px;flex-wrap:wrap}.psd-badge{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:8px 13px;background:rgba(255,255,255,.12);font-size:13px;font-weight:700}.psd-nav{position:relative;z-index:1;background:rgba(255,255,255,.98);border-top:1px solid var(--psd-line);border-bottom:1px solid var(--psd-line);box-shadow:0 8px 20px rgba(16,40,79,.05)}.psd-nav .psd-wrap{display:flex;gap:8px;overflow-x:auto;padding-top:12px;padding-bottom:12px}.psd-nav a{white-space:nowrap;text-decoration:none;color:var(--psd-navy);font-weight:800;font-size:14px;border:1px solid var(--psd-line);border-radius:999px;padding:8px 13px;background:#fff}.psd-section{padding:54px 0;border-bottom:1px solid #f0f3f7;scroll-margin-top:110px}.psd-section h2{font-size:clamp(25px,3.2vw,38px);line-height:1.2;margin:0 0 14px;color:var(--psd-navy)}.psd-lead{font-size:17px;color:#475467;max-width:860px;margin:0 0 26px}.psd-grid{display:grid;gap:18px}.psd-grid.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.psd-grid.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.psd-card{background:var(--psd-card);border:1px solid var(--psd-line);border-radius:var(--psd-radius);padding:24px;box-shadow:var(--psd-shadow)}.psd-card h3{font-size:19px;margin:0 0 10px;color:var(--psd-navy)}.psd-card p,.psd-card li{color:#475467}.psd-card ul{margin:0;padding-left:20px}.psd-info-list{display:grid;grid-template-columns:180px 1fr;gap:0;border:1px solid var(--psd-line);border-radius:18px;overflow:hidden;background:#fff}.psd-info-list dt,.psd-info-list dd{padding:14px 16px;border-bottom:1px solid var(--psd-line);margin:0}.psd-info-list dt{font-weight:900;color:var(--psd-navy);background:#f8fbff}.psd-info-list dd{color:#344054}.psd-info-list dt:last-of-type,.psd-info-list dd:last-child{border-bottom:0}.psd-link{color:var(--psd-blue);font-weight:800;text-decoration:none;word-break:break-word}.psd-note{background:#fff8e6;border:1px solid #f1d391;border-radius:16px;padding:16px 18px;color:#5a410c}.psd-map-placeholder{min-height:250px;border:0;border-radius:20px;background:#eef6ff;overflow:hidden;box-shadow:var(--psd-shadow)}.psd-map-placeholder iframe{width:100%;height:100%;min-height:250px;border:0;display:block}.psd-resource-row{display:grid;gap:14px}.psd-resource{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid var(--psd-line);border-radius:18px;padding:16px 18px;background:#fff}.psd-resource strong{color:var(--psd-navy)}.psd-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:10px 16px;text-decoration:none;font-weight:900;border:1px solid transparent}.psd-btn.primary{background:var(--psd-blue);color:#fff}.psd-btn.ghost{background:#fff;color:var(--psd-blue);border-color:#bdd4ef}.psd-cta{background:#10284f;color:#fff;border-radius:26px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:22px}.psd-cta h2{color:#fff!important;margin:0 0 8px}.psd-cta p{color:#d9e7f7!important;margin:0}.psd-cta .psd-btn{background:#fff;color:#10284f}.psd-video-frame{position:relative;overflow:hidden;border-radius:24px;box-shadow:var(--psd-shadow);background:#000;aspect-ratio:16/9}.psd-video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.psd-photo-carousel{position:relative;max-width:1040px;margin:0 auto}.psd-photo-stage{position:relative;overflow:hidden;border-radius:28px;aspect-ratio:16/8;background:#dbe7f5;box-shadow:var(--psd-shadow);margin:0}.psd-main-photo{position:absolute;inset:0;margin:0;opacity:0;transform:translateX(18px);transition:opacity .28s ease,transform .28s ease}.psd-main-photo.is-active{opacity:1;transform:translateX(0);z-index:1}.psd-main-photo img{width:100%;height:100%;object-fit:cover;display:block}.psd-carousel-control{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:68px;height:68px;border:0;border-radius:999px;background:rgba(16,40,79,.90);color:#fff!important;display:flex;align-items:center;justify-content:center;font-size:0!important;text-indent:-9999px;overflow:hidden;cursor:pointer;box-shadow:0 14px 30px rgba(16,40,79,.28);user-select:none;text-decoration:none}.psd-carousel-control:before{content:"";display:block;width:22px;height:22px;border-top:6px solid #fff;border-left:6px solid #fff;text-indent:0}.psd-carousel-prev{left:18px}.psd-carousel-next{right:18px}.psd-carousel-prev:before{transform:rotate(-45deg);margin-left:8px}.psd-carousel-next:before{transform:rotate(135deg);margin-right:8px}.psd-carousel-control:hover{background:var(--psd-blue)}.psd-thumb-strip{display:flex;justify-content:center;gap:12px;overflow-x:auto;padding:16px 4px 4px;margin:0 -4px;-webkit-overflow-scrolling:touch;scrollbar-width:none}.psd-thumb-strip::-webkit-scrollbar{display:none}.psd-thumb{flex:0 0 118px;aspect-ratio:4/3;overflow:hidden;border-radius:15px;background:#dbe7f5;border:3px solid transparent;box-shadow:0 8px 18px rgba(16,40,79,.12);cursor:pointer;opacity:.72;transition:opacity .2s ease,border-color .2s ease,transform .2s ease;padding:0}.psd-thumb:hover,.psd-thumb.is-active{opacity:1}.psd-thumb.is-active{border-color:var(--psd-gold)}.psd-thumb:hover{transform:translateY(-2px)}.psd-thumb img{width:100%;height:100%;object-fit:cover;display:block}.psd-photo-hint{margin:12px 0 0;color:#667085;font-size:14px;text-align:center}@media(max-width:820px){.psd-grid.cols-3,.psd-grid.cols-2{grid-template-columns:1fr}.psd-photo-stage{aspect-ratio:4/3}.psd-carousel-control{width:54px;height:54px}.psd-carousel-control:before{width:18px;height:18px;border-top-width:5px;border-left-width:5px}.psd-carousel-prev{left:10px}.psd-carousel-next{right:10px}.psd-thumb-strip{justify-content:flex-start}.psd-thumb{flex-basis:92px}.psd-info-list{grid-template-columns:1fr}.psd-info-list dt{border-bottom:0;padding-bottom:6px}.psd-info-list dd{padding-top:0}.psd-resource,.psd-cta{align-items:flex-start;flex-direction:column}.psd-hero{padding:56px 0 42px}}@media(max-width:520px){.psd-wrap{padding:0 16px}.psd-nav .psd-wrap{gap:6px}.psd-nav a{font-size:13px;padding:7px 10px}.psd-card{padding:19px}.psd-section{padding:42px 0}.psd-cta{padding:24px 20px}}@media(prefers-reduced-motion:reduce){.prestige-school-detail *{transition:none!important;scroll-behavior:auto!important}}.psd-nav a:focus-visible,.psd-btn:focus-visible,.psd-carousel-control:focus-visible,.psd-thumb:focus-visible{outline:3px solid rgba(200,155,60,.55);outline-offset:3px}


/* Hide WordPress/theme page titles on generated Prestige school detail pages.
   The school title remains inside the plugin hero; the WP post title stays available in admin. */
body.psd-hide-theme-title .title_container,
body.psd-hide-theme-title .stretch_full.container_wrap.title_container,
body.psd-hide-theme-title header.entry-content-header,
body.psd-hide-theme-title .entry-content-wrapper > header.entry-content-header,
body.psd-hide-theme-title h1.entry-title,
body.psd-hide-theme-title .main-title,
body.psd-hide-theme-title .post-title,
body.psd-hide-theme-title .page-title,
body.psd-hide-theme-title article.post-entry .entry-content-header,
body.psd-hide-theme-title article.post-entry h1.post-title{display:none!important}
body.psd-hide-theme-title .prestige-school-detail{margin-top:0}


/* Prestige legacy detail posts use the Enfold single-post template after Avia builder cleanup.
   Hide the old featured-image/blog-meta block, but keep the renderer in a normal centered content frame. */
body.psd-school-detail-page.single-post .blog-meta,
body.psd-school-detail-page.single-post .small-preview,
body.psd-school-detail-page.single-post .big-preview,
body.psd-school-detail-page.single-post .post_delimiter,
body.psd-school-detail-page.single-post .post_author_timeline,
body.psd-school-detail-page.single-post .post-meta-infos{display:none!important}
body.psd-school-detail-page.single-post main.content,
body.psd-school-detail-page.single-post .template-single-blog,
body.psd-school-detail-page.single-post article.post-entry,
body.psd-school-detail-page.single-post .entry-content-wrapper,
body.psd-school-detail-page.single-post .entry-content-wrapper.standard-content{float:none!important;clear:both!important;width:100%!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important}
body.psd-school-detail-page.single-post .entry-content{float:none!important;clear:both!important;width:100%!important;max-width:1140px!important;margin-left:auto!important;margin-right:auto!important;padding-left:22px!important;padding-right:22px!important}
body.psd-school-detail-page.single-post .entry-content > .prestige-school-detail{width:100%!important;max-width:1140px!important;margin:0 auto 64px!important;border-radius:0;background:#fff;overflow:hidden}
body.psd-school-detail-page.single-post .entry-content > .prestige-school-detail .psd-wrap{max-width:1040px}
body.psd-school-detail-page.single-post .entry-content > .prestige-school-detail .psd-hero,
body.psd-school-detail-page.single-post .entry-content > .prestige-school-detail .psd-nav,
body.psd-school-detail-page.single-post .entry-content > .prestige-school-detail .psd-section{width:auto!important}
@media (max-width: 767px){body.psd-school-detail-page.single-post .entry-content{padding-left:0!important;padding-right:0!important}body.psd-school-detail-page.single-post .entry-content > .prestige-school-detail{margin-bottom:32px!important}}


/* Korean school-detail copy should not split syllables awkwardly inside cards.
   Keep Korean words together while still allowing long English/URL tokens to wrap safely. */
.prestige-school-detail,
.prestige-school-detail p,
.prestige-school-detail li,
.prestige-school-detail h1,
.prestige-school-detail h2,
.prestige-school-detail h3,
.prestige-school-detail dd,
.prestige-school-detail dt,
.prestige-school-detail a,
.prestige-school-detail span{word-break:keep-all;overflow-wrap:break-word;hyphens:none}
.prestige-school-detail .psd-card,
.prestige-school-detail .psd-card p,
.prestige-school-detail .psd-card h3{white-space:normal;min-width:0}
.prestige-school-detail .psd-grid{align-items:stretch}


/* Enfold/theme content styles can justify paragraphs, which stretches Korean card copy.
   School detail cards should read like clean left-aligned editorial copy. */
.prestige-school-detail,
.prestige-school-detail .psd-section,
.prestige-school-detail .psd-lead,
.prestige-school-detail .psd-card,
.prestige-school-detail .psd-card h3,
.prestige-school-detail .psd-card p,
.prestige-school-detail .psd-card li{text-align:left!important;text-justify:auto;word-spacing:normal}
.prestige-school-detail .psd-card p{max-width:none;margin-left:0;margin-right:0}


/* Keep the legacy post renderer body contained, but let the blue hero return to full-bleed width.
   The hero background spans the viewport; the hero text remains centered inside the normal wrap. */
body.psd-school-detail-page.single-post .entry-content > .prestige-school-detail{overflow:visible}
body.psd-school-detail-page.single-post .entry-content > .prestige-school-detail .psd-hero{width:100vw!important;max-width:100vw!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
body.psd-school-detail-page.single-post .entry-content > .prestige-school-detail .psd-hero .psd-wrap{max-width:1040px;margin-left:auto;margin-right:auto}
