:root {
  --font-tamil: "Senthamizh 60", "Senthamizh", "Noto Sans Tamil", sans-serif;

  --maroon: #7b1e1e;
  --maroon-dark: #4e1010;
  --saffron: #d99022;
  --gold: #e5b45c;
  --cream: #fffaf2;
  --paper: #fffdf8;
  --ink: #211a18;
  --muted: #756b66;
  --line: rgba(48, 28, 20, .12);
  --shadow: 0 18px 50px rgba(55, 24, 12, .10);
  --radius: 22px;
}

/* =========================================================
   GLOBAL RESET
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;

  /*
   * IMPORTANT:
   * Do NOT use min-width: 320px here.
   *
   * At browser zoom levels such as 133%-175% the CSS viewport
   * can become smaller than 320px. min-width then forces the
   * entire document to remain 320px wide and breaks responsive
   * positioning.
   */
  width: 100%;
  max-width: 100%;
  min-width: 0;

  font-family: "Noto Sans Tamil", sans-serif;
  color: var(--ink);
  background-color: var(--paper);
  line-height: 1.7;

  overflow-x: hidden;
  position: relative;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   PAGE BACKGROUND
   ========================================================= */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;

  background-image: url("../assets/images/bodybg/bgimage.jpeg");

  /*
   * Keep the image covering the viewport without forcing
   * horizontal dimensions.
   */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;

  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;

  background: rgba(255, 253, 248, .16);

  pointer-events: none;
}

/* =========================================================
   COMMON CONTAINER
   ========================================================= */

.container {
  width: min(1160px, calc(100% - 40px));
  max-width: 100%;
  margin-inline: auto;
}

/* =========================================================
   PAGE LOADER
   ========================================================= */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: grid;
  place-items: center;
  gap: 8px;

  background: var(--cream);
  color: var(--maroon);

  transition: opacity .55s, visibility .55s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-symbol {
  font-size: 54px;
  animation: breathe 1.4s ease-in-out infinite;
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;
  max-width: 100%;

  z-index: 2000;

  color: #fff;

  transition: .35s ease;
}

.site-header.scrolled {
  background: rgba(78, 16, 16, .94);
  backdrop-filter: blur(16px);
  /* height: 98px; */
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

/* =========================================================
   CORNER LOGOS
   ========================================================= */

/*
 * Keep the logos above the visual page, but BELOW the hamburger.
 * pointer-events:none ensures they can never block menu clicks.
 */
.corner-logos {
  position: fixed;
  inset: 0;

  z-index: 1500;

  pointer-events: none;
}

.corner-logo {
  position: fixed;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .28));
  pointer-events: none;
}

/* LEFT LOGO */
.corner-logo-left {
  left: 6px;
  top: 1px;
  width: 70px;
  height: 70px;
}

/* RIGHT LOGO */
.corner-logo-right {
  right: 10px;
  top: 8px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
/* =========================================================
   NAVIGATION WRAPPER
   ========================================================= */

.nav-wrap {
  position: relative;

  width: min(1160px, calc(100% - 150px));
  max-width: 100%;

  min-height: 78px;

  margin-inline: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  /*
   * Allows flex children to actually shrink at narrow widths.
   */
  min-width: 0;
}

/* =========================================================
   BRAND
   ========================================================= */

.brand {
  display: flex;
  align-items: center;

  gap: 11px;

  min-width: 0;
  flex: 1 1 auto;

  overflow: hidden;
}

.brand-logo {
  display: block;

  width: auto;
  height: 50px;

  max-width: min(250px, 30vw);

  object-fit: contain;
  object-position: left center;

  flex: 0 1 auto;

  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  flex: 0 0 auto;

  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 50%;

  color: var(--gold);
  font-size: 22px;
}

.brand strong {
  display: block;

  font-size: 1rem;
  line-height: 1.2;

  white-space: nowrap;
}

.brand small {
  display: block;

  font-size: .64rem;
  opacity: .82;

  line-height: 1.3;
  margin-top: 3px;
}

/* =========================================================
   DESKTOP NAV
   ========================================================= */

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  gap: 1px;

  flex: 0 1 auto;
  min-width: 0;

  white-space: nowrap;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 8px clamp(5px, .7vw, 10px);

  font-size: clamp(.68rem, .72vw, .78rem);
  line-height: 1.2;

  white-space: nowrap;

  opacity: .88;

  transition: .25s;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--gold);
}

.main-nav .nav-donate {
  background: var(--gold);
  color: #35120c;

  border-radius: 999px;

  padding: 9px clamp(9px, .9vw, 13px);

  font-weight: 800;

  margin-left: 3px;
}

/* =========================================================
   HAMBURGER
   ========================================================= */

.menu-toggle {
  display: none;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  color: #fff;
  cursor: pointer;
  transition: background .25s ease, border-color .25s ease, transform .2s ease;

  /* FIX */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, .14);
  border-color: var(--gold);
}

.menu-toggle:active {
  transform: scale(.92);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0;
  padding: 0;
  flex: 0 0 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}
/* Hamburger -> X state. Each bar sits 7px (2px height + 5px gap) from
   the middle bar's center, so translateY(7px)/-7px is what actually
   lands both bars exactly on that center to form a symmetric X -
   6px left a visible, lopsided gap between the crossing lines. */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 100svh;

  display: grid;
  place-items: center;

  position: relative;

  overflow: hidden;

  background:
    radial-gradient(circle at 72% 38%, rgba(216, 137, 28, .32), transparent 28%),
    radial-gradient(circle at 86% 70%, rgba(95, 113, 54, .34), transparent 34%),
    linear-gradient(110deg, #4B1711 0%, #7A241C 48%, #5F7136 100%);

  color: #fff;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 20% 20%, rgba(233, 182, 63, .16), transparent 28%),
    radial-gradient(circle at 82% 68%, rgba(63, 84, 38, .20), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, .05), transparent 45%);
}

.hero-inner {
  min-height: 100svh;

  display: grid;
  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(0, .95fr);

  align-items: center;

  gap: 40px;

  padding-top: 80px;

  position: relative;
  z-index: 2;

  min-width: 0;
}

.hero-copy {
  max-width: 700px;
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: var(--saffron);

  font-size: .78rem;
  font-weight: 800;

  letter-spacing: .06em;
}

.eyebrow::before {
  content: "";

  width: 24px;
  height: 1px;

  background: currentColor;
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 5.8rem);

  line-height: 1.05;

  margin: 20px 0;

  letter-spacing: -.04em;

  /*
   * Prevent long Tamil strings from expanding the grid.
   */
  overflow-wrap: anywhere;
}

h1 em,
h2 em {
  color: var(--gold);
  font-style: normal;
}

.hero-copy > p {
  max-width: 650px;

  color: rgba(255, 255, 255, .76);

  font-size: 1.05rem;
}

.hero-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  border-radius: 999px;

  padding: 13px 21px;

  font-weight: 800;

  transition:
    transform .25s,
    box-shadow .25s,
    background .25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  background: var(--gold);

  color: #35120c;

  box-shadow:
    0 10px 30px rgba(229, 180, 92, .22);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, .25);

  color: #fff;
}

.btn-light {
  background: #fff;
  color: var(--maroon);
}

.hero-meta {
  display: flex;
  align-items: center;

  flex-wrap: wrap;

  gap: 12px;

  font-size: .78rem;

  color: rgba(255, 255, 255, .65);
}

.hero-meta b {
  color: var(--gold);
}

.meta-dot {
  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: var(--gold);
}

.hero-art {
  min-height: 520px;

  position: relative;

  display: grid;
  place-items: center;

  min-width: 0;
}

.mandala {
  width: min(480px, 80vw);

  position: relative;

  display: flex;
  justify-content: center;
}

/* The global `img{max-width:100%}` reset only ever shrinks an
   oversized image down to its container - it never stretches a
   smaller one up. The source photo's natural width (853px) is
   narrower than .mandala at several breakpoints (notably the
   tablet/"desktop site" range), so without an explicit width the
   image would render at its natural size and leave empty space
   beside it instead of filling the wrapper. */
.mandala img {
  width: 100%;
  height: auto;
  display: block;
}

.mandala::before,
.mandala::after {
  content: "";

  position: absolute;

  inset: 11%;

  border: 1px dashed rgba(229, 180, 92, .28);

  border-radius: 50%;
}

.mandala::after {
  inset: 23%;

  transform: rotate(45deg);

  border-style: solid;
}

.mandala-core {
  position: absolute;

  inset: 35%;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: rgba(255, 220, 150, .12);

  border: 1px solid rgba(229, 180, 92, .4);

  color: var(--gold);

  font-size: 5rem;

  animation: counterRotate 35s linear infinite;
}

.ohm-logo{
  /* height: 80%; */
  /* width: 100%; */
 } 

.floating-badge {
  display: inline-block;

  padding: 9px 14px;

  border: 1px solid rgba(255, 255, 255, .15);

  background: rgba(255, 255, 255, .08);

  backdrop-filter: blur(12px);

  border-radius: 999px;

  color: #fff;

  font-size: .8rem;

  white-space: nowrap;

  box-shadow: var(--shadow);
}

/* Wrapper straddles the image edge; the badge inside keeps its own
   float bob so the two transforms (edge offset vs vertical bob)
   never fight over the same "transform" property. */
.floating-badge-edge {
  position: absolute;
}

.edge-left {
  top: 22%;
  left: 0;

  transform: translateX(-50%);
}

.edge-right {
  bottom: 21%;
  right: 0;

  transform: translateX(50%);
}

.badge-one {
  animation: float 4s ease-in-out infinite;
}

.badge-two {
  animation: float 5s 1s ease-in-out infinite;
}

.hero-glow {
  position: absolute;

  width: 380px;
  height: 380px;

  border-radius: 50%;

  filter: blur(80px);

  opacity: .14;
}

.glow-one {
  background: #ffcc62;

  top: -100px;
  right: 10%;
}

.glow-two {
  background: #ff5d31;

  bottom: -150px;
  left: 5%;
}

.hero-particles i {
  position: absolute;

  width: 4px;
  height: 4px;

  background: rgba(255, 215, 130, .7);

  border-radius: 50%;

  animation: particle 8s linear infinite;
}

.hero-particles i:nth-child(1) {
  left: 10%;
  top: 25%;
  animation-delay: -1s;
}

.hero-particles i:nth-child(2) {
  left: 18%;
  top: 70%;
  animation-delay: -4s;
}

.hero-particles i:nth-child(3) {
  left: 52%;
  top: 12%;
  animation-delay: -2s;
}

.hero-particles i:nth-child(4) {
  left: 82%;
  top: 28%;
  animation-delay: -6s;
}

.hero-particles i:nth-child(5) {
  left: 90%;
  top: 75%;
  animation-delay: -3s;
}

.hero-particles i:nth-child(6) {
  left: 63%;
  top: 82%;
  animation-delay: -5s;
}

.hero-particles i:nth-child(7) {
  left: 35%;
  top: 45%;
  animation-delay: -7s;
}

