/* ============================================================
   IMANI POST TEMPLATE — styles
   Brand: navy #353A46 · gold #c1a336 · sun #fdd329 · paper #f7f5ef
   Fonts: Kumbh Sans (headings) · Nunito (body)
   ============================================================ */

/* ---------------- HERO (baseball page standard) ---------------- */
.imani-post-hero {
  background-color: #353A46;
  background-size: cover;
  background-position: center center;
  color: #fff;
  padding: 100px 20px;
}
.imani-post-hero__inner {
  max-width: 1320px;
  margin: 0 auto;
}
.imani-post-hero__eyebrow {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 2.2px;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}
.imani-post-hero__title {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 6vw, 60px);
  line-height: 1.12;
  color: #fff;
  margin: 0 0 34px;
}
.imani-post-hero__row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.imani-post-hero__left {
  flex: 1 1 480px;
  max-width: 640px;
}
.imani-post-hero__excerpt {
  font-family: 'Nunito', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: #fff;
  margin: 0 0 22px;
}
.imani-post-hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.imani-pill {
  display: inline-block;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  padding: 13px 30px;
  color: #2A3341 !important;
  text-decoration: none !important;
  transition: transform 0.2s ease;
}
.imani-pill:hover { transform: scale(1.05); }
.imani-pill--yellow { background: #F9C22E; }
.imani-pill--white  { background: #ffffff; }

.imani-post-hero__stats {
  display: flex;
  flex-wrap: wrap;
  flex: 0 1 420px;
}
.imani-stat {
  flex: 1 1 180px;
  padding: 30px 28px;
}
.imani-stat b {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
}
.imani-stat span {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.2px;
}
.imani-stat--yellow { background: #fdd329; color: #353b46; }
.imani-stat--yellow b { color: #353b46; }
.imani-stat--navy { background: #353b46; }
.imani-stat--navy b { color: #fdd329; }
.imani-stat--navy span { color: #fff; }

/* ---------------- ARTICLE BODY ---------------- */
.imani-post-body {
  background: #fff;
}
.imani-post-body__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 70px 20px 60px;
}
.imani-post-body__inner p {
  font-family: 'Nunito', sans-serif;
  font-size: 16.5px;
  line-height: 1.9;
  color: #627580;
  margin: 0 0 16px;
}
.imani-post-body__inner > p:first-of-type {
  font-size: 19px;
  color: #353a46;
}
.imani-post-body__inner h2,
.imani-post-body__inner h3,
.imani-post-body__inner h4 {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  color: #353a46;
  line-height: 1.3;
  margin: 34px 0 14px;
}
.imani-post-body__inner h2 { font-size: 28px; }
.imani-post-body__inner h3 { font-size: 23px; }
.imani-post-body__inner h4 { font-size: 19px; }

.imani-post-body__inner a {
  color: #c1a336;
}

/* Quote block → navy pull-quote card */
.imani-post-body__inner blockquote {
  background: #353a46;
  border-left: 6px solid #fdd329;
  border-radius: 20px;
  padding: 36px 40px;
  margin: 30px 0;
  box-shadow: 0 16px 38px -12px rgba(53, 58, 70, 0.3);
}
.imani-post-body__inner blockquote::before {
  content: "\201C";
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 80px;
  line-height: 0.4;
  color: #fdd329;
  display: block;
  margin: 14px 0 22px;
}
.imani-post-body__inner blockquote p {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.55;
  color: #ffffff;
  margin: 0 0 12px;
}
.imani-post-body__inner blockquote cite,
.imani-post-body__inner blockquote p:last-child:not(:first-child) {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fdd329;
  font-style: normal;
}

/* Bullet lists → paper highlights card with gold checks */
.imani-post-body__inner ul:not(.wp-block-gallery):not(.blocks-gallery-grid) {
  background: #f7f5ef;
  border-radius: 20px;
  padding: 34px 38px;
  margin: 26px 0;
  list-style: none;
}
.imani-post-body__inner ul:not(.wp-block-gallery):not(.blocks-gallery-grid) li {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  line-height: 1.6;
  color: #353a46;
  padding-left: 32px;
  position: relative;
  margin-bottom: 14px;
}
.imani-post-body__inner ul:not(.wp-block-gallery):not(.blocks-gallery-grid) li:last-child {
  margin-bottom: 0;
}
.imani-post-body__inner ul:not(.wp-block-gallery):not(.blocks-gallery-grid) li::before {
  content: "\2714";
  color: #c1a336;
  font-weight: 700;
  position: absolute;
  left: 4px;
  top: 0;
}

/* Images & galleries */
.imani-post-body__inner img {
  border-radius: 14px;
  height: auto;
  max-width: 100%;
}
.imani-post-body__inner .wp-block-gallery {
  gap: 16px;
  margin: 26px 0;
}

/* ---------------- CTA BAND ---------------- */
.imani-post-cta {
  position: relative;
  background: #353A46;
  color: #fff;
  text-align: center;
  padding: 92px 20px 96px;
}
.imani-post-cta__curve {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  width: 100%;
  height: 54px;
  transform: rotate(180deg);
}
.imani-post-cta__eyebrow {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 3px;
  color: #fdd329;
}
.imani-post-cta h2 {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.25;
  color: #fff;
  margin: 14px 0;
}
.imani-post-cta p {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto 26px;
}
.imani-post-cta__btns {
  justify-content: center;
}

/* ---------------- MOBILE ---------------- */
@media (max-width: 767px) {
  .imani-post-hero { padding: 70px 20px; }
  .imani-post-body__inner { padding: 50px 20px 40px; }
  .imani-post-body__inner blockquote { padding: 26px 22px; }
  .imani-post-body__inner ul:not(.wp-block-gallery):not(.blocks-gallery-grid) { padding: 24px 22px; }
  .imani-post-body__inner h2 { font-size: 23px; }
}

/* ------------------------------------------------------------
   OPTIONAL: if your theme prints its own title banner /
   breadcrumb above our hero (a duplicate title), uncomment the
   matching line below (check the banner's class with right-click
   → Inspect) — or send me the class name and I'll confirm it.
------------------------------------------------------------ */
/*
.single-post .page-header { display: none; }
.single-post .breadcrumb-area { display: none; }
.single-post .page-title-area { display: none; }
*/

/* ============================================================
   v1.1 ADDITIONS — lean hero, sidebar, post navigation
   ============================================================ */

/* Hero: stats sit right under the title now */
.imani-post-hero__stats { margin-top: 6px; }

/* ---------------- ARTICLE + SIDEBAR LAYOUT ---------------- */
.imani-post-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 20px 60px;
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
  gap: 48px;
  align-items: start;
  background: #fff;
}
.imani-post-layout .imani-post-body__inner {
  max-width: none;
  padding: 0;
}

/* ---------------- SIDEBAR ---------------- */
.imani-post-sidebar {
  position: sticky;
  top: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.imani-side-card {
  background: #f7f5ef;
  border-radius: 18px;
  padding: 26px 26px 28px;
}
.imani-side-card__title {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: #353a46;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #fdd329;
  display: inline-block;
}

/* Search */
.imani-side-search {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  border: 1.5px solid #e6e1d3;
  background: #fff;
}
.imani-side-search input {
  flex: 1;
  border: 0;
  padding: 12px 18px;
  font-family: 'Nunito', sans-serif;
  font-size: 14.5px;
  color: #353a46;
  outline: none;
  min-width: 0;
  background: transparent;
}
.imani-side-search button {
  border: 0;
  background: #F9C22E;
  color: #2A3341;
  font-size: 16px;
  padding: 0 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.imani-side-search button:hover { background: #c1a336; color: #fff; }

/* Categories */
.imani-side-cats { list-style: none; margin: 0; padding: 0; }
.imani-side-cats li {
  margin: 0 0 6px;
}
.imani-side-cats li a {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #353a46 !important;
  text-decoration: none !important;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  transition: background 0.2s, color 0.2s;
}
.imani-side-cats li a:hover { background: #353a46; color: #fdd329 !important; }
.imani-side-cats li { position: relative; }
.imani-side-cats li a::before { content: "\203A\00a0"; color: #c1a336; font-weight: 700; }

/* Recent posts */
.imani-side-recent { list-style: none; margin: 0; padding: 0; }
.imani-side-recent li { margin: 0 0 16px; }
.imani-side-recent li:last-child { margin-bottom: 0; }
.imani-side-recent a {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none !important;
}
.imani-side-recent img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}
.imani-side-recent b {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.35;
  color: #353a46;
}
.imani-side-recent a:hover b { color: #c1a336; }
.imani-side-recent em {
  font-family: 'Nunito', sans-serif;
  font-style: normal;
  font-size: 12.5px;
  color: #627580;
}

/* ---------------- PREV / NEXT NAVIGATION ---------------- */
.imani-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 50px;
  padding-top: 34px;
  border-top: 1.5px solid #ece7da;
}
.imani-post-nav__card {
  display: block;
  background: #f7f5ef;
  border-radius: 16px;
  padding: 22px 26px;
  text-decoration: none !important;
  transition: background 0.2s;
}
.imani-post-nav__card:hover { background: #353a46; }
.imani-post-nav__card--next { text-align: right; }
.imani-post-nav__label {
  display: block;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #c1a336;
  margin-bottom: 8px;
}
.imani-post-nav__title {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
  color: #353a46;
}
.imani-post-nav__card:hover .imani-post-nav__title { color: #fff; }
.imani-post-nav__card:hover .imani-post-nav__label { color: #fdd329; }
.imani-post-nav__spacer { display: block; }

/* ---------------- MOBILE ---------------- */
@media (max-width: 900px) {
  .imani-post-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 20px 40px;
  }
  .imani-post-sidebar { position: static; }
  .imani-post-nav { grid-template-columns: 1fr; }
  .imani-post-nav__card--next { text-align: left; }
}

/* ============================================================
   v1.3 ADDITIONS — tags, share, comments, archives
   ============================================================ */

/* ---------------- TAGS + SHARE ROW ---------------- */
.imani-post-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1.5px solid #ece7da;
}
.imani-post-meta__label {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #353a46;
  margin-right: 6px;
}
.imani-post-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.imani-post-tags a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #353a46 !important;
  text-decoration: none !important;
  background: #f7f5ef;
  border: 1px solid #ece7da;
  border-radius: 999px;
  padding: 6px 14px;
  transition: background 0.2s, color 0.2s;
}
.imani-post-tags a:hover { background: #353a46; color: #fdd329 !important; }
.imani-post-share {
  display: flex;
  align-items: center;
  gap: 10px;
}
.imani-post-share a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #353a46;
  color: #fdd329 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}
.imani-post-share a:hover { background: #F9C22E; color: #2A3341 !important; }

/* ---------------- COMMENTS ---------------- */
.imani-post-comments {
  margin-top: 50px;
  padding-top: 34px;
  border-top: 1.5px solid #ece7da;
}
.imani-post-comments h2,
.imani-post-comments h3,
.imani-post-comments .comment-reply-title,
.imani-post-comments .comments-title {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 700;
  color: #353a46;
  font-size: 24px;
}
.imani-post-comments p,
.imani-post-comments label,
.imani-post-comments .logged-in-as {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: #627580;
}
.imani-post-comments a { color: #c1a336; }
.imani-post-comments input[type="text"],
.imani-post-comments input[type="email"],
.imani-post-comments input[type="url"],
.imani-post-comments textarea {
  width: 100%;
  border: 1.5px solid #ece7da;
  background: #f7f5ef;
  border-radius: 12px;
  padding: 13px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: #353a46;
  outline: none;
}
.imani-post-comments input:focus,
.imani-post-comments textarea:focus {
  border-color: #F9C22E;
}
.imani-post-comments input[type="submit"],
.imani-post-comments .submit {
  background: #F9C22E !important;
  color: #2A3341 !important;
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 700;
  font-size: 15px;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 14px 38px !important;
  cursor: pointer;
  transition: background 0.2s;
}
.imani-post-comments input[type="submit"]:hover,
.imani-post-comments .submit:hover { background: #c1a336 !important; color: #fff !important; }

/* Existing comments list */
.imani-post-comments .comment-list,
.imani-post-comments ol.commentlist {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}
.imani-post-comments .comment-list li,
.imani-post-comments ol.commentlist li {
  background: #f7f5ef;
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.imani-post-comments .comment-list .children {
  list-style: none;
  margin: 14px 0 0;
  padding-left: 20px;
}

/* ---------------- ARCHIVES (sidebar) ---------------- */
.imani-side-archives li a::before { content: "\1F4C5\00a0\00a0"; font-size: 12px; }

/* ---------------- MOBILE ---------------- */
@media (max-width: 600px) {
  .imani-post-meta { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   v1.4 ADDITIONS — modern pass: lighter hero, compact chips,
   reading time, gallery slider
   ============================================================ */

/* ---------------- HERO refresh ---------------- */
.imani-post-hero {
  /* favor the upper part of photos (faces are usually up there) */
  background-position: center 22% !important;
  padding: 90px 20px;
}
.imani-post-hero__title {
  /* lighter 0.5 overlay needs a touch of shadow for legibility */
  text-shadow: 0 2px 22px rgba(42, 47, 58, 0.55);
  margin-bottom: 26px;
}
.imani-post-hero__eyebrow {
  text-shadow: 0 1px 12px rgba(42, 47, 58, 0.6);
}

/* Compact meta chips (replace the big stat blocks) */
.imani-post-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.imani-chip {
  display: flex;
  flex-direction: column;
  gap: 1px;
  border-radius: 14px;
  padding: 9px 18px;
  backdrop-filter: blur(2px);
}
.imani-chip span {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: 0.75;
}
.imani-chip b {
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
}
.imani-chip--yellow { background: #fdd329; color: #353b46; }
.imani-chip--slate  { background: #78949F; color: #ffffff; }
.imani-chip--ghost  {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

/* ---------------- GALLERY SLIDER ---------------- */
.imani-slider {
  position: relative;
  margin: 34px 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 44px -14px rgba(53, 58, 70, 0.35);
  background: #353a46;
}
.imani-slider__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.imani-slider__track::-webkit-scrollbar { display: none; }
.imani-slider__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  aspect-ratio: 16 / 9;
}
.imani-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* favor the upper part here too */
  border-radius: 0 !important;
  display: block;
}
.imani-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #F9C22E;
  color: #2A3341;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s, opacity 0.2s;
  z-index: 2;
}
.imani-slider__arrow:hover { transform: translateY(-50%) scale(1.08); }
.imani-slider__arrow--prev { left: 16px; }
.imani-slider__arrow--next { right: 16px; }
.imani-slider__arrow.is-disabled { opacity: 0.35; pointer-events: none; }

.imani-slider__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.imani-slider__dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.imani-slider__dots button.is-active {
  background: #fdd329;
  width: 24px;
  border-radius: 6px;
}
.imani-slider__counter {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(42, 47, 58, 0.7);
  color: #fff;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 5px 14px;
  z-index: 2;
  backdrop-filter: blur(3px);
}

@media (max-width: 600px) {
  .imani-post-hero { padding: 64px 20px; }
  .imani-slider__slide { aspect-ratio: 4 / 3; }
  .imani-slider__arrow { width: 38px; height: 38px; }
}

/* ============================================================
   v1.5 FIXES — white eyebrow, smaller solid meta blocks,
   bulletproof quote colors, centered comment button
   ============================================================ */

/* 1. Eyebrow in pure white */
.imani-post-hero__eyebrow {
  color: #ffffff !important;
}

/* 2. Meta blocks: back to the first (solid, flush) design — just smaller */
.imani-post-chips {
  gap: 0;
}
.imani-chip {
  border-radius: 0;
  padding: 13px 22px;
  backdrop-filter: none;
  gap: 2px;
}
.imani-chip span {
  font-size: 10px;
  letter-spacing: 1.4px;
  opacity: 0.8;
}
.imani-chip b {
  font-size: 16px;
}
.imani-chip--yellow { background: #fdd329; color: #353b46; }
.imani-chip--slate  { background: #78949F; color: #ffffff; }
.imani-chip--ghost {
  background: #353b46;
  border: 0;
  color: #ffffff;
}
.imani-chip--ghost b { color: #fdd329; }

/* 3. Quote: force our colors over any theme rules so text always shows,
      and render the words as a heading */
.imani-post-body__inner blockquote,
.imani-post-body__inner .wp-block-quote,
.imani-post-body__inner blockquote.wp-block-quote.is-layout-flow {
  background: #353a46 !important;
  border-left: 6px solid #fdd329 !important;
  border-right: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  quotes: none;
}
.imani-post-body__inner blockquote::after { content: none !important; }
.imani-post-body__inner blockquote p,
.imani-post-body__inner .wp-block-quote p {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 22px !important;
  line-height: 1.55 !important;
  color: #ffffff !important;
  background: transparent !important;
  opacity: 1 !important;
  margin: 0 0 12px !important;
}
.imani-post-body__inner blockquote cite,
.imani-post-body__inner .wp-block-quote cite,
.imani-post-body__inner blockquote footer {
  font-family: 'Kumbh Sans', sans-serif !important;
  font-weight: 600 !important;
  font-size: 12.5px !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  color: #fdd329 !important;
  font-style: normal !important;
  opacity: 1 !important;
  display: block;
}

/* 4. Comment submit: text dead-centre regardless of theme button rules */
.imani-post-comments input[type="submit"],
.imani-post-comments button[type="submit"],
.imani-post-comments .submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  height: auto !important;
  width: auto !important;
  min-height: 0 !important;
}

/* ============================================================
   v1.6 — filmstrip gallery (replaces the v1.4 slider)
   ============================================================ */
.imani-gallery { margin: 34px 0; }
.imani-gallery__stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #353a46;
  box-shadow: 0 18px 44px -14px rgba(53, 58, 70, 0.35);
}
.imani-gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.imani-gallery__track::-webkit-scrollbar { display: none; }
.imani-gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  margin: 0;
  aspect-ratio: 16 / 9;
  position: relative;
}
.imani-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border-radius: 0 !important;
}
.imani-gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 38px 24px 16px;
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  background: linear-gradient(transparent, rgba(42, 47, 58, 0.85));
}
.imani-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #2A3341;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: all 0.15s;
  z-index: 2;
  opacity: 0;
}
.imani-gallery__stage:hover .imani-gallery__arrow { opacity: 1; }
.imani-gallery__arrow:hover { background: #F9C22E; transform: translateY(-50%) scale(1.08); }
.imani-gallery__arrow--prev { left: 14px; }
.imani-gallery__arrow--next { right: 14px; }
.imani-gallery__arrow.is-disabled { opacity: 0 !important; pointer-events: none; }

.imani-gallery__hint {
  position: absolute;
  top: 14px; left: 16px;
  background: rgba(42, 47, 58, 0.72);
  color: #fdd329;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  border-radius: 999px;
  padding: 5px 14px;
  z-index: 2;
  backdrop-filter: blur(3px);
}
.imani-gallery__counter {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(42, 47, 58, 0.72);
  color: #fff;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 5px 14px;
  z-index: 2;
  backdrop-filter: blur(3px);
}

/* filmstrip */
.imani-gallery__thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: none;
}
.imani-gallery__thumbs::-webkit-scrollbar { display: none; }
.imani-gallery__thumbs button {
  flex: 0 0 92px;
  height: 64px;
  border: 2.5px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: none;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}
.imani-gallery__thumbs button img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
}
.imani-gallery__thumbs button:hover { opacity: 0.85; }
.imani-gallery__thumbs button.is-active {
  border-color: #F9C22E;
  opacity: 1;
  transform: translateY(-2px);
}

/* progress bar */
.imani-gallery__bar {
  height: 3.5px;
  background: #ece7da;
  border-radius: 99px;
  margin-top: 2px;
  overflow: hidden;
}
.imani-gallery__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #c1a336;
  border-radius: 99px;
  transition: width 0.35s ease;
}

@media (max-width: 600px) {
  .imani-gallery__slide { aspect-ratio: 4 / 3; }
  .imani-gallery__arrow { opacity: 1; }
  .imani-gallery__thumbs button { flex-basis: 74px; height: 52px; }
}

/* ============================================================
   v2.3 — LIGHTBOX (click any post photo to view fullscreen,
   arrow/swipe through all photos and videos)
   ============================================================ */
.imani-lb-clickable { cursor: zoom-in; }

.imani-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}
.imani-lightbox.is-open { display: flex; }
.imani-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 24, 30, 0.94);
  backdrop-filter: blur(4px);
}
.imani-lightbox__stage {
  position: relative;
  z-index: 2;
  max-width: min(1100px, 90vw);
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.imani-lightbox__stage img,
.imani-lightbox__stage video {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: block;
}
.imani-lightbox__stage iframe {
  width: min(1100px, 90vw);
  height: min(62vh, calc(min(1100px, 90vw) * 0.5625));
  border: 0;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.imani-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: #F9C22E;
  color: #2A3341;
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s;
}
.imani-lightbox__arrow:hover { transform: translateY(-50%) scale(1.1); }
.imani-lightbox__arrow--prev { left: 24px; }
.imani-lightbox__arrow--next { right: 24px; }
.imani-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.2s;
}
.imani-lightbox__close:hover { background: #F9C22E; color: #2A3341; }
.imani-lightbox__counter {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-family: 'Kumbh Sans', sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 1.5px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 6px 18px;
}
.imani-lightbox__caption {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  max-width: min(800px, 84vw);
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Nunito', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  background: rgba(21, 24, 30, 0.6);
  border-radius: 12px;
  padding: 8px 18px;
}
@media (max-width: 600px) {
  .imani-lightbox__arrow { width: 42px; height: 42px; }
  .imani-lightbox__arrow--prev { left: 10px; }
  .imani-lightbox__arrow--next { right: 10px; }
}
