/*
Theme Name: Les Nouveaux Parents
Theme URI: https://www.lesnouveauxparents.com
Description: Child theme magazine moderne pour Astra — design éditorial pastel 2026
Author: Les Nouveaux Parents
Author URI: https://www.lesnouveauxparents.com
Template: astra
Version: 2.4.8
Text Domain: lesnouveauxparents-child
*/

/* === TOKENS === */
:root {
    --lnp-coral: #E8756A;
    --lnp-coral-hover: #d4635a;
    --lnp-coral-light: #FFF0EE;
    --lnp-blue: #4A90D9;
    --lnp-blue-light: #EBF3FC;
    --lnp-pink: #D4537E;
    --lnp-pink-light: #FBEAF0;
    --lnp-sage: #5DCAA5;
    --lnp-sage-light: #E1F5EE;
    --lnp-sage-dark: #0F6E56;
    --lnp-lavender: #AFA9EC;
    --lnp-lavender-light: #EEEDFE;
    --lnp-lavender-dark: #534AB7;
    --lnp-amber: #C48A2A;
    --lnp-amber-light: #FFF6E5;
    --lnp-rose: #B8396B;
    --lnp-rose-light: #FFF0F6;
    --lnp-teal: #2E6DA4;
    --lnp-teal-light: #EEF6FF;
    --lnp-dark: #1A1A2E;
    --lnp-text: #2D2D3F;
    --lnp-text-secondary: #6B6B80;
    --lnp-text-hint: #9A9AB0;
    --lnp-border: rgba(0, 0, 0, 0.08);
    --lnp-bg: #FFFFFF;
    --lnp-bg-soft: #F9F8F6;
    --lnp-font-display: 'DM Serif Display', Georgia, serif;
    --lnp-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --lnp-radius: 16px;
    --lnp-radius-pill: 99px;
    --lnp-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   ASTRA OVERRIDES — GLOBAL (all pages via body.lnp-theme)
   ============================================================ */
body.lnp-theme .ast-above-header-wrap,
body.lnp-theme .ast-below-header-wrap,
body.lnp-theme .main-header-bar-wrap,
body.lnp-theme .ast-header-break-point .main-header-bar,
body.lnp-theme .site-header,
body.lnp-theme #ast-desktop-header,
body.lnp-theme #ast-mobile-header,
body.lnp-theme .ast-mobile-header-wrap,
body.lnp-theme .ast-main-header-wrap { display: none !important; height: 0 !important; min-height: 0 !important; overflow: hidden !important; }

body.lnp-theme .site-footer,
body.lnp-theme #colophon,
body.lnp-theme .ast-footer-overlay,
body.lnp-theme .ast-small-footer,
body.lnp-theme .site-below-footer-wrap,
body.lnp-theme .ast-above-footer,
body.lnp-theme .ast-below-footer,
body.lnp-theme .ast-footer-copyright { display: none !important; height: 0 !important; min-height: 0 !important; }

body.lnp-theme #page,
body.lnp-theme #content,
body.lnp-theme .site-content,
body.lnp-theme .ast-container,
body.lnp-theme .site-content > .ast-container,
body.lnp-theme #primary,
body.lnp-theme .content-area,
body.lnp-theme .site-main,
body.lnp-theme .site-main > article,
body.lnp-theme .site-main > .page,
body.lnp-theme .entry-content,
body.lnp-theme .page .entry-content {
    max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; float: none !important; display: block !important;
}

body.lnp-theme .ast-breadcrumbs-wrapper,
body.lnp-theme #secondary,
body.lnp-theme .sidebar-main,
body.lnp-theme .ast-single-post-order { display: none !important; }
body.lnp-homepage .entry-header { display: none !important; }
body.single .entry-header { display: none !important; }
body.single .entry-meta { display: none !important; }
body.single .post-navigation { display: none !important; }
body.single .ast-article-single .post-thumb-img-content { display: none !important; }

body.lnp-theme .site-content { padding-top: 0 !important; padding-bottom: 0 !important; }

/* ============================================================
   GLOBAL
   ============================================================ */
body { font-family: var(--lnp-font-body); color: var(--lnp-text); background: var(--lnp-bg); -webkit-font-smoothing: antialiased; }
body, p, li, td, th, input, select, textarea, button { font-family: var(--lnp-font-body); }
h1, h2, h3, h4, h5, h6 { font-family: var(--lnp-font-display); color: var(--lnp-dark); line-height: 1.25; }
a { text-decoration: none; transition: color var(--lnp-transition); }
a:hover { color: var(--lnp-coral); }
body.lnp-theme a:hover, body.lnp-theme a:focus { color: var(--lnp-coral); }
/* Nuclear Astra blue hover kill */
body.lnp-theme .lnp-search-btn:hover,
body.lnp-theme .lnp-search-btn:focus,
body.lnp-theme .lnp-lang-btn:hover,
body.lnp-theme .lnp-lang-btn:focus,
body.lnp-theme .lnp-subscribe-btn:hover,
body.lnp-theme .lnp-subscribe-btn:focus,
body.lnp-theme button:hover,
body.lnp-theme button:focus { color: inherit; }
body.lnp-theme .lnp-search-btn:hover { color: var(--lnp-coral) !important; }
body.lnp-theme .lnp-lang-btn:hover { color: var(--lnp-coral) !important; }
body.lnp-theme .lnp-subscribe-btn:hover { color: #fff !important; }

/* ============================================================
   CONTAINER
   ============================================================ */
.lnp-container { max-width: 1140px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* ============================================================
   HEADER
   ============================================================ */
.lnp-site-header { position: sticky; top: 0; z-index: 100; background: var(--lnp-bg); }
.lnp-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.lnp-logo a { font-family: var(--lnp-font-body); font-size: 22px; font-weight: 700; color: var(--lnp-dark); display: flex; align-items: center; gap: 8px; }
.lnp-logo a span { color: var(--lnp-coral); }
.lnp-logo__img { height: 36px; width: auto; display: block; }
.lnp-header-actions { display: flex; align-items: center; gap: 10px; }

/* Hamburger — hidden on desktop */
.lnp-hamburger { display: none; width: 36px; height: 36px; padding: 8px 6px; border: none; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; }
.lnp-hamburger span { display: block; height: 2px; background: var(--lnp-dark); border-radius: 2px; transition: all 0.3s ease; }
.lnp-hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lnp-hamburger.is-active span:nth-child(2) { opacity: 0; }
.lnp-hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search close button */
.lnp-search-close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; color: var(--lnp-text-hint); cursor: pointer; padding: 4px 8px; line-height: 1; display: none; }
.lnp-search-wrap.is-open .lnp-search-close { display: block; }

/* Search button + expandable form */
.lnp-search-wrap { position: relative; display: flex; align-items: center; }
.lnp-search-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--lnp-text-secondary); padding: 8px 16px; border-radius: var(--lnp-radius-pill); border: 1.5px solid var(--lnp-border); background: transparent; cursor: pointer; font-family: var(--lnp-font-body); transition: all var(--lnp-transition); text-decoration: none; }
.lnp-search-btn:hover { border-color: var(--lnp-coral); color: var(--lnp-coral); }
.lnp-search-btn svg { width: 16px; height: 16px; }
.lnp-search-form { position: absolute; right: 0; top: 50%; transform: translateY(-50%); overflow: hidden; width: 0; opacity: 0; transition: width 0.35s ease, opacity 0.25s ease; pointer-events: none; }
.lnp-search-wrap.is-open .lnp-search-form { width: 240px; opacity: 1; pointer-events: auto; }
.lnp-search-wrap.is-open .lnp-search-btn { opacity: 0; pointer-events: none; }
.lnp-search-input { width: 100%; padding: 9px 40px 9px 18px; border: 1.5px solid var(--lnp-coral); border-radius: var(--lnp-radius-pill); font-size: 14px; font-family: var(--lnp-font-body); background: var(--lnp-bg); color: var(--lnp-text); outline: none; }

