.posts {
  --text: #0f1a1f;
  --muted: #5b6676;
  --border: #e6eaef;
  --shadow: 0 10px 26px rgba(0,0,0,0.06);
  --thumb-border: rgba(0,0,0,0.14);
  --save: #8c98a8;
  --save-hover: #2f67d1;

  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: transparent;
}

.posts__inner {
  max-width: 1290px;
  margin: 0 auto;
  padding: 18px 20px 48px;
}

.posts__title {
  margin: 8px 0 26px;
  text-align: center;
  font-weight: 500;
  font-size: clamp(28px, 6.2vw, 56px);
  letter-spacing: .2px;
}

/* Grid: 2 columns on desktop, 1 on mobile */
.posts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

/* Card */
.posts__card {
 
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.posts__card:hover,
.posts__card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: #d9e2ec;
}

/* Thumbnail */
.posts__thumb {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #eef2f7;
  box-shadow: inset 0 0 0 2px var(--thumb-border);
}
.posts__thumb img {
  display: block;
  width: 100%;
  height: 180px;             /* uniform height like ss */
  object-fit: cover;
  transform: scale(1);
  transition: transform .25s ease;
}
.posts__card:hover .posts__thumb img { transform: scale(1.03); }

/* Content */
.posts__content {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
}

/* Title (bold + compact like screenshot) */
.posts__heading {
  margin: 0;
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
}
.posts__heading a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* truncate to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.posts__heading a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Excerpt (clean muted) */
.posts__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;      /* two lines like ss */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta row */
.posts__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

/* Read time (uppercase, tight tracking) */
.posts__time {
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .6px;
  color: #1f2937;
  text-transform: uppercase;
}

/* Save button */
.posts__save {
  appearance: none;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--save);
  width: 36px; height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center; justify-content: center;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .05s ease;
}
.posts__save:hover {
  color: var(--save-hover);
  border-color: #d7deea;
  background: #f6f9ff;
  box-shadow: 0 6px 20px rgba(47,103,209,0.12);
}
.posts__save:active { transform: scale(0.96); }
.posts__save:focus-visible {
  outline: 3px solid rgba(47,103,209,0.35);
  outline-offset: 2px;
  border-radius: 10px;
}
.posts__save svg { width: 18px; height: 18px; }

/* Responsive */
@media (max-width: 1200px) {
  .posts__card { grid-template-columns: 240px 1fr; }
  .posts__thumb img { height: 160px; }
}
@media (max-width: 980px) {
  .posts__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .posts__card {
    grid-template-columns: 1fr;
    align-items: start;
    padding: 14px;
  }
  .posts__thumb img { height: 200px; }
}

/*formulas cure*/
.ftc {
  --title: #0b1a13;
  --text: #1d2a22;
  --muted: #51635a;
  --tile-bg: #e7f4d9;
  --tile-border: #d3e7c3;
  --tile-shadow: 0 6px 22px rgba(0,0,0,0.06);
  --thumb-ring: #eef6e8;
  --cta: #2f8d2a;
  --cta-hover: #277a23;

  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: transparent;
}

.ftc__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.ftc__title {
  margin: 0 0 24px;
  text-align: center;
  font-weight: 500;
  font-size: clamp(32px, 5.2vw, 56px);
  color: var(--title);
  letter-spacing: .2px;
}

/* Grid: 3 columns desktop, 2 tablet, 1 mobile */
.ftc__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Base tile */
.ftc__card {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 18px;
    min-height: 104px;
    padding: 10px 22px;
  background: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}
.ftc__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--tile-shadow);
  background: #e4f2d5;
}

/* Round thumb */
.ftc__thumb {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 10px var(--thumb-ring), 0 4px 12px rgba(0,0,0,0.06);
  overflow: hidden;
}
.ftc__thumb img {
  width: 72px; height: 72px;
  object-fit: cover; border-radius: 50%;
}

/* Texts */
.ftc__heading {
  margin: 0 0 6px 0;
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 24px);
  color: var(--title);
}
.ftc__desc {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.5;
}

/* CTA tile (green) */
.ftc__cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 109px;
  padding: 8px 26px;
  background: var(--cta);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(47,141,42,0.18);
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.ftc__cta:hover {
  background: var(--cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(47,141,42,0.22);
}
.ftc__cta-label {
  font-weight: 600;
  font-size:1.4rem;
  text-align: center;
  justify-self: center;
}
.ftc__cta-ic {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--cta);
}

