/* eada_hero — visuals are inlined in render.php. Only editor helpers
   and responsive breakpoints live here. */

/* Edit-mode: highlight the right-side click targets so authors know
   they can drop a photo there. */
body.cms-edit .block-eada-hero-half .hero-decorative:hover {
  opacity: 0.18 !important;
  outline: 2px dashed rgba(255,255,255,0.5);
  outline-offset: -6px;
}
body.cms-edit .block-eada-hero-half .hero-decorative::before {
  content: '📷  Click to add a hero photo';
  position: absolute;
  right: 24px; top: 24px;
  color: rgba(255,255,255,0.7);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700;
  pointer-events: none;
}
body.cms-edit .block-eada-hero-half .hero-photo:hover {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

@media (max-width: 900px) {
  .block-eada-hero-half { padding: 60px 24px 70px !important; min-height: 420px !important; }
  /* On narrow screens, drop the right-side decorative / photo so
     the text has room to breathe. */
  .block-eada-hero-half .hero-photo-wrap,
  .block-eada-hero-half .hero-decorative { width: 100% !important; opacity: 0.10 !important; }
}
