/* Admissions, Programs and Calendar: shared editorial rhythm. */
html body.dewford-polished-page #main-content {--polish-ink:#261c2c;--polish-muted:#665e6b;--polish-line:#e8e1eb;--polish-tint:#f7f7f7;color:var(--polish-ink);}
html body.dewford-polished-page #main-content > section {padding-block:96px;background:#fff;}
html body.dewford-polished-page #main-content :is(.auto-container,.container) {max-width:1200px;padding-inline:28px;}
html body.dewford-polished-page #main-content :is(h2,h3,h4,h5,p,.text) {word-break:keep-all;overflow-wrap:break-word;}
html body.dewford-polished-page #main-content :is(h2.title,.section-title__title,.team-details__top-name,.dewford-editorial-heading h2,.dewford-calendar h2) {font-size:clamp(32px,3.1vw,46px)!important;line-height:1.35!important;letter-spacing:-.045em;font-weight:750!important;color:var(--polish-ink);}
html body.dewford-polished-page #main-content :is(p,.text,.list-info) {font-size:16px;line-height:1.85;}
html body.dewford-polished-page #main-content :is(.sub-title,.dewford-calendar-eyebrow) {font-size:13px!important;letter-spacing:.12em;color:var(--id-color)!important;font-weight:700;line-height:1.6;margin-bottom:18px;}
html body.dewford-polished-page #main-content .sec-title-style-three {margin-bottom:32px;}
html body.dewford-polished-page #main-content .about-section .row {align-items:center;row-gap:40px;}
html body.dewford-polished-page #main-content .about-section .inner-column {padding:0;margin:0;}
html body.dewford-polished-page #main-content .about-section .image {margin:0 0 24px;overflow:hidden;border-radius:8px;}
html body.dewford-polished-page #main-content .about-section .image img {width:100%;height:auto;aspect-ratio:5/4!important;object-fit:cover;}
html body.dewford-polished-page #main-content .about-section .info-block {padding-top:24px;margin-top:28px;border-top:1px solid var(--polish-line);gap:20px;}
html body.dewford-polished-page #main-content .about-section .author-info .name {font-size:18px;}
html body.dewford-polished-page #main-content .about-section .image-column .text {color:var(--polish-muted);margin:0 0 22px;}
html body.dewford-polished-page #main-content .service-section-two {background:var(--polish-tint);padding-block:80px!important;}
html body.dewford-polished-page #main-content .dewford-section-heading {padding-top:0;}
html body.dewford-polished-page #main-content .service-section-two .outer-box {background:none!important;max-width:1200px;padding:0 28px;margin:auto;}
html body.dewford-polished-page #main-content .service-section-two .outer-box:before {display:none;}
.dewford-stage-grid > .swiper-wrapper {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;transform:none!important;counter-reset:stage;}
.dewford-stage-grid > .swiper-wrapper > .swiper-slide {width:auto!important;height:auto;margin:0!important;min-width:0;counter-increment:stage;}
html body.dewford-polished-page #main-content .service-block-two {height:100%;margin:0;}
html body.dewford-polished-page #main-content .service-block-two .inner-box {height:100%;min-height:0;display:block;border:1px solid var(--polish-line);border-radius:8px;background:white;overflow:hidden;}
html body.dewford-polished-page #main-content .service-block-two .content {display:none;}
html body.dewford-polished-page #main-content .service-block-two .overlay-content {position:relative;inset:auto;min-height:0;height:100%;padding:32px;opacity:1;visibility:visible;transform:none;background:#fff;color:var(--polish-ink);}
html body.dewford-polished-page #main-content .service-block-two .overlay-content:before {content:counter(stage,decimal-leading-zero);position:absolute;right:26px;top:28px;font-size:13px;letter-spacing:.08em;color:#928298;}
html body.dewford-polished-page #main-content .service-block-two .icon-box {width:52px;height:52px;border-radius:50%;margin:0 0 28px;background:var(--polish-tint);color:var(--id-color);font-size:25px;}
html body.dewford-polished-page #main-content .service-block-two .title {min-height:0;margin:0 0 14px;padding:0;font-size:22px!important;line-height:1.45!important;color:var(--polish-ink);}
html body.dewford-polished-page #main-content .service-block-two .title:before {display:none;}
html body.dewford-polished-page #main-content .service-block-two .title a {color:inherit;}
html body.dewford-polished-page #main-content .service-block-two .text {margin:0;color:var(--polish-muted);}
html body.dewford-polished-page #main-content .faq-section-home-two .accordion-box {border-top:1px solid var(--polish-line);}
html body.dewford-polished-page #main-content .accordion-box .block {margin:0;background:none;border:0;border-bottom:1px solid var(--polish-line);border-radius:0;}
html body.dewford-polished-page #main-content .accordion-box .acc-btn {padding:26px 48px 26px 0;font-size:18px;font-weight:650;color:var(--polish-ink);background:none;}
html body.dewford-polished-page #main-content .accordion-box .acc-btn.active {color:var(--id-color);}
html body.dewford-polished-page #main-content .accordion-box .acc-btn .icon {right:8px;width:24px;height:24px;top:28px;}
html body.dewford-polished-page #main-content .accordion-box .content {padding:0 30px 28px 0;}
html body.dewford-polished-page #main-content .accordion-box .text {color:var(--polish-muted);}
html body.dewford-polished-page #main-content .project-details__img {height:340px;min-height:0;border-radius:8px;background-size:cover;background-position:center;}
html body.dewford-polished-page #main-content .dewford-icon-copy-row {padding:24px 0;}
html body.dewford-polished-page #main-content .team-details__top-right {margin-left:0;padding-left:24px;}
html body.dewford-polished-page #main-content .team-details__top-img img {border-radius:8px;object-position:76% 50%;}
html body.dewford-polished-page #main-content .team-details-contact {display:grid;grid-template-columns:80px 1fr;gap:16px;margin-bottom:20px;}
html body.dewford-polished-page #main-content .team-details-contact h5 {font-size:11px;letter-spacing:.08em;color:var(--id-color);line-height:2;}
html body.dewford-polished-page #main-content .team-details__bottom {margin-top:60px;border-top:1px solid var(--polish-line);}
html body.dewford-polished-page #main-content .team-details__bottom-left-title {font-size:28px;line-height:1.5;margin-bottom:20px;}
html body.dewford-polished-page #main-content .team-details__progress {counter-reset:steps;}
html body.dewford-polished-page #main-content .team-details__progress-single {position:relative;padding-left:48px;counter-increment:steps;}
html body.dewford-polished-page #main-content .team-details__progress-single:before {content:counter(steps,decimal-leading-zero);position:absolute;left:0;top:0;color:var(--id-color);font-size:14px;}
html body.dewford-polished-page #main-content .team-details__progress-title {font-size:21px;}
html body.dewford-polished-page #main-content .team-contact-form {background:var(--polish-tint);}
html body.dewford-polished-page #main-content #dewford-inquiry-form {padding:40px;background:#fff;border:1px solid var(--polish-line);border-radius:8px;}
#main-content #dewford-inquiry-form .dewford-about-fields {display:grid;grid-template-columns:1fr 1fr;gap:24px;}
#main-content #dewford-inquiry-form label {display:block;font-size:14px;font-weight:600;color:#403447;}
#main-content #dewford-inquiry-form :is(input:not([type=checkbox]),select,textarea) {display:block;width:100%;margin-top:9px;padding:14px 16px;border:1px solid #ddd3e2;border-radius:4px;background:#fff;color:#261c2c;font:inherit;font-size:16px;min-height:50px;}
#main-content #dewford-inquiry-form .form-wide {grid-column:1/-1;}
#main-content #dewford-inquiry-form .form-consent {display:flex;gap:12px;align-items:flex-start;margin:24px 0;font-size:13px;line-height:1.8;font-weight:400;}
#main-content #dewford-inquiry-form input[type=checkbox] {width:18px;height:18px;margin-top:3px;flex-shrink:0;accent-color:var(--id-color);}
#main-content #dewford-inquiry-form .dewford-form-status {margin:16px 0 0;}
html body.dewford-polished-page #main-content .dewford-calendar {max-width:1200px;padding:80px 28px 96px;}
html body.dewford-polished-page #main-content .dewford-calendar-toolbar {border:1px solid var(--polish-line);border-bottom:0;border-radius:8px 8px 0 0;padding:24px;}
html body.dewford-polished-page #main-content .dewford-calendar-toolbar h3 {font-size:25px;letter-spacing:-.03em;}
html body.dewford-polished-page #main-content .dewford-calendar-weekdays {background:var(--polish-tint);}
html body.dewford-polished-page #main-content .dewford-calendar-weekdays > span:first-child {color:#a74b67;}
html body.dewford-polished-page #main-content .dewford-calendar-details {background:var(--polish-tint);padding:28px 32px;border-radius:0 6px 6px 0;}
html body.dewford-polished-page #main-content .dewford-editorial-heading {max-width:740px;margin-bottom:48px;}
html body.dewford-polished-page #main-content .dewford-editorial-heading h2 {margin-bottom:20px;}
html body.dewford-polished-page #main-content .news-block-four {margin-bottom:32px;}
html body.dewford-polished-page #main-content .news-block-four .inner-block {height:100%;border:1px solid var(--polish-line);border-radius:8px;overflow:hidden;background:#fff;}
html body.dewford-polished-page #main-content .news-block-four .image-box {margin:0;}
html body.dewford-polished-page #main-content .news-block-four .image img {aspect-ratio:4/3;object-fit:cover;}
html body.dewford-polished-page #main-content .news-block-four .content-box {padding:26px;}
html body.dewford-polished-page #main-content .news-block-four .title {font-size:23px;line-height:1.45;margin:0 0 14px;}
html body.dewford-polished-page #main-content .news-block-four .read-more {margin-top:22px;color:var(--id-color);font-size:14px;}
html body.dewford-polished-page #main-content :is(a,button,input,select,textarea,[role=button]):focus-visible {outline:2px solid var(--id-color);outline-offset:4px;}
/* Center the content symmetrically; the fixed quick links retain their own rail. */
@media(min-width:1200px){
 html body.dewford-polished-page #main-content > section > :is(.auto-container,.container),
 html body.dewford-polished-page #main-content .service-section-two .outer-box,
 html body.dewford-polished-page #main-content .dewford-calendar {width:calc(100% - 520px);max-width:1200px;margin-inline:auto;}
}
@media(max-width:991px){
 .dewford-stage-grid > .swiper-wrapper {grid-template-columns:repeat(2,minmax(0,1fr));}
 html body.dewford-polished-page #main-content .about-section :is(.content-column,.image-column) {width:100%;margin-left:0;}
 html body.dewford-polished-page #main-content .team-details__top-right {padding:0;margin-top:32px;}
}
@media(max-width:767px){
 html body.dewford-polished-page #main-content > section {padding-block:56px;}
 html body.dewford-polished-page #main-content :is(.auto-container,.container) {padding-inline:22px;}
 html body.dewford-polished-page #main-content :is(h2.title,.section-title__title,.team-details__top-name,.dewford-editorial-heading h2,.dewford-calendar h2) {font-size:29px!important;line-height:1.4!important;}
 html body.dewford-polished-page #main-content .service-section-two {padding-block:52px!important;}
 html body.dewford-polished-page #main-content .service-section-two .outer-box {padding-inline:22px;}
 .dewford-stage-grid > .swiper-wrapper {grid-template-columns:1fr;gap:14px;}
 html body.dewford-polished-page #main-content .service-block-two .overlay-content {padding:26px;}
 html body.dewford-polished-page #main-content .service-block-two .icon-box {margin-bottom:20px;}
 html body.dewford-polished-page #main-content .accordion-box .acc-btn {font-size:17px;}
 html body.dewford-polished-page #main-content .project-details__img {height:260px;}
 html body.dewford-polished-page #main-content #dewford-inquiry-form {padding:24px 20px;}
 #main-content #dewford-inquiry-form .dewford-about-fields {grid-template-columns:1fr;gap:20px;}
 html body.dewford-polished-page #main-content .dewford-calendar {padding:56px 16px;}
 html body.dewford-polished-page #main-content .dewford-calendar-toolbar {padding:16px 12px;}
 html body.dewford-polished-page #main-content .dewford-calendar-details {padding:24px 20px;}
 html body.dewford-polished-page #main-content .dewford-editorial-heading {margin-bottom:32px;}
}
@media(prefers-reduced-motion:reduce){.dewford-polished-page * {scroll-behavior:auto!important;}}
/* Second pass: neutralize inherited template spacing and accent overrides. */
html body.dewford-polished-page #main-content .team-details > .container,
html body.dewford-polished-page #main-content .team-contact-form > .container {padding-block:0!important;}
html body.dewford-polished-page #main-content .team-details__progress-single:last-child {margin-bottom:0;}
html body.dewford-polished-page #main-content .team-contact-form .sec-title {margin-bottom:36px;}
html body.dewford-polished-page #main-content .service-block-two .overlay-content .icon-box {background:var(--polish-tint)!important;color:var(--id-color)!important;}
html body.dewford-polished-page #main-content .service-block-two .icon-box i {color:var(--id-color)!important;font-size:25px;}
html body.dewford-polished-page #main-content .service-block-two .title {border:0!important;}
html body.dewford-polished-page #main-content .about-section .video-box {margin-top:32px;}
html body.dewford-polished-page #main-content .theme-btn {background:var(--id-color);color:#fff;}
html body.dewford-polished-page #main-content .theme-btn:hover {background:#361046;}
html body.dewford-polished-page #main-content .dewford-stage-grid:has(.swiper-slide:nth-child(5)) > .swiper-wrapper {grid-template-columns:repeat(6,minmax(0,1fr));}
html body.dewford-polished-page #main-content .dewford-stage-grid:has(.swiper-slide:nth-child(5)) .swiper-slide {grid-column:span 2;}
html body.dewford-polished-page #main-content .dewford-stage-grid:has(.swiper-slide:nth-child(5)) .swiper-slide:nth-last-child(-n+2) {grid-column:span 3;}
@media(max-width:767px){
 html body.dewford-polished-page #main-content .dewford-stage-grid:has(.swiper-slide:nth-child(5)) > .swiper-wrapper {grid-template-columns:1fr;}
 html body.dewford-polished-page #main-content .dewford-stage-grid:has(.swiper-slide:nth-child(5)) .swiper-slide {grid-column:auto!important;}
}
/* Third pass: readable copy, complete event titles and redundant control cleanup. */
html body.dewford-polished-page #main-content :is(p,.text,.list-info,.dewford-icon-copy-text) {line-height:1.8!important;letter-spacing:0!important;}
html body.dewford-polished-page #main-content .service-section-two .arrow-box {display:none;}
html body.dewford-polished-page #main-content .dewford-calendar-weekdays span {color:var(--polish-muted);}
html body.dewford-polished-page #main-content .dewford-calendar-weekdays > span:first-child,
html body.dewford-polished-page #main-content .dewford-calendar-weekdays > span:first-child span {color:#a74b67;}
html body.dewford-polished-page #main-content .news-block-four .inner-block {padding:0;}
html body.dewford-polished-page #main-content .news-block-four .content-box .inner-box {margin:0;padding:0;background:none;text-align:left;}
html body.dewford-polished-page #main-content .news-block-four .content-box .inner-box .title {height:auto;min-height:2.9em;font-size:22px;line-height:1.45!important;}
html body.dewford-polished-page #main-content .news-block-four .content-box .inner-box .title a {white-space:normal;overflow:visible;text-overflow:clip;}
html body.dewford-polished-page #main-content .news-block-four .content-box .inner-box .text {padding:0;margin-top:14px;border:0;}
html body.dewford-polished-page #main-content .news-block-four .content-box .text:before {display:none;}
html body.dewford-polished-page #main-content .news-block-four .content-box .read-more {margin:24px 0 0;padding:14px 0 0;border:0;border-top:1px solid var(--polish-line);background:transparent;}
html body.dewford-polished-page #main-content .news-block-four .read-more:before {display:none;}
html body.dewford-polished-page #main-content .news-block-four .read-more i {width:30px;height:30px;background:transparent;color:var(--id-color);font-size:16px;}
html body.dewford-polished-page #main-content .service-block-two .overlay-content .title {min-height:0;padding:0;margin:0 0 14px;border:0;}
html body.dewford-polished-page #main-content .service-block-two .overlay-content .title:after {display:none;}
html body.dewford-polished-page #main-content .faq-section-home-two .accordion-box {padding:0;border-radius:0;box-shadow:none;}
html body.dewford-polished-page #main-content .faq-section-home-two .accordion-box .block {padding:0;}
html body.dewford-polished-page #main-content .faq-section-home-two .accordion-box .block .acc-btn {display:block;line-height:1.6!important;}
html body.dewford-polished-page #main-content .faq-section-home-two .accordion-box .block .acc-btn .icon {position:absolute;right:8px;top:26px;bottom:auto;display:grid;place-items:center;border:0;}
html body.dewford-polished-page #main-content .faq-section-home-two .accordion-box .block .acc-content .content {padding:0 24px 24px 0;}
