/* תוספות לעמודי המשנה, באותה שפה של style.css (העיצוב המקורי לא נערך) */
select,textarea{font:inherit}
a.button{text-decoration:none}
.nav a[aria-current]{position:relative;font-weight:700}
.nav a.active:after{content:"";position:absolute;bottom:15px;right:0;left:0;height:3px;background:#ffd026}
.text-button{cursor:pointer}
.h2{font-size:32px;margin:0 0 22px;line-height:1.3;letter-spacing:-.7px;font-weight:800}

/* קטגוריות: קישורים במקום כפתורים, עם מונה */
a.category{justify-content:space-between;gap:12px}
.count{font-size:14px;color:#68717d;background:#f0f1f3;border-radius:20px;padding:1px 10px;font-weight:500;line-height:1.6}
h2 .count{vertical-align:middle;margin-inline-start:6px}

/* כרטיס עסק בלי תמונה */
.thumb{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:2/1;border-radius:6px;font-size:64px;font-weight:900;color:#272c30;background:#f2f3f5}
.thumb-car{background:#fff1bf}.thumb-health{background:#e3f1ec}.thumb-home-garden{background:#e8f0e0}.thumb-pros{background:#fde9d7}
.thumb-food{background:#fde4df}.thumb-leisure{background:#e6e9fb}.thumb-construction{background:#ece8e1}.thumb-education{background:#e2eef8}
.thumb-fashion{background:#f6e3ee}.thumb-business{background:#e9ebee}.thumb-community{background:#efe8f7}.thumb-mystic{background:#eae4f6}
.business img{background:#f2f3f5;height:auto;object-position:top}

/* כותרת עמוד פנימי */
.page-head{background:#f6f7f9;padding:34px 0 30px;border-bottom:1px solid #e6e8eb}
.page-head h1{font-size:clamp(30px,4vw,46px);font-weight:900;letter-spacing:-1.2px;line-height:1.2;margin:0 0 6px}
.page-head p{font-size:20px;color:#4b5563;margin:0}
.hero-small{padding:30px 0 28px}
.crumbs{font-size:14px;color:#68717d;margin-bottom:12px}
.crumbs a:hover{text-decoration:underline}
.narrow>*{max-width:820px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.chips a{border:1px solid #d4d8df;background:#fff;border-radius:20px;padding:6px 16px;font-size:15px;color:#313842}
.chips a:hover{border-color:#9da5af}
.chips a[aria-current]{background:#ffd026;border-color:#ffd026;font-weight:700;color:#16191d}

/* כל הקטגוריות */
.cat-list{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.cat-box{border:1px solid #dfe3e9;border-radius:9px;padding:20px 22px}
.cat-box h2{font-size:23px;margin:0 0 8px;font-weight:800}
.cat-box h2 a:hover{text-decoration:underline}
.cat-box p{margin:0;display:flex;flex-wrap:wrap;gap:6px 14px;font-size:15px;color:#556273}
.cat-box p a:hover{text-decoration:underline;color:#15171b}

/* עמוד עסק */
.biz{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;align-items:start}
.biz-media img,.biz-media .thumb{width:100%;aspect-ratio:2/1;object-fit:cover;object-position:top;border-radius:9px;border:1px solid #e0e4e9;display:flex}
.biz-media .thumb{font-size:110px}
.biz h1{font-size:clamp(30px,3.6vw,42px);font-weight:900;letter-spacing:-1px;line-height:1.2;margin:0 0 6px}
.biz-meta{font-size:16px;display:flex;flex-wrap:wrap;gap:8px}
.biz-meta a{text-decoration:underline;text-underline-offset:3px}
.biz-desc{font-size:19px;color:#2b3441;margin:16px 0 18px}
.biz-facts{list-style:none;margin:0 0 22px;padding:0;border-top:1px solid #e6e8eb}
.biz-facts li{display:flex;gap:16px;padding:12px 0;border-bottom:1px solid #e6e8eb;font-size:17px}
.biz-facts li>span{color:#68717d;min-width:64px}
.biz-facts a{text-decoration:underline;text-underline-offset:3px}
.biz-actions{display:flex;flex-wrap:wrap;gap:10px}
.tags{display:flex;flex-wrap:wrap;gap:6px;margin:22px 0 0}
.tags a{font-size:13px;color:#556273;background:#f0f1f3;border-radius:20px;padding:3px 12px}
.tags a:hover{background:#e4e6ea}
.fineprint{font-size:14px;color:#68717d;margin:22px 0 0}
.fineprint a{text-decoration:underline}

/* דפדוף */
.pager{display:flex;justify-content:center;flex-wrap:wrap;gap:6px;margin-top:30px}
.pager a,.pager span{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid #dfe3e9;border-radius:7px}
.pager a:hover{border-color:#9da5af}
.pager [aria-current]{background:#ffd026;border-color:#ffd026;font-weight:700}
.pager .gap{border:0}
.empty .button{margin-top:6px}

/* טפסים */
.form fieldset{border:0;padding:0;margin:0 0 24px}
.form legend{font-size:22px;font-weight:800;margin-bottom:12px}
.form .row{margin-bottom:14px}
.form .two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form label{display:block;font-weight:500;margin-bottom:5px}
.form input,.form select,.form textarea{width:100%;border:1px solid #cbd0d7;border-radius:7px;padding:11px 14px;font-size:17px;background:#fff;color:#15171b;min-height:48px}
.form input:focus-visible,.form select:focus-visible,.form textarea:focus-visible{outline:3px solid #3e65ae;outline-offset:1px}
.form [aria-invalid="true"]{border-color:#b42318;background:#fff8f7}
.field-err{color:#b42318;font-size:14px;margin:4px 0 0}
.field-err:empty{display:none}
.req{color:#b42318}
.hp{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.form .button{min-width:200px;font-size:18px;margin-top:6px}
.notice{border-radius:9px;padding:18px 22px;margin-bottom:20px}
.notice.err{background:#fff1f0;border:1px solid #f3c4bf;color:#7a1a12}
.notice.ok{background:#f2f3f5;padding:30px}
.notice.ok h2{margin:0 0 6px;font-size:28px}
.notice:focus{outline:none}

/* מאמרים וטקסט */
.article-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.article-card a{display:block;height:100%;border:1px solid #dfe3e9;border-radius:9px;padding:24px 26px}
.article-card a:hover{border-color:#9da5af}
.article-card a:hover h2{text-decoration:underline}
.article-card h2{font-size:24px;margin:0 0 6px;font-weight:800;line-height:1.3}
.article-card p{margin:0 0 12px;color:#556273;font-size:17px}
.more{font-weight:700;border-bottom:3px solid #ffd026}
.prose{font-size:18px;color:#2b3441}
.prose h2{font-size:25px;font-weight:800;margin:28px 0 8px;color:#15171b}
.prose p,.prose li{line-height:1.75}
.prose a{text-decoration:underline;text-underline-offset:3px}

@media(max-width:950px){
 .cat-list{grid-template-columns:repeat(2,1fr)}
 .biz{grid-template-columns:1fr;gap:24px}
}
@media(max-width:700px){
 .nav a.active:after{bottom:6px}
 .h2{font-size:27px}
 .page-head{padding:26px 0 22px}
 .page-head p{font-size:17px}
 .cat-list,.article-list,.form .two{grid-template-columns:1fr}
 .biz-actions .button{flex:1 1 100%}
 .count{font-size:13px}
 .chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;margin-inline:-16px;padding-inline:16px;scrollbar-width:none}
 .chips a{white-space:nowrap}
 .results-header{flex-wrap:wrap}
}

/* קישורי "בתי עסק" בדף הבית (עברו מהאתר הישן) */
.home-links{margin-top:38px}
.home-links h2{font-size:26px;margin:0 0 14px}
.home-links ul{list-style:none;margin:0;padding:0;columns:3 260px;column-gap:28px}
.home-links li{break-inside:avoid;padding:5px 0;font-size:16px;color:#68717d}
.home-links a{color:#15171b;text-decoration:underline;text-decoration-color:#ffd026;text-decoration-thickness:2px;text-underline-offset:4px}
.home-links a:hover{text-decoration-color:#15171b}
