/* Success stories: topper video rail */
.stories {
  padding: 44px 0 40px;
  background: #fff;
  text-align: left;
}

.story-rail {
  display: flex;
  gap: 14px;
  margin: 20px calc(var(--gutter) * -1) 0;
  padding: 0 var(--gutter) 6px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.story-rail::-webkit-scrollbar { display: none; }

.story-video {
  flex: 0 0 70%;
  max-width: 340px;
  scroll-snap-align: start;
}

.story-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.story-thumb {
  position: relative;
  display: block;
  aspect-ratio: 300 / 164;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}
.story-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}
.story-thumb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l9 5-9 5z' fill='%2301324E'/%3E%3C/svg%3E") 55% 50% / 24px no-repeat;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
}
.story-link:hover .story-thumb img { transform: scale(1.04); }

.story-caption {
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
  color: var(--ink);
}

@media (min-width: 601px) {
  .stories { padding: 64px 0 56px; }
  .story-rail { margin-inline: 0; padding-inline: 0; }
  .story-video { flex-basis: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-thumb img, .story-link:hover .story-thumb img { transition: none; transform: none; }
}


/* ================================= */


/* =========================================
   Edzorb Law - Success Stories Variation 2
   Mobile first + responsive desktop layout
   ========================================= */

.stories-v2 {
  position: relative;
  overflow: hidden;
  padding: 38px 0 44px;
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(105, 202, 245, 0.16),
      transparent 28%
    ),
    linear-gradient(145deg, #f5fbff 0%, #eaf7ff 100%);
}

.stories-v2 .container {
  width: min(100% - 28px, 1320px);
  margin-inline: auto;
}

.stories-v2-title {
  margin: 0 0 26px;
  text-align: center;
  color: var(--navy);
  font-size: clamp(27px, 5vw, 44px);
  line-height: 1.15;
  font-weight: 900;
}

/* Mobile: featured card first, then 2-column grid */
.stories-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

/* Featured story */
.story-v2-featured {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(13, 69, 99, 0.07);
}

.story-v2-featured-link,
.story-v2-card a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.story-v2-featured-thumb,
.story-v2-thumb {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 16px;
  background: #d9effb;
}

.story-v2-featured-thumb {
  aspect-ratio: 16 / 9;
}

.story-v2-featured-thumb img,
.story-v2-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.story-v2-featured h3 {
  margin: 14px 3px 5px;
  color: var(--navy);
  font-size: clamp(19px, 3.8vw, 27px);
  line-height: 1.35;
  font-weight: 900;
}

/* Smaller stories */
.stories-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
}

.story-v2-card {
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 5px 18px rgba(13, 69, 99, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.story-v2-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.story-v2-card h3 {
  margin: 10px 2px 4px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 800;
  overflow-wrap: anywhere;
}

/* Play button */
.story-v2-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #075071;
  box-shadow: 0 4px 14px rgba(0, 30, 50, 0.15);
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.story-v2-play svg {
  width: 22px;
  height: 22px;
  margin-left: 2px;
}

/* Hover and keyboard focus */
.story-v2-featured-link:hover img,
.story-v2-card a:hover img {
  transform: scale(1.045);
}

.story-v2-featured-link:hover .story-v2-play,
.story-v2-card a:hover .story-v2-play {
  background: var(--navy);
  color: #fff;
}

.story-v2-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(13, 69, 99, 0.12);
}

.story-v2-featured a:focus-visible,
.story-v2-card a:focus-visible {
  outline: 3px solid #168fc2;
  outline-offset: 4px;
  border-radius: 12px;
}

/* Larger phones */
@media (min-width: 430px) {
  .stories-v2 .container {
    width: min(100% - 36px, 1320px);
  }

  .stories-v2-grid {
    gap: 14px;
  }

  .story-v2-card {
    padding: 10px;
  }

  .story-v2-card h3 {
    font-size: 14px;
  }
}

/* Tablet */
@media (min-width: 700px) {
  .stories-v2 {
    padding: 48px 0 56px;
  }

  .stories-v2-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
  }

  .story-v2-featured {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px;
  }

  .stories-v2-grid {
    gap: 14px;
  }

  .story-v2-card h3 {
    font-size: 15px;
  }

  .story-v2-play {
    width: 48px;
    height: 48px;
  }
}

