/* ============================================================
   SANTRA INTERIORS — Luxury Blog & Insights Stylesheet
   Designed for ultra-premium interior architecture & design journal.
   ============================================================ */

/* Reading Progress Indicator */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, #f3c26b 100%);
  z-index: 10001;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 12px rgba(201, 169, 110, 0.6);
}

/* Page Background Wrapper */
.blog-page-wrapper {
  background-color: #0d0d0f;
  color: #e5e5e7;
  min-height: 100vh;
  font-family: var(--font-body, 'Montserrat', sans-serif);
}

/* ============================================================
   BLOG HERO SECTION
   ============================================================ */
.blog-hero {
  position: relative;
  padding: 140px 20px 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 15%, rgba(201, 169, 110, 0.14) 0%, rgba(13, 13, 15, 0.98) 75%),
              linear-gradient(180deg, #151518 0%, #0d0d0f 100%);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 110, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.blog-hero-inner {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light, #dfc28d);
  font-weight: 600;
  margin-bottom: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.blog-hero-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.blog-hero-title em {
  font-style: italic;
  color: var(--gold, #c9a96e);
  background: linear-gradient(135deg, #ffffff 10%, #e0c58e 60%, #c9a96e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #a1a1aa;
  max-width: 740px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* Hero Controls & Publisher Trigger */
.blog-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.btn-publish-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c9a96e 0%, #aa8547 100%);
  color: #0d0d0f;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(201, 169, 110, 0.35);
  transition: all 0.3s ease;
}

.btn-publish-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.5);
  background: linear-gradient(135deg, #dfc28d 0%, #c9a96e 100%);
}

.btn-browse-topics {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5e5e7;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-browse-topics:hover {
  border-color: var(--gold, #c9a96e);
  color: var(--gold-light, #dfc28d);
  background: rgba(201, 169, 110, 0.08);
}

/* ============================================================
   SEARCH & FILTER BAR
   ============================================================ */
.blog-controls-section {
  padding: 30px 20px 10px;
  max-width: 1240px;
  margin: 0 auto;
}

.blog-search-card {
  background: #141417;
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: 20px;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input-wrapper i.search-icon {
  position: absolute;
  left: 20px;
  color: var(--gold, #c9a96e);
  font-size: 1.1rem;
  pointer-events: none;
}

.blog-search-input {
  width: 100%;
  padding: 14px 48px 14px 50px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.25s ease;
}

.blog-search-input:focus {
  outline: none;
  border-color: var(--gold, #c9a96e);
  background: rgba(201, 169, 110, 0.04);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

.blog-search-clear {
  position: absolute;
  right: 18px;
  background: none;
  border: none;
  color: #71717a;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 6px;
  display: none;
}

.blog-search-clear.visible {
  display: block;
}

.blog-search-clear:hover {
  color: #ffffff;
}

/* Category Filter Chips */
.category-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: rgba(201, 169, 110, 0.4);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

.filter-chip.active {
  background: var(--gold, #c9a96e);
  color: #0d0d0f;
  border-color: var(--gold, #c9a96e);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(201, 169, 110, 0.3);
}

.chip-count {
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.25);
  color: inherit;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
}

.filter-chip.active .chip-count {
  background: rgba(0, 0, 0, 0.2);
  color: #0d0d0f;
}

/* ============================================================
   FEATURED ARTICLE SPOTLIGHT
   ============================================================ */
.featured-article-section {
  max-width: 1240px;
  margin: 36px auto 48px;
  padding: 0 20px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: #141417;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 169, 110, 0.08);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.featured-card:hover {
  border-color: var(--gold, #c9a96e);
  transform: translateY(-4px);
}

.featured-card-media {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}

.featured-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out, ease);
}

.featured-card:hover .featured-card-img {
  transform: scale(1.05);
}

.featured-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, #141417 100%);
}

@media (max-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-card-media {
    min-height: 260px;
  }
  .featured-card-media::after {
    background: linear-gradient(180deg, transparent 60%, #141417 100%);
  }
}

.featured-card-content {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.badge-featured {
  background: linear-gradient(135deg, #c9a96e 0%, #a47f40 100%);
  color: #0d0d0f;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.badge-category {
  color: var(--gold-light, #dfc28d);
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.featured-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 14px;
}

.featured-title a {
  color: #ffffff;
  transition: color 0.2s ease;
}

.featured-title a:hover {
  color: var(--gold, #c9a96e);
}

.featured-excerpt {
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: #71717a;
  margin-bottom: 24px;
}

.featured-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #d4d4d8;
  font-weight: 500;
}

.author-mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--gold, #c9a96e);
  object-fit: cover;
}

.btn-read-featured {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--gold, #c9a96e);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 0;
  border-bottom: 2px solid var(--gold, #c9a96e);
  transition: all 0.2s ease;
}

.btn-read-featured:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
  gap: 14px;
}

/* ============================================================
   MAIN ARTICLE GRID
   ============================================================ */
.blog-grid-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

.blog-grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 14px;
}

.blog-grid-title {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 1.25rem;
  color: var(--gold-light, #dfc28d);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.blog-count-indicator {
  font-size: 0.85rem;
  color: #71717a;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 32px;
}

@media (max-width: 768px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* Individual Post Card */
.post-card {
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 110, 0.4);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.post-card-thumb-wrap {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
}

.post-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-card-thumb {
  transform: scale(1.06);
}

.post-card-category-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(13, 13, 15, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--gold-light, #dfc28d);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 999px;
  z-index: 2;
}

.post-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: #71717a;
  margin-bottom: 12px;
}

.post-card-meta i {
  color: var(--gold, #c9a96e);
}

.post-card-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-title a {
  color: #ffffff;
  transition: color 0.2s ease;
}

.post-card-title a:hover {
  color: var(--gold, #c9a96e);
}

.post-card-excerpt {
  color: #a1a1aa;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
  margin-top: auto;
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #d4d4d8;
}

.post-card-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold, #c9a96e);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: gap 0.2s ease, color 0.2s ease;
}

.post-card:hover .post-card-read-link {
  gap: 10px;
  color: var(--gold-light, #dfc28d);
}

/* User-created Custom Post Pill */
.custom-post-pill {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(37, 99, 235, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

/* Delete / Edit button on custom posts */
.post-card-actions {
  display: flex;
  gap: 8px;
}

.btn-card-action {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a1a1aa;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-action:hover {
  background: rgba(220, 38, 38, 0.2);
  border-color: rgba(220, 38, 38, 0.5);
  color: #ef4444;
}

/* Empty State */
.blog-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #141417;
  border: 1px dashed rgba(201, 169, 110, 0.3);
  border-radius: 20px;
  grid-column: 1 / -1;
}

.blog-empty-icon {
  font-size: 3rem;
  color: var(--gold, #c9a96e);
  margin-bottom: 16px;
  opacity: 0.7;
}

.blog-empty-state h3 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.blog-empty-state p {
  color: #a1a1aa;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

/* ============================================================
   NEWSLETTER & VIP DESIGN DIGEST
   ============================================================ */
.blog-newsletter-section {
  max-width: 1240px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.newsletter-box {
  background: radial-gradient(circle at 80% 50%, rgba(201, 169, 110, 0.12) 0%, rgba(20, 20, 23, 0.98) 70%),
              linear-gradient(135deg, #18181c 0%, #111113 100%);
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 24px;
  padding: 50px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 860px) {
  .newsletter-box {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    gap: 24px;
  }
}

.newsletter-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  color: #ffffff;
  margin-bottom: 10px;
}

.newsletter-desc {
  color: #a1a1aa;
  font-size: 0.92rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

@media (max-width: 540px) {
  .newsletter-form {
    flex-direction: column;
  }
}

.newsletter-input {
  flex-grow: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.9rem;
}

.newsletter-input:focus {
  border-color: var(--gold, #c9a96e);
  outline: none;
}

.btn-newsletter-submit {
  background: linear-gradient(135deg, #c9a96e 0%, #a47f40 100%);
  color: #0d0d0f;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-newsletter-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
}

/* ============================================================
   SINGLE BLOG ARTICLE READER PAGE (`blog-post.html`)
   ============================================================ */
.article-breadcrumbs {
  padding: 110px 20px 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: #71717a;
}

.article-breadcrumbs a {
  color: var(--gold, #c9a96e);
  transition: color 0.2s;
}

.article-breadcrumbs a:hover {
  color: #ffffff;
}

.article-hero {
  padding: 20px 20px 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.article-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--gold-light, #dfc28d);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.article-main-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 20px;
}

.article-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #a1a1aa;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 28px;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  max-width: 650px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: #a1a1aa;
}

.article-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-meta-item i {
  color: var(--gold, #c9a96e);
}

/* Featured Header Image */
.article-featured-image-wrapper {
  max-width: 1100px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.article-featured-img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  border-radius: 24px;
  border: 1px solid rgba(201, 169, 110, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.article-image-caption {
  font-size: 0.82rem;
  color: #71717a;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
}

/* Article Layout Grid (Sidebar + Content) */
.article-layout-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 80px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
}

@media (max-width: 960px) {
  .article-layout-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Sticky Sidebar Table of Contents */
.article-sidebar {
  position: sticky;
  top: 100px;
  background: #141417;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.toc-title {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--gold-light, #dfc28d);
  letter-spacing: 1px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toc-link {
  font-size: 0.84rem;
  color: #a1a1aa;
  display: block;
  line-height: 1.45;
  transition: color 0.2s, transform 0.2s;
  padding-left: 10px;
  border-left: 2px solid transparent;
}

.toc-link:hover,
.toc-link.active {
  color: var(--gold, #c9a96e);
  border-left-color: var(--gold, #c9a96e);
  transform: translateX(4px);
}

/* Sidebar Quick Consultation Card */
.sidebar-cta-card {
  margin-top: 24px;
  padding: 20px;
  background: rgba(201, 169, 110, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 14px;
  text-align: center;
}

.sidebar-cta-card h4 {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 0.92rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.sidebar-cta-card p {
  font-size: 0.78rem;
  color: #a1a1aa;
  margin-bottom: 14px;
}

.btn-sidebar-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #25D366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 0.2s;
}

.btn-sidebar-whatsapp:hover {
  background: #128C7E;
}

/* ============================================================
   ARTICLE BODY TYPOGRAPHY & ELEMENTS
   ============================================================ */
.article-body-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #d1d5db;
}

.article-body-content p {
  margin-bottom: 24px;
}

.article-body-content h2 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.article-body-content h3 {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.4rem;
  color: var(--gold-light, #dfc28d);
  margin: 32px 0 14px;
}

.article-body-content ul,
.article-body-content ol {
  margin: 0 0 28px 20px;
}

.article-body-content li {
  margin-bottom: 12px;
  position: relative;
}

.article-body-content ul li {
  list-style-type: none;
  padding-left: 18px;
}

.article-body-content ul li::before {
  content: '▪';
  color: var(--gold, #c9a96e);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* Callout Box */
.article-callout {
  background: rgba(201, 169, 110, 0.08);
  border-left: 4px solid var(--gold, #c9a96e);
  border-radius: 0 16px 16px 0;
  padding: 24px 28px;
  margin: 32px 0;
}

.article-callout-title {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 0.98rem;
  color: var(--gold-light, #dfc28d);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-callout p {
  margin-bottom: 0;
  font-size: 0.96rem;
  color: #e5e5e7;
  font-style: italic;
}

/* Key Takeaway Box */
.article-takeaway-box {
  background: #141417;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 20px;
  padding: 30px;
  margin: 36px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.takeaway-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.takeaway-header i {
  color: var(--gold, #c9a96e);
  font-size: 1.4rem;
}

.takeaway-header h3 {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 1.15rem;
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
}

.takeaway-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.takeaway-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: #d1d5db;
}

.takeaway-list li i {
  color: var(--gold, #c9a96e);
  margin-top: 5px;
  font-size: 0.85rem;
}

/* Styled Blockquote */
.article-blockquote {
  position: relative;
  padding: 28px 36px 28px 48px;
  margin: 36px 0;
  background: #151518;
  border-left: 3px solid var(--gold, #c9a96e);
  border-radius: 0 16px 16px 0;
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.25rem;
  font-style: italic;
  color: #ffffff;
  line-height: 1.6;
}

.article-blockquote::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 3.5rem;
  color: rgba(201, 169, 110, 0.3);
  font-family: serif;
  line-height: 1;
}

.blockquote-author {
  display: block;
  font-family: var(--font-body, 'Montserrat', sans-serif);
  font-size: 0.82rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold, #c9a96e);
  margin-top: 12px;
}

/* Share & Engagement Bar */
.article-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  margin-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.share-label {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 0.88rem;
  text-transform: uppercase;
  color: var(--gold-light, #dfc28d);
  letter-spacing: 1px;
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  transition: all 0.2s ease;
}

.btn-share--whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25D366;
}

.btn-share--whatsapp:hover {
  background: #25D366;
  color: #ffffff;
}

.btn-share--copy:hover {
  border-color: var(--gold, #c9a96e);
  color: var(--gold-light, #dfc28d);
}

/* Author Bio Card */
.article-author-card {
  margin: 48px 0;
  padding: 32px;
  background: #141417;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 20px;
  display: flex;
  gap: 24px;
  align-items: center;
}

@media (max-width: 600px) {
  .article-author-card {
    flex-direction: column;
    text-align: center;
  }
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold, #c9a96e);
  object-fit: cover;
  flex-shrink: 0;
}

.author-bio-title {
  font-family: var(--font-display, 'Playfair Display', serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.author-bio-role {
  font-size: 0.8rem;
  color: var(--gold, #c9a96e);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: 600;
}

.author-bio-desc {
  font-size: 0.88rem;
  color: #a1a1aa;
  line-height: 1.6;
}

/* ============================================================
   BLOG CREATOR / PUBLISHER STUDIO MODAL
   ============================================================ */
.studio-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.studio-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.studio-modal-container {
  background: #151518;
  border: 1px solid rgba(201, 169, 110, 0.3);
  border-radius: 24px;
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 50px rgba(201, 169, 110, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.studio-modal-overlay.open .studio-modal-container {
  transform: translateY(0);
}

.studio-modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #111114;
}

.studio-modal-title {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 1.15rem;
  color: var(--gold-light, #dfc28d);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-modal-close {
  background: none;
  border: none;
  color: #a1a1aa;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s;
}

.studio-modal-close:hover {
  color: #ffffff;
}

/* Tabs Bar */
.studio-tabs {
  display: flex;
  background: #111114;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 28px;
}

.studio-tab-btn {
  padding: 12px 20px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #71717a;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.studio-tab-btn.active {
  color: var(--gold, #c9a96e);
  border-bottom-color: var(--gold, #c9a96e);
}

.studio-tab-pane {
  display: none;
  padding: 28px;
  overflow-y: auto;
  flex-grow: 1;
}

.studio-tab-pane.active {
  display: block;
}

/* Form Styles */
.studio-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

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

.studio-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-form-group.full-width {
  grid-column: 1 / -1;
}

.studio-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-light, #dfc28d);
}

.studio-input,
.studio-select,
.studio-textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.studio-input:focus,
.studio-select:focus,
.studio-textarea:focus {
  outline: none;
  border-color: var(--gold, #c9a96e);
  background: rgba(201, 169, 110, 0.04);
}

/* Image Thumbnail Selector */
.studio-image-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.image-picker-option {
  position: relative;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.image-picker-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-picker-option.selected {
  border-color: var(--gold, #c9a96e);
  transform: scale(1.05);
}

/* Rich Toolbar */
.studio-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px 8px 0 0;
  margin-bottom: -1px;
}

.tool-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e5e7;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tool-btn:hover {
  background: var(--gold, #c9a96e);
  color: #0d0d0f;
  border-color: var(--gold, #c9a96e);
}

.studio-textarea-content {
  border-radius: 0 0 10px 10px;
  min-height: 240px;
  font-family: 'Consolas', 'Menlo', monospace;
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Modal Footer */
.studio-modal-footer {
  padding: 18px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #111114;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.word-count-badge {
  font-size: 0.8rem;
  color: #71717a;
}

.studio-footer-actions {
  display: flex;
  gap: 12px;
}

.btn-studio-cancel {
  padding: 10px 20px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #a1a1aa;
  border-radius: 999px;
  font-size: 0.86rem;
  cursor: pointer;
}

.btn-studio-cancel:hover {
  color: #ffffff;
  border-color: #ffffff;
}

.btn-studio-publish {
  padding: 10px 26px;
  background: linear-gradient(135deg, #c9a96e 0%, #a47f40 100%);
  color: #0d0d0f;
  font-weight: 700;
  font-size: 0.86rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 18px rgba(201, 169, 110, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-studio-publish:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 169, 110, 0.5);
}

/* Toast Notifications */
.blog-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #18181c;
  border: 1px solid var(--gold, #c9a96e);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  z-index: 10005;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
}

.blog-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.blog-toast i {
  color: var(--gold, #c9a96e);
  font-size: 1.1rem;
}

/* ============================================================
   ADMIN MODE & EDITORIAL TOOLBAR
   ============================================================ */

/* Top Admin Session Bar */
.admin-session-bar {
  display: none;
  background: #09090b;
  border-bottom: 1.5px solid var(--gold, #c9a96e);
  padding: 8px 24px;
  position: sticky;
  top: 0;
  z-index: 10003;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  animation: slideDown 0.3s ease-out;
}

body.is-admin .admin-session-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Adjust header top when admin bar is active */
body.is-admin .header {
  top: 42px;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.admin-bar-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}

.admin-status-badge {
  background: rgba(201, 169, 110, 0.2);
  border: 1px solid var(--gold, #c9a96e);
  color: var(--gold-light, #dfc28d);
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.admin-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-admin-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-admin-bar--primary {
  background: var(--gold, #c9a96e);
  color: #0d0d0f;
}

.btn-admin-bar--primary:hover {
  background: var(--gold-light, #dfc28d);
}

.btn-admin-bar--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #e5e5e7;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-admin-bar--secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.btn-admin-bar--logout {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-admin-bar--logout:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Post Card Admin Controls (Visible ONLY in Admin Mode) */
.post-card-admin-controls {
  display: none;
  gap: 6px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(201, 169, 110, 0.25);
}

body.is-admin .post-card-admin-controls {
  display: flex;
  justify-content: flex-end;
}

.btn-card-edit {
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--gold-light, #dfc28d);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.btn-card-edit:hover {
  background: var(--gold, #c9a96e);
  color: #0d0d0f;
}

.btn-card-delete {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.74rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.btn-card-delete:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Edit Button in Article Header (Visible ONLY to Admin) */
.article-admin-edit-btn {
  display: none;
  margin: 14px auto 0;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid var(--gold, #c9a96e);
  color: var(--gold-light, #dfc28d);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

body.is-admin .article-admin-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.article-admin-edit-btn:hover {
  background: var(--gold, #c9a96e);
  color: #0d0d0f;
}

/* Admin Passcode Login Modal */
.admin-login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  z-index: 10006;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.admin-login-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.admin-login-card {
  background: #141417;
  border: 1.5px solid rgba(201, 169, 110, 0.35);
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  padding: 36px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(201, 169, 110, 0.12);
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.admin-login-modal-overlay.open .admin-login-card {
  transform: translateY(0);
}

.admin-login-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.15);
  border: 1.5px solid var(--gold, #c9a96e);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold, #c9a96e);
  margin-bottom: 16px;
}

.admin-login-title {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.admin-login-subtitle {
  font-size: 0.84rem;
  color: #a1a1aa;
  margin-bottom: 24px;
  line-height: 1.5;
}

.admin-login-input-group {
  position: relative;
  margin-bottom: 18px;
}

.admin-login-input {
  width: 100%;
  padding: 14px 44px 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  letter-spacing: 2px;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
}

.admin-login-input:focus {
  border-color: var(--gold, #c9a96e);
  background: rgba(201, 169, 110, 0.04);
}

.btn-admin-submit-login {
  width: 100%;
  padding: 13px;
  background: linear-gradient(135deg, #c9a96e 0%, #a47f40 100%);
  color: #0d0d0f;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-admin-submit-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.4);
}

.admin-login-error {
  color: #ef4444;
  font-size: 0.8rem;
  margin-top: 10px;
  display: none;
}

.admin-login-error.show {
  display: block;
}

.admin-login-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #71717a;
  font-size: 1.1rem;
  cursor: pointer;
}

.admin-login-close:hover {
  color: #ffffff;
}

/* Admin Dashboard Page (`admin-blog.html`) */
.admin-dashboard-container {
  max-width: 1280px;
  margin: 100px auto 60px;
  padding: 0 20px;
}

.admin-dash-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-dash-title {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 1.6rem;
  color: #ffffff;
}

.admin-dash-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.admin-stat-card {
  background: #141417;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.admin-stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(201, 169, 110, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold, #c9a96e);
}

.admin-stat-number {
  font-family: var(--font-head, 'Cinzel', serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.admin-stat-label {
  font-size: 0.78rem;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.admin-table-card {
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.88rem;
}

.admin-table th {
  padding: 14px 16px;
  color: var(--gold-light, #dfc28d);
  font-family: var(--font-head, 'Cinzel', serif);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e5e5e7;
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.admin-table-thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}

