/*
Theme Name: Lipstick Queen
Theme URI: https://lipstickqueen.com
Author: Lipstick Queen
Description: Custom editorial theme for Lipstick Queen, an independent beauty publication. Built around a serif/small-caps editorial type system (EB Garamond, Cormorant SC, Joan, Jost) with a rose/blush/ink color palette.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: lipstick-queen
*/

/* ══════════════════════════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0D0D0D;
  --ink:     #1C1C1C;
  --mid:     #5A5A5A;
  --silver:  #A8A8A8;
  --rule:    #E0DADA;
  --blush:   #F5EDED;
  --white:   #FFFFFF;
  --rose:    #9B2335;
  --rose-lt: #C0394F;
  --gold:    #B08B5A;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

.label {
  font-family: 'Cormorant SC', serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--mid);
}
.label-rose { color: var(--rose); }

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

/* ══════════════════════════════════════════════════════════════
   NAV (shared by every template, including the homepage)
   ══════════════════════════════════════════════════════════════ */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
}
.nav-inner { display: flex; align-items: center; padding: 0 60px; height: 68px; gap: 48px; }
.nav-logo {
  font-family: 'Joan', serif; font-size: 26px; font-weight: 400; letter-spacing: 0.06em;
  color: var(--black); text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.nav-logo span { color: var(--rose); }
.nav-divider { width: 1px; height: 32px; background: var(--rule); flex-shrink: 0; }
.nav-search {
  margin-left: auto; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.1em; color: var(--mid); text-transform: uppercase;
  background: none; border: none; font-family: 'Jost', sans-serif;
}
.nav-search svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.5; }

ul.nav-links { display: flex; gap: 0; list-style: none; flex: 1; }
ul.nav-links > li { position: relative; display: flex; align-items: stretch; }
ul.nav-links > li > a {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: 0 18px; height: 68px;
  display: flex; align-items: center; gap: 5px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
ul.nav-links > li > a:hover,
ul.nav-links > li.current-menu-item > a,
ul.nav-links > li.current_page_item > a,
ul.nav-links > li.current-menu-parent > a { color: var(--rose); border-bottom-color: var(--rose); }
ul.nav-links > li.menu-item-has-children > a::after {
  content: ''; display: inline-block; width: 5px; height: 5px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; flex-shrink: 0;
}
ul.nav-links > li.menu-item-has-children:hover > a::after { transform: rotate(225deg) translateY(-2px); }
ul.nav-links > li > ul.sub-menu {
  list-style: none; position: absolute; top: calc(100% + 1px); left: 0; min-width: 220px;
  background: var(--white); border: 1px solid var(--rule); border-top: 2px solid var(--rose);
  box-shadow: 0 8px 28px rgba(0,0,0,0.09); padding: 8px 0; z-index: 200;
  opacity: 0; pointer-events: none; transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
ul.nav-links > li:hover > ul.sub-menu,
ul.nav-links > li:focus-within > ul.sub-menu { opacity: 1; pointer-events: all; transform: translateY(0); }
ul.nav-links > li > ul.sub-menu > li > a {
  display: block; padding: 10px 20px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; white-space: nowrap;
  transition: color 0.15s, padding-left 0.15s, background 0.15s;
}
ul.nav-links > li > ul.sub-menu > li > a:hover { color: var(--rose); padding-left: 26px; background: var(--blush); }
ul.nav-links > li > ul.sub-menu > li.current-menu-item > a { color: var(--rose); }

.nav-hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; cursor: pointer; margin-left: auto;
  background: none; border: none; padding: 8px;
}
.nav-hamburger span { display: block; width: 22px; height: 1px; background: var(--ink); transition: transform 0.3s, opacity 0.3s; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════════
   MOBILE MENU
   ══════════════════════════════════════════════════════════════ */
.mobile-menu {
  display: none; position: fixed; inset: 0; top: 68px;
  background: var(--white); z-index: 99;
  flex-direction: column; border-top: 1px solid var(--rule); overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu-footer { padding: 24px 28px; display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--rule); margin-top: auto; }
.mobile-menu-shop {
  background: var(--rose); color: white; padding: 12px 28px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; font-family: 'Cormorant SC', serif;
}
ul.mobile-menu-links { list-style: none; padding: 0; }
ul.mobile-menu-links > li { display: flex; flex-wrap: wrap; align-items: stretch; }
ul.mobile-menu-links > li > a {
  flex: 1; display: flex; align-items: center; padding: 18px 28px;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--rule); transition: color 0.2s, padding-left 0.2s;
}
ul.mobile-menu-links > li > a:hover { color: var(--rose); padding-left: 36px; }
ul.mobile-menu-links > li.menu-item-has-children > a { padding-right: 0; }
ul.mobile-menu-links > li > ul.sub-menu { width: 100%; }
.mobile-submenu-toggle {
  background: none; border: none; cursor: pointer; padding: 0 28px 0 0;
  display: flex; align-items: center; justify-content: center; color: var(--mid); transition: color 0.2s;
}
.mobile-submenu-toggle svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.25s; }
ul.mobile-menu-links > li.submenu-open > .mobile-submenu-toggle svg { transform: rotate(180deg); }
ul.mobile-menu-links ul.sub-menu {
  list-style: none; padding: 0; max-height: 0; overflow: hidden; width: 100%;
  transition: max-height 0.3s ease; background: var(--blush);
}
ul.mobile-menu-links > li.submenu-open > ul.sub-menu { max-height: 600px; }
ul.mobile-menu-links ul.sub-menu > li > a {
  display: block; padding: 13px 28px 13px 40px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; border-bottom: 1px solid var(--rule);
  transition: color 0.15s, padding-left 0.15s;
}
ul.mobile-menu-links ul.sub-menu > li > a:hover { color: var(--rose); padding-left: 48px; }
ul.mobile-menu-links ul.sub-menu > li.current-menu-item > a { color: var(--rose); }

/* ══════════════════════════════════════════════════════════════
   SEARCH OVERLAY (nav icon → full-screen search, all templates)
   ══════════════════════════════════════════════════════════════ */
