/* Seacoast Services template: matches the Elementor layout it replaces. Colours come from UiCore globals. */
.sc-wrap{max-width:1280px;margin-left:auto;margin-right:auto;padding-left:10px;padding-right:10px;box-sizing:border-box}

/* Hero */
.sc-svc-hero{padding:60px 0 30px}
.sc-svc-hero h1.sc-title-treatment{font-size:36px;font-weight:500;max-width:60%;margin:0;color:var(--uicore-headline-color)}
.sc-svc-hero .sc-svc-sub{font-family:Inter,sans-serif;font-size:16px;font-weight:400;margin:0;color:var(--uicore-headline-color)}

/* Main + sidebar */
.wp-block-columns.sc-svc-main{display:flex;flex-wrap:nowrap;gap:0;padding:30px 0;margin:0 auto;align-items:flex-start}
.sc-svc-main>.wp-block-column{min-width:0;box-sizing:border-box;margin:0}
.sc-svc-main>.sc-col-main{flex:0 0 70%;padding-right:90px}
.sc-svc-main>.sc-col-side{flex:0 0 30%}
.sc-svc-image{margin:0 0 30px}
.sc-svc-image img{width:100%;height:auto;display:block}
hr.wp-block-separator.sc-divider{border:0;border-top:1px solid var(--uicore-light-color);margin:30px 0;opacity:1;width:100%;max-width:none}
.sc-col-main .sc-help-heading{max-width:60%}
.sc-col-main .sc-help-text{max-width:70%}
.sc-col-main .wp-block-buttons{margin-top:15px}
.sc-col-main .wp-block-button__link{background:var(--uicore-primary-color);border-radius:5px;padding:16px 32px;font-size:16px;color:#fff}

/* Physician photo stack */
.sc-image-stack{display:flex;align-items:center;padding:15px 0}
.sc-image-stack>*{display:block;margin-left:-28px;border-radius:50%;line-height:0;transition:transform .3s ease-out}
.sc-image-stack>*:first-child{margin-left:0}
.sc-image-stack>*:hover{transform:translateY(-4px);z-index:2}
.sc-image-stack img{width:140px!important;height:140px!important;border-radius:50%;object-fit:cover;border:3px solid #fff;box-sizing:border-box}

/* "Ready for a visit?" box */
/* classic theme: groups render an extra .wp-block-group__inner-container, so flex goes on that */
.sc-visit-box{background:var(--uicore-primary-color);border:1px solid var(--uicore-light-color);padding:20px}
.sc-visit-box>.wp-block-group__inner-container{display:flex;flex-direction:column;gap:5px}
.sc-visit-box h3{color:#fff;margin:0;max-width:270px}
.sc-visit-box p{color:#fff;font-size:14px;margin:0;max-width:250px}
ul.sc-arrow-list{list-style:none;margin:6px 0 0;padding:0}
ul.sc-arrow-list li{font-size:14px;font-weight:500;margin:0 0 6px;display:flex;align-items:center;gap:8px}
ul.sc-arrow-list li::before{content:"";width:12px;height:12px;flex:none;background:var(--uicore-secondary-color);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 18l6-6M13 6l6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 18l6-6M13 6l6 6'/%3E%3C/svg%3E") center/contain no-repeat}
ul.sc-arrow-list a{color:var(--uicore-headline-color)}

/* Sidebar cards (ex Element Pack interactive card) */
.sc-sidebar-cta{margin:0 0 30px}
.sc-card{border-radius:6px;overflow:hidden;background:#fff;box-shadow:0 5px 8px -5px rgba(151,163,184,.5),0 15px 16px -15px rgba(151,163,184,.5),0 25px 32px -25px rgba(151,163,184,.5)}
.sc-card .wp-block-image{margin:0;overflow:hidden}
.sc-card .wp-block-image img{width:100%;height:auto;display:block;transition:transform .4s ease}
.sc-card:hover .wp-block-image img{transform:scale(1.04)}
.sc-card-body{padding:20px 25px 25px}
.sc-card-sub{font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:var(--uicore-dark-color);margin:0 0 6px}
.sc-card-title{font-size:18px;margin:0 0 10px;color:var(--uicore-headline-color)}
.sc-card-body p{font-size:14px}
.sc-card-more a{font-weight:500;color:var(--uicore-primary-color)}

/* Highlights */
.sc-highlights{margin-top:0}
.sc-hl-title{text-transform:uppercase;margin:0 0 10px}
.sc-hl-list{list-style:none;padding:0;margin:0}
.sc-hl-list li{font-size:15px;display:flex;gap:8px;margin-bottom:6px}
.sc-hl-list li::before{content:"\203A";color:var(--uicore-primary-color);font-weight:700}

/* Section headings */
.sc-section-heading{max-width:60%;margin:0 0 20px}

/* Locations (ex All Locations Blocks) */
.sc-locations{margin-bottom:60px}
.sc-locations>.wp-block-group__inner-container{display:flex;flex-wrap:nowrap;gap:5px}
.sc-location-card{flex:1 1 30%;background:#fff;border-radius:10px;box-shadow:0 0 10px rgba(0,0,0,.13);margin:10px 10px 10px 0;padding:20px 30px 20px 20px;box-sizing:border-box}
.sc-location-card>.wp-block-group__inner-container{display:flex;flex-direction:column;height:100%}
.sc-location-card h3{font-size:18px;margin:0 0 15px;color:var(--uicore-headline-color)}
.sc-location-card p{font-size:14px;margin:0 0 15px}
.sc-location-card ul{list-style:none;padding:0;margin:0 0 20px}
.sc-location-card li{display:flex;align-items:center;gap:8px;font-size:14px;margin-bottom:6px}
.sc-location-card li::before{content:"";width:13px;height:13px;flex:none;background:var(--uicore-primary-color);-webkit-mask:var(--sc-ico) center/contain no-repeat;mask:var(--sc-ico) center/contain no-repeat;--sc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E")}
.sc-location-card li.sc-check::before{--sc-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 6'/%3E%3C/svg%3E")}
.sc-location-card li a{color:var(--uicore-primary-color)}
.sc-location-card .wp-block-buttons{margin-top:auto}
.sc-location-card .wp-block-button__link{background:var(--uicore-primary-color);border-radius:5px;padding:12px 24px;font-size:14px;color:#fff}

/* Related articles (ex Elementor Posts, classic skin) */
.sc-related{display:grid;grid-template-columns:repeat(3,1fr);gap:35px 30px;margin-bottom:60px}
.sc-related-thumb{display:block;border-radius:10px;overflow:hidden;aspect-ratio:3/2;margin-bottom:15px}
.sc-related-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:filter .3s}
.sc-related-thumb:hover img{filter:brightness(1.1) contrast(.9)}
.sc-related-title{font-size:16px;font-weight:400;margin:0;line-height:1.4}
.sc-related-title a{color:var(--uicore-headline-color)}

/* Tablet: stack like the Elementor template */
@media (max-width:1024px){
 .wp-block-columns.sc-svc-main{flex-wrap:wrap!important}
 .sc-svc-main>.wp-block-column{flex-basis:100%!important}
 .sc-svc-main>.sc-col-main{padding-right:0}
 .sc-visit-box{margin-top:30px}
 .sc-locations>.wp-block-group__inner-container{flex-wrap:wrap}
 .sc-location-card{flex:1 1 calc(50% - 15px)}
}
@media (max-width:767px){
 .sc-svc-hero{padding:30px 0}
 .sc-svc-hero h1.sc-title-treatment{font-size:24px;max-width:none}
 .wp-block-columns.sc-svc-main{padding:0 10px}
 .sc-col-main .sc-help-heading,.sc-col-main .sc-help-text,.sc-section-heading{max-width:none}
 .sc-image-stack img{width:90px!important;height:90px!important}
 .sc-location-card{flex:1 1 100%;margin-right:0}
 .sc-related{grid-template-columns:1fr}
}

/* ===== Team Profile (ex Elementor uicore-tb 756) ===== */
.sc-team-hero{padding:60px 0 30px}
.sc-team-hero h5.sc-team-eyebrow{font-family:"Inter Tight",Inter,sans-serif;font-size:16px;font-weight:400;color:var(--uicore-body-color);margin:0;letter-spacing:normal}
.sc-team-hero h1.sc-team-title{font-size:36px;font-weight:500;max-width:60%;margin:0;color:var(--uicore-headline-color)}
.wp-block-columns.sc-team-main{display:flex;flex-wrap:nowrap;gap:60px;padding:60px 0;margin:0 auto;align-items:flex-start}
.sc-team-main>.wp-block-column{min-width:0;box-sizing:border-box;margin:0}
.sc-team-main>.sc-team-side{flex:0 0 33%}
.sc-team-main>.sc-team-bio{flex:0 0 50%}
.sc-team-photo{margin:0}
.sc-team-photo img{width:100%;height:auto;display:block;border-radius:10px}
.sc-team-protitle{font-size:17px;font-weight:500;text-align:center;color:var(--uicore-body-color);margin:15px 0 0}
.sc-team-award{font-size:22px;font-weight:400;text-align:center;color:var(--uicore-headline-color);margin:60px 0 0}
.sc-team-collage{margin:30px 0}
.sc-team-collage img{width:100%;height:auto;display:block}
.sc-team-locations{margin-bottom:60px}
@media (max-width:1024px){
 .wp-block-columns.sc-team-main{flex-wrap:wrap!important;gap:30px}
 .sc-team-main>.wp-block-column{flex-basis:100%!important}
 .sc-team-main>.sc-team-side{max-width:480px}
}
@media (max-width:767px){
 .sc-team-hero{padding:30px 0}
 .sc-team-hero h1.sc-team-title{font-size:24px;max-width:none}
 .wp-block-columns.sc-team-main{padding:30px 10px}
}

/* ===== Blog post (ex Elementor uicore-tb 2348) ===== */
.sc-narrow{max-width:860px;margin-left:auto;margin-right:auto;padding-left:10px;padding-right:10px;box-sizing:border-box}
.sc-post-hero{padding:60px 0 30px;text-align:center}
.sc-post-hero h5.sc-post-eyebrow{font-family:"Inter Tight",Inter,sans-serif;font-size:16px;font-weight:400;color:var(--uicore-body-color);margin:0 0 10px;letter-spacing:normal}
.sc-post-hero h1.sc-post-title{font-size:48px;font-weight:600;line-height:1.2;color:var(--uicore-headline-color);margin:0;text-align:center}
.sc-post-image{max-width:1040px;margin:30px auto}
.sc-post-image img{width:100%;height:auto;display:block;border-radius:10px}
.sc-post-body{margin-bottom:30px}
.sc-share{display:flex;gap:8px;margin-top:30px}
.sc-share a{width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:0;color:#fff;transition:opacity .2s}
.sc-share a:hover{opacity:.85}
.sc-share svg{width:20px;height:20px;fill:currentColor}
.sc-share-facebook{background:#3b5998}.sc-share-x{background:#000}.sc-share-reddit{background:#ff4500}.sc-share-whatsapp{background:#25d366}
.sc-post-cta{background:#F5F7FA;margin-top:90px;padding:30px 0;overflow:hidden}
.sc-post-cta-inner{display:flex;gap:60px;align-items:center}
.sc-post-cta-text{flex:0 0 calc(50% - 30px);padding:30px 30px 30px 0;display:flex;flex-direction:column;gap:30px;margin-bottom:0}
.sc-post-cta-text h2{font-size:28px;color:var(--uicore-headline-color);margin:0}
.sc-post-cta-copy{max-width:80%}.sc-post-cta-copy p{margin:0}
.sc-post-cta-text .wp-block-button__link{background:var(--uicore-primary-color);border-radius:5px;padding:16px 32px;font-size:16px;color:#fff}
.sc-post-cta-media{flex:0 0 calc(50% - 30px)}
.sc-post-cta-media img{width:100%;height:auto;display:block;border-radius:15px}
.sc-post-related{margin-top:60px;margin-bottom:60px}

/* ===== Blog archive (ex Elementor uicore-tb 1196) ===== */
.sc-archive-hero{padding:60px 0}
.sc-archive-hero h5.sc-archive-eyebrow{font-family:"Inter Tight",Inter,sans-serif;font-size:16px;font-weight:400;color:var(--uicore-body-color);margin:0;letter-spacing:normal}
.sc-archive-hero h1{font-size:36px;font-weight:500;max-width:60%;margin:0;color:var(--uicore-headline-color)}
.sc-archive-list{margin-bottom:60px}
.sc-archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:50px 60px}
.sc-archive-thumb{display:block;margin-bottom:20px;overflow:hidden}
.sc-archive-thumb img{width:100%;height:auto;display:block;transition:filter .3s}
.sc-archive-thumb:hover img{filter:brightness(1.03) saturate(1.05)}
.sc-archive-title{font-size:24px;font-weight:400;line-height:1.3;margin:0 0 5px}
.sc-archive-title a{color:var(--uicore-headline-color)}
.sc-archive-date{font-size:18px;color:#ADADAD}
.sc-pagination{margin-top:60px;display:flex;gap:12px;justify-content:center;font-size:16px}
.sc-pagination .page-numbers{color:#1C244B}
.sc-pagination .page-numbers.current,.sc-pagination a.page-numbers:hover{color:#ADC1CA}
@media (max-width:1024px){
 .sc-archive-grid{grid-template-columns:repeat(2,1fr);gap:40px 30px}
 .sc-post-cta-inner{flex-direction:column;gap:30px}
 .sc-post-cta-text,.sc-post-cta-media{flex-basis:auto;width:100%;padding-right:0}
}
@media (max-width:767px){
 .sc-post-hero h1.sc-post-title{font-size:30px}
 .sc-archive-hero{padding:30px 0}
 .sc-archive-hero h1{font-size:24px;max-width:none}
 .sc-archive-grid{grid-template-columns:1fr}
 .sc-post-cta{margin-top:60px}
 .sc-post-cta-copy{max-width:none}
}
.sc-pagination .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
/* line up with live's 1280 grid on wide screens (sc-wrap's 10px gutter only below 1300px) */
@media (min-width:1300px){.sc-post-body.sc-narrow,.sc-post-cta-inner.sc-wrap,.sc-post-related.sc-wrap,.sc-archive-list.sc-wrap{padding-left:0;padding-right:0}}

/* ===== Location pages (ex Elementor content) ===== */
.sc-loc-hero{padding:60px 0}
.sc-loc-hero h5.sc-loc-eyebrow{font-family:"Inter Tight",Inter,sans-serif;font-size:16px;font-weight:400;color:var(--uicore-body-color);margin:0;letter-spacing:normal}
.sc-loc-hero h1.sc-loc-title{font-size:36px;font-weight:500;max-width:60%;margin:0;color:var(--uicore-headline-color)}
.sc-loc-band{background-size:cover;background-position:center center;background-repeat:no-repeat;min-height:500px;padding:30px 0;display:flex;align-items:center}
.sc-loc-band>.wp-block-group__inner-container{width:100%}
.sc-loc-cards>.wp-block-group__inner-container,.sc-loc-cards:not(:has(>.wp-block-group__inner-container)){display:flex;gap:20px;padding:60px 90px 60px 0;align-items:stretch}
.sc-loc-card{background:#fff;padding:30px 60px;flex:0 0 50%;box-sizing:border-box}
.sc-loc-card p{font-size:16px;line-height:1.65;margin:0 0 16px}
.sc-loc-card h3{font-size:18px;font-weight:600;color:var(--uicore-body-color);margin:0 0 16px}
.sc-loc-card ul{margin:0 0 0 20px;padding:0}
.sc-loc-card li{margin-bottom:2px}
figure.sc-hours{margin:0 0 20px}
figure.sc-hours table{width:100%;border-collapse:collapse;border:0}
figure.sc-hours td{border:0;padding:0;font-size:16px;line-height:1.65}
figure.sc-hours td:last-child{text-align:right}
.wp-block-uicore-container > figure.sc-hours{margin:0}
.sc-loc-card .wp-block-buttons{display:flex;gap:10px;flex-wrap:wrap}
.sc-loc-card .wp-block-button__link{background:var(--uicore-primary-color);color:#fff;border-radius:5px;padding:12px 15px;font-size:16px}
.sc-loc-map{margin:0}
@media (max-width:1024px){
 .sc-loc-cards>.wp-block-group__inner-container{flex-direction:column;padding:30px 10px}
 .sc-loc-card{flex-basis:auto;padding:30px}
}
@media (max-width:767px){
 .sc-loc-hero{padding:30px 0}.sc-loc-hero h1.sc-loc-title{font-size:24px;max-width:none}
}

/* ===== Tabs (ex Element Pack tabs: Skin Cancer Types) ===== */
.sc-tabs{margin:30px 0}
.sc-tab-nav{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:0}
.sc-tab-btn{background:var(--uicore-light-color);color:var(--uicore-dark-color);border:0;border-radius:0;padding:10px 15px;font:inherit;font-size:16px;cursor:pointer}
.sc-tab-btn.is-active{background:var(--uicore-primary-color);color:#fff}
.sc-tab-btn:focus-visible{outline:2px solid var(--uicore-secondary-color);outline-offset:2px}
.sc-tab{padding:15px}
.sc-tabs-ready .sc-tab-title{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.sc-tab::after{content:"";display:table;clear:both}
.sc-tab .sc-tab-img{float:right;margin:0 0 10px 20px}
.sc-tab .sc-tab-img img{width:200px;height:200px;border-radius:150px;object-fit:cover}
@media (max-width:767px){.sc-tab .sc-tab-img{float:none;margin:0 0 15px}}
@media (min-width:1300px){.sc-loc-cards.sc-wrap{padding-left:0;padding-right:0}}

/* ===== Converted pages: shared component styles ===== */
.sc-e{box-sizing:border-box}
.sc-e>.wp-block-group__inner-container>*{margin-top:0;margin-bottom:0}
.sc-text p:last-child,.sc-text ul:last-child{margin-bottom:0}
.sc-e.wp-block-image{margin:0}
.sc-e.wp-block-image img{height:auto;max-width:100%}
.sc-btn .wp-block-button__link{background:var(--uicore-primary-color);color:#fff;border-radius:5px;padding:16px 32px;font-size:16px}
.sc-icon-box{text-align:center}
.sc-ib-title{font-size:20px;font-weight:400;color:var(--uicore-headline-color)}
.sc-ib-desc{margin:0}
.sc-icon-list{list-style:none;padding:0;margin:0}
.sc-logo-grid>.wp-block-group__inner-container{gap:15px}
.sc-logo-grid .wp-block-image.sc-logo{margin:0;display:flex;align-items:center;justify-content:center;border:2px solid #e7e7e7;border-radius:8px;padding:3px 30px;box-sizing:border-box;overflow:hidden}
.sc-logo-grid .sc-logo a{display:contents}
.sc-logo-grid img{max-width:100%;max-height:100%;object-fit:contain}
.sc-review-grid>.wp-block-group__inner-container{gap:20px}
.sc-review-card{background:transparent;padding:30px;border:1px solid #eee;border-radius:10px;box-sizing:border-box}
.sc-review-card .sc-review-text{margin:0}
.sc-review-rating{margin:0;font-size:20px;line-height:1;letter-spacing:5px;color:#e4b600}
.sc-review-card .sc-review-rating{margin-top:0!important}
.sc-review-name{font-weight:600;margin:15px 0 0}
.sc-adv-icon-box .sc-aib-title{margin:0 0 10px}
.sc-posts{width:100%;box-sizing:border-box;display:grid;grid-template-columns:repeat(var(--sc-cols),1fr);gap:var(--sc-rgap) var(--sc-cgap)}
.sc-posts-center{text-align:center}
.sc-post-thumb{display:block;position:relative;padding-bottom:calc(var(--sc-ratio)*100%);overflow:hidden;margin-bottom:20px}
.sc-post-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sc-post-title{font-size:var(--sc-tsize,18px);font-weight:400;margin:0 0 5px;line-height:1.35}
.sc-post-title a{color:var(--uicore-headline-color)}
.sc-post-meta{font-size:13px;color:#adadad;margin-bottom:8px}
.sc-post-excerpt p{margin:0 0 10px;font-size:14px}
.sc-post-more{font-size:12px;font-weight:600;text-transform:uppercase;color:var(--uicore-primary-color)}
/* Elementor Posts "Cards" skin */
.sc-posts-cards .sc-post{position:relative;background:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,.15);border-radius:var(--sc-radius,0);overflow:hidden;display:flex;flex-direction:column}
.sc-posts-cards .sc-post-thumb{margin-bottom:0}
.sc-posts:not(.sc-posts-cards) .sc-post-thumb{border-radius:var(--sc-radius,0)}
.sc-posts-cards .sc-post-text{padding:20px 30px 0;display:flex;flex-direction:column;flex:1}
.sc-posts-cards .sc-post-title{font-size:var(--sc-tsize,21px);line-height:1.5;margin:0 0 25px}
.sc-posts-cards .sc-post-excerpt{margin-bottom:25px}.sc-posts-cards .sc-post-excerpt p{margin:0;font-size:14px;line-height:1.5;color:#777}
.sc-posts-cards .sc-post-more{font-weight:700;margin-bottom:20px;align-self:flex-start}
.sc-post-badge{position:absolute;top:0;right:0;margin:20px;background:#69727d;color:#fff;font-size:12px;line-height:1;padding:.6em 1.2em;border-radius:999px;text-transform:uppercase;z-index:1}
.sc-loadmore-wrap{text-align:center;margin-top:40px}
.sc-loadmore{background:var(--uicore-primary-color);color:#fff;border:0;border-radius:5px;padding:14px 28px;font:inherit;cursor:pointer}
.sc-gallery{display:grid;grid-template-columns:repeat(var(--sc-cols),1fr);gap:30px}
.sc-gallery-item{display:block;text-align:center;text-decoration:none}
.sc-gallery-img{display:block;position:relative;height:var(--sc-h);overflow:hidden}
.sc-gallery .sc-gallery-img img{width:100%!important;height:100%!important;max-width:none;object-fit:cover!important;aspect-ratio:auto!important;display:block}
.sc-gallery-view{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);color:#fff;letter-spacing:.08em;opacity:0;transition:opacity .3s}
.sc-gallery-item:hover .sc-gallery-view,.sc-gallery-item:focus-visible .sc-gallery-view{opacity:1}
.sc-gallery-title{display:block;color:var(--uicore-headline-color);font-family:"Inter Tight",Inter,sans-serif;font-size:19px;font-weight:500;line-height:1.5;padding:15px}
.sc-gallery-img{border-radius:0}
@media (max-width:1024px){.sc-gallery{grid-template-columns:repeat(3,1fr)}.sc-posts{grid-template-columns:repeat(min(var(--sc-cols),3),1fr)}}
@media (max-width:767px){.sc-gallery{grid-template-columns:repeat(2,1fr);gap:20px}.sc-posts{grid-template-columns:repeat(min(var(--sc-cols),2),1fr)}.sc-logo-grid>.wp-block-group__inner-container,.sc-review-grid>.wp-block-group__inner-container{grid-template-columns:1fr!important}}
/* converted pages: let sections span the page (UiCore boxes non-Elementor page content) */
.uicore.uicore-container.uicore-content-wrapper:has(>.uicore-content>.sc-e){max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important}
.uicore-content-wrapper>.uicore-content:has(>.sc-e){flex:1 1 100%;width:100%;max-width:none}

/* Elementor button icons (ti-angle-right after text, ti-unlock) */
.sc-btn-icon .wp-block-button__link{display:inline-flex;align-items:center;gap:5px}
.sc-btn-icon .wp-block-button__link::after{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:var(--sc-btn-ico) center/contain no-repeat;mask:var(--sc-btn-ico) center/contain no-repeat}
.sc-btn-icon-angle-right{--sc-btn-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E")}
.sc-btn-icon-unlock{--sc-btn-ico:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 7.5-2'/%3E%3C/svg%3E")}
.sc-btn-icon-before .wp-block-button__link{flex-direction:row-reverse}

/* Locations section placed by a converted page (Contact): box it like live */
.sc-tpl-locations{max-width:1280px;margin-left:auto;margin-right:auto;width:100%}
/* converted containers: inner wrapper fills the section so justify/align (e.g. vertical centring) work like Elementor */
.wp-block-group.sc-e:has(>.wp-block-group__inner-container){display:flex;flex-direction:column}
.wp-block-group.sc-e>.wp-block-group__inner-container{flex:1 1 auto;width:100%;box-sizing:border-box}
/* text widgets inherit the body line-height (26.4px) like Elementor did; explicit Elementor line-heights in pages/*.css still win */
.sc-text p,.sc-text li{line-height:inherit}

/* text widgets: paragraph rhythm like Elementor (1em between, none after the last) */
.sc-text.sc-e>.wp-block-group__inner-container>:is(p,ul,ol,h1,h2,h3,h4,h5,h6){margin:0 0 1em}
.sc-text.sc-e>.wp-block-group__inner-container>:last-child{margin-bottom:0}
/* Elementor divider: 15px spacing above and below by default */
.sc-e>.wp-block-group__inner-container>hr.wp-block-separator.sc-e{margin-top:15px;margin-bottom:15px}

/* ---- homepage + footer (build-home.php) ---- */
/* treatment grid, simple style (client note: no hover overlay) */
.sc-gallery-simple .sc-gallery-img{border-radius:10px}
.sc-gallery-simple .sc-gallery-img img{transition:transform .4s ease}
.sc-gallery-simple .sc-gallery-item:hover .sc-gallery-img img,.sc-gallery-simple .sc-gallery-item:focus-visible .sc-gallery-img img{transform:scale(1.04)}
/* review carousel (UiCore testimonial carousel) */
.sc-carousel{position:relative}
.sc-carousel>.wp-block-group__inner-container,.sc-carousel-track{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sc-carousel>.wp-block-group__inner-container::-webkit-scrollbar,.sc-carousel-track::-webkit-scrollbar{display:none}
.sc-carousel .sc-carousel-item{flex:0 0 calc((100% - 40px)/3);scroll-snap-align:start;box-sizing:border-box;background:#fff;border:1px solid #eee;border-radius:12px;padding:30px;display:flex}
.sc-carousel-item>.wp-block-group__inner-container{display:flex;flex-direction:column;justify-content:center;width:100%}
.sc-carousel .sc-carousel-text{margin:0}
.sc-carousel .sc-carousel-stars{margin:0;color:#ffab1a;font-size:14px;letter-spacing:1px;line-height:26.4px}
.sc-carousel-prev,.sc-carousel-next{position:absolute;top:50%;transform:translateY(-50%);margin-top:-14px;width:27px;height:27px;padding:0;border:0;background:currentColor;color:var(--uicore-primary-color);cursor:pointer;-webkit-mask:var(--sc-chev) center/contain no-repeat;mask:var(--sc-chev) center/contain no-repeat}
.sc-carousel-prev:hover,.sc-carousel-next:hover{color:var(--uicore-accent-color)}
.sc-carousel-prev{left:-35px;--sc-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 6l-6 6 6 6'/%3E%3C/svg%3E")}
.sc-carousel-next{right:-35px;--sc-chev:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E")}
.sc-carousel-dots{display:flex;justify-content:center;gap:12px;margin-top:18px}
.sc-carousel-dots button{width:8px;height:8px;padding:0;border:0;border-radius:50%;background:rgba(51,51,51,.25);cursor:pointer}
.sc-carousel-dots button.is-active{background:#333}
.sc-carousel-track:focus-visible{outline:2px solid var(--uicore-primary-color);outline-offset:4px}
@media (max-width:1024px){.sc-carousel .sc-carousel-item{flex-basis:calc((100% - 20px)/2)}}
@media (max-width:767px){.sc-carousel .sc-carousel-item{flex-basis:100%}.sc-carousel-prev{left:-5px}.sc-carousel-next{right:-5px}}
/* interactive card (Element Pack) */
.sc-icard{border-radius:6px;overflow:hidden;background:#fff;box-shadow:0 5px 8px -5px rgba(151,163,184,.5),0 15px 16px -15px rgba(151,163,184,.5),0 25px 32px -25px rgba(151,163,184,.5)}
.sc-icard>.wp-block-group__inner-container>.sc-icard-img{margin:0}
.sc-icard-img img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.sc-icard-body{padding:30px}
.sc-icard .sc-icard-title{font-size:20px;font-weight:600;line-height:1.5;margin:6px 0 0;color:var(--uicore-headline-color)}
.sc-icard-text,.sc-icard-text p{color:#4e4a67}
.sc-icard-text p{margin:0 0 1em}.sc-icard-text p:last-child{margin-bottom:0}
.sc-icard-more{margin-top:5px}
.sc-icard .sc-icard-more .wp-block-button__link.wp-element-button{display:inline-flex;align-items:center;gap:10px;background:none;padding:0!important;border:0;font-size:14px;line-height:30px;font-weight:600;color:var(--uicore-headline-color)}
.sc-icard-more .wp-block-button__link::before{content:"";width:30px;height:30px;border-radius:50%;background:var(--uicore-accent-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat;flex:0 0 30px}
/* social icons + footer link lists */
.wp-block-social-links.sc-social{display:flex;flex-wrap:wrap;list-style:none;padding-left:0;margin:0}
.sc-social .wp-social-link{border-radius:3px;margin:0;padding:0;color:#fff}
.sc-social .wp-social-link a{display:flex;align-items:center;justify-content:center;padding:.5em;color:#fff;line-height:0}
.sc-social .wp-social-link svg{fill:currentColor}
ul.sc-icon-list-angle li{position:relative;padding-left:22px;margin-bottom:10px}
ul.sc-icon-list-angle li:last-child{margin-bottom:0}
.sc-icon-list-angle li::before{content:"";position:absolute;left:0;top:.35em;width:14px;height:14px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat}
.sc-icon-list-angle a{text-decoration:none}
#uicore-tb-footer .uicore-bl-el>.sc-e:first-child{margin-top:0}

/* UiCore build: card "read more" button (uicore/button markup) */
.sc-icard .sc-icard-more .uicore-bl-wrp{display:inline-flex;align-items:center;gap:10px;background:none!important;padding:0!important;border:0;font-size:14px;line-height:30px;font-weight:600;color:var(--uicore-headline-color)}
.sc-icard .sc-icard-more .uicore-bl-wrp::before{content:"";width:30px;height:30px;border-radius:50%;background:var(--uicore-accent-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/14px no-repeat;flex:0 0 30px}
.sc-icard-text p{margin:0}
.sc-icard .sc-icard-img img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover}
.sc-text.wp-block-uicore-container>p,.sc-text.wp-block-uicore-container>.wp-block-uicore-paragraph{margin:0}
.wp-block-uicore-container .wp-block-list{margin:0}
.sc-btn-icon .uicore-bl-wrp{display:inline-flex;align-items:center;gap:5px}
.sc-btn-icon .uicore-bl-wrp::after{content:"";width:16px;height:16px;background:currentColor;-webkit-mask:var(--sc-btn-ico) center/contain no-repeat;mask:var(--sc-btn-ico) center/contain no-repeat}
.sc-btn-icon-before .uicore-bl-wrp{flex-direction:row-reverse}

/* Elementor flex sizing carried into UiCore containers */
.wp-block-uicore-container.sc-noshrink{flex-shrink:0}
.wp-block-uicore-container.sc-grow{flex-grow:1}

.sc-stack-flex-start .sc-image-stack{justify-content:flex-start}.sc-stack-center .sc-image-stack{justify-content:center}.sc-stack-flex-end .sc-image-stack{justify-content:flex-end}

/* image widths in % are relative to the column (Elementor), not the image's natural size */
.uicore-bl-img.sc-imgpct:not(.swiper-slide){max-width:none;width:100%}

/* Elementor parity: paragraphs inherit the page line-height (26.4px) instead of the theme 1.65em of their own size */
.wp-block-uicore-paragraph,.wp-block-uicore-container li{line-height:inherit}
/* icon lists with per-item icons (Elementor icon-list / UiCore icon-list) */
ul.sc-icon-list-ico{--ico:15px;--ico-gap:10px}
ul.sc-icon-list-ico.sc-ico-25{--ico:25px;--ico-gap:6px}
ul.sc-icon-list-ico li{position:relative;padding-left:calc(var(--ico) + var(--ico-gap));margin-bottom:10px}
ul.sc-icon-list-ico.sc-li-gap-30 li{margin-bottom:30px}
ul.sc-icon-list-ico li:last-child{margin-bottom:0}
ul.sc-icon-list-ico li::before{content:"";position:absolute;left:0;top:calc((1lh - var(--ico)) / 2);width:var(--ico);height:var(--ico);background:currentColor;-webkit-mask:var(--m) center/contain no-repeat;mask:var(--m) center/contain no-repeat}
ul.sc-icon-list-ico li:has(> a)::before{background:var(--uicore-primary-color)}
ul.sc-icon-list-ico a{text-decoration:none}
li.sc-li-phone{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z'/%3E%3C/svg%3E")}
li.sc-li-clock{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z'/%3E%3C/svg%3E")}
li.sc-li-thermo{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 14.76V3.5a2.5 2.5 0 0 0-5 0v11.26a4.5 4.5 0 1 0 5 0z'/%3E%3C/svg%3E")}
li.sc-li-slice{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21L14.5 9.5l2 2C12 16 7.5 19.5 3 21z'/%3E%3Cpath d='M14.5 9.5L20 4l1 1-5.5 6.5'/%3E%3C/svg%3E")}
.sc-icard .sc-icard-sub{margin:0 0 -15px!important;font-size:16px;line-height:26.4px}
/* tabs built with UiCore containers (pattern sc-skin-cancer-types) */
.wp-block-uicore-container.sc-tab{display:block!important;padding:15px!important}
.wp-block-uicore-container.sc-tab[hidden]{display:none!important}
.wp-block-uicore-container.sc-tabs{margin:30px 0!important}
.wp-block-uicore-container.sc-tab > .wp-block-uicore-paragraph{margin:0 0 16px}
.wp-block-uicore-container.sc-tab > .wp-block-uicore-paragraph:last-child{margin-bottom:0}
.sc-tab .uicore-bl-img.sc-tab-img{float:right;margin:0 0 10px 20px;max-width:none}
.sc-tab .uicore-bl-img.sc-tab-img img{width:200px;height:200px;border-radius:150px;object-fit:cover}
@media (max-width:767px){.sc-tab .uicore-bl-img.sc-tab-img{float:none;margin:0 0 15px}}
.wp-block-uicore-container.sc-tabs{display:block!important}
ul.sc-icon-list-ico.sc-ico-12{--ico:12px;--ico-gap:6px}
ul.sc-icon-list-ico.sc-ico-12 li::before{top:calc((1lh - var(--ico)) / 2 + 2px)}
ul.sc-icon-list-ico.sc-li-gap-6 li{margin-bottom:11px}
ul.sc-icon-list-ico.sc-li-gap-6 li:last-child,ul.sc-icon-list-ico.sc-li-gap-30 li:last-child{margin-bottom:0}
ul.sc-icon-list-ico[class*=sc-ico-c-] li::before{background:var(--sc-ico-c)}
.sc-ico-c-primary{--sc-ico-c:var(--uicore-primary-color)}.sc-ico-c-secondary{--sc-ico-c:var(--uicore-secondary-color)}.sc-ico-c-headline{--sc-ico-c:var(--uicore-headline-color)}.sc-ico-c-dark{--sc-ico-c:var(--uicore-dark-color)}
li.sc-li-arrow{--m:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6'/%3E%3C/svg%3E")}
.wp-block-uicore-container > .sc-image-stack{padding:0}
.wp-block-uicore-container > .sc-sidebar-cta{margin:0}
/* dynamic blocks inside UiCore templates */
.sc-dyn-img > .wp-block-post-featured-image,.sc-the-content > .wp-block-post-content{margin:0}
.sc-dyn-img > .wp-block-post-featured-image img{width:100%;height:auto;display:block}
.wp-block-uicore-container > figure:not(.wp-block-table){margin:0}
.wp-block-uicore-container > figure img{width:100%;height:auto;display:block}
.sc-the-content figure.wp-block-image{margin-top:0;margin-bottom:0}
.sc-the-content .wp-block-post-content > :is(ul,ol){margin-top:16px;margin-bottom:16px}
.wp-block-uicore-paragraph.sc-img-caption{font-size:15px;line-height:1.65;margin:0}
