/*
Theme Name: BDiverse OnePager
Author: Yasmin Zak
Description: Custom ultra-fast one-page theme for BDiverse (Bi-directional RTL & LTR ready)
Version: 1.1.0
Text Domain: bdiverse
*/

:root {
	--brandblue: #000e57;
	--brandgrey: #9d9d9d;
	
	--light-blue: #1F6B7D;
	--lightBG: #f9fafb;
	--white: #ffffff;
	
	--border-color: #efeeed;
	--fluentform-border-color: #efeeed !important;
	
	--text-grey-on-white: #6a6a6a;
	--text-grey-on-blue: #b3b3b3;
	
	--font-family: 'Heebo', system-ui, -apple-system, sans-serif;
	--headerH: 10dvh;
	--radius-lg: 1.25rem;
	--radius-full: 100dvh;
	--transition: all 0.25s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family);
	background-color: var(--lightBG);
	color: var(--text-grey-on-white);
	line-height: 1.7;
	font-size: 1.0625rem;
	overflow-x: hidden;
	text-align: start;
	direction:ltr;
}

img {
	max-width: 100%;
	display: block;
}

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

.ltr { direction: ltr; }
.rtl { direction: rtl; }

svg {transform: scaleX(-1);}
.rtl svg {transform: none;}

.container {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 1.5rem;
}

/* טיפוגרפיה וכפתורים משותפים */
.eyebrow {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--light-blue);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--brandblue);
  line-height: 1.2;
  margin-top: 0.5rem;
}

.section-subtitle {
  color: var(--text-grey-on-white);
  max-width: 650px;
  margin-top: 0.75rem;
  font-size: 1.125rem;
}

/*=== buttons ===*/
.BD-btn,
form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
	display: flex;
    align-items: center;
    justify-content: center;
	gap: 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    border: 1px solid currentColor;
    cursor: pointer;
    transition: var(--transition);
}

.BD-btn svg,
form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) svg {
	translate: 0;
	transition: var(--transition);
}

/* כיוון התקדמות החץ בהובר לפי שפה */
body.rtl .BD-btn:hover svg,
body:not(.ltr) .BD-btn:hover svg {
	translate: -5px 0;
}

body.ltr .BD-btn:hover svg {
	translate: 5px 0;
}

.BD-btn:hover,
form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style):hover {
	background: var(--white);
	color: var(--brandblue);
	transform: translateY(-2px);
}

/* היפוך כיוון אייקוני חצים באנגלית */
body.ltr .BD-btn svg,
body.ltr .service-link svg {
	transform: scaleX(-1);
}

/*-- primary --*/
.btn-primary {
    padding-inline: 3rem;
    height: calc(var(--headerH) - (var(--headerH) / 2.5));
    background-color: var(--brandblue);
    color: var(--white);
    border: 1px solid var(--brandblue);
    box-shadow: inset 0px 0px 0px 2px var(--white);
	--tw-backdrop-blur: blur(12px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur);
    backdrop-filter: var(--tw-backdrop-blur);

	&:hover {
		background: var(--white);
		color: var(--brandblue);
	}
}

.btn-inner,
form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
    padding-inline: 2rem;
	height: 65px;
	background-color: var(--brandblue);
	color: var(--white);
	
	&:hover {
		background-color: var(--white);
		color: var(--light-blue);
	}
}

.btn-inner-second {
	background-color: var(--white);
	color: var(--brandblue);
}

form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
	width: 100%;
	height: 50px;
	background-color: var(--brandblue) !important;
	
	&:hover {
		background-color: var(--white) !important;
	}
}

