/* ==========================================================================
   66CLUB REVAMP — INNER PAGES, ARCHIVES, SINGLE ARTICLES & SIDEBAR STYLES
   Matches Homepage Royal Obsidian + Molten Gold + Crisp Light Editorial DNA
   ========================================================================== */

/* Inner Hero Banner (Categories, Articles, Guide Pages, Search, 404) */
.inner-hero {
  position: relative;
  background: var(--bg-obsidian);
  color: #ffffff;
  padding: 64px 0 60px;
  overflow: hidden;
  isolation: isolate;
}

.inner-hero--article {
  padding: 56px 0 54px;
}

.inner-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.inner-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.inner-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 13, 26, 0.96) 0%, rgba(9, 13, 26, 0.84) 58%, rgba(9, 13, 26, 0.56) 100%),
    linear-gradient(180deg, rgba(9, 13, 26, 0.35) 0%, rgba(9, 13, 26, 0.94) 100%);
}

.inner-hero-content {
  max-width: 840px;
  margin-left: 0;
}

.inner-hero .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #cbd5e1 !important;
  margin-bottom: 16px;
  text-transform: none !important;
}

.inner-hero .breadcrumbs a {
  color: #ffda7b !important;
  font-weight: 700;
}

.inner-hero .breadcrumbs a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

.inner-hero-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #ffffff !important;
}

.inner-hero-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-on-dark-soft);
  max-width: 680px;
  margin-bottom: 22px;
}

.inner-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--text-on-dark-soft);
}

/* 2-Column Inner Layout */
.inner-main-section {
  padding: 56px 0 84px;
}

.inner-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

/* Archive Cards Grid (2-col next to sticky sidebar) */
.archive-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Clean Pagination */
.revamp-pagination {
  margin-top: 40px;
}

.revamp-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.revamp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.revamp-pagination .page-numbers:hover {
  border-color: var(--gold-500);
  color: var(--gold-700);
  background: var(--bg-warm);
}

.revamp-pagination .page-numbers.current {
  background: var(--bg-obsidian);
  border-color: var(--gold-500);
  color: var(--gold-400);
}

/* Single Article & Inner Page Reading Card */
.article-shell {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-md);
}

.article-prose {
  font-size: 1.02rem;
  line-height: 1.82;
  color: var(--text-secondary);
}

.article-prose h2 {
  font-size: 1.52rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  margin: 34px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}

.article-prose h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 56px;
  height: 2px;
  background: var(--grad-gold);
}

.article-prose h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 26px 0 10px;
}

.article-prose h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 20px 0 8px;
}

.article-prose p {
  margin-bottom: 16px;
}

.article-prose a {
  color: var(--gold-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose a:hover {
  color: var(--crimson-600);
}

.article-prose ul,
.article-prose ol {
  margin: 0 0 18px 22px;
  padding-left: 0;
}

.article-prose ul {
  list-style: disc;
}

.article-prose ol {
  list-style: decimal;
}

.article-prose li {
  margin-bottom: 8px;
}

.article-prose img,
.article-prose figure img {
  border-radius: 14px;
  margin: 20px auto;
  box-shadow: var(--shadow-md);
}

.article-prose figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: -10px;
  margin-bottom: 20px;
  font-style: italic;
}

.article-prose blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: var(--bg-warm);
  border-left: 4px solid var(--gold-500);
  border-radius: 0 12px 12px 0;
  color: var(--text-primary);
  font-weight: 500;
}

.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 0.93rem;
}

.article-prose table thead th,
.article-prose table tr:first-child th {
  background: var(--bg-navy) !important;
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--gold-500);
}

.article-prose table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-light);
}

.article-prose table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.article-prose table tbody tr:hover {
  background: var(--bg-warm);
}

/* End-of-Article CTA Box */
.article-end-cta {
  margin-top: 38px;
  padding: 28px 30px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #131b36 0%, #241024 60%, #0f1629 100%);
  border: 1px solid rgba(245, 185, 66, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.article-end-cta h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 6px;
}

.article-end-cta p {
  font-size: 0.92rem;
  color: var(--text-on-dark-soft);
  margin: 0;
  max-width: 460px;
}

/* Vibrant Sticky Sidebar */
.inner-sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 22px;
}

.sidebar-vip-card {
  background: linear-gradient(155deg, #162140 0%, #0b1020 100%);
  border: 1px solid rgba(245, 185, 66, 0.4);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.sidebar-vip-card h3 {
  font-size: 1.48rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 14px 0 8px;
  line-height: 1.2;
}

.sidebar-vip-card p {
  font-size: 0.89rem;
  color: var(--text-on-dark-soft);
  line-height: 1.6;
  margin-bottom: 18px;
}

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary) !important;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-quick-links {
  display: grid;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sidebar-quick-links li,
.sidebar-posts-list li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sidebar-quick-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.sidebar-quick-links a:hover {
  background: var(--bg-warm);
  border-color: var(--gold-500);
  color: var(--gold-700);
  transform: translateX(3px);
}

.sidebar-posts-list {
  display: grid;
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sidebar-post-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 12px;
  align-items: center;
}

.sidebar-post-item img {
  width: 76px;
  height: 60px;
  object-fit: cover;
  border-radius: 10px;
}

.sidebar-post-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 2px;
}

.sidebar-post-item h4 {
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.38;
  color: var(--text-primary) !important;
  margin: 0 0 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-post-item:hover h4 {
  color: var(--crimson-600) !important;
}

.sidebar-post-item time {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Responsive Inner Breakpoints */
@media (max-width: 1020px) {
  .inner-two-col {
    grid-template-columns: 1fr;
  }
  .inner-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .archive-cards-grid {
    grid-template-columns: 1fr;
  }
  .article-shell {
    padding: 26px 20px;
  }
  .inner-hero {
    padding: 44px 0 42px;
  }
}
