:root {
  --theme-bg: #fffaf6;
  --theme-surface: #ffffff;
  --theme-text: #302927;
  --theme-muted: #746966;
  --theme-line: rgba(48, 41, 39, .12);
  --theme-accent: #b98a3d;
  --theme-accent-dark: #8f6425;
  --theme-rose: #df9aaa;
  --theme-shadow: 0 18px 50px rgba(48, 41, 39, .08);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--theme-line);
  background: rgba(255, 250, 246, .92);
  backdrop-filter: blur(14px);
}

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

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

.site-brand__name {
  color: var(--theme-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.custom-logo-link img {
  display: block;
  max-height: 54px;
  width: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--theme-text);
  font-weight: 700;
  text-decoration: none;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
  background: rgba(185, 138, 61, .12);
  color: var(--theme-accent-dark);
}

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

.site-menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--theme-text);
}

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

.page-hero {
  padding: 54px 0 24px;
  background: linear-gradient(180deg, #fff4ee 0%, rgba(255, 250, 246, 0) 100%);
}

.page-hero__eyebrow {
  margin: 0 0 8px;
  color: var(--theme-accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero h1,
.archive-header h1 {
  max-width: 820px;
  margin: 0;
  color: var(--theme-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.page-content,
.site-section {
  padding: 34px 0 64px;
}

.page-content > *:first-child {
  margin-top: 0;
}

.page-content a,
.post-card a {
  color: var(--theme-accent-dark);
}

.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  padding: 24px;
  border: 1px solid var(--theme-line);
  border-radius: 8px;
  background: var(--theme-surface);
  box-shadow: var(--theme-shadow);
}

.post-card__title {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

.post-card__title a {
  color: var(--theme-text);
  text-decoration: none;
}

.post-card__meta {
  color: var(--theme-muted);
  font-size: 14px;
}

.theme-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--theme-accent);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--theme-line);
  background: #2c2725;
  color: #fff7ef;
}

.site-footer__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-footer a {
  color: #f4d493;
  font-weight: 800;
  text-decoration: none;
}

.davetim-panel,
.davetim-shell {
  border-radius: 0;
}

.davetim-public .site-header,
.davetim-public .site-footer {
  display: none;
}

@media (max-width: 760px) {
  .site-header__inner,
  .site-container,
  .site-footer__inner {
    width: min(100% - 24px, 1120px);
  }

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

  .site-nav {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 74px;
    display: none;
    padding: 10px;
    border: 1px solid var(--theme-line);
    border-radius: 8px;
    background: var(--theme-surface);
    box-shadow: var(--theme-shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    display: grid;
    gap: 4px;
  }

  .site-nav__list a {
    width: 100%;
  }

  .page-hero {
    padding-top: 34px;
  }

  .site-footer__inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
