/* ==========================================================================
   Lokmantra Editorial Theme Stylesheet
   Default Palette:
     Aubergine:    #312335
     Royal Purple: #5b2655
     Rose:         #f2d0c4
     Off-White:    #ebe7e0
   ========================================================================== */

:root {
  --lm-aubergine: #312335;
  --lm-royal-purple: #5b2655;
  --lm-rose: #f2d0c4;
  --lm-off-white: #ebe7e0;
  --lm-photo-filter: grayscale(100%) contrast(1.06);

  --lm-bg: var(--lm-off-white);
  --lm-surface: color-mix(in srgb, var(--lm-off-white) 76%, #ffffff);
  --lm-surface-rose: color-mix(in srgb, var(--lm-rose) 38%, var(--lm-off-white));
  --lm-ink: var(--lm-aubergine);
  --lm-ink-muted: color-mix(in srgb, var(--lm-aubergine) 68%, transparent);
  --lm-border: color-mix(in srgb, var(--lm-aubergine) 16%, transparent);
  --lm-border-strong: color-mix(in srgb, var(--lm-aubergine) 28%, transparent);

  --lm-font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --lm-font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --lm-radius-sm: 10px;
  --lm-radius-md: 16px;
  --lm-radius-lg: 22px;
  --lm-radius-pill: 999px;
  --lm-container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  background-color: var(--lm-bg);
  color: var(--lm-ink);
  font-family: var(--lm-font-sans);
  font-size: 15px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

a:hover {
  color: var(--lm-royal-purple);
}

.lm-container {
  width: 100%;
  max-width: var(--lm-container);
  margin-inline: auto;
  padding-inline: 24px;
}

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

/* Editorial Photo Treatment */
.lm-photo {
  width: 100%;
  object-fit: cover;
  border-radius: var(--lm-radius-md);
  filter: var(--lm-photo-filter);
  background-color: var(--lm-surface-rose);
  transition: filter 0.3s ease, transform 0.35s ease;
}

.lm-card:hover .lm-photo {
  transform: scale(1.015);
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.lm-topbar {
  border-bottom: 1px solid var(--lm-border);
  padding-block: 14px;
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: color-mix(in srgb, var(--lm-bg) 92%, transparent);
  backdrop-filter: blur(10px);
}

.lm-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lm-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 0;
}

.lm-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--lm-radius-pill);
  border: 1px solid var(--lm-border);
  background: transparent;
  color: var(--lm-ink);
  cursor: pointer;
}

.lm-menu-toggle:hover {
  border-color: var(--lm-royal-purple);
  color: var(--lm-royal-purple);
}

.lm-search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-pill);
  padding: 6px 12px;
  max-width: 220px;
  width: 100%;
}

.lm-search-pill input {
  border: 0;
  background: transparent;
  color: var(--lm-ink);
  font-family: inherit;
  font-size: 13px;
  width: 100%;
  outline: none;
}

.lm-search-pill input::placeholder {
  color: var(--lm-ink-muted);
}

.lm-search-pill button {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--lm-ink-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.lm-nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 2 1 auto;
}

.lm-nav-list {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.lm-nav-list a {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--lm-radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--lm-ink-muted);
}

.lm-nav-list a:hover {
  color: var(--lm-ink);
  background: color-mix(in srgb, var(--lm-rose) 45%, transparent);
}

.lm-nav-list .current-menu-item > a,
.lm-nav-list .lm-nav-active > a {
  background: var(--lm-aubergine);
  color: var(--lm-off-white);
}

.lm-topbar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: 1 1 0;
}

.lm-login-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--lm-ink);
}

.lm-btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--lm-radius-pill);
  background: var(--lm-aubergine);
  color: var(--lm-off-white);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--lm-aubergine);
  cursor: pointer;
}

.lm-btn-pill:hover {
  background: var(--lm-royal-purple);
  border-color: var(--lm-royal-purple);
  color: var(--lm-off-white);
}

