/*
Theme Name: Between the Lines — שרית אוחיון
Author: Between the Lines — שרית אוחיון
Description: ערכת WordPress מותאמת אישית לשרית אוחיון — אסטרטגיה, פיתוח משאבים ו-Impact Storytelling. כוללת אתר פתיחה מלא, תוכן התחלתי, טופס פניות, בדיקת מוכנות ותמיכה מלאה בעברית וב-RTL.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: between-the-lines
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, accessibility-ready, blog, portfolio
*/

:root {
  --btl-ink: #20252d;
  --btl-ink-soft: #39424e;
  --btl-navy: #233545;
  --btl-coral: #de8f7e;
  --btl-coral-deep: #c96f5d;
  --btl-blush: #f5d7cf;
  --btl-blush-soft: #fceeea;
  --btl-cream: #fbf7f1;
  --btl-paper: #fffdf9;
  --btl-gold: #c99c3e;
  --btl-gold-deep: #9e7522;
  --btl-sage: #a8b8a5;
  --btl-white: #ffffff;
  --btl-muted: #69727d;
  --btl-line: #e8ddd2;
  --btl-success: #276749;
  --btl-error: #9b2c2c;
  --btl-shadow-sm: 0 8px 24px rgba(32, 37, 45, 0.08);
  --btl-shadow: 0 20px 60px rgba(32, 37, 45, 0.12);
  --btl-radius-sm: 12px;
  --btl-radius: 24px;
  --btl-radius-lg: 40px;
  --btl-container: 1200px;
  --btl-reading: 760px;
  --btl-header-height: 86px;
  --btl-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --btl-serif: Georgia, "Times New Roman", serif;
  --btl-transition: 180ms ease;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  direction: rtl;
  color: var(--btl-ink);
  background: var(--btl-paper);
  font-family: var(--btl-font);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--btl-coral-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--btl-transition), opacity var(--btl-transition), transform var(--btl-transition);
}

a:hover {
  color: var(--btl-gold-deep);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  color: var(--btl-ink);
  background: var(--btl-blush);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.6em;
  color: var(--btl-ink);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2.05rem, 4vw, 3.6rem);
}

h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

h4 {
  font-size: 1.25rem;
}

p {
  margin: 0 0 1.15em;
}

ul,
ol {
  margin: 0 0 1.25em;
  padding-inline-start: 1.4em;
}

blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-inline-start: 4px solid var(--btl-gold);
  background: var(--btl-cream);
  border-radius: var(--btl-radius-sm);
  font-size: 1.18rem;
}

hr {
  margin: 3rem 0;
  border: 0;
  border-top: 1px solid var(--btl-line);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 10px;
  right: 10px;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  clip: auto;
  color: var(--btl-white);
  background: var(--btl-ink);
  border-radius: 8px;
  white-space: normal;
}

.skip-link {
  position: fixed;
  z-index: 100000;
  top: 10px;
  right: -9999px;
  padding: 0.75rem 1rem;
  color: var(--btl-white);
  background: var(--btl-ink);
  border-radius: 8px;
}

.skip-link:focus {
  right: 10px;
}

.btl-container {
  width: min(calc(100% - 40px), var(--btl-container));
  margin-inline: auto;
}

.btl-container--reading {
  width: min(calc(100% - 40px), var(--btl-reading));
  margin-inline: auto;
}

.btl-section {
  position: relative;
  padding-block: clamp(72px, 9vw, 132px);
}

.btl-section--compact {
  padding-block: clamp(48px, 6vw, 84px);
}

.btl-section--cream {
  background: var(--btl-cream);
}

.btl-section--blush {
  background: var(--btl-blush-soft);
}

.btl-section--dark {
  color: var(--btl-white);
  background: var(--btl-navy);
}

.btl-section--dark h2,
.btl-section--dark h3,
.btl-section--dark h4,
.btl-section--dark a:not(.btl-button) {
  color: var(--btl-white);
}

.btl-section-heading {
  max-width: 760px;
  margin: 0 auto clamp(38px, 5vw, 66px);
  text-align: center;
}

