@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Logo-matched Griha Pravesh branding */
  --brand-maroon: #D84010; /* Logo saffron orange */
  --brand-gold: #F07A3A; /* Lighter saffron accent */
  --brand-dark: #2A1A12;
  --brand-gray: #5F4B41;
  --brand-bg: #FFF8F4; /* Soft warm tint matching orange brand */
  --brand-surface: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--brand-bg);
  color: var(--brand-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  background-color: var(--brand-surface);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Header */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 30px;
  border-top: 4px solid var(--brand-gold);
  border-bottom: 1px solid #e9e9e9;
  background: var(--brand-surface);
  position: relative;
}

.top-header > .header-left,
.top-header > .header-right {
  flex: 1 1 0;
  min-width: 0;
}

.top-header > .header-center {
  flex: 0 0 360px;
}

.top-header.menu-open {
  border-bottom: none;
}

.header-left {
  font-size: 11px;
  color: var(--brand-gray);
  text-align: center;
  line-height: 1.3;
}

.header-left a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-left img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.header-center {
  text-align: center;
  width: 360px;
  flex: 0 0 360px;
  max-width: 360px;
}

.header-center .brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-center .brand-logo {
  width: auto;
  max-width: 100%;
  height: 50px;
  object-fit: contain;
}

.header-center h1,
.header-center .site-title {
  font-size: 36px;
  color: var(--brand-maroon);
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.header-center h1 a,
.header-center .site-title a {
  color: inherit;
  text-decoration: none;
  font: inherit;
}
.header-center p {
  font-size: 12px;
  color: var(--brand-gray);
  margin: 6px 0 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  min-width: 0;
}

.date-box {
  background: #FFF1EA;
  border: 1px solid var(--brand-gold);
  padding: 4px 15px;
  font-size: 12px;
  color: var(--brand-maroon);
  font-weight: 600;
  border-radius: 4px;
}

/* Full width of header-right so the bar lines up with the date-box right edge (column + flex-end was shrink-wrapping the form). */
.header-right .search-form {
  align-self: stretch;
  width: 100%;
  justify-content: flex-end;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.search-form input[type="text"],
.search-form input[type="search"] {
  box-sizing: border-box;
  height: 36px;
  line-height: 36px;
  border: 1px solid #ddd;
  margin: 0;
  padding: 0 12px;
  font-size: 13px;
  font-family: inherit;
  flex: 1 1 auto;
  width: 0;
  min-width: 100px;
  max-width: 220px;
  border-radius: 4px 0 0 4px;
  outline: none;
  color: var(--brand-dark);
  -webkit-appearance: none;
  appearance: none;
}

.search-form input[type="text"]:focus,
.search-form input[type="search"]:focus {
  border-color: var(--brand-gold);
}

.search-form button {
  box-sizing: border-box;
  height: 36px;
  line-height: 36px;
  background: var(--brand-gold);
  color: var(--brand-surface);
  border: 1px solid var(--brand-gold);
  margin: 0;
  margin-left: -1px;
  border-left: 0;
  padding: 0 15px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  font-weight: 600;
  border-radius: 0 4px 4px 0;
}

.search-form button:hover {
  background: var(--brand-maroon);
  border-color: var(--brand-maroon);
}

.search-form-page {
  margin: 16px 0 24px;
  max-width: 520px;
}

.search-form-page input[type="search"] {
  max-width: none;
  flex: 1 1 auto;
  height: 42px;
  line-height: 42px;
  font-size: 14px;
}

.search-form-page button {
  height: 42px;
  padding: 0 18px;
}

.search-results {
  min-height: 120px;
  margin: 8px 0 24px;
}

.search-results .gsc-control-cse {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  font-family: 'Inter', sans-serif !important;
}

.search-results .gsc-result {
  border-bottom: 1px solid #eee !important;
  padding: 14px 0 !important;
  background: transparent !important;
}

.search-results .gs-title,
.search-results .gs-title a {
  color: var(--brand-maroon) !important;
  text-decoration: none !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 18px !important;
}

.search-results .gs-title:hover,
.search-results .gs-title a:hover {
  color: var(--brand-gold) !important;
}

.search-results .gs-snippet {
  color: var(--brand-gray) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.search-results .gsc-url-top,
.search-results .gs-visibleUrl {
  color: var(--brand-gold) !important;
}

.search-sitemap-link {
  margin-top: 8px;
}

/* Hamburger Icon */
.hamburger {
  display: none;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--brand-maroon);
  line-height: 1;
}

.hamburger .menu-toggle-icon {
  display: block;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

/* Navigation */
.navbar-wrapper {
  position: relative;
  background: var(--brand-surface);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.navbar {
  padding: 12px 0;
  text-align: center;
  background: var(--brand-surface);
}

/* Legacy flat links (unused after nested nav) */
.navbar > a {
  font-size: 13px;
  color: var(--brand-maroon);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  padding: 0 16px;
  border-right: 1px solid #ddd;
}

.navbar > a:last-child {
  border-right: none;
}

.navbar > a:hover {
  color: var(--brand-gold);
}

/* Hero Section (SVG visual, no photo) */
.hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 60% at 78% 18%, rgba(240, 122, 58, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse 65% 70% at 12% 88%, rgba(216, 64, 16, 0.22) 0%, transparent 55%),
    linear-gradient(155deg, #120C0A 0%, #1E1210 38%, #2A1712 72%, #3A1C14 100%);
}

.hero-visual {
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 248, 244, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 248, 244, 0.4) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 20%, transparent 75%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}

.hero-orb-a {
  width: 220px;
  height: 220px;
  top: -40px;
  right: 8%;
  background: rgba(240, 122, 58, 0.22);
  animation: hero-orb-float 9s ease-in-out infinite;
}

.hero-orb-b {
  width: 160px;
  height: 160px;
  bottom: -30px;
  left: 6%;
  background: rgba(216, 64, 16, 0.2);
  animation: hero-orb-float 11s ease-in-out infinite reverse;
}

.hero-mandala {
  position: absolute;
  width: min(550px, 120%);
  height: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.55;
}

.hero-mandala-spin {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: hero-spin 80s linear infinite;
}

.hero-mandala-spin-rev {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: hero-spin-rev 110s linear infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 48px 28px;
  max-width: 720px;
  animation: hero-fade-up 0.9s ease-out both;
}

.hero-brand {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  margin: 14px auto 0;
  max-width: 34em;
  color: #FFFFFF;
  font-size: clamp(15px, 2.2vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

@keyframes hero-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes hero-spin-rev {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes hero-orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mandala-spin,
  .hero-mandala-spin-rev,
  .hero-orb-a,
  .hero-orb-b,
  .hero-copy {
    animation: none;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 360px;
  }

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

/* Main Layout Grid */
.main-content {
  padding: 30px;
}

/* Top Feature Blocks (Homepage Only) */
.feature-row {
  display: grid;
  grid-template-columns: 3fr 7fr;
  gap: 20px;
  margin-bottom: 40px;
  align-items: stretch;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-item {
  padding: 12px 16px;
  font-size: 13px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.event-item h4 {
  margin: 0 0 4px 0;
  font-size: 14px;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  color: var(--brand-maroon);
}

.event-item p {
  margin: 0;
  color: var(--brand-gray);
  font-size: 14px;
}

.bg-cyan { background: #e0f7fa; border-left: 4px solid var(--brand-gold); }
.bg-lightgreen { background: #f1f8e9; border-left: 4px solid var(--brand-gold); }
.bg-lightpink { background: #fce4ec; border-left: 4px solid var(--brand-gold); }
.bg-lightyellow { background: #fffde7; border-left: 4px solid var(--brand-gold); }
.bg-lightorange { background: #fff3e0; border-left: 4px solid var(--brand-gold); }

.image-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  height: 100%;
  gap: 15px;
}

.img-block {
  position: relative;
  height: 100%;
  min-height: 170px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.img-block-link {
  display: block;
  height: 100%;
}

.img-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(42, 26, 18, 0.4);
  transition: background 0.3s;
}

.img-block:hover::after {
  background: rgba(42, 26, 18, 0.2);
}

.img-block h4 {
  position: relative;
  z-index: 1;
  color: var(--brand-surface);
  margin: 0;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.img-block.orange-bg {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-maroon) 100%);
}
.img-block.orange-bg::after { display: none; }
.img-block.orange-bg p {
  position: relative;
  z-index: 1;
  color: var(--brand-surface);
  margin: 0;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
}

/* Content Columns */
.content-row {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 30px;
}

/* Left Content */
.left-content {
  background: var(--brand-surface);
}

.left-content h1,
.left-content h2,
.left-content h3,
.left-content h4,
.left-content h5,
.left-content h6 {
  color: var(--brand-maroon);
}

.article-section {
  user-select: none;
  -webkit-user-select: none;
}

.article-section a {
  text-decoration: underline;
}

.article-section a.kitchen-card,
.article-section a.article-card,
.article-section a.inline-more,
.article-section a.room-guide-card {
  text-decoration: none;
}

.article-section h1,
.article-section h3 {
  color: var(--brand-maroon);
  font-size: 32px;
  margin-bottom: 15px;
  font-family: 'Outfit', sans-serif;
  border-bottom: 2px solid #f4f4f4;
  padding-bottom: 10px;
}

.article-section h2 {
  color: var(--brand-maroon);
  font-size: 27px;
  margin-bottom: 15px;
  font-family: 'Outfit', sans-serif;
  border-bottom: 2px solid #f4f4f4;
  padding-bottom: 10px;
}

.article-section h3 {
  font-size: 26px;
}

.article-section p {
  font-size: 15px;
  color: var(--brand-dark);
  margin-bottom: 20px;
}

.article-section h1 + p,
.article-section h3 + p,
.article-section h4 + p {
  margin-top: 14px;
}

.article-figure {
  margin: 18px 0 28px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--brand-bg);
  border: 1px solid #f0e4dc;
}

.article-figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-figure figcaption {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--brand-gray);
  font-family: 'Inter', sans-serif;
}

.article-section h1 + .article-figure {
  margin-top: 14px;
}

.article-section ul,
.article-section ol {
  margin: 0 0 20px 24px;
  padding-left: 18px;
}

.article-section ul {
  list-style: disc;
}

.article-section ol {
  list-style: decimal;
}

.article-section li {
  font-size: 15px;
  margin-bottom: 8px;
}

.sitemap-list {
  margin: 10px 0 0 20px;
  padding: 0;
}

.sitemap-list li {
  margin: 8px 0;
  line-height: 1.5;
}

.sitemap-list a {
  color: var(--brand-maroon);
  text-decoration: none;
  font-weight: 500;
}

.sitemap-list a:hover {
  text-decoration: underline;
}

.sub-article h4 {
  font-size: 20px;
  margin: 30px 0 15px;
  font-family: 'Outfit', sans-serif;
  color: var(--brand-maroon);
}

.image-text-block {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) 1.15fr;
  gap: 0;
  margin-top: 28px;
  margin-bottom: 36px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(216, 64, 16, 0.08) 0%, rgba(255, 248, 244, 0.95) 42%, #fff 100%);
  border: 1px solid rgba(216, 64, 16, 0.14);
  box-shadow: 0 18px 40px rgba(42, 26, 18, 0.06);
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.image-text-block::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-maroon), var(--brand-gold));
  z-index: 2;
}

.image-text-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(42, 26, 18, 0.1);
}

.image-text-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.image-text-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 55%, rgba(255, 248, 244, 0.55) 100%),
    linear-gradient(180deg, transparent 60%, rgba(42, 26, 18, 0.28) 100%);
  pointer-events: none;
}

.image-text-block img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.55s ease;
}

.image-text-block:hover img {
  transform: scale(1.08);
}

.image-text-block .text-list {
  flex: 1;
  padding: 28px 28px 26px 24px;
  font-size: 14px;
  color: var(--brand-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.image-text-eyebrow {
  display: inline-block;
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-maroon);
}

.image-text-block .text-list h4 {
  margin: 0 0 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--brand-dark);
  text-transform: none;
}

.image-text-block .text-list > p {
  margin: 0 0 16px;
  color: var(--brand-gray);
  line-height: 1.65;
  max-width: 36em;
}

.image-text-block .text-list ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  gap: 10px;
  counter-reset: self-puja-step;
}

.image-text-block .text-list ul li {
  position: relative;
  margin: 0;
  padding: 10px 12px 10px 44px;
  color: var(--brand-dark);
  font-weight: 500;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 64, 16, 0.08);
  border-radius: 12px;
  counter-increment: self-puja-step;
}

