/* ==========================================================================
   inner-pages.css — New Theme Design for Inner Pages (PostWale)
   ========================================================================== */

/* ── CSS Variables (reuse from landing-new.css root) ─────────────────────── */
:root {
  --ip-primary:        #2563eb;
  --ip-primary-dark:   #1d4ed8;
  --ip-primary-light:  #3b82f6;
  --ip-primary-faint:  #eff6ff;
  --ip-fg:             #0f172a;
  --ip-muted:          #64748b;
  --ip-muted-bg:       #f8fafc;
  --ip-border:         #e2e8f0;
  --ip-shadow-card:    0 4px 20px rgba(0,0,0,.08),0 1px 4px rgba(0,0,0,.04);
  --ip-shadow-hover:   0 12px 40px rgba(0,0,0,.12),0 4px 12px rgba(0,0,0,.06);
  --ip-radius:         16px;
  --ip-radius-sm:      12px;
  --ip-radius-full:    9999px;
}

/* ── Page Hero Section ───────────────────────────────────────────────────── */
.ip-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 70%, #1a1a2e 100%);
  padding: 64px 0 48px;
}
@media (min-width: 768px) {
  .ip-hero { padding: 80px 0 60px; }
}

/* Orange mesh overlay */
.ip-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(37,99,235,.18) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 100% 50%, rgba(29,78,216,.12) 0%, transparent 60%);
  pointer-events: none;
}

/* Decorative circles */
.ip-hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 50px solid rgba(37,99,235,.06);
  pointer-events: none;
}

.ip-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
@media (max-width: 640px) { .ip-hero-inner { padding: 0 16px; } }

.ip-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  border-radius: var(--ip-radius-full);
  color: #3b82f6;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.ip-hero-title {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.2;
}
.ip-hero-title span {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ip-hero-desc {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
@media (min-width: 768px) { .ip-hero-desc { font-size: 16px; } }

/* ── Search Bar ──────────────────────────────────────────────────────────── */
.ip-search-wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.ip-search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--ip-radius-full);
  box-shadow: 0 8px 30px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.1);
  overflow: hidden;
  height: 54px;
  border: 2px solid rgba(37,99,235,.15);
}

.ip-search-type {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 0 16px 0 20px;
  color: var(--ip-fg);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-right: 1px solid var(--ip-border);
  height: 100%;
}
@media (min-width: 768px) { .ip-search-type { display: flex; } }

.ip-search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ip-fg);
  background: transparent;
}
.ip-search-input::placeholder { color: #94a3b8; }

.ip-search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 24px;
  background: linear-gradient(135deg, var(--ip-primary), var(--ip-primary-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 0 var(--ip-radius-full) var(--ip-radius-full) 0;
  transition: opacity .2s, box-shadow .2s;
}
.ip-search-btn:hover {
  opacity: .9;
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.ip-breadcrumb-bar {
  background: #fff;
  border-bottom: 1px solid var(--ip-border);
  padding: 12px 0;
}

.ip-breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
@media (max-width: 640px) { .ip-breadcrumb { padding: 0 16px; } }

.ip-breadcrumb a {
  color: var(--ip-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.ip-breadcrumb a:hover { color: var(--ip-primary); }

.ip-breadcrumb-sep {
  color: #cbd5e1;
  font-size: 11px;
}

.ip-breadcrumb-current {
  color: var(--ip-fg);
  font-weight: 600;
}

/* ── Main Content Area ───────────────────────────────────────────────────── */
.ip-content {
  background: #f8fafc;
  min-height: 60vh;
  padding: 40px 0 64px;
}
@media (min-width: 768px) { .ip-content { padding: 56px 0 80px; } }

.ip-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .ip-container { padding: 0 16px; } }

/* ── Card Grid (categories / festivals / daily) ──────────────────────────── */
.ip-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 576px)  { .ip-card-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 900px)  { .ip-card-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
@media (min-width: 1200px) { .ip-card-grid { grid-template-columns: repeat(5, 1fr); gap: 24px; } }

/* Category card */
.ip-cat-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: var(--ip-radius);
  overflow: hidden;
  box-shadow: var(--ip-shadow-card);
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--ip-border);
}
.ip-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ip-shadow-hover);
  border-color: rgba(37,99,235,.2);
  text-decoration: none;
}

