/*
Theme Name: התבוננות - מפת חיים
Theme URI: https://hitbonenut.co.il
Author: התבוננות
Author URI: https://hitbonenut.co.il
Description: תבנית עברית למערכת מפת חיים אישית, שיקוף עצמי ומעקב מודעות לאורך זמן.
Version: 1.0.5
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: life-map-hebrew
Tags: custom-logo, featured-images, rtl-language-support, block-styles, wide-blocks, custom-menu
*/

:root {
  --lmh-bg: #f7f9fb;
  --lmh-surface: #ffffff;
  --lmh-surface-soft: #eef6fb;
  --lmh-ink: #172033;
  --lmh-muted: #5d6879;
  --lmh-blue-900: #10233f;
  --lmh-blue-700: #1d4f86;
  --lmh-blue-500: #3a86c8;
  --lmh-blue-100: #dceefa;
  --lmh-green-100: #e5f4ed;
  --lmh-green-600: #287357;
  --lmh-amber-100: #fff3d7;
  --lmh-amber-700: #8a5b12;
  --lmh-border: #dfe7ef;
  --lmh-shadow: 0 18px 56px rgba(16, 35, 63, 0.09);
  --lmh-shadow-soft: 0 10px 30px rgba(16, 35, 63, 0.06);
  --lmh-radius: 8px;
  --lmh-container: min(1120px, calc(100vw - 32px));
  --lmh-font: "Rubik", "Segoe UI", "Arial", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, var(--lmh-bg) 28rem),
    var(--lmh-bg);
  color: var(--lmh-ink);
  font-family: var(--lmh-font);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--lmh-blue-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus {
  color: var(--lmh-blue-900);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--lmh-blue-900);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.65em;
}

h1 {
  font-size: clamp(2.55rem, 5vw, 4.85rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
}

h3 {
  font-size: 1.18rem;
}

p {
  margin: 0 0 1.1rem;
}

.screen-reader-text,
.lmh-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.lmh-skip-link:focus {
  z-index: 100000;
  top: 12px;
  right: 12px;
  width: auto;
  height: auto;
  padding: 0.55rem 0.8rem;
  clip: auto;
  background: var(--lmh-blue-900);
  color: #fff;
  border-radius: var(--lmh-radius);
}

.lmh-container {
  width: var(--lmh-container);
  margin-inline: auto;
}

.lmh-narrow {
  max-width: 820px;
}

.lmh-main {
  min-height: 62vh;
}

.lmh-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(223, 231, 239, 0.78);
  backdrop-filter: blur(14px);
}

.lmh-site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.lmh-site-branding {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  max-height: 54px;
  width: auto;
}

.lmh-site-title {
  color: var(--lmh-blue-900);
  font-size: 1.18rem;
  font-weight: 800;
  text-decoration: none;
}

.lmh-site-description {
  color: var(--lmh-muted);
  font-size: 0.88rem;
  line-height: 1.35;
  margin: 0;
}

.lmh-primary-menu,
.lmh-footer-menu {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lmh-primary-menu a,
.lmh-footer-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.72rem;
  color: var(--lmh-ink);
  border-radius: var(--lmh-radius);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.lmh-primary-menu a:hover,
.lmh-primary-menu a:focus,
.lmh-footer-menu a:hover,
.lmh-footer-menu a:focus {
  background: var(--lmh-blue-100);
  color: var(--lmh-blue-900);
}

.lmh-header-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.6rem;
}

.lmh-header-login {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.72rem;
  color: var(--lmh-blue-900);
  border: 1px solid var(--lmh-border);
  border-radius: var(--lmh-radius);
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.lmh-header-login:hover,
.lmh-header-login:focus {
  background: var(--lmh-blue-100);
  color: var(--lmh-blue-900);
}

.lmh-header-cta {
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  white-space: nowrap;
}

.lmh-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--lmh-border);
  border-radius: var(--lmh-radius);
  background: var(--lmh-surface);
  cursor: pointer;
}

