/*
Theme Name: 9bd Bangladesh
Theme URI: https://9bd.uno/
Author: 9bd Editorial
Description: Bengali-first Bangladesh brand entry theme for 9bd.
Version: 1.0.0
Text Domain: 9bd-bangladesh
*/

:root {
  --ink: #101820;
  --muted: #5a6773;
  --paper: #f7f5ef;
  --surface: #ffffff;
  --line: #d9ded8;
  --green: #087f5b;
  --green-dark: #045f43;
  --red: #c92a2a;
  --gold: #e0a11b;
  --cyan: #0b7285;
  --focus: #1c7ed6;
  --shadow: 0 18px 40px rgba(16, 24, 32, 0.12);
  font-family: "Noto Sans Bengali", "Hind Siliguri", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 18px;
  line-height: 1.75;
}

a {
  color: var(--green-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 245, 239, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.footer-inner,
.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.brand-dot {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--green), var(--gold));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.42);
}

.site-logo {
  width: auto;
  height: 26px;
  max-width: 92px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 6px;
  padding: 8px 10px;
  font: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: #e8f3ee;
  color: var(--green-dark);
}

.main-content {
  min-height: 70vh;
}

.page-shell {
  padding: 44px 0 64px;
}

.article-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.content-inner {
  padding: clamp(24px, 4vw, 52px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  background: linear-gradient(135deg, #f7fff9 0%, #fff8df 55%, #f4fbff 100%);
  border-bottom: 1px solid var(--line);
}

.hero-copy p {
  max-width: 680px;
}

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

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 68px);
}

h2 {
  margin: 42px 0 14px;
  font-size: clamp(26px, 3vw, 38px);
}

h3 {
  margin: 24px 0 8px;
  font-size: 23px;
}

p {
  margin: 0 0 18px;
}

ul,
ol {
  padding-left: 1.4em;
}

li {
  margin: 0 0 8px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 800;
}

.lead {
  color: #263238;
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.65;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 0;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.primary-action,
.button-primary {
  background: var(--green);
  color: #fff;
}

.primary-action:hover,
.primary-action:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: var(--green-dark);
  color: #fff;
}

.secondary-action,
.button-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.secondary-action:hover,
.secondary-action:focus-visible,
.button-secondary:hover,
.button-secondary:focus-visible {
  background: #fff6d7;
  color: var(--ink);
}

.hero-media,
.content-image {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #eef3ef;
}

.hero-media img,
.content-image img {
  width: 100%;
}

.content-image {
  margin: 28px 0;
}

.content-image figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 15px;
  background: #fbfbf7;
}

.section-band {
  margin: 34px 0;
  padding: 24px;
  border-left: 5px solid var(--green);
  background: #f3faf6;
  border-radius: 8px;
}

.warning-band {
  border-left-color: var(--red);
  background: #fff5f5;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.link-grid a {
  display: block;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.link-grid a:hover,
.link-grid a:focus-visible {
  border-color: #93d3b8;
  background: #eefbf4;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.faq-item {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.faq-item h3 {
  margin-top: 0;
}

.trust-strip {
  display: grid;
  gap: 10px;
  margin-top: 42px;
  padding: 18px;
  border-radius: 8px;
  background: #f7f7f2;
  border: 1px solid var(--line);
  color: #34424c;
  font-size: 16px;
}

.site-footer {
  background: #101820;
  color: #eef5f1;
}

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

.footer-inner {
  display: grid;
  gap: 18px;
  padding: 34px 0;
}

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-note {
  color: #c8d3d0;
  font-size: 15px;
}

@media (max-width: 860px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 17px;
  }

  .header-inner,
  .footer-inner,
  .page-shell {
    width: min(100% - 22px, 1120px);
  }

  .content-inner,
  .hero {
    padding: 22px;
  }

  .site-nav a {
    padding: 6px 8px;
    font-size: 14px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