/* Desktop: large feature + 2x2 cards */
@media (min-width: 1000px) {
  .stories-v2 {
    padding: 58px 0 64px;
  }

  .stories-v2-title {
    margin-bottom: 42px;
  }

  .stories-v2-layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    gap: 24px;
  }

  .story-v2-featured {
    padding: 24px;
    border-radius: 24px;
  }

  .story-v2-featured-thumb {
    border-radius: 20px;
  }

  .story-v2-featured h3 {
    margin-top: 20px;
    font-size: 28px;
  }

  .stories-v2-grid {
    gap: 16px;
  }

  .story-v2-card {
    padding: 12px;
    border-radius: 20px;
  }

  .story-v2-thumb {
    border-radius: 15px;
  }

  .story-v2-card h3 {
    margin-top: 13px;
    font-size: 18px;
    line-height: 1.45;
  }

  .story-v2-play {
    width: 54px;
    height: 54px;
  }

  .story-v2-play svg {
    width: 27px;
    height: 27px;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .story-v2-featured-thumb img,
  .story-v2-thumb img,
  .story-v2-card,
  .story-v2-play {
    transition: none;
  }

  .story-v2-card:hover {
    transform: none;
  }
}



/* ======================================= */



/* ==========================================
   SUCCESS STORIES — VARIATION 2
   Iski saari classes stories-v2 se start hain
   ========================================== */

.stories-v2 {
  --v2-blue: #169fd0;
  --v2-navy: #17364c;
  --v2-muted: #627784;
  --v2-border: #e7edf1;

  padding: 18px 0 36px;
  background: #fff;
  color: var(--v2-navy);
  overflow: hidden;
}

.stories-v2,
.stories-v2 * {
  box-sizing: border-box;
}

.stories-v2-container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 14px;
}

/* Header */

.stories-v2-header {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}

.stories-v2-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -.5px;
  text-align: center;
}

.stories-v2-back {
  color: var(--v2-navy);
  font-size: 29px;
  line-height: 1;
  text-decoration: none;
}

.stories-v2-search {
  display: grid;
  place-items: center;
  width: 30px;
  height: 32px;
  padding: 0;
  color: var(--v2-navy);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.stories-v2-search svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

/* Featured card */

.stories-v2-featured {
  margin-bottom: 17px;
}

.stories-v2-featured-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.64 / 1;
  overflow: hidden;
  border-radius: 13px;
  background: #edf5fa;
}

.stories-v2-featured-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
}

.stories-v2-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  padding-left: 3px;
  border-radius: 50%;
  color: var(--v2-blue);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
  transform: translate(-50%, -50%);
  font-size: 16px;
}

.stories-v2-featured-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 9px;
}

.stories-v2-featured-info h3 {
  flex: 1;
  margin: 0;
  color: #152c3d;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.4;
}