.btl-section-heading--start {
  margin-inline: 0;
  text-align: start;
}

.btl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--btl-coral-deep);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btl-eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.btl-lead {
  color: var(--btl-ink-soft);
  font-size: clamp(1.12rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.btl-kicker {
  color: var(--btl-muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.btl-highlight {
  position: relative;
  display: inline;
  color: var(--btl-coral-deep);
  z-index: 0;
}

.btl-highlight::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -0.06em;
  bottom: 0.05em;
  left: -0.06em;
  height: 0.22em;
  background: rgba(201, 156, 62, 0.25);
  transform: rotate(-1deg);
}

.btl-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--btl-white);
  background: var(--btl-coral-deep);
  box-shadow: 0 8px 24px rgba(201, 111, 93, 0.2);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform var(--btl-transition), box-shadow var(--btl-transition), background var(--btl-transition), color var(--btl-transition);
}

.btl-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  color: var(--btl-white);
  background: #b85f4e;
  box-shadow: 0 12px 30px rgba(201, 111, 93, 0.3);
  transform: translateY(-2px);
}

.btl-button--gold {
  color: var(--btl-ink);
  background: var(--btl-gold);
  box-shadow: 0 8px 24px rgba(201, 156, 62, 0.24);
}

.btl-button--gold:hover {
  color: var(--btl-ink);
  background: #d8ad54;
}

.btl-button--outline {
  color: var(--btl-ink);
  background: transparent;
  border-color: rgba(32, 37, 45, 0.26);
  box-shadow: none;
}

.btl-button--outline:hover {
  color: var(--btl-ink);
  background: var(--btl-white);
  border-color: var(--btl-coral);
}

.btl-button--light {
  color: var(--btl-ink);
  background: var(--btl-white);
}

.btl-button--light:hover {
  color: var(--btl-ink);
  background: var(--btl-cream);
}

.btl-button--small {
  min-height: 42px;
  padding: 0.65rem 1.1rem;
  font-size: 0.92rem;
}

.btl-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  text-decoration: none;
}

.btl-text-link::after {
  content: "←";
  transition: transform var(--btl-transition);
}

.btl-text-link:hover::after {
  transform: translateX(-4px);
}

.btl-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  min-height: var(--btl-header-height);
  background: rgba(255, 253, 249, 0.94);
  border-bottom: 1px solid rgba(232, 221, 210, 0.85);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: var(--btl-header-height);
  display: grid;
  grid-template-columns: minmax(190px, 260px) 1fr auto;
  align-items: center;
  gap: 1.3rem;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  color: var(--btl-ink);
  text-decoration: none;
}

.site-branding:hover {
  color: var(--btl-ink);
}

.site-branding__mark {
  flex: 0 0 36px;
  width: 36px;
  color: var(--btl-gold);
}

.site-branding__text {
  min-width: 0;
}

.site-branding__name {
  display: block;
  font-size: 1.34rem;
  font-weight: 900;
  line-height: 1.1;
  white-space: nowrap;
}

.site-branding__tagline {
  display: block;
  margin-top: 0.18rem;
  color: var(--btl-muted);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

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

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

.primary-navigation {
  justify-self: center;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: inline-flex;
  padding-block: 0.8rem;
  color: var(--btl-ink);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.primary-navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.45rem;
  left: 0;
  height: 2px;
  background: var(--btl-coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--btl-transition);
}

.primary-navigation a:hover::after,
.primary-navigation .current-menu-item > a::after,
.primary-navigation .current_page_item > a::after {
  transform: scaleX(1);
}

.site-header__cta {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--btl-ink);
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: 50%;
}

.menu-toggle__lines,
.menu-toggle__lines::before,
.menu-toggle__lines::after {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform var(--btl-transition), opacity var(--btl-transition);
}

.menu-toggle__lines {
  position: relative;
}

.menu-toggle__lines::before,
.menu-toggle__lines::after {
  content: "";
  position: absolute;
  right: 0;
}

.menu-toggle__lines::before {
  top: -6px;
}