.hero-particles i:nth-child(8) {
  left: 74%;
  top: 60%;
  animation-delay: -1s;
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: 110px 0;

  scroll-margin-top: 70px;

  background: rgba(255, 253, 248, .90);

  min-width: 0;
}

.section-soft {
  background: rgba(247, 241, 233, .94);
}

.section-dark {
  background: #2b1110;

  color: #fff;
}

.split {
  display: grid;

  grid-template-columns:
    minmax(0, .8fr)
    minmax(0, 1.2fr);

  gap: 100px;

  align-items: start;

  min-width: 0;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);

  line-height: 1.08;

  margin: 12px 0 20px;

  letter-spacing: -.035em;

  overflow-wrap: anywhere;
}

.intro-copy {
  max-width: 700px;

  color: var(--muted);
}

.lead {
  font-size: 1.25rem;
  color: var(--ink);
}

.service-pills {
  display: flex;

  flex-wrap: wrap;

  gap: 8px;

  margin-top: 24px;
}

.service-pills span {
  padding: 8px 13px;

  border: 1px solid var(--line);

  border-radius: 999px;

  background: #fff;

  font-size: .78rem;
}

.section-title-row {
  display: flex;

  justify-content: space-between;
  align-items: end;

  gap: 30px;

  margin-bottom: 35px;

  min-width: 0;
}

.section-title-row > p {
  max-width: 420px;

  color: var(--muted);

  margin: 0;
}

.section-title-row.light > p {
  color: rgba(255, 255, 255, .58);
}

/* =========================================================
   PEOPLE
   ========================================================= */

.people-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 18px;

  min-width: 0;
}

.person-card {
  min-width: 0;

  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  overflow: hidden;

  transition:
    transform .35s,
    box-shadow .35s;
}

.person-card:hover {
  transform: translateY(-8px);

  box-shadow: var(--shadow);
}

.person-photo-wrap {
  position: relative;
  aspect-ratio: 1.08;
  overflow: hidden;
  background: #2b1110;
}

.person-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .7s ease, filter .5s ease;
}

.person-card:hover .person-photo {
  transform: scale(1.08);
  filter: saturate(1.08);
}

.person-info {
  padding: 18px 20px 20px;
}

.person-info h3 {
  margin: 4px 0 2px;

  font-size: 1.1rem;

  overflow-wrap: anywhere;
}

.person-role {
  color: var(--maroon);

  font-size: .76rem;

  font-weight: 800;
}

.phone-link {
  color: var(--muted);

  font-size: .78rem;
}

/* =========================================================
   EVENTS
   ========================================================= */

.events-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;

  min-width: 0;
}

.event-card {
  min-width: 0;

  display: grid;

  grid-template-columns:
    110px
    minmax(0, 1fr);

  gap: 20px;

  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 24px;

  transition: .35s;
}

.event-card:hover {
  transform: translateY(-6px);

  box-shadow: var(--shadow);
}

.event-date {
  height: 100px;

  border-radius: 18px;

  background: var(--maroon);

  color: #fff;

  display: grid;
  place-content: center;

  text-align: center;

  line-height: 1;
}

.event-date strong {
  font-size: 2rem;
  color: var(--gold);
}

.event-date span {
  font-size: .75rem;
  margin-top: 6px;
}

.event-status {
  display: inline-block;

  font-size: .67rem;

  color: #26744a;

  background: #eaf7ef;

  border-radius: 999px;

  padding: 4px 9px;

  font-weight: 800;
}

.event-status.past {
  color: #777;
  background: #eee;
}

.event-body {
  min-width: 0;
}

.event-body h3 {
  margin: 8px 0;

  font-size: 1.2rem;

  line-height: 1.35;

  overflow-wrap: anywhere;
}

.event-body p {
  color: var(--muted);

  font-size: .86rem;

  margin: 0 0 14px;

  overflow-wrap: anywhere;
}

.event-meta {
  display: flex;

  flex-wrap: wrap;

  gap: 10px;

  color: #6c5a53;

  font-size: .72rem;
}

.event-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 14px;

  margin-top: 14px;

  font-size: .75rem;

  font-weight: 800;

  color: var(--maroon);
}

/* =========================================================
   CATEGORY / GALLERY
   ========================================================= */

.category-tabs {
  display: flex;

  gap: 8px;

  flex-wrap: wrap;

  margin-bottom: 28px;
}

.category-tab {
  border: 1px solid rgba(255, 255, 255, .18);

  background: rgba(255, 255, 255, .06);

  color: rgba(255, 255, 255, .72);

  padding: 9px 15px;

  border-radius: 999px;

  cursor: pointer;

  transition: .25s;
}

.category-tab:hover,
.category-tab.active {
  background: var(--gold);

  color: #35120c;

  border-color: var(--gold);
}

.gallery-tabs .category-tab {
  color: var(--maroon);

  border-color: var(--line);

  background: #fff;
}

.gallery-tabs .category-tab:hover,
.gallery-tabs .category-tab.active {
  color: #35120c;

  background: var(--gold);

  border-color: var(--gold);
}

.gallery-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 14px;

  min-width: 0;
}

.gallery-grid-large {
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
}

.gallery-card {
  position: relative;

  aspect-ratio: 1.08;

  border: 0;

  padding: 0;

  overflow: hidden;

  border-radius: 18px;

  background: #2b1110;

  cursor: pointer;

  display: block;

  min-width: 0;
}

.gallery-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .7s,
    filter .5s;
}

.gallery-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 35%,
      rgba(0, 0, 0, .78)
    );

  opacity: .9;
}

.gallery-card:hover img {
  transform: scale(1.08);

  filter: saturate(1.1);
}

.gallery-overlay {
  position: absolute;

  left: 18px;
  right: 18px;
  bottom: 16px;

  z-index: 2;

  text-align: left;

  color: #fff;
}

.gallery-overlay strong {
  display: block;

  font-size: .95rem;

  overflow-wrap: anywhere;
}

.gallery-overlay small {
  color: rgba(255, 255, 255, .65);

  font-size: .7rem;
}

.center-action {
  text-align: center;

  margin-top: 32px;
}

/* =========================================================
   DONATION
   ========================================================= */

.donation-section {
  background:
    linear-gradient(
      135deg,
      rgba(255, 249, 237, .95),
      rgba(245, 231, 210, .95)
    );
}

.donation-intro {
  max-width: 680px;

  margin-bottom: 35px;
}

.donation-intro p {
  color: var(--muted);
}

.donation-grid {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0, 1fr));

  gap: 18px;

  min-width: 0;
}

.demo-warning {
  grid-column: 1 / -1;

  background: #fff3cf;

  border: 1px solid #ead08c;

  border-radius: 16px;

  padding: 14px 18px;

  font-size: .78rem;

  color: #694c13;
}

.donation-card {
  min-width: 0;

  background: #fff;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 28px;

  box-shadow:
    0 10px 35px rgba(70, 34, 10, .06);
}

.card-icon {
  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  background: #f6e8cd;

  color: var(--maroon);

  font-weight: 900;

  margin-bottom: 15px;
}

.card-kicker {
  font-size: .66rem;

  letter-spacing: .12em;

  color: var(--saffron);

  font-weight: 900;
}

.donation-card h3 {
  margin: 4px 0 18px;

  font-size: 1.35rem;

  overflow-wrap: anywhere;
}

.detail-list {
  display: grid;

  gap: 0;
}

.detail-row {
  display: flex;

  justify-content: space-between;

  gap: 18px;

  padding: 12px 0;

  border-bottom: 1px solid var(--line);

  font-size: .8rem;

  min-width: 0;
}

.detail-row > span {
  color: var(--muted);
}

.detail-row strong {
  text-align: right;

  overflow-wrap: anywhere;

  min-width: 0;
}

.copy-row > div {
  display: flex;

  align-items: center;

  gap: 8px;

  min-width: 0;
}

.copy-btn {
  border: 1px solid var(--line);

  background: #fff7eb;

  color: var(--maroon);

  border-radius: 8px;

  padding: 4px 8px;

  font-size: .65rem;

  cursor: pointer;

  font-weight: 800;

  flex: 0 0 auto;
}

.upi-box {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 10px;

  padding: 13px;

  border: 1px dashed #d9bd8d;

  background: #fffaf1;

  border-radius: 13px;

  margin-bottom: 18px;

  min-width: 0;
}

.qr-placeholder {
  min-height: 180px;

  border: 2px dashed #d7c6ad;

  border-radius: 16px;

  display: grid;

  place-items: center;

  align-content: center;

  text-align: center;

  color: var(--muted);

  gap: 4px;
}

.qr-symbol {
  font-size: 58px;

  color: #a88659;

  line-height: 1;
}

.qr-placeholder strong {
  color: var(--maroon);
}

