/* ============================================
   888bet - Bangladesh Market
   Original Design System
   ============================================ */

/* --- CSS Variables --- */
:root {
  --clr-primary: #0b1e3d;
  --clr-primary-light: #14305e;
  --clr-accent: #e8a020;
  --clr-accent-hover: #f0b840;
  --clr-success: #1db954;
  --clr-success-hover: #22d362;
  --clr-danger: #e53e3e;
  --clr-bg: #f5f6fa;
  --clr-surface: #ffffff;
  --clr-surface-alt: #f0f1f5;
  --clr-text: #1a1a2e;
  --clr-text-secondary: #4a4a6a;
  --clr-text-muted: #8888a0;
  --clr-border: #e2e4ea;
  --clr-dark-bg: #0a1628;
  --clr-dark-surface: #101e36;
  --clr-dark-text: #e8eaf0;
  --clr-header-bg: #0b1e3d;
  --clr-footer-bg: #06101f;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --shadow-glow: 0 0 24px rgba(232,160,32,.18);
  --font-stack: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --max-w: 1180px;
  --header-h: 72px;
  --transition: .25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.7;
  color: var(--clr-text);
  background: var(--clr-bg);
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent-hover); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { line-height: 1.25; color: var(--clr-primary); }

/* --- Utility --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-accent { color: var(--clr-accent); }
.text-center { text-align: center; }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--clr-header-bg);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0 20px;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}
.brand-wrap {
  width: 168px;
  min-width: 168px;
  max-width: 168px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-decoration: none;
}
.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--clr-accent), #d4890a);
  border-radius: 10px;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { min-width: 0; line-height: 1.05; }
.brand-text strong {
  display: block;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
}
.brand-text span {
  display: block;
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  color: rgba(255,255,255,.55);
  letter-spacing: .3px;
}

/* Primary Nav */
.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.2vw, 22px);
  overflow: visible;
  flex-wrap: nowrap;
}
.primary-nav a {
  white-space: nowrap;
  flex: 0 1 auto;
  max-width: 128px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
  transition: color var(--transition);
  position: relative;
}
.primary-nav a:hover,
.primary-nav a.active {
  color: var(--clr-accent);
}
.primary-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--clr-accent);
  border-radius: 2px;
}

/* Header Actions */
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.btn {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}
.btn-register {
  background: var(--clr-success);
  color: #fff;
}
.btn-register:hover {
  background: var(--clr-success-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(29,185,84,.35);
}
.btn-login {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.35);
}
.btn-login:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* Nav Toggle (mobile) */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

/* More Menu */
.nav-more {
  position: relative;
  flex: 0 0 auto;
}
.more-toggle {
  min-height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  font-family: var(--font-stack);
}
.more-toggle:hover { background: rgba(255,255,255,.14); color: #fff; }
.more-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 210px;
  padding: 10px;
  border-radius: 16px;
  z-index: 1200;
  background: var(--clr-primary);
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: var(--shadow-lg);
}
.more-menu[hidden] { display: none !important; }
.nav-more.is-open .more-menu { display: grid; gap: 4px; }
.more-menu a {
  display: block;
  width: 100%;
  max-width: none;
  padding: 11px 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  border-radius: 8px;
  transition: background var(--transition);
}
.more-menu a:hover { background: rgba(255,255,255,.08); color: var(--clr-accent); }

/* ============================================
   HERO / BANNER
   ============================================ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--clr-dark-bg), var(--clr-primary));
  overflow: hidden;
  padding: 0;
}
.hero-banner {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.hero-overlay {
  position: relative;
  padding: 72px 0 64px;
  text-align: center;
}
.hero-overlay h1 {
  color: #fff;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  margin-bottom: 18px;
  line-height: 1.2;
}
.hero-overlay p {
  color: rgba(255,255,255,.8);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.8;
}
.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-cta .btn {
  min-height: 50px;
  padding: 0 32px;
  font-size: 16px;
}
.btn-accent {
  background: var(--clr-accent);
  color: var(--clr-primary);
  font-weight: 700;
}
.btn-accent:hover {
  background: var(--clr-accent-hover);
  color: var(--clr-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */
.content-section {
  padding: 72px 0;
}
.content-section.alt-bg {
  background: var(--clr-surface);
}
.content-section.dark-bg {
  background: var(--clr-dark-bg);
  color: var(--clr-dark-text);
}
.content-section.dark-bg h2,
.content-section.dark-bg h3 {
  color: #fff;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 17px;
  color: var(--clr-text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

/* Content Grid (text + image) */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 36px;
  align-items: start;
}
.content-grid.reverse { direction: rtl; }
.content-grid.reverse > * { direction: ltr; }
.content-grid img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* Prose */
.prose { max-width: 820px; }
.prose p {
  font-size: 17px;
  line-height: 1.9;
  margin: 0 0 18px;
  color: var(--clr-text);
}
.prose h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.25;
  margin: 48px 0 18px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.35;
  margin: 28px 0 12px;
}
.prose ul, .prose ol {
  padding-left: 24px;
  margin: 0 0 18px;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 8px;
}
.prose img {
  margin: 24px 0;
  border-radius: var(--radius-md);
}
.prose a { color: var(--clr-accent); text-decoration: underline; }
.prose a:hover { color: var(--clr-accent-hover); }

/* ============================================
   CARD SYSTEM
   ============================================ */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.card-body {
  padding: 20px;
}
.card-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.card-body p {
  font-size: 15px;
  color: var(--clr-text-secondary);
  line-height: 1.7;
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-accent);
}

/* Dark cards */
.dark-bg .card {
  background: var(--clr-dark-surface);
  border-color: rgba(255,255,255,.06);
}
.dark-bg .card-body p { color: rgba(255,255,255,.65); }

/* Feature card (icon top) */
.feature-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(232,160,32,.12), rgba(232,160,32,.04));
  border-radius: 14px;
  color: var(--clr-accent);
  font-size: 26px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; }
.feature-card p { font-size: 15px; color: var(--clr-text-secondary); line-height: 1.7; }

/* ============================================
   SHORTCUT / CATEGORY LINKS
   ============================================ */
.shortcut-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 32px 0;
}
.shortcut-bar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-text);
  transition: all var(--transition);
}
.shortcut-bar a:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   STEPS / PROCESS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  counter-increment: step;
}
.step-card::before {
  content: counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--clr-accent);
  color: var(--clr-primary);
  font-weight: 800;
  font-size: 14px;
  border-radius: 50%;
}
.step-card h3 { font-size: 17px; margin-bottom: 10px; }
.step-card p { font-size: 15px; color: var(--clr-text-secondary); line-height: 1.7; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--clr-surface);
}
.faq-question {
  width: 100%;
  padding: 18px 52px 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--clr-text);
  cursor: pointer;
  position: relative;
  font-family: var(--font-stack);
  line-height: 1.5;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--clr-accent);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after {
  content: '−';
}
.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--clr-text-secondary);
}
.faq-item.open .faq-answer { display: block; }

/* ============================================
   CTA BLOCK
   ============================================ */
.cta-block {
  text-align: center;
  padding: 64px 24px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  border-radius: var(--radius-lg);
  margin: 48px 0;
}
.cta-block h2 {
  color: #fff;
  font-size: clamp(24px, 3vw, 38px);
  margin-bottom: 14px;
}
.cta-block p {
  color: rgba(255,255,255,.75);
  font-size: 17px;
  margin-bottom: 28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 14px 0;
  font-size: 14px;
  color: var(--clr-text-muted);
}
.breadcrumb a { color: var(--clr-text-secondary); }
.breadcrumb a:hover { color: var(--clr-accent); }
.breadcrumb span { margin: 0 6px; }

/* ============================================
   INNER PAGE HERO
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--clr-dark-bg), var(--clr-primary));
  padding: 56px 0 48px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(26px, 3.5vw, 44px);
  margin-bottom: 14px;
}
.page-hero p {
  color: rgba(255,255,255,.75);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================
   ARTICLE / BLOG
   ============================================ */
.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--clr-text-muted);
  margin-bottom: 24px;
}
.article-meta time { font-weight: 500; }
.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}
.article-list {
  display: grid;
  gap: 24px;
}
.article-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--clr-border);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-md); }
.article-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-body {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.article-card-body h3 { font-size: 20px; margin-bottom: 10px; }
.article-card-body p { font-size: 15px; color: var(--clr-text-secondary); line-height: 1.7; margin-bottom: 12px; }
.article-card-body time { font-size: 13px; color: var(--clr-text-muted); }

/* Related articles */
.related-articles {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--clr-border);
}
.related-articles h2 { margin-bottom: 24px; }