.ip-cat-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ip-cat-card:hover .ip-cat-card-img {
  transform: scale(1.05);
}

.ip-cat-card-body {
  padding: 12px 14px;
  border-top: 1px solid var(--ip-border);
}

.ip-cat-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ip-fg);
  text-align: center;
  line-height: 1.4;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ── Post Card Grid ──────────────────────────────────────────────────────── */
.ip-post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 576px)  { .ip-post-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 768px)  { .ip-post-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
@media (min-width: 1100px) { .ip-post-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.ip-post-card {
  background: #fff;
  border-radius: var(--ip-radius);
  overflow: hidden;
  box-shadow: var(--ip-shadow-card);
  transition: transform .25s, box-shadow .25s;
  border: 1px solid var(--ip-border);
}
.ip-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ip-shadow-hover);
}

.ip-post-card-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ip-post-card-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.ip-post-card:hover .ip-post-card-img { transform: scale(1.04); }

.ip-post-card-logo {
  position: absolute;
  top: 8px; left: 8px;
  width: 44px; height: 44px;
  object-fit: contain;
  opacity: 0.6;
}

.ip-post-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  padding: 24px 10px 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.ip-post-card-overlay span {
  font-size: 10px;
  color: rgba(255,255,255,.8);
  font-weight: 500;
}

.ip-create-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--ip-primary), var(--ip-primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: opacity .2s, box-shadow .2s;
}
.ip-create-btn:hover {
  opacity: .92;
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
  color: #fff;
}

/* ── Section title row (count + sorting) ────────────────────────────────── */
.ip-section-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.ip-section-count {
  font-size: 15px;
  font-weight: 700;
  color: var(--ip-fg);
}
.ip-section-count span {
  color: var(--ip-primary);
}

/* ── Empty state ─────────────────────────────────────────────────────────── */
.ip-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--ip-muted);
}
.ip-empty-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  opacity: .35;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PRICING PAGE
   ═══════════════════════════════════════════════════════════════════════════ */
.ip-pricing-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 60%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  text-align: center;
}
.ip-pricing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(37,99,235,.15) 0%, transparent 65%);
  pointer-events: none;
}

.ip-pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 18px;
  background: rgba(37,99,235,.15);
  border: 1px solid rgba(37,99,235,.3);
  border-radius: 9999px;
  color: #3b82f6;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.ip-pricing-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.15;
}
.ip-pricing-title span {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ip-pricing-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.ip-pricing-content {
  background: #f8fafc;
  padding: 64px 0;
}

.ip-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  justify-items: center;
}
@media (min-width: 640px)  { .ip-pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ip-pricing-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .ip-pricing-grid { padding: 0 16px; } }

.ip-plan-card {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px 100px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07), 0 1px 4px rgba(0,0,0,.04);
  border: 2px solid var(--ip-border);
  position: relative;
  width: 100%;
  max-width: 380px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ip-plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,.1), 0 4px 16px rgba(0,0,0,.06);
}
.ip-plan-card.ip-plan-featured {
  border-color: var(--ip-primary);
  box-shadow: 0 8px 32px rgba(37,99,235,.2), 0 2px 8px rgba(37,99,235,.1);
}
.ip-plan-card.ip-plan-featured:hover {
  box-shadow: 0 20px 56px rgba(37,99,235,.25), 0 4px 16px rgba(37,99,235,.12);
}

.ip-plan-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--ip-primary), var(--ip-primary-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 20px;
  border-radius: 9999px;
  letter-spacing: .5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(37,99,235,.4);
}

.ip-plan-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--ip-fg);
  margin: 0 0 6px;
}

