/* ===== pstruct.css — מבנה עמודי אב ובן (dev task 2442) =====
 * 1. .ninline  — טופס פניות בגוף העמוד, מוצג במובייל בלבד ([nahari_inline_form]).
 * 2. .nahari-crumbs — התאמות קטנות לשורת פירורי הלחם ההיררכית (העיצוב עצמו
 *    נשאר של התבנית המארחת: shero / ipage / posthead).
 * 3. .postx__rel-card--noimg — כרטיס גריד של עמוד מקושר שאין לו תמונה ראשית.
 */

/* ---------- 1. טופס בגוף העמוד — מובייל בלבד ---------- */
.ninline { display: none; }

@media (max-width: 900px) {
  .ninline {
    display: block;
    direction: rtl;
    margin: 26px 0 30px;
    padding: 24px 20px 26px;
    background: var(--white, #fff);
    border: 1px solid #000;
    border-radius: 6px;
    box-shadow: 0 18px 50px rgba(15, 14, 10, .08);
    text-align: center;
    font-family: var(--font-body, 'Heebo', sans-serif);
  }
  .ninline__title {
    margin: 0;
    font-family: var(--font-display, 'Heebo', sans-serif);
    font-weight: var(--w-black, 900);
    font-size: 26px;
    line-height: 1.15;
    color: var(--ink, #1f1e1b);
  }
  .ninline__sub {
    margin: 10px 0 20px;
    font-weight: var(--w-bold, 700);
    font-size: 17px;
    line-height: 1.35;
    color: var(--ink, #1f1e1b);
  }
  .ninline__form { display: block; }
  .ninline__field { margin-bottom: 14px; }
  .ninline__input {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    background: #f5f5f5;
    border: none;
    border-bottom: 1px solid #03203d;
    border-radius: 0;
    font-family: inherit;
    font-size: 17px;
    color: var(--ink, #1f1e1b);
    text-align: right;
    box-sizing: border-box;
  }
  .ninline__input::placeholder { color: #56575c; }
  .ninline__input:focus {
    outline: none;
    border-bottom-color: var(--gold, #c2a04d);
    background: #f0efec;
  }
  .ninline__consent {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin: 6px 0 18px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.35;
    text-align: right;
    color: var(--ink, #1f1e1b);
  }
  .ninline__checkbox { position: absolute; opacity: 0; width: 0; height: 0; }
  .ninline__consent-box {
    flex: 0 0 auto;
    width: 16px; height: 16px;
    border: 1px solid #151515;
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    background: var(--white, #fff);
    transition: background .15s, border-color .15s;
  }
  .ninline__consent-box svg { width: 11px; height: 11px; opacity: 0; transition: opacity .15s; }
  .ninline__checkbox:checked + .ninline__consent-box {
    background: var(--gold, #c2a04d);
    border-color: var(--gold, #c2a04d);
  }
  .ninline__checkbox:checked + .ninline__consent-box svg { opacity: 1; }
  .ninline__checkbox:focus-visible + .ninline__consent-box {
    outline: 2px solid var(--gold, #c2a04d); outline-offset: 2px;
  }
  .ninline__consent-text a { color: inherit; text-decoration: underline; }
  .ninline__submit {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    min-width: 178px;
    margin: 4px auto 0;
    padding: 0 30px;
    height: 54px;
    border: 2px solid var(--gold, #c2a04d);
    border-radius: var(--r-pill, 60px);
    background: var(--gold-gradient, linear-gradient(61.46deg, #c2a04d 1.24%, #f8e2b2 47.63%, #ba9846 94.03%));
    color: var(--ink, #151515);
    font-family: var(--font-display, 'Heebo', sans-serif);
    font-weight: var(--w-bold, 700);
    font-size: 18px;
    cursor: pointer;
    transition: filter .15s, transform .15s;
  }
  .ninline__submit:hover { filter: brightness(1.04); transform: translateY(-1px); }
  .ninline__submit .ico-arrow { width: 20px; height: 20px; flex: 0 0 auto; }
  .ninline__done {
    margin: 14px 0 0;
    font-weight: var(--w-bold, 700);
    font-size: 16px;
    color: #1d7a3c;
  }
}

/* ---------- 2. פירורי לחם היררכיים ---------- */
.nahari-crumbs { flex-wrap: wrap; row-gap: 4px; }
/* עמוד פנימי (ipage): הקלאסים הקיימים הם .ipage__crumbs a / .ipage__crumb-current.
 * השורה המשותפת מסמנת את הפריט הנוכחי ב-.ipage__crumb--current, לכן אותו עיצוב. */
.ipage__crumb { text-decoration: none; }
.ipage__crumb--current { color: var(--ink, #1f1e1b); }

/* ---------- 3. כרטיס גריד בלי תמונה ראשית ---------- */
.postx__rel-card--noimg .postx__rel-title { min-height: 64px; border-radius: 3px; }
