/* ===== עמוד הבית ===== */
main.wrap { padding-top: 18px; }
.sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; margin: 0 0 10px; }
.sechead h2 { margin: 0; padding: 0; background: none; border: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.sechead h2 span { font-weight: 500; color: var(--red); font-size: 1rem; margin-inline-start: 6px; }
.sechead p { margin: 0; flex: 1 1 100%; font-size: .92rem; }
.sechead .more { font-size: .9rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.sechead .more::after { content: " ‹"; }
.sechead .more:hover { text-decoration: underline; }

/* פתיח */
.hero2 { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 22px; align-items: center;
  background: radial-gradient(120% 140% at 100% 0%, var(--red-soft), transparent 55%), var(--surface);
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; margin: 0 0 26px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.hero2 h1 { margin: 0 0 6px; font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.hero2 p { margin: 0; color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hero-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hstat { display: flex; flex-direction: column; padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.hstat:hover { border-color: var(--red); transform: translateY(-1px); }
.hstat b { font-size: 1.45rem; font-weight: 800; color: var(--red); line-height: 1.2; }
.hstat span { font-size: .85rem; color: var(--muted); }

/* ביום הזה */
.otd2 { margin: 0 0 28px; }
.otd-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 12px; overflow-x: auto; padding: 2px 2px 8px;
  scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.otd-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--surface);
  border: 1px solid var(--line); border-top: 4px solid var(--red); text-decoration: none; color: var(--text); min-height: 150px; transition: box-shadow .15s, transform .15s; }
.otd-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.otd-y { font-size: 1.5rem; font-weight: 800; color: var(--red); line-height: 1.1; display: flex; align-items: baseline; gap: 8px; }
.otd-y small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.otd-card strong { font-size: 1.02rem; line-height: 1.4; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.otd-k { margin-top: auto; font-size: .8rem; color: var(--muted); }

/* שתי עמודות */
.front2 { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; margin: 0 0 28px; }
.panel2 { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 10px; margin: 0 0 18px; }
.front-side2 .panel2:last-child { margin-bottom: 0; }
.dlist2 { list-style: none; margin: 0; padding: 0; }
.dlist2 li { padding: 12px 0; border-top: 1px solid var(--line); }
.dlist2 li:first-child { border-top: 0; padding-top: 2px; }
.tt { font-weight: 700; text-decoration: none; overflow-wrap: anywhere; line-height: 1.4; color: var(--text); }
.tt:hover { color: var(--red); text-decoration: underline; }
.dlist2 .tt { font-size: 1.04rem; }
.dex { margin: 3px 0 4px; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tmeta { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: .8rem; color: var(--muted); margin-top: 4px; }
.chip { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; }
.chip-soft { background: var(--red-soft); color: var(--red-dark); border: 0; font-weight: 600; }
@media (prefers-color-scheme: dark) { .chip-soft { color: #ffb4b8; } }

.hotlist { list-style: none; margin: 0; padding: 0; counter-reset: hot; }
.hotlist li { counter-increment: hot; position: relative; padding: 9px 0; padding-inline-start: 38px; border-top: 1px solid var(--line); }
.hotlist li:first-child { border-top: 0; padding-top: 2px; }
.hotlist li::before { content: counter(hot); position: absolute; inset-inline-start: 0; top: 8px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--red-soft); color: var(--red-dark); font-weight: 800; font-size: .9rem; display: grid; place-items: center; }
.hotlist li:first-child::before { top: 1px; }
.hotlist .tt { font-size: .96rem; }

.joincard p { margin: 0 0 10px; color: var(--text); font-size: .95rem; }
.joinbtns { display: flex; gap: 8px; flex-wrap: wrap; }
.panel2 .feed { margin: 0 0 8px; }

/* זיגזג */
.zzwrap { margin: 0 0 28px; }
.zzwrap #zigzag-widget:empty { display: none; }

/* מהמגזין */
.artstrip2 { margin: 0 0 18px; }
.cards { display: grid; gap: 14px; }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.card-img img { display: block; width: 100%; height: 120px; object-fit: cover; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.card-body .chip { align-self: flex-start; }
.card h3 { margin: 0; font-size: 1rem; line-height: 1.4; overflow-wrap: anywhere; }
.card h3 a { text-decoration: none; color: var(--text); }
.card h3 a:hover { color: var(--red); text-decoration: underline; }
.card .muted { margin: 0; }
.cards-sm .card-text { display: none; }

.morelinks { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: .9rem; color: var(--muted); padding: 4px 0 0; }
.morelinks a { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--text); }
.morelinks a:hover { border-color: var(--red); color: var(--red-dark); }

@media (max-width: 900px) {
  .front2 { grid-template-columns: minmax(0, 1fr); }
  .hero2 { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .hero-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero2 h1 { font-size: 1.6rem; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .otd-row { grid-auto-columns: 78%; }
  .panel2 { padding: 14px 14px 6px; border-radius: 14px; }
}
@media (min-width: 761px) { .otd-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; } }
@media (max-width: 560px) { .cards-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .cards-sm .card-img img { height: 90px; } .card-body { padding: 10px 11px 12px; } .card h3 { font-size: .93rem; } }
