
:root{
  --blue:#3478c7;
  --blue-dark:#235f9f;
  --green:#39a66d;
  --text:#20242b;
  --muted:#6f7885;
  --line:#e3e8ef;
  --soft:#f7f9fc;
  --blue-soft:#eef5ff;
  --green-soft:#eef9f3;
  --yellow-soft:#fff9e9;
  --shadow:0 6px 22px rgba(24,42,70,.07);
}
*{box-sizing:border-box}
html{direction:rtl}
body{
  margin:0;background:#fff;color:var(--text);
  font-family:Arimo,Arial,sans-serif;
}
a{color:inherit;text-decoration:none}
button,input,select{font-family:inherit}

.top{
  border-bottom:1px solid var(--line);
  background:#fff;
}
.top-inner{
  max-width:1040px;height:62px;margin:auto;padding:0 16px;
  display:flex;align-items:center;gap:20px;
}
.logo{
  font-weight:700;font-size:30px;color:var(--blue);
  letter-spacing:-2px;white-space:nowrap;
}
.logo b{color:var(--green)}
.global-search{flex:1;max-width:390px}
.global-search input{
  width:100%;height:39px;border:1px solid #dce2e9;background:#fafbfc;
  border-radius:21px;padding:0 16px;font:inherit;outline:none;
}
.main-nav{display:flex;gap:16px;font-size:14px;color:#56606d;white-space:nowrap}

.subnav{
  border-bottom:1px solid var(--line);overflow:auto;background:#fff;
}
.subnav-inner{
  max-width:1040px;margin:auto;padding:8px 16px;
  display:flex;gap:6px;white-space:nowrap;
}
.subnav a{
  padding:7px 10px;border-radius:16px;font-size:13px;color:#606a77;
}
.subnav a:hover,.subnav a.active{background:var(--blue-soft);color:#2868ad}

.page{max-width:900px;margin:18px auto 52px;padding:0 16px}
.crumbs{font-size:12px;color:#949ca7;margin:0 0 10px}
.crumbs a{color:#6b7582;text-decoration:none}
.crumbs a:hover{color:var(--blue-dark);text-decoration:underline}
.crumbs-sep{opacity:.65;margin:0 1px}
.crumbs [aria-current="page"]{color:#949ca7}

.hero{text-align:center;margin:0 0 10px}
.hero h1{
  font-size:30px;line-height:1.2;margin:0 0 5px;letter-spacing:-.6px;
}
.hero p{margin:0;color:var(--muted);font-size:15px}
.hero p + p{margin-top:6px}
.hero-date{font-size:14px !important}

.primary-card{
  max-width:760px;margin:12px auto 0;border:1px solid var(--line);
  border-radius:18px;overflow:hidden;background:#fff;box-shadow:var(--shadow);
}
.card-head{
  text-align:center;background:linear-gradient(180deg,#fafcff,#f7f9fc);
  padding:9px 14px 8px;border-bottom:1px solid var(--line);
}
.card-head-top{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:8px;
  margin-bottom:5px;line-height:1.2;
}
.card-greg{
  font-size:13px;font-weight:500;color:#6f7885;
}
.card-head-meta{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 8px;
  line-height:1.35;
}
.card-hebrew{font-size:13px;color:var(--muted)}
.card-sep{color:#b8c0ca;font-size:12px}
.card-parasha-row{margin:0}
.card-parasha{
  font-size:15px;font-weight:700;color:var(--text);
}
.card-parasha a{font-weight:700}
.card-head .kicker{
  display:inline-block;font-size:12px;font-weight:700;color:var(--blue-dark);
  background:var(--blue-soft);border-radius:12px;padding:4px 10px;margin:0;
}
.card-head h2{font-size:20px;margin:0 0 3px}
.card-head small{color:var(--muted);font-size:13px}
.occasion-title-row{
  display:flex;align-items:center;justify-content:flex-start;gap:8px;
  margin:0 0 3px;
}
.card-head .occasion-title-row{
  justify-content:center;margin:0;
}
.occasion-title-row h2,
.occasion-title-row strong{margin:0;flex:0 1 auto;min-width:0}
.occasion-title-row a{color:inherit;text-decoration:none;border-bottom:1px solid transparent}
.occasion-title-row a:hover{border-bottom-color:rgba(52,120,199,.45);color:var(--blue-dark)}
.list .occasion-title-row a{font-weight:700}
.badge-hag{
  flex:0 0 auto;
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  letter-spacing:0.02em;
  color:#6b5a2e;
  background:#f3ead6;
  border:1px solid #e4d5b0;
}
.date-nav{
  display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;
  max-width:760px;margin:12px auto 0;
}
.date-nav-btn{
  padding:7px 14px;border:1px solid #dfe5ec;border-radius:18px;
  font-size:13px;background:#fff;color:#485564;text-decoration:none;
}
.date-nav-btn.is-active{
  background:#eef5ff;border-color:#b7cfe8;color:#235f9f;font-weight:700;
}
.date-nav-pick{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 10px;border:1px solid #dfe5ec;border-radius:18px;
  font-size:13px;background:#fff;color:#485564;cursor:pointer;
  user-select:none;
}
.date-nav-pick.is-active{
  background:#eef5ff;border-color:#b7cfe8;color:#235f9f;font-weight:700;
}
.date-nav-input{
  border:0;background:transparent;color:inherit;font:inherit;
  max-width:9.5em;padding:0;cursor:pointer;
}
.date-nav-pick span{pointer-events:none}

.times3{display:grid;grid-template-columns:repeat(3,1fr)}
.big-time{
  text-align:center;padding:21px 12px 18px;position:relative;
}
.big-time:not(:last-child){border-left:1px solid var(--line)}
.big-time.entry{background:linear-gradient(180deg,#fffdf7,#fff)}
.big-time.exit{background:linear-gradient(180deg,#f8fbff,#fff)}
.big-time.rt{background:linear-gradient(180deg,#f8fcfa,#fff)}
.big-time .label{
  color:#4f5d6c;font-size:15px;font-weight:600;margin-bottom:2px;
}
.big-time .label-note{
  font-size:12px;font-weight:400;color:#929aa5;
}
.big-time .value{
  font-size:42px;line-height:1;font-weight:700;letter-spacing:-1px;margin:7px 0 6px;
}
.big-time .value-row{
  display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;
  margin:7px 0 6px;
}
.big-time .value-row .value{margin:0}
.exit-time-wrap{
  display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;
}
.big-time small{color:#929aa5;font-size:12px}
.big-time-sub{font-size:12px !important;color:#929aa5 !important;font-weight:400}
.big-time.entry .value{color:#172536}
.big-time.exit .value{color:#172536}
.big-time.rt .value{color:#172536}

.quick-links{
  display:flex;justify-content:center;gap:8px;flex-wrap:wrap;
  max-width:760px;margin:12px auto 0;
}
.quick-links.tools{margin-top:32px}
.pill{
  padding:8px 12px;border:1px solid #dfe5ec;border-radius:18px;
  font-size:13px;background:#fff;color:#485564;
}
.pill-zman{
  display:inline-flex;align-items:center;gap:6px;
}
.zman-emoji{
  font-size:15px;line-height:1;flex:0 0 auto;
}
a.pill.pill-zman{text-decoration:none}

/* Larger action pills above location picker (like place.html top-actions) */
.quick-links .pill{
  padding:12px 18px;border:1px solid #dbe4ef;border-radius:30px;
  font-size:16px;font-weight:600;color:#334155;
}
.quick-links .zman-emoji{font-size:18px}
.home-shabbat-links .pill{
  padding:15px 21px;font-size:19px;
}
.home-shabbat-links .zman-emoji{font-size:21px}

/* City / location picker - matches place.html location-picker */
.city-change{
  max-width:500px;margin:16px auto 0;text-align:center;
  padding:18px;border:1px solid #dfe7f0;border-radius:18px;
  box-shadow:0 8px 28px rgba(31,72,118,.08);background:#fff;
}
.city-change-title{
  display:flex;justify-content:center;align-items:center;gap:8px;
  font-size:20px;font-weight:700;color:var(--text);margin-bottom:13px;
  letter-spacing:-.2px;
}
.city-change-title::before{
  content:'📍';
  color:#3478c9;font-size:22px;line-height:1;
}
.city-search-wrap{position:relative}
.city-search{
  width:100%;height:44px;border:1px solid #d7dee8;border-radius:12px;
  padding:0 15px;font-size:15px;background:#fff;outline:none;
}
.city-change .city-search{
  height:52px;padding:0 16px;border:2px solid #d9e3ee;border-radius:14px;font-size:17px;
}
.city-search:focus{border-color:#9abce5;box-shadow:0 0 0 3px rgba(52,120,199,.08)}
.city-change .city-search:focus{
  border-color:#5a94d3;box-shadow:0 0 0 4px rgba(90,148,211,.1);
}
.city-results{
  position:absolute;z-index:20;top:49px;right:0;left:0;background:#fff;
  border:1px solid #dfe4eb;border-radius:12px;box-shadow:0 12px 28px rgba(20,35,60,.12);
  overflow:hidden;display:none;text-align:right;
}
.city-change .city-results{top:57px}
.city-results.open{display:block}
.city-option{
  display:flex;justify-content:space-between;align-items:center;
  padding:10px 13px;border-bottom:1px solid #edf0f4;cursor:pointer;font-size:14px;
}
.city-option:last-child{border-bottom:0}
.city-option:hover,.city-option.active{background:#f5f8fc}
.city-option small{color:#949ca6}
.city-demo-note{margin-top:6px;font-size:11px;color:#9aa2ac}

.section{max-width:760px;margin:27px auto 0}
.section-zmanim-narrow{max-width:500px}
.section-parasha-upcoming{max-width:420px}
.section h2{font-size:20px;margin:0 0 10px}
.section-center{text-align:center}
.section-h2-center{text-align:center}
.parasha-tol-links{
  margin:2px 0 8px;font-size:17px;line-height:1.45;font-weight:600;
}
.parasha-tol-link{color:#235f9f;text-decoration:none}
.parasha-tol-link:hover{text-decoration:underline;text-underline-offset:3px}
.answer .huge .parasha-tol-link:hover{text-decoration:underline;text-underline-offset:4px}
.parasha-tol-sep{color:#9aa2ac;font-weight:400}
.parasha-book{
  font-size:16px;line-height:1.4;font-weight:400;color:#485564;
  text-align:center;margin:4px 0 0;
}
.parasha-book-label{font-weight:400}
.parasha-book-name{font-weight:400;color:#111}
.section-parasha-by-date{max-width:520px;text-align:center}
.section-parasha-by-date h2{text-align:center}
.parasha-date-form{
  display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;
  margin:12px 0 0;
}
.parasha-date-pick{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 14px;border:1px solid #dfe5ec;border-radius:14px;
  background:#fff;color:#485564;cursor:pointer;
}
.parasha-date-input{
  border:0;background:transparent;color:inherit;font:inherit;
  max-width:11em;padding:0;cursor:pointer;
}
.parasha-date-cal{font-size:16px;line-height:1;opacity:.85}
.parasha-date-btn{
  padding:9px 18px;border:1px solid #b7cfe8;border-radius:14px;
  background:#eef5ff;color:#235f9f;font:inherit;font-weight:700;
  cursor:pointer;
}
.parasha-date-btn:hover{background:#e3effc}
.parasha-date-result{
  margin:14px auto 0;padding:14px 16px;max-width:420px;
  border:1px solid #d9e6f5;border-radius:14px;background:#f7fbff;
  font-size:17px;font-weight:600;line-height:1.5;color:#20242b;
}
.parasha-date-result a{color:#235f9f;text-decoration:none;font-weight:700}
.parasha-date-result a:hover{text-decoration:underline;text-underline-offset:3px}
.parasha-date-result-error{background:#fff8f5;border-color:#f0d7cc;color:#7a3e2e;font-weight:600}
.visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;
}
.list-parasha-upcoming .row{
  font-size:18px;padding:14px 16px;
}
.list-parasha-upcoming .row.two strong,
.list-parasha-upcoming .row.two strong a{
  font-size:18px;font-weight:700;color:var(--text);
}
.list-parasha-upcoming .row.two > span{
  font-size:17px;font-weight:600;color:var(--text);
  white-space:nowrap;
}
.home-shabbat-title-link{
  color:#20242b;text-decoration:none;font-weight:inherit;
}
.home-shabbat-title-link:hover{color:#20242b;text-decoration:underline;text-underline-offset:3px}
.section-intro{color:var(--muted);font-size:14px;margin:-4px 0 10px}
.local-clock-note{
  max-width:760px;margin:10px auto 0;text-align:center;
  padding:10px 14px;border-radius:12px;
  background:#f3f7fc;border:1px solid #d9e6f5;
  color:#3d5a78;font-size:14px;font-weight:600;line-height:1.5;
}

.list{border:1px solid var(--line);border-radius:14px;overflow:hidden}
.list-center{text-align:center}
.list-center .occasion-title-row{justify-content:center}
.list-center .row > div{text-align:center}
.row{
  display:grid;grid-template-columns:1.4fr .8fr .8fr;
  gap:8px;align-items:center;padding:12px 14px;
  border-bottom:1px solid var(--line);font-size:14px;
}
.row:last-child{border-bottom:0}
.row.head{font-size:12px;color:#7b8490;background:#fafbfc;font-weight:700}
.row.two{grid-template-columns:1fr auto}
.row .time-value{font-weight:700;font-size:15px}
.row-next{background:var(--blue-soft)}
.row-next .time-value{color:var(--blue-dark)}
.row-passed{opacity:.55}
.zman-note{
  display:inline;margin-right:4px;
  font-size:12px;font-weight:400;color:#929aa5;
}
.prayer-windows{margin-top:18px;text-align:center}
.prayer-windows .section-intro{margin:-2px 0 12px}
.prayer-window-row{display:block;padding:14px 16px;text-align:center}
.prayer-window-range{
  font-size:18px;font-weight:700;margin:4px 0 6px;color:var(--text);
  direction:ltr;unicode-bidi:isolate;text-align:center;
}
.prayer-window-how{
  font-size:13px;color:var(--muted);line-height:1.45;
}
.row-emphasize{background:#fafbfd}
.row-emphasize .time-value{font-weight:800}

.answer{
  max-width:760px;margin:12px auto 0;text-align:center;
  border:1px solid var(--line);border-radius:18px;padding:22px;background:#fff;box-shadow:var(--shadow);
}
.answer .eyebrow{font-size:14px;color:var(--muted)}
.answer .huge{font-size:48px;line-height:1;font-weight:700;margin:7px 0}
.answer .sub{color:var(--muted);font-size:14px}
.answer-hebrew-date .eyebrow{margin-bottom:14px}
.answer-hebrew-date .eyebrow strong{font-weight:700;color:#20242b}
.answer-hebrew-date .huge{margin-top:0}

.next{
  max-width:760px;margin:12px auto 0;
  background:var(--blue-soft);border:1px solid #dae9fb;
  border-radius:16px;padding:15px 18px;text-align:center;
}
.next .eyebrow{font-size:13px;color:#57718f}
.next strong{display:block;font-size:36px;margin-top:3px;color:#1d3550}

.cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:11px;margin-top:15px;
}
.card{
  border:1px solid var(--line);border-radius:15px;background:#fff;
  box-shadow:var(--shadow);padding:18px;
}
.tool-card{
  text-align:center;min-height:135px;display:flex;flex-direction:column;justify-content:center;
}
.tool-card .ico{font-size:28px;margin-bottom:7px}
.tool-card strong{font-size:16px}
.tool-card span{font-size:12px;color:var(--muted);margin-top:5px}

.info{
  background:#f8fafc;border:1px solid var(--line);
  border-radius:14px;padding:15px 16px;line-height:1.7;color:#5e6874;font-size:14px;
}
.info-past-date{margin-top:4px;text-align:center}
.info-past-date p{margin:0}
.info-past-date p + p{margin-top:8px}
.info-past-date a{color:var(--blue);font-weight:600;text-decoration:none}
.info-past-date a:hover{text-decoration:underline}
.info-center{text-align:center}
.info-sunset-line{
  white-space:nowrap;overflow-x:auto;
  font-size:15px;color:#5e6874;
}
.info-sunset-line a{color:var(--blue);font-weight:600;text-decoration:none}
.info-sunset-line a:hover{text-decoration:underline}
.info-parasha{
  font-size:18px;color:#3d4654;line-height:1.75;
}
.info-parasha strong{
  font-size:26px;font-weight:700;color:var(--text);display:inline;
}

/* Hebrew date today - demo-style boxes */
.hd-box{
  max-width:520px;margin:12px auto 0;
  border:2px solid var(--line);border-radius:18px;
  padding:22px 18px;background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.08);
  display:grid;gap:14px;text-align:center;
}
.hd-row{display:flex;flex-direction:column;gap:6px;align-items:center;justify-content:center}
.hd-label{font-size:14px;color:var(--muted)}
.hd-value{
  font-size:clamp(22px,5.6vw,40px);line-height:1.2;font-weight:700;
  letter-spacing:0;padding:0 6px;max-width:100%;word-break:break-word;
}
.hd-divider{width:min(380px,85%);height:1px;background:var(--line);margin:8px auto}
.hd-convert-cta{
  max-width:520px;margin:16px auto 0;text-align:center;font-size:18px;
}
.hd-convert-cta a{color:var(--blue);font-weight:600}
.hd-today-table{
  max-width:520px;margin:14px auto 0;width:100%;
  border:2px solid var(--line);border-radius:14px;overflow:hidden;
  text-align:right;background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}
.hd-today-head{
  padding:10px 12px;background:#f8fafc;font-size:14px;
  border-bottom:1px solid var(--line);
}
.hd-today-line{
  padding:10px 12px;font-size:14px;
  display:flex;justify-content:space-between;gap:10px;
}
.hd-today-line span:first-child{color:var(--muted);white-space:nowrap}
.hd-links-title{
  margin:16px auto 8px;font-size:14px;color:var(--muted);text-align:center;
}
.hd-nav-wrap{
  max-width:520px;margin:0 auto;width:100%;
  border:2px solid var(--line);border-radius:14px;overflow:hidden;
  text-align:center;background:#fff;
  box-shadow:0 12px 28px rgba(0,0,0,.08);
}
.hd-nav-group{padding:10px 12px;border-bottom:1px solid var(--line)}
.hd-nav-group:last-child{border-bottom:0}
.hd-nav-title{font-size:13px;color:var(--muted);margin:0 0 8px;text-align:center}
.hd-nav-links{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.hd-nav-links a{
  display:inline-flex;align-items:center;justify-content:center;
  padding:8px 10px;border-radius:12px;background:#f8fafc;
  font-weight:600;color:var(--text);text-decoration:none;font-size:13px;
  transition:transform .12s ease,box-shadow .12s ease,background .12s ease;
}
.hd-nav-links a:hover{
  transform:translateY(-1px);box-shadow:0 10px 20px rgba(0,0,0,.08);background:#eef2f7;
}
.hd-nav-links a.current{background:#e8eef6;color:var(--blue)}
@media(max-width:600px){
  .hd-box{max-width:100%;padding:18px 14px;border-radius:16px;margin-left:10px;margin-right:10px}
  .hd-divider{width:min(320px,90%)}
  .hd-today-table,.hd-nav-wrap{max-width:100%;margin-left:10px;margin-right:10px}
  .info-sunset-line{white-space:normal;font-size:14px}
  .info-parasha{font-size:16px}
  .info-parasha strong{font-size:22px}
}

.tabs{display:flex;background:#f3f5f8;border-radius:10px;padding:4px;margin-bottom:16px}
.tab{flex:1;border:0;background:transparent;padding:10px;border-radius:8px;font:600 14px Arimo;cursor:pointer}
.tab.active{background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.06)}
.formbox{max-width:620px;margin:14px auto;border:1px solid var(--line);border-radius:16px;padding:19px;box-shadow:var(--shadow)}
.converter-tabs{display:flex;gap:10px;margin-bottom:18px}
.converter-tab{
  flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:1px solid #d5dde8;border-radius:10px;background:#fff;color:#4a5563;
  padding:12px 14px;font:700 15px Arimo;text-decoration:none;cursor:pointer;
  transition:background .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease;
}
.converter-tab:hover{border-color:#b8c5d4;background:#f8fafc;color:#334155}
.converter-tab.active{
  background:var(--blue);border-color:var(--blue);color:#fff;
  box-shadow:0 4px 14px rgba(52,120,199,.28);
}
.converter-tab-icon{font-size:17px;line-height:1}
.fields{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.fields select,.fields input{
  height:43px;border:1px solid #dce1e8;border-radius:10px;padding:0 10px;font:inherit;background:#fff;
  width:100%;box-sizing:border-box;
}
.hy-field{position:relative;min-width:0}
.hy-results{
  position:absolute;z-index:30;top:calc(100% + 4px);right:0;left:0;background:#fff;
  border:1px solid #dfe4eb;border-radius:10px;box-shadow:0 12px 28px rgba(20,35,60,.12);
  overflow:auto;max-height:220px;display:none;text-align:right;
}
.hy-results.open{display:block}
.hy-option{
  display:flex;justify-content:space-between;align-items:center;gap:8px;
  padding:9px 12px;border-bottom:1px solid #edf0f4;cursor:pointer;font-size:14px;
}
.hy-option:last-child{border-bottom:0}
.hy-option:hover,.hy-option.active{background:#f5f8fc}
.hy-option small{color:#949ca6;font-size:12px}
.btn{
  border:0;border-radius:10px;background:var(--blue);color:#fff;
  font:700 15px Arimo;padding:11px 18px;cursor:pointer;margin-top:11px;
}
.convert-submit{display:flex;justify-content:center;margin-top:16px}
.btn-convert{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  margin-top:0;min-width:min(100%,280px);padding:14px 28px;
  font:700 18px Arimo;border-radius:12px;
  box-shadow:0 4px 14px rgba(52,120,199,.28);
}
.btn-convert-icon{font-size:20px;line-height:1}
.result{
  margin-top:15px;padding:15px;border-radius:12px;background:var(--green-soft);text-align:center;
}
.result strong{font-size:22px;display:inline-block;margin-top:4px}
.result-meta{margin-top:8px;color:#6f7885;font-size:13px}
.result-events{margin-top:10px;padding-top:8px;border-top:1px solid rgba(0,0,0,.06);color:#4f5d6c;font-size:13px}
.result-error{background:#fff5f5;color:#8a3a3a}
@media(max-width:600px){
  .converter-tabs{gap:8px}
  .converter-tab{padding:11px 10px;font-size:14px}
  .btn-convert{width:100%;min-width:0;font-size:17px;padding:13px 20px}
}

.calendar{border:1px solid var(--line);border-radius:15px;overflow:hidden}
.cal-head{display:grid;grid-template-columns:repeat(7,1fr);background:#f7f9fc;font-size:12px;font-weight:700;text-align:center}
.cal-head div{padding:8px}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr)}
.day{min-height:82px;border-top:1px solid var(--line);border-left:1px solid var(--line);padding:7px;font-size:13px}
.day:nth-child(7n){border-left:0}
.day strong{font-size:17px}
.heb{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.event{display:block;margin-top:6px;font-size:10px;color:#2767ad;background:var(--blue-soft);padding:3px 5px;border-radius:6px}

.holiday-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.holiday-grid-center{max-width:720px;margin:0 auto}
.holiday{border:1px solid var(--line);border-radius:14px;padding:15px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.holiday strong{font-size:16px}
.holiday small{display:block;color:var(--muted);margin-top:4px;line-height:1.5}
.holidays-upcoming h2,.holidays-fasts h2{text-align:center}
.holidays-fasts .row.two > div strong{font-size:16px;font-weight:700}
.holidays-fasts .row.two{grid-template-columns:1fr 11.5rem}
.holidays-fasts .row.two > span{text-align:left}
.row.two .fast-date-greg{display:block;color:var(--muted);font-size:12px;margin-top:3px;font-weight:400}

.home-today{
  max-width:760px;margin:12px auto 14px;padding:14px 16px;
  background:#f8fafc;border:1px solid var(--line);border-radius:14px;text-align:center;
}
.home-today strong{font-size:16px}

.jewish-times-content{
  max-width:850px;margin:45px auto 20px;padding:0 15px;
  line-height:1.8;font-size:16px;color:#222;text-align:right;
}
.jewish-times-content h2{
  font-size:24px;line-height:1.4;margin:32px 0 12px;color:#111;
}
.jewish-times-content p{margin:0 0 15px}
.jewish-times-content ul{margin:10px 0 20px;padding-right:25px}
.jewish-times-content li{margin-bottom:7px}
@media(max-width:600px){
  .jewish-times-content{font-size:15px;line-height:1.75}
  .jewish-times-content h2{font-size:21px}
}

.hebrew-date-content,
.shabbat-content,
.sunset-content,
.sunrise-content,
.sunset-city-content,
.sunrise-city-content,
.sunset-locations-content,
.sunrise-locations-content,
.shabbat-city-content,
.shabbat-cities-content,
.parasha-content,
.parasha-page-content,
.shabbat-parasha-city-content,
.holidays-content,
.holiday-city-content,
.daily-times-content,
.daily-city-content,
.times-locations-content,
.calendar-content{
  max-width:850px;margin:45px auto 20px;padding:0 15px;
  line-height:1.8;font-size:16px;color:#222;text-align:right;
}
.hebrew-date-content h2,
.shabbat-content h2,
.sunset-content h2,
.sunrise-content h2,
.sunset-city-content h2,
.sunrise-city-content h2,
.sunset-locations-content h2,
.sunrise-locations-content h2,
.shabbat-city-content h2,
.shabbat-cities-content h2,
.parasha-content h2,
.parasha-page-content h2,
.shabbat-parasha-city-content h2,
.holidays-content h2,
.holiday-city-content h2,
.daily-times-content h2,
.daily-city-content h2,
.times-locations-content h2,
.calendar-content h2{
  font-size:24px;line-height:1.4;margin:32px 0 12px;color:#111;
}
.hebrew-date-content h3,
.sunset-content h3,
.sunrise-content h3,
.sunset-city-content h3,
.sunrise-city-content h3,
.sunset-locations-content h3,
.sunrise-locations-content h3,
.parasha-content h3,
.parasha-page-content h3,
.shabbat-parasha-city-content h3,
.holidays-content h3,
.holiday-city-content h3,
.daily-times-content h3,
.daily-city-content h3,
.times-locations-content h3,
.calendar-content h3{
  font-size:19px;line-height:1.5;margin:24px 0 8px;color:#222;
}
.hebrew-date-content p,
.shabbat-content p,
.sunset-content p,
.sunrise-content p,
.sunset-city-content p,
.sunrise-city-content p,
.sunset-locations-content p,
.sunrise-locations-content p,
.shabbat-city-content p,
.shabbat-cities-content p,
.parasha-content p,
.parasha-page-content p,
.shabbat-parasha-city-content p,
.holidays-content p,
.holiday-city-content p,
.daily-times-content p,
.daily-city-content p,
.times-locations-content p,
.calendar-content p{margin:0 0 15px}
@media(max-width:600px){
  .hebrew-date-content,
  .shabbat-content,
  .sunset-content,
  .sunrise-content,
  .sunset-city-content,
  .sunrise-city-content,
  .sunset-locations-content,
  .sunrise-locations-content,
  .shabbat-city-content,
  .shabbat-cities-content,
  .parasha-content,
  .parasha-page-content,
  .shabbat-parasha-city-content,
  .holidays-content,
  .holiday-city-content,
  .daily-times-content,
  .daily-city-content,
  .times-locations-content,
  .calendar-content{font-size:15px;line-height:1.75}
  .hebrew-date-content h2,
  .shabbat-content h2,
  .sunset-content h2,
  .sunrise-content h2,
  .sunset-city-content h2,
  .sunrise-city-content h2,
  .sunset-locations-content h2,
  .sunrise-locations-content h2,
  .shabbat-city-content h2,
  .shabbat-cities-content h2,
  .parasha-content h2,
  .parasha-page-content h2,
  .shabbat-parasha-city-content h2,
  .holidays-content h2,
  .holiday-city-content h2,
  .daily-times-content h2,
  .daily-city-content h2,
  .times-locations-content h2,
  .calendar-content h2{font-size:21px}
  .hebrew-date-content h3,
  .sunset-content h3,
  .sunrise-content h3,
  .sunset-city-content h3,
  .sunrise-city-content h3,
  .sunset-locations-content h3,
  .sunrise-locations-content h3,
  .parasha-content h3,
  .parasha-page-content h3,
  .shabbat-parasha-city-content h3,
  .holidays-content h3,
  .holiday-city-content h3,
  .daily-times-content h3,
  .daily-city-content h3,
  .times-locations-content h3,
  .calendar-content h3{font-size:18px}
}

.footer{
  border-top:1px solid var(--line);text-align:center;
  padding:22px 16px 32px;color:#929aa6;font-size:12px;
}
.footer-links{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;
  gap:6px 2px;margin-bottom:12px;font-size:14px;
}
.footer-links a{
  color:#485564;text-decoration:none;font-weight:600;padding:4px 8px;
}
.footer-links a:hover{color:var(--blue-dark);text-decoration:underline;text-underline-offset:2px}
.footer-meta a{color:#6b7582;text-decoration:underline;text-underline-offset:2px}
.footer-meta a:hover{color:var(--blue-dark)}
.footer-sep{margin:0 4px;opacity:.7}

.calc-lead{max-width:760px;margin:14px auto 0}
.calc-section{max-width:760px}
.calc-section p{margin:0 0 10px;line-height:1.7;color:#4f5d6c;font-size:15px}
.calc-section p:last-child{margin-bottom:0}
.calc-list{margin:0 0 10px;padding:0 1.2em 0 0;line-height:1.75;color:#4f5d6c;font-size:15px}
.calc-list li{margin:0 0 8px}
.calc-list li:last-child{margin-bottom:0}
.calc-section code{
  font-family:ui-monospace,Consolas,monospace;font-size:13px;
  background:#f3f5f8;padding:1px 6px;border-radius:5px;color:#3a4553;
}
.calc-section a{color:var(--blue-dark);text-decoration:underline;text-underline-offset:2px}
.calc-section .list{margin-top:10px}
.calc-section .list .time-value{font-size:13px;font-weight:600;color:#66717f}

/* Normal header - scrolls away with the page (not stuck to the viewport) */
.site-header{
  border-bottom:1px solid var(--line);
  background:#fff;
  width:100%;
}
.site-header-inner{
  max-width:1040px;margin:0 auto;padding:0 14px;height:56px;
  display:flex;align-items:center;gap:12px;position:relative;
}
.site-header .logo{
  position:static;flex:0 0 auto;display:flex;align-items:center;line-height:0;
}
.site-header .logo img{
  display:block;height:46px;width:auto;max-width:154px;
}
.header-city-search{
  flex:0 1 200px;width:200px;max-width:200px;min-width:0;z-index:60;
}
.header-city-search .city-search{
  height:34px;border-radius:18px;padding:0 12px;font-size:13px;
  background:#fafbfc;border-color:#dce2e9;
}
.header-city-search .city-results{
  top:38px;border-radius:10px;font-size:13px;
}
.header-city-search .city-option{padding:8px 11px;font-size:13px}
.site-nav{
  display:flex;align-items:center;justify-content:flex-start;gap:2px;flex:1;min-width:0;
  flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;
}
.site-nav a{
  padding:6px 9px;border-radius:14px;font-size:13px;color:#606a77;white-space:nowrap;
}
.site-nav a:hover,.site-nav a.active{background:var(--blue-soft);color:#2868ad}
.menu-toggle{
  display:none;border:1px solid var(--line);background:#fff;border-radius:8px;
  width:38px;height:34px;font-size:18px;cursor:pointer;margin-inline-start:auto;
}
a.pill:hover{border-color:#b8c5d4;background:#f8fafc}
.pill-link{cursor:pointer}

/* Yo-Yoo style cities grid - all cities bold */
.cities-block{max-width:760px;margin-left:auto;margin-right:auto}
.cities-block h2{text-align:center}
.cities-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:9px;
  justify-content:center;
}
.city-link{
  height:44px;
  display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;
  padding:0 10px;
  border:1px solid #dfe5ec;border-radius:12px;
  background:#fff;color:#2f3c50;
  text-decoration:none;font-size:16px;font-weight:700;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.city-link-country{
  display:block;font-size:11px;font-weight:600;color:#8a93a0;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;
}
.cities-grid-all .city-link:has(.city-link-country){
  height:auto;min-height:52px;padding:8px 10px;white-space:normal;
}
.city-link:hover{
  color:#3659c9;border-color:#bfcdf7;
  box-shadow:0 4px 12px rgba(35,50,75,.08);
  transform:translateY(-1px);
}
.more-row{margin-top:18px;display:flex;justify-content:center}
.more-btn{
  min-width:140px;height:40px;padding:0 18px;
  border:1px solid #d6dde7;border-radius:11px;
  background:#fff;color:#465164;
  font:700 14px Arimo,Arial,sans-serif;
  display:inline-flex;align-items:center;justify-content:center;gap:4px;
  text-decoration:none;cursor:pointer;
  transition:border-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.more-btn .plus{
  display:inline-block;margin-left:5px;font-size:19px;font-weight:500;
  line-height:1;vertical-align:-1px;
}
.more-btn:hover{
  border-color:#bfcdf7;color:#3659c9;
  box-shadow:0 3px 10px rgba(35,50,75,.06);
}
.page-cities{max-width:1040px}
.page-cities .section,
.page-cities .cities-block{max-width:none}
.cities-grid-all{grid-template-columns:repeat(5, minmax(0, 1fr))}

@media(max-width:850px){
  .cities-grid,.cities-grid-all{grid-template-columns:repeat(3, minmax(0, 1fr))}
}
@media(max-width:600px){
  .cities-grid,.cities-grid-all{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .city-link{font-size:15px;height:42px}
}

@media(max-width:720px){
  .site-header-inner{height:52px;gap:8px}
  .site-header .logo img{height:38px;max-width:130px}
  .header-city-search{flex:1 1 auto;width:auto;max-width:none}
  .menu-toggle{display:block;flex:0 0 auto;margin-inline-start:0}
  .site-nav{
    display:none;position:absolute;top:100%;left:0;right:0;background:#fff;
    border-bottom:1px solid var(--line);padding:10px 12px 14px;flex-direction:column;align-items:stretch;
    box-shadow:0 8px 20px rgba(20,35,60,.08);overflow:visible;flex:none;
  }
  .site-nav.open{display:flex}
  .site-nav a{padding:10px 12px}
  .top-inner{height:57px}.global-search,.main-nav{display:none}.logo{font-size:28px}
  .page{margin-top:14px}
  .crumbs{font-size:11px;margin-bottom:8px}
  .hero{margin-bottom:8px}.hero h1{font-size:24px}.hero p{font-size:13px}
  .primary-card{margin-top:9px;border-radius:15px}
  .card-head{padding:7px 12px 6px}
  .card-parasha{font-size:14px}
  .card-greg{font-size:12px}
  .times3{
    grid-template-columns:1fr 1fr;
    grid-template-areas:
      "entry exit"
      "rt rt";
  }
  .big-time.entry{grid-area:entry}
  .big-time.exit{grid-area:exit}
  .big-time.rt{grid-area:rt}
  .big-time{
    display:block;text-align:center;
    padding:14px 10px 12px;
  }
  .big-time:not(:last-child){border-left:1px solid var(--line);border-bottom:0}
  .big-time.exit{border-left:0}
  .big-time.rt{
    border-left:0;border-top:1px solid var(--line);
  }
  .big-time .label{font-size:13px}
  .big-time .value{font-size:28px;margin:5px 0 4px;letter-spacing:-.5px}
  .big-time small{display:block;margin-top:0}
  .quick-links{margin-top:10px}
  .quick-links .pill{padding:10px 12px;font-size:14px}
  .quick-links .zman-emoji{font-size:16px}
  .home-shabbat-links .pill{padding:13px 15px;font-size:17px}
  .home-shabbat-links .zman-emoji{font-size:19px}
  .city-change{margin-top:13px;padding:16px 14px}
  .city-change-title{font-size:18px}
  .cards{grid-template-columns:repeat(2,1fr)}
  .tool-card{min-height:115px;padding:13px}
  .answer{padding:20px 14px}.answer .huge{font-size:42px}
  .parasha-book{font-size:15px}
  .parasha-tol-links{font-size:16px}
  .parasha-date-result{font-size:16px;padding:12px 14px}
  .list-parasha-upcoming .row{font-size:16px;padding:12px 12px}
  .list-parasha-upcoming .row.two strong,
  .list-parasha-upcoming .row.two strong a{font-size:16px}
  .list-parasha-upcoming .row.two > span{font-size:15px}
  .fields{grid-template-columns:1fr}
  .holiday-grid{grid-template-columns:1fr}
  .day{min-height:66px;padding:5px}.event{font-size:9px}
  .row{padding:10px 10px}
}