/* ==================== HEADER & NAV ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.site-logo img,
.custom-logo {
   width: auto;
   display: block;
   height: calc(var(--headerH) - (var(--headerH) / 5));
}

.logo-img {
  height: 60px;
  width: auto;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--headerH);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 600;
  color: var(--text-grey-on-white);
  transition: color 0.2s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--brandblue);
  cursor: pointer;
}
.menu-toggle svg.hidden { display: none; }

.mobile-menu {
  max-height: 100vh;
  overflow: unset;
  padding-block: 1.5rem 2rem;
  padding-inline: 1.5rem;
  position: absolute;
  width: 100%;
  inset-inline-start: 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--lightBG);
  z-index: 99;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.03);
  transition: all .3s ease-in-out;
}
.mobile-menu.hidden { max-height: 0; overflow: hidden; padding-block: 0; }

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.desktop-nav-list {
  display: flex;
  align-items: center;
  gap: 3vw;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav-list a {
  text-decoration: none;
  color: var(--text-grey-on-white);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mobile-nav-list a {
  text-decoration: none;
  color: var(--brandblue);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
}
/* ==================== LANGUAGE SWITCHER ==================== */
.lang-switcher {
  display: inline-flex;
  align-items: center;
}

.lang-switcher-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.65rem;
}

.lang-switcher-list .lang-item {
  display: flex;
  align-items: center;
  position: relative;
}

/* קו מפריד אנכי אפור בין השפות */
.lang-switcher-list .lang-item:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background-color: var(--brandgrey);
  margin-inline-start: 0.65rem;
}

.lang-switcher-list a {
  font-size: 0.95rem;
  font-weight:500;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--brandgrey); /* צבע אפור לשפה הלא-פעילה */
  line-height: 1;
  transition: color 0.2s ease;
}

.lang-switcher-list a:hover {
  color: var(--light-blue);
}

/* השפה הפעילה כרגע – צבע הטורקיז של המותג */
.lang-switcher-list .current-lang a {
  color: var(--light-blue);
  cursor: default;
}

/* ==================== HERO ==================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 6rem;
  background-color: var(--lightBG);
}

.watermark-bg {
  position: absolute;
  top: -20px;
  inset-inline-start: -20px;
  width: 380px;
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
}

.badge-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge-dot {
  width: 8px;
  aspect-ratio:1;
  border-radius: 50%;
  background-color: var(--light-blue);
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--brandblue);
  line-height: 1.1;
}

.hero-subtitle {
  color: var(--text-grey-on-white);
  font-size: 1.2rem;
  margin-top: 1.5rem;
  max-width: 500px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.hero-process-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.hero-step-card {
	flex: 1;
	min-width: 150px;
	max-width: 175px;
	background: #ffffff;
	border: 1px solid var(--border-color);
	border-radius: 1.5rem;
	padding: 1rem 0.85rem 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: start;
	margin-inline: -8px;
	transition: all 0.5s ease;

	&:hover {
		border-color: var(--light-blue);
	}
}

.hero-step-card.step-1 {
  transition-delay: 0.1s;
  align-self: flex-start;
}
.hero-step-card.step-2 {
  align-self: center;
  transition-delay: 0.2s;
}
.hero-step-card.step-3 {
  transition-delay: 0.3s;
  align-self: flex-end;
}

.step-card-img {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  background-color: var(--lightBG);
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 1.1rem;
  display: flex;
}

.step-card-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.step-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.step-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brandblue);
  line-height: 1.25;
  margin: 0;
}

.step-card-desc {
  font-size: 0.85rem;
  color: var(--text-grey-on-white);
  line-height: 1.45;
  margin: 0;
}

.step-arrow-badge {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid #e2e8f0;
  color: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  z-index: 2;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

/* היפוך החץ המקשר ב-Hero באנגלית */
body.ltr .step-arrow-badge svg {
  transform: scaleX(-1);
}

@media (max-width: 768px) {
	body {
		line-height: 1.4;
	}

	.hero-process-wrapper {
		flex-direction: column;
		align-items: center;
		gap: 0;
	}

	.hero-step-card {
		max-width: 100%;
		width: 100%;
		margin-block: -8px;
		margin-inline: 0;
	}

	.step-arrow-badge {
		rotate: -90deg;
	}

    body.ltr .step-arrow-badge {
        rotate: 90deg;
    }
}

