/* ==========================================================================
   ספיר סבאג · 360 v5 · תוספות WordPress (ולאד, 2.10.26)
   רק לאלמנטים שאין ב-HTML של יונתן ושהבריף מחייב: הודעת הפרטיות בטופס (05, 2.2), שורת פרטי המפרסמת בפוטר (05, 2.6),
   הודעת שגיאה כללית גלויה, ומסך הסיום של השאלון. הכול על המשתנים של lp360.css. lp360.css עצמו לא נערך.
   ========================================================================== */

/* הודעת פרטיות: Small מעל הכפתור, כמו שיונתן ציין ב-03c (פער 3) */
.form__privacy { color: var(--text-primary); opacity: .78; max-width: 62em; } /* round 3: the form box is white */
.on-dark .form__privacy { color: var(--text-on-dark); }
.form__privacy a, .quiz__privacy a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.form__privacy bdi, .form__legal bdi, .quiz__privacy bdi { white-space: nowrap; }

/* הודעת שגיאה כללית (שגיאת שרת): גלויה כשיש בה טקסט */
.form__status:not(.sr-only) { margin-top: var(--sp-12); color: var(--state-error); }
.on-dark .form__status:not(.sr-only) { color: var(--state-error-dark); }

/* פוטר: שורת המפרסמת בשורה משלה, מתחת לשורה של יונתן (לוגו · קישורים · זכויות) */

/* שאלון: "לא חובה" ליד שאלת ההכנסה, ומסך הסיום במקום הטופס */
.quiz__intro { margin-bottom: var(--sp-32); }
.quiz__end:focus { outline: none; }

/* "הצג עוד" with nothing to show (03s on desktop: 4 photos, threshold 6): lp360.css gives .gallery__more display:flex, which
   beats the hidden attribute - the button stayed visible and clickable ("נטענו עוד 0 הודעות"). 03c: no button in that state.
   After a real click (.is-gone) it keeps its space on purpose (fades out, no layout shift). Reported to Yonatan, 3.10.26. */
.gallery__more[hidden]:not(.is-gone) { display: none; }

/* Credit line (Resolve's standard, 3.10.26): small, centred, LTR. Cream at .78 on the dark surface; wine-night at .72 on
   white / cream (the footer has no colour of its own since 3.10.26 evening). All above 4.5:1. */

/* Launch gate (launch.php, 3.10.26 night): the notice instead of the form, and the administrators' test strip. */
.launch-closed { margin-top: var(--sp-24, 24px); }
.launch-closed__title { margin: 0; font-size: 20px; line-height: 1.5; font-weight: var(--fw-regular, 400); text-wrap: balance; }
@media (min-width: 768px) { .launch-closed__title { font-size: 22px; } }
.launch-closed__text { margin: 12px 0 0; text-wrap: pretty; }
.quiz-closed { max-width: 40em; padding-block: var(--sp-24, 24px) var(--sp-48, 48px); }
.quiz-closed .launch-closed { margin-top: 0; }
.launch-test { margin: 16px 0 0; padding: 8px 14px; border-radius: 999px; display: inline-block; font-size: 13px; line-height: 1.4; font-weight: 500; background: var(--wine-800, #2E111A); color: var(--cream-50, #F7F4F1); }
.quiz-page .launch-test { background: var(--bg-raised, #EFE9E4); color: var(--text-primary, #160B0F); margin: 0 0 16px; }

/* Newsletter box (6.10.26): the two consent boxes are one block under the fields. Desktop: the row under the fields
   (lp360.css puts .check-field there; inside the wrapper that rule does nothing), the legal line stays under it. */
@media (min-width: 1200px) {
  .form .form__checks { grid-column: 1 / -1; grid-row: 2; }
}