.menu-toggle__lines::after {
  top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.btl-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(201, 156, 62, 0.11), transparent 24%),
    linear-gradient(135deg, var(--btl-paper) 0%, var(--btl-cream) 58%, var(--btl-blush-soft) 100%);
}

.btl-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -260px;
  left: -180px;
  border: 1px solid rgba(201, 156, 62, 0.23);
  border-radius: 50%;
}

.btl-hero__grid {
  min-height: min(790px, calc(100vh - var(--btl-header-height)));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.83fr);
  align-items: stretch;
  gap: clamp(30px, 5vw, 76px);
}

.btl-hero__content {
  position: relative;
  z-index: 2;
  align-self: center;
  padding-block: clamp(70px, 10vw, 130px);
}

.btl-hero__title {
  max-width: 780px;
  margin-bottom: 1.5rem;
}

.btl-hero__text {
  max-width: 690px;
  margin-bottom: 2rem;
  color: var(--btl-ink-soft);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
}

.btl-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.btl-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.72rem;
  color: var(--btl-ink-soft);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(232, 221, 210, 0.92);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
}

.btl-hero__media {
  position: relative;
  min-height: 620px;
}

.btl-hero__media::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 7% -7% 7% 12%;
  border: 1px solid rgba(201, 156, 62, 0.45);
  border-radius: 240px 240px 36px 36px;
  transform: rotate(2deg);
}

.btl-hero__image-wrap {
  position: absolute;
  z-index: 2;
  inset: 4% 0 0;
  overflow: hidden;
  border-radius: 240px 240px 28px 28px;
  box-shadow: var(--btl-shadow);
}

.btl-hero__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.btl-hero__note {
  position: absolute;
  z-index: 3;
  bottom: 5%;
  right: -7%;
  max-width: 245px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--btl-line);
  border-radius: 16px;
  box-shadow: var(--btl-shadow-sm);
  transform: rotate(-2deg);
}

.btl-hero__note strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--btl-coral-deep);
  font-size: 0.95rem;
}

.btl-hero__note span {
  color: var(--btl-ink-soft);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Intro / insight */
.btl-insight-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: start;
  gap: clamp(36px, 7vw, 100px);
}

.btl-insight-copy {
  position: sticky;
  top: calc(var(--btl-header-height) + 34px);
}

.btl-insight-cards {
  display: grid;
  gap: 1rem;
}

.btl-insight-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem;
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: var(--btl-radius-sm);
  box-shadow: var(--btl-shadow-sm);
}

.btl-insight-card__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--btl-ink);
  background: var(--btl-blush);
  border-radius: 50%;
  font-weight: 900;
}

.btl-insight-card h3 {
  margin-bottom: 0.25rem;
  font-size: 1.14rem;
}

.btl-insight-card p {
  margin: 0;
  color: var(--btl-muted);
  font-size: 0.96rem;
}

/* Pain section */
.btl-pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.65fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}

.btl-check-list {
  display: grid;
  gap: 0.9rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.btl-check-list li {
  position: relative;
  padding-inline-start: 2rem;
}

.btl-check-list li::before {
  content: "";
  position: absolute;
  top: 0.48em;
  right: 0;
  width: 13px;
  height: 7px;
  border-right: 2px solid var(--btl-coral-deep);
  border-bottom: 2px solid var(--btl-coral-deep);
  transform: rotate(45deg);
}

.btl-side-note {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  background: var(--btl-navy);
  border-radius: var(--btl-radius);
  color: var(--btl-white);
  box-shadow: var(--btl-shadow);
}

.btl-side-note::after {
  content: "“";
  position: absolute;
  top: 0.1rem;
  left: 1rem;
  color: rgba(255, 255, 255, 0.1);
  font-family: var(--btl-serif);
  font-size: 8rem;
  line-height: 1;
}

.btl-side-note h3 {
  color: var(--btl-white);
}

.btl-side-note p:last-child {
  margin-bottom: 0;
}

/* Cards / grids */
.btl-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.btl-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: var(--btl-radius-sm);
  box-shadow: 0 10px 34px rgba(32, 37, 45, 0.06);
  transition: transform var(--btl-transition), box-shadow var(--btl-transition), border-color var(--btl-transition);
}