/* Focus states */
.ftc__card:focus-visible,
.ftc__cta:focus-visible {
  outline: 4px solid rgba(47,141,42,0.28);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 1024px) {
  .ftc__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .ftc__grid { grid-template-columns: 1fr; }
  .ftc__inner { padding: 28px 16px 44px; }
}
/*youtube*/
.videos {
  --text: #0e1a16;
  --muted: #36474a;
  --border: #e6eaef;
  --shadow: 0 10px 26px rgba(0,0,0,0.06);
  --bg: #ffffff;

  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: transparent;
}

.videos__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.videos__grid {
  display: grid;
  grid-template-columns: 280px 1fr 280px; /* left | center | right */
  gap: 24px;
  align-items: start;
}

/* Main (center) video */
.videos__main {
  display: grid;
  gap: 14px;
}
.videos__embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.videos__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.videos__title {
  margin: 0;
  color:#555555;
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
}

/* Side lists (left/right) */
.videos__side {
  display: grid;
  gap: 18px;
}
.videos__item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: center;
  padding: 8px;
  background: var(--bg);
  border-radius: 12px;
}
.videos__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}
.videos__thumb iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.videos__caption {
  margin: 0;
  font-weight: 650;
  font-size: 16px;
  line-height: 1.35;
  color: var(--text);
}
.videos__caption small {
  display: block;
  color: var(--muted);
  font-weight: 600;
  margin-top: 6px;
}

/* Responsive */
@media (max-width: 1140px) {
  .videos__grid {
    grid-template-columns: 1fr;      /* stack on smaller screens */
  }
  .videos__side {
    grid-template-columns: repeat(2, minmax(0,1fr)); /* 2 small per row */
  }
  .videos__item {
    grid-template-columns: 1fr;      /* thumb on top, text below */
  }
}
@media (max-width: 560px) {
  .videos__side { grid-template-columns: 1fr; } /* one per row on very small */
}
/*review*/
.reviews {
  --bg: #f6fbf2;
  --card: #ffffff;
  --ink: #0f1a13;
  --muted: #475b55;
  --accent: #2f8d2a;
  --accent-2: #277a23;
  --border: rgba(15,26,19,0.12);
  --star: #f5b301;

  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.reviews__inner {
  max-width: 1260px;
  margin: 0 auto;
  padding: 44px 20px 56px;
}

/* Header row: title + summary */
.reviews__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 22px;
  align-items: center;
  margin-bottom: 20px;
}
.reviews__title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(26px, 4.2vw, 42px);
  letter-spacing: .2px;
}
.reviews__summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.reviews__stars {
  display: inline-flex;
  gap: 4px;
  line-height: 0;
}
.reviews__star {
  width: 18px;
  height: 18px;
  color: var(--star);
}
.reviews__score {
  font-weight: 800;
}
.reviews__count {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
}
.reviews__cta {
  margin-left: auto;
  height: 44px;
  padding: 0 16px;
  background: var(--accent);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 10px 22px rgba(47,141,42,0.18);
  transition: background-color .2s ease, transform .05s ease;
}
.reviews__cta:hover { background: var(--accent-2); }
.reviews__cta:active { transform: translateY(1px); }

/* Cards grid */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;
  margin-top: 16px;
}
.reviews__card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform .15s ease, box-shadow .2s ease;
}
.reviews__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* Card header: avatar + name + badge + stars */
.reviews__row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviews__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e8f4e5;
  background: #e8f4e5;
}
.reviews__who {
  display: grid;
  gap: 2px;
}
.reviews__name {
  font-weight: 800;
  font-size: 15px;
}
.reviews__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.reviews__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  background: #e8f4e5;
  color: var(--accent-2);
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

/* Card body */
.reviews__text {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.55;
  font-size: 15px;
}

