:root {
  --bg: #090807;
  --surface: #14110f;
  --surface-2: #1c1917;
  --text: #f8f3e7;
  --muted: #c6bba6;
  --line: rgba(202, 138, 4, 0.24);
  --gold: #d8a21b;
  --gold-2: #f0c44d;
  --ink: #15100a;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #050505 0%, var(--bg) 42%, #0d0b09 100%);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Noto Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.75;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 7, 7, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner,
.hero-section,
.article-shell,
.page-shell {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  width: 148px;
  min-width: 148px;
}

.brand-link img,
.footer-brand img {
  width: 148px;
  max-height: 52px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface);
  border-radius: 8px;
  padding: 9px 12px;
  cursor: pointer;
}

.primary-nav {
  margin-left: auto;
}

.nav-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-menu a,
.footer-menu a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 180ms ease;
}

.nav-menu a:hover,
.footer-menu a:hover,
.nav-menu a:focus,
.footer-menu a:focus {
  color: var(--gold-2);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 42px;
  padding: 58px 0 34px;
}

.hero-copy {
  text-align: left;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.9rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.4rem);
}

h2 {
  margin: 42px 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

h3 {
  margin: 28px 0 10px;
  font-size: 1.3rem;
}

.hero-summary {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.13rem;
}

.primary-action,
.search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink);
  font-weight: 800;
  padding: 13px 22px;
  box-shadow: 0 18px 38px rgba(216, 162, 27, 0.22);
  cursor: pointer;
}

.hero-note {
  max-width: 680px;
  margin: 18px 0 0;
  color: #ddcfb6;
  font-size: 0.96rem;
}

.hero-media {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(216, 162, 27, 0.12), rgba(255, 255, 255, 0.03));
}

.hero-media img,
.wp-block-image img {
  width: 100%;
  border-radius: 8px;
}

.article-shell,
.page-shell {
  padding: 36px 0 72px;
}

.article-shell {
  max-width: 960px;
}

.entry-content,
.article-shell {
  color: #f4ead9;
}

.article-shell p,
.page-shell p,
.article-shell li,
.page-shell li {
  color: #e2d5be;
}

.toc-block {
  margin: 0 0 38px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
}

.toc-block h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.toc-block ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin: 0;
  padding-left: 22px;
}

.toc-block a {
  color: var(--gold-2);
}

.wp-block-image {
  margin: 34px 0;
}

.wp-block-image figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.wp-block-group,
.wp-block-quote {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
  border: 1px solid var(--line);
  padding: 12px;
}

.wp-block-yoast-faq-block {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.schema-faq-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.045);
}

.schema-faq-question {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 1.08rem;
}

.page-header {
  margin: 18px 0 28px;
}

.page-header p {
  max-width: 760px;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--surface);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #060606;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
  padding: 38px 0;
}

.footer-brand p,
.footer-contact span {
  color: var(--muted);
}

.footer-contact-boundary {
  max-width: 34rem;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-nav .footer-menu {
  align-items: flex-start;
  flex-direction: column;
  gap: 8px;
}

.footer-bottom {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 15px 0 24px;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-field {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 64px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .primary-nav {
    display: none;
    position: absolute;
    inset: 64px 16px auto 16px;
    margin-left: 0;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #080808;
  }

  .primary-nav.is-open {
    display: block;
  }

  .nav-menu {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-section {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }

  .toc-block ol,
  .post-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
