/* 49Jili Complete Modern Casino Design System */
:root {
  --gold: #ffc83b;
  --gold-glow: rgba(255, 200, 59, 0.45);
  --gold-light: #ffe599;
  --cyan: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.4);
  --cyan-dark: #008ba3;
  --bg-dark: #0a0e17;
  --bg-card: #121826;
  --bg-surface: #182032;
  --bg-accent: #1e293b;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 229, 255, 0.3);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Flashy Casino Container Backgrounds */
.casino-bg-container {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.casino-bg-hero {
  background-image: linear-gradient(180deg, rgba(10, 14, 23, 0.75) 0%, rgba(10, 14, 23, 0.95) 100%), url('/assets/images/hero_bg.webp');
}

.casino-bg-hub {
  background-image: linear-gradient(180deg, rgba(10, 14, 23, 0.8) 0%, rgba(10, 14, 23, 0.96) 100%), url('/assets/images/hero_bg.webp');
}

.casino-bg-spoke {
  background-image: linear-gradient(180deg, rgba(10, 14, 23, 0.82) 0%, rgba(10, 14, 23, 0.97) 100%), url('/assets/images/hero_bg.webp');
}

.casino-bg-animated {
  background: radial-gradient(circle at 50% 20%, rgba(0, 229, 255, 0.15), transparent 70%),
              radial-gradient(circle at 80% 80%, rgba(255, 200, 59, 0.12), transparent 60%),
              #0a0e17;
}

/* Container & Wrapper */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-py {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* Header & Navigation */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
}
.brand img {
  height: 42px;
  width: 42px;
  border-radius: 8px;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}
.brand span {
  background: linear-gradient(135deg, var(--gold) 0%, #fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--gold);
  background: rgba(255, 200, 59, 0.1);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 35px rgba(0,0,0,0.8);
  z-index: 1001;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.dropdown a:hover {
  color: #fff;
  background: rgba(0, 229, 255, 0.12);
  padding-left: 1.15rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-glow);
  color: var(--gold);
  padding: 0.4rem 0.7rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-dark);
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
  border-top: 1px solid var(--border-light);
}
.mobile-drawer.open {
  display: flex;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mobile-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #e59d00 100%);
  color: #080c14;
  box-shadow: 0 4px 15px var(--gold-glow);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--gold-glow);
}

.btn-cyan {
  border: 1px solid var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.08);
}
.btn-cyan:hover {
  background: var(--cyan);
  color: #080c14;
  box-shadow: 0 0 18px var(--cyan-glow);
}

/* Hero Section */
.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
  padding: 3rem 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 200, 59, 0.12);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-h1 span.gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.featured-img-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
  background: #000;
}

.featured-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 3x2 Grid Postcards with Tabs/Pagination */
.grid-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.grid-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.grid-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.3rem;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.grid-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.grid-tab-btn.active, .grid-tab-btn:hover {
  background: var(--cyan);
  color: #080c14;
}

.grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.postcard {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.postcard:hover {
  transform: translateY(-6px);
  border-color: var(--cyan);
  box-shadow: 0 12px 30px rgba(0, 229, 255, 0.22);
}

.postcard-img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}

.postcard-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.postcard:hover .postcard-img-box img {
  transform: scale(1.06);
}

.postcard-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(10, 14, 23, 0.85);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  backdrop-filter: blur(4px);
}

.postcard-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.postcard-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.postcard-title a {
  color: inherit;
  text-decoration: none;
}
.postcard-title a:hover {
  color: var(--cyan);
}

.postcard-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.postcard-action {
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--cyan);
  font-weight: 600;
}

/* Pagination Controls */
.pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.page-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn.active, .page-btn:hover {
  background: var(--gold);
  color: #080c14;
  border-color: var(--gold);
}

/* Content Bundles & Contextual Media */
.content-bundle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3.5rem 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.bundle-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
}

.bundle-media img {
  width: 100%;
  height: auto;
  display: block;
}

.bundle-text h3 {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1rem;
}

.bundle-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}

/* Article / Spoke Content Layout */
.article-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #cbd5e1;
}

.article-body h2 {
  font-size: 1.75rem;
  color: #fff;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-light);
}

.article-body h3 {
  font-size: 1.35rem;
  color: var(--gold);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.article-body p {
  margin-bottom: 1.4rem;
}

.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.article-body a:hover {
  color: var(--gold);
}

.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  background: rgba(255, 200, 59, 0.06);
  border-radius: 0 8px 8px 0;
  margin: 1.8rem 0;
  font-style: italic;
  color: #e2e8f0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.article-body th {
  background: var(--bg-surface);
  color: var(--gold);
  font-weight: 700;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.article-body td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
}

.article-body tr:last-child td {
  border-bottom: none;
}

/* Contextual Image Wrapper inside Article */
.contextual-img-box {
  margin: 2.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}
.contextual-img-box img {
  width: 100%;
  height: auto;
  display: block;
}
.contextual-caption {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.6rem 1rem;
  background: rgba(18, 24, 38, 0.9);
  border-top: 1px solid var(--border-light);
}

/* E-E-A-T Author Card */
.author-eeat {
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.95) 0%, rgba(24, 32, 50, 0.9) 100%);
  border: 1px solid var(--gold);
  border-radius: 14px;
  padding: 1.6rem;
  display: flex;
  gap: 1.4rem;
  align-items: center;
  margin: 3rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: var(--bg-card);
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--gold-glow);
}

