:root {
  --ink: #062452;
  --muted: #5e6f86;
  --line: #d7e6f5;
  --paper: #f7fbff;
  --white: #ffffff;
  --blue: #0057a8;
  --blue-dark: #00306f;
  --gold: #f5b83d;
  --orange: #f28a18;
  --cyan: #0aa9df;
  --green: #70b62c;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  --content-max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 110px;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
}

img,
svg,
iframe {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-140%);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--blue-dark);
  background: var(--gold);
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(8, 28, 50, 0.22);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.topbar .brand {
  flex: 1 1 auto;
}

.topbar .brand span {
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-brand {
  min-width: 210px;
}

.brand-logo {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  border-radius: 8px;
  font-size: 25px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
  overflow-wrap: anywhere;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav a:hover {
  color: var(--blue);
}

.nav-cta {
  padding: 9px 13px;
  color: var(--white) !important;
  background: var(--blue);
  border-radius: 8px;
  font-weight: 900;
}

.nav-cta:hover {
  background: var(--blue-dark);
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language {
  min-width: 40px;
  padding: 8px 10px;
  color: var(--blue-dark);
  background: transparent;
  font-size: 13px;
}

.language:hover,
.language.active {
  color: var(--white);
  background: var(--blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: center;
  gap: 32px;
  min-height: min(720px, calc(100vh - 79px));
  padding: 56px clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    linear-gradient(125deg, #05235c 0%, #00498f 42%, #0067b8 72%, #078ed0 100%),
    radial-gradient(circle at 78% 18%, rgba(245, 184, 61, 0.5), transparent 30%),
    radial-gradient(circle at 18% 82%, rgba(10, 169, 223, 0.32), transparent 34%),
    var(--blue-dark);
}

.focused-hero {
  grid-template-columns: minmax(0, 900px);
  justify-content: center;
}

.focused-hero .hero-copy {
  display: grid;
  justify-items: center;
  max-width: 820px;
  padding-top: 0;
  text-align: center;
}

.hero-copy {
  align-self: center;
  max-width: 760px;
}

.hero-logo {
  display: block;
  width: min(300px, 64vw);
  margin: 0 auto 22px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.28));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.primary-action,
.secondary-action,
.section-action-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 900;
}

.primary-action,
.section-action-row a {
  color: var(--blue-dark);
  background: var(--gold);
}

.primary-action:hover,
.section-action-row a:hover {
  background: #ffd36f;
}

.secondary-action {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.12);
}

.secondary-action:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero-map-card {
  display: grid;
  width: 100%;
  max-width: 390px;
  justify-self: center;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(8, 28, 50, 0.22);
}

.hero-map-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hero-map-card div {
  display: grid;
  gap: 9px;
  padding: 20px;
}

.hero-map-card span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-map-card strong {
  color: var(--blue-dark);
  font-size: 20px;
}

.hero-map-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.hero-map-card a {
  justify-self: start;
  margin-top: 4px;
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.hero-map-card a:hover {
  background: var(--blue-dark);
}

.hero-panel {
  display: grid;
  align-self: center;
  gap: 16px;
}

.hero-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(8, 28, 50, 0.22);
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.55;
}

.eyebrow {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.55;
  text-transform: uppercase;
}

.life-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 244, 255, 0.82)),
    var(--paper);
}

.life-carousel {
  position: relative;
  max-width: var(--content-max);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(0, 87, 168, 0.16);
  border-radius: 8px;
  background: var(--blue-dark);
  box-shadow: 0 22px 60px rgba(6, 36, 82, 0.16);
}

.life-track {
  position: relative;
  min-height: clamp(360px, 48vw, 560px);
}

.life-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease, transform 900ms ease;
  transform: scale(1.02);
}

.life-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.life-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 48, 111, 0.82), rgba(0, 48, 111, 0.34) 48%, rgba(0, 48, 111, 0.08)),
    linear-gradient(0deg, rgba(0, 24, 58, 0.74), transparent 58%);
}

.life-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-slide div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  max-width: 660px;
  padding: clamp(28px, 5vw, 62px);
  color: var(--white);
  text-align: left;
}

.life-slide span {
  width: fit-content;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--blue-dark);
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.life-slide h3 {
  margin: 0;
  font-size: clamp(30px, 5vw, 56px);
  line-height: 1.04;
  text-wrap: balance;
}

.carousel-dots {
  position: absolute;
  right: clamp(22px, 4vw, 48px);
  bottom: clamp(20px, 4vw, 42px);
  z-index: 2;
  display: flex;
  gap: 9px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  background: rgba(0, 48, 111, 0.42);
  backdrop-filter: blur(10px);
}

