/* Alberta 1.0.1 — reference composition using native WebBuilder markup. */
body.site{margin:0;color:#454545;background:#fff;font-size:17px;line-height:1.5}body.site h1,body.site h2,body.site h3{color:#073b69;line-height:1.14;letter-spacing:-.025em}body.site h1{font-size:clamp(2.5rem,4.8vw,4.25rem);font-weight:800;margin:0 0 14px}body.site h2{font-size:clamp(1.9rem,3vw,2.7rem);margin:0 0 12px}body.site h3{font-size:1.13rem;margin:0 0 8px}body.site p{overflow-wrap:anywhere}body.site a{color:#064c84}body.site a:focus-visible,body.site summary:focus-visible{outline:3px solid #85c32d;outline-offset:4px}.site-head{background:#fff;border:0}.site-head>.wrap{display:flex;align-items:center;gap:20px;justify-content:space-between;padding-top:12px;padding-bottom:12px}.site-logo{flex-shrink:0}.site-logo img{width:250px;max-width:100%;height:auto;object-fit:contain}.am-desktop-nav{display:flex;gap:26px;align-items:center}.am-desktop-nav a{color:#202020;text-decoration:none;font-size:15px}.am-desktop-nav a:hover{color:#0067a9;text-decoration:underline;text-decoration-color:#83c629;text-underline-offset:8px}.am-head-phone,.am-hero-action,.am-content-button .btn,.alberta-call a,.alberta-direct a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 24px!important;border-radius:14px!important;background:linear-gradient(#087cc4,#004f91)!important;border:1px solid #005c9d;color:white!important;text-decoration:none!important;font-weight:700;box-shadow:0 3px 6px #04436b10;line-height:1.3;box-sizing:border-box}.am-head-phone{font-size:16px;white-space:nowrap}.site-main{padding-top:0;padding-bottom:0;min-height:60vh}.site-main>.content{margin:0}.am-content-hero.am-hero-v5{margin:0;padding:30px 28px;background:var(--am-hero-bg,#fff);min-height:var(--am-hero-height);display:flex;align-items:center;box-sizing:border-box;border-radius:20px;overflow:hidden}.am-hero-inner{width:100%;margin:auto}.am-hero-side .am-hero-inner{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:28px}.am-hero-copy>p:not(.am-block-kicker){font-size:1.12rem;margin:0 0 20px;max-width:55ch}.am-hero-picture{min-width:0}.am-hero-picture img{display:block;width:100%;height:auto;object-fit:cover;border-radius:24px}.am-hero-action{max-width:100%;font-size:15px}.am-block-kicker{font-size:12px;font-weight:750;color:#52a119;letter-spacing:.015em;margin:0 0 12px;text-transform:uppercase}.am-content-text{margin-top:0!important;margin-bottom:0!important}.am-content-text>p{max-width:78ch}.am-column-grid{display:grid;gap:22px}.am-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.am-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.am-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.am-column-card{background:white;border:1px solid #e2edf3;border-radius:18px;overflow:hidden}.am-column-card-body{padding:24px}.am-column-card-body p{font-size:16px;margin:0}.am-column-card-link{display:inline-block;margin-top:14px;font-weight:650}.am-column-card-image{width:100%;height:190px;object-fit:cover}.am-content-split{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:36px}.am-content-split>img{display:block;width:100%;height:auto;border-radius:0 28px 45% 0;border-bottom:7px solid #52a327;order:-1}.am-content-button{margin:0}.alberta-direct{display:flex;flex-wrap:wrap;gap:12px;padding:0 28px 25px}.site-footer{background:linear-gradient(115deg,#043e67,#00335b);color:white;margin-top:0}.site-footer h3,.site-footer a{color:white!important}.site-footer h3{font-size:15px;letter-spacing:0}.site-footer p{font-size:14px;line-height:1.7;margin:12px 0}.site-footer a{text-decoration:none}.site-footer a:hover{text-decoration:underline}.site-footer .footer-grid{gap:32px;padding-top:34px;padding-bottom:22px}.am-footer-bottom{border-top:1px solid #ffffff20;padding-top:16px;padding-bottom:16px;font-size:13px}.alberta-footer-brand{display:block;width:230px;max-width:100%;background:#fff;border-radius:12px;padding:10px}.site-hero.layout-none{display:none}.am-shortcode-section input,.am-shortcode-section textarea{font:inherit;max-width:100%;box-sizing:border-box}.am-shortcode-section button{background:#0068ad;color:#fff;border:0;border-radius:12px;padding:12px 24px}
/* The homepage is identified through the native H1 hero; no extra wrapper is lost on save. */
.content:has(>.am-block-wide){}.content:has(>[data-am-block]:first-child .am-hero-copy h1)>.am-block-wide{min-width:0}
/* Exact page composition activates only for the side-image first hero. */
.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child{position:relative}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child>.am-hero-v5{position:relative;min-height:440px;padding:35px 10px 62px;overflow:visible;border-radius:0}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child .am-hero-inner{grid-template-columns:.95fr 1.05fr;gap:0}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child .am-hero-copy{position:relative;z-index:2;padding-right:5px}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child h1{color:#6db92c;white-space:pre-line;font-size:clamp(2.6rem,4.5vw,4rem);letter-spacing:-.025em;max-width:15ch}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child h1::first-line{color:#073b69}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child .am-hero-picture{margin-left:-30px}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child .am-hero-picture img{border-radius:25px 0 0 0;min-height:380px;object-fit:cover}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child:after{content:'';position:absolute;left:-3%;bottom:-1px;width:106%;height:65px;background:url('assets/wave.svg') center/100% 100% no-repeat;z-index:3;pointer-events:none}
.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(2) .am-column-section{padding:8px 0 24px!important}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(2) .am-column-card,.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(5) .am-column-card{border:0;border-radius:0;background:transparent;text-align:center}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:is(:nth-child(2),:nth-child(5)) .am-column-card-body{padding:8px 10px 16px}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:is(:nth-child(2),:nth-child(5)) .am-column-card-body:before{content:'';display:block;width:74px;height:74px;border-radius:50%;margin:0 auto 10px;background-color:#ecf7ff;background-repeat:no-repeat;background-size:42px;background-position:center}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(2) article:nth-child(1) .am-column-card-body:before{background-image:url('assets/care.svg')}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(2) article:nth-child(2) .am-column-card-body:before{background-image:url('assets/heart.svg');background-color:transparent}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:is(:nth-child(2),:nth-child(5)) article:nth-child(3) .am-column-card-body:before{background-image:url('assets/people.svg')}
.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(3) .am-content-split{padding:0 0 0!important;grid-template-columns:.95fr 1.05fr;gap:40px}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(3) .am-content-split>div{padding-bottom:48px}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(3) h2{font-size:clamp(1.7rem,2.7vw,2.4rem)}
.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(4),.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(5){background:#e8f5fd}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(4) .am-content-text{padding:20px 24px 0!important}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(4) p{margin:0}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(5) .am-column-section{padding:6px 14px 26px!important}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(5) .am-column-card-body:before{background-color:#fff}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(5) article:nth-child(1) .am-column-card-body:before{background-image:url('assets/shield.svg')}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(5) article:nth-child(2) .am-column-card-body:before{background-image:url('assets/people.svg')}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(5) article:nth-child(3) .am-column-card-body:before{background-image:url('assets/heart.svg')}
.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) .am-hero-v5{padding:0 0 30px;border-radius:0;overflow:visible}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) .am-hero-inner{gap:20px}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) .am-hero-copy{padding:20px 0}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) img{border-radius:50% 0 0 0;border-left:9px solid #ffc51a;min-height:250px;object-fit:cover}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) .am-hero-action{margin-left:220px;background:#fff!important;color:#064779!important;border-color:#7ba7cc}.alberta-call{position:relative;margin-top:0;margin-bottom:34px;pointer-events:none}.alberta-call a{pointer-events:auto}
@media(max-width:1000px){.site-logo img{width:205px}.am-desktop-nav{gap:15px}.am-desktop-nav a{font-size:14px}.am-head-phone{padding:10px 14px!important;font-size:14px}.am-hero-copy>p:not(.am-block-kicker){font-size:1rem}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child h1{font-size:clamp(2.5rem,5vw,3.5rem)}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) .am-hero-action{margin-left:0}.alberta-call{margin-top:0;margin-bottom:24px}.site-footer .footer-grid{gap:22px}}
@media(max-width:700px){.am-column-grid{gap:16px}.am-cols-3,.am-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.site-head>.wrap{flex-wrap:wrap;gap:10px}.am-desktop-nav{display:none}.am-mobile-menu nav{z-index:30;background:#fff;max-width:calc(100vw - 30px)}.site-logo img{width:185px}.am-head-phone{min-height:38px}.am-content-hero.am-hero-v5{padding:28px 18px}.am-hero-side .am-hero-inner,.am-content-split{grid-template-columns:1fr!important;gap:22px}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child>.am-hero-v5{padding:22px 0 48px;min-height:0}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child .am-hero-picture{margin:0}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child .am-hero-picture img{min-height:0;border-radius:20px}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child h1{font-size:clamp(2.4rem,8vw,3.5rem)}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(3) .am-content-split>div{padding:0}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(3) .am-content-split{gap:24px}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) .am-hero-copy{padding-bottom:0}.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) img{min-height:0}.alberta-call{margin:0 0 24px}.site-footer .footer-grid{grid-template-columns:1fr 1fr}.am-footer-bottom{display:block}.am-footer-bottom nav{display:flex;flex-wrap:wrap;gap:12px}}
@media(max-width:390px){.am-column-card-body h3{font-size:1rem}.am-column-card-body p{font-size:14px}.site-footer .footer-grid{grid-template-columns:1fr}.am-hero-action{font-size:14px}}
/* Match the real core cascade (global layout and typography follow theme.css). */
body.site main.site-main .content .am-hero-v5.am-hero-side{width:100%!important;max-width:100%;margin-left:0!important;margin-right:0!important}
body.site main.site-main .content .am-hero-v5 .am-hero-inner{gap:28px}
body.site main.site-main .content h1{font-size:min(var(--am-type-h1,64px),clamp(40px,4.7vw,64px))!important}
body.site main.site-main .content h2{font-size:min(var(--am-type-h2,44px),36px)!important}
body.site main.site-main .content h3{font-size:min(var(--am-type-h3,28px),19px)!important}
body.site .site-footer h3{font-size:16px!important}
body.site .site-head .wrap{flex-direction:row;align-items:center}
body.site .site-footer .footer-grid.cols-4{grid-template-columns:1.15fr 1fr .85fr 1fr}
body.site main.site-main .content .am-hero-v5{padding:28px;border-radius:20px}
body.site main.site-main .content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child .am-hero-inner{gap:0;grid-template-columns:.95fr 1.05fr}
body.site main.site-main .content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child>.am-hero-v5{padding:24px 0 62px;border-radius:0;margin-bottom:0}
body.site main.site-main .content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6)>.am-hero-v5{padding:0 0 30px;border-radius:0;margin-top:0;margin-bottom:0}
@media(max-width:700px){body.site .am-column-grid.am-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}body.site .am-hero-v5.am-hero-side .am-hero-inner{grid-template-columns:1fr!important}body.site main.site-main .content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:first-child>.am-hero-v5{padding:20px 0 48px}body.site main.site-main .content h1{font-size:min(var(--am-type-h1,36px),40px)!important}body.site main.site-main .content h2{font-size:min(var(--am-type-h2,28px),30px)!important}body.site .site-footer .footer-grid.cols-4{grid-template-columns:1fr 1fr}}
@media(max-width:390px){body.site .site-footer .footer-grid.cols-4{grid-template-columns:1fr}}
/* Curves and colour edges already belong to the reference photographs. */
body.site main.site-main .content .am-content-split>img{border:0;border-radius:0}
body.site main.site-main .content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) img{border:0;border-radius:0}

