:root {
  --page: #2b2b2b;
  --black: #000;
  --panel: #1a1a1a;
  --panel-card: #202020;
  --gold: #e1a85a;
  --gold-soft: #fee7c5;
  --gold-dim: #9e8556;
  --text: #bdbdbd;
  --text-light: #e0e0e0;
  --line: #e9ae5e;
  --green: #61ce70;
  --green-bright: #10db19;
  --shadow: 0 20px 36px rgba(0, 0, 0, 0.34);
}
* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  background: var(--page);
  color: var(--text);
  font-family: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.85;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header & Quickbar */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 99;
  box-shadow: var(--shadow);
}
.quickbar {
  min-height: 50px;
  padding: 0 10%;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 9px;
  background: var(--black);
  border-bottom: 2px solid var(--line);
}
.quick-link {
  min-width: 116px;
  padding: 5px 25px 8px;
  border-radius: 35px;
  color: #000;
  text-align: center;
  font-weight: 500;
  line-height: 1.25;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.quick-line { background: #04dd22; }
.quick-register { background: #5bff72; }
.quick-login { background: #a5ffb1; }
.quick-link:hover, .quick-link:focus-visible {
  background: #fff;
  color: #000;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
}

.mainbar {
  padding: 10px 10%;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: inline-flex; align-items: center; }
.site-nav {
  display: flex;
  gap: 16px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
.site-nav a {
  padding: 6px 10px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--gold-soft);
  background: rgba(225, 168, 90, 0.12);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(225, 168, 90, 0.4);
  border-radius: 6px;
  color: var(--gold);
  font-size: 24px;
  padding: 4px 10px;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 100;
  backdrop-filter: blur(4px);
}
.mobile-drawer-backdrop[hidden] {
  display: none !important;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: #181818;
  border-left: 2px solid var(--line);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 101;
  box-shadow: -6px 0 24px rgba(0, 0, 0, 0.6);
}
.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(225, 168, 90, 0.2);
  padding-bottom: 12px;
}
.mobile-drawer-header span {
  color: var(--gold);
  font-weight: 600;
  font-size: 18px;
}
.mobile-drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: #ddd;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.03);
  transition: all .18s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: rgba(225, 168, 90, 0.18);
  color: var(--gold-soft);
}
.mobile-drawer-ctas {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-drawer-ctas a {
  text-align: center;
  padding: 10px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
}

/* Breadcrumbs */
.blog-breadcrumbs-bar {
  background: var(--panel);
  border-bottom: 1px solid rgba(225, 168, 90, 0.15);
  padding: 12px 10%;
}
.blog-breadcrumbs {
  max-width: 900px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--gold-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-breadcrumbs a {
  color: #aaa;
  transition: color .2s;
}
.blog-breadcrumbs a:hover {
  color: var(--gold);
}
.blog-breadcrumbs .sep {
  color: rgba(255, 255, 255, 0.2);
}
.blog-breadcrumbs .current {
  color: var(--gold-soft);
  max-width: 450px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Main Article Container */
.article-wrapper {
  max-width: 900px;
  margin: 36px auto 60px;
  padding: 0 20px;
}

/* Article Header */
.article-header {
  margin-bottom: 30px;
}
.article-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(225, 168, 90, 0.15);
  border: 1px solid rgba(225, 168, 90, 0.4);
  border-radius: 20px;
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.article-title {
  font-size: 30px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--gold-soft);
  margin: 0 0 16px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gold-dim);
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.article-featured-image {
  margin: 24px 0 36px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(225, 168, 90, 0.2);
}
.article-featured-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Article Body Typography */
.article-body {
  font-size: 16.5px;
  line-height: 1.9;
  color: var(--text-light);
}
.article-body h2 {
  font-size: 23px;
  color: var(--gold);
  line-height: 1.4;
  margin: 40px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--gold);
  font-weight: 600;
  scroll-margin-top: 110px;
}
.article-body h3 {
  font-size: 19px;
  color: var(--gold-soft);
  line-height: 1.4;
  margin: 30px 0 12px;
  font-weight: 600;
  scroll-margin-top: 110px;
}
.article-body h4 {
  font-size: 17px;
  color: var(--gold);
  margin: 20px 0 10px;
  font-weight: 600;
  scroll-margin-top: 110px;
}
.article-body p {
  margin: 0 0 20px;
  text-align: justify;
}
.article-body strong {
  color: #fff;
  font-weight: 600;
}
.article-body ul, .article-body ol {
  margin: 0 0 24px 20px;
  padding-left: 10px;
}
.article-body li {
  margin-bottom: 10px;
}
.article-body blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  background: rgba(225, 168, 90, 0.07);
  border-left: 4px solid var(--gold);
  border-radius: 0 10px 10px 0;
  color: #fff;
  font-style: italic;
}
.article-body figure,
.article-body .wp-caption,
figure.wp-caption {
  max-width: 100% !important;
  width: 100% !important;
  margin: 28px auto !important;
  text-align: center;
  box-sizing: border-box !important;
  overflow: hidden;
}
.article-body figure img,
.article-body .wp-caption img,
.article-body img {
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  display: block;
  margin: 0 auto !important;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-sizing: border-box;
}
.article-body figcaption,
.article-body .wp-caption-text {
  max-width: 100% !important;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--gold-dim);
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  box-sizing: border-box;
}

/* Callout Box / Promo Box */
.article-cta-box {
  background: linear-gradient(135deg, #1e1e1e 0%, #141414 100%);
  border: 1px solid rgba(225, 168, 90, 0.35);
  border-radius: 14px;
  padding: 28px;
  margin: 44px 0;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.article-cta-box h3 {
  color: var(--gold);
  font-size: 21px;
  margin: 0 0 12px;
}
.article-cta-box p {
  color: #ccc;
  max-width: 650px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.7;
}
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: all .2s ease;
}
.cta-btn-primary {
  background: linear-gradient(135deg, #e1a85a 0%, #c48b3b 100%);
  color: #000;
  box-shadow: 0 4px 14px rgba(225, 168, 90, 0.4);
}
.cta-btn-primary:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px);
}
.cta-btn-secondary {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid var(--gold);
}
.cta-btn-secondary:hover {
  background: rgba(225, 168, 90, 0.15);
  transform: translateY(-2px);
}

/* Related Posts Section */
.related-posts-section {
  max-width: 900px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid rgba(225, 168, 90, 0.2);
}
.related-posts-title {
  color: var(--gold);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 24px;
}
.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  background: var(--panel);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.related-card:hover {
  transform: translateY(-4px);
  border-color: rgba(225, 168, 90, 0.4);
}
.related-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.related-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.related-card-body h4 {
  color: var(--gold-soft);
  font-size: 14.5px;
  line-height: 1.45;
  margin: 0 0 10px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-card-body time {
  margin-top: auto;
  font-size: 12px;
  color: var(--gold-dim);
}

/* Blog Index / Hub Styles */
.blog-hub-header {
  text-align: center;
  padding: 50px 20px 30px;
  background: linear-gradient(180deg, #111 0%, var(--page) 100%);
  border-bottom: 1px solid rgba(225, 168, 90, 0.15);
}
.blog-hub-header h1 {
  color: var(--gold-soft);
  font-size: 34px;
  margin: 0 0 12px;
  font-weight: 700;
}
.blog-hub-header p {
  max-width: 680px;
  margin: 0 auto;
  color: #aaa;
  font-size: 16px;
}
.blog-grid-container {
  max-width: 1100px;
  margin: 40px auto 80px;
  padding: 0 20px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-hub-card {
  background: var(--panel);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.blog-hub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(225, 168, 90, 0.5);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.4);
}
.blog-hub-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.blog-hub-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-hub-tag {
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.blog-hub-card-body h3 {
  color: var(--gold-soft);
  font-size: 17px;
  line-height: 1.45;
  margin: 0 0 10px;
  font-weight: 600;
}
.blog-hub-card-body p {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-hub-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
  font-size: 13px;
}
.blog-read-more {
  color: var(--gold);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color .2s;
}
.blog-read-more:hover {
  color: #fff;
}
.blog-date {
  color: var(--gold-dim);
}

/* Site Footer */
.site-footer {
  background: var(--black);
  border-top: 2px solid var(--line);
  padding: 48px 10% 32px;
  color: #888;
  font-size: 14px;
}
.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-brand-col p {
  line-height: 1.8;
  margin: 16px 0;
  color: #aaa;
}
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  color: var(--gold);
  font-size: 16px;
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col a {
  color: #aaa;
  transition: color .2s;
  cursor: pointer;
}
.footer-col a:hover {
  color: var(--gold-soft);
}
.footer-bottom {
  max-width: 1200px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 13px;
  color: #666;
}

/* Responsive */
@media (max-width: 900px) {
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .quickbar { padding: 0 16px; }
  .mainbar { padding: 10px 16px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-posts-grid { grid-template-columns: 1fr; }
  .footer-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .article-title { font-size: 24px; }
}
@media (max-width: 600px) {
  .article-wrapper { padding: 0 14px; margin: 20px auto 40px; }
  .article-featured-image { margin: 16px 0 24px; border-radius: 8px; }
  .article-body figure,
  .article-body .wp-caption,
  figure.wp-caption { margin: 20px auto !important; }
  .article-body figure img,
  .article-body .wp-caption img,
  .article-body img { border-radius: 8px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .quick-link { min-width: auto; padding: 4px 14px; font-size: 13px; }
  .article-title { font-size: 21px; }
  .article-body { font-size: 15.5px; }
}