.stories-v2-featured-info > a {
  flex-shrink: 0;
  margin-top: 2px;
  color: #24485c;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

/* Category filters */

.stories-v2-filters {
  display: flex;
  gap: 7px;
  margin: 16px -14px 19px;
  padding: 0 14px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.stories-v2-filters::-webkit-scrollbar {
  display: none;
}

.stories-v2-filter {
  flex: 0 0 auto;
  min-height: 29px;
  padding: 5px 13px;
  border: 1px solid #dfe7eb;
  border-radius: 999px;
  background: #f0f4f6;
  color: #263b49;
  font: 700 11px/1.2 inherit;
  cursor: pointer;
  white-space: nowrap;
}

.stories-v2-filter.is-active {
  background: #cceefa;
  border-color: #cceefa;
  color: #173b4e;
}

/* More stories */

.stories-v2-more > h3 {
  margin: 0 0 12px;
  color: #182f40;
  font-size: 16px;
  font-weight: 900;
}

.stories-v2-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stories-v2-list li {
  min-width: 0;
  border: 1px solid #edf0f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(21, 49, 67, .09);
  overflow: hidden;
}

.stories-v2-list li > a {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 82px;
  padding: 8px;
  color: inherit;
  text-decoration: none;
}

.stories-v2-list li > a > img {
  display: block;
  width: 110px;
  height: 70px;
  border-radius: 9px;
  object-fit: cover;
  background: #edf4f7;
}

.stories-v2-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.stories-v2-info strong {
  color: #152d3e;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
}

.stories-v2-info b {
  color: #354b59;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

.stories-v2-info small {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border-radius: 50%;
  background: #16485d;
  color: white;
  font-size: 8px;
}

.stories-v2-watch {
  align-self: center;
  color: #25485b;
  font-size: 11px;
  font-weight: 900;
}

/* Hover and accessibility */

@media (hover: hover) {
  .stories-v2-list li,
  .stories-v2-featured-thumb img {
    transition: box-shadow .2s ease, transform .2s ease;
  }

  .stories-v2-list li:hover {
    box-shadow: 0 6px 16px rgba(21, 49, 67, .13);
  }

  .stories-v2-featured-thumb:hover img {
    transform: scale(1.025);
  }
}

/* Tablet and desktop */

@media (min-width: 601px) {
  .stories-v2 {
    padding: 44px 0 54px;
  }

  .stories-v2-container {
    padding-inline: 24px;
  }

  .stories-v2-header {
    grid-template-columns: 30px minmax(0, 1fr) 34px;
    margin-bottom: 24px;
  }

  .stories-v2-header h2 {
    font-size: 28px;
  }

  .stories-v2-featured {
    max-width: 720px;
  }

  .stories-v2-featured-info h3 {
    font-size: 18px;
  }

  .stories-v2-featured-info > a {
    font-size: 13px;
  }

  .stories-v2-filters {
    margin-inline: 0;
    padding-inline: 0;
    flex-wrap: wrap;
  }

  .stories-v2-filter {
    font-size: 13px;
    padding-inline: 17px;
  }

  .stories-v2-more {
    max-width: 720px;
  }

  .stories-v2-more > h3 {
    font-size: 20px;
  }

  .stories-v2-list li > a {
    grid-template-columns: 100px minmax(0, 1fr) auto;
    padding: 10px;
    gap: 13px;
  }

  .stories-v2-list li > a > img {
    width: 76px;
    height: 76px;
  }

  .stories-v2-info strong {
    font-size: 15px;
  }

  .stories-v2-info b {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stories-v2 *,
  .stories-v2 *::before,
  .stories-v2 *::after {
    transition: none !important;
  }
}


/* ================= TOPPERS REVIEWS ================= */


.tp-section{
  --blue:#0a93e0; --sky:#d4e7f5;
  --ink:#1f3b4f; --ink-soft:#4f6a7d;
  --card:#fff; --line:#d6e5f0;
  --shadow:0 6px 18px rgba(18,70,110,.10);
  --f-display:"Quicksand","Nunito",system-ui,sans-serif;
  --f-body:"Poppins","Segoe UI",system-ui,sans-serif;
  padding:32px 0;
  font-family:var(--f-body);
  color:var(--ink);
  text-align:center;                 /* everything centred */
}
.tp-section *{box-sizing:border-box}
.tp-wrap{max-width:1160px;margin:0 auto;padding:0 16px}

/* heading */
.tp-head{margin-bottom:22px;text-align:center}
.tp-eyebrow{display:block;font-size:.75rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--blue)}
.tp-head h2{font-family:var(--f-display);font-size:1.4rem;font-weight:700;line-height:1.2;color:var(--ink)}
.tp-brush{position:relative;display:inline-block;z-index:0;color:var(--ink)}
.tp-brush::before{content:"";position:absolute;inset:-6px -4px;background:url("assets/15-blue-brush-stroke.png") center/100% 100% no-repeat;z-index:-1}
.tp-all{display:inline-block;margin-top:10px;font-weight:600; /* color:var(--blue); */ text-decoration:none;white-space:nowrap}

/* side scroll (phone): first and last card also sit in the centre */
.tp-track{
  display:flex;gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding:0 calc((100vw - min(84vw, 360px)) / 2) 8px;
  margin:0 -16px;                    /* track runs edge to edge */
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.tp-track::-webkit-scrollbar{display:none}

.tp-card{
  flex:0 0 min(84vw, 360px);
  scroll-snap-align:center;
  display:flex;flex-direction:column;align-items:center;gap:12px;
  padding:18px;
  background:var(--card);
  /* border:1px solid #004166; */
  box-shadow:
    0 0 0 1px rgb(0 0 0 / 10%), 0 2px 5px rgba(0, 65, 102, 0.06), 3px 3px 0 rgb(0 0 0 / 8%);
  border-radius:14px;
  min-width:0;
  text-align:center;
}

/* ===== circle photo ===== */
.tp-photo-row{display:flex;align-items:center;justify-content:center;gap:6px}
.tp-laurel{width:30px;height:auto}
.tp-photo{
  width:68px;height:68px;
  border-radius:50%;
  overflow:hidden;
  border:3px solid var(--sky);
  background:var(--sky);
  flex:none;
  display:block;
}
.tp-photo img{width:100%;height:100%;object-fit:cover;display:block}

.tp-card h3{font-family:var(--f-display);font-size:1.1rem;font-weight:700;line-height:1.2;text-align:center;margin:0;color:var(--ink)}
.tp-card p{font-size:.9rem;color:var(--ink-soft);margin:0;text-align:center}

/* ===== CTA: white inside, gradient border, gradient text ===== */
.tp-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:auto;width:100%}

.tp-btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:170px;
  padding:10px 22px;
  border:2px solid transparent;
  border-radius:999px;
  background:linear-gradient(180deg, #14a0ec, #0a7fcf);
  color: #fff;
  font-family:var(--f-body);font-weight:600;font-size:.85rem;line-height:1.2;
  text-align:center;text-decoration:none;
  transition:transform .2s, box-shadow .2s;
}

/* gradient on the text (needs the inner span) */
.tp-btn-text{
  /* background:linear-gradient(90deg, #246bfd, #d72bef); */
  -webkit-background-clip:text;
  background-clip:text;
  /* -webkit-text-fill-color:transparent; */
  color:#fff;
}

.tp-btn:hover,
.tp-btn:focus-visible{
  transform:translateY(-2px);
  box-shadow:0 8px 18px -10px rgba(36,107,253,.55);
  outline:none;
}

/* designation under the name (WBJS 1st Rank / UPJS Topper) */
.tp-role{
  margin-top:-6px;
  font-size:.8rem;
  font-weight:600;
  color:var(--blue);
}

/* review paragraph */
.tp-card p.tp-quote{
  font-size:.9rem;
  line-height:1.6;
  /* font-style:italic; */
  color:var(--ink-soft);
}

/* tablet / desktop: 3 cards ek saath */
@media (min-width:900px){
  .tp-track{overflow:visible;margin:0;padding:0 0 8px}
  .tp-card{flex:1 1 0}
}

@media (prefers-reduced-motion:reduce){
  .tp-btn{transition:none}
  .tp-btn:hover{transform:none}
}


/* ================== Blog Css ================ */


/* =========================================
   EDZORB LAW BLOG HUB
   Mobile first | Independent blog section
   ========================================= */

.blog-hub {
  --blog-navy: #01324E;
  --blog-purple: #7A45E8;
  --blog-blue: #3678F5;
  --blog-line: #DFE5F0;
  --blog-surface: #F4F4FF;

  padding: 20px 0 36px;
  background: var(--blog-surface);
  color: #101C36;
  font-family: Lato, system-ui, sans-serif;
}

.blog-hub,
.blog-hub * {
  box-sizing: border-box;
}

.blog-wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Search row */
.blog-search-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.blog-back,
.blog-bookmark {
  flex: 0 0 auto;
  color: #32105D;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
}

.blog-search {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 12px 0 16px;
  border: 1px solid #D5D5E6;
  border-radius: 999px;
  background: #fff;
}

.blog-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--blog-navy);
  font: inherit;
  font-size: 14px;
}

.blog-search button {
  border: 0;
  background: transparent;
  color: #77778C;
  font-size: 27px;
  cursor: pointer;
}

/* Featured gradient banner */
.blog-feature {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 220px;
  overflow: hidden;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(120deg, #B52DEB 0%, #6354ED 52%, #347BF5 100%);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.blog-feature-content {
  position: relative;
  z-index: 2;
  width: 75%;
}

.blog-feature-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.88);
  color: #171638;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

.blog-feature-content p {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
}

.blog-feature-content h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 900;
}