.lmh-menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--lmh-blue-900);
}

.lmh-hero {
  position: relative;
  min-height: min(820px, calc(100vh - 76px));
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 18% 24%, rgba(58, 134, 200, 0.18), transparent 26rem),
    radial-gradient(circle at 76% 28%, rgba(40, 115, 87, 0.14), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #eef6fb 100%);
}

.lmh-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(29, 79, 134, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 79, 134, 0.06) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 100%);
}

.lmh-hero::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline: 0;
  height: 1px;
  background: var(--lmh-border);
}

.lmh-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(520px, 1.06fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(4.4rem, 8vw, 7.4rem) clamp(3.2rem, 6vw, 5rem);
}

.lmh-hero__copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.lmh-hero h1 {
  max-width: 13ch;
  overflow-wrap: break-word;
}

.lmh-kicker {
  color: var(--lmh-blue-700);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.85rem;
}

.lmh-hero__subtitle {
  max-width: 700px;
  color: #324155;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.72;
  margin-bottom: 1.55rem;
}

.lmh-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.lmh-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.78rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--lmh-radius);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.lmh-button:hover,
.lmh-button:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  transform: translateY(-1px);
}

.lmh-button--primary,
.wp-block-button__link {
  background: var(--lmh-blue-900);
  color: #fff;
  box-shadow: 0 12px 24px rgba(16, 35, 63, 0.18);
}

.lmh-button--primary:hover,
.lmh-button--primary:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: var(--lmh-blue-700);
  color: #fff;
}

.lmh-button--secondary {
  background: #fff;
  border-color: rgba(58, 134, 200, 0.26);
  color: var(--lmh-blue-900);
  box-shadow: var(--lmh-shadow-soft);
}

.lmh-button--secondary:hover,
.lmh-button--secondary:focus {
  background: var(--lmh-blue-100);
  color: var(--lmh-blue-900);
}

.lmh-hero__note {
  max-width: 580px;
  color: var(--lmh-muted);
  font-size: 0.98rem;
}

.lmh-hero__visual {
  position: relative;
  min-width: 0;
  min-height: 560px;
}

.lmh-hero-browser {
  position: relative;
  height: clamp(430px, 47vw, 590px);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(58, 134, 200, 0.2);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(16, 35, 63, 0.16);
}

.lmh-hero-browser::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.52) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(16, 35, 63, 0.04));
}

.lmh-hero-browser__dots {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 10px);
  gap: 6px;
}

.lmh-hero-browser__dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f26458;
}

.lmh-hero-browser__dots span:nth-child(2) {
  background: #f5b642;
}

.lmh-hero-browser__dots span:nth-child(3) {
  background: #26a957;
}

.lmh-hero-browser img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  transform: scale(1.18);
  transform-origin: 20% 52%;
}

.lmh-hero-insights {
  position: absolute;
  inset-inline: 6%;
  inset-block-end: -24px;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.84fr;
  gap: 0.75rem;
}

.lmh-hero-insight {
  min-height: 112px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(223, 231, 239, 0.95);
  border-radius: 10px;
  box-shadow: 0 18px 42px rgba(16, 35, 63, 0.14);
}