/* Footer strip */
.reviews__foot {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--border);
  padding-top: 14px;
  color: var(--muted);
  font-size: 13.5px;
}
.reviews__foot a {
  color: var(--accent-2);
  font-weight: 700;
  text-decoration: none;
}
.reviews__foot a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Responsive */
@media (max-width: 980px) {
  .reviews__head { grid-template-columns: 1fr; gap: 12px; }
  .reviews__summary { justify-content: flex-start; }
  .reviews__cta { margin-left: 0; }
  .reviews__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 580px) {
  .reviews__grid { grid-template-columns: 1fr; }
}
.preads {
  --ink: #0f1720;
  --muted: #36424b;
  --blue: #2f67d1;
  --blue-2: #2657b4;
  --card-bg: #eaf2ff;          /* light blue body */
  --card-border: #dde6f8;
  --shadow: 0 10px 28px rgba(0,0,0,0.12);
  --radius: 14px;

  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  padding: 26px 16px 52px;
}

.preads__wrap {
  max-width: 1260px;
  margin: 0 auto;
}

/* Title */
.preads__title {
  text-align: center;
  margin: 10px 0 22px;
  font-weight: 800;
  line-height: 1.1;
  font-size: clamp(28px, 6vw, 56px);
}

/* Filter pills */
.preads__filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}
.preads__pill {
  appearance: none;
  border: 2px solid var(--blue);
  background: #fff;
  color: var(--blue);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease, transform .02s ease;
}
.preads__pill:hover { border-color: var(--blue-2); color: var(--blue-2); }
.preads__pill:active { transform: translateY(1px); }
.preads__pill[aria-pressed="true"],
.preads__pill.is-active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 18px rgba(47,103,209,0.25);
}

/* Grid */
.preads__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* Card */
.preads__card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease;
}
.preads__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.15);
}
.preads__media {
  position: relative;
  aspect-ratio: 16 / 9; /* consistent height */
  background: #f3f6fb;
}
.preads__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Body */
.preads__body {
  background: var(--card-bg);
  padding: 18px 20px 20px;
}
.preads__title-sm {
  margin: 0 0 8px 0;
  font-weight: 800;
  line-height: 1.25;
  font-size: clamp(18px, 2.2vw, 28px);
  color: var(--ink);
}
.preads__excerpt {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* Hide utility for filtering */
.preads__card.is-hidden {
  display: none !important;
}

/* Responsive */
@media (max-width: 1100px) {
  .preads__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .preads { padding: 18px 12px 42px; }
  .preads__grid { grid-template-columns: 1fr; gap: 18px; }
}
/* Spotlight (4 cards in one row, 17rem each) */
/* Spotlight: 4 cards in one row, no scroll */
.pspot {
  --ink: #0f1720;
  --muted: #2f3a44;
  --border: rgba(0,0,0,0.08);
  --shadow: 0 12px 28px rgba(0,0,0,0.12);
  --shadow-hover: 0 16px 34px rgba(0,0,0,0.16);
  --radius: 14px;

  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  padding: 28px 16px 48px;
  background: transparent;
}

/* Max width tuned so each card ≈ 17rem at full size:
   4 * 17rem + 3 gaps (26px) = calc(68rem + 78px) */
.pspot__wrap {
  max-width: calc(68rem + 78px);
  margin: 0 auto;
}

/* Title */
.pspot__title {
  text-align: center;
  margin: 8px 0 22px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: .2px;
  font-size: clamp(26px, 5.4vw, 46px);
}

/* Always 4 columns, no wrap, no scroll */
.pspot__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important; /* 4 equal tracks */
  gap: 26px;
}

/* Card */
.pspot__card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  box-sizing: border-box; /* border inside */
}

/* Hover */
.pspot__card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0,0,0,0.12);
}