.blog-feature > img {
  position: absolute;
  z-index: 1;
  right: -12px;
  bottom: 0;
  width: 44%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30%);
  mask-image: linear-gradient(to right, transparent, #000 30%);
}

/* Main article card */
.blog-article {
  text-align: center;
  position: relative;
  margin-top: 18px;
  padding: 20px 18px;
  border: 1px solid rgba(223,229,240,.8);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 25px -18px rgba(19,33,68,.38);
}

.blog-article-link {
  color: inherit;
  text-decoration: none;
}

.blog-article h2 {
  margin: 0 0 10px;
  color: var(--blog-navy);
  font-size: 25px;
  line-height: 1.22;
  font-weight: 900;
}

.blog-byline {
  margin: 0 0 16px;
  color: #666779;
  font-size: 12px;
  line-height: 1.7;
}

.blog-byline span {
  padding: 0 3px;
}

.blog-excerpt {
  margin: 0;
  color: #222431;
  font-size: 15px;
  line-height: 1.65;
}

.blog-quote {
  margin: 16px 0;
  padding: 6px 0 6px 12px;
  border-left: 4px solid #D9D8EA;
  border-radius: 3px;
  color: #161729;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 800;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tags a {
  padding: 6px 10px;
  border-radius: 999px;
  background: #EFEBFC;
  color: #33234F;
  font-size: 12px;
  text-decoration: none;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* Related blog cards */
.blog-related {
  margin-top: 28px;
}

.blog-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.blog-related-head h2 {
  margin: 0;
  color: #101C36;
  font-size: 19px;
  line-height: 1.3;
}

.blog-related-head > a {
  flex: 0 0 auto;
  color: #59318A;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

/* Horizontal swipe slider on mobile */

/* ===== Continuous Related Topper Blogs Carousel ===== */

.blog-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2px 0 14px;
}

.blog-marquee-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  animation: blog-marquee-scroll 32s linear infinite;
  will-change: transform;
}

