/*
Theme Name: Leinor
Description: Child theme of Astra — minimal editorial jewelry aesthetic (cream/white, serif wordmark, spaced small-caps nav).
Template: astra
Version: 1.0
*/

:root{
  --leinor-bg: #faf8f4;
  --leinor-bg-alt: #f2eee6;
  --leinor-ink: #1c1a17;
  --leinor-line: #e4ddd0;
  --leinor-accent: #8a7f6a;
}

body, .ast-separate-container {
  background-color: var(--leinor-bg) !important;
  color: var(--leinor-ink);
}
body { overflow-x: hidden; }

/* Wordmark: existing Leinor logo image, text swapped in later */
.site-title a {
  font-size: 0 !important;
  display: inline-block;
}
.site-title a::before {
  content: url('https://assets.zyrosite.com/cdn-cgi/image/format=auto,w=160/FkprHRufrePjBQSn/noire-VK7fX2hClFoyxtPu.png');
  display: block;
  width: 110px;
}

/* Nav: small spaced caps */
.main-header-menu .menu-item > .menu-link,
.ast-header-navigation-area a {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: var(--leinor-ink) !important;
}

/* Body / paragraphs */
body, p, li, .entry-content {
  font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Headings */
h1, h2, h3, h4, .entry-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--leinor-ink);
}

/* Full-bleed hero (use on a page with a "Hero" group block, class: leinor-hero) */
.leinor-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.leinor-hero .wp-block-group__inner-container,
.leinor-hero > * {
  padding: 48px;
}

/* Sober category grid — whitespace instead of divider lines */
.leinor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Thin borders instead of shadows, no rounded corners — editorial feel */
.ast-separate-container .ast-article-post, .site-content, button, .wp-block-button__link {
  border-radius: 0 !important;
  box-shadow: none !important;
}
.wp-block-button__link {
  background: var(--leinor-ink) !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px 28px !important;
}