/* Mobile Slide Drawer */
.lm-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--lm-aubergine) 45%, transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lm-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lm-drawer-panel {
  width: min(320px, 86vw);
  height: 100%;
  background: var(--lm-bg);
  padding: 24px;
  border-right: 1px solid var(--lm-border);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lm-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--lm-border);
  padding-bottom: 12px;
}

.lm-drawer-title {
  font-family: var(--lm-font-serif);
  font-size: 20px;
  font-weight: 700;
}

.lm-drawer-close {
  border: 1px solid var(--lm-border);
  background: transparent;
  color: var(--lm-ink);
  width: 34px;
  height: 34px;
  border-radius: var(--lm-radius-pill);
  cursor: pointer;
}

.lm-drawer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lm-drawer-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--lm-radius-sm);
  font-weight: 600;
}

.lm-drawer-nav a:hover {
  background: var(--lm-surface-rose);
}

/* ==========================================================================
   Masthead & Hero Collage Section
   ========================================================================== */
.lm-masthead {
  padding-top: 26px;
  padding-bottom: 18px;
}

.lm-masthead-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.lm-masthead-date {
  font-size: 13px;
}

.lm-masthead-date strong {
  display: block;
  font-weight: 700;
}

.lm-masthead-date span {
  color: var(--lm-ink-muted);
  font-size: 12px;
}

.lm-masthead-title {
  margin: 0;
  font-family: var(--lm-font-serif);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-align: center;
}

.lm-masthead-badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-md);
  padding: 8px 14px;
  font-size: 12px;
}

.lm-masthead-badge-dot {
  width: 28px;
  height: 28px;
  border-radius: var(--lm-radius-pill);
  background: var(--lm-rose);
  color: var(--lm-aubergine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Hero Grid */
.lm-hero {
  padding-bottom: 42px;
}

.lm-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr 1fr;
  gap: 28px;
  align-items: center;
  position: relative;
}

.lm-hero-lead {
  align-self: end;
  padding-bottom: 12px;
}

.lm-hero-lead-title {
  font-family: var(--lm-font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.lm-hero-lead-excerpt {
  margin: 0;
  color: var(--lm-ink-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Bento Collage */
.lm-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 96px 110px 96px;
  gap: 10px;
  padding: 16px;
}

.lm-collage-tile {
  position: relative;
  overflow: hidden;
  border-radius: var(--lm-radius-md);
  border: 2px solid var(--lm-bg);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--lm-aubergine) 12%, transparent);
}

.lm-collage-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--lm-photo-filter);
}

.lm-collage-tile--1 {
  grid-column: 2 / 6;
  grid-row: 1 / 3;
  margin-top: 18px;
}

.lm-collage-tile--2 {
  grid-column: 5 / 9;
  grid-row: 1 / 2;
  z-index: 2;
}

.lm-collage-tile--3 {
  grid-column: 8 / 12;
  grid-row: 1 / 2;
  margin-top: 12px;
}

.lm-collage-tile--4 {
  grid-column: 4 / 9;
  grid-row: 2 / 4;
  z-index: 3;
}

.lm-collage-tile--5 {
  grid-column: 9 / 13;
  grid-row: 2 / 4;
  margin-bottom: 18px;
}

.lm-collage-overlay {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: color-mix(in srgb, var(--lm-aubergine) 86%, transparent);
  color: var(--lm-off-white);
  padding: 10px 14px;
  border-radius: var(--lm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.lm-collage-overlay-tag {
  background: var(--lm-rose);
  color: var(--lm-aubergine);
  padding: 3px 8px;
  border-radius: var(--lm-radius-pill);
  font-size: 11px;
  font-weight: 700;
}

/* Decorative SVGs */
.lm-doodle {
  position: absolute;
  pointer-events: none;
  color: var(--lm-royal-purple);
}

.lm-doodle--star-top {
  top: 4px;
  left: 26%;
  width: 22px;
  height: 22px;
}

.lm-doodle--star-bottom {
  bottom: 6px;
  right: 18%;
  width: 20px;
  height: 20px;
}

.lm-doodle--arc {
  top: 10%;
  right: -8px;
  width: 44px;
  height: 44px;
}

/* Hero Right Column */
.lm-hero-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.lm-topic-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-pill);
  padding: 8px 18px 8px 8px;
  align-self: flex-start;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--lm-aubergine) 8%, transparent);
}

