/*
Theme Name: 61036 Luxe Portal
Theme URI: https://61036.com/
Author: 61036.com
Description: A modern American light-luxury insurance news portal theme. Focused on premium reading experience and article discovery. Does not modify site title or post content.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 61036-luxe-portal
Tags: blog, news, grid-layout, custom-menu, featured-images, accessibility-ready, wide-blocks, responsive-layout
*/

:root{
  --bg: #F7F2E9;               /* ivory */
  --surface: #FFFFFF;
  --text: #0C1720;
  --muted: rgba(12,23,32,.72);
  --line: rgba(22,93,130,.16);
  --primary: #165D82;          /* deep teal-blue */
  --primary-2: #0F3F58;
  --gold: #C6A15B;             /* gold accent */
  --shadow: 0 18px 60px rgba(12,23,32,.12);
  --shadow-soft: 0 10px 40px rgba(12,23,32,.08);
  --shadow-tight: 0 10px 28px rgba(12,23,32,.10);

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;

  --container: 1180px;
  --gutter: 20px;

  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  /* Editorial display for header wordmark only — professional, not decorative */
  --font-brand: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

html[data-theme="dark"]{
  --bg: #07141B;
  --surface: rgba(255,255,255,.06);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(198,161,91,.18);
  --primary: #4EA6C7;
  --primary-2: #165D82;
  --gold: #E2C27A;
  --shadow: 0 18px 70px rgba(0,0,0,.55);
  --shadow-soft: 0 10px 40px rgba(0,0,0,.45);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-sans);
  background: radial-gradient(1200px 600px at 75% -5%, rgba(198,161,91,.22), rgba(198,161,91,0)),
              radial-gradient(1100px 520px at 15% -8%, rgba(22,93,130,.22), rgba(22,93,130,0)),
              var(--bg);
  color: var(--text);
  line-height: 1.65;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a{ color: inherit; text-decoration: none; }
a:hover{ color: var(--primary); }
img{ max-width: 100%; height: auto; display: block; }

::selection{
  background: color-mix(in srgb, var(--gold) 38%, transparent);
}

.lp-container{
  width: min(var(--container), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}

.lp-skip{
  position: absolute;
  left: -9999px;
  top: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  z-index: 9999;
}
.lp-skip:focus{ left: 12px; }

.lp-header{
  position: sticky;
  top: 0;
  z-index: 2000;
  padding: 12px 0;
}
.lp-header.is-compact{ padding: 6px 0; }
.lp-header.is-compact .lp-navShell{
  padding: 8px 10px;
}
.lp-header.is-compact .lp-mark{
  width: 28px;
  height: 28px;
  border-radius: 11px;
}
.lp-header.is-compact .lp-brandWordmark{
  font-size: clamp(0.8125rem, 2.6vw, 0.9375rem);
}
.lp-header.is-compact .lp-btn{
  padding: 9px 12px;
}
.lp-navShell{
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  border-radius: 999px;
  padding: 10px 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.lp-navShell:before{
  content:"";
  position:absolute;
  inset:-1px;
  border-radius: 999px;
  padding: 1px;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--gold) 44%, transparent),
    color-mix(in srgb, var(--primary) 34%, transparent),
    transparent 55%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events:none;
  opacity: .6;
}
.lp-header.is-scrolled .lp-navShell{
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-color: color-mix(in srgb, var(--gold) 35%, var(--line));
  box-shadow: var(--shadow);
}
.lp-brand{
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 0 1 auto;
}
.lp-brandLink{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.lp-mark{
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 12px;
  background:
    radial-gradient(16px 16px at 30% 30%, rgba(255,255,255,.65), rgba(255,255,255,0)),
    linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 10px 22px rgba(22,93,130,.24);
  border: 1px solid color-mix(in srgb, var(--gold) 30%, transparent);
}
.lp-brandWordmark{
  font-family: var(--font-brand);
  font-weight: 600;
  font-style: normal;
  font-size: clamp(0.875rem, 1.05vw, 1rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(42vw, 220px);
}
.lp-brandWordmark--drawer{
  max-width: none;
  font-size: clamp(1.05rem, 3.6vw, 1.25rem);
  letter-spacing: 0.05em;
}
@media (max-width: 520px){
  .lp-brandWordmark{
    max-width: min(58vw, 11.25rem);
    font-size: 0.75rem;
    letter-spacing: 0.045em;
  }
}

.lp-nav{
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
}
.lp-nav a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  color: color-mix(in srgb, var(--text) 86%, transparent);
  font-weight: 620;
  font-size: 13px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
  position: relative;
  white-space: nowrap;
}
.lp-nav a:hover{
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  color: var(--text);
  transform: translateY(-1px);
}
.lp-nav .current-menu-item > a,
.lp-nav .current_page_item > a{
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 34%, transparent);
}
.lp-nav a:after{
  content:"";
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
  opacity: .9;
}
.lp-nav a:hover:after{ transform: scaleX(1); }
.lp-nav .current-menu-item > a:after,
.lp-nav .current_page_item > a:after{ transform: scaleX(1); }

.lp-nav a:focus-visible,
.lp-btn:focus-visible,
.lp-pill:focus-visible,
.lp-card a:focus-visible{
  outline: 3px solid color-mix(in srgb, var(--gold) 60%, transparent);
  outline-offset: 2px;
}

.lp-actions{
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  justify-content: flex-end;
}
.lp-burger{
  display: none;
}
.lp-burgerLabel{
  font-weight: 760;
}
.lp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}
.lp-btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  border-color: color-mix(in srgb, var(--gold) 34%, var(--line));
}
.lp-btnPrimary{
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: rgba(255,255,255,.95);
  border-color: color-mix(in srgb, var(--gold) 28%, transparent);
  box-shadow: 0 18px 44px rgba(22,93,130,.28);
}
.lp-btnPrimary:hover{
  box-shadow: 0 22px 60px rgba(22,93,130,.34);
}

