/* Hamakom Blog Design 1.0.4 */
:root {
  --hbd-deep: #0c6671;
  --hbd-ink: #123f42;
  --hbd-ink-2: #274b4e;
  --hbd-teal: #61b3a4;
  --hbd-mint: #7adbca;
  --hbd-soft: #f2faf8;
  --hbd-soft-2: #e9f7f4;
  --hbd-paper: #ffffff;
  --hbd-text: #304749;
  --hbd-muted: #6f8183;
  --hbd-line: rgba(18, 63, 66, 0.11);
  --hbd-shadow-sm: 0 10px 26px rgba(18, 63, 66, 0.07);
  --hbd-shadow: 0 20px 55px rgba(18, 63, 66, 0.10);
  --hbd-radius: 22px;
  --hbd-radius-sm: 14px;
}

.hbd-page {
  direction: rtl;
  font-family: "Heebo", "Heebo Fallback", Arial, sans-serif;
  color: var(--hbd-text);
  background: #fff;
  text-align: right;
}

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

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

.hbd-page a {
  color: inherit;
}

.hbd-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hbd-shell--content {
  padding-block: 48px 86px;
}

.hbd-shell--article {
  width: min(1080px, calc(100% - 40px));
}

.hbd-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--hbd-teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
}

.hbd-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: currentColor;
}

.hbd-button,
.hbd-text-link {
  text-decoration: none !important;
}

.hbd-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--hbd-deep);
  border-radius: 999px;
  background: var(--hbd-deep);
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(12, 102, 113, .18);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.hbd-button:hover {
  transform: translateY(-2px);
  background: var(--hbd-ink);
  box-shadow: 0 15px 30px rgba(12, 102, 113, .22);
}

.hbd-button--ghost {
  border-color: var(--hbd-line);
  background: #fff;
  color: var(--hbd-ink) !important;
  box-shadow: none;
}

.hbd-button--ghost:hover {
  border-color: rgba(97, 179, 164, .45);
  background: var(--hbd-soft);
}

.hbd-text-link {
  color: var(--hbd-deep) !important;
  font-weight: 800;
}

.hbd-text-link::after {
  content: " ←";
}

/* Breadcrumbs */
.hbd-breadcrumbs {
  margin-bottom: 22px;
  font-size: 13px;
}

.hbd-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hbd-breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.72);
}

.hbd-breadcrumbs li:not(:last-child)::after {
  content: "/";
  opacity: .45;
}

.hbd-breadcrumbs a {
  color: inherit !important;
  text-decoration: none;
}

.hbd-breadcrumbs a:hover {
  color: #fff !important;
}

/* Hub / Archive hero */
.hbd-hub-hero,
.hbd-archive-hero,
.hbd-single-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 18%, rgba(122,219,202,.18), transparent 22%),
    radial-gradient(circle at 88% 82%, rgba(97,179,164,.17), transparent 26%),
    linear-gradient(135deg, #082f34 0%, #0c5660 44%, #113b40 100%);
  color: #fff;
}

.hbd-hub-hero::after,
.hbd-archive-hero::after,
.hbd-single-hero::after {
  content: "";
  position: absolute;
  inset: auto -6% -120px auto;
  width: 420px;
  height: 420px;
  border: 72px solid rgba(122,219,202,.045);
  border-radius: 50%;
  pointer-events: none;
}

.hbd-hub-hero .hbd-shell,
.hbd-archive-hero .hbd-shell,
.hbd-single-hero .hbd-shell {
  position: relative;
  z-index: 1;
}

.hbd-hub-hero {
  display: flex;
  min-height: 520px;
  align-items: center;
  padding: 165px 0 112px;
}

.hbd-hub-hero .hbd-shell {
  width: min(1240px, calc(100% - 64px));
}

.hbd-hub-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 820px) 205px;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  justify-content: space-between;
}

.hbd-hub-hero h1,
.hbd-archive-hero h1,
.hbd-single-hero h1 {
  margin: 12px 0 15px;
  color: #fff;
  font-family: "Heebo", "Heebo Fallback", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -.035em;
}

.hbd-hub-hero h1 {
  max-width: 820px;
  font-size: clamp(52px, 6vw, 78px);
  line-height: 1.02;
}

.hbd-hub-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 20px;
  line-height: 1.7;
}

.hbd-hub-hero__stat {
  display: grid;
  min-width: 205px;
  min-height: 142px;
  place-content: center;
  padding: 24px 26px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
}

.hbd-hub-hero__stat strong {
  color: var(--hbd-mint);
  font-size: 48px;
  font-weight: 800;
  line-height: 1;
}