.qr-placeholder span {
  font-size: .7rem;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact-section {
  background: rgba(255, 255, 255, .94);
}

.contact-layout {
  display: grid;

  grid-template-columns:
    minmax(0, .85fr)
    minmax(0, 1.15fr);

  gap: 80px;

  align-items: start;

  min-width: 0;
}

.section-heading {
  min-width: 0;
}

.section-heading > p {
  color: var(--muted);

  max-width: 500px;
}

.contact-grid {
  display: grid;

  min-width: 0;
}

.contact-card {
  min-width: 0;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  padding: 12px 24px;

  background: #fff;

  box-shadow: var(--shadow);
}

.contact-item {
  display: flex;

  gap: 15px;

  padding: 18px 0;

  border-bottom: 1px solid var(--line);

  align-items: center;

  min-width: 0;
}

.contact-item:last-of-type {
  border-bottom: 0;
}

.contact-icon {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border-radius: 12px;

  background: #f7ead7;

  color: var(--maroon);

  font-weight: 900;

  flex: 0 0 auto;
}

.contact-item small {
  display: block;

  color: var(--muted);

  font-size: .68rem;
}

.contact-item a,
.contact-item strong {
  display: block;

  font-size: .86rem;

  overflow-wrap: anywhere;

  min-width: 0;
}

.contact-item a:hover {
  color: var(--maroon);
}

.contact-demo {
  margin: 12px 0 8px;

  background: #fff8e8;

  padding: 10px 12px;

  border-radius: 10px;

  color: #765a2b;

  font-size: .68rem;
}

/* =========================================================
   WHATSAPP GROUP
   ========================================================= */

.whatsapp-section {
  text-align: center;
}

.whatsapp-card {
  max-width: 620px;

  margin-inline: auto;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 16px;
}

.whatsapp-icon {
  width: 72px;
  height: 72px;

  border-radius: 50%;

  display: grid;
  place-items: center;

  background: var(--temple-green, #5F7136);

  box-shadow: var(--shadow);
}

.whatsapp-icon img {
  width: 38px;
  height: 38px;

  object-fit: contain;

  border-radius: 50%;
}

.whatsapp-card h2 {
  margin: 0;
}

.whatsapp-card > p {
  color: var(--muted);

  max-width: 520px;
}

.whatsapp-cta {
  margin-top: 4px;
}

.whatsapp-support {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  margin: 0;

  color: var(--muted);

  font-size: .82rem;
}

.whatsapp-support span[aria-hidden] {
  color: var(--gold);
}

@media (max-width: 700px) {
  .whatsapp-card {
    gap: 14px;
  }

  .whatsapp-icon {
    width: 60px;
    height: 60px;
  }

  .whatsapp-icon img {
    width: 32px;
    height: 32px;
  }

  .whatsapp-cta {
    width: 100%;
    max-width: 340px;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: #24100f;

  color: #fff;

  min-width: 0;
}

.footer-main {
  display: grid;

  grid-template-columns:
    1.4fr
    1fr
    1.2fr
    1fr;

  gap: 45px;

  padding: 65px 0 45px;

  min-width: 0;
}

.footer-brand .brand {
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--gold);

  font-size: .8rem;
}

.footer-col {
  display: flex;

  flex-direction: column;

  gap: 7px;

  min-width: 0;
}

.footer-col h3 {
  font-size: .78rem;

  color: var(--gold);

  margin: 0 0 8px;
}

.footer-col a,
.footer-col span {
  color: rgba(255, 255, 255, .62);

  font-size: .74rem;

  overflow-wrap: anywhere;
}

.footer-col a:hover {
  color: #fff;
}

.social-links {
  display: flex;

  gap: 8px;

  flex-wrap: wrap;
}

.social-links a {
  width: 38px;
  height: 38px;

  border: 1px solid rgba(255, 255, 255, .16);

  border-radius: 50%;

  display: grid;
  place-items: center;

  color: #fff;

  font-size: .7rem;

  font-weight: 800;

  transition: .25s;
}

.social-links a:hover {
  background: var(--gold);

  color: #2b1110;

  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);

  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding: 18px 0;

  color: rgba(255, 255, 255, .42);

  font-size: .68rem;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.pagination-wrap {
  min-height: 48px;

  display: flex;

  justify-content: center;

  margin-top: 28px;
}

.pagination {
  display: flex;

  align-items: center;

  justify-content: center;

  gap: 6px;

  flex-wrap: wrap;
}

.page-btn {
  min-width: 38px;
  height: 38px;

  border: 1px solid var(--line);

  background: #fff;

  border-radius: 10px;

  padding: 0 11px;

  cursor: pointer;

  color: var(--ink);

  font-size: .72rem;

  transition: .2s;
}

.page-btn:hover:not(:disabled),
.page-btn.active {
  background: var(--maroon);

  border-color: var(--maroon);

  color: #fff;
}

.page-btn:disabled {
  opacity: .35;

  cursor: not-allowed;
}

.page-dots {
  padding: 0 3px;

  color: var(--muted);
}

.empty-state {
  grid-column: 1 / -1;

  padding: 35px;

  text-align: center;

  background: rgba(255, 255, 255, .7);

  border-radius: 16px;

  color: var(--muted);
}

/* =========================================================
   BACK TO TOP / TOAST
   ========================================================= */

.back-top {
  position: fixed;

  right: 22px;
  bottom: 22px;

  width: 44px;
  height: 44px;

  border: 0;

  border-radius: 50%;

  background: var(--maroon);

  color: #fff;

  opacity: 0;

  visibility: hidden;

  transform: translateY(15px);

  transition: .3s;

  z-index: 900;

  cursor: pointer;

  box-shadow: var(--shadow);
}

.back-top.show {
  opacity: 1;

  visibility: visible;

  transform: none;
}

.toast {
  position: fixed;

  left: 50%;
  bottom: 28px;

  transform: translate(-50%, 20px);

  background: #24100f;

  color: #fff;

  padding: 10px 16px;

  border-radius: 999px;

  font-size: .75rem;

  opacity: 0;

  visibility: hidden;

  transition: .3s;

  z-index: 3000;

  max-width: calc(100% - 30px);

  text-align: center;
}

.toast.show {
  opacity: 1;

  visibility: visible;

  transform: translate(-50%, 0);
}

/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
  opacity: 0;

  transform: translateY(28px);

  transition:
    opacity .8s ease,
    transform .8s ease;
}

.reveal.revealed {
  opacity: 1;

  transform: none;
}

.reveal-delay {
  transition-delay: .14s;
}

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
  position: fixed;

  inset: 0;

  background: rgba(10, 4, 4, .92);

  z-index: 5000;

  display: grid;

  place-items: center;

  padding: 50px;

  opacity: 0;

  visibility: hidden;

  transition: .3s;
}

.lightbox.open {
  opacity: 1;

  visibility: visible;
}

.lightbox > img {
  max-width: min(1100px, 90vw);

  max-height: 78vh;

  object-fit: contain;

  border-radius: 12px;

  box-shadow: 0 25px 80px #000;
}

.lightbox figure {
  margin: 0;

  text-align: center;
}

.lightbox figure img {
  max-width: min(1100px, 90vw);

  max-height: 78vh;

  object-fit: contain;

  border-radius: 12px;
}

.lightbox-caption {
  color: #fff;

  text-align: center;

  margin-top: 12px;

  font-size: .9rem;
}

.lightbox-caption small {
  display: block;

  color: rgba(255, 255, 255, .55);

  font-size: .7rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, .18);

  background: rgba(255, 255, 255, .08);

  color: #fff;

  border-radius: 50%;

  cursor: pointer;

  z-index: 2;
}

.lightbox-close {
  right: 25px;
  top: 20px;

  width: 44px;
  height: 44px;

  font-size: 28px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;

  width: 50px;
  height: 50px;

  font-size: 35px;

  transform: translateY(-50%);
}

.lightbox-prev {
  left: 25px;
}

.lightbox-next {
  right: 25px;
}

/* =========================================================
   GALLERY PAGE
   ========================================================= */

.gallery-page {
  background: rgba(255, 253, 248, .90);
}

.gallery-page-section {
  padding-top: 105px;
}

.gallery-page-heading {
  margin: 12px 0 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.gallery-page-section .section-title-row {
  margin-bottom: 28px;
}

.gallery-page-section .gallery-intro-note {
  margin-top: 0;
}

/* =========================================================
   INNER HERO
   ========================================================= */

.inner-hero {
  background:
    linear-gradient(
      135deg,
      #4e1010,
      #8c2c1e
    );

  color: #fff;

  padding: 180px 0 90px;
}

.inner-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);

  line-height: 1.05;

  margin: 15px 0;

  overflow-wrap: anywhere;
}

.inner-hero p {
  max-width: 680px;

  color: rgba(255, 255, 255, .7);
}

/* =========================================================
   GALLERY INTRO
   ========================================================= */

.gallery-intro-note {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 20px;

  margin: 0 0 28px;

  padding: 15px 18px;

  border: 1px solid var(--line);

  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      #fffaf2,
      #fff
    );

  color: var(--muted);

  font-size: .78rem;

  min-width: 0;
}

.gallery-intro-note strong {
  color: var(--maroon);

  font-size: .8rem;
}

/* =========================================================
   ALBUM GRID
   ========================================================= */

.album-grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 18px;

  min-width: 0;
}

.album-card {
  position: relative;

  min-width: 0;

  padding: 0;

  border: 1px solid var(--line);

  border-radius: 22px;

  overflow: hidden;

  background: #fff;

  color: var(--ink);

  text-align: left;

  cursor: pointer;

  box-shadow:
    0 12px 35px rgba(55, 24, 12, .07);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.album-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 22px 55px rgba(55, 24, 12, .16);

  border-color:
    rgba(217, 144, 34, .4);
}

.album-cover {
  position: relative;

  display: block;

  aspect-ratio: 1.08;

  overflow: hidden;

  background: #2b1110;
}

.album-cover img {
  width: 100%;
  height: 100%;

  /* Show the complete source image in the album preview. */
  object-fit: contain;

  transition:
    transform .65s ease,
    filter .45s ease;
}

.album-card:hover .album-cover img {
  transform: scale(1.08);

  filter: saturate(1.08);
}

.album-shade {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      transparent 35%,
      rgba(22, 7, 5, .82)
    );
}

.album-count {
  position: absolute;

  right: 12px;
  top: 12px;

  padding: 6px 10px;

  border-radius: 999px;

  background: rgba(25, 9, 6, .72);

  color: #fff;

  backdrop-filter: blur(10px);

  font-size: .62rem;

  font-weight: 800;
}

.album-card-content {
  display: block;

  padding: 17px 17px 18px;

  min-width: 0;
}

.album-card-content strong {
  display: block;

  min-height: 48px;

  color: var(--maroon);

  font-size: 1rem;

  line-height: 1.45;

  overflow-wrap: anywhere;
}

.album-card-content small {
  display: block;

  color: var(--muted);

  font-size: .68rem;

  margin-top: 3px;

  min-height: 20px;
}

.album-open-label {
  display: flex;

  justify-content: space-between;
  align-items: center;

  margin-top: 15px;

  padding-top: 12px;

  border-top: 1px solid var(--line);

  color: var(--saffron);

  font-size: .7rem;

  font-weight: 800;
}

.album-open-label b {
  font-size: 1.1rem;

  transition: transform .25s ease;
}

.album-card:hover .album-open-label b {
  transform: translateX(5px);
}

/* =========================================================
   ALBUM VIEWER
   ========================================================= */

.album-viewer {
  position: fixed;

  inset: 0;

  height: 100dvh;

  z-index: 6000;

  display: grid;

  place-items: center;

  padding: 22px;

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

  transition:
    opacity .3s ease,
    visibility .3s ease;
}

.album-viewer.open {
  opacity: 1;

  visibility: visible;

  pointer-events: auto;
}

.album-backdrop {
  position: absolute;

  inset: 0;

  background: rgba(12, 4, 4, .84);

  backdrop-filter: blur(10px);
}

.album-dialog {
  position: relative;

  z-index: 1;

  width: min(1120px, 96vw);

  height: min(900px, 94vh);

  max-height: 94vh;

  display: flex;

  flex-direction: column;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, .12);

  border-radius: 24px;

  background: #1b0c0b;

  color: #fff;

  box-shadow:
    0 30px 100px rgba(0, 0, 0, .45);

  transform:
    translateY(25px)
    scale(.97);

  transition:
    transform .35s ease;
}

.album-viewer.open .album-dialog {
  transform: none;
}

.album-dialog-head {
  position: relative;

  z-index: 10;

  flex: 0 0 auto;

  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 20px;

  padding: 20px 88px 15px 24px;

  background: #1b0c0b;

  min-width: 0;
}

.album-dialog-head .eyebrow {
  color: var(--gold);
}

.album-dialog-head h2 {
  margin: 4px 0 0;

  font-size: clamp(1.2rem, 2.5vw, 1.9rem);

  overflow-wrap: anywhere;
}

.album-counter {
  flex: none;

  min-width: 58px;

  text-align: center;

  padding: 7px 11px;

  border: 1px solid rgba(255, 255, 255, .14);

  border-radius: 999px;

  background: rgba(255, 255, 255, .06);

  color: rgba(255, 255, 255, .72);

  font-size: .7rem;
}