.lm-topic-emblem {
  width: 42px;
  height: 42px;
  border-radius: var(--lm-radius-pill);
  background: var(--lm-aubergine);
  color: var(--lm-rose);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lm-topic-label {
  font-family: var(--lm-font-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.lm-hero-slider-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lm-hero-slider-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--lm-ink-muted);
}

.lm-slider-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lm-circle-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--lm-radius-pill);
  border: 1px solid var(--lm-border-strong);
  background: var(--lm-surface);
  color: var(--lm-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lm-circle-btn:hover {
  background: var(--lm-aubergine);
  color: var(--lm-off-white);
  border-color: var(--lm-aubergine);
}

.lm-hero-aside-note {
  margin: 0;
  font-size: 13px;
  color: var(--lm-ink-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Section Divider Heading (=== Trending news ===)
   ========================================================================== */
.lm-section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-block: 12px 32px;
}

.lm-section-rule {
  flex: 1;
  height: 5px;
  border-top: 1px solid var(--lm-border-strong);
  border-bottom: 1px solid var(--lm-border-strong);
}

.lm-section-title {
  margin: 0;
  font-family: var(--lm-font-serif);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

/* ==========================================================================
   3-Column Editorial News Grid (Trending & Secondary)
   ========================================================================== */
.lm-news-section {
  padding-bottom: 48px;
}

.lm-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.lm-editorial-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.lm-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lm-card-divider {
  height: 1px;
  background: var(--lm-border);
  border: 0;
  margin: 4px 0;
}

.lm-card-title {
  margin: 0;
  font-family: var(--lm-font-serif);
  font-size: clamp(20px, 1.9vw, 25px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

.lm-card-excerpt {
  margin: 0;
  font-size: 13.5px;
  color: var(--lm-ink-muted);
  line-height: 1.55;
}

.lm-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--lm-royal-purple);
  align-self: flex-start;
}

.lm-read-more:hover {
  color: var(--lm-aubergine);
}

.lm-card-photo {
  aspect-ratio: 16 / 10;
}

/* Author / Date Meta Row */
.lm-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  padding-top: 4px;
}

.lm-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lm-avatar {
  width: 30px;
  height: 30px;
  border-radius: var(--lm-radius-pill);
  object-fit: cover;
  filter: var(--lm-photo-filter);
  border: 1px solid var(--lm-border);
}

.lm-author-name {
  display: block;
  font-weight: 700;
  color: var(--lm-ink);
  line-height: 1.2;
}

.lm-author-role {
  display: block;
  font-size: 11px;
  color: var(--lm-ink-muted);
}

.lm-date-meta {
  text-align: right;
  line-height: 1.25;
}

.lm-date-meta span {
  display: block;
  font-size: 11px;
  color: var(--lm-ink-muted);
}

.lm-date-meta strong {
  font-size: 11.5px;
  font-weight: 700;
}

/* ==========================================================================
   Dark Aubergine Spotlight Banner
   ========================================================================== */
.lm-spotlight-wrap {
  padding-bottom: 52px;
}

.lm-spotlight {
  position: relative;
  background: var(--lm-aubergine);
  color: var(--lm-off-white);
  border-radius: var(--lm-radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 380px;
}

.lm-spotlight-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.lm-spotlight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lm-rose);
}

.lm-spotlight-title {
  margin: 10px 0 14px;
  font-family: var(--lm-font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--lm-off-white);
}

.lm-spotlight-excerpt {
  margin: 0;
  font-size: 14px;
  color: color-mix(in srgb, var(--lm-off-white) 80%, transparent);
  max-width: 52ch;
}

.lm-spotlight-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.lm-stat-box {
  background: color-mix(in srgb, var(--lm-off-white) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--lm-rose) 28%, transparent);
  border-radius: var(--lm-radius-sm);
  padding: 14px 16px;
  backdrop-filter: blur(8px);
}