/* 1.0.3: all content occupies normal vertical flow, including standalone buttons. */
body.site main.site-main .content{display:flow-root}
body.site main.site-main .content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(3) .am-content-split>div{padding-bottom:0}
body.site main.site-main .content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(6) .am-hero-action{margin-left:0!important}
body.site main.site-main .content .alberta-call{position:static;margin:0 auto!important;padding:0 0 32px;max-width:1120px;pointer-events:auto;display:flow-root}
body.site .site-footer{position:relative;clear:both}
@media(max-width:700px){body.site main.site-main .content .alberta-call{padding-bottom:28px}}

/* 1.0.4: About photograph, copy and action are one native Hero block. */
body.site main.site-main .content>.am-block-wide:has(.am-hero-side.image-left){margin-top:16px;margin-bottom:30px}
body.site main.site-main .content .am-hero-side.image-left{padding:0!important;min-height:0;margin-top:0;margin-bottom:0;background:#fff}
body.site main.site-main .content .am-hero-side.image-left .am-hero-inner{grid-template-columns:.95fr 1.05fr;gap:40px;align-items:center}
body.site main.site-main .content .am-hero-side.image-left .am-hero-picture img{border:0;border-radius:0;min-height:0;height:auto}
body.site main.site-main .content .am-hero-side.image-left .am-hero-copy{padding:20px 0}
body.site main.site-main .content .am-hero-side.image-left .am-hero-action{margin:0;position:static}
@media(max-width:700px){body.site main.site-main .content .am-hero-side.image-left .am-hero-inner{gap:18px}body.site main.site-main .content .am-hero-side.image-left .am-hero-picture{order:0}body.site main.site-main .content .am-hero-side.image-left .am-hero-copy{order:1;padding:0}}

/* Contact actions: message on the left, telephone on the right. */
body.site main.site-main .content .alberta-contact-actions{display:flex;align-items:center;justify-content:flex-start;gap:16px;flex-wrap:wrap;padding:0 0 30px}
body.site main.site-main .content .alberta-contact-actions .alberta-message{background:#fff!important;color:#064779!important;border:1px solid #7ba7cc}

/* 1.0.5: one self-contained contact section; both actions remain inside the copy column. */
body.site main.site-main .content .alberta-contact-panel{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:36px;max-width:1120px;margin:36px auto 0!important;padding:0 0 32px!important;background:#fff;box-sizing:border-box}
body.site main.site-main .content .alberta-contact-copy{min-width:0;padding:12px 0}
body.site main.site-main .content .alberta-contact-copy>p:not(.am-block-kicker){margin:0 0 24px}
body.site main.site-main .content .alberta-contact-panel>img{display:block;width:100%;height:auto;min-width:0;border:0;border-radius:0}
body.site main.site-main .content .alberta-contact-panel .alberta-contact-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0;padding:0}
body.site main.site-main .content .alberta-contact-panel .alberta-contact-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 22px;border-radius:14px;background:linear-gradient(#087cc4,#004f91);border:1px solid #005c9d;color:#fff;text-decoration:none;font-weight:700;line-height:1.3;box-sizing:border-box}
body.site main.site-main .content .alberta-contact-panel .alberta-contact-actions .alberta-message{background:#fff!important;color:#064779!important;border-color:#7ba7cc}
/* Restore the house pictogram after the homepage row changed position. */
.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(5) article:nth-child(4) .am-column-card-body:before{background-image:url('assets/home.svg')}
@media(max-width:700px){body.site main.site-main .content .alberta-contact-panel{grid-template-columns:1fr;gap:24px;margin-top:28px!important;padding-bottom:28px!important}body.site main.site-main .content .alberta-contact-panel .alberta-contact-actions a{max-width:100%}}

/* 1.0.6: internal page heroes and a native contact form with a 70/30 sidebar. */
body.site main.site-main .content>[data-am-block]:first-child .am-hero-side:not(:has(img[src*="pflege.svg"])){min-height:0;padding:32px!important;margin-bottom:24px;background:var(--am-hero-bg);border-radius:24px}
body.site main.site-main .content>[data-am-block]:first-child .am-hero-side:not(:has(img[src*="pflege.svg"])) h1{white-space:normal;color:#073b69;font-size:clamp(30px,3.8vw,48px)!important}
body.site main.site-main .content>[data-am-block]:first-child .am-hero-side:not(:has(img[src*="pflege.svg"])) .am-hero-inner{grid-template-columns:1fr 1fr;gap:32px}
body.site main.site-main .content>[data-am-block]:first-child .am-hero-side:not(:has(img[src*="pflege.svg"])) img{aspect-ratio:3/2;object-fit:cover;border-radius:20px}
body.site main.site-main .content:has(.alberta-contact-direct){display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);column-gap:30px;row-gap:20px;align-items:start;padding-bottom:40px}
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block]{grid-column:1/-1;min-width:0;position:static!important;left:auto!important;transform:none!important;width:100%!important;max-width:100%!important;margin:0!important}
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block]:nth-child(4){grid-column:1;grid-row:4}
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block]:nth-child(5){grid-column:2;grid-row:4}
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block]:nth-child(6){grid-column:2;grid-row:5}
body.site main.site-main .content:has(.alberta-contact-direct) .am-hero-color{width:100%;margin:0;min-height:240px;padding:32px!important}
body.site main.site-main .content:has(.alberta-contact-direct) .am-shortcode-section{padding:0!important;width:100%;max-width:none}
body.site main.site-main .content:has(.alberta-contact-direct) .am-contact-box{width:100%!important;max-width:none!important;margin:0!important;padding:28px;box-sizing:border-box;border:1px solid #dce8ee;border-radius:20px;background:#fff}
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block]:is(:nth-child(5),:nth-child(6)) .am-content-text{padding:24px!important;background:#eef7fa!important;border-radius:18px}
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block]:is(:nth-child(5),:nth-child(6)) h2{font-size:22px!important}
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block]:nth-child(3) .am-content-text{padding:8px 0!important}
body.site main.site-main .content .alberta-contact-direct{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:14px;padding:4px 0 10px}
body.site main.site-main .content .alberta-contact-direct a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 22px;background:#0566a8;color:white;border-radius:12px;text-decoration:none;font-weight:650}
@media(max-width:800px){body.site main.site-main .content:has(.alberta-contact-direct){grid-template-columns:minmax(0,1fr)}body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block]:nth-child(n){grid-column:1;grid-row:auto}body.site main.site-main .content:has(.alberta-contact-direct) .am-contact-box{padding:20px}body.site main.site-main .content>[data-am-block]:first-child .am-hero-side:not(:has(img[src*="pflege.svg"])){padding:24px!important}}

