.afph{--afph-height:620px;--afph-content-width:760px;--afph-pad:64px;--afph-ink:#0b0b0b;--afph-accent:#ffaa18;--afph-second:#080808;position:relative;width:100%;height:var(--afph-height);overflow:hidden;background:#fff;color:var(--afph-ink);isolation:isolate}
.afph *{box-sizing:border-box}
.afph__slides,.afph__slide{position:absolute;inset:0}
.afph__slide{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .65s ease,visibility .65s ease}
.afph__slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.afph__media{position:absolute;inset:0;background-image:var(--afph-bg);background-repeat:no-repeat;background-size:cover;background-position:center center}
.afph__slide[data-image-position=left] .afph__media{background-position:left center}
.afph__slide[data-image-position=right] .afph__media{background-position:right center}
.afph__content-wrap{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:30px var(--afph-pad)}
.afph__slide[data-horizontal=center] .afph__content-wrap{justify-content:center}
.afph__slide[data-horizontal=right] .afph__content-wrap{justify-content:flex-end}
.afph__slide[data-vertical=top] .afph__content-wrap{align-items:flex-start}
.afph__slide[data-vertical=bottom] .afph__content-wrap{align-items:flex-end}
.afph__content{width:min(100%,var(--afph-content-width));transform:translate(var(--afph-offset-x),var(--afph-offset-y));text-align:left}
.afph__slide[data-horizontal=center] .afph__content{text-align:center}
.afph__slide[data-horizontal=right] .afph__content{text-align:right}
.afph__title{margin:0 0 18px;color:inherit;font-family:inherit;font-size:clamp(44px,4.65vw,88px);font-weight:800;line-height:1.035;letter-spacing:-.045em;text-wrap:balance}
.afph__subtitle{max-width:690px;margin:0 0 28px;color:inherit;font-size:clamp(20px,2.15vw,37px);font-weight:700;line-height:1.22;text-wrap:balance}
.afph__buttons{display:flex;gap:14px;flex-wrap:wrap;align-items:center}
.afph__slide[data-horizontal=center] .afph__buttons{justify-content:center}
.afph__slide[data-horizontal=right] .afph__buttons{justify-content:flex-end}
.afph__button{display:inline-flex;min-height:56px;align-items:center;justify-content:center;padding:12px 28px;border-radius:999px;font-size:clamp(17px,1.45vw,25px);font-weight:800;line-height:1.1;text-decoration:none!important;transition:transform .2s ease,filter .2s ease}
.afph__button:hover{transform:translateY(-2px);filter:brightness(.94)}
.afph__button:focus-visible,.afph__arrow:focus-visible,.afph__dot:focus-visible{outline:3px solid #0969da;outline-offset:4px}
.afph__button--primary{background:var(--afph-accent);color:#090909!important}
.afph__button--secondary{background:var(--afph-second);color:#fff!important}
.afph__controls{position:absolute;z-index:3;right:var(--afph-pad);bottom:24px;display:flex;align-items:center;gap:12px}
.afph__arrow{display:grid;place-items:center;width:40px;height:40px;border:1px solid #dedede;border-radius:50%;background:rgba(255,255,255,.94);color:#141414;font-size:22px;line-height:1;cursor:pointer}
.afph__arrow:hover{background:#fff}
.afph__dots{display:flex;align-items:center;gap:7px}
.afph__dot{display:block;width:9px;height:9px;padding:0;border:0;border-radius:50%;background:#adadad;cursor:pointer;transition:width .25s ease,background .25s ease}
.afph__dot.is-active{width:24px;border-radius:8px;background:#111}
.afph__slide.is-active[data-animation=fade] .afph__content{animation:afph-fade .7s .12s both}
.afph__slide.is-active[data-animation=rise] .afph__content{animation:afph-rise .7s .12s both}
.afph__slide.is-active[data-animation=from-left] .afph__content{animation:afph-left .7s .12s both}
.afph__slide.is-active[data-animation=zoom] .afph__content{animation:afph-zoom .7s .12s both}
@keyframes afph-fade{from{opacity:0}to{opacity:1}}
@keyframes afph-rise{from{opacity:0;translate:0 28px}to{opacity:1;translate:0 0}}
@keyframes afph-left{from{opacity:0;translate:-35px 0}to{opacity:1;translate:0 0}}
@keyframes afph-zoom{from{opacity:0;scale:.95}to{opacity:1;scale:1}}
@media(max-width:767px){.afph{height:var(--afph-height);min-height:560px}.afph__slide{background:#fff}.afph__media{inset:0 0 auto;height:40%;background-size:cover;background-position:73% center!important}.afph__content-wrap,.afph__slide[data-vertical=top] .afph__content-wrap,.afph__slide[data-vertical=bottom] .afph__content-wrap{height:100%;align-items:flex-end;justify-content:flex-start!important;padding:0 var(--afph-pad) 66px}.afph__content{width:100%;transform:none;text-align:left!important}.afph__title{font-size:clamp(34px,9vw,52px);line-height:1.02;margin-bottom:12px}.afph__subtitle{font-size:clamp(18px,5vw,23px);line-height:1.2;margin-bottom:18px}.afph__buttons{justify-content:flex-start!important;gap:9px}.afph__button{min-height:46px;padding:10px 17px;font-size:15px}.afph__controls{right:var(--afph-pad);bottom:12px}.afph__arrow{width:32px;height:32px;font-size:18px}}
@media(max-width:380px){.afph__title{font-size:32px}.afph__button{font-size:14px;padding-inline:13px}}
@media(prefers-reduced-motion:reduce){.afph__slide,.afph__button,.afph__dot{transition:none!important}.afph__content{animation:none!important}}

/* Keep theme and Elementor global button rules from stretching slider arrows. */
.afph .afph__controls > .afph__arrow {
  display: grid !important;
  place-items: center !important;
  flex: 0 0 42px !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  line-height: 1 !important;
  font-family: Arial, sans-serif !important;
  font-size: 20px !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}
.afph .afph__controls > .afph__arrow:hover {
  transform: scale(1.05);
}
@media (max-width: 767px) {
  .afph .afph__controls > .afph__arrow {
    flex-basis: 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    font-size: 18px !important;
  }
}
