/* CF7 owns validation/submission; retain the approved form geometry. */
.wpcf7{width:100%}.wpcf7-form-control-wrap{display:block;width:100%;min-width:0}.wpcf7-form-control{max-width:100%}.wpcf7-not-valid-tip{font-size:11px;margin-top:4px}.wpcf7 form .wpcf7-response-output{grid-column:1/-1;margin:10px 0 0;padding:10px 12px;font-size:13px;border-radius:8px}.wpcf7-spinner{display:none}.wpcf7 form.submitting .wpcf7-spinner{display:inline-block}.wpcf7 .wpcf7-submit{cursor:pointer;width:100%;justify-content:center;border:0}.wpcf7-acceptance .wpcf7-list-item{margin:0}.wpcf7-acceptance label{display:flex!important;gap:8px!important;align-items:flex-start}.wpcf7-acceptance input{width:16px!important;height:16px!important;min-height:16px!important;flex:0 0 16px;margin-top:3px}.wpcf7-acceptance .wpcf7-list-item-label{font-size:11px;line-height:1.6}
.d-partner-panel .wpcf7 form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.d-partner-panel .wpcf7 form>.i-consent,.d-partner-panel .wpcf7 form>.wpcf7-submit,.d-partner-panel .wpcf7 form>.wpcf7-response-output{grid-column:1/-1}.d-partner-panel .wpcf7 form>fieldset{display:none}.d-partner-panel .wpcf7 form>.d-partner-fields{display:grid;grid-template-columns:1fr 1fr}.d-request .wpcf7 form{display:grid;gap:16px}.i-application .wpcf7{padding:0;background:transparent;border-radius:0}.i-application .wpcf7 form{display:grid;gap:16px}.i-careers-form .wpcf7 form{display:grid;gap:18px}.doysev-cf7 .wpcf7-submit{min-height:46px;height:46px;background:#af282b;color:#fff;border-radius:10px;padding:10px 18px;font-weight:700}.d-partner-panel .wpcf7 form>.d-partner-message{grid-column:1/-1}.d-partner-panel .i-consent{margin:0}.admin-bar .d-header{top:32px}.i-hero-photo img{max-width:100%}
@media(max-width:782px){.admin-bar .d-header{top:46px}}

.i-blog-filters a{padding:12px 20px;border:1px solid #d8ded2;border-radius:30px;color:#202822;text-decoration:none;font-size:13px}.i-blog-filters a[aria-current]{background:#af282b;color:white;border-color:#af282b}.doysev-pagination{display:flex;gap:16px;justify-content:center;margin-top:32px}.d-partner-close{color:#af282b!important}.d-partner-close:hover{color:white!important}

/* WordPress utility templates share the site's typography and palette. */
.d-system{padding-top:64px;padding-bottom:80px;min-height:55vh}.d-system h1{font:600 clamp(36px,4.4vw,64px)/1.12 var(--display);color:#202822;text-transform:uppercase;overflow-wrap:anywhere}.d-system-heading{max-width:900px;margin-bottom:32px}.d-system-heading>p:last-child,.d-error>div>p:not(.i-kicker){color:#69716b;font-size:16px;line-height:1.8;max-width:600px}.d-error{display:grid;grid-template-columns:1.35fr 1fr;gap:64px;align-items:center;padding:40px 0}.d-error h1{margin:20px 0}.d-error-number{display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;background:#edf1e6;border-radius:40px;color:#af282b;font:700 clamp(110px,16vw,230px)/1 var(--display)}.d-error-number span{font:600 10px/1.6 var(--body);letter-spacing:2px;color:#497026;margin-top:20px}.d-system-actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.d-system-search{max-width:600px;margin:24px 0 36px}.d-system-search label{display:block;font-size:13px;margin-bottom:8px}.d-system-search>div{display:flex;border:1px solid #d8ded2;border-radius:12px;overflow:hidden;background:#fff}.d-system-search input{flex:1;min-width:0;width:100%;height:48px;border:0;padding:0 16px;background:transparent;font:inherit}.d-system-search button{border:0;background:#286f32;color:#fff;padding:0 24px;cursor:pointer;font:600 14px var(--body)}.d-system-search:focus-within{border-color:#286f32}.d-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0}.d-results article{display:flex;flex-direction:column;background:#fff;border:1px solid #e1e5dc;border-radius:18px;padding:28px;min-width:0}.d-results h2,.d-system-empty h2{font:600 28px/1.25 var(--display);margin:12px 0}.d-results article>p:not(.i-kicker){font-size:14px;line-height:1.8;color:#69716b}.d-results .i-read{margin-top:auto;padding-top:20px;color:#af282b}.d-system-empty{background:#edf1e6;border-radius:24px;padding:36px}.d-system-empty .d-button{margin-top:20px}.d-system .nav-links{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.d-system .page-numbers{padding:10px 16px;border-radius:8px;background:white}.d-system .page-numbers.current{background:#af282b;color:white}.d-system .screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:700px){.d-system{padding-top:32px;padding-bottom:44px}.d-error{grid-template-columns:1fr;gap:24px;padding:0}.d-error-number{grid-row:1;aspect-ratio:auto;padding:24px;border-radius:24px;font-size:100px}.d-error-number span{margin-top:8px;font-size:9px}.d-results{grid-template-columns:1fr;gap:16px}.d-results article{padding:24px}.d-system-empty{padding:24px}.d-system-search button{padding:0 20px}}

.d-results .d-result-photo{display:block;margin:-28px -28px 24px;overflow:hidden;border-radius:18px 18px 0 0;aspect-ratio:464/246;background:#edf1e6}.d-result-photo img{display:block;width:100%;height:100%;object-fit:cover}.d-result-photo:focus-visible{outline:2px solid #af282b;outline-offset:3px}@media(max-width:700px){.d-results .d-result-photo{margin:-24px -24px 24px}}

/* Filtered/paginated blog views have no featured section to provide spacing. */
.i-blog-heading + .i-blog-list{padding-top:48px}
.doysev-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:48px}
.doysev-pagination:empty{display:none}
.doysev-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:46px;padding:0 15px;border:1px solid #d8ded2;border-radius:12px;background:#fff;color:#202822;font:600 14px/1 var(--body);text-decoration:none;transition:background .2s,border-color .2s,color .2s}
.doysev-pagination a:hover{background:#edf1e6;border-color:#286f32;color:#286f32}
.doysev-pagination .current{background:#af282b;border-color:#af282b;color:#fff;box-shadow:0 4px 12px #af282b20}
.doysev-pagination .dots{border-color:transparent;background:transparent;min-width:24px;padding:0 4px;color:#69716b}
.doysev-pagination a:focus-visible{outline:2px solid #286f32;outline-offset:3px}
@media(max-width:700px){.i-blog-heading + .i-blog-list{padding-top:32px}.doysev-pagination{margin-top:32px;gap:8px}.doysev-pagination .page-numbers{min-width:44px;height:44px;padding:0 12px}}

/* Branded fallback when an article has no image. */
.d-blog-placeholder{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:464/246;background:linear-gradient(135deg,#f3f4ef,#e7ebe1);overflow:hidden;border-radius:16px}
body .d-blog-placeholder>img{display:block;position:static;width:42%;max-width:240px;height:auto;aspect-ratio:auto;object-fit:contain;opacity:.16;filter:grayscale(1);border-radius:0}
.d-result-photo>.d-blog-placeholder{height:100%}
.i-article-photo>.d-blog-placeholder{aspect-ratio:960/460}

/* Keep the compact HTML chevron; navigation hover is defined in interactions.css. */
.d-header .d-dropdown__trigger .d-icon{width:12px;height:12px;flex:0 0 12px;display:block}

/* Shared page header media keeps both formats inside the same responsive frame. */
.doysev-header-media{aspect-ratio:4/3;overflow:hidden;border-radius:18px}.doysev-header-media img,.doysev-header-media iframe{display:block;width:100%;height:100%;object-fit:cover;border:0}.doysev-header-text-only{grid-template-columns:1fr}.doysev-standard-header .d-eyebrow:empty{display:none}
/* Headers without media follow their text height rather than the photo layout. */
.i-hero:has(.doysev-header-text-only){height:auto;min-height:0}
.i-hero:has(.doysev-header-text-only)>.d-container{padding-bottom:56px}
.i-hero .doysev-header-text-only{grid-template-columns:minmax(0,1fr);gap:0}
.i-hero .doysev-header-text-only>div:first-child{min-height:0}
.i-hero .doysev-header-text-only p:empty{display:none}
@media(max-width:850px){.i-hero:has(.doysev-header-text-only)>.d-container{padding-bottom:36px}}

/* Match the HTML headers: full column width and a shared landscape frame. */
.doysev-standard-header{height:auto;min-height:0}
.doysev-standard-header>.d-container{padding-bottom:48px}
.doysev-standard-header .i-hero-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px}
.doysev-standard-header .i-hero-grid>div:first-child{min-height:0}
.doysev-standard-header .doysev-header-media{width:100%;height:auto;aspect-ratio:16/9;min-width:0;align-self:center}
.doysev-header-media--illustration img{object-fit:contain}
.doysev-header-video{position:relative;display:block;width:100%;height:100%;border-radius:inherit;overflow:hidden}
.doysev-standard-header .doysev-header-text-only{grid-template-columns:minmax(0,1fr)}
@media(max-width:850px){.doysev-standard-header .i-hero-grid{grid-template-columns:minmax(0,1fr);gap:28px}.doysev-standard-header>.d-container{padding-bottom:36px}}
/* Rounded nutrition table corners, keeping the caption outside the table surface. */
.i-nutrition table{border-collapse:separate;border-spacing:0}
.i-nutrition thead th:first-child{border-top-left-radius:12px}
.i-nutrition thead th:last-child{border-top-right-radius:12px}
.i-nutrition tbody tr:last-child> :first-child{border-bottom-left-radius:12px}
.i-nutrition tbody tr:last-child> :last-child{border-bottom-right-radius:12px}
.i-nutrition thead,.i-nutrition tbody tr:nth-child(even){background:transparent}
.i-nutrition thead th{background:#286f32}
.i-nutrition tbody tr:nth-child(even)>*{background:#ffffff70}
.d-mobile-bar{display:none}
@media(max-width:700px){
 body:has(.d-mobile-bar){padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
 body:has(.d-mobile-bar) .d-contact-rail{display:none}
 .d-mobile-bar{position:fixed;inset:auto 0 0;z-index:900;display:grid;grid-template-columns:1fr 1.25fr 1fr;gap:8px;align-items:stretch;background:#fffdf8;border-top:1px solid #e0e5d9;box-shadow:0 -5px 24px #202a2114;padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))}
 .d-mobile-bar>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:60px;color:#286f32;text-decoration:none;font-size:11px;font-weight:600;line-height:1.25;text-align:center;border-radius:12px}
 .d-mobile-bar .d-mobile-bar__apply{background:#af282b;color:#fff;box-shadow:0 4px 12px #af282b26;transform:translateY(-6px);margin-bottom:-6px;min-height:66px}
 .d-mobile-bar__apply svg{color:#e9e8ba}
 .d-mobile-bar>a:focus-visible{outline:2px solid #286f32;outline-offset:2px}
 body:has(dialog[open]) .d-mobile-bar{visibility:hidden}
}
/* Floating mobile contact dock. */
@media(max-width:700px){
 body:has(.d-mobile-bar){padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
 .d-mobile-bar{inset:auto 14px calc(12px + env(safe-area-inset-bottom,0px));max-width:460px;margin-inline:auto;padding:7px;gap:5px;grid-template-columns:1fr 1.35fr 1fr;border:1px solid #e4e7dc;border-radius:23px;background:#fffefaf5;box-shadow:0 8px 30px #1c332329,0 2px 6px #1c33230a;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
 .d-mobile-bar>a{min-height:62px;gap:5px;border-radius:17px;font-size:10px;line-height:1.3;font-weight:600;color:#344b36;transition:background .18s,transform .18s}
 .d-mobile-bar>a svg{width:21px;height:21px;flex-shrink:0}
 .d-mobile-bar .d-mobile-bar__apply{margin:0;transform:none;min-height:62px;background:#af282b;box-shadow:inset 0 1px 0 #ffffff24;color:#fff;border:1px solid #a92227}
 .d-mobile-bar__apply svg{color:#f2e1bc}
 .d-mobile-bar>a:active{transform:scale(.96)}
 .d-mobile-bar>a:not(.d-mobile-bar__apply):hover{background:#edf2e6}
}
/* Compact floating actions with an emphasized application button. */
@media(max-width:700px){
 body:has(.d-mobile-bar){padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
 .d-mobile-bar{padding:6px;gap:4px;border-radius:19px;grid-template-columns:1fr 1.18fr 1fr}
 .d-mobile-bar>a{flex-direction:row;min-height:42px;gap:6px;border-radius:13px;font-size:11px;white-space:nowrap}
 .d-mobile-bar>a svg{width:18px;height:18px}
 .d-mobile-bar .d-mobile-bar__apply{min-height:42px;font-weight:700;box-shadow:0 3px 9px #af282b30,inset 0 1px 0 #ffffff24}
}

@media(max-width:700px){
 .d-mobile-bar{background:rgb(255 255 255 / 60%);border:0}
 .d-mobile-bar .d-mobile-bar__apply{border:0}
 .d-mobile-bar>a svg{width:20px;height:20px;stroke-width:1.65}
}

@media(max-width:700px){.d-mobile-bar>a svg{fill:currentColor;stroke:none}}
/* Mobile application form opens as a bottom sheet. */
@media(max-width:700px){
 .d-partner-drawer{inset:auto 0 0;margin:0;width:100%;max-width:100%;height:auto;max-height:92dvh;padding:0;border-radius:24px 24px 0 0;overflow:hidden}
 .d-partner-drawer[open]{animation:d-partner-sheet-enter .28s cubic-bezier(.22,1,.36,1)}
 .d-partner-panel{padding:48px 20px calc(20px + env(safe-area-inset-bottom,0px));max-height:92dvh;border-radius:24px 24px 0 0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;box-shadow:none}
 .d-partner-drawer::before{content:"";position:absolute;top:12px;left:calc(50% - 20px);width:40px;height:4px;border-radius:4px;background:#d9ded4;z-index:2}
 .d-partner-close{left:auto;right:12px;top:8px;width:36px;height:36px;border-radius:50%;background:#f0f3ec;box-shadow:none;z-index:3}
 .d-partner-drawer h2{font-size:29px;line-height:1.1;margin:14px 0 8px}
 .d-partner-panel .wpcf7 form{gap:10px;margin-top:16px}
 .d-partner-panel .wpcf7 form>.d-partner-fields{gap:10px}
 .d-partner-drawer form label{font-size:12px;gap:5px}
 .d-partner-drawer form textarea{height:64px;min-height:64px}
}
@media(max-width:360px){.d-partner-panel{padding-inline:14px}.d-partner-drawer h2{font-size:26px}}
@keyframes d-partner-sheet-enter{from{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}
@media(prefers-reduced-motion:reduce){.d-partner-drawer[open]{animation:none}}
/* Compact floating bar matching the approved mobile reference. */
@media(max-width:700px){
 .d-mobile-bar{inset:auto 14px calc(12px + env(safe-area-inset-bottom,0px));padding:6px 8px;gap:4px;grid-template-columns:1fr 1.15fr 1fr;border:0;border-radius:20px;background:rgb(255 255 255 / 60%);box-shadow:0 5px 18px #243b2014}
 .d-mobile-bar>a{min-height:42px;gap:7px;font-size:12px;font-weight:400;color:#202822}
 .d-mobile-bar>a svg{width:18px;height:18px;color:#139a27}
 .d-mobile-bar .d-mobile-bar__apply{min-height:42px;border-radius:14px;background:#af282b;font-size:12px;font-weight:600;box-shadow:0 3px 8px #af282b20}
 .d-mobile-bar .d-mobile-bar__apply svg{color:#fff}
}
@media(max-width:350px){.d-mobile-bar{inset-inline:10px;padding-inline:6px}.d-mobile-bar>a{font-size:11px;gap:5px}.d-mobile-bar .d-mobile-bar__apply{font-size:11px}}
/* Balanced type sizes inside the application popup. */
.d-partner-panel .wpcf7 form :is(input:not([type=checkbox]):not([type=submit]),select,textarea){font-size:14px;line-height:1.5}
.d-partner-panel .wpcf7 form select option{font-size:14px}
.d-partner-panel .wpcf7 form label{font-size:12px}
.d-partner-panel .wpcf7 form .wpcf7-submit{font-size:14px}

/* Match the original career form card after Contact Form 7 replaces its ID. */
.i-careers-form .wpcf7 form{padding:40px;border-radius:24px;background:#fff;gap:24px}
.i-careers-form .wpcf7 form h3{font-size:36px;line-height:1.1}
.i-careers-form .wpcf7 form>p{font-size:13px;line-height:1.5;color:var(--muted)}
.i-careers-form .wpcf7 form label{font-size:14px;line-height:1.5;font-weight:400}
.i-careers-form .wpcf7 form input,.i-careers-form .wpcf7 form textarea{font-size:16px}
.i-careers-form .wpcf7 form textarea{height:108px;resize:vertical;display:block}
@media(max-width:1100px){.i-careers-form .wpcf7 form{padding:28px}}
@media(max-width:600px){.i-careers-form .wpcf7 form{padding:24px}}
/* SVG play glyph: consistent rendering without mobile font/emoji substitution. */
.d-about__play,.i-production-play{font-size:0!important;line-height:0;padding-left:0;color:transparent}
.d-about__play::after,.i-production-play::after{content:"";position:absolute;inset:0;margin:auto;width:28px;height:28px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23af282b' d='M8 5.5a1 1 0 0 1 1.5-.86l10 6.5a1 1 0 0 1 0 1.72l-10 6.5A1 1 0 0 1 8 18.5z'/%3E%3C/svg%3E") center/contain no-repeat;pointer-events:none}
@media(max-width:700px){.d-about__play::after,.i-production-play::after{width:24px;height:24px}}

/* Hidden slider backgrounds must not download before their slide is needed. */
.d-hero--updated .swiper-slide[data-slide-background]::before{background-image:none!important}
@media(max-width:1150px){html.d-js .d-header:not(.is-enhanced) .d-navigation{display:none}html.d-js .d-header:not(.is-enhanced) .d-menu-toggle{display:flex}}