.hbd-hub-hero__stat span {
  margin-top: 10px;
  color: rgba(255,255,255,.80);
  font-size: 14px;
  line-height: 1.45;
}

.hbd-archive-hero {
  padding: 150px 0 72px;
}

.hbd-archive-hero__content {
  max-width: 790px;
}

.hbd-archive-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
}

.hbd-archive-description {
  color: rgba(255,255,255,.78);
  font-size: 19px;
  line-height: 1.75;
}

.hbd-archive-description p {
  margin: 0;
}

.hbd-archive-count {
  display: inline-flex;
  margin-top: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: var(--hbd-mint);
  font-size: 13px;
  font-weight: 700;
}

/* Category navigation */
.hbd-category-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: -72px 0 54px;
  padding: 10px;
  border: 1px solid var(--hbd-line);
  border-radius: 20px;
  background: rgba(255,255,255,.97);
  box-shadow: var(--hbd-shadow);
  scrollbar-width: none;
}

.hbd-category-nav::-webkit-scrollbar { display: none; }

.hbd-category-nav a {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 9px;
  align-items: center;
  min-height: 46px;
  padding: 0 17px;
  border-radius: 13px;
  color: var(--hbd-ink) !important;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.hbd-category-nav a:hover {
  background: var(--hbd-soft-2);
  color: var(--hbd-deep) !important;
}

.hbd-category-nav small {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 99px;
  background: var(--hbd-soft);
  color: var(--hbd-teal);
  font-size: 11px;
}

.hbd-hub .hbd-shell--content {
  padding-top: 0;
}

.hbd-hub .hbd-category-nav {
  position: relative;
  z-index: 4;
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
  margin: -30px 0 64px;
  padding: 12px 16px;
  border-radius: 22px;
}

/* On category archive pages, keep the category navigation fully below the hero. */
.hbd-archive .hbd-category-nav {
  position: relative;
  z-index: 4;
  justify-content: center;
  flex-wrap: wrap;
  overflow: visible;
  margin: 26px 0 58px;
  padding: 12px 16px;
  border-radius: 22px;
}

/* Section */
.hbd-section {
  margin-block: 72px;
}

.hbd-section-heading {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.hbd-section-heading h2 {
  margin: 5px 0 0;
  color: var(--hbd-ink);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.hbd-section-intro {
  max-width: 760px;
  margin: -8px 0 26px;
  color: var(--hbd-muted);
  font-size: 17px;
  line-height: 1.75;
}

/* Cards */
.hbd-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hbd-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hbd-card {
  overflow: hidden;
  border: 1px solid var(--hbd-line);
  border-radius: var(--hbd-radius);
  background: #fff;
  box-shadow: var(--hbd-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hbd-card:hover {
  transform: translateY(-5px);
  border-color: rgba(97,179,164,.28);
  box-shadow: var(--hbd-shadow);
}

.hbd-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--hbd-deep), var(--hbd-ink));
}

.hbd-card__image,
.hbd-image-placeholder {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform .35s ease;
}

.hbd-card:hover .hbd-card__image {
  transform: scale(1.035);
}

.hbd-image-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.64);
  font-size: 22px;
  font-weight: 800;
}

.hbd-card__body {
  padding: 20px 21px 22px;
}

.hbd-chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--hbd-soft-2);
  color: var(--hbd-deep) !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
}