/* ==================== TRUST BAR ==================== */
.trustbar-section {
  padding: 5rem 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.trust-card {
  background-color: var(--lightBG);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: var(--transition);
}

.trust-card:hover {
  border-color: var(--light-blue);
  box-shadow: 0 8px 25px rgba(26, 38, 57, 0.05);
}

.badge-logo-box {
  height: 75px;
  background: var(--white);
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge-logo-box img {
  max-height: 100%;
  object-fit: contain;
}

.trust-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  color: var(--brandblue);
}

.trust-desc {
  font-size: 0.9rem;
  color: var(--text-grey-on-white);
}

/* ==================== SERVICES ==================== */
.services-section {
  padding: 6rem 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.service-card {
  background-color: var(--lightBG);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--light-blue);
  box-shadow: 0 10px 30px rgba(0, 139, 156, 0.07);
  transform: translateY(-3px);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brandblue);
  line-height: 1.35;
}

.service-desc {
  color: var(--text-grey-on-white);
  margin-top: 1rem;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-weight: 700;
  color: var(--brandblue);
  transition: color 0.2s;
}

.service-card:hover .service-link {
  color: var(--light-blue);
}

.mid-cta-banner {
  margin-top: 4.5rem;
  background-color: var(--brandblue);
  color: var(--white);
  border-radius: 1.5rem;
  padding: 3rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.mid-cta-title {
  font-size: 1.75rem;
  font-weight: 800;
}

.mid-cta-desc {
	max-width: 80%;
	margin-top: 0.5rem;
	color: var(--text-grey-on-blue);
}

.mid-cta-banner .BD-btn {
	min-width: 15dvw;
}

/* ==================== VALUE LAB / ABOUT ==================== */
.about-section {
  padding: 6rem 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-color);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.founder-card {
  background-color: var(--lightBG);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
}

.founder-img {
  width: 40%;
  object-fit: cover;
  object-position: top;
}

.founder-info {
  padding: 2rem;
  flex: 1;
}

.founder-rank {
  font-size: 0.85rem;
  color: var(--light-blue);
  font-weight: 700;
}

.founder-name {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 0.25rem;
  color: var(--brandblue);
}

.founder-role {
  color: var(--text-grey-on-white);
  font-weight: 600;
  font-size: 0.95rem;
}

.founder-bio {
  color: var(--text-grey-on-white);
  font-size: 0.95rem;
  margin-top: 1rem;
}

/* ==================== CLIENTS ==================== */
.clients-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.logo-box {
  border: 1px solid var(--light-blue);
  border-radius: 1rem;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  transition: var(--transition);
}

.logo-box:hover {
  background-color: var(--light-blue);
  transform: translateY(-2px);
}

.logo-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.invert-img {
  filter: invert(1);
}

/* ==================== CONTACT ==================== */
.contact-section {
  padding: 6rem 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 3.5rem;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 1rem;
  border: 1px solid var(--brandblue);
  color: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-grey-on-white);
}

.contact-value {
  font-weight: 700;
  color: var(--brandblue);
}

.contact-item:hover .contact-value {
  color: var(--light-blue);
}

.contact-form-card {
  background-color: var(--lightBG);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
}

.pure-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brandblue);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(26, 38, 57, 0.15);
  border-radius: 0.75rem;
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--light-blue);
  box-shadow: 0 0 0 2px rgba(0, 139, 156, 0.15);
}

.ff-default .ff-el-input--label label {
	font-weight: 300;
	font-size: .85rem;
	color: var(--light-blue);
}

.frm-fluent-form textarea {
	resize: none;
}

.ff-default .ff-el-form-control:focus {
	border-color: var(--brandblue) !important;
}