.image-text-block .text-list ul li::before {
  content: counter(self-puja-step);
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-maroon), var(--brand-gold));
  box-shadow: 0 4px 10px rgba(216, 64, 16, 0.25);
}

.image-text-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 2px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--brand-maroon);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 22px rgba(216, 64, 16, 0.28);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.image-text-cta::after {
  content: "→";
  font-size: 14px;
  transition: transform 0.2s ease;
}

.image-text-cta:hover {
  background: #b3320c;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(216, 64, 16, 0.34);
}

.image-text-cta:hover::after {
  transform: translateX(3px);
}

.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.article-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
  transition: transform 0.2s;
  background: var(--brand-surface);
}

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

.article-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.article-card-content {
  padding: 15px;
}

.article-card h5 {
  font-size: 16px;
  margin: 0 0 10px;
  font-family: 'Outfit', sans-serif;
  color: var(--brand-maroon);
}

.article-card p {
  font-size: 13px;
  color: var(--brand-gray);
  margin-bottom: 10px;
}

.article-card a {
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 600;
}

/* Beautiful Right Sidebar */
.sidebar-box {
  background: var(--brand-surface);
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.sidebar-box h3 {
  background: linear-gradient(135deg, var(--brand-maroon) 0%, #b3320c 100%);
  color: var(--brand-surface);
  padding: 15px;
  margin: 0;
  font-size: 18px;
  font-family: 'Outfit', sans-serif;
  text-align: center;
  letter-spacing: 1px;
}

.sidebar-list {
  padding: 10px 0;
  display: flex;
  flex-direction: column;
}

.sidebar-list a {
  font-size: 14px;
  color: var(--brand-dark);
  padding: 12px 20px;
  border-bottom: 1px solid #f4f4f4;
  font-weight: 500;
  position: relative;
}

.sidebar-list a:last-child {
  border-bottom: none;
}

.sidebar-list a::before {
  content: '›';
  position: absolute;
  left: 10px;
  color: var(--brand-gold);
  font-size: 18px;
  line-height: 1;
  opacity: 0;
  transition: all 0.2s ease;
}

.sidebar-list a:hover {
  color: var(--brand-maroon);
  padding-left: 25px;
  background: var(--brand-bg);
}

.sidebar-list a:hover::before {
  opacity: 1;
}

/* More Info Section */
.more-info-section {
  background: var(--brand-surface);
  border-top: 1px solid #eee;
  padding: 40px 20px;
  text-align: center;
}

.more-info-section h3 {
  font-size: 24px;
  color: var(--brand-maroon);
  margin-bottom: 30px;
  font-family: 'Outfit', sans-serif;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.info-item {
  display: flex;
  gap: 15px;
  background: var(--brand-bg);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #f0f0f0;
}

.info-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-maroon) 100%);
  border-radius: 50%;
  color: var(--brand-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(216,64,16,0.3);
}

.info-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.info-text h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-family: 'Outfit', sans-serif;
  color: var(--brand-maroon);
}