.hbd-card__title {
  margin: 12px 0 9px;
  color: var(--hbd-ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.015em;
}

.hbd-card__title a {
  color: inherit !important;
  text-decoration: none;
}

.hbd-card__excerpt {
  margin: 0 0 15px;
  color: var(--hbd-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hbd-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #839194;
  font-size: 12px;
}

.hbd-featured-grid {
  display: grid;
  grid-template-columns: 1.35fr .9fr;
  gap: 24px;
}

.hbd-featured-grid__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hbd-card--large {
  height: 100%;
}

.hbd-card--large .hbd-card__media {
  aspect-ratio: 16 / 9;
}

.hbd-card--large .hbd-card__title {
  font-size: clamp(26px, 2.7vw, 36px);
}

.hbd-card--compact .hbd-card__body {
  padding: 15px 16px 16px;
}

.hbd-card--compact .hbd-card__title {
  margin-top: 9px;
  font-size: 17px;
}

.hbd-card--compact .hbd-card__media {
  aspect-ratio: 16/9;
}

.hbd-category-section {
  padding-top: 56px;
  border-top: 1px solid var(--hbd-line);
}

/* CTA */
.hbd-cta {
  display: flex;
  gap: 34px;
  align-items: center;
  justify-content: space-between;
  margin-top: 86px;
  padding: 36px 38px;
  overflow: hidden;
  border: 1px solid rgba(97,179,164,.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 6% 15%, rgba(122,219,202,.23), transparent 28%),
    linear-gradient(135deg, #f2faf8, #fff);
  box-shadow: var(--hbd-shadow-sm);
}

.hbd-cta h2 {
  margin: 7px 0 6px;
  color: var(--hbd-ink);
  font-size: 32px;
  font-weight: 800;
}

.hbd-cta p {
  max-width: 720px;
  margin: 0;
  color: var(--hbd-muted);
  line-height: 1.7;
}

/* Single article hero */
.hbd-single-hero {
  padding: 145px 0 116px;
}

.hbd-single-hero__inner {
  max-width: 930px;
  margin-inline: auto;
  text-align: center;
}

.hbd-chip--hero {
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.10);
  color: var(--hbd-mint) !important;
}

.hbd-single-hero h1 {
  margin: 18px auto 17px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.1;
}

.hbd-single-deck {
  max-width: 820px;
  margin: 0 auto;
  color: rgba(255,255,255,.76);
  font-size: 19px;
  line-height: 1.75;
}

.hbd-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 20px;
  color: rgba(255,255,255,.64);
  font-size: 13px;
}

.hbd-feature-wrap {
  position: relative;
  z-index: 2;
  margin-top: -76px;
}

.hbd-feature-image {
  overflow: hidden;
  border: 7px solid #fff;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(18,63,66,.18);
}

.hbd-feature-image__img,
.hbd-feature-image .hbd-image-placeholder {
  display: block;
  width: 100%;
  max-height: 650px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
}

/* Article layout */
.hbd-article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 760px);
  gap: 56px;
  justify-content: center;
  padding-block: 66px 34px;
}

.hbd-toc__sticky {
  position: sticky;
  top: 110px;
  padding: 20px;
  border: 1px solid var(--hbd-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18,63,66,.055);
}

.hbd-toc__label {
  display: block;
  margin-bottom: 13px;
  color: var(--hbd-ink);
  font-size: 13px;
  font-weight: 800;
}

.hbd-toc ol,
.hbd-toc-mobile ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hbd-toc li {
  margin: 0;
  padding: 0;
}

.hbd-toc a {
  display: block;
  padding: 7px 0;
  color: #617477 !important;
  font-size: 13px;
  line-height: 1.45;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}

.hbd-toc a:hover,
.hbd-toc a.is-active {
  color: var(--hbd-deep) !important;
  transform: translateX(-3px);
}

.hbd-toc__level-3 a {
  padding-right: 12px;
  color: #859396 !important;
  font-size: 12px;
}

.hbd-toc-mobile {
  display: none;
}

.hbd-article {
  min-width: 0;
}

.hbd-article__content {
  color: var(--hbd-text);
  font-size: 19px;
  line-height: 1.92;
}

.hbd-article__content > p:first-child {
  color: #36575a;
  font-size: 21px;
  line-height: 1.85;
}

.hbd-article__content p {
  margin: 0 0 1.45em;
}

.hbd-article__content h2 {
  scroll-margin-top: 110px;
  margin: 58px 0 22px;
  padding: 15px 18px 16px;
  border: 1px solid rgba(97,179,164,.19);
  border-right: 5px solid var(--hbd-teal);
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(122,219,202,.04), rgba(122,219,202,.15));
  color: var(--hbd-ink);
  font-size: clamp(27px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: -.018em;
}

.hbd-article__content h3 {
  scroll-margin-top: 110px;
  margin: 40px 0 16px;
  color: var(--hbd-deep);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.42;
}

.hbd-article__content h3::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 9px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--hbd-teal), transparent);
}

.hbd-article__content h4 {
  margin: 30px 0 12px;
  color: var(--hbd-ink);
  font-size: 20px;
  font-weight: 800;
}

.hbd-article__content strong {
  color: var(--hbd-ink);
  font-weight: 800;
}

.hbd-article__content a {
  color: #148d84;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: rgba(20,141,132,.28);
}

.hbd-article__content a:hover {
  color: var(--hbd-deep);
  text-decoration-color: currentColor;
}

.hbd-article__content ul,
.hbd-article__content ol {
  margin: 25px 0 32px;
  padding: 19px 42px 19px 22px;
  border: 1px solid var(--hbd-line);
  border-radius: 16px;
  background: var(--hbd-soft);
}

.hbd-article__content li {
  margin: 8px 0;
}