.carousel-dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  cursor: pointer;
}

.carousel-dots button.active {
  width: 40px;
  background: var(--gold);
}

.carousel-control {
  position: absolute;
  left: clamp(22px, 4vw, 48px);
  bottom: clamp(18px, 4vw, 40px);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(0, 48, 111, 0.58);
  font-size: 14px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.carousel-control:hover {
  background: rgba(0, 48, 111, 0.78);
}

.finder-section {
  background: var(--white);
  border-radius: 0;
}

.section-intro {
  max-width: 760px;
  margin: -10px auto 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  text-align: center;
}

.finder-panel {
  max-width: 920px;
  margin-inline: auto;
  margin-bottom: 24px;
  box-shadow: none;
  border: 1px solid var(--line);
}

.section-action-row {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.community-page {
  background: #f4f1e8;
}

.sacred-topbar {
  background: rgba(255, 255, 255, 0.95);
}

.sacred-hero {
  position: relative;
  display: grid;
  min-height: min(680px, calc(100vh - 79px));
  overflow: hidden;
  color: var(--white);
  background: var(--blue-dark);
}

.sacred-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
}

.sacred-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 24, 42, 0.9), rgba(8, 24, 42, 0.54), rgba(8, 24, 42, 0.82)),
    radial-gradient(circle at 72% 24%, rgba(200, 155, 60, 0.3), transparent 34%);
}

.sacred-hero-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-self: center;
  gap: 18px;
  width: min(100%, var(--content-max));
  max-width: 1000px;
  padding: 80px clamp(18px, 6vw, 84px);
  text-align: center;
}

.hebrew-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: 0;
}

.sacred-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
}

.sacred-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.am-israel {
  display: inline-flex;
  width: fit-content;
  margin: 10px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.sacred-intro {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 232, 0.96)),
    #f4f1e8;
}

.sacred-text {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.sacred-text p {
  margin: 0 0 16px;
  color: #4c5362;
  font-size: 20px;
  line-height: 1.75;
}

.latin-map-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(200, 155, 60, 0.16), transparent 32%),
    linear-gradient(180deg, #f4f1e8, #ffffff);
}

.latin-map-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(320px, 0.52fr);
  gap: 32px;
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
}

.latin-map-copy p {
  margin: 0 0 16px;
  color: #4c5362;
  font-size: 18px;
  line-height: 1.75;
}

.latin-map-copy p:last-child {
  margin-bottom: 0;
}

.latin-map-panel {
  display: grid;
  gap: 14px;
}

.google-map-shell {
  position: relative;
}

.google-map {
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(18, 59, 99, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(31, 95, 153, 0.12), rgba(31, 95, 153, 0.03)),
    #fbfcff;
  box-shadow: 0 18px 54px rgba(8, 28, 50, 0.14);
}

.map-api-notice {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px dashed rgba(0, 87, 168, 0.38);
  border-radius: 8px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  text-align: center;
  pointer-events: none;
}

.map-api-notice[hidden] {
  display: none;
}

.map-community-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.map-community-list a {
  display: grid;
  gap: 3px;
  padding: 13px;
  border: 1px solid rgba(18, 59, 99, 0.12);
  border-radius: 8px;
  background: var(--white);
}

.map-community-list a:hover {
  border-color: rgba(0, 87, 168, 0.34);
  background: #eef7ff;
}

.map-community-list strong {
  color: var(--blue-dark);
  font-size: 15px;
}

.map-community-list span {
  color: var(--muted);
  font-size: 13px;
}

.google-community-card {
  display: grid;
  gap: 6px;
  width: 230px;
  overflow: hidden;
  color: var(--ink);
}

.google-community-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  background: #eef4fb;
}

.google-community-card strong {
  color: var(--blue-dark);
  font-size: 16px;
}

.google-community-card span {
  color: var(--muted);
  font-size: 13px;
}

.sacred-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: #172135;
}

.sacred-columns article {
  display: grid;
  gap: 12px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.sacred-letter {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 8px;
  color: var(--blue-dark);
  background: var(--gold);
  font-size: 30px;
  font-weight: 900;
}

.sacred-columns h2 {
  margin: 0;
  font-size: 28px;
}

.sacred-columns p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.community-call {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
}

.community-call span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.community-call h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 48px);
}

.community-call p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.community-call a {
  flex: 0 0 auto;
  border-radius: 8px;
  padding: 14px 20px;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.community-call a:hover {
  background: var(--blue-dark);
}

.sacred-footer {
  background: #111a2b;
}

.sacred-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.search-panel,
.lead-form,
.notice {
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(8, 28, 50, 0.22);
}

.search-panel label,
.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 800;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 10px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  resize: vertical;
}