.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(13,13,13,0.92); display: flex; align-items: flex-start; justify-content: center; padding-top: 120px; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.search-overlay.open { opacity: 1; pointer-events: all; }
.search-box { width: 100%; max-width: 680px; padding: 0 24px; }
.search-box-inner { display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.4); gap: 16px; padding-bottom: 2px; }
.search-box-inner svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.5); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.search-input { flex: 1; background: none; border: none; outline: none; font-family: 'EB Garamond', serif; font-size: 28px; font-weight: 400; color: white; letter-spacing: -0.01em; }
.search-input::placeholder { color: rgba(255,255,255,0.2); }
.search-close { font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.2em; color: rgba(255,255,255,0.4); background: none; border: none; cursor: pointer; white-space: nowrap; transition: color 0.2s; padding: 4px 0; }
.search-close:hover { color: white; }
.search-hint { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; }

/* ══════════════════════════════════════════════════════════════
   BREADCRUMB (single, page, category, author, archive, search)
   ══════════════════════════════════════════════════════════════ */
.breadcrumb {
  padding: 20px 60px; border-bottom: 1px solid var(--rule); background: var(--blush);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
.breadcrumb a, .breadcrumb span {
  font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--mid); text-decoration: none;
}
.breadcrumb a:hover { color: var(--rose); }
.breadcrumb .sep { color: var(--silver); }
.breadcrumb .current { color: var(--ink); }

/* ══════════════════════════════════════════════════════════════
   PAGE SHELL — two-column layout (main content + sidebar)
   Used by single, page, category, author, archive, search.
   404 and the homepage do NOT use this.
   ══════════════════════════════════════════════════════════════ */
.page-shell {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 360px; gap: 64px;
  padding: 56px 60px 90px;
  align-items: start;
}

/* ══════════════════════════════════════════════════════════════
   SIDEBAR (Tools featured / Newsletter / Latest Posts / random Statistics)
   ══════════════════════════════════════════════════════════════ */
.sidebar { display: flex; flex-direction: column; gap: 44px; }
.widget-title {
  font-family: 'Cormorant SC', serif; font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 8px;
}

.widget-feature-card { display: block; text-decoration: none; color: inherit; }
.widget-feature-img { aspect-ratio: 4/3; overflow: hidden; position: relative; margin-bottom: 14px; background: var(--blush); }
.widget-feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.widget-feature-card:hover .widget-feature-img img { transform: scale(1.06); }
.widget-feature-cat { display: block; font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); margin-bottom: 7px; }
.widget-feature-title { display: block; font-family: 'EB Garamond', serif; font-size: 18px; font-weight: 500; line-height: 1.35; color: var(--ink); margin-bottom: 8px; }
.widget-feature-excerpt { font-size: 12px; font-weight: 300; line-height: 1.65; color: var(--mid); }

.widget-newsletter { background: var(--black); padding: 30px 26px; }
.widget-newsletter .widget-title { color: var(--gold); border-bottom-color: #2a2a2a; }
.widget-nl-headline { font-family: 'EB Garamond', serif; font-size: 20px; font-weight: 500; color: white; line-height: 1.3; margin-bottom: 8px; }
.widget-nl-sub { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 18px; }
.widget-nl-stack { display: flex; flex-direction: column; gap: 8px; }
.widget-nl-input {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); outline: none; width: 100%;
  padding: 13px 16px; font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 300; color: white; transition: border-color 0.2s;
}
.widget-nl-input:focus { border-color: rgba(255,255,255,0.5); }
.widget-nl-input::placeholder { color: rgba(255,255,255,0.35); }
.widget-nl-submit {
  background: var(--rose); color: white; border: none; cursor: pointer; width: 100%; padding: 14px 16px;
  font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; transition: background 0.2s;
}
.widget-nl-submit:hover { background: var(--rose-lt); }
.widget-nl-fine { font-size: 10px; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; margin-top: 10px; }

.widget-latest-list { display: flex; flex-direction: column; }
.widget-latest-item {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 0;
  border-top: 1px solid var(--rule); text-decoration: none; color: inherit;
}
.widget-latest-item:first-child { border-top: none; padding-top: 0; }
.widget-latest-thumb { width: 46px; height: 46px; flex-shrink: 0; overflow: hidden; position: relative; background: var(--blush); }
.widget-latest-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.widget-latest-item:hover .widget-latest-thumb img { transform: scale(1.08); }
.widget-latest-title { display: block; font-family: 'EB Garamond', serif; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--ink); margin-bottom: 6px; transition: color 0.2s; }
.widget-latest-item:hover .widget-latest-title { color: var(--rose); }
.widget-latest-date { font-size: 10px; letter-spacing: 0.08em; color: var(--silver); text-transform: uppercase; }

/* ══════════════════════════════════════════════════════════════
   ENTRY / ARTICLE TYPOGRAPHY — shared by single.php and page.php
   ══════════════════════════════════════════════════════════════ */
.entry-header { max-width: 760px; margin-bottom: 36px; }
.entry-category {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); text-decoration: none; margin-bottom: 18px;
}
.entry-category::before { content: ''; display: block; width: 22px; height: 1px; background: var(--rose); }
.entry-title {
  font-family: 'EB Garamond', serif; font-size: clamp(32px, 4vw, 46px); font-weight: 500;
  line-height: 1.15; letter-spacing: -0.01em; color: var(--black); margin-bottom: 22px;
}
.entry-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px;
  padding-top: 22px; border-top: 1px solid var(--rule);
}
.entry-author { display: flex; align-items: center; gap: 12px; }
.entry-author-avatar {
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--blush); flex-shrink: 0;
}
.entry-author-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.entry-author-name { font-size: 13px; font-weight: 400; color: var(--ink); }
.entry-author-role { font-size: 11px; color: var(--silver); letter-spacing: 0.04em; }
.entry-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--silver); }
.entry-meta-sub { font-size: 11px; letter-spacing: 0.08em; color: var(--mid); text-transform: uppercase; }
.entry-share { display: flex; gap: 8px; margin-left: auto; }
.share-btn {
  width: 34px; height: 34px; border: 1px solid var(--rule); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--mid);
  text-decoration: none; transition: border-color 0.2s, color 0.2s; cursor: pointer; background: none;
}
.share-btn svg { width: 14px; height: 14px; fill: currentColor; }
.share-btn:hover { border-color: var(--rose); color: var(--rose); }
.share-btn.share-copy svg { fill: none; stroke: currentColor; stroke-width: 1.8; }

