/* Isolate imported template sections from Dewford shared typography. */
#main-content.dewford-template-content {
  --theme-color1: #f7f7f7;
  --theme-color2: #D7D9CF;
  --theme-color3: #E3E5DD;
  --theme-color1-rgb: 244,244,244;
  --theme-color2-rgb: 215, 217, 207;
  --theme-color3-rgb: 227, 229, 221;
  --theme-color1-text-color: #fff;
  --theme-color2-text-color: #fff;
  --theme-color3-text-color: #fff;
  --body-bg: #fff;
  --theme-color-white: #ffffff;
  --theme-color-white-rgb: 255, 255, 255;
  --theme-color-light: #f2f8f9;
  --theme-color-gray: #f6f6f6;
  --theme-color-silver: #eee;
  --theme-color-black: #000000;
  --theme-color-black-rgb: 0, 0, 0;
  --theme-color-dark: #111111;
  --gradient-1: linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgb(217, 244, 95) 100%);
  --text-color: #525252;
  --text-color-rgb: 82, 82, 82;
  --headings-color: #111111;
  --link-color: var(--theme-color1);
  --link-hover-color: var(--theme-color1);
  --review-color: #FF901B;
  --body-font-family: var(--dewford-body-font-family);
  --heading-font-family: var(--dewford-body-font-family);
  --style-font-family: var(--dewford-default-title-font-family, var(--dewford-body-font-family));
  --body-font-size: 16px;
  --body-line-height: 1.75;
  --body-font-weight: 400;
  --line-height-heading-h1: 1.2625em;
  --line-height-heading-h2: 1.2em;
  --line-height-heading-h3: 1.2778em;
  --line-height-heading: 1.384615em;
  --line-height-heading-small: 1.4em;
  --h1-font-size: 60px;
  --h2-font-size: 40px;
  --h3-font-size: 32px;
  --h4-font-size: 24px;
  --h5-font-size: 20px;
  --h6-font-size: 16px;
  --h1-font-weight: 600;
  --h2-font-weight: 600;
  --h3-font-weight: 500;
  --h4-font-weight: 500;
  --h5-font-weight: 500;
  --h6-font-weight: 500;
  --sec-title-subtitle-color: var(--headings-color);
  --sec-title-subtitle-font-size: 16px;
  --sec-title-subtitle-font-family: var(--heading-font-family);
  --sec-title-subtitle-font-weight: 700;
  --sec-title-subtitle-line-height: 23px;
  --sec-title-color: var(--headings-color);
  --sec-title-font-size: 50px;
  --sec-title-font-family: var(--heading-font-family);
  --sec-title-font-weight: 600;
  --sec-title-title-line-height: var(--line-height-heading-h2);
  --theme-light-background: #f8f6f1;
  --theme-light-background-text-color: var(--headings-color);
  --theme-black: #000000;
  --container-width: 1384px;
  --small-container-width: 1000px;
  --large-container-width: 1790px;
  --container-pt: 0px;
  --container-pb: 0px;

 font-family:var(--body-font-family);font-size:var(--body-font-size);font-weight:var(--body-font-weight);line-height:var(--body-line-height);letter-spacing:normal;color:var(--text-color);
}