/* Dono groups ki width same rahegi */
.blog-marquee-group {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 12px;
  padding-right: 12px;
}

/* Card width: phone par lagbhag 2 cards visible */
.blog-marquee .blog-mini-card {
  display: flex;
  flex: 0 0 72vw;
  flex-direction: column;
  width: 72vw;
  max-width: 280px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #DFE5F0;
  border-radius: 17px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: none;
}

.blog-marquee .blog-mini-card > img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
  object-position: center top;
  background: #E1EAF4;
}

.blog-marquee .blog-mini-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 12px;
}

.blog-marquee .blog-mini-body h3 {
  margin: 0 0 5px;
  color: #101C36;
  font-size: 16px;
  line-height: 1.35;
}

.blog-marquee .blog-mini-body p {
  margin: 0 0 10px;
  color: #666779;
  font-size: 12px;
}

.blog-marquee .blog-mini-body span {
  margin-top: auto;
  color: #7141C9;
  font-size: 12px;
  font-weight: 900;
}

/* Continuous, seamless loop */
@keyframes blog-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Hover/focus par animation pause */
.blog-marquee:hover .blog-marquee-track,
.blog-marquee:focus-within .blog-marquee-track {
  animation-play-state: paused;
}

/* Tablet */
@media (min-width: 601px) {
  .blog-marquee-group {
    gap: 16px;
    padding-right: 16px;
  }

  .blog-marquee .blog-mini-card {
    flex-basis: 250px;
    width: 250px;
    max-width: 250px;
  }

  .blog-marquee .blog-mini-card > img {
    height: 170px;
  }
}