.entry-thumb { max-width: 760px; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 44px; background: var(--blush); }
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.entry-content { max-width: 760px; font-family: 'EB Garamond', serif; font-size: 20px; font-weight: 400; line-height: 1.85; color: var(--ink); }
.entry-content > p { margin-bottom: 28px; }
.entry-content h2 {
  font-family: 'EB Garamond', serif; font-size: 32px; font-weight: 500; line-height: 1.25;
  color: var(--black); margin: 54px 0 20px; letter-spacing: -0.01em;
}
.entry-content h3 {
  font-family: 'EB Garamond', serif; font-size: 24px; font-weight: 500; line-height: 1.3;
  color: var(--black); margin: 40px 0 16px;
}
.entry-content h4 {
  font-family: 'Cormorant SC', serif; font-size: 13px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--rose); margin: 30px 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.entry-content h4::before { content: ''; display: block; width: 18px; height: 1px; background: var(--rose); flex-shrink: 0; }
.entry-content a {
  color: var(--rose); font-weight: 600; text-decoration: underline;
  text-decoration-thickness: 2px; text-decoration-color: var(--rose); text-underline-offset: 3px;
  transition: color 0.2s, background 0.2s; padding: 0 1px;
}
.entry-content a:hover { color: var(--rose-lt); background: var(--blush); }
.entry-content strong { font-weight: 600; }
.entry-content em { font-style: italic; }

.entry-content ul, .entry-content ol {
  margin: 0 0 28px; padding-left: 26px; font-family: 'EB Garamond', serif; font-size: 20px; line-height: 1.75; color: var(--ink);
}
.entry-content ul { list-style: none; }
.entry-content ul > li { position: relative; padding-left: 22px; margin-bottom: 12px; }
.entry-content ul > li::before {
  content: ''; position: absolute; left: 0; top: 12px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--rose);
}
.entry-content ol { list-style: none; counter-reset: lm-ol; }
.entry-content ol > li { position: relative; padding-left: 34px; margin-bottom: 14px; counter-increment: lm-ol; }
.entry-content ol > li::before {
  content: counter(lm-ol); position: absolute; left: 0; top: 1px;
  font-family: 'Cormorant SC', serif; font-size: 13px; font-weight: 600; color: var(--rose);
  width: 22px; height: 22px; border: 1px solid var(--rose); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; line-height: 1;
}
.entry-content li > ul, .entry-content li > ol { margin-top: 12px; margin-bottom: 0; }

.entry-content blockquote {
  margin: 40px 0; padding: 28px 36px; background: var(--blush); border-left: 3px solid var(--rose);
  font-family: 'EB Garamond', serif; font-style: italic; font-size: 22px; line-height: 1.55; color: var(--ink);
}
.entry-content blockquote cite {
  display: block; margin-top: 14px; font-family: 'Cormorant SC', serif; font-style: normal;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose);
}

.entry-content figure { margin: 44px 0; }
.entry-content figure img { width: 100%; display: block; aspect-ratio: 16/9; object-fit: cover; }
.entry-content figcaption {
  margin-top: 12px; font-family: 'Jost', sans-serif; font-size: 12px; font-weight: 300;
  letter-spacing: 0.04em; color: var(--silver); text-align: center; font-style: italic;
}

.entry-tip {
  margin: 40px 0; padding: 24px 28px; background: var(--blush); border-left: 3px solid var(--rose);
  display: flex; gap: 16px; align-items: flex-start;
}
.entry-tip-icon {
  width: 30px; height: 30px; border-radius: 50%; background: var(--rose); color: white; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-family: 'Cormorant SC', serif; font-size: 15px; font-weight: 600;
}
.entry-tip-body { font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 300; line-height: 1.75; color: var(--ink); }
.entry-tip-body strong { font-weight: 500; }

.entry-content .table-wrap { margin: 40px 0; overflow-x: auto; border: 1px solid var(--rule); }
.entry-content table {
  width: 100%; border-collapse: collapse; font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 300;
  min-width: 560px;
}
.entry-content thead th {
  background: var(--black); color: white; text-align: left; padding: 14px 18px;
  font-family: 'Cormorant SC', serif; font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
}
.entry-content tbody td {
  padding: 16px 18px; border-bottom: 1px solid var(--rule); color: var(--ink); vertical-align: top; line-height: 1.6;
}
.entry-content tbody tr:last-child td { border-bottom: none; }
.entry-content tbody tr:nth-child(even) { background: rgba(245,237,237,0.5); }
.entry-content tbody td strong { font-weight: 500; color: var(--black); }
.entry-content table caption {
  caption-side: bottom; text-align: left; padding: 12px 18px; font-size: 11px; color: var(--silver);
  font-style: italic; border-top: 1px solid var(--rule);
}

.entry-share-bottom {
  display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--rule); max-width: 760px;
}
.entry-share-bottom .label { margin-right: 4px; }

.author-box {
  max-width: 760px; margin: 40px 0; padding: 32px; background: var(--blush);
  display: flex; gap: 22px; align-items: flex-start;
}
.author-box-avatar {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--rule); flex-shrink: 0;
}
.author-box-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-box-name { font-family: 'EB Garamond', serif; font-size: 18px; font-weight: 500; color: var(--black); margin-bottom: 6px; }
.author-box-role { font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; }
.author-box-bio { font-size: 13px; font-weight: 300; line-height: 1.75; color: var(--mid); }

.related-posts { max-width: 760px; margin-top: 64px; }
.related-posts-head { font-family: 'EB Garamond', serif; font-size: 24px; font-weight: 500; color: var(--black); margin-bottom: 26px; padding-bottom: 16px; border-bottom: 1px solid var(--rule); }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.related-card { text-decoration: none; display: block; color: inherit; }
.related-card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; margin-bottom: 13px; background: var(--blush); }
.related-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.related-card:hover .related-card-img img { transform: scale(1.06); }
.related-card-cat { display: block; font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); margin-bottom: 6px; }
.related-card-title { display: block; font-family: 'EB Garamond', serif; font-size: 16px; font-weight: 500; line-height: 1.3; color: var(--ink); }

