/* ── tmpl0001 橫幅主視覺 ───────────────────────────────────────────────── */

[data-domx-id="tmpl0001"] {
  margin: 50px 0;
  width: 100%;
}

[data-domx-id="tmpl0001"] .hero {
  position: relative;
  width: 100%;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: #0a0a0a;
}

[data-domx-id="tmpl0001"] .hero__figure {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  z-index: 0;
}
[data-domx-id="tmpl0001"] .hero__figure img,
[data-domx-id="tmpl0001"] .hero__figure a {
  display: block;
  width: 100%;
  height: 100%;
}
[data-domx-id="tmpl0001"] .hero__figure img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: 100%;
}

[data-domx-id="tmpl0001"] .hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.75) 0%,
    rgba(0,0,0,.4) 60%,
    rgba(0,0,0,.1) 100%
  );
  z-index: 1;
  pointer-events: none;
}

[data-domx-id="tmpl0001"] .hero__content {
  position: relative;
  z-index: 2;
  padding: 64px 80px;
  max-width: 640px;
}

[data-domx-id="tmpl0001"] .hero__title {
  margin: 0 0 20px;
  font-size: clamp(32px, calc(20px + 2.5vw), 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}

[data-domx-id="tmpl0001"] .hero__sub {
  margin: 0;
  font-size: clamp(15.2px, calc(12px + 0.8vw), 19.2px);
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

/* RWD */
@media (max-width: 768px) {
  [data-domx-id="tmpl0001"] .hero { min-height: 340px; }
  [data-domx-id="tmpl0001"] .hero__content { padding: 40px 28px; }
  [data-domx-id="tmpl0001"] .hero__overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,.3), rgba(0,0,0,.72));
  }
}