.album-close {
  position: absolute;

  z-index: 20;

  right: 17px;
  top: 15px;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, .15);

  border-radius: 50%;

  background: rgba(255, 255, 255, .08);

  color: #fff;

  font-size: 27px;

  line-height: 1;

  cursor: pointer;

  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease, color .25s ease;
}

.album-close:hover,
.album-close:focus-visible {
  background: var(--gold);

  color: #35120c;

  transform: rotate(90deg);
}

.album-close:active {
  transform: rotate(90deg) scale(.88);
}

.album-main {
  flex: 1 1 auto;

  min-height: 0;

  display: grid;

  grid-template-columns:
    64px
    minmax(0, 1fr)
    64px;

  align-items: center;

  gap: 12px;

  padding: 0 20px;
}

.album-main-image-wrap {
  position: relative;

  width: 100%;
  height: 100%;

  min-height: 0;

  touch-action: pan-y;

  display: grid;

  place-items: center;

  overflow: hidden;

  border-radius: 17px;

  background: #080505;
}

.album-main-image-wrap::before {
  content: "";

  position: absolute;

  inset: 0;

  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(229, 180, 92, .08),
      transparent 55%
    );

  pointer-events: none;
}

.album-main-image {
  position: relative;

  z-index: 1;

  width: 100%;
  height: 100%;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;

  display: block;

  animation: albumImageIn .35s ease;
}

.album-image-caption {
  position: absolute;

  z-index: 2;

  left: 0;
  right: 0;
  bottom: 0;

  padding: 52px 20px 16px;

  background:
    linear-gradient(
      transparent,
      rgba(0, 0, 0, .92) 38%
    );

  pointer-events: none;
}

.album-detail-kicker {
  display: inline-block;

  margin-bottom: 5px;

  color: var(--gold);

  font-size: .58rem;

  font-weight: 800;

  letter-spacing: .04em;
}

.album-image-caption strong {
  display: block;

  font-size: .95rem;

  line-height: 1.35;

  overflow-wrap: anywhere;
}

.album-image-caption small {
  display: block;

  color: rgba(255, 255, 255, .76);

  font-size: .7rem;

  line-height: 1.45;

  margin-top: 4px;

  max-width: 850px;
}

.album-image-caption span {
  display: block;

  color: var(--gold);

  font-size: .62rem;

  margin-top: 5px;
}

.album-nav {
  width: 50px;
  height: 50px;

  border: 1px solid rgba(255, 255, 255, .14);

  border-radius: 50%;

  background: rgba(255, 255, 255, .08);

  color: #fff;

  font-size: 35px;

  line-height: 1;

  cursor: pointer;

  transition: .25s;
}

.album-nav:hover:not(:disabled) {
  background: var(--gold);

  color: #35120c;

  transform: scale(1.08);
}

.album-nav:disabled {
  opacity: .35;

  cursor: not-allowed;
}

.album-thumbs {
  flex: 0 0 auto;

  display: flex;

  gap: 9px;

  overflow-x: auto;

  padding: 15px 24px 6px;

  scrollbar-width: thin;

  scrollbar-color:
    rgba(255, 255, 255, .25)
    transparent;
}

.album-thumb {
  position: relative;

  flex: 0 0 72px;

  width: 72px;
  height: 58px;

  padding: 0;

  overflow: hidden;

  border: 2px solid transparent;

  border-radius: 10px;

  background: #2a1513;

  cursor: pointer;

  opacity: .62;

  transition: .25s;
}

.album-thumb img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}

.album-thumb:hover {
  opacity: 1;

  transform: translateY(-2px);
}

.album-thumb.active {
  opacity: 1;

  border-color: var(--gold);

  box-shadow:
    0 0 0 2px rgba(229, 180, 92, .18);
}

.album-thumb span {
  position: absolute;

  right: 4px;
  bottom: 3px;

  min-width: 17px;
  height: 17px;

  padding: 0 4px;

  display: grid;
  place-items: center;

  border-radius: 999px;

  background: rgba(0, 0, 0, .68);

  color: #fff;

  font-size: .52rem;
}

.album-hint {
  flex: 0 0 auto;

  margin: 7px 24px 17px;

  color: rgba(255, 255, 255, .4);

  font-size: .62rem;

  text-align: center;
}

/* =========================================================
   NESTED ALBUM SUMMARY + FULL IMAGE VIEWER
   ========================================================= */

.album-summary-dialog {
  width: min(920px, 94vw);
  height: min(760px, 90vh);
}

.album-summary {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  gap: 24px;
  align-items: center;
  padding: 22px 30px 10px;
  overflow: auto;
}

.album-summary-image-wrap {
  width: 100%;
  height: min(52vh, 500px);
  min-height: 260px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: #080505;
  border: 1px solid rgba(255,255,255,.08);
}

.album-summary-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.album-summary-details {
  min-width: 0;
  padding: 10px 8px;
}

.album-summary-details .album-detail-kicker {
  margin-bottom: 8px;
}

.album-summary-details strong {
  display: block;
  color: #fff;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.album-summary-details small {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.72);
  font-size: .8rem;
  line-height: 1.65;
}

.album-summary-details span {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-size: .72rem;
}

.album-summary-action {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  padding: 8px 24px 0;
}

.album-summary-action .btn {
  min-width: min(360px, 100%);
  justify-content: center;
}

/* Second popup sits above the first popup. */
.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 7000;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .25s ease, visibility .25s ease;
}

.photo-viewer.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.photo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4,2,2,.97);
  backdrop-filter: blur(12px);
}

.photo-dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, 98vw);
  height: auto;
  max-height: 96vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: #090505;
  color: #fff;
  box-shadow: 0 30px 110px rgba(0,0,0,.7);
}

.photo-dialog-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 72px 12px 20px;
  background: #090505;
}

.photo-dialog-head h2 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.photo-counter {
  flex: none;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.72);
  font-size: .68rem;
}

.photo-close {
  position: absolute;
  z-index: 5;
  right: 15px;
  top: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.photo-close:hover {
  background: var(--gold);
  color: #35120c;
}

.photo-viewer-main {
  flex: 0 0 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 64px minmax(0,1fr) 64px;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}

.photo-main-image-wrap {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background: #030202;
  touch-action: pan-y;
}

.photo-main-image-wrap img {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: calc(96vh - 190px);
  object-fit: contain;
  object-position: center;
  display: block;
}

.photo-nav {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(255,255,255,.09);
  color: #fff;
  font-size: 35px;
  line-height: 1;
  cursor: pointer;
  transition: .2s;
}

.photo-nav:hover {
  background: var(--gold);
  color: #35120c;
  transform: scale(1.08);
}

.photo-caption {
  position: static;
  flex: 0 0 auto;
  width: 100%;
  box-sizing: border-box;
  z-index: 2;
  padding: 12px 20px 10px;
  background: #090505;
  pointer-events: none;
}

.photo-caption strong {
  display: block;
  font-size: .9rem;
  line-height: 1.35;
}

.photo-caption small {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.72);
  font-size: .68rem;
  line-height: 1.4;
}

.photo-caption span {
  display: block;
  margin-top: 5px;
  color: var(--gold);
  font-size: .62rem;
}

.photo-main-image-wrap:hover .photo-caption {
  background: none;
}

.photo-hint {
  flex: 0 0 auto;
  margin: 8px 20px 14px;
  color: rgba(255,255,255,.4);
  font-size: .62rem;
  text-align: center;
}

@media (max-width: 760px) {
  .album-summary-dialog {
    height: min(760px,92vh);
  }

  .album-summary {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px 18px 4px;
  }

  .album-summary-image-wrap {
    height: min(42vh,360px);
    min-height: 200px;
  }

  .album-summary-details {
    padding: 0 4px;
  }

  .album-summary-details small {
    margin-top: 7px;
  }

  .photo-dialog {
    width: 94vw;
    height: auto;
    max-height: 94svh;
    border-radius: 16px;
  }

  .photo-viewer-main {
    grid-template-columns: 42px minmax(0,1fr) 42px;
    gap: 4px;
    padding: 8px 6px;
    flex: 0 0 auto;
  }

  .photo-main-image-wrap {
    width: 100%;
    height: auto;
  }

  .photo-main-image-wrap img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: calc(94svh - 230px);
    object-fit: contain;
  }

  .photo-nav {
    width: 42px;
    height: 42px;
    font-size: 29px;
  }

  .photo-caption {
    position: static;
    padding: 12px 12px 10px;
    background: #090505;
  }
}

/* =========================================================
   VIDEOS
   ========================================================= */

.videos-section {
  background:
    linear-gradient(
      180deg,
      #fffaf5 0%,
      #fff 100%
    );
}

.video-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 22px;

  min-width: 0;
}

.video-card {
  min-width: 0;
}

.video-card-button {
  width: 100%;

  padding: 0;

  border: 1px solid var(--line);

  border-radius: 22px;

  overflow: hidden;

  background: #fff;

  color: var(--ink);

  text-align: left;

  cursor: pointer;

  box-shadow:
    0 12px 35px rgba(55, 24, 12, .07);

  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}

.video-card-button:hover {
  transform: translateY(-8px);

  box-shadow:
    0 24px 55px rgba(55, 24, 12, .16);

  border-color:
    rgba(217, 144, 34, .45);
}

.video-thumbnail {
  position: relative;

  display: block;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  background:
    linear-gradient(
      135deg,
      #4e1010,
      #9c3824
    );
}

.video-thumbnail img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition:
    transform .6s ease,
    filter .45s ease;
}

.video-card-button:hover .video-thumbnail img {
  transform: scale(1.06);

  filter: saturate(1.08);
}

.video-shade {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(20, 4, 3, .08),
      rgba(20, 4, 3, .7)
    );

  pointer-events: none;
}

.video-play {
  position: absolute;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%);

  width: 66px;
  height: 66px;

  display: grid;
  place-items: center;

  padding-left: 4px;

  border-radius: 50%;

  background: rgba(255, 255, 255, .94);

  color: var(--maroon);

  font-size: 22px;

  box-shadow:
    0 12px 35px rgba(0, 0, 0, .25);

  transition:
    transform .3s ease,
    background .3s ease;
}

.video-card-button:hover .video-play {
  transform:
    translate(-50%, -50%)
    scale(1.1);

  background: var(--gold);

  color: #2b1110;
}

.video-category {
  position: absolute;

  left: 14px;
  bottom: 14px;

  padding: 7px 11px;

  border-radius: 999px;

  background: rgba(25, 9, 6, .72);

  color: #fff;

  backdrop-filter: blur(10px);

  font-size: .62rem;

  font-weight: 800;
}

.video-card-content {
  display: block;

  padding: 18px 18px 20px;

  min-width: 0;
}

.video-card-content strong {
  display: block;

  min-height: 48px;

  color: var(--maroon);

  font-size: 1rem;

  line-height: 1.5;

  overflow-wrap: anywhere;
}

.video-card-content small {
  display: block;

  min-height: 46px;

  margin-top: 7px;

  color: var(--muted);

  font-size: .73rem;

  line-height: 1.65;
}

.video-meta {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 10px;

  margin-top: 15px;

  padding-top: 13px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  font-size: .68rem;
}