.hbd-article__content li::marker {
  color: var(--hbd-teal);
  font-weight: 800;
}

.hbd-article__content blockquote {
  margin: 34px 0;
  padding: 24px 28px;
  border: 0;
  border-right: 5px solid var(--hbd-mint);
  border-radius: 16px;
  background: linear-gradient(135deg, #effaf8, #fff);
  color: #36565a;
  font-size: 19px;
  box-shadow: var(--hbd-shadow-sm);
}

.hbd-article__content figure,
.hbd-article__content .wp-block-image,
.hbd-article__content .aap-inline-image {
  margin: 36px 0;
}

.hbd-article__content img {
  height: auto;
  border-radius: 20px;
  box-shadow: 0 16px 38px rgba(18,63,66,.10);
}

.hbd-article__content figcaption,
.hbd-article__content .wp-element-caption {
  margin-top: 9px;
  color: #879396;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.hbd-article__content table {
  width: 100%;
  margin: 32px 0;
  overflow: hidden;
  border: 1px solid var(--hbd-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--hbd-shadow-sm);
  font-size: 15px;
}

.hbd-article__content th,
.hbd-article__content td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--hbd-line);
  text-align: right;
  vertical-align: top;
}

.hbd-article__content th {
  background: var(--hbd-soft-2);
  color: var(--hbd-ink);
  font-weight: 800;
}

.hbd-article__content tr:last-child td {
  border-bottom: 0;
}

.hbd-article-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--hbd-line);
}

.hbd-share {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--hbd-muted);
  font-size: 13px;
}

.hbd-share a {
  padding: 7px 11px;
  border: 1px solid var(--hbd-line);
  border-radius: 999px;
  background: #fff;
  color: var(--hbd-ink) !important;
  font-weight: 700;
  text-decoration: none;
}

.hbd-author-box {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 22px;
  align-items: center;
  margin-top: 48px;
  padding: 26px 28px;
  border: 1px solid rgba(97,179,164,.22);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0, rgba(122,219,202,.20), transparent 35%),
    linear-gradient(135deg, #fff, var(--hbd-soft));
  box-shadow: var(--hbd-shadow-sm);
}

.hbd-author-box__mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 24px;
  background: var(--hbd-deep);
  color: var(--hbd-mint);
  font-size: 17px;
  font-weight: 800;
  transform: rotate(-3deg);
}

.hbd-author-box h2 {
  margin: 5px 0 6px;
  color: var(--hbd-ink);
  font-size: 24px;
  font-weight: 800;
}

.hbd-author-box p {
  margin: 0;
  color: var(--hbd-muted);
  font-size: 15px;
  line-height: 1.75;
}

.hbd-related {
  padding-top: 56px;
  border-top: 1px solid var(--hbd-line);
}

.hbd-cta--article {
  margin-top: 60px;
}

/* Pagination */
.hbd-pagination {
  margin-top: 50px;
}

.hbd-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hbd-pagination a,
.hbd-pagination span {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--hbd-line);
  border-radius: 12px;
  background: #fff;
  color: var(--hbd-ink) !important;
  font-weight: 700;
  text-decoration: none;
}

.hbd-pagination .current {
  border-color: var(--hbd-deep);
  background: var(--hbd-deep);
  color: #fff !important;
}

.hbd-empty {
  margin: 60px auto;
  padding: 40px;
  border: 1px solid var(--hbd-line);
  border-radius: 22px;
  background: var(--hbd-soft);
  text-align: center;
}

/* Responsive */
@media (max-width: 1024px) {
  .hbd-featured-grid {
    grid-template-columns: 1fr;
  }
  .hbd-featured-grid__side {
    grid-template-columns: repeat(2, 1fr);
  }
  .hbd-card-grid,
  .hbd-card-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hbd-article-layout {
    grid-template-columns: minmax(0, 760px);
  }
  .hbd-toc {
    display: none;
  }
  .hbd-toc-mobile {
    display: block;
    margin-bottom: 32px;
    overflow: hidden;
    border: 1px solid var(--hbd-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--hbd-shadow-sm);
  }
  .hbd-toc-mobile summary {
    cursor: pointer;
    padding: 16px 18px;
    color: var(--hbd-ink);
    font-weight: 800;
  }
  .hbd-toc-mobile ol {
    padding: 0 18px 16px;
  }
  .hbd-toc-mobile li {
    margin: 8px 0;
  }
  .hbd-toc-mobile a {
    color: var(--hbd-deep) !important;
    text-decoration: none;
  }
}

