/* ═══════════════════════════════════════════════════════════
   Mohini Gaon Community Hub — Master Stylesheet
   Aesthetic: Rajput Heritage Theme
   ═══════════════════════════════════════════════════════════ */

/* ─── 1. CSS CUSTOM PROPERTIES ─── */
:root {
  /* Colors */
  --color-brand-primary: #1E3A8A; /* Deep Royal Blue */
  --color-accent:        #EA580C; /* Saffron/Gold */
  --color-accent-hover:  #C2410C; /* Darker Saffron */
  --color-accent-subtle: rgba(234, 88, 12, 0.08);

  --color-bg:           #F8FAFC; /* Soft Off-White */
  --color-bg-white:     #FFFFFF;
  --color-surface:      #FFFFFF;
  --color-surface-2:    #F1F5F9; /* Slate 100 */
  --color-border:       #E2E8F0; /* Slate 200 */
  --color-border-soft:  #F1F5F9; /* Slate 100 */

  --color-text-primary:   #1E293B; /* Slate 800 */
  --color-text-secondary: #64748B; /* Slate 500 */
  --color-text-tertiary:  #94A3B8; /* Slate 400 */

  /* Nav glass */
  --nav-bg: rgba(248, 250, 252, 0.85);
  --nav-border: rgba(30, 41, 59, 0.08);

  /* Spacing */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   48px;
  --space-xl:   80px;
  --space-2xl:  120px;
  --space-3xl:  160px;

  /* Radii */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  28px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card:   0 4px 24px rgba(30, 41, 59, 0.06);
  --shadow-card-hover: 0 12px 48px rgba(30, 41, 59, 0.10);
  --shadow-nav:    0 1px 0 rgba(30, 41, 59, 0.05);
  --shadow-btn:    0 2px 12px rgba(234, 88, 12, 0.25);

  /* Transitions */
  --ease-standard: cubic-bezier(0.25, 0.8, 0.25, 1);
  --ease-bounce:   cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.2s;
  --duration-base: 0.3s;
  --duration-slow: 0.5s;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', sans-serif;
  --font-devanagari: 'Noto Sans Devanagari', 'Mukta', serif;

  /* Layout */
  --container-max: 1200px;
  --container-narrow: 780px;
}

/* ─── 2. RESET & BASE ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─── 3. LAYOUT UTILITIES ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* ─── 4. TYPOGRAPHY SCALE ─── */
.display-xl {
  font-size: clamp(48px, 8vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
}

.display-lg {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.display-md {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.heading-lg {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.heading-md {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.body-lg {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.body-md {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.body-sm {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text-tertiary);
}

.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
}

.hindi-text {
  font-family: var(--font-devanagari);
  line-height: 1.8;
}

/* ─── 5. COMPONENTS ─── */

/* ── Pill / Badge ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-secondary);
  transition: all var(--duration-base) var(--ease-standard);
}

.pill--accent {
  background: var(--color-accent-subtle);
  border-color: rgba(234, 88, 12, 0.18);
  color: var(--color-accent);
}

.pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: all var(--duration-base) var(--ease-standard);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(234, 88, 12, 0.35);
}
.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
}
.btn--secondary:hover {
  background: var(--color-surface-2);
  border-color: #CBD5E1; /* Slate 300 */
  transform: translateY(-2px);
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

/* ── Card ── */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all var(--duration-base) var(--ease-standard);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: #CBD5E1; /* Slate 300 */
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: var(--color-surface-2);
}

.card__image-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-surface-2) 0%, #E2E8F0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__image-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
}

.card__body {
  padding: var(--space-md);
}

.card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: 10px;
}

.card__date {
  font-size: 12px;
  color: var(--color-text-tertiary);
}

.card__date::before {
  content: '·';
  margin-right: 6px;
}

.card__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  font-family: var(--font-devanagari);
}

.card__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  font-family: var(--font-devanagari);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card__footer {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--duration-fast) var(--ease-standard);
}
.card__link:hover { gap: 8px; }

/* ─── 6. NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--nav-border);
  transition: background var(--duration-base) var(--ease-standard);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav__logo-main {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.nav__logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--color-text-tertiary);
  letter-spacing: 0.04em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-size: 14px;
  font-weight: 450;
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
}
.nav__link:hover {
  color: var(--color-text-primary);
}

.nav__cta {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  background: var(--color-text-primary);
  color: var(--color-bg-white);
  border-radius: var(--radius-pill);
  transition: all var(--duration-fast) var(--ease-standard);
}
.nav__cta:hover {
  background: var(--color-brand-primary);
  transform: translateY(-1px);
}

/* ─── 7. HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px; /* nav height */
  background: var(--color-bg);
}