/* ══════════════════════════════════════════════════════════════
   PAGE TEMPLATE (page.php) — simpler header than single.php
   ══════════════════════════════════════════════════════════════ */
.page-header { max-width: 760px; margin-bottom: 40px; }
.page-title {
  font-family: 'EB Garamond', serif; font-size: clamp(32px, 4vw, 46px); font-weight: 500;
  line-height: 1.15; letter-spacing: -0.01em; color: var(--black);
}
.page-cta {
  max-width: 760px; margin: 48px 0 0; padding: 36px; border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.page-cta-title { font-family: 'EB Garamond', serif; font-size: 20px; font-weight: 500; color: var(--black); margin-bottom: 6px; }
.page-cta-sub { font-size: 13px; font-weight: 300; color: var(--mid); }
.page-cta-btn {
  background: var(--rose); color: white; text-decoration: none; padding: 14px 28px; white-space: nowrap;
  font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; transition: background 0.2s;
}
.page-cta-btn:hover { background: var(--rose-lt); }

/* ══════════════════════════════════════════════════════════════
   ARCHIVE / CATEGORY / AUTHOR / GENERIC ARCHIVE
   ══════════════════════════════════════════════════════════════ */
.archive-header { max-width: 820px; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.archive-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 16px;
}
.archive-eyebrow::before { content: ''; display: block; width: 22px; height: 1px; background: var(--rose); }
.archive-title {
  font-family: 'EB Garamond', serif; font-size: clamp(32px, 4vw, 46px); font-weight: 500;
  line-height: 1.1; letter-spacing: -0.01em; color: var(--black); margin-bottom: 18px;
}
.archive-desc { font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--mid); max-width: 640px; margin-bottom: 14px; }
.archive-count { font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); }

.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px 32px; }
.archive-card { display: block; text-decoration: none; color: inherit; }
.archive-card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; margin-bottom: 16px; background: var(--blush); }
.archive-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.archive-card:hover .archive-card-img img { transform: scale(1.05); }
.archive-card-cat { display: block; font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); margin-bottom: 8px; }
.archive-card-title { font-family: 'EB Garamond', serif; font-size: 21px; font-weight: 500; line-height: 1.3; color: var(--ink); margin-bottom: 10px; transition: color 0.2s; }
.archive-card:hover .archive-card-title { color: var(--rose); }
.archive-card-excerpt { font-size: 13px; font-weight: 300; line-height: 1.7; color: var(--mid); margin-bottom: 14px; }
.archive-card-meta { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); }
.archive-card-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--silver); flex-shrink: 0; }

/* WordPress's the_posts_pagination() already outputs class="pagination" on
   the wrapping <nav>, so this targets its real markup (.page-numbers /
   .current / .dots / .prev / .next) rather than custom classes. */
.pagination { display: flex; align-items: center; justify-content: center; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--rule); }
.pagination .nav-links { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
  min-width: 38px; height: 38px; padding: 0 6px; display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant SC', serif; font-size: 13px; font-weight: 500; color: var(--mid); text-decoration: none;
  border: 1px solid var(--rule); transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pagination .page-numbers:hover { border-color: var(--rose); color: var(--rose); }
.pagination .page-numbers.current { background: var(--rose); border-color: var(--rose); color: white; }
.pagination .page-numbers.dots { border: none; cursor: default; }
.pagination .page-numbers.dots:hover { color: var(--mid); }
.pagination .prev.page-numbers, .pagination .next.page-numbers { font-size: 15px; }

/* author.php header */
.author-header { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 48px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.author-avatar-lg {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--rule); flex-shrink: 0;
}
.author-avatar-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-header-body { flex: 1; min-width: 260px; }
.author-header-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 12px;
}
.author-header-eyebrow::before { content: ''; display: block; width: 22px; height: 1px; background: var(--rose); }
.author-header-name { font-family: 'EB Garamond', serif; font-size: clamp(28px, 3.4vw, 38px); font-weight: 500; line-height: 1.15; color: var(--black); margin-bottom: 6px; }
.author-header-role { font-family: 'Cormorant SC', serif; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); margin-bottom: 16px; }
.author-header-bio { font-size: 14px; font-weight: 300; line-height: 1.8; color: var(--mid); max-width: 620px; margin-bottom: 18px; }
.author-header-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.author-header-stat { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); }
.author-header-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--silver); }
.author-header-socials { display: flex; gap: 8px; margin-left: auto; }
.author-soc {
  width: 34px; height: 34px; border: 1px solid var(--rule); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--mid);
  text-decoration: none; transition: border-color 0.2s, color 0.2s;
}
.author-soc svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.author-soc.filled svg { fill: currentColor; stroke: none; }
.author-soc:hover { border-color: var(--rose); color: var(--rose); }

/* search.php header + refine form + highlighted term */
.search-header { max-width: 820px; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.search-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 16px;
}
.search-eyebrow::before { content: ''; display: block; width: 22px; height: 1px; background: var(--rose); }
.search-title {
  font-family: 'EB Garamond', serif; font-size: clamp(26px, 3.4vw, 36px); font-weight: 500;
  line-height: 1.25; letter-spacing: -0.01em; color: var(--black); margin-bottom: 12px;
}
.search-title em { font-style: italic; color: var(--rose); }
.search-count { font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--silver); margin-bottom: 28px; display: block; }
.search-refine-form {
  display: flex; align-items: center; gap: 14px; max-width: 460px;
  border-bottom: 1px solid var(--rule); padding-bottom: 8px; transition: border-color 0.2s;
}
.search-refine-form:focus-within { border-color: var(--rose); }
.search-refine-form svg { width: 17px; height: 17px; stroke: var(--mid); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.search-refine-input {
  flex: 1; border: none; outline: none; background: none;
  font-family: 'EB Garamond', serif; font-size: 16px; color: var(--ink);
}
.search-refine-input::placeholder { color: var(--silver); }
.search-refine-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Cormorant SC', serif; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose);
}
.archive-grid mark { background: var(--blush); color: var(--rose); padding: 1px 2px; font-style: normal; }