.info-text p {
  margin: 0 0 10px 0;
  font-size: 13px;
  color: var(--brand-gray);
}

.info-text a {
  display: inline-block;
  font-size: 12px;
  color: var(--brand-maroon);
  background: transparent;
  border: 1px solid #d8d8d8;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.info-text a:hover {
  background: #f6f6f6;
  border-color: #bcbcbc;
  color: var(--brand-maroon);
  text-decoration: none;
}

/* Bottom Logo Area */
.bottom-logo {
  text-align: center;
  padding: 40px 0 20px;
  border-bottom: 1px solid #eaeaea;
  background: var(--brand-surface);
}
.bottom-logo .footer-logo {
  height: 48px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}
.bottom-logo h2 {
  color: var(--brand-maroon);
  margin: 10px 0 0;
  font-size: 32px;
  font-family: 'Outfit', sans-serif;
}
.bottom-logo p {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--brand-gray);
  margin: 8px 0 0;
  letter-spacing: 1px;
}

/* Footer Links */
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--brand-surface);
}

.footer-col h5 {
  font-size: 14px;
  color: var(--brand-maroon);
  margin-bottom: 15px;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 13px;
  color: var(--brand-gray);
}

.footer-col ul li a:hover {
  color: var(--brand-gold);
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--brand-gray);
  background: var(--brand-bg);
  border-top: 1px solid #eee;
}