.hero__bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.1; /* Softer background */
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 50%, var(--color-bg) 95%);
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-3xl);
  max-width: 860px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-md);
}

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__title-accent {
  display: block;
  color: var(--color-accent);
}

.hero__subtitle {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin-bottom: var(--space-lg);
  font-family: var(--font-devanagari);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: scroll-hint 3s ease-in-out infinite;
  z-index: 1;
}

.hero__scroll-text {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-text-secondary), transparent);
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
  50%       { opacity: 0.7; transform: translateX(-50%) translateY(6px); }
}

/* ─── 8. SECTION WRAPPERS ─── */
.section {
  padding-block: var(--space-2xl);
}

.section--alt {
  background: var(--color-surface-2);
}

.section--white {
  background: var(--color-surface);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

.section__eyebrow {
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__lead {
  font-size: 18px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ─── 9. MONUMENT SECTION ─── */
.monument {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.monument__visual {
  position: relative;
}

.monument__frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(234, 88, 12, 0.12);
  box-shadow: var(--shadow-card);
}

.monument__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.monument__badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-card-hover);
  border: 1px solid var(--color-border);
  text-align: center;
}

.monument__badge-value {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}

.monument__badge-label {
  font-size: 11px;
  color: var(--color-text-tertiary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.monument__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.monument__gate-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--color-text-primary);
  padding: var(--space-md);
  background: var(--color-accent-subtle);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-devanagari);
}

.monument__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.fact {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
}

.fact__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  margin-bottom: 6px;
}

.fact__value {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

/* ─── 10. STATS ROW ─── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.stat {
  background: var(--color-surface);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  transition: background var(--duration-fast);
}
.stat:hover { background: var(--color-surface-2); }

.stat__value {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.stat__value--accent { color: var(--color-accent); }

.stat__label {
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ─── 11. POSTS GRID ─── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.posts-grid--featured {
  grid-template-columns: 2fr 1fr 1fr;
}

.posts-grid--featured .card:first-child .card__title {
  font-size: 22px;
}

/* ─── 12. HOST SECTION ─── */
.host-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.host-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #FF8F3E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 32px rgba(234, 88, 12, 0.3);
}

.host-info__name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.host-info__title {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.host-info__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-accent);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--color-accent-subtle);
  border: 1px solid rgba(234, 88, 12, 0.2);
  transition: all var(--duration-base) var(--ease-standard);
}
.host-info__contact:hover {
  background: rgba(234, 88, 12, 0.12);
  transform: translateY(-1px);
}

/* ─── 13. FOOTER ─── */
.footer {
  background: var(--color-brand-primary);
  color: var(--color-bg);
  padding-block: var(--space-xl) var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-sm);
}

.footer__tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 280px;
  font-family: var(--font-devanagari);
}

.footer__heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-sm);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--duration-fast);
}
.footer__link:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── 14. DIVIDER ─── */
.divider {
  width: 64px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin-bottom: var(--space-md);
}

/* ─── 15. SINGLE POST PAGE ─── */
.post-hero {
  padding-top: calc(64px + var(--space-xl));
  padding-bottom: var(--space-xl);
}

.post-hero__image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-top: var(--space-lg);
  box-shadow: var(--shadow-card);
}

.post-body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text-primary);
  font-family: var(--font-devanagari);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.post-meta__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-secondary);
}

/* ─── 16. ADMIN DASHBOARD ─── */
.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--color-bg);
}

.admin-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--color-surface);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
}

.admin-sidebar__header {
  padding: var(--space-md) var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.admin-sidebar__logo {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.admin-sidebar__sub {
  font-size: 11px;
  color: var(--color-text-tertiary);
  letter-spacing: 0.02em;
}

.admin-nav {
  flex: 1;
  padding: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.admin-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 450;
  color: var(--color-text-secondary);
  transition: all var(--duration-fast) var(--ease-standard);
  cursor: pointer;
}

.admin-nav__item:hover {
  background: var(--color-surface-2);
  color: var(--color-text-primary);
}

.admin-nav__item.active {
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  font-weight: 500;
}

.admin-nav__icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.admin-nav__divider {
  height: 1px;
  background: var(--color-border);
  margin: var(--space-xs) 0;
}

.admin-sidebar__footer {
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--color-border);
}

.admin-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--duration-fast);
}
.admin-user:hover { background: var(--color-surface-2); }

.admin-user__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.admin-user__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.2;
}

.admin-user__role {
  font-size: 11px;
  color: var(--color-text-tertiary);
}