/* Poster ratio */
.pspot__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #f3f5f7;
}
.pspot__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Focus */
.pspot__card:focus-visible {
  outline: 3px solid rgba(47,103,209,0.35);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* No responsive column changes — 4 remain in one line */
@media (max-width: 560px) {
  .pspot { padding: 20px 12px 36px; }
  .pspot__grid { gap: 16px; }
}




/* Body */
.med-body {
  background: #f7f9fb;
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* Main container */
.med-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 45px;
}

/* Rows */
.med-row {
  display: flex;
  gap: 35px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Card */
.med-card {
  width: 580px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: flex-start;
  padding: 18px;
  box-sizing: border-box;
  transition: 0.3s ease;
}

/* Card Hover Slight Lift */
.med-card:hover {
  transform: translateY(-4px);
}

/* Image */
.med-img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px ;
  
  
  /* Hover transition */
  transition: transform 0.35s ease;
}

/* Image Hover Zoom Effect */
.med-card:hover .med-img {
  transform: scale(1.05);
}

/* Text content */
.med-content {
  margin-left: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

/* Topic Tag */
.med-topic {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  background: #e7effc;
  color: #0040b8;
}

/* Titles */
.med-title {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-bottom: 5px;
  line-height: 1.3;
}

/* Description */
.med-desc {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
  margin-bottom: 10px;
}

/* Read More Link */
.med-link {
  color: #0040b8;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
}

/* Arrow container */
.med-arrow-box {
  margin-left: 8px;
  margin-top: auto;
  width: 22px;
  height: 22px;
  border: 1.5px solid #a0b3e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Arrow shape */
.med-arrow {
  width: 8px;
  height: 12px;
  border: 1.6px solid #0040b8;
  border-radius: 1.5px;
  border-top: none;
}

/* -------------------------------------
      RESPONSIVE MEDIA QUERIES
-------------------------------------- */

/* Tablets (max 900px) */
@media (max-width: 900px) {
  .med-card {
    width: 90%;
  }

  .med-img {
    width: 180px;
    height: 110px;
  }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
  .med-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }

  .med-img {
    width: 100%;
    height: 150px;
    border-right: none;
    border-bottom: 3px solid #000; /* Mobile me bottom border better lagta */
    border-radius: 8px;
  }

  .med-content {
    margin-left: 0;
    margin-top: 12px;
  }

  .med-arrow-box {
    display: none; /* Mobile me unnecessary */
  }
}
 
    body.hakeem-obaidullah-page {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, "Helvetica Neue", Arial, sans-serif;
      color: #1f2a24;
      background: #f7faf8;
      line-height: 1.7;
    }

   

    /* All blocks */
    .qadimi-profile > div {
       font-family: "Poppins", sans-serif;
      background: #ffffff;
      border: 1px solid #e5ede8;
      border-radius: 10px;
      padding: 20px;
    }
    .qadimi-profile > div + div { margin-top: 16px; }

    /* Intro */
    .intro-healing-nature {
      background: #e7f1ea;
      border-color: #d3e3d8;
      padding: 32px 24px;
    }
    .intro-healing-nature .doctor-name {
      font-size: 28px;
      font-weight: 700;
      color: #204b33;
      margin-bottom: 6px;
    }
    .intro-healing-nature .doctor-tagline {
      font-size: 16px;
      color: #3a5f4a;
    }

    /* Legacy */
    .legacy-healing-nature .legacy-title,
    .education-experience .education-title,
    .specializations-area .specializations-title,
    .clinic-info .clinic-title,
    .healing-philosophy .philosophy-title,
    .achievements-recognition .achievements-title,
    .consult-doctor .consult-title,
    .consult-doctor .consult-options-title,
    .doctor-message .message-title {
      font-size: 20px;
      font-weight: 700;
      color: #204b33;
      margin-bottom: 10px;
    }
    .legacy-healing-nature .legacy-text,
    .education-experience .education-text,
    .clinic-info .clinic-name-line,
    .healing-philosophy .philosophy-intro,
    .consult-doctor .consult-intro,
    .consult-doctor .consult-note {
      margin-bottom: 12px;
      color: #1f2a24;
    }
    .legacy-healing-nature .legacy-quote,
    .healing-philosophy .philosophy-quote {
      border-left: 4px solid #7aa88c;
      padding-left: 12px;
      color: #2f463b;
      font-style: italic;
      margin: 10px 0;
    }
    .clinic-info .clinic-coverage-note {
      color: #6a7c71;
    }

    /* Education + Specializations layout */
    .edu-spec-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 16px;
    }
    @media (min-width: 800px) {
      .edu-spec-layout { grid-template-columns: 1fr 1fr; }
    }

    /* Lists (topic-specific) */
    .specialization-list .specialization-line,
    .philosophy-points .philosophy-point,
    .achievements-list .achievement-point,
    .consult-options .consult-option {
      position: relative;
      padding-left: 14px;
      margin: 6px 0;
    }
    .specialization-list .specialization-line::before,
    .philosophy-points .philosophy-point::before,
    .achievements-list .achievement-point::before,
    .consult-options .consult-option::before {
      content: "-";
      position: absolute;
      left: 0;
      color: #2e7d5b;
      font-weight: 700;
    }

    /* Actions */
    .consult-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 12px;
    }
    .consult-actions .action-book,
    .consult-actions .action-shop {
      background: #2e7d5b;
      color: #ffffff;
      padding: 10px 16px;
      border-radius: 8px;
      border: 1px solid #286e50;
      cursor: pointer;
      user-select: none;
    }
    .consult-actions .action-shop {
      background: #ffffff;
      color: #2e7d5b;
      border-color: #2e7d5b;
    }

    /* Footnote */
    .qadimi-dispensary-footnote {
      text-align: center;
      color: #5a6f63;
      font-size: 14px;
      padding: 16px 0;
    }
