/*
Theme Name: The Daily Essentialist Kinfolk / Monocle Warm Desert Sand & Espresso Minimalist Journal
Theme URI: https://dailyessentialist.com
Author: Elena Rostova — The Daily Essentialist
Description: Kinfolk / Monocle Warm Desert Sand & Espresso Minimalist Journal WordPress Theme for DailyEssentialist.com — Warm Oat/Sandstone Background (#F3EFE6), Warm Espresso-Charcoal Header (#292524 / #1C1917) with Warm Sand Text (#F5F5F4), Burnt-Ochre Accents (#B45309 / #D97706), Instrument Serif / Playfair Display + Manrope Typography, Architectural Hairline Rules & Flat Editorial Cards.
Version: 3.4.0
Text Domain: dailyessentialist
*/

:root {
  --bg: #F3EFE6;
  --surface: #FAF8F5;
  --surface-alt: #EBE5D9;
  --charcoal: #292524;
  --charcoal-dark: #1C1917;
  --charcoal-soft: #44403C;
  --ink: #1C1917;
  --ink-soft: #44403C;
  --ink-muted: #78716C;
  --brass: #B45309;
  --brass-bright: #D97706;
  --brass-light: #FEF3C7;
  --pin-red: #B45309;
  --border: #D6D3D1;
  --radius: 4px;
  --shadow: none;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #F3EFE6;
  color: var(--ink);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.78;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, .serif {
  font-family: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  color: var(--ink);
  line-height: 1.18;
  font-weight: 400;
}
a { color: inherit; text-decoration: none; transition: all 0.18s ease; }
a:hover { color: #B45309; }
img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.topbar {
  background: #1C1917;
  color: #F5F5F4;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 8px 20px;
  border-bottom: 1px solid rgba(217, 119, 6, 0.35);
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-links a {
  color: #E7E5E4;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.topbar-links a:hover { color: #D97706; }
.pin-top-btn {
  background: #B45309;
  color: #F5F5F4 !important;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.pin-top-btn:hover { background: #D97706; }

/* ARCHITECTURAL MINIMALIST JOURNAL HEADER WITH HAIRLINE RULES */
.site-header {
  background: linear-gradient(180deg, #292524 0%, #1C1917 100%);
  color: #F5F5F4;
  border-top: 1px solid #44403C;
  border-bottom: 1px solid #D97706;
}
.header-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(245, 245, 244, 0.14);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.brand-emblem-svg {
  width: 50px;
  height: 50px;
  border-radius: 4px;
  flex-shrink: 0;
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-family: 'Instrument Serif', 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #F5F5F4 !important;
  line-height: 1.02;
}
.brand-sub {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D97706 !important;
  margin-top: 3px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.search-form {
  display: flex;
  align-items: center;
  background: #1C1917;
  border: 1px solid rgba(245, 245, 244, 0.24);
  border-radius: 4px;
  padding: 6px 14px;
  width: 265px;
}
.search-form input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 13.5px;
  color: #F5F5F4;
}
.search-form input::placeholder {
  color: #A8A29E;
}
.search-form button {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #D97706;
  font-weight: 700;
}
.nav-bar {
  border-top: 1px solid rgba(217, 119, 6, 0.25);
  background: #1C1917;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow-x: auto;
}
.nav-link {
  padding: 12px 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #E7E5E4;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: #F5F5F4;
  border-bottom-color: #D97706;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 24px;
  margin-bottom: 44px;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-main {
  position: relative;
  border-radius: 4px;
  border: 1px solid #D6D3D1;
  overflow: hidden;
  background: #1C1917;
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  box-shadow: none;
}
.hero-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.96) 15%, rgba(28, 25, 23, 0.48) 70%, transparent 100%);
  padding: 36px 32px;
  color: #F5F5F4;
  width: 100%;
}
.cat-pill {
  display: inline-block;
  background: #292524;
  color: #F5F5F4;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.hero-overlay .cat-pill {
  background: #B45309;
}
.hero-overlay h1 {
  color: #F5F5F4;
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 10px;
}
.hero-overlay p {
  color: #E7E5E4;
  font-size: 15px;
  max-width: 640px;
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  background: #FAF8F5;
  border: 1px solid #D6D3D1;
  border-radius: 4px;
  padding: 12px;
  align-items: center;
  box-shadow: none;
}
.side-card img {
  width: 120px;
  height: 115px;
  object-fit: cover;
  border-radius: 2px;
}
.side-card h3 { font-size: 22px; margin: 4px 0 6px; }
.meta-line { font-size: 12px; color: var(--ink-muted); }

/* FLAT EDITORIAL CARDS (ZERO DROP-SHADOW, CRISP TYPOGRAPHIC HIERARCHY) */
.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #D6D3D1;
  border-bottom: 1px solid #292524;
  padding: 10px 0;
  margin: 36px 0 24px;
}
.sec-head h2 { font-size: 32px; letter-spacing: 0.02em; color: #1C1917; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 24px;
}
.art-card {
  background: #FAF8F5;
  border: 1px solid #D6D3D1;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  transition: border-color 0.2s ease;
}
.art-card:hover {
  border-color: #B45309;
}
.art-card-img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  background: var(--surface-alt);
  border-bottom: 1px solid #D6D3D1;
}
.art-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.art-card-cat {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #B45309;
  margin-bottom: 6px;
}
.art-card-title { font-size: 24px; margin-bottom: 8px; line-height: 1.22; }
.art-card-excerpt { font-size: 14px; color: var(--ink-soft); margin-bottom: 14px; flex: 1; }

/* TOP PAGE BAR (.top-page-bar) */
.top-page-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: #F3EFE6;
  border: 1px solid #D6D3D1;
  border-left: 3px solid #B45309;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 18px;
}
.top-page-bar-left, .top-page-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.top-page-status {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #292524;
}
.top-page-dot {
  width: 28px;
  height: 28px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #FAF8F5;
  border: 1px solid #D6D3D1;
  color: #292524;
}
.top-page-dot.active {
  background: #292524;
  border-color: #292524;
  color: #F5F5F4;
}
.top-page-dot.done {
  background: #FEF3C7;
  border-color: #D97706;
  color: #B45309;
}
.top-page-nav-btn {
  padding: 5px 12px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  background: #FAF8F5;
  border: 1px solid #D6D3D1;
  color: #292524;
}
.top-page-nav-btn.primary {
  background: #B45309;
  border-color: #B45309;
  color: #F5F5F4 !important;
}

/* Capsule Pagination UX */
.navigation.pagination {
  margin-top: 38px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.navigation.pagination .nav-links,
.pagination .nav-links,
ul.page-numbers {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
ul.page-numbers li {
  display: inline-flex;
  list-style: none;
}
.navigation.pagination .page-numbers,
.page-numbers,
a.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  border-radius: 4px;
  background: #FAF8F5;
  border: 1px solid #D6D3D1;
  color: var(--ink, #1C1917);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: none;
  line-height: 1;
}
.navigation.pagination a.page-numbers:hover,
a.page-numbers:hover {
  background: #292524;
  border-color: #292524;
  color: #F5F5F4 !important;
}
.navigation.pagination .page-numbers.current,
span.page-numbers.current,
.page-numbers.current {
  background: #292524;
  border-color: #292524;
  color: #F5F5F4 !important;
  pointer-events: none;
}
.navigation.pagination .page-numbers.dots,
span.page-numbers.dots,
.page-numbers.dots {
  border-color: transparent;
  background: transparent;
  min-width: 26px;
  padding: 0 4px;
  color: var(--ink-muted, #78716C);
}
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next,
.page-numbers.prev,
.page-numbers.next {
  background: #292524;
  border-color: #292524;
  color: #F5F5F4 !important;
  padding: 0 18px;
}
.navigation.pagination .page-numbers.prev:hover,
.navigation.pagination .page-numbers.next:hover,
.page-numbers.prev:hover,
.page-numbers.next:hover {
  background: #B45309;
  border-color: #B45309;
  color: #F5F5F4 !important;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 820px) 340px;
  gap: 42px;
  align-items: start;
}
@media (max-width: 1040px) {
  .article-layout { grid-template-columns: 1fr; }
}
.article-main {
  background: #FAF8F5;
  border: 1px solid #D6D3D1;
  border-radius: 4px;
  padding: clamp(22px, 4vw, 44px);
  box-shadow: none;
}
.article-title { font-size: clamp(30px, 4vw, 46px); margin: 8px 0 14px; }
.byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.byline-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.byline-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brass);
}
.part-badge {
  background: var(--charcoal);
  color: #fbf9f5;
  padding: 4px 12px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Signature Spec Sheet ("✨ The Daily Essentialist Curated Edit & Spec Sheet") */
.style-spec-card {
  background: linear-gradient(145deg, #fbf9f5, #f1ebe1);
  border: 1px solid #d8cebe;
  border-left: 5px solid var(--charcoal);
  border-radius: 12px;
  padding: 20px 22px;
  margin-bottom: 26px;
}
.style-spec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #c7bba7;
}
.style-spec-head h3 {
  font-size: 21px;
  margin: 0;
  color: var(--charcoal);
}
.style-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.style-spec-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.style-spec-item span {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brass);
}
.style-spec-item b {
  font-size: 13.5px;
  color: var(--ink);
}
.style-salon-ask {
  background: var(--charcoal);
  color: #fbf9f5;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 13.5px;
}
.style-salon-ask strong { color: #dfc8a8; }

.jump-banner {
  background: linear-gradient(135deg, #f8f5ef, #eee7dc);
  border: 1px solid #d5c8b4;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.jump-btn {
  background: var(--charcoal);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13.5px;
}
.jump-btn:hover { background: var(--brass); }

.dlg-figure {
  position: relative;
  margin: 26px 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}
.dlg-Lead-img {
  width: 100%;
  max-height: 780px;
  object-fit: cover;
}
.dlg-figure figcaption {
  padding: 11px 16px;
  font-size: 13px;
  color: var(--ink-muted);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-pin-img, .fig-pin-btn, .pin-btn {
  background: var(--pin-red);
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none !important;
}
.btn-pin-img:hover, .fig-pin-btn:hover, .pin-btn:hover { opacity: 0.9; }
.pin-btn svg, .pin-top-btn svg, .btn-pin-follow svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0;
  fill: currentColor;
}

.dlg-sec-h2 { font-size: 30px; margin: 28px 0 14px; color: var(--charcoal); }
.dlg-sub-h3 { font-size: 24px; margin: 22px 0 10px; }
.article-content p { margin-bottom: 18px; font-size: 17px; color: #24211e; }
.dlg-callout {
  background: var(--surface-alt);
  border-left: 4px solid var(--brass);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}
.dlg-callout h3 { font-size: 21px; margin-bottom: 10px; color: var(--charcoal); }
.dlg-callout ul { padding-left: 20px; }
.dlg-callout li { margin-bottom: 8px; font-size: 15.5px; }

.pagination-box {
  margin: 34px 0 26px;
  padding: 26px;
  background: linear-gradient(145deg, #1C1917, #292524);
  color: #F5F5F4;
  border-radius: 4px;
  border: 1px solid #D97706;
  text-align: center;
}
.pagination-box p { color: #E7E5E4; font-size: 14px; margin-bottom: 14px; }
.btn-next-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #B45309, #D97706);
  color: #fff !important;
  font-weight: 800;
  font-size: 16.5px;
  padding: 15px 32px;
  border-radius: 4px;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.page-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.page-pill {
  padding: 7px 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255,255,255,0.12);
  color: #ece6dc !important;
}
.page-pill.active { background: var(--brass); color: #fff !important; }

.author-box {
  margin-top: 30px;
  padding: 22px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 18px;
  align-items: center;
}
.author-box-img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--brass);
}
.sidebar-widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.sidebar-widget h3 {
  font-size: 22px;
  border-bottom: 2px solid var(--charcoal);
  padding-bottom: 8px;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.founder-card {
  text-align: center;
}
.founder-card img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 2.5px solid var(--brass);
}
.btn-pin-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 14px;
  padding: 11px 16px;
  border-radius: 4px;
  background: var(--pin-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 13px;
}
.site-footer {
  background: var(--charcoal-dark);
  color: #dcd5ca;
  padding: 56px 24px 140px;
  margin-top: 60px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
.footer-col h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; font-size: 13.5px; }
.footer-col a { color: #c4bbb0; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: 1280px;
  margin: 36px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: #968d82;
}
.archive-pagination-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.archive-page-badge {
  background: #F5EFE6;
  color: #292524;
  border: 1px solid #D6D3D1;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 13px;
  border-radius: 4px;
}
.archive-total-count {
  font-size: 12.5px;
  color: var(--ink-muted, #57534E);
  font-weight: 600;
}
@media (max-width: 980px) {
  .nav-inner { justify-content: flex-start; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-main, .article-sidebar { min-width: 0; max-width: 100%; overflow-wrap: break-word; }
}
@media (max-width: 640px) {
  .container, .header-main, .topbar-inner, .footer-inner, .article-layout { padding-left: 16px; padding-right: 16px; }
  .topbar-links { flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
  .brand-logo { gap: 10px; max-width: 100%; }
  .brand-emblem, .brand-emblem-svg { width: 40px; height: 40px; }
  .brand-title { font-size: 1.25rem; }
  .brand-sub { font-size: 0.58rem; letter-spacing: 0.08em; white-space: normal; }
  .search-form { width: 100%; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article-grid, .style-spec-grid, .chef-overview-strip, .ingredient-list { grid-template-columns: minmax(0, 1fr); }
  .article-main { padding: 20px 16px; }
  .top-page-bar, .byline-bar, .author-box { flex-wrap: wrap; }
  .author-box { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

