:root {
  --bg: #fff9ed;
  --surface: #ffffff;
  --surface-alt: #fff3d0;
  --ink: #18120b;
  --muted: #61594f;
  --line: #eadcc2;
  --gold: #f4b400;
  --amber: #ffce4b;
  --orange: #e96219;
  --red: #b8231a;
  --dark: #16120c;
  --shadow: 0 18px 45px rgba(55, 38, 10, 0.12);
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: #8b1b13;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
  color: var(--orange);
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(234, 220, 194, 0.9);
  background: rgba(255, 249, 237, 0.96);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
}

.custom-logo-link,
.site-logo-link,
.site-title-link {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.custom-logo,
.site-logo-fallback {
  width: auto;
  max-width: 176px;
  max-height: 58px;
  object-fit: contain;
}

.primary-navigation ul,
.footer-navigation ul {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation a {
  display: block;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.primary-navigation a:hover,
.primary-navigation a:focus-visible {
  background: var(--surface-alt);
  color: #75130f;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero-section {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(125deg, rgba(255, 206, 75, 0.34), rgba(255, 249, 237, 0.85) 42%, rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 82% 18%, rgba(233, 98, 25, 0.16), transparent 32%);
}

.hero-section__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: 42px;
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  padding: 56px 0 48px;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(184, 35, 26, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: #7c2119;
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 760px;
  margin: 14px 0 18px;
  color: var(--ink);
  font-family: Georgia, "Noto Serif Bengali", serif;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-hero h1 {
  font-size: clamp(34px, 6vw, 58px);
}

.hero-intro {
  max-width: 680px;
  margin: 0 0 24px;
  color: #3b342b;
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions {
  margin: 0 0 18px;
}

.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid #5b0e0a;
  border-radius: 6px;
  background: linear-gradient(180deg, #d83822, #981911);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(152, 25, 17, 0.22);
}

.primary-action:hover,
.primary-action:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.hero-note {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.hero-media {
  margin: 0;
  border: 1px solid rgba(24, 18, 11, 0.12);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 206, 75, 0.28), rgba(255, 255, 255, 0.88));
}

.page-hero .content-wrap {
  padding-top: 48px;
  padding-bottom: 38px;
}

.article-section,
.listing-section {
  background: var(--surface);
}

.content-wrap {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0;
}

.longform-article {
  color: #1f1913;
  font-size: 18px;
}

.longform-article > * {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
}

.longform-article > .alignwide,
.longform-article > .wp-block-table,
.longform-article > .wp-block-image.size-full {
  max-width: 980px;
}

.longform-article h2,
.longform-article h3 {
  color: var(--ink);
  font-family: Georgia, "Noto Serif Bengali", serif;
  line-height: 1.22;
  letter-spacing: 0;
}

.longform-article h2 {
  margin-top: 42px;
  padding-top: 12px;
  border-top: 3px solid var(--amber);
  font-size: 32px;
}

.longform-article h3 {
  margin-top: 28px;
  font-size: 24px;
}

.longform-article p,
.longform-article li {
  color: #2d261f;
}

.longform-article strong {
  color: #66130e;
}

.wp-block-group.is-style-guide-panel,
.wp-block-group.is-style-toc-panel,
.wp-block-group.is-style-faq-panel {
  max-width: 980px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffaf0;
}

.wp-block-group.is-style-toc-panel {
  border-left: 6px solid var(--orange);
}

.wp-block-group.is-style-faq-panel {
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 18, 11, 0.08);
}

.wp-block-group.is-style-guide-panel ul,
.wp-block-group.is-style-toc-panel ol,
.wp-block-group.is-style-faq-panel ul {
  margin-bottom: 0;
}

.wp-block-image {
  margin-top: 30px;
  margin-bottom: 30px;
}

.wp-block-image img {
  border: 1px solid rgba(24, 18, 11, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(24, 18, 11, 0.1);
}

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

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

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

.wp-block-table th,
.wp-block-table td {
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.wp-block-table th {
  background: #2a1f14;
  color: #fff;
}

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

.listing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}

.listing-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.listing-card__body {
  padding: 18px;
}

.listing-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.3;
}

.site-footer {
  background: var(--dark);
  color: #fff7df;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 22px 42px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0;
}

.site-footer a {
  color: #fff3c2;
}

.footer-brand .custom-logo,
.footer-brand .site-logo-fallback {
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.footer-navigation ul {
  flex-wrap: wrap;
  align-items: flex-start;
}

.footer-navigation a {
  display: inline-block;
  padding: 4px 8px;
  color: #fff3c2;
  text-decoration: none;
}

.footer-contact,
.footer-notes,
.footer-copy {
  grid-column: 1 / -1;
}

.footer-contact p,
.footer-notes p,
.footer-copy {
  margin: 4px 0;
  color: #f4ead2;
  font-size: 15px;
}

.footer-contact span {
  color: var(--amber);
  font-weight: 800;
}

.search-form {
  display: flex;
  gap: 8px;
  max-width: 520px;
}

.search-field {
  width: 100%;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.search-form button {
  min-height: 44px;
  padding: 9px 14px;
  border: 0;
  border-radius: 6px;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

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

  .primary-navigation {
    display: none;
    width: 100%;
  }

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

  .primary-navigation ul {
    display: grid;
    gap: 4px;
    padding: 8px 0 2px;
  }

  .hero-section__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .hero-media {
    order: -1;
  }

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

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

  .site-header__inner,
  .hero-section__inner,
  .content-wrap,
  .site-footer__inner {
    width: min(100% - 24px, 1180px);
  }

  .custom-logo,
  .site-logo-fallback {
    max-width: 136px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-intro,
  .longform-article {
    font-size: 16px;
  }

  .longform-article h2 {
    font-size: 27px;
  }

  .wp-block-group.is-style-guide-panel,
  .wp-block-group.is-style-toc-panel,
  .wp-block-group.is-style-faq-panel {
    padding: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a,
  button {
    transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
  }
}

