/**
 * Lumera News – Premium Frontend CSS v2.3
 * Luxury editorial real estate magazine design
 * ─────────────────────────────────────────────
 * Prefix: lnp- (Lumera News Plugin)
 * All selectors scoped — never leaks into Elementor or theme
 */

/* ═══════════════════════════════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --lnp-accent:        #B8935A;
  --lnp-accent-dark:   #8C6A38;
  --lnp-accent-light:  rgba(184,147,90,.12);
  --lnp-accent-glow:   rgba(184,147,90,.25);
  --lnp-white:         #FFFFFF;
  --lnp-ivory:         #FAF8F4;
  --lnp-beige:         #F3EDE3;
  --lnp-text:          #1A1A18;
  --lnp-text-mid:      #4A453E;
  --lnp-text-light:    #7A7368;
  --lnp-border:        rgba(184,147,90,.18);
  --lnp-border-solid:  #E8E0D2;
  --lnp-shadow-sm:     0 2px 12px rgba(0,0,0,.06);
  --lnp-shadow-md:     0 6px 32px rgba(0,0,0,.09);
  --lnp-shadow-lg:     0 16px 56px rgba(0,0,0,.13);
  --lnp-shadow-hover:  0 24px 72px rgba(0,0,0,.16);
  --lnp-radius-card:   16px;
  --lnp-radius-sm:     8px;
  --lnp-font-serif:    'Playfair Display', Georgia, 'Times New Roman', serif;
  --lnp-font-sans:     'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --lnp-ease:          cubic-bezier(.25,.46,.45,.94);
  --lnp-ease-spring:   cubic-bezier(.34,1.56,.64,1);
}

/* ═══════════════════════════════════════════════════════════════════════
   2. RESET & CONTAINER
   ═══════════════════════════════════════════════════════════════════════ */
.lumera-single-wrap *,
.lnp-blog-section *,
.lnp-search-wrap * {
  box-sizing: border-box;
}

.lumera-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ═══════════════════════════════════════════════════════════════════════
   3. SITE NAME SUPPRESSION
   Remove any theme output between header and our hero
   ═══════════════════════════════════════════════════════════════════════ */
.lumera-single-wrap > *:not(.lumera-single):not(script):not(style),
.lumera-single-wrap .site-title,
.lumera-single-wrap .page-title,
.lumera-single-wrap .entry-header:not(.lnp-hero *),
.lumera-single-wrap .site-header-wrapper,
.lumera-single-wrap h1.page-header,
.lumera-single-wrap .wp-block-post-title:not(.lnp-hero *) {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   4. SINGLE POST WRAP & PAGE
   ═══════════════════════════════════════════════════════════════════════ */
.lumera-single-wrap {
  background: var(--lnp-ivory);
}

.lumera-single {
  /* reset theme body margins that could push content */
  margin: 0;
  padding: 0;
}

/* 404 fallback */
.lumera-404 {
  min-height: 50vh;
  display: flex;
  align-items: center;
  background: var(--lnp-ivory);
  font-family: var(--lnp-font-sans);
}

/* ═══════════════════════════════════════════════════════════════════════
   5. HERO — Full-width premium image header
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-hero {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* Background layer */
.lnp-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-color: #1A1512;
  will-change: transform;
}

/* Gradient fallback when no image */
.lnp-hero__bg--gradient {
  background: linear-gradient(
    135deg,
    #1A1208 0%,
    #2D1E0A 25%,
    #1A1512 50%,
    #0D0D0B 100%
  );
}

/* Rich multi-stop gradient overlay — luxury depth */
.lnp-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10,8,5,.08)   0%,
      rgba(10,8,5,.18)  30%,
      rgba(10,8,5,.52)  55%,
      rgba(10,8,5,.82)  75%,
      rgba(10,8,5,.94) 100%
    ),
    linear-gradient(
      to right,
      rgba(10,8,5,.25) 0%,
      transparent 60%
    );
  pointer-events: none;
}

/* Content sits above overlay */
.lnp-hero__inner {
  position: relative;
  z-index: 2;
  padding: 48px 0 56px;
  width: 100%;
}

