/* =========================================================
   Shri Someshwar Mahadev Temple - About page (section 1)
   Load AFTER css/style.css. All classes are prefixed "ab-"
   so nothing collides with the home page styles.
   ========================================================= */

:root {
  --ab-maroon: #7d1d0e;
  --ab-maroon-soft: #8f2a14;
  --ab-saffron: #ee7a14;
  --ab-gold: #e3a92f;
  --ab-gold-line: #ecc77c;
  --ab-paper: #fff6e6;
  --ab-paper-2: #fdecd0;
  --ab-ink: #3e2a1e;
  --ab-serif-en: "Poppins", "Mukta", sans-serif;
}


/* ---------- shared ornament pieces ---------- */
.ab-ico {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ab-rule {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ab-gold);
}
.ab-rule::before,
.ab-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--ab-gold-line));
}
.ab-rule::after {
  background: linear-gradient(270deg, transparent, var(--ab-gold-line));
}
.ab-rule svg {
  width: 26px;
  height: 18px;
  flex: none;
  fill: currentColor;
}

/* =========================================================
   HERO
   ========================================================= */
.ab-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: var(--vh-nav-h, 78px);
  background: var(--ab-paper);
}

/* photo sits on the right and fades into the paper on the left.
   First image wins; if about-hero.jpg is missing the second shows. */
.ab-hero-photo {
  position: absolute;
  inset: var(--vh-nav-h, 78px) 0 0 0;
  z-index: -2;
  background-image: url("../images/hero-banner.jpg"),
    linear-gradient(135deg, #ffe3b8, #f5a04a);
  background-size: cover;
  background-position: 70% center;
}
.ab-hero-photo-hitory {
  background-image: url("../images/history-banner.jpg"),
    linear-gradient(135deg, #ffe3b8, #f5a04a);
}
.ab-hero-photo-gallery {
  background-image: url("../images/gallery-banner.jpg"),
    linear-gradient(135deg, #ffe3b8, #f5a04a);
}
.ab-hero-fade {
  position: absolute;
  inset: var(--vh-nav-h, 78px) 0 0 0;
  z-index: -1;
  background:
    linear-gradient(
      90deg,
      var(--ab-paper) 0%,
      rgba(255, 246, 230, 0.94) 26%,
      rgba(255, 246, 230, 0.55) 44%,
      rgba(255, 246, 230, 0) 64%
    ),
    linear-gradient(
      180deg,
      rgba(255, 246, 230, 0.35),
      rgba(255, 246, 230, 0) 30%
    );
}

.ab-hero-inner {
  position: relative;
  padding-top: clamp(2.2rem, 5vw, 4.4rem);
  padding-bottom: clamp(2.2rem, 5vw, 4.4rem);
}
.ab-hero-copy {
  max-width: 600px;
  padding-left: clamp(0rem, 3vw, 3.4rem);
}

.ab-h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 3rem);
  line-height: 1;
  color: var(--ab-maroon);
  letter-spacing: -0.005em;
}
.ab-h1-sub {
  margin: 0.45rem 0 0;
  font-family: var(--ab-serif-en);
  font-size: clamp(1.1rem, 2vw, 1.55rem);
  font-weight: 500;
  color: var(--ab-maroon-soft);
}
.ab-hero .ab-rule {
  max-width: 540px;
  margin: 1.25rem 0 1.5rem;
}
.ab-tagline {
  margin: 0 0 0.35rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  color: var(--ab-saffron);
}
.ab-lede {
  margin: 0;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 500;
  color: var(--ab-ink);
}

.ab-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ab-maroon-soft);
}
.ab-crumbs a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}
.ab-crumbs a:hover,
.ab-crumbs a:focus-visible {
  color: var(--ab-saffron);
}
.ab-crumbs .bi-house-door-fill {
  font-size: 1.05rem;
}
.ab-crumbs .sep {
  color: var(--ab-gold);
  font-size: 0.8rem;
}
.ab-crumbs [aria-current="page"] {
  color: var(--ab-ink);
}

