:root {
  --ink: #0f2b2a;
  --ink-soft: #23423f;
  --paper: #fffaf2;
  --bg: #f0efe8;
  --accent: #0f8a5f;
  --accent-2: #f59e0b;
  --accent-3: #0f6aa8;
  --shadow: 0 16px 36px rgba(15, 42, 41, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --header-height: 84px;
}

body.theme-base {
  margin: 0;
  font-family: 'Kalpurush', 'SolaimanLipi', 'Noto Serif Bengali', serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #fff7e6 0%, #f1f0e8 45%, #e6f4f0 100%);
  line-height: 1.7;
  padding-top: calc(var(--header-height) + 24px);
}

body.theme-base header {
  background: rgba(255, 250, 242, 0.88);
  color: var(--ink);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

body.theme-base header .container {
  width: 100%;
}

body.theme-base header h1,
body.theme-base header h2,
body.theme-base header h3 {
  margin: 0;
}

body.theme-base header h1,
body.theme-base header h2,
body.theme-base header h3,
body.theme-base header h4 {
  font-size: 1.4rem;
  line-height: 1.25;
}

body.theme-base .site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 6vw;
  height: var(--header-height);
}

body.theme-base .site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

body.theme-base .site-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

body.theme-base .site-brand span {
  display: block;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

body.theme-base .admin-subtitle {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

body.theme-base .site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

body.theme-base .btn {
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 0.95rem;
  background: var(--accent);
  color: #fff;
  transition: 0.2s ease;
}

body.theme-base .btn.secondary {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(15, 138, 95, 0.35);
}

body.theme-base .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 138, 95, 0.2);
}

body.theme-base .site-footer {
  margin-top: 60px;
  padding: 24px 6vw 40px;
  border-top: 1px solid rgba(15, 42, 41, 0.1);
  color: var(--ink-soft);
  background: rgba(255, 250, 242, 0.7);
}

.site-footer {
  margin-top: 60px;
  padding: 24px 6vw 40px;
  border-top: 1px solid rgba(15, 42, 41, 0.1);
  color: var(--ink-soft);
  background: rgba(255, 250, 242, 0.7);
}

body.theme-base section,
body.theme-base [id] {
  /* scroll-margin-top: calc(var(--header-height) + 16px); */
}

body.theme-base .footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

body.theme-base .footer-grid strong {
  color: var(--ink);
}

.footer-grid strong {
  color: var(--ink);
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

body.theme-base .section-container {
  position: static !important;
  bottom: auto !important;
}

@media (max-width: 720px) {
  :root {
    --header-height: 120px;
  }

  body.theme-base .site-header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
  }

  body.theme-base .site-actions {
    width: 100%;
  }
}