.lmh-hero-insight span,
.lmh-hero-insight small {
  display: block;
  color: var(--lmh-muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.lmh-hero-insight strong {
  display: block;
  color: var(--lmh-blue-900);
  font-size: 2rem;
  line-height: 1.1;
  margin: 0.35rem 0 0.2rem;
}

.lmh-hero-insight--score small {
  display: inline-flex;
  padding: 0.22rem 0.55rem;
  background: var(--lmh-green-100);
  border-radius: 999px;
  color: var(--lmh-green-600);
}

.lmh-hero-insight--bars {
  display: grid;
  align-content: center;
  gap: 0.48rem;
}

.lmh-hero-insight--bars i {
  display: block;
  height: 8px;
  overflow: hidden;
  background: #edf2f6;
  border-radius: 999px;
}

.lmh-hero-insight--bars i::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1d75d8, #24a389, #e5ad33);
}

.lmh-hero-insight--line {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #2a7fd4;
}

.lmh-hero-insight--line svg {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin-top: 0.35rem;
}

.lmh-section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.lmh-section--intro,
.lmh-section--steps,
.lmh-section--highlights {
  background: var(--lmh-surface);
}

.lmh-section--highlights {
  padding-block: 1.2rem 5rem;
}

.lmh-section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.lmh-section-heading p {
  color: var(--lmh-muted);
  font-size: 1.05rem;
}

.lmh-highlight-grid,
.lmh-domain-grid,
.lmh-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lmh-highlight-card,
.lmh-domain-card,
.lmh-post-card,
.lmh-step {
  background: var(--lmh-surface);
  border: 1px solid var(--lmh-border);
  border-radius: var(--lmh-radius);
  box-shadow: var(--lmh-shadow);
}

.lmh-highlight-card {
  min-height: 170px;
  padding: 1.25rem;
  box-shadow: var(--lmh-shadow-soft);
}

.lmh-highlight-card span {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--lmh-green-600);
  font-weight: 900;
}

.lmh-highlight-card p {
  color: var(--lmh-muted);
  margin: 0;
}

.lmh-domain-card {
  min-height: 190px;
  padding: 1.35rem;
}

