/* The Jewish Learning library (/learn/...): guides, help pages, stories, humor and the library index pages.
   Loaded by mu-plugins/learn-library.php. */
.jl { max-width: 760px; font-size: 1.04rem; line-height: 1.75; color: #2E2C27; }
.jl[dir="rtl"] { text-align: right; }
.jl h2 { margin: 30px 0 10px; padding-bottom: 6px; border-bottom: 2px solid #ecdcc4; font-family: Lora, Georgia, serif; font-weight: 600; font-size: 1.45rem; line-height: 1.3; color: #1f1b16; }
.jl h3 { margin: 22px 0 8px; font-family: Lora, Georgia, serif; font-weight: 600; font-size: 1.15rem; color: #1f1b16; }
.jl p { margin: 0 0 14px; }
.jl ul, .jl ol { margin: 0 0 16px; padding-inline-start: 24px; }
.jl li { margin: 0 0 6px; }
.jl a { color: #94562a; text-decoration: underline; text-underline-offset: 2px; }
.jl a:hover { color: #7a4622; }
.jl blockquote { margin: 16px 0; padding: 10px 16px; border-inline-start: 4px solid #c9a45c; background: #faf6f0; border-radius: 6px; }
.jl table { border-collapse: collapse; margin: 0 0 16px; width: 100%; }
.jl th, .jl td { border: 1px solid #ecdcc4; padding: 6px 10px; text-align: start; }
.jl .jl-lead { font-family: Lora, Georgia, serif; font-size: 1.18rem; line-height: 1.6; color: #3a332c; margin-bottom: 12px; }
.jl .jl-langs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; font-size: .82rem; }
.jl .jl-langs a, .jl .jl-langs span { padding: 3px 11px; border-radius: 999px; border: 1px solid #e2cfb4; text-decoration: none; color: #94562a; }
.jl .jl-langs span { background: #94562a; border-color: #94562a; color: #fff; }
.jl .jl-help { margin: 28px 0 18px; padding: 16px 20px; background: #faf6f0; border-inline-start: 4px solid #94562a; border-radius: 8px; }
.jl .jl-help h2 { margin: 0 0 6px; padding: 0; border: 0; font-size: 1.12rem; }
.jl .jl-help p { margin: 0; }
.jl .jl-related h2 { font-size: 1.12rem; }
.jl .jl-related ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 18px; }
.jl .jl-related li { margin: 0; }
.jl .jl-source { margin-top: 22px; font-size: .86rem; color: #6B6A63; }
.jl .jl-back { margin-top: 18px; font-size: .9rem; }

/* stories and humor */
.jl .jl-story { margin: 0 0 22px; padding: 16px 20px; background: #fff; border: 1px solid #ecdcc4; border-top: 3px solid #c9a45c; border-radius: 10px; }
.jl .jl-story h3 { margin-top: 0; }
.jl .jl-story .jl-src { font-size: .82rem; color: #6B6A63; margin: 6px 0 0; }
.jl .jl-jokes { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.jl .jl-jokes li { margin: 0; padding: 12px 14px; background: #faf6f0; border-radius: 8px; font-size: .95rem; line-height: 1.55; white-space: pre-line; }
.jl .jl-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.jl .jl-toc a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #f6ede2; color: #94562a; text-decoration: none; font-size: .84rem; font-weight: 600; }

/* the library index */
.jl.jl-index { max-width: none; }
.jl-index .jl-search { width: 100%; max-width: 520px; padding: 11px 16px; margin: 0 0 6px; border: 1.5px solid #e2cfb4; border-radius: 999px; font-size: 1rem; box-sizing: border-box; }
.jl-index .jl-search:focus { outline: 0; border-color: #b87333; box-shadow: 0 0 0 3px rgba(184, 115, 51, .18); }
.jl-index .jl-count { margin: 0 0 18px; font-size: .86rem; color: #6B6A63; }
.jl-index .jl-feature { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; margin: 6px 0 26px; }
.jl-index .jl-feature a { display: block; padding: 14px 16px; background: #fff; border: 1px solid #ecdcc4; border-top: 3px solid #c9a45c; border-radius: 10px; text-decoration: none; color: #1f1b16; box-shadow: 0 1px 3px rgba(31, 27, 22, .06); }
.jl-index .jl-feature a:hover { box-shadow: 0 6px 18px rgba(31, 27, 22, .12); }
.jl-index .jl-feature b { display: block; font-family: Lora, Georgia, serif; font-size: 1.05rem; color: #1f1b16; }
.jl-index .jl-feature span { font-size: .85rem; color: #6B6A63; }
.jl-index .jl-topic { margin: 0 0 26px; }
.jl-index .jl-topic h2 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.jl-index .jl-topic h2 small { font-family: inherit; font-size: .78rem; font-weight: 600; color: #94562a; }
.jl-index .jl-list { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 26px; }
.jl-index .jl-list li { margin: 0 0 7px; break-inside: avoid; font-size: .95rem; line-height: 1.4; }
.jl-index .jl-list a { text-decoration: none; color: #2E2C27; }
.jl-index .jl-list a:hover { color: #94562a; text-decoration: underline; }
.jl-index .jl-hidden { display: none; }
@media (max-width: 600px) { .jl-index .jl-list { columns: 1; } .jl h2 { font-size: 1.28rem; } }

/* Hebrew pages: the theme's title band reads right to left too */
.jl-rtl #loop-meta .loop-title, .jl-rtl #loop-meta .loop-description { direction: rtl; }

/* buttons inside the "when you need help" pages */
.jl .btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 20px; }
.jl .btn { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 1.5px solid #94562a; font-weight: 600; font-size: .92rem; text-decoration: none; line-height: 1.3; }
.jl .btn.gold { background: #94562a; color: #fff; }
.jl .btn.gold:hover { background: #7a4622; color: #fff; }
.jl .btn.ghost { background: transparent; color: #94562a; }

/* library tools: Hebrew date calculator and this week's Torah portion (learn-tools.js) */
.jo-hdate { margin: 0 0 24px; padding: 18px 20px; background: #fff; border: 1px solid #ecdcc4; border-top: 4px solid #94562a; border-radius: 12px; }
.jo-hdate-form { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-end; }
.jo-hdate-l { display: flex; flex-direction: column; gap: 4px; font-size: .86rem; font-weight: 600; }
.jo-hdate-l input { padding: 9px 12px; border: 1.5px solid #e2cfb4; border-radius: 8px; font: inherit; }
.jo-hdate-sun { font-size: .92rem; padding-bottom: 10px; }
.jo-hdate-btns { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; }
.jo-hdate-b { padding: 9px 16px; border: 0; border-radius: 999px; background: #94562a; color: #fff; font-weight: 600; cursor: pointer; }
.jo-hdate-b:hover { background: #7a4622; }
.jo-hdate-out { margin-top: 14px; }
.jo-hdate-res { font-size: 1.08rem; }
.jo-hdate-ev { font-size: .88rem; color: #6B6A63; }
.jo-hdate-list { list-style: none; padding: 0 !important; margin: 0; }
.jo-hdate-list li { padding: 6px 0; border-bottom: 1px dashed #ecdcc4; }
.jo-parsha-now-in { margin: 0 0 20px; padding: 12px 16px; background: #faf6f0; border-inline-start: 4px solid #c9a45c; border-radius: 8px; }
.jo-parsha-now-k { color: #6B6A63; }
.jo-parsha-now-a { margin-inline-start: 8px; font-weight: 600; }
.jl h3.jo-parsha-this-week { background: #faf3e8; padding: 4px 8px; border-radius: 6px; }
