/*
Theme Name: FansWardrobe
Theme URI: https://fanswardrobe.com
Author: FansWardrobe Studio
Author URI: https://fanswardrobe.com
Description: A lightweight editorial WordPress theme for the wardrobe, beauty, accessories, and favorite things of fan-favorite stars.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: publica
*/

@import url("https://fonts.googleapis.com/css2?family=UnifrakturCook:wght@700&display=swap");

:root {
  --paper: #faf9f6;
  --ink: #1d1a18;
  --muted: #736e69;
  --soft: #a9a39c;
  --line: #dfdcd7;
  --accent: #dc4b39;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --max: 1184px;
}
.dark-mode {
  --paper: #191715;
  --ink: #f4f1ec;
  --muted: #b8b0a8;
  --soft: #8b837c;
  --line: #3a3632;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 13px; line-height: 1.45; margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
button, input { font: inherit; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }
.container { margin: 0 auto; width: min(calc(100% - 48px), var(--max)); }

/* Reference header */
.site-header { background: var(--paper); }
.header-top { height: 55px; }
.header-top .container { align-items: center; display: flex; justify-content: space-between; height: 100%; }
.header-actions, .header-tools { align-items: center; display: flex; gap: 22px; }
.menu-link, .search-link { align-items: center; background: none; border: 0; display: inline-flex; font-size: 13px; font-weight: 700; gap: 8px; padding: 0; }
.search-link { font-size: 0; }
.menu-icon { display: inline-block; height: 11px; position: relative; width: 14px; }
.menu-icon:before, .menu-icon:after, .menu-icon { border-top: 1.5px solid var(--ink); }
.menu-icon:before, .menu-icon:after { content: ""; left: 0; position: absolute; width: 14px; }
.menu-icon:before { top: 3px; }.menu-icon:after { top: 7px; }
.search-icon { border: 1.5px solid var(--ink); border-radius: 50%; display: inline-block; height: 11px; position: relative; width: 11px; }
.search-icon:after { background: var(--ink); bottom: -4px; content: ""; height: 1.5px; position: absolute; right: -3px; transform: rotate(48deg); width: 5px; }
.mode-toggle { border: 1px solid var(--line); border-radius: 18px; height: 27px; padding: 2px; width: 45px; }
.mode-toggle:before { border: 1px solid var(--line); border-radius: 50%; content: "☼"; display: grid; font-size: 12px; height: 21px; place-items: center; width: 21px; }
.subscribe { background: var(--ink); border-radius: 20px; color: #fff; font-size: 12px; font-weight: 700; padding: 9px 16px; }
.brand-row { align-items: center; border-bottom: 1px solid var(--line); display: flex; height: 114px; justify-content: center; }
.brand { font-family: "UnifrakturCook", Georgia, var(--serif); font-size: 52px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.brand .custom-logo { max-height: 58px; width: auto; }
.main-nav { border-bottom: 1px solid var(--line); }
.main-nav .container { align-items: center; display: flex; height: 50px; justify-content: space-between; }
.main-nav ul { align-items: center; display: flex; gap: 29px; list-style: none; margin: 0 auto; padding: 0; }
.main-nav a { font-size: 12px; font-weight: 700; }
.main-nav .current-menu-item a, .main-nav a:hover { color: var(--accent); }
.nav-date, .nav-latest { color: var(--muted); font-size: 12px; white-space: nowrap; }
.nav-latest { color: var(--ink); font-weight: 700; }
.menu-toggle { display: none; }

/* Shared editorial primitives */
.eyebrow { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.page-intro { padding: 50px 0 28px; }
.page-title, .entry-title, h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: -.05em; line-height: .98; }
.page-title { font-size: clamp(52px, 6vw, 72px); margin: 8px 0 14px; }
.page-description, .dek { color: var(--muted); font-size: 17px; line-height: 1.35; margin: 0; max-width: 760px; }
.story-image { aspect-ratio: 1.58; border-radius: 7px; object-fit: cover; width: 100%; }
.story-image--empty { background: linear-gradient(135deg, #e8e4de, #c8c1b8); }
.story-meta { color: var(--muted); font-size: 11px; margin-top: 10px; }
.story-meta a { color: var(--accent); }
.story-card h2 { font-size: 22px; margin: 8px 0 5px; }
.story-card p { color: var(--muted); font-size: 13px; line-height: 1.35; margin: 0; }

/* Home: large feature + stream + most read */
.home-grid { display: grid; gap: 38px; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .95fr) minmax(240px, .78fr); padding-top: 32px; }
.home-feature { border-right: 1px solid var(--line); padding-right: 32px; }
.home-feature h1 { font-size: clamp(45px, 4.2vw, 62px); margin: 10px 0 12px; }
.home-feature .dek { max-width: 620px; }
.home-feature .story-image { aspect-ratio: 1.52; margin-top: 18px; }
.home-feature .story-meta { border-top: 1px solid var(--line); padding-top: 10px; }
.home-stream { border-right: 1px solid var(--line); padding-right: 38px; }
.stream-card { border-bottom: 1px solid var(--line); padding: 0 0 17px; margin-bottom: 17px; }
.stream-card:last-child { margin-bottom: 0; }
.stream-card h2 { font-size: 18px; margin: 7px 0; }
.stream-card p { color: var(--muted); font-size: 15px; line-height: 1.32; margin: 0; }
.stream-card .story-meta { font-size: 11px; }
.most-read h2 { font-size: 19px; margin: 0 0 24px; }
.read-item { border-bottom: 1px solid var(--line); display: grid; gap: 13px; grid-template-columns: 34px 1fr; padding: 0 0 18px; margin-bottom: 18px; }
.read-number { color: var(--muted); font-family: var(--serif); font-size: 23px; font-weight: 700; }
.read-item h3 { font-size: 17px; margin: 0 0 6px; }
.read-meta { color: var(--muted); font-size: 11px; }.read-meta strong { color: var(--accent); }
.home-sections { border-top: 1px solid var(--line); margin-top: 32px; padding-top: 30px; }
.category-section { border-bottom: 1px solid var(--line); margin-bottom: 34px; padding-bottom: 34px; }
.category-section__heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 18px; }
.category-section__heading h2 { font-size: 35px; margin: 6px 0 0; }
.category-section__heading h2 sup { color: var(--muted); font-family: var(--sans); font-size: 12px; letter-spacing: 0; margin-left: 6px; vertical-align: top; }
.category-section__heading > a { color: var(--muted); font-size: 12px; }
.category-section .story-grid { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.more-desk { border-top: 1px solid var(--line); margin-top: 35px; padding-top: 30px; }
.more-desk .story-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }

/* Archive/category */
.category-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 9px; padding-bottom: 38px; }
.category-tabs a { border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: 12px; padding: 6px 13px; }
.category-tabs .active, .category-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.archive-layout { display: grid; gap: 38px; grid-template-columns: minmax(0, 1fr) 295px; padding-top: 38px; }
.archive-feature h1 { font-size: clamp(42px, 5vw, 56px); margin: 17px 0 10px; max-width: 900px; }
.archive-feature .story-image { aspect-ratio: 1.82; margin-top: 19px; }
.archive-feature .dek { max-width: 780px; }
.archive-aside { border-left: 1px solid var(--line); padding-left: 28px; }
.archive-aside h2 { font-size: 19px; margin: 0 0 22px; }
.aside-card { border-bottom: 1px solid var(--line); display: grid; gap: 13px; grid-template-columns: 80px 1fr; padding: 0 0 16px; margin-bottom: 16px; }
.aside-card img, .aside-card .story-image { aspect-ratio: 1; border-radius: 6px; object-fit: cover; width: 80px; }
.aside-card h3 { font-size: 16px; margin: 0 0 6px; }.aside-card span { color: var(--muted); font-size: 11px; }
.archive-grid { border-top: 1px solid var(--line); display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); margin-top: 38px; padding-top: 28px; }
.pagination { display: flex; gap: 8px; margin-top: 32px; }.pagination .page-numbers { border: 1px solid var(--line); border-radius: 50%; color: var(--muted); display: grid; font-size: 11px; height: 32px; place-items: center; width: 32px; }.pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Newsletter/footer */
.newsletter { align-items: center; border: 1px solid var(--line); border-radius: 7px; display: flex; justify-content: space-between; margin: 54px 0; padding: 26px 30px; }
.newsletter h2 { font-size: 27px; margin: 5px 0; }.newsletter p { color: var(--muted); font-size: 12px; margin: 0; }
.newsletter form { display: flex; gap: 8px; }.newsletter input { background: transparent; border: 1px solid var(--line); border-radius: 20px; padding: 10px 14px; width: 220px; }.newsletter button { background: var(--ink); border: 0; border-radius: 20px; color: #fff; cursor: pointer; padding: 0 16px; }
.site-footer { border-top: 1px solid var(--line); margin-top: 76px; padding: 46px 0 20px; }.footer-grid { display: grid; gap: 70px; grid-template-columns: 2fr 1fr 1fr; }.footer-grid .brand { font-size: 25px; }.footer-grid h3 { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; margin: 0 0 16px; text-transform: uppercase; }.footer-grid p, .footer-grid a { color: var(--muted); font-size: 11px; }.footer-grid ul { list-style: none; margin: 0; padding: 0; }.footer-grid li { margin-bottom: 7px; }.footer-bottom { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 10px; justify-content: space-between; margin-top: 35px; padding-top: 13px; }

/* Article/page/search */
.article-header { margin: 48px auto 30px; max-width: 760px; text-align: center; }.article-header .entry-title { font-size: clamp(45px, 5vw, 64px); margin: 10px 0 14px; }.article-header .dek { margin: auto; }.byline { align-items: center; display: inline-flex; gap: 10px; margin-top: 22px; }.avatar { align-items: center; background: #dedbd5; border-radius: 50%; display: inline-flex; font-size: 11px; height: 28px; justify-content: center; width: 28px; }.byline small { color: var(--muted); line-height: 1.4; text-align: left; }
.article-hero { margin: 0 0 32px; }.article-hero img, .article-hero .story-image { aspect-ratio: 2.15; border-radius: 7px; object-fit: cover; width: 100%; }.caption { color: var(--muted); font-size: 10px; margin-top: 8px; }
.article-layout { display: grid; gap: 55px; grid-template-columns: 150px minmax(0, 650px) 1fr; justify-content: center; }.share { color: var(--muted); font-size: 11px; position: sticky; top: 30px; }.share a { display: block; margin-top: 12px; }.entry-content { font-family: var(--serif); font-size: 17px; line-height: 1.58; }.entry-content p { margin: 0 0 20px; }.entry-content p:first-child::first-letter { color: var(--accent); float: left; font-size: 60px; line-height: .7; padding: 10px 6px 0 0; }.entry-content h2 { font-size: 27px; margin: 36px 0 9px; }.entry-content blockquote { border-left: 3px solid var(--accent); font-size: 22px; margin: 30px 0; padding: 3px 0 3px 20px; }.post-footer { border-top: 1px solid var(--line); margin-top: 38px; padding-top: 14px; }.tag-links a { border: 1px solid var(--line); border-radius: 16px; color: var(--muted); font-family: var(--sans); font-size: 10px; margin-right: 5px; padding: 5px 9px; }.article-nav { border-top: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: 1fr 1fr; margin-top: 22px; padding-top: 17px; }.article-nav a { color: var(--muted); font-family: var(--sans); font-size: 11px; }.article-nav strong { color: var(--ink); display: block; font-family: var(--serif); font-size: 17px; line-height: 1.05; margin-top: 5px; }.article-nav .next { text-align: right; }.related { border-top: 1px solid var(--line); margin-top: 60px; padding-top: 22px; }.related h2 { font-size: 23px; margin: 0 0 17px; }.related .story-grid { display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }.related .story-card h3 { font-size: 16px; margin: 8px 0 4px; }.related .story-card p { color: var(--muted); font-size: 11px; }
.page-content { font-family: var(--serif); font-size: 18px; line-height: 1.58; margin: 35px auto; max-width: 720px; }.page-content h2, .page-content h3 { margin-top: 34px; }.page-content img { border-radius: 7px; margin: 25px 0; }.not-found { min-height: 48vh; padding: 100px 0; text-align: center; }.not-found .page-title { margin-bottom: 18px; }.search-form { display: flex; margin-top: 24px; max-width: 440px; }.search-form input { background: transparent; border: 1px solid var(--line); border-radius: 21px 0 0 21px; flex: 1; padding: 11px 15px; }.search-form button { background: var(--ink); border: 0; border-radius: 0 21px 21px 0; color: #fff; padding: 0 18px; }

/* Full-screen mobile menu */
.menu-panel { background: var(--paper); inset: 0; opacity: 0; padding: 22px 20px; pointer-events: none; position: fixed; transform: translateY(-10px); transition: .25s ease; visibility: hidden; z-index: 20; }.menu-panel.is-open { opacity: 1; pointer-events: auto; transform: none; visibility: visible; }.menu-panel__top { align-items: center; display: flex; justify-content: space-between; }.menu-close { background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; height: 38px; width: 38px; }.mobile-search { border: 1px solid var(--line); border-radius: 24px; margin: 35px 0; padding: 13px 16px; width: 100%; }.mobile-section-title { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; margin-bottom: 17px; text-transform: uppercase; }.mobile-menu ul { list-style: none; margin: 0; padding: 0; }.mobile-menu li { border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 27px; padding: 12px 0; }

@media (max-width: 900px) {
  .home-grid { gap: 28px; grid-template-columns: 1.5fr 1fr; }.home-feature { grid-row: span 2; }.most-read { grid-column: 2; }.category-section .story-grid { grid-template-columns: repeat(2, 1fr); }.archive-layout { grid-template-columns: 1fr 250px; }.article-layout { grid-template-columns: 85px minmax(0, 650px); }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 32px); }.header-top { height: 54px; }.header-tools .mode-toggle { display: none; }.header-actions { gap: 16px; }.menu-link { font-size: 0; }.brand-row { border-bottom: 0; height: 64px; justify-content: flex-start; }.brand { font-size: 31px; }.brand .custom-logo { max-height: 36px; }.main-nav { display: none; }.menu-toggle { display: inline-block; }
  .page-intro { padding: 32px 0 22px; }.page-title { font-size: 44px; }.page-description, .dek { font-size: 15px; }
  .home-grid { display: block; padding-top: 10px; }.home-feature { border-right: 0; padding-right: 0; }.home-feature h1 { font-size: 40px; }.home-feature .story-image { aspect-ratio: 1.4; }.home-stream { border-right: 0; padding-right: 0; padding-top: 28px; }.most-read { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 25px; }.category-section .story-grid, .more-desk .story-grid, .related .story-grid { gap: 16px 12px; grid-template-columns: repeat(2, 1fr); }.story-card h2 { font-size: 18px; }.story-card p { font-size: 11px; }.newsletter { align-items: flex-start; display: block; margin: 40px 0; padding: 21px; }.newsletter form { margin-top: 17px; }.newsletter input { min-width: 0; width: 100%; }.newsletter button { padding: 0 13px; }.footer-grid { gap: 25px; grid-template-columns: 1.4fr 1fr; }.footer-grid > :first-child { grid-column: 1 / -1; }.footer-bottom { display: block; }.footer-bottom span { display: block; margin-top: 7px; }
  .category-tabs { gap: 6px; overflow-x: auto; padding-bottom: 22px; white-space: nowrap; }.archive-layout { display: block; padding-top: 25px; }.archive-aside { border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; padding: 25px 0 0; }.archive-grid { grid-template-columns: repeat(2, 1fr); }.archive-feature h1 { font-size: 38px; }.archive-feature .story-image { aspect-ratio: 1.4; }
  .article-header { margin: 32px auto 23px; }.article-header .entry-title { font-size: 39px; }.article-hero img, .article-hero .story-image { aspect-ratio: 1.35; }.article-layout { display: block; }.share { display: flex; gap: 17px; margin-bottom: 23px; position: static; }.share a { margin: 0; }.entry-content { font-size: 16px; }.article-nav { grid-template-columns: 1fr; }.article-nav .next { text-align: left; }
}