.hub {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: #F6F8FC;
  padding: 24px;
}

.hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hub__grid { grid-template-columns: 1fr 1fr; }
}

/* Item (card) */
.tile {
  display: grid;
  grid-template-columns: 260px 1fr;
  height: 200px;               /* fixed height */
  background: #FFFFFF;
  border: 1px solid #E6EAF2;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
  overflow: hidden;
}

@media (max-width: 520px) {
  .tile { grid-template-columns: 170px 1fr; }
}

.tile__media {
  position: relative;
  overflow: hidden;
  background: #DDE3EE;
  height: 100%;
}

.tile__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.tile__body {
  height: 93%;
  padding: 12px 16px;
  color: #1F2A44;
  display: grid;
  grid-template-rows: auto auto 1fr auto; /* badge, title, excerpt, actions */
  gap: 6px;
  overflow: hidden;
}

.badge {
  justify-self: start;      /* stop full-row stretch */
  display: inline-flex;     /* content-sized */
  width: max-content;       /* shrink to text */
  white-space: nowrap;      /* single line */
  padding: 6px 12px;        /* adjust if you want tighter */
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #2151F5;
  background: #E8F0FF;
}
.tile__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  color: #0F172A;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.tile__title:hover { color: #2148D5; }

.tile__excerpt {
  color: #4B5A75;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 2px;
}

.tile__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tile__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1E429F;
  font-weight: 700;
  text-decoration: none;
  padding: 4px 0;
}

