/*
 * KubeCMS core block styles. Themes load this through @cmsHead and can override any rule.
 * Colours come from theme settings: --lp-primary and --lp-accent.
 */
.lp-block { position: relative; }
.lp-block.lp-has-bg { color: inherit; }
.lp-w-contained > .lp-inner { max-width: var(--lp-container, 1140px); margin: 0 auto; padding: 0 20px; }
.lp-w-wide > .lp-inner { max-width: var(--lp-container-wide, 1360px); margin: 0 auto; padding: 0 20px; }
.lp-w-full > .lp-inner { max-width: none; }
.lp-nested > .lp-inner { padding: 0; }

.lp-pad-none { padding-block: 0; }
.lp-pad-sm { padding-block: 12px; }
.lp-pad-md { padding-block: 32px; }
.lp-pad-lg { padding-block: 64px; }
.lp-pad-xl { padding-block: 104px; }
.lp-nested.lp-pad-md { padding-block: 12px; }
.lp-nested.lp-pad-lg, .lp-nested.lp-pad-xl { padding-block: 24px; }

.lp-align-left { text-align: left; }
.lp-align-center { text-align: center; }
.lp-align-right { text-align: right; }

.lp-heading { margin: 0; line-height: 1.2; }
.lp-subtitle { margin: .6em 0 0; opacity: .75; font-size: 1.1rem; }
.lp-section-title { margin-bottom: 1.4em; }
.lp-prose > :first-child { margin-top: 0; }
.lp-prose > :last-child { margin-bottom: 0; }
.lp-prose img { max-width: 100%; height: auto; border-radius: 10px; }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; padding: .8em 1.5em; border-radius: var(--lp-radius, 10px); font-weight: 600; text-decoration: none; border: 2px solid var(--lp-primary); cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; font-size: 1rem; line-height: 1.2; }
.lp-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(0,0,0,.35); }
.lp-btn-primary { background: var(--lp-primary); color: #fff; }
.lp-btn-outline { background: transparent; color: var(--lp-primary); }
.lp-btn-light { background: #fff; color: #111; border-color: #fff; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
.lp-align-center .lp-actions { justify-content: center; }

/* Hero */
.lp-hero { display: flex; align-items: center; padding: 96px 20px; background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff; background-size: cover; background-position: center; position: relative; }
.lp-hero--image { background-color: #111; }
.lp-hero--overlay::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65)); }
.lp-hero-content { position: relative; max-width: var(--lp-container, 1140px); width: 100%; margin: 0 auto; }
.lp-hero.lp-align-center .lp-hero-content { text-align: center; }
.lp-hero.lp-align-center .lp-hero-sub { margin-inline: auto; }
.lp-hero-title { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; margin: 0; letter-spacing: -.02em; }
.lp-hero-sub { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 42rem; opacity: .92; margin: 1.1rem 0 0; }
.lp-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; margin-bottom: 1rem; opacity: .85; }
.lp-hero .lp-btn-outline { color: #fff; border-color: rgba(255,255,255,.8); }
.lp-hero .lp-btn-primary { background: #fff; color: #111; border-color: #fff; }

/* Columns */
.lp-columns { display: grid; gap: 32px; }
@media (max-width: 760px) { .lp-columns--stack { grid-template-columns: 1fr !important; } }

/* Media */
.lp-figure { margin: 0; }
.lp-figure img { display: block; width: 100%; height: auto; }
.lp-figure figcaption { margin-top: .6em; font-size: .88rem; opacity: .7; text-align: center; }
.lp-rounded { border-radius: var(--lp-radius-lg, 16px); }
.lp-gallery { display: grid; gap: 10px; }
.lp-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; transition: transform .2s; }
.lp-gallery a:hover img { transform: scale(1.02); }
@media (max-width: 600px) { .lp-gallery { grid-template-columns: repeat(2, 1fr) !important; } }
.lp-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; }
.lp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lp-divider { border: 0; border-top: 1px solid currentColor; opacity: .18; margin: 0; }