.footer-nav {
  margin-bottom: 10px;
}

.footer-nav a {
  padding: 0 10px;
  color: var(--brand-gray);
}
.footer-nav a:hover {
  color: var(--brand-maroon);
}

/* Mobile Responsiveness & Hamburger Menu */
@media (max-width: 768px) {
  .header-left, .date-box {
    display: none;
  }
  
  .top-header {
    padding: 30px;
    display: block;
    position: relative;
  }

  .header-center {
    margin: 0 auto;
    max-width: calc(100% - 70px);
    width: auto;
    flex: none;
  }

  .header-center .brand-logo {
    height: 50px;
  }
  
  .header-right {
    display: none;
    width: 100%;
    background: var(--brand-surface);
    padding: 15px 0 0 0;
    z-index: 100;
    align-items: center;
    justify-content: center;
    order: 3;
  }
  
  .header-right.active {
    display: flex;
  }

  .header-right .search-form {
    align-self: center;
    width: auto;
    justify-content: center;
  }

  .search-form input[type="text"],
  .search-form input[type="search"] {
    flex: none;
    width: 200px;
    max-width: none;
    min-width: 0;
  }
  
  .hamburger {
    display: inline-flex;
    position: absolute;
    right: 12px;
    top: 12px;
    transform: none;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0;
    z-index: 300;
    pointer-events: auto;
  }
  
  .navbar-wrapper {
    display: none;
  }
  
  .navbar-wrapper.active {
    display: block;
  }
  
  .navbar {
    display: flex;
    flex-direction: column;
    padding: 0;
  }
  
  .navbar a {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 15px;
  }

  .feature-row { grid-template-columns: 1fr; }
  .image-blocks { grid-template-columns: 1fr; }
  .content-row { grid-template-columns: 1fr; }
  .image-text-block {
    grid-template-columns: 1fr;
  }
  .image-text-media,
  .image-text-block img {
    min-height: 210px;
  }
  .image-text-media::after {
    background: linear-gradient(180deg, transparent 45%, rgba(42, 26, 18, 0.22) 100%);
  }
  .image-text-block .text-list {
    padding: 22px 18px 20px;
  }
  .image-text-block .text-list h4 {
    font-size: 22px;
  }
  .articles-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; text-align: center; }
}