/* 1.0.7: neutralize viewport-wide CMS wrappers INSIDE the contact grid. */
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block].am-block-wide:not([data-am-block*='"kind":"hero"']),
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block].am-block-full:not([data-am-block*='"kind":"hero"']),
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block]:not(.am-block-wide):not(.am-block-full):not([data-am-block*='"kind":"hero"']){position:static!important;left:auto!important;right:auto!important;transform:none!important;width:100%!important;max-width:100%!important;min-width:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
body.site main.site-main .content:has(.alberta-contact-direct) .am-shortcode-section,
body.site main.site-main .content:has(.alberta-contact-direct) .am-content-text{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body.site main.site-main .content:has(.alberta-contact-direct) .am-contact-box,
body.site main.site-main .content:has(.alberta-contact-direct) .am-contact-form{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;transform:none!important;position:static!important;left:auto!important;margin-left:0!important;margin-right:0!important}
/* Core Hero markup has no width class; read the native persisted width field. */
body.site main.site-main .content>[data-am-block*='"kind":"hero"']{box-sizing:border-box;position:relative!important;left:50%!important;transform:translateX(-50%)!important;margin-left:0!important;margin-right:0!important;min-width:0}
body.site main.site-main .content>[data-am-block*='"kind":"hero"'][data-am-block*='"width":"normal"']{width:100%!important;max-width:var(--am-site-width,1160px)!important}
body.site main.site-main .content>[data-am-block*='"kind":"hero"'][data-am-block*='"width":"wide"']{width:min(var(--am-site-wide-width,1320px),calc(100vw - var(--am-site-gutter,20px)*2))!important;max-width:none!important}
body.site main.site-main .content>[data-am-block*='"kind":"hero"'][data-am-block*='"width":"full"']{width:100vw!important;max-width:none!important}
body.site main.site-main .content>[data-am-block*='"kind":"hero"']>.am-hero-v5{width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important}
/* Hero may span its chosen width above both columns, while form/sidebar stay contained. */
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block*='"kind":"hero"']{position:relative!important;left:50%!important;transform:translateX(-50%)!important}
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block*='"kind":"hero"'][data-am-block*='"width":"wide"']{width:min(var(--am-site-wide-width,1320px),calc(100vw - var(--am-site-gutter,20px)*2))!important;max-width:none!important}
body.site main.site-main .content:has(.alberta-contact-direct)>[data-am-block*='"kind":"hero"'][data-am-block*='"width":"full"']{width:100vw!important;max-width:none!important}
/* 1.0.10: original service symbols — complete walking figure and blue house. */
.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:nth-child(2) article:nth-child(1) .am-column-card-body:before{background-image:url('assets/care-v2.svg')}
.content:has(>[data-am-block]:first-child img[src*="pflege.svg"])>[data-am-block]:is(:nth-child(2),:nth-child(5)) article:nth-child(4) .am-column-card-body:before{background-image:url('assets/home-v2.svg');background-color:#ecf7ff}
/* 1.0.11: mobile actions reserve space within their own block. No menu changes. */
@media(max-width:767px){
 body.site main.site-main .content .am-hero-v5.am-hero-side .am-hero-inner{grid-template-columns:minmax(0,1fr)!important;row-gap:28px!important;column-gap:0!important}
 body.site main.site-main .content .am-hero-v5 .am-hero-copy{min-width:0;max-width:100%;height:auto}
 body.site main.site-main .content .am-hero-v5 .am-hero-picture{margin-left:0!important;min-width:0}
 body.site main.site-main .content .am-hero-v5 .am-hero-picture img{min-height:0!important;max-width:100%;height:auto}
 body.site main.site-main .content .am-hero-v5 .am-hero-action,
 body.site main.site-main .content .am-content-button .btn,
 body.site main.site-main .content .alberta-contact-actions a,
 body.site main.site-main .content .alberta-contact-direct a{position:static!important;transform:none!important;box-sizing:border-box;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere;min-height:48px;height:auto;text-align:center;line-height:1.4}
 body.site main.site-main .content .am-hero-v5 .am-hero-action{display:inline-flex;align-items:center;justify-content:center;margin-top:4px!important;margin-bottom:0!important}
 body.site main.site-main .content>[data-am-block]:has(>.am-hero-side.image-left){margin-bottom:32px!important}
 body.site main.site-main .content .am-hero-v5.am-hero-side.image-left{padding-bottom:24px!important}
 body.site main.site-main .content .am-hero-side.image-left .am-hero-copy{padding-bottom:0!important}
 body.site main.site-main .content .am-content-button{margin-top:16px!important;margin-bottom:24px!important}
 body.site main.site-main .content .alberta-contact-actions,
 body.site main.site-main .content .alberta-contact-direct{flex-wrap:wrap;gap:16px;align-items:stretch;height:auto}
 body.site main.site-main .content .alberta-contact-panel{row-gap:28px!important;padding-bottom:32px!important}
 body.site main.site-main .content .am-column-card-link{margin-top:14px;margin-bottom:6px;max-width:100%;white-space:normal;overflow-wrap:anywhere}
}

/* 1.0.12: phone actions belong to the office-hours sidebar. */
body.site main.site-main .content:has(.alberta-contact-sidebar){display:grid;grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:28px;align-items:start;padding-bottom:40px}
body.site main.site-main .content:has(.alberta-contact-sidebar)>[data-am-block]{grid-column:1/-1;min-width:0}
body.site main.site-main .content:has(.alberta-contact-sidebar)>[data-am-block]:has(>.am-shortcode-section){grid-column:1;position:static!important;left:auto!important;transform:none!important;width:100%!important;max-width:100%!important;margin:0!important}
body.site main.site-main .content:has(.alberta-contact-sidebar)>[data-am-block]:has(>.alberta-contact-sidebar){grid-column:2;min-width:0;max-width:100%}
body.site main.site-main .content:has(.alberta-contact-sidebar) .am-shortcode-section{padding:0!important;width:100%!important;max-width:100%!important}
body.site main.site-main .content:has(.alberta-contact-sidebar) .am-contact-box{width:100%!important;max-width:100%!important;margin:0!important;padding:26px;box-sizing:border-box}
body.site main.site-main .content:has(.alberta-contact-sidebar) .am-contact-form{width:100%;min-width:0;max-width:100%}
body.site main.site-main .content .alberta-contact-sidebar{background:#eef7fa;padding:24px;border-radius:18px;min-width:0;box-sizing:border-box}
body.site main.site-main .content .alberta-contact-sidebar h2{font-size:22px!important}
body.site main.site-main .content .alberta-sidebar-actions{display:flex;flex-direction:column;gap:12px;margin-top:24px}
body.site main.site-main .content .alberta-sidebar-actions a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 15px;border-radius:12px;background:#0566a8;color:white;font-weight:700;text-decoration:none;white-space:normal;overflow-wrap:anywhere;text-align:center;line-height:1.4;box-sizing:border-box}
@media(max-width:800px){body.site main.site-main .content:has(.alberta-contact-sidebar){grid-template-columns:minmax(0,1fr)}body.site main.site-main .content:has(.alberta-contact-sidebar)>[data-am-block]:nth-child(n){grid-column:1}body.site main.site-main .content .alberta-contact-sidebar{padding:22px}}
