/*
Theme Name: The Largo Ledger
Theme URI: https://wfpx.com
Author: WFPX Communications & Publishing, LLC
Author URI: https://wfpx.com
Description: An elegant, engraved-monogram op-ed publishing theme for Elementor. Built on the WFPX design system — Playfair Display, Source Serif 4, DM Sans; Navy, Gold, Ink, Paper. Includes a full op-ed single-post layout (eyebrow, dek, byline, drop cap, gold pull quote) compatible with the WFPX two-block Elementor workflow.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: largo-ledger
Tags: news, editorial, elementor, opinion, blog
*/

/* ============================================================
   THE LARGO LEDGER — WFPX DESIGN SYSTEM
   Navy #14243E · Gold #C4A24B · Ink #22293A · Paper #FDFCF9
   Playfair Display / Source Serif 4 / DM Sans
   ============================================================ */

:root {
  --ll-navy: #14243E;
  --ll-gold: #C4A24B;
  --ll-gold-deep: #9A7B2E;
  --ll-ink: #22293A;
  --ll-paper: #FDFCF9;
  --ll-rule: #E5E0D3;
  --ll-display: 'Playfair Display', Georgia, serif;
  --ll-serif: 'Source Serif 4', Georgia, serif;
  --ll-sans: 'DM Sans', Helvetica, Arial, sans-serif;
  --ll-measure: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ll-paper);
  color: var(--ll-ink);
  font-family: var(--ll-serif);
  font-size: 19px;
  line-height: 1.65;
}

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

a { color: var(--ll-navy); text-decoration-color: var(--ll-gold); text-underline-offset: 3px; }
a:hover { color: var(--ll-gold-deep); }

:focus-visible { outline: 2px solid var(--ll-gold-deep); outline-offset: 2px; }

/* ---------- Masthead ---------- */

.ll-masthead {
  background: var(--ll-paper);
  border-bottom: 3px double var(--ll-gold);
  text-align: center;
  padding: 34px 20px 22px;
}

.ll-masthead__monogram { width: 128px; margin: 0 auto 14px; display: block; }

.ll-masthead__title {
  font-family: var(--ll-display);
  font-weight: 700;
  font-size: clamp(34px, 6vw, 54px);
  letter-spacing: 0.02em;
  color: var(--ll-navy);
  margin: 0;
  line-height: 1.1;
}
.ll-masthead__title a { color: inherit; text-decoration: none; }

.ll-masthead__tagline {
  font-family: var(--ll-sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ll-gold-deep);
  margin: 10px 0 0;
}

.ll-masthead__rule {
  width: 220px; height: 1px; background: var(--ll-gold);
  margin: 16px auto 0; position: relative;
}
.ll-masthead__rule::after {
  content: "❦";
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -52%);
  background: var(--ll-paper);
  padding: 0 12px;
  color: var(--ll-gold);
  font-size: 14px;
}

/* ---------- Navigation ---------- */

.ll-nav {
  border-bottom: 1px solid var(--ll-rule);
  background: var(--ll-paper);
}
.ll-nav ul {
  list-style: none; margin: 0 auto; padding: 0;
  max-width: 1080px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px;
}
.ll-nav a {
  display: block;
  font-family: var(--ll-sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ll-navy);
  text-decoration: none;
  padding: 14px 18px;
}
.ll-nav a:hover { color: var(--ll-gold-deep); }

/* ---------- Layout ---------- */

.ll-content { max-width: var(--ll-measure); margin: 0 auto; padding: 48px 20px 72px; }
.ll-content--wide { max-width: 1080px; }

/* ---------- Op-ed article (matches WFPX two-block workflow) ---------- */

.wfpx-article, .ll-article { max-width: var(--ll-measure); margin: 0 auto; }

.ll-article .ll-eyebrow, .wfpx-article .wfpx-eyebrow {
  font-family: var(--ll-sans);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ll-gold-deep);
  margin: 0 0 14px;
}

.ll-article h1, .wfpx-article h1 {
  font-family: var(--ll-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.15;
  color: var(--ll-navy);
  margin: 0 0 16px;
}

.ll-article .ll-dek, .wfpx-article .wfpx-dek {
  font-family: var(--ll-serif);
  font-size: 22px;
  line-height: 1.5;
  font-style: italic;
  color: #4A5268;
  margin: 0 0 22px;
}

.ll-article .ll-byline, .wfpx-article .wfpx-byline {
  font-family: var(--ll-sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ll-ink);
  border-top: 1px solid var(--ll-rule);
  border-bottom: 1px solid var(--ll-rule);
  padding: 12px 0;
  margin: 0 0 34px;
}
.ll-byline strong, .wfpx-byline strong { color: var(--ll-navy); }

.ll-article .ll-body > p:first-of-type::first-letter,
.wfpx-article .wfpx-body > p:first-of-type::first-letter {
  font-family: var(--ll-display);
  font-weight: 700;
  font-size: 3.4em;
  line-height: 0.85;
  float: left;
  padding: 6px 10px 0 0;
  color: var(--ll-navy);
}

.ll-article h2, .wfpx-article h2 {
  font-family: var(--ll-display);
  font-weight: 700;
  font-size: 27px;
  color: var(--ll-navy);
  margin: 40px 0 14px;
}

blockquote.ll-pull, blockquote.wfpx-pull {
  border: none;
  border-left: 3px solid var(--ll-gold);
  background: linear-gradient(90deg, rgba(196,162,75,0.08), rgba(196,162,75,0));
  margin: 36px 0;
  padding: 20px 26px;
  font-family: var(--ll-display);
  font-size: 24px;
  line-height: 1.45;
  font-style: italic;
  color: var(--ll-navy);
}
.ll-pull cite, .wfpx-pull cite {
  display: block;
  margin-top: 12px;
  font-family: var(--ll-sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ll-gold-deep);
}

/* ---------- Archive / index cards ---------- */

.ll-card {
  border-bottom: 1px solid var(--ll-rule);
  padding: 34px 0;
}
.ll-card__eyebrow {
  font-family: var(--ll-sans);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ll-gold-deep); margin: 0 0 8px;
}
.ll-card__title {
  font-family: var(--ll-display);
  font-size: 30px; line-height: 1.2; margin: 0 0 10px;
}
.ll-card__title a { color: var(--ll-navy); text-decoration: none; }
.ll-card__title a:hover { color: var(--ll-gold-deep); }
.ll-card__excerpt { margin: 0 0 12px; color: var(--ll-ink); }
.ll-card__meta {
  font-family: var(--ll-sans); font-size: 13px; color: #6A7186;
}

/* ---------- Footer ---------- */

.ll-footer {
  background: var(--ll-navy);
  color: #C9CEDC;
  text-align: center;
  padding: 46px 20px 40px;
  margin-top: 40px;
}
.ll-footer__monogram { width: 72px; margin: 0 auto 16px; opacity: 0.9; display: block; }
.ll-footer__title {
  font-family: var(--ll-display);
  color: var(--ll-paper);
  font-size: 24px;
  margin: 0 0 6px;
}
.ll-footer__meta {
  font-family: var(--ll-sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ll-gold);
  margin: 0 0 18px;
}
.ll-footer__fine {
  font-family: var(--ll-sans);
  font-size: 13px;
  line-height: 1.7;
  color: #9AA2B5;
  max-width: 620px;
  margin: 0 auto;
}
.ll-footer a { color: var(--ll-gold); }

/* ---------- Elementor friendliness ---------- */

.elementor-page .ll-content { max-width: none; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

@media (max-width: 640px) {
  body { font-size: 17px; }
  .ll-content { padding: 32px 16px 56px; }
}