.ff-default .ff-el-form-control {
	border-color: var(--light-blue) !important;
}

.ff_submit_btn_wrapper {
	margin-top: 40px;
}

.ff-message-success {
	box-shadow: none !important;
	border: none !important;
	text-align: center;
}

.ff-message-success h6 {
	color: var(--brandblue);
	font-size: 2rem;
}

.ff-message-success p {
	font-size: 1.5rem;
}

.w-full {
  width: 100%;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: var(--brandblue);
  color: var(--text-grey-on-blue);
  padding: 4.5rem 0 2rem;
}
.site-footer svg {transform: none;}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.site-footer .custom-logo {
	height: 65px;
	width: auto;
	background-color: var(--white);
	padding: 7px;
}

.footer-tagline {
  margin-top: 1.25rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--light-blue);
}

.footer-heading {
	font-size: 1.15rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
	color: var(--white);
}

.site-footer .desktop-nav-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: flex-start;
}

.site-footer .desktop-nav-list a {
	color: var(--text-grey-on-blue);
}

.site-footer .desktop-nav-list a:hover {
  color: var(--light-blue);
}

.site-footer .footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer .footer-links li {
	margin-bottom: 0.75rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-footer .footer-links a {
	display: inline-block;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  font-size: 0.875rem;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==================== אנימציות כניסה ==================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: 	all 0.4s ease,
				opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
				transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .hero-container,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .founder-card {
    flex-direction: column;
  }

  .founder-img {
    width: 100%;
    height: 260px;
  }

  .mid-cta-banner {
    flex-direction: column;
    padding: 1.5rem;
  }

  .mid-cta-desc {
    max-width: none;
  }

  .btn-inner-second {
    width: 100%;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

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

  .desktop-nav,
  .hide-mobile {
    display: none;
  }

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

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

/*============================================*/
/*============ SINGLE (POST) =================*/
/*============================================*/
.single-post .site-header {
  background: var(--lightBG);
}

.post-single-page {
  padding: 60px 0;
  background: var(--white);
}

.post-header {
  margin-bottom: 1.5rem;
}

.post-title {
  color: var(--brandblue);
  font-size: 2.5rem;
}

.post-meta {
  font-size: 0.85rem;
}

.post-categories {
	display: block;
	color: var(--light-blue);
	margin: 2rem 0 1rem 0;
	font-weight: 500;
}

.post-featured-image {
  margin-bottom: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.post-content {
  max-width: 70%;
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 5rem;
}

/* הגריד של הכרטיסיות (Matrix Grid) */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* הכרטיסייה */
.matrix-card {
  background: var(--lightBG);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

/* 1. האייקון - inline-block */
.matrix-icon {
  vertical-align: middle;
  width: 35px;
  height: 35px;
  padding: 8px;
  border-radius: 50%;
  background-color: var(--light-blue);
  line-height: 52px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: 16px;
}

.matrix-icon img {
  vertical-align: middle;
  object-fit: contain;
}

/* 2. הכותרת - block */
.matrix-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deepblue, #0b1a30);
  margin: 1.5rem 0 0.5rem 0;
  line-height: 1.25;
}

/* 3. הטקסט - inline-block */
.matrix-text {
  display: inline-block;
  vertical-align: middle;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* התנהגות כשאין כותרת: הטקסט מיושר לצד האייקון לפי כיוון הקריאה */
.matrix-card:not(:has(.matrix-title)) {
  text-align: start;
}

.matrix-card:not(:has(.matrix-title)) .matrix-icon {
  margin-bottom: 0;
  margin-inline-end: 16px;
}

.matrix-card:not(:has(.matrix-title)) .matrix-text {
  max-width: calc(100% - 60px);
}

/* רספונסיביות ל-Single */
@media (max-width: 768px) {
	.post-content {
		width: 100%;
		max-width: 100%;
	}
    .matrix-grid {
      grid-template-columns: 1fr;
    }
}