.lmh-domain-card:nth-child(2),
.lmh-domain-card:nth-child(5) {
  background: linear-gradient(180deg, #fff, var(--lmh-green-100));
}

.lmh-domain-card:nth-child(4) {
  background: linear-gradient(180deg, #fff, var(--lmh-amber-100));
}

.lmh-domain-card h3,
.lmh-step h3 {
  margin-bottom: 0.55rem;
}

.lmh-domain-card p,
.lmh-step p {
  color: var(--lmh-muted);
  margin: 0;
}

.lmh-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.lmh-step {
  min-height: 230px;
  padding: 1.35rem;
}

.lmh-step span {
  display: inline-flex;
  margin-bottom: 1.35rem;
  color: var(--lmh-blue-500);
  font-size: 0.95rem;
  font-weight: 900;
}

.lmh-section--analysis {
  background:
    linear-gradient(135deg, rgba(16, 35, 63, 0.96), rgba(29, 79, 134, 0.92)),
    var(--lmh-blue-900);
  color: rgba(255, 255, 255, 0.84);
}

.lmh-analysis-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 2rem;
  align-items: center;
}

.lmh-analysis-panel h2,
.lmh-analysis-panel .lmh-kicker {
  color: #fff;
}

.lmh-analysis-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.lmh-result-preview {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--lmh-radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.lmh-result-preview__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.lmh-result-preview__row span {
  color: rgba(255, 255, 255, 0.72);
}

.lmh-result-preview__row strong {
  color: #fff;
}

.lmh-score-bars {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.lmh-score-bars span {
  display: block;
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.lmh-score-bars span::before {
  content: "";
  display: block;
  width: var(--value);
  height: 100%;
  background: linear-gradient(90deg, var(--lmh-green-100), var(--lmh-blue-100));
  border-radius: inherit;
}

.lmh-section--report {
  background: var(--lmh-surface);
}

.lmh-report-panel {
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(220, 238, 250, 0.58)),
    var(--lmh-surface);
  border: 1px solid var(--lmh-border);
  border-radius: var(--lmh-radius);
  box-shadow: var(--lmh-shadow);
}

.lmh-report-panel p {
  max-width: 760px;
  color: var(--lmh-muted);
}

.lmh-section--trust {
  background: linear-gradient(180deg, var(--lmh-surface-soft), var(--lmh-bg));
}

.lmh-trust-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: start;
}

.lmh-disclaimer {
  color: #425169;
  font-size: 0.96rem;
  line-height: 1.65;
  margin: 0;
}

.lmh-final-cta {
  max-width: 760px;
  text-align: center;
}

.lmh-final-cta h2 {
  margin-bottom: 1.2rem;
}

.lmh-entry {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.lmh-entry-header {
  margin-bottom: 2rem;
}

.lmh-entry-title {
  max-width: 16ch;
}

.lmh-entry-meta,
.lmh-post-card__meta {
  color: var(--lmh-muted);
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
}

.lmh-featured-image {
  margin: 0 0 2rem;
}

.lmh-featured-image img,
.lmh-post-card__image img {
  display: block;
  width: 100%;
  border-radius: var(--lmh-radius);
  object-fit: cover;
}

.lmh-entry-content {
  color: #263348;
}

.lmh-entry-content > * {
  max-width: 820px;
}

.lmh-entry-content > .alignwide {
  max-width: 1040px;
}

.lmh-entry-content > .alignfull {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

.lmh-entry-content p,
.lmh-entry-content li {
  font-size: 1.05rem;
}

.lmh-entry-content .lmh-article-lead {
  max-width: 900px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  margin-block: 0 2rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(220, 238, 250, 0.72)),
    var(--lmh-surface);
  border: 1px solid rgba(58, 134, 200, 0.24);
  border-radius: var(--lmh-radius);
  box-shadow: var(--lmh-shadow-soft);
  color: #263348;
  font-size: clamp(1.12rem, 2vw, 1.28rem);
  line-height: 1.85;
}

.lmh-entry-content .lmh-article-callout,
.lmh-entry-content .lmh-article-note {
  max-width: 900px;
  padding: clamp(1.15rem, 3vw, 1.65rem);
  border-radius: var(--lmh-radius);
  box-shadow: var(--lmh-shadow-soft);
}

.lmh-entry-content .lmh-article-callout {
  background: var(--lmh-blue-900);
  color: rgba(255, 255, 255, 0.86);
}

.lmh-entry-content .lmh-article-callout h2,
.lmh-entry-content .lmh-article-callout h3 {
  color: #fff;
}

.lmh-entry-content .lmh-article-callout p {
  color: rgba(255, 255, 255, 0.82);
}

.lmh-entry-content .lmh-article-note {
  background: var(--lmh-green-100);
  border: 1px solid rgba(40, 115, 87, 0.18);
}

.lmh-entry-content .lmh-article-card-grid {
  max-width: 1040px;
  gap: 1rem;
}

.lmh-entry-content .lmh-article-card-grid .wp-block-column {
  padding: 1.15rem;
  background: var(--lmh-surface);
  border: 1px solid var(--lmh-border);
  border-radius: var(--lmh-radius);
  box-shadow: var(--lmh-shadow-soft);
}

.lmh-entry-content .lmh-article-card-grid h3 {
  font-size: 1.08rem;
}

.lmh-entry-content .wp-block-cover,
.lmh-entry-content .wp-block-group,
.lmh-entry-content .wp-block-columns {
  margin-block: 2rem;
}

.lmh-post-card {
  overflow: hidden;
}

.lmh-post-card__image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.lmh-post-card__image img {
  height: 100%;
}

.lmh-post-card__body {
  padding: 1.2rem;
}

.lmh-post-card__title {
  font-size: 1.25rem;
}

.lmh-post-card__title a {
  color: var(--lmh-blue-900);
  text-decoration: none;
}

.lmh-post-card__excerpt {
  color: var(--lmh-muted);
}

.lmh-archive-header {
  max-width: 820px;
  margin-bottom: 2rem;
}

.lmh-pagination {
  margin-top: 2rem;
}

.lmh-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lmh-pagination a,
.lmh-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--lmh-border);
  border-radius: var(--lmh-radius);
  background: var(--lmh-surface);
  text-decoration: none;
}

.lmh-pagination .current {
  background: var(--lmh-blue-900);
  color: #fff;
}

.lmh-empty-state {
  min-height: 50vh;
  display: grid;
  align-items: center;
}

.lmh-site-footer {
  background: var(--lmh-blue-900);
  color: rgba(255, 255, 255, 0.86);
}

.lmh-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: start;
  padding-block: 2.2rem;
}

