/*
Theme Name: Wyboston Dog House
Description: Child theme of Twenty Twenty-Five. Garden & home design: warm cream, deep green, sunny accent, editorial type.
Author: Wyboston Dog House
Template: twentytwentyfive
Version: 1.1.0
Text Domain: wyboston-child
*/

:root{
  --wdh-cream:#faf7ee;
  --wdh-ink:#243b30;
  --wdh-green:#274f3c;
  --wdh-soft:#ede9dc;
  --wdh-sunny:#e4b04a;
  --wdh-line:rgba(39,79,60,.14);
  --wdh-shadow:0 10px 30px -18px rgba(36,59,48,.45);
  --wdh-radius:20px;
}
body{
  background:var(--wdh-cream);color:var(--wdh-ink);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
  font-size:1.02rem;line-height:1.7;
}
h1,h2,h3,h4{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:var(--wdh-green);letter-spacing:.1px;line-height:1.18;}
h1{font-size:clamp(2rem,4.6vw,3.1rem);}
h2{font-size:clamp(1.5rem,3.2vw,2.1rem);}
a{color:var(--wdh-green);}
img{height:auto;}

/* ---------- Header ---------- */
.wdh-header{border-bottom:1px solid var(--wdh-line);background:var(--wdh-cream);position:relative;}
.wdh-header .wdh-header-inner{max-width:1140px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:.75rem 1.5rem;flex-wrap:wrap;padding:1rem 1.5rem;}
.wdh-wordmark{display:inline-flex;flex-direction:column;line-height:1;text-decoration:none;}
.wdh-wordmark .wdh-wordmark-1{font-family:Georgia,'Times New Roman',serif;font-size:1.6rem;color:var(--wdh-ink);}
.wdh-wordmark .wdh-wordmark-2{font-family:inherit;font-size:.92rem;letter-spacing:.32em;text-transform:uppercase;color:var(--wdh-green);margin-top:.22rem;}
.wdh-nav{display:flex;flex-wrap:wrap;gap:.2rem .35rem;align-items:center;}
.wdh-nav a{font-size:.95rem;text-decoration:none;color:var(--wdh-ink);padding:.45rem .7rem;border-radius:999px;}
.wdh-nav a:hover,.wdh-nav a:focus{background:var(--wdh-soft);}
.wdh-nav a.wdh-nav-cta{background:var(--wdh-green);color:var(--wdh-cream);}
.wdh-nav a.wdh-nav-cta:hover{background:#1f3f30;}

/* ---------- Shared layout ---------- */
.wdh-section{padding:clamp(2.6rem,6vw,4.6rem) 1.5rem;}
.wdh-section-inner{max-width:760px;margin:0 auto;}
.wdh-section .wdh-section-inner p{margin:0 0 1.05rem;max-width:42rem;}
.wdh-cards{max-width:1140px;margin:0 auto;display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));}
.wdh-card{background:#fff;border:1px solid var(--wdh-line);border-radius:var(--wdh-radius);padding:1.6rem 1.6rem 1.4rem;box-shadow:var(--wdh-shadow);}
.wdh-card h2,.wdh-card h3{font-size:1.25rem;margin:0 0 .5rem;}
.wdh-card p{margin:0 0 .6rem;max-width:52ch;}
.wdh-card p:last-child{margin-bottom:0;}
.wdh-band{background:var(--wdh-soft);}
.wdh-btn{display:inline-block;background:var(--wdh-green);color:var(--wdh-cream)!important;text-decoration:none;padding:.9rem 1.7rem;border-radius:999px;font-size:1rem;box-shadow:0 8px 20px -12px rgba(39,79,60,.7);}
.wdh-btn:hover{background:#1f3f30;}
.wdh-more a{font-weight:600;text-decoration:none;border-bottom:2px solid var(--wdh-sunny);padding-bottom:2px;}

/* ---------- Split hero ---------- */
.wdh-hero-split{max-width:1140px;margin:0 auto;display:grid;gap:clamp(1.5rem,4vw,3rem);grid-template-columns:1.05fr .95fr;align-items:center;padding:clamp(2rem,5vw,3.6rem) 1.5rem;}
.wdh-hero-split h1{margin:0 0 1rem;}
.wdh-hero-split .wdh-hero-sub{font-family:Georgia,serif;font-style:italic;font-size:clamp(1.1rem,2.2vw,1.4rem);color:#2f5d43;max-width:30rem;margin:0 0 1.6rem;}
.wdh-frame{border-radius:26px 8px 26px 8px;overflow:hidden;box-shadow:var(--wdh-shadow);}
.wdh-frame img{display:block;width:100%;}
.wdh-hero-photo-wrap{position:relative;}
.wdh-accent{display:inline-block;width:56px;height:4px;background:var(--wdh-sunny);border-radius:4px;margin:0 0 1.1rem;}

/* ---------- Welcome band ---------- */
.wdh-welcome{background:#e6efe7;color:var(--wdh-ink);text-align:center;padding:1.5rem 1.5rem;}
.wdh-welcome p{margin:0;font-family:Georgia,'Times New Roman',serif;font-size:clamp(1.15rem,2.6vw,1.5rem);}

/* ---------- Feature (capped, asymmetric) ---------- */
.wdh-feature{max-width:1000px;margin:0 auto;display:grid;gap:clamp(1.25rem,3.5vw,2.5rem);grid-template-columns:1.1fr .9fr;align-items:center;padding:clamp(2.2rem,5vw,3.6rem) 1.5rem;}
.wdh-feature h2{margin:0 0 .7rem;}
.wdh-feature figure{margin:0;}
.wdh-feature img{border-radius:8px 26px 8px 26px;box-shadow:var(--wdh-shadow);display:block;width:100%;}

/* ---------- Gallery ---------- */
.wdh-gallery-wrap{margin:0 auto;max-width:1140px;padding:clamp(2rem,5vw,3.4rem) 1.5rem;}
.wdh-gallery-wrap .wp-block-kadence-advancedgallery{margin:0;}
.wp-block-kadence-advancedgallery.kb-gallery-wrap-id- .kb-gallery-figure img,
.wdh-gallery-wrap img{border-radius:16px;}
.wdh-gallery-wrap .kadence-blocks-gallery-item__caption{font-family:inherit;font-size:.9rem;color:var(--wdh-green);}
.kb-gallery-ul .kadence-blocks-gallery-item img{transition:transform .35s ease,box-shadow .35s ease;}
.kb-gallery-ul .kadence-blocks-gallery-item:hover img{transform:translateY(-3px);box-shadow:var(--wdh-shadow);}

/* ---------- FAQ ---------- */
.wdh-faq{max-width:900px;margin:0 auto;display:grid;gap:1rem;}
.wdh-faq .wdh-card{padding:1.4rem 1.6rem;}

/* ---------- Media/text + images ---------- */
.wp-block-media-text__media img,.wp-block-image img{border-radius:18px;}
.wp-block-media-text{align-items:center;}
.wp-block-image.aligncenter img{box-shadow:var(--wdh-shadow);}

/* ---------- Footer ---------- */
.wdh-footer{background:var(--wdh-green);color:var(--wdh-cream);padding:3rem 1.5rem 2rem;margin-top:0;}
.wdh-footer-inner{max-width:1140px;margin:0 auto;display:grid;gap:1.5rem;grid-template-columns:1.2fr 1fr;}
.wdh-footer-brand{font-family:Georgia,serif;font-size:1.4rem;margin:0 0 .4rem;color:var(--wdh-cream);}
.wdh-footer-line{margin:0;font-size:.98rem;color:rgba(250,247,238,.92);max-width:26rem;}
.wdh-footer-nav{display:flex;flex-wrap:wrap;gap:.35rem 1.1rem;justify-content:flex-end;align-content:start;}
.wdh-footer-nav a{color:var(--wdh-cream);text-decoration:none;font-size:.95rem;border-bottom:1px solid transparent;}
.wdh-footer-nav a:hover{border-bottom-color:var(--wdh-sunny);}
.wdh-footer-cta{grid-column:1 / -1;border-top:1px solid rgba(250,247,238,.2);padding-top:1.2rem;margin-top:.4rem;font-size:.92rem;color:rgba(250,247,238,.9);}
.wdh-footer-cta a{color:var(--wdh-cream);font-weight:600;}

/* ---------- Detail/support photo ---------- */
.wdh-support-photo{max-width:820px;margin:0 auto;padding:0 1.5rem 1.5rem;}
.wdh-support-photo img{border-radius:22px;box-shadow:var(--wdh-shadow);display:block;width:100%;}


/* ---------- Centered media/text container (desktop 1080, mobile 20px gutters) ---------- */
.wp-block-group.wdh-media-wrap{max-width:1080px!important;margin-left:auto!important;margin-right:auto!important;padding-left:20px!important;padding-right:20px!important;box-sizing:border-box;}
.wp-block-group.wdh-media-wrap .wp-block-media-text{width:100%;max-width:none;margin-left:0;margin-right:0;}
.wp-block-group.wdh-media-wrap .wp-block-media-text.alignwide{width:100%;max-width:none;}
@media (max-width:600px){.wp-block-group.wdh-media-wrap{padding-left:20px!important;padding-right:20px!important;}}

/* ---------- Responsive ---------- */
@media (max-width:820px){
  .wdh-hero-split{grid-template-columns:1fr;}
  .wdh-feature{grid-template-columns:1fr;}
  .wdh-footer-inner{grid-template-columns:1fr;}
  .wdh-footer-nav{justify-content:flex-start;}
  .wdh-hero-split,.wdh-feature{padding-left:1.25rem;padding-right:1.25rem;}
}
@media (max-width:640px){
  .wdh-header .wdh-header-inner{justify-content:center;text-align:center;}
  .wdh-nav{justify-content:center;}
  h1{font-size:clamp(1.8rem,7vw,2.3rem);}
}
/* customer-area preview */
.wdh-ca{background:#fff;border:1px solid rgba(39,79,60,.14);border-radius:14px;padding:1rem 1.2rem;margin:0 0 .8rem;box-shadow:0 8px 22px -18px rgba(36,59,48,.5);}
.wdh-ca summary{cursor:pointer;font-family:Georgia,serif;font-size:1.1rem;color:#274f3c;}
.wdh-ca-badge{display:inline-block;padding:.1rem .5rem;border-radius:999px;background:#fdf1d6;color:#7a5a12;font-size:.8rem;}
.wdh-ca-table{width:100%;border-collapse:collapse;margin:.4rem 0;font-size:.92rem;}
.wdh-ca-table th,.wdh-ca-table td{text-align:left;padding:.35rem .5rem;border-bottom:1px solid rgba(39,79,60,.1);}
.wdh-ca-fine{font-size:.85rem;color:#4a6b57;}
.wdh-ca input{max-width:220px;margin:.2rem .3rem .2rem 0;padding:.4rem .5rem;border:1px solid rgba(39,79,60,.25);border-radius:8px;background:#f2efe6;}
/* customer-area compact dashboard (scoped) */
.wdh-custarea-intro{margin-bottom:32px;}
.wdh-custarea{display:grid;gap:12px;max-width:760px;margin:0 auto;padding:0 20px;}
.wdh-ca-quick{display:flex;flex-wrap:wrap;gap:.55rem;margin:0 0 1rem;}
.wdh-ca-quick a{background:#fff;border:1px solid rgba(39,79,60,.16);border-radius:999px;padding:.45rem 1rem;text-decoration:none;color:#274f3c;font-size:.9rem;box-shadow:0 6px 16px -14px rgba(36,59,48,.5);}
.wdh-ca[open] summary{margin-bottom:.4rem;}
/* booking calendar phone safety */
.wdh-avail-grid{grid-template-columns:repeat(7,minmax(0,1fr));}
.wdh-avail-cell{min-width:0;}
@media (max-width:600px){.wdh-booking-wrap,.wdh-avail{padding-left:20px;padding-right:20px;}}
/* progressive enquiry journey */
.wdh-journey{max-width:760px;margin:0 auto;padding:0 20px;}
.wdh-journey .wdh-step{transition:opacity .25s ease;opacity:1;}
.wdh-journey .wdh-step[hidden]{display:none;}
.wdh-j-step-visible{opacity:1;}
.wdh-j-actions{display:flex;gap:.6rem;flex-wrap:wrap;}
.wdh-j-back{background:#7a8a80;}
.wdh-login-card{background:#fff;border:1px solid rgba(39,79,60,.16);border-radius:16px;padding:1rem 1.2rem;box-shadow:0 8px 22px -18px rgba(36,59,48,.5);}
.wdh-ca-newstay{margin-top:.6rem;}
@media (prefers-reduced-motion: reduce){.wdh-journey .wdh-step{transition:none;}}
@keyframes wdhFade{from{opacity:0;transform:translateY(4px);}to{opacity:1;transform:none;}}
.wdh-step.wdh-fade{animation:wdhFade .25s ease;}
@media (prefers-reduced-motion: reduce){.wdh-step.wdh-fade{animation:none;}}
/* enquiry honeypot: offscreen, not a customer question */
.wdh-enq-hp{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;}
/* progressive enquiry journey: readable stacked fields */
.wdh-journey label{display:block;margin:.55rem 0 .2rem;font-size:.95rem;color:#243b30;}
.wdh-journey input[type=text],.wdh-journey input[type=email],.wdh-journey input[type=tel],.wdh-journey input[type=number],.wdh-journey input[type=date],.wdh-journey input[type=time],.wdh-journey select,.wdh-journey textarea{display:block;width:100%;max-width:100%;box-sizing:border-box;padding:.55rem .6rem;border:1px solid rgba(39,79,60,.3);border-radius:10px;font-size:1rem;background:#faf7ee;}
.wdh-journey textarea{min-height:120px;resize:vertical;}
.wdh-journey .wdh-bk-row{grid-template-columns:1fr 1fr;}
@media (max-width:600px){.wdh-journey .wdh-bk-row{grid-template-columns:1fr;}}
/* review form (public + preview) — frontend scoped */
.wdh-review-form-demo,.wdh-review-form{width:100%;max-width:none;box-sizing:border-box;}
.wdh-review-form-demo .wdh-field,.wdh-review-form .wdh-field{display:flex;flex-direction:column;gap:.25rem;margin:.7rem 0;min-width:0;}
.wdh-review-form-demo .wdh-field>label,.wdh-review-form .wdh-field>label{display:block;font-weight:600;color:#274f3c;font-size:.95rem;}
.wdh-review-form-demo input,.wdh-review-form-demo textarea,.wdh-review-form-demo select,.wdh-review-form input,.wdh-review-form textarea,.wdh-review-form select{width:100%;max-width:100%;box-sizing:border-box;padding:.5rem .6rem;border:1px solid rgba(39,79,60,.3);border-radius:8px;font-size:1rem;background:#faf7ee;}
.wdh-review-form-demo textarea,.wdh-review-form textarea{min-height:110px;resize:vertical;}
.wdh-review-form-demo .wdh-field select,.wdh-review-form .wdh-field select{width:8rem;max-width:100%;}
.wdh-review-form-demo .wdh-check,.wdh-review-form .wdh-check{flex-direction:row;align-items:center;gap:.5rem;}
.wdh-review-form-demo .wdh-check label,.wdh-review-form .wdh-check label{display:inline;font-weight:500;}
.wdh-review-form-demo .wdh-check input[type=checkbox],.wdh-review-form .wdh-check input[type=checkbox]{width:auto;min-width:0;}
.wdh-review-form-demo .wdh-btn,.wdh-review-form .wdh-btn{background:#274f3c;color:#fff;border:0;border-radius:8px;padding:.55rem 1rem;}
.wdh-review-form-demo .wdh-btn[disabled],.wdh-review-form .wdh-btn[disabled]{opacity:.6;cursor:not-allowed;}

/* Enquiry introduction and form are one continuous flow. */
.wdh-enquiry-intro{padding-bottom:1rem;}
.wdh-section.wdh-enquiry-body{padding-top:1rem;margin-top:0;}
.wdh-enquiry-body .wdh-journey{padding:0;max-width:none;}
.wdh-enquiry-body .wdh-enquiry-config{display:none;}
.wdh-date-notice{border-left:3px solid #946717;background:#fff3d9;padding:.75rem 1rem;border-radius:6px;color:#594315;}
.wdh-date-notice[hidden]{display:none;}

/* Keep enquiry dates, times and their result together. */
.wdh-enquiry-body .wdh-bk-datetime{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:.5rem 0 1rem;}
.wdh-enquiry-body .wdh-bk-datetime label{margin:0;min-width:0;}
.wdh-enquiry-body .wdh-date-result:has(p:not(:empty)){margin-top:1rem;padding:1rem;background:#f2f6ef;border-radius:10px;}
.wdh-enquiry-body .wdh-date-result p{max-width:none;margin:0;}
.wdh-enquiry-body .wdh-date-result .wdh-date-notice{border:0;background:none;padding:0;color:inherit;}
.wdh-enquiry-body .wdh-date-result .wdh-ac-result:not(:empty)+.wdh-date-notice:not([hidden]){margin-top:.5rem;}
@media(max-width:600px){.wdh-enquiry-body .wdh-bk-datetime{grid-template-columns:1fr;gap:.75rem;}}

.wdh-enquiry-body .wdh-step > .wdh-j-actions{margin-top:1.25rem;}

/* Booking calendar: aligned page width, shared navigation/grid edges and comfortable gutters. */
.wp-block-group.wdh-booking-wrap{box-sizing:border-box;width:100%;max-width:808px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px;}
.wdh-booking-wrap>.wdh-avail{box-sizing:border-box;width:100%;padding:24px;background:#fff;border:1px solid rgba(39,79,60,.14);border-radius:20px;box-shadow:0 10px 28px -22px rgba(36,59,48,.45);}
.wdh-booking-wrap .wdh-avail-grid{width:100%;max-width:none;grid-template-columns:repeat(7,minmax(0,1fr));}
.wdh-booking-wrap .wdh-avail-sub{max-width:none;}
.wdh-booking-wrap .wdh-avail-nav{flex-wrap:wrap;}
@media(max-width:600px){.wp-block-group.wdh-booking-wrap{padding-left:20px;padding-right:20px;}.wdh-booking-wrap>.wdh-avail{padding:16px 12px;border-radius:16px;}}

/* Optional booking terms: native keyboard-accessible disclosure, closed by default. */
.wdh-booking-terms{margin:1.25rem 0;padding:14px 18px;border:1px solid rgba(39,79,60,.18);border-radius:12px;background:#f5f8f2;}
.wdh-booking-terms>summary{cursor:pointer;font-weight:600;color:#274f3c;}
.wdh-booking-terms>summary:focus-visible{outline:3px solid #638976;outline-offset:4px;border-radius:3px;}
.wdh-booking-terms-content{padding-top:16px;}
.wdh-booking-terms-content p:last-child{margin-bottom:0;}

/* Public enquiry journey: one entry and an optional calendar overview. */
.wdh-calendar-overview{margin:20px 0 28px;border:1px solid #dce4dc;border-radius:14px;background:#fff;overflow:hidden}
.wdh-calendar-overview>summary{padding:16px 20px;cursor:pointer;font-weight:600;color:#274f3c}
.wdh-calendar-overview>summary:focus-visible,.wdh-question-link:focus-visible{outline:3px solid #647aab;outline-offset:3px}
.wdh-calendar-overview .wdh-avail{box-sizing:border-box;width:100%;max-width:none;margin:0;border:0;border-radius:0;box-shadow:none;padding:20px}
.wdh-calendar-overview .wdh-avail-nav,.wdh-calendar-overview .wdh-avail-grid{width:100%;max-width:none}
.wdh-guest-choices{margin:28px 0 8px}.wdh-guest-choices h2{margin:0 0 12px}
.wdh-question-link{border:0;background:transparent;color:#274f3c;text-decoration:underline;text-underline-offset:4px;padding:8px 0;cursor:pointer;font:inherit;box-shadow:none;border-radius:0}
.wdh-step-error{background:#fff4ec;border-left:3px solid #986a42;padding:12px 16px;color:#61462e}
.wdh-avail-too-soon{background:#f0f0eb;color:#73766f}.wdh-journey h2[tabindex="-1"]:focus{outline:none}
@media(max-width:600px){.wdh-calendar-overview .wdh-avail{padding:16px 12px}.wdh-guest-choices .wdh-j-actions{gap:12px;flex-wrap:wrap}.wdh-guest-choices .wdh-btn{max-width:100%}}

.wdh-journey [hidden]{display:none!important}

/* Verified enquiry account and owned dog choices. */
.wdh-enquiry-account{margin:1.5rem 0;padding:1.25rem;border:1px solid #dce5dc;border-radius:14px;background:#f2f6f0;}.wdh-enquiry-account h3{margin-top:0}.wdh-journey [data-saved-dogs] label{display:block;margin:.6rem 0}.wdh-journey .wdh-account-optional input[type=checkbox],.wdh-journey [data-saved-dogs] input[type=checkbox]{display:inline-block;width:1.15rem;height:1.15rem;margin-right:.5rem;vertical-align:middle;}.wdh-enquiry-account [hidden]{display:none!important;}

/* Public enquiry: one date checker, optional stay step and calm detail disclosures. */
.wdh-journey [hidden]{display:none!important}
.wdh-journey [data-date-actions]{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;margin-top:1.2rem}
.wdh-edit-dates{font:inherit;color:var(--wdh-green);background:transparent;border:0;text-decoration:underline;cursor:pointer;padding:.25rem .4rem}
.wdh-peak-dates{margin:1rem 0;padding:.8rem 1rem;border:1px solid var(--wdh-line);border-radius:12px}
.wdh-peak-dates summary{cursor:pointer;font-weight:600;color:var(--wdh-green)}
.wdh-peak-dates ul{padding-left:1.4rem;margin:.8rem 0}
.wdh-home-intro,.wdh-home-cta{max-width:1080px;box-sizing:border-box;margin-left:auto;margin-right:auto}
.wdh-home-intro p{max-width:48rem}

/* Final customer walkthrough: readable content gutters and consistent form controls. */
.wdh-narrow{box-sizing:border-box;max-width:760px;margin-left:auto;margin-right:auto;}
.wdh-section-inner:not(.wdh-section .wdh-section-inner){box-sizing:border-box;width:calc(100% - 48px);}
body:not(.wp-admin) :is(.wdh-journey,.wdh-account,.wdh-guest-area,.wdh-bk-form,.wdh-review-form) :is(input,select,textarea,button){font-family:inherit;}
body:not(.wp-admin) :is(.wdh-journey,.wdh-account,.wdh-guest-area,.wdh-bk-form,.wdh-review-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]):not([type=submit]),select){min-height:48px;box-sizing:border-box;font-size:1rem;line-height:1.4;}
.wdh-journey input[type=password]{display:block;width:100%;max-width:100%;box-sizing:border-box;padding:.55rem .6rem;border:1px solid rgba(39,79,60,.3);border-radius:10px;background:#faf7ee;}
@media(max-width:600px){
 .wdh-avail-nav{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;}
 .wdh-avail-nav .wdh-avail-cur{grid-column:1 / -1;grid-row:1;text-align:center;}
 .wdh-avail-nav .wdh-avail-pn{white-space:nowrap;}
 .wdh-avail-nav .wdh-avail-pn:last-child{grid-column:2;text-align:right;}
}

/* Keep profile actions clear of the final field on desktop and phones. */
.wdh-guest-form > p:last-child{margin-top:1rem;}
.wdh-conversation-main:only-child{grid-column:1 / -1;grid-row:1;}

/* Public visual sweep: align card rows and keep portraits proportionate. */
.wdh-cards > .wdh-card{margin:0!important;min-width:0;box-sizing:border-box;}
.wdh-cards + p{margin-top:1.5rem!important;}
.wdh-media-wrap .wp-block-media-text__media img{display:block;max-height:420px;width:auto;max-width:100%;margin-inline:auto;}
.wdh-support-photo{box-sizing:border-box;}
.wdh-support-photo figure{margin:0;}
.wdh-support-photo img{max-height:420px;width:auto;max-width:100%;margin-inline:auto;}
.wdh-gallery-wrap .kb-gallery-ul{display:grid!important;grid-template-columns:minmax(0,.5625fr) minmax(0,1.777778fr) minmax(0,1.777778fr);align-items:center;gap:22px;height:auto!important;}
.wdh-gallery-wrap .kadence-blocks-gallery-item{position:static!important;width:auto!important;transform:none!important;margin:0!important;padding:0!important;}
.wdh-gallery-wrap .kb-gallery-image-contain{padding-bottom:0!important;height:auto!important;}
.wdh-gallery-wrap .kb-gallery-image-contain img{position:static!important;display:block;width:100%;height:auto!important;object-fit:contain;}
.wdh-gallery-wrap{padding-top:1.5rem;padding-bottom:1.5rem;}
@media(max-width:600px){
 .wdh-gallery-wrap .kb-gallery-ul{grid-template-columns:1fr;gap:18px;}
 .wdh-gallery-wrap .kadence-blocks-gallery-item:first-child{width:191.25px!important;max-width:100%;justify-self:center;}
 .wdh-media-wrap .wp-block-media-text__content{padding:1.25rem 0 0!important;}
 .wdh-media-wrap .wp-block-media-text__media img,.wdh-support-photo img{max-height:340px;}
 .wdh-cards{grid-template-columns:minmax(0,1fr);}
}

/* Short, settings-driven public terms, with each topic closed initially. */
.wdh-terms-section{border-top:1px solid rgba(39,79,60,.18);padding:.9rem 0;}
.wdh-terms-section:first-child{border-top:0;padding-top:0;}
.wdh-terms-section:last-child{padding-bottom:0;}
.wdh-terms-section>summary{cursor:pointer;font-weight:600;color:#274f3c;line-height:1.5;}
.wdh-terms-section>summary:focus-visible{outline:3px solid #638976;outline-offset:4px;border-radius:3px;}
.wdh-terms-section>div{padding-top:.8rem;}
.wdh-terms-section>div>p:first-child{margin-top:0;}
