/* Gilead v1.0.6 — widescreen hero and roomier logo navigation. */
.gilead-header-shell>.wp-block-group,
.gilead-header-content{max-width:1460px!important}
.gilead-header-content{padding:13px 28px;gap:24px;min-height:91px}
.gilead-wordmark{width:216px;min-width:216px;flex:0 0 216px}
.gilead-wordmark .wp-block-shortcode{margin:0!important}
.gilead-header-logo-link{display:block;line-height:0;width:214px}
.gilead-header-logo{display:block;width:100%;height:auto}
.gilead-wordmark>p{margin:4px 0 0;font-size:.61rem!important;letter-spacing:.075em}
.gilead-nav{column-gap:19px!important;row-gap:8px!important;flex:1}
.gilead-nav .wp-block-navigation__container{
  column-gap:19px!important;row-gap:8px!important
}
.gilead-nav .wp-block-navigation-item__content{
  font-size:.81rem;padding:10px 1px
}
/* Preserve the bold full-bleed design, but with a panorama-like aspect. */
.gilead-hero-slide,
.gilead-hero-copy{min-height:515px}
.gilead-hero-copy{
  width:min(66%,930px);padding-top:31px;padding-bottom:95px
}
.gilead-hero-kicker{margin-bottom:14px}
.gilead-hero h1{
  font-size:clamp(2.6rem,4.5vw,4.7rem);
  line-height:1.055;max-width:790px;margin-bottom:17px
}
.gilead-hero-copy>p{
  font-size:clamp(1rem,1.2vw,1.16rem);
  line-height:1.45;margin-bottom:22px;max-width:590px
}
.gilead-hero .gilead-button{min-height:50px;padding:13px 24px}
.gilead-art-panel{
  top:23%;min-height:245px;width:clamp(200px,22vw,315px);
  padding:24px 27px
}
.gilead-art-panel strong{font-size:clamp(1.6rem,2.45vw,2.6rem)}
.gilead-orbit{width:660px;height:660px;top:-38%}
.gilead-orbit-inner{width:400px;height:400px;top:21%}
.gilead-art-accent{width:145px;height:145px}
.gilead-hero-controls{padding-top:10px;bottom:14px}
@media(max-width:1180px){
  .gilead-header-content{padding:13px 20px;gap:13px}
  .gilead-nav,.gilead-nav .wp-block-navigation__container{
    column-gap:11px!important
  }
  .gilead-nav .wp-block-navigation-item__content{font-size:.75rem}
}
@media(max-width:980px){
  .gilead-header-content{min-height:82px}
  .gilead-wordmark{flex:0 0 190px;width:190px;min-width:190px}
  .gilead-header-logo-link{width:190px}
  .gilead-hero-slide,.gilead-hero-copy{min-height:515px}
  .gilead-hero-copy{width:100%;padding:48px 30px 96px}
  .gilead-hero h1{font-size:clamp(2.5rem,6vw,4.2rem);max-width:670px}
  .gilead-hero-copy>p{max-width:590px}
  .gilead-hero-art{opacity:.36}
  .gilead-art-panel{display:none}
  .gilead-hero-controls{left:28px;right:28px}
}
@media(max-width:560px){
  .gilead-header-content{padding:10px 16px;min-height:78px;gap:10px}
  .gilead-wordmark{flex:0 0 165px;width:165px;min-width:165px}
  .gilead-header-logo-link{width:165px}
  .gilead-wordmark>p{font-size:.53rem!important;margin-top:3px}
  .gilead-hero-slide,.gilead-hero-copy{min-height:555px}
  .gilead-hero-copy{padding:45px 23px 110px}
  .gilead-hero h1{font-size:clamp(2.3rem,9vw,3.5rem);margin-bottom:18px}
  .gilead-hero-kicker{margin-bottom:18px}
  .gilead-hero-copy>p{font-size:1rem;line-height:1.5;margin-bottom:21px}
  .gilead-hero-controls{left:20px;right:20px;bottom:12px}
}
@media(max-width:360px){
  .gilead-hero-slide,.gilead-hero-copy{min-height:600px}
  .gilead-hero-copy{padding:42px 19px 118px}
  .gilead-hero h1{font-size:2.42rem}
  .gilead-hero-controls{left:12px;right:12px}
}


