/* =========================================================
   SACRED MONTHS BLOG — STYLESHEET (v2, richer visual design)
   Fonts: Poppins (headings) / Roboto (body)
   Heading color: #163874  |  Body color: #000000
   Accent palette: gold, teal, burgundy — used on decorative
   elements only (badges, boxes, dividers) so the required
   heading/body colors stay exactly as specified.
   ========================================================= */

.sm-blog {
  --navy: #163874;
  --navy-deep: #0c2450;
  --navy-soft: #2a4d8f;
  --gold: #c9962f;
  --gold-light: #efc978;
  --teal: #0e6f6a;
  --teal-light: #d9efec;
  --burgundy: #7d2748;
  --burgundy-light: #f3e2e8;
  --cream: #fbf6ea;
  --line: #e6dcc4;
  --text: #000000;

  max-width: 1024px;
  margin: 0 auto;
  font-family: 'Roboto', Arial, sans-serif;
  color: var(--text);
  font-size: 17px;
  line-height: 1.85;
  box-sizing: border-box;
  background: #ffffff;
  padding: 0 32px;
  box-shadow: 0 0 31px 1px #6464641f;
}

.sm-blog * {
  box-sizing: border-box;
}

.sm-body {
  padding: 8px 26px 60px;
}

/* ---------- Hero ---------- */

.sm-hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, #1e4a91 0%, transparent 45%),
              radial-gradient(circle at 85% 80%, #0e6f6a 0%, transparent 40%),
              linear-gradient(135deg, #0c2450 0%, #163874 55%, #1c4a8f 100%);
  border-radius: 0 0 28px 28px;
  padding: 56px 30px 48px;
  text-align: center;
  overflow: hidden;
  margin-bottom: 8px;
}

.sm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.5) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.5) 0 1px, transparent 1px 26px);
  mix-blend-mode: overlay;
}

.sm-hero-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  margin: 0 auto 18px;
  color: var(--gold-light);
}

.sm-hero-icon svg {
  width: 100%;
  height: 100%;
}

.sm-hero h1 {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 33px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 14px;
  line-height: 1.32;
  text-shadow: 0 2px 14px rgba(0,0,0,0.25);
}

.sm-hero .sm-subtitle {
  position: relative;
  z-index: 1;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: italic;
  color: #e7edf8;
  font-size: 17px;
  margin: 0 auto;
  max-width: 480px;
}

.sm-hero-badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  padding: 7px 18px;
  border-radius: 30px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(239,201,120,0.55);
  color: var(--gold-light);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sm-hero-badge svg {
  width: 13px;
  height: 13px;
}

/* ---------- Headings ---------- */