/* ══════════════════════════════════════════════════════════════
   404 — no sidebar
   ══════════════════════════════════════════════════════════════ */
.notfound { max-width: 640px; margin: 0 auto; padding: 100px 40px 90px; text-align: center; }
.notfound-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 22px;
}
.notfound-eyebrow::before, .notfound-eyebrow::after { content: ''; display: block; width: 22px; height: 1px; background: var(--rose); }
.notfound-number {
  font-family: 'EB Garamond', serif; font-weight: 500; font-size: clamp(90px, 14vw, 160px);
  line-height: 1; letter-spacing: -0.02em; color: var(--rose); margin-bottom: 8px;
}
.notfound-title {
  font-family: 'EB Garamond', serif; font-size: clamp(24px, 3vw, 32px); font-weight: 500;
  line-height: 1.3; color: var(--black); margin-bottom: 16px;
}
.notfound-text { font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--mid); max-width: 460px; margin: 0 auto 40px; }
.notfound-search-form {
  display: flex; align-items: center; gap: 14px; max-width: 440px; margin: 0 auto 32px;
  border-bottom: 1px solid var(--rule); padding-bottom: 8px; transition: border-color 0.2s;
}
.notfound-search-form:focus-within { border-color: var(--rose); }
.notfound-search-form svg { width: 18px; height: 18px; stroke: var(--mid); fill: none; stroke-width: 1.5; flex-shrink: 0; }
.notfound-search-input {
  flex: 1; border: none; outline: none; background: none;
  font-family: 'EB Garamond', serif; font-size: 18px; font-style: italic; color: var(--ink);
}
.notfound-search-input::placeholder { color: var(--silver); }
.notfound-search-btn {
  background: none; border: none; cursor: pointer;
  font-family: 'Cormorant SC', serif; font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose);
}
/* Chip list — reused by 404's suggestions and search.php's empty state */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip-list.align-left { justify-content: flex-start; margin-bottom: 0; }
.chip {
  font-family: 'Cormorant SC', serif; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mid); border: 1px solid var(--rule); padding: 9px 18px; text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.chip:hover { color: var(--rose); border-color: var(--rose); }
.notfound-home-btn {
  display: inline-block; background: var(--rose); color: white; text-decoration: none;
  padding: 15px 36px; font-family: 'Cormorant SC', serif; font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; transition: background 0.2s;
}
.notfound-home-btn:hover { background: var(--rose-lt); }

/* search.php — empty state (kept inside the two-column shell, unlike 404) */
.search-empty { padding: 8px 0 4px; max-width: 620px; }
.search-empty-text { font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--mid); margin-bottom: 24px; }

.popular-section { background: var(--blush); padding: 64px 60px; }
.popular-inner { max-width: 1100px; margin: 0 auto; }
.popular-head { text-align: center; margin-bottom: 40px; }
.popular-eyebrow {
  font-family: 'Cormorant SC', serif; font-size: 10px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--mid); margin-bottom: 10px;
}
.popular-title { font-family: 'EB Garamond', serif; font-size: 26px; font-weight: 500; color: var(--black); }
.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.popular-card { display: block; text-decoration: none; color: inherit; }
.popular-card-img { aspect-ratio: 16/9; overflow: hidden; position: relative; margin-bottom: 14px; background: var(--white); }
.popular-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.popular-card:hover .popular-card-img img { transform: scale(1.05); }
.popular-card-cat { display: block; font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--rose); margin-bottom: 6px; }
.popular-card-title { display: block; font-family: 'EB Garamond', serif; font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--ink); transition: color 0.2s; }
.popular-card:hover .popular-card-title { color: var(--rose); }

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE ONLY (template-homepage.php)
   ══════════════════════════════════════════════════════════════ */
.site-masthead {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 16px 52px; border-bottom: 1px solid var(--rule); background: var(--blush);
}
.site-masthead-h1 {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin: 0; font-weight: 400; text-align: center;
}
.site-masthead-brand { font-family: 'Joan', serif; font-size: 19px; letter-spacing: 0.02em; color: var(--ink); }
.site-masthead-brand span { color: var(--rose); }
.site-masthead-divider { width: 22px; height: 1px; background: var(--gold); flex-shrink: 0; }
.site-masthead-tagline {
  font-family: 'Cormorant SC', serif; font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mid); font-weight: 500;
}

.hero { display: grid; grid-template-columns: 1fr 460px; border-bottom: 1px solid var(--rule); }
.hero-main { position: relative; overflow: hidden; min-height: 600px; }
.hero-main-img {
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?w=1400&h=800&fit=crop&auto=format") center/cover no-repeat;
}
.hero-main-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
}
.hero-circle {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none; z-index: 1;
}
.hero-circle::before {
  content: ''; position: absolute; inset: 22px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}
.hero-main-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 48px 52px; z-index: 2; }
.hero-main-category {
  font-family: 'Cormorant SC', serif; font-size: 10px; letter-spacing: 0.22em; color: var(--gold);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.hero-main-category::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.hero-main-title {
  font-family: 'EB Garamond', serif; font-size: clamp(36px, 3.6vw, 52px); font-weight: 500;
  line-height: 1.08; color: white; letter-spacing: -0.02em; margin-bottom: 14px;
}
.hero-main-title em { font-style: italic; color: #F0B8C8; }
.hero-main-excerpt { font-size: 14px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.6); max-width: 480px; margin-bottom: 24px; }
.hero-main-meta { display: flex; align-items: center; gap: 20px; }
.hero-meta-label { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.35); }
.hero-read-btn {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: white; text-decoration: none; border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 22px; transition: background 0.2s, border-color 0.2s; font-family: 'Cormorant SC', serif;
}
.hero-read-btn:hover { background: rgba(255,255,255,0.1); border-color: white; }
.hero-aside { border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.hero-aside-top { padding: 32px 32px 24px; border-bottom: 1px solid var(--rule); }
.aside-story {
  display: grid; grid-template-columns: 106px 1fr; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--rule); cursor: pointer; text-decoration: none;
}
.aside-story:first-of-type { border-top: none; }
.aside-story-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.aside-story-img-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: transform 0.4s;
}
.aside-story:hover .aside-story-img-bg { transform: scale(1.05); }
.aside-story-cat { font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.2em; color: var(--rose); margin-bottom: 5px; }
.aside-story-title { font-family: 'EB Garamond', serif; font-size: 15px; font-weight: 500; line-height: 1.3; color: var(--ink); transition: color 0.2s; }
.aside-story:hover .aside-story-title { color: var(--rose); }
.aside-story-date { font-size: 10px; letter-spacing: 0.08em; color: var(--silver); margin-top: 5px; }
/* Newsletter form inside the hero uses the same widget-nl-* classes as the
   sidebar widget (template-parts/newsletter-form-small.php) — markup is
   <div class="hero-nl widget-newsletter">, so this only needs the layout-
   specific bits; background/padding/widget-title color come from .widget-newsletter. */
