/*
Theme Name: BetJDB Entry
Theme URI: https://betjdb.beer/
Author: BetJDB Bangladesh Editorial
Description: Bengali-first Bangladesh brand entry theme for BetJDB.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: betjdb-entry
*/

:root {
  --ink: #16201b;
  --muted: #59645f;
  --bg: #f5f1e8;
  --surface: #fffdf7;
  --line: #d9d0c0;
  --green: #0f6b4e;
  --green-2: #0a4d3d;
  --gold: #c58a26;
  --red: #b33b36;
  --blue: #245c8d;
  --shadow: 0 18px 45px rgba(22, 32, 27, .10);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--green-2);
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 253, 247, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner,
.site-main,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

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

.brand-link {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: clamp(1.2rem, 1rem + .5vw, 1.55rem);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 1.2rem;
}

.primary-nav ul,
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--green);
}

.site-main {
  padding: 34px 0 64px;
}

.content-frame {
  display: grid;
  gap: 34px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  align-items: center;
  gap: 34px;
  min-height: min(680px, calc(100vh - 104px));
  padding: clamp(30px, 5vw, 64px) 0;
}

.hero-copy {
  display: grid;
  gap: 18px;
}

.eyebrow {
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
}

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

h1 {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 4.4rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.65rem, 1.25rem + 1.1vw, 2.45rem);
  margin-top: 18px;
}

h3 {
  font-size: clamp(1.2rem, 1rem + .45vw, 1.45rem);
}

p {
  margin: 0 0 16px;
}

.lead {
  color: #26332d;
  font-size: clamp(1.08rem, 1rem + .3vw, 1.28rem);
  line-height: 1.8;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

.button {
  background: var(--green);
  color: #fff;
  box-shadow: var(--shadow);
}

.button:hover {
  background: var(--green-2);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-visual,
.image-strip figure,
.article-figure {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.quick-grid,
.section-grid,
.image-strip,
.trust-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.quick-card,
.info-card,
.trust-card,
.faq-item,
.note-box,
.risk-box,
.editorial-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.quick-card {
  min-height: 150px;
}

.quick-card h3,
.info-card h3 {
  color: var(--green-2);
}

.section-band {
  padding: clamp(30px, 5vw, 58px) 0;
  border-top: 1px solid rgba(217, 208, 192, .8);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 28px;
  align-items: start;
}

.image-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-strip img,
.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-figure {
  margin: 24px 0;
}

.article-figure figcaption {
  padding: 10px 14px;
  color: var(--muted);
  font-size: .92rem;
}

.list-check,
.risk-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.list-check li,
.risk-list li {
  position: relative;
  padding-left: 28px;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
}

.risk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  background: var(--red);
}

.risk-box {
  border-color: rgba(179, 59, 54, .35);
  background: #fff6f3;
}

.note-box {
  border-color: rgba(36, 92, 141, .32);
  background: #f3f8fb;
}

.editorial-box {
  color: #33413b;
  font-size: .95rem;
}

.editorial-box a {
  font-weight: 750;
}

.page-article {
  width: min(930px, 100%);
  margin-inline: auto;
}

.page-article h1 {
  max-width: 16ch;
  margin-bottom: 18px;
}

.page-article h2 {
  margin-top: 42px;
}

.faq-item h3 {
  margin-bottom: 8px;
  color: var(--green-2);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #17241f;
  color: #f8f1df;
}

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

.footer-inner {
  display: grid;
  gap: 24px;
  padding: 38px 0;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
}

.footer-note {
  max-width: 760px;
  color: #e4dac3;
  font-size: .96rem;
}

@media (max-width: 980px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .section-grid,
  .image-strip,
  .trust-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .brand-logo {
    width: 132px;
    max-width: 132px;
    max-height: 38px;
  }

  .primary-nav ul {
    justify-content: flex-start;
  }

  .quick-grid,
  .section-grid,
  .image-strip,
  .trust-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  h1 {
    max-width: 100%;
  }
}
