/* Padhanis site kit — slideshow mechanics only. Visual design lives in Global Styles → Custom CSS. */
.pad-hero:not(.is-ready) .pad-slide ~ .pad-slide { display: none; }            /* no-JS / pre-init: first slide only */
.pad-hero.is-ready .pad-slide:not(.is-active) { display: none !important; }
.pad-hero .pad-slide.is-active { animation: pad-hero-in .55s ease both; }
@keyframes pad-hero-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.pad-slide-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0 !important; }

.pad-hero-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-block-start: 28px; }
.pad-hn-dots { display: flex; gap: 8px; flex-wrap: wrap; }
.pad-hero-nav button { font: inherit; cursor: pointer; }
.pad-hn-dot {
  position: relative; overflow: hidden; padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--wp--preset--color--line, #E8E1D7); background: var(--wp--preset--color--surface, #fff);
  color: var(--wp--preset--color--muted, #6B6377); transition: color .16s, border-color .16s, background .16s;
}
.pad-hn-dot:hover { color: var(--wp--preset--color--contrast, #1E1726); }
.pad-hn-dot.is-active { color: var(--wp--preset--color--brand, #6E3FA3); border-color: var(--wp--preset--color--brand-soft, #B48FDC); background: var(--wp--preset--color--brand-tint, #F4EEFB); }
.pad-hn-bar { position: absolute; inset-inline-start: 0; bottom: 0; height: 3px; width: 0; border-radius: 3px; background: var(--wp--preset--color--brand, #6E3FA3); }
.pad-hn-dot.is-running .pad-hn-bar { animation: pad-hero-bar var(--pad-hero-dur, 13s) linear forwards; }
.pad-hero.is-paused .pad-hn-dot.is-running .pad-hn-bar { animation-play-state: paused; }
@keyframes pad-hero-bar { to { width: 100%; } }
.pad-hn-arrow, .pad-hn-play {
  width: 38px; height: 38px; flex: 0 0 auto; padding: 0; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--wp--preset--color--line, #E8E1D7); background: var(--wp--preset--color--surface, #fff);
  color: var(--wp--preset--color--muted, #6B6377);
}
.pad-hn-arrow:hover, .pad-hn-play:hover { color: var(--wp--preset--color--brand, #6E3FA3); border-color: var(--wp--preset--color--brand-soft, #B48FDC); }
.pad-hn-arrow svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pad-hn-play svg { width: 15px; height: 15px; fill: currentColor; }
.pad-hero-nav :focus-visible, .pad-theme-toggle:focus-visible { outline: 3px solid var(--wp--preset--color--brand, #6E3FA3); outline-offset: 3px; }

@media (max-width: 700px) {
  .pad-hero-nav { justify-content: center; width: 100%; margin-block-start: 22px; }
  .pad-hn-dot { font-size: 0; padding: 0; width: 11px; height: 11px; border-radius: 50%; }
  .pad-hn-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pad-hero .pad-slide.is-active { animation: none; }
  .pad-hn-dot.is-running .pad-hn-bar { animation: none; }
}
