/* Uhakpeople shared language-school detail. All rules scoped; PHP 7.1 component companion.
   Reuses up-content-common design tokens without replacing existing global/camp/finder CSS. */
.up-language-detail{--ld-ink:var(--up-color-ink,#302838);--ld-body:var(--up-color-body,#514959);--ld-muted:var(--up-color-muted,#746a7c);--ld-accent:var(--up-color-accent,#67418c);--ld-line:var(--up-color-line,#b6a8c2);--ld-soft:var(--up-color-soft,#f6f2fa);font-family:var(--up-font-family,'Noto Sans KR','Apple SD Gothic Neo','Malgun Gothic',sans-serif);color:var(--ld-body);font-size:14px;font-weight:500;line-height:1.7;letter-spacing:-.025em;background:#fff;width:100%;margin:0;text-align:left}
.up-language-detail *,.up-language-detail *::before,.up-language-detail *::after{box-sizing:border-box}
.up-language-detail [hidden]{display:none!important}
.up-language-detail a{color:inherit;text-decoration:none}
.up-language-detail button,.up-language-detail a{touch-action:manipulation}
.up-language-detail button{font:inherit;cursor:pointer}
.up-language-detail a:focus-visible,.up-language-detail button:focus-visible,.up-language-detail summary:focus-visible,.up-language-detail [tabindex]:focus-visible{outline:2px solid var(--ld-accent);outline-offset:4px}
.up-language-detail h1,.up-language-detail h2,.up-language-detail h3,.up-language-detail p,.up-language-detail dl,.up-language-detail dd{margin:0;padding:0;font-family:inherit;text-transform:none;letter-spacing:inherit}
.up-language-detail h1,.up-language-detail h2,.up-language-detail h3{color:var(--ld-ink);font-weight:800;line-height:1.4}
.up-language-detail img{display:block;max-width:100%}
.up-language-detail .cd-wrap{width:100%;max-width:var(--ld-shell-width,var(--up-global-container-width,1120px));margin:0 auto;padding-left:var(--ld-shell-left,20px);padding-right:var(--ld-shell-right,20px)}
.up-language-detail .cd-breadcrumb{display:flex;align-items:center;gap:9px;padding-top:22px;font-size:12px;line-height:1.6;color:var(--ld-muted);flex-wrap:wrap}
.up-language-detail .cd-breadcrumb>a:last-child{margin-left:auto;color:var(--ld-accent);font-weight:750}
.up-language-detail .cd-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:45px;padding:30px 0 35px;align-items:center}
.up-language-detail .ld-location{font-size:12px;line-height:1.5;font-weight:750;color:var(--ld-accent);letter-spacing:.08em;margin-bottom:10px}
.up-language-detail .ld-hero-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}
.up-language-detail .ld-hero-topline .ld-location{min-width:0;margin:0;overflow-wrap:anywhere}
.up-language-detail .ld-share-badge{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex:none;min-height:34px;padding:5px 11px;border:1px solid var(--ld-line);border-radius:18px;background:var(--ld-soft);color:var(--ld-accent);font-size:12px;font-weight:750;line-height:1.4;white-space:nowrap}
.up-language-detail .ld-share-badge:hover{background:#eae1f3}
.up-language-detail .ld-share-badge svg{flex:none}
.up-language-detail .ld-share-badge:disabled{cursor:wait;opacity:.7}
.up-language-detail .ld-share-status:empty{display:none}
.up-language-detail .ld-share-status{font-size:12px;font-weight:650;color:var(--ld-accent);margin:0 0 9px}
.up-language-detail .ld-share-fallback{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 12px;padding:10px;border:1px solid var(--ld-line);border-radius:5px;background:var(--ld-soft);font-size:12px}
.up-language-detail .ld-share-fallback label{flex-basis:100%;margin:0;font-weight:700}
.up-language-detail .ld-share-fallback input{flex:1;min-width:0;width:100%;height:36px;border:1px solid var(--ld-line);border-radius:4px;background:white;color:var(--ld-ink);padding:6px 8px;font-size:16px}
.up-language-detail .ld-share-fallback button{min-height:36px;border:1px solid var(--ld-line);border-radius:4px;background:white;color:var(--ld-accent);padding:5px 9px;font-size:12px;font-weight:700}
.up-language-detail h1{font-size:38px;letter-spacing:-.065em;overflow-wrap:anywhere}
.up-language-detail .ld-english{font-size:14px;color:var(--ld-muted);margin-top:6px;letter-spacing:0}
.up-language-detail .cd-hero-lead{font-size:15px;line-height:1.85;margin-top:18px;word-break:keep-all;overflow-wrap:anywhere;font-weight:550}
.up-language-detail .cd-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:20px 0;border-top:1px solid var(--ld-line)}
.up-language-detail .cd-facts>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid var(--ld-line);font-size:12px;line-height:1.6;min-width:0}
.up-language-detail .cd-facts dt{color:var(--ld-muted);font-weight:600;flex:none}
.up-language-detail .cd-facts dd{font-weight:750;color:var(--ld-ink);text-align:right;word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .cd-actions{display:flex;gap:10px;flex-wrap:wrap}
.up-language-detail .cd-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:43px;border:1px solid var(--ld-line);border-radius:5px;padding:10px 19px;color:var(--ld-accent);background:var(--ld-soft);font-weight:750;font-size:13px;line-height:1.5}
.up-language-detail .cd-primary{background:var(--ld-accent);border-color:var(--ld-accent);color:white}
.up-language-detail .ld-hero-image{position:relative;display:block;border:0;border-radius:7px;overflow:hidden;background:var(--ld-soft);height:340px;min-width:0}
.up-language-detail .ld-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center}
.up-language-detail .ld-hero-image>span{position:absolute;bottom:12px;right:12px;border-radius:4px;padding:5px 10px;background:#23192acc;color:white;font-size:11px;font-weight:650}
.up-language-detail .cd-section-nav{position:sticky;top:var(--up-detail-sticky-top,0px);z-index:20;background:#fff;border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line)}
.up-language-detail .cd-section-nav .cd-wrap{display:flex;gap:32px;overflow-x:auto;scrollbar-width:thin}
.up-language-detail .cd-section-nav a{flex:none;font-size:13px;font-weight:750;padding:14px 0;color:var(--ld-ink);white-space:nowrap}
.up-language-detail .cd-section-nav a:hover{color:var(--ld-accent)}
.up-language-detail .cd-section{padding:35px 0;border-bottom:1px solid var(--ld-line);scroll-margin-top:calc(var(--up-detail-sticky-top,0px) + 65px)}
.up-language-detail .ld-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:19px}
.up-language-detail .ld-head h2{font-size:26px;letter-spacing:-.05em}
.up-language-detail .ld-head>p{font-size:12px;color:var(--ld-muted)}
.up-language-detail .ld-fee-meta{display:flex;flex-wrap:wrap;gap:5px 20px;justify-content:flex-end;font-size:12px;color:var(--ld-muted)}
.up-language-detail .ld-fee-meta strong{color:var(--ld-accent);font-weight:700}
.up-language-detail .ld-fee-meta time{font-variant-numeric:tabular-nums;margin-left:3px}
.up-language-detail .ld-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:thin;padding:2px 2px 7px;margin:0 -2px 11px}
.up-language-detail .ld-tabs a{display:flex;align-items:center;justify-content:center;flex:none;white-space:nowrap;min-height:42px;padding:9px 19px;border:1px solid var(--ld-line);border-radius:5px;background:white;color:var(--ld-body);font-size:13px;line-height:1.5;font-weight:750}
.up-language-detail .ld-tabs a[aria-selected=true]{background:var(--ld-accent);border-color:var(--ld-accent);color:white}
.up-language-detail .ld-tab-group>[data-tab-panel]+[data-tab-panel]{margin-top:15px}
.up-language-detail [data-ld-ready] [data-tab-panel]{margin-top:0}
.up-language-detail[data-ld-ready] .ld-tab-group>[data-tab-panel]{margin-top:0}
.up-language-detail .ld-fee-panel{background:#faf8fc;border:1px solid var(--ld-line);border-radius:6px;padding:23px;min-width:0}
.up-language-detail .ld-fee-caption{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.up-language-detail .ld-fee-caption h3{font-size:18px;line-height:1.5}
.up-language-detail .ld-fee-caption p{font-size:13px;font-weight:600;margin-top:4px;color:var(--ld-muted)}
.up-language-detail .ld-fee-caption>span{white-space:nowrap;color:var(--ld-muted);font-size:12px;padding-top:3px;flex:none}
.up-language-detail .ld-normal-price{margin:15px 0;padding:10px 12px;border-left:3px solid var(--ld-accent);background:#f0e9f6;color:var(--ld-accent);font-size:13px;font-weight:750;line-height:1.6}
.up-language-detail .ld-fee-rule{font-size:13px;line-height:1.7;margin:12px 0 15px;word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-fee-scroll{overflow-x:auto;border:1px solid var(--ld-line);border-radius:5px;scrollbar-width:thin;scrollbar-color:#b8a5c6 #f4eef8;-webkit-overflow-scrolling:touch;margin-top:15px;max-width:100%}
.up-language-detail .ld-fee-table{border-collapse:separate;border-spacing:0;width:100%;margin:0;font-variant-numeric:tabular-nums;font-size:15px;line-height:1.5;border:0;background:white}
.up-language-detail .ld-fee-table th,.up-language-detail .ld-fee-table td{min-width:105px;padding:16px 14px;text-align:right;border:0;border-right:1px solid #d2c8da;border-bottom:1px solid var(--ld-line);white-space:nowrap;font-weight:650;vertical-align:middle}
.up-language-detail .ld-fee-table tr>:last-child{border-right:0}
.up-language-detail .ld-fee-table tbody tr:last-child>*{border-bottom:0}
.up-language-detail .ld-fee-table thead th{background:#eee8f4;color:#4c3c5e;font-weight:750}
.up-language-detail .ld-fee-table tr>:first-child{min-width:90px;width:90px;text-align:left;position:sticky;left:0;z-index:1;box-shadow:1px 0 var(--ld-line)}
.up-language-detail .ld-fee-table tbody th{background:#faf8fc;color:var(--ld-body);font-weight:750}
.up-language-detail .ld-fee-table tbody td{background:white;color:var(--ld-ink)}
.up-language-detail .ld-fee-table .ld-fee-total>*{background:#f2edf7;color:var(--ld-accent);font-weight:800}
.up-language-detail .ld-swipe-hint{font-size:11px;color:var(--ld-muted);margin-top:9px}
.up-language-detail .ld-fee-exclusions{font-size:13px;line-height:1.7;margin-top:17px}
.up-language-detail .ld-fee-exclusions strong{display:block;margin-bottom:5px;color:var(--ld-ink);font-weight:750}
.up-language-detail .ld-official-note{margin-top:12px;font-size:12px;line-height:1.75;color:var(--ld-muted);word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-head+.ld-official-note{margin:0 0 15px}
.up-language-detail .ld-fee-extras{border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px;padding:20px 0;margin-top:20px}
.up-language-detail .ld-fee-extras>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.up-language-detail .ld-fee-extras span{font-size:12px;color:var(--ld-muted);font-weight:650}
.up-language-detail .ld-fee-extras strong{font-size:15px;color:var(--ld-ink);font-weight:750}
.up-language-detail .ld-fee-extras small{font-size:11px;line-height:1.65;color:var(--ld-muted);word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-note-details{margin-top:15px;font-size:12px;color:var(--ld-muted)}
.up-language-detail .ld-note-details summary{font-weight:700;cursor:pointer;padding:6px 0;color:var(--ld-body)}
.up-language-detail .ld-note-details p{margin:6px 0;line-height:1.8}
.up-language-detail .ld-quote-info{padding:20px 0 4px}
.up-language-detail .ld-quote-info>strong{font-size:23px;color:var(--ld-accent);font-weight:800}
.up-language-detail .ld-quote-info p{font-size:13px;margin-top:7px}
.up-language-detail .ld-quote-info a{display:inline-block;margin-top:14px;font-size:13px;font-weight:700;color:var(--ld-accent)}
.up-language-detail .ld-course-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.45fr);gap:30px}
.up-language-detail .ld-study-photo{width:100%;height:178px;object-fit:cover;object-position:50% 48%;border-radius:6px;margin-bottom:15px}
.up-language-detail .ld-course-overview h3{font-size:20px;margin-bottom:9px}
.up-language-detail .ld-course-overview p{font-size:13px;line-height:1.85;word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-program-facts{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px}
.up-language-detail .ld-program-facts>div{display:flex;gap:7px;font-size:12px}
.up-language-detail .ld-program-facts dt{color:var(--ld-muted);font-weight:500}
.up-language-detail .ld-program-facts dd{color:var(--ld-ink);font-weight:700}
.up-language-detail .ld-detail-facts{border-top:1px solid var(--ld-line)}
.up-language-detail .ld-detail-facts>div{display:grid;grid-template-columns:75px minmax(0,1fr);gap:12px;border-bottom:1px solid var(--ld-line);padding:13px 0;font-size:13px;line-height:1.8}
.up-language-detail .ld-detail-facts dt{font-weight:750;color:var(--ld-ink)}
.up-language-detail .ld-detail-facts dd{word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-feature{display:flex;align-items:center;gap:24px;padding:18px 20px;border:1px solid var(--ld-line);border-radius:5px;background:var(--ld-soft);margin-top:23px}
.up-language-detail .ld-feature>strong{font-size:14px;white-space:nowrap;color:var(--ld-accent)}
.up-language-detail .ld-feature>p{font-size:13px;line-height:1.7;font-weight:650}
.up-language-detail .ld-housing-list{border-top:1px solid var(--ld-line)}
.up-language-detail .ld-housing-info{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,.7fr);gap:20px;padding:15px 0;border-bottom:1px solid var(--ld-line);align-items:center}
.up-language-detail .ld-house-title>span{font-size:11px;font-weight:700;color:var(--ld-accent)}
.up-language-detail .ld-house-title h3{font-size:15px;margin:2px 0 5px}
.up-language-detail .ld-house-title p{font-size:12px;line-height:1.7;word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-house-rates{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 20px;text-align:right}
.up-language-detail .ld-house-rates>div{min-width:0}
.up-language-detail .ld-house-rates strong{font-weight:800;color:var(--ld-accent);font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}
.up-language-detail .ld-house-rates small{display:block;font-size:11px;color:var(--ld-muted);line-height:1.6}
.up-language-detail .ld-housing-empty{padding:18px 0;border-block:1px solid var(--ld-line);font-size:13px}
.up-language-detail .ld-map-link{font-size:12px;font-weight:750;color:var(--ld-accent);white-space:nowrap;border:1px solid var(--ld-line);border-radius:5px;padding:7px 12px;background:var(--ld-soft)}
.up-language-detail .ld-location-compact{display:grid;grid-template-columns:280px minmax(0,1fr);gap:22px;align-items:start}
.up-language-detail .ld-location-text{grid-template-columns:1fr}
.up-language-detail .ld-location-compact>img{width:100%;height:190px;object-fit:cover;object-position:50% 78%;border-radius:6px}
.up-language-detail .ld-location-compact dl{border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line)}
.up-language-detail .ld-location-compact dl>div{display:grid;grid-template-columns:60px minmax(0,1fr);gap:14px;border-bottom:1px solid #d4cbdc;padding:10px 0;font-size:13px;line-height:1.7}
.up-language-detail .ld-location-compact dl>div:last-child{border-bottom:0}
.up-language-detail .ld-location-compact dt{font-weight:750;color:var(--ld-muted)}
.up-language-detail .ld-location-compact dd{font-weight:650;color:var(--ld-ink);word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-location-compact dd span{font-size:12px;font-weight:500;color:var(--ld-muted);margin-left:12px}
.up-language-detail .ld-faq details{border-top:1px solid var(--ld-line)}
.up-language-detail .ld-faq details:last-child{border-bottom:1px solid var(--ld-line)}
.up-language-detail .ld-faq summary{display:flex;justify-content:space-between;align-items:center;gap:20px;list-style:none;padding:16px 0;font-size:14px;font-weight:750;color:var(--ld-ink);cursor:pointer}
.up-language-detail .ld-faq summary::-webkit-details-marker{display:none}
.up-language-detail .ld-faq summary::after{content:'+';font-size:20px;font-weight:500;color:var(--ld-accent)}
.up-language-detail .ld-faq details[open] summary::after{content:'−'}
.up-language-detail .ld-faq p{font-size:13px;line-height:1.85;padding:0 28px 16px 0;word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail #faq{border-bottom:0}
.up-language-detail .ld-promotion{padding:32px 0;background:var(--ld-accent);color:#fff;scroll-margin-top:calc(var(--up-detail-sticky-top,0px) + 65px);width:100%;margin:0}
.up-language-detail .ld-promotion-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
.up-language-detail .ld-promotion h2{font-size:29px;margin-bottom:10px;color:white;letter-spacing:-.04em}
.up-language-detail .ld-promotion p{font-size:14px;line-height:1.8;color:#fff}
.up-language-detail .ld-service-cta{display:inline-flex;justify-content:center;align-items:center;background:white;color:var(--ld-accent);border-radius:5px;padding:13px 23px;min-height:47px;font-size:14px;font-weight:800;flex:none}
.up-language-detail .ld-dialog{width:min(900px,94vw);max-height:90vh;padding:40px 15px 15px;border:0;border-radius:7px;background:#201928;color:#fff}
.up-language-detail .ld-dialog::backdrop{background:#17111edb}
.up-language-detail .ld-dialog img{max-height:78vh;width:100%;object-fit:contain}
.up-language-detail .ld-dialog button{position:absolute;right:10px;top:4px;background:none;border:0;font-size:28px;color:#fff;line-height:1;padding:5px 10px}
.up-language-detail .ld-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:960px){
 .up-language-detail .cd-hero{gap:25px}.up-language-detail h1{font-size:31px}.up-language-detail .cd-facts>div{display:block}.up-language-detail .cd-facts dd{text-align:left;margin-top:3px}.up-language-detail .ld-hero-image{height:320px}.up-language-detail .ld-fee-heading{align-items:flex-start}.up-language-detail .ld-fee-meta{max-width:350px}.up-language-detail .ld-course-panel{gap:20px}
}
@media(max-width:700px){
 .up-language-detail{font-size:13px}.up-language-detail .cd-breadcrumb{font-size:10px;gap:6px;padding-top:14px}.up-language-detail .cd-breadcrumb>a:last-child{font-size:10px}.up-language-detail .cd-hero{display:flex;flex-direction:column;gap:18px;padding:22px 0 24px}.up-language-detail .cd-hero-copy,.up-language-detail .ld-hero-image{width:100%}.up-language-detail .ld-location{font-size:11px;margin-bottom:7px}.up-language-detail h1{font-size:29px}.up-language-detail .ld-english{font-size:12px}.up-language-detail .cd-hero-lead{font-size:13px;line-height:1.8;margin-top:13px}.up-language-detail .cd-facts{gap:0 15px;margin:15px 0}.up-language-detail .cd-facts>div{font-size:12px;padding:8px 0}.up-language-detail .cd-facts dd{margin-top:3px}.up-language-detail .cd-actions{gap:8px;flex-wrap:nowrap}.up-language-detail .cd-actions .cd-button{flex:1;font-size:12px;padding:9px 7px;min-height:40px}.up-language-detail .ld-hero-image{height:210px}.up-language-detail .ld-hero-image>span{font-size:10px;bottom:9px;right:9px}.up-language-detail .cd-section-nav .cd-wrap{gap:23px}.up-language-detail .cd-section-nav a{font-size:12px;padding:12px 0}.up-language-detail .cd-section{padding:27px 0;scroll-margin-top:calc(var(--up-detail-sticky-top,0px) + 55px)}
 .up-language-detail .ld-head{gap:9px;margin-bottom:15px}.up-language-detail .ld-head h2{font-size:22px;flex:none}.up-language-detail .ld-head>p{font-size:11px}.up-language-detail .ld-fee-heading{display:block}.up-language-detail .ld-fee-meta{justify-content:flex-start;font-size:11px;margin-top:6px;gap:3px 13px;max-width:none}.up-language-detail .ld-tabs{gap:6px;margin-bottom:10px}.up-language-detail .ld-tabs a{font-size:12px;padding:9px 13px;min-height:40px}.up-language-detail .ld-fee-panel{padding:15px 13px}.up-language-detail .ld-fee-caption{flex-wrap:wrap;gap:5px}.up-language-detail .ld-fee-caption h3{font-size:15px}.up-language-detail .ld-fee-caption p{font-size:11px}.up-language-detail .ld-fee-caption>span{font-size:11px;margin-left:auto}.up-language-detail .ld-normal-price{font-size:12px;padding:9px 10px;margin:13px 0;word-break:keep-all}.up-language-detail .ld-fee-rule{font-size:12px;margin:11px 0 13px}.up-language-detail .ld-fee-table{font-size:14px}.up-language-detail .ld-fee-table th,.up-language-detail .ld-fee-table td{min-width:90px;padding:14px 11px}.up-language-detail .ld-fee-table tr>:first-child{min-width:72px;width:72px}.up-language-detail .ld-fee-exclusions{font-size:12px;margin-top:14px;word-break:keep-all}.up-language-detail .ld-fee-extras{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;padding:17px 0;margin-top:17px}.up-language-detail .ld-fee-extras strong{font-size:14px}.up-language-detail .ld-fee-extras small{font-size:11px}.up-language-detail .ld-official-note{font-size:11px}.up-language-detail .ld-note-details{font-size:11px}
 .up-language-detail .ld-course-panel{grid-template-columns:1fr;gap:16px}.up-language-detail .ld-study-photo{height:155px;margin-bottom:13px}.up-language-detail .ld-course-overview h3{font-size:18px}.up-language-detail .ld-course-overview p{font-size:12px}.up-language-detail .ld-detail-facts>div{grid-template-columns:64px minmax(0,1fr);gap:10px;font-size:12px;padding:10px 0}.up-language-detail .ld-feature{padding:13px;gap:15px;margin-top:18px}.up-language-detail .ld-feature>strong{font-size:12px}.up-language-detail .ld-feature>p{font-size:12px}.up-language-detail .ld-housing-info{grid-template-columns:minmax(0,1fr) minmax(90px,.66fr);gap:12px;padding:13px 0}.up-language-detail .ld-house-title h3{font-size:14px}.up-language-detail .ld-house-title p{font-size:11px}.up-language-detail .ld-house-rates{gap:8px}.up-language-detail .ld-house-rates strong{font-size:14px}.up-language-detail .ld-house-rates small{font-size:10px}.up-language-detail .ld-location-compact{grid-template-columns:1fr;gap:13px}.up-language-detail .ld-location-compact>img{height:145px}.up-language-detail .ld-location-compact dl>div{grid-template-columns:44px minmax(0,1fr);font-size:12px;gap:10px;padding:8px 0}.up-language-detail .ld-location-compact dd span{display:block;margin:0;font-size:11px}.up-language-detail .ld-map-link{font-size:11px;padding:6px 9px}.up-language-detail .ld-faq summary{font-size:13px;padding:13px 0}.up-language-detail .ld-faq p{font-size:12px}.up-language-detail .ld-promotion{padding:26px 0}.up-language-detail .ld-promotion-inner{display:block}.up-language-detail .ld-promotion h2{font-size:23px}.up-language-detail .ld-promotion p{font-size:12px;line-height:1.8}.up-language-detail .ld-service-cta{width:100%;font-size:13px;padding:12px;margin-top:18px}
}
@media(prefers-reduced-motion:reduce){.up-language-detail *{scroll-behavior:auto!important;transition:none!important}}

/* Same content edges as the existing common header; its own DOM/CSS remain untouched. */
.up-language-detail .ld-tuition-guidance{margin-top:16px;font-size:13px;line-height:1.8;color:var(--ld-body);word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-tuition-guidance p+p{margin-top:5px}
.up-language-detail .ld-housing-notice{margin:0 0 17px;padding:12px 15px;border:1px solid var(--ld-line);border-radius:5px;background:var(--ld-soft);font-size:13px;line-height:1.8;word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-housing-notice strong{margin-right:12px;color:var(--ld-accent);font-weight:750}
.up-language-detail .ld-house-rate-note{grid-column:1/-1;font-size:11px;line-height:1.7;color:var(--ld-muted);margin-top:-9px;word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail .ld-next-nav{background:#fff;padding:24px 0;border-bottom:1px solid var(--ld-line)}
.up-language-detail .ld-next-nav .cd-wrap{display:flex;gap:12px}
.up-language-detail .ld-next-nav .cd-button{flex:1;min-width:0;background:#faf8fc}
.up-language-detail .ld-promotion-inner>div{min-width:0}
.up-language-detail .ld-promotion h2,.up-language-detail .ld-promotion p{word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:1024px){.up-language-detail{--ld-shell-left:16px;--ld-shell-right:16px}}
@media(max-width:700px){
 .up-language-detail .ld-tuition-guidance,.up-language-detail .ld-housing-notice{font-size:12px}
 .up-language-detail .ld-housing-notice{padding:11px 12px}
 .up-language-detail .ld-housing-notice strong{display:block;margin-bottom:3px}
 .up-language-detail .ld-next-nav{padding:18px 0}
 .up-language-detail .ld-next-nav .cd-wrap{gap:8px}
 .up-language-detail .ld-next-nav .cd-button{font-size:12px;padding:11px 5px;white-space:nowrap}
}
@media(max-width:359px){.up-language-detail{--ld-shell-left:12px;--ld-shell-right:12px}.up-language-detail .ld-next-nav .cd-button{font-size:11px}}

/* Multi-country additions: original units, longer names, and existing campus content. */
.up-language-detail .cd-breadcrumb>*{min-width:0;overflow-wrap:anywhere}
.up-language-detail h1{word-break:keep-all}
.up-language-detail .ld-year-value{display:block;margin-bottom:5px}
.up-language-detail .ld-house-rates{flex-wrap:wrap;min-width:0}
.up-language-detail .ld-house-rates>div{min-width:0}
.up-language-detail .ld-house-rates strong{white-space:normal;overflow-wrap:anywhere}
.up-language-detail .ld-school-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.up-language-detail .ld-school-gallery figure{margin:0}
.up-language-detail .ld-school-gallery img{width:100%;height:230px;object-fit:cover;border-radius:6px}
.up-language-detail .ld-school-gallery figcaption{font-size:12px;color:var(--ld-muted);margin-top:7px}
.up-language-detail .up-promo-section{margin:0;padding:28px 0;border-bottom:1px solid var(--ld-line)}
.up-language-detail .up-promo-section>.up-container{width:100%;max-width:100%;padding-left:0;padding-right:0}
.up-language-detail [data-phil-local-payment]{margin:16px 0;font-size:13px;color:var(--ld-accent)}
.up-language-detail .ld-special-offer{border-top:2px solid var(--ld-accent)}
.up-language-detail .ld-special-offer .ld-head{flex-wrap:wrap}
.up-language-detail .ld-special-offer .ld-head h2{max-width:100%;overflow-wrap:anywhere;white-space:normal}
.up-language-detail .ld-fee-conditions .ld-official-note{margin-top:10px}
.up-language-detail .ld-fee-table td{overflow-wrap:anywhere}
@media(max-width:600px){
 .up-language-detail .ld-school-gallery{grid-template-columns:1fr;gap:14px}
 .up-language-detail .ld-school-gallery img{height:180px}
 .up-language-detail .cd-breadcrumb>a:last-child{margin-left:0}
 .up-language-detail .ld-house-rates{justify-content:flex-start;text-align:left}
 .up-language-detail .ld-housing-info{grid-template-columns:minmax(0,1fr) minmax(100px,.8fr)}
}