@media (max-width: 767px) {
  .hbd-shell,
  .hbd-shell--article {
    width: min(100% - 28px, 1180px);
  }
  .hbd-shell--content {
    padding-block: 34px 58px;
  }
  .hbd-hub-hero {
    min-height: 0;
    padding: 125px 0 72px;
  }
  .hbd-hub-hero .hbd-shell {
    width: min(100% - 28px, 1180px);
  }
  .hbd-hub-hero__content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hbd-hub-hero h1 {
    font-size: clamp(42px, 12vw, 56px);
  }
  .hbd-hub-hero p {
    font-size: 17px;
  }
  .hbd-hub-hero__stat {
    width: 100%;
    min-width: 0;
    min-height: 104px;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
    justify-content: start;
    text-align: right;
  }
  .hbd-hub-hero__stat strong {
    font-size: 40px;
  }
  .hbd-hub-hero__stat span {
    margin-top: 0;
  }
  .hbd-category-nav {
    margin-top: -54px;
    margin-bottom: 42px;
    border-radius: 16px;
  }
  .hbd-hub .hbd-category-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-top: -24px;
    margin-bottom: 44px;
  }
  .hbd-section {
    margin-block: 54px;
  }
  .hbd-section-heading {
    align-items: flex-start;
  }
  .hbd-section-heading h2 {
    font-size: 31px;
  }
  .hbd-featured-grid__side,
  .hbd-card-grid,
  .hbd-card-grid--3 {
    grid-template-columns: 1fr;
  }
  .hbd-card--compact {
    display: grid;
    grid-template-columns: 135px 1fr;
  }
  .hbd-card--compact .hbd-card__media {
    height: 100%;
    aspect-ratio: auto;
  }
  .hbd-card--compact .hbd-chip,
  .hbd-card--compact .hbd-card__meta {
    display: none;
  }
  .hbd-card--compact .hbd-card__title {
    margin: 0;
  }
  .hbd-cta {
    display: grid;
    padding: 28px 24px;
  }
  .hbd-cta h2 {
    font-size: 28px;
  }
  .hbd-archive-hero {
    padding: 120px 0 58px;
  }
  .hbd-archive-hero h1 {
    font-size: 42px;
  }
  .hbd-single-hero {
    padding: 118px 0 92px;
  }
  .hbd-single-hero h1 {
    font-size: 38px;
  }
  .hbd-single-deck {
    font-size: 17px;
  }
  .hbd-single-meta {
    font-size: 12px;
  }
  .hbd-feature-wrap {
    margin-top: -58px;
  }
  .hbd-feature-image {
    border-width: 4px;
    border-radius: 20px;
  }
  .hbd-feature-image__img,
  .hbd-feature-image .hbd-image-placeholder {
    border-radius: 15px;
  }
  .hbd-article-layout {
    padding-top: 44px;
  }
  .hbd-article__content {
    font-size: 17px;
    line-height: 1.85;
  }
  .hbd-article__content > p:first-child {
    font-size: 19px;
  }
  .hbd-article__content h2 {
    margin-top: 46px;
    padding: 13px 15px;
    border-radius: 14px;
    font-size: 25px;
  }
  .hbd-article__content h3 {
    margin-top: 34px;
    font-size: 21px;
  }
  .hbd-article__content ul,
  .hbd-article__content ol {
    padding: 16px 34px 16px 16px;
  }
  .hbd-article__content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .hbd-article-footer {
    display: grid;
  }
  .hbd-author-box {
    grid-template-columns: 1fr;
    padding: 22px;
  }
  .hbd-author-box__mark {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hbd-page *,
  .hbd-page *::before,
  .hbd-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}

/* Search results — v1.0.4
   Hamakom's live Elementor site uses Open Sans for Hebrew UI/body typography.
   Search typography is scoped here so theme/global heading rules cannot override it. */
.hbd-search-page {
  direction: rtl;
  color: var(--hbd-text);
  background: var(--hbd-soft);
  text-align: right;
}

.hbd-search-page *,
.hbd-search-page *::before,
.hbd-search-page *::after {
  box-sizing: border-box;
}

.hbd-search-page input,
.hbd-search-page button {
  font: inherit;
}

.hbd-search-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 7% 10%, rgba(122,219,202,.17), transparent 22%),
    radial-gradient(circle at 94% 94%, rgba(97,179,164,.14), transparent 25%),
    linear-gradient(135deg, #103f43 0%, #0d5961 52%, #0b4c53 100%);
}