button,
.notice a {
  border: 0;
  border-radius: 8px;
  padding: 13px 18px;
  color: var(--white);
  background: var(--blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:hover,
.notice a:hover {
  background: var(--blue-dark);
}

button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter {
  padding: 8px 11px;
  color: var(--blue-dark);
  background: #eef4fb;
}

.filter.active {
  color: var(--white);
  background: var(--green);
}

.section {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding: 64px clamp(18px, 4vw, 56px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 24px;
  text-align: center;
}

.section-heading span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.about-section {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: start;
  max-width: 1040px;
  margin-inline: auto;
}

.about-copy {
  max-width: 780px;
}

.about-copy p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.7;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.about-points {
  display: grid;
  gap: 12px;
}

.about-points article {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.about-points strong {
  color: var(--blue-dark);
  font-size: 18px;
}

.about-points span {
  color: var(--muted);
  line-height: 1.55;
}

.store-section {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(135deg, rgba(0, 48, 111, 0.96), rgba(0, 87, 168, 0.9)),
    radial-gradient(circle at 12% 16%, rgba(245, 184, 61, 0.28), transparent 34%),
    var(--blue-dark);
}

.store-section .section-heading h2 {
  color: var(--white);
}

.store-section .section-heading span {
  color: var(--gold);
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  width: min(100%, var(--content-max));
  margin-inline: auto;
}

.store-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.86);
}

.store-copy p {
  margin: 0;
  font-size: 19px;
  line-height: 1.68;
}

.store-copy a {
  justify-self: start;
  margin-top: 6px;
  border-radius: 8px;
  padding: 13px 18px;
  color: var(--blue-dark);
  background: var(--gold);
  font-weight: 900;
}

.store-copy a:hover {
  background: #ffd36f;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.store-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 44px rgba(8, 28, 50, 0.2);
}

.store-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.store-card strong {
  padding: 16px;
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.35;
}

.community-grid,
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin-inline: auto;
}

.news-section {
  background: #eef4fb;
  border-radius: 0;
}

.news-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 980px;
  margin: -10px auto 24px;
}

.news-intro p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.news-intro a {
  flex: 0 0 auto;
  color: var(--blue);
  font-weight: 900;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin-inline: auto;
}

.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.news-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #d9e0ea;
}

.news-card-body {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.news-card-body span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card-body h3 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.2;
}