/* 404 Page Styles */
.centered-box {
  text-align: center;
  padding: 80px 20px;
  background: var(--brand-bg);
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  margin: 40px auto;
  max-width: 600px;
}

.centered-box h3 {
  font-size: 80px;
  color: var(--brand-maroon);
  margin: 0;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
  border: none;
  padding: 0;
}

.centered-box h4 {
  font-size: 24px;
  color: var(--brand-dark);
  margin: 10px 0 20px;
  font-family: 'Outfit', sans-serif;
}

.centered-box p {
  font-size: 16px;
  color: var(--brand-gray);
  margin-bottom: 30px;
}

.centered-box a.btn {
  display: inline-block;
  background: var(--brand-gold);
  color: var(--brand-surface);
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(240, 122, 58, 0.3);
}

.centered-box a.btn:hover {
  background: var(--brand-maroon);
  box-shadow: 0 4px 10px rgba(216, 64, 16, 0.3);
  transform: translateY(-2px);
}


/* Nested navigation for Griha Pravesh Puja */
.navbar {
  padding: 0;
  text-align: left;
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  font-size: 12px;
  color: var(--brand-maroon);
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  padding: 14px 12px;
  border-right: 1px solid #ddd;
  white-space: nowrap;
}

.nav-menu > li:last-child > a {
  border-right: none;
}

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