.ip-plan-price {
  margin: 20px 0 28px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.ip-plan-price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--ip-fg);
  line-height: 1;
}
.ip-plan-price-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--ip-muted);
  align-self: flex-start;
  margin-top: 8px;
}
.ip-plan-price-period {
  font-size: 14px;
  color: var(--ip-muted);
  margin-left: 2px;
}

.ip-plan-divider {
  height: 1px;
  background: var(--ip-border);
  margin: 0 0 24px;
}

.ip-plan-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ip-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ip-fg);
}
.ip-plan-features li .ip-feat-icon {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.ip-plan-features li .ip-feat-icon.check {
  background: rgba(34,197,94,.12);
  color: #16a34a;
}
.ip-plan-features li .ip-feat-icon.cross {
  background: rgba(239,68,68,.1);
  color: #ef4444;
}
.ip-plan-features li .ip-feat-label {
  font-size: 13px;
  color: var(--ip-fg);
  line-height: 1.5;
}

.ip-plan-cta {
  position: absolute;
  bottom: 28px;
  left: 32px;
  right: 32px;
}

.ip-plan-btn {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}
.ip-plan-btn:hover { transform: translateY(-2px); text-decoration: none; }

.ip-plan-btn-primary {
  background: linear-gradient(135deg, var(--ip-primary), var(--ip-primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.ip-plan-btn-primary:hover {
  box-shadow: 0 8px 24px rgba(37,99,235,.45);
  color: #fff;
}

.ip-plan-btn-outline {
  background: transparent;
  color: var(--ip-primary);
  border: 2px solid var(--ip-primary);
}
.ip-plan-btn-outline:hover {
  background: rgba(37,99,235,.06);
  color: var(--ip-primary);
}

.ip-plan-btn-current {
  background: #f1f5f9;
  color: var(--ip-muted);
  cursor: default;
}
.ip-plan-btn-current:hover { transform: none; }

/* ── Error Alert ──────────────────────────────────────────────────────────── */
.ip-alert-error {
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.25);
  border-radius: 12px;
  color: #dc2626;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
}

/* ═══════════════════════════════════════════════════════════════════════════
   ABOUT / STATIC PAGES
   ═══════════════════════════════════════════════════════════════════════════ */
.ip-static-hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  position: relative;
  overflow: hidden;
  padding: 72px 0 56px;
  text-align: center;
}
.ip-static-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 50%, rgba(37,99,235,.12) 0%, transparent 70%);
  pointer-events: none;
}
.ip-static-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}
.ip-static-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.ip-static-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin: 0;
}

.ip-static-content {
  background: #fff;
  padding: 64px 0;
}
.ip-static-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .ip-static-container { padding: 0 16px; } }

.ip-static-content p {
  font-size: 16px;
  line-height: 1.85;
  color: #374151;
  margin-bottom: 20px;
}
.ip-static-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ip-fg);
  margin: 36px 0 14px;
}
.ip-static-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ip-fg);
  margin: 24px 0 10px;
}

/* Stats row on about page */
.ip-about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 48px 0;
}
@media (min-width: 640px) { .ip-about-stats { grid-template-columns: repeat(4, 1fr); } }

