/* MeAriel ad slots (brief 7.11.2026 §4). Every box reserves its space with aspect-ratio: nothing moves when a banner loads. */
.mads{display:block;margin:21px 0;color:inherit}
.mads-label{display:block;margin:0 0 5px;font-size:13px;line-height:1.4;color:var(--mv-muted,#5c6770);font-weight:400}
.mads-box{position:relative;overflow:hidden;border-radius:8px;background:var(--mv-border,#e6e9ee)}
.mads-a{display:block;width:100%;height:100%;color:inherit;text-decoration:none}
.mads-a picture,.mads-a img{display:block;width:100%;height:100%}
.mads-a img{object-fit:cover}
.mads-a:focus-visible{outline:3px solid #ff914d;outline-offset:2px}

/* S1: home, after the local headlines. 1200×300, phones 600×300 */
.mads-wrap{margin-top:0;margin-bottom:0}
.mads-S1 .mads-box{aspect-ratio:4/1}
/* S3: 300×250, sidebar on wide screens, inside the text on phones */
.mads-S3 .mads-box{aspect-ratio:300/250;max-width:300px;margin-inline:auto}
.mads-S3.mads-inline-m{display:none}
/* S4: under the header on every page. 970×90, phones 320×100 */
.mads-S4{margin:8px auto;padding-inline:16px;max-width:1002px}
.mads-S4 .mads-label{text-align:center}
.mads-S4 .mads-box{aspect-ratio:970/90;max-width:970px;margin-inline:auto}
@media (max-width:986px){
  .mads-S3.mads-side{display:none}
  .mads-S3.mads-inline-m{display:block}
}
@media (max-width:600px){
  .mads-S1 .mads-box{aspect-ratio:2/1}
  .mads-S4 .mads-box{aspect-ratio:320/100;max-width:320px}
}

/* the house banner ("פרסמו כאן"), when a slot has no advertiser */
.mads-house{background:linear-gradient(135deg,#14213d 0%,#1f3a68 61.8%,#ff914d 160%);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center}
.mads-house-in{display:flex;flex-direction:column;align-items:center;gap:5px;padding:13px 21px;max-width:100%}
.mads-house b{font-size:clamp(21px,2.4vw + 8px,34px);line-height:1.2}
.mads-house span{font-size:clamp(13px,1vw + 8px,16px);line-height:1.4;opacity:.92}
.mads-house .mads-house-cta{margin-top:5px;padding:5px 13px;border-radius:999px;background:#ff914d;color:#14213d;font-weight:700;opacity:1}
.mads-house .mads-house-brand{position:absolute;inset-block-end:8px;inset-inline-start:13px;font-size:13px;opacity:.7}
.mads-S3 .mads-house b{font-size:26px}
.mads-S3 .mads-house span{font-size:14px}

/* S2: "עסקים מומלצים" */
.mads-S2{border:1px solid var(--mv-border,#e6e9ee);border-radius:13px;padding:13px;background:var(--mv-surface,#fff)}
.mads-s2-h{margin:0 0 8px;font-weight:700;font-size:16px}
.mads-s2-h .mads-label{display:inline;font-weight:400}
.mads-s2-list{list-style:none;margin:0;padding:0!important;display:grid;gap:8px}
.mads-s2-item{display:flex;align-items:center;gap:13px;margin:0!important;padding:8px;border-radius:8px;background:var(--mv-bg-soft,#f6f7f9);min-height:73px}
.mads-s2-main{display:flex;align-items:center;gap:13px;flex:1 1 auto;min-width:0;color:inherit;text-decoration:none}
.mads-s2-ph{flex:0 0 55px;width:55px;height:55px;border-radius:8px;overflow:hidden;background:var(--mv-border,#e6e9ee);display:flex;align-items:center;justify-content:center}
.mads-s2-ph img{width:100%;height:100%;object-fit:cover;display:block}
.mads-s2-ini{font-weight:700;font-size:21px;color:#14213d}
.mads-s2-b{display:flex;flex-direction:column;min-width:0}
.mads-s2-b b{font-size:15px;line-height:1.35;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mads-s2-cat{font-size:13px;color:var(--mv-muted,#5c6770)}
.mads-s2-btn{flex:0 0 auto;padding:8px 13px;border-radius:999px;background:#14213d;color:#fff!important;font-size:14px;font-weight:700;text-decoration:none;min-height:34px;display:inline-flex;align-items:center}
.mads-s2-btn.mads-wa{background:#1f8f4e}
@media (min-width:987px){.mads-S2.mads-list .mads-s2-list{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (prefers-reduced-motion:reduce){.mads *{transition:none!important}}

/* Inside an article body the theme underlines and colours every link (.entry-content a): not in an ad (stage 6, 8.11.2026) */
.mads a,.mads a:hover,.mads a:focus{text-decoration:none!important}
.mads a.mads-house,.mads a.mads-house b,.mads a.mads-house span{color:#fff!important}
.mads a.mads-house .mads-house-cta{color:#14213d!important}
.mads a.mads-s2-main{color:inherit!important}
.mads a.mads-s2-btn{color:#fff!important}