.lp-btnGhost{
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.lp-searchBtnLabel{
  font-weight: 760;
}

@media (max-width: 980px){
  .lp-searchBtnLabel{ display:none; }
}

.lp-main{ padding: 18px 0 70px; }

.lp-hero{
  padding: 30px 0 18px;
}
.lp-heroCard{
  transform: translateY(4px);
  animation: lp-fadeUp 520ms ease both;
}
.lp-heroAside .lp-miniCard{
  animation: lp-fadeUp 560ms ease both;
}
@keyframes lp-fadeUp{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}
.lp-heroGrid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: stretch;
}
.lp-heroCard{
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lp-heroCardInner{
  padding: 44px 38px;
  position: relative;
}
.lp-heroCardInner:before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(800px 400px at 12% 20%, rgba(198,161,91,.18), transparent),
    radial-gradient(900px 500px at 85% 0%, rgba(22,93,130,.22), transparent);
  opacity: .85;
  pointer-events:none;
}
.lp-heroCardInner > *{ position: relative; }
.lp-heroKicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--primary) 80%, var(--text));
}
.lp-heroKicker i{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 18%, transparent);
}
.lp-heroTitle{
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  margin: 14px 0 14px;
  letter-spacing: .12px;
}
.lp-heroSub{
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  font-size: 16px;
}
.lp-heroCTA{
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lp-heroStats{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.lp-stat{
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--line) 86%, transparent);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow-tight);
  padding: 12px 12px;
}
.lp-statNum{
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: .12px;
  font-size: 20px;
  line-height: 1.1;
}
.lp-statLabel{
  margin-top: 6px;
  color: var(--muted);
  font-weight: 760;
  font-size: 12px;
  letter-spacing: .22px;
  text-transform: uppercase;
}
.lp-statAccent{
  border-color: color-mix(in srgb, var(--gold) 28%, var(--line));
  background: radial-gradient(420px 160px at 20% 20%, rgba(198,161,91,.18), transparent),
              radial-gradient(420px 160px at 80% 0%, rgba(22,93,130,.16), transparent),
              color-mix(in srgb, var(--surface) 86%, transparent);
}