.tile__link:hover { color: #153EDE; }

.tile__link-icon {
  display: inline-flex;
  transform: translateX(0);
  transition: transform 160ms ease;
}

.tile__link:hover .tile__link-icon { transform: translateX(3px); }

.tile__save {
  height: 34px;
  width: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #DFE5F0;
  cursor: pointer;
  transition: box-shadow 160ms ease, transform 80ms ease;
}

.tile__save:hover { box-shadow: 0 3px 10px rgba(28, 41, 61, 0.15); }
.tile__save:active { transform: scale(0.96); }
@media (min-width: 521px) and (max-width: 768px) {
  .tile {
    grid-template-columns: 200px 1fr;
    height: 190px;
  }

  .tile__title {
    font-size: 15px;
  }
}
  /* 
         * General setup for the page container.
         * We are styling the main container class instead of the 'body' tag.
         */
      .ayurvedic-articles-page {
        font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
          Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
          sans-serif;
        background-color: #f8f9fa;
        padding: 40px 20px;
        display: flex;
        justify-content: center;
      }

      /* 
         * The grid that holds all the article cards.
         * It's responsive: 2 columns on desktop, 1 on mobile.
         */
      .articles-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 1200px;
        width: 100%;
      }

      /* 
         * The main card component for each article.
         * Uses flexbox to align the image and content.
         */
      .article-card {
        background-color: #ffffff;
        border-radius: 16px;
        border: 1px solid #e9ecef;
        padding: 16px;
        display: flex;
        gap: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
      }

      .article-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
      }

      /* 
         * The image on the left side of the card.
         */
      .article-card-image-container {
        flex-shrink: 0; /* Prevents image from shrinking */
      }

      .article-card-image {
        width: 180px; /* Fixed width for the image */
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
      }

      /* 
         * The main content area on the right side.
         * Uses flexbox to structure the content vertically.
         */
      .article-card-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1; /* Allows this part to take up remaining space */
      }

      /*
         * The blue category tag (e.g., "Gastroenterology").
         */
      .article-category-tag {
        background-color: #2563eb;
        color: #ffffff;
        justify-self: start; /* stop full-row stretch */
        display: inline-flex; /* content-sized */
        width: max-content; /* shrink to text */
        white-space: nowrap; /* single line */
        padding: 6px 12px; /* adjust if you want tighter */
        border-radius: 10px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.2px;
      }

      /*
         * The main title of the article.
         */
      .article-title {
        font-size: 16px;
        font-weight: 500;
        color: #212529;
        margin: 0;
        line-height: 1.3;
        margin-top: 2PX;
      }

      /*
         * The short description text.
         * 'flex-grow' pushes the footer to the bottom.
         */
      .article-description {
        color: #6c757d;
        font-size: 15px;

        margin-top: 8px;
        flex-grow: 1; /* This is key to push the footer down */
      }

      /*
         * The footer containing the 'Read More' link and bookmark icon.
         */
      .article-card-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
       
      }

      /*
         * The 'Read More' link.
         */
      .article-read-more-link {
        color: #2563eb;
        text-decoration: none;
        font-weight: 600;
        font-size: 15px;
      }

      .article-read-more-link:hover {
        text-decoration: underline;
      }

      /*
         * The bookmark icon button on the right.
         */
      .article-bookmark-icon {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        border: 1px solid #dee2e6;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: background-color 0.2s;
      }

      .article-bookmark-icon:hover {
        background-color: #f1f3f5;
      }

      /*
         * SVG styling for the icon inside the bookmark button.
         */
      .bookmark-svg {
        width: 16px;
        height: 16px;
        fill: #6c757d;
      }

      /*
         * Media Query for responsiveness on smaller screens (tablets and mobile).
         */
      @media (max-width: 992px) {
        .articles-grid {
          grid-template-columns: 1fr; /* Stack cards in a single column */
        }
      }

      @media (max-width: 576px) {
        .article-card {
          flex-direction: column; /* Stack image on top of content */
        }
        .article-card-image {
          width: 100%;
          height: 180px; /* Give a fixed height for the image */
        }
      }
 .qadimi-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: "Poppins", sans-serif;
  }

  .qadimi-heading {
    text-align: center;
    margin-bottom: 20px;
	font-size: 28px;
	font-weight:500;
  }

  /* ===========================
        X–SCROLL ADDED HERE
     =========================== */
  .qadimi-grid {
    display: flex;
    gap: 22px;
    overflow-x: auto;        /*  Horizontal scroll */
    padding-bottom: 10px;
    scroll-;
  }

  .qadimi-grid::-webkit-scrollbar {
    height: 8px;
  }

  .qadimi-grid::-webkit-scrollbar-thumb {
    background: #1a4d2e;
    border-radius: 5px;
  }

  .qadimi-card {
    min-width: 280px;         /* Required for horizontal scroll */
    background: #ffffff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all .3s ease;
    border: 1px solid #eee;
  }

  .qadimi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
  }

  .qadimi-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1a4d2e;
  }

  .qadimi-card p,
  .qadimi-card li,
  .qadimi-card blockquote {
    font-size: 14px;
    line-height: 1.5;
    color: #444;
  }

  .qadimi-card blockquote {
    margin-top: 10px;
    padding-left: 12px;
    border-left: 3px solid #1a4d2e;
    font-style: italic;
  }

  .qadimi-card ul,
  .qadimi-card ol {
    margin: 10px 0 10px 18px;
  }

  address p {
    font-style: normal;
    margin-bottom: 8px;
    font-size: 14px;
  }
  /* ============================*/
.form-control {
  border-radius: 30px !important;
color:#555555 !important;
}
.form-label{
  color:#555555 !important;
}
.form-select{
 border-radius: 30px !important;
color:#555555 !important;
}
.form-select{
  color:#555555 !important;
}
#mw-element-1763530090733{border-radius: 21px;
    background: #F5F5F5;
    box-shadow: 0 0 6px 0 rgb(0 0 0 / .31);
}
.mw_form {    padding: 5px 47px;
}
#mw-element-1763638167153{width: 64rem;
    --display: flex;
    --min-height: 350px;
    --flex-direction: row;
    /* --container-widget-width: calc((1 - var(--container-widget-flex-grow)) * 100%); */
    --container-widget-height: 100%;
    --container-widget-flex-grow: 1;
    --container-widget-align-self: stretch;
    --flex-wrap-mobile: wrap;
    --justify-content: center;
    --align-items: center;
    --gap: 0px 0px;
    --row-gap: 0px;
    --column-gap: 0px;
    --overflow: hidden;
    border-style: solid;
    --border-style: solid;
    border-width: 2px 2px 2px 2px;
    --border-top-width: 2px;
    border-color: #DFFFC8;
    --border-color: #DFFFC8;
    /* --border-radius: 20px 20px 20px 20px; */
  box-shadow: 0 0 4px 0 rgb(0 0 0 / .32);}
  