.btl-card:hover {
  border-color: rgba(222, 143, 126, 0.65);
  box-shadow: var(--btl-shadow-sm);
  transform: translateY(-5px);
}

.btl-card__icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 1.15rem;
  place-items: center;
  color: var(--btl-coral-deep);
  background: var(--btl-blush-soft);
  border-radius: 16px;
}

.btl-card__icon svg {
  width: 29px;
  height: 29px;
}

.btl-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.34rem;
}

.btl-card p {
  color: var(--btl-muted);
  font-size: 0.96rem;
}

.btl-card__link {
  position: static;
}

.btl-card__link::before {
  content: "";
  position: absolute;
  inset: 0;
}

.btl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  color: var(--btl-coral-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.btl-card--service::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  bottom: -78px;
  left: -72px;
  border: 1px solid rgba(201, 156, 62, 0.35);
  border-radius: 50%;
}

/* Pillars */
.btl-pillars {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.btl-pillar {
  padding: 1.25rem 1rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--btl-radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.btl-pillar__index {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--btl-gold);
  font-family: var(--btl-serif);
  font-size: 1.7rem;
  font-style: italic;
}

.btl-pillar h3 {
  margin-bottom: 0.4rem;
  color: var(--btl-white);
  font-size: 1.1rem;
}

.btl-pillar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

/* About */
.btl-about-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.76fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}

.btl-about-media {
  position: relative;
}

.btl-about-media::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: -18px 14% 18px -18px;
  background: var(--btl-blush);
  border-radius: 34px;
  transform: rotate(-2deg);
}

.btl-about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 660px;
  object-fit: cover;
  object-position: center 22%;
  border-radius: 34px;
  box-shadow: var(--btl-shadow);
}

.btl-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-block: 2rem;
}

.btl-stat {
  padding: 1rem;
  background: var(--btl-cream);
  border-radius: 12px;
}

.btl-stat strong {
  display: block;
  color: var(--btl-coral-deep);
  font-size: 1.4rem;
  line-height: 1.2;
}

.btl-stat span {
  display: block;
  margin-top: 0.35rem;
  color: var(--btl-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

/* Paths */
.btl-path-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 1.65rem;
  background: var(--btl-paper);
  border: 1px solid var(--btl-line);
  border-radius: var(--btl-radius-sm);
}

.btl-path-card__number {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 1rem;
  color: var(--btl-gold-deep);
  font-family: var(--btl-serif);
  font-size: 2rem;
  font-style: italic;
}

.btl-path-card h3 {
  font-size: 1.32rem;
}

.btl-path-card p {
  color: var(--btl-muted);
  font-size: 0.94rem;
}

.btl-path-card .btl-text-link {
  margin-top: auto;
}

/* Process */
.btl-process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1rem;
}

.btl-process::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: var(--btl-line);
}

.btl-process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.btl-process-step__number {
  display: grid;
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  place-items: center;
  color: var(--btl-white);
  background: var(--btl-coral-deep);
  border: 6px solid var(--btl-paper);
  border-radius: 50%;
  box-sizing: content-box;
  font-weight: 900;
}

.btl-process-step h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
}

.btl-process-step p {
  margin: 0;
  color: var(--btl-muted);
  font-size: 0.86rem;
}

/* Cases */
.btl-case-card {
  overflow: hidden;
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: var(--btl-radius-sm);
  box-shadow: var(--btl-shadow-sm);
}

.btl-case-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--btl-blush-soft);
}

.btl-case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.btl-case-card:hover .btl-case-card__media img {
  transform: scale(1.035);
}

.btl-case-card__body {
  padding: 1.4rem;
}

.btl-case-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.28rem;
}

.btl-case-card p {
  color: var(--btl-muted);
  font-size: 0.94rem;
}

/* Testimonials */
.btl-testimonial {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.5rem);
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: var(--btl-radius);
}