.hbd-search-hero::before,
.hbd-search-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hbd-search-hero::before {
  width: 360px;
  height: 360px;
  inset: -235px auto auto -115px;
  background: rgba(122,219,202,.10);
}

.hbd-search-hero::after {
  width: 300px;
  height: 300px;
  inset: auto -120px -205px auto;
  background: rgba(122,219,202,.09);
}

.hbd-search-hero .hbd-shell {
  position: relative;
  z-index: 1;
}

.hbd-search-page .hbd-breadcrumbs {
  margin-bottom: 28px;
}

.hbd-search-hero__inner {
  max-width: 920px;
}

.hbd-search-kicker,
.hbd-search-eyebrow {
  display: inline-block;
  color: var(--hbd-mint);
  font-size: 13px;
  font-weight: 700;
}

.hbd-search-hero h1 {
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.hbd-search-hero__inner > p {
  margin: 0 0 26px;
  max-width: 700px;
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.7;
}

.hbd-search-form {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(100%, 820px);
  padding: 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(5,39,42,.18);
}

.hbd-search-form input[type="search"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 54px;
  margin: 0;
  padding: 0 18px;
  border: 0 !important;
  border-radius: 12px;
  outline: none;
  background: transparent;
  box-shadow: none !important;
  color: var(--hbd-ink);
  font-size: 16px;
  text-align: right;
}

.hbd-search-form input[type="search"]::placeholder {
  color: #849596;
}

.hbd-search-form button {
  display: inline-flex;
  min-width: 120px;
  height: 54px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  background: var(--hbd-mint);
  color: var(--hbd-ink);
  font-weight: 700;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.hbd-search-form button:hover {
  transform: translateY(-1px);
  filter: brightness(.98);
}

.hbd-search-form button svg {
  width: 21px;
  height: 21px;
}

.hbd-search-results-section {
  min-height: 520px;
  padding: 58px 0 88px;
  background: #f5fbfa;
}

.hbd-search-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.hbd-search-heading h2,
.hbd-search-discover h2,
.hbd-search-empty h2 {
  margin: 5px 0 0;
  color: var(--hbd-ink);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.018em;
}

.hbd-search-heading .hbd-search-eyebrow,
.hbd-search-discover .hbd-search-eyebrow {
  color: var(--hbd-deep);
}

.hbd-search-count {
  flex: 0 0 auto;
  padding: 8px 13px;
  border: 1px solid var(--hbd-line);
  border-radius: 999px;
  background: #fff;
  color: #65797a;
  font-size: 13px;
  font-weight: 600;
}

.hbd-search-grid {
  align-items: stretch;
}

.hbd-search-grid .hbd-card {
  height: 100%;
}

.hbd-search-grid .hbd-card__body {
  display: flex;
  height: calc(100% - min(240px, 40vw));
  min-height: 210px;
  flex-direction: column;
}

.hbd-search-grid .hbd-card__meta {
  margin-top: auto;
}

.hbd-search-empty {
  max-width: 980px;
  margin: 12px auto 0;
  padding: clamp(38px, 6vw, 68px) clamp(24px, 5vw, 70px);
  border: 1px solid var(--hbd-line);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--hbd-shadow-sm);
  text-align: center;
}

.hbd-search-empty__icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--hbd-soft-2);
  color: var(--hbd-deep);
}

.hbd-search-empty__icon svg {
  width: 31px;
  height: 31px;
}

.hbd-search-empty p {
  max-width: 620px;
  margin: 13px auto 24px;
  color: var(--hbd-muted);
  font-size: 16px;
  line-height: 1.7;
}

.hbd-search-empty .hbd-search-form {
  margin: 0 auto;
  border-color: var(--hbd-line);
  box-shadow: none;
}

.hbd-search-discover {
  margin-top: 54px;
}

.hbd-search-discover__heading {
  margin-bottom: 22px;
}

.hbd-search-page .hbd-category-nav {
  margin-top: 0;
}

@media (max-width: 767px) {
  .hbd-search-hero {
    padding: 48px 0 52px;
  }

  .hbd-search-page .hbd-shell {
    width: min(100% - 28px, 1180px);
  }

  .hbd-search-hero h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  .hbd-search-hero__inner > p {
    font-size: 16px;
  }

  .hbd-search-form {
    gap: 6px;
    padding: 6px;
    border-radius: 15px;
  }

  .hbd-search-form input[type="search"] {
    height: 50px;
    padding: 0 12px;
    font-size: 15px;
  }

  .hbd-search-form button {
    min-width: 92px;
    height: 50px;
    padding: 0 14px;
  }

  .hbd-search-form button svg {
    display: none;
  }

  .hbd-search-results-section {
    padding: 42px 0 66px;
  }

  .hbd-search-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .hbd-search-count {
    align-self: flex-start;
  }

  .hbd-search-empty {
    padding: 34px 18px;
    border-radius: 20px;
  }
}