.ip-stat-card {
  background: #fff;
  border: 1px solid var(--ip-border);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.ip-stat-number {
  font-size: 28px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--ip-primary), var(--ip-primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.ip-stat-label {
  font-size: 13px;
  color: var(--ip-muted);
  font-weight: 500;
}

/* ==========================================================================
   FESTIVAL PAGE
   ========================================================================== */

.fst-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .fst-container { padding: 0 16px; } }

/* ── Festival search bar (replaces ip-search-bar on festival page) ── */
.fst-search-wrap {
  max-width: 580px;
  margin: 0 auto;
}
.fst-search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 9999px;
  box-shadow: 0 8px 30px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.1);
  overflow: hidden;
  height: 52px;
  border: 2px solid rgba(255,255,255,.2);
}
.fst-search-icon-left {
  display: flex;
  align-items: center;
  padding: 0 4px 0 18px;
  flex-shrink: 0;
}
.fst-search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 12px;
  font-size: 14px;
  color: #0f172a;
  background: transparent;
  font-family: inherit;
}
.fst-search-input::placeholder { color: #94a3b8; }
.fst-search-btn {
  height: 100%;
  padding: 0 28px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  font-family: inherit;
  letter-spacing: .3px;
  transition: opacity .2s;
  flex-shrink: 0;
}
.fst-search-btn:hover { opacity: .9; }

/* ── Section headers ── */
.fst-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.fst-center-header {
  text-align: center;
  margin-bottom: 36px;
}
.fst-section-title {
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}
.fst-section-sub {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}
.fst-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 9999px;
  color: #f97316;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.fst-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ip-primary);
  border: 1.5px solid var(--ip-primary);
  border-radius: 9999px;
  padding: 7px 16px;
  white-space: nowrap;
  text-decoration: none;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.fst-view-all:hover {
  background: var(--ip-primary);
  color: #fff;
  text-decoration: none;
}

/* ── Upcoming Festivals Section ── */
.fst-upcoming {
  background: #fff;
  padding: 56px 0;
  border-bottom: 1px solid #f1f5f9;
}
.fst-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px)  { .fst-upcoming-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .fst-upcoming-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.fst-upcoming-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.fst-upcoming-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  border-color: rgba(37,99,235,.2);
  text-decoration: none;
}

/* Image wrap — square 1:1 to match social media post dimensions */
.fst-upcoming-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}
.fst-upcoming-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.fst-upcoming-card:hover .fst-upcoming-img-wrap img { transform: scale(1.05); }

.fst-cal-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.fst-upcoming-body {
  padding: 12px 14px 14px;
  border-top: 1px solid #f1f5f9;
}
.fst-upcoming-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
  line-height: 1.35;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.fst-upcoming-date {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #64748b;
  margin: 0 0 5px;
}
.fst-upcoming-count {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ip-primary);
  margin: 0;
}

/* ── Popular Festival Categories Section ── */
.fst-popular {
  background: #f8fafc;
  padding: 56px 0;
}
.fst-popular-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .fst-popular-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.fst-popular-card {
  display: block;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.fst-popular-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  border-color: rgba(37,99,235,.2);
  text-decoration: none;
}

/* Image wrap — square 1:1 to match social media post dimensions */
.fst-popular-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.fst-popular-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.fst-popular-card:hover .fst-popular-real-img { transform: scale(1.05); }

/* Fallback gradient + letter when no image */
.fst-popular-fallback {
  width: 100%;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  transition: transform .4s ease;
}
.fst-popular-card:hover .fst-popular-fallback { transform: scale(1.03); }

.fst-popular-letter {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 900;
  color: rgba(255,255,255,.25);
  line-height: 1;
  user-select: none;
}

.fst-popular-body {
  padding: 12px 14px 14px;
  border-top: 1px solid #f1f5f9;
}
.fst-popular-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.fst-popular-count {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ip-primary);
  margin: 0;
}

/* ── Festival CTA Banner ── */
.fst-cta-section {
  background: #f8fafc;
  padding: 0 0 60px;
}
.fst-cta-inner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
  border-radius: 24px;
  padding: 56px 32px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(37,99,235,.25);
}
.fst-cta-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}
.fst-cta-desc {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  margin: 0 auto 28px;
  max-width: 460px;
  line-height: 1.6;
}
.fst-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--ip-primary);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  transition: transform .2s, box-shadow .2s;
}
.fst-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  text-decoration: none;
  color: var(--ip-primary);
}

/* ── Home page animation speed overrides ────────────────────────────────────
   Loaded after landing-new.css so these always win. No blade cache needed.  */
.nt-hero-col-inner.col-up        { animation-duration: 40s !important; }
.nt-hero-col-inner.col-down      { animation-duration: 48s !important; }
.nt-hero-col-inner.col-up-offset { animation-duration: 44s !important; }
.nt-scroll-track                 { animation-duration: 60s !important; }
/* Upcoming Festivals — no auto-scroll, manual buttons */
.nuf-scroll-track                { animation: none !important; width: max-content !important; }
