/* DakshinAstro — Blog detail page */

.blog-detail-page {
  background: #060613;
}

.post-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 56px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 20%, rgba(120, 48, 200, 0.45), transparent 70%),
    linear-gradient(125deg, #1a0a3a 0%, #4a1a8a 48%, #7a2fd0 100%);
}

.post-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    radial-gradient(1px 1px at 18% 28%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 62% 68%, #ffe9a8, transparent),
    radial-gradient(1px 1px at 82% 22%, #fff, transparent);
}

.post-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.post-hero h1 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
}

.post-breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
}

.post-breadcrumb a:hover {
  color: var(--gold-bright);
}

.post-jumpnav {
  position: sticky;
  top: var(--header-h);
  z-index: 50;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  background: rgba(8, 7, 20, 0.96);
  backdrop-filter: blur(12px);
}

.post-jumpnav__inner {
  display: flex;
  gap: 8px 22px;
  overflow-x: auto;
  padding: 14px 0;
  scrollbar-width: none;
}

.post-jumpnav__inner::-webkit-scrollbar {
  display: none;
}

.post-jumpnav a {
  flex: 0 0 auto;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition);
}

.post-jumpnav a:hover,
.post-jumpnav a.is-active {
  color: var(--gold-bright);
}

.post-article {
  padding: 48px 0 64px;
  background: linear-gradient(180deg, #070614, #090817 40%, #060613);
}

.post-article__inner {
  max-width: 760px;
}

.post-header {
  margin-bottom: 28px;
}

.post-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #1a1200;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffb800, #d4af37);
}

.post-meta {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.post-feature {
  aspect-ratio: 16 / 8;
  margin-bottom: 36px;
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.post-section {
  margin-bottom: 42px;
  scroll-margin-top: calc(var(--header-h) + 70px);
}

.post-section h2 {
  margin-bottom: 16px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
}

.post-section p {
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.post-list {
  margin: 0 0 20px;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.post-list li {
  margin-bottom: 10px;
}

.post-list--ordered {
  list-style: decimal;
}

.post-quote {
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid #7a2fd0;
  border-radius: 0 14px 14px 0;
  background: rgba(122, 47, 208, 0.12);
}

.post-quote p {
  margin: 0;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.55;
}

.post-note {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 184, 0, 0.35);
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  background: rgba(255, 184, 0, 0.08);
}

.post-note strong {
  color: var(--gold-bright);
}


.post-faq {
  display: grid;
  gap: 12px;
}

.post-faq details {
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.post-faq summary {
  padding: 16px 18px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.post-faq summary::-webkit-details-marker {
  display: none;
}

.post-faq details[open] summary {
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  color: var(--gold-bright);
}

.post-faq p {
  margin: 0;
  padding: 14px 18px 18px;
  font-size: 0.9rem;
}

.post-related {
  padding: 56px 0 20px;
  background: #060613;
}

.post-related__title {
  margin-bottom: 24px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
}

.post-related__list {
  display: grid;
  gap: 14px;
}

.post-related__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.post-related__item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 184, 0, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.post-related__icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg, #7a2fd0, #4a1a8a);
}

.post-related__item h3 {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.post-related__item p {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.post-related__arrow {
  color: var(--gold);
  font-size: 1.5rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .post-hero {
    padding: calc(var(--header-h) + 44px) 0 40px;
  }

  .post-hero h1 {
    font-size: clamp(1.7rem, 8vw, 2.3rem);
  }

  .post-article {
    padding: 36px 0 48px;
  }

  .post-feature {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }

  .post-related__item {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .post-related__arrow {
    display: none;
  }
}
