/*
Theme Name: דיפלומטיה תנ״כית
Theme URI: https://biblicaldiplomacy.org/
Author: מוריה כהן
Description: תבנית מותאמת לאתר דיפלומטיה תנ״כית. דורש את התוסף Advanced Custom Fields (חינמי) לעריכת התכנים.
Version: 1.0.0
Text Domain: diplomacy
*/
/* דיפלומטיה תנ״כית — design tokens from Figma V2 */
:root{
  --navy:#0a2342; --navy-deep:#071930; --navy-2:#1c406e; --navy-3:#081a33;
  --gold:#d4af37; --gold-dark:#a8842a; --gold-light:#e8c961; --gold-mid:#bd9426; --gold-soft:#c9a94a;
  --cream:#fffdf8; --cream-2:#fbf7ef; --paper:#f9f8f6; --sand:#e2d5bc; --line:#e7e2d8; --divider:#d9d3c7;
  --text:#2e2a24; --body:#4a463f; --muted:#7a7264; --on-dark:#c9d3df; --white:#fff;
  --grad-gold:linear-gradient(90deg,var(--gold-light),var(--gold-mid));
  --grad-navy:linear-gradient(90deg,var(--navy-2),var(--navy-3));
  --font:'Noto Sans Hebrew',sans-serif; --font-latin:'Inter','Noto Sans Hebrew',sans-serif;
  --container:1200px; --gutter:120px; --radius:8px; --pill:999px;
  --shadow-card:0 8px 24px rgba(10,35,66,.06); --shadow-lg:0 20px 40px rgba(10,36,66,.18);
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);color:var(--text);background:var(--cream);direction:rtl;text-align:right;-webkit-font-smoothing:antialiased;line-height:1.5}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,p{margin:0}
button,input,select,textarea{font:inherit}
.container{width:100%;max-width:calc(var(--container) + 2*var(--gutter));margin:0 auto;padding:0 var(--gutter)}
.latin{font-family:var(--font-latin);direction:ltr}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:16px 30px;border-radius:var(--pill);font-weight:600;font-size:17px;line-height:1;border:0;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s;white-space:nowrap}
.btn:hover{transform:translateY(-2px)}
.btn .arrow{font-weight:700;font-size:18px}
.btn--gold{background:var(--gold);color:var(--navy)}
.btn--gold-grad{background:var(--grad-gold);color:var(--navy);font-weight:700}
.btn--navy{background:var(--navy);color:var(--white)} .btn--navy .arrow{color:var(--gold)}
.btn--navy-grad{background:var(--grad-navy);color:var(--white);font-weight:700}
.btn--outline-light{border:1.5px solid rgba(255,255,255,.7);color:var(--white);background:transparent} .btn--outline-light .arrow{color:var(--gold)}
.btn--sm{padding:8px 20px;font-size:15px;font-weight:700}
.btn--block{width:100%}

/* ---------- Section base ---------- */
.section{position:relative;padding:120px 0;overflow:hidden}
.section > .container{position:relative;z-index:1}
.section--dark{background:var(--navy);color:var(--white)}
.section--cream{background:var(--cream)}
.section--paper{background:var(--paper)}
.section__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0;pointer-events:none}
.section__veil{position:absolute;inset:0;background:rgba(251,247,239,.72);z-index:0}
.texture::after{content:"";position:absolute;inset:0;background:url(assets/texture.png) top left/1600px;opacity:.07;pointer-events:none;z-index:0}
.slant-bottom::before{content:"";position:absolute;left:0;right:0;bottom:-1px;height:70px;background:var(--slant-color,var(--cream));clip-path:polygon(0 100%,100% 0,100% 100%);z-index:1}

.section-head{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;margin-bottom:56px}
.gold-line{width:48px;height:3px;background:var(--gold);border-radius:2px}
.eyebrow{font-size:15px;font-weight:500;letter-spacing:3.3px;color:var(--muted)}
.section--dark .eyebrow{color:var(--gold-soft)}
.eyebrow-row{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:600;color:var(--gold-dark);letter-spacing:.6px}
.eyebrow-row::before{content:"";width:32px;height:2px;background:var(--gold)}
.h2{font-size:44px;font-weight:700;line-height:1.25;color:var(--navy)}
.h2--md{font-size:40px} .h2--sm{font-size:42px}
.section--dark .h2{color:var(--white)}
.lead{font-size:20px;line-height:1.6;color:var(--body)}
.section--dark .lead{color:var(--on-dark)}
.body{font-size:18px;line-height:1.7;color:var(--body)}
.body strong{color:var(--navy);font-weight:700}
.accent-gold{color:var(--gold-dark)}

