/* ======================================================
   BLOG HERO SLIDER — PREMIUM (MULTI-THEME, NO ORANGE)
   File: assets/css/blog-hero.css

   Requested:
   - Home jaisa: 4 themes per slide (v1..v4) + premium look
   - Slider left/right side padding (+30px feel)
   - Arrows/buttons stay in same place
   - No blur, no heavy shadows
   - Only image clickable on right side
   - Featured image: 16:9, radius 10px, premium border + subtle white outline
====================================================== */

:root{
  --hdaf-black: #0b1220;

  /* Layout */
  --hdaf-bh-gap-y: 12px;
  --hdaf-bh-gap-x: 65px; /* +30px feel */

  /* Image (16:9) */
  --hdaf-bh-img-size: 450px;
  --hdaf-bh-img-maxvw: 36vw;
  --hdaf-bh-img-border: 16px;
  --hdaf-bh-img-radius: 10px;

  /* Shifts */
  --hdaf-bh-left-shift: 0px;
  --hdaf-bh-img-shift: 0px;
}

/* FULL WIDTH SECTION (BLOG ONLY) */
.hps.hps--blog{
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  background: transparent; /* background now per-slide */
}

/* 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;
  position: relative;
}

/* Premium pattern (NO blur) */
.hps.hps--blog .hps-slide::before{
  content:"";
  position:absolute;
  inset: 0;
  background:
    radial-gradient(640px 240px at 18% 18%, rgba(255,255,255,.16), rgba(255,255,255,0) 62%),
    radial-gradient(520px 220px at 82% 22%, rgba(255,255,255,.12), rgba(255,255,255,0) 64%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  pointer-events:none;
}
.hps.hps--blog .hps-slide > *{ position: relative; z-index: 1; }

.hps.hps--blog .hps-left,
.hps.hps--blog .hps-right{
  padding: 0;
}

/* LEFT CONTENT (moves inside via --hdaf-bh-gap-x) */
.hps.hps--blog .hps-left{
  max-width: var(--h-container, 1200px);
  margin-inline: auto;
  padding: var(--hdaf-bh-gap-y) var(--hdaf-bh-gap-x);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 10px;
  transform: translateX(var(--hdaf-bh-left-shift));
}

/* Badge */
.hps.hps--blog .hps-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  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: rgba(255,255,255,.85); /* per-theme below */
  display:inline-block;
}

/* Title */
.hps.hps--blog .hps-head{
  margin: 0;
  font-size: clamp(24px, 3.0vw, 46px);
  line-height: 1.05;
  letter-spacing: -.5px;
  color: #ffffff;
  font-weight: 900;
}

/* Excerpt (3-line clamp) */
.hps.hps--blog .hps-sub{
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 15px;
  max-width: 68ch;

  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: 13px;
  color: rgba(255,255,255,.92);
}

.hps.hps--blog .hps-price{
  position: relative;
  padding-left: 12px;
  opacity: .90;
}
.hps.hps--blog .hps-price::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  opacity: .85;
}

/* Buttons (premium, round) */
.hps.hps--blog .hps-actions{
  margin-top: 10px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hps.hps--blog .hps-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.12);
  cursor:pointer;
  font-weight: 900;
  text-decoration: none;
  user-select:none;
  color: #ffffff;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.hps.hps--blog .hps-btn:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.30);
  text-decoration:none;
  transform: translateY(-1px);
}
.hps.hps--blog .hps-btn--primary{
  background: rgba(11,18,32,.92);
  color:#fff;
  border-color: rgba(255,255,255,.10);
}
.hps.hps--blog .hps-btn--primary:hover{ background: rgba(11,18,32,.96); }

/* RIGHT SIDE */
.hps.hps--blog .hps-right{
  display:block;
  position: relative;
  pointer-events: none;
}

/* Image stage (moves inside via --hdaf-bh-gap-x) */
.hps.hps--blog .hps-media{
  max-width: var(--h-container, 1200px);
  margin-inline: auto;
  padding: var(--hdaf-bh-gap-y) var(--hdaf-bh-gap-x);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  position: relative;
  background: none !important;
  box-shadow: none !important;
  transform: translateX(var(--hdaf-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 + premium border + subtle white outline + radius 10) */
.hps.hps--blog .hps-img{
  width: min(var(--hdaf-bh-img-size), var(--hdaf-bh-img-maxvw));
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;

  border-radius: var(--hdaf-bh-img-radius);

  border: var(--hdaf-bh-img-border) solid rgba(255,255,255,.18);
  outline: 1px solid rgba(255,255,255,.85);
  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,.22);
  background: rgba(255,255,255,.12);
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 5;
  user-select:none;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.hps.hps--blog .hps-arrow:hover{
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.30);
  transform: translateY(-50%) translateY(-1px);
}
.hps.hps--blog .hps-arrow--prev{ left: 14px; }  /* keep same */
.hps.hps--blog .hps-arrow--next{ right: 14px; } /* keep same */

/* --- 4 Premium Slide Themes (NO ORANGE) --- */
.hps.hps--blog .hps-slide--v1{
  background: linear-gradient(135deg, #0b1220 0%, #1e3a8a 55%, #3b82f6 120%);
}
.hps.hps--blog .hps-slide--v2{
  background: linear-gradient(135deg, #061a12 0%, #14532d 55%, #22c55e 120%);
}
.hps.hps--blog .hps-slide--v3{
  background: linear-gradient(135deg, #160a2b 0%, #4c1d95 55%, #a855f7 120%);
}
.hps.hps--blog .hps-slide--v4{
  background: linear-gradient(135deg, #071b2e 0%, #0f766e 55%, #06b6d4 120%);
}

/* Badge dot per-theme (unique feel) */
.hps.hps--blog .hps-slide--v1 .hps-badge i{ background: #93c5fd; }
.hps.hps--blog .hps-slide--v2 .hps-badge i{ background: #86efac; }
.hps.hps--blog .hps-slide--v3 .hps-badge i{ background: #d8b4fe; }
.hps.hps--blog .hps-slide--v4 .hps-badge i{ background: #67e8f9; }

/* Responsive */
@media (max-width: 991px){
  :root{
    --hdaf-bh-gap-x: 26px;
    --hdaf-bh-gap-y: 10px;

    --hdaf-bh-img-size: 520px;
    --hdaf-bh-img-maxvw: 88vw;

    --hdaf-bh-img-border: 14px;
    --hdaf-bh-img-radius: 10px;

    --hdaf-bh-left-shift: 0px;
    --hdaf-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;
  }

  .hps.hps--blog .hps-sub{ -webkit-line-clamp: 4; }
}

@media (max-width: 479px){
  :root{
    --hdaf-bh-gap-x: 18px;
    --hdaf-bh-img-border: 12px;
    --hdaf-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;
}