.sm-blog h2 {
  font-family: 'Poppins', Arial, sans-serif;
  color: #163874;
  font-weight: 600;
  line-height: 1.35;
  font-size: 25px;
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sm-h2-badge {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(22,56,116,0.25);
}

.sm-h2-badge svg {
  width: 21px;
  height: 21px;
}

.sm-h2-badge.c-navy   { background: linear-gradient(135deg, #1c4a8f, #0c2450); }
.sm-h2-badge.c-gold   { background: linear-gradient(135deg, #dcac47, #a9791e); }
.sm-h2-badge.c-teal   { background: linear-gradient(135deg, #16948c, #0a4d49); }
.sm-h2-badge.c-burgundy { background: linear-gradient(135deg, #99385c, #5e1934); }

.sm-blog h2 span.sm-h2-text {
  border-bottom: 3px solid var(--gold-light);
  padding-bottom: 10px;
  flex: 1 1 auto;
}

.sm-blog h3 {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--navy);
  font-weight: 600;
  font-size: 18.5px;
  margin: 26px 0 12px;
}

/* ---------- Paragraphs & lists ---------- */

.sm-blog p {
  margin: 0 0 18px;
}

.sm-blog ul,
.sm-blog ol {
  margin: 0 0 20px;
  padding-left: 4px;
  list-style: none;
}

.sm-section ul li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 26px;
}

.sm-section ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.sm-blog li strong {
  color: var(--navy);
}

.sm-blog strong {
  font-weight: 600;
}

.sm-blog em {
  font-style: italic;
}

.sm-sallam {
  font-family: 'Noto Naskh Arabic', 'Amiri', 'Times New Roman', serif;
  font-style: normal;
  font-size: 1.05em;
  color: var(--navy);
  margin: 0 2px;
}

.sm-blog a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-light);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.sm-blog a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Section wrapper ---------- */

.sm-section {
  margin-bottom: 8px;
  padding: 34px 0 10px;
}

.sm-section.sm-tint {
  background: linear-gradient(180deg, #f8f4ea 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 34px 28px 26px;
  margin: 0 -8px 8px;
}

/* ---------- Decorative Islamic divider ---------- */

.sm-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0 40px;
  user-select: none;
}

.sm-divider .sm-divider-line {
  flex: 1 1 auto;
  height: 2px;
  max-width: 170px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-light) 45%, var(--gold-light) 55%, transparent);
}

.sm-divider .sm-divider-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fbf1da, #f3dfae);
  border: 1px solid var(--gold-light);
  color: var(--gold);
  box-shadow: 0 3px 8px rgba(201,150,47,0.25);
}

.sm-divider .sm-divider-icon svg {
  width: 19px;
  height: 19px;
}

/* ---------- Quote / Callout boxes ---------- */

.sm-callout {
  position: relative;
  border-radius: 14px;
  padding: 32px 32px 26px;
  margin: 28px 0;
  overflow: hidden;
  border: 1px solid var(--line);
}

.sm-callout::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 6px;
}

.sm-callout--quran {
  background: linear-gradient(160deg, var(--teal-light) 0%, #ffffff 55%);
  border-color: #bfe0dc;
}
.sm-callout--quran::before { background: linear-gradient(90deg, var(--teal), #4fb3ac); }

.sm-callout--hadith {
  background: linear-gradient(160deg, var(--cream) 0%, #ffffff 55%);
  border-color: var(--line);
}
.sm-callout--hadith::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.sm-callout--dua {
  background: linear-gradient(160deg, var(--burgundy-light) 0%, #ffffff 55%);
  border-color: #e6c9d3;
}
.sm-callout--dua::before { background: linear-gradient(90deg, var(--burgundy), #b06080); }

.sm-callout-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.sm-callout-icon span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.sm-callout--quran .sm-callout-icon span { background: linear-gradient(135deg, #16948c, #0a4d49); }
.sm-callout--hadith .sm-callout-icon span { background: linear-gradient(135deg, #dcac47, #a9791e); }
.sm-callout--dua .sm-callout-icon span { background: linear-gradient(135deg, #99385c, #5e1934); }

.sm-callout-icon svg {
  width: 21px;
  height: 21px;
  color: #ffffff;
}

.sm-callout blockquote {
  margin: 0;
  font-family: 'Poppins', Arial, sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 18.5px;
  color: var(--navy);
  text-align: center;
  line-height: 1.7;
}

.sm-callout cite {
  display: block;
  margin-top: 16px;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

.sm-callout--quran cite { color: var(--teal); }
.sm-callout--hadith cite { color: var(--gold); }
.sm-callout--dua cite { color: var(--burgundy); }

.sm-callout.sm-dua blockquote p {
  margin: 0 0 8px;
  color: var(--navy);
}

.sm-callout.sm-dua blockquote p:last-child {
  margin-bottom: 0;
  font-weight: 600;
}

/* Simple pull-note */
.sm-note {
  position: relative;
  text-align: center;
  font-family: 'Poppins', Arial, sans-serif;
  font-style: italic;
  font-weight: 500;
  color: var(--navy-soft);
  font-size: 18px;
  margin: 30px 0;
  padding: 6px 30px;
  line-height: 1.6;
}

.sm-note::before,
.sm-note::after {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 26px;
  position: absolute;
  font-style: normal;
}
.sm-note::before { content: "\201C"; left: 0; top: -2px; }
.sm-note::after { content: "\201D"; right: 0; bottom: -14px; }

/* ---------- Month cards grid ---------- */

.sm-month-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 30px;
}

.sm-month-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 20px 18px;
  box-shadow: 0 3px 10px rgba(22,56,116,0.06);
}

.sm-month-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  border-radius: 12px 12px 0 0;
}

.sm-month-card.mc-1::before { background: linear-gradient(90deg, #1c4a8f, #0c2450); }
.sm-month-card.mc-2::before { background: linear-gradient(90deg, #16948c, #0a4d49); }
.sm-month-card.mc-3::before { background: linear-gradient(90deg, #dcac47, #a9791e); }
.sm-month-card.mc-4::before { background: linear-gradient(90deg, #99385c, #5e1934); }

.sm-month-card .mc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  margin-bottom: 10px;
  color: #ffffff;
}

.sm-month-card.mc-1 .mc-icon { background: linear-gradient(135deg, #1c4a8f, #0c2450); }
.sm-month-card.mc-2 .mc-icon { background: linear-gradient(135deg, #16948c, #0a4d49); }
.sm-month-card.mc-3 .mc-icon { background: linear-gradient(135deg, #dcac47, #a9791e); }
.sm-month-card.mc-4 .mc-icon { background: linear-gradient(135deg, #99385c, #5e1934); }

.sm-month-card .mc-icon svg { width: 15px; height: 15px; }

.sm-month-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  color: var(--navy);
}

.sm-month-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #262626;
}

/* ---------- Key takeaways box ---------- */

.sm-takeaways {
  position: relative;
  background: linear-gradient(135deg, #0c2450 0%, #163874 55%, #0e6f6a 130%);
  border-radius: 16px;
  padding: 32px 32px 30px;
  margin: 32px 0;
  color: #ffffff;
  overflow: hidden;
}

.sm-takeaways::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,201,120,0.28), transparent 70%);
}

.sm-takeaways h3 {
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 19px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.sm-takeaways h3 svg {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.sm-takeaways ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  z-index: 1;
}

.sm-takeaways li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 13px;
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.sm-takeaways li:last-child {
  margin-bottom: 0;
}

.sm-takeaways li::before {
  content: "\2726";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-light);
  font-size: 14px;
}

/* ---------- How-to box ---------- */

.sm-howto {
  position: relative;
  background: linear-gradient(160deg, #fff 0%, var(--teal-light) 220%);
  border: 1px solid #cfe6e3;
  border-left: 5px solid var(--teal);
  border-radius: 12px;
  padding: 28px 28px 24px;
  margin: 26px 0;
}

.sm-howto h3 {
  margin-top: 0;
  color: var(--navy);
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.sm-howto h3 svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
}

.sm-howto ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.sm-howto li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 14px;
}

.sm-howto li:last-child {
  margin-bottom: 0;
}

.sm-howto li::before {
  content: "\263E";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--teal);
  font-size: 17px;
}

/* ---------- Image placeholder ---------- */

.sm-image-placeholder {
  position: relative;
  border-radius: 14px;
  background: linear-gradient(160deg, #eef3fb 0%, var(--cream) 100%);
  padding: 42px 24px;
  text-align: center;
  margin: 30px 0;
  overflow: hidden;
  border: 1px solid #e4dcc4;
}

.sm-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px dashed var(--gold-light);
  border-radius: 10px;
  pointer-events: none;
}

.sm-image-placeholder .ip-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c4a8f, #0e6f6a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  z-index: 1;
}

.sm-image-placeholder svg {
  width: 20px;
  height: 20px;
}

.sm-image-placeholder .sm-img-label {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 8px;
}

.sm-image-placeholder .sm-img-caption {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', Arial, sans-serif;
  font-style: italic;
  font-size: 15px;
  color: var(--navy-soft);
  max-width: 480px;
  margin: 6px auto 0;
  line-height: 1.6;
}

/* ---------- App CTA box ---------- */

.sm-cta {
  position: relative;
  background: radial-gradient(circle at 10% 15%, rgba(239,201,120,0.35), transparent 40%),
              linear-gradient(135deg, #0c2450 0%, #163874 60%, #0e6f6a 140%);
  border-radius: 20px;
  padding: 40px 32px;
  margin: 46px 0 34px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.sm-cta .sm-cta-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(239,201,120,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.sm-cta h3 {
  color: #ffffff;
  font-size: 22px;
  margin: 0 0 8px;
}

.sm-cta p.sm-cta-tag {
  font-style: italic;
  color: #dbe6f7;
  margin: 0 0 22px;
}

.sm-cta-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  max-width: 460px;
  margin: 0 auto 26px;
  text-align: left;
  list-style: none;
  padding: 0;
}

.sm-cta-features li {
  font-size: 14.5px;
  color: #f1f4fb;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 8px 10px;
}

.sm-cta-features li::before {
  content: "\2713";
  color: var(--gold-light);
  font-weight: 700;
  flex-shrink: 0;
}

.sm-cta-link {
  display: inline-block;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 600;
  color: #163874;
  background: linear-gradient(135deg, #f6dd9f, var(--gold-light));
  padding: 13px 34px;
  border-radius: 30px;
  text-decoration: none;
  border-bottom: none;
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.sm-cta-link:hover {
  color: #0c2450;
  filter: brightness(1.05);
}

.sm-cta-stores {
  font-size: 13.5px;
  color: #cfd9ec;
  letter-spacing: 0.02em;
}

/* ---------- Further reading ---------- */

.sm-further-reading ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sm-further-reading li {
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
}

.sm-further-reading li:first-child {
  border-top: 1px solid var(--line);
}

.sm-further-reading li::before {
  display: none;
}

.sm-further-reading a {
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 500;
  font-size: 15.5px;
  color: var(--navy);
  border-bottom: none;
  padding-left: 22px;
  position: relative;
}

.sm-further-reading a::before {
  content: "\263E";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.sm-further-reading a::after {
  content: " \2192";
  color: var(--gold);
}

.sm-further-reading a:hover {
  color: var(--gold);
}

/* ---------- References ---------- */

.sm-references {
  margin-top: 10px;
  padding-top: 26px;
}

.sm-references h4 {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--navy);
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 22px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sm-references h4::before {
  content: "";
  width: 16px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  display: inline-block;
}

.sm-references p {
  font-size: 14.5px;
  color: #444444;
  margin: 0 0 8px;
  line-height: 1.6;
  padding-left: 24px;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .sm-body {
    padding: 4px 18px 44px;
    font-size: 16px;
  }

  .sm-hero {
    padding: 44px 22px 38px;
    border-radius: 0 0 22px 22px;
  }

  .sm-hero h1 {
    font-size: 25px;
  }

  .sm-blog h2 {
    font-size: 21px;
    gap: 10px;
  }

  .sm-h2-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .sm-h2-badge svg { width: 18px; height: 18px; }

  .sm-month-grid {
    grid-template-columns: 1fr;
  }

  .sm-cta-features {
    grid-template-columns: 1fr;
  }

  .sm-callout {
    padding: 26px 20px 22px;
  }

  .sm-callout blockquote {
    font-size: 16.5px;
  }

  .sm-cta {
    padding: 32px 22px;
  }

  .sm-takeaways {
    padding: 26px 22px;
  }

  .sm-divider {
    margin: 14px 0 32px;
  }

  .sm-divider .sm-divider-line {
    max-width: 80px;
  }

  .sm-section.sm-tint {
    margin: 0 -4px 8px;
    padding: 28px 18px 20px;
  }
}





/* ===== ADDITIONS (prayer-times specific) ===== */

/* =========================================================
   PRAYER TIMES BLOG - ADDITIONAL CSS ONLY
   This file does NOT redefine or override anything in
   sacred-months-blog.css. It only adds new component
   classes (all prefixed "sm2-") used by the new blog post.
   Load this file AFTER sacred-months-blog.css.
   It reuses the color variables already declared on
   .sm-blog in the original stylesheet (--navy, --gold,
   --teal, --burgundy, --cream, --line, etc) so both posts
   stay visually consistent with zero duplication.
   ========================================================= */

/* ---------- Section kicker label ---------- */

.sm2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

.sm2-kicker .sm2-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.sm2-kicker.k-navy   { color: var(--navy); background: #eef2f9; }
.sm2-kicker.k-navy .sm2-kicker-dot { background: var(--navy); }

.sm2-kicker.k-gold   { color: #8a6417; background: var(--cream); }
.sm2-kicker.k-gold .sm2-kicker-dot { background: var(--gold); }

.sm2-kicker.k-teal   { color: var(--teal); background: var(--teal-light); }
.sm2-kicker.k-teal .sm2-kicker-dot { background: var(--teal); }

.sm2-kicker.k-burgundy { color: var(--burgundy); background: var(--burgundy-light); }
.sm2-kicker.k-burgundy .sm2-kicker-dot { background: var(--burgundy); }

/* ---------- Prayer icon grid (Fajr / Sunrise / Dhuhr / Asr / Maghrib / Isha) ---------- */

.sm2-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 26px 0 32px;
}

.sm2-icon-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 20px 22px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(22,56,116,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sm2-icon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(22,56,116,0.12);
}

.sm2-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(0,0,0,0.14);
}

.sm2-icon-circle svg {
  width: 30px;
  height: 30px;
}

/* Six themed gradients, one per prayer / marker */
.sm2-icon-circle.pt-fajr    { background: linear-gradient(135deg, #6a7fdb, #33448f); }
.sm2-icon-circle.pt-sunrise { background: linear-gradient(135deg, #f3b562, #d3852b); }
.sm2-icon-circle.pt-dhuhr   { background: linear-gradient(135deg, #4bb7e5, #1c6fa8); }
.sm2-icon-circle.pt-asr     { background: linear-gradient(135deg, #eec065, #c9962f); }
.sm2-icon-circle.pt-maghrib { background: linear-gradient(135deg, #e58a5c, #a9385c); }
.sm2-icon-circle.pt-isha    { background: linear-gradient(135deg, #2a4d8f, #0c2450); }

.sm2-icon-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--navy);
}

.sm2-icon-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

/* ---------- Calculation method chips ---------- */

.sm2-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.sm-section .sm2-chip-list li.sm2-chip::before {
  content: none;
}

.sm2-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cream);
  border: 1px solid var(--gold-light);
  color: var(--navy);
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 24px;
}

.sm2-chip svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ---------- Hanafi / Shafi'i comparison card ---------- */

.sm2-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin: 26px 0;
  box-shadow: 0 4px 14px rgba(22,56,116,0.06);
}

.sm2-compare-col {
  padding: 28px 24px;
  text-align: center;
  background: #ffffff;
}

.sm2-compare-col + .sm2-compare-col {
  border-left: 1px dashed var(--line);
  background: var(--cream);
}

.sm2-compare-label {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin-bottom: 10px;
}

.sm2-compare-stat {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.sm2-compare-stat span {
  font-size: 15px;
  font-weight: 500;
  color: #555555;
}

.sm2-compare-col p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #333333;
}

/* ---------- Live countdown mockup card ---------- */

.sm2-countdown {
  position: relative;
  background: linear-gradient(135deg, #0c2450 0%, #163874 55%, #0e6f6a 130%);
  border-radius: 18px;
  padding: 30px 28px;
  margin: 28px 0;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.sm2-countdown::before {
  content: "";
  position: absolute;
  left: -30px;
  bottom: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239,201,120,0.25), transparent 70%);
}

.sm2-countdown-label {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.sm2-countdown-prayer {
  position: relative;
  z-index: 1;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 14px;
}

.sm2-countdown-timer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.sm2-countdown-unit {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(239,201,120,0.4);
  border-radius: 10px;
  padding: 10px 16px;
  min-width: 64px;
}

.sm2-countdown-unit .num {
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.sm2-countdown-unit .lbl {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfd9ec;
  margin-top: 4px;
  display: block;
}

/* ---------- Real-life use case list ---------- */

.sm2-usecase-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.sm-section .sm2-usecase-list li.sm2-usecase::before {
  content: none;
}

.sm2-usecase {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 3px 10px rgba(22,56,116,0.05);
}

.sm2-usecase-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1c4a8f, #0c2450);
  color: #ffffff;
}

.sm2-usecase:nth-child(2) .sm2-usecase-icon { background: linear-gradient(135deg, #16948c, #0a4d49); }
.sm2-usecase:nth-child(3) .sm2-usecase-icon { background: linear-gradient(135deg, #dcac47, #a9791e); }
.sm2-usecase:nth-child(4) .sm2-usecase-icon { background: linear-gradient(135deg, #99385c, #5e1934); }
.sm2-usecase:nth-child(5) .sm2-usecase-icon { background: linear-gradient(135deg, #2a4d8f, #0c2450); }

.sm2-usecase-icon svg {
  width: 22px;
  height: 22px;
}

.sm2-usecase h3 {
  margin: 0 0 6px;
  font-size: 16.5px;
  color: var(--navy);
}

.sm2-usecase p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: #262626;
}

/* ---------- Numbered step list ---------- */

.sm2-steps {
  position: relative;
  margin: 24px 0 10px;
  padding: 0;
  list-style: none;
}

.sm2-steps::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-light), var(--line));
}

.sm2-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 26px;
}

.sm2-step:last-child {
  padding-bottom: 0;
}

.sm2-step-num {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c4a8f, #0c2450);
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(22,56,116,0.25);
}

.sm2-step-text {
  padding-top: 8px;
  font-size: 15.5px;
  line-height: 1.7;
}

.sm2-step-text strong {
  color: var(--navy);
}

/* ---------- Responsive ---------- */

@media (max-width: 780px) {
  .sm2-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sm2-icon-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .sm2-icon-card {
    padding: 20px 14px 18px;
  }

  .sm2-icon-circle {
    width: 54px;
    height: 54px;
  }

  .sm2-icon-circle svg {
    width: 25px;
    height: 25px;
  }

  .sm2-compare {
    grid-template-columns: 1fr;
  }

  .sm2-compare-col + .sm2-compare-col {
    border-left: none;
    border-top: 1px dashed var(--line);
  }

  .sm2-countdown-timer {
    gap: 8px;
  }

  .sm2-countdown-unit {
    min-width: 52px;
    padding: 8px 10px;
  }

  .sm2-countdown-unit .num {
    font-size: 21px;
  }

  .sm2-usecase {
    flex-direction: column;
    gap: 12px;
  }

  .sm2-step-text {
    font-size: 15px;
  }
}





  .blog-post-caption { background: #e0ebe0;}
  .mb-0 { margin-bottom: 0!Important;}
  .blog-post-caption span {padding: 3px 20px 13px; display: block; color: #213221;}
