@font-face {
  font-family: 'Heebo Content';
  src: url('/fonts/heebo-hebrew-400.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Heebo Content';
  src: url('/fonts/heebo-hebrew-700.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: 'Heebo Content', Arial, sans-serif;
  color: #15263b;
  background: #f6f9fc;
  font-synthesis: none;
  --ink: #10243d;
  --muted: #53677d;
  --line: #dce6ef;
  --surface: #ffffff;
  --soft: #edf6fb;
  --blue: #0b4d82;
  --blue-strong: #073a65;
  --cyan: #0b91a8;
  --amber: #e59a2d;
  --shadow: 0 16px 45px rgba(30, 66, 101, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 86% 4%, rgba(11, 145, 168, 0.11), transparent 28rem),
    #f6f9fc;
  font-size: 18px;
  line-height: 1.75;
}

a {
  color: var(--blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--cyan);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f0aa45;
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 8px;
  right: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue-strong);
  transform: translateY(-150%);
}

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

.content-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 72px;
  padding: 10px max(24px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid rgba(210, 224, 236, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.content-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}

.content-brand img {
  border-radius: 12px;
}

.content-brand span {
  display: grid;
  line-height: 1.1;
}

.content-brand strong {
  font-size: 1.15rem;
  white-space: nowrap;
}

.content-brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.content-header nav,
.content-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.content-header nav a {
  color: #263d55;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.content-header nav .header-cta {
  padding: 8px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--blue);
}

.content-header nav .header-home {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid #c8d8e8;
  border-radius: 10px;
  background: #fff;
}

.content-header nav .header-home svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.breadcrumbs,
.article-layout,
.blog-index {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 26px;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-layout {
  padding-bottom: 80px;
}

.article-hero {
  max-width: 920px;
  padding: 58px 0 44px;
}

.article-category,
.blog-hero > span {
  display: inline-flex;
  padding: 5px 12px;
  border: 1px solid #bae0e6;
  border-radius: 999px;
  color: #086c80;
  background: #ecfbfd;
  font-size: 0.82rem;
  font-weight: 700;
}

.article-hero h1,
.blog-hero h1 {
  max-width: 920px;
  margin: 18px 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.article-description,
.blog-hero p {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 24px;
  color: #60758b;
  font-size: 0.82rem;
}

.article-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  align-items: start;
  justify-content: space-between;
  gap: 54px;
}

.article-toc {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.article-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 0.92rem;
}

.article-toc ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-inline-start: 22px;
  color: #73869a;
  font-size: 0.8rem;
}

.article-toc a {
  color: #425d77;
  text-decoration: none;
}

.article-content {
  min-width: 0;
  padding: 40px clamp(24px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.article-content > h1 {
  display: none;
}

.article-content h2,
.article-sources h2,
.related-content h2 {
  margin: 2.2em 0 0.6em;
  color: var(--ink);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.2;
}

.article-content h2:first-of-type {
  margin-top: 0;
}

.article-content h3 {
  margin: 1.7em 0 0.45em;
  color: #183d5f;
  font-size: 1.22rem;
  line-height: 1.35;
}

.article-content p,
.article-content li {
  color: #304961;
}

.article-content ul,
.article-content ol {
  padding-inline-start: 26px;
}

.article-content li + li {
  margin-top: 6px;
}

.article-content blockquote {
  margin: 30px 0;
  padding: 18px 22px;
  border-inline-start: 4px solid var(--cyan);
  border-radius: 8px;
  background: var(--soft);
}

.article-content strong {
  color: #173957;
}

.article-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.article-content th,
.article-content td {
  min-width: 130px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: right;
}

.article-content th {
  background: #edf5fa;
}

.professional-note,
.article-cta,
.article-sources,
.related-content {
  width: min(760px, calc(100% - 314px));
  margin: 34px 0 0 auto;
  border-radius: 20px;
}

.professional-note {
  padding: 18px 22px;
  border: 1px solid #f1d39e;
  background: #fff8e9;
}

.professional-note strong {
  color: #7f5417;
}

.professional-note p {
  margin: 6px 0 0;
  color: #6e5737;
  font-size: 0.88rem;
}

.article-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(32, 198, 213, 0.25), transparent 15rem),
    linear-gradient(135deg, #08284a, #07527a);
}

.article-cta span {
  color: #7fe1e7;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-cta h2 {
  margin: 4px 0 8px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.article-cta p {
  max-width: 500px;
  margin: 0;
  color: #d4e6f2;
  font-size: 0.9rem;
}

.article-cta > a {
  flex: 0 0 auto;
  padding: 11px 19px;
  border-radius: 12px;
  color: #0c2a45;
  background: #fff;
  font-weight: 700;
  text-decoration: none;
}

.article-sources {
  padding: 26px 30px;
  border: 1px solid var(--line);
  background: #fff;
}

.article-sources h2,
.related-content h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.article-sources p {
  color: var(--muted);
  font-size: 0.86rem;
}

.article-sources ul {
  display: grid;
  gap: 11px;
  margin-bottom: 0;
  padding-inline-start: 22px;
}

.article-sources li span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.related-content ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related-content li a {
  display: grid;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  text-decoration: none;
}

.related-content li span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 700;
}

.related-content li strong {
  margin-top: 8px;
  line-height: 1.35;
}

.related-content li small {
  align-self: end;
  margin-top: 18px;
  color: var(--blue);
}

.blog-index {
  padding-bottom: 86px;
}

.blog-hero {
  padding: 82px 0 50px;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 0 30px;
}

.category-links span {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #415c74;
  background: #fff;
  font-size: 0.8rem;
}

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

.content-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(27, 63, 96, 0.06);
}

.content-card > span {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 700;
}

.content-card h2 {
  margin: 10px 0;
  font-size: 1.3rem;
  line-height: 1.3;
}

.content-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.content-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.78rem;
}