/* ---------- Grids ---------- */
.grid{display:grid;gap:32px}
.grid--2{grid-template-columns:repeat(2,1fr)}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr)}
.split{display:flex;align-items:center;justify-content:space-between;gap:88px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:var(--white);box-shadow:0 1px 1.5px rgba(10,35,66,.06),0 6px 10px rgba(10,35,66,.12)}
.topbar{position:relative;background:var(--navy);color:var(--white)}
.topbar::after{content:"";position:absolute;inset:0;background:url(assets/texture.png) top left/1600px;opacity:.07;pointer-events:none}
.topbar__inner{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;padding-top:18px;padding-bottom:18px}
.topbar__side{display:flex;align-items:center;gap:20px;width:420px}
.topbar__side--end{justify-content:flex-end;gap:10px}
.contact-pill{display:inline-flex;align-items:center;gap:10px;padding:11px 22px;border:1px solid rgba(212,175,55,.55);background:rgba(255,255,255,.04);border-radius:var(--pill);font-weight:600;font-size:15px;white-space:nowrap}
.contact-pill img{width:16px;height:16px}
.legal-links{display:flex;align-items:center;gap:10px;font-size:14px;color:rgba(255,255,255,.8)}
.legal-links .sep{width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.6}
.logo{display:flex;flex-direction:column;align-items:center;gap:2px;color:var(--white)}
.logo__row{display:flex;align-items:center;gap:12px;font-size:30px;font-weight:700;white-space:nowrap}
.logo__row::after{content:"";width:16px;height:16px;border-radius:50%;background:var(--gold);order:-1}
.logo__en{font-family:var(--font-latin);font-size:11px;font-weight:500;letter-spacing:3.08px;color:var(--gold)}
.socials{display:flex;gap:8px}
.social{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;transition:background .2s}
.social:hover{background:rgba(212,175,55,.25)}
.social img{width:18px;height:18px}
.search-box{display:flex;align-items:center;justify-content:space-between;width:200px;height:44px;padding:4px 4px 4px 18px;border-radius:var(--pill);background:rgba(255,255,255,.08)}
.search-box input{flex:1;min-width:0;background:none;border:0;color:var(--white);font-size:14px;padding:0 14px;outline:none}
.search-box input::placeholder{color:#c9d3df}
.search-box button{width:36px;height:36px;border-radius:50%;border:0;background:var(--grad-gold);display:flex;align-items:center;justify-content:center;cursor:pointer;order:2}
.search-box button img{width:16px;height:16px}

.navbar{background:var(--white);border-bottom:1px solid var(--line)}
.navbar__inner{display:flex;align-items:center;justify-content:space-between;height:56px}
.main-nav{display:flex;align-items:center;gap:18px}
.main-nav__mark{width:10px;height:10px;border-radius:50%;background:var(--gold);margin-left:8px}
.main-nav a{position:relative;display:flex;align-items:center;gap:6px;padding:8px 0 6px;font-size:16px;font-weight:500;color:var(--text);white-space:nowrap}
.main-nav a::after{content:"";position:absolute;bottom:0;left:50%;width:0;height:2px;background:var(--gold);transform:translateX(-50%);transition:width .25s}
.main-nav a:hover::after,.main-nav a.is-active::after,.main-nav a[aria-current="page"]::after{width:100%}
.main-nav .divider{width:1px;height:16px;background:var(--divider)}
.main-nav .has-sub img{width:12px;height:12px}
.nav-actions{display:flex;align-items:center;gap:24px}
.nav-actions .icon-search{width:18px;height:18px}
.nav-actions .btn img{width:16px;height:16px}
.menu-toggle{display:none;width:44px;height:44px;border:0;background:none;cursor:pointer;flex-direction:column;justify-content:center;gap:5px;padding:10px}
.menu-toggle span{display:block;height:2px;background:var(--navy);border-radius:2px;transition:transform .25s,opacity .25s}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy-deep);color:rgba(255,255,255,.8);padding:56px 0 32px}
.footer__main{display:flex;align-items:center;justify-content:space-between;gap:32px}
.footer__nav{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:18px;line-height:1.6}
.footer__nav-row{display:flex;gap:28px;flex-wrap:wrap;justify-content:center}
.footer__nav a:hover{color:var(--gold)}
.site-footer .logo{align-items:flex-end}
.footer__divider{height:1px;background:rgba(255,255,255,.15);margin:28px 0}
.footer__bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:14px}
.footer__copy{color:rgba(255,255,255,.55)}

/* ---------- Cards ---------- */
.card{display:flex;flex-direction:column;background:var(--cream);border:1px solid var(--sand);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:12px 12px 0;overflow:hidden;transition:transform .25s,box-shadow .25s}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(10,35,66,.12)}
.card__media{position:relative;height:220px;border-radius:6px;overflow:hidden}
.card__media img{width:100%;height:100%;object-fit:cover}
.card__media::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,35,66,.35),rgba(10,35,66,0) 55%,rgba(10,35,66,.35))}
.card__tag{position:absolute;bottom:14px;right:18px;z-index:1;display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:var(--cream-2);border:1.2px dashed var(--gold-dark);border-radius:2px;font-size:13px;font-weight:600;color:var(--navy);transform:rotate(4deg);box-shadow:0 4px 10px rgba(10,35,66,.12)}
.card__tag img{width:14px;height:14px}
.card__body{display:flex;flex-direction:column;flex:1;gap:12px;padding:24px 16px}
.card__accent{width:32px;height:2px;background:var(--gold);border-radius:1px}
.card__title{font-size:22px;font-weight:700;line-height:1.35;color:var(--navy)}
.card__text{font-size:16px;line-height:1.65;color:var(--body)}
.card__footer{margin-top:auto;padding-top:16px;border-top:1px solid var(--sand);display:flex;gap:8px;align-items:center;font-size:16px;font-weight:600;color:var(--navy)}
.card__footer .arrow{color:var(--gold-dark);font-size:18px;font-weight:500}

.video-card{display:flex;flex-direction:column;gap:14px;padding:10px 10px 18px;background:var(--cream);border:1px solid var(--sand);border-radius:var(--radius);box-shadow:0 6px 9px rgba(10,35,66,.05);text-align:right}
.video-card__thumb{position:relative;height:160px;border-radius:4px;overflow:hidden}
.video-card__thumb>img{width:100%;height:100%;object-fit:cover}
.video-card__thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(5,15,31,.65))}
.video-card__play{position:absolute;top:50%;left:50%;width:52px;height:52px;transform:translate(-50%,-50%);z-index:1}
.video-card__duration{position:absolute;bottom:10px;left:10px;z-index:1;padding:4px 8px;border-radius:6px;background:rgba(251,247,239,.95);font-size:12px;font-weight:500;color:var(--navy);direction:ltr}
.video-card__title{padding:0 6px;font-size:18px;font-weight:600;line-height:1.4;color:var(--navy)}
.video-card__meta{padding:0 6px;font-size:14px;color:var(--muted)}

/* ---------- Home: Hero ---------- */
.hero{position:relative;min-height:785px;display:flex;align-items:center;color:var(--white);overflow:hidden;--slant-color:var(--cream)}
.hero__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero__overlay{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}
.hero__content{position:relative;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:28px}
.hero__accent{width:64px;height:4px;background:var(--gold)}
.hero__title{font-size:70px;line-height:1.2;max-width:820px}
.hero__title .light{display:block;font-weight:200}
.hero__title .heavy{display:block;font-weight:900}
.hero__text{max-width:780px;font-size:20px;line-height:1.6;color:rgba(255,255,255,.85)}
.btn-row{display:flex;gap:16px;flex-wrap:wrap}
.hero__coords{position:absolute;bottom:145px;left:50%;transform:translateX(-50%);z-index:2;display:flex;align-items:center;gap:14px;font-family:var(--font-latin);font-size:11px;font-weight:500;letter-spacing:1.98px;color:rgba(255,255,255,.7);white-space:pre;direction:ltr}
.hero__coords .line{width:90px;height:1px;background:rgba(212,175,55,.6)}
.hero__coords .dot{width:7px;height:7px;border-radius:50%;background:var(--gold)}