/* v1.0.7 — two-tier header, fixed-height slides and closer artwork. */
/* Sticky template-part wrapper allows the utility bar to scroll out of view
   while the main navigation remains at the top of the viewport. */
header.wp-block-template-part:has(.gilead-header-shell){
  --g-utility-height:40px;
  position:sticky;top:calc(-1 * var(--g-utility-height));
  z-index:100;
}
.gilead-utility-bar{
  height:40px;margin:0!important;background:#321353;color:#fff;
  font-size:.75rem;font-weight:600;letter-spacing:.015em;
}
.gilead-utility-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:20px;max-width:1460px;height:100%;margin:0 auto;padding:0 28px;
}
.gilead-utility-contact{display:flex;align-items:center;gap:25px;min-width:0}
.gilead-utility-bar a{color:#fff;text-decoration:none}
.gilead-utility-bar a:hover{text-decoration:underline;color:#d5f7ae}
.gilead-utility-contact a,.gilead-utility-hours{white-space:nowrap}
.gilead-utility-phone::before{content:"☎";margin-right:7px;font-size:.9rem}
.gilead-utility-email::before{content:"✉";margin-right:7px;font-size:.9rem}
.gilead-utility-hours::before{content:"◷";margin-right:8px;font-size:1rem}
.gilead-utility-social{display:flex;align-items:center;gap:5px;flex:none}
.gilead-utility-social a{
  display:flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:8px;
  transition:background-color .18s ease;
}
.gilead-utility-social a::before{
  content:"";display:block;width:17px;height:17px;background:#fff;
  -webkit-mask:var(--g-social-icon) center/contain no-repeat;
  mask:var(--g-social-icon) center/contain no-repeat;
}
.gilead-utility-social a:hover{background-color:rgba(255,255,255,.15)}
.gilead-utility-instagram{--g-social-icon:url("../img/social/instagram.svg")}
.gilead-utility-facebook{--g-social-icon:url("../img/social/facebook.svg")}
.gilead-utility-linkedin{--g-social-icon:url("../img/social/linkedin.svg")}
.gilead-utility-tiktok{--g-social-icon:url("../img/social/tiktok.svg")}
.gilead-header-shell{background:#fbfaf7;box-shadow:0 3px 14px rgba(30,13,57,.08)}
.gilead-wordmark>p{
  width:214px;text-align:center;white-space:nowrap;
  font-size:.68rem!important;font-weight:700;letter-spacing:.13em;
  text-transform:none;margin-top:0;
}
/* The imported homepage strip remains editable, but is not displayed. */
.gilead-home .gilead-stat-strip{display:none!important}
/* Controls belong to the overall hero; all slides must have identical heights.
   Overriding min-height alone would allow text to enlarge individual slides. */
.gilead-hero-track{height:490px}
.gilead-hero-slide,.gilead-hero-copy{
  height:100%;min-height:0;max-height:100%;
}
.gilead-hero-copy{width:min(62%,850px);padding-bottom:79px}
.gilead-hero h1{font-size:clamp(2.55rem,4.35vw,4.5rem)}
/* Pull the art cluster toward the copy while leaving clear text contrast. */
.gilead-hero-art{left:44%;right:0;width:56%}
.gilead-art-panel{right:24%;top:23%}
.gilead-orbit{left:-23%}
.gilead-orbit-inner{left:14%}
.gilead-footer-bottom{
  display:flex;justify-content:center;text-align:center;
  align-items:center;margin-top:50px;
}
.gilead-footer-bottom p{margin:0;text-align:center}
.gilead-footer-urgent{font-size:.8rem!important;color:#d7ccea!important}
@media(max-width:1180px){
  .gilead-utility-inner{padding:0 20px}
  .gilead-utility-contact{gap:17px}
  .gilead-art-panel{right:16%}
}
@media(max-width:980px){
  header.wp-block-template-part:has(.gilead-header-shell){--g-utility-height:40px}
  .gilead-hero-track{height:520px}
  .gilead-hero-copy{width:100%;height:100%;min-height:0;padding-bottom:95px}
  .gilead-hero-art{inset:0;width:100%;height:100%;opacity:.35}
  .gilead-art-panel{display:none}
  .gilead-wordmark>p{width:190px}
}
@media(max-width:700px){
  header.wp-block-template-part:has(.gilead-header-shell){--g-utility-height:68px}
  .gilead-utility-bar{height:68px}
  .gilead-utility-inner{padding:4px 15px;flex-direction:column;gap:0;justify-content:center}
  .gilead-utility-contact{justify-content:center;gap:15px;font-size:.69rem}
  .gilead-utility-social{gap:8px}
  .gilead-utility-social a{width:25px;height:25px}
  .gilead-utility-social a::before{width:15px;height:15px}
}
@media(max-width:560px){
  .gilead-wordmark>p{width:165px;font-size:.63rem!important;letter-spacing:.13em}
  .gilead-hero-track{height:555px}
  .gilead-hero-slide,.gilead-hero-copy{height:100%;min-height:0;max-height:100%}
  .gilead-hero-copy{padding:39px 23px 98px}
  .gilead-hero h1{font-size:clamp(2.12rem,8.6vw,3.3rem)}
  .gilead-hero-art{inset:0;width:100%;opacity:.32}
  .gilead-hero-controls{bottom:9px}
}
@media(max-width:390px){
  .gilead-utility-contact{gap:10px;font-size:.64rem}
  .gilead-utility-email{font-size:0}
  .gilead-utility-email::before{font-size:1.02rem;margin:0}
  .gilead-utility-email{display:flex;align-items:center;justify-content:center;width:26px;height:30px}
  .gilead-hero-track{height:595px}
  .gilead-hero-slide,.gilead-hero-copy{height:100%;min-height:0;max-height:100%}
  .gilead-hero-copy{padding:34px 20px 102px}
  .gilead-hero h1{font-size:clamp(2.2rem,9vw,2.7rem)}
}


/* v1.0.8 — natural shared slide height, no clipping and no layout shift.
 * The track is one-cell grid: the tallest slide sets a SINGLE shared height.
 * Inactive slides remain grid participants but are visually/keyboard hidden.
 * First slide works even when JavaScript is disabled.
 */
.gilead-home .wp-block-post-content,
.gilead-home .wp-block-post-content > .wp-block-html,
.gilead-hero,
.gilead-hero-track{margin-block-start:0!important;margin-block-end:0!important}
.gilead-hero{padding:0!important}
.gilead-hero-track{
  display:grid;grid-template-columns:minmax(0,1fr);
  align-items:stretch;height:auto!important;min-height:0!important;
}
.gilead-hero-slide{
  grid-area:1/1;display:block;position:relative;
  height:auto!important;min-height:445px!important;max-height:none!important;
  margin:0!important;
}
.gilead-hero-slide[hidden]{display:none!important}
.gilead-hero-ready .gilead-hero-slide:not(.gilead-slide-current){
  visibility:hidden;pointer-events:none;
}
.gilead-hero-ready .gilead-slide-current{visibility:visible}
.gilead-hero-copy{
  box-sizing:border-box;height:auto!important;min-height:0!important;
  max-height:none!important;width:min(62%,850px);
  padding:42px 30px 104px max(30px,calc((100vw - 1210px)/2));
  justify-content:center;
}
.gilead-hero h1{
  font-size:clamp(2.55rem,4.05vw,4rem);line-height:1.08;
  max-width:730px;margin-bottom:17px;
}
.gilead-hero-copy>p{font-size:clamp(.98rem,1.16vw,1.14rem);line-height:1.5}
.gilead-hero-controls{bottom:13px}
@media(max-width:980px){
  .gilead-hero-slide{min-height:470px!important}
  .gilead-hero-copy{
    width:100%;padding:44px 30px 105px;
  }
  .gilead-hero h1{font-size:clamp(2.35rem,5.6vw,3.6rem)}
}
@media(max-width:560px){
  .gilead-hero-slide{min-height:485px!important}
  .gilead-hero-copy{padding:43px 23px 114px}
  .gilead-hero h1{
    font-size:clamp(2.08rem,8.2vw,2.85rem);line-height:1.12;
  }
  .gilead-hero-copy>p{font-size:.98rem;line-height:1.45}
  .gilead-hero-controls{bottom:10px}
}
@media(max-width:390px){
  .gilead-hero-slide{min-height:505px!important}
  .gilead-hero-copy{padding:33px 19px 118px}
  .gilead-hero h1{font-size:clamp(2rem,8.4vw,2.4rem)}
  .gilead-hero-kicker{margin-bottom:13px}
}


/* v1.0.9 — top-bar and footer clearance, insurer logo tiles. */
header.wp-block-template-part:has(.gilead-header-shell){--g-utility-height:46px}
.gilead-utility-bar{height:46px}
.gilead-footer-top{padding-bottom:38px}
.gilead-footer-location-action{margin-bottom:28px}
.gilead-footer-bottom{margin-top:44px}
.gilead-insurer{min-height:146px;padding:14px 12px;gap:8px;
  border:1px solid #dfd7e7;background:#fff;overflow:hidden}
.gilead-insurer-logo{display:block;max-width:100%;width:100%;height:83px;
  object-fit:contain;object-position:center}
.gilead-insurer--with-logo .gilead-insurer-name{
  font-family:Arial,sans-serif;font-size:.78rem;line-height:1.25;
  font-weight:700;color:#4e3866}
.gilead-insurer--text-only{border-style:dashed}
@media(max-width:980px){
  header.wp-block-template-part:has(.gilead-header-shell){--g-utility-height:46px}
}
@media(max-width:700px){
  header.wp-block-template-part:has(.gilead-header-shell){--g-utility-height:72px}
  .gilead-utility-bar{height:72px}
}
@media(max-width:560px){
  .gilead-insurer{min-height:132px;padding:12px 10px}
  .gilead-insurer-logo{height:72px}
  .gilead-footer-top{padding-bottom:32px}
  .gilead-footer-bottom{margin-top:38px}
}


/* v1.0.10 — eliminate WordPress layout-gap bands around the full-bleed hero.
 * Leave the hero's shared intrinsic slide height and art/copy layout alone.
 */
body .wp-site-blocks > main.gilead-home,
body main.gilead-home,
body main.gilead-home > .wp-block-post-content,
body main.gilead-home .wp-block-post-content > .gilead-hero{
  margin-block-start:0!important;margin-block-end:0!important;
}
body main.gilead-home .wp-block-post-content > .gilead-hero{
  display:block;max-width:none!important;padding:0!important;
}
body main.gilead-home .wp-block-post-content > .gilead-stat-strip{
  display:none!important;height:0!important;margin:0!important;padding:0!important;
}
body main.gilead-home .wp-block-post-content >
  .gilead-stat-strip + .gilead-section,
body main.gilead-home .wp-block-post-content >
  .gilead-hero + .gilead-section{
  margin-block-start:0!important;
}

/* Nine insurer logos are their own visible labels; Minet stays text-only. */
.gilead-insurer--with-logo{
  padding:16px 12px;min-height:142px;gap:0;
}
.gilead-insurer--with-logo .gilead-insurer-logo{
  display:block;width:100%;max-width:100%;height:108px;object-fit:contain;
}
@media(max-width:560px){
  .gilead-insurer--with-logo{min-height:122px;padding:11px}
  .gilead-insurer--with-logo .gilead-insurer-logo{height:96px}
}