/* decorative corner art */
.ab-deco {
  position: absolute;
  pointer-events: none;
  color: var(--ab-saffron);
}
.ab-deco-tri {
  left: clamp(0.6rem, 2vw, 2rem);
  top: 1.4rem;
  width: 54px;
  height: 250px;
  fill: currentColor;
  stroke: none;
  opacity: 0.95;
}
.ab-deco-temple {
  left: 0;
  bottom: 5.2rem;
  width: clamp(90px, 11vw, 150px);
  color: var(--ab-gold);
  opacity: 0.55;
}
.ab-om-badge {
  position: absolute;
  right: clamp(0.8rem, 2vw, 2rem);
  bottom: 4.2rem;
  display: grid;
  place-items: center;
  width: clamp(54px, 6vw, 84px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 244, 218, 0.82);
  border: 1.5px solid var(--ab-gold);
  color: var(--ab-saffron);
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1;
  box-shadow: 0 6px 18px rgba(184, 74, 5, 0.2);
}

/* the orange wave along the bottom edge */
.ab-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(54px, 7vw, 96px);
  display: block;
}
.ab-wave-lotus {
  position: absolute;
  left: 50%;
  bottom: clamp(10px, 1.6vw, 22px);
  width: 40px;
  height: 26px;
  transform: translateX(-50%);
  color: #fff;
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(184, 74, 5, 0.35));
}

/* =========================================================
   TEMPLE AT A GLANCE
   ========================================================= */
.ab-glance {
  position: relative;
  padding: clamp(2.2rem, 5vw, 3.6rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 40% at 50% 0%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%),
    var(--ab-paper);
}
.ab-glance-wrap {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
}

.ab-glance-head {
  text-align: center;
}
.ab-glance-mark {
  width: 30px;
  margin: 0 auto 0.2rem;
  color: var(--ab-saffron);
}
.ab-glance-mark svg {
  display: block;
  width: 100%;
  height: 48px;
  fill: currentColor;
}
.ab-h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.2;
  color: var(--ab-maroon);
}
.ab-h2-sub {
  margin: 0.2rem 0 0;
  font-family: var(--ab-serif-en);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ab-maroon-soft);
}
.ab-glance-head .ab-rule {
  width: min(320px, 70%);
  margin: 0.7rem auto 0;
}

.ab-glance-body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  margin-top: clamp(1.8rem, 4vw, 2.8rem);
}
.ab-frame {
  margin: 0;
  padding: 6px;
  border-radius: 20px;
  background: linear-gradient(145deg, #f6d27a, #e8b13c 45%, #f8dc92);
  box-shadow: 0 16px 38px rgba(184, 74, 5, 0.18);
}
.ab-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  border-radius: 15px;
  border: 2px solid #fff4da;
}

.ab-glance-text {
  margin: 0;
  max-width: 34em;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--ab-ink);
}

/* four fact cards */
.ab-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.4rem);
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
}
.ab-fact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.1rem 0.8rem 1.5rem;
  border: 1px solid var(--ab-gold-line);
  border-radius: 14px;
  background: rgba(255, 250, 240, 0.72);
}
.ab-fact-badge {
  display: grid;
  place-items: center;
  width: 80px;
  height: 69px;
  margin-top: -3.2rem;
  color: var(--ab-saffron);
  margin-bottom: 16px;
}
.ab-fact-badge svg {
  width: 90%;
  height: 90%;
}
.ab-fact-label {
  margin: 0.45rem 0 0.05rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ab-saffron);
}
.ab-fact-value {
  margin: 0;
  font-weight: 600;
  font-size: 1.06rem;
  line-height: 1.4;
  color: var(--ab-ink);
}
.ab-fact::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.45rem;
  width: 22px;
  height: 7px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 50%, var(--ab-gold) 0 2.5px, transparent 3px),
    linear-gradient(
      90deg,
      transparent,
      var(--ab-gold-line) 20%,
      var(--ab-gold-line) 80%,
      transparent
    );
  background-size:
    100% 100%,
    100% 1px;
  background-position: center, center;
  background-repeat: no-repeat;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 991.98px) {
  .ab-glance-body {
    grid-template-columns: 1fr;
  }
  .ab-glance-text {
    max-width: none;
  }
  .ab-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.6rem;
  }
  .ab-fact:nth-child(-n + 2) {
    margin-top: 0;
  }
  .ab-deco-tri {
    height: 190px;
    width: 40px;
  }
}

