/* PIM Hero Carousel. Scoped to the PIM Bluegreen homepage to avoid other pages/plugins. */
.hero .hero-layout.pim-hc-active{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:clamp(24px,4vw,65px);padding:76px 0 100px;min-height:580px}
.hero .hero-layout.pim-hc-active .hero-copy{max-width:none;min-width:0}
.hero .hero-layout.pim-hc-active .hero-copy h1{font-size:clamp(36px,3.85vw,62px);letter-spacing:-.04em;line-height:1.11;overflow-wrap:break-word}
.hero .hero-layout.pim-hc-active .hero-copy p{max-width:560px}
.hero .pim-hc-media{position:relative;min-width:0;width:100%;max-width:100%;color:#fff}
.hero .pim-hc-stage{position:relative;height:clamp(310px,33vw,480px);border:1px solid rgba(234,250,255,.45);border-radius:22px;box-shadow:0 26px 70px rgba(2,23,43,.32);background:#0a526d}
.hero .pim-hc-slides{height:100%;position:relative;overflow:hidden;border-radius:21px}
.hero .pim-hc-slide{position:absolute;inset:0;margin:0;opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s ease;pointer-events:none}
.hero .pim-hc-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.hero .pim-hc-slide img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;filter:saturate(.98)}
.hero .pim-hc-slide::after{content:'';position:absolute;inset:42% 0 0;background:linear-gradient(0deg,rgba(5,34,53,.75),transparent);pointer-events:none}
.hero .pim-hc-caption{position:absolute;left:24px;right:55px;max-width:calc(100% - 265px);bottom:26px;z-index:2;color:#fff;font-size:14px;line-height:1.4;font-weight:750;letter-spacing:.02em;text-shadow:0 1px 6px rgba(0,0,0,.27)}
.hero .pim-hc-arrow{position:absolute;top:48%;z-index:3;transform:translateY(-50%);background:rgba(255,255,255,.87);color:#075a9d;border:1px solid rgba(255,255,255,.55);border-radius:50%;width:39px;height:39px;display:grid;place-items:center;box-shadow:0 2px 12px rgba(0,0,0,.13);font-size:29px;line-height:1;padding:0;opacity:.25;transition:opacity .2s ease,background .2s ease;cursor:pointer}
.hero .pim-hc-media:hover .pim-hc-arrow,.hero .pim-hc-arrow:focus-visible{opacity:1}.hero .pim-hc-arrow:hover{background:#fff}.hero .pim-hc-prev{left:14px}.hero .pim-hc-next{right:14px}
.hero .pim-hc-controls{display:flex;align-items:center;justify-content:center;gap:18px;margin-top:15px;min-height:24px}
.hero .pim-hc-dots{display:flex;gap:8px;align-items:center;justify-content:center}
.hero .pim-hc-dot{background:rgba(255,255,255,.4);padding:0;border:0;border-radius:50%;width:8px;height:8px;cursor:pointer;transition:all .2s ease}
.hero .pim-hc-dot.is-active{width:24px;border-radius:999px;background:#68d6a1}
.hero .pim-hc-pause{background:transparent;color:#d9ecf6;border:0;font-size:11px;font-weight:700;padding:5px 7px;cursor:pointer}
.hero .pim-hc-media button:focus-visible{outline:3px solid #92e7bb;outline-offset:3px}
/* The existing Since 1954 card is retained and moved to the photograph corner. */
.hero .pim-hc-media > .hero-feature{position:absolute;display:flex;z-index:4;right:-14px;bottom:66px;left:auto;top:auto;width:235px;padding:14px 16px;box-shadow:0 16px 37px rgba(0,0,0,.22);background:#fff}
.hero .pim-hc-media > .hero-feature .feature-ring{width:42px;height:42px;flex:none}
.hero .pim-hc-media > .hero-feature strong{font-size:14px}
.hero .pim-hc-media > .hero-feature small{font-size:10px}
@media(max-width:1050px){.hero .hero-layout.pim-hc-active{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:25px}.hero .hero-layout.pim-hc-active .hero-copy h1{font-size:clamp(35px,3.7vw,47px)}.hero .pim-hc-stage{height:clamp(300px,37vw,410px)}}
@media(max-width:900px){.hero .hero-layout.pim-hc-active{grid-template-columns:1fr;gap:35px;padding:68px 0 85px}.hero .hero-layout.pim-hc-active .hero-copy{max-width:700px}.hero .hero-layout.pim-hc-active .hero-copy h1{font-size:clamp(40px,5.8vw,58px)}.hero .pim-hc-media{max-width:720px;margin:0 auto}.hero .pim-hc-stage{height:clamp(280px,55vw,430px)}}
@media(max-width:600px){.hero .hero-layout.pim-hc-active{padding:52px 0 72px;gap:28px}.hero .hero-layout.pim-hc-active .hero-copy h1{font-size:clamp(36px,9vw,47px)}.hero .pim-hc-stage{height:clamp(235px,61vw,340px);border-radius:16px}.hero .pim-hc-slides{border-radius:15px}.hero .pim-hc-caption{left:15px;right:15px;max-width:none;bottom:16px;font-size:12px}.hero .pim-hc-arrow{width:32px;height:32px;opacity:.8;font-size:23px}.hero .pim-hc-prev{left:8px}.hero .pim-hc-next{right:8px}.hero .pim-hc-media>.hero-feature{display:flex;position:relative;right:auto;bottom:auto;width:min(100%,330px);margin:14px auto 0;padding:12px 16px;box-shadow:0 10px 22px rgba(0,0,0,.14)}.hero .pim-hc-controls{margin-top:12px}}
@media(prefers-reduced-motion:reduce){.hero .pim-hc-slide{transition:none}.hero .pim-hc-arrow,.hero .pim-hc-dot{transition:none}}

/* v1.1 visual polish: clear dark slide arrows with stable contrast against any photo. */
.hero .pim-hc-arrow{
  width:44px;height:44px;opacity:1;
  background:rgba(9,39,68,.83);color:#fff;
  border:1px solid rgba(255,255,255,.4);
  box-shadow:0 6px 22px rgba(0,16,36,.32);
  font-size:30px;backdrop-filter:blur(6px);
}
.hero .pim-hc-media:hover .pim-hc-arrow,
.hero .pim-hc-arrow:focus-visible{opacity:1}
.hero .pim-hc-arrow:hover{background:#075a9d;color:#fff;box-shadow:0 8px 24px rgba(0,16,36,.4)}
.hero .pim-hc-arrow:active{background:#07854b}
/* More noticeable green pagination dots and an icon-only pause/play control. */
.hero .pim-hc-controls{gap:13px;margin-top:17px}
.hero .pim-hc-dots{gap:11px}
.hero .pim-hc-dot{width:11px;height:11px;background:rgba(255,255,255,.5);border:1px solid rgba(255,255,255,.28)}
.hero .pim-hc-dot.is-active{width:30px;height:11px;background:#66dfa2;border:1px solid #82f0b7}
.hero .pim-hc-pause{
  display:grid;place-items:center;
  padding:0;width:32px;height:32px;border:1px solid rgba(255,255,255,.34);
  border-radius:50%;background:rgba(255,255,255,.1);color:#e9f5ff;
  transition:background-color .2s ease,color .2s ease;
}
.hero .pim-hc-pause:hover{background:rgba(255,255,255,.24);color:#fff}
.hero .pim-hc-icon{width:17px;height:17px;display:block}
.hero .pim-hc-icon-play{display:none}
.hero .pim-hc-pause.is-paused .pim-hc-icon-play{display:block}
.hero .pim-hc-pause.is-paused .pim-hc-icon-pause{display:none}
/* Replacement for redundant Since 1954 tag: smaller and less obtrusive. */
.hero .pim-hc-media > .hero-feature{
  width:225px;right:-11px;bottom:69px;gap:9px;padding:12px 13px;
  border-radius:14px;box-shadow:0 13px 32px rgba(0,0,0,.2);
}
.hero .pim-hc-media > .hero-feature .feature-ring{width:38px;height:38px;flex:0 0 38px}
.hero .pim-hc-media > .hero-feature strong{font-size:13px;line-height:1.35}
.hero .pim-hc-media > .hero-feature small{font-size:10px;line-height:1.5}
@media(max-width:600px){
  .hero .pim-hc-arrow{width:38px;height:38px;font-size:26px;opacity:1}
  .hero .pim-hc-media > .hero-feature{position:relative;right:auto;bottom:auto;width:min(100%,290px);padding:12px 15px;margin:14px auto 0}
  .hero .pim-hc-controls{margin-top:10px}
}
@media(prefers-reduced-motion:reduce){.hero .pim-hc-pause{transition:none}}


/* v1.2: a modestly wider photo column while keeping the existing hero typography,
   buttons, and content intact. Only applies when the carousel is active. */
@media (min-width: 1060px) {
  .hero .hero-layout.pim-hc-active {
    grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
    column-gap: clamp(22px, 2.7vw, 45px);
  }
}
@media (min-width: 901px) and (max-width: 1059px) {
  .hero .hero-layout.pim-hc-active {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    column-gap: 22px;
  }
}
/* Ten dots remain comfortable to tap and fit on narrow mobile screens. */
@media (max-width: 600px) {
  .hero .pim-hc-dots { gap: 7px; }
  .hero .pim-hc-dot { width: 10px; height: 10px; }
  .hero .pim-hc-dot.is-active { width: 25px; height: 10px; }
  .hero .pim-hc-controls { gap: 10px; }
}
