/* עיצובים קטנים שהיו בתוך הדפים (style="...") בפרויקט הישן ועברו לקובץ, בלי שינוי במראה */
@media (min-width: 680px) {
    .hide-desktop { display: none; }
}
.zc-banner-link-mobile {
    color: #fff !important;
    background: #000000c9;
    text-align: center;
    line-height: 34px;
    border-radius: 20px;
    border: 3px solid #fff;
    border-right: 10px solid #fff;
    border-left: 10px solid #fff;
    direction: rtl;
}
.zc-rtl { direction: rtl; }
.zc-rtl-right { text-align: right; direction: rtl; }
.zc-round-img { border-radius: 10px; }
.zc-sidebar-h3 { font-size: 1.28571428em; line-height: 40px; text-align: right; direction: rtl; }
.zc-muted-link { color: #5f5f5f; direction: rtl; }
.zc-hotel-icon { font-size: 20px; padding: 4px 0; color: #b93838; }
.zc-hotel-icon-sm { font-size: 15px; padding: 4px 0; color: #b93838; }
.zc-hotel-hr { margin-top: 5px; margin-bottom: 5px; }
.zc-share { float: right; direction: rtl; margin-bottom: 6px; }
.zc-form-error { color: #b93838; display: block; text-align: right; direction: rtl; }
.zc-hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* תגובות (בכל המדורים) */
.zc-comments { direction: rtl; text-align: right; margin: 25px 0; clear: both; }
.zc-comments-title { font-size: 20px; font-weight: bold; margin-bottom: 15px; }
.zc-comment { display: flex; margin-bottom: 15px; }
.zc-comment-avatar { width: 40px; height: 40px; border-radius: 50%; background: #b93838; color: #fff; font-weight: bold; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-left: 10px; }
.zc-comment-body p { white-space: pre-line; margin: 4px 0 0; }
.zc-comment-form { background: #f5f5f5; border-radius: 10px; padding: 15px; }
.zc-comment-form h4 { font-weight: bold; margin-top: 0; }
.zc-comment-form .form-control { margin-bottom: 10px; }
.zc-comment-challenge { max-width: 120px; }
.zc-comment-btn { margin-top: 5px; }
.zc-comment-note { display: block; font-size: 12px; color: #666; margin: 5px 0; }
.zc-comment-logout { margin-bottom: 10px; }

/* דף מאמר */
.zc-article-share { float: left; direction: rtl; }
.zc-article-image, #ccr-article img.zc-article-image { display: block; float: none; width: 100%; max-width: 100%; height: auto; margin: 10px 0 0 0; border-radius: 20px; }
.zc-article-content img { max-width: 100%; height: auto; }
.zc-related { padding-top: 20px; }
#contactForm #name, #contactForm #email { width: 100%; }
.zc-pr0 { padding-right: 0; }
.zc-pl0 { padding-left: 0; }
.zc-sitemap .container .row { margin-right: 0; margin-left: 0; }
.zc-pt10 { padding-top: 10px; }
.zc-py20 { padding: 20px 0; }
@media only screen and (min-width: 600px) { .zc-error-404 .error-msg { font-size: 4.8em; } .zc-error-404 h2 { font-size: 1.8em; } }
@media screen and (max-width: 640px) { .zc-error-404 .error-msg { font-size: 3.8em; } .zc-error-404 h2 { font-size: 1.5em; } }

/* תבניות הלוחות */
.zc-pointer { cursor: pointer; }
.zc-ribon { direction: rtl; padding-right: 30px; }
.zc-modal-close { float: left; color: #fff; background: #059696; line-height: 22px; border-radius: 6px; padding: 1px 8px; font-size: 12px; margin-left: 10px; border: none; margin-top: 7px; }
.zc-white { background-color: #fff; }
.zc-hr-40 { padding: 40px; }
.zc-share-list { display: flex; padding-right: 0; padding-left: auto; }
.zc-card-col { float: right; padding-right: 5px; padding-left: 5px; }
.zc-card-col .footer-card .link1_h3 { float: right; right: 0; }
.zc-card-col .footer-card .link2_h3 { float: left; left: 0; }
.zc-expired { background: #fbe9e9; color: #b93838; padding: 8px 12px; border-radius: 6px; direction: rtl; text-align: right; }
.zc-ad-description { direction: rtl; text-align: right; margin: 10px 0; }
@media only screen and (min-width: 600px) {
  .zc-success .error-msg { font-size: 3.1em; line-height: 50px; direction: rtl; }
  .zc-success h2 { font-size: 1.6em; direction: rtl; }
  .zc-success .img-face { width: 200%; margin-left: -180px; padding-bottom: 20px; }
}
@media screen and (max-width: 640px) {
  .zc-success .error-msg { font-size: 2.8em; direction: rtl; }
  .zc-success h2 { font-size: 1.5em; direction: rtl; }
  .zc-success .img-face { padding-bottom: 20px; }
}
.zc-fb-like { padding: 2px 10px; border-radius: 13px; background-color: #0866ff; }
.zc-spec-label { direction: rtl; font-weight: bold; color: var(--zc-color, #059696); }
.zc-hr-short { width: 120px; margin-right: 0px; margin-top: 4px; margin-bottom: 8px; }
.zc-job-source { direction: rtl; font-size: 0.8em; color: var(--zc-color, #059696); margin-top: -10px; }
.zc-more-btn { text-align: center; font-size: xx-large; margin: -26px 0px -6px 0px; width: 100%; }
.zc-more-btn a { padding: 11px 22px; border-radius: 24px; }
.zc-title-div { font-size: 1.28571428em; line-height: 40px; text-align: right; direction: rtl; }

/* כרטיסי מודעות בכל הלוחות: כל הכרטיסים באותו גובה בלי קשר לאורך הטקסט.
   כותרת תמיד בגובה 2 שורות (ארוכה יותר נחתכת), מחיר בשורה אחת, קישורי התחתית בשורה אחת. */
.card-ads .body-card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.3; height: 2.6em; }
.card-ads .body-card p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-ads .footer-card { white-space: nowrap; overflow: hidden; }
.card-ads .footer-card .link { display: inline-block; max-width: 49%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: top; }
.card-ads .ccr-thumbnail { aspect-ratio: 750 / 440; overflow: hidden; }
.card-ads .image-card { width: 100%; height: 100%; object-fit: cover; }
/* כרטיסים צרים (4 בשורה, או מסך בינוני): מחיר קטן יותר כדי שמחיר ארוך ייכנס בשורה אחת */
.work-models .card-ads .body-card p { font-size: 12px; }
.work-models .card-ads .body-card p b { font-size: 16px; }
@media (min-width: 768px) and (max-width: 1199px) {
  .card-ads .body-card p { font-size: 12px; }
  .card-ads .body-card p b { font-size: 16px; }
  .work-models .card-ads .body-card p b { font-size: 14px; }
}
/* בנייד: כרטיסי הרשימות ברוחב קבוע (2 בשורה), כדי שהרוחב לא ייקבע לפי אורך הטקסט */
@media (max-width: 767px) {
  .zc-card-col, [class*="col-sm-"]:has(> .card-ads) { width: 50%; }
  .card-ads .body-card p { font-size: 12px; }
  .card-ads .body-card p b { font-size: 16px; }
}
/* בטאבלט (768-991): הכותרת (h1) בסרגל העליון צפה ולא נוקתה, והעמודה הראשית נדחסה לידה */
#ccr-main-section { clear: both; }
/* בנייד: קישורי התחתית של הכרטיס (קטגוריה / אזור) כל אחד בשורה משלו, כדי שלא ייחתכו */
@media (max-width: 767px) {
  .card-ads .footer-card .link { float: none !important; display: block; max-width: 100%; text-align: center; margin: 0 0 4px; line-height: 14px; }
}

/* דף מודעה: סליידר תמונות נוספות (zehcan/assets/common/gallery.js)
   הבוררים כוללים #ccr-article כי התבנית קובעת לכל תמונה במאמר width:auto (בורר עם id) */
.zc-zoomable { cursor: zoom-in; }
.zc-gallery { margin: 24px 0 18px; padding: 16px; background: #f7f7f8; border: 1px solid #ececee; border-radius: 12px; direction: rtl; }
#ccr-article .zc-gallery .zc-gallery-title, .zc-gallery .zc-gallery-title { font-size: 17px; font-weight: bold; line-height: 1.3; height: auto !important; min-height: 0 !important; margin: 0 0 12px !important; padding: 0 !important; border: 0; }
.zc-gallery-frame { position: relative; }
.zc-gallery-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; }
.zc-gallery-track::-webkit-scrollbar { display: none; }
.zc-gallery-item { position: relative; flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #e9e9ec; cursor: zoom-in; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
#ccr-article .zc-gallery .zc-gallery-item img, .zc-gallery .zc-gallery-item img { display: block; width: 100% !important; height: 100% !important; max-width: none !important; margin: 0 !important; padding: 0; border: 0; border-radius: 0; object-fit: cover; transition: transform .3s; }
.zc-gallery-item::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .2s; }
.zc-gallery-item:hover img { transform: scale(1.06); }
.zc-gallery-item:hover::after { background: rgba(0,0,0,.08); }
.zc-gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: #333; font-size: 28px; line-height: 36px; padding: 0; z-index: 2; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: opacity .2s; }
.zc-gallery-nav:hover { background: #fff; }
.zc-gallery-nav:disabled { opacity: 0; pointer-events: none; }
.zc-gallery-prev { right: -6px; }
.zc-gallery-next { left: -6px; }
.zc-gallery-static .zc-gallery-nav { display: none; }
.zc-gallery-hint { color: #888; display: block; margin-top: 8px; font-size: 12px; }
@media (max-width: 767px) { .zc-gallery { padding: 12px; } .zc-gallery-item { flex-basis: calc((100% - 12px) / 2); } .zc-gallery-prev { right: -4px; } .zc-gallery-next { left: -4px; } }
/* הגדלה במסך מלא */
.zc-lb-lock, .zc-lb-lock body { overflow: hidden; }
.zc-lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; }
.zc-lightbox.zc-lb-open { display: flex; }
.zc-lb-img { max-width: calc(100% - 120px); max-height: calc(100% - 90px); object-fit: contain; border-radius: 4px; box-shadow: 0 6px 30px rgba(0,0,0,.5); }
.zc-lb-close { position: absolute; top: 12px; left: 16px; background: none; border: 0; color: #fff; font-size: 42px; line-height: 1; cursor: pointer; }
.zc-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 36px; line-height: 46px; padding: 0; cursor: pointer; }
.zc-lb-nav:hover { background: rgba(255,255,255,.3); }
.zc-lb-prev { right: 16px; }
.zc-lb-next { left: 16px; }
.zc-lb-single .zc-lb-nav, .zc-lb-single .zc-lb-count { display: none; }
.zc-lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ddd; font-size: 15px; direction: ltr; }
@media (max-width: 767px) { .zc-lb-img { max-width: 100%; max-height: calc(100% - 110px); } .zc-lb-nav { top: auto; bottom: 8px; transform: none; } }
.zc-stars { color: #ffc107; margin: 0; }

/* "שלח הודעה למפרסם": כפתור באזור "צור קשר"; הטופס מוסתר עד שלוחצים (#zc-contact) או אחרי שגיאה */
.zc-contact { display: none; direction: rtl; text-align: right; margin: 14px 0 18px; scroll-margin-top: 80px; }
.zc-contact:target, .zc-contact.is-open { display: block; }
.zc-contact-card { border: 1px solid #e3e3e3; border-radius: 8px; background: #fafafa; padding: 14px 16px 16px; }
.zc-contact-title { margin: 0 0 8px; font-weight: bold; font-size: 16px; }
.zc-contact-form .form-control { margin-bottom: 8px; }
.zc-contact-form input[dir="ltr"]:placeholder-shown { direction: rtl; }
.like-comment-readmore .zc-contact-open { margin-left: 6px; }
