/* Shared title typography: change these values to update titles site-wide. */
:root {
  --dewford-body-font-family: "Pretendard", Arial, sans-serif;
  --body-font-family: var(--dewford-body-font-family);
  --dewford-title-font-family: "Playfair Display", "Pretendard", Georgia, serif;
  --dewford-title-font-weight: 700;
  --dewford-title-letter-spacing: .035em;
  --dewford-default-title-font-family: var(--dewford-body-font-family);
  --heading-font-family: var(--dewford-default-title-font-family);
  --style-font-family: var(--dewford-default-title-font-family);
}

/* Shared main/subpage chrome. Scoped away from page-specific content. */
@scope (:root) to (#main-content) {
:root { --dewford-purple: #52196d; --id-color: #52196d; }
:is(.dewford-home,.dewford-subpage) .dewford-header { background-color: var(--id-color); }
:is(.dewford-home,.dewford-subpage) .dewford-header:not(.is-scrolled) { background-color: transparent; }
:is(.dewford-home,.dewford-subpage) .dewford-header.is-scrolled, :is(.dewford-home,.dewford-subpage) .dewford-drawer, :is(.dewford-home,.dewford-subpage) .dewford-drawer::backdrop { background-color: var(--id-color); }
:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two { background-color: var(--id-color); }
:is(.dewford-home,.dewford-subpage) .dewford-floating-links a { background: rgb(242, 242, 242); color: rgb(41, 41, 41); border-left-color: var(--id-color); }
:is(.dewford-home,.dewford-subpage) .dewford-floating-links a > svg, :is(.dewford-home,.dewford-subpage) .dewford-floating-links a:hover > svg { transform: rotate(-45deg); }
:is(.dewford-home,.dewford-subpage) .dewford-scroll-top { background: rgb(52, 52, 52); color: rgb(255, 255, 255); }
:is(.dewford-home,.dewford-subpage) .dewford-scroll-top .pxl-scroll-progress-circle path { stroke: rgb(183, 183, 183); }
:is(.dewford-home,.dewford-subpage) .dewford-kakao-floating { background: rgb(230, 230, 230); }
:is(.dewford-home,.dewford-subpage) .dewford-kakao-floating > img { filter: grayscale(1); }
:is(.dewford-home,.dewford-subpage) :is(.dewford-floating-links a, .dewford-scroll-top, .dewford-kakao-floating) { transition: background-color 0.22s, color 0.22s, border-color 0.22s; }
:is(.dewford-home,.dewford-subpage) :is(.dewford-floating-links a, .dewford-scroll-top, .dewford-kakao-floating):is(:hover, :focus-visible) { background: var(--id-color); color: rgb(255, 255, 255); border-color: var(--id-color); }
:is(.dewford-home,.dewford-subpage) #main-content :is(.theme-btn, .array-prev, .array-next, .slider-prev, .slider-next):is(:hover, :focus-visible), :is(.dewford-home,.dewford-subpage) .dewford-footer .theme-btn:is(:hover, :focus-visible) { background: var(--id-color) !important; color: rgb(255, 255, 255) !important; border-color: var(--id-color) !important; }
:is(.dewford-home,.dewford-subpage) .dewford-footer .theme-btn:is(:hover, :focus-visible) { box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 0px 1px inset; }
:is(.dewford-home,.dewford-subpage) :is(.theme-btn, .dewford-floating-links a, .dewford-header-talk, button, .dewford-kakao-floating) { --button-surface: #f2f2f2; }
:is(.dewford-home,.dewford-subpage) :is(.dewford-menu-toggle, .dewford-menu-close, .dewford-dialog-parent, .dewford-submenu-toggle) { --button-surface: transparent; }
:is(.dewford-home,.dewford-subpage) :is(.dewford-scroll-top, .dewford-header-talk) { --button-surface: #343434; }
:is(.dewford-home,.dewford-subpage) .dewford-kakao-floating { --button-surface: #e6e6e6; }
:is(.dewford-home,.dewford-subpage) .dewford-footer .theme-btn { --button-surface: #343434; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(.theme-btn, .dewford-floating-links a, .dewford-header-talk, button, .dewford-kakao-floating) { isolation: isolate; overflow: hidden; transition: color 0.25s, border-color 0.25s; background-color: var(--button-surface) !important; }
:is(.dewford-home,.dewford-subpage) :is(.theme-btn, .dewford-floating-links a, .dewford-header-talk, .array-prev, .array-next, .slider-prev, .slider-next, .dewford-dialog-parent, .dewford-submenu-toggle, .dewford-menu-toggle) { position: relative; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(.theme-btn, .dewford-floating-links a, .dewford-header-talk, button, .dewford-kakao-floating)::before { content: ""; position: absolute; inset: 0px; width: 100%; height: 100%; border: 0px; border-radius: inherit; z-index: -1; pointer-events: none; opacity: 1; transform: scaleX(0); transform-origin: right center; transition: transform 0.5s cubic-bezier(0.86, 0, 0.07, 1); display: block !important; background: var(--id-color) !important; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(.theme-btn, .dewford-floating-links a, .dewford-header-talk, button, .dewford-kakao-floating):is(:hover, :focus-visible)::before { transform: scaleX(1); transform-origin: left center; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(.theme-btn, .dewford-floating-links a, .dewford-header-talk, button, .dewford-kakao-floating):is(:hover, :focus-visible) { color: rgb(255, 255, 255) !important; }
@media (prefers-reduced-motion: reduce) {html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(.theme-btn, .dewford-floating-links a, .dewford-header-talk, button, .dewford-kakao-floating)::before { transition: none; }}
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(.theme-btn, .dewford-floating-links a, .dewford-header-talk, button, .dewford-kakao-floating):is(:hover, :focus-visible) { background-color: var(--button-surface) !important; }
:is(.dewford-home,.dewford-subpage) .dewford-kakao-floating { --button-surface: #fee500; }
:is(.dewford-home,.dewford-subpage) .dewford-kakao-floating > img { filter: none; }
:is(.dewford-home,.dewford-subpage) .dewford-scroll-top { --button-surface: #000; color: rgb(255, 255, 255); box-shadow: none; }
:is(.dewford-home,.dewford-subpage) .dewford-scroll-top .pxl-scroll-progress-circle path { stroke: rgb(255, 255, 255); }
html body:is(.dewford-home,.dewford-subpage) .page-wrapper :is(.dewford-kakao-floating, .dewford-scroll-top)::before { display: none !important; }
html body:is(.dewford-home,.dewford-subpage) .dewford-kakao-floating { --button-surface: #fee500; }
html body:is(.dewford-home,.dewford-subpage) .dewford-scroll-top { --button-surface: #000; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(a.dewford-kakao-floating, button.dewford-scroll-top)::before { display: none !important; }
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .theme-btn { --button-surface: #fff; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-footer .theme-btn, html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-footer .theme-btn:is(:hover, :focus-visible), html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-footer .theme-btn :is(.btn-title, .icon, .dewford-korean-text), html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-footer .theme-btn:is(:hover, :focus-visible) :is(.btn-title, .icon, .dewford-korean-text) { box-shadow: none; color: rgb(41, 41, 41) !important; border-color: rgb(255, 255, 255) !important; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-footer .theme-btn::before {background:var(--id-color)!important;transform:scaleX(0);transform-origin:left center;}
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-footer .theme-btn:is(:hover,:focus-visible)::before {transform:scaleX(1);transform-origin:left center;}
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-footer .theme-btn:is(:hover,:focus-visible) {background-color:var(--id-color)!important;color:#fff!important;border-color:var(--id-color)!important;}
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-footer .theme-btn:is(:hover,:focus-visible) :is(.btn-title,.icon,.dewford-korean-text) {color:#fff!important;}
html body:is(.dewford-home,.dewford-subpage) .dewford-header .dewford-header-talk { --button-surface: var(--id-color); }
html body:is(.dewford-home,.dewford-subpage) .dewford-header .dewford-menu-toggle { --button-surface: transparent; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-header :is(.dewford-header-talk, .dewford-menu-toggle)::before { display: none !important; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-header :is(.dewford-header-talk, .dewford-menu-toggle) { overflow: visible; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-header .dewford-header-talk:hover { color: var(--dewford-orange) !important; }
:is(.dewford-home,.dewford-subpage) .dewford-korean-text { font-family: var(--dewford-body-font-family) !important; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(p, .text, li, a, button, label, input, select, textarea, .btn-title, .sub-title) { font-weight: 500 !important; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(h1, h2, h3, h4, h5, h6, .title, .footer-title, .widget-title), html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) :is(h1, h2, h3, h4, h5, h6, .title, .footer-title, .widget-title) :is(a, span, strong, .char, .word) { font-weight: var(--dewford-title-font-weight) !important; }
:is(.dewford-home,.dewford-subpage) .dewford-footer { --sub-color: #f5a100; }
html body:is(.dewford-home,.dewford-subpage) .dewford-footer a:not(.theme-btn):is(:hover, :focus-visible), html body:is(.dewford-home,.dewford-subpage) .dewford-footer a:not(.theme-btn):is(:hover, :focus-visible) :is(span, .text, .dewford-korean-text) { color: var(--sub-color) !important; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-drawer button, html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-drawer button:is(:hover, :focus-visible) { box-shadow: none; background: transparent !important; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-drawer button::before { display: none !important; }
:is(.dewford-home,.dewford-subpage) .dewford-header:not(.is-scrolled):is(:hover, :focus-within) { background-color: var(--id-color); }
html body:is(.dewford-home,.dewford-subpage) .dewford-header .sub-menu a:is(:hover, :focus-visible) { background-color: var(--id-color); color: rgb(255, 255, 255) !important; }
html body:is(.dewford-home,.dewford-subpage) .dewford-header .sub-menu a:is(:hover, :focus-visible) * { color: inherit !important; }
html body:is(.dewford-home,.dewford-subpage) .dewford-drawer .dewford-dialog-submenu a { transition: background-color 0.2s; }
html body:is(.dewford-home,.dewford-subpage) .dewford-drawer .dewford-dialog-submenu a:is(:hover, :focus-visible) { background-color: rgba(255, 255, 255, 0.16); color: rgb(255, 255, 255) !important; }
html body:is(.dewford-home,.dewford-subpage) .dewford-header .dewford-navigation > li > a:is(:hover, :focus-visible), html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-drawer .dewford-dialog-row > :is(a, button):is(:hover, :focus-visible) { color: rgb(245, 161, 0) !important; }
html body:is(.dewford-home,.dewford-subpage) .dewford-header .dewford-navigation > li > a:is(:hover, :focus-visible) *, html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-drawer .dewford-dialog-row > :is(a, button):is(:hover, :focus-visible) * { color: inherit !important; }

.dewford-drawer:focus { outline: none; }
html body:is(.dewford-home,.dewford-subpage) .dewford-header .dewford-header-talk { --button-surface: transparent; }
html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-header .dewford-header-talk, html body:is(.dewford-home,.dewford-subpage) :is(#main-content, .page-wrapper) .dewford-header .dewford-header-talk:is(:hover, :focus-visible) { box-shadow: none; background: transparent !important; }
html body:is(.dewford-home,.dewford-subpage) .dewford-header .dewford-header-talk > span { background: rgb(245, 161, 0); color: rgb(255, 255, 255); }
}
/* Normalize legacy subpage overrides to the main page's shared controls. */
html body:is(.dewford-home,.dewford-subpage) .dewford-floating-links a {box-shadow:0 2px 12px rgba(0,0,0,.09);}
.dewford-drawer:focus {outline:none;}
html body:is(.dewford-home,.dewford-subpage) .dewford-kakao-floating {background:#fee500!important;--button-surface:#fee500;}
html body:is(.dewford-home,.dewford-subpage) .dewford-kakao-floating > img {filter:none;}
html body:is(.dewford-home,.dewford-subpage) .dewford-scroll-top {background:#000!important;--button-surface:#000;color:#fff;}
@media(min-width:768px){
 html body:is(.dewford-home,.dewford-subpage) .dewford-floating-links {width:220px;right:max(24px,env(safe-area-inset-right));top:50%;bottom:auto;transform:translateY(-50%);}
 html body:is(.dewford-home,.dewford-subpage) .dewford-floating-links ul {gap:8px;}
 html body:is(.dewford-home,.dewford-subpage) .dewford-floating-links a {min-height:48px;padding:12px 20px;}
}

/* Footer uses the same rules on every page, independent of content styles. */
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .footer-title {font-size:48px!important;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer :is(h1,h2,h3,h4,h5,h6,.title,.footer-title,.widget-title),
html body:is(.dewford-home,.dewford-subpage) .dewford-footer :is(h1,h2,h3,h4,h5,h6,.title,.footer-title,.widget-title) :is(a,span,strong) {font-weight:var(--dewford-title-font-weight)!important;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .theme-btn {position:relative;isolation:isolate;overflow:hidden;background:#fff!important;color:#292929!important;border-color:#fff!important;gap:14px;max-width:none;transition:color .25s,border-color .25s;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .theme-btn :is(.btn-title,.icon,.dewford-korean-text) {color:#292929!important;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .theme-btn::before {content:"";position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:inherit;z-index:-1;pointer-events:none;opacity:1;display:block!important;background:#f5a100!important;transform:scaleX(0);transform-origin:right center;transition:transform .5s cubic-bezier(.86,0,.07,1);}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .theme-btn:is(:hover,:focus-visible)::before {transform:scaleX(1);transform-origin:left center;}
@media(max-width:767.98px){html body:is(.dewford-home,.dewford-subpage) .dewford-footer .auto-container {padding-left:12px;padding-right:12px;}}
@media(prefers-reduced-motion:reduce){html body:is(.dewford-home,.dewford-subpage) .dewford-footer .theme-btn::before {transition:none;}}

html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .footer-column .about-widget .footer-title {font-weight:700!important;}

/* Footer social channels retain their own hover palette. */
html body:is(.dewford-home,.dewford-subpage) .dewford-footer a.dewford-footer-social:is(:hover,:focus-visible) {color:#fff!important;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer a.dewford-footer-social.dewford-social-kakao:is(:hover,:focus-visible) {background:#fee500;border-color:#fee500;color:#3c1e1e!important;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-social-kakao:is(:hover,:focus-visible) svg text {fill:#fee500;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-social-instagram:is(:hover,:focus-visible) {background:radial-gradient(circle at 30% 110%,#ffdc80 0%,#fcaf45 20%,#f77737 35%,#e1306c 55%,#c13584 70%,#833ab4 90%);border-color:#c13584;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-social-facebook:is(:hover,:focus-visible) {background:#1877f2;border-color:#1877f2;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-social-youtube:is(:hover,:focus-visible) {background:#ff0000;border-color:#ff0000;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-social-youtube:is(:hover,:focus-visible) .dewford-youtube-play {fill:#1c1c1c;}

html body:is(.dewford-home,.dewford-subpage) .dewford-footer .footer-column .widget-title,
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .footer-column .widget-title :is(a,span,strong) {font-weight:600!important;}
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .user-links a,
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .user-links a :is(span,strong) {font-weight:400!important;}

/* Consistent footer contact values. */
html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .dewford-footer-contact-row .info :is(.title,.dewford-footer-email),
html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .dewford-footer-contact-row .info :is(.title,.dewford-footer-email) :is(a,span,strong) {font-size:16px!important;font-weight:400!important;}

.dewford-footer .footer-column[aria-label="ABOUT DEWFORD"] .widget-title {white-space:nowrap;}

.dewford-footer .dewford-footer-menu-grid {display:grid;grid-template-columns:max-content max-content max-content;justify-content:space-between;gap:36px;align-content:start;}
.dewford-footer .dewford-footer-menu-grid > .footer-column {width:auto;margin-left:0;padding-left:0;padding-right:0;}
.dewford-footer .user-links a[href="international-preschool.html"] {white-space:normal;max-width:100%;overflow:visible;}
@media(max-width:767.98px){
 .dewford-footer .dewford-footer-menu-grid {grid-template-columns:1fr;gap:32px;margin-top:24px;}
 .dewford-footer .dewford-footer-menu-grid > .footer-column {margin-bottom:0;}
}

.dewford-footer .dewford-footer-mobile-link {display:none;}
@media(max-width:767.98px){
 .dewford-footer .dewford-footer-menu-grid .user-links,
 .dewford-footer .dewford-footer-desktop-label {display:none;}
 .dewford-footer .dewford-footer-mobile-link {display:block;color:inherit;}
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer .footer-column .widget-title,
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer .footer-column .widget-title :is(a,span,strong) {font-weight:400!important;}
 .dewford-footer .dewford-footer-menu-grid .widget-title {margin-bottom:0;}
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .footer-column .about-widget .footer-title {font-size:24px!important;}
}
@media(max-width:767.98px){
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .dewford-footer-menu-grid .footer-column .widget-title,
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .dewford-footer-menu-grid .footer-column .widget-title .dewford-footer-mobile-link {font-weight:400!important;}
}

@media(max-width:767.98px){
html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .dewford-footer-menu-grid .footer-column .widget-title .dewford-footer-desktop-label {font-weight:400!important;font-size:16px!important;}
.dewford-footer .dewford-footer-menu-grid {gap:.875em;margin-top:0;margin-bottom:24px;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-footer-contact-row .info .dewford-footer-contact-value {display:flex;align-items:flex-start;gap:8px;margin:0;color:#fff;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-footer-contact-row .info .dewford-footer-contact-value,
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-footer-contact-row .info .dewford-footer-contact-value span {font-size:16px!important;font-weight:400!important;}
.dewford-footer .dewford-footer-contact-value + .dewford-footer-contact-value {margin-top:16px!important;}
.dewford-footer .dewford-footer-contact-value svg {margin-top:2px;flex-shrink:0;}
.dewford-footer .dewford-footer-contact-value span {min-width:0;overflow-wrap:anywhere;}

html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .footer-column .about-widget .footer-title,
html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .footer-column .about-widget .footer-title :is(span,strong) {font-size:24px!important;font-weight:700!important;}

html body:is(.dewford-home,.dewford-subpage) .dewford-footer .footer-text,
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .footer-text .dewford-korean-text {font-size:14px!important;}

}

@media(max-width:767.98px){
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .dewford-footer-menu-grid .footer-column .widget-title .dewford-footer-mobile-link {font-size:16px!important;font-weight:400!important;}
 .dewford-footer .dewford-contact-desktop-label {display:none;}
}
@media(min-width:768px){
 .dewford-footer .dewford-footer-contact-value {display:grid!important;grid-template-columns:18px minmax(0,1fr);gap:8px;color:#fff;}
 .dewford-footer .dewford-contact-desktop-label {grid-column:2;color:var(--sub-color);font-weight:500;}
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-footer-contact-value > .dewford-contact-value-text,
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-footer-contact-value > .dewford-contact-value-text span {grid-column:2;font-size:16px!important;font-weight:400!important;}
 .dewford-footer .dewford-footer-contact-value + .dewford-footer-contact-value {margin-top:20px;}
}
@media(max-width:767.98px){
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .dewford-footer-menu-grid .widget-title :is(.dewford-footer-mobile-link,.dewford-footer-desktop-label) {font-size:16px!important;font-weight:400!important;}
}
@media(min-width:768px){
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .dewford-footer-menu-grid .widget-title .dewford-footer-desktop-label {font-size:24px!important;font-weight:600!important;}
}

.dewford-footer .dewford-footer-intro-break {display:none;}
@media(min-width:1200px){
 .dewford-footer.footer-style-home-two .upper-box {display:grid;grid-template-columns:calc(41.666667% + 7.5px) minmax(0,1fr) 200px;gap:0;}
 .dewford-footer.footer-style-home-two .upper-box .footer-logo {position:relative;width:100%;padding:0;border:0;}
 .dewford-footer.footer-style-home-two .upper-box .footer-logo .dewford-logo {width:260px;}
 .dewford-footer.footer-style-home-two .upper-box .footer-logo::after {content:"";position:absolute;left:calc(50% + 130px);top:50%;transform:translateY(-50%);height:52px;width:1px;background:rgb(255 255 255 / 18%);}
 .dewford-footer.footer-style-home-two .upper-box > .text {max-width:none;padding-right:16px;}
 .dewford-footer .dewford-footer-intro-break {display:block;}
 .dewford-footer .dewford-footer-intro-space {display:none;}
}

@media(max-width:767.98px){
 .dewford-footer .dewford-footer-intro-break {display:block;}
 .dewford-footer .dewford-footer-intro-space {display:none;}
}

@media(max-width:767.98px){
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .footer-column .about-widget .footer-title,
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .footer-column .about-widget .footer-title :is(span,strong) {font-size:28px!important;}
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer .footer-text,
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer .footer-text .dewford-korean-text {font-size:16px!important;}
}

.dewford-scroll-top {display:none!important;}


.dewford-dialog-story-break {display:none;}
@media(max-width:767.98px){
 .dewford-drawer .dewford-dialog-story h2 {font-size:clamp(14px,4.8vw,30px);line-height:1.5;word-break:keep-all;overflow-wrap:normal;}
 .dewford-dialog-story-break {display:block;}
 .dewford-dialog-story-space {display:none;}
}

@media(max-width:767.98px){
 html body:is(.dewford-home,.dewford-subpage) .footer-style-home-two .upper-box .text {font-size:16px;}
}

html body .dewford-mobile-sentence-break {display:none;}
@media(max-width:767.98px){
 html body .dewford-mobile-sentence-break {display:block;}
}

html body:is(.dewford-home,.dewford-subpage) .dewford-footer :is(.text,.footer-text) {line-height:1.6!important;}

/* Shared mobile type scale: readable body copy with restrained fluid headings. */
@media(max-width:767.98px){
 html body:is(.dewford-home,.dewford-subpage) {
  --dewford-small-text:clamp(16px,4vw,18px);
  --dewford-mobile-body:clamp(16px,4vw,18px);
  --dewford-mobile-heading:clamp(24px,min(6.2vw,4vh),32px);
  font-size:var(--dewford-mobile-body);
 }
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) :is(p,.text,.footer-text,li,label,input,select,textarea,address,small,.sub-title,.btn-title,.copyright,.designation,.form-consent,.dewford-form-status,.banner-count-caption,.dewford-dialog-submenu a,.dewford-footer-contact-value,.dewford-contact-value-text) {font-size:var(--dewford-mobile-body)!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) :is(h1,h2,.footer-title) {font-size:var(--dewford-mobile-heading)!important;line-height:1.3!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) :is(h3,h4,h5,h6,.widget-title) {font-size:clamp(18px,4.8vw,24px)!important;line-height:1.4!important;}
 html body:is(.dewford-home,.dewford-subpage) #main-content.dewford-template-content .banner-section-three .content-box > .title {font-size:clamp(28px,min(7.2vw,5vh),38px)!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-dialog-story h2 {font-size:clamp(16px,4.8vw,24px)!important;line-height:1.5!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-dialog-row > :is(a,button) {font-size:clamp(18px,4.8vw,24px)!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .banner-count-box .count-box {font-size:clamp(28px,7.2vw,36px)!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) :is(.dewford-footer-mobile-link,.dewford-footer-desktop-label) {font-size:var(--dewford-mobile-body)!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) :is(.dewford-korean-text,.word,.char,h1 a,h2 a,h3 a,h4 a,h5 a,h6 a,.title a,.title strong,.footer-title strong) {font-size:inherit!important;}
}

@media(max-width:767.98px){
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .theme-btn {padding:2.5vw 4vw!important;min-height:44px;gap:2vw;font-size:14px!important;line-height:1.4!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .theme-btn .btn-title {font-size:14px!important;line-height:1.4!important;}
}

@media(max-width:767.98px){
 .dewford-drawer .dewford-dialog-story {display:none;}
}

@media(max-width:767.98px){
 .dewford-footer.footer-style-home-two .upper-box .footer-logo .dewford-logo {width:208px;max-width:100%;}
}

/* Match the home page's vertical section spacing on all Dewford subpages. */
body.dewford-subpage #main-content {--dewford-section-space:130px;}
body.dewford-subpage #main-content > section:not(.dewford-page-title):not(.contact-details):not(.map-section):not(.service-section-two):not(.clients-section):not(.features-section-three) {
 padding-top:var(--dewford-section-space)!important;
 padding-bottom:var(--dewford-section-space)!important;
}
body.dewford-subpage #main-content > .contact-details > .container {
 padding-top:var(--dewford-section-space)!important;
 padding-bottom:var(--dewford-section-space)!important;
}
body.dewford-subpage #main-content > .clients-section {padding-top:0!important;padding-bottom:var(--dewford-section-space)!important;}
body.dewford-subpage #main-content > .clients-section:not(.dewford-why-clients) .inner-container {padding-top:var(--dewford-section-space);}
body.dewford-subpage #main-content > .features-section-three .sec-title-box {padding-top:var(--dewford-section-space);}
body.dewford-subpage #main-content > .features-section-three .outer-container {padding-bottom:var(--dewford-section-space);}
@media(max-width:991.98px){
 body.dewford-subpage #main-content {--dewford-section-space:90px;}
}

/* White default canvas; individual section backgrounds remain in control. */
html body.dewford-subpage {--body-bg:#fff;background-color:#fff;}
html body.dewford-subpage > .page-wrapper,
html body.dewford-subpage #main-content.dewford-subpage-content {background-color:#fff;}

/* Compact mobile footer. */
@media(max-width:767.98px){
 .dewford-footer.footer-style-home-two .footer-bottom {align-items:flex-start;justify-content:flex-start;}
 .dewford-footer.footer-style-home-two .footer-bottom .copyright {width:100%;margin-left:0;text-align:left;}
 .dewford-footer.footer-style-home-two .footer-column .about-widget .footer-text {margin-bottom:0;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .about-widget .footer-title {font-size:clamp(16px,4.5vw,24px)!important;white-space:nowrap;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .about-widget .footer-title :is(span,strong) {display:inline;font-size:inherit!important;}
 .dewford-footer .about-widget .footer-title br,
 .dewford-footer .about-widget > .theme-btn,
 .dewford-footer .dewford-footer-menu-grid {display:none!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .footer-bottom .copyright,
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .footer-bottom .copyright :is(a,span) {font-size:14px!important;}
}

/* Keep mobile footer contact details on three compact lines. */
@media(max-width:767.98px){
 .dewford-footer.footer-style-home-two .dewford-footer-contact-row {padding-top:20px;}
 .dewford-footer .dewford-footer-contact-row > .row {row-gap:8px;}
 .dewford-footer .dewford-footer-contact-row .info-box {margin-top:0!important;margin-bottom:0;}
 .dewford-footer .dewford-footer-contact-value + .dewford-footer-contact-value {margin-top:8px!important;}
 .dewford-footer .dewford-footer-contact-value br {display:none;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .dewford-footer-contact-row .info .dewford-footer-contact-value {align-items:center;gap:6px;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .dewford-footer-contact-row .dewford-contact-value-text {font-size:14px!important;white-space:nowrap;letter-spacing:0!important;line-height:1.5!important;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .dewford-footer-contact-row a[href="contact.html"] .dewford-contact-value-text {font-size:clamp(10px,3vw,14px)!important;}
 .dewford-footer .dewford-footer-contact-value svg {width:16px;height:16px;margin-top:0;}
}

/* Footer-only Naver Talk and Blog social controls. */
html body:is(.dewford-home,.dewford-subpage) .dewford-footer a.dewford-footer-social:is(.dewford-social-naver,.dewford-social-blog):is(:hover,:focus-visible) {background:#03c75a;border-color:#03c75a;color:#fff!important;}
.dewford-footer.footer-style-home-two .dewford-footer-socials {flex-wrap:wrap;max-width:100%;}

/* Keep the footer admission CTA on the same brand-purple hover in every page. */
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .about-widget .theme-btn:is(:hover,:focus-visible) {background:var(--id-color)!important;border-color:var(--id-color)!important;color:#fff!important;}
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .about-widget .theme-btn::before {background:var(--id-color)!important;}
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .about-widget .theme-btn:is(:hover,:focus-visible) :is(.btn-title,.icon,.dewford-korean-text) {color:#fff!important;}

/* Keep the blog lettering inside its speech bubble and show active channels only. */
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-social-blog svg text {font-family:Arial,sans-serif!important;font-size:9px!important;font-weight:700!important;letter-spacing:0!important;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-footer-social.dewford-social-youtube {display:none!important;}

/* Preserve the white outline on the footer admission CTA in every state. */
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .about-widget .theme-btn,
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer .about-widget .theme-btn:is(:hover,:focus-visible) {border:1px solid #fff!important;}

/* Serif typography applies only to semantic headings. */
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) :is(h1,h2,h3,h4,h5,h6) {font-family:var(--dewford-title-font-family)!important;font-weight:var(--dewford-title-font-weight)!important;letter-spacing:var(--dewford-title-letter-spacing)!important;}
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) :is(h1,h2,h3,h4,h5,h6) :is(a,strong,.word,.char):not(.dewford-korean-text) {font-family:inherit!important;letter-spacing:inherit!important;}
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) :is(.title,.sub-title,.footer-title,.widget-title):not(:is(h1,h2,h3,h4,h5,h6)) {font-family:var(--dewford-default-title-font-family)!important;}

/* Small section labels retain the original sans-serif typography. */
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) h6.sub-title {font-family:var(--dewford-default-title-font-family)!important;letter-spacing:.025em!important;}

/* Linked titles use the original sans-serif family. */
html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .title a {font-family:var(--dewford-default-title-font-family)!important;}

/* Square subpage content surfaces, preserving social channel icon shapes. */
html body.dewford-subpage .dewford-subpage-content,
html body.dewford-subpage .dewford-subpage-content :not(:is(.team-details__social,.team-details__social *,.social-icon,.social-icon *,.social-icons,.social-icons *,.dewford-footer-social,.dewford-footer-social *)) {border-radius:0!important;}
html body.dewford-subpage .dewford-subpage-content :not(:is(.team-details__social,.team-details__social *,.social-icon,.social-icon *,.social-icons,.social-icons *))::before,
html body.dewford-subpage .dewford-subpage-content :not(:is(.team-details__social,.team-details__social *,.social-icon,.social-icon *,.social-icons,.social-icons *))::after {border-radius:0!important;}
html body.dewford-subpage #main-content .dewford-consultation-socials {display:flex;flex-wrap:wrap;gap:16px 28px;}
html body.dewford-subpage #main-content .dewford-consultation-channel {display:flex;align-items:center;gap:10px;}
html body.dewford-subpage #main-content .dewford-consultation-channel a {display:inline-flex;align-items:center;justify-content:center;margin:0;}
html body.dewford-subpage #main-content .dewford-consultation-kakao,
html body.dewford-subpage #main-content .dewford-consultation-kakao:hover {background:#fee500!important;color:#191919!important;}
html body.dewford-subpage #main-content .dewford-consultation-naver,
html body.dewford-subpage #main-content .dewford-consultation-naver:hover {background:#03c75a!important;color:#fff!important;}
html body.dewford-subpage #main-content .dewford-consultation-channel img {display:block;filter:none;}

.dewford-footer .dewford-footer-registration {display:flex;flex-wrap:wrap;gap:8px 20px;margin-bottom:12px;color:#fff;}
.dewford-footer .dewford-footer-registration span {font-size:14px;line-height:1.6!important;}
@media(max-width:767.98px){
 .dewford-footer .dewford-footer-registration {flex-direction:column;gap:4px;}
}

/* Copyright left, registration right; reverse the row order on mobile. */
html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .footer-bottom {display:flex;align-items:center;justify-content:space-between;gap:16px;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .footer-bottom .copyright {width:auto;margin:0;text-align:left;}
html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-footer-registration {flex-direction:row;flex-wrap:nowrap;gap:16px;margin:0;text-align:right;}
@media(max-width:767.98px){
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .footer-bottom {flex-direction:column;align-items:flex-start;gap:10px;padding-right:0;}
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-footer-registration {order:-1;gap:10px;text-align:left;}
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer .dewford-footer-registration span {font-size:clamp(10px,2.8vw,14px)!important;white-space:nowrap;}
 html body:is(.dewford-home,.dewford-subpage) :is(#main-content,.page-wrapper) .dewford-footer.footer-style-home-two .footer-bottom .copyright {font-size:clamp(9px,2.5vw,14px)!important;white-space:nowrap;}
}

/* Subpage dark surfaces and accents follow the DEWFORD purple palette. */
html body.dewford-subpage {
 --dewford-purple-dark:color-mix(in srgb,var(--id-color) 76%,#24112d);
 --id-color-dark:var(--dewford-purple-dark);
 --dewford-subpage-brand-rgb:82,25,109;
 --theme-color-dark:var(--id-color);
 --theme-color-black:var(--id-color);
 --theme-black:var(--id-color);
 --theme-color-black-rgb:var(--dewford-subpage-brand-rgb);
 --headings-color:var(--id-color-dark);
}
html body.dewford-subpage #main-content.dewford-subpage-content {--headings-color:var(--id-color-dark);}
html body.dewford-subpage #main-content .dewford-page-title,
html body.dewford-subpage #main-content .dewford-page-title::before {background:var(--id-color);}
html body.dewford-subpage #main-content .dewford-why-clients .inner-container::before {background:color-mix(in srgb,var(--id-color) 72%,transparent);}
html body.dewford-subpage #main-content .service-section-two .outer-box {--theme-color-dark:var(--id-color);}
html body.dewford-subpage #main-content .contact-details__info li .icon {background:var(--id-color);}
html body.dewford-subpage #main-content .theme-btn.btn-style-one {--button-surface:var(--id-color);}
html body.dewford-subpage #main-content :is(.dewford-events-intro h2,.dewford-editorial-heading h2,.team-details__top-name) {color:var(--id-color-dark);}
html body.dewford-subpage #main-content.dewford-refined-page .services-section .service-block :is(.title,.title a,.icon-box) {color:var(--id-color-dark)!important;}
html body.dewford-subpage #main-content.dewford-refined-page .about-block-home-two .inner-block :is(.title,.title a,.count-box) {color:var(--id-color-dark);}
html body.dewford-polished-page #main-content {--polish-ink:var(--id-color-dark);}

/* Black is the default for subpage copy and content headings. */
html body.dewford-subpage #main-content,
html body.dewford-subpage #main-content :is(section,.dewford-news,.dewford-event-template,.dewford-contact-template) {
 --headings-color:#000;
 --text-color:#000;
 --text-color-rgb:0,0,0;
 --theme-light-background-text-color:#000;
 --polish-ink:#000;
 --polish-muted:#000;
 color:#000;
}
html body.dewford-subpage #main-content :is(h2,h3,h4,h5,h6,.title,.title a,.sub-title,.section-title__title,.team-details__top-name,.team-details__top-title,.dewford-calendar-eyebrow,.dewford-story-category) {color:#000!important;}
html body.dewford-subpage #main-content :is(p,.text,.list-info,.dewford-icon-copy-text,.dewford-why-card-description,.dewford-program-description,.dewford-contact-consent,label,.form-control) {color:#000;}
html body.dewford-subpage #main-content #dewford-inquiry-form :is(label,input,select,textarea) {color:#000;}
/* Preserve readable copy on purple cards, the photo hero and active cards. */
html body.dewford-subpage #main-content .dewford-page-title :is(h1,p),
html body.dewford-subpage #main-content .why-choose-us-four .feature-block:nth-child(even) .inner-block :is(.title,.title a,.text,p),
html body.dewford-subpage #main-content.dewford-philosophy-content .about-block-home-two .inner-block :is(.title,.title a,.text,p),
html body.dewford-subpage #main-content.dewford-philosophy-content .service-block .inner-box:is(:hover,.active) :is(.title,.title a,.text,p),
html body.dewford-layout-elementary-international #main-content .service-section-two :is(h2,h3,h4,.title,.title a,.sub-title,.text,p) {color:#fff!important;}
/* Project descriptions sit on a light canvas even inside the philosophy page. */
html body.dewford-subpage #main-content.dewford-philosophy-content .projects-section-two :is(.title,.title a,.sub-title,.text,.categories-list p,.dewford-program-description) {color:#000!important;}

/* White section headings over the clients photo backdrop. */
html body.dewford-subpage #main-content .clients-section :is(.sub-title,h2.title) {color:#fff!important;}

/* White hover surfaces use black text, including nested button labels. */
html body.dewford-subpage #main-content.dewford-philosophy-content .projects-section-two .theme-btn:is(:hover,:focus-visible),
html body.dewford-subpage #main-content.dewford-philosophy-content .projects-section-two .theme-btn:is(:hover,:focus-visible) :is(.btn-title,.dewford-korean-text,.icon,i),
html body.dewford-layout-admissions-inquiry #main-content .team-contact-form .theme-btn.btn-style-two:is(:hover,:focus-visible),
html body.dewford-layout-admissions-inquiry #main-content .team-contact-form .theme-btn.btn-style-two:is(:hover,:focus-visible) :is(.btn-title,.dewford-korean-text,.icon,i) {color:#000!important;}

/* Filled buttons use their base surface color instead of the secondary border. */
html body:is(.dewford-home,.dewford-subpage) #main-content .theme-btn:not(:hover):not(:focus-visible) {border-color:var(--button-surface,transparent)!important;}

/* Clickable links and enabled controls consistently use the pointer cursor. */
html body a[href],html body button:not(:disabled),html body [role=button]:not([aria-disabled=true]),html body input:is([type=submit],[type=button],[type=reset]):not(:disabled){cursor:pointer!important;}

/* Stack FAQ columns at every viewport width. */
html body #main-content .row > :has(> .accordion-box){width:100%;max-width:100%;flex:0 0 100%;margin-bottom:0!important;}
html body #main-content .accordion-box{width:100%;display:block;}

/* Light surface for the Why DEWFORD card that previously used the brand fill. */
html body.dewford-subpage #main-content .dewford-why-feature-cards .feature-block:nth-child(even) .inner-block{background:#fff;color:#000;}
html body.dewford-subpage #main-content .dewford-why-feature-cards .feature-block:nth-child(even) .inner-block :is(.title,.title a,.text,p){color:#000!important;}
html body.dewford-subpage #main-content .dewford-why-feature-cards .feature-block:nth-child(even) .inner-block .number{background:var(--id-color);color:#fff;}
html body.dewford-subpage #main-content .dewford-why-feature-cards .feature-block:nth-child(even) .inner-block .number i{color:inherit;}

/* Keep five footer channels on one line, with a deliberate 3 + 2 fallback. */
html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .dewford-footer-socials {display:grid;grid-template-columns:repeat(5,44px);gap:8px;flex:0 0 auto;width:max-content;max-width:100%;justify-content:start;}
@media(min-width:768px) and (max-width:1199.98px), (max-width:359.98px){
 html body:is(.dewford-home,.dewford-subpage) .dewford-footer.footer-style-home-two .dewford-footer-socials {grid-template-columns:repeat(3,44px);}
}

/* Let accordion body copy fill its content container. */
html body #main-content .accordion-box .acc-content .content .text {width:100%;max-width:none;box-sizing:border-box;}

/* Footer links must remain visible beyond the template list-item clipping. */
html body .dewford-footer .user-links li {overflow:visible;}
