/*
Theme Name: Love Fashion Daily
Theme URI: https://www.lovefashiondaily.com/
Description: Editorial fashion magazine layout for Love Fashion Daily.
Author: Love Fashion Daily
Version: 1.0.0
Text Domain: lovefashiondaily
*/

:root {
  --paper: #f6f1ea;
  --ink: #1b1412;
  --muted: #6e615b;
  --line: #e3d8cc;
  --wine: #8d3140;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3, .mark-name, .sheet h1, .page-title {
  font-family: Fraunces, Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto;
}

.mast {
  padding: 1.4rem 0 0;
  text-align: center;
}

.mast-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.today,
.find {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.today { justify-self: start; }

.find {
  justify-self: end;
  display: flex;
  border-bottom: 1px solid var(--ink);
}

.find input {
  width: 9.5rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 0.2rem 0.4rem 0.2rem 0;
}

.find input:focus { outline: none; }

.find button {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}

.mark { text-decoration: none; }

.mark-name {
  display: block;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 500;
}

.mark-name em {
  font-style: italic;
  font-weight: 500;
}

.tagline {
  margin: 0.35rem 0 0;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.3rem;
  margin-top: 1.1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.nav a {
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav a[aria-current="page"] { color: var(--wine); }

.home { padding: 2.2rem 0 3rem; }

.lead {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr;
  gap: 2rem;
  align-items: end;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--line);
}

.lead img,
.frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #efe6dc;
}

.kicker {
  margin: 0 0 0.7rem;
  color: var(--wine);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead h1 {
  margin: 0 0 0.8rem;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
}

.lead h1 a,
.card h2 a,
.row h2 a { text-decoration: none; }

.lead p,
.deck {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 2rem 0 1rem;
}

.section-label h2 {
  margin: 0;
  font-size: 1.7rem;
}

.section-label a {
  color: var(--wine);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card img,
.card .frame {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin-bottom: 0.8rem;
  background: #efe6dc;
}

.card h2 {
  margin: 0;
  font-size: 1.45rem;
}

.rows { border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.row img,
.row .frame {
  width: 148px;
  height: 110px;
  object-fit: cover;
  background: #efe6dc;
}

.row h2 {
  margin: 0.15rem 0 0;
  font-size: 1.45rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem 1.3rem;
  padding-bottom: 2rem;
}

.pager {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0 2.5rem;
}

.pager a {
  color: var(--wine);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-decoration: none;
}

.sheet,
.page-sheet {
  width: min(740px, calc(100% - 2.4rem));
  margin: 2.2rem auto 3rem;
}

.sheet h1,
.page-title {
  margin: 0 0 1.1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.hero-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  margin-bottom: 1.3rem;
  background: #efe6dc;
}

.prose { font-size: 1.12rem; line-height: 1.75; }

.prose h2,
.prose h3 {
  margin: 1.8rem 0 0.6rem;
  font-size: 1.7rem;
}

.prose p { margin: 0 0 1rem; }

.prose a { color: var(--wine); }

.prose ul,
.prose ol { padding-left: 1.2rem; }

.prose img { margin: 1rem 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1rem 0 1.4rem;
}

.prose th,
.prose td {
  border-bottom: 1px solid var(--line);
  text-align: left;
  padding: 0.45rem 0.4rem;
}

.more {
  width: min(var(--max), calc(100% - 2.4rem));
  margin: 0 auto 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

.more h2 { margin: 0 0 1rem; font-size: 1.6rem; }

.foot {
  border-top: 1px solid var(--ink);
  padding: 1.6rem 0 2rem;
}

.foot-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.foot strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.foot p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  justify-content: flex-end;
}

.foot nav a {
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

@media (max-width: 800px) {
  .mast-top,
  .lead,
  .trio,
  .grid,
  .foot-row,
  .row {
    grid-template-columns: 1fr;
  }

  .today { display: none; }

  .find { justify-self: center; }

  .mast-top { justify-items: center; }

  .row img,
  .row .frame { width: 100%; height: auto; aspect-ratio: 16 / 9; }

  .foot nav { justify-content: flex-start; }
}
