:root {
  --navy: #16224a;
  --navy-dark: #0c1530;
  --maroon: #7a1330;
  --maroon-dark: #500d20;
  --saffron: #ff8a3d;
  --gold: #c9a227;
  --gold-light: #e8cc6e;
  --cream: #f8f1e0;
  --banner-bg: #f4ead3;
  --ink: #1c1a2e;
  --ink-soft: #5c5668;
  --teal: #14b8a6;
  --line: #ece1c4;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(22, 34, 74, 0.09);
  --shadow-lg: 0 18px 46px rgba(22, 34, 74, 0.16);
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  background-image: radial-gradient(circle at 1px 1px, rgba(22,34,74,0.05) 1px, transparent 0);
  background-size: 24px 24px;
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--maroon); text-decoration: none; transition: color .15s; }
a:hover { color: var(--saffron); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; color: var(--ink); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--maroon); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Topbar (contact + Google reviews CTA) ---------- */
.topbar { background: var(--navy-dark); color: #cfd6ea; font-size: 0.8rem; padding: 7px 0; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.topbar-contact a { color: #cfd6ea; }
.topbar-contact a:hover { color: var(--gold-light); }
.topbar-contact .sep { margin: 0 8px; color: rgba(255,255,255,0.25); }
.topbar-google { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-light); font-weight: 600; }
.topbar-google:hover { color: #fff; }

/* ---------- Header ---------- */
header.site-header {
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
  border-bottom: 2px solid var(--gold);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.site-header .logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.logo-mark svg { display: block; }
.logo-text { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; line-height: 1.1; }
.logo-text small { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; color: var(--gold-light); letter-spacing: .02em; margin-top: 2px; }

nav.main-nav ul { display: flex; align-items: center; list-style: none; gap: 4px; flex-wrap: wrap; }
nav.main-nav a { color: #f1e6ea; font-weight: 500; font-size: 0.94rem; padding: 10px 12px; border-radius: 8px; position: relative; }
nav.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
nav.main-nav .btn-nav { background: var(--gold); color: var(--navy-dark); font-weight: 700; padding: 9px 18px; margin-left: 6px; }
nav.main-nav .btn-nav:hover { background: var(--gold-light); color: var(--navy-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* ============ Hero Showcase (live content, replaces the old banner image) ============ */
.hero-showcase {
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 55%, var(--maroon-dark) 130%);
  color: #fff;
  overflow: hidden;
  padding: 54px 0 0;
}
.hero-showcase::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(201,162,39,0.22), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(122,19,48,0.35), transparent 45%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; padding-bottom: 30px; }

.hero-brand-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.hero-logo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,0.4), 0 0 0 3px rgba(201,162,39,0.5); }
.hero-org { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: #eaf0ff; }
.hero-presents { font-style: italic; font-size: 0.82rem; color: var(--gold-light); }

.hero-title { font-size: 3rem; color: var(--gold-light); text-shadow: 0 4px 22px rgba(0,0,0,0.45); margin-bottom: 16px; }
.hero-hindi-badge {
  display: inline-block; background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--font-head);
  font-size: 1.3rem; padding: 8px 26px; border-radius: 8px; margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}
.hero-hindi-tagline { color: #ecdff0; font-size: 1rem; margin-bottom: 26px; }

.hero-stats { display: flex; gap: 16px; margin-bottom: 26px; perspective: 900px; }
.hero-stat-card {
  display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(6px);
  border-radius: 14px; padding: 14px 18px; transition: transform .35s, box-shadow .35s, background .35s;
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}
.hero-stat-card:hover { transform: translateY(-6px) rotateX(6deg); background: rgba(255,255,255,0.13); box-shadow: 0 18px 34px rgba(0,0,0,0.35); }
.hero-stat-card .hs-icon { width: 40px; height: 40px; flex-shrink: 0; color: var(--gold-light); }
.hero-stat-card strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: #fff; line-height: 1.1; }
.hero-stat-card span { font-size: 0.78rem; color: #d9d0e0; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.yantra-medallion {
  position: relative; width: 280px; height: 280px; border-radius: 50%; overflow: hidden;
  border: 4px solid var(--gold); box-shadow: 0 0 0 8px rgba(201,162,39,0.15), 0 20px 50px rgba(0,0,0,0.4);
  animation: heroFloat 5s ease-in-out infinite;
}
.yantra-medallion img { width: 100%; height: 100%; object-fit: cover; animation: heroSpin 40s linear infinite; }
.floating-accent { position: absolute; border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,0.4); border: 3px solid rgba(255,255,255,0.85); }
.accent-peacock { width: 118px; top: 4%; left: -2%; transform: rotate(-9deg); animation: heroFloat 6s ease-in-out infinite; animation-delay: .4s; }
.accent-diya { width: 106px; bottom: 2%; right: -4%; transform: rotate(7deg); animation: heroFloat 5.5s ease-in-out infinite; animation-delay: .8s; }

@keyframes heroFloat { 0%,100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }
@keyframes heroSpin { from { filter: brightness(1); } 50% { filter: brightness(1.08); } to { filter: brightness(1); } }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-outline-dark { background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.5); color: #fff; box-shadow: none; }
.btn-outline-dark:hover { background: rgba(255,255,255,0.16); color: #fff; }

.hero-consult-strip { position: relative; background: rgba(0,0,0,0.18); border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 0; }
.hero-consult-strip .container { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.consult-label { background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); border: 1px solid var(--gold); color: var(--gold-light); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; padding: 7px 18px; border-radius: 999px; }
.consult-chips { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.chip { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); padding: 8px 16px; border-radius: 999px; font-size: 0.88rem; color: #f2ecf6; transition: transform .2s, background .2s; }
.chip:hover { transform: translateY(-3px); background: rgba(255,255,255,0.16); }
.chip svg { width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; }

.hero-trust-bar { position: relative; text-align: center; padding: 12px 16px; font-size: 0.82rem; color: var(--gold-light); background: rgba(0,0,0,0.28); letter-spacing: .02em; }
.hero-trust-bar span.sep { color: rgba(255,255,255,0.35); margin: 0 10px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-brand-row, .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; }
  .hero-visual { min-height: 280px; margin-top: 10px; }
  .yantra-medallion { width: 220px; height: 220px; }
  .accent-peacock, .accent-diya { display: none; }
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-dark);
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .15s;
  box-shadow: 0 6px 18px rgba(201,162,39,0.38);
}
.btn:hover { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--navy-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,162,39,0.48); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,0.75); color: #fff; box-shadow: none; }
.btn-outline:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; }
.btn-secondary { background: var(--navy); color: #fff; box-shadow: none; }
.btn-secondary:hover { background: var(--navy-dark); color: #fff; }
.btn-danger { background: #fff; color: #c0392b; border: 1px solid #f0c2bc; box-shadow: none; }

/* ---------- Sections ---------- */
section { padding: 56px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 8px; color: var(--navy); }
.section-sub { text-align: center; color: var(--ink-soft); max-width: 560px; margin: 0 auto 34px; }
.section-title-wrap { text-align: center; margin-bottom: 34px; }
.divider-ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 10px 0 0; }
.divider-ornament::before, .divider-ornament::after { content: ''; height: 2px; width: 44px; background: linear-gradient(90deg, transparent, var(--gold)); }
.divider-ornament::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider-ornament span { color: var(--gold); font-size: 1rem; }

.about-section { background: linear-gradient(135deg, var(--navy), var(--navy-dark)); color: #fff; padding: 60px 0; }
.about-section h2 { color: #fff; }
.about-section p { margin: 0 0 14px; font-size: 1.02rem; color: #f0e3e8; }
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: center; }
.about-lead { font-size: 1.12rem !important; color: var(--gold-light) !important; font-weight: 500; }
.founder-frame {
  background: #fff; padding: 14px 14px 10px; border-radius: 6px; transform: rotate(-2.5deg);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45); transition: transform .3s;
}
.founder-frame:hover { transform: rotate(0deg) scale(1.02); }
.founder-frame img { width: 100%; border-radius: 3px; display: block; }
.founder-name { font-family: 'Playfair Display', cursive; font-style: italic; text-align: center; color: #3a3340; padding: 10px 0 4px; font-size: 1.05rem; }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { max-width: 260px; margin: 0 auto; }
  .about-text .section-title { text-align: center !important; }
}

/* ---------- Grid cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card img { width: 100%; height: 190px; object-fit: cover; }
.card-body { padding: 16px 18px 18px; }
.card-body h3 { font-size: 1.08rem; margin-bottom: 6px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--maroon); }
.card-body .price { color: var(--maroon); font-weight: 700; margin: 6px 0 10px; }
.card-body .price .strike { text-decoration: line-through; color: #aaa; font-weight: 400; font-size: 0.88em; margin-right: 6px; }
.card-body .excerpt { font-size: 0.92rem; color: var(--ink-soft); }
.card-body .meta { font-size: 0.78rem; color: #a99; color: #9c8b93; margin-top: 8px; text-transform: uppercase; letter-spacing: .03em; }
.card-body .cat-pill { display: inline-block; background: #fbeee2; color: var(--maroon); font-size: 0.72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- Article cards (editorial style) ---------- */
.article-card .img-wrap { position: relative; overflow: hidden; height: 190px; }
.article-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .img-wrap img { transform: scale(1.08); }
.article-card .img-wrap .cat-chip {
  position: absolute; top: 12px; left: 12px; background: rgba(37,14,25,0.78); color: var(--gold-light);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  padding: 4px 11px; border-radius: 999px; backdrop-filter: blur(2px);
}
.article-card .card-body h3 { font-size: 1.05rem; }
.article-card .card-body h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-card .card-body .excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.read-more-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 0.84rem; color: var(--maroon); margin-top: 10px; }
.read-more-link .arrow { transition: transform .2s; }
.article-card:hover .read-more-link .arrow { transform: translateX(4px); }

/* Featured article (homepage lead story) */
.featured-article { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); margin-bottom: 28px; }
.featured-article .img-wrap { position: relative; overflow: hidden; min-height: 260px; }
.featured-article .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.featured-article:hover .img-wrap img { transform: scale(1.05); }
.featured-article .img-wrap .cat-chip {
  position: absolute; top: 16px; left: 16px; background: rgba(37,14,25,0.78); color: var(--gold-light);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; padding: 5px 12px; border-radius: 999px;
}
.featured-article .fa-body { padding: 30px 30px 30px 6px; display: flex; flex-direction: column; justify-content: center; }
.featured-article .fa-body .eyebrow-label { color: var(--maroon); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.featured-article .fa-body h3 { font-size: 1.5rem; margin-bottom: 10px; }
.featured-article .fa-body h3 a { color: var(--ink); }
.featured-article .fa-body p { color: var(--ink-soft); margin-bottom: 8px; }
.article-grid-rest { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
@media (max-width: 720px) {
  .featured-article { grid-template-columns: 1fr; }
  .featured-article .img-wrap { min-height: 200px; }
  .featured-article .fa-body { padding: 22px; }
}

.gem-grid .card img { height: 130px; object-fit: contain; padding: 14px; background: #fff; }
.gem-grid .card .card-body { padding: 12px; text-align: center; }
.gem-grid .card .card-body h3 { font-size: 0.94rem; }
.price-enquire { color: var(--maroon); font-weight: 700; font-size: 0.84rem; margin: 6px 0 10px; text-transform: uppercase; letter-spacing: .03em; }

/* ---------- Gemstone carousel (smaller cards, subtle 3D hover) ---------- */
.gem-carousel-wrap { position: relative; }
.gem-carousel {
  display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 4px 24px; -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
}
.gem-carousel::-webkit-scrollbar { height: 7px; }
.gem-carousel::-webkit-scrollbar-track { background: var(--line); border-radius: 4px; }
.gem-carousel::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
.gem-card {
  flex: 0 0 148px; scroll-snap-align: start; background: #fff; border-radius: 16px;
  padding: 16px 12px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--line);
  perspective: 700px; transition: transform .25s, box-shadow .25s;
}
.gem-card:hover { transform: translateY(-6px) rotateY(8deg) rotateX(2deg); box-shadow: var(--shadow-lg); }
.gem-card .gem-img-wrap {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px;
  background: linear-gradient(135deg, #fff, #f3ece0);
  box-shadow: inset 0 0 0 3px var(--gold-light), 0 6px 14px rgba(122,31,61,0.12);
}
.gem-card .gem-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.gem-card h3 { font-size: 0.85rem; margin-bottom: 4px; line-height: 1.3; }
.gem-card h3 a { color: var(--ink); }
.gem-card .btn-sm { width: 100%; }
.carousel-nav { display: flex; gap: 8px; justify-content: center; margin-top: -8px; }
.carousel-nav button {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  color: var(--maroon); font-size: 1rem; cursor: pointer; transition: background .15s, color .15s;
}
.carousel-nav button:hover { background: var(--maroon); color: #fff; }

/* ---------- Search & filter bar ---------- */
.search-bar { display: flex; gap: 10px; max-width: 560px; margin: 0 auto 26px; }
.search-bar input[type="search"], .search-bar input[type="text"] {
  flex: 1; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.95rem; background: #fff;
}
.search-bar input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,164,65,0.2); }
.search-bar button { border-radius: 999px; }
.filter-pills { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.filter-pills a { padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-soft); }
.filter-pills a:hover, .filter-pills a.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.empty-state { text-align: center; padding: 50px 20px; color: var(--ink-soft); }
.empty-state .icon { font-size: 2.4rem; margin-bottom: 10px; }

/* ---------- Forms (public) ---------- */
.form-card { background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 36px; }
.form-card .form-title { text-align: center; margin-bottom: 6px; }
.form-card .form-lead { text-align: center; color: var(--ink-soft); margin-bottom: 26px; font-size: 0.96rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.form-grid .full { grid-column: 1 / -1; }
form .form-row { margin-bottom: 16px; }
form label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 0.9rem; color: var(--ink); }
form label .req { color: var(--maroon); }
form input, form select, form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 0.96rem;
  font-family: var(--font-body);
  background: #fdfbf7;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(217,164,65,0.16);
}
form textarea { min-height: 110px; resize: vertical; }
.form-card .btn { width: 100%; padding: 13px; font-size: 1rem; margin-top: 6px; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; text-align: center; }

/* ---------- Article detail ---------- */
.article-content img { max-width: 100%; border-radius: 10px; }
.article-content { font-size: 1.06rem; }
.article-content h2, .article-content h3 { margin: 24px 0 12px; }
.article-content p { margin-bottom: 14px; }
.article-hero-img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 14px; margin-bottom: 20px; box-shadow: var(--shadow); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: #cfc6d6; padding: 44px 0 0; margin-top: 60px; font-size: 0.92rem; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; }
footer.site-footer a { color: #d9cddf; }
footer.site-footer a:hover { color: var(--gold-light); }
footer.site-footer .col h4 { color: #fff; margin-bottom: 12px; font-family: var(--font-head); }
footer.site-footer .col ul { list-style: none; }
footer.site-footer .col li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 0; font-size: 0.82rem; color: #9c93a8; }

/* ---------- Flash ---------- */
.flash { padding: 13px 18px; border-radius: 10px; margin: 16px 0; font-size: 0.92rem; }
.flash.success { background: #e3f5ea; color: #1a6b3c; }
.flash.error { background: #fbe4e2; color: #a1291d; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 30px 0; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 0.9rem; }
.pagination .current { background: var(--maroon); color: #fff; border-color: var(--maroon); }

/* ============ Admin panel (WordPress-style) ============ */
.admin-wrap { display: flex; min-height: 100vh; background: #f3f0f7; }
.admin-sidebar { width: 236px; background: var(--ink); color: #fff; padding: 22px 16px; flex-shrink: 0; }
.admin-sidebar .brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 26px; color: var(--gold-light); }
.admin-sidebar ul { list-style: none; }
.admin-sidebar li { margin-bottom: 3px; }
.admin-sidebar a { color: #cfc6d6; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 0.92rem; }
.admin-sidebar a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.admin-sidebar a.active { background: var(--maroon); color: #fff; }
.admin-sidebar .icon { width: 18px; text-align: center; opacity: 0.9; }
.admin-sidebar hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 14px 0; }

.admin-content { flex: 1; padding: 30px 34px; max-width: 100%; overflow-x: auto; }
.admin-content h1 { font-size: 1.55rem; margin-bottom: 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.admin-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; justify-content: space-between; }
.admin-toolbar .search-input { padding: 9px 14px; border: 1px solid var(--line); border-radius: 8px; min-width: 240px; background: #fff; }
.admin-toolbar .tabs { display: flex; gap: 6px; }
.admin-toolbar .tabs a { padding: 6px 14px; border-radius: 999px; font-size: 0.84rem; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.admin-toolbar .tabs a.active { background: var(--maroon); color: #fff; border-color: var(--maroon); }

.admin-login-box { max-width: 400px; margin: 10vh auto; background: #fff; padding: 40px; border-radius: 18px; box-shadow: var(--shadow-lg); }
.admin-login-wrap { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-dark)); }
.admin-login-box .lock-icon { text-align: center; font-size: 2rem; margin-bottom: 10px; }

.card-panel { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 22px; margin-bottom: 22px; }

table.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.admin-table th, table.admin-table td { padding: 12px 14px; border-bottom: 1px solid #f0ecf3; text-align: left; font-size: 0.9rem; vertical-align: middle; }
table.admin-table th { background: var(--ink); color: #fff; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .03em; }
table.admin-table tr:last-child td { border-bottom: none; }
table.admin-table tr:hover td { background: #faf7fc; }
.thumb { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; }
.thumb-placeholder { width: 46px; height: 46px; border-radius: 8px; background: #ece5f2; display: flex; align-items: center; justify-content: center; color: #b3a6c0; font-size: 1.1rem; }
.title-cell strong { display: block; color: var(--ink); }
.title-cell .sub { font-size: 0.78rem; color: var(--ink-soft); }

.badge { padding: 4px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; display: inline-block; }
.badge-pending { background: #fff3cd; color: #856404; }
.badge-paid { background: #d4edda; color: #155724; }
.badge-cancelled { background: #f8d7da; color: #721c24; }
.badge-new { background: #d1ecf1; color: #0c5460; }
.badge-in_progress { background: #fff3cd; color: #856404; }
.badge-done { background: #d4edda; color: #155724; }
.badge-published { background: #d4edda; color: #155724; }
.badge-draft { background: #eee; color: #777; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; margin-bottom: 32px; }
.stat-card { background: #fff; padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; align-items: center; gap: 14px; }
.stat-card .stat-icon { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; background: linear-gradient(135deg, var(--navy), var(--maroon)); color: var(--gold-light); flex-shrink: 0; }
.stat-card .num { font-size: 1.7rem; font-weight: 700; color: var(--ink); font-family: var(--font-head); }
.stat-card .label { color: var(--ink-soft); font-size: 0.85rem; }

.actions { white-space: nowrap; }
.actions a, .actions button { margin-right: 10px; font-size: 0.84rem; font-weight: 600; }
.actions form { display: inline; }
.actions button { background: none; border: none; color: #c0392b; cursor: pointer; padding: 0; font-family: var(--font-body); }
.actions button:hover { text-decoration: underline; }

/* Article editor */
.editor-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.image-drop { border: 2px dashed var(--line); border-radius: 12px; padding: 18px; text-align: center; background: #fbf9fd; cursor: pointer; }
.image-drop img { max-width: 100%; border-radius: 8px; margin-bottom: 10px; }
.image-drop .hint { font-size: 0.82rem; color: var(--ink-soft); }
.seo-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fdfcfa; }
.seo-box h4 { font-size: 0.95rem; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.seo-preview { border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fff; margin-bottom: 14px; }
.seo-preview .sp-url { color: #1a0dab; font-size: 0.78rem; }
.seo-preview .sp-title { color: #1a0dab; font-size: 1.05rem; margin: 2px 0; }
.seo-preview .sp-desc { color: #4d5156; font-size: 0.85rem; }
.char-count { font-size: 0.76rem; color: var(--ink-soft); text-align: right; margin-top: 3px; }
.char-count.warn { color: #c0392b; }
.publish-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; margin-bottom: 18px; }
.publish-box .form-row { margin-bottom: 12px; }

@media (max-width: 900px) {
  .editor-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  nav.main-nav { position: absolute; top: 74px; left: 0; right: 0; background: var(--navy-dark); max-height: 0; overflow: hidden; transition: max-height .25s ease; }
  nav.main-nav.open { max-height: 420px; }
  nav.main-nav ul { flex-direction: column; align-items: stretch; padding: 10px 20px 18px; gap: 2px; }
  nav.main-nav .btn-nav { margin: 8px 0 0; text-align: center; }
  .hero-showcase { padding-top: 34px; }
  .hero-title { font-size: 2.1rem; }
  .hero-hindi-badge { font-size: 1.05rem; }
  .admin-wrap { flex-direction: column; }
  .admin-sidebar { width: 100%; }
  .admin-content { padding: 20px; }
}

/* ---------- Bootstrap Carousel theming (gemstones) ---------- */
.gem-bs-carousel { padding-bottom: 6px; }
.gem-bs-carousel .carousel-inner { padding: 8px 4px 30px; }
.gem-bs-carousel .row { --bs-gutter-x: 18px; justify-content: center; }
.gem-bs-carousel .carousel-indicators { bottom: -6px; }
.gem-bs-carousel .carousel-indicators [data-bs-target] { background-color: var(--gold); width: 8px; height: 8px; border-radius: 50%; opacity: .4; }
.gem-bs-carousel .carousel-indicators .active { opacity: 1; }
.gem-bs-carousel .carousel-control-prev, .gem-bs-carousel .carousel-control-next { width: 42px; height: 42px; top: 42%; border-radius: 50%; background: #fff; box-shadow: var(--shadow); opacity: .95; }
.gem-bs-carousel .carousel-control-prev { left: -6px; }
.gem-bs-carousel .carousel-control-next { right: -6px; }
.gem-bs-carousel .carousel-control-prev-icon, .gem-bs-carousel .carousel-control-next-icon { filter: invert(14%) sepia(45%) saturate(1200%) hue-rotate(200deg); width: 1.1rem; height: 1.1rem; }

/* ---------- AOS tuning ---------- */
[data-aos] { pointer-events: auto; }

/* ---------- Article page layout + sidebar ---------- */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.article-sidebar { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 22px; }
.widget { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 20px; }
.widget h4 { font-size: 1rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--gold-light); color: var(--navy); display: flex; align-items: center; gap: 8px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-block; background: var(--cream); color: var(--maroon); border: 1px solid var(--line);
  padding: 4px 12px; border-radius: 999px; transition: background .15s, color .15s, transform .15s;
}
.tag-cloud a:hover { background: var(--navy); color: #fff; border-color: var(--navy); transform: translateY(-2px); }
.recent-post-item { display: flex; gap: 12px; margin-bottom: 14px; }
.recent-post-item:last-child { margin-bottom: 0; }
.recent-post-item img { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.recent-post-item .rp-thumb-placeholder { width: 58px; height: 58px; border-radius: 8px; background: var(--cream); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.recent-post-item .rp-title { font-size: 0.88rem; font-weight: 600; line-height: 1.35; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-post-item .rp-date { font-size: 0.74rem; color: var(--ink-soft); margin-top: 3px; }
.widget-links a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 8px; background: var(--cream); color: var(--ink); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.widget-links a:last-child { margin-bottom: 0; }
.widget-links a:hover { background: var(--navy); color: #fff; }
.widget-cta { text-align: center; background: linear-gradient(135deg, var(--navy), var(--maroon-dark)); color: #fff; }
.widget-cta h4 { color: #fff; border-bottom-color: rgba(255,255,255,0.25); }
.widget-cta p { font-size: 0.86rem; color: #e9e2ee; margin-bottom: 14px; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