.news-card-body p,
.news-loading {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.news-card-body a {
  width: fit-content;
  margin-top: 4px;
  color: var(--blue);
  font-weight: 900;
}

.card,
.resource,
.event {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card {
  display: grid;
  gap: 12px;
  overflow: hidden;
}

.card h3,
.event h3 {
  margin: 0;
}

.card > div,
.card > p,
.card > .tags {
  padding-inline: 22px;
}

.card > .tags {
  padding-bottom: 22px;
}

.card-image,
.event-image,
.resource-image,
.notice-image {
  display: block;
  width: 100%;
  object-fit: cover;
}

.card-image {
  aspect-ratio: 16 / 9;
  background: #eef4fb;
}

.card p,
.event p,
.resource span,
.notice p,
.footer p {
  color: var(--muted);
  line-height: 1.55;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #eef4fb;
  font-size: 13px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  align-items: start;
  gap: 24px;
  background: var(--white);
  border-radius: 0;
}

.split > div {
  min-width: 0;
}

.event-list {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-inline: auto;
}

.event {
  display: grid;
  grid-template-columns: 132px 86px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 18px;
}

.event-image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: #eef4fb;
}

.event time {
  display: grid;
  min-height: 70px;
  place-items: center;
  border-radius: 8px;
  color: var(--white);
  background: var(--blue-dark);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.notice {
  align-self: start;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--line);
}

.notice-image {
  aspect-ratio: 16 / 10;
  margin: -24px -24px 20px;
  width: calc(100% + 48px);
  background: #eef4fb;
}

.notice a {
  display: inline-block;
  margin-top: 8px;
}

.resource {
  display: grid;
  gap: 8px;
  overflow: hidden;
}

.resource strong,
.resource span {
  padding-inline: 22px;
}

.resource span {
  padding-bottom: 22px;
}

.resource-image {
  aspect-ratio: 16 / 9;
  background: #eef4fb;
}

.resource strong {
  color: var(--blue-dark);
  font-size: 19px;
}

.form-section {
  max-width: 860px;
  margin: 0 auto;
}

.lead-form {
  display: grid;
  gap: 16px;
  box-shadow: none;
  border: 1px solid var(--line);
}

.lead-form button {
  justify-self: start;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #b42318;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer p {
  margin: 0;
}

.rtl {
  direction: rtl;
}

.rtl .topbar,
.rtl .topbar-actions,
.rtl .brand {
  flex-direction: row-reverse;
}

.rtl .nav {
  justify-content: flex-start;
}

.rtl .hero {
  background:
    linear-gradient(245deg, rgba(18, 59, 99, 0.96), rgba(31, 95, 153, 0.8)),
    radial-gradient(circle at 20% 20%, rgba(200, 155, 60, 0.45), transparent 32%),
    var(--blue-dark);
}

.rtl .search-row,
.rtl .event {
  direction: rtl;
}

.rtl .life-slide div {
  text-align: right;
}

.rtl .life-slide::after {
  background:
    linear-gradient(270deg, rgba(0, 48, 111, 0.82), rgba(0, 48, 111, 0.34) 48%, rgba(0, 48, 111, 0.08)),
    linear-gradient(0deg, rgba(0, 24, 58, 0.74), transparent 58%);
}

.rtl .carousel-dots {
  right: auto;
  left: clamp(22px, 4vw, 48px);
}

.rtl .carousel-control {
  right: clamp(22px, 4vw, 48px);
  left: auto;
}

.rtl input,
.rtl textarea {
  text-align: right;
}

@media (max-width: 1080px) {
  .topbar {
    align-items: center;
    flex-wrap: wrap;
  }

  .topbar-actions {
    flex: 1 1 560px;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: auto;
  }

  .nav {
    flex: 1 1 420px;
    justify-content: flex-start;
  }

  .rtl .topbar,
  .rtl .topbar-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 840px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-actions {
    align-items: flex-start;
    flex-direction: column;
    flex: 0 1 auto;
    width: 100%;
  }

  .nav {
    flex: 0 1 auto;
  }

  .rtl .topbar,
  .rtl .topbar-actions {
    align-items: flex-end;
    flex-direction: column;
  }

  .hero,
  .focused-hero,
  .split,
  .about-layout,
  .store-layout,
  .latin-map-layout,
  .sacred-columns,
  .community-grid,
  .store-grid,
  .news-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-actions {
    justify-content: center;
  }

  .life-track {
    min-height: 460px;
  }

  .life-slide::after {
    background:
      linear-gradient(0deg, rgba(0, 48, 111, 0.88), rgba(0, 48, 111, 0.36) 68%, rgba(0, 48, 111, 0.08)),
      linear-gradient(180deg, rgba(0, 24, 58, 0.24), transparent 40%);
  }

  .life-slide div {
    padding-bottom: 78px;
  }

  .carousel-dots,
  .rtl .carousel-dots {
    right: 50%;
    left: auto;
    transform: translateX(50%);
  }

  .carousel-control,
  .rtl .carousel-control {
    right: 50%;
    left: auto;
    bottom: 74px;
    transform: translateX(50%);
  }

  .topbar .brand {
    flex: 0 1 auto;
  }

  .sacred-hero {
    min-height: 620px;
  }

  .community-call {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  .store-copy {
    justify-items: center;
    text-align: center;
  }

  .store-copy a {
    justify-self: center;
  }

  .google-map {
    min-height: 480px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 16px;
    padding: 8px 14px;
  }

  .logo-brand {
    min-width: 0;
    gap: 8px;
  }

  .brand-logo {
    width: 56px;
    height: 56px;
  }

  .brand small {
    display: none;
  }

  .nav {
    gap: 8px 12px;
    font-size: 14px;
  }

  .nav-cta {
    padding: 7px 10px;
  }

  .language-switcher {
    flex-wrap: wrap;
  }

  .language {
    min-width: 36px;
    padding: 6px 8px;
  }

  .hero {
    padding-block: 38px;
  }

  .hero h1 {
    font-size: clamp(40px, 16vw, 58px);
  }

  .hero p {
    font-size: 18px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions a,
  .store-copy a,
  .community-call a {
    width: 100%;
  }

  .sacred-hero {
    min-height: 540px;
  }

  .am-israel {
    max-width: 100%;
    text-align: center;
  }

  .life-track {
    min-height: 420px;
  }

  .life-slide h3 {
    font-size: clamp(27px, 10vw, 38px);
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .map-community-list {
    grid-template-columns: 1fr;
  }

  .event {
    grid-template-columns: 1fr;
  }

  .search-row button,
  .lead-form button {
    width: 100%;
  }

  .google-map {
    min-height: 400px;
  }

  .map-api-notice {
    inset: 12px;
    padding: 16px;
    font-size: 14px;
  }
}