.hero-nl {
  margin-top: auto; flex: 1; display: flex; flex-direction: column; justify-content: center;
  border-top: 1px solid #2a2a2a;
}

.ticker { border-bottom: 1px solid var(--rule); overflow: hidden; display: flex; height: 40px; align-items: center; }
.ticker-label {
  font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.22em;
  color: white; background: var(--black); padding: 0 22px;
  height: 100%; display: flex; align-items: center; white-space: nowrap; flex-shrink: 0;
}
.ticker-track { display: flex; animation: ticker-scroll 34s linear infinite; width: max-content; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-track a { text-decoration: none; color: inherit; }
.ticker-item { display: flex; align-items: center; padding: 0 26px; height: 40px; white-space: nowrap; border-right: 1px solid var(--rule); cursor: pointer; }
.ticker-item span { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mid); transition: color 0.2s; }
.ticker-item:hover span { color: var(--rose); }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 68px 60px; border-bottom: 1px solid var(--rule); }
.section-bg { background: var(--blush); }
.section-dark { background: var(--black); }
.section + .section { border-top: none; }
.section.tinted { background: #FAFAF8; }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--rule);
}
.section-dark .section-head { border-bottom-color: #252525; }
.section-title { font-family: 'EB Garamond', serif; font-size: 30px; font-weight: 400; letter-spacing: -0.01em; color: var(--black); line-height: 1; }
.section-dark .section-title { color: white; }
.section-title em { font-style: italic; }
.see-all {
  font-family: 'Cormorant SC', serif; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--mid); text-decoration: none; display: flex; align-items: center; gap: 8px; transition: color 0.2s;
}
.see-all::after { content: '→'; font-family: serif; }
.see-all:hover { color: var(--rose); }
.section-dark .see-all { color: rgba(255,255,255,0.3); }
.section-dark .see-all:hover { color: var(--gold); }

.card-img-wrap { overflow: hidden; position: relative; }
.card-img-inner {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.lip-tile-img, .techniques-feature-img, .tech-img, .small-card-img, .color-card-img { aspect-ratio: 16/9; }
.lip-tile:hover .card-img-inner,
.look-card:hover .card-img-inner,
.color-card:hover .card-img-inner,
.small-card:hover .card-img-inner,
.tech-row:hover .card-img-inner { transform: scale(1.05); }

.lipstick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.lip-tile { background: var(--white); cursor: pointer; overflow: hidden; display: block; text-decoration: none; }
.lip-tile-img { overflow: hidden; }
.lip-tile-body { padding: 22px 26px 26px; border-top: 2px solid transparent; transition: border-color 0.2s; }
.lip-tile:hover .lip-tile-body { border-top-color: var(--rose); }
.lip-tile-name { font-family: 'EB Garamond', serif; font-size: 21px; font-weight: 500; color: var(--ink); margin: 7px 0 5px; transition: color 0.2s; }
.lip-tile:hover .lip-tile-name { color: var(--rose); }
.lip-tile-count { font-size: 11px; color: var(--silver); letter-spacing: 0.06em; }
.lip-tile-arrow { margin-top: 14px; font-size: 10px; letter-spacing: 0.16em; color: var(--rose); text-transform: uppercase; font-family: 'Cormorant SC', serif; display: flex; align-items: center; gap: 8px; }
.lip-tile-arrow::after { content: '→'; }

.looks-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 2px; }
.look-card { overflow: hidden; cursor: pointer; position: relative; text-decoration: none; display: block; }
.look-card.tall { grid-row: span 2; }
.look-card-img-wrap { position: absolute; inset: 0; overflow: hidden; }
.look-card-inner {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  transition: transform 0.5s ease;
}
.look-card:hover .look-card-inner { transform: scale(1.04); }
.look-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.76) 0%, transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px 24px;
}
.look-card-cat { font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 5px; }
.look-card-title { font-family: 'EB Garamond', serif; font-size: 18px; font-weight: 500; line-height: 1.2; color: white; }
.look-card.tall .look-card-title { font-size: 26px; }

.techniques-layout { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.techniques-feature-img { overflow: hidden; margin-bottom: 20px; }
.techniques-feature-title { font-family: 'EB Garamond', serif; font-size: 26px; font-weight: 500; line-height: 1.2; color: var(--ink); margin: 10px 0 9px; }
.techniques-feature-title-link { text-decoration: none; display: block; }
.techniques-feature-title-link:hover .techniques-feature-title { color: var(--rose); }
.techniques-feature-excerpt { font-size: 13px; font-weight: 300; color: var(--mid); line-height: 1.75; }
.techniques-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.tech-row { display: grid; grid-template-columns: 80px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--rule); cursor: pointer; align-items: center; text-decoration: none; }
.tech-img { overflow: hidden; }
.tech-cat { font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.2em; color: var(--rose); margin-bottom: 2px; }
.tech-title { font-family: 'EB Garamond', serif; font-size: 15px; font-weight: 500; line-height: 1.25; color: var(--ink); transition: color 0.2s; margin-bottom: 2px; }
.tech-row:hover .tech-title { color: var(--rose); }
.tech-meta { font-size: 10px; color: var(--silver); letter-spacing: 0.08em; }

