/* ======================================================
   BLOG HERO SLIDER — FINAL (SIDE PADDING +30px, ARROWS STAY)
   File: assets/css/blog-hero.css

   Requested:
   - Slider left/right side padding +30px (text + image move inside)
   - Arrows/buttons stay in same place
   - Border slightly dark orange + white outline
   - Featured image radius 10px
====================================================== */

:root{
  --hdaf-orange: #ff8a00;
  --hdaf-orange-dark: #d65a00; /* darker orange border */
  --hdaf-black: #0b1220;

  /* Layout */
  --stm-bh-gap-y: 12px;
  --stm-bh-gap-x: 65px; /* ✅ was 20px, +30px */

  /* Image (16:9) */
  --stm-bh-img-size: 450px;
  --stm-bh-img-maxvw: 36vw;
  --stm-bh-img-border: 18px;
  --stm-bh-img-radius: 10px;

  /* Balanced shifts */
  --stm-bh-left-shift: 0px;
  --stm-bh-img-shift: 0px;
}

/* FULL WIDTH SECTION (BLOG ONLY) */
.hps.hps--blog{
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  background: var(--hdaf-orange);
}

/* Break out container padding */
.hps.hps--blog .h-container{
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Wrapper */
.hps.hps--blog .hps-wrap{
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  min-height: 180px;
}

/* Track */
.hps.hps--blog .hps-track{
  display:flex;
  transform: translate3d(0,0,0);
  transition: transform 480ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

/* Slide */
.hps.hps--blog .hps-slide{
  min-width: 100%;
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0;
}

.hps.hps--blog .hps-left,
.hps.hps--blog .hps-right{
  padding: 0;
}

/* LEFT CONTENT (moves inside via --stm-bh-gap-x) */
.hps.hps--blog .hps-left{
  max-width: var(--h-container, 1200px);
  margin-inline: auto;
  padding: var(--stm-bh-gap-y) var(--stm-bh-gap-x);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 10px;
  transform: translateX(var(--stm-bh-left-shift));
}

/* Badge */
.hps.hps--blog .hps-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.16);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(255,255,255,.92);
}
.hps.hps--blog .hps-badge i{
  width: 8px; height: 8px;
  border-radius: 99px;
  background: #14b8a6;
  display:inline-block;
}

/* Title */
.hps.hps--blog .hps-head{
  margin: 0;
  font-size: clamp(22px, 2.9vw, 44px);
  line-height: 1.06;
  letter-spacing: -.35px;
  color: #ffffff;
}

/* Excerpt (3-line clamp) */
.hps.hps--blog .hps-sub{
  margin: 0;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  max-width: 62ch;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

/* Meta (inline author + date) */
.hps.hps--blog .hps-product{
  margin-top: 2px;
  display:flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hps.hps--blog .hps-name,
.hps.hps--blog .hps-price{
  font-weight: 900;
  font-size: 14px;
  color: rgba(255,255,255,.92);
}

.hps.hps--blog .hps-price{
  position: relative;
  padding-left: 12px;
}

.hps.hps--blog .hps-price::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  opacity: .85;
}

/* Buttons */
.hps.hps--blog .hps-actions{
  margin-top: 8px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hps.hps--blog .hps-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.16);
  cursor:pointer;
  font-weight: 900;
  text-decoration: none;
  user-select:none;
  color: #ffffff;
}
.hps.hps--blog .hps-btn:hover{
  background: rgba(255,255,255,.22);
  text-decoration:none;
}
.hps.hps--blog .hps-btn--primary{
  background: rgba(11,18,32,.92);
  color:#fff;
  border-color: rgba(255,255,255,.08);
}
.hps.hps--blog .hps-btn--primary:hover{ filter: brightness(1.02); }

/* RIGHT SIDE */
.hps.hps--blog .hps-right{
  display:block;
  position: relative;
  pointer-events: none;
}

/* Image stage (moves inside via --stm-bh-gap-x) */
.hps.hps--blog .hps-media{
  max-width: var(--h-container, 1200px);
  margin-inline: auto;
  padding: var(--stm-bh-gap-y) var(--stm-bh-gap-x);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  position: relative;
  background: none !important;
  box-shadow: none !important;
  transform: translateX(var(--stm-bh-img-shift));
}

/* ONLY image link clickable */
.hps.hps--blog .hps-mediaLink{
  display: inline-block;
  text-decoration: none !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  pointer-events: auto;
}

/* Featured image (16:9 + DARK ORANGE border + white outline + radius 10) */
.hps.hps--blog .hps-img{
  width: min(var(--stm-bh-img-size), var(--stm-bh-img-maxvw));
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;

  border-radius: var(--stm-bh-img-radius);

  border: var(--stm-bh-img-border) solid var(--hdaf-orange-dark);
  outline: 1px solid rgba(255,255,255,.95);
  outline-offset: -1px;

  box-shadow: none;
  background: transparent !important;
  transform: translateZ(0);
}

/* Hover */
.hps.hps--blog .hps-mediaLink:hover .hps-img{
  transform: translateY(-2px);
  transition: transform 220ms ease;
}

/* Arrows (stay in same place) */
.hps.hps--blog .hps-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.16);
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 5;
  user-select:none;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
}
.hps.hps--blog .hps-arrow:hover{ background: rgba(255,255,255,.22); }
.hps.hps--blog .hps-arrow--prev{ left: 14px; }  /* ✅ unchanged */
.hps.hps--blog .hps-arrow--next{ right: 14px; } /* ✅ unchanged */

/* Responsive */
@media (max-width: 991px){
  :root{
    --stm-bh-gap-x: 26px;  /* mobile safe */
    --stm-bh-gap-y: 10px;

    --stm-bh-img-size: 520px;
    --stm-bh-img-maxvw: 88vw;

    --stm-bh-img-border: 14px;
    --stm-bh-img-radius: 10px;

    --stm-bh-left-shift: 0px;
    --stm-bh-img-shift: 0px;
  }

  .hps.hps--blog .hps-wrap{ min-height: 260px; }
  .hps.hps--blog .hps-slide{ grid-template-columns: 1fr; }
  .hps.hps--blog .hps-media{
    justify-content:center;
    padding-top: 6px;
  }
}

@media (max-width: 479px){
  :root{
    --stm-bh-gap-x: 18px;
    --stm-bh-img-border: 12px;
    --stm-bh-img-radius: 10px;
  }
  .hps.hps--blog .hps-wrap{ min-height: 240px; }
  .hps.hps--blog .hps-arrow{ width: 42px; height: 42px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .hps.hps--blog .hps-track{ transition: none; }
  .hps.hps--blog .hps-mediaLink:hover .hps-img{ transition: none; transform: none; }
}

/* Focus cleanup */
.hps.hps--blog .hps-right a,
.hps.hps--blog .hps-right a:hover{
  text-decoration: none !important;
}
.hps.hps--blog .hps-right a:focus{
  outline: none;
}