.video-meta b {
  color: var(--maroon);

  white-space: nowrap;
}

/* =========================================================
   VIDEO VIEWER
   ========================================================= */

.video-viewer {
  position: fixed;

  inset: 0;

  z-index: 6500;

  display: grid;

  place-items: center;

  padding: 24px;

  opacity: 0;

  visibility: hidden;

  transition:
    opacity .3s ease,
    visibility .3s ease;
}

.video-viewer.open {
  opacity: 1;

  visibility: visible;
}

.video-backdrop {
  position: absolute;

  inset: 0;

  background: rgba(10, 4, 4, .88);

  backdrop-filter: blur(8px);
}

.video-dialog {
  position: relative;

  z-index: 1;

  width: min(1080px, 96vw);

  max-height: 94vh;

  overflow: auto;

  border: 1px solid rgba(255, 255, 255, .13);

  border-radius: 24px;

  background: #180b0a;

  color: #fff;

  box-shadow:
    0 35px 100px rgba(0, 0, 0, .55);

  padding: 28px;

  transform:
    translateY(20px)
    scale(.98);

  transition:
    transform .35s ease;
}

.video-viewer.open .video-dialog {
  transform: none;
}

.video-close {
  position: absolute;

  right: 17px;
  top: 15px;

  z-index: 20;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, .15);

  border-radius: 50%;

  background: rgba(255, 255, 255, .08);

  color: #fff;

  font-size: 27px;

  line-height: 1;

  cursor: pointer;

  transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), background-color .25s ease, color .25s ease;
}

.video-close:hover,
.video-close:focus-visible {
  background: var(--gold);

  color: #35120c;

  transform: rotate(90deg);
}

.video-close:active {
  transform: rotate(90deg) scale(.88);
}

.video-dialog-head {
  display: flex;

  justify-content: space-between;

  gap: 24px;

  padding: 4px 62px 22px 4px;

  min-width: 0;
}

.video-dialog-head h2 {
  margin: 7px 0 5px;

  font-size: clamp(1.35rem, 3vw, 2.1rem);
}

.video-dialog-head p {
  margin: 0;

  max-width: 720px;

  color: rgba(255, 255, 255, .62);

  font-size: .8rem;

  line-height: 1.7;
}

.video-modal-date {
  align-self: flex-end;

  flex: 0 0 auto;

  color: rgba(255, 255, 255, .5);

  font-size: .72rem;
}

.video-frame-wrap {
  position: relative;

  aspect-ratio: 16 / 9;

  overflow: hidden;

  border-radius: 17px;

  background: #080404;

  box-shadow:
    0 15px 50px rgba(0, 0, 0, .35);
}

.video-frame-wrap iframe {
  width: 100%;
  height: 100%;

  display: block;

  border: 0;
}

