:root {
  --bg: #050505;
  --bg-soft: #0e0f0c;
  --surface: #151610;
  --surface-2: #1f2118;
  --text: #f7f5e8;
  --muted: #c8c3ae;
  --line: rgba(245, 200, 76, 0.2);
  --gold: #f5c84c;
  --gold-deep: #d49a16;
  --teal: #42d3b5;
  --danger: #ff6b6b;
  --max: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.8;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(245, 200, 76, 0.08), transparent 22rem),
    radial-gradient(circle at 18% 4%, rgba(66, 211, 181, 0.12), transparent 24rem),
    var(--bg);
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: #ffe28a;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.65rem 0.9rem;
  clip: auto;
  z-index: 1000;
  color: #111;
  background: var(--gold);
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 5, 5, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 68px;
  padding: 0.7rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  min-width: 112px;
  max-width: 170px;
  text-decoration: none;
}

.site-brand img {
  display: block;
  max-height: 42px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
}

.site-brand__mark {
  color: var(--text);
  font-weight: 900;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: 0;
}

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

.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1.15rem);
}

.menu a {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  min-height: 38px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--text);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #111;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--gold);
}

.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(18, 19, 14, 0.96), rgba(5, 5, 5, 0.98)),
    var(--bg-soft);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.4rem, 7vw, 5rem) 1.1rem clamp(2rem, 5vw, 3.5rem);
  text-align: center;
}

.hero__kicker,
.entry-kicker {
  margin: 0 0 0.8rem;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero h1,
.entry-header h1 {
  margin: 0 auto;
  max-width: 900px;
  color: var(--text);
  font-size: clamp(2.05rem, 5.2vw, 4.7rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero__intro {
  max-width: 780px;
  margin: 1rem auto 1.35rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero__note {
  max-width: 820px;
  margin: 1rem auto 0;
  color: #e8ddaf;
  font-size: 0.95rem;
}

.hero__media {
  margin: clamp(1.5rem, 4vw, 2.4rem) auto 0;
  max-width: 980px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.hero__media img {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button--primary {
  color: #111;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  box-shadow: 0 14px 36px rgba(245, 200, 76, 0.24);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: #111;
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(245, 200, 76, 0.34);
}

.site-main {
  min-height: 62vh;
}

.content-shell {
  width: min(var(--max), calc(100% - 2.2rem));
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) 0;
}

.page-shell {
  max-width: 900px;
}

.entry-header {
  margin-bottom: 1.8rem;
}

.entry-content > *:first-child,
.front-article > *:first-child {
  margin-top: 0;
}

.front-article {
  max-width: 930px;
}

.front-article h2,
.front-article h3,
.entry-content h2,
.entry-content h3 {
  color: var(--text);
  line-height: 1.28;
  letter-spacing: 0;
}

.front-article h2,
.entry-content h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.front-article h3,
.entry-content h3 {
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.front-article p,
.entry-content p,
.front-article li,
.entry-content li {
  color: var(--muted);
}

.front-article strong,
.entry-content strong {
  color: var(--text);
}

.wp-block-group,
.wp-block-table,
.wp-block-quote {
  margin: 1.5rem 0;
  padding: 1.2rem;
  background: rgba(21, 22, 16, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.wp-block-table {
  overflow-x: auto;
}

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

.wp-block-table th,
.wp-block-table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(245, 200, 76, 0.14);
  text-align: left;
}

.wp-block-image {
  margin: 2rem 0;
}

.wp-block-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.wp-block-image figcaption {
  margin-top: 0.55rem;
  color: #a7a28e;
  font-size: 0.9rem;
  text-align: center;
}

.wp-block-list,
.front-article ul,
.entry-content ul,
.front-article ol,
.entry-content ol {
  padding-left: 1.35rem;
}

.wp-block-yoast-faq-block,
.schema-faq {
  margin: 2rem 0;
}

.schema-faq-section {
  margin: 0 0 0.9rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.schema-faq-question {
  display: block;
  color: var(--text);
  font-size: 1.05rem;
}

.schema-faq-answer {
  margin: 0.5rem 0 0;
}

.post-list {
  display: grid;
  gap: 1rem;
}

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

.post-summary h2 {
  margin-top: 0;
}

.search-form {
  display: flex;
  gap: 0.6rem;
  max-width: 560px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: #0b0c09;
}

.search-form button {
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 6px;
  color: #111;
  background: var(--gold);
  font-weight: 800;
  cursor: pointer;
}

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

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 1.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr) minmax(220px, 1fr);
  gap: 1.5rem;
}

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

.site-footer__contact {
  display: grid;
  gap: 0.35rem;
}

.site-footer .menu {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.25rem;
}

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

  .site-header__inner {
    min-height: 62px;
  }

  .site-brand {
    min-width: 84px;
    max-width: 128px;
  }

  .site-brand img {
    max-height: 34px;
    max-width: 118px;
  }

  .nav-toggle {
    display: block;
  }

  .primary-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.75rem 1.1rem 1rem;
    background: rgba(5, 5, 5, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .primary-navigation .menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-navigation .menu a {
    padding: 0.35rem 0;
  }

  .hero__inner {
    text-align: left;
  }

  .hero h1,
  .hero__intro,
  .hero__note {
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