.submenu-button {
  display: none;
  position: absolute;
  right: 8px;
  top: 10px;
  width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  z-index: 30;
  pointer-events: auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.submenu-button .submenu-icon {
  color: var(--brand-maroon);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.sub-menu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 240px;
  background: var(--brand-surface);
  border: 1px solid #eee;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  z-index: 50;
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

@media (hover: hover) and (pointer: fine) {
  .has-sub:hover > .sub-menu:not(.sub-menu-mega) {
    display: block;
  }
}

.sub-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--brand-dark);
  text-transform: none;
  border: none;
  font-weight: 500;
}

.sub-menu a:hover {
  background: var(--brand-bg);
  color: var(--brand-maroon);
}

/* Vastu Shastra mega menu (Griha / home nav) */
.nav-menu > li.has-mega {
  position: static;
}

.sub-menu-mega {
  left: 0;
  right: 0;
  top: 100%;
  transform: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  max-height: none;
  overflow: visible;
  padding: 16px 14px 14px;
  border-radius: 0 0 12px 12px;
  border: 1px solid #f0e4dc;
  border-top: 1px solid #f0e4dc;
  box-shadow: 0 16px 40px rgba(42, 26, 18, 0.12);
  background:
    linear-gradient(180deg, #fffdfb 0%, var(--brand-surface) 100%);
  display: none;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  z-index: 80;
  box-sizing: border-box;
}

.has-sub.open > .sub-menu-mega {
  display: grid;
}

@media (hover: hover) and (pointer: fine) {
  .has-sub:hover > .sub-menu-mega {
    display: grid;
  }
}

.mega-col {
  list-style: none;
  margin: 0;
  padding: 12px 10px 12px;
  border-radius: 10px;
  background: #fff8f4;
  border: 1px solid #f0e4dc;
  min-width: 0;
  box-shadow: 0 1px 0 rgba(216, 64, 16, 0.04);
}

.mega-col:hover {
  border-color: #e8cfc0;
  background: #fff4ec;
}

.mega-col .menu-heading {
  display: block;
  padding: 0 4px 8px;
  margin-bottom: 6px;
  border-bottom: 1px solid #f0e4dc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-maroon);
  font-family: 'Outfit', sans-serif;
  pointer-events: none;
  line-height: 1.3;
  min-height: 2.6em;
}

.mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-links a {
  display: block;
  padding: 6px 4px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--brand-dark);
  text-transform: none;
  border: none;
  border-radius: 6px;
  font-weight: 500;
}

.mega-links a:hover {
  background: var(--brand-surface);
  color: var(--brand-maroon);
}

.menu-heading {
  padding: 10px 16px 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-maroon);
  font-family: 'Outfit', sans-serif;
  pointer-events: none;
}

.menu-heading + li a {
  padding-top: 6px;
}