.author-details h4 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.25rem;
}

.author-details p.title {
  font-size: 0.84rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.author-details p.bio {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-section {
  margin: 3.5rem 0;
}

.faq-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
}

.faq-q {
  padding: 1.1rem 1.35rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-size: 1rem;
}

.faq-q:hover {
  color: var(--gold);
}

.faq-a {
  padding: 0 1.35rem 1.25rem 1.35rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Footer */
footer.site-footer {
  background: #060910;
  border-top: 1px solid var(--border-light);
  padding: 4.5rem 1.5rem 2.5rem 1.5rem;
  color: var(--text-muted);
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-heading {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.compliance-tag {
  border: 1px solid #ef4444;
  color: #ef4444;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .grid-3x2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .content-bundle {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  nav.primary-nav {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .grid-3x2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-h1 {
    font-size: 2rem;
  }
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  padding: 0.85rem 1.5rem;
  background: rgba(18, 24, 38, 0.6);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}
.breadcrumb-list {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}
.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}
.breadcrumb-item a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-item a:hover {
  color: var(--gold);
}
.breadcrumb-separator {
  color: #64748b;
  font-size: 0.75rem;
}
.breadcrumb-item.current {
  color: #fff;
  font-weight: 600;
}

/* Promotional VIP CTA Banner */
.promo-bar {
  background: linear-gradient(90deg, #ffc83b 0%, #00e5ff 100%);
  color: #080c14;
  padding: 0.55rem 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.promo-bar a {
  background: #080c14;
  color: #ffc83b;
  padding: 0.3rem 0.95rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 800;
  transition: transform 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.promo-bar a:hover {
  transform: scale(1.05);
}

/* Functional Pages Quick Matrix */
.functional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.functional-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
}
.functional-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 8px 25px rgba(0, 229, 255, 0.2);
  background: var(--bg-surface);
}
.functional-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.functional-info h4 {
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 0.2rem;
  font-weight: 700;
}
.functional-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Category Directory Pills */
.category-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.category-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.category-pill-link:hover {
  background: var(--cyan);
  color: #080c14;
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan-glow);
  transform: translateY(-2px);
}

/* High Volume Keyword Grid & Trending Badges */
.keyword-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.8rem;
}
.keyword-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}
.keyword-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(255, 200, 59, 0.2);
}
.keyword-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
}
.keyword-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.keyword-card:hover .keyword-thumb img {
  transform: scale(1.05);
}
.keyword-metric {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 14, 23, 0.9);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.3px;
}
.keyword-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.keyword-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.keyword-body p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex-grow: 1;
}
.keyword-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 200, 59, 0.08);
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: all 0.2s ease;
}
.keyword-btn:hover {
  background: var(--gold);
  color: #080c14;
}

/* Quick Search Intent Matrix */
.search-intent-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.intent-tag {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.82rem;
  text-decoration: none;
  transition: all 0.2s;
}
.intent-tag:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

/* Contextual Silo Related Guides */
.related-silo-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
}
.related-silo-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.related-silo-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.related-silo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}
.related-silo-card {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.related-silo-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 6px 20px rgba(0, 229, 255, 0.15);
}
.related-silo-card h5 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.related-silo-card span.action {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Contextual Spoke-to-Hub & Hub-to-Home Banners */
.contextual-hub-banner {
  background: linear-gradient(135deg, rgba(18, 24, 38, 0.95), rgba(10, 14, 23, 0.98));
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-left: 4px solid var(--cyan);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0 2.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.contextual-hub-banner .banner-text {
  flex: 1;
}
.contextual-hub-banner .banner-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cyan);
  margin-bottom: 0.25rem;
  display: block;
}
.contextual-hub-banner .banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.contextual-hub-banner .banner-title a {
  color: #fff;
  text-decoration: none;
}
.contextual-hub-banner .banner-title a:hover {
  color: var(--gold);
}
.contextual-hub-banner .banner-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}
.contextual-hub-banner .banner-action {
  flex-shrink: 0;
}
.contextual-hub-banner .banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  background: rgba(0, 229, 255, 0.12);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.contextual-hub-banner .banner-btn:hover {
  background: var(--cyan);
  color: #080c14;
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

/* Home Return Banner for Hubs */
.contextual-home-banner {
  background: linear-gradient(135deg, rgba(255, 200, 59, 0.08), rgba(18, 24, 38, 0.95));
  border: 1px solid rgba(255, 200, 59, 0.3);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.contextual-home-banner .banner-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gold);
  margin-bottom: 0.25rem;
  display: block;
}
.contextual-home-banner .banner-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.contextual-home-banner .banner-title a {
  color: #fff;
  text-decoration: none;
}
.contextual-home-banner .banner-title a:hover {
  color: var(--gold);
}
.contextual-home-banner .banner-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}
.contextual-home-banner .banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  background: rgba(255, 200, 59, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.contextual-home-banner .banner-btn:hover {
  background: var(--gold);
  color: #080c14;
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(255, 200, 59, 0.3);
}

@media (max-width: 768px) {
  .contextual-hub-banner, .contextual-home-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .contextual-hub-banner .banner-action, .contextual-home-banner .banner-action {
    width: 100%;
  }
  .contextual-hub-banner .banner-btn, .contextual-home-banner .banner-btn {
    width: 100%;
    justify-content: center;
  }
}