#main-content.dewford-template-content :is(h1,h2,h3,h4,h5,h6,p,a,li,button,label,.text,.title,.sub-title,.btn-title) {letter-spacing:normal!important;}
#main-content.dewford-template-content :is(p,.text,.list-info li) {font-weight:400!important;line-height:1.75!important;}
#main-content.dewford-template-content :is(h1,h2,h3,h4,h5,h6,.title) {font-family:var(--heading-font-family);}
#main-content.dewford-template-content h1 {font-weight:var(--h1-font-weight)!important;line-height:var(--line-height-heading-h1)!important;}
#main-content.dewford-template-content h2 {font-weight:var(--h2-font-weight)!important;line-height:var(--line-height-heading-h2)!important;}
#main-content.dewford-template-content h3 {font-weight:var(--h3-font-weight)!important;line-height:var(--line-height-heading-h3)!important;}
#main-content.dewford-template-content :is(h4,h5,h6) {font-weight:500!important;line-height:var(--line-height-heading)!important;}
#main-content.dewford-template-content :is(a,button,.btn-title) {line-height:inherit!important;}
#main-content.dewford-template-content .banner-section-three .title {font-weight:500!important;line-height:83px!important;}
#main-content.dewford-template-content .banner-section-three .bottom-box .text {color:#fff;}
#main-content.dewford-template-content .banner-section-three .bg-image img {object-fit:cover;}
#main-content.dewford-template-content .sec-title .sub-title {line-height:var(--sec-title-subtitle-line-height)!important;}
#main-content.dewford-template-content .theme-btn .fa-arrow-right {transform:none;}
#main-content.dewford-template-content .about-section .image-column .text {border-bottom-color:var(--theme-color2);}
#main-content.dewford-template-content .service-section-four {overflow:hidden;}
@media(max-width:575.98px){
 #main-content.dewford-template-content .banner-section-three .title {line-height:1.24!important;font-size:clamp(36px,9.4vw,55px);}
}
#main-content.dewford-template-content .sec-title-style-three h2 {font-size:40px!important;font-weight:500!important;letter-spacing:-1px!important;}
#main-content.dewford-template-content .sec-title-style-three .text {line-height:1.5!important;font-weight:300!important;}
#main-content.dewford-template-content .banner-count-box .inner-box .text {line-height:1.4!important;}
@media(max-width:1199.98px){#main-content.dewford-template-content .features-section-two .sec-title-style-three h2 {font-size:38px!important;}}
@media(max-width:991.98px){#main-content.dewford-template-content .sec-title-style-three h2 {font-size:32px!important;}}
/* Shared chrome uses the brand ID; the imported sections retain their own tokens. */
:root {--dewford-purple:#52196d;--id-color:#52196d;}
.dewford-home .dewford-header {background-color:var(--id-color);}
.dewford-home .dewford-header:not(.is-scrolled) {background-color:transparent;}
.dewford-home .dewford-header.is-scrolled,
.dewford-home .dewford-drawer,
.dewford-home .dewford-drawer::backdrop {background-color:var(--id-color);}
.dewford-home .dewford-footer.footer-style-home-two {background-color:var(--id-color);}
#main-content.dewford-template-content .text-reveal-anim .word {display:inline-block;white-space:nowrap;margin:0;padding:0;overflow:visible;line-height:inherit;vertical-align:baseline;}
/* Neutral buttons, with ID purple reserved for hover and keyboard focus. */
.dewford-home .dewford-floating-links a {background:#f2f2f2;color:#292929;border-left-color:var(--id-color);}
.dewford-home .dewford-floating-links a > svg,
.dewford-home .dewford-floating-links a:hover > svg {transform:rotate(-45deg);}
.dewford-home .dewford-scroll-top {background:#343434;color:#fff;}
.dewford-home .dewford-scroll-top .pxl-scroll-progress-circle path {stroke:#b7b7b7;}
.dewford-home .dewford-kakao-floating {background:#e6e6e6;}
.dewford-home .dewford-kakao-floating > img {filter:grayscale(1);}
.dewford-home :is(.dewford-floating-links a,.dewford-scroll-top,.dewford-kakao-floating) {transition:background-color .22s,color .22s,border-color .22s;}
.dewford-home :is(.dewford-floating-links a,.dewford-scroll-top,.dewford-kakao-floating):is(:hover,:focus-visible) {background:var(--id-color);color:#fff;border-color:var(--id-color);}
.dewford-home #main-content :is(.theme-btn,.array-prev,.array-next,.slider-prev,.slider-next) {background:#f2f2f2;color:#292929;border-color:#d6d6d6;}
.dewford-home #main-content :is(.theme-btn,.array-prev,.array-next,.slider-prev,.slider-next):is(:hover,:focus-visible),
.dewford-home .dewford-footer .theme-btn:is(:hover,:focus-visible) {background:var(--id-color)!important;color:#fff!important;border-color:var(--id-color)!important;}
.dewford-home #main-content .theme-btn:is(:hover,:focus-visible) :is(.btn-title,.icon) {color:#fff!important;}
.dewford-home .dewford-footer .theme-btn:is(:hover,:focus-visible) {box-shadow:inset 0 0 0 1px #ffffff80;}
/* Use the template's directional fill for every button, including shared controls. */
.dewford-home :is(.theme-btn,.dewford-floating-links a,.dewford-header-talk,button,.dewford-kakao-floating) {--button-surface:#f2f2f2;}
.dewford-home :is(.dewford-menu-toggle,.dewford-menu-close,.dewford-dialog-parent,.dewford-submenu-toggle) {--button-surface:transparent;}
.dewford-home :is(.dewford-scroll-top,.dewford-header-talk) {--button-surface:#343434;}
.dewford-home .dewford-kakao-floating {--button-surface:#e6e6e6;}
.dewford-home .dewford-footer .theme-btn {--button-surface:#343434;}
html body.dewford-home :is(#main-content,.page-wrapper) :is(.theme-btn,.dewford-floating-links a,.dewford-header-talk,button,.dewford-kakao-floating) {
 isolation:isolate;overflow:hidden;background-color:var(--button-surface)!important;
 transition:color .25s ease,border-color .25s ease;
}
/* Preserve fixed/absolute positioning of the floating and menu controls. */
.dewford-home :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.dewford-home :is(#main-content,.page-wrapper) :is(.theme-btn,.dewford-floating-links a,.dewford-header-talk,button,.dewford-kakao-floating)::before {
 content:"";display:block!important;position:absolute;inset:0;width:100%;height:100%;
 background:var(--id-color)!important;border:0;border-radius:inherit;z-index:-1;pointer-events:none;
 opacity:1;transform:scaleX(0);transform-origin:right center;
 transition:transform .5s cubic-bezier(.86,0,.07,1);
}
html body.dewford-home :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.dewford-home :is(#main-content,.page-wrapper) :is(.theme-btn,.dewford-floating-links a,.dewford-header-talk,button,.dewford-kakao-floating):is(:hover,:focus-visible) {color:#fff!important;}
@media(prefers-reduced-motion:reduce){
 html body.dewford-home :is(#main-content,.page-wrapper) :is(.theme-btn,.dewford-floating-links a,.dewford-header-talk,button,.dewford-kakao-floating)::before {transition:none;}
}
/* Keep the base surface steady while the purple overlay travels across it. */
html body.dewford-home :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;}
/* Brand-specific floating controls keep their own colors in every state. */
.dewford-home .dewford-kakao-floating {--button-surface:#fee500;}
.dewford-home .dewford-kakao-floating > img {filter:none;}
.dewford-home .dewford-scroll-top {--button-surface:#000;color:#fff;box-shadow:none;}
.dewford-home .dewford-scroll-top .pxl-scroll-progress-circle path {stroke:#fff;}
html body.dewford-home .page-wrapper :is(.dewford-kakao-floating,.dewford-scroll-top)::before {display:none!important;}
html body.dewford-home .dewford-kakao-floating {--button-surface:#fee500;}
html body.dewford-home .dewford-scroll-top {--button-surface:#000;}
html body.dewford-home :is(#main-content,.page-wrapper) :is(a.dewford-kakao-floating,button.dewford-scroll-top)::before {display:none!important;}
/* Footer admissions CTA: white surface with a yellow directional fill. */
html body.dewford-home .dewford-footer .theme-btn {--button-surface:#fff;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-footer .theme-btn,
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-footer .theme-btn:is(:hover,:focus-visible),
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-footer .theme-btn :is(.btn-title,.icon,.dewford-korean-text),
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-footer .theme-btn:is(:hover,:focus-visible) :is(.btn-title,.icon,.dewford-korean-text) {color:#292929!important;border-color:#fff!important;box-shadow:none;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-footer .theme-btn::before {background:var(--id-color)!important;transform:scaleX(0);transform-origin:left center;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-footer .theme-btn:is(:hover,:focus-visible)::before {transform:scaleX(1);transform-origin:left center;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-footer .theme-btn:is(:hover,:focus-visible) {background-color:var(--button-surface)!important;color:#fff!important;border-color:#fff!important;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-footer .theme-btn:is(:hover,:focus-visible) :is(.btn-title,.icon,.dewford-korean-text) {color:#fff!important;}
/* Header controls retain their original styling, outside the shared fill effect. */
html body.dewford-home .dewford-header .dewford-header-talk {--button-surface:var(--id-color);}
html body.dewford-home .dewford-header .dewford-menu-toggle {--button-surface:transparent;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-header :is(.dewford-header-talk,.dewford-menu-toggle)::before {display:none!important;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-header :is(.dewford-header-talk,.dewford-menu-toggle) {overflow:visible;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-header .dewford-header-talk:hover {color:var(--dewford-orange)!important;}
/* Separate the main banner CTA from its supporting copy. */
#main-content.dewford-template-content .banner-section-three .content-box .theme-btn.btn-style-two {margin-top:28px;}
@media(max-width:767.98px){
 #main-content.dewford-template-content .banner-section-three .content-box .theme-btn.btn-style-two {margin-top:clamp(20px,5vw,28px);}
}
/* One shared counter stays outside Swiper's moving/fading slides. */
#main-content .banner-section-three .banner-count-anchor {position:absolute;inset:auto 0 0;z-index:2;pointer-events:none;}
#main-content .banner-section-three .banner-count-anchor .inner-box {pointer-events:auto;}
#main-content .banner-section-three .banner-count-caption {margin:14px 0 0;font-size:14px;color:#606060;}
#main-content .banner-section-three .content-box > .title {min-height:166px;}
#main-content .banner-section-three .bottom-box .text {font-family:'Pretendard',sans-serif;word-break:keep-all;line-height:1.75!important;}
#main-content .banner-section-three .bg-image::before {background:rgba(0,0,0,.5);}
@media(max-width:767.98px){
 #main-content .banner-section-three .outer-box {padding-bottom:36vh;}
 #main-content .banner-section-three .content-box > .title {min-height:0;}
 #main-content .banner-section-three .bottom-box .text {font-size:clamp(16px,4.1vw,18px);}
 #main-content .banner-section-three .bottom-box .text br {display:block;}
 #main-content .banner-section-three .banner-count-anchor .inner-box {right:4vw;padding:3vh 5vw;max-width:70vw;}
}
/* New image and value icons retain the original Why section composition. */
#main-content .why-choose-us-four .inner-container .image img {object-fit:cover;object-position:35% top;}
#main-content .why-choose-us-four .dewford-value-icon {display:flex;align-items:center;justify-content:center;padding:0;color:#000;line-height:1;}
#main-content .why-choose-us-four .dewford-value-icon svg {display:block;}
#main-content .why-choose-us-four .feature-block .text {word-break:keep-all;}
/* Use the Korean-only Pretendard face without changing Latin or icon glyphs. */
.dewford-home .dewford-korean-text {font-family:var(--dewford-body-font-family)!important;}

/* Equal-height curriculum cards finish on the same baseline as the photo. */
#main-content .why-choose-us-four .feature-block {display:flex;margin-bottom:0;}
#main-content .why-choose-us-four .feature-block .inner-block {width:100%;height:100%;}
#main-content .why-choose-us-four .inner-container > .image {margin-bottom:0;}
@media(max-width:1199.98px){
 #main-content .why-choose-us-four .inner-container > .image {display:block;position:relative;width:100%;height:clamp(260px,70vw,520px);margin-bottom:32px;z-index:auto;}
}
/* Consistent title and body weights across the home page. */
body.dewford-home {--body-font-weight:500;--dewford-weight-body:500;--dewford-weight-medium:500;--h1-font-weight:700;--h2-font-weight:700;--h3-font-weight:700;--h4-font-weight:700;--h5-font-weight:700;--h6-font-weight:700;font-weight:500;}
#main-content.dewford-template-content {--body-font-weight:500;--h1-font-weight:700;--h2-font-weight:700;--h3-font-weight:700;--h4-font-weight:700;--h5-font-weight:700;--h6-font-weight:700;font-weight:500;}
html body.dewford-home :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.dewford-home :is(#main-content,.page-wrapper) :is(h1,h2,h3,h4,h5,h6,.title,.footer-title,.widget-title),
html body.dewford-home :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:700!important;}
/* Eyebrow labels use the body weight even when marked up as a small heading. */
html body.dewford-home :is(#main-content,.page-wrapper) .sub-title {font-weight:500!important;}
html body.dewford-home #main-content.dewford-template-content :is(p,.text,li,a,button,label,input,select,textarea,.btn-title) {font-weight:500!important;}
html body.dewford-home #main-content.dewford-template-content :is(h1,h2,h3,h4,h5,h6,.title),
html body.dewford-home #main-content.dewford-template-content :is(h1,h2,h3,h4,h5,h6,.title) :is(a,span,strong,.char,.word) {font-weight:700!important;}
html body.dewford-home #main-content.dewford-template-content .sub-title {font-weight:500!important;}
/* Curriculum icons remain unchanged during hover and keyboard focus. */
#main-content .why-choose-us-four .feature-block .inner-block .dewford-value-icon {background-color:var(--theme-color1);color:#000;transition:none;}
/* Education statement replaces the template's unsupported experience statistic. */
#main-content .service-section-home-3 {background-position:center;}
#main-content .service-section-home-3 .dewford-education-symbol {display:block;width:96px;height:96px;object-fit:contain;filter:brightness(0);}
#main-content .service-section-home-3 .overlay-content .title {margin-bottom:28px;text-transform:none;}
#main-content .service-section-home-3 .overlay-content .info-box {margin-bottom:0;}
#main-content .service-section-home-3 .overlay-content .info-box .text {margin-top:0;font-size:16px;line-height:1.75!important;text-transform:none;word-break:keep-all;}
@media(max-width:767.98px){
 #main-content .service-section-home-3 .overlay-content .info-box .text {font-size:14px;}
}
#main-content #events .outer-box {background-position:center;background-size:cover;}
#main-content #events .service-block-four :is(.title,.text) {word-break:keep-all;}
#main-content #events .list-info li {display:flex;align-items:center;gap:10px;}
#main-content #events .dewford-events-status {padding:40px;color:#fff;}
#main-content #events .service-block-four .inner-box:focus-within .overlay-content {opacity:1;visibility:visible;transform:none;}
/* Footer text links use the sub color; the yellow CTA keeps dark text. */
.dewford-home .dewford-footer {--sub-color:#f5a100;}
html body.dewford-home .dewford-footer a:not(.theme-btn):is(:hover,:focus-visible),
html body.dewford-home .dewford-footer a:not(.theme-btn):is(:hover,:focus-visible) :is(span,.text,.dewford-korean-text) {color:var(--sub-color)!important;}
/* Keep the journey photograph below the cards so the scene remains visible. */
#main-content .services-section-three{display:flex;flex-direction:column;padding-bottom:0;}
#main-content .services-section-three .outer-box{order:0;max-width:none;width:100%;padding-bottom:130px;}
#main-content .services-section-three .dewford-journey-background{
 order:1;position:relative;inset:auto;display:block;flex:none;width:100%;max-width:1200px;height:auto;aspect-ratio:4 / 3;margin:0 auto;
 background-image:url('../images/photo/prepared/photo-72-wide-1600.webp');background-position:center;background-size:contain;background-repeat:no-repeat;background-attachment:scroll;
}
#main-content .services-section-three .dewford-journey-background::before{display:none;}
@media(max-width:991.98px){
 #main-content .services-section-three .outer-box{padding-bottom:51px;}
}
/* Keep the learning icons outlined in both normal and hover states. */
#main-content .services-section-three .service-block-three .icon-box svg,
#main-content .services-section-three .service-block-three .icon-box svg path {fill:none;stroke:currentColor;}
#main-content .why-choose-us-four .dewford-value-icon svg {transform:none;transition:none;}
/* Only the journey buttons react to hover. */
#main-content .services-section-three .service-block-three .inner-box::before {display:none;}
#main-content .services-section-three .service-block-three .inner-box .icon-box {background-color:var(--theme-color1);transition:none;}
#main-content .services-section-three .service-block-three .inner-box .icon-box .icon {transform:none;transition:none;}
#main-content .services-section-three .service-block-three .inner-box .icon-box svg path {transition:none;}
#main-content .services-section-three .service-block-three .inner-box .content-box .title {color:var(--headings-color);}
#main-content .services-section-three .service-block-three .inner-box .content-box .text {color:var(--text-color);border-color:var(--theme-color2);}
#main-content .services-section-three .service-block-three .inner-box .content-box .text::before {background-color:var(--headings-color);}
/* Replace only the About image slot and video visual. */
#main-content .about-section .dewford-about-still img {display:block;width:100%;height:100%;object-fit:cover;}
#main-content .about-section .dewford-about-form-panel {width:100%;aspect-ratio:auto;height:auto;margin-bottom:44px;padding:clamp(20px,2.3vw,36px);background:#f3f3f3;overflow:visible;}
#main-content .about-section .dewford-about-form h3 {font-size:24px;margin:0 0 24px;}
#main-content .about-section .dewford-about-fields {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;}
#main-content .about-section .dewford-about-fields label {display:block;font-size:14px;line-height:1.5!important;}
#main-content .about-section .dewford-about-fields :is(input,select,textarea) {display:block;width:100%;min-width:0;margin-top:6px;padding:10px 12px;background:#fff;border:1px solid #d3d3d3;color:#292929;font-family:'Pretendard',sans-serif;font-size:16px;line-height:1.5;}
#main-content .about-section .form-wide {grid-column:1/-1;}
#main-content .about-section .dewford-about-fields textarea {resize:vertical;min-height:92px;}
#main-content .about-section .form-consent {display:flex;align-items:flex-start;gap:9px;margin:18px 0;font-size:14px;line-height:1.55!important;}
#main-content .about-section .form-consent input {flex:0 0 16px;width:16px;height:16px;margin-top:3px;accent-color:var(--id-color);}
#main-content .about-section .dewford-about-form .theme-btn {width:100%;}
#main-content .about-section .dewford-form-status {font-size:14px;margin:12px 0 0;}
@media(max-width:767.98px){
 #main-content .about-section .dewford-about-form-panel {aspect-ratio:auto;padding:6vw;max-height:none;}
 #main-content .about-section .dewford-about-fields {gap:4vw;}
}
/* Card hover must not hide the arrow on the button's neutral surface. */
html body.dewford-home #main-content .services-section-three .service-block-three .theme-btn:not(:hover):not(:focus-visible),
html body.dewford-home #main-content .services-section-three .service-block-three .theme-btn:not(:hover):not(:focus-visible) :is(.btn-title,.icon,.dewford-korean-text) {color:#292929!important;}
html body.dewford-home #main-content .services-section-three .service-block-three .theme-btn:is(:hover,:focus-visible) :is(.btn-title,.icon,.dewford-korean-text) {color:#fff!important;}

/* Let the form size to its content and follow the adjacent desktop column. */
@media(min-width:992px){
 #main-content .about-section .dewford-about-still {height:400px;}
 #main-content .about-section > .auto-container > .row {align-items:stretch;}
 #main-content .about-section .image-column {align-self:stretch;}
 #main-content .about-section .image-column > .inner-column {position:sticky;top:110px;}
}
/* Clip horizontal animation overflow without creating a sticky scroll container. */
.dewford-home > .page-wrapper {overflow:clip;}
#main-content .about-section .info-block {flex-wrap:wrap;gap:24px;}
#main-content .about-section .info-block .info-box {margin-right:0;}
#main-content .about-section .info-block .icon {flex-shrink:0;}
#main-content .about-section .dewford-about-address .images {display:grid;place-items:center;flex:0 0 60px;background:var(--theme-color-dark);color:#fff;}
#main-content .about-section .dewford-about-address .info h6 {margin:0 0 5px;color:#525252;}
#main-content .about-section .dewford-about-address address {font-style:normal;margin:0;font-size:16px;line-height:1.5;}
#main-content .about-section .dewford-about-address a {color:inherit;}
#main-content .about-section .sec-title-style-three .text {word-break:keep-all;}
/* Crossfade the feature photos without jumping back to the second image. */
#main-content .dewford-feature-crossfade .feature-block-two .inner-box .image {
 opacity:0;z-index:1;pointer-events:none;
 transition:opacity .65s cubic-bezier(.22,.61,.36,1);
}
#main-content .dewford-feature-crossfade .feature-block-two .inner-box.active .image {opacity:1;}
#main-content .dewford-feature-crossfade .feature-block-two .inner-box:focus-visible {outline:2px solid var(--id-color);outline-offset:3px;}
@media(prefers-reduced-motion:reduce){
 #main-content .dewford-feature-crossfade .feature-block-two .inner-box .image {transition:none;}
}
/* Viewport-height hero with copy safely below the fixed header. */
#main-content .banner-section-three {height:100dvh;min-height:0;}
#main-content .banner-section-three :is(.banner-active,.swiper-wrapper,.swiper-slide,.swiper-slide > .auto-container,.banner-slider) {height:100%;}
#main-content .banner-section-three .outer-box {height:100%;padding:clamp(180px,24dvh,260px) 0 0;}
#main-content .banner-section-three .content-box {transform:none;transition:none;}
#main-content.dewford-template-content .banner-section-three .content-box > .title {min-height:0;font-size:clamp(42px,4.4vw,68px);line-height:1.16!important;margin-bottom:24px;}
#main-content .banner-section-three .content-box {max-width:min(774px,65vw);}
#main-content .banner-section-three .banner-count-anchor .inner-box {padding:24px 30px;}
@media(max-width:767.98px){
 #main-content .banner-section-three {height:100dvh;}
 #main-content .banner-section-three .outer-box {padding: max(150px,22dvh) 0 0;}
 #main-content .banner-section-three .content-box {max-width:100%;}
 #main-content.dewford-template-content .banner-section-three .content-box > .title {font-size:clamp(28px,7.5vw,44px);line-height:1.2!important;margin-bottom:3dvh;}
 #main-content .banner-section-three .banner-count-anchor .inner-box {display:grid;grid-template-columns:auto 1fr;column-gap:5vw;align-items:center;padding:2.5dvh 5vw;max-width:85vw;}
 #main-content .banner-section-three .banner-count-anchor .count-box {font-size:36px;}
 #main-content .banner-section-three .banner-count-anchor .text {margin:0;padding:0;border:0;font-size:16px;}
 #main-content .banner-section-three .banner-count-anchor .text::before {display:none;}
 #main-content .banner-section-three .banner-count-caption {grid-column:1/-1;margin-top:1dvh;}
}
@media(min-width:768px) and (max-height:800px){
 #main-content .banner-section-three .outer-box {padding-top:180px;}
 #main-content.dewford-template-content .banner-section-three .content-box > .title {font-size:clamp(36px,3.5vw,52px);margin-bottom:16px;}
 #main-content.dewford-template-content .banner-section-three .content-box .theme-btn {margin-top:16px;}
}
/* Give the shared banner counter more breathing room. */
#main-content .banner-section-three .banner-count-anchor .inner-box {width:360px;max-width:360px;padding:40px 42px;}
@media(max-width:991.98px){
 #main-content .banner-section-three .banner-count-anchor .inner-box {width:300px;max-width:300px;padding:32px;}
}
@media(max-width:767.98px){
 #main-content .banner-section-three .banner-count-anchor .inner-box {width:78vw;max-width:85vw;padding:3.5dvh 7vw;column-gap:7vw;}
 #main-content .banner-section-three .banner-count-caption {margin-top:2dvh;}
}
/* Desktop text offset within the full viewport hero. */
@media(min-width:768px){
 #main-content .banner-section-three .outer-box {padding-top:clamp(270px,32dvh,360px);}
}
/* The popup uses plain controls, without the shared button fill. */
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-drawer button,
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-drawer button:is(:hover,:focus-visible) {background:transparent!important;box-shadow:none;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-drawer button::before {display:none!important;}
/* Header remains transparent at the top until hovered or keyboard-focused. */
.dewford-home .dewford-header:not(.is-scrolled):is(:hover,:focus-within) {background-color:var(--id-color);}
/* Highlight submenu rows through their surface, keeping text readable. */
html body.dewford-home .dewford-header .sub-menu a:is(:hover,:focus-visible) {background-color:var(--id-color);color:#fff!important;}
html body.dewford-home .dewford-header .sub-menu a:is(:hover,:focus-visible) * {color:inherit!important;}
html body.dewford-home .dewford-drawer .dewford-dialog-submenu a {transition:background-color .2s ease;}
html body.dewford-home .dewford-drawer .dewford-dialog-submenu a:is(:hover,:focus-visible) {background-color:rgba(255,255,255,.16);color:#fff!important;}
html body.dewford-home .dewford-drawer .dewford-dialog-submenu a:is(:hover,:focus-visible) * {color:inherit!important;}
/* Main navigation hover uses the sub accent; submenu surface highlights stay intact. */
html body.dewford-home .dewford-header .dewford-navigation > li > a:is(:hover,:focus-visible),
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-drawer .dewford-dialog-row > :is(a,button):is(:hover,:focus-visible) {color:#f5a100!important;}
html body.dewford-home .dewford-header .dewford-navigation > li > a:is(:hover,:focus-visible) *,
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-drawer .dewford-dialog-row > :is(a,button):is(:hover,:focus-visible) * {color:inherit!important;}
.dewford-education-mobile-break {display:none;}
@media(max-width:767.98px){
 #main-content .service-section-home-3 .overlay-content .title br,
 #main-content .service-section-home-3 .dewford-education-mobile-break {display:block;}
 #main-content .service-section-home-3 .dewford-education-desktop-space {display:none;}
}
/* Lightweight mobile backgrounds and motion. */
@media(max-width:767.98px){
 #main-content .services-section-three .dewford-journey-background {background-image:url('../images/photo/prepared/photo-72-wide-1600.webp');background-attachment:scroll;}
 #main-content #events .outer-box {background-image:url('../images/photo/prepared/photo-76-wide-768.webp')!important;}

 #main-content .banner-section-three .bg-image {transform:none!important;transition:none;}
 #main-content .reveal {visibility:visible;opacity:1;}
}
.dewford-drawer:focus {outline:none;}
#main-content .features-section-two .dewford-features-title-break {display:none;}
@media(max-width:767.98px){
 #main-content .features-section-two .sec-title-style-three .title br {display:block;}
 #main-content .features-section-two .dewford-features-title-space {display:none;}
}
/* Only the plus tile has a surface in the header CTA. */
html body.dewford-home .dewford-header .dewford-header-talk {--button-surface:transparent;}
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-header .dewford-header-talk,
html body.dewford-home :is(#main-content,.page-wrapper) .dewford-header .dewford-header-talk:is(:hover,:focus-visible) {background:transparent!important;box-shadow:none;}
html body.dewford-home .dewford-header .dewford-header-talk > span {background:#f5a100;color:#fff;}
/* Light gray curriculum cards without borders. */
#main-content .why-choose-us-four .feature-block .inner-block {border:0;box-shadow:none;background-color:#f7f7f7;}

#main-content .why-choose-us-four .feature-block:nth-child(2) .inner-block {background-color:#fff;}
/* Keep the photo section height and size the statement panel to its copy. */
#main-content .service-section-home-3 .service-block-home-3 .inner-box {overflow:visible;}
#main-content .service-section-home-3 .service-block-home-3 .overlay-content {width:max-content;max-width:100%;left:auto;right:0;}
@media(min-width:992px){
 #main-content .service-section-home-3 .service-block-home-3 .overlay-content {width:440px;max-width:none;padding:52px 48px;}
 #main-content .service-section-home-3 .overlay-content .dewford-location-heading .title {font-size:36px;line-height:1.35;}
 #main-content .service-section-home-3 .overlay-content .dewford-location-heading .title br {display:block;}
}
@media(max-width:767.98px){
 #main-content .service-section-home-3 .service-block-home-3 .inner-box {min-height:max(500px,75dvh);}
 #main-content .service-section-home-3 .service-block-home-3 .overlay-content {width:max-content;max-width:72vw;padding:4vw;}
}

/* Hide the main banner slide navigation. */
#main-content .banner-section-three .arrow-box {display:none;}

/* Original index-2 service layout, with four static columns instead of Swiper. */
#main-content #events .outer-box {background-position:center;}
#main-content #events .outer-box::before {background:rgba(0,0,0,.28);}
#main-content #events .dewford-experience-grid {position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));}
#main-content #events .service-block-four {min-width:0;}
#main-content #events .service-block-four .inner-box:focus-within .content {opacity:0;visibility:hidden;}
@media(max-width:1199.98px){
 #main-content #events .dewford-experience-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:575.98px){
 #main-content #events .dewford-experience-grid {grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){
 #main-content #events .service-block-four :is(.content,.overlay-content) {transition:none;}
}

/* Event board preview follows the index-2 team cards. */

#main-content .dewford-event-preview .name {word-break:keep-all;}
#main-content .dewford-event-preview .dewford-events-status {color:var(--text-color);padding:24px;}

/* Approach: white surface, aligned introduction and static educational icons. */
#main-content .features-section-three,
#main-content .features-section-three .outer-container {background:#fff;}
#main-content .features-section-three .feature-block-three .inner-block,
#main-content .features-section-three .feature-block-three .icon-box,
#main-content .features-section-three .feature-block-three .icon-box .icon {transition:none;transform:none;}
#main-content .features-section-three .feature-block-three .icon-box {display:flex;align-items:center;justify-content:center;color:#fff;background-color:var(--id-color);}
#main-content .features-section-three .feature-block-three .icon-box .icon {display:flex;align-items:center;justify-content:center;}
@media(min-width:992px){
 #main-content .features-section-three .sec-title-box {display:grid;grid-template-columns:calc(45% - 102px) minmax(0,1fr);padding:100px 100px 72px;gap:0;}
 #main-content .features-section-three .sec-title-style-three {padding-right:30px;}
 #main-content .features-section-three .sec-right-box {max-width:435px;}
}

/* Keep the original team portrait proportions regardless of uploaded image size. */
#main-content .dewford-event-slider {overflow:hidden;padding-bottom:0;}
#main-content .dewford-event-image {display:block;aspect-ratio:29 / 32;background-size:cover;background-position:center;transition:transform .4s ease;}
#main-content .team-block-two .inner-block:hover .dewford-event-image {transform:scale(1.1);}
#main-content .dewford-event-preview .name {min-height:2.6em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
#main-content .dewford-event-pagination {position:relative;text-align:center;padding-bottom:20px;}
#main-content .dewford-event-pagination .swiper-pagination-bullet {margin:0 5px;}
#main-content .dewford-event-pagination .swiper-pagination-bullet-active {background:var(--id-color);}
@media(min-width:992px){
 #main-content .dewford-event-preview .sec-title-box {display:grid;grid-template-columns:var(--intro-start,45%) minmax(0,1fr);gap:0;}
 #main-content .dewford-event-preview .sec-title-style-three {padding-right:30px;}
}
@media(prefers-reduced-motion:reduce){#main-content .dewford-event-image {transition:none;}}

#main-content .dewford-event-pagination {display:none;}

#main-content .dewford-event-preview .sec-right-box .theme-btn {--button-surface:#fff;}

/* Location photo is already oriented for the contact panel; bag lettering stays readable. */
#main-content .service-section-home-3 {isolation:isolate;background-image:none;}
#main-content .service-section-home-3::before {content:"";position:absolute;inset:0;z-index:-1;background:url('../images/optimized/main_19-uniform-backpack-1600.webp') center / cover no-repeat;transform:none;}
#main-content .service-section-home-3 .dewford-location-label {display:block;font-size:14px;letter-spacing:.1em;margin-top:18px;margin-bottom:4px;}
#main-content .service-section-home-3 .dewford-location-label:first-child {margin-top:0;}
#main-content .service-section-home-3 .info-box a {color:inherit;}
@media(max-width:767.98px){#main-content .service-section-home-3::before {background-image:url('../images/optimized/main_19-uniform-backpack-768.webp');}}

#main-content .service-section-home-3 .info-box .dewford-location-row {display:flex;align-items:flex-start;gap:12px;margin-top:16px;}
#main-content .service-section-home-3 .info-box .dewford-location-row:first-child {margin-top:0;}
#main-content .service-section-home-3 .dewford-location-row svg {flex:0 0 20px;margin-top:2px;}
#main-content .service-section-home-3 .dewford-location-row > span {min-width:0;overflow-wrap:anywhere;}

#main-content .features-section-three .feature-block-three .inner-block {background-color:var(--theme-color1);}

/* Original main_06 photo: reserve the left side for the overlapping cards. */
#main-content .features-section-three .inner-container .bg-image {background:#d1ceca;display:flex;justify-content:flex-end;align-items:center;}
#main-content .features-section-three .inner-container .bg-image img {width:100%;height:100%;object-fit:cover;object-position:center;}
#main-content .features-section-three .inner-container .bg-image::before {display:none;}
@media(min-width:992px) and (max-width:1399.98px){
 #main-content .features-section-three .feature-block-three {width:25%;}
}
@media(max-width:991.98px){
 #main-content .features-section-three .inner-container .bg-image {display:flex;position:relative;inset:auto;width:100%;height:clamp(260px,70vw,520px);margin-top:24px;}
}

@media(max-width:767.98px){
 #main-content .services-section-three .dewford-journey-slider {overflow:hidden;}
 #main-content .services-section-three .dewford-journey-slider > .row {flex-wrap:nowrap;margin:0;}
 #main-content .services-section-three .dewford-journey-slider .service-block-three {flex-shrink:0;padding:0;height:auto;margin-bottom:0;}
 #main-content .services-section-three .dewford-journey-slider .service-block-three .inner-box {height:100%;}
}

@media(max-width:767.98px){
 #main-content #events .dewford-experience-slider {overflow:hidden;}
 #main-content #events .dewford-experience-grid.swiper-wrapper {display:flex;gap:0;}
 #main-content #events .dewford-experience-grid > .swiper-slide {flex-shrink:0;height:auto;}
}


@media(max-width:767.98px){
 #main-content .service-section-home-3 .dewford-location-heading {display:flex;align-items:center;gap:3vw;margin-bottom:18px;}
 #main-content .service-section-home-3 .dewford-location-heading .icon-box {flex:none;margin:0;}
 #main-content .service-section-home-3 .dewford-location-heading .dewford-education-symbol {width:10vw;height:10vw;max-width:48px;max-height:48px;}
 #main-content .service-section-home-3 .dewford-location-heading .title {margin:0;font-size:clamp(16px,4.4vw,20px);line-height:1.4;}
 #main-content .service-section-home-3 .dewford-location-heading .title br {display:block;}
}

#main-content .banner-section-three .dewford-banner-mobile-break {display:none;}
@media(max-width:767.98px){
 #main-content .banner-section-three .dewford-banner-mobile-break {display:block;}
}

@media(max-width:767.98px){
 #main-content .why-choose-us-four {overflow-x:clip;}
 #main-content .why-choose-us-four .feature-block .inner-block {display:grid;grid-template-columns:auto minmax(0,1fr);align-content:start;align-items:center;gap:4vw;padding:6vw 4vw;}
 #main-content .why-choose-us-four .feature-block .inner-block .number {margin:0;width:clamp(48px,13vw,60px);height:clamp(48px,13vw,60px);}
 #main-content .why-choose-us-four .feature-block .inner-block .title {margin:0;}
 #main-content .why-choose-us-four .feature-block .inner-block .text {grid-column:1 / -1;}
 #main-content .why-choose-us-four .feature-block.dewford-curriculum-reveal {opacity:0;transform:translateX(-10vw);transition:transform .65s cubic-bezier(.22,1,.36,1),opacity .65s ease;}
 #main-content .why-choose-us-four .feature-block.dewford-curriculum-reveal:nth-child(even) {transform:translateX(10vw);}
 #main-content .why-choose-us-four .feature-block.dewford-curriculum-reveal.is-visible,
 #main-content .why-choose-us-four .feature-block.dewford-curriculum-reveal:focus-within {opacity:1;transform:none;}
}
@media(prefers-reduced-motion:reduce){
 #main-content .why-choose-us-four .feature-block.dewford-curriculum-reveal {opacity:1;transform:none;transition:none;}
}

@media(max-width:767.98px){
 #main-content #events {max-height:100dvh;}
 #main-content #events .outer-box {height:auto;max-height:100dvh;padding-top:4dvh;display:flex;flex-direction:column;}
 #main-content #events .outer-box::before {background:rgba(0,0,0,.12);}
 #main-content #events .outer-box > .auto-container {position:relative;width:100%;flex:none;}
 #main-content #events .sec-title-style-two {margin-bottom:3dvh;gap:1dvh;}
 #main-content #events .dewford-experience-slider {flex:0 1 auto;min-height:0;width:100%;height:auto;}
 #main-content #events .dewford-experience-grid,
 #main-content #events .dewford-experience-grid > .swiper-slide,
 #main-content #events .service-block-four .inner-box {height:auto;min-height:0;}
 #main-content #events .service-block-four .content {display:none;}
 #main-content #events .service-block-four .overlay-content {position:relative;opacity:1;visibility:visible;transform:none;background:rgba(0,0,0,.45);color:#fff;max-height:100%;overflow-y:auto;overscroll-behavior:contain;padding:3dvh 6vw;transition:none;}
 #main-content #events .overlay-content :is(.title,.title a,.text,.list-info li) {color:#fff;}
 #main-content #events .overlay-content .title {padding-bottom:1.5dvh;margin-bottom:2dvh;border-color:rgba(255,255,255,.35);}
 #main-content #events .overlay-content .title::before {background:#fff;}
 #main-content #events .overlay-content .text,
 #main-content #events .overlay-content .list-info {margin-bottom:2dvh;}
 #main-content #events .overlay-content .list-info li {margin-bottom:.8dvh;}
 #main-content #events .overlay-content .list-info .icon {filter:brightness(0) invert(1);}
}

/* Compact icon/title rows on mobile cards. */
@media(max-width:767.98px){
 #main-content .services-section-three .service-block-three .inner-box,
 #main-content .features-section-three .feature-block-three .inner-block {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;align-content:start;gap:4vw;padding:6vw;}
 #main-content .services-section-three .service-block-three .content-box {display:contents;}
 #main-content .services-section-three .service-block-three .inner-box .icon-box,
 #main-content .features-section-three .feature-block-three .inner-block .icon-box {grid-column:1;grid-row:1;position:relative;inset:auto;margin:0;padding:2vw;width:clamp(48px,13vw,60px);height:clamp(48px,13vw,60px);display:grid;place-items:center;}
 #main-content .services-section-three .service-block-three .icon-box svg,
 #main-content .features-section-three .feature-block-three .icon-box svg {width:clamp(30px,8vw,40px);height:clamp(30px,8vw,40px);}
 #main-content .services-section-three .service-block-three .content-box .title,
 #main-content .features-section-three .feature-block-three .inner-block .title {grid-column:2;grid-row:1;margin:0;text-align:left;}
 #main-content .services-section-three .service-block-three .content-box .text,
 #main-content .features-section-three .feature-block-three .inner-block .text {grid-column:1 / -1;max-width:none;margin:0;text-align:left;}
 #main-content .services-section-three .service-block-three .content-box .text {padding-bottom:3vw;}
 #main-content .services-section-three .service-block-three .btn-box {grid-column:1 / -1;margin:0;}
}

/* Shared vertical spacing for the home page sections. */
#main-content.dewford-template-content {--dewford-section-space:130px;}
#main-content > :is(.teams-section-two,.why-choose-us-four,.about-section) {padding-top:var(--dewford-section-space);padding-bottom:var(--dewford-section-space);}
#main-content .services-section-three .outer-box {padding-top:var(--dewford-section-space);padding-bottom:var(--dewford-section-space);}
#main-content .features-section-three .sec-title-box {padding-top:var(--dewford-section-space);}
#main-content .features-section-three .outer-container {padding-bottom:var(--dewford-section-space);}
/* Card and pagination spacing is managed by the section's bottom padding. */
#main-content .dewford-event-preview .team-block-two .inner-block {margin-bottom:0;}
#main-content .dewford-event-preview .dewford-event-pagination {padding-bottom:0;margin-top:30px;}
@media(max-width:991.98px){
 #main-content.dewford-template-content {--dewford-section-space:90px;}
}

/* Home sequence: curriculum, learning journey, then school events. */
body.dewford-home #main-content.dewford-template-content > .why-choose-us-four {background-color:#f7f7f7;}
body.dewford-home #main-content.dewford-template-content > .services-section-three,
body.dewford-home #main-content.dewford-template-content > .services-section-three .outer-box {background-color:#fff;}
body.dewford-home #main-content.dewford-template-content > .dewford-event-preview {background-color:#f7f7f7;}
/* Keep the image above the section background, beneath the overlapping cards. */
body.dewford-home #main-content.dewford-template-content > .why-choose-us-four .inner-container {isolation:isolate;}
/* Alternate card surfaces while keeping both distinct from the section gray. */
body.dewford-home #main-content.dewford-template-content > .why-choose-us-four .feature-block .inner-block {background-color:#e6e6e6;}
body.dewford-home #main-content.dewford-template-content > .why-choose-us-four .feature-block:nth-child(2) .inner-block {background-color:#fff;}
body.dewford-home #main-content.dewford-template-content > .why-choose-us-four .theme-btn.btn-style-one {--button-surface:#fff;}
body.dewford-home #main-content.dewford-template-content > .services-section-three .service-block-three .inner-box {background-color:#f7f7f7;}
body.dewford-home #main-content.dewford-template-content > .services-section-three .service-block-three .inner-box .icon-box {background-color:#fff;}
body.dewford-home #main-content.dewford-template-content > .services-section-three .theme-btn.btn-style-two {--button-surface:#fff;}

/* Stationary brand symbol with a clockwise rotating text ring. */
#main-content .banner-section-three .dewford-banner-emblem{position:relative;width:225px;aspect-ratio:1;margin:0 auto 20px;line-height:1;}
#main-content .banner-section-three .dewford-banner-emblem .dewford-brand-ring{display:block;width:100%;height:100%;fill:var(--id-color,#52196d);font-family:Arial,sans-serif;font-size:15px;font-weight:700;animation:dewford-brand-ring-spin 24s linear infinite;}
#main-content .banner-section-three .dewford-banner-emblem .dewford-banner-symbol{display:block;position:absolute;width:52%;height:52%;object-fit:contain;left:24%;top:24%;}
@keyframes dewford-brand-ring-spin{to{transform:rotate(360deg);}}
@media(max-width:767.98px){
 #main-content .banner-section-three .dewford-banner-emblem{width:clamp(137.5px,37.5vw,187.5px);margin-bottom:12px;}
 /* Place the full journey photo after the cards in the mobile document flow. */
 #main-content .services-section-three{display:flex;flex-direction:column;}
 #main-content .services-section-three .outer-box{order:0;padding-bottom:0;}
 #main-content .services-section-three .dewford-journey-background{order:1;position:relative;inset:auto;display:block;flex:none;width:100%;height:auto;aspect-ratio:4 / 3;background-size:contain;background-position:center;background-attachment:scroll;}
 #main-content .services-section-three .dewford-journey-background::before{display:none;}
}
@media(prefers-reduced-motion:reduce){#main-content .banner-section-three .dewford-banner-emblem .dewford-brand-ring{animation:none;}}

/* Desktop retains the overlapping card/background composition. */
@media(min-width:768px){
 #main-content .services-section-three{display:block;isolation:isolate;}
 #main-content .services-section-three .dewford-journey-background{position:absolute;inset:auto 0 0;max-width:none;width:100%;height:clamp(480px,45vw,680px);aspect-ratio:auto;margin:0;background-size:cover;background-position:center 55%;z-index:0;}
 body.dewford-home #main-content.dewford-template-content > .services-section-three .outer-box{position:relative;z-index:1;background-color:transparent;padding-bottom:clamp(200px,22vw,320px);}
}

/* Tighten the white panel around the enlarged banner emblem. */
#main-content .banner-section-three .banner-count-anchor .inner-box {width:265px;max-width:265px;padding:20px;}
#main-content .banner-section-three .dewford-banner-emblem {margin-bottom:10px;}
#main-content .banner-section-three .banner-count-caption {margin-top:8px;}
@media(max-width:767.98px){
 #main-content .banner-section-three .banner-count-anchor .inner-box {width:86vw;max-width:86vw;padding:2dvh 4vw;column-gap:3vw;}
 #main-content .banner-section-three .dewford-banner-emblem {margin-bottom:6px;}
}

/* Photo-led college statement, matching the supplied tower composition. */
html body.dewford-home #main-content .service-section-home-3.dewford-tower-section {position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-start;min-height:0;aspect-ratio:16 / 9;overflow:hidden;background:none;padding:0!important;color:#fff;}
html body.dewford-home #main-content .service-section-home-3.dewford-tower-section::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(rgb(20 28 41 / 35%),rgb(20 28 41 / 35%)),url('../images/main/tower.jpeg') center 40% / cover no-repeat;}
html body.dewford-home #main-content .dewford-tower-content {padding:5.6% 5.6% 0;}
html body.dewford-home #main-content .dewford-tower-symbol {display:block;width:12.4%;height:auto;filter:none;}
html body.dewford-home #main-content .dewford-tower-eyebrow {margin:1.4vw 0 2.4vw;color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(16px,1.55vw,32px)!important;line-height:1.3!important;letter-spacing:0;}
html body.dewford-home #main-content h2.dewford-tower-title {margin:0;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:clamp(40px,7.5vw,160px)!important;font-weight:400!important;line-height:1!important;letter-spacing:-.025em;text-transform:none;}
html body.dewford-home #main-content .dewford-tower-message {width:93.4%;margin-top:auto;padding:.65vw 5.6%;background:var(--id-color);}
html body.dewford-home #main-content .dewford-tower-message p {margin:0;color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(18px,2.05vw,44px)!important;font-weight:400;line-height:1.45!important;letter-spacing:0;}
html body.dewford-home #main-content .dewford-tower-since {margin:1.5vw 6.6% 3.9vw 0;text-align:right;color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:clamp(14px,1.3vw,28px)!important;line-height:1.3!important;}
@media(max-width:767.98px){
 html body.dewford-home #main-content .service-section-home-3.dewford-tower-section {aspect-ratio:auto;min-height:620px;}
 html body.dewford-home #main-content .service-section-home-3.dewford-tower-section::before {background-position:60% center;}
 html body.dewford-home #main-content .dewford-tower-content {padding:36px 6% 40px;}
 html body.dewford-home #main-content .dewford-tower-symbol {width:112px;}
 html body.dewford-home #main-content .dewford-tower-eyebrow {margin:20px 0 30px;}
 html body.dewford-home #main-content h2.dewford-tower-title {font-size:clamp(36px,8.1vw,62px)!important;line-height:1.12!important;}
 html body.dewford-home #main-content .dewford-tower-message {width:94%;padding:16px 6%;}
 html body.dewford-home #main-content .dewford-tower-message-break {display:none;}
 html body.dewford-home #main-content .dewford-tower-since {margin:22px 6% 32px 0;}
}

/* Keep the group faces below the journey cards and the craft portrait beside the copy. */
@media(min-width:768px){
 #main-content .services-section-three .dewford-journey-background {background-position:center top;}
}
@media(min-width:992px){
 #main-content .features-section-three .inner-container .bg-image {right:100px;width:calc((100% - 200px) / 4);}
 #main-content .features-section-three .inner-container .bg-image img {object-position:48% center;}
}

/* Compact the mobile banner message while keeping its caption on one line. */
@media(max-width:767.98px){
 #main-content .banner-section-three .banner-count-anchor .inner-box {width:86vw;max-width:86vw;grid-template-columns:88px minmax(0,1fr);column-gap:16px;row-gap:10px;padding:12px 16px;}
 #main-content .banner-section-three .dewford-banner-emblem {width:88px;margin:0;}
 #main-content .banner-section-three .banner-count-caption {grid-column:1 / -1;margin:0;font-size:clamp(12px,3.2vw,14px);line-height:1.5;white-space:nowrap;}
 #main-content .banner-section-three .banner-count-caption br {display:none;}
 #main-content .banner-section-three .banner-count-caption br:nth-of-type(2) {display:block;}
}
