/* ==========================================================================
   free.my-america.co.il — shared stylesheet
   Rebuilt from the SendMsg/Creaditor pages, August 2026.
   Palette from the תפסת אמריקה logo: navy / red / white.
   Self-hosted Assistant. No Creaditor, no jQuery, no tracking.
   ========================================================================== */

@font-face{font-family:'Assistant';font-style:normal;font-weight:200 800;font-display:swap;
  src:url('../fonts/assistant-hebrew.woff2') format('woff2');
  unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F;}
@font-face{font-family:'Assistant';font-style:normal;font-weight:200 800;font-display:swap;
  src:url('../fonts/assistant-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Assistant';font-style:normal;font-weight:200 800;font-display:swap;
  src:url('../fonts/assistant-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

:root{
  --navy:#173557;        /* logo blue - ink and panels   */
  --navy-deep:#0F2540;
  --red:#e30613;         /* logo red - every button      */
  --red-dark:#b8050f;
  --ink:#1a1a1a;
  --muted:#555f6b;
  --line:#dfe4ea;
  --sheet-w:733px;       /* one width across all pages   */
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;padding:0;
  font-family:'Assistant',Arial,sans-serif;
  font-size:18px;line-height:1.6;color:var(--ink);
  background:#eef1f5;
  direction:rtl;
}
body.has-bg{
  background-position:50% 50%;
  background-repeat:no-repeat;
  background-size:cover;
  background-attachment:fixed;
}
img{max-width:100%;height:auto;border:0}
a{color:var(--navy)}
:focus-visible{outline:3px solid var(--red);outline-offset:2px}

/* ---------- sheet ---------- */
.sheet{
  max-width:var(--sheet-w);
  margin:0 auto;
  background:#fff;
  text-align:center;
  padding-bottom:8px;
  box-shadow:0 0 40px rgba(0,0,0,.18);
}
.sheet.wide{--sheet-w:1000px}
.banner{display:block;width:100%}
.pad{padding:0 22px}

/* ---------- episode nav ----------
   Matches Creaditor's mm2 menu: white strip, 10px spacing between cells,
   only the current item filled navy. 28px/52px as authored.            */
.epnav-holder{background:#fff;box-shadow:0 3px 6px -2px rgba(0,0,0,.35)}
.epnav{
  display:table;width:100%;max-width:900px;margin:0 auto;padding:0;
  list-style:none;table-layout:fixed;border-spacing:10px;border-collapse:separate;
}
.epnav li{display:table-cell;text-align:center;vertical-align:middle}
.epnav a{
  display:block;font-size:28px;line-height:52px;font-weight:400;
  color:#000;text-decoration:none;border-radius:3px;
}
.epnav a:hover{background:var(--navy);color:#fff}
.epnav a[aria-current="page"]{background:var(--navy);color:#fff}

/* ---------- typography ---------- */
h1,h2,h3{margin:22px auto;font-weight:700;line-height:1.3;color:var(--navy)}
h1{font-size:34px}
h2{font-size:28px}
h3{font-size:23px}
.lead{font-size:22px;color:var(--navy);margin:18px auto}
p{margin:16px auto}
.red{color:var(--red)}
.navy{color:var(--navy)}
.big{font-size:24px}
.small{font-size:15px;color:var(--muted)}
strong{font-weight:700}

/* ---------- video ---------- */
.video{margin:22px auto;width:100%}
.video iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0;background:#000}

/* ---------- form ---------- */
.form{
  max-width:391px;margin:26px auto;padding:22px 20px 18px;
  background:var(--navy);border-radius:10px;text-align:center;
}
.form .fc-head{color:#fff;font-size:22px;font-weight:700;line-height:1.35;margin:0 0 16px}
.form .fc-row{margin:0 0 10px}
.form input[type="text"],
.form input[type="tel"],
.form input[type="email"]{
  width:100%;height:46px;padding:0 14px;
  font:inherit;font-size:17px;color:var(--ink);
  background:#fff;border:0;border-radius:6px;
  direction:rtl;text-align:right;
}
.form .btn{
  display:flex;align-items:center;justify-content:center;
  width:100%;min-height:52px;margin:14px auto 0;padding:8px 16px;
  font:inherit;font-size:22px;font-weight:700;line-height:1;
  color:#fff;background:var(--red);border:0;border-radius:6px;cursor:pointer;
  -webkit-appearance:none;appearance:none;
}
.form .btn:hover{background:var(--red-dark)}
.form .btn[disabled]{opacity:.65;cursor:default}
.form .consent{
  display:block;margin:12px auto 0;font-size:13px;line-height:1.5;color:#fff;text-align:right;
}
.form .consent input{margin-left:6px;vertical-align:middle}
.form .err{color:#ffd7d7;font-size:14px;margin:5px 0 0;text-align:right}
.form .err:empty{display:none}
.form .done{color:#fff;font-size:20px;font-weight:700;padding:18px 0}

/* light variant, for pages with a white panel */
.form.light{background:#f4f6f9;border:1px solid var(--line)}
.form.light .fc-head,.form.light .consent{color:var(--navy)}
.form.light input{border:1px solid var(--line)}
.form.light .err{color:#b3060f}

/* ---------- popup form (kenes) ---------- */
.popup-trigger{
  display:inline-block;
  min-width:230px;max-width:100%;
  padding:10px 26px;margin:22px auto;
  white-space:nowrap;
  font:inherit;font-size:29px;font-weight:400;line-height:1.15;
  color:#fff;background:var(--red);border:0;border-radius:0;cursor:pointer;
  text-align:center;-webkit-appearance:none;appearance:none;
}
.popup-trigger:hover{background:var(--red-dark)}
.modal[hidden]{display:none}
.modal{
  position:fixed;inset:0;z-index:100;
  background:rgba(10,20,35,.72);
  display:flex;align-items:center;justify-content:center;padding:18px;
}
.modal .panel{position:relative;width:100%;max-width:391px}
.form.panel-white{
  background:#fff;border:1px solid #000;border-radius:0;
  padding:20px 18px;max-width:391px;
}
.form.panel-white .fc-head{color:#000;font-size:25px;font-weight:400}
.form.panel-white input[type="text"],
.form.panel-white input[type="tel"],
.form.panel-white input[type="email"]{
  border:1px solid #dcdcdc;border-radius:5px;height:46px;
  width:320px;max-width:calc(100% - 20px);margin:0 auto;
}
.form.panel-white .fc-row{display:flex;justify-content:center;flex-direction:column;align-items:center}
.form.panel-white .btn{
  width:300px;max-width:100%;min-height:46px;
  font-size:28px;font-weight:700;border:1px solid #000;border-radius:0;
}
.form.panel-white .err{color:#b3060f;width:320px;max-width:calc(100% - 20px);margin-inline:auto}
.modal .close{
  position:absolute;top:-14px;left:-14px;width:36px;height:36px;
  font-size:22px;line-height:1;color:var(--navy);background:#fff;
  border:0;border-radius:50%;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.3);
}

/* ---------- link buttons ----------
   Creaditor .crdcm-c-b-button: 365px wide, centred, 50px tall on these
   pages (height overridden inline), square corners, 26px bold.         */
.links{list-style:none;margin:18px auto;padding:0;width:100%;text-align:center}
.links li{margin:0 0 10px}
.links a{
  display:inline-flex;align-items:center;justify-content:center;
  width:365px;max-width:calc(100% - 24px);min-height:50px;padding:6px 16px;
  background:var(--red);color:#fff;text-decoration:none;
  font-size:26px;font-weight:700;line-height:1.15;border-radius:0;
}
.links a:hover{background:var(--red-dark)}

/* ---------- two-column block ----------
   Creaditor pwt table: content in one cell, image in the other.        */
.twocol{
  display:flex;align-items:center;justify-content:center;gap:24px;
  flex-wrap:wrap;margin:20px auto;text-align:center;
}
.twocol > .col-text{flex:1 1 300px;min-width:0}
.twocol > .col-img{flex:0 0 260px;max-width:100%}
.twocol > .col-img img{width:100%;height:auto}
@media (max-width:640px){
  .twocol{gap:14px}
  .twocol > .col-img{flex:0 0 200px}
}

/* ---------- facebook page plugin ---------- */
.fbpage{margin:20px auto 8px;text-align:center}
.fbpage iframe{border:0;overflow:hidden;max-width:100%}

/* ---------- bullets ---------- */
.bullets{list-style:none;margin:18px auto;padding:0;text-align:right}
.bullets li{
  position:relative;padding:0 30px 0 0;margin:0 0 14px;
  font-size:19px;line-height:1.55;
}
.bullets li::before{
  content:"";position:absolute;right:0;top:.55em;
  width:12px;height:12px;border-radius:50%;background:var(--red);
}

/* numbered variant: the icon replaces the dot */
.bullets.numbered li{padding:0;display:flex;align-items:flex-start;gap:10px}
.bullets.numbered li::before{content:none}
.bullets.numbered li img{width:26px;height:26px;flex:0 0 26px;margin-top:.15em}

hr.rule{margin:22px 6%;border:0;border-top:1px solid var(--line)}

/* ---------- footer ---------- */
.site-footer{
  padding:20px 22px 30px;font-size:16px;color:var(--muted);line-height:1.9;
}
.site-footer nav{font-size:14px}
.site-footer nav a{color:var(--muted);text-decoration:none}
.site-footer nav a:hover{text-decoration:underline}
.site-footer .sep{margin:0 8px}

/* ---------- legal pages ---------- */
.legal{text-align:right;padding:10px 22px 34px}
.legal h1{text-align:center}
.legal h2{font-size:21px;margin:24px 0 8px;text-align:right}
.legal p,.legal li{font-size:17px;line-height:1.75}
.legal ul{padding-right:22px}

@media (max-width:640px){
  body{font-size:17px}
  h1{font-size:26px} h2{font-size:23px} h3{font-size:20px}
  .lead{font-size:19px} .big{font-size:20px}
  .epnav a{font-size:16px;padding:11px 3px}
  .links a{font-size:19px;width:100%}
  .bullets li{font-size:17px}
  .popup-trigger{font-size:20px;padding:10px 22px}
  .sheet{box-shadow:none}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