.news-container {
  font-family: "Poppins", sans-serif;
  max-width: 1200px;
  margin: 30px auto;
  padding: 10px;
}

.news-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.article-box {
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  cursor: pointer;
  transition: transform .3s;
}

.article-box:hover {
  transform: translateY(-5px);
}

.article-img-area {
  position: relative;
  height: 284px;
  overflow: hidden;
}

.article-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(55%);
}

.article-tag {
  position: absolute;
  left: 12px;
  top: 12px;
  background: white;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
}

.article-heading-overlay {
  position: absolute;
  bottom: 25px;
  left: 20px;
  right: 20px;
  color: white;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
}

/* TEXT SECTION */
.article-info {
  padding: 18px;
}

.article-source {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 5px;
}

.article-source::after {
  content: " →";
}

.article-short-title {
  font-size: 17px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
}

.article-date {
  font-size: 13px;
  color: #666;
}

/* MEDIA QUERY */
@media (max-width: 769px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .article-img-area {
    height: 300px;
  }
}
.elementor-element-a8faa34{align-items: center;
    --container-widget-width: calc((1 - var(--container-widget-flex-grow)) * 100%);
    --gap: 10px 10px;
    --row-gap: 10px;
    --column-gap: 10px;
    border-style: solid;
    --border-style: solid;
    border-width: 1px 1px 1px 1px;
    --border-top-width: 1px;
    --border-right-width: 1px;
    --border-bottom-width: 1px;
    --border-left-width: 1px;
    border-color: #AFC8EE;
    --border-color: #AFC8EE;
    --border-radius: 10px 10px 10px 10px;
    --padding-top: 34px;
    --padding-bottom: 20px;
    --padding-left: 20px;
    --padding-right: 20px;
border-radius: 10px;
}

.popular-box {
  width: 100%;
  max-width: 380px;
  border: 1px solid #d7d7d7;
  padding: 18px;
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
}

.popular-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  border-left: 4px solid #506ece;
  padding-left: 8px;
}

.popular-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.popular-img {
  width: 110px;
  height: 80px;      /*  FIXED HEIGHT 80px */
  object-fit: cover;
  border-radius: 8px;
   border: 2px solid #cfcfcf;
}

.popular-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.3;}
/* Container */
.qd-modern-wrap {
  max-width: 1100px;
  margin: 26px auto;
  padding: 22px;
  font-family: "Poppins", sans-serif;
  color: #1f2937;
}