/* Polylang language switcher */
.lnp-lang-switcher { position: relative; }
.lnp-lang-btn { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500; color: var(--lnp-text-secondary); padding: 6px 12px; border-radius: var(--lnp-radius-pill); border: 1.5px solid var(--lnp-border); background: transparent; cursor: pointer; font-family: var(--lnp-font-body); transition: all var(--lnp-transition); }
.lnp-lang-btn:hover { border-color: var(--lnp-coral); color: var(--lnp-coral); }
.lnp-lang-btn img { border-radius: 2px; }
.lnp-lang-dropdown { position: absolute; top: calc(100% + 6px); right: 0; background: var(--lnp-bg); border: 1px solid var(--lnp-border); border-radius: 10px; padding: 6px; min-width: 140px; display: none; z-index: 200; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.lnp-lang-switcher.is-open .lnp-lang-dropdown { display: block; }
.lnp-lang-option { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; font-size: 13px; color: var(--lnp-text); text-decoration: none; transition: background var(--lnp-transition); }
.lnp-lang-option:hover { background: var(--lnp-bg-soft); }
.lnp-lang-option img { border-radius: 2px; }
.lnp-search-btn svg { width: 16px; height: 16px; }

/* ============================================================
   CONTENT CONSTRAINT — Non-homepage pages (articles, pages, search, contact)
   ============================================================ */
body.lnp-theme:not(.lnp-homepage) .site-main > article > .entry-content,
body.lnp-theme:not(.lnp-homepage) .site-main > .page > .entry-content,
body.lnp-theme:not(.lnp-homepage) .site-main > article,
body.lnp-theme:not(.lnp-homepage) .site-main > .page {
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 2rem 24px !important;
}
body.lnp-theme:not(.lnp-homepage) .entry-content p { font-size: 16px; line-height: 1.75; margin-bottom: 1.25rem; }
body.lnp-theme:not(.lnp-homepage) .entry-content h1 { font-family: var(--lnp-font-display); font-size: 32px; margin-bottom: 1rem; }
body.lnp-theme:not(.lnp-homepage) .entry-content h2 { font-family: var(--lnp-font-display); font-size: 24px; margin: 2rem 0 0.75rem; }
body.lnp-theme:not(.lnp-homepage) .entry-content h3 { font-family: var(--lnp-font-display); font-size: 20px; margin: 1.5rem 0 0.5rem; }
body.lnp-theme:not(.lnp-homepage) .entry-content img { border-radius: var(--lnp-radius); max-width: 100%; height: auto; }
body.lnp-theme:not(.lnp-homepage) .entry-content blockquote { border-left: 3px solid var(--lnp-coral); margin: 1.5rem 0; padding: 1rem 1.5rem; background: var(--lnp-bg-soft); border-radius: 0 var(--lnp-radius) var(--lnp-radius) 0; font-style: italic; color: var(--lnp-text-secondary); }
body.lnp-theme:not(.lnp-homepage) .entry-content input[type="text"],
body.lnp-theme:not(.lnp-homepage) .entry-content input[type="email"],
body.lnp-theme:not(.lnp-homepage) .entry-content textarea,
body.lnp-theme:not(.lnp-homepage) .entry-content select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--lnp-border); border-radius: 10px; font-family: var(--lnp-font-body); font-size: 14px; transition: border-color var(--lnp-transition); outline: none; }
body.lnp-theme:not(.lnp-homepage) .entry-content input:focus,
body.lnp-theme:not(.lnp-homepage) .entry-content textarea:focus { border-color: var(--lnp-coral); }
body.lnp-theme:not(.lnp-homepage) .entry-content input[type="submit"],
body.lnp-theme:not(.lnp-homepage) .wpcf7-submit { background: var(--lnp-coral); color: #fff; padding: 12px 28px; border: none; border-radius: var(--lnp-radius-pill); font-size: 14px; font-weight: 600; font-family: var(--lnp-font-body); cursor: pointer; transition: all var(--lnp-transition); }
body.lnp-theme:not(.lnp-homepage) .entry-content input[type="submit"]:hover,
body.lnp-theme:not(.lnp-homepage) .wpcf7-submit:hover { background: var(--lnp-coral-hover); }
/* Page title for non-homepage */
body.lnp-theme:not(.lnp-homepage) .entry-header { display: block !important; max-width: 800px; margin: 2rem auto 0; padding: 0 24px; }
body.lnp-theme:not(.lnp-homepage) .entry-title { font-family: var(--lnp-font-display); font-size: 34px; color: var(--lnp-dark); }

.lnp-subscribe-btn { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: #fff; padding: 8px 20px; border-radius: var(--lnp-radius-pill); background: var(--lnp-coral); border: none; cursor: pointer; font-family: var(--lnp-font-body); transition: all var(--lnp-transition); }
.lnp-subscribe-btn:hover { background: var(--lnp-coral-hover); color: #fff; }
.lnp-header-divider { height: 1px; background: var(--lnp-border); }

/* ============================================================
   CATEGORY PILLS NAV
   ============================================================ */
.lnp-categories-nav { display: flex; gap: 8px; padding: 12px 0 20px; flex-wrap: wrap; }
.lnp-cat-pill { font-size: 12px; font-weight: 600; padding: 7px 18px; border-radius: var(--lnp-radius-pill); text-decoration: none; border: none; transition: all var(--lnp-transition); cursor: pointer; display: inline-block; line-height: 1.4; }
.lnp-cat-pill:hover { transform: translateY(-1px); filter: brightness(0.96); }
.lnp-cat-pill[aria-current="page"] { box-shadow: 0 0 0 2px currentColor; }
.lnp-cat-pill--grossesse { background: var(--lnp-pink-light); color: var(--lnp-pink); }
.lnp-cat-pill--premiers-soins { background: var(--lnp-blue-light); color: var(--lnp-blue); }
.lnp-cat-pill--developpement { background: var(--lnp-sage-light); color: var(--lnp-sage-dark); }
.lnp-cat-pill--education-positive { background: var(--lnp-coral-light); color: var(--lnp-coral); }
.lnp-cat-pill--alimentation { background: var(--lnp-amber-light); color: var(--lnp-amber); }
.lnp-cat-pill--sommeil { background: var(--lnp-lavender-light); color: var(--lnp-lavender-dark); }
.lnp-cat-pill--activites { background: var(--lnp-rose-light); color: var(--lnp-rose); }
.lnp-cat-pill--vie-de-famille { background: var(--lnp-teal-light); color: var(--lnp-teal); }
.lnp-cat-pill--default { background: var(--lnp-bg-soft); color: var(--lnp-text-secondary); border: 1.5px solid var(--lnp-border); }
.lnp-cat-pill--default:hover { border-color: var(--lnp-coral); color: var(--lnp-coral); }

/* ============================================================
   HERO BENTO
   ============================================================ */
.lnp-hero { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 200px 200px; gap: 14px; margin-bottom: 3rem; }
.lnp-hero-card { border-radius: var(--lnp-radius); overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; cursor: pointer; transition: transform 0.4s cubic-bezier(0.25,0.1,0.25,1), box-shadow 0.4s cubic-bezier(0.25,0.1,0.25,1); }
.lnp-hero-card:hover { transform: translateY(-6px); box-shadow: 0 14px 36px rgba(15,15,35,0.18); }
.lnp-hero-card a { color: inherit; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.lnp-hero-card--main { grid-row: 1 / 3; }
.lnp-hero-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; border-radius: 0; transition: transform 0.5s cubic-bezier(0.25,0.1,0.25,1); }
.lnp-hero-card:hover .lnp-hero-card__img { transform: scale(1.05); }
.lnp-hero-card__overlay { position: absolute; inset: 0; z-index: 1; }
.lnp-hero-card--has-image .lnp-hero-card__overlay { background: linear-gradient(to top, rgba(15,15,35,0.82) 0%, rgba(15,15,35,0.55) 35%, rgba(15,15,35,0.15) 65%, transparent 100%) !important; }
.lnp-hero-card--has-image .lnp-hero-card__title,
.lnp-hero-card--has-image .lnp-hero-card__excerpt { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.lnp-hero-card__content { position: relative; z-index: 2; }
.lnp-hero-card__badge { font-size: 11px; font-weight: 700; letter-spacing: 0.03em; padding: 4px 12px; border-radius: var(--lnp-radius-pill); background: rgba(255,255,255,0.85); color: var(--lnp-dark); display: inline-block; margin-bottom: 10px; width: fit-content; }
.lnp-hero-card__title { font-family: var(--lnp-font-display); color: var(--lnp-dark); line-height: 1.22; margin: 0; }
.lnp-hero-card--main .lnp-hero-card__title { font-size: 26px; margin-bottom: 8px; }
.lnp-hero-card--secondary .lnp-hero-card__title { font-size: 17px; }
.lnp-hero-card__excerpt { font-size: 13.5px; color: rgba(26,26,46,0.65); line-height: 1.55; margin: 0; }
.lnp-hero-card__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--lnp-coral); padding: 9px 20px; background: #fff; border-radius: var(--lnp-radius-pill); width: fit-content; transition: all var(--lnp-transition); }
.lnp-hero-card__cta:hover { background: var(--lnp-coral); color: #fff; }

/* ============================================================
   SECTIONS
   ============================================================ */
.lnp-section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.25rem; padding-top: 0.5rem; }
.lnp-section-title { font-family: var(--lnp-font-display); font-size: 24px; color: var(--lnp-dark); margin: 0; }
.lnp-section-link { font-size: 13px; font-weight: 600; color: var(--lnp-coral); }
.lnp-section-link:hover { color: var(--lnp-coral-hover); }

/* ============================================================
   TRENDING
   ============================================================ */
.lnp-trending { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 3rem; }
.lnp-trending-card { display: flex; gap: 14px; align-items: center; padding: 1rem 1.15rem; border-radius: var(--lnp-radius); background: var(--lnp-bg-soft); cursor: pointer; transition: all var(--lnp-transition); text-decoration: none; color: inherit; }
.lnp-trending-card:hover { background: var(--lnp-coral-light); }
.lnp-trending-num { font-family: var(--lnp-font-display); font-size: 28px; color: var(--lnp-coral); opacity: 0.7; min-width: 36px; flex-shrink: 0; }
.lnp-trending-title { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--lnp-text); margin: 0; }
.lnp-trending-cat { font-size: 11px; color: var(--lnp-text-hint); margin-top: 3px; }

/* ============================================================
   ARTICLES GRID
   ============================================================ */
.lnp-articles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 3rem; }
.lnp-article-card { border-radius: var(--lnp-radius); overflow: hidden; border: 1px solid var(--lnp-border); background: var(--lnp-bg); cursor: pointer; transition: all var(--lnp-transition); }
.lnp-article-card:hover { border-color: var(--lnp-coral); transform: translateY(-4px); }
.lnp-article-card a { text-decoration: none; color: inherit; display: block; }
.lnp-article-card__img { width: 100%; height: 170px; object-fit: cover; display: block; border-radius: 0; }
.lnp-article-card__img-placeholder { width: 100%; height: 170px; }
.lnp-article-card__body { padding: 1rem 1.15rem 1.25rem; }
.lnp-article-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.lnp-article-card__tag { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: var(--lnp-radius-pill); line-height: 1.4; }
.lnp-article-card__date { font-size: 11px; color: var(--lnp-text-hint); }
.lnp-article-card__title { font-family: var(--lnp-font-display); font-size: 16px; line-height: 1.35; color: var(--lnp-text); margin: 0 0 6px; }
.lnp-article-card__excerpt { font-size: 13px; color: var(--lnp-text-secondary); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }

/* ============================================================
   NEWSLETTER
   ============================================================ */
.lnp-newsletter { border-radius: var(--lnp-radius); padding: 3rem 2rem; text-align: center; background: var(--lnp-coral-light); margin-bottom: 3rem; position: relative; overflow: hidden; }
.lnp-newsletter::before { content: ""; position: absolute; top: -50px; right: -50px; width: 200px; height: 200px; border-radius: 50%; background: rgba(232,117,106,0.1); }
.lnp-newsletter::after { content: ""; position: absolute; bottom: -70px; left: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(74,144,217,0.06); }
.lnp-newsletter__title { font-family: var(--lnp-font-display); font-size: 26px; color: var(--lnp-dark); margin: 0 0 8px; position: relative; z-index: 1; }
.lnp-newsletter__subtitle { font-size: 14px; color: rgba(26,26,46,0.55); margin: 0 0 1.5rem; position: relative; z-index: 1; }
/* Style nested Brevo or default form within newsletter */
.lnp-newsletter__form-inner { display: flex; gap: 8px; width: 100%; }
.lnp-newsletter__form-inner input[type="email"] { flex: 1; padding: 12px 20px; border-radius: var(--lnp-radius-pill); border: 1.5px solid rgba(0,0,0,0.08); font-size: 14px; font-family: var(--lnp-font-body); background: #fff; color: var(--lnp-text); outline: none; }
.lnp-newsletter__form-inner input[type="email"]:focus { border-color: var(--lnp-coral); }
.lnp-newsletter__form-inner button { padding: 12px 28px; border-radius: var(--lnp-radius-pill); background: var(--lnp-coral); color: #fff; border: none; font-size: 14px; font-weight: 600; cursor: pointer; font-family: var(--lnp-font-body); transition: all var(--lnp-transition); white-space: nowrap; }
.lnp-newsletter__form-inner button:hover { background: var(--lnp-coral-hover); }

/* ============================================================
   NEWSLETTER MODAL
   ============================================================ */
.lnp-modal-overlay { position: fixed; inset: 0; z-index: 9999; background: rgba(15,15,35,0.45); display: none; align-items: center; justify-content: center; padding: 24px; opacity: 0; transition: opacity 0.3s ease; }
.lnp-modal-overlay.is-open { display: flex; opacity: 1; }
.lnp-modal { background: var(--lnp-bg); border-radius: 20px; padding: 2.5rem 2rem; max-width: 440px; width: 100%; position: relative; text-align: center; animation: lnpModalIn 0.35s ease; }
@keyframes lnpModalIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.lnp-modal__close { position: absolute; top: 14px; right: 14px; background: none; border: none; font-size: 24px; color: var(--lnp-text-hint); cursor: pointer; padding: 4px 10px; line-height: 1; border-radius: 8px; transition: all var(--lnp-transition); }
.lnp-modal__close:hover { background: var(--lnp-bg-soft); color: var(--lnp-text); }
.lnp-modal__icon { margin-bottom: 1rem; }
.lnp-modal__title { font-family: var(--lnp-font-display); font-size: 24px; color: var(--lnp-dark); margin: 0 0 8px; }
.lnp-modal__subtitle { font-size: 14px; color: var(--lnp-text-secondary); margin: 0 0 1.5rem; line-height: 1.55; }
.lnp-modal__form { margin-bottom: 1rem; }
/* Default placeholder form in modal */
.lnp-modal__form-default { display: flex; gap: 8px; }
.lnp-modal__form-default input[type="email"] { flex: 1; padding: 12px 18px; border-radius: var(--lnp-radius-pill); border: 1.5px solid var(--lnp-border); font-size: 14px; font-family: var(--lnp-font-body); outline: none; color: var(--lnp-text); transition: border-color var(--lnp-transition); }
.lnp-modal__form-default input[type="email"]:focus { border-color: var(--lnp-coral); }
.lnp-modal__form-default button { padding: 12px 24px; border-radius: var(--lnp-radius-pill); background: var(--lnp-coral); color: #fff; border: none; font-size: 14px; font-weight: 600; font-family: var(--lnp-font-body); cursor: pointer; transition: all var(--lnp-transition); white-space: nowrap; }
.lnp-modal__form-default button:hover { background: var(--lnp-coral-hover); }
/* Style any Brevo embedded form in modal */
.lnp-modal__form .sib-form { text-align: left; }
.lnp-modal__form p { margin: 0 0 10px; }
.lnp-modal__form p:last-child { margin-bottom: 0; }
/* Hide only the label text before the input, not success messages */
.lnp-modal__form p.sib-email-area { font-size: 0; }
.lnp-modal__form p.sib-email-area input { font-size: 14px; }
.lnp-modal__form .sib_signup_box_inside_1 > .sib_msg_disp:empty { display: none; }
.lnp-modal__form .sib_signup_box_inside_1 > p { margin: 0 0 10px; }
.lnp-modal__form .sib_loader { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.lnp-modal__form form label { display: none !important; }
/* Brevo success/error messages */
.lnp-modal__form .sib-container--medium,
.lnp-modal__form div[style*="background-color"],
.lnp-modal__form .sib-form-message-panel { font-size: 14px !important; padding: 12px 16px; border-radius: 10px; margin-bottom: 10px; line-height: 1.5; }
.lnp-modal__form .sib-form-message-panel__text { font-size: 14px !important; color: var(--lnp-sage-dark) !important; }
.lnp-modal__form .sib-alert-message { font-size: 14px !important; border-radius: 10px !important; text-align: center; }
.lnp-modal__form .sib-alert-message-success { background: #E1F5EE !important; border-color: #5DCAA5 !important; color: var(--lnp-sage-dark) !important; }
.lnp-modal__form input[type="email"],
.lnp-modal__form input.sib-email-area { width: 100%; padding: 13px 20px; border-radius: var(--lnp-radius-pill); border: 1.5px solid var(--lnp-border); font-size: 14px; font-family: var(--lnp-font-body); outline: none; color: var(--lnp-text); background: var(--lnp-bg); transition: border-color var(--lnp-transition); box-sizing: border-box; }
.lnp-modal__form input[type="email"]:focus,
.lnp-modal__form input.sib-email-area:focus { border-color: var(--lnp-coral); }
.lnp-modal__form input[type="submit"],
.lnp-modal__form .sib-default-btn,
.lnp-modal__form .sib-form-block__button { width: 100%; padding: 13px 24px; border-radius: var(--lnp-radius-pill); background: var(--lnp-coral); color: #fff !important; border: none; font-size: 14px; font-weight: 600; font-family: var(--lnp-font-body); cursor: pointer; transition: all var(--lnp-transition); }
.lnp-modal__form input[type="submit"]:hover,
.lnp-modal__form .sib-default-btn:hover { background: var(--lnp-coral-hover); }
/* Hide Brevo default labels in modal (we have our own subtitle) */
.lnp-modal__form p.sib-email-area > br,
.lnp-modal__form label { display: none; }
/* Force Brevo form in newsletter section - horizontal layout */
.lnp-newsletter__form { max-width: 480px; margin: 0 auto; position: relative; z-index: 1; }
/* Target Brevo inner box as flex row */
.lnp-newsletter__form .sib_signup_box_inside_1 { display: flex !important; flex-direction: row !important; gap: 8px; align-items: center; flex-wrap: wrap; }
/* Message area takes full width on its own row */
.lnp-newsletter__form .sib_signup_box_inside_1 > .sib_msg_disp { flex-basis: 100%; }
.lnp-newsletter__form .sib_signup_box_inside_1 > .sib_msg_disp:empty { display: none !important; padding: 0; margin: 0; }
/* Email paragraph: flex grow, hide label text */
.lnp-newsletter__form .sib_signup_box_inside_1 > p.sib-email-area { flex: 1 1 auto; margin: 0 !important; min-width: 0; }
.lnp-newsletter__form p.sib-email-area { font-size: 0 !important; line-height: 0; }
/* Submit paragraph: no grow */
.lnp-newsletter__form .sib_signup_box_inside_1 > p:not(.sib-email-area):not(.sib-alert-message) { flex: 0 0 auto; margin: 0 !important; }
/* Email input */
.lnp-newsletter__form input[type="email"].sib-email-area { width: 100% !important; padding: 13px 20px !important; border-radius: var(--lnp-radius-pill) !important; border: 1.5px solid rgba(0,0,0,0.08) !important; font-size: 14px !important; font-family: var(--lnp-font-body) !important; background: #fff !important; color: var(--lnp-text) !important; outline: none; box-sizing: border-box !important; display: block !important; }
.lnp-newsletter__form input[type="email"]:focus { border-color: var(--lnp-coral) !important; }
/* Submit button */
.lnp-newsletter__form input[type="submit"].sib-default-btn { padding: 13px 28px !important; border-radius: var(--lnp-radius-pill) !important; background: var(--lnp-coral) !important; color: #fff !important; border: none !important; font-size: 14px !important; font-weight: 600 !important; font-family: var(--lnp-font-body) !important; cursor: pointer; transition: all var(--lnp-transition); white-space: nowrap; display: block !important; }
.lnp-newsletter__form input[type="submit"]:hover { background: var(--lnp-coral-hover) !important; }
/* Hide form extras */
.lnp-newsletter__form .sib_loader { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.lnp-newsletter__form form label { display: none !important; }
/* Brevo alert messages */
.lnp-newsletter__form .sib-alert-message { font-size: 14px !important; border-radius: 10px !important; width: 100%; text-align: center; flex-basis: 100%; }
.lnp-newsletter__form .sib-alert-message-success { background: #E1F5EE !important; border-color: #5DCAA5 !important; color: var(--lnp-sage-dark) !important; }
.lnp-modal__privacy { font-size: 12px; color: var(--lnp-text-hint); margin: 0; }
.lnp-modal__privacy a { color: var(--lnp-text-secondary); text-decoration: underline; }
.lnp-modal__privacy a:hover { color: var(--lnp-coral); }

/* ============================================================
   FOOTER
   ============================================================ */
.lnp-site-footer { background: var(--lnp-bg); }
.lnp-footer { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; border-top: 1px solid var(--lnp-border); font-size: 12px; color: var(--lnp-text-hint); }
.lnp-footer-links { display: flex; gap: 20px; }
.lnp-footer-links a { color: var(--lnp-text-secondary); font-size: 12px; }
.lnp-footer-links a:hover { color: var(--lnp-coral); }

/* ============================================================
   GENERIC CONTENT PAGES (articles, pages, search, archives)
   ============================================================ */
.lnp-content-wrap { max-width: 760px; margin: 2rem auto 3rem; padding: 0 24px; }
.lnp-content-wrap h1 { font-size: 32px; margin-bottom: 1rem; }
.lnp-content-wrap h2 { font-size: 24px; margin: 2rem 0 0.75rem; }
.lnp-content-wrap h3 { font-size: 20px; margin: 1.5rem 0 0.5rem; }
.lnp-content-wrap p { font-size: 16px; line-height: 1.75; margin-bottom: 1.25rem; color: var(--lnp-text); }
.lnp-content-wrap img { border-radius: var(--lnp-radius); max-width: 100%; height: auto; margin: 1.5rem 0; }
.lnp-content-wrap ul, .lnp-content-wrap ol { margin: 0 0 1.25rem 1.5rem; line-height: 1.75; }
.lnp-content-wrap blockquote { border-left: 3px solid var(--lnp-coral); margin: 1.5rem 0; padding: 1rem 1.5rem; background: var(--lnp-bg-soft); border-radius: 0 var(--lnp-radius) var(--lnp-radius) 0; font-style: italic; color: var(--lnp-text-secondary); }

/* ============================================================
   SINGLE ARTICLE
   ============================================================ */

/* Hero image */
.lnp-single-hero { max-width: 900px; margin: 0 auto 2rem; padding: 0 24px; }
.lnp-single-hero__img-wrap { border-radius: var(--lnp-radius); overflow: hidden; aspect-ratio: 16 / 8; }
.lnp-single-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0; }

/* Article wrapper */
.lnp-single { padding-bottom: 2rem; }
.lnp-single__header { max-width: 720px; margin: 0 auto 2rem; text-align: center; }
.lnp-single__cat { display: inline-block; font-size: 12px; font-weight: 600; padding: 5px 16px; border-radius: var(--lnp-radius-pill); text-decoration: none; margin-bottom: 16px; transition: all var(--lnp-transition); }
.lnp-single__cat:hover { filter: brightness(0.92); }
.lnp-single__title { font-family: var(--lnp-font-display); font-size: 36px; line-height: 1.2; color: var(--lnp-dark); margin: 0 0 16px; }
.lnp-single__meta { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--lnp-text-hint); }
.lnp-single__sep { opacity: 0.4; }

/* Article content */
.lnp-single__content { max-width: 720px; margin: 0 auto; }
.lnp-single__content p { font-size: 16.5px; line-height: 1.8; margin-bottom: 1.35rem; color: var(--lnp-text); }
.lnp-single__content h2 { font-family: var(--lnp-font-display); font-size: 26px; color: var(--lnp-dark); margin: 2.5rem 0 0.75rem; padding-top: 0.5rem; }
.lnp-single__content h3 { font-family: var(--lnp-font-display); font-size: 21px; color: var(--lnp-dark); margin: 2rem 0 0.5rem; }
.lnp-single__content h4 { font-family: var(--lnp-font-body); font-size: 17px; font-weight: 700; color: var(--lnp-dark); margin: 1.5rem 0 0.5rem; }
.lnp-single__content a { color: var(--lnp-coral); text-decoration: underline; text-underline-offset: 2px; }
.lnp-single__content a:hover { color: var(--lnp-coral-hover); }
.lnp-single__content img { border-radius: var(--lnp-radius); max-width: 100%; height: auto; margin: 1.5rem 0; }
.lnp-single__content ul, .lnp-single__content ol { margin: 0 0 1.35rem 1.5rem; font-size: 16px; line-height: 1.8; }
.lnp-single__content li { margin-bottom: 0.4rem; }
.lnp-single__content blockquote { border-left: 3px solid var(--lnp-coral); margin: 2rem 0; padding: 1.25rem 1.75rem; background: var(--lnp-bg-soft); border-radius: 0 var(--lnp-radius) var(--lnp-radius) 0; font-style: italic; color: var(--lnp-text-secondary); font-size: 17px; line-height: 1.7; }
.lnp-single__content hr { border: none; height: 1px; background: var(--lnp-border); margin: 2.5rem 0; }
.lnp-single__content .wp-caption { max-width: 100%; margin: 1.5rem 0; }
.lnp-single__content .wp-caption-text { font-size: 13px; color: var(--lnp-text-hint); text-align: center; margin-top: 8px; }
.lnp-single__content figure { margin: 1.5rem 0; }
.lnp-single__content figcaption { font-size: 13px; color: var(--lnp-text-hint); text-align: center; margin-top: 8px; }

/* Tables */
.lnp-single__content table,
.lnp-content-wrap table,
.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--lnp-border);
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    font-size: 14px;
}
.lnp-single__content thead,
.lnp-content-wrap thead,
.entry-content thead {
    background: var(--lnp-bg-soft);
}
.lnp-single__content th,
.lnp-content-wrap th,
.entry-content th {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lnp-text-secondary);
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--lnp-border);
}
.lnp-single__content td,
.lnp-content-wrap td,
.entry-content td {
    padding: 12px 16px;
    color: var(--lnp-text);
    border-bottom: 1px solid var(--lnp-border);
    line-height: 1.5;
}
.lnp-single__content tr:last-child td,
.lnp-content-wrap tr:last-child td,
.entry-content tr:last-child td {
    border-bottom: none;
}
.lnp-single__content tbody tr:hover,
.lnp-content-wrap tbody tr:hover,
.entry-content tbody tr:hover {
    background: rgba(232, 117, 106, 0.04);
}

/* Tags */
.lnp-single__tags { max-width: 720px; margin: 2rem auto; padding-top: 1.5rem; border-top: 1px solid var(--lnp-border); display: flex; gap: 8px; flex-wrap: wrap; }
.lnp-single__tag { font-size: 13px; font-weight: 500; color: var(--lnp-text-secondary); padding: 5px 14px; border-radius: var(--lnp-radius-pill); background: var(--lnp-bg-soft); text-decoration: none; transition: all var(--lnp-transition); }
.lnp-single__tag:hover { background: var(--lnp-coral-light); color: var(--lnp-coral); }

/* Post navigation */
.lnp-single__nav { max-width: 720px; margin: 2rem auto 0; padding-top: 2rem; border-top: 1px solid var(--lnp-border); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lnp-single__nav-link { padding: 1.25rem; border-radius: var(--lnp-radius); background: var(--lnp-bg-soft); text-decoration: none; transition: all var(--lnp-transition); display: flex; flex-direction: column; gap: 6px; }
.lnp-single__nav-link:hover { background: var(--lnp-coral-light); }
.lnp-single__nav-link--next { text-align: right; }
.lnp-single__nav-label { font-size: 12px; font-weight: 600; color: var(--lnp-coral); }
.lnp-single__nav-title { font-family: var(--lnp-font-display); font-size: 15px; color: var(--lnp-dark); line-height: 1.35; }

/* ============================================================
   SEARCH PAGE HEADER
   ============================================================ */
.lnp-page-header { padding: 2.5rem 0 1.5rem; }
.lnp-page-header__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.lnp-page-header__label { font-size: 13px; font-weight: 600; color: var(--lnp-coral); text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 8px; }
.lnp-page-header__title { font-family: var(--lnp-font-display); font-size: 30px; color: var(--lnp-dark); margin: 0 0 1.25rem; line-height: 1.25; }
.lnp-page-header__count { font-size: 14px; color: var(--lnp-text-hint); margin: 1rem 0 0; }

/* Search form on search page */
.lnp-page-search { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.lnp-page-search__input { flex: 1; padding: 13px 22px; border-radius: var(--lnp-radius-pill); border: 1.5px solid var(--lnp-border); font-size: 15px; font-family: var(--lnp-font-body); background: var(--lnp-bg); color: var(--lnp-text); outline: none; transition: border-color var(--lnp-transition); }
.lnp-page-search__input:focus { border-color: var(--lnp-coral); }
.lnp-page-search__btn { padding: 13px 28px; border-radius: var(--lnp-radius-pill); background: var(--lnp-coral); color: #fff; border: none; font-size: 14px; font-weight: 600; font-family: var(--lnp-font-body); cursor: pointer; transition: all var(--lnp-transition); white-space: nowrap; }
.lnp-page-search__btn:hover { background: var(--lnp-coral-hover); }

/* ============================================================
   ARCHIVE PAGE HEADER (categories, tags)
   ============================================================ */
.lnp-archive-header { padding: 2.5rem 0; margin-bottom: 0.5rem; border-radius: 0 0 var(--lnp-radius) var(--lnp-radius); }
.lnp-archive-header__inner { max-width: 640px; }
.lnp-archive-header__label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lnp-dark); opacity: 0.5; margin: 0 0 6px; display: block; }
.lnp-archive-header__title { font-family: var(--lnp-font-display); font-size: 34px; color: var(--lnp-dark); margin: 0 0 8px; line-height: 1.2; }
.lnp-archive-header__desc { font-size: 15px; color: var(--lnp-text-secondary); margin: 0 0 6px; line-height: 1.6; }
.lnp-archive-header__count { font-size: 13px; color: var(--lnp-text-hint); margin: 0; }

/* ============================================================
   PAGINATION
   ============================================================ */
.lnp-pagination { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 1rem 0 3rem; flex-wrap: wrap; }
.lnp-pagination a,
.lnp-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--lnp-radius-pill); font-size: 14px; font-weight: 500; color: var(--lnp-text-secondary); text-decoration: none; transition: all var(--lnp-transition); }
.lnp-pagination a:hover { background: var(--lnp-coral-light); color: var(--lnp-coral); }
.lnp-pagination .current { background: var(--lnp-coral); color: #fff; }
.lnp-pagination .prev,
.lnp-pagination .next { font-size: 13px; font-weight: 600; color: var(--lnp-coral); }
.lnp-pagination .dots { color: var(--lnp-text-hint); }

/* ============================================================
   EMPTY STATE (no results)
   ============================================================ */
.lnp-empty-state { text-align: center; padding: 4rem 2rem 5rem; max-width: 480px; margin: 0 auto; }
.lnp-empty-state__icon { margin-bottom: 1.5rem; }
.lnp-empty-state__title { font-family: var(--lnp-font-display); font-size: 24px; color: var(--lnp-dark); margin: 0 0 0.75rem; }
.lnp-empty-state__text { font-size: 15px; color: var(--lnp-text-secondary); line-height: 1.6; margin: 0 0 1.5rem; }
.lnp-empty-state__btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 26px; background: var(--lnp-coral); color: #fff; border-radius: var(--lnp-radius-pill); font-size: 14px; font-weight: 600; text-decoration: none; transition: all var(--lnp-transition); }
.lnp-empty-state__btn:hover { background: var(--lnp-coral-hover); color: #fff; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.lnp-fade-in { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.lnp-fade-in.is-visible { opacity: 1; transform: translateY(0); }
.lnp-articles-grid .lnp-article-card:nth-child(1) { transition-delay: 0s; }
.lnp-articles-grid .lnp-article-card:nth-child(2) { transition-delay: 0.08s; }
.lnp-articles-grid .lnp-article-card:nth-child(3) { transition-delay: 0.16s; }
.lnp-articles-grid .lnp-article-card:nth-child(4) { transition-delay: 0.24s; }
.lnp-articles-grid .lnp-article-card:nth-child(5) { transition-delay: 0.32s; }
.lnp-articles-grid .lnp-article-card:nth-child(6) { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .lnp-hero { grid-template-columns: 1fr; grid-template-rows: 280px 170px 170px; }
    .lnp-hero-card--main { grid-row: auto; }
    .lnp-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lnp-trending { grid-template-columns: 1fr; }
}
/* Tablet */
@media (max-width: 768px) {
    .lnp-hamburger { display: flex; }
    .lnp-subscribe-btn__text { display: none; }
    .lnp-subscribe-btn::before { content: "♡"; font-size: 16px; }
    .lnp-subscribe-btn { padding: 8px 12px; }
    .lnp-categories-nav { display: none; padding: 16px 0; flex-direction: column; gap: 6px; }
    .lnp-categories-nav.is-open { display: flex; }
    .lnp-cat-pill { text-align: center; }
}

@media (max-width: 600px) {
    .lnp-container { padding: 0 16px; }
    .lnp-header { gap: 8px; }
    .lnp-logo__img { height: 30px; }
    .lnp-logo a { font-size: 18px; }

    /* Mobile search: full-width overlay */
    .lnp-search-wrap.is-open .lnp-search-form {
        position: fixed;
        top: 0; left: 0; right: 0;
        width: 100% !important;
        height: 60px;
        transform: none;
        z-index: 999;
        background: var(--lnp-bg);
        display: flex;
        align-items: center;
        padding: 0 16px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        border-radius: 0;
    }
    .lnp-search-wrap.is-open .lnp-search-input {
        border: none;
        border-radius: 0;
        font-size: 16px;
        padding: 0 40px 0 0;
        height: 100%;
    }
    .lnp-search-wrap.is-open .lnp-search-close {
        position: static;
        transform: none;
        font-size: 24px;
        padding: 8px 12px;
        flex-shrink: 0;
    }
    .lnp-search-btn span { display: none; }
    .lnp-search-btn { padding: 8px 12px; }

    /* Grid & content */
    .lnp-hero { grid-template-rows: 240px 150px 150px; gap: 10px; }
    .lnp-hero-card--main .lnp-hero-card__title { font-size: 22px; }
    .lnp-articles-grid { grid-template-columns: 1fr; gap: 16px; }
    .lnp-trending { grid-template-columns: 1fr; }
    .lnp-newsletter { padding: 2rem 1.25rem; }
    .lnp-footer { flex-direction: column; gap: 12px; text-align: center; }
    .lnp-section-title { font-size: 20px; }
    .lnp-content-wrap { padding: 0 16px; }
    .lnp-page-header__title { font-size: 22px; }
    .lnp-page-search { flex-direction: column; }
    .lnp-archive-header__title { font-size: 26px; }
    .lnp-archive-header { padding: 2rem 0; }
    .lnp-single-hero { padding: 0 16px; }
    .lnp-single__title { font-size: 26px; }
    .lnp-single__header { text-align: left; }
    .lnp-single__meta { justify-content: flex-start; }
    .lnp-single__nav { grid-template-columns: 1fr; }
    .lnp-single__nav-link--next { text-align: left; }
    .lnp-lang-btn span { display: none; }
    .lnp-lang-btn svg { display: none; }
    .lnp-modal { padding: 2rem 1.25rem; margin: 16px; }
    .lnp-modal__form-default { flex-direction: column; }
    .lnp-modal__form-default button { width: 100%; }
    .lnp-newsletter__form-inner { flex-direction: column; }
    .lnp-newsletter__form .sib_signup_box_inside_1 { flex-direction: column !important; }
    .lnp-newsletter__form .sib_signup_box_inside_1 > p.sib-email-area { flex: none; width: 100%; }
    .lnp-newsletter__form input[type="submit"].sib-default-btn { width: 100% !important; }
}