.lmh-site-footer strong {
  display: block;
  margin-bottom: 0.65rem;
  color: #fff;
}

.lmh-site-footer .lmh-disclaimer {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.74);
}

.lmh-footer-menu a {
  color: rgba(255, 255, 255, 0.86);
}

.lmh-footer-menu a:hover,
.lmh-footer-menu a:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

@media (max-width: 900px) {
  h1 {
    max-width: 14ch;
  }

  .lmh-site-header__inner {
    gap: 0.8rem;
  }

  .lmh-menu-toggle {
    display: inline-flex;
  }

  .lmh-primary-navigation {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 16px;
    display: none;
    padding: 0.7rem;
    background: var(--lmh-surface);
    border: 1px solid var(--lmh-border);
    border-radius: var(--lmh-radius);
    box-shadow: var(--lmh-shadow);
  }

  .lmh-primary-navigation.is-open {
    display: block;
  }

  .lmh-primary-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .lmh-primary-menu a {
    justify-content: flex-start;
    width: 100%;
  }

  .lmh-hero {
    min-height: auto;
  }

  .lmh-hero__inner {
    grid-template-columns: 1fr;
    padding-block: 4rem 4.8rem;
  }

  .lmh-hero h1 {
    max-width: 14ch;
  }

  .lmh-hero__visual {
    min-height: auto;
  }

  .lmh-hero-browser {
    height: clamp(360px, 72vw, 520px);
  }

  .lmh-hero-insights {
    position: relative;
    inset: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -34px;
    padding-inline: 0.8rem;
  }

  .lmh-highlight-grid,
  .lmh-domain-grid,
  .lmh-steps,
  .lmh-post-grid,
  .lmh-analysis-panel,
  .lmh-trust-panel,
  .lmh-site-footer__inner {
    grid-template-columns: 1fr;
  }

  .lmh-hero-insight {
    min-height: 102px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .lmh-container {
    width: min(100% - 24px, 1120px);
  }

  .lmh-site-header__inner {
    width: 100%;
    direction: ltr;
    justify-content: center;
    min-height: 68px;
  }

  .lmh-site-title {
    font-size: 1rem;
  }

  .lmh-site-branding,
  .lmh-site-description {
    display: none;
  }

  .lmh-header-actions {
    width: 100%;
    direction: rtl;
    justify-content: space-between;
    gap: 0.45rem;
  }

  .lmh-header-cta {
    flex: 1;
    min-height: 40px;
    padding: 0.5rem 0.65rem;
    font-size: 0.82rem;
  }

  .lmh-header-login {
    display: none;
  }

  .lmh-hero h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 12vw, 2.75rem);
    text-align: center;
  }

  .lmh-hero__copy,
  .lmh-hero__visual,
  .lmh-hero-browser {
    width: 100%;
    max-width: 100%;
  }

  .lmh-hero__inner {
    direction: ltr;
  }

  .lmh-hero__copy,
  .lmh-hero__visual {
    direction: rtl;
  }

  .lmh-hero__copy,
  .lmh-hero__subtitle,
  .lmh-hero__note {
    text-align: center;
  }

  .lmh-hero__subtitle {
    font-size: 1.02rem;
  }

  .lmh-hero__actions,
  .lmh-main .lmh-button,
  .wp-block-button__link {
    width: 100%;
  }

  .lmh-hero-browser {
    height: 330px;
    border-radius: 12px;
  }

  .lmh-hero-browser img {
    object-position: left center;
    transform: scale(1.2);
  }

  .lmh-hero-insights {
    display: none;
  }

  .lmh-section {
    padding-block: 3.4rem;
  }

  .lmh-highlight-card,
  .lmh-domain-card,
  .lmh-step,
  .lmh-post-card__body {
    padding: 1rem;
  }

  .lmh-footer-menu {
    align-items: stretch;
    flex-direction: column;
  }
}