/* Back link */
.lnp-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-family: var(--lnp-font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 28px;
  transition: color .25s var(--lnp-ease), gap .25s var(--lnp-ease);
}
.lnp-back-link:hover {
  color: var(--lnp-accent);
  gap: 10px;
}
.lnp-back-link svg {
  flex-shrink: 0;
  transition: transform .25s var(--lnp-ease);
}
.lnp-back-link:hover svg {
  transform: translateX(-2px);
}

/* Category badge */
.lnp-hero__cat {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid var(--lnp-accent);
  border-radius: 100px;
  color: var(--lnp-accent);
  font-family: var(--lnp-font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Title */
.lnp-hero__title {
  font-family: var(--lnp-font-serif);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 24px;
  max-width: 860px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
  letter-spacing: -.3px;
}

/* Meta row */
.lnp-hero__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 0;
  font-family: var(--lnp-font-sans);
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.lnp-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lnp-hero__meta-sep {
  margin: 0 10px;
  color: rgba(255,255,255,.3);
  font-size: 10px;
}

/* ═══════════════════════════════════════════════════════════════════════
   6. LANGUAGE TOGGLE — Premium pill
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 28px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  border-radius: 100px;
  padding: 4px 6px 4px 14px;
}
.lnp-lang-toggle__label {
  font-family: var(--lnp-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  margin-right: 4px;
}
.lnp-lang-toggle__btn {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--lnp-font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: all .25s var(--lnp-ease);
}
.lnp-lang-toggle__btn:hover {
  color: #fff;
}
.lnp-lang-toggle__btn.active {
  background: var(--lnp-accent);
  color: #fff;
  box-shadow: 0 2px 12px var(--lnp-accent-glow);
}

/* ═══════════════════════════════════════════════════════════════════════
   7. ARTICLE BODY
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-body {
  padding: 56px 0 72px;
  background: var(--lnp-ivory);
}

.lnp-layout {
  max-width: 880px;
  margin: 0 auto;
}

.lnp-article {
  background: var(--lnp-white);
  border: 1px solid var(--lnp-border);
  border-radius: 18px;
  padding: 56px 60px;
  box-shadow: var(--lnp-shadow-md);
  position: relative;
}

/* Bronze accent bar at top of article */
.lnp-article::before {
  content: '';
  position: absolute;
  top: 0; left: 40px; right: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--lnp-accent) 0%, transparent 100%);
  border-radius: 0 0 4px 4px;
}

/* Lead / Excerpt — only shown when truly set */
.lnp-article__lead {
  font-family: var(--lnp-font-serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.7;
  color: var(--lnp-text-mid);
  border-left: 3px solid var(--lnp-accent);
  padding: 4px 0 4px 24px;
  margin-bottom: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--lnp-border-solid);
}

/* Main content typography */
.lnp-article__content {
  font-family: var(--lnp-font-sans);
  font-size: 18px;
  line-height: 1.9;
  color: var(--lnp-text);
}

.lnp-article__content p {
  margin: 0 0 28px;
}

.lnp-article__content h2 {
  font-family: var(--lnp-font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--lnp-text);
  margin: 48px 0 20px;
  letter-spacing: -.2px;
}

.lnp-article__content h3 {
  font-family: var(--lnp-font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--lnp-text);
  margin: 36px 0 16px;
}

.lnp-article__content h4, .lnp-article__content h5 {
  font-family: var(--lnp-font-sans);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .3px;
  text-transform: uppercase;
  color: var(--lnp-accent-dark);
  margin: 28px 0 12px;
}

.lnp-article__content a {
  color: var(--lnp-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color .2s;
}
.lnp-article__content a:hover {
  color: var(--lnp-accent-dark);
}

.lnp-article__content ul,
.lnp-article__content ol {
  padding-left: 28px;
  margin: 0 0 24px;
}
.lnp-article__content li {
  margin-bottom: 8px;
}
.lnp-article__content ul li::marker {
  color: var(--lnp-accent);
}

.lnp-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 32px auto;
  box-shadow: var(--lnp-shadow-sm);
}