/* Desktop */
@media (min-width: 960px) {
  .blog-marquee-track {
    animation-duration: 42s;
  }

  .blog-marquee .blog-mini-card {
    flex-basis: 260px;
    width: 260px;
    max-width: 260px;
  }

  .blog-marquee .blog-mini-card > img {
    height: 180px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .blog-marquee {
    overflow-x: auto;
  }

  .blog-marquee-track {
    animation: none;
    will-change: auto;
  }
}


.blog-mini-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 17px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  scroll-snap-align: start;
  box-shadow: 0 6px 18px -14px rgba(0,0,0,.35);
}

.blog-mini-card > img {
  display: block;
  width: 100%;
  height: 145px;
  object-fit: cover;
  object-position: center top;
  background: #E1EAF4;
}

.blog-mini-body {
  padding: 12px;
}

.blog-mini-body h3 {
  margin: 0 0 5px;
  font-size: 16px;
  line-height: 1.35;
  color: #101C36;
}

.blog-mini-body p {
  margin: 0 0 10px;
  color: #666779;
  font-size: 12px;
}

.blog-mini-body span {
  color: #7141C9;
  font-size: 12px;
  font-weight: 900;
}

/* Very small phones */
@media (max-width: 360px) {
  .blog-wrap {
    padding-inline: 12px;
  }

  .blog-feature {
    min-height: 205px;
    padding: 15px;
  }

  .blog-feature-content h3 {
    font-size: 18px;
  }

  .blog-article {
    padding: 17px 14px;
  }

  .blog-article h2 {
    font-size: 22px;
  }

  .blog-related-grid {
    grid-auto-columns: 82%;
  }
}

/* Tablet */
@media (min-width: 601px) {
  .blog-hub {
    padding: 32px 0 48px;
  }

  .blog-wrap {
    padding-inline: 24px;
  }

  .blog-feature {
    min-height: 300px;
    padding: 32px;
  }

  .blog-feature-content {
    width: 62%;
  }

  .blog-feature-content h3 {
    max-width: 500px;
    font-size: 32px;
  }

  .blog-feature-content p {
    font-size: 18px;
  }

  .blog-feature-label {
    font-size: 13px;
  }

  .blog-article {
    padding: 28px;
  }

  .blog-article h2 {
    font-size: 32px;
  }

  .blog-excerpt {
    font-size: 17px;
  }

  .blog-related-grid {
    grid-auto-columns: calc((100% - 24px) / 3);
    gap: 12px;
  }

  .blog-mini-card > img {
    height: 190px;
  }
}

/* Desktop */
@media (min-width: 960px) {
  .blog-wrap {
    padding-inline: 28px;
  }

  .blog-feature {
    min-height: 340px;
  }

  .blog-feature-content h3 {
    font-size: 38px;
  }

  .blog-article {
    margin-top: 24px;
  }

  .blog-related-grid {
    grid-auto-columns: calc((100% - 48px) / 4);
    gap: 16px;
  }

  .blog-mini-card > img {
    height: 180px;
  }

  .blog-mini-card {
    transition: transform .2s, box-shadow .2s;
  }

  .blog-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px -18px rgba(0,0,0,.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-mini-card {
    transition: none;
  }
}