.btl-testimonial__quote {
  margin: 0 0 1.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 1.15rem;
}

.btl-testimonial__person {
  color: var(--btl-muted);
  font-size: 0.88rem;
  font-weight: 750;
}

/* Blog cards */
.btl-post-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: var(--btl-radius-sm);
  box-shadow: 0 10px 34px rgba(32, 37, 45, 0.05);
}

.btl-post-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--btl-blush-soft);
}

.btl-post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btl-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.btl-post-card__meta {
  margin-bottom: 0.7rem;
  color: var(--btl-coral-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.btl-post-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.24rem;
}

.btl-post-card p {
  color: var(--btl-muted);
  font-size: 0.92rem;
}

.btl-post-card .btl-text-link {
  margin-top: auto;
}

/* Assessment CTA */
.btl-assessment {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  overflow: hidden;
  background: var(--btl-blush);
  border-radius: var(--btl-radius-lg);
  box-shadow: var(--btl-shadow);
}

.btl-assessment__content {
  align-self: center;
  padding: clamp(2rem, 6vw, 4.5rem);
}

.btl-assessment__media {
  min-height: 420px;
}

.btl-assessment__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
}

/* Final CTA */
.btl-final-cta {
  position: relative;
  overflow: hidden;
  color: var(--btl-white);
  background: linear-gradient(135deg, var(--btl-coral-deep), #d68775 56%, var(--btl-gold) 140%);
}

.btl-final-cta::before,
.btl-final-cta::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.btl-final-cta::before {
  width: 420px;
  height: 420px;
  top: -260px;
  right: -140px;
}

.btl-final-cta::after {
  width: 260px;
  height: 260px;
  bottom: -150px;
  left: -70px;
}

.btl-final-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.btl-final-cta h2,
.btl-final-cta p {
  color: var(--btl-white);
}

.btl-final-cta p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* Page headers */
.btl-page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(72px, 9vw, 128px);
  background: linear-gradient(140deg, var(--btl-cream), var(--btl-blush-soft));
}

.btl-page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}

.btl-page-hero__content {
  max-width: 790px;
}

.btl-page-hero__content h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.btl-page-hero__media {
  position: relative;
}

.btl-page-hero__media img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--btl-shadow);
}

.btl-page-hero__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 18px -18px -18px 18px;
  border: 1px solid rgba(201, 156, 62, 0.5);
  border-radius: 28px;
}

.btl-breadcrumbs {
  margin-bottom: 1rem;
  color: var(--btl-muted);
  font-size: 0.82rem;
}

.btl-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

/* Content */
.entry-content {
  width: min(calc(100% - 40px), var(--btl-reading));
  margin-inline: auto;
  padding-block: clamp(64px, 8vw, 110px);
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2 {
  margin-top: 2.2em;
  font-size: clamp(1.85rem, 3vw, 2.6rem);
}

.entry-content h3 {
  margin-top: 1.8em;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.entry-content a {
  font-weight: 700;
}

.entry-content .alignwide {
  width: min(100vw - 40px, var(--btl-container));
  max-width: none;
  margin-right: 50%;
  transform: translateX(50%);
}

.entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-right: 50%;
  transform: translateX(50%);
}

.wp-block-image img {
  border-radius: var(--btl-radius-sm);
}

.wp-block-table {
  overflow-x: auto;
}

.wp-block-table table,
.btl-table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td,
.btl-table th,
.btl-table td {
  padding: 0.85rem;
  border: 1px solid var(--btl-line);
  text-align: start;
}

.wp-block-table th,
.btl-table th {
  background: var(--btl-cream);
}

/* Archive / listing */
.btl-archive-header {
  padding-block: clamp(72px, 9vw, 120px) clamp(46px, 6vw, 80px);
  background: var(--btl-cream);
}

.btl-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
  padding-block: clamp(60px, 8vw, 110px);
}

.btl-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.btl-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.btl-pagination .page-numbers {
  display: grid;
  min-width: 42px;
  height: 42px;
  padding: 0 0.6rem;
  place-items: center;
  color: var(--btl-ink);
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: 999px;
  text-decoration: none;
}

