/* ============================================================================
   Lamaanam theme – design system + templates (RTL, Almoni, teal/lavender)
   ========================================================================== */
@font-face { font-family: "almoni"; src: url("../../../../uploads/2022/11/almoni-regular-aaa.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "almoni"; src: url("../../../../uploads/2022/11/almoni-bold-aaa.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --lm-teal: #1F9296; --lm-teal-dark: #177478; --lm-teal-soft: #D3ECED; --lm-teal-band: rgba(31,146,150,0.86);
  --lm-lav: #8E7BB8; --lm-lav-dark: #7B67A9; --lm-lav-soft: #EFEAF6;
  --lm-ink: #2F3E41; --lm-ink-soft: #55676B; --lm-line: #DCE4E4; --lm-bg: #FFFFFF; --lm-bg-soft: #F3F6F6; --lm-band-soft: #DAE3E2;
  --lm-radius: 20px; --lm-shadow: 2px 2px 10px rgba(95,95,95,0.18); --lm-shadow-lg: 0 16px 40px rgba(47,62,65,0.16);
  --lm-max: 1400px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--lm-bg); color: var(--lm-ink); font-family: almoni, "Arial Hebrew", Arial, sans-serif; font-size: 18px; line-height: 1.55; direction: rtl; }
img { max-width: 100%; height: auto; }
a { color: var(--lm-teal); text-decoration: none; }
a:hover { color: var(--lm-teal-dark); }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.2; color: var(--lm-ink); text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
.lm-num { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: embed; }
.lm-skip { position: absolute; right: -999px; top: 0; background: var(--lm-lav); color: #fff; padding: 8px 14px; z-index: 100; }
.lm-skip:focus { right: 16px; top: 16px; }
.lm-hp { position: absolute; top: 0; inset-inline-start: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }
.lm-container { max-width: var(--lm-max); margin: 0 auto; padding: 0 40px; }
.lm-h2 { font-size: 30px; color: var(--lm-teal); display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.lm-h2::after { content: ""; flex: 1; height: 2px; background: var(--lm-line); }

/* ---- pills, badges, chips ---- */
.lm-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 24px; border: 0; border-radius: 100px; font-weight: 700; font-size: 17px; line-height: 1; white-space: nowrap; transition: background .15s, color .15s; }
.lm-pill svg { width: 18px; height: 18px; flex: none; }
.lm-pill--lav { background: var(--lm-lav); color: #fff; }
.lm-pill--lav:hover { background: var(--lm-lav-dark); color: #fff; }
.lm-pill--teal { background: var(--lm-teal); color: #fff; }
.lm-pill--teal:hover { background: var(--lm-teal-dark); color: #fff; }
.lm-pill--out { border: 2px solid var(--lm-teal); color: var(--lm-teal); background: #fff; }
.lm-pill--out:hover { background: var(--lm-teal-soft); color: var(--lm-teal-dark); }
.lm-pill--sm { height: 40px; padding: 0 18px; font-size: 15px; }
.lm-badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 100px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.lm-badge--type { background: var(--lm-lav-soft); color: var(--lm-lav-dark); }
.lm-badge--license { background: var(--lm-teal-soft); color: var(--lm-teal-dark); }
.lm-badge--onband { background: rgba(255,255,255,0.92); color: var(--lm-teal-dark); }
.lm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lm-chip { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border-radius: 100px; background: var(--lm-bg-soft); font-size: 14px; color: var(--lm-ink); white-space: nowrap; }

/* ---- header ---- */
.lm-header { background: #fff; box-shadow: 0 2px 10px rgba(95,95,95,0.12); position: sticky; top: 0; z-index: 1100; transition: box-shadow 0.2s; }
.lm-header.is-stuck { box-shadow: 0 4px 18px rgba(47,62,65,0.18); }
.admin-bar .lm-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .lm-header { top: 46px; } }
.lm-header__inner { max-width: var(--lm-max); margin: 0 auto; min-height: 92px; padding: 10px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.lm-header__logo img { height: 62px; width: auto; display: block; }
.lm-nav { display: flex; gap: 28px; align-items: center; }
.lm-nav a { color: var(--lm-ink); font-size: 18px; font-weight: 700; padding: 6px 0; border-bottom: 3px solid transparent; }
.lm-nav a:hover, .lm-nav a.is-current { color: var(--lm-teal); border-bottom-color: var(--lm-teal); }
.lm-nav__mobile-cta { display: none; }
.lm-header__actions { display: flex; align-items: center; gap: 12px; }
.lm-header__actions .lm-pill { height: 44px; }
.lm-pill--out.lm-header__phone, .lm-header__actions .lm-pill--out { border-color: var(--lm-lav); color: var(--lm-lav); }
.lm-nav__toggle { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.lm-nav__burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--lm-lav); flex-direction: column; justify-content: center; gap: 5px; padding: 0 10px; cursor: pointer; }
.lm-nav__burger span { display: block; height: 3px; background: var(--lm-lav); border-radius: 2px; }

/* ---- title band ---- */
.lm-band { position: relative; overflow: hidden; background-size: cover; background-position: center; color: #fff; text-align: center; padding: 34px 40px 74px; }
.lm-band--single { padding-bottom: 80px; }
.lm-band__overlay { position: absolute; inset: 0; background: var(--lm-teal-band); }
.lm-band__inner { position: relative; max-width: var(--lm-max); margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lm-band h1 { color: #fff; font-size: 44px; }
.lm-band__sub { margin: 0; font-size: 18px; color: #fff; }
.lm-band__badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.lm-band__curve { position: absolute; left: -10%; right: -10%; bottom: -60px; height: 110px; background: #fff; border-radius: 50% 50% 0 0; }
.lm-crumbs { display: flex; gap: 8px; font-size: 14px; color: #fff; }
.lm-crumbs a { color: #fff; }

/* ---- archive ---- */
.lm-archive { padding-bottom: 60px; }
.lm-filters { position: relative; z-index: 2; margin-top: -30px; background: #fff; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); padding: 22px 26px; display: flex; flex-direction: column; gap: 18px; }
.lm-filters__row { display: flex; gap: 16px; flex-wrap: wrap; }
.lm-filters__row--groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; border-top: 1px solid var(--lm-line); padding-top: 18px; }
.lm-field { display: flex; flex-direction: column; gap: 6px; min-width: 200px; }
.lm-field--grow { flex: 1 1 320px; }
.lm-field__label { font-size: 14px; font-weight: 700; color: var(--lm-teal); }
.lm-input, .lm-select { display: flex; align-items: center; gap: 8px; height: 50px; padding: 0 14px; border: 1.5px solid #C9D6D6; border-radius: 100px; background: #fff; }
.lm-input input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; font-size: 17px; }
.lm-input svg { color: var(--lm-teal); flex: none; }
.lm-select { padding: 0 8px 0 14px; }
.lm-select select { flex: 1; border: 0; outline: 0; background: transparent; font-size: 17px; appearance: none; padding-left: 20px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%232F3E41' stroke-width='2.2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: left 4px center; }
.lm-input:focus-within, .lm-select:focus-within { border-color: var(--lm-teal); box-shadow: 0 0 0 3px var(--lm-teal-soft); }
.lm-fgroup { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lm-fgroup legend { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lm-teal); padding: 0 0 6px; border-bottom: 2px solid var(--lm-teal); margin-bottom: 8px; font-size: 17px; }
.lm-check { display: flex; align-items: center; gap: 9px; font-size: 16px; cursor: pointer; }
.lm-check input { width: 20px; height: 20px; accent-color: var(--lm-lav); margin: 0; }
.lm-check em { font-style: normal; color: var(--lm-ink-soft); font-size: 13px; margin-right: auto; }
.lm-check--toggle { margin-top: 6px; padding-top: 8px; border-top: 1px dashed var(--lm-line); }
.lm-filters__actions { display: flex; align-items: center; gap: 18px; justify-content: center; }
.lm-filters__reset { font-size: 15px; }
.lm-filters__status { font-size: 14px; color: var(--lm-ink-soft); }
.lm-archive__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; margin-top: 28px; align-items: start; }
.lm-archive__side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 18px; }
.lm-results[aria-busy="true"] { opacity: 0.5; transition: opacity .2s; }
.lm-results__head { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 6px 12px; color: var(--lm-ink-soft); font-size: 15px; }
.lm-results__count strong { color: var(--lm-ink); font-size: 18px; }
.lm-cards { display: flex; flex-direction: column; gap: 16px; }
.lm-card { display: grid; grid-template-columns: 280px minmax(0, 1fr); background: #fff; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); overflow: hidden; }
.lm-card__media { display: block; position: relative; min-height: 220px; background: var(--lm-band-soft); }
.lm-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lm-card__noimg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--lm-ink-soft); }
.lm-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px; }
.lm-card__top { display: flex; flex-direction: column; gap: 6px; }
.lm-card__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.lm-card__title { font-size: 22px; }
.lm-card__title a { color: var(--lm-ink); }
.lm-card__title a:hover { color: var(--lm-teal); }
.lm-card__meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 15px; color: var(--lm-ink-soft); }
.lm-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.lm-card__meta svg { color: var(--lm-teal); }
.lm-card__short { margin: 0; font-size: 15px; color: var(--lm-ink-soft); }
.lm-card__actions { display: flex; gap: 10px; align-items: center; margin-top: auto; padding-top: 8px; }
.lm-pagination ul { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.lm-pagination a, .lm-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 100px; border: 2px solid var(--lm-teal); color: var(--lm-teal); font-weight: 700; }
.lm-pagination .current { background: var(--lm-teal); color: #fff; }
.lm-pagination .dots { border-color: transparent; }
.lm-empty { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 28px; background: var(--lm-bg-soft); border-radius: var(--lm-radius); }
.lm-map-card { background: #fff; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); overflow: hidden; }
.lm-map { height: 520px; background: #EAF0EE; }
.lm-map--single { height: 360px; border-radius: var(--lm-radius); overflow: hidden; }
.lm-map--embed iframe { width: 100%; height: 100%; border: 0; }
.lm-map.is-empty::after { content: "המפה תציג סמנים כשלמוסדות יהיו קואורדינטות."; }
.lm-map__hint { margin: 0; padding: 10px 14px; font-size: 13px; color: var(--lm-ink-soft); }
.lm-map__address { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: 15px; }
.lm-marker span { display: block; width: 22px; height: 22px; border-radius: 50%; background: var(--lm-teal); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.3); }
.lm-popup { display: flex; flex-direction: column; gap: 4px; min-width: 160px; font-family: almoni, Arial, sans-serif; direction: rtl; text-align: right; }
.lm-popup img { width: 100%; height: 90px; object-fit: cover; border-radius: 8px; }
.lm-popup strong { color: var(--lm-ink); }
.lm-popup span { color: var(--lm-teal); font-weight: 700; font-size: 14px; }
.leaflet-container { font-family: almoni, Arial, sans-serif; }
.lm-consult { position: relative; overflow: hidden; border-radius: var(--lm-radius); background: var(--lm-teal); color: #fff; padding: 22px; display: flex; flex-direction: column; gap: 10px; text-align: center; }
.lm-consult strong { font-size: 20px; }
.lm-consult .lm-pill { align-self: center; }
.lm-consult span { font-size: 14px; }

/* ---- single ---- */
.lm-single { padding-bottom: 60px; }
.lm-gallery { position: relative; z-index: 2; margin-top: -30px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.lm-gallery__main { margin: 0; border-radius: var(--lm-radius); overflow: hidden; box-shadow: var(--lm-shadow); background: var(--lm-band-soft); aspect-ratio: 16 / 7; }
.lm-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-gallery__thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px; }
.lm-gallery__thumb { flex: 0 0 120px; height: 80px; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; background: var(--lm-band-soft); }
.lm-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-gallery__thumb.is-active { border-color: var(--lm-teal); }
.lm-infobar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 0 10px; }
.lm-infobar__facts { display: flex; gap: 18px; flex-wrap: wrap; font-size: 16px; }
.lm-infobar__facts span { display: inline-flex; align-items: center; gap: 6px; }
.lm-infobar__facts svg { color: var(--lm-teal); }
.lm-infobar__actions { display: flex; gap: 10px; }
.lm-single__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; margin-top: 10px; }
.lm-single__side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 18px; }
.lm-section { margin-bottom: 36px; }
.lm-prose { font-size: 18px; max-width: 76ch; }
.lm-prose h2 { font-size: 30px; color: var(--lm-teal); margin: 0 0 12px; }
.lm-prose h3 { font-size: 22px; margin: 18px 0 8px; }
.lm-prose img { border-radius: 14px; }
.lm-prose ul { padding-right: 22px; }
.lm-features { background: var(--lm-band-soft); border-radius: var(--lm-radius); padding: 26px; }
.lm-features .lm-h2::after { background: rgba(47,62,65,0.15); }
.lm-features__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.lm-feature { display: flex; flex-direction: column; gap: 8px; }
.lm-feature__icon { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--lm-teal); background: #fff; color: var(--lm-teal); display: flex; align-items: center; justify-content: center; }
.lm-feature strong { color: var(--lm-teal); font-size: 18px; }
.lm-feature ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.lm-feature li { display: flex; align-items: center; gap: 8px; }
.lm-feature li svg { color: var(--lm-teal); width: 16px; height: 16px; }
.lm-lead { position: relative; overflow: hidden; border-radius: var(--lm-radius); background: var(--lm-teal); color: #fff; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--lm-shadow-lg); }
.lm-lead__title { font-size: 24px; text-align: center; }
.lm-lead__sub { text-align: center; font-size: 15px; }
.lm-lead label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 700; }
.lm-lead input, .lm-lead select, .lm-lead textarea { width: 100%; border: 0; border-radius: 14px; padding: 12px 14px; font-size: 16px; font-weight: 400; color: var(--lm-ink); background: #fff; }
.lm-lead textarea { resize: vertical; }
.lm-lead .lm-pill { align-self: center; padding: 0 36px; }
.lm-lead__note { font-size: 12px; text-align: center; }
.lm-notice { padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 700; }
.lm-notice--ok { background: #fff; color: var(--lm-teal-dark); }
.lm-notice--err { background: #FBE7E4; color: #A8402F; }
.lm-sidecard { background: #fff; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.lm-sidecard strong { color: var(--lm-teal); font-size: 18px; }
.lm-sidecard span { display: flex; align-items: center; gap: 8px; }
.lm-sidecard svg { color: var(--lm-teal); flex: none; }
.lm-related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.lm-related__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lm-mini { display: flex; flex-direction: column; background: #fff; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); overflow: hidden; color: var(--lm-ink); }
.lm-mini:hover { color: var(--lm-teal); }
.lm-mini__media { display: block; height: 160px; background: var(--lm-band-soft); }
.lm-mini__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-mini__title { padding: 12px 16px 0; font-weight: 700; font-size: 17px; line-height: 1.25; }
.lm-mini__excerpt { padding: 6px 16px 0; font-size: 14px; color: var(--lm-ink-soft); font-weight: 400; }
.lm-mini__meta { padding: 4px 16px 14px; font-size: 13px; color: var(--lm-ink-soft); }

/* ---- features placeholders, nearby, reviews ---- */
.lm-feature--empty { opacity: 0.75; }
.lm-feature__na { font-size: 15px; color: var(--lm-ink-soft); }
.lm-features__note { margin: 18px 0 0; font-size: 15px; color: var(--lm-ink-soft); }
.lm-nearby__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.lm-nearby__list li { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--lm-line); font-size: 16px; }
.lm-nearby__cat { color: var(--lm-teal); font-weight: 700; }
.lm-nearby__dist { color: var(--lm-ink-soft); }
.lm-nearby__note { margin: 12px 0 0; font-size: 13px; color: var(--lm-ink-soft); }
.lm-reviews__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.lm-reviews__head .lm-h2 { flex: 1 1 320px; }
.lm-reviews__stats { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--lm-ink-soft); }
.lm-reviews__avg { font-size: 34px; font-weight: 700; color: var(--lm-teal); }
.lm-stars { display: inline-flex; gap: 2px; }
.lm-reviews__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.lm-review { background: #fff; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); padding: 18px 22px; }
.lm-review__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; font-size: 15px; color: var(--lm-ink-soft); }
.lm-review__right { display: flex; align-items: center; gap: 10px; }
.lm-review p { margin: 0; font-size: 17px; }
.lm-reviews__empty { color: var(--lm-ink-soft); }
.lm-review-form-wrap summary { list-style: none; cursor: pointer; display: inline-flex; }
.lm-review-form-wrap summary::-webkit-details-marker { display: none; }
.lm-review-form { margin-top: 18px; background: var(--lm-bg-soft); border-radius: var(--lm-radius); padding: 22px; }
.lm-rate { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.lm-rate input { position: absolute; opacity: 0; width: 0; height: 0; }
.lm-rate label { color: #C9D6D6; cursor: pointer; }
.lm-rate label:hover, .lm-rate label:hover ~ label, .lm-rate input:checked ~ label { color: var(--lm-teal); }
.lm-rate input:checked ~ label svg, .lm-rate label:hover svg, .lm-rate label:hover ~ label svg { fill: currentColor; }

/* ---- join form ---- */
.lm-join__form { display: flex; flex-direction: column; gap: 22px; }
.lm-join__section { border: 0; margin: 0; padding: 26px; background: #fff; border-radius: var(--lm-radius); box-shadow: var(--lm-shadow); display: flex; flex-direction: column; gap: 14px; }
.lm-join__section legend { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--lm-teal); font-size: 20px; padding: 0; margin-bottom: 8px; float: right; width: 100%; }
.lm-join__grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; clear: both; }
.lm-join__grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 20px; clear: both; }
.lm-f { display: flex; flex-direction: column; gap: 5px; font-size: 15px; font-weight: 700; color: var(--lm-ink); }
.lm-f--full { grid-column: 1 / -1; }
.lm-f input[type="text"], .lm-f input[type="tel"], .lm-f input[type="email"], .lm-f input[type="url"], .lm-f textarea { width: 100%; border: 1.5px solid #C9D6D6; border-radius: 14px; padding: 11px 14px; font-size: 16px; font-weight: 400; background: #fff; }
.lm-f input:focus, .lm-f textarea:focus { outline: 0; border-color: var(--lm-teal); box-shadow: 0 0 0 3px var(--lm-teal-soft); }
.lm-f input[type="file"] { font-weight: 400; font-size: 15px; }
.lm-f .lm-select { height: 48px; border-radius: 14px; }
.lm-join__checks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 400; }
.lm-join__checks--col { flex-direction: column; gap: 6px; }
.lm-join__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lm-join__hint { font-size: 14px; color: var(--lm-ink-soft); margin: 0; }
.lm-notice--big { font-size: 18px; padding: 18px 22px; margin-bottom: 20px; }

/* ---- articles, pages, join, 404 ---- */
.lm-article { padding-top: 10px; padding-bottom: 60px; }
.lm-article__body { margin: 0 auto; }
.lm-blog { padding-top: 10px; padding-bottom: 60px; }
.lm-join { padding-top: 10px; padding-bottom: 60px; }
.lm-join__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 40px; align-items: start; }
.lm-404 { padding: 80px 40px; text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; }
.lm-404__links { display: flex; gap: 12px; }

/* ---- footer ---- */
.lm-footer { position: relative; overflow: hidden; color: #fff; background-size: cover; background-position: center; padding: 96px 40px 32px; margin-top: 48px; }
.lm-footer__overlay { position: absolute; inset: 0; background: rgba(40,48,52,0.72); }
.lm-footer__curve { position: absolute; left: -10%; right: -10%; top: -70px; height: 120px; background: #fff; border-radius: 0 0 50% 50%; }
.lm-footer__inner { position: relative; max-width: var(--lm-max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 48px; }
.lm-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.lm-footer__col a { color: #fff; }
.lm-footer__col a:hover { color: #D9E1DE; text-decoration: underline; }
.lm-footer__title { font-size: 21px; margin-bottom: 4px; }
.lm-footer__logo { width: 180px; height: auto; display: block; margin-bottom: 8px; }
.lm-footer__col--brand .lm-pill { align-self: flex-start; }
.lm-footer__note { font-size: 15px; color: #D9E1DE; }
.lm-footer__bottom { position: relative; max-width: var(--lm-max); margin: 32px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.25); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.lm-footer__bottom a { color: #fff; text-decoration: underline; }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .lm-container, .lm-header__inner { padding-left: 20px; padding-right: 20px; }
  .lm-nav { gap: 18px; }
  .lm-nav a { font-size: 16px; }
  .lm-header__actions .lm-pill--out { display: none; }
  .lm-archive__grid, .lm-single__grid, .lm-join__grid { grid-template-columns: 1fr; }
  .lm-archive__side, .lm-single__side { position: static; }
  .lm-map { height: 380px; }
  .lm-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .lm-header__inner { min-height: 72px; flex-wrap: wrap; }
  .lm-header__logo img { height: 48px; }
  .lm-header__actions { display: none; }
  .lm-nav__burger { display: flex; }
  .lm-nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 12px; border-top: 1px solid var(--lm-line); }
  .lm-nav a { padding: 12px 4px; border-bottom: 1px solid var(--lm-bg-soft); font-size: 18px; }
  .lm-nav__mobile-cta { display: block; margin-top: 10px; text-align: center; background: var(--lm-lav); color: #fff !important; border-radius: 100px; padding: 12px; }
  .lm-nav__toggle:checked ~ .lm-nav { display: flex; }
  .lm-band { padding: 26px 20px 66px; }
  .lm-band h1 { font-size: 32px; }
  .lm-filters { padding: 18px; }
  .lm-filters__row--groups { grid-template-columns: 1fr; }
  .lm-card { grid-template-columns: 1fr; }
  .lm-card__media { min-height: 200px; }
  .lm-infobar__actions { width: 100%; }
  .lm-infobar__actions .lm-pill { flex: 1; }
  .lm-gallery__main { aspect-ratio: 4 / 3; }
  .lm-related__grid, .lm-related__grid--3 { grid-template-columns: 1fr; }
  .lm-footer { padding: 80px 20px 24px; }
  .lm-footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .lm-footer__bottom { flex-direction: column; }
}