@media (max-width: 767.98px) {
  .ab-hero-photo {
    background-position: 78% center;
  }
  /* on phones the photo sits under a stronger veil so text stays readable */
  .ab-hero-fade {
    background: linear-gradient(
      180deg,
      rgba(255, 246, 230, 0.92) 0%,
      rgba(255, 246, 230, 0.78) 55%,
      rgba(255, 246, 230, 0.35) 100%
    );
  }
  .ab-hero-copy {
    padding-left: 1.2rem;
  }
  .ab-deco-temple {
    display: none;
  }
}

@media (max-width: 479.98px) {
  .ab-facts {
    grid-template-columns: 1fr;
  }
  .ab-om-badge {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .ab-hero-copy {
    animation: ab-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
}
@keyframes ab-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   ABOUT: IMPORTANCE OF SHIVA WORSHIP  (prefix: ab-sw-)
   ========================================================= */
.ab-sw {
  --sw-panel: #fdf0d8;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
  background:
    radial-gradient(55% 35% at 50% 0%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%),
    var(--ab-paper);
}
.ab-sw-wrap {
  width: min(1260px, 100% - 2rem);
  margin-inline: auto;
}

/* floral line art */
.ab-sw-deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  color: var(--ab-gold);
  opacity: 0.5;
}
.ab-sw-sprig-tl { left: 0; top: 0; width: clamp(70px, 10vw, 150px); height: clamp(90px, 13vw, 190px); }
.ab-sw-sprig-tr { right: 0; top: 0; width: clamp(70px, 10vw, 150px); height: clamp(90px, 13vw, 190px); transform: scaleX(-1); }
.ab-sw-sprig-bl { left: 0; bottom: clamp(120px, 17vw, 270px); width: clamp(60px, 7vw, 110px); height: clamp(80px, 9vw, 140px); transform: scaleY(-1); opacity: 0.4; }

/* heading */
.ab-sw-head { text-align: center; }
.ab-sw-omrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--ab-gold);
}
.ab-sw-line {
  width: clamp(60px, 14vw, 180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ab-gold));
}
.ab-sw-line-r { background: linear-gradient(270deg, transparent, var(--ab-gold)); }
.ab-sw-dia { width: 10px; height: 10px; flex: none; color: var(--ab-saffron); }
.ab-sw-om {
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.5;
  color: var(--ab-saffron);
}
.ab-sw-h2 {
  margin: 0.25rem 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.25;
  color: var(--ab-maroon);
}
.ab-sw-h2-sub {
  margin: 0.1rem 0 0;
  font-family: var(--ab-serif-en);
  font-size: clamp(1rem, 1.9vw, 1.5rem);
  letter-spacing: 0.08em;
  color: var(--ab-maroon-soft);
}

/* image + text */
.ab-sw-body {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3.4vw, 3rem);
  align-items: center;
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
}
.ab-sw-frame {
  margin: 0;
  padding: 5px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8dc92, #e8b13c 50%, #f6d27a);
  box-shadow: 0 14px 34px rgba(184, 74, 5, 0.16);
}
.ab-sw-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
  object-position: 30% center;
  border-radius: 14px;
  border: 2px solid #fff4da;
}
.ab-sw-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--ab-ink);
}
.ab-sw-text p:last-child { margin-bottom: 0; }

/* values panel */
.ab-sw-panelwrap {
  margin-top: clamp(2.4rem, 5vw, 3.8rem);
}
.ab-sw-tab {
  position: relative;
  z-index: 1;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.4vw, 1.1rem);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.55rem clamp(1rem, 3vw, 2.4rem) 0.35rem;
  background: var(--sw-panel);
  border: 1px solid var(--ab-gold-line);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  line-height: 1.3;
  color: var(--ab-saffron);
  text-align: center;
}
.ab-sw-flower { width: clamp(20px, 2.4vw, 28px); height: clamp(20px, 2.4vw, 28px); flex: none; color: var(--ab-saffron); }
.ab-sw-tab .ab-sw-dia { width: 8px; height: 8px; }