.content-card time {
  color: #718499;
}

.not-found {
  display: grid;
  place-items: center;
  min-height: 64vh;
  padding: 80px 24px;
  text-align: center;
}

.not-found > span {
  color: var(--cyan);
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 1;
}

.not-found h1 {
  margin: 10px 0;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.not-found p {
  max-width: 600px;
  color: var(--muted);
}

.not-found div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.not-found div a {
  padding: 10px 18px;
  border: 1px solid var(--blue);
  border-radius: 11px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.not-found div a.secondary {
  color: var(--blue);
  background: #fff;
}

.content-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 38px max(24px, calc((100vw - 1120px) / 2));
  color: #c5d6e3;
  background: #091d32;
}

.content-footer p {
  max-width: 540px;
  margin: 0;
  font-size: 0.86rem;
}

.content-footer a {
  color: #dce9f2;
  font-size: 0.8rem;
}

body.mobile-entry-open {
  overflow: hidden;
}

.mobile-entry-dialog {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 18, 32, 0.68);
  backdrop-filter: blur(8px);
}

.mobile-entry-dialog[hidden],
.mobile-entry-download[hidden],
.mobile-entry-store-options[hidden] {
  display: none !important;
}

.mobile-entry-card {
  position: relative;
  width: min(100%, 460px);
  padding: 32px;
  border: 1px solid #c9d9e6;
  border-radius: 24px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 80px rgba(4, 18, 32, 0.3);
  text-align: center;
}

.mobile-entry-close {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid #d4e0ea;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}

.mobile-entry-eyebrow {
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
}

.mobile-entry-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(1.7rem, 7vw, 2.25rem);
}

.mobile-entry-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.mobile-entry-actions,
.mobile-entry-store-options {
  display: grid;
  gap: 10px;
}

.mobile-entry-actions {
  margin-top: 24px;
}

.mobile-entry-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--blue);
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.mobile-entry-actions a.mobile-entry-continue {
  color: var(--blue);
  background: #fff;
}

.content-whatsapp {
  position: fixed;
  z-index: 120;
  bottom: 24px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  color: #fff;
  background: #25d366;
  box-shadow: 0 14px 34px rgba(13, 94, 48, 0.28);
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.content-whatsapp:hover {
  color: #fff;
  background: #1fbd5a;
  box-shadow: 0 18px 40px rgba(13, 94, 48, 0.36);
  transform: translateY(-3px);
}

.content-whatsapp svg {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  fill: currentColor;
}

.content-whatsapp span {
  white-space: nowrap;
}

body:has(.content-consent:not([hidden])) .content-whatsapp {
  bottom: 126px;
}

.content-consent {
  position: fixed;
  z-index: 150;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 980px;
  margin-inline: auto;
  padding: 18px 22px;
  border: 1px solid #bfd2e0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 60px rgba(8, 32, 55, 0.2);
}

.content-consent[hidden] {
  display: none;
}

.content-consent strong {
  display: block;
  color: var(--ink);
}

.content-consent p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.content-consent__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.content-consent button {
  padding: 8px 13px;
  border: 1px solid var(--blue);
  border-radius: 9px;
  color: #fff;
  background: var(--blue);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.content-consent button.secondary {
  color: var(--blue);
  background: #fff;
}

.content-consent a {
  font-size: 0.74rem;
}

@media (max-width: 900px) {
  .content-header {
    position: static;
  }

  .content-header nav a:not(.header-cta):not(.header-home),
  .content-brand small {
    display: none;
  }

  .article-grid {
    display: block;
  }

  .article-toc {
    position: static;
    margin-bottom: 20px;
  }

  .professional-note,
  .article-cta,
  .article-sources,
  .related-content {
    width: 100%;
  }

  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-footer,
  .content-consent {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 17px;
  }

  .content-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 64px;
    gap: 6px;
    padding: 8px 10px;
  }

  .content-brand {
    min-width: 0;
    gap: 6px;
  }

  .content-brand img {
    width: 36px;
    height: 36px;
  }

  .content-brand strong {
    font-size: clamp(0.82rem, 3.8vw, 0.95rem);
  }

  .content-header nav {
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .content-header nav .header-cta {
    padding: 7px 9px;
    font-size: 0.74rem;
    white-space: nowrap;
  }

  .mobile-entry-card {
    padding: 30px 20px 22px;
    border-radius: 20px;
  }

  .content-whatsapp {
    bottom: 16px;
    left: 12px;
    min-width: 54px;
    min-height: 54px;
    padding: 8px;
    justify-content: center;
  }

  .content-whatsapp span {
    display: none;
  }

  body:has(.content-consent:not([hidden])) .content-whatsapp {
    display: none;
  }

  .breadcrumbs,
  .article-layout,
  .blog-index {
    width: min(100% - 28px, 1120px);
  }

  .article-hero {
    padding: 38px 0 30px;
  }

  .article-hero h1,
  .blog-hero h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .article-content {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .article-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 24px;
  }

  .article-cta > a {
    text-align: center;
  }

  .related-content ul,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    padding-top: 52px;
  }

  .content-card {
    min-height: 0;
  }

  .content-footer {
    align-items: flex-start;
    padding: 34px 20px;
  }

  .content-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 16px;
  }

  .content-consent__actions {
    flex-wrap: wrap;
  }
}

@media print {
  .content-header,
  .content-footer,
  .content-consent,
  .article-cta {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .article-grid {
    display: block;
  }

  .article-toc {
    position: static;
  }

  .article-content {
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