/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1180px) {

  .nav-wrap {
    width: calc(100% - 150px);
  }

  .main-nav a {
    padding-inline: 5px;

    font-size: .68rem;
  }

  .main-nav .nav-donate {
    padding-inline: 9px;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-wrap {
    width: calc(100% - 150px);

    min-height: 72px;
  }
}

/* =========================================================
   980px
   ========================================================= */

@media (max-width: 980px) {

  .corner-logo {
    width: 58px;
    height: 58px;
  }

  .corner-logo-left {
    left: 10px;
  }

  .corner-logo-right {
    right: 10px;
  }

  .nav-wrap {
    width: calc(100% - 140px);

    min-height: 72px;
  }

  .hero-inner,
  .split,
  .contact-layout {
    /* minmax(0, 1fr), not a bare 1fr: an implicit-minimum 1fr track
       won't shrink below its content's max-content (unwrapped) width,
       so the grid item stays exactly as wide as its widest unwrapped
       line needs — for .hero-inner that's the hero <h1>, whose
       clamp()-sized Tamil headline can easily be wider than a phone
       viewport, pushing the item (and the page) into horizontal
       overflow instead of the overflow-wrap:anywhere rule on that h1
       (see style-original.css's .hero h1) ever getting the chance to
       wrap it. minmax(0, 1fr) gives the track an explicit 0 minimum,
       so it shrinks to the available width like every other grid
       track here already does, and the h1 wraps/breaks inside it. */
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-art {
    min-height: 360px;

    order: -1;
  }

  .hero-copy {
    padding-top: 40px;
  }

  .mandala {
    width: 100%;
  }

  /* Same reasoning as the narrower breakpoint below: the image now
     spans the full container width, leaving too little margin for a
     half-out badge at its usual 50%-of-width overhang. */
  .edge-left {
    transform: translateX(-10px);
  }

  .edge-right {
    transform: translateX(10px);
  }

  .mandala-core {
    font-size: 3.4rem;
  }

  .people-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .footer-main {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .gallery-grid-large {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .album-grid {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  /*
   * IMPORTANT:
   * Header now uses the full available width.
   *
   * We no longer subtract 112px because that becomes disastrous
   * when the CSS viewport is reduced by browser zoom.
   */
  .nav-wrap {
    width: 100%;
    max-width: 100%;

    min-height: 68px;

    padding-inline: 58px;

    gap: 8px;
  }

  .corner-logo {
    width: 44px;
    height: 44px;

    top: 10px;
  }

  .corner-logo-left {
    left: 6px;
  }

  .corner-logo-right {
    right: 6px;
  }

  /*
   * Hamburger always has its own protected space.
   */
  .menu-toggle {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    position: relative;

    z-index: 2500;
  }

  .brand {
    max-width: none;

    flex: 1 1 auto;

    min-width: 0;
  }

  .brand-logo {
    height: 42px;

    width: auto;

    max-width: 100%;

    min-width: 0;
  }

  .brand small {
    display: none;
  }

  /*
   * Mobile dropdown.
   *
   * Attach it to the header rather than relying on the narrow
   * nav-wrap width.
   */
  .main-nav {
    position: absolute;

    top: 68px;

    left: 10px;
    right: 10px;

    width: auto;

    display: none;

    flex-direction: column;

    align-items: stretch;

    gap: 0;

    background: #4e1010;

    border-radius: 16px;

    padding: 10px;

    box-shadow: var(--shadow);

    z-index: 2400;

    white-space: normal;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;

    padding: 12px 14px;

    font-size: .78rem;

    white-space: normal;
  }

  .main-nav .nav-donate {
    margin: 5px 0 0;

    text-align: center;

    padding: 12px 14px;
  }

  .hero h1 {
    font-size:
      clamp(
        2.5rem,
        12vw,
        4rem
      );
  }

  .hero-inner {
    padding-top: 70px;

    gap: 0;
  }

  .hero-art {
    min-height: 270px;
  }

  .mandala {
    width: 100%;
  }

  /* The image now fills the full container width here, leaving very
     little margin to the viewport edge - a half-out badge at that
     size would hang off-screen. Shrink the overhang so it still
     peeks past the image edge without leaving the viewport. */
  .edge-left {
    transform: translateX(-10px);
  }

  .edge-right {
    transform: translateX(10px);
  }

  .mandala-core {
    font-size: 2.6rem;
  }

  .section {
    padding: 75px 0;
  }

  .section-title-row {
    display: block;
  }

  .section-title-row > p {
    margin-top: 14px;
  }

  .people-grid,
  .events-grid,
  .gallery-grid,
  .gallery-grid-large,
  .donation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .event-card {
    grid-template-columns:
      80px
      minmax(0, 1fr);

    padding: 17px;
  }

  .event-date {
    height: 80px;
  }

  .footer-main {
    grid-template-columns:
      1fr 1fr;

    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .split {
    gap: 25px;
  }

  .contact-layout {
    gap: 35px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    right: 10px;
  }

  .gallery-intro-note {
    align-items: flex-start;

    flex-direction: column;
  }

  .album-grid {
    grid-template-columns:
      1fr 1fr;

    gap: 12px;
  }

  .album-card-content {
    padding: 13px;
  }

  .album-card-content strong {
    min-height: 58px;

    font-size: .86rem;
  }

  .album-card-content small {
    display: none;
  }

  .album-open-label {
    font-size: .62rem;
  }

  .album-viewer {
    padding: 8px;

    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  .album-dialog {
    width: 100%;

    height: auto;

    max-height: 96dvh;

    border-radius: 18px;
  }

  .album-dialog-head {
    padding:
      16px
      72px
      12px
      16px;
  }

  .album-main {
    grid-template-columns:
      42px
      minmax(0, 1fr)
      42px;

    gap: 4px;

    padding: 0 7px;
  }

  .album-main-image-wrap {
    min-height: 0;

    height: 100%;
  }

  .album-main-image {
    max-height: 100%;
  }

  .album-nav {
    width: 40px;
    height: 40px;

    font-size: 28px;
  }

  .album-thumbs {
    padding-inline: 13px;
  }

  .album-thumb {
    flex-basis: 64px;

    width: 64px;
    height: 52px;
  }

  .album-hint {
    display: none;
  }

  .video-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .video-dialog {
    width: 100%;

    padding: 18px;

    border-radius: 18px;
  }

  .video-dialog-head {
    display: block;

    padding:
      3px
      52px
      16px
      2px;
  }

  .video-modal-date {
    display: block;

    margin-top: 9px;
  }

  .video-frame-wrap {
    border-radius: 12px;
  }
}

/* =========================================================
   VERY SMALL CSS VIEWPORT
   =========================================================
   
   This is the important part for browser zoom levels
   such as 133%, 150%, 175%, etc.
   ========================================================= */

@media (max-width: 500px) {

  .nav-wrap {
    padding-inline: 52px 52px;

    min-height: 64px;
  }

  .corner-logo {
    width: 38px;
    height: 38px;

    top: 12px;
  }

  .corner-logo-left {
    left: 5px;
  }

  .corner-logo-right {
    right: 5px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;

    flex-basis: 40px;
  }

  .brand-logo {
    height: 38px;

    max-width: 100%;
  }

  .main-nav {
    top: 64px;

    left: 6px;
    right: 6px;

    padding: 8px;
  }

  .main-nav a {
    padding:
      10px
      11px;

    font-size: .75rem;
  }

  .hero-inner {
    padding-top: 64px;
  }

  .container {
    width: calc(100% - 24px);
  }
}

/* =========================================================
   ULTRA NARROW CSS VIEWPORT
   ========================================================= */

@media (max-width: 360px) {

  .nav-wrap {
    padding-inline: 44px;

    gap: 5px;
  }

  .corner-logo {
    width: 34px;
    height: 34px;

    top: 14px;
  }

  .corner-logo-left {
    left: 3px;
  }

  .corner-logo-right {
    right: 3px;
  }

  .brand-logo {
    height: 34px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;

    flex-basis: 38px;

    border-radius: 10px;
  }

  .menu-toggle span {
    width: 21px;
  }

  .main-nav {
    top: 62px;

    left: 5px;
    right: 5px;
  }

  .container {
    width: calc(100% - 18px);
  }

  .event-card {
    grid-template-columns:
      1fr;
  }

  .event-date {
    width: 80px;
  }

  .detail-row {
    flex-direction: column;

    align-items: flex-start;

    gap: 4px;
  }

  .detail-row strong {
    text-align: left;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

/*
 * Animations remain enabled even when the browser requests reduced motion.
 * The site's decorative motion is intentionally preserved for the visual design.
 * The mandala rotation remains disabled separately in the existing .mandala rule.
 */

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes breathe {
  50% {
    transform: scale(1.1);

    opacity: .65;
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes counterRotate {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}

@keyframes particle {

  0% {
    transform: translateY(0);

    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100px);

    opacity: 0;
  }
}

@keyframes albumImageIn {

  from {
    opacity: 0;

    transform: scale(.985);
  }

  to {
    opacity: 1;

    transform: none;
  }
}
/* =========================================================
   DEVOTIONAL VISUAL REFRESH
   ========================================================= */

.section-soft {
  background:
    radial-gradient(circle at 10% 15%, rgba(229,180,92,.11), transparent 24%),
    radial-gradient(circle at 90% 85%, rgba(123,30,30,.07), transparent 25%),
    linear-gradient(180deg, rgba(255,250,242,.96), rgba(255,255,255,.92));
}

.section-title-row > div {
  position: relative;
  padding-top: 8px;
}

.section-title-row > div::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: -10px;
  color: var(--gold);
  font-size: .72rem;
  letter-spacing: .3em;
}

.section-title-row > div::after {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 74px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: .9;
}

#committee {
  position: relative;
  overflow: hidden;
}

#committee::before {
  content: "ॐ";
  position: absolute;
  right: -25px;
  top: 70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(123,30,30,.08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: rgba(123,30,30,.06);
  font-size: 5rem;
  pointer-events: none;
  box-shadow:
    0 0 0 22px rgba(229,180,92,.025),
    0 0 0 44px rgba(123,30,30,.02);
}

.people-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.person-card {
  border: 1px solid rgba(123,30,30,.13);
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fff 0%, #fffaf4 100%);
  box-shadow: 0 10px 28px rgba(55,24,12,.055);
}

.person-card::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.person-photo-wrap {
  aspect-ratio: 1.08;
  margin: 10px 10px 0;
  border-radius: 14px;
  background: #f1dfbd;
}

.person-photo {
  object-position: center 18%;
}

.person-info {
  padding: 14px 16px 17px;
  text-align: center;
}

.person-info h3 {
  color: #3b2118;
  font-size: .96rem;
  line-height: 1.45;
}

.person-role {
  color: var(--maroon);
  font-size: .72rem;
}

.phone-link {
  display: inline-block;
  margin-top: 4px;
  font-size: .7rem;
}

.videos-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(229,180,92,.12), transparent 30%),
    linear-gradient(180deg, #fffaf2 0%, #ffffff 72%);
}

.video-card-button {
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(55,24,12,.075);
}

.video-thumbnail {
  background: linear-gradient(135deg, #5a1715, #b46c24);
}

.video-play {
  width: 58px;
  height: 58px;
  font-size: 19px;
  border: 2px solid rgba(255,255,255,.72);
}

.video-card-content strong {
  color: #5e1717;
}

.video-dialog {
  border: 1px solid rgba(229,180,92,.24);
  background:
    radial-gradient(circle at 50% 0%, rgba(229,180,92,.11), transparent 30%),
    #180b0a;
}

.section-dark {
  background:
    radial-gradient(circle at 50% 0%, rgba(229,180,92,.12), transparent 32%),
    linear-gradient(180deg, #3a0909 0%, #4e1010 100%);
}

@media (max-width: 1180px) {
  .people-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .people-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .person-photo-wrap {
    margin: 8px 8px 0;
  }

  .person-info {
    padding: 12px 9px 14px;
  }

  .person-info h3 {
    font-size: .85rem;
  }
}

@media (max-width: 420px) {
  .people-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .corner-logo-right{
    right: 4px;
  }
}

/* =========================================================
   VEL-VALIPADU IMAGE-DERIVED DEVOTIONAL PALETTE
   ========================================================= */

:root {
  /* Balanced from the reference image: deep kumkum/maroon, saffron,
     turmeric gold, natural temple green, earthy brown and sandalwood ivory. */
  --maroon: #7A241C;
  --maroon-dark: #4B1711;
  --saffron: #D8891C;
  --gold: #E9B63F;
  --temple-green: #5F7136;
  --green-dark: #3F5426;
  --cream: #FFF0D2;
  --paper: #FFFBF3;
  --brown: #67452C;
  --ink: #33231B;
  --muted: #756255;
  --line: rgba(75, 23, 17, .14);
  --shadow: 0 18px 50px rgba(75, 23, 17, .12);
}

body { color: var(--ink); background-color: var(--paper); }
body::after { background: rgba(255, 240, 210, .12); }

.site-header.scrolled { background: rgba(75, 23, 17, .96); }

.main-nav .nav-donate,
.btn-primary { background: var(--gold); color: #3A180D; }

.main-nav a:hover,
.person-role,
.event-actions,
.video-card-content strong,
.video-meta b { color: var(--maroon); }

.main-nav a:hover { color: var(--gold); }

.hero {
  background:
    radial-gradient(circle at 72% 38%, #A94422 0, #7A241C 38%, #4B1711 100%);
}

.hero::before {
  background:
    radial-gradient(circle at 20% 20%, rgba(233, 182, 63, .18), transparent 30%),
    radial-gradient(circle at 85% 70%, rgba(95, 113, 54, .14), transparent 26%),
    linear-gradient(135deg, rgba(255, 240, 210, .05), transparent 45%);
}

.section { background: rgba(255, 251, 243, .94); }

.section-soft,
.videos-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(233, 182, 63, .12), transparent 24%),
    radial-gradient(circle at 90% 85%, rgba(95, 113, 54, .10), transparent 25%),
    linear-gradient(180deg, rgba(255, 240, 210, .97), rgba(255, 251, 243, .94));
}

.section-dark {
  background:
    radial-gradient(circle at 18% 15%, rgba(95, 113, 54, .14), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(233, 182, 63, .14), transparent 32%),
    linear-gradient(180deg, #4B1711 0%, #681B14 100%);
}

.event-date { background: var(--maroon); }

.category-tab:hover,
.category-tab.active {
  background: var(--gold);
  border-color: var(--gold);
}

/* Green is a supporting devotional/natural accent, not the primary brand colour. */
.section .eyebrow,
.section-soft .eyebrow,
.service-pills span::before,
.footer-links a:hover { color: var(--temple-green); }

.person-card {
  border-color: rgba(95, 113, 54, .16);
  background: linear-gradient(180deg, #FFFEFA 0%, #FFF5E5 100%);
}

.person-photo-wrap { background: #E4C78E; }

.video-thumbnail { background: linear-gradient(135deg, #5A1912, #A86D1D); }

.video-card-button:hover { border-color: rgba(233, 182, 63, .5); }

.video-viewer .video-dialog {
  border-color: rgba(233, 182, 63, .28);
  background:
    radial-gradient(circle at 20% 0%, rgba(95, 113, 54, .13), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(233, 182, 63, .10), transparent 30%),
    #24110D;
}

.gallery-page .site-header { background: rgba(75, 23, 17, .96); }
.btn-light { color: var(--maroon); }

.service-pills span {
  background: #FFFDF8;
  border-color: rgba(95, 113, 54, .18);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}


/* =========================================================
   VEL-VALIPADU PALETTE — VISIBLE APPLICATION
   ========================================================= */

/* The reference palette must be visible in the composition itself,
   not only declared as unused CSS variables. */
.site-header {
  background: linear-gradient(
    90deg,
    rgba(75, 23, 17, .94) 0%,
    rgba(122, 36, 28, .86) 58%,
    rgba(63, 84, 38, .82) 100%
  );
}

.site-header.scrolled,
.gallery-page .site-header {
  background: linear-gradient(
    90deg,
    rgba(75, 23, 17, .97) 0%,
    rgba(104, 27, 20, .95) 58%,
    rgba(63, 84, 38, .94) 100%
  );
}

.hero {
  background:
    radial-gradient(circle at 72% 38%, rgba(216, 137, 28, .34), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(95, 113, 54, .38), transparent 36%),
    linear-gradient(110deg, #4B1711 0%, #7A241C 48%, #5F7136 100%);
}

.hero::before {
  background:
    radial-gradient(circle at 18% 18%, rgba(233, 182, 63, .20), transparent 27%),
    radial-gradient(circle at 78% 62%, rgba(63, 84, 38, .22), transparent 31%),
    linear-gradient(135deg, rgba(255, 240, 210, .06), transparent 48%);
}

.hero .eyebrow,
.hero-meta b {
  color: var(--gold);
}

.hero h1 em {
  color: var(--gold);
}

.hero-glow.glow-one {
  background: var(--gold);
}

.hero-glow.glow-two {
  background: var(--temple-green);
}

.section-soft {
  background:
    radial-gradient(circle at 8% 20%, rgba(95, 113, 54, .12), transparent 24%),
    radial-gradient(circle at 92% 80%, rgba(233, 182, 63, .13), transparent 25%),
    linear-gradient(180deg, #FFF0D2 0%, #FFFBF3 100%);
}

.section-dark {
  background:
    radial-gradient(circle at 80% 35%, rgba(95, 113, 54, .24), transparent 30%),
    radial-gradient(circle at 25% 0%, rgba(233, 182, 63, .13), transparent 28%),
    linear-gradient(115deg, #4B1711 0%, #681B14 62%, #3F5426 100%);
}

.donation-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(95, 113, 54, .13), transparent 25%),
    linear-gradient(135deg, #FFF0D2, #FFFBF3);
}

.contact-section {
  background:
    radial-gradient(circle at 10% 80%, rgba(95, 113, 54, .10), transparent 25%),
    #FFFBF3;
}

.event-status {
  color: var(--green-dark);
  background: rgba(95, 113, 54, .12);
}

.service-pills span {
  border-color: rgba(95, 113, 54, .24);
  box-shadow: inset 3px 0 0 rgba(95, 113, 54, .55);
}

.pagination button.active {
  background: var(--temple-green);
  border-color: var(--temple-green);
}

.site-footer {
  background:
    radial-gradient(circle at 82% 20%, rgba(95, 113, 54, .22), transparent 28%),
    linear-gradient(115deg, #3F5426 0%, #4B1711 58%, #681B14 100%);
}

.footer-bottom {
  border-top-color: rgba(233, 182, 63, .20);
}

.back-top {
  background: var(--temple-green);
  color: #FFF8E8;
}

@media (max-width: 900px) {
  .site-header {
    background: rgba(75, 23, 17, .96);
  }
}


/* =========================================================
   VEL-VALIPADU BALANCE — GREEN 50% / WARM TONES 50%
   ========================================================= */

/* Green is now a co-primary colour. The composition deliberately gives
   approximately half of the large colour fields to green. */
.site-header {
  background: linear-gradient(
    90deg,
    #4B1711 0%,
    #7A241C 49%,
    #5F7136 50%,
    #4F642D 100%
  );
}

.site-header.scrolled,
.gallery-page .site-header {
  background: linear-gradient(
    90deg,
    #4B1711 0%,
    #681B14 49%,
    #50652E 50%,
    #3F5426 100%
  );
}

.hero {
  background:
    radial-gradient(circle at 24% 35%, rgba(233, 182, 63, .18), transparent 25%),
    radial-gradient(circle at 75% 32%, rgba(233, 182, 63, .16), transparent 23%),
    linear-gradient(
      90deg,
      #4B1711 0%,
      #7A241C 49%,
      #647A38 50%,
      #4F642D 100%
    );
}

.hero::before {
  background:
    radial-gradient(circle at 18% 22%, rgba(233, 182, 63, .18), transparent 24%),
    radial-gradient(circle at 76% 55%, rgba(255, 240, 210, .10), transparent 25%),
    radial-gradient(circle at 92% 82%, rgba(63, 84, 38, .30), transparent 28%);
}

.section-soft {
  background:
    linear-gradient(
      90deg,
      #FFF0D2 0%,
      #FFFBF3 49%,
      #E9EEDC 50%,
      #DDE6C9 100%
    );
}

.videos-section {
  background:
    linear-gradient(
      90deg,
      #FFFBF3 0%,
      #FFF0D2 49%,
      #E9EEDC 50%,
      #D7E2C1 100%
    );
}

.section-dark {
  background:
    linear-gradient(
      90deg,
      #4B1711 0%,
      #681B14 49%,
      #50652E 50%,
      #3F5426 100%
    );
}

.donation-section {
  background:
    linear-gradient(
      90deg,
      #FFF0D2 0%,
      #FFFBF3 49%,
      #E9EEDC 50%,
      #DDE6C9 100%
    );
}

.contact-section {
  background:
    linear-gradient(
      90deg,
      #FFFBF3 0%,
      #FFF0D2 49%,
      #E9EEDC 50%,
      #DDE6C9 100%
    );
}

.site-footer {
  background:
    linear-gradient(
      90deg,
      #4B1711 0%,
      #681B14 49%,
      #50652E 50%,
      #3F5426 100%
    );
}

/* Green secondary surfaces */
.category-tab.active {
  background: var(--temple-green);
  border-color: var(--temple-green);
  color: #FFF8E8;
}

.category-tab:hover {
  background: #6E8045;
  border-color: #6E8045;
  color: #FFF8E8;
}

.pagination button.active {
  background: var(--temple-green);
  border-color: var(--temple-green);
}

.back-top {
  background: var(--green-dark);
}

.event-date {
  background: linear-gradient(135deg, var(--maroon), var(--temple-green));
}

.service-pills span {
  background: rgba(95, 113, 54, .10);
  border-color: rgba(63, 84, 38, .28);
  box-shadow: inset 4px 0 0 var(--temple-green);
}

@media (max-width: 900px) {
  .site-header {
    background: linear-gradient(
      90deg,
      rgba(75, 23, 17, .97) 0%,
      rgba(75, 23, 17, .97) 49%,
      rgba(63, 84, 38, .97) 50%,
      rgba(63, 84, 38, .97) 100%
    );
  }

  .hero {
    background:
      linear-gradient(
        180deg,
        #4B1711 0%,
        #7A241C 49%,
        #647A38 50%,
        #4F642D 100%
      );
  }
}


/* =========================================================
   FINAL VEL-VALIPADU DESIGN BALANCE
   Green = ~50% of the overall visual language, NOT 50% of each
   section and NOT a left/right split.
   ========================================================= */

/* Primary navigation: green is now one of the main brand surfaces. */
.site-header {
  background: var(--green-dark);
}

.site-header.scrolled,
.gallery-page .site-header {
  background: var(--green-dark);
}

/* Hero stays predominantly warm, with green used as a substantial
   secondary visual mass and glow. */
.hero {
  background:
    radial-gradient(circle at 78% 32%, rgba(95, 113, 54, .72), transparent 34%),
    radial-gradient(circle at 88% 78%, rgba(63, 84, 38, .78), transparent 30%),
    linear-gradient(135deg, #4B1711 0%, #7A241C 58%, #5F7136 100%);
}

.hero::before {
  background:
    radial-gradient(circle at 72% 28%, rgba(233, 182, 63, .22), transparent 25%),
    radial-gradient(circle at 90% 70%, rgba(95, 113, 54, .38), transparent 32%);
}

/* Green-led light sections. */
.section-soft,
.videos-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(233, 182, 63, .13), transparent 22%),
    linear-gradient(180deg, #EEF2E3 0%, #DDE6C9 100%);
}

.donation-section {
  background:
    radial-gradient(circle at 82% 20%, rgba(233, 182, 63, .18), transparent 24%),
    linear-gradient(180deg, #E9EEDC 0%, #D7E2C1 100%);
}

/* Keep selected major areas warm so green has contrast and does not
   turn the whole website monochrome. */
.contact-section {
  background:
    radial-gradient(circle at 12% 78%, rgba(95, 113, 54, .18), transparent 25%),
    #FFF0D2;
}

/* Green becomes a real component colour, not just a border accent. */
.person-card {
  border-color: rgba(63, 84, 38, .25);
  background: linear-gradient(180deg, #F8FAF0 0%, #E5EBD5 100%);
}

.person-card:hover {
  border-color: var(--temple-green);
  box-shadow: 0 16px 40px rgba(63, 84, 38, .18);
}

.event-card {
  border-color: rgba(63, 84, 38, .22);
}

.event-card:hover {
  border-color: var(--temple-green);
}

.event-date {
  background: var(--temple-green);
}

.event-status {
  color: var(--green-dark);
  background: rgba(95, 113, 54, .16);
}

/* Green category controls, alternating with gold to retain the
   saffron/gold identity from the reference image. */
.category-tab.active,
.pagination button.active {
  background: var(--temple-green);
  border-color: var(--temple-green);
  color: #FFF8E8;
}

.category-tab:hover {
  background: #6E8045;
  border-color: #6E8045;
  color: #FFF8E8;
}

.main-nav .nav-donate,
.btn-primary {
  background: var(--gold);
  color: #3A180D;
}

.btn-secondary:hover,
.btn-light:hover {
  background: var(--temple-green);
  border-color: var(--temple-green);
  color: #FFF8E8;
}

/* Green visual identity for service/info chips. */
.service-pills span {
  background: rgba(95, 113, 54, .13);
  border-color: rgba(63, 84, 38, .30);
  color: var(--green-dark);
  box-shadow: inset 4px 0 0 var(--temple-green);
}

/* Green-led gallery surfaces while retaining warm image colours. */
.gallery-grid .gallery-item::after {
  background: linear-gradient(180deg, transparent 45%, rgba(63, 84, 38, .72));
}

.gallery-filter button.active {
  background: var(--temple-green);
  border-color: var(--temple-green);
  color: #FFF8E8;
}

/* Videos retain warm thumbnails; surrounding UI supplies the green balance. */
.video-card {
  border-color: rgba(95, 113, 54, .22);
}

.video-card:hover {
  border-color: var(--temple-green);
  box-shadow: 0 16px 40px rgba(63, 84, 38, .16);
}

/* Footer is intentionally green-led rather than another maroon block. */
.site-footer {
  background:
    radial-gradient(circle at 18% 20%, rgba(233, 182, 63, .16), transparent 24%),
    linear-gradient(135deg, #3F5426 0%, #50652E 58%, #4B1711 100%);
}

.back-top {
  background: var(--green-dark);
}

.back-top:hover {
  background: var(--saffron);
  color: #3A180D;
}

/* Green is also used in headings/labels across light surfaces. */
.section .eyebrow,
.section-soft .eyebrow,
.donation-section .eyebrow,
.contact-section .eyebrow {
  color: var(--green-dark);
}

.section-title::after {
  background: linear-gradient(90deg, var(--temple-green), var(--gold));
}

/* Responsive: use green as a full mobile header surface rather than
   reverting to the old maroon-only treatment. */
@media (max-width: 900px) {
  .site-header,
  .site-header.scrolled,
  .gallery-page .site-header {
    background: var(--green-dark);
  }
}

/* =========================================================
   FINAL SOLID VEL-VALIPADU COLOUR SYSTEM
   No colour gradients. Green is ~50% of the overall visual
   language through separate sections/components, NOT halves.
   ========================================================= */
:root {
  --vv-green: #5F7136;
  --vv-green-dark: #3F5426;
  --vv-green-light: #E6EDD5;
  --vv-maroon: #7A241C;
  --vv-maroon-dark: #4B1711;
  --vv-saffron: #D8891C;
  --vv-gold: #E9B63F;
  --vv-cream: #FFF0D2;
  --vv-ivory: #FFFBF3;
}

/* Separate solid colour surfaces. */
.site-header,
.site-header.scrolled,
.gallery-page .site-header { background: var(--vv-green-dark) !important; background-image: none !important; }

.hero { background: var(--vv-maroon) !important; background-image: none !important; }
.hero::before { background: rgba(95,113,54,.14) !important; background-image: none !important; }

.hero-art {
  background: var(--vv-green) !important;
  background-image: none !important;
  border-radius: 34px;
  padding: 28px;
}
.hero-art .mandala-core {
  background: rgba(233,182,63,.16) !important;
  background-image: none !important;
}

.intro-section { background: var(--vv-cream) !important; background-image: none !important; }
.section-soft { background: var(--vv-green-light) !important; background-image: none !important; }
#events.section { background: var(--vv-ivory) !important; background-image: none !important; }
.videos-section { background: var(--vv-green-light) !important; background-image: none !important; }
.section-dark { background: var(--vv-maroon-dark) !important; background-image: none !important; }
.donation-section { background: var(--vv-green) !important; background-image: none !important; color:#FFF8E8; }
.donation-section .eyebrow,
.donation-section h2,
.donation-section p { color:#FFF8E8; }
.contact-section { background: var(--vv-cream) !important; background-image: none !important; }
.site-footer { background: var(--vv-green-dark) !important; background-image: none !important; }
.gallery-page-section { background: var(--vv-cream) !important; background-image: none !important; }

.person-card {
  background: var(--vv-ivory) !important;
  background-image: none !important;
  border-color: rgba(63,84,38,.28);
}
.person-card:hover { border-color: var(--vv-green); }
.event-card {
  background:#FFF8EA !important;
  background-image:none !important;
  border-color:rgba(122,36,28,.18);
}
.event-date { background:var(--vv-green) !important; background-image:none !important; }
.event-status { background:var(--vv-green-light) !important; color:var(--vv-green-dark); }
.video-card {
  background:var(--vv-ivory) !important;
  background-image:none !important;
  border-color:rgba(63,84,38,.25);
}
.video-thumbnail { background:var(--vv-maroon-dark) !important; background-image:none !important; }
.album-card,
.gallery-card {
  background:var(--vv-green-dark) !important;
  background-image:none !important;
}
.gallery-grid .gallery-item::after,
.album-card::after { background:rgba(63,84,38,.62) !important; background-image:none !important; }

.service-pills span {
  background:var(--vv-green-light) !important;
  background-image:none !important;
  border-color:rgba(63,84,38,.30);
  color:var(--vv-green-dark);
}
.category-tab.active,
.pagination button.active,
.gallery-filter button.active {
  background:var(--vv-green) !important;
  background-image:none !important;
  border-color:var(--vv-green);
  color:#FFF8E8;
}
.category-tab:hover,
.gallery-filter button:hover {
  background:var(--vv-saffron) !important;
  background-image:none !important;
  border-color:var(--vv-saffron);
  color:#35120C;
}
.btn-primary,
.main-nav .nav-donate {
  background:var(--vv-gold) !important;
  background-image:none !important;
  color:#35120C;
}
.btn-light { background:#FFF !important; background-image:none !important; color:var(--vv-maroon); }
.back-top { background:var(--vv-green-dark) !important; background-image:none !important; }
.section-title::after { background:var(--vv-green) !important; background-image:none !important; }

.album-dialog,
.photo-dialog,
.video-dialog,
.video-viewer .video-dialog {
  background:var(--vv-maroon-dark) !important;
  background-image:none !important;
}
.hero-glow,
.hero-particles { background-image:none !important; }

@media (max-width:900px) {
  .site-header,
  .site-header.scrolled,
  .gallery-page .site-header {
    background:var(--vv-green-dark) !important;
    background-image:none !important;
  }
  .hero { background:var(--vv-maroon) !important; background-image:none !important; }
  .hero-art { background:var(--vv-green) !important; background-image:none !important; }
}

/* HARD RULE: no colour gradients anywhere in the site. */
*:not(body::before),
*:not(body::after) {
  background-image: none !important;
}
body::before {
  background-image: url("../assets/images/bodybg/bgimage.jpeg") !important;
}
body::after {
  background-image: none !important;
}

/* Valid global gradient removal: restore only the existing body photo. */
*, *::before, *::after {
  background-image: none !important;
}
body::before {
  background-image: url("../assets/images/bodybg/bgimage.jpeg") !important;
}


/* =========================================================
   FINAL TARGETED FIXES
   Keep all other styling unchanged.
   ========================================================= */

/* 1) Hero artwork block: restore the original warm hero surface.
   The green should NOT occupy this artwork block. */
.hero-art {
  background: transparent !important;
  background-image: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.hero-art .mandala-core {
  background: rgba(255, 220, 150, .12) !important;
  background-image: none !important;
}

/* 2) Donation details: stronger contrast, spacing and hierarchy so
   every bank/UPI detail remains readable on the green section. */
.donation-section {
  background: var(--vv-green) !important;
  color: #FFF8E8;
}

.donation-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}

.donation-card {
  background: #FFFDF8 !important;
  color: #33231B !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  border-radius: 22px !important;
  padding: 30px !important;
  box-shadow: 0 14px 36px rgba(40, 58, 24, .20) !important;
}

.donation-card h3 {
  color: var(--vv-maroon) !important;
}

.donation-card .card-icon {
  background: var(--vv-green-light) !important;
  color: var(--vv-green-dark) !important;
}

.donation-card .card-kicker {
  color: var(--vv-saffron) !important;
}

.donation-card .detail-row {
  border-bottom-color: rgba(75, 23, 17, .12) !important;
  padding: 13px 0 !important;
}

.donation-card .detail-row > span {
  color: #756255 !important;
  flex: 0 0 auto;
}

.donation-card .detail-row strong {
  color: var(--vv-maroon-dark) !important;
  font-weight: 800;
  text-align: right;
}

.donation-card .copy-btn {
  background: var(--vv-green-light) !important;
  border-color: rgba(63,84,38,.25) !important;
  color: var(--vv-green-dark) !important;
}

.donation-card .upi-box {
  background: #F4F7EA !important;
  border-color: rgba(63,84,38,.32) !important;
  color: var(--vv-green-dark) !important;
  font-weight: 800;
}

.donation-card > p {
  color: #67594F !important;
  line-height: 1.7;
}

/* 3) Contact area: the JS generates four .contact-card elements
   directly. Give them a clean devotional information-card layout
   instead of relying on the older .contact-item rules. */
.contact-layout {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr) !important;
  gap: 64px !important;
}

.contact-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  align-items: stretch;
}

.contact-card {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  column-gap: 13px !important;
  align-content: center;
  min-height: 128px !important;
  padding: 20px !important;
  background: #FFFDF8 !important;
  border: 1px solid rgba(95,113,54,.24) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(63,84,38,.10) !important;
}

.contact-card > span {
  grid-row: 1 / span 2;
  width: 46px;
  height: 46px;
  display: grid !important;
  place-items: center;
  align-self: center;
  border-radius: 14px;
  background: var(--vv-green-light) !important;
  color: var(--vv-green-dark) !important;
  font-size: 1.15rem;
  font-weight: 800;
  border: 1px solid rgba(63,84,38,.16);
}

.contact-card > small {
  display: block !important;
  color: var(--vv-green-dark) !important;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 3px;
}

.contact-card > a,
.contact-card > p {
  margin: 0 !important;
  color: var(--vv-maroon-dark) !important;
  font-size: .86rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.contact-card > a {
  font-weight: 700;
}

.contact-card:hover {
  border-color: var(--vv-green) !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(63,84,38,.15);
}

@media (max-width: 850px) {
  /* minmax(0, 1fr), not a bare 1fr: same bug as .hero-inner's mobile
     grid (see the fix further up this file, and site-fixes.css's hero
     h1 exception) — a bare 1fr track won't shrink below its content's
     max-content width, so .contact-layout's single column stayed as
     wide as the contact heading's unwrapped text needed, pushing
     #contact-container's cards out from under it instead of below it.
     minmax(0, 1fr) gives the track an explicit 0 minimum so it actually
     shrinks to the available width and the heading + cards stack. */
  .donation-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 35px !important;
  }
}

@media (max-width: 500px) {
  .donation-card {
    padding: 22px !important;
  }

  .contact-card {
    min-height: 110px !important;
    padding: 17px !important;
  }
}


/* Restore the two fixed corner logos above the header surface.
   They remain non-interactive so navigation/menu clicks are unaffected. */
.corner-logos {
  z-index: 2100 !important;
}

.corner-logo {
  z-index: 2101 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}


/* =========================================================
   GALLERY CARDS — RESTORE THE ORIGINAL PAPER/CREAM FORMAT
   This is intentionally limited to gallery album cards.
   Do not change the surrounding gallery section colours.
   ========================================================= */
.album-card {
  background: #fff !important;
  background-image: none !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}

.album-card-content {
  background: #fff !important;
  background-image: none !important;
  color: var(--ink) !important;
}

.album-card-content strong {
  color: var(--maroon) !important;
}

.album-card-content small {
  color: var(--muted) !important;
}

.album-open-label {
  color: var(--saffron) !important;
  border-top-color: var(--line) !important;
}

.album-cover {
  background: #2b1110 !important;
  background-image: none !important;
}

/* Keep the existing gallery image treatment and count badge. */
.album-count {
  background: rgba(25, 9, 6, .72) !important;
  color: #fff !important;
}

/* Do not let the green gallery overlay introduced earlier colour the
   entire card. The image area remains the original dark/warm tone. */
.album-card::after {
  background: none !important;
  background-image: none !important;
}


/* Gallery intro notice: match the cream/paper gallery-card format.
   This is separate from the surrounding gallery background. */
.gallery-intro-note {
  background: #FFFDF8 !important;
  background-image: none !important;
  color: var(--maroon) !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  padding: 14px 18px !important;
  box-shadow: 0 8px 24px rgba(55,24,12,.07) !important;
}

.gallery-intro-note span {
  color: var(--muted) !important;
}

.gallery-intro-note strong {
  color: var(--maroon) !important;
}


/* =========================================================
   DEVOTIONAL EYEBROW — SPECIAL / RESPONSIVE / READABLE
   Solid colours only; no gradients.
   ========================================================= */
.eyebrow {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 13px 6px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: rgba(233,182,63,.10);
  color: var(--saffron);
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .045em;
  text-align: center;
  box-shadow: 0 3px 10px rgba(55,24,12,.08);
  overflow-wrap: anywhere;
  white-space: normal;
}

.eyebrow::before {
  content: "✦";
  width: auto;
  height: auto;
  background: none !important;
  color: var(--gold);
  font-size: .62rem;
  line-height: 1;
  flex: 0 0 auto;
}

.eyebrow::after {
  content: "✦";
  color: var(--gold);
  font-size: .62rem;
  line-height: 1;
  flex: 0 0 auto;
}

/* Light/paper sections: temple green badge with gold ornament. */
.section-soft .eyebrow,
.intro-section .eyebrow,
#events .eyebrow,
.videos-section .eyebrow,
.contact-section .eyebrow,
.gallery-page-section .eyebrow {
  color: var(--vv-green-dark) !important;
  background: rgba(95,113,54,.08) !important;
  border-color: rgba(95,113,54,.35) !important;
}

.section-soft .eyebrow::before,
.section-soft .eyebrow::after,
.intro-section .eyebrow::before,
.intro-section .eyebrow::after,
#events .eyebrow::before,
#events .eyebrow::after,
.videos-section .eyebrow::before,
.videos-section .eyebrow::after,
.contact-section .eyebrow::before,
.contact-section .eyebrow::after,
.gallery-page-section .eyebrow::before,
.gallery-page-section .eyebrow::after {
  color: var(--vv-saffron);
}

/* Dark devotional sections: warm gold on a restrained transparent
   cream surface so the label remains clearly readable. */
.section-dark .eyebrow,
.hero .eyebrow {
  color: var(--vv-gold) !important;
  background: rgba(255,240,210,.09) !important;
  border-color: rgba(233,182,63,.48) !important;
}

.section-dark .eyebrow::before,
.section-dark .eyebrow::after,
.hero .eyebrow::before,
.hero .eyebrow::after {
  color: var(--vv-gold);
}

/* Green donation section: cream/gold treatment for strong contrast. */
.donation-section .eyebrow {
  color: #FFF0D2 !important;
  background: rgba(255,240,210,.10) !important;
  border-color: rgba(255,240,210,.45) !important;
}

.donation-section .eyebrow::before,
.donation-section .eyebrow::after {
  color: var(--vv-gold);
}

/* The badge must never become wider than its content or break the
   section heading layout on long Tamil labels. */
.section-title-row,
.section-title-row > div,
.section-heading {
  min-width: 0;
}

@media (max-width: 600px) {
  .eyebrow {
    font-size: .69rem;
    gap: 7px;
    padding: 5px 10px;
    letter-spacing: .025em;
  }
}

@media (max-width: 380px) {
  .eyebrow {
    font-size: .64rem;
    padding-inline: 8px;
  }
}

/* UPI QR: compact, prominent and readable inside the donation card. */
.upi-qr-wrap {
  width: min(220px, 100%);
  margin: 18px auto 14px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(63,84,38,.22);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 18px rgba(40,58,24,.10);
}
.upi-qr {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 8px;
}
.upi-qr-wrap.qr-error {
  display: none;
}