.lnp-article__content blockquote {
  border-left: 4px solid var(--lnp-accent);
  background: var(--lnp-beige);
  padding: 24px 28px;
  margin: 36px 0;
  border-radius: 0 12px 12px 0;
  font-family: var(--lnp-font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.65;
  color: var(--lnp-text-mid);
}
.lnp-article__content blockquote p { margin: 0; }
.lnp-article__content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  font-family: var(--lnp-font-sans);
  color: var(--lnp-text-light);
  letter-spacing: .3px;
}

.lnp-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 15px;
}
.lnp-article__content th {
  background: var(--lnp-beige);
  border: 1px solid var(--lnp-border-solid);
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
}
.lnp-article__content td {
  border: 1px solid var(--lnp-border-solid);
  padding: 10px 14px;
}
.lnp-article__content tr:nth-child(even) td {
  background: rgba(250,248,244,.6);
}

/* Divider */
.lnp-article__divider {
  border: none;
  border-top: 1px solid var(--lnp-border-solid);
  margin: 40px 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   8. SHARE BUTTONS
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-share {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lnp-share__label {
  font-family: var(--lnp-font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--lnp-text-light);
}
.lnp-share__btns {
  display: flex;
  gap: 8px;
}
.lnp-share__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--lnp-border-solid);
  color: var(--lnp-text-mid);
  text-decoration: none;
  background: var(--lnp-white);
  transition: all .25s var(--lnp-ease);
}
.lnp-share__btn:hover {
  background: var(--lnp-accent);
  border-color: var(--lnp-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px var(--lnp-accent-glow);
}

/* Back button */
.lnp-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 36px;
  font-family: var(--lnp-font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  color: var(--lnp-text-light);
  text-decoration: none;
  transition: color .2s, gap .2s;
}
.lnp-back-btn:hover {
  color: var(--lnp-accent);
  gap: 11px;
}

/* ═══════════════════════════════════════════════════════════════════════
   9. RELATED POSTS SECTION
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-related {
  background: var(--lnp-white);
  border-top: 1px solid var(--lnp-border-solid);
  padding: 72px 0 88px;
}
.lnp-related__head {
  text-align: center;
  margin-bottom: 52px;
}
.lnp-related__title {
  font-family: var(--lnp-font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--lnp-text);
  margin: 0 0 18px;
  letter-spacing: -.3px;
}
.lnp-related__rule {
  width: 48px;
  height: 2px;
  background: var(--lnp-accent);
  margin: 0 auto;
  border-radius: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   10. BLOG GRID — Used by shortcode and related posts
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-blog-grid {
  display: grid;
  gap: 28px;
}
.lnp-blog-grid--cols-1 { grid-template-columns: 1fr; }
.lnp-blog-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.lnp-blog-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.lnp-blog-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ═══════════════════════════════════════════════════════════════════════
   11. PREMIUM POST CARD
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-card {
  background: var(--lnp-white);
  border: 1px solid var(--lnp-border-solid);
  border-radius: var(--lnp-radius-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--lnp-shadow-sm);
  transition:
    box-shadow .35s var(--lnp-ease),
    transform .35s var(--lnp-ease),
    border-color .35s var(--lnp-ease);
  position: relative;
}

.lnp-card:hover {
  box-shadow: var(--lnp-shadow-hover);
  transform: translateY(-5px);
  border-color: var(--lnp-accent);
}

/* Bronze line at bottom on hover */
.lnp-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--lnp-accent), var(--lnp-accent-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--lnp-ease);
  border-radius: 0 0 var(--lnp-radius-card) var(--lnp-radius-card);
}
.lnp-card:hover::after {
  transform: scaleX(1);
}

/* Card image */
.lnp-card__img-link {
  display: block;
  text-decoration: none;
  overflow: hidden;
}
.lnp-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--lnp-beige);
}
.lnp-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--lnp-ease);
}
.lnp-card:hover .lnp-card__img {
  transform: scale(1.06);
}
.lnp-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2D1E0A 0%, #1A1512 100%);
  position: relative;
}
.lnp-card__img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8935A' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

