/* Services only: collapse the duplicate PageLayer hero without affecting Home. */
body.zg-services-page .pagelayer-row:has([data-zg-services-hero="1"]):not(:has(.pagelayer-row)),
body.zg-services-page section:has(> [data-zg-services-hero="1"]){
  display:none!important;
  margin:0!important;
  padding:0!important;
  min-height:0!important;
}
body.zg-services-page [data-zg-services-hero="1"] {display:none!important;}
body.zg-services-page [data-zg-services-content="1"] {scroll-margin-top:85px;}

/* Match the existing Ziara newsletter's white oval + yellow Go button. */
.zg-newsletter-form{display:block!important;max-width:470px;width:100%;margin:0;padding:0;border:0;background:transparent;box-shadow:none;font:inherit;color:#23312b;box-sizing:border-box;}
.zg-newsletter-pill{display:flex;align-items:center;gap:0!important;width:100%;padding:5px 5px 5px 18px;border-radius:999px;background:#fff;box-shadow:0 2px 9px rgba(0,0,0,.10);box-sizing:border-box;}
.zg-newsletter-form .zg-newsletter-email{min-width:0;flex:1 1 180px;max-width:none!important;min-height:52px;width:auto!important;padding:8px 5px!important;border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;outline-offset:2px!important;font:inherit!important;color:#23312b!important;}
.zg-newsletter-form .zg-newsletter-go{height:54px;width:54px;flex:0 0 54px;border:0!important;border-radius:50%!important;background:#ffc400!important;color:#031f18!important;font-size:18px!important;cursor:pointer;box-shadow:none;}
.zg-newsletter-form .zg-newsletter-go:hover{background:#ebae00!important;}
.zg-newsletter-form .zg-newsletter-go:disabled{opacity:.65;cursor:wait;}
.zg-newsletter-form .zg-newsletter-consent{width:100%;padding:7px 4px 3px;display:flex;align-items:flex-start;gap:7px;font-size:12px;line-height:1.45;color:#ffffff;}
.zg-newsletter-form .zg-newsletter-consent input{margin-top:3px;flex:none;}
.zg-newsletter-form .zg-newsletter-consent a{color:#ffca19;text-decoration:underline;}
.zg-newsletter-form .zg-newsletter-result{width:100%;margin:0;padding:0 4px;color:#e4fff3;font-size:12px;line-height:1.45;}
.zg-newsletter-form .zg-newsletter-result[data-error="1"]{color:#ffe2e2;}
.zg-newsletter-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;}
@media(max-width:420px){.zg-newsletter-pill{padding-left:13px}.zg-newsletter-form .zg-newsletter-email{flex-basis:120px;min-height:46px;font-size:14px!important}.zg-newsletter-form .zg-newsletter-go{height:48px;width:48px;flex-basis:48px;font-size:16px!important}}

/* v1.0.1: exact PageLayer hero row suppression on all inner pages, never Home. */
body.zg-clean-content-page [data-zg-removed-hero="1"]{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;}


/* v1.0.2: known duplicate PageLayer hero rows, all inner pages, never Home. */
body.zg-clean-content-page .pagelayer-row:has([data-zg-inner-hero="1"]):not(:has(form,iframe,.zgqe-gateway,.zgqe-portal-form)),
body.zg-clean-content-page .zg-inner-hero-section,
body.zg-clean-content-page [data-zg-removed-hero="1"]{display:none!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important;}
body.zg-clean-content-page [data-zg-inner-hero="1"]{display:none!important;}
/* The Contact illustration repeats at its proper aspect ratio as the form grows. */
body.zg-inner-page .zg-contact-tiled{background-repeat:no-repeat!important;background-size:contain!important;background-position:center top!important;min-height:100%!important;}
body.zg-inner-page img.zg-contact-original{display:none!important;}

/* 1.0.3: tile the Contact illustration only within its own column. */
body.zg-inner-page .zg-contact-image-column {align-self:stretch!important;}
body.zg-inner-page .zg-contact-image-column > .pagelayer-col-holder {min-height:100%!important;}

/* v1.0.4: collapse complete PageLayer hero sections on About, Services and Contact only. */
body.zg-clean-content-page [data-zg-removed-hero="1"],
body.zg-clean-content-page .zg-inner-hero-section {display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;}
body.zg-clean-content-page .pagelayer-section:empty {display:none!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important;}

/* v1.0.5 — never leave space after an inner-page decorative hero. */
body.zg-clean-content-page .zg-inner-hero-section,
body.zg-clean-content-page [data-zg-removed-hero="1"]{display:none!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important;}
body.zg-clean-content-page .pagelayer-row-holder:empty{padding:0!important;margin:0!important;min-height:0!important;}
.zg-suite-legal-links{margin:16px auto 0;padding:10px 20px 20px;text-align:center;font-size:13px;line-height:1.5;color:#e8f4ef;}
.zg-suite-legal-links a{color:#f6d46b;text-decoration:underline;text-underline-offset:2px;}
.zg-suite-legal-links a:focus-visible{outline:3px solid #f6d46b;outline-offset:4px;}
.zg-newsletter-form .zg-newsletter-go{font-size:14px!important;font-weight:700!important;}
.zg-newsletter-form .zg-newsletter-go:focus-visible{outline:3px solid #ffdb48!important;outline-offset:3px!important;}

/* v1.0.6: legal pages live in the footer Explore column, not the menu. */
.zg-suite-legal-links.zg-suite-explore-links{margin:8px 0 0!important;padding:0!important;text-align:left!important;display:flex;flex-direction:column;gap:7px;align-items:flex-start;}
.zg-suite-legal-links.zg-suite-explore-links span{display:none;}
.zg-suite-legal-links.zg-suite-explore-links a{color:inherit;text-decoration:none;font-size:inherit;}
.zg-suite-legal-links.zg-suite-explore-links a:hover{text-decoration:underline;}

/* v1.2.4: only ancestors of the replaced contact form participate in natural flow. */
.zg-intake-flow{height:auto!important;max-height:none!important;min-height:0!important;overflow:visible!important;}
.zg-intake-row>.pagelayer-row-holder{flex-wrap:wrap!important;align-items:flex-start!important;height:auto!important;}
.zgqe-contact-gateway,.zgqe-contact-gateway .zgqe-gateway-actions,.zgqe-contact-gateway .zgqe-gateway-choice{position:relative!important;inset:auto!important;height:auto!important;max-height:none!important;float:none!important;transform:none!important;}
.zgqe-contact-gateway .zgqe-gateway-button{animation:none!important;transform:none!important;}
body.zg-inner-page .zg-contact-tiled{min-height:420px!important;background-repeat:no-repeat!important;background-size:contain!important;}
@media(max-width:768px){
 .zg-intake-row .pagelayer-col{width:100%!important;flex:0 0 100%!important;max-width:100%!important;}
 .zg-intake-flow{position:relative!important;top:auto!important;bottom:auto!important;transform:none!important;}
 body.zg-inner-page .zg-contact-tiled{min-height:300px!important;height:300px!important;max-height:300px!important;margin-bottom:24px!important;}
 .zgqe-contact-gateway{margin-bottom:24px!important;}
}

/* Legal links sit below the photographic footer on a white background. */
.zg-suite-legal-links{color:#455b53}.zg-suite-legal-links a{color:#064d3b;text-decoration:underline;text-underline-offset:2px}.zg-suite-legal-links a.zg-suite-image-credits{color:#064d3b;font-size:13px;font-weight:400;text-decoration:underline}.zg-suite-legal-links a:hover{color:#031f18}.zg-suite-legal-links a:focus-visible{outline:3px solid #064d3b;outline-offset:4px}.zg-suite-legal-links.zg-suite-explore-links a{color:inherit}.zg-suite-legal-links.zg-suite-explore-links a.zg-suite-image-credits{color:inherit}