.lp-heroBadges{
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 22%, var(--line));
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow-tight);
  color: color-mix(in srgb, var(--text) 88%, transparent);
  font-weight: 760;
  font-size: 13px;
  letter-spacing: .18px;
}
.lp-dot{
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--gold);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--gold) 14%, transparent);
}

.lp-heroAside{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
.lp-miniCard{
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-soft);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  overflow: hidden;
  position: relative;
}
.lp-miniCard:before{
  content:"";
  position:absolute;
  inset:-1px;
  background: radial-gradient(600px 260px at 80% 10%, rgba(22,93,130,.18), transparent),
              radial-gradient(480px 220px at 30% 120%, rgba(198,161,91,.20), transparent);
  opacity: .95;
  pointer-events:none;
}
.lp-miniCard > *{ position: relative; }
.lp-miniTitle{
  font-weight: 820;
  letter-spacing: .2px;
  margin: 0;
  font-size: 16px;
}
.lp-miniText{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.lp-section{
  padding: 26px 0;
}
.lp-section:nth-of-type(odd){
  position: relative;
}
.lp-section:nth-of-type(odd):before{
  content:"";
  position:absolute;
  inset:-18px 0 -18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0), color-mix(in srgb, var(--surface) 50%, transparent), rgba(255,255,255,0));
  pointer-events:none;
  opacity: .75;
}
.lp-section > *{ position: relative; }
.lp-sectionHead{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.lp-sectionHead h2{
  margin: 0;
  font-size: 22px;
  letter-spacing: .2px;
}
.lp-sectionHead p{
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
  font-size: 14px;
}

.lp-pillRow{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  box-shadow: var(--shadow-soft);
  font-weight: 700;
  font-size: 14px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.lp-pill:hover{
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--gold) 36%, var(--line));
}
.lp-icon{
  width: 28px;
  height: 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 80%, #000), var(--primary-2));
  box-shadow: 0 14px 28px rgba(22,93,130,.22);
  border: 1px solid color-mix(in srgb, var(--gold) 26%, transparent);
}

.lp-grid3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Featured layout (lead + two side cards + grid) */
.lp-featuredTop{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.lp-featuredSide{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 520px;
}
.lp-featuredSide .lp-card{
  height: 100%;
}
.lp-featuredSide .lp-cardMedia{
  aspect-ratio: 16/10;
}
.lp-leadCard{
  grid-column: 1 / span 2;
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--gold) 26%, var(--line));
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow);
  overflow:hidden;
  height: 520px;
}
.lp-leadMedia{
  display:block;
  position:relative;
  min-height: 100%;
  height: 100%;
}
.lp-leadMedia img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 420ms ease, filter 420ms ease;
}
.lp-leadOverlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 420px at 18% 18%, rgba(198,161,91,.18), transparent),
    linear-gradient(180deg, rgba(7,20,27,.05) 0%, rgba(7,20,27,.40) 70%, rgba(7,20,27,.66) 100%);
  opacity: .95;
}
.lp-leadMeta{
  position:absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
}
.lp-metaText{
  color: rgba(255,255,255,.86);
  font-weight: 760;
  font-size: 13px;
  letter-spacing: .18px;
}
.lp-metaDot{ color: rgba(255,255,255,.72); }
.lp-leadMeta .lp-tag{
  background: color-mix(in srgb, var(--gold) 22%, rgba(0,0,0,.25));
  border-color: color-mix(in srgb, var(--gold) 38%, rgba(255,255,255,.20));
  color: rgba(255,255,255,.92);
}
.lp-leadBody{
  position:absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}