/* ── Admin Main Content ── */
.admin-main {
  flex: 1;
  margin-left: 260px;
  padding: var(--space-lg);
  min-height: 100vh;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.admin-topbar__title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.admin-topbar__breadcrumb {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin-top: 2px;
}

/* ── Admin Stat Cards ── */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.admin-stat {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.admin-stat__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 20px;
}

.admin-stat__value {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.admin-stat__label {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ── Admin Panel / Card ── */
.admin-panel {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.admin-panel__header {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-panel__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.admin-panel__body {
  padding: var(--space-lg);
}

/* ── Admin Form Fields ── */
.field {
  margin-bottom: var(--space-md);
}

.field__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.field__label span {
  color: var(--color-accent);
  margin-left: 2px;
}

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 400;
  color: var(--color-text-primary);
  transition: all var(--duration-fast) var(--ease-standard);
  outline: none;
  appearance: none;
}

.field__input::placeholder,
.field__textarea::placeholder {
  color: var(--color-text-tertiary);
}

.field__input:hover,
.field__select:hover,
.field__textarea:hover {
  border-color: #CBD5E1;
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.field__textarea {
  min-height: 200px;
  resize: vertical;
  line-height: 1.7;
  font-family: var(--font-devanagari);
  font-size: 15px;
}

.field__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.field__upload {
  width: 100%;
  padding: 32px 24px;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast);
  position: relative;
}

.field__upload:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-subtle);
}

.field__upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.field__upload-icon { font-size: 28px; margin-bottom: 8px; }
.field__upload-text { font-size: 14px; color: var(--color-text-secondary); }
.field__upload-sub  { font-size: 12px; color: var(--color-text-tertiary); margin-top: 4px; }

.field__hint {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin-top: 6px;
}

/* ── Admin Table ── */
.table-wrapper {
  width: 100%;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  border-bottom: 1px solid var(--color-border);
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  color: var(--color-text-primary);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tr:hover td {
  background: var(--color-surface-2);
}

.admin-table__title {
  font-weight: 500;
  color: var(--color-text-primary);
  font-family: var(--font-devanagari);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.action-btn {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 500;
  transition: all var(--duration-fast);
}

.action-btn--view {
  background: var(--color-surface-2);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}
.action-btn--view:hover { background: #E2E8F0; color: var(--color-text-primary); }

.action-btn--delete {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FEE2E2;
}
.action-btn--delete:hover { background: #FEE2E2; }

/* ── Admin Login ── */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.admin-login::before {
  content: '';
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234,88,12,0.06) 0%, transparent 70%);
  top: -400px;
  right: -400px;
  pointer-events: none;
}

.admin-login-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-xl);
  width: 100%;
  max-width: 440px;
  box-shadow: 0 24px 80px rgba(30,41,59,0.08);
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.admin-login__logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--space-md);
}

.admin-login__title {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
}

.admin-login__sub {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
}

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: var(--space-md);
}

.alert--error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FEE2E2;
}

.alert--success {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
}

/* ── Tag / Category Pill ── */
.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag--monument { background: #FFF7ED; color: #9A3412; }
.tag--general  { background: #F8FAFC; color: #475569; }
.tag--event    { background: #F0FDF4; color: #15803D; }
.tag--culture  { background: #F5F3FF; color: #6D28D9; }
.tag--news     { background: #EFF6FF; color: #1E40AF; }

/* ─── 17. ANIMATIONS / REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-standard), transform 0.7s var(--ease-standard);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ─── 18. RESPONSIVE ─── */
@media (max-width: 1024px) {
  .posts-grid--featured {
    grid-template-columns: 1fr 1fr;
  }
  .posts-grid--featured .card:first-child {
    grid-column: span 2;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 80px;
    --space-xl:  56px;
  }

  .container {
    padding-inline: var(--space-md);
  }

  .nav__links { display: none; }

  .monument {
    grid-template-columns: 1fr;
  }
  .monument__visual { order: -1; }
  
  .monument__facts,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  .stats,
  .grid-3,
  .posts-grid,
  .posts-grid--featured,
  .footer__grid,
  .admin-stats {
    grid-template-columns: 1fr;
  }

  .posts-grid--featured .card:first-child {
    grid-column: span 1;
  }

  .host-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }
  .host-avatar { margin-inline: auto; }

  .admin-sidebar {
    display: none;
  }
  .admin-main {
    margin-left: 0;
    padding: var(--space-md);
  }
  .table-wrapper {
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn { width: 100%; justify-content: center; }

  .stats {
    grid-template-columns: 1fr;
  }

  .monument__badge {
    position: static;
    margin-top: var(--space-sm);
    border-radius: var(--radius-md);
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ─── 19. PRINT / ACCESSIBILITY ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus visible for keyboard nav */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ─── 20. SCROLL BAR ─── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: #CBD5E1; }