.lm-stat-num {
  display: block;
  font-family: var(--lm-font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--lm-rose);
  line-height: 1.1;
}

.lm-stat-label {
  display: block;
  font-size: 11.5px;
  color: color-mix(in srgb, var(--lm-off-white) 82%, transparent);
  margin-top: 4px;
}

.lm-spotlight-media {
  position: relative;
  min-height: 320px;
}

.lm-spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--lm-photo-filter);
}

.lm-spotlight-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--lm-aubergine) 0%, transparent 45%);
}

.lm-spotlight-cta {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: var(--lm-radius-pill);
  background: var(--lm-rose);
  color: var(--lm-aubergine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.lm-spotlight-cta:hover {
  background: var(--lm-royal-purple);
  color: var(--lm-off-white);
}

/* ==========================================================================
   4-Column Bottom Story Strip
   ========================================================================== */
.lm-strip-section {
  padding-bottom: 56px;
}

.lm-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.lm-strip-card .lm-card-photo {
  aspect-ratio: 16 / 11;
}

.lm-strip-card .lm-card-title {
  font-size: 18px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.lm-footer {
  border-top: 1px solid var(--lm-border-strong);
  padding-top: 44px;
  padding-bottom: 28px;
}

.lm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
}

.lm-footer-cta-title {
  font-family: var(--lm-font-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
}

.lm-subscribe-form {
  display: flex;
  gap: 8px;
  max-width: 300px;
}

.lm-subscribe-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--lm-border-strong);
  border-radius: var(--lm-radius-pill);
  padding: 9px 14px;
  background: var(--lm-surface);
  color: var(--lm-ink);
  font-family: inherit;
  font-size: 13px;
}

.lm-footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lm-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.lm-footer-links a {
  font-size: 13.5px;
  color: var(--lm-ink-muted);
}

.lm-footer-links a:hover {
  color: var(--lm-royal-purple);
}

.lm-footer-bottom {
  border-top: 1px solid var(--lm-border);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12.5px;
  color: var(--lm-ink-muted);
}

.lm-footer-legal {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lm-socials {
  display: flex;
  gap: 12px;
}

.lm-socials a {
  width: 32px;
  height: 32px;
  border-radius: var(--lm-radius-pill);
  border: 1px solid var(--lm-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Single Article & Archive Templates
   ========================================================================== */
.lm-single-wrap,
.lm-archive-wrap {
  padding-block: 42px 64px;
}

.lm-single-header {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 32px;
}

.lm-single-kicker {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--lm-radius-pill);
  background: var(--lm-rose);
  color: var(--lm-aubergine);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.lm-single-title {
  margin: 0 0 16px;
  font-family: var(--lm-font-serif);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.lm-single-hero-img {
  max-width: 960px;
  margin: 0 auto 36px;
  border-radius: var(--lm-radius-lg);
  overflow: hidden;
}

.lm-single-content {
  max-width: 740px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.75;
}

.lm-single-content h2,
.lm-single-content h3 {
  font-family: var(--lm-font-serif);
  margin-top: 2em;
  line-height: 1.25;
}

.lm-single-content a {
  color: var(--lm-royal-purple);
  text-decoration: underline;
}

.lm-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.lm-pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.lm-pagination .page-numbers {
  padding: 8px 14px;
  border-radius: var(--lm-radius-pill);
  border: 1px solid var(--lm-border-strong);
  font-size: 13px;
  font-weight: 600;
}

.lm-pagination .page-numbers.current {
  background: var(--lm-aubergine);
  color: var(--lm-off-white);
  border-color: var(--lm-aubergine);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .lm-nav-center {
    display: none;
  }

  .lm-hero-grid {
    grid-template-columns: 1fr;
  }

  .lm-editorial-grid,
  .lm-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-spotlight {
    grid-template-columns: 1fr;
  }

  .lm-spotlight-media::after {
    background: linear-gradient(180deg, var(--lm-aubergine) 0%, transparent 45%);
  }

  .lm-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .lm-masthead-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .lm-masthead-badge {
    justify-self: center;
  }

  .lm-search-pill,
  .lm-login-link {
    display: none;
  }

  .lm-editorial-grid,
  .lm-strip-grid,
  .lm-archive-grid,
  .lm-spotlight-stats,
  .lm-footer-grid {
    grid-template-columns: 1fr;
  }

  .lm-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   Site Editor (FSE) Editable Header & Footer Blocks
   ========================================================================== */
.lm-fse-header {
  padding-top: 18px;
  padding-bottom: 6px;
}

.lm-fse-header-row {
  gap: 16px;
  padding-inline: 24px;
}

.lm-fse-header-left {
  gap: 14px;
}

.lm-fse-hamburger .wp-block-navigation__responsive-container-open {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: var(--lm-ink);
  background: transparent;
}

.lm-fse-search .wp-block-search__inside-wrapper {
  background: var(--lm-surface);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-pill);
  padding: 4px 10px 4px 16px;
  min-width: 210px;
}

.lm-fse-search .wp-block-search__input {
  border: 0;
  background: transparent;
  color: var(--lm-ink);
  font-family: var(--lm-font-sans);
  font-size: 13px;
  padding: 4px 0;
  outline: none;
}

.lm-fse-search .wp-block-search__input::placeholder {
  color: var(--lm-ink-muted);
}

.lm-fse-search .wp-block-search__button {
  background: transparent;
  border: 0;
  color: var(--lm-ink);
  padding: 4px;
  margin-left: 4px;
  cursor: pointer;
}

.lm-fse-nav .wp-block-navigation__container {
  gap: 8px;
  align-items: center;
}

.lm-fse-nav .wp-block-navigation-item__content {
  padding: 8px 18px;
  border-radius: var(--lm-radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--lm-ink-muted);
}

.lm-fse-nav .wp-block-navigation-item__content:hover {
  color: var(--lm-ink);
  background: color-mix(in srgb, var(--lm-rose) 42%, transparent);
}

.lm-fse-nav .current-menu-item > .wp-block-navigation-item__content,
.lm-fse-nav .wp-block-navigation-item:first-child > .wp-block-navigation-item__content {
  background: var(--lm-aubergine);
  color: var(--lm-off-white);
  font-weight: 600;
}

.lm-fse-actions {
  gap: 10px;
}

.lm-fse-btn-login .wp-block-button__link {
  background: var(--lm-surface);
  color: var(--lm-ink);
  border: 1px solid var(--lm-border);
  border-radius: var(--lm-radius-pill);
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
}

.lm-fse-btn-login .wp-block-button__link:hover {
  border-color: var(--lm-royal-purple);
  color: var(--lm-royal-purple);
}

.lm-fse-btn-subscribe .wp-block-button__link {
  background: var(--lm-aubergine);
  color: var(--lm-off-white);
  border: 1px solid var(--lm-aubergine);
  border-radius: var(--lm-radius-pill);
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
}

.lm-fse-btn-subscribe .wp-block-button__link:hover {
  background: var(--lm-royal-purple);
  border-color: var(--lm-royal-purple);
  color: var(--lm-off-white);
}

.lm-header-double-rule {
  width: calc(100% - 48px);
  max-width: 1192px;
  height: 5px;
  margin: 18px auto 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--lm-border-strong) !important;
  border-bottom: 1px solid var(--lm-border-strong) !important;
  background: transparent !important;
}

.lm-fse-footer {
  border-top: 1px solid var(--lm-border-strong);
  padding: 44px 24px 28px;
}

.lm-fse-footer-cols {
  margin-bottom: 28px;
}

.lm-fse-footer-bottom {
  padding-top: 16px;
}

@media (max-width: 1024px) {
  .lm-fse-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .lm-fse-search,
  .lm-fse-btn-login {
    display: none;
  }
}