/* Quote */
.lp-quote { margin: 0 auto; max-width: 46rem; padding-left: 1.4em; border-left: 4px solid var(--lp-primary); }
.lp-quote p { font-size: 1.45rem; line-height: 1.45; margin: 0; font-style: italic; }
.lp-quote cite { display: block; margin-top: .8em; font-style: normal; opacity: .7; }

/* Grids & cards */
.lp-grid { display: grid; gap: 24px; grid-template-columns: repeat(var(--lp-cols, 3), minmax(0, 1fr)); }
@media (max-width: 900px) { .lp-grid { grid-template-columns: repeat(min(2, var(--lp-cols, 3)), minmax(0, 1fr)); } }
@media (max-width: 600px) { .lp-grid { grid-template-columns: 1fr; } }
.lp-card { background: var(--lp-card-bg, #fff); color: var(--lp-card-text, inherit); border: 1px solid var(--lp-border, rgba(0,0,0,.08)); border-radius: var(--lp-radius-lg, 16px); padding: 28px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.lp-card h3 { margin: .2em 0 .4em; font-size: 1.2rem; }
.lp-card p { margin: 0; opacity: .78; }
.lp-icon { font-size: 2rem; line-height: 1; margin-bottom: .6rem; }
.lp-testimonial blockquote { margin: 0 0 1.2em; font-size: 1.05rem; line-height: 1.6; }
.lp-testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.lp-testimonial figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.lp-plan { display: flex; flex-direction: column; text-align: center; }
.lp-plan ul { list-style: none; padding: 0; margin: 1.2em 0 1.6em; flex: 1; }
.lp-plan li { padding: .45em 0; border-bottom: 1px dashed var(--lp-border, rgba(0,0,0,.1)); }
.lp-price { font-size: 2.6rem; font-weight: 800; }
.lp-price small { font-size: .95rem; font-weight: 500; opacity: .6; }
.lp-plan--featured { border: 2px solid var(--lp-primary); transform: scale(1.03); box-shadow: 0 20px 40px -20px rgba(0,0,0,.3); }
.lp-post-card { display: block; text-decoration: none; color: inherit; padding: 0; overflow: hidden; transition: transform .15s; }
.lp-post-card:hover { transform: translateY(-3px); }
.lp-post-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.lp-post-card small, .lp-post-card h3, .lp-post-card p { display: block; margin-inline: 22px; }
.lp-post-card small { margin-top: 18px; opacity: .6; }
.lp-post-card p { margin-bottom: 22px; }

/* CTA */
.lp-cta { text-align: center; padding: 56px 28px; border-radius: var(--lp-radius-lg, 20px); background: linear-gradient(135deg, var(--lp-primary), var(--lp-accent)); color: #fff; }
.lp-cta h2 { margin: 0 0 .4em; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.lp-cta p { margin: 0 auto 1.6em; max-width: 36rem; opacity: .92; }

/* FAQ */
.lp-faq { max-width: 50rem; margin: 0 auto; }
.lp-faq details { border-bottom: 1px solid var(--lp-border, rgba(0,0,0,.12)); padding: 1.1em 0; }
.lp-faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1em; }
.lp-faq summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--lp-primary); }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq p { margin: .8em 0 0; opacity: .8; }

/* Language switcher (@languageSwitcher) */
.lp-lang { display: inline-flex; gap: 2px; align-items: center; font-size: .78rem; font-weight: 600; letter-spacing: .04em; }
.lp-lang a { padding: 4px 7px; border-radius: 6px; text-decoration: none; opacity: .65; }
.lp-lang a:hover { opacity: 1; }
.lp-lang a.is-current { opacity: 1; outline: 1px solid currentColor; outline-offset: -1px; }
[dir="rtl"] .lp-quote { border-left: 0; border-right: 4px solid var(--lp-primary); padding-left: 0; padding-right: 1.4em; }

/* Built-in forms (.lp-form) — themes can override these */
.lp-form-wrap { max-width: 720px; margin: 0 auto; }
.lp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 20px; }
.lp-field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lp-field.lp-half { grid-column: span 1; }
@media (max-width: 600px) { .lp-form-grid { grid-template-columns: 1fr; } .lp-field.lp-half { grid-column: 1 / -1; } }
.lp-label { font-weight: 600; font-size: .92rem; }
.lp-req { color: #dc2626; margin-left: 3px; font-weight: 700; }
.lp-form input[type=text], .lp-form input[type=email], .lp-form input[type=tel], .lp-form input[type=number], .lp-form input[type=url], .lp-form input[type=date],
.lp-form select, .lp-form textarea { width: 100%; box-sizing: border-box; font: inherit; padding: 11px 13px; border: 1px solid var(--lp-border, rgba(127,127,127,.35)); border-radius: 10px; background: var(--lp-input-bg, #fff); color: var(--lp-input-text, #111); }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus { outline: 2px solid var(--lp-primary); outline-offset: 1px; border-color: transparent; }
.lp-form input[type=file] { font: inherit; font-size: .9rem; }
.lp-choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.lp-check { display: inline-flex; align-items: flex-start; gap: 8px; cursor: pointer; line-height: 1.4; }
.lp-check input { margin-top: 3px; accent-color: var(--lp-primary); width: 16px; height: 16px; flex: none; }
.lp-help { font-size: .8rem; opacity: .7; }
.lp-error { font-size: .82rem; color: #dc2626; font-weight: 500; }
.lp-field.has-error input, .lp-field.has-error select, .lp-field.has-error textarea { border-color: #dc2626; }
.lp-form-alert { padding: 10px 14px; border-radius: 10px; background: #fef2f2; color: #991b1b; font-size: .9rem; margin-bottom: 16px; }
.lp-form-success { padding: 18px 20px; border-radius: 12px; background: color-mix(in srgb, var(--lp-primary) 12%, transparent); border: 1px solid color-mix(in srgb, var(--lp-primary) 35%, transparent); }
.lp-form-success > :first-child { margin-top: 0; } .lp-form-success > :last-child { margin-bottom: 0; }
.lp-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-form-submit { min-width: 160px; }

/* Multi-level navigation (@include('cms.nav')) — themes set the --lp-sub-* colours */
.lp-nav { display: flex; align-items: center; gap: var(--lp-nav-gap, 22px); list-style: none; margin: 0; padding: 0; }
.lp-nav-item { position: relative; display: flex; align-items: center; }
.lp-nav-link { display: block; color: inherit; text-decoration: none; }
.lp-sub-toggle { background: none; border: 0; color: inherit; cursor: pointer; padding: 4px 3px; margin-left: 1px; font: inherit; font-size: .72em; line-height: 1; opacity: .7; transition: transform .2s; }
.lp-nav-item.is-open > .lp-sub-toggle { transform: rotate(180deg); }
.lp-sub-wrap { position: absolute; top: 100%; left: -14px; padding-top: 10px; display: none; z-index: 80; }
.lp-nav-item:hover > .lp-sub-wrap, .lp-nav-item:focus-within > .lp-sub-wrap, .lp-nav-item.is-open > .lp-sub-wrap { display: block; animation: lp-sub-in .14s ease-out; }
@keyframes lp-sub-in { from { opacity: 0; transform: translateY(-4px); } }
.lp-sub { list-style: none; margin: 0; padding: 7px; min-width: 230px; background: var(--lp-sub-bg, #fff); color: var(--lp-sub-text, #111827); border: 1px solid var(--lp-sub-border, rgba(0, 0, 0, .08)); border-radius: var(--lp-sub-radius, 12px); box-shadow: 0 20px 44px -18px rgba(0, 0, 0, .4); }
.lp-sub .lp-nav-item { display: flex; }
.lp-sub .lp-nav-link { flex: 1; padding: 8px 12px; border-radius: 8px; color: inherit !important; opacity: 1 !important; font-weight: 500; white-space: nowrap; }
.lp-sub .lp-nav-link:hover, .lp-sub .lp-nav-link.is-active, .lp-sub .lp-nav-link:focus-visible { background: var(--lp-sub-hover, rgba(0, 0, 0, .05)); }
.lp-nav-desc { display: block; font-size: .8em; opacity: .62; font-weight: 400; margin-top: 1px; white-space: normal; max-width: 260px; }
.lp-sub .lp-sub-toggle { transform: rotate(-90deg); padding: 8px; }
.lp-sub .lp-nav-item.is-open > .lp-sub-toggle { transform: rotate(90deg); }
.lp-sub .lp-sub-wrap { top: -8px; left: 100%; padding: 0 0 0 6px; }
/* Keep the last dropdowns inside the viewport */
.lp-nav > .lp-nav-item:nth-last-child(-n+2) > .lp-sub-wrap { left: auto; right: -14px; }
.lp-nav > .lp-nav-item:nth-last-child(-n+2) .lp-sub .lp-sub-wrap { left: auto; right: 100%; padding: 0 6px 0 0; }
[dir="rtl"] .lp-sub-wrap { left: auto; right: -14px; }
[dir="rtl"] .lp-sub .lp-sub-wrap { right: 100%; left: auto; padding: 0 6px 0 0; }

/* Stacked (mobile) mode: themes apply .lp-nav-stacked styles inside their mobile breakpoint via these helpers */
.lp-nav-stacked .lp-nav, .lp-nav.lp-nav-stacked { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
.lp-nav-stacked .lp-nav-item { flex-wrap: wrap; }
.lp-nav-stacked .lp-nav-link { flex: 1; padding: 9px 0; }
.lp-nav-stacked .lp-sub-toggle { padding: 9px 12px; font-size: .85em; }
.lp-nav-stacked .lp-sub-wrap { position: static; width: 100%; padding: 0 0 4px 14px; display: none; animation: none; }
.lp-nav-stacked .lp-nav-item:hover > .lp-sub-wrap, .lp-nav-stacked .lp-nav-item:focus-within > .lp-sub-wrap { display: none; }
.lp-nav-stacked .lp-nav-item.is-open > .lp-sub-wrap { display: block; }
.lp-nav-stacked .lp-sub { background: transparent; border: 0; box-shadow: none; padding: 0; min-width: 0; color: inherit; }
.lp-nav-stacked .lp-sub .lp-nav-link { padding: 7px 0; white-space: normal; }
.lp-nav-stacked .lp-sub .lp-nav-link:hover { background: none; text-decoration: underline; }
.lp-nav-stacked .lp-sub .lp-sub-toggle, .lp-nav-stacked .lp-sub .lp-nav-item.is-open > .lp-sub-toggle { transform: none; }
.lp-nav-stacked .lp-nav-item.is-open > .lp-sub-toggle { transform: rotate(180deg); }

/* Responsive images: <picture> wrappers added by the image optimiser don't change layout */
picture.lp-picture { display: contents; }


/* Search: autocomplete, filters, highlighting */
.lp-suggest { position: absolute; z-index: 90; top: calc(100% + 6px); left: 0; right: 0; min-width: 260px; margin: 0; padding: 6px; list-style: none; background: var(--lp-sub-bg, #fff); color: var(--lp-sub-text, #111827); border: 1px solid var(--lp-sub-border, rgba(0,0,0,.1)); border-radius: 12px; box-shadow: 0 20px 44px -18px rgba(0,0,0,.4); text-align: left; }
.lp-suggest a, .lp-suggest button { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; font-size: .92rem; text-decoration: none; cursor: pointer; text-align: left; }
.lp-suggest small { opacity: .55; font-size: .75rem; white-space: nowrap; }
.lp-suggest .is-active a, .lp-suggest .is-active button, .lp-suggest a:hover, .lp-suggest button:hover { background: var(--lp-sub-hover, rgba(0,0,0,.05)); }
.lp-suggest-all { border-top: 1px solid var(--lp-sub-border, rgba(0,0,0,.08)); margin-top: 4px; padding-top: 4px; }
.lp-search-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 18px 0 6px; font-size: .88rem; }
.lp-search-filters a { padding: 6px 12px; border: 1px solid var(--lp-border, rgba(127,127,127,.3)); border-radius: 999px; text-decoration: none; color: inherit; opacity: .8; }
.lp-search-filters a.is-active { background: var(--lp-primary); border-color: var(--lp-primary); color: #fff; opacity: 1; }
.lp-search-sort { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; opacity: .85; }
mark.lp-hl { background: color-mix(in srgb, var(--lp-primary) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 2px; }

/* Downloads: [download], [downloads], the Downloads block and /downloads */
.lp-downloads { display: grid; gap: 28px; }
.lp-dl-group-title { margin: 0 0 12px; font-size: 1.05rem; letter-spacing: .02em; opacity: .8; }
.lp-dl-list { display: grid; gap: 12px; }
.lp-dl { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--lp-card-bg, #fff); color: var(--lp-card-text, inherit); border: 1px solid var(--lp-border, rgba(0,0,0,.08)); border-radius: var(--lp-radius-lg, 16px); box-shadow: 0 1px 2px rgba(0,0,0,.04); margin: 0 0 12px; }
.lp-dl-list .lp-dl, .lp-dl:last-child { margin-bottom: 0; }
.lp-dl-icon { flex: none; display: grid; place-items: center; width: 48px; height: 56px; border-radius: 8px 16px 8px 8px; background: #64748b; color: #fff; font: 700 .7rem/1 system-ui, sans-serif; letter-spacing: .04em; }
.lp-dl-icon--pdf { background: #dc2626; } .lp-dl-icon--zip { background: #a16207; } .lp-dl-icon--app { background: #2563eb; }
.lp-dl-icon--doc { background: #1d4ed8; } .lp-dl-icon--sheet { background: #15803d; } .lp-dl-icon--slides { background: #c2410c; }
.lp-dl-icon--image { background: #7c3aed; } .lp-dl-icon--media { background: #db2777; } .lp-dl-icon--link { background: var(--lp-primary); }
.lp-dl-body { flex: 1; min-width: 0; }
.lp-dl-title { font-weight: 650; font-size: 1.02rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lp-dl-desc { margin: 4px 0 0; font-size: .92rem; opacity: .75; }
.lp-dl-meta { margin-top: 4px; font-size: .8rem; opacity: .6; }
.lp-dl-badge { font-size: .68rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid currentColor; opacity: .7; }
.lp-dl-action { flex: none; padding: .65em 1.1em; font-size: .92rem; }
.lp-dl-filter { width: 100%; max-width: 420px; padding: 10px 14px; border: 1px solid var(--lp-border, rgba(127,127,127,.35)); border-radius: var(--lp-radius, 10px); background: transparent; color: inherit; font: inherit; }
.lp-dl-toolbar { margin: 0 0 8px; }
.lp-downloads-page .lp-search-filters { margin-bottom: 30px; }
.lp-dl-empty { opacity: .7; }
.lp-dl-link { font-weight: 600; }
.lp-dl[hidden], .lp-dl-group[hidden] { display: none; }

/* Human-readable sitemap: [sitemap], the Sitemap block and /sitemap */
.lp-sitemap { display: grid; grid-template-columns: repeat(var(--lp-cols, 3), minmax(0, 1fr)); gap: 32px 40px; }
.lp-sitemap-group h3 { margin: 0 0 10px; font-size: 1.05rem; padding-bottom: 8px; border-bottom: 2px solid var(--lp-primary); }
.lp-sitemap-group ul { list-style: none; margin: 0; padding: 0; }
.lp-sitemap-group li { padding: 5px 0; line-height: 1.4; }
.lp-sitemap-group li a { color: inherit; text-decoration: none; }
.lp-sitemap-group li a:hover { color: var(--lp-primary); text-decoration: underline; }
.lp-sitemap-group small { opacity: .55; font-size: .78em; margin-left: 4px; }
.lp-sitemap-more { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--lp-primary); }
@media (max-width: 860px) { .lp-sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lp-sitemap { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
    .lp-dl { flex-wrap: wrap; }
    .lp-dl-action { width: 100%; }
}

/* Comments (@comments / automatic after the content) */
.lp-comments { max-width: 760px; margin: 48px auto 32px; padding: 0 20px; }
.lp-comments-title { font-size: 1.4rem; margin: 0 0 18px; }
.lp-comments-notice { padding: 12px 16px; border-radius: var(--lp-radius, 10px); background: color-mix(in srgb, var(--lp-primary) 14%, transparent); margin: 0 0 20px; }
.lp-comments-empty, .lp-comments-closed { opacity: .7; }
.lp-comment-list, .lp-comment-children { list-style: none; margin: 0; padding: 0; }
.lp-comment-children { margin-left: 28px; padding-left: 18px; border-left: 2px solid var(--lp-border, rgba(127,127,127,.2)); }
.lp-comment { display: flex; gap: 14px; padding: 16px 0; }
.lp-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font: 600 .85rem/1 system-ui, sans-serif; }
.lp-comment-body { flex: 1; min-width: 0; }
.lp-comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: .9rem; }
.lp-comment-author { font-weight: 650; color: inherit; }
.lp-comment-badge { font-size: .68rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--lp-primary); color: #fff; }
.lp-comment-date { font-size: .8rem; opacity: .55; color: inherit; text-decoration: none; }
.lp-comment-text { margin-top: 4px; line-height: 1.6; overflow-wrap: anywhere; }
.lp-comment-text p { margin: 0 0 .6em; }
.lp-reply-link { padding: 0; border: 0; background: none; color: var(--lp-primary); font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; }
.lp-comment-form { display: grid; gap: 14px; margin-top: 24px; padding: 22px; border: 1px solid var(--lp-border, rgba(127,127,127,.25)); border-radius: var(--lp-radius-lg, 16px); background: var(--lp-card-bg, transparent); }
.lp-comment-form-title { margin: 0; font-size: 1.1rem; }
.lp-comment-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lp-comment-form .lp-field { display: grid; gap: 5px; }
.lp-comment-form input:not([type=checkbox]), .lp-comment-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--lp-border, rgba(127,127,127,.35)); border-radius: var(--lp-radius, 10px); background: transparent; color: inherit; font: inherit; }
.lp-comment-form .lp-btn { justify-self: start; }
.lp-cancel-reply { padding: 0; border: 0; background: none; color: var(--lp-primary); font: inherit; font-size: .85rem; cursor: pointer; }
.lp-replying { font-size: .9rem; font-weight: 400; opacity: .8; }
@media (max-width: 640px) { .lp-comment-fields { grid-template-columns: 1fr; } .lp-comment-children { margin-left: 8px; padding-left: 12px; } }

/* Members-only teaser */
.lp-locked-teaser { position: relative; max-height: 9em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.lp-locked-box { max-width: 520px; margin: 8px auto 0; padding: 28px; text-align: center; border: 1px solid var(--lp-border, rgba(127,127,127,.25)); border-radius: var(--lp-radius-lg, 16px); background: var(--lp-card-bg, transparent); }
.lp-locked-box svg { color: var(--lp-primary); }
.lp-locked-box h3 { margin: 8px 0 6px; }
.lp-locked-box p { margin: 0; opacity: .8; }