@media (max-width: 1200px) and (min-width: 901px) {
  .sub-menu-mega {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.article-card span {
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 600;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0 0 24px;
  border: 1px solid #eee;
  border-radius: 8px;
}

.muhurat-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.muhurat-table th,
.muhurat-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}

.muhurat-table thead th {
  background: linear-gradient(135deg, var(--brand-maroon) 0%, #b3320c 100%);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.3px;
  border-bottom: none;
}

.muhurat-table tbody tr:nth-child(even) {
  background: #FFF8F4;
}

.muhurat-table tbody tr:hover {
  background: #FFEDE4;
}

.muhurat-table td:first-child {
  font-weight: 600;
  color: var(--brand-maroon);
  white-space: nowrap;
}

/* Muhurat calendar UI */
.muhurat-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 8px 0 28px;
}

.muhurat-summary-item {
  background:
    linear-gradient(180deg, #FFF7F2 0%, #FFFFFF 100%);
  border: 1px solid #F3D7C8;
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
}

.muhurat-summary-item strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  line-height: 1.1;
  color: var(--brand-maroon);
  font-weight: 700;
}

.muhurat-summary-item span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--brand-gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.muhurat-calendar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0 0 28px;
}

.muhurat-month {
  background: #fff;
  border: 1px solid #F0E2DA;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(216, 64, 16, 0.05);
}

.muhurat-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background:
    linear-gradient(135deg, rgba(216, 64, 16, 0.1) 0%, rgba(240, 122, 58, 0.08) 100%);
  border-bottom: 1px solid #F0E2DA;
}

.muhurat-month-head h3 {
  margin: 0;
  font-size: 18px;
  font-family: 'Outfit', sans-serif;
  color: var(--brand-maroon);
  border: none;
  padding: 0;
}

.muhurat-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--brand-maroon);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.muhurat-list {
  display: flex;
  flex-direction: column;
}

.muhurat-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #F6EBE5;
  align-items: center;
  transition: background 0.2s ease;
}

.muhurat-row:last-child {
  border-bottom: none;
}

.muhurat-row:hover {
  background: #FFF8F4;
}

.muhurat-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  border-radius: 12px;
  background:
    linear-gradient(160deg, var(--brand-maroon) 0%, #b3320c 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 6px 14px rgba(216, 64, 16, 0.18);
}

.muhurat-daynum {
  font-family: 'Outfit', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.muhurat-weekday {
  margin-top: 4px;
  font-size: 11px;
  opacity: 0.92;
  letter-spacing: 0.3px;
}

.muhurat-meta {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 12px;
  min-width: 0;
}

.muhurat-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.muhurat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #A46A52;
}

.muhurat-value {
  font-size: 14px;
  color: var(--brand-dark);
  font-weight: 500;
  line-height: 1.45;
}

.muhurat-chip {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  padding: 7px 11px;
  border-radius: 999px;
  background: #FFF1EA;
  border: 1px solid #F3D7C8;
  color: var(--brand-maroon);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.muhurat-note-box {
  margin-top: 8px;
  padding: 18px 20px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, #FFF8F4 0%, #FFFFFF 100%);
  border: 1px dashed #E8C4B2;
}

.muhurat-note-box h3 {
  margin: 0 0 10px;
  font-size: 18px;
  border: none;
  padding: 0;
}

.muhurat-note-box ul {
  margin-bottom: 12px;
}

.muhurat-note-box p {
  margin-bottom: 0;
  color: var(--brand-gray);
}

/* Mantra article formatting */
.mantra-block {
  margin: 12px 0 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(180deg, #FFF8F4 0%, #FFFFFF 100%);
  border: 1px solid #F0E2DA;
  border-left: 4px solid var(--brand-maroon);
  box-shadow: 0 4px 14px rgba(216, 64, 16, 0.04);
}

.mantra-block p {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--brand-maroon);
  font-weight: 600;
}

.mantra-name-list {
  columns: 2;
  column-gap: 28px;
  margin: 0 0 20px 0;
  padding-left: 22px;
}

.mantra-name-list li {
  break-inside: avoid;
  margin-bottom: 8px;
  font-family: 'Outfit', sans-serif;
  color: var(--brand-dark);
  font-weight: 500;
}

.inline-more {
  display: inline-block;
  margin: 4px 0 18px;
  color: var(--brand-maroon);
  font-weight: 600;
  font-size: 14px;
  border-bottom: 1px solid transparent;
}

.inline-more:hover {
  border-bottom-color: var(--brand-maroon);
  color: #b3320c;
}

a.room-guide-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 6px 0 28px;
  padding: 14px 18px;
}

