/* hebrew */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/frank-ruhl-libre-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/frank-ruhl-libre-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/frank-ruhl-libre-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hebrew */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/frank-ruhl-libre-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/frank-ruhl-libre-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/frank-ruhl-libre-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* hebrew */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/frank-ruhl-libre-hebrew.woff2) format('woff2');
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
/* latin-ext */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/frank-ruhl-libre-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/frank-ruhl-libre-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root { --ink:#1c2430; --mut:#5b6b7f; --line:#d9dee6; --acc:#20538c; --bg:#fbfaf7; }
* { box-sizing: border-box; }
body { margin:0; font:16.5px/1.55 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif; color:var(--ink); background:var(--bg); }
header.site { background:#173a5e; color:#fff; padding:.7rem 1rem; }
header.site nav { max-width:1020px; margin:0 auto; display:flex; gap:1.2rem; align-items:baseline; flex-wrap:wrap; }
header.site a { color:#fff; text-decoration:none; }
header.site .brand { font-size:1.35rem; font-weight:bold; letter-spacing:.02em; }
header.site .navlinks { display:flex; gap:1.75rem; margin-left:.6rem; }
header.site .navlinks a { opacity:.85; font-size:.95rem; padding:.15rem 0; }
main { max-width:1020px; margin:0 auto; padding:1.2rem 1rem 3rem; }
h1 { font-size:1.7rem; margin:.3em 0 .5em; } h2 { font-size:1.25rem; margin-top:1.6em; }
a { color:var(--acc); }
table.eps, table.topics { width:100%; border-collapse:collapse; background:#fff; }
table.eps td, table.eps th, table.topics td, table.topics th { border-bottom:1px solid var(--line); padding:.45rem .5rem; text-align:left; vertical-align:top; }
table.eps audio { width:230px; height:32px; }
.meta { color:var(--mut); font-size:.9rem; }
.btn { display:inline-block; background:var(--acc); color:#fff !important; padding:.35rem .8rem; border-radius:4px; text-decoration:none; margin-right:.4rem; font-size:.92rem; }
.btn.alt { background:#fff; color:var(--acc) !important; border:1px solid var(--acc); }
.hero img { float:right; margin:0 0 1rem 1.5rem; max-width:260px; border-radius:6px; }
input[type=search] { width:100%; padding:.6rem .8rem; font-size:1.05rem; border:1px solid var(--line); border-radius:6px; }
footer.site { border-top:1px solid var(--line); color:var(--mut); font-size:.88rem; padding:1rem; text-align:center; }
.dl { white-space:nowrap; font-size:.9rem; }
.grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(210px, 1fr)); gap:1.2rem; margin:1rem 0 2rem; }
.card { background:#fff; border:1px solid var(--line); border-radius:6px; padding:.8rem; text-align:center; display:flex; flex-direction:column; align-items:center; }
.card img { height:170px; width:auto; max-width:150px; object-fit:contain; }
.card-title { font-size:.92rem; margin-top:.6rem; }
.card-buy { margin-top:auto; padding-top:.7rem; }

table.topics td.count { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
table.topics td.latest { white-space:nowrap; }
table.topics th { color:var(--mut); font-size:.85rem; font-weight:600; }
table.topics th.count { text-align:right; }
h3 { margin:1.4rem 0 .2rem; font-size:1.05rem; }
.search-box { position:relative; display:flex; align-items:center; color:rgba(255,255,255,.85); }
.search-box:focus-within { color:#173a5e; }
.search-box .icon { position:absolute; left:.55rem; width:14px; height:14px; display:flex; pointer-events:none; }
.search-box .icon svg { width:14px; height:14px; }
.navsearch input { font:inherit; font-size:.9rem; padding:.28rem .6rem .28rem 1.85rem; border-radius:999px; border:1px solid rgba(255,255,255,.45); background:rgba(255,255,255,.14); color:#fff; width:11.5rem; }
.navsearch input::placeholder { color:rgba(255,255,255,.75); }
.navsearch input:focus { outline:none; background:#fff; color:#173a5e; }

.btn.small { padding:.22rem .65rem; font-size:.88rem; margin-right:0; }
table.topics th.sub, table.topics td.sub { text-align:center; }
table.topics td.sub { white-space:nowrap; }
@media (max-width: 680px) {
  main { padding:1rem .55rem 2.5rem; }
  table.topics td, table.topics th { padding:.38rem .28rem; }
  table.topics { font-size:.93rem; }
  table.topics th { font-size:.8rem; }
  .btn.small { padding:.18rem .5rem; font-size:.85rem; }
  .hero img { width:150px; }
  .navsearch input { width:8.2rem; }
}

.navsearch { position:relative; margin-left:auto; }
.search-toggle { display:none; }
.search-panel { position:absolute; top:calc(100% + .45rem); right:0; width:min(26rem, 94vw); max-height:70vh; overflow:auto; background:#fff; color:var(--ink); border:1px solid var(--line); border-radius:8px; box-shadow:0 12px 32px rgba(10,25,40,.28); z-index:60; text-align:left; }
.search-panel a.hit { display:block; padding:.5rem .75rem; border-bottom:1px solid var(--line); text-decoration:none; color:var(--ink); }
.search-panel a.hit:hover, .search-panel a.all:hover { background:#f4efe3; }
.search-panel .t { display:block; font-size:.95rem; line-height:1.3; }
.search-panel .s { display:block; font-size:.8rem; color:var(--mut); }
.search-panel a.all { display:block; padding:.55rem .75rem; font-weight:600; color:var(--acc); text-decoration:none; background:#faf7ef; }
.search-panel .none { padding:.6rem .75rem; color:var(--mut); font-size:.92rem; }
@media (max-width: 680px) {
  .search-toggle { display:flex; align-items:center; background:none; border:none; color:#fff; padding:.35rem; cursor:pointer; }
  .search-toggle svg { width:19px; height:19px; }
  .search-box { display:none; }
  header.site.search-open nav { flex-wrap:wrap; }
  header.site.search-open .navsearch { flex:1 0 100%; order:5; margin:.55rem 0 .1rem; }
  header.site.search-open .search-box { display:flex; flex:1; }
  header.site.search-open .navsearch input { width:100%; }
  header.site.search-open .search-toggle { display:none; }
  header.site.search-open .search-panel { left:0; right:0; width:auto; }
}
.search-panel a.active { background:#e9e1cb; }