/* Floating parasha card */
.parasha-card{position:absolute;top:640px;right:32px;z-index:5;width:290px;padding:21px;background:var(--cream);border:1px solid var(--sand);border-radius:12px;box-shadow:var(--shadow-lg);display:flex;flex-direction:column;gap:12px}
.parasha-card__label{font-size:13px;font-weight:600;color:var(--gold-dark);letter-spacing:1px}
.parasha-card__title{font-size:24px;font-weight:700;color:var(--navy)}
.parasha-card__link{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid var(--sand);border-radius:8px;font-size:14px;color:var(--navy);transition:background .2s}
.parasha-card__link:hover{background:var(--cream-2)}
.parasha-card__link .arrow{color:var(--gold-dark)}
.parasha-card__all{font-size:13px;font-weight:600;color:var(--gold-dark)}

/* About */
.about{background:var(--cream);padding:110px 0 120px}
.about__portrait{position:relative;flex:0 0 440px;height:560px}
.about__frame{position:absolute;inset:24px 24px -24px -24px;border:2px solid var(--gold);border-radius:220px 220px 20px 20px}
.about__photo{position:relative;width:100%;height:100%;border-radius:220px 220px 20px 20px;overflow:hidden;box-shadow:var(--shadow-lg)}
.about__photo img{width:100%;height:100%;object-fit:cover;object-position:bottom}
.about__photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,35,66,.45),rgba(10,35,66,0) 40%)}
.name-chip{position:absolute;top:444px;left:288px;padding:14px 20px;border-radius:14px;background:var(--navy);display:flex;flex-direction:column;gap:2px;white-space:nowrap}
.name-chip strong{font-size:20px;color:var(--white)}
.name-chip span{font-size:14px;font-weight:500;color:var(--gold-dark)}
.seal{position:absolute;top:410px;left:-81px;width:170px;height:170px}
.seal img{position:absolute}
.seal .seal__disc{inset:0;width:100%;height:100%}
.seal .seal__inner{inset:15%;width:70%;height:70%}
.about__text{flex:0 1 640px;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.about__text .gold-line{height:3px}

/* Social proof */
.logos{display:flex;align-items:center;justify-content:center;gap:64px;flex-wrap:wrap}
.logos img{height:62px;width:auto;object-fit:contain}

/* Story */
.story{--slant-color:var(--cream);background:var(--navy);color:var(--white);padding:110px 0}
.story__media{position:relative;flex:0 0 600px;height:400px}
.story__photo{width:100%;height:100%;object-fit:cover;border-radius:16px;border:1px solid rgba(212,175,55,.6)}
.story__zoom{position:absolute;left:-30px;top:250px;width:236px;height:236px}
.story__caption{position:absolute;top:444px;right:-20px;padding:6px 14px;border-radius:var(--pill);background:var(--grad-gold);color:var(--navy);font-size:13px;font-weight:700;white-space:nowrap}
.story__text{flex:0 1 500px;display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.story__text .eyebrow-row{color:var(--gold)}
.story__text .body{color:var(--on-dark);line-height:1.65}
.quote{border-right:3px solid var(--gold);padding:4px 22px 4px 0;display:flex;flex-direction:column;gap:6px;width:100%}
.quote__en{font-family:var(--font-latin);font-style:italic;font-weight:500;font-size:20px;color:var(--gold);direction:ltr;text-align:right}
.quote__he{font-size:16px;font-weight:500;color:rgba(255,255,255,.85)}
.story__cta{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding-top:8px}
.story__cta p{font-size:15px;color:rgba(255,255,255,.7)}

/* Pain */
.pain{text-align:center;padding:120px 0 150px;--slant-color:var(--navy)}
.pain .section__veil{background:rgba(251,247,239,.25)}
.pain .section-head{margin-bottom:28px}
.pain .lead{max-width:680px;margin:0 auto 28px}

/* Videos */
.videos{padding:120px 0 150px;--slant-color:var(--cream)}
.videos__cta{display:flex;justify-content:center;margin-top:56px}

/* Map */
.map{padding:130px 0 150px;--slant-color:var(--navy)}
.map .split{gap:80px}
.map-card{position:relative;flex:0 0 620px;height:470px;border-radius:24px;overflow:hidden;box-shadow:0 24px 48px rgba(10,36,66,.22);background:var(--navy)}
.map-card__bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.map-card__us{position:absolute;left:20px;top:117px;width:580px;height:216px;object-fit:cover;opacity:.95}
.map-card__label{position:absolute;left:28px;top:26px;display:flex;align-items:center;gap:8px;font-family:var(--font-latin);font-size:12px;font-weight:500;letter-spacing:2.88px;color:var(--gold-dark);direction:ltr}
.map-card__label::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--gold)}
.map-card__focus{position:absolute;left:286px;top:91px;width:128px;height:128px}
.map-card__focus img{position:absolute}
.map-card__chip{position:absolute;left:282px;top:181px;padding:10px 14px;border-radius:12px;background:var(--white);box-shadow:0 8px 10px rgba(0,0,0,.25);display:flex;flex-direction:column;gap:2px}
.map-card__chip strong{font-size:16px;color:var(--navy)}
.map-card__chip span{font-family:var(--font-latin);font-size:12px;color:#6b6b6b}
.map-card__credit{position:absolute;left:28px;bottom:20px;font-size:11px;color:rgba(255,255,255,.45)}
.map-pin{position:absolute;width:16px;height:16px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 4px rgba(212,175,55,.3)}
.map-pin__chip{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);padding:6px 12px;border-radius:8px;border:1px solid var(--gold);background:var(--cream);text-align:center;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity .2s}
.map-pin:hover .map-pin__chip{opacity:1}
.map-pin__chip strong{display:block;font-size:14px;color:var(--navy)}
.map-pin__chip span{font-family:var(--font-latin);font-size:11px;color:var(--muted)}
.map__text{flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.map__text .hero__accent{width:48px}
.map__text .body{line-height:1.65}
.place-stats{display:flex;flex-direction:column;gap:12px;width:100%}
.place-stats__title{font-size:16px;font-weight:700;color:var(--navy)}
.place-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.place{display:flex;align-items:center;justify-content:space-between;height:60px;padding-left:16px;background:var(--paper);border:1px solid #ece7dd;border-radius:14px;overflow:hidden}
.place::before{content:"";align-self:stretch;width:5px;background:var(--c);order:-1}
.place__name{flex:1;display:flex;flex-direction:column;padding-right:14px}
.place__name strong{font-size:17px;color:var(--navy)}
.place__name span{font-family:var(--font-latin);font-size:12px;color:var(--muted)}
.place__count{display:flex;flex-direction:column;align-items:flex-end}
.place__count b{font-family:var(--font-latin);font-size:22px;color:var(--c);direction:ltr}
.place__count span{font-size:11px;font-weight:500;color:var(--muted)}
.footnote{font-size:12px;color:var(--muted)}

/* Testimonials */
.testimonials{background:var(--navy);padding:120px 0}
.testimonials::before{content:"";position:absolute;top:-1px;left:0;right:0;height:70px;background:var(--cream);clip-path:polygon(0 0,100% 0,0 100%);z-index:1}
.t-slider{position:relative;max-width:1200px;height:520px;margin:0 auto}
.t-slider__sheet{position:absolute;left:50%;top:95px;width:760px;height:330px;margin-left:-380px;border-radius:6px}
.t-slider__sheet--back{background:#eadfc8;border:1px solid #d8c6a3;transform:rotate(-3.5deg)}
.t-slider__sheet--mid{background:#f4ecdd;border:1px solid var(--sand);transform:rotate(2deg)}
.t-slider__viewport{position:absolute;left:50%;top:80px;width:760px;height:330px;margin-left:-380px;overflow:hidden}
.t-slider__track{display:flex;height:100%;transition:transform .5s ease}
.letter{flex:0 0 100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:34px 64px;background:var(--cream);border:1px solid var(--sand);border-radius:6px;text-align:center}
.letter__mark{font-size:96px;font-weight:700;line-height:.6;color:var(--gold)}
.letter__text{font-size:21px;font-weight:500;line-height:1.65;color:var(--navy)}
.letter__author{display:flex;align-items:center;gap:14px}
.letter__author img{width:52px;height:52px;order:-1}
.letter__author div{display:flex;flex-direction:column;gap:2px;text-align:right}
.letter__author strong{font-size:17px;color:var(--gold-dark)}
.letter__author span{font-size:14px;color:var(--muted)}
.t-slider__arrow{position:absolute;top:217px;width:56px;height:56px;border-radius:50%;background:var(--cream);border:1.5px solid var(--gold);color:var(--navy);font-size:22px;font-weight:700;cursor:pointer}
.t-slider__arrow--prev{right:70px} .t-slider__arrow--next{left:70px}
.t-slider__dots{position:absolute;top:478px;left:50%;transform:translateX(-50%);display:flex;gap:10px}
.t-slider__dots button{width:10px;height:10px;border-radius:5px;border:0;padding:0;background:#d8c6a3;cursor:pointer;transition:width .25s}
.t-slider__dots button.is-active{width:30px;background:var(--gold)}

/* Lead magnet */
.lead-magnet{background:var(--paper);padding:120px 0 140px}
.lead-magnet .section__bg{opacity:.5}
.lead-magnet .split{gap:96px;justify-content:center}
.book{position:relative;flex:0 0 400px;height:440px}
.book__pages{position:absolute;left:78px;top:30px;width:292px;height:392px;border-radius:6px;background:#e9e4d8}
.book__cover{position:absolute;left:70px;top:22px;width:290px;height:390px;padding:44px 32px 40px;border-radius:3px 8px 8px 3px;overflow:hidden;display:flex;flex-direction:column;align-items:flex-start;gap:18px;filter:drop-shadow(-18px 26px 20px rgba(10,36,66,.35));background:var(--navy)}
.book__cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.book__cover>*:not(img){position:relative}
.book__line{width:40px;height:3px;background:var(--gold)}
.book__label{font-size:14px;font-weight:600;letter-spacing:2.8px;color:var(--gold-dark)}
.book__title{font-size:34px;font-weight:700;line-height:1.18;color:var(--white)}
.book__brand{margin-top:auto;display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--white)}
.book__brand::after{content:"";width:10px;height:10px;border-radius:50%;background:var(--gold);order:-1}
.book__gloss{position:absolute;left:74px;top:22px;width:18px;height:390px;background:linear-gradient(90deg,rgba(0,0,0,.35),rgba(255,255,255,.08))}
.lead-magnet__text{flex:0 1 560px;display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.inline-form{display:flex;gap:12px;flex-wrap:wrap}
.input-pill{height:54px;padding:0 22px;border:1px solid #d9dee7;border-radius:var(--pill);background:var(--white);font-size:16px;color:var(--navy)}
.input-pill::placeholder{color:#9aa3b2}
.input-pill--name{width:150px} .input-pill--email{width:190px}

/* Contact CTA */
.contact-cta{background:var(--navy);padding:96px 0}
.contact-cta__col{max-width:552px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:40px}
.contact-cta .h2{text-align:center}
.form{width:100%;display:flex;flex-direction:column;gap:16px}
.form__row{display:flex;gap:16px}
.field{flex:1;min-width:0;padding:16px 20px;border-radius:8px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:var(--white);font-size:16px;line-height:1.55;outline:none}
.field::placeholder{color:rgba(255,255,255,.6)}
.field:focus{border-color:var(--gold)}
select.field{appearance:none;background:rgba(255,255,255,.08) url(assets/icon-chevron-down.svg) no-repeat left 20px center/16px;color:rgba(255,255,255,.6)}
select.field option{color:var(--navy)}

/* ---------- Responsive ---------- */
@media (max-width:1280px){
  :root{--gutter:48px}
  .main-nav{gap:12px} .main-nav a{font-size:15px}
  .topbar__side{width:auto}
  .split{gap:48px}
  .map-card,.story__media{flex-basis:50%}
  .parasha-card{display:none}
}
@media (max-width:1024px){
  .grid--3{grid-template-columns:repeat(2,1fr)}
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .topbar .legal-links,.topbar .search-box{display:none}
  .menu-toggle{display:flex}
  .navbar__inner{position:relative}
  .main-nav{position:absolute;top:56px;right:calc(-1*var(--gutter));left:calc(-1*var(--gutter));flex-direction:column;align-items:stretch;gap:0;background:var(--white);border-bottom:1px solid var(--line);box-shadow:0 12px 20px rgba(10,35,66,.1);max-height:0;overflow:hidden;transition:max-height .35s ease}
  .main-nav.is-open{max-height:80vh;overflow:auto}
  .main-nav a{padding:14px var(--gutter);border-top:1px solid var(--line)}
  .main-nav a::after{display:none}
  .main-nav .divider,.main-nav__mark{display:none}
  .site-header.menu-open .menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .site-header.menu-open .menu-toggle span:nth-child(2){opacity:0}
  .site-header.menu-open .menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .split{flex-direction:column;align-items:stretch}
  .about__portrait{flex:none;width:min(440px,100%);height:auto;aspect-ratio:440/560;margin:0 auto 40px}
  .story__media,.map-card{flex:none;width:100%;max-width:620px;margin:0 auto}
  .book{margin:0 auto}
  .hero__title{font-size:52px}
}
@media (max-width:767px){
  :root{--gutter:16px}
  .section,.about,.story,.pain,.videos,.map,.testimonials,.lead-magnet,.contact-cta{padding:72px 0}
  .grid--2,.grid--3,.grid--4,.place-grid{grid-template-columns:1fr}
  .h2{font-size:30px} .h2--md,.h2--sm{font-size:28px}
  .section-head{margin-bottom:36px}
  .lead{font-size:17px} .body{font-size:16px}
  .topbar__inner{padding-top:12px;padding-bottom:12px}
  .topbar__side:first-child{display:none}
  .logo__row{font-size:22px}
  .socials .social{width:34px;height:34px}
  .nav-actions .btn span.label{display:none}
  .hero{min-height:620px}
  .hero__title{font-size:38px}
  .hero__text{font-size:17px}
  .hero__coords{display:none}
  .btn{white-space:normal;text-align:center}
  .btn-row .btn{width:100%}
  .name-chip{top:auto;bottom:20px;left:auto;right:16px}
  .seal{width:120px;height:120px;left:-10px;top:auto;bottom:-20px}
  .story__media{height:260px}
  .story__zoom{width:140px;height:140px;left:-8px;top:150px}
  .story__caption{top:auto;bottom:-14px;right:10px}
  .map-card{height:340px}
  .map-card__us{left:4%;width:92%;top:90px;height:auto}
  .map-card__focus,.map-card__chip,.map-pin{display:none}
  .t-slider{height:auto}
  .t-slider__sheet{display:none}
  .t-slider__viewport{position:relative;left:0;top:0;margin:0;width:100%;height:auto}
  .letter{padding:28px 20px}
  .letter__text{font-size:17px}
  .t-slider__arrow{display:none}
  .t-slider__dots{position:static;transform:none;justify-content:center;margin-top:24px}
  .book{transform:scale(.8);transform-origin:top center;height:360px}
  .inline-form,.form__row{flex-direction:column}
  .input-pill--name,.input-pill--email{width:100%}
  .footer__main,.footer__bottom{flex-direction:column;text-align:center}
  .site-footer .logo{align-items:center}
  .footer__nav{font-size:16px}
  .footer__nav-row{gap:16px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* === PAGE: about.html / services.html / gifts.html (shared inner-page hero + gifts) === */
.page-hero{position:relative;min-height:660px;padding:74px 0 110px;background:var(--cream-2);overflow:hidden}
.page-hero__veil{position:absolute;inset:0;background:rgba(251,247,239,.55);z-index:0}
.page-hero::after{content:"";position:absolute;inset:0;background:url(assets/texture.png) top left/1600px;opacity:.11;pointer-events:none;z-index:0}
.page-hero__ghost{position:absolute;right:-40px;top:430px;font-size:320px;font-weight:900;line-height:1;color:transparent;-webkit-text-stroke:1.5px rgba(168,132,42,.6);opacity:.3;white-space:nowrap;pointer-events:none;z-index:0}
.page-hero__inner{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:48px}
.page-hero__text{flex:0 1 620px;display:flex;flex-direction:column;align-items:flex-start;gap:22px;padding-top:22px}
.page-hero__crumb{font-size:14px;font-weight:500;color:var(--muted);white-space:pre}
.page-hero__crumb a:hover{color:var(--gold-dark)}
.page-hero .eyebrow-row::before{width:48px}
.page-hero__title{font-size:80px;line-height:1.02;color:var(--navy)}
.page-hero__title .light{display:block;font-weight:200}
.page-hero__title .heavy{display:block;font-weight:900}
.page-hero__lead{max-width:560px;font-size:20px;line-height:1.6;color:var(--body)}
.page-hero__verse{margin:0;border-right:2px solid var(--gold);padding:4px 20px 4px 0;display:flex;flex-direction:column;gap:6px}
.page-hero__verse-he{font-size:19px;font-weight:600;color:var(--navy)}
.page-hero__verse-cite{font-size:14px;color:var(--muted)}
.page-hero__verse-en{font-style:italic;font-weight:500;color:var(--gold-dark)}
.page-hero__media{position:relative;flex:0 0 440px;height:520px}
.page-hero__arch-outline{position:absolute;left:0;top:20px;width:420px;height:500px;border:1.5px solid var(--gold);border-radius:210px 210px 0 0}
.page-hero__arch{position:absolute;left:20px;top:0;width:420px;height:500px;border-radius:210px 210px 4px 4px;overflow:hidden;box-shadow:0 24px 48px -8px rgba(10,35,66,.18)}
.page-hero__arch img{width:100%;height:100%;object-fit:cover}
.page-hero__arch::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(59,42,18,0) 55%,rgba(59,42,18,.35))}
.page-hero__seal{left:auto;right:-170px;top:380px;width:170px;height:170px;z-index:2}
.page-hero__coords{position:absolute;bottom:72px;left:50%;transform:translateX(-50%);z-index:1;display:flex;align-items:center;gap:14px;font-family:var(--font-latin);font-size:11px;font-weight:500;letter-spacing:1.98px;color:var(--muted);white-space:pre;direction:ltr}
.page-hero__coords .line{width:70px;height:1px;background:rgba(212,175,55,.6)}
.page-hero__coords .dot{width:7px;height:7px;border-radius:50%;background:var(--gold)}
.story--light{background:var(--cream-2);color:var(--text)}
.story--light .story__text .body{color:var(--body)}
.story--light .story__text .eyebrow-row{color:var(--gold-dark)}
.story--light .quote__en{color:var(--gold-dark)}
.story--light .quote__he,.story--light .story__cta p{color:var(--body)}
.gifts{padding:110px 0}
.gifts__lead{max-width:760px;color:var(--muted);font-size:19px}
.gift-card{display:flex;flex-direction:column;background:var(--white);border:1px solid #e5decc;border-radius:4px;overflow:hidden}
.gift-card__media{height:240px;background:#f5f0e5}
.gift-card__media img{width:100%;height:100%;object-fit:contain}
.gift-card__media--empty{background:#d9d4c7}
.gift-card__body{display:flex;flex-direction:column;gap:8px;padding:24px 28px 28px}
.gift-card__title{font-size:21px;font-weight:700;color:var(--navy)}
.gift-card__text{font-size:16px;color:var(--muted)}
@media (max-width:1280px){.page-hero__seal{right:-40px}.page-hero__media{flex-basis:380px}}
@media (max-width:1024px){
  .page-hero__inner{flex-direction:column;align-items:stretch}
  .page-hero__media{flex:none;width:min(440px,100%);height:auto;aspect-ratio:440/520;margin:0 auto}
  .page-hero__arch,.page-hero__arch-outline{width:calc(100% - 20px);height:calc(100% - 20px)}
  .page-hero__seal{right:-10px;top:auto;bottom:0}
  .page-hero__title{font-size:60px}
  .page-hero__coords{display:none}
}
@media (max-width:767px){
  .page-hero{padding:48px 0 72px;min-height:0}
  .page-hero__title{font-size:44px}
  .page-hero__lead{font-size:17px}
  .page-hero__verse-he{font-size:16px}
  .page-hero__verse-cite{white-space:normal}
  .page-hero__ghost{font-size:160px;top:auto;bottom:0}
  .page-hero__seal{width:110px;height:110px}
  .gifts{padding:72px 0}
  .gifts__lead{font-size:17px}
}

/* === PAGE: lectures.html, tours.html, maps.html (shared inner-page hero + maps list) === */
.phero{position:relative;overflow:hidden;background:var(--cream-2);padding:96px 0 110px;min-height:660px}
.phero__veil{position:absolute;inset:0;background:rgba(251,247,239,.55)}
.phero::after{content:"";position:absolute;inset:0;background:url(assets/texture.png) top left/1600px;opacity:.11;pointer-events:none}
.phero__word{position:absolute;right:-40px;bottom:-90px;font-size:320px;font-weight:900;line-height:1;color:transparent;-webkit-text-stroke:1px rgba(168,132,42,.5);opacity:.3;white-space:nowrap;pointer-events:none}
.phero__inner{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:80px}
.phero__text{flex:0 1 620px;display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.phero__crumbs{font-size:14px;font-weight:500;color:var(--muted);white-space:pre}
.phero__title{font-size:80px;line-height:1.02;color:var(--navy)}
.phero__light{display:block;font-weight:200}.phero__heavy{display:block;font-weight:900}
.phero__lead{max-width:560px;font-size:20px;line-height:1.6;color:var(--body)}
.phero__verse{margin:0;border-right:2px solid var(--gold);padding:4px 20px 4px 0;display:flex;flex-direction:column;gap:6px}
.phero__verse-he{font-size:19px;font-weight:600;color:var(--navy)}
.phero__verse-ref{font-size:14px;color:var(--muted);white-space:pre-wrap}
.phero__verse-ref .latin{font-style:italic;font-weight:500;color:var(--gold-dark)}
.phero__coords{display:flex;align-items:center;gap:14px;margin-top:10px;font-family:var(--font-latin);font-size:11px;font-weight:500;letter-spacing:1.98px;color:var(--muted);white-space:pre;direction:ltr}
.phero__coords .line{width:70px;height:1px;background:rgba(212,175,55,.7)}.phero__coords .dot{width:7px;height:7px;border-radius:50%;background:var(--gold)}
.phero__media{position:relative;flex:0 0 440px;height:520px;margin-top:-22px}
.phero__arch-outline{position:absolute;left:0;top:20px;width:420px;height:500px;border:1.5px solid var(--gold);border-radius:210px 210px 0 0}
.phero__arch{position:absolute;left:20px;top:0;width:420px;height:500px;border-radius:210px 210px 4px 4px;overflow:hidden;box-shadow:0 24px 48px -8px rgba(10,35,66,.18);background:#d9d4c7}
.phero__arch img{width:100%;height:100%;object-fit:cover}
.phero__arch::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(59,42,18,0) 55%,rgba(59,42,18,.35))}
.phero__seal.seal{top:380px;left:auto;right:-90px;width:170px;height:170px}
.card--feature .card__media{height:300px}
.card__media:not(:has(img[src]))::before{content:"";position:absolute;inset:0;background:#d9d4c7}
.map-list-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:36px;background:var(--white);border:1px solid #e5decc;border-radius:4px}
.map-list-card__num{font-size:13px;font-weight:500;color:var(--gold)}
.map-list-card__title{font-size:26px;font-weight:700;color:var(--navy)}
.map-list-card__sub{font-size:16px;color:var(--muted)}
.map-list-card__btn{padding:12px 22px;font-size:15px;color:var(--cream)}
@media (max-width:1024px){.phero__inner{flex-direction:column;align-items:stretch}.phero__media{margin:20px auto 0;flex:none;width:min(440px,100%)}.phero__title{font-size:60px}}
@media (max-width:767px){.phero{padding:56px 0 72px;min-height:0}.phero__title{font-size:44px}.phero__lead{font-size:17px}.phero__word{font-size:160px;bottom:-40px}.phero__coords{display:none}.phero__media{height:auto;aspect-ratio:440/520}.phero__arch,.phero__arch-outline{width:calc(100% - 20px);height:calc(100% - 20px)}.phero__seal.seal{width:110px;height:110px;right:-6px;top:auto;bottom:-10px}.map-list-card{padding:24px}.map-list-card__title{font-size:22px}}

/* === PAGE: videos.html / testimonials.html / contact.html === */
.section--white{background:#fff}
.shorts-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:32px 24px;padding-top:32px}
.short-card{display:flex;flex-direction:column;gap:12px}
.short-card__thumb{aspect-ratio:220/390;overflow:hidden;border-radius:4px}
.short-card__thumb img,.interview-card__thumb img{width:100%;height:100%;object-fit:cover}
.short-card__title{font-size:16px;font-weight:700;color:var(--navy)}
.interview-card{display:flex;flex-direction:column;gap:12px;max-width:720px;margin:32px auto 0}
.interview-card__thumb{aspect-ratio:16/9;overflow:hidden;border-radius:4px}
.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-top:32px;align-items:start}
.product-card{background:#fff;border:1px solid #e5decc;border-radius:4px;overflow:hidden;display:flex;flex-direction:column}
.product-card__media{height:220px;background:#f5f0e5}
.product-card__media:empty,.product-card__media:not(:has(img)){background:#d9d4c7}
.product-card__media img{width:100%;height:100%;object-fit:contain}
.product-card__body{padding:24px 28px 28px;display:flex;flex-direction:column;gap:8px}
.product-card__title{font-size:22px;font-weight:700;color:var(--navy)}
.product-card__text{font-size:16px;color:var(--muted)}
.product-card__more{font-size:15px;font-weight:700;color:var(--navy)}
.press-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:32px;padding-top:32px}
.press-card{background:#fffdf8;border:1px solid #e5decc;border-radius:4px;padding:36px;display:flex;flex-direction:column;gap:12px;font-weight:700}
.press-card__source{font-size:12px;color:var(--gold)}
.press-card__title{font-size:24px;color:var(--navy);text-align:right}
.press-card__link{font-size:15px;color:var(--navy)}
.press-card__link:hover{color:var(--gold-dark)}
.contact-page__inner{display:flex;justify-content:center;gap:80px;align-items:flex-start}
.contact-details{flex:0 1 480px;display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.contact-details .eyebrow{letter-spacing:3.3px;color:var(--muted)}
.contact-details__text{font-size:18px;color:var(--body)}
.contact-item{display:flex;gap:16px;align-items:center;width:100%;padding:18px 0;border-bottom:1px solid rgba(10,35,66,.08)}
.contact-item img{width:48px;height:48px}
.contact-item span{display:flex;flex-direction:column;gap:4px}
.contact-item small{font-size:13px;font-weight:500;letter-spacing:.52px;color:var(--muted)}
.contact-item strong{font-size:18px;font-weight:600;color:var(--navy)}
.contact-form{flex:0 1 560px;background:#fbf7ef;border:1px solid var(--gold);border-radius:10px;padding:40px;display:flex;flex-direction:column;gap:18px;box-shadow:0 24px 56px -10px rgba(91,74,42,.12)}
.contact-form__title{font-size:26px;font-weight:700;color:var(--navy)}
.contact-form__field{display:flex;flex-direction:column;gap:8px}
.contact-form__field>span{font-size:15px;font-weight:500;color:var(--navy)}
.contact-form__field input,.contact-form__field select,.contact-form__field textarea{width:100%;height:52px;padding:0 16px;background:#f7f1e6;border:1px solid #e2d5bc;border-radius:10px;font:inherit;font-size:16px;color:var(--navy)}
.contact-form__field textarea{height:140px;padding-top:14px;resize:vertical}
.contact-form__field ::placeholder{color:var(--muted)}
@media (max-width:1024px){.shorts-grid{grid-template-columns:repeat(3,1fr)}.products-grid{grid-template-columns:repeat(2,1fr)}.press-grid{grid-template-columns:1fr}.contact-page__inner{flex-direction:column;align-items:stretch;gap:48px}.contact-details,.contact-form{flex:none}}
@media (max-width:640px){.shorts-grid{grid-template-columns:repeat(2,1fr);gap:24px 16px}.products-grid{grid-template-columns:1fr}.press-card{padding:24px}.press-card__title{font-size:20px}.contact-form{padding:24px}}

/* === PAGE: torah.html / article.html === */
.torah-posts{background:#fffdf8}
.posts-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:40px 32px}
.post-card{display:flex;flex-direction:column;min-height:424px;background:#fffdf8;border:1px solid #e2d5bc;border-radius:8px;box-shadow:0 8px 24px rgba(10,35,66,.06);overflow:hidden;transition:transform .25s,box-shadow .25s}
.post-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(10,35,66,.12)}
.post-card__thumb{position:relative;height:190px;border-radius:130px 130px 0 0;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;background:#fffdf8}
.post-card__thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.post-card__thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(10,35,66,.3),rgba(10,35,66,.78))}
.post-card__eyebrow,.post-card__big{position:relative;z-index:1}
.post-card__eyebrow{font-size:13px;font-weight:500;color:var(--gold)}
.post-card__big{font-size:34px;font-weight:700;color:#fffdf8;text-align:center;line-height:1.15;padding:0 12px}
.post-card__body{display:flex;flex-direction:column;flex:1;gap:10px;padding:24px 24px 22px}
.post-card__accent{width:28px;height:2px;background:var(--gold)}
.post-card__title{font-size:20px;font-weight:700;line-height:1.35;color:var(--navy)}
.post-card__text{font-size:15px;line-height:1.65;color:var(--body);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.post-card__cta{margin-top:auto;padding-top:20px;border-top:1px solid rgba(10,35,66,.08);display:flex;gap:8px;align-items:center;font-size:15px;font-weight:600;color:var(--navy)}
.post-card__cta .arrow{order:2;color:var(--gold-dark);font-size:16px;font-weight:500}
.torah-posts__top{display:flex;justify-content:center;margin-top:56px}
.phero--post .phero__arch-outline,.phero--post .phero__arch{height:398px;border-radius:24px}
.post{background:#fffdf8;padding:96px var(--gutter) 120px}
.post__col{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:26px}
.post__meta{font-size:14px;font-weight:500;color:var(--muted);white-space:pre-wrap}
.post__rule{border:0;height:1px;background:#e2d5bc;margin:0}
.post__content{display:flex;flex-direction:column;gap:26px;font-size:20px;line-height:1.6;color:var(--text)}
.post__content strong{font-weight:700}
.post__content a{color:#2f6f86;text-decoration:underline;word-break:break-all}
.post__h{font-size:24px;font-weight:700;line-height:1.6;color:var(--navy);margin:0}
.post__places{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;text-align:center}
.place{display:flex;flex-direction:column;gap:2px;padding:18px 8px 16px;background:#f8f2e5;border:1px solid #e2d5bc;border-radius:8px}
.place__num{font-size:32px;font-weight:700;line-height:1.2;color:var(--gold-dark)}
.place__en{font-size:15px;font-weight:600;color:var(--navy)}
.place__he{font-size:13px;color:var(--muted)}
.post__pull{margin:0;padding:28px 40px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center}
.post__pull p{font-size:32px;font-weight:500;line-height:1.45;color:var(--navy)}
.post__figure{margin:0;padding:20px 0 8px;display:flex;flex-direction:column;align-items:center;gap:16px}
.post__frame{position:relative;width:min(440px,100%);aspect-ratio:440/418}
.post__frame-outline{position:absolute;left:0;top:20px;right:20px;bottom:0;border:1.5px solid var(--gold);border-radius:24px}
.post__frame-photo{position:absolute;left:20px;top:0;right:0;bottom:20px;border-radius:24px;overflow:hidden;box-shadow:0 16px 40px rgba(0,0,0,.16)}
.post__frame-photo img{width:100%;height:100%;object-fit:cover}
.post__frame-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(59,42,18,0) 55%,rgba(59,42,18,.35))}
.post__figure figcaption{font-size:16px;line-height:1.55;color:var(--muted);text-align:center}
.post__figure figcaption strong{color:var(--navy)}
.post__en{display:flex;flex-direction:column;gap:26px;text-align:left}
.post__en-rule{width:60px;height:2px;background:var(--gold)}
.post__en-label{font-size:14px;font-weight:600;letter-spacing:2.8px;color:#8a6e28}
.post__tags{display:flex;flex-wrap:wrap;gap:10px}
.post__tags a{padding:7px 16px;border:1px solid #e2d5bc;border-radius:999px;background:#fffdf8;font-size:14px;font-weight:500;color:var(--navy)}
.post__tags a:hover{border-color:var(--gold)}
.post__prev{display:flex;flex-direction:column;gap:4px;padding-top:24px;border-top:1px solid #e2d5bc}
.post__prev-label{font-size:13px;font-weight:600;color:var(--gold-dark);white-space:pre}
.post__prev-title{font-size:20px;font-weight:700;line-height:1.4;color:var(--navy);white-space:pre-wrap}
@media (max-width:1024px){.posts-grid{grid-template-columns:repeat(2,1fr)}.post__places{grid-template-columns:repeat(3,1fr)}}
@media (max-width:767px){.posts-grid{grid-template-columns:1fr}.post{padding:64px 16px 80px}.post__content{font-size:18px}.post__pull p{font-size:26px}.post__pull{padding:20px 0}.post__places{grid-template-columns:repeat(2,1fr)}}

/* 404 */

  .uc{min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:48px 16px;
      background:radial-gradient(ellipse at 50% 30%,#0f2d52 0%,var(--navy,#0a2342) 55%,var(--navy-deep,#071930) 100%);color:#fff;position:relative;overflow:hidden;font-family:'Noto Sans Hebrew',sans-serif}
  .uc::before,.uc::after{content:"";position:absolute;border:1px solid rgba(212,175,55,.18);border-radius:50%;pointer-events:none}
  .uc::before{width:720px;height:720px;top:50%;left:50%;transform:translate(-50%,-50%)}
  .uc::after{width:1040px;height:1040px;top:50%;left:50%;transform:translate(-50%,-50%);border-color:rgba(212,175,55,.08)}
  .uc__inner{position:relative;z-index:1;max-width:640px;animation:ucIn 1s ease both}
  .uc__logo{font-weight:900;font-size:28px;letter-spacing:.02em;color:#fff;text-decoration:none}
  .uc__logo span{display:block;font-family:Inter,sans-serif;font-style:italic;font-weight:500;font-size:13px;letter-spacing:.2em;color:var(--gold,#d4af37);margin-top:4px}
  .uc__code{font-size:clamp(96px,18vw,180px);font-weight:200;line-height:1;margin:40px 0 8px;
      background:linear-gradient(180deg,#e8c961 0%,#d4af37 50%,#a8842a 100%);-webkit-background-clip:text;background-clip:text;color:transparent}
  .uc__line{width:64px;height:2px;background:var(--gold,#d4af37);margin:0 auto 24px}
  .uc h1{font-size:clamp(28px,4vw,42px);font-weight:700;margin:0 0 16px}
  .uc p{color:var(--on-dark,#c9d3df);font-size:18px;line-height:1.7;margin:0 0 36px}
  .uc__actions{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
  .uc__btn{display:inline-flex;align-items:center;gap:10px;padding:14px 30px;border-radius:999px;font-weight:600;text-decoration:none;transition:transform .3s,background .3s}
  .uc__btn--gold{background:linear-gradient(90deg,#e8c961,#d4af37);color:var(--navy,#0a2342)}
  .uc__btn--ghost{border:1px solid rgba(255,255,255,.4);color:#fff}
  .uc__btn:hover{transform:translateY(-2px)}
  .uc__btn--ghost:hover{background:rgba(255,255,255,.08)}
  .uc__bar{width:220px;height:2px;background:rgba(255,255,255,.12);margin:48px auto 0;overflow:hidden;border-radius:2px}
  .uc__bar i{display:block;width:40%;height:100%;background:var(--gold,#d4af37);animation:ucBar 2.4s ease-in-out infinite}
  @keyframes ucIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
  @keyframes ucBar{0%{transform:translateX(160%)}100%{transform:translateX(-260%)}}
  @media (prefers-reduced-motion:reduce){.uc__inner,.uc__bar i{animation:none}}

/* WP extras */
.dt-notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:999;background:var(--navy);color:#fff;padding:14px 28px;border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.2);animation:dtFade 6s ease forwards}
@keyframes dtFade{0%,85%{opacity:1}100%{opacity:0;visibility:hidden}}
.post__tags a{margin-inline-end:8px}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}