/* Category badge on card image */
.lnp-card__cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--lnp-accent);
  color: #fff;
  font-family: var(--lnp-font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

/* Card body */
.lnp-card__body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lnp-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lnp-font-sans);
  font-size: 12px;
  color: var(--lnp-text-light);
  margin-bottom: 12px;
}
.lnp-card__sep {
  color: var(--lnp-border-solid);
  font-size: 8px;
}
.lnp-card__title {
  font-family: var(--lnp-font-serif);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--lnp-text);
  margin: 0 0 12px;
  letter-spacing: -.1px;
}
.lnp-card__title a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.lnp-card__title a:hover {
  color: var(--lnp-accent);
}
.lnp-card__excerpt {
  font-family: var(--lnp-font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--lnp-text-mid);
  margin: 0 0 20px;
  flex: 1;
  /* Clamp to 3 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lnp-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--lnp-font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .3px;
  color: var(--lnp-accent);
  text-decoration: none;
  text-transform: uppercase;
  margin-top: auto;
  transition: gap .25s var(--lnp-ease), color .2s;
}
.lnp-card__readmore:hover {
  gap: 10px;
  color: var(--lnp-accent-dark);
}

/* Empty state */
.lnp-empty {
  text-align: center;
  padding: 60px 24px;
  font-family: var(--lnp-font-sans);
  color: var(--lnp-text-light);
  font-size: 15px;
}

/* ═══════════════════════════════════════════════════════════════════════
   12. BLOG SECTION (shortcode wrapper)
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-blog-section {
  padding: 20px 0;
}

.lnp-blog-section__head {
  text-align: center;
  margin-bottom: 56px;
}
.lnp-blog-section__title {
  font-family: var(--lnp-font-serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--lnp-text);
  margin: 0 0 16px;
  letter-spacing: -.3px;
}
.lnp-blog-section__rule {
  width: 48px;
  height: 2px;
  background: var(--lnp-accent);
  margin: 0 auto 20px;
  border-radius: 2px;
}
.lnp-blog-section__subtitle {
  font-family: var(--lnp-font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--lnp-text-mid);
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════════
   13. CATEGORY FILTER PILLS
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
}
.lnp-filter-btn {
  background: transparent;
  border: 1px solid var(--lnp-border-solid);
  border-radius: 100px;
  padding: 8px 20px;
  font-family: var(--lnp-font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--lnp-text-mid);
  cursor: pointer;
  transition: all .25s var(--lnp-ease);
}
.lnp-filter-btn:hover {
  border-color: var(--lnp-accent);
  color: var(--lnp-accent);
}
.lnp-filter-btn.active {
  background: var(--lnp-accent);
  border-color: var(--lnp-accent);
  color: #fff;
  box-shadow: 0 3px 12px var(--lnp-accent-glow);
}
.lnp-filter-btn.loading {
  opacity: .55;
  cursor: wait;
}

.lnp-filter-grid {
  transition: opacity .2s;
}
.lnp-filter-grid.is-loading {
  opacity: .45;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   14. SEARCH WIDGET
   ═══════════════════════════════════════════════════════════════════════ */
.lnp-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  background: var(--lnp-white);
  border: 1px solid var(--lnp-border-solid);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: var(--lnp-shadow-sm);
  margin-bottom: 32px;
}
.lnp-search-input,
.lnp-search-select {
  border: 1px solid var(--lnp-border-solid);
  border-radius: var(--lnp-radius-sm);
  padding: 10px 14px;
  font-family: var(--lnp-font-sans);
  font-size: 14px;
  color: var(--lnp-text);
  background: var(--lnp-ivory);
  outline: none;
  flex: 1;
  min-width: 160px;
  transition: border-color .2s, box-shadow .2s;
}
.lnp-search-input:focus,
.lnp-search-select:focus {
  border-color: var(--lnp-accent);
  box-shadow: 0 0 0 3px var(--lnp-accent-light);
  background: var(--lnp-white);
}
.lnp-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--lnp-accent);
  color: #fff;
  border: none;
  border-radius: var(--lnp-radius-sm);
  font-family: var(--lnp-font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.lnp-search-btn:hover {
  background: var(--lnp-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--lnp-accent-glow);
}

/* ═══════════════════════════════════════════════════════════════════════
   15. FALLBACK HEADER/FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.lumera-fallback-header {
  background: var(--lnp-white);
  border-bottom: 1px solid var(--lnp-border-solid);
  box-shadow: var(--lnp-shadow-sm);
}
.lumera-fallback-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
}
.lumera-fallback-header__logo {
  font-family: var(--lnp-font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--lnp-text);
  text-decoration: none;
  letter-spacing: .5px;
}
.lumera-fallback-footer {
  background: #0F0C08;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 36px 0;
}
.lumera-fallback-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  text-align: center;
}
.lumera-fallback-footer p {
  font-family: var(--lnp-font-sans);
  font-size: 13px;
  color: rgba(255,255,255,.35);
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
   16. RTL ARABIC SUPPORT
   ═══════════════════════════════════════════════════════════════════════ */
[dir="rtl"] .lnp-article__content {
  font-family: 'Noto Naskh Arabic', 'Scheherazade New', 'Traditional Arabic', Georgia, serif;
  font-size: 19px;
  line-height: 2.1;
  text-align: right;
}
[dir="rtl"] .lnp-article__content h2,
[dir="rtl"] .lnp-article__content h3 {
  font-family: 'Noto Naskh Arabic', Georgia, serif;
  text-align: right;
}
[dir="rtl"] .lnp-article__content blockquote {
  border-left: none;
  border-right: 4px solid var(--lnp-accent);
  border-radius: 12px 0 0 12px;
  padding: 24px 28px 24px 20px;
  text-align: right;
}
[dir="rtl"] .lnp-article__content ul,
[dir="rtl"] .lnp-article__content ol {
  padding-left: 0;
  padding-right: 28px;
}
[dir="rtl"] .lnp-article__lead {
  border-left: none;
  border-right: 3px solid var(--lnp-accent);
  padding: 4px 24px 36px 0;
  text-align: right;
}
[dir="rtl"] .lnp-back-link,
[dir="rtl"] .lnp-back-btn {
  flex-direction: row-reverse;
}
[dir="rtl"] .lnp-card__cat {
  left: auto;
  right: 14px;
}
[dir="rtl"] .lnp-lang-toggle {
  padding: 4px 14px 4px 6px;
}

/* ═══════════════════════════════════════════════════════════════════════
   17. RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .lnp-blog-grid--cols-3,
  .lnp-blog-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .lnp-article { padding: 40px 36px; }
  .lnp-hero { min-height: 420px; }
  .lnp-related { padding: 52px 0 64px; }
}

@media (max-width: 768px) {
  .lumera-container { padding: 0 18px; }

  .lnp-hero { min-height: 340px; }
  .lnp-hero__inner { padding: 32px 0 40px; }
  .lnp-hero__title { font-size: clamp(26px, 6vw, 36px); }

  .lnp-blog-grid--cols-2,
  .lnp-blog-grid--cols-3,
  .lnp-blog-grid--cols-4 { grid-template-columns: 1fr; }

  .lnp-article {
    padding: 28px 22px;
    border-radius: 12px;
  }
  .lnp-article__content { font-size: 16px; }
  .lnp-article__lead { font-size: 18px; }

  .lnp-body { padding: 36px 0 52px; }

  .lnp-search-form { flex-direction: column; }
  .lnp-search-input, .lnp-search-select { min-width: unset; width: 100%; }

  .lnp-hero__meta { font-size: 12px; }
  .lnp-hero__meta-sep { margin: 0 6px; }

  .lnp-blog-section__head { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  .lnp-hero { min-height: 300px; }
  .lnp-article { padding: 22px 18px; }
  .lnp-card__body { padding: 18px 18px 22px; }
  .lnp-share { flex-direction: column; align-items: flex-start; }
}

/* ═══════════════════════════════════════════════════════════════════════
   18. SIDEBAR LAYOUT — 70/30 content + sidebar split
   ═══════════════════════════════════════════════════════════════════════ */

/* Default: no sidebar — article uses full layout width */
.lnp-content-wrap {
  /* pass-through — uses .lnp-layout max-width from article body rules */
}

/* With sidebar: CSS grid, 70/30 */
.lnp-content-wrap--with-sidebar {
  display: grid;
  gap: 40px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

/* Right sidebar (default) */
.lnp-content-wrap--with-sidebar.lnp-content-wrap--sidebar-right {
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas: "main sidebar";
}

/* Left sidebar */
.lnp-content-wrap--with-sidebar.lnp-content-wrap--sidebar-left {
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-areas: "sidebar main";
}

.lnp-main-col {
  grid-area: main;
  min-width: 0; /* prevent overflow */
}

.lnp-sidebar-col {
  grid-area: sidebar;
}

/* Sticky sidebar */
.lnp-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ═══════════════════════════════════════════════════════════════════════
   19. SIDEBAR BOXES — Premium luxury design
   ═══════════════════════════════════════════════════════════════════════ */

.lnp-sidebar__box {
  background: var(--lnp-white);
  border: 1px solid var(--lnp-border);
  border-top: 3px solid var(--lnp-accent, #B8935A);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--lnp-shadow-md);
  transition: box-shadow .3s var(--lnp-ease);
}
.lnp-sidebar__box:hover {
  box-shadow: var(--lnp-shadow-lg);
}

/* Form box head */
.lnp-sidebar__box-head {
  padding: 28px 28px 0;
  border-bottom: 1px solid rgba(184,147,90,.1);
  padding-bottom: 20px;
  margin-bottom: 4px;
  position: relative;
}
.lnp-sidebar__box-head::after {
  content: '';
  position: absolute;
  bottom: 0; left: 28px;
  width: 36px; height: 2px;
  background: var(--lnp-accent, #B8935A);
  border-radius: 2px;
}

.lnp-sidebar__box-title {
  font-family: var(--lnp-font-serif, Georgia, serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--lnp-text, #1A1A18);
  margin: 0 0 8px;
  letter-spacing: -.2px;
  line-height: 1.25;
}

.lnp-sidebar__box-sub {
  font-family: var(--lnp-font-sans, sans-serif);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lnp-text-mid, #4A453E);
  margin: 0;
}

/* Form body */
.lnp-sidebar__form-body {
  padding: 20px 28px 28px;
}

/* CF7 form overrides — match Lumera premium style */
.lnp-sidebar__form-body .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lnp-sidebar__form-body input[type="text"],
.lnp-sidebar__form-body input[type="email"],
.lnp-sidebar__form-body input[type="tel"],
.lnp-sidebar__form-body textarea,
.lnp-sidebar__form-body select {
  width: 100% !important;
  border: 1px solid rgba(184,147,90,.3) !important;
  border-radius: 8px !important;
  padding: 11px 14px !important;
  font-family: var(--lnp-font-sans, sans-serif) !important;
  font-size: 14px !important;
  color: var(--lnp-text, #1A1A18) !important;
  background: var(--lnp-ivory, #FAF8F4) !important;
  outline: none !important;
  transition: border-color .2s, box-shadow .2s !important;
  box-sizing: border-box !important;
}
.lnp-sidebar__form-body input:focus,
.lnp-sidebar__form-body textarea:focus {
  border-color: var(--lnp-accent, #B8935A) !important;
  box-shadow: 0 0 0 3px rgba(184,147,90,.15) !important;
  background: #fff !important;
}
.lnp-sidebar__form-body textarea {
  resize: vertical !important;
  min-height: 90px !important;
}
.lnp-sidebar__form-body input[type="submit"],
.lnp-sidebar__form-body .wpcf7-submit {
  width: 100% !important;
  background: var(--lnp-accent, #B8935A) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 13px 24px !important;
  font-family: var(--lnp-font-sans, sans-serif) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .5px !important;
  cursor: pointer !important;
  transition: background .2s, transform .15s, box-shadow .2s !important;
  margin-top: 4px !important;
}
.lnp-sidebar__form-body input[type="submit"]:hover,
.lnp-sidebar__form-body .wpcf7-submit:hover {
  background: #8C6A38 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(184,147,90,.35) !important;
}
.lnp-sidebar__form-body .wpcf7-response-output {
  border-radius: 8px !important;
  font-size: 13px !important;
  padding: 10px 14px !important;
}
.lnp-sidebar__form-body .wpcf7-not-valid-tip {
  font-size: 12px !important;
  color: #c62828 !important;
}
.lnp-sidebar__form-body p {
  margin: 0 !important;
}
.lnp-sidebar__form-body br {
  display: none !important; /* CF7 adds <br> between fields — remove for clean layout */
}

/* ── Banner box ──────────────────────────────────────────────────────── */
.lnp-sidebar__banner-box {
  overflow: hidden;
  border-radius: 16px;
}
.lnp-sidebar__banner-link {
  display: block;
  overflow: hidden;
  border-radius: 13px;
}
.lnp-sidebar__banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
  transition: transform .5s var(--lnp-ease);
}
.lnp-sidebar__banner-link:hover .lnp-sidebar__banner-img {
  transform: scale(1.04);
}
/* Banner with no link */
.lnp-sidebar__banner-box > .lnp-sidebar__banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13px;
}

/* ── Shortcode sidebar wrapper ───────────────────────────────────────── */
.lnp-sc-sidebar {
  /* When placed via shortcode outside the template layout */
  max-width: 400px;
}
.lnp-sc-sidebar .lnp-sidebar {
  position: static; /* not sticky when in shortcode context */
}

/* ═══════════════════════════════════════════════════════════════════════
   20. SIDEBAR RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */

/* Tablet: collapse sidebar inline */
@media (max-width: 1024px) {
  .lnp-content-wrap--with-sidebar.lnp-content-wrap--sidebar-right,
  .lnp-content-wrap--with-sidebar.lnp-content-wrap--sidebar-left {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }
}

/* Mobile: stack sidebar below article */
@media (max-width: 768px) {
  .lnp-content-wrap--with-sidebar.lnp-content-wrap--sidebar-right,
  .lnp-content-wrap--with-sidebar.lnp-content-wrap--sidebar-left {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "sidebar";
    gap: 32px;
  }

  .lnp-sidebar {
    position: static; /* no sticky on mobile */
    gap: 20px;
  }

  .lnp-sidebar-col {
    grid-area: sidebar;
    width: 100%;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   21. TITLE SUPPRESSION — belt-and-braces CSS fallback
   Removes "Lumera Dubai Real Estate" theme title injected between
   the header and our hero section on single post pages.
   ═══════════════════════════════════════════════════════════════════════ */
body.single-post .page-header,
body.single-post .entry-header,
body.single-post header.entry-header,
body.single-post .site-title,
body.single-post .page-title,
body.single-post .ast-single-entry-banner,
body.single-post .ast-page-header-content,
body.single-post #ast-post-header,
body.single-post .nv-page-title-wrap,
body.single-post .generate-page-header,
body.single-post .inside-page-header,
body.single-post .kadence-page-header,
body.single-post .elementor-page-title,
body.single-post .wp-block-post-title:not(.lnp-hero *),
body.single-post .site-header-wrapper > *:not(nav),
body.single-post .content-area > .site-main > article > header:not(.lnp-hero *) {
    display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════
   22. SINGLE POST GRID LAYOUT (v2.5 — replaces old lnp-content-wrap)
   ═══════════════════════════════════════════════════════════════════════ */

/* Base: no sidebar — article centred */
.lumera-single-grid {
    max-width: 860px;
    margin: 0 auto;
}

/* With sidebar: 2-column CSS grid */
.lumera-single-grid--sidebar {
    display: grid;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0;
    gap: 42px;
    align-items: start;
}

.lumera-single-grid--sidebar-right {
    grid-template-columns: minmax(0, 1fr) 360px;
    grid-template-areas: "article sidebar";
}

.lumera-single-grid--sidebar-left {
    grid-template-columns: 360px minmax(0, 1fr);
    grid-template-areas: "sidebar article";
}

.lumera-article-main { grid-area: article; min-width: 0; }
.lumera-post-sidebar  { grid-area: sidebar; }

/* Sidebar sticky */
.lumera-post-sidebar {
    position: sticky;
    top: 120px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ── Sidebar cards ───────────────────────────────────────────────────── */
.lumera-sidebar-card {
    background: #fff;
    border: 1px solid rgba(184, 147, 90, 0.22);
    border-top: 3px solid var(--lumera-accent, #B8935A);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 24px 70px rgba(24, 24, 24, 0.08);
}

/* ── Form card ───────────────────────────────────────────────────────── */
.lumera-sidebar-form__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #1A1A18;
    margin: 0 0 8px;
    letter-spacing: -.2px;
    line-height: 1.25;
}
.lumera-sidebar-form__sub {
    font-family: var(--lnp-font-sans, sans-serif);
    font-size: 13.5px;
    line-height: 1.6;
    color: #4A453E;
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(184,147,90,.12);
}
.lumera-sidebar-form__body { /* CF7 overrides */ }

/* CF7 form premium override */
.lumera-sidebar-form .wpcf7-form,
.lumera-sidebar-form__body .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.lumera-sidebar-form input[type="text"],
.lumera-sidebar-form input[type="email"],
.lumera-sidebar-form input[type="tel"],
.lumera-sidebar-form input[type="number"],
.lumera-sidebar-form textarea,
.lumera-sidebar-form select {
    width: 100% !important;
    border: 1px solid rgba(184,147,90,.3) !important;
    border-radius: 9px !important;
    padding: 11px 14px !important;
    font-family: var(--lnp-font-sans, sans-serif) !important;
    font-size: 14px !important;
    color: #1A1A18 !important;
    background: #FAF8F4 !important;
    outline: none !important;
    transition: border-color .2s, box-shadow .2s !important;
    box-sizing: border-box !important;
}
.lumera-sidebar-form input:focus,
.lumera-sidebar-form textarea:focus {
    border-color: var(--lumera-accent, #B8935A) !important;
    box-shadow: 0 0 0 3px rgba(184,147,90,.14) !important;
    background: #fff !important;
}
.lumera-sidebar-form textarea {
    resize: vertical !important;
    min-height: 96px !important;
}
.lumera-sidebar-form input[type="submit"],
.lumera-sidebar-form .wpcf7-submit {
    width: 100% !important;
    background: var(--lumera-accent, #B8935A) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 9px !important;
    padding: 13px 20px !important;
    font-family: var(--lnp-font-sans, sans-serif) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: .4px !important;
    cursor: pointer !important;
    transition: background .2s, transform .15s, box-shadow .2s !important;
}
.lumera-sidebar-form input[type="submit"]:hover,
.lumera-sidebar-form .wpcf7-submit:hover {
    background: #8C6A38 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(184,147,90,.35) !important;
}
.lumera-sidebar-form p { margin: 0 !important; }
.lumera-sidebar-form br { display: none !important; }
.lumera-sidebar-form .wpcf7-response-output {
    font-size: 13px !important;
    border-radius: 8px !important;
    padding: 10px 14px !important;
    margin: 8px 0 0 !important;
}

/* ── Banner card ─────────────────────────────────────────────────────── */
.lumera-sidebar-banner {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 22px;
}
.lumera-sidebar-banner__link {
    display: block;
    overflow: hidden;
    border-radius: 19px;
}
.lumera-sidebar-banner__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 19px;
    transition: transform .45s cubic-bezier(.25,.46,.45,.94);
}
.lumera-sidebar-banner__link:hover .lumera-sidebar-banner__img,
.lumera-sidebar-banner:hover .lumera-sidebar-banner__img {
    transform: scale(1.04);
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
    .lumera-single-grid--sidebar-right,
    .lumera-single-grid--sidebar-left {
        grid-template-columns: minmax(0, 1fr) 310px;
        gap: 28px;
    }
}

@media (max-width: 980px) {
    .lumera-single-grid--sidebar-right,
    .lumera-single-grid--sidebar-left {
        grid-template-columns: 1fr;
        grid-template-areas:
            "article"
            "sidebar";
        gap: 32px;
    }
    .lumera-post-sidebar {
        position: static;
        gap: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
   23. FALLBACK HEADER KILL-SWITCH
   Belt-and-braces: hides the old fallback header in case any cached
   version still renders it. The PHP code has been removed but this
   ensures zero visibility even from old cached output.
   ═══════════════════════════════════════════════════════════════════════ */
.lumera-fallback-header,
.lumera-fallback-header__inner,
.lumera-fallback-header__logo {
    display: none !important;
}