.ab-sw-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0;
  padding: clamp(1.4rem, 2.6vw, 2.2rem) clamp(0.4rem, 1.4vw, 1.2rem) clamp(1.5rem, 2.6vw, 2.1rem);
  list-style: none;
  background: var(--sw-panel);
  border: 1px solid var(--ab-gold-line);
  border-radius: 26px;
}
.ab-sw-feat {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 0.3rem clamp(0.6rem, 1.4vw, 1.4rem);
  text-align: center;
}
.ab-sw-feat + .ab-sw-feat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6%;
  bottom: 6%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--ab-gold-line) 20%, var(--ab-gold-line) 80%, transparent);
}
.ab-sw-badge {
  display: grid;
  place-items: center;
  width: clamp(68px, 6.2vw, 94px);
  aspect-ratio: 1;
  margin: 0 auto 0.7rem;
  border-radius: 50%;
  color: var(--ab-saffron);
  background: radial-gradient(circle at 50% 38%, #fffaf0 0%, #ffe9c2 62%, #fcd9a0 100%);
  border: 1.5px solid var(--ab-gold-line);
  box-shadow: 0 0 0 5px rgba(255, 233, 194, 0.55), 0 6px 14px rgba(184, 74, 5, 0.12);
}
.ab-sw-om-glyph {
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
}
.ab-sw-feat-t {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.35;
  color: var(--ab-ink);
}
.ab-sw-feat-d {
  margin: 0.35rem auto 0;
  max-width: 17em;
  font-size: clamp(0.9rem, 1.1vw, 1.02rem);
  line-height: 1.7;
  color: #5a4434;
}

/* orange wave + closing line */
.ab-sw-foot {
  position: relative;
  height: clamp(150px, 14.5vw, 235px);
  margin-top: clamp(1.6rem, 4vw, 3rem);
}
.ab-sw-wavebg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.ab-sw-tri {
  position: absolute;
  left: 50%;
  top: 4%;
  width: clamp(24px, 2.6vw, 36px);
  height: clamp(40px, 4.3vw, 60px);
  transform: translateX(-50%);
  color: #fff3dc;
  fill: currentColor;
}
.ab-sw-quote {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(18px, 3vw, 46px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.4vw, 1rem);
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.7vw, 2.1rem);
  line-height: 1.3;
  color: #fff6e4;
  text-shadow: 0 2px 6px rgba(150, 50, 0, 0.3);
  white-space: nowrap;
}
.ab-sw-quote .ab-sw-dia { color: #ffe3a6; width: 8px; height: 8px; }
.ab-sw-qline {
  width: clamp(40px, 12vw, 190px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffe3a6);
}
.ab-sw-quote .ab-sw-qline:last-child { background: linear-gradient(270deg, transparent, #ffe3a6); }
.ab-sw-gop {
  position: absolute;
  right: clamp(0.5rem, 2vw, 2rem);
  bottom: 0;
  width: clamp(80px, 10vw, 150px);
  height: clamp(110px, 14vw, 215px);
  color: #fff0cf;
  opacity: 0.6;
}
.ab-sw-gop-2 {
  right: clamp(6rem, 13vw, 14rem);
  width: clamp(40px, 5vw, 76px);
  height: clamp(56px, 7vw, 108px);
  opacity: 0.4;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1199.98px) {
  .ab-sw-feat-d { max-width: 14em; }
}

@media (max-width: 991.98px) {
  .ab-sw-body { grid-template-columns: 1fr; }
  .ab-sw-frame { max-width: 680px; margin-inline: auto; }
  .ab-sw-text { max-width: 46em; margin-inline: auto; }

  /* 3 + 2 layout, last row centred, dividers swapped for soft separators */
  .ab-sw-feat { flex: 0 0 33.3333%; padding-block: 1rem; }
  .ab-sw-feat + .ab-sw-feat::before { display: none; }
  .ab-sw-feat-d { max-width: 15em; }
  .ab-sw-sprig-bl { display: none; }
}

@media (max-width: 767.98px) {
  .ab-sw-feat { flex: 0 0 50%; }
  .ab-sw-tab { gap: 0.45rem; padding-inline: 1rem; }
  .ab-sw-gop-2 { display: none; }
  .ab-sw-text p { line-height: 1.9; }
}

@media (max-width: 479.98px) {
  .ab-sw-feat { flex: 0 0 100%; padding-block: 0.9rem; }
  .ab-sw-feat + .ab-sw-feat { border-top: 1px dashed var(--ab-gold-line); }
  .ab-sw-feat-d { max-width: 20em; }
  .ab-sw-panel { border-radius: 20px; }
  .ab-sw-tab { font-size: 1.05rem; padding-inline: 0.8rem; }
  .ab-sw-flower { display: none; }
  .ab-sw-quote { font-size: 1.15rem; }
  .ab-sw-qline { width: 28px; }
  .ab-sw-foot { height: 150px; }
  .ab-sw-gop { opacity: 0.35; }
}

/* =========================================================
   ABOUT: THE MEANING BEHIND THE NAME  (prefix: ab-nm-)
   ========================================================= */


.ab-nm {
  --nm-panel: #fdf0d6;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
  padding-bottom: clamp(5.5rem, 10vw, 9rem);
  background:
    radial-gradient(55% 35% at 50% 0%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%),
    var(--ab-paper);
}
.ab-nm-wrap {
  width: min(1260px, 100% - 2rem);
  margin-inline: auto;
}

/* ---------- decorative line art ---------- */
.ab-nm-deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  color: var(--ab-gold);
  opacity: 0.5;
}
.ab-nm-sprig-tl { left: 0; top: 0; width: clamp(70px, 10vw, 150px); height: clamp(90px, 13vw, 190px); }
.ab-nm-sprig-tr { right: 0; top: 0; width: clamp(70px, 10vw, 150px); height: clamp(90px, 13vw, 190px); transform: scaleX(-1); }
.ab-nm-sprig-ml { left: 0; top: 52%; width: clamp(60px, 7vw, 110px); height: clamp(80px, 9vw, 140px); opacity: 0.4; }
.ab-nm-gop-l  { left: clamp(0rem, 1vw, 1rem); bottom: clamp(36px, 5vw, 80px); width: clamp(60px, 8vw, 120px); height: clamp(90px, 12vw, 180px); opacity: 0.6; }
.ab-nm-gop-r  { right: clamp(0rem, 1vw, 1rem); bottom: clamp(36px, 5vw, 80px); width: clamp(60px, 8vw, 120px); height: clamp(90px, 12vw, 180px); opacity: 0.6; }
.ab-nm-gop-r2 { right: clamp(5rem, 9vw, 9rem); bottom: clamp(36px, 5vw, 80px); width: clamp(34px, 4.4vw, 66px); height: clamp(50px, 6.6vw, 100px); opacity: 0.4; }

/* ---------- heading ---------- */
.ab-nm-head { text-align: center; }
.ab-nm-omrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--ab-gold);
}
.ab-nm-line {
  width: clamp(60px, 14vw, 180px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ab-gold));
}
.ab-nm-line-r { background: linear-gradient(270deg, transparent, var(--ab-gold)); }
.ab-nm-dia { width: 10px; height: 10px; flex: none; color: var(--ab-saffron); }
.ab-nm-om {
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.5;
  color: var(--ab-saffron);
}
.ab-nm-h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.3;
  color: var(--ab-maroon);
}
.ab-nm-h2-sub {
  margin: 0.1rem 0 0;
  font-family: var(--ab-serif-en);
  font-weight: 600;
  font-size: clamp(1rem, 1.9vw, 1.5rem);
  letter-spacing: 0.03em;
  color: var(--ab-maroon-soft);
}