.lp-leadBody h3{
  margin:0 0 8px;
  font-family: var(--font-serif);
  color: rgba(255,255,255,.95);
  font-size: 26px;
  line-height: 1.12;
  letter-spacing: .16px;
}
.lp-leadBody p{
  margin:0 0 12px;
  color: rgba(255,255,255,.82);
  max-width: 66ch;
}
.lp-leadCard:hover .lp-leadMedia img{
  transform: scale(1.08);
  filter: saturate(1.06) contrast(1.05);
}
.lp-card{
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.lp-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--gold) 28%, var(--line));
}
.lp-cardMedia{
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(22,93,130,.24), rgba(198,161,91,.18));
  position: relative;
}
.lp-cardMedia:after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(7,20,27,0) 40%, rgba(7,20,27,.18) 100%);
  opacity: .8;
  pointer-events:none;
}
.lp-cardMedia img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 260ms ease, filter 260ms ease;
}
.lp-card:hover .lp-cardMedia img{
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.03);
}
.lp-cardBody{
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lp-cardTitle{
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: .2px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lp-cardMeta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}
.lp-tag{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: color-mix(in srgb, var(--text) 90%, transparent);
  font-weight: 700;
  font-size: 12px;
}
.lp-cardExcerpt{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lp-cardFooter{
  margin-top: auto;
  padding-top: 4px;
}

.lp-twoCol{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.lp-panel{
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.lp-footer{
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  background: color-mix(in srgb, var(--surface) 50%, transparent);
}
.lp-footerGrid{
  display: grid;
  grid-template-columns: 1.4fr .6fr .6fr;
  gap: 18px;
}
.lp-footer small{ color: var(--muted); }
.lp-footer h3{ margin: 0 0 10px; font-size: 15px; letter-spacing: .2px; }
.lp-footer a{ color: var(--muted); }
.lp-footer a:hover{ color: var(--primary); }

.lp-backTop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 2500;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.lp-backTop.is-visible{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Toast */
.lp-toast{
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 10px);
  z-index: 2700;
  opacity: 0;
  pointer-events: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, var(--line));
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  font-weight: 760;
  letter-spacing: .2px;
  color: var(--text);
  transition: opacity 160ms ease, transform 160ms ease;
}
.lp-toast.is-visible{
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Post layout */
.lp-contentGrid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: start;
}
.lp-prose{
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  padding: 22px 22px;
}
.lp-prose h1{
  font-family: var(--font-serif);
  margin: 0 0 8px;
  line-height: 1.12;
  letter-spacing: .2px;
}
.lp-prose .lp-postMeta{
  color: var(--muted);
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.lp-prose .entry-content{
  font-size: 17px;
  line-height: 1.9;
}
.lp-prose .entry-content p{ margin: 0 0 1.05em; }
.lp-prose .entry-content a{
  color: color-mix(in srgb, var(--primary) 86%, var(--text));
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.lp-prose .entry-content a:hover{
  color: var(--primary-2);
}
.lp-prose .entry-content blockquote{
  margin: 1.2em 0;
  padding: 14px 16px;
  border-left: 4px solid color-mix(in srgb, var(--gold) 60%, var(--primary));
  background: color-mix(in srgb, var(--gold) 8%, transparent);
  border-radius: 14px;
  color: color-mix(in srgb, var(--text) 90%, transparent);
}
.lp-prose .entry-content ul,
.lp-prose .entry-content ol{
  padding-left: 1.2em;
  margin: 0 0 1.05em;
}
.lp-prose .entry-content li{ margin: .35em 0; }
.lp-prose .entry-content hr{
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 1.6em 0;
}
.lp-prose .entry-content pre,
.lp-prose .entry-content code{
  font-family: var(--font-mono);
}
.lp-prose .entry-content pre{
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, rgba(22,93,130,.04));
  overflow: auto;
  box-shadow: var(--shadow-tight);
}
.lp-prose .entry-content code{
  padding: 2px 6px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 18%, var(--line));
}
.lp-prose .entry-content h2,
.lp-prose .entry-content h3{
  scroll-margin-top: 92px;
  line-height: 1.2;
  margin-top: 1.35em;
}
.lp-prose .entry-content h2{
  font-family: var(--font-serif);
  letter-spacing: .2px;
}
.lp-toc{
  position: sticky;
  top: 92px;
}
.lp-toc .lp-panel{ padding: 14px 14px; }
.lp-toc h3{ margin: 0 0 10px; font-size: 14px; }
.lp-toc a{
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid transparent;
}
.lp-toc a:hover{
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border-color: color-mix(in srgb, var(--primary) 14%, transparent);
}
.lp-toc a.is-active{
  color: var(--text);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
  border-color: color-mix(in srgb, var(--gold) 28%, var(--line));
}
.lp-related .lp-grid3{ margin-top: 10px; }

/* Archive */
.lp-archiveHead{
  margin: 6px 0 14px;
}
.lp-archiveHead h1{
  margin: 0;
  font-family: var(--font-serif);
  letter-spacing: .2px;
}
.lp-archiveHead p{ margin: 8px 0 0; color: var(--muted); }

/* Filter bar */
.lp-filterBar{
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-soft);
  padding: 12px 12px;
  margin: 0 0 16px;
}
.lp-filterRow{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}
.lp-filterRow + .lp-filterRow{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.lp-filterLabel{
  font-weight: 860;
  letter-spacing: .2px;
  color: color-mix(in srgb, var(--text) 86%, transparent);
  font-size: 13px;
  text-transform: uppercase;
}
.lp-filterPills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.lp-filterPill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-tight);
  font-weight: 760;
  font-size: 13px;
  letter-spacing: .2px;
}
.lp-filterPill:hover{
  border-color: color-mix(in srgb, var(--gold) 30%, var(--line));
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

/* Pagination */
.lp-pagination{
  display:flex;
  justify-content:center;
}
.lp-paginationInner{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-soft);
}
.lp-paginationInner a,
.lp-paginationInner span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: color-mix(in srgb, var(--text) 86%, transparent);
  font-weight: 820;
  letter-spacing: .2px;
}
.lp-paginationInner a:hover{
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border-color: color-mix(in srgb, var(--primary) 18%, transparent);
}
.lp-paginationInner .current{
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  border-color: color-mix(in srgb, var(--gold) 34%, transparent);
  color: var(--text);
}