.stats-strip { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--rule); }
.stats-panel { padding: 60px; }
.stats-panel:first-child { border-right: 1px solid var(--rule); background: var(--black); }
.stats-panel-title { font-family: 'EB Garamond', serif; font-size: 28px; font-weight: 400; margin: 10px 0 28px; line-height: 1.15; }
.stats-panel:first-child .stats-panel-title { color: white; }
.stats-panel-title em { font-style: italic; }
.basics-list { list-style: none; }
.basics-list li {
  padding: 13px 0; border-top: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between; cursor: pointer; transition: padding-left 0.2s; gap: 12px;
}
.basics-list li:hover { padding-left: 5px; }
.basics-list li > div { display: flex; align-items: baseline; gap: 10px; }
.basics-item-rank { font-family: 'EB Garamond', serif; font-size: 13px; color: var(--rose); font-weight: 400; flex-shrink: 0; width: 20px; }
.basics-item-name { font-family: 'EB Garamond', serif; font-size: 16px; font-weight: 400; color: var(--ink); transition: color 0.2s; line-height: 1.3; }
.basics-list li:hover .basics-item-name { color: var(--rose); }
.basics-item-arrow { font-size: 14px; color: var(--rule); transition: color 0.2s; flex-shrink: 0; }
.basics-list li:hover .basics-item-arrow { color: var(--rose); }

.color-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.color-card { background: var(--white); cursor: pointer; overflow: hidden; display: block; text-decoration: none; }
.color-card-img { overflow: hidden; }
.color-card-body { padding: 18px 20px 22px; }
.color-card-name { font-family: 'EB Garamond', serif; font-size: 18px; font-weight: 500; color: var(--ink); margin: 7px 0 4px; line-height: 1.2; transition: color 0.2s; }
.color-card:hover .color-card-name { color: var(--rose); }
.color-card-desc { font-size: 12px; font-weight: 300; color: var(--mid); line-height: 1.6; }

.small-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.small-card { cursor: pointer; display: block; text-decoration: none; }
.small-card-img { overflow: hidden; margin-bottom: 14px; }
.small-card-cat { font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.2em; color: var(--rose); margin-bottom: 6px; }
.small-card-title { font-family: 'EB Garamond', serif; font-size: 19px; font-weight: 500; line-height: 1.25; color: var(--ink); transition: color 0.2s; margin-bottom: 6px; }
.small-card:hover .small-card-title { color: var(--rose); }
.small-card-excerpt { font-size: 12px; font-weight: 300; color: var(--mid); line-height: 1.65; }

.brands-layout { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.brand-tile { background: var(--white); padding: 28px 22px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; transition: background 0.25s; text-decoration: none; }
.brand-tile:hover { background: var(--blush); }
.brand-initial { font-family: 'EB Garamond', serif; font-size: 40px; font-style: italic; font-weight: 400; color: var(--rule); line-height: 1; transition: color 0.2s; }
.brand-tile:hover .brand-initial { color: var(--rose); }
.brand-name { font-family: 'EB Garamond', serif; font-size: 17px; font-weight: 500; color: var(--ink); transition: color 0.2s; line-height: 1.2; }
.brand-tile:hover .brand-name { color: var(--rose); }
.brand-link { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; font-family: 'Cormorant SC', serif; color: var(--mid); margin-top: auto; display: flex; align-items: center; gap: 6px; transition: color 0.2s; }
.brand-tile:hover .brand-link { color: var(--rose); }
.brand-link::after { content: '→'; }

.nl-full {
  padding: 76px 60px; border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px; align-items: center; background: var(--black);
}
.nl-full-title { font-family: 'EB Garamond', serif; font-size: clamp(34px, 3.8vw, 50px); font-weight: 400; line-height: 1.1; color: white; letter-spacing: -0.02em; margin: 10px 0 14px; }
.nl-full-title em { font-style: italic; color: #F0B8C8; }
.nl-full-sub { font-size: 14px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.6); max-width: 380px; }
.nl-benefits-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 32px; }
.nl-benefit-item { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.5; }
.nl-check { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--rose); flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.nl-check::after { content: '✓'; font-size: 8px; color: var(--rose); }
.nl-full-form { border: 1px solid rgba(255,255,255,0.2); display: flex; }
.nl-full-form input { flex: 1; border: none; outline: none; padding: 16px 18px; font-family: 'Jost', sans-serif; font-size: 13px; font-weight: 300; color: white; background: rgba(255,255,255,0.07); }
.nl-full-form input::placeholder { color: rgba(255,255,255,0.35); }
.nl-full-form button { background: var(--rose); color: white; border: none; padding: 16px 28px; cursor: pointer; font-family: 'Cormorant SC', serif; font-size: 10px; letter-spacing: 0.22em; transition: background 0.2s; white-space: nowrap; }
.nl-full-form button:hover { background: var(--rose-lt); }
.nl-full-fine { font-size: 10px; color: rgba(255,255,255,0.35); letter-spacing: 0.06em; margin-top: 10px; }