.btl-pagination .current {
  color: var(--btl-white);
  background: var(--btl-coral-deep);
  border-color: var(--btl-coral-deep);
}

/* Single */
.btl-single-header {
  padding-block: clamp(70px, 9vw, 120px) clamp(42px, 6vw, 70px);
  background: var(--btl-cream);
}

.btl-single-header__inner {
  width: min(calc(100% - 40px), 900px);
  margin-inline: auto;
  text-align: center;
}

.btl-single-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-top: 1.2rem;
  color: var(--btl-muted);
  font-size: 0.9rem;
}

.btl-single-image {
  width: min(calc(100% - 40px), 1040px);
  margin: -26px auto 0;
}

.btl-single-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--btl-radius);
  box-shadow: var(--btl-shadow);
}

.btl-single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: min(calc(100% - 40px), var(--btl-reading));
  margin: 0 auto clamp(64px, 8vw, 110px);
}

.btl-single-nav a {
  display: block;
  padding: 1.2rem;
  color: var(--btl-ink);
  background: var(--btl-cream);
  border-radius: var(--btl-radius-sm);
  text-decoration: none;
}

/* Timeline */
.btl-timeline {
  position: relative;
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.btl-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  right: 17px;
  bottom: 0;
  width: 1px;
  background: var(--btl-line);
}

.btl-timeline__item {
  position: relative;
  padding-inline-start: 3.4rem;
}

.btl-timeline__item::before {
  content: "";
  position: absolute;
  top: 0.45rem;
  right: 9px;
  width: 17px;
  height: 17px;
  background: var(--btl-coral);
  border: 4px solid var(--btl-paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--btl-coral);
}

.btl-timeline__date {
  color: var(--btl-coral-deep);
  font-size: 0.85rem;
  font-weight: 900;
}

.btl-timeline__item h3 {
  margin: 0.25rem 0 0.4rem;
  font-size: 1.22rem;
}

.btl-timeline__item p {
  color: var(--btl-muted);
  font-size: 0.94rem;
}

/* Contact */
.btl-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.btl-contact-panel {
  position: sticky;
  top: calc(var(--btl-header-height) + 30px);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--btl-white);
  background: var(--btl-navy);
  border-radius: var(--btl-radius);
}

.btl-contact-panel h2,
.btl-contact-panel h3,
.btl-contact-panel a {
  color: var(--btl-white);
}

.btl-contact-panel__image {
  overflow: hidden;
  margin: -0.5rem -0.5rem 1.5rem;
  border-radius: 18px;
}

.btl-contact-panel__image img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center 24%;
}

.btl-contact-details {
  display: grid;
  gap: 0.75rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}

.btl-contact-details li {
  display: flex;
  align-items: start;
  gap: 0.7rem;
}

.btl-contact-details svg {
  flex: 0 0 21px;
  width: 21px;
  margin-top: 0.22rem;
  color: var(--btl-gold);
}

.btl-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: var(--btl-radius);
  box-shadow: var(--btl-shadow-sm);
}

.btl-form__field {
  display: grid;
  gap: 0.4rem;
}

.btl-form__field--full {
  grid-column: 1 / -1;
}