a.room-guide-card > div {
  min-width: 0;
}

a.room-guide-card h3 {
  margin: 0 0 4px;
  font-size: 17px;
  border: none;
  padding: 0;
}

a.room-guide-card p {
  margin: 0;
  font-size: 14px;
  color: var(--brand-gray);
}

a.room-guide-card .inline-more {
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
  border-bottom: none;
}

a.room-guide-card:hover .inline-more {
  color: #b3320c;
}

@media (max-width: 640px) {
  a.room-guide-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.kitchen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 24px;
}

.kitchen-card {
  background: linear-gradient(180deg, #FFF8F4 0%, #FFFFFF 100%);
  border: 1px solid #F0E2DA;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(216, 64, 16, 0.04);
}

a.kitchen-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.kitchen-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(216, 64, 16, 0.1);
}

.kitchen-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  border: none;
  padding: 0;
  color: var(--brand-maroon);
  font-family: 'Outfit', sans-serif;
}

.kitchen-card p {
  margin: 0;
  font-size: 14px;
  color: var(--brand-dark);
}

.kitchen-dir {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px !important;
  padding: 10px 12px;
  border-radius: 8px;
  background: #FFF1EA;
  border: 1px solid #F3D7C8;
  font-weight: 600;
  color: var(--brand-maroon) !important;
}

.kitchen-dir span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #A46A52;
}

@media (max-width: 700px) {
  .kitchen-grid {
    grid-template-columns: 1fr;
  }
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 10px 0 28px;
}

.gallery-item {
  appearance: none;
  border: 1px solid #F0E2DA;
  border-radius: 12px;
  padding: 0;
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 4px 14px rgba(216, 64, 16, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(216, 64, 16, 0.12);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #FFF8F4;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(20, 10, 6, 0.82);
  z-index: 9999;
  padding: 24px;
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox img {
  max-width: min(920px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.image-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--brand-maroon);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.image-lightbox-close:hover {
  background: #FFF8F4;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .image-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .gallery-item img {
    height: 120px;
  }
}

@media (max-width: 700px) {
  .mantra-name-list {
    columns: 1;
  }

  .mantra-block p {
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .muhurat-summary {
    grid-template-columns: 1fr;
  }

  .muhurat-row {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 14px;
  }

  .muhurat-date {
    min-height: 64px;
  }

  .muhurat-daynum {
    font-size: 22px;
  }

  .muhurat-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .muhurat-month-head {
    padding: 12px 14px;
  }

  .muhurat-month-head h3 {
    font-size: 16px;
  }
}

@media (max-width: 900px) {
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-menu > li > a {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-right: 48px;
  }

  .submenu-button {
    display: inline-flex;
  }

  .sub-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #eee;
    background: #faf7f2;
    z-index: auto;
  }

  .nav-menu > li.has-mega {
    position: relative;
  }

  .sub-menu-mega {
    width: 100%;
    transform: none;
    left: 0;
    right: 0;
    top: auto;
    padding: 8px 10px 12px;
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: #faf7f2;
    grid-template-columns: 1fr;
    gap: 8px;
    max-height: none;
    z-index: auto;
  }

  /* Closed unless .open — beat sticky :hover on touch devices */
  .nav-menu .has-sub:not(.open) > .sub-menu,
  .nav-menu .has-sub:not(.open) > .sub-menu-mega {
    display: none !important;
  }

  .nav-menu .has-sub.open > .sub-menu:not(.sub-menu-mega) {
    display: block !important;
  }

  .nav-menu .has-sub.open > .sub-menu-mega {
    display: grid !important;
  }

  .mega-col {
    background: var(--brand-surface);
    border: 1px solid #f0e4dc;
    padding: 10px;
  }
}