@media (max-width: 1024px) { #lm-latest-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px)  { #lm-latest-grid { grid-template-columns: 1fr !important; } }

@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.fade { animation: fadeIn 0.7s ease both; opacity: 0; }
.d1 { animation-delay: 0.05s; } .d2 { animation-delay: 0.15s; } .d3 { animation-delay: 0.28s; } .d4 { animation-delay: 0.42s; }

/* ══════════════════════════════════════════════════════════════
   FOOTER (every template)
   ══════════════════════════════════════════════════════════════ */
footer { background: var(--black); }
.footer-top { padding: 60px; display: grid; grid-template-columns: 240px 1fr 1fr 1fr; gap: 56px; border-bottom: 1px solid #222; }
.footer-brand-name { font-family: 'Joan', serif; font-size: 22px; font-weight: 400; letter-spacing: 0.06em; color: white; margin-bottom: 12px; }
.footer-brand-name span { color: var(--rose); }
.footer-tagline { font-size: 12px; font-weight: 300; line-height: 1.8; color: rgba(255,255,255,0.65); margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.soc { width: 30px; height: 30px; border: 1px solid #555; display: flex; align-items: center; justify-content: center; font-size: 10px; color: rgba(255,255,255,0.65); cursor: pointer; transition: border-color 0.2s, color 0.2s; text-decoration: none; }
.soc:hover { border-color: var(--rose); color: white; }
.footer-col-head { font-family: 'Cormorant SC', serif; font-size: 9px; letter-spacing: 0.24em; color: rgba(255,255,255,0.5); margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 12px; font-weight: 300; color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-bottom { padding: 22px 60px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.08em; }
.footer-bottom-links { display: flex; gap: 22px; }
.footer-bottom-links a { font-size: 10px; letter-spacing: 0.12em; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-bottom-links a:hover { color: white; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE (consolidated — every template shares the nav/footer
   breakpoints; page-specific rules are grouped underneath)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .page-shell { grid-template-columns: 1fr 320px; gap: 44px; }
}

@media (max-width: 1024px) {
  /* nav / mobile menu */
  .nav-inner { padding: 0 32px; gap: 24px; }
  ul.nav-links { display: none; }
  .nav-divider { display: none; }
  .nav-search { display: none; }
  .nav-hamburger { display: flex; }

  /* breadcrumb + page shell */
  .breadcrumb { padding: 16px 32px; }
  .page-shell { grid-template-columns: 1fr; padding: 40px 32px 70px; gap: 56px; }
  .sidebar { max-width: 500px; }

  /* single / page */
  .related-grid { grid-template-columns: repeat(3, 1fr); }

  /* archive / category / author / search */
  .archive-grid { grid-template-columns: 1fr; gap: 36px; }
  .author-header { gap: 20px; }
  .author-avatar-lg { width: 76px; height: 76px; }
  .author-header-name { font-size: 26px; }
  .author-header-socials { margin-left: 0; width: 100%; }

  /* 404 */
  .popular-section { padding: 52px 32px; }

  /* homepage */
  .hero { grid-template-columns: 1fr; }
  .hero-main { min-height: 520px; }
  .hero-aside { border-left: none; border-top: 1px solid var(--rule); }
  .hero-nl { flex: none; }
  .section { padding: 52px 32px; }
  .section-bg { padding: 52px 32px; }
  .section-dark { padding: 52px 32px; }
  .lipstick-grid { grid-template-columns: repeat(2, 1fr); }
  .looks-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px 220px; }
  .look-card.tall { grid-row: span 1; grid-column: span 2; }
  .techniques-layout { grid-template-columns: 240px 1fr; gap: 36px; }
  .techniques-list { grid-template-columns: 1fr; }
  .stats-strip { display: block; }
  .stats-panel { padding: 48px 32px; }
  .stats-panel:first-child { border-right: none; border-bottom: 1px solid #2a2a2a; }
  .color-grid { grid-template-columns: repeat(2, 1fr); }
  .small-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-layout { grid-template-columns: repeat(4, 1fr); }
  .nl-full { grid-template-columns: 1fr; gap: 40px; padding: 52px 32px; }

  /* footer */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; padding: 48px 32px; }
  .footer-bottom { padding: 20px 32px; }
}

@media (max-width: 768px) {
  /* nav */
  .nav-inner { padding: 0 20px; height: 60px; }
  .nav-logo { font-size: 20px; }
  .mobile-menu { top: 60px; }

  /* breadcrumb + page shell */
  .breadcrumb { padding: 14px 20px; }
  .page-shell { padding: 32px 20px 56px; }

  /* single / page typography */
  .entry-title { font-size: 28px; }
  .page-title { font-size: 28px; }
  .entry-content { font-size: 17px; }
  .entry-content h2 { font-size: 24px; }
  .entry-content h3 { font-size: 19px; }
  .entry-content blockquote { padding: 20px 22px; font-size: 18px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .entry-meta { gap: 14px; }
  .entry-share { margin-left: 0; width: 100%; justify-content: flex-start; }
  .author-box { flex-direction: column; }
  .page-cta { padding: 28px; }

  /* archive / category / author / search */
  .archive-title { font-size: 28px; }
  .search-title { font-size: 24px; }

  /* 404 */
  .notfound { padding: 72px 24px 64px; }
  .chip-list { gap: 8px; }
  .popular-section { padding: 44px 20px; }
  .popular-grid { grid-template-columns: 1fr; gap: 32px; }

  /* homepage */
  .site-masthead { padding: 12px 20px; }
  .site-masthead-h1 { gap: 8px; }
  .site-masthead-brand { font-size: 15px; }
  .site-masthead-tagline { font-size: 10px; letter-spacing: 0.1em; }
  .hero { grid-template-columns: 1fr; }
  .hero-main { min-height: 400px; }
  .hero-main-content { padding: 28px 24px; }
  .hero-main-title { font-size: 30px; }
  .hero-main-excerpt { font-size: 13px; }
  .hero-aside-top { padding: 24px 20px 18px; }
  .ticker { display: none; }
  .section { padding: 44px 20px; }
  .section-bg { padding: 44px 20px; }
  .section-dark { padding: 44px 20px; }
  .section-title { font-size: 24px; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .lipstick-grid { grid-template-columns: 1fr; }
  .looks-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .looks-grid .look-card { min-height: 220px; }
  .look-card.tall { grid-row: span 1; grid-column: span 1; }
  .techniques-layout { grid-template-columns: 1fr; gap: 32px; }
  .techniques-list { grid-template-columns: 1fr; }
  .color-grid { grid-template-columns: 1fr; }
  .small-grid { grid-template-columns: 1fr; }
  .brands-layout { grid-template-columns: repeat(2, 1fr); }
  .stats-panel { padding: 36px 20px; }
  .nl-full { padding: 44px 20px; gap: 32px; }
  .nl-benefits-list { grid-template-columns: 1fr; }
  .nl-full-form { border: none; flex-direction: column; gap: 8px; }
  .nl-full-form input { border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.07); padding: 14px 16px; }
  .nl-full-form button { padding: 14px 16px; width: 100%; }
  .hero-main-meta { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* footer */
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding: 40px 20px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding: 20px; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 14px; }
}

@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .widget-latest-item { grid-template-columns: 56px 1fr; }
  .hero-main-title { font-size: 26px; }
  .brands-layout { grid-template-columns: 1fr 1fr; }
}