/* Header */
.qd-header {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.qd-title-wrap { flex: 1; }
.qd-title { font-size: 28px; margin: 0 0 6px; font-weight: 700; }
.qd-sub { margin: 0; color: #556170; font-size: 15px; }

/* CTA */
.qd-cta-group { display: flex; gap: 10px; align-items: center; }
.qd-cta {
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
}
.qd-cta-primary {
  background: linear-gradient(90deg,#127c32,#19a34e);
  color: #fff;
  box-shadow: 0 6px 16px rgba(25,163,78,0.12);
}
.qd-cta-ghost {
  background: transparent;
  color: #127c32;
  border-color: #dbeede;
}

/* Grid layout */
.qd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
  align-items: start;
}

/* Card */
.qd-card {
  /*display: flex;*/
  gap: 14px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #fbfffb);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(17,24,39,0.04);
  border-left: 4px solid rgba(0,0,0,0.04);
  transition: transform .22s ease, box-shadow .22s ease;
}
.qd-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(17,24,39,0.08); }

.qd-full { grid-column: 1 / -1; } /* full width card */

/* Icon column */
.qd-card-icon { flex: 0 0 48px; display:flex; align-items:flex-start; margin-top:6px; }
.qd-card-icon svg { display:block; }

/* Body */
.qd-card-body { flex: 1; }
.qd-card-title { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #0f1724; }
.qd-lead { margin: 0 0 8px; color:#374151; line-height:1.6; }
.qd-quote { margin: 8px 0 0; padding-left: 12px; border-left: 3px solid #c7d9c9; color:#334155; font-style: italic; }

/* Items */
.qd-items { display:block; margin-top:6px; }
.qd-compact .qd-item { display:flex; gap:12px; flex-direction:column; }
.qd-item { margin-bottom:8px; }
.qd-item h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color:#0f1724; }
.qd-item-desc { margin:0; color:#525c66; font-size: 14px; line-height:1.5; }

/* Meta and list */
.qd-meta { margin-top:10px; color:#334155; font-size:14px; }
.qd-list { margin:8px 0 0 18px; color:#475569; }

/* Footer note */
.qd-footer { margin-top: 18px; text-align:center; }
.qd-note { color:#374151; font-weight:600; }

/* Responsive — only 769px as requested */
@media (max-width: 769px) {
  .qd-grid { grid-template-columns: 1fr; }
  .qd-header { flex-direction: column; align-items: start; gap: 12px; }
  .qd-title { font-size: 22px; }
  .qd-cta-group { width: 100%; justify-content: flex-start; }
  .qd-card { padding: 14px; }
}

.doctor-wrap {
  font-family: "Poppins", sans-serif;
  max-width: 1300px;
  margin: 50px auto;
  padding: 10px;
}

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.doctor-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  padding: 25px 20px;
  text-align: center;
  transition: transform .3s ease;
}

.doctor-card:hover {
  transform: translateY(-5px);
}

.doctor-imgbox {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #d8e3ff;
  margin-bottom: 18px;
}

.doctor-imgbox img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.doctor-exp {
  font-size: 14px;
  color: #444;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 769px) {
  .doctor-grid {
    grid-template-columns: 1fr 1fr;
  }
  .doctor-imgbox {
    height: 220px;
  }
}

@media (max-width: 500px) {
  .doctor-grid {
    grid-template-columns: 1fr;
  }
}
.docbox-section {
  background: linear-gradient(180deg, #ffffff, #f8fffd);
  border-left: 4px solid #0c7a5a33;
}

.docbox-para {
  margin: 0 0 10px;
  font-size: 15px;
  color: #374151;
  line-height: 1.65;
  padding-left: 12px;
  border-left: 3px solid #d3eee6;
}

.docbox {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.docbox-icon {
  flex: 0 0 48px;
  margin-top: 6px;
}

.docbox-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}

/* Doctor degrees (inline badges) */
.doctor-degrees {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  padding: 0;
  list-style: none;
}

.degree-item {
  display: inline-block;
  background: #f3faf7;
  color: #214f35;
  border: 1px solid rgba(33,79,53,0.12);
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 6px;
  font-weight: 600;
}

/* Languages known block */
.docbox-languages {
  margin-top: 18px;
  padding: 12px 14px;
  background: #fbfffb;
  border-left: 4px solid #cfe9d9;
  border-radius: 8px;
}

.docbox-languages-title {
  font-weight: 700;
  color: #1f6b3e;
  margin-bottom: 6px;
  font-size: 14px;
}

.docbox-languages-list {
  font-size: 14px;
  color: #334;
  line-height: 1.5;
}
.doctor-box {
  padding: 40px 20px;
  background: #f4faf7;
  border-radius: 14px;
  border: 1px solid #dce7df;
  max-width: 800px;
  margin: 20px auto;
}

.doctor-inner {
  text-align: center;
}

.doctor-icon {
  margin-bottom: 15px;
}

.doctor-heading {
  font-size: 26px;
  font-weight: 700;
  color: #1d3b36;
  margin-bottom: 15px;
}

.doctor-para {
  font-size: 15px;
  line-height: 1.7;
  color: #374b46;
  margin-bottom: 18px;
  text-align: left;
}

 .wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
/* Intro Image */
.intro img {
  width: 300px;
  height: 300px;
  border-radius: 12px;
  object-fit: cover; /* preserves aspect ratio and crops excess */
  display: block;
  transition: transform 0.3s;
}