/* Search typography lock — v1.0.4
   Keep this scoped to the search template only. */
.hbd-search-page,
.hbd-search-page input,
.hbd-search-page button,
.hbd-search-page select,
.hbd-search-page textarea,
.hbd-search-page h1,
.hbd-search-page h2,
.hbd-search-page h3,
.hbd-search-page h4,
.hbd-search-page h5,
.hbd-search-page h6,
.hbd-search-page p,
.hbd-search-page a,
.hbd-search-page span,
.hbd-search-page li,
.hbd-search-page div {
  font-family: "Open Sans", Arial, sans-serif !important;
}

.hbd-search-page .hbd-search-kicker,
.hbd-search-page .hbd-search-eyebrow {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.hbd-search-page .hbd-search-hero h1 {
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.hbd-search-page .hbd-search-hero__inner > p {
  font-weight: 400 !important;
}

.hbd-search-page .hbd-search-heading h2,
.hbd-search-page .hbd-search-discover h2,
.hbd-search-page .hbd-search-empty h2 {
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.hbd-search-page .hbd-search-count {
  font-weight: 600 !important;
}

.hbd-search-page .hbd-card__title,
.hbd-search-page .hbd-card__title a {
  color: var(--hbd-ink) !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.48 !important;
  letter-spacing: 0 !important;
}

.hbd-search-page .hbd-card__excerpt {
  color: var(--hbd-muted) !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  letter-spacing: 0 !important;
}

.hbd-search-page .hbd-chip {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.hbd-search-page .hbd-card__meta {
  font-family: "Open Sans", Arial, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

.hbd-search-page .hbd-search-form input[type="search"],
.hbd-search-page .hbd-search-form button {
  font-family: "Open Sans", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}


/* v1.6.11: one sticky sidebar, full TOC, no paging.
   The aside is capped at the visible viewport height. The Airalo card keeps
   its natural height; the TOC list takes the remaining space and scrolls
   inside itself only when it is longer than that space. JS keeps the active
   section in view, so readers rarely need to scroll the list manually. */
@media (min-width: 1025px) {
  .hbd-article-layout > .hbd-toc {
    position: sticky;
    top: var(--hbd-toc-sticky-top, 124px);
    align-self: start;
    min-width: 0;
    max-height: calc(100vh - var(--hbd-toc-sticky-top, 124px) - 16px);
    max-height: calc(100dvh - var(--hbd-toc-sticky-top, 124px) - 16px);
    display: flex;
    flex-direction: column;
    gap: 13px;
    overflow: visible;
    z-index: 2;
  }
  .hbd-article-layout > .hbd-toc > .hbd-toc__sticky {
    position: static;
    top: auto;
    flex: 0 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding-bottom: 12px;
  }
  .hbd-article-layout > .hbd-toc > .hmae-tp-box--sidebar {
    flex: 0 0 auto;
  }
  .hbd-toc__heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    flex: 0 0 auto;
  }
  .hbd-toc__heading .hbd-toc__label {
    margin: 0;
    color: var(--hbd-ink);
    text-align: center;
    font-weight: 800;
  }
  .hbd-toc__count {
    color: #7b9494;
    font-size: 11px;
    line-height: 1.45;
  }
  .hbd-toc__sticky > nav {
    flex: 1 1 auto;
    min-height: 140px;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-inline: -8px;
    padding-inline: 8px;
    scrollbar-width: thin;
    scrollbar-color: #cfe3df transparent;
  }
  .hbd-toc__sticky > nav::-webkit-scrollbar { width: 5px; }
  .hbd-toc__sticky > nav::-webkit-scrollbar-thumb { background: #cfe3df; border-radius: 9px; }
  .hbd-toc__sticky > nav::-webkit-scrollbar-track { background: transparent; }
  /* Soft fade only on the edge that has more topics behind it. */
  .hbd-toc__sticky > nav.hbd-toc--more-below {
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent);
            mask-image: linear-gradient(to bottom, #000 calc(100% - 30px), transparent);
  }
  .hbd-toc__sticky > nav.hbd-toc--more-above {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30px);
            mask-image: linear-gradient(to bottom, transparent, #000 30px);
  }
  .hbd-toc__sticky > nav.hbd-toc--more-above.hbd-toc--more-below {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30px, #000 calc(100% - 30px), transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 30px, #000 calc(100% - 30px), transparent);
  }
  .hbd-toc a.is-active {
    font-weight: 700;
  }
}
/* Shorter laptop screens: make the Airalo card compact so the TOC keeps room. */
@media (min-width: 1025px) and (max-height: 820px) {
  .hbd-toc > .hmae-tp-box--sidebar .hmae-tp-desc,
  .hbd-toc > .hmae-tp-box--sidebar small { display: none !important; }
  .hbd-toc > .hmae-tp-box--sidebar { padding: 12px 13px !important; }
  .hbd-toc > .hmae-tp-box--sidebar .hmae-tp-header { margin-bottom: 7px !important; }
}
/* Very short desktop viewports: the TOC wins; Airalo still appears at the end of the article. */
@media (min-width: 1025px) and (max-height: 600px) {
  .hbd-toc > .hmae-tp-box--sidebar { display: none !important; }
}

/* v1.7.0 trust box */
.hbd-trust {
  margin: 0 0 28px;
  border: 1px solid rgba(97,179,164,.28);
  border-radius: var(--hbd-radius-sm);
  background: var(--hbd-soft);
  color: var(--hbd-text);
  font-size: 14px;
  line-height: 1.6;
}
.hbd-trust__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 12px 16px;
  list-style: none;
  cursor: default;
}
.hbd-trust__details > summary { cursor: pointer; }
.hbd-trust__details > summary::-webkit-details-marker { display: none; }
.hbd-trust__icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--hbd-deep);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.hbd-trust__item { color: var(--hbd-ink-2); }
.hbd-trust__item + .hbd-trust__item::before {
  content: "·";
  margin-inline-end: 14px;
  color: var(--hbd-muted);
}
.hbd-trust__item--date { font-weight: 700; color: var(--hbd-ink); }
.hbd-trust__toggle {
  margin-inline-start: auto;
  color: var(--hbd-deep);
  font-weight: 700;
}
.hbd-trust__toggle::after { content: " ▾"; }
.hbd-trust__details[open] .hbd-trust__toggle::after { content: " ▴"; }
.hbd-trust__body {
  padding: 4px 16px 16px;
  border-top: 1px solid var(--hbd-line);
}
.hbd-trust__body p { margin: 10px 0 0; }
.hbd-trust__label { font-weight: 700; color: var(--hbd-ink); }
.hbd-trust__sources {
  color: var(--hbd-muted);
  font-size: 13px;
}
.hbd-trust__sources span { unicode-bidi: isolate; }
.hbd-trust__sources a {
  color: var(--hbd-muted) !important;
  text-decoration: none;
  border-bottom: 1px dotted rgba(111,129,131,.5);
}
.hbd-trust__sources a:hover { color: var(--hbd-deep) !important; }
.hbd-trust__links a { color: var(--hbd-deep) !important; font-weight: 700; }
.hbd-trust__owner { color: var(--hbd-muted); font-size: 13px; }
.hbd-author-box__owner { margin-top: 10px !important; font-size: 14px !important; }
.hbd-author-box__owner a { color: var(--hbd-deep) !important; font-weight: 700; }
@media (max-width: 640px) {
  .hbd-trust__bar { padding: 11px 13px; }
  .hbd-trust__toggle { margin-inline-start: 0; }
}

/* ---------- 1.10.0: continents ---------- */
.hbd-continent-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 34px 0 6px; }
.hbd-continent-nav__label { color: var(--hbd-muted, #6f8183); font-size: 14px; font-weight: 700; }
.hbd-continent-nav ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hbd-continent-nav li { margin: 0; padding: 0; }
.hbd-continent-nav a {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid rgba(18, 63, 66, .12); border-radius: 999px;
  background: #fff;
  color: #123f42 !important; font-size: 15px; font-weight: 800; text-decoration: none !important;
  transition: background-color .18s ease, border-color .18s ease;
}
.hbd-continent-nav a small { color: #0c6671; font: 700 12px/1 ui-monospace, Menlo, Consolas, monospace; }
.hbd-continent-nav a:hover { background: #f2faf8; border-color: rgba(12, 102, 113, .3); }
.hbd-continent-nav a.is-current { background: #082f34; border-color: #082f34; color: #fff !important; }
.hbd-continent-nav a.is-current small { color: #7adbca; }
@media (max-width: 767px) {
  .hbd-continent-nav { margin-top: 24px; }
  .hbd-continent-nav ul { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .hbd-continent-nav ul::-webkit-scrollbar { display: none; }
  .hbd-continent-nav a { white-space: nowrap; }
}