/* ============================================
   TABLE
   ============================================ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--clr-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-table th,
.data-table td {
  padding: 14px 18px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--clr-border);
}
.data-table th {
  background: var(--clr-primary);
  color: #fff;
  font-weight: 600;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tr:hover td { background: rgba(232,160,32,.04); }

/* ============================================
   NOTICE / ALERT
   ============================================ */
.notice {
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.7;
}
.notice-warning {
  background: #fff8e6;
  border-left: 4px solid var(--clr-accent);
  color: #7a5c0a;
}
.notice-info {
  background: #e8f4fd;
  border-left: 4px solid #2196f3;
  color: #0d47a1;
}
.notice-danger {
  background: #fde8e8;
  border-left: 4px solid var(--clr-danger);
  color: #8b1a1a;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--clr-footer-bg);
  color: rgba(255,255,255,.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 14px;
  color: rgba(255,255,255,.55);
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--clr-accent); }
.footer-contact { margin-top: 18px; }
.footer-contact p {
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.55);
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }

/* ============================================
   404 PAGE
   ============================================ */
.error-page {
  text-align: center;
  padding: 120px 20px;
}
.error-page h1 {
  font-size: 96px;
  color: var(--clr-accent);
  margin-bottom: 18px;
}
.error-page h2 {
  font-size: 28px;
  margin-bottom: 14px;
}
.error-page p {
  font-size: 17px;
  color: var(--clr-text-secondary);
  margin-bottom: 32px;
}

/* ============================================
   REGISTER / LOGIN PAGE
   ============================================ */
.auth-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 20px;
}
.auth-card {
  max-width: 480px;
  width: 100%;
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.auth-card h1 {
  font-size: 28px;
  margin-bottom: 14px;
}
.auth-card p {
  font-size: 16px;
  color: var(--clr-text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}
.auth-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.auth-links a {
  font-size: 14px;
  color: var(--clr-text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .header-inner {
    min-height: 68px;
    grid-template-columns: 140px 1fr auto;
    gap: 10px;
  }
  .brand-wrap {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    height: 48px;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .brand-text strong,
  .brand-text span {
    max-width: 86px;
  }
  .primary-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border-radius: 18px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    background: var(--clr-primary);
    border: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a {
    max-width: none;
    width: 100%;
    padding: 14px 12px;
    text-overflow: initial;
    font-size: 15px;
    border-radius: 10px;
  }
  .primary-nav a:hover { background: rgba(255,255,255,.06); }
  .header-actions {
    justify-content: flex-end;
    gap: 6px;
  }
  .header-actions .btn {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }
  .nav-toggle { display: inline-flex; }
  .nav-more {
    display: contents !important;
  }
  .more-toggle { display: none !important; }
  .more-menu {
    display: contents !important;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    min-width: 0;
  }
  .more-menu[hidden] { display: contents !important; }
  .more-menu a {
    max-width: none;
    width: 100%;
    padding: 14px 12px;
    font-size: 15px;
    border-radius: 10px;
  }

  /* Content */
  .content-section { padding: 48px 0; }
  .content-grid { grid-template-columns: 1fr; }
  .content-grid.reverse { direction: ltr; }
  .card-grid.cols-3,
  .card-grid.cols-4 { grid-template-columns: 1fr; }
  .card-grid.cols-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-banner { max-height: 280px; }
  .article-card { grid-template-columns: 1fr; }
  .article-card img { max-height: 200px; }
  .article-card-body { padding: 16px; }
  .prose p { font-size: 16px; line-height: 1.85; }
  .data-table { font-size: 14px; }
  .data-table th, .data-table td { padding: 10px 12px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .shortcut-bar { gap: 10px; }
  .shortcut-bar a { padding: 10px 16px; font-size: 13px; }
  .hero-overlay { padding: 48px 0 40px; }
  .steps-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 20px; }
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle, .header-actions,
  .cta-block, .hero-cta, #br-stick { display: none !important; }
  body { color: #000; background: #fff; }
}