/* ---------- image + text ---------- */
.ab-nm-body {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3.4vw, 3.2rem);
  align-items: start;
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
}
.ab-nm-frame {
  margin: 0;
  padding: 5px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8dc92, #e8a52d 50%, #f6d27a);
  box-shadow: 0 14px 34px rgba(184, 74, 5, 0.2);
}
.ab-nm-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid #fff4da;
}
.ab-nm-text p {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 2;
  color: var(--ab-ink);
}

/* "Om Namah Shivaya" banner: pointed-end ticket shape, gold edge + cream fill */
.ab-nm-mantra {
  --nm-cut: clamp(14px, 1.8vw, 22px);
  margin-top: clamp(1.1rem, 2.2vw, 1.6rem);
  padding: 1.5px;
  background: linear-gradient(180deg, #efc775, #e3a92f);
  clip-path: polygon(
    var(--nm-cut) 0, calc(100% - var(--nm-cut)) 0, 100% 50%,
    calc(100% - var(--nm-cut)) 100%, var(--nm-cut) 100%, 0 50%
  );
  filter: drop-shadow(0 6px 10px rgba(184, 74, 5, 0.12));
}
.ab-nm-mantra-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: clamp(0.7rem, 1.4vw, 1rem) clamp(1.4rem, 3vw, 2.6rem);
  background: linear-gradient(180deg, #fff3da, #fde6bd);
  clip-path: polygon(
    var(--nm-cut) 0, calc(100% - var(--nm-cut)) 0, 100% 50%,
    calc(100% - var(--nm-cut)) 100%, var(--nm-cut) 100%, 0 50%
  );
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.3vw, 1.85rem);
  line-height: 1.35;
  color: var(--ab-maroon);
  text-align: center;
}
.ab-nm-tri {
  flex: none;
  width: clamp(16px, 1.8vw, 24px);
  height: clamp(30px, 3.4vw, 44px);
  color: var(--ab-saffron);
  fill: currentColor;
}