/* Reading console */
.lp-readConsole{ padding: 12px 12px; }
.lp-progress{
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 80%, rgba(22,93,130,.08));
  border: 1px solid var(--line);
  overflow:hidden;
  box-shadow: var(--shadow-tight);
}
.lp-progress span{
  display:block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--primary) 72%, var(--gold)));
  border-radius: 999px;
  transition: width 120ms ease;
}
.lp-consoleRow{
  display:flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.lp-consoleTitle{
  font-weight: 900;
  letter-spacing: .22px;
  text-transform: uppercase;
  font-size: 12px;
  color: color-mix(in srgb, var(--text) 86%, transparent);
}
.lp-consoleMeta{
  font-weight: 820;
  font-size: 12px;
  color: var(--muted);
}

/* Breadcrumbs */
.lp-bc{ margin: 0 0 10px; }
.lp-bcList{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .2px;
}
.lp-bcItem{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.lp-bcItem + .lp-bcItem:before{
  content: "›";
  color: color-mix(in srgb, var(--muted) 85%, transparent);
}
.lp-bc a{
  color: var(--muted);
  text-decoration: none;
}
.lp-bc a:hover{ color: var(--primary); }

/* Responsive */
@media (max-width: 980px){
  .lp-heroGrid{ grid-template-columns: 1fr; }
  .lp-heroAside{ grid-template-rows: auto; grid-template-columns: 1fr 1fr; }
  .lp-contentGrid{ grid-template-columns: 1fr; }
  .lp-toc{ position: relative; top: auto; }
  .lp-twoCol{ grid-template-columns: 1fr; }
  .lp-footerGrid{ grid-template-columns: 1fr; }
  .lp-featuredTop{ grid-template-columns: 1fr; }
  .lp-featuredSide{ grid-template-rows: auto; }
  .lp-leadCard{ grid-column: auto; }
  .lp-leadBody h3{ font-size: 22px; }
  .lp-filterRow{ grid-template-columns: 1fr; }
  .lp-leadCard{ height: 360px; }
  .lp-featuredSide{ height: auto; }
  .lp-heroStats{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Earlier collapse for dense desktop nav */
@media (max-width: 1320px){
  .lp-nav{ display:none !important; }
  .lp-burger{ display:inline-flex; }
  .lp-actions{ gap: 8px; }
}

@media (max-width: 760px){
  .lp-nav{ display: none; }
  .lp-burger{ display: inline-flex; }
  .lp-brand{ min-width: auto; }
  .lp-actions{ min-width: auto; }
  .lp-grid3{ grid-template-columns: 1fr; }
  .lp-heroCardInner{ padding: 34px 22px; }
  .lp-heroAside{ grid-template-columns: 1fr; }
}

/* Mobile nav drawer */
body.lp-navOpen{ overflow: hidden; }
.lp-mobileNav{
  position: fixed;
  inset: 0;
  z-index: 2600;
  background: rgba(7, 20, 27, .42);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 160ms ease;
}
.lp-mobileNav.is-open{ opacity: 1; }
.lp-mobileNavInner{
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--gold) 26%, var(--line));
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  padding: 14px;
  transform: translateY(-6px);
  transition: transform 160ms ease;
}
.lp-mobileNav.is-open .lp-mobileNavInner{ transform: translateY(0); }
.lp-mobileNavHead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid var(--line);
}
.lp-mobileNavTitle{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.lp-mobileNavTitle strong{ font-weight: 860; letter-spacing: .2px; }
.lp-mobileNavTitle span{ color: var(--muted); font-size: 12px; }
.lp-mobileLinks{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 12px 2px 6px;
}
.lp-mobileLinks a{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  font-weight: 760;
  letter-spacing: .2px;
}
.lp-mobileLinks a:hover{
  border-color: color-mix(in srgb, var(--gold) 30%, var(--line));
  box-shadow: var(--shadow-soft);
}
.lp-mobileActions{
  display: flex;
  gap: 10px;
  padding: 10px 2px 2px;
  flex-wrap: wrap;
}

/* Search panel */
.lp-searchPanel{
  position: fixed;
  inset: 0;
  z-index: 2650;
  background: rgba(7, 20, 27, .42);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 160ms ease;
}
.lp-searchPanel.is-open{ opacity: 1; }
.lp-searchPanelInner{
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  max-width: 720px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  border: 1px solid color-mix(in srgb, var(--gold) 26%, var(--line));
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow);
  padding: 14px;
  transform: translateY(-6px);
  transition: transform 160ms ease;
}
.lp-searchPanel.is-open .lp-searchPanelInner{ transform: translateY(0); }
.lp-searchPanelHead{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 10px;
  border-bottom: 1px solid var(--line);
}
.lp-searchPanelTitle{
  display:flex;
  flex-direction: column;
  line-height: 1.15;
}
.lp-searchPanelTitle strong{ font-weight: 880; letter-spacing: .2px; }
.lp-searchPanelTitle span{ color: var(--muted); font-size: 12px; }
.lp-searchPanelBody{ padding: 12px 2px 2px; }

/* WordPress basics */
.screen-reader-text{
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus{
  clip: auto !important;
  clip-path: none;
  display: block;
  height: auto;
  left: 10px;
  top: 10px;
  width: auto;
  z-index: 100000;
  background: var(--surface);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