.btl-form label {
  color: var(--btl-ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.btl-form .required {
  color: var(--btl-error);
}

.btl-form input[type="text"],
.btl-form input[type="email"],
.btl-form input[type="tel"],
.btl-form input[type="url"],
.btl-form select,
.btl-form textarea,
.btl-assessment-form select {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.85rem;
  color: var(--btl-ink);
  background: var(--btl-paper);
  border: 1px solid #d8cec4;
  border-radius: 10px;
}

.btl-form textarea {
  min-height: 150px;
  resize: vertical;
}

.btl-form input:focus,
.btl-form select:focus,
.btl-form textarea:focus {
  border-color: var(--btl-coral);
  box-shadow: 0 0 0 3px rgba(222, 143, 126, 0.18);
}

.btl-form__consent {
  display: flex;
  align-items: start;
  gap: 0.6rem;
  color: var(--btl-muted);
  font-size: 0.84rem;
}

.btl-form__consent input {
  flex: 0 0 auto;
  margin-top: 0.35rem;
}

.btl-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.btl-form__note {
  margin: 0;
  color: var(--btl-muted);
  font-size: 0.78rem;
}

.btl-alert {
  margin-bottom: 1.2rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
}

.btl-alert--success {
  color: var(--btl-success);
  background: #edf8f2;
  border: 1px solid #b7dec8;
}

.btl-alert--error {
  color: var(--btl-error);
  background: #fff0f0;
  border: 1px solid #efc3c3;
}

/* Readiness assessment */
.btl-assessment-page {
  width: min(calc(100% - 40px), 920px);
  margin-inline: auto;
  padding-block: clamp(60px, 8vw, 110px);
}

.btl-assessment-intro {
  margin-bottom: 2rem;
  padding: 1.4rem;
  background: var(--btl-cream);
  border-radius: var(--btl-radius-sm);
}

.btl-assessment-form {
  display: grid;
  gap: 1rem;
}

.btl-question {
  padding: 1.25rem;
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: var(--btl-radius-sm);
}

.btl-question legend {
  width: 100%;
  margin-bottom: 0.85rem;
  color: var(--btl-ink);
  font-weight: 850;
}

.btl-question__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.btl-question__option {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  background: var(--btl-cream);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
}

.btl-question__option:has(input:checked) {
  background: var(--btl-blush);
  border-color: var(--btl-coral);
}

.btl-assessment-result {
  display: none;
  margin-top: 2rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  background: var(--btl-navy);
  border-radius: var(--btl-radius);
  color: var(--btl-white);
}

.btl-assessment-result.is-visible {
  display: block;
}

.btl-assessment-result h2,
.btl-assessment-result h3 {
  color: var(--btl-white);
}

.btl-assessment-score {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--btl-gold);
  font-size: 2.8rem;
  font-weight: 900;
}

/* FAQ */
.btl-faq {
  display: grid;
  gap: 0.7rem;
}

.btl-faq details {
  background: var(--btl-white);
  border: 1px solid var(--btl-line);
  border-radius: var(--btl-radius-sm);
}

.btl-faq summary {
  padding: 1rem 1.15rem;
  cursor: pointer;
  font-weight: 850;
}

.btl-faq details > div {
  padding: 0 1.15rem 1.1rem;
  color: var(--btl-muted);
}

/* Empty state / 404 */
.btl-empty {
  max-width: 720px;
  margin-inline: auto;
  padding-block: clamp(90px, 12vw, 170px);
  text-align: center;
}

.btl-empty__code {
  color: var(--btl-blush);
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 900;
  line-height: 0.9;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #18232d;
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(28px, 5vw, 60px);
  padding-block: clamp(52px, 7vw, 86px);
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: var(--btl-white);
}

.site-footer h3 {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.site-footer p {
  font-size: 0.88rem;
}

.site-footer ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li,
.site-footer a {
  font-size: 0.86rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--btl-gold);
}

.site-footer .site-branding__name,
.site-footer .site-branding__tagline {
  color: var(--btl-white);
}

.site-footer .site-branding__tagline {
  opacity: 0.65;
}

.site-footer__social {
  display: flex;
  gap: 0.55rem;
  margin-top: 1rem;
}

.site-footer__social a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.site-footer__social svg {
  width: 18px;
  height: 18px;
}

.site-footer__bottom {
  padding-block: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.76rem;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Reveal enhancement */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.js [data-reveal].is-visible,
.btl-reveal-fallback [data-reveal] {
  opacity: 1;
  transform: none;
}

/* WordPress utility */
.sticky {
  border-color: var(--btl-gold);
}

.gallery-caption,
.wp-caption-text {
  margin-top: 0.5rem;
  color: var(--btl-muted);
  font-size: 0.8rem;
}

.bypostauthor {
  display: block;
}

/* Responsive */
@media (max-width: 1080px) {
  .site-header__inner {
    grid-template-columns: 1fr auto auto;
  }

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

  .primary-navigation {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    justify-self: stretch;
    padding: 1rem 20px 1.4rem;
    background: var(--btl-paper);
    border-bottom: 1px solid var(--btl-line);
    box-shadow: var(--btl-shadow-sm);
  }

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

  .primary-navigation ul {
    width: min(100%, var(--btl-container));
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .primary-navigation a {
    padding: 0.8rem;
    border-bottom: 1px solid var(--btl-line);
  }

  .primary-navigation a::after {
    display: none;
  }

  .site-header__cta {
    order: 3;
  }

  .btl-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  }

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

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

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

  .btl-process::before {
    display: none;
  }

  .site-footer__main {
    grid-template-columns: 1.2fr repeat(2, 0.8fr);
  }
}

@media (max-width: 820px) {
  :root {
    --btl-header-height: 74px;
  }

  body {
    font-size: 17px;
  }

  .site-header__inner {
    min-height: var(--btl-header-height);
  }

  .site-branding__tagline,
  .site-header__cta {
    display: none;
  }

  .site-branding__name {
    font-size: 1.16rem;
  }

  .btl-hero__grid,
  .btl-insight-grid,
  .btl-pain-grid,
  .btl-about-grid,
  .btl-assessment,
  .btl-page-hero__grid,
  .btl-contact-layout,
  .btl-final-cta__inner {
    grid-template-columns: 1fr;
  }

  .btl-hero__grid {
    min-height: auto;
  }

  .btl-hero__content {
    padding-block: 66px 26px;
  }

  .btl-hero__media {
    min-height: 560px;
    margin-bottom: 32px;
  }

  .btl-hero__image-wrap {
    inset: 0 4% 0;
    border-radius: 180px 180px 24px 24px;
  }

  .btl-hero__media::before {
    inset: 4% 0 4% 8%;
    border-radius: 180px 180px 30px 30px;
  }

  .btl-hero__note {
    right: 0;
    bottom: 2%;
  }

  .btl-insight-copy,
  .btl-contact-panel {
    position: static;
  }

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

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

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

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

  .btl-assessment__media {
    min-height: 340px;
    order: -1;
  }

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

  .btl-form__field--full {
    grid-column: auto;
  }

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

@media (max-width: 560px) {
  .btl-container,
  .btl-container--reading,
  .entry-content,
  .btl-assessment-page,
  .btl-single-header__inner,
  .btl-single-image,
  .btl-single-nav {
    width: min(calc(100% - 28px), var(--btl-container));
  }

  .site-branding__mark {
    width: 30px;
    flex-basis: 30px;
  }

  .site-branding__name {
    font-size: 1.03rem;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .btl-hero__media {
    min-height: 470px;
  }

  .btl-hero__note {
    max-width: 210px;
    padding: 0.8rem;
  }

  .btl-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btl-actions .btl-button {
    width: 100%;
  }

  .btl-grid--2,
  .btl-grid--3,
  .btl-grid--4,
  .btl-posts-grid,
  .btl-pillars,
  .btl-process,
  .btl-stat-grid,
  .site-footer__main,
  .btl-single-nav {
    grid-template-columns: 1fr;
  }

  .btl-stat-grid {
    display: flex;
    flex-wrap: wrap;
  }

  .btl-stat {
    flex: 1 1 130px;
  }

  .btl-question__options {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .btl-actions,
  .btl-final-cta,
  .menu-toggle,
  .btl-form button {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  .btl-section,
  .entry-content,
  .btl-assessment-page {
    padding-block: 20px;
  }

  a {
    color: #000;
    text-decoration: none;
  }
}

/* English profile: keep the global Hebrew navigation in RTL while the page content reads LTR. */
.page-template-template-english main {
  direction: ltr;
  text-align: left;
}

.page-template-template-english main .btl-actions {
  justify-content: flex-start;
}

.page-template-template-english main .entry-content ul,
.page-template-template-english main .entry-content ol {
  padding-left: 1.4em;
  padding-right: 0;
}