/* ---------- "Meaning of the name" panel ---------- */
.ab-nm-panelwrap { margin-top: clamp(1.8rem, 4vw, 3rem); }
.ab-nm-tab {
  position: relative;
  z-index: 1;
  top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1.4vw, 1rem);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0.55rem clamp(1rem, 3vw, 2.4rem) 0.1rem;
  background: var(--nm-panel);
  border: 1px solid var(--ab-gold-line);
  border-bottom: 0;
  border-radius: 30px 30px 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  line-height: 1.35;
  color: var(--ab-saffron);
  text-align: center;
}
.ab-nm-flower { width: clamp(20px, 2.4vw, 30px); height: clamp(20px, 2.4vw, 30px); flex: none; color: var(--ab-saffron); }

.ab-nm-panel {
  padding: 0.2rem clamp(0.6rem, 2vw, 1.6rem) clamp(1.4rem, 2.6vw, 2.2rem);
  background: var(--nm-panel);
  border: 1px solid var(--ab-gold-line);
  border-radius: 26px;
}
.ab-nm-panel-sub {
  margin: 0 0 clamp(0.8rem, 2vw, 1.4rem);
  text-align: center;
  font-family: var(--ab-serif-en);
  font-weight: 500;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: var(--ab-ink);
}
.ab-nm-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.ab-nm-card {
  position: relative;
  padding: 0.4rem clamp(0.8rem, 2vw, 2rem);
  text-align: center;
}
.ab-nm-card + .ab-nm-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4%;
  bottom: 4%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--ab-gold-line) 20%, var(--ab-gold-line) 80%, transparent);
}
.ab-nm-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(84px, 8vw, 118px);
  aspect-ratio: 1;
  margin: 0 auto 0.6rem;
  filter: drop-shadow(0 6px 10px rgba(184, 74, 5, 0.14));
}
.ab-nm-badge-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ab-nm-badge-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
/* ॐ + crescent combination in the third badge */
.ab-nm-om2 {
  position: absolute;
  left: 15%;
  top: 50%;
  transform: translateY(-52%);
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(2.2rem, 4.2vw, 3.3rem);
  line-height: 1;
  color: #ee7a14;
}
.ab-nm-om2-moon {
  position: absolute;
  right: 14%;
  top: 22%;
  width: 34%;
  height: 56%;
}
.ab-nm-card-t {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.35;
  color: var(--ab-saffron);
}
.ab-nm-card-d {
  margin: 0.3rem auto 0;
  max-width: 18em;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.65;
  color: #4d3a2c;
  font-weight: 500;
}

/* ---------- bottom wave ---------- */
.ab-nm-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  width: 100%;
  height: clamp(60px, 7vw, 112px);
  display: block;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 991.98px) {
  .ab-nm-body { grid-template-columns: 1fr; }
  .ab-nm-frame { max-width: 680px; margin-inline: auto; }
  .ab-nm-text { max-width: 46em; margin-inline: auto; }
  .ab-nm-mantra { max-width: 560px; margin-inline: auto; }
  .ab-nm-sprig-ml, .ab-nm-gop-r2 { display: none; }
}

@media (max-width: 767.98px) {
  .ab-nm-cards { grid-template-columns: 1fr; }
  .ab-nm-card { padding-block: 1.2rem; }
  .ab-nm-card + .ab-nm-card { border-top: 1px dashed var(--ab-gold-line); }
  .ab-nm-card + .ab-nm-card::before { display: none; }
  .ab-nm-card-d { max-width: 22em; }
  .ab-nm-text p { line-height: 1.9; }
  .ab-nm-gop-l, .ab-nm-gop-r { opacity: 0.4; }
}

@media (max-width: 479.98px) {
  .ab-nm-tab { gap: 0.4rem; padding-inline: 0.9rem; font-size: 1.1rem; }
  .ab-nm-flower { display: none; }
  .ab-nm-panel { border-radius: 20px; }
  .ab-nm-mantra-in { padding-inline: 1.3rem; gap: 0.5rem; font-size: 1.1rem; }
  .ab-nm-tri { display: none; }
  .ab-nm-mantra-in { justify-content: center; }
}


/* =========================================================
   ABOUT: TEMPLE FEATURES  (prefix: ab-ft-)
   ========================================================= */

.ab-ft {
  --ft-card: #fff3dc;
  --ft-red: #a8211a;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(1.4rem, 3vw, 2.2rem);
  padding-bottom: clamp(5rem, 8vw, 7.5rem);
  background:
    radial-gradient(55% 30% at 50% 0%, #fffaf0 0%, rgba(255, 250, 240, 0) 70%),
    var(--ab-paper);
}
.ab-ft-wrap {
  width: min(1300px, 100% - 2rem);
  margin-inline: auto;
}

/* ---------- decorative line art ---------- */
.ab-ft-deco {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  color: var(--ab-gold);
  opacity: 0.5;
}
.ab-ft-sprig-tl { left: 0; top: 0; width: clamp(70px, 10vw, 150px); height: clamp(90px, 13vw, 190px); }
.ab-ft-sprig-tr { right: 0; top: 0; width: clamp(70px, 10vw, 150px); height: clamp(90px, 13vw, 190px); transform: scaleX(-1); }
.ab-ft-sprig-bl { left: 0; bottom: clamp(60px, 8vw, 120px); width: clamp(50px, 6vw, 90px); height: clamp(70px, 8vw, 120px); opacity: 0.4; }
.ab-ft-sprig-br { right: 0; bottom: clamp(60px, 8vw, 120px); width: clamp(50px, 6vw, 90px); height: clamp(70px, 8vw, 120px); opacity: 0.4; transform: scaleX(-1); }
.ab-ft-gop-l { left: clamp(0rem, 1vw, 1rem); bottom: clamp(26px, 4vw, 60px); width: clamp(70px, 9vw, 140px); height: clamp(105px, 13.5vw, 210px); opacity: 0.6; }

/* ---------- heading ---------- */
.ab-ft-head { text-align: center; }
.ab-ft-omrow { display: flex; align-items: center; justify-content: center; gap: 0.55rem; color: var(--ab-gold); }
.ab-ft-line { width: clamp(60px, 14vw, 180px); height: 1px; background: linear-gradient(90deg, transparent, var(--ab-saffron)); }
.ab-ft-line-r { background: linear-gradient(270deg, transparent, var(--ab-saffron)); }
.ab-ft-dia { width: 10px; height: 10px; flex: none; color: var(--ab-saffron); }
.ab-ft-om {
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.5;
  color: var(--ab-saffron);
}
.ab-ft-h2 {
  margin: 0.2rem 0 0;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.9rem, 4.6vw, 3.4rem);
  line-height: 1.3;
  color: var(--ft-red);
}
.ab-ft-h2-sub {
  margin: 0.1rem 0 0;
  font-family: var(--ab-serif-en);
  font-weight: 500;
  font-size: clamp(1rem, 1.9vw, 1.5rem);
  letter-spacing: 0.06em;
  color: var(--ft-red);
}
.ab-ft-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: min(260px, 60%);
  margin: 0.5rem auto 0;
  color: var(--ab-gold);
}
.ab-ft-rule span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ab-gold-line)); }
.ab-ft-rule span:last-child { background: linear-gradient(270deg, transparent, var(--ab-gold-line)); }
.ab-ft-flower { width: 20px; height: 20px; flex: none; color: var(--ab-saffron); }

/* ---------- feature cards ---------- */
.ab-ft-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.2vw, 1.1rem);
  margin: clamp(1.4rem, 3vw, 2.2rem) 0 0;
  padding: 0;
  list-style: none;
}
.ab-ft-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 5px clamp(0.9rem, 1.6vw, 1.3rem);
  text-align: center;
  background: linear-gradient(180deg, #fff6e4, var(--ft-card));
  border: 1px solid var(--ab-gold-line);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(184, 74, 5, 0.07);
}
.ab-ft-fig { margin: 0; width: 100%; }
.ab-ft-fig img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.4 / 1;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
.ab-ft-ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: clamp(48px, 4.6vw, 62px);
  aspect-ratio: 1;
  margin-top: calc(clamp(48px, 4.6vw, 62px) / -2);
  border-radius: 50%;
  color: var(--ab-saffron);
  background: radial-gradient(circle at 50% 35%, #fff6e2, #ffdca4);
  border: 1.5px solid #f3cf8a;
  box-shadow: 0 0 0 5px #fff3dc, 0 6px 12px rgba(184, 74, 5, 0.18);
}
.ab-ft-ico svg { width: 52%; height: 52%; }
.ab-ft-t {
  margin: 0.75rem 0 0;
  padding-inline: 0.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.5vw, 1.3rem);
  line-height: 1.4;
  color: var(--ft-red);
}
.ab-ft-d {
  margin: 0.35rem 0 0;
  padding-inline: clamp(0.5rem, 1vw, 0.9rem);
  font-size: clamp(0.88rem, 1.12vw, 1.04rem);
  line-height: 1.7;
  color: #4d3a2c;
}

/* ---------- closing quote band ---------- */
.ab-ft-quote {
  position: relative;
  margin: clamp(1.4rem, 3vw, 2.2rem) clamp(0rem, 7vw, 6.4rem) 0;
  padding: clamp(1.2rem, 2.6vw, 2rem) clamp(4.2rem, 11vw, 9rem);
  text-align: center;
  border: 1px solid var(--ab-gold-line);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(255, 244, 222, 0.96) 0%, rgba(255, 244, 222, 0.86) 45%, rgba(255, 244, 222, 0.45) 100%),
    url("../images/precinct-river.jpg") center / cover no-repeat,
    #fdf0d6;
}
.ab-ft-q-tri {
  position: absolute;
  left: clamp(1rem, 7vw, 5.5rem);
  top: 50%;
  width: clamp(18px, 2.4vw, 30px);
  height: clamp(40px, 5.2vw, 62px);
  transform: translateY(-50%);
  color: var(--ab-saffron);
  fill: currentColor;
}
.ab-ft-q-text {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.1rem, 2.3vw, 1.85rem);
  line-height: 1.55;
  color: var(--ft-red);
}
.ab-ft-q-orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: min(220px, 50%);
  margin: 0.5rem auto 0;
}
.ab-ft-q-orn span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ab-gold)); }
.ab-ft-q-orn span:last-child { background: linear-gradient(270deg, transparent, var(--ab-gold)); }
.ab-ft-q-om {
  position: absolute;
  right: clamp(-1.4rem, -1.5vw, -0.6rem);
  top: 50%;
  display: grid;
  place-items: center;
  width: clamp(48px, 5.6vw, 78px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 35%, #fff6e2, #ffe0ae);
  border: 1.5px solid var(--ab-gold);
  box-shadow: 0 0 0 5px rgba(255, 233, 194, 0.6), 0 6px 14px rgba(184, 74, 5, 0.18);
  font-family: "Noto Serif Devanagari", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  line-height: 1;
  color: var(--ab-saffron);
}

/* ---------- bottom wave ---------- */
.ab-ft-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  width: 100%;
  height: clamp(54px, 6.4vw, 100px);
  display: block;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1199.98px) {
  .ab-ft-quote { margin-inline: 0; }
}

@media (max-width: 991.98px) {
  .ab-ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
  .ab-ft-fig img { aspect-ratio: 1.7 / 1; }
  .ab-ft-ico { width: 60px; margin-top: -30px; }
  .ab-ft-t { font-size: 1.2rem; }
  .ab-ft-d { font-size: 1rem; }
  .ab-ft-sprig-bl, .ab-ft-sprig-br { display: none; }
}

@media (max-width: 575.98px) {
  .ab-ft-grid { grid-template-columns: 1fr; }
  .ab-ft-fig img { aspect-ratio: 1.55 / 1; }
  .ab-ft-quote { padding-inline: 1.2rem; padding-block: 1.4rem 1.2rem; }
  .ab-ft-q-tri, .ab-ft-q-om { display: none; }
  .ab-ft-gop-l { opacity: 0.35; }
}