/* Judaica Days V8.13.72 - small, homepage-only refinements.
   Keep the V8.13.70 files, wallpaper, campaign logo and all application code.
   This stylesheet loads last, including after the historical !important rules. */

/* Direct access to the existing six funding objectives.
   V8.13.72: more space above and below the objectives button only. */
.premium-home .hero-copy > .hero-objectives-action {
  width:100%; margin:0 0 18px; padding:0;
}
.premium-home .hero-objectives-button {
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:34px; max-width:100%; padding:6px 12px;
  border:1px solid rgba(128,212,252,.72); border-radius:10px;
  background:linear-gradient(135deg,rgba(9,70,121,.76),rgba(4,43,83,.70));
  box-shadow:inset 0 1px 0 rgba(206,242,255,.10);
  color:#fff; font-size:14px; font-weight:750; line-height:1.2;
  text-decoration:none; text-align:center;
  transition:background .18s ease,border-color .18s ease;
}
.premium-home .hero-objectives-button svg {
  display:block; flex:0 0 17px; width:17px; height:17px;
  color:#9de4ff;
}
@media(min-width:1081px) {
  .premium-home .hero-copy > h1 {margin-bottom:18px !important}
}
@media(min-width:1081px) and (max-height:800px) {
  .premium-home .hero-copy > h1 {margin-bottom:14px !important}
  .premium-home .hero-copy > .hero-objectives-action {margin-bottom:16px}
}
@media(max-width:1080px) {
  /* Preserve the mobile sequence: identity, objectives link, donation, media. */
  .premium-home .hero-copy > .hero-objectives-action {
    order:3; width:100%; max-width:760px; margin:3px auto;
  }
  .premium-home .hero-objectives-button {min-height:40px; padding:9px 13px}
}

/* Lower the photos inside their unchanged cover boxes.
   Lower percentages reveal more of the top, moving the subjects DOWN;
   object-fit:cover is kept, so there is no empty strip or extra zoom. */
.premium-home .hero-carousel-slide[data-slide="0"] img {object-position:center 20% !important}
.premium-home .hero-carousel-slide[data-slide="1"] img {object-position:center 32% !important}
.premium-home .hero-carousel-slide[data-slide="2"] img {object-position:center 44% !important}
.premium-home .hero-carousel-slide[data-slide="3"] img {object-position:center 34% !important}

@media(min-width:1081px) and (max-height:800px) {
  /* A very wide, short frame needs more headroom for the full team. */
  .premium-home .hero-carousel-slide[data-slide="1"] img {object-position:center 22% !important}
}

/* Center the play control in both axes and its vector triangle in the disc.
   The triangle's area centroid is (15,15), independent of font metrics. */
.premium-home .hero-media-panorama .hero-video-placeholder {
  top:50% !important; left:50% !important;
  transform:translate(-50%,-50%) !important;
}
.premium-home .hero-video-placeholder .video-play {
  display:grid; place-items:center; padding:0; margin:0;
}
.premium-home .hero-video-placeholder .video-play::before,
.premium-home .hero-video-placeholder .video-play::after {
  content:none !important; display:none !important; border:0 !important;
}
.premium-home .hero-video-placeholder .video-play-icon {
  display:block; width:30px; height:30px; flex:none;
  color:#fff; margin:0; padding:0; transform:none;
}

/* A single gold heart in the Parrains information panel, not the form title. */
.premium-home .parrains-heart {
  display:block; width:33px; height:33px; flex:0 0 33px;
  filter:drop-shadow(0 1px 1px rgba(166,105,9,.10));
}
@media(max-width:760px) {
  .premium-home .parrains-heart {width:28px; height:28px; flex-basis:28px}
}

/* Keep the dynamic donation text; no heart. A font-independent white arrow
   stays exactly centered in the gold disc, including when the amount changes. */
.premium-home #heroCheckoutButton:not(:disabled) > span:first-child::before {
  content:none !important; display:none !important;
}
.premium-home #heroCheckoutButton::after {
  content:"" !important; display:block !important; position:absolute;
  top:50%; right:14px; bottom:auto; left:auto;
  transform:translateY(-50%) !important;
  width:33px; height:33px; margin:0; padding:0; border:0;
  border-radius:50%; box-sizing:border-box; pointer-events:none;
  font-size:0; line-height:0;
  background-image:url("assets/checkout-arrow-v81371.svg"),linear-gradient(140deg,#d99a1b,#b9760b);
  background-size:21px 21px,100% 100%;
  background-position:center center,center center;
  background-repeat:no-repeat,no-repeat;
}
.premium-home #heroCheckoutButton:disabled::after {
  content:none !important; display:none !important;
}
@media(max-width:760px) {
  .premium-home #heroCheckoutButton::after {
    right:10px; width:29px; height:29px; background-size:19px 19px,100% 100%;
  }
}
@media(hover:hover) {
  .premium-home .hero-objectives-button:hover {
    border-color:#b9eeff;
    background:linear-gradient(135deg,rgba(12,93,154,.90),rgba(6,62,111,.87));
  }
}
@media(prefers-reduced-motion:reduce) {
  .premium-home .hero-objectives-button {transition:none}
}

/* Keep every caption below the newly centered Play control, including the
   longest slide title on small phones. The media frame itself never changes. */
.premium-home .hero-carousel .hero-carousel-copy {bottom:14px !important}
@media(min-width:1081px) and (max-height:800px) {
  .premium-home .hero-carousel .hero-carousel-copy {bottom:10px !important}
}
@media(max-width:760px) {
  .premium-home .hero-carousel .hero-carousel-copy {inset:auto 18px 16px !important}
}
@media(max-width:400px) {
  .premium-home .hero-carousel .hero-carousel-copy {inset:auto 14px 14px !important}
  .premium-home .hero-carousel .hero-carousel-copy strong,
  .premium-home .hero-carousel .hero-carousel-copy .hero-carousel-first-title {
    font-size:21px !important;
  }
  .premium-home .hero-carousel .hero-carousel-copy > span {margin-top:5px}
}
