/* זמני היום קרבנו – לוח שנה עברי (builds on kvz.css tokens) */
.kvl{--kvl-shabbat:#f4efe1;--kvl-yt:#fbf0d6;--kvl-fast:#fbe9e7;--kvl-fast-ink:#9c2f22;--kvl-chag:#e8eff8;--kvl-chag-ink:#1F446E;--kvl-rc:#5b4a8a}
.kvl .kvl-wrap{max-width:1040px}
.kvl .kvl-hero .kvz-lead{font-size:16px}

/* toolbar */
.kvl .kvl-nav{align-items:center}
.kvl .kvl-btn{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-size:15px;font-weight:700;padding:9px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;cursor:pointer;min-height:42px;text-decoration:none}
.kvl a.kvl-btn:hover,.kvl button.kvl-btn:hover{background:rgba(255,255,255,.16);color:#fff}
.kvl .kvl-btn.is-off{opacity:.45;cursor:default}
.kvl .kvl-sel select{font:inherit;font-size:15px;font-weight:700;padding:9px 12px;border-radius:10px;border:0;background:var(--kvz-gold);color:var(--kvz-navy);min-height:42px;cursor:pointer;max-width:100%}

/* month grid */
.kvl .kvl-cal .kvz-h2 small{font-size:15px;font-weight:600;color:var(--kvz-muted)}
.kvl .kvl-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}
.kvl .kvl-dn{text-align:center;font-size:14px;font-weight:800;color:var(--kvz-muted);padding:4px 0}
.kvl .kvl-dn .kvl-short{display:none}
.kvl .kvl-day{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:4px;min-height:118px;padding:8px 8px 10px;border:1px solid var(--kvz-line);border-radius:10px;background:var(--kvz-paper);color:var(--kvz-ink);font:inherit;text-align:right;cursor:pointer;min-width:0}
.kvl .kvl-day:hover{border-color:var(--kvz-navy2)}
.kvl .kvl-day.is-shabbat{background:var(--kvl-shabbat)}
.kvl .kvl-day.is-chag{background:var(--kvl-chag)}
.kvl .kvl-day.is-yt{background:var(--kvl-yt);border-color:#e7c977}
.kvl .kvl-day.is-fast{background:var(--kvl-fast)}
.kvl .kvl-day.is-today{box-shadow:inset 0 0 0 3px var(--kvz-gold)}
.kvl .kvl-day.is-today .kvl-h::after{content:"היום";display:inline-block;margin-inline-start:6px;font-size:11px;font-weight:800;background:var(--kvz-gold);color:var(--kvz-navy);border-radius:999px;padding:1px 7px;vertical-align:middle;font-family:var(--kvz-ui)}
.kvl .kvl-day.is-open{outline:3px solid var(--kvz-navy2);outline-offset:1px}
.kvl .kvl-top{display:flex;justify-content:space-between;align-items:baseline;gap:4px}
.kvl .kvl-h{font-family:var(--kvz-text);font-weight:700;font-size:22px;line-height:1;color:var(--kvz-navy)}
.kvl .kvl-g{font-size:13px;color:var(--kvz-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.kvl .kvl-ev{display:flex;flex-direction:column;gap:2px}
.kvl .kvl-e{font-size:12.5px;line-height:1.3;font-weight:700;color:var(--kvz-ink);overflow-wrap:anywhere}
.kvl .kvl-parasha{color:var(--kvz-navy2)}
.kvl .kvl-yt,.kvl .kvl-chm,.kvl .kvl-chanuka,.kvl .kvl-purim{color:var(--kvl-chag-ink)}
.kvl .kvl-fast{color:var(--kvl-fast-ink)}
.kvl .kvl-rc{color:var(--kvl-rc)}
.kvl .kvl-omer,.kvl .kvl-minor,.kvl .kvl-erev{font-weight:500;color:var(--kvz-muted)}
.kvl .kvl-times{display:flex;flex-direction:column;gap:1px;margin-top:auto;padding-top:4px;border-top:1px dashed rgba(0,33,69,.18)}
.kvl .kvl-t{display:flex;justify-content:space-between;gap:4px;font-size:12.5px;color:var(--kvz-muted)}
.kvl .kvl-t time{font-weight:800;color:var(--kvz-navy);font-variant-numeric:tabular-nums;direction:ltr}
.kvl .kvl-dot{display:none}
.kvl .kvl-blank{min-height:1px}
.kvl .kvl-hint{margin-top:2px}

/* day details */
.kvl .kvl-detail{border:1px solid var(--kvz-gold);background:#fffdf7;border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px}
.kvl .kvl-dh{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:18px}
.kvl .kvl-dh b{font-family:var(--kvz-text)}
.kvl .kvl-x{font:inherit;font-size:24px;line-height:1;border:0;background:transparent;color:var(--kvz-muted);cursor:pointer;min-width:42px;min-height:42px;border-radius:10px}
.kvl .kvl-x:hover{background:var(--kvz-bg)}
.kvl .kvl-dev{font-weight:700;color:var(--kvz-navy2)}
.kvl .kvl-dtimes{display:flex;flex-wrap:wrap;gap:6px 16px}
.kvl .kvl-dtimes span{font-weight:700}
.kvl .kvl-dtimes time{color:var(--kvz-navy);font-variant-numeric:tabular-nums}
.kvl .kvl-detail .kvz-list li{padding:7px 6px}
.kvl .kvl-detail .kvz-list time{font-size:18px}
.kvl .kvl-more{font-weight:800;align-self:flex-start}

/* month list */
.kvl .kvl-list{list-style:none;margin:0;padding:0}
.kvl .kvl-list li{display:grid;grid-template-columns:minmax(120px,190px) 1fr;gap:12px;padding:10px 4px;border-bottom:1px solid var(--kvz-line)}
.kvl .kvl-list li:last-child{border-bottom:0}
.kvl .kvl-ld{display:flex;flex-direction:column}
.kvl .kvl-ld small{color:var(--kvz-muted);font-size:14px}
.kvl .kvl-lc{display:flex;flex-direction:column;gap:2px}
.kvl .kvl-ln{font-weight:700}
.kvl .kvl-lt{display:flex;flex-wrap:wrap;gap:4px 16px;font-size:16px;color:var(--kvz-muted)}
.kvl .kvl-lt time{font-weight:800;color:var(--kvz-navy);font-variant-numeric:tabular-nums}
.kvl .kvl-year tbody tr:first-child{background:transparent}
.kvl .kvl-q{font-family:var(--kvz-ui);font-size:18px;font-weight:800;margin:6px 0 0;color:var(--kvz-ink)}

@media (max-width:760px){
  .kvl .kvl-grid{gap:3px}
  .kvl .kvl-dn .kvl-long{display:none}
  .kvl .kvl-dn .kvl-short{display:inline}
  .kvl .kvl-day{min-height:58px;padding:5px 4px 8px;align-items:center;border-radius:8px}
  .kvl .kvl-top{flex-direction:column;align-items:center;gap:1px}
  .kvl .kvl-h{font-size:18px}
  .kvl .kvl-g{font-size:11px}
  .kvl .kvl-ev,.kvl .kvl-times{display:none}
  .kvl .kvl-dot{display:block;position:absolute;bottom:4px;left:50%;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:transparent}
  .kvl .kvl-day:has(.kvl-ev) .kvl-dot{background:var(--kvz-navy2)}
  .kvl .kvl-day.is-fast .kvl-dot{background:var(--kvl-fast-ink)}
  .kvl .kvl-day.is-today .kvl-h::after{display:none}
  .kvl .kvl-list li{grid-template-columns:1fr;gap:2px}
  .kvl .kvl-sel{flex:1 1 100%}
  .kvl .kvl-sel select{width:100%}
}

@media print{
  .elementor-location-header,.elementor-location-footer,header,footer,#wpadminbar,.kvl-noprint,.kvl-detail,.kvz-testbar,.kvl .kvz-about{display:none!important}
  .kvl{background:#fff;padding:0;font-size:12px}
  .kvl .kvl-hero{background:#fff;color:#000;padding:0 0 6px;border-radius:0}
  .kvl .kvl-hero::after{display:none}
  .kvl .kvl-hero h1,.kvl .kvz-dates,.kvl .kvz-dates b{color:#000}
  .kvl .kvz-card{border:0;padding:0;break-inside:avoid}
  .kvl .kvl-day{min-height:92px;break-inside:avoid;box-shadow:none!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .kvl .kvl-ev,.kvl .kvl-times{display:flex!important}
  .kvl .kvl-dn .kvl-long{display:inline!important}
  .kvl .kvl-dn .kvl-short{display:none!important}
}
