/*
Theme Name: 1111bet Bangladesh
Theme URI: https://1111bet.beer/
Author: 1111bet Bangladesh
Description: Bengali-first brand entrance theme for 1111bet Bangladesh.
Version: 1.0.0
Text Domain: 1111bet-bangladesh
*/

:root {
  --bg: #f8faf8;
  --surface: #ffffff;
  --ink: #17231d;
  --muted: #53645b;
  --line: #dce5de;
  --green: #147a49;
  --green-dark: #0c4f34;
  --red: #cf3341;
  --amber: #d69a24;
  --blue: #2e668f;
  --shadow: 0 16px 36px rgba(20, 54, 38, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

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

a {
  color: var(--green-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

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

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

.site-header__inner,
.site-footer__inner,
.content-shell {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

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

.brand-mark__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--red));
  color: #fff;
  font-size: 16px;
}

.brand-mark__logo {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px;
  max-height: 32px;
  flex: 0 0 32px;
  object-fit: contain;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--green-dark);
}

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

.entry-content {
  padding: 34px 0 54px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 32px;
  align-items: center;
  padding: 44px 0 36px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  font-size: clamp(36px, 6vw, 62px);
  max-width: 900px;
}

h2 {
  margin-top: 42px;
  font-size: clamp(25px, 3vw, 34px);
}

h3 {
  margin-top: 28px;
  font-size: 22px;
}

p {
  margin: 0 0 18px;
}

ul,
ol {
  margin: 0 0 22px 1.25em;
  padding: 0;
}

li {
  margin: 0 0 8px;
}

.lead {
  color: #273d32;
  font-size: clamp(18px, 2.2vw, 21px);
  line-height: 1.72;
}

.hero-actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 24px 0 0;
}

.button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--green);
  box-shadow: 0 8px 18px rgba(20, 122, 73, 0.2);
}

.button:hover,
.wp-block-button__link:hover {
  background: var(--green-dark);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--green-dark);
  border-color: var(--line);
  box-shadow: none;
}

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

.hero-media img,
.content-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

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

.home-grid,
.quick-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 32px;
}

.info-card,
.faq-item,
.note-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: 0 8px 18px rgba(30, 55, 39, 0.06);
}

.info-card h3,
.faq-item h3 {
  margin-top: 0;
  font-size: 19px;
}

.info-card p,
.faq-item p {
  margin-bottom: 0;
}

.note-box {
  border-left: 5px solid var(--amber);
}

.section-band {
  margin: 34px calc(50% - 50vw);
  padding: 36px calc(50vw - 50%);
  background: #edf5f0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-footer {
  background: #10241a;
  color: #dcebe2;
  padding: 34px 0;
}

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

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
  font-size: 14px;
}

@media (max-width: 880px) {
  .site-header {
    position: static;
  }

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

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .home-grid,
  .quick-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .site-header__inner,
  .site-footer__inner,
  .content-shell {
    width: min(100% - 22px, 1140px);
  }

  .hero-actions,
  .link-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .wp-block-button__link {
    width: 100%;
  }
}
