@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700&display=swap');
:root{--wine:#006e7b;--ink:#006e7b;--muted:#526e70;--paper:#fff;--line:#d9e5df;--gold:#629c77;--soft:#ecefe8;--mint:#9bceaa}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 Assistant,Arial,sans-serif}a{color:inherit;text-decoration:none}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:5px}a,button{touch-action:manipulation}header{background:#fff;border-bottom:1px solid var(--wine)}.wrap,.header-inner{width:min(1160px,calc(100% - 64px));margin:auto}.header-inner{display:flex;justify-content:space-between;align-items:center;min-height:100px;gap:24px}.brand{display:flex;align-items:center;gap:24px}.brand-name{font:600 51px/1 Assistant,Arial,sans-serif;letter-spacing:-2px}.brand-dot{color:var(--wine)}.brand>span+span{font-size:14px;border-right:1px solid var(--line);padding-right:24px;color:var(--muted)}nav{display:flex;align-items:center;gap:30px;font-size:15px}nav a:hover{color:var(--wine)}.original{border:1px solid var(--line);padding:8px 16px;border-radius:16px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Assistant,Arial,sans-serif;font-weight:600;line-height:1.2}h1{font-size:clamp(40px,5vw,64px);margin:10px 0 18px}h2{font-size:36px;margin-bottom:12px}h3{font-size:28px;margin-bottom:12px}.eyebrow{color:var(--wine);font-size:14px;letter-spacing:.05em}.intro{padding:56px 0 40px;display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.intro p{color:var(--muted);max-width:640px;font-size:18px;margin-bottom:0}.intro-mark{font-family:Assistant,Arial,sans-serif;font-size:100px;color:var(--line);line-height:1;user-select:none}.section-heading{margin-bottom:24px}.section-heading p{color:var(--muted)}.books{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.book{min-height:235px;border:1px solid var(--line);border-top:5px solid var(--gold);border-radius:16px;background:#fff;display:flex;flex-direction:column;padding:28px 24px;transition:transform .2s,box-shadow .2s}.book:hover{transform:translateY(-4px);box-shadow:0 12px 25px #302c2910}.book.active{background:var(--wine);color:white;border-color:var(--wine)}.book .number{font-size:14px;opacity:.65;margin-bottom:24px}.book h3{font-size:34px}.book .book-info{font-size:14px;opacity:.8}.book .book-link{margin-top:auto;padding-top:20px;font-size:14px}.home-section{padding-bottom:54px}.holidays-section{padding:40px 0;border-top:1px solid var(--line)}.holidays{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.holiday{background:var(--soft);padding:24px;border:1px solid transparent;border-radius:16px}.holiday:hover{border-color:var(--gold)}.holiday h3{font-size:25px;margin-bottom:8px}.holiday span{font-size:14px;color:var(--muted)}.breadcrumb{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:14px;padding-top:30px}.breadcrumb a{text-decoration:underline;text-underline-offset:4px}.book-banner{display:flex;justify-content:space-between;align-items:center;padding:30px 0;border-bottom:1px solid var(--line);margin-bottom:32px}.book-banner p{margin:0;color:var(--muted)}.book-count{display:flex;gap:36px}.book-count strong{font-family:Assistant,Arial,sans-serif;font-size:42px;display:block;line-height:1.3;color:var(--wine)}.book-count span{font-size:14px;color:var(--muted)}.parsha-index{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:26px 0 50px}.parsha-index a{padding:20px;border:1px solid var(--line);border-radius:16px;background:white}.parsha-index a:hover,.parsha-nav a[aria-current=page]{background:var(--wine);color:white}.parsha-index h3{font-size:25px;margin:4px 0 8px}.parsha-index small{font-size:14px}.parsha-index .number{font-size:13px;color:var(--gold)}.parsha-nav{display:flex;flex-wrap:wrap;gap:8px;padding:25px 0}.parsha-nav a{border:1px solid var(--line);padding:7px 15px;border-radius:16px;font-size:14px}.materials-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin:20px 0 24px}.materials-head p{font-size:14px;color:var(--muted)}.materials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.material{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;display:flex;flex-direction:column}.material-image{height:205px;background:var(--soft);display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--line);padding:12px}.material-image img{height:100%;width:100%;object-fit:contain}.material-image.fallback{font:36px Assistant,Arial,sans-serif;color:var(--wine)}.material-body{padding:22px;display:flex;flex-direction:column;flex:1}.verse{font-size:14px;color:var(--wine);margin-bottom:10px}.material h3{font-size:27px}.actions{display:flex;gap:9px;margin-top:auto;padding-top:18px;flex-wrap:wrap}.actions a,.button{display:inline-block;background:var(--wine);color:#fff;padding:10px 16px;font-size:14px;border:1px solid var(--wine);border-radius:16px;text-align:center}.actions a.secondary{background:white;color:var(--wine)}.format-note{font-size:13px;color:var(--muted);margin:12px 0 0}.tramp{border-top:1px solid var(--line);margin-top:50px;padding:35px 0 45px;display:flex;gap:24px;align-items:center}.tramp img{width:80px;height:80px;object-fit:contain;border-radius:50%}.tramp h2{font-size:30px;margin:0 0 8px}.tramp p{margin:0;color:var(--muted)}.community{padding-top:45px;padding-bottom:40px;border-top:1px solid var(--line)}.channel{display:flex;justify-content:space-between;align-items:center;gap:24px;background:var(--soft);padding:26px 30px;border-radius:16px;margin-bottom:32px}.channel h3{margin-bottom:7px}.channel p{margin:0;color:var(--muted)}.community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;text-align:center}.community-grid article{padding:20px}.community-grid img{border-radius:50%;object-fit:contain;margin-bottom:16px}.community-grid h3{font-size:27px}.community-grid p{color:var(--muted);font-size:15px}.community-grid a{color:var(--wine);text-decoration:underline;text-underline-offset:5px;font-size:15px}footer{border-top:1px solid var(--line);padding:25px 0;display:flex;justify-content:space-between;gap:20px;font-size:14px;color:var(--muted)}.skip{position:absolute;top:-100px;background:var(--wine);color:white;padding:10px;z-index:10}.skip:focus{top:0}.empty{padding:40px;background:var(--soft)}@media(max-width:950px){.books{grid-template-columns:repeat(3,1fr)}.holidays{grid-template-columns:repeat(3,1fr)}.materials{grid-template-columns:repeat(2,1fr)}.parsha-index{grid-template-columns:repeat(4,1fr)}.brand>span+span{display:none}nav{gap:18px}.intro-mark{display:none}}@media(max-width:600px){.wrap,.header-inner{width:calc(100% - 32px)}.header-inner{flex-direction:column;gap:15px;padding:20px 0;min-height:0}.brand-name{font-size:43px}nav{gap:19px;font-size:14px;flex-wrap:wrap;justify-content:center}.original{padding:4px 9px}.intro{padding:34px 0 30px}.intro p{font-size:16px}.books{grid-template-columns:repeat(2,1fr);gap:12px}.book{min-height:185px;padding:20px}.book .number{margin-bottom:12px}.book h3{font-size:30px}.holidays{grid-template-columns:repeat(2,1fr)}.holiday{padding:20px 16px}.holiday h3{font-size:23px}.materials{grid-template-columns:1fr}.parsha-index{grid-template-columns:repeat(3,1fr);gap:9px}.parsha-index a{padding:14px 12px}.parsha-index h3{font-size:23px}.book-banner{align-items:flex-start;gap:20px}.book-count{gap:18px;padding-top:20px}.book-count strong{font-size:30px}.book-count span{font-size:13px}.materials-head{display:block}.channel{flex-direction:column;align-items:stretch;padding:24px}.community-grid{grid-template-columns:1fr;gap:6px}.community-grid article{padding:20px}.tramp{align-items:flex-start}.tramp img{width:60px;height:60px}footer{flex-direction:column;gap:6px}.material-image{height:225px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.book{transition:none}}

.material-image .image-viewport{display:block;width:100%;height:100%;overflow:hidden}

/* Brand elements matched to aravabook.co.il. */
body{font-size:18px}
.brand-logo{display:block;width:190px;height:auto}
.brand-label{font-size:18px;border-right:1px solid var(--line);padding-right:24px;color:var(--wine)}
nav{font-size:20px;font-weight:500}
.original{border-color:var(--mint);border-radius:20px;background:var(--mint);color:#164e55}
nav a:hover{text-decoration:underline;text-underline-offset:5px}
h1{font-size:clamp(40px,5vw,55px)}h2{font-size:38px}h3{font-weight:700}
.intro{padding:52px 36px 48px;background:var(--soft);border-radius:0 0 48% 10% / 0 0 12% 5%;margin-bottom:38px}
.intro p{font-size:22px;color:var(--wine)}.intro-mark{font-size:80px;color:var(--mint)}
.eyebrow{font-size:16px;letter-spacing:0}
.book{border-top-color:var(--mint)}.book h3{font-weight:700}.book.active{background:var(--wine)}
.book:hover{box-shadow:0 12px 25px #006e7b12}.book-info,.book-link{line-height:1.5}
.book-banner{background:var(--soft);padding:30px;border-radius:20px;border-bottom:0}
.parsha-index a:hover .number{color:#fff}.parsha-nav a{border-radius:20px;font-size:16px}
.actions a,.button{border-radius:20px;font-size:17px;font-weight:600;background:var(--mint);border-color:var(--mint);color:#164e55}
.actions a.secondary{color:var(--wine);border-color:var(--wine)}
.actions a:hover,.button:hover{background:#86bd97}.actions a.secondary:hover{background:var(--soft)}
.material h3{font-size:28px}.verse{font-size:16px}.material-image{background:#f2f5ef}
.channel{border-radius:20px}.community-grid a{font-size:18px}.community-grid p{font-size:18px}
@media(max-width:950px){.brand-label{display:none}.brand-logo{width:160px}nav{font-size:18px;gap:18px}}
@media(max-width:600px){.brand-logo{width:170px}.header-inner{padding:16px 0;gap:12px}nav{font-size:17px;gap:16px}.intro{padding:30px 20px 36px;margin-bottom:28px}.intro p{font-size:20px}.book-banner{padding:24px 20px}.book-count{gap:14px}h2{font-size:32px}}

/* Stronger brand contrast across the library. */
:root{--ink:#193b3d;--muted:#435c5d;--line:#bad0c6;--soft:#e0eddf;--mint:#9bceaa}
header{border-bottom:2px solid var(--wine)}
h1,h2,h3{color:var(--wine)}
.intro{background:#006e7b;color:#fff;border-radius:0 0 36px 36px;padding-top:40px;padding-bottom:40px}
.intro h1,.intro p{color:#fff}.intro .eyebrow{color:#d6eddb}.intro-mark{color:#9bceaa}
.book{background:#e0eddf;border-top:5px solid #629c77}
.book.active{background:#006e7b;border-color:#006e7b}
.book.active h3{color:#fff}
.book .number,.book .book-info{opacity:1}
.book.active .number,.book.active .book-info{color:#d6eddb}
.book .book-link{font-size:16px;font-weight:700}
.holiday{background:#d7e9d6;border:1px solid #aecbac}
.holiday span{color:#355657}
.book-banner{background:#006e7b;color:#fff}
.book-banner h1,.book-banner p,.book-banner .book-count strong{color:#fff}
.book-banner .eyebrow,.book-banner .book-count span{color:#d6eddb}
.parsha-index a{background:#e0eddf;border-color:#aac8bb}
.parsha-index a:hover h3{color:#fff}
.parsha-index .number{color:#3a7652;font-weight:700}
.parsha-nav a{background:#eff5ed;color:#214e52;border-color:#aac8bb}
.parsha-nav a[aria-current=page]{background:#006e7b;color:#fff}
.actions a,.button{background:#006e7b;color:#fff;border-color:#006e7b;font-weight:700}
.actions a:hover,.button:hover{background:#00515b}
.actions a.secondary{background:#e0eddf;color:#005963}
.material{border-color:#aec6bb;box-shadow:0 4px 14px #153f3c0c}
.material-image{background:#dfebdc}
.channel{background:#d4e6d1;border:1px solid #adcaaa}
.original{background:#9bceaa;color:#174f43;font-weight:700}
.community-grid p{color:#435c5d}

/* Alternating warm and botanical surfaces, continuing Arava's palette. */
:root{--paper:#e4ecdf}
body{background:var(--paper)}
header{background:#f4f0e4}
.home-section{background:#f3efdf;border:1px solid #d4d9be;border-radius:24px;padding:28px;margin-bottom:32px}
.holidays-section{background:#cddfc9;border:1px solid #adc6ac;border-radius:24px;padding:28px;margin-bottom:36px}
.book:not(.active){background:#e0ebd9}
.holiday{background:#edf0de;border-color:#afc5a5}
.material{background:#f6f0e2}
.material-image{background:#d1e0c9;border-bottom-color:#b5c9ac}
.material-body{background:#f6f0e2}
.parsha-index a{background:#f1edda;border-color:#afc4a4}
.parsha-nav a{background:#f1edda}
.tramp{background:#cddfc9;border:1px solid #adc6ac;border-radius:24px;padding:28px;margin-bottom:36px}
.community{background:#f0ead9;border:1px solid #d1ceb6;border-radius:28px;padding:32px;margin-top:20px;margin-bottom:28px}
.channel{background:#c8ddc2;border-color:#a6c39e}
.community-grid article{background:#e1e8d3;border-radius:20px}
footer{border-top-color:#aec2a5}
@media(max-width:600px){
 .home-section,.holidays-section{padding:22px 16px;border-radius:20px}
 .home-section .book{padding:18px 12px}
 .community{padding:24px 16px;border-radius:20px}
 .community-grid{gap:16px}
 .tramp{padding:24px 18px}
}

/* Shared Torah and holiday panels and cards. */
.home-section,.holidays-section{background:#faf6e9;border:1px solid #d4d9be;border-radius:24px;padding:28px;margin-bottom:32px}
.holidays{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.home-section .book,.holidays-section .book{padding:28px 24px}
@media(max-width:600px){
 .home-section,.holidays-section{padding:22px 16px;border-radius:20px}
 .home-section .book,.holidays-section .book{padding:18px 12px}
 .holidays{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
}

.holidays .book{align-items:center;text-align:center;gap:8px}
.holidays .book h3{margin-bottom:0;font-size:30px}
.holiday-motif{display:block;width:144px;height:120px;object-fit:contain;margin:auto}
.holidays .book .book-link{padding-top:4px}
@media(max-width:600px){.holiday-motif{width:108px;height:90px}.holidays .book h3{font-size:25px}}
.holiday-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:auto}
.holiday-links a{font-size:16px;font-weight:700;text-decoration:underline;text-underline-offset:4px;padding:4px 8px}
.holiday-links a:hover{color:#00515b}

/* Approved illustrated holiday series, with transparent oval backgrounds. */
.holiday-motif{width:200px;height:180px;max-width:100%;object-fit:contain}
.holidays .book{gap:12px}
@media(max-width:600px){.holiday-motif{width:140px;height:132px}.holidays .book{gap:8px}}

.tramp-link{display:inline-block;color:var(--wine);font-weight:700;text-decoration:underline;text-underline-offset:5px;padding:8px 0}.tramp-link:hover{text-decoration-thickness:2px}

/* Tramp cards follow the supplied Tishrei template. */
.tramp-section{display:grid;gap:22px;margin:50px 0 36px}
.tramp-card{display:flex;align-items:center;justify-content:space-between;gap:40px;padding:36px;background:#f0eadc;border:1px solid #ded2b9;border-radius:5px}
.tramp-copy{flex:1;min-width:0}
.tramp-card .tramp-label{font:700 21px/1.5 Assistant,Arial,sans-serif;color:#68715b;letter-spacing:.035em;margin:0 0 16px}
.tramp-card h2:not(.tramp-label){font-family:Georgia,'Times New Roman',serif;font-size:32px;line-height:1.35;font-weight:700;color:#302c28;margin:0 0 18px}
.tramp-card .tramp-description{font-size:20px;line-height:1.6;color:#756e62;margin:0 0 24px}
.tramp-card .tramp-read{display:inline-block;color:#833e4c;font-size:20px;font-weight:600;padding:6px 0;text-underline-offset:5px}
.tramp-card .tramp-read:hover{text-decoration:underline}
.tramp-card .tramp-portrait{display:block;flex:0 0 168px;width:168px;height:168px;object-fit:cover;border:7px solid #fff;border-radius:50%;box-shadow:0 8px 28px #65553918}
.tramp-empty .tramp-description{margin-bottom:0}
@media(max-width:600px){.tramp-card{padding:26px 22px;gap:22px;flex-direction:column-reverse;align-items:flex-start}.tramp-card .tramp-portrait{flex-basis:auto;width:126px;height:126px;align-self:center;border-width:5px}.tramp-card h2:not(.tramp-label){font-size:28px}.tramp-card .tramp-description,.tramp-card .tramp-read{font-size:18px}}

/* Companion newsletters use the same Tishrei card design as Tramp. */
.parsha-extras{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:50px 0 36px}
.parsha-extras .tramp-section,.riddle-section{display:grid;gap:22px;margin:0;min-width:0}
.parsha-extras .tramp-card{gap:22px;padding:28px}
.parsha-extras .tramp-portrait{flex-basis:126px;width:126px;height:126px;border-width:5px}
.parsha-extras .tramp-card h2:not(.tramp-label){font-size:28px}
@media(max-width:1000px){.parsha-extras{grid-template-columns:1fr}}
@media(max-width:600px){.parsha-extras .tramp-card{padding:26px 22px}.parsha-extras .tramp-portrait{flex-basis:auto}}

/* Occasional long-form articles, below study sheets. */
.articles-section{margin:44px 0 36px}
.articles-section>h2{font-size:30px;color:var(--teal);margin:0 0 20px}
.articles-list{display:grid;gap:18px}
.article-card{display:flex;align-items:center;gap:32px;padding:30px 32px;background:#f6f0e2;border:1px solid #d6cbb7;border-inline-start:5px solid #833e4c;border-radius:5px}
.article-copy{flex:1;min-width:0}
.article-kicker{font-size:17px;font-weight:600;color:#68715b;margin:0 0 10px}
.article-card h3{font-family:Georgia,'Times New Roman',serif;font-size:29px;line-height:1.4;color:#302c28;margin:0 0 12px}
.article-description{font-size:19px;line-height:1.65;color:#625d53;margin:0;max-width:800px}
.article-read{flex-shrink:0;color:#833e4c;font-size:19px;font-weight:700;text-decoration:underline;text-underline-offset:5px;padding:10px 0}
.article-read:hover{color:#006e7b}
@media(max-width:700px){.article-card{flex-direction:column;align-items:flex-start;gap:15px;padding:24px}.article-card h3{font-size:26px}.article-description{font-size:18px}}

.holiday-banner-motif{object-fit:contain;flex-shrink:0}
.holiday-jumps{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 40px}
.holiday-jumps a{padding:10px 20px;border:1px solid #b9c7b0;border-radius:25px;color:#006e7b;background:#f6f0e2;font-weight:700}
.holiday-content{scroll-margin-top:30px;margin:0 0 60px}
.holiday-description{font-size:18px;line-height:1.65;color:#625d53;margin:0 0 22px}
.holiday-source{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:24px 0;padding:24px 30px;background:#f6f0e2;border:1px solid #d6cbb7;border-radius:5px}
.holiday-source h3{font-size:25px;margin:0;color:#006e7b}
.holiday-source p{font-size:18px;margin:12px 0 0;color:#625d53}
.holiday-extras .tramp-card h3{font-family:Georgia,'Times New Roman',serif;font-size:28px;line-height:1.35;color:#302c28;margin:0 0 18px}
@media(max-width:700px){.holiday-source{flex-direction:column;align-items:flex-start}.holiday-banner-motif{width:100px;height:100px}.holiday-content{margin-bottom:40px}}

.nach-home{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:36px;background:#f6f0e2;border:1px solid #d6cbb7;border-radius:5px;margin:36px 0}.nach-home p{max-width:680px;margin-bottom:0}.nach-home .button{flex-shrink:0}.nach-video{padding:30px;background:#f6f0e2;border:1px solid #d6cbb7;border-radius:5px;margin-bottom:48px}.video-frame{width:100%;aspect-ratio:16/9;min-height:200px;background:#171c1b;margin:24px 0 18px}.video-frame iframe{display:block;width:100%;height:100%;min-height:200px;border:0}.video-help{margin-bottom:8px}.video-note{font-size:16px;color:#625d53}.header-inner>nav{flex-wrap:wrap;justify-content:center}@media(max-width:700px){.nach-home{flex-direction:column;align-items:flex-start;padding:24px}.nach-video{padding:16px}.nach-video h2{font-size:30px}}

.video-idle{background:#e8eddf;display:grid;place-items:center;border:1px solid #bccab4;color:#006e7b}.video-welcome{text-align:center;padding:26px;max-width:640px}.video-welcome h3{font-size:38px;margin:12px 0}.video-welcome p{color:#526e70}.video-welcome button{font:inherit;cursor:pointer;border:0}.video-frame[hidden]{display:none}.video-retry{font:inherit;color:#006e7b;background:#fff8e9;border:1px solid #b9c7b0;border-radius:5px;padding:9px 18px;cursor:pointer}

.video-poster{display:block;position:relative;width:100%;height:100%;min-height:200px;padding:0;border:0;background:#132924;cursor:pointer;overflow:hidden;color:#fff}.video-poster img{display:block;width:100%;height:100%;object-fit:cover}.video-frame .video-poster img{position:absolute;inset:0}.play-disc{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);display:grid;place-items:center;width:82px;height:60px;border-radius:16px;background:#a32027;color:white;font-size:32px;box-shadow:0 4px 20px #0005}.video-poster:hover .play-disc{background:#c52830}.poster-title{position:absolute;bottom:0;right:0;left:0;padding:30px 20px 14px;background:linear-gradient(transparent,#000b);font-size:22px;text-align:right}.material>.video-poster{aspect-ratio:16/9;height:auto}.material>.video-poster img{aspect-ratio:16/9}

/* Illustrated Torah cards: three across, then two centered, in reading order. */
.books{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px}.books>.book{grid-column:span 2;min-height:340px;align-items:center;text-align:center;padding:24px 18px}.books>.book:nth-child(4){grid-column:2 / span 2}.books>.book:nth-child(5){grid-column:4 / span 2}.book-motif{display:block;width:100%;max-width:300px;height:195px;object-fit:contain;margin:6px auto 12px}.books .book-link{padding-top:14px}.intro p{max-width:none}@media(max-width:700px){.books{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.books>.book,.books>.book:nth-child(4),.books>.book:nth-child(5){grid-column:auto;min-height:290px;padding:20px 12px}.books>.book:last-child{grid-column:1 / -1;width:calc(50% - 7px);justify-self:center}.book-motif{height:155px}.books .book-info{font-size:14px}}@media(max-width:420px){.books{grid-template-columns:1fr}.books>.book,.books>.book:last-child{width:100%;grid-column:auto;min-height:300px}.book-motif{height:175px}}

/* Readable Torah articles retain the site's shared header and navigation. */
.torah-reader{padding-bottom:42px}.torah-reader .breadcrumb{font-size:14px}.torah-reader-heading{text-align:center;padding:32px 0 36px;max-width:820px;margin:auto}.torah-reader-kicker{font-size:16px;color:#527468;margin:0 0 12px}.torah-reader-heading h1{font-size:42px;line-height:1.35;text-wrap:balance;margin:0 auto;max-width:740px}.torah-reader-byline{font-size:17px;color:#527468;margin:14px 0 0}.torah-reader-article{max-width:680px;margin:auto}.torah-reader-article figure{margin:0 0 32px}.torah-reader-article figure img{display:block;width:100%;height:auto;border-radius:16px}.torah-reader-body{font-family:Arial,sans-serif;color:#263e3c;font-size:20px;line-height:1.95}.torah-reader-body p{margin:0 0 24px}.torah-reader-body strong{font-weight:700}.torah-reader-actions{justify-content:center;text-align:center;gap:12px;padding:0;margin:32px 0 12px}.torah-reader-actions a,.torah-reader-actions button{font:500 17px/1.6 Assistant,Arial,sans-serif;border:1px solid #006e7b;border-radius:24px;padding:9px 20px;cursor:pointer}.torah-reader-actions button.secondary{background:transparent;color:#006e7b}.torah-reader-back{margin-top:32px;border-top:1px solid #c8d2c0;padding-top:22px;font-size:17px}.torah-reader-back a{text-decoration:underline;text-underline-offset:4px}@media(max-width:600px){.torah-reader-heading{padding:24px 0 28px}.torah-reader-heading h1{font-size:31px}.torah-reader-byline{font-size:16px}.torah-reader-body{font-size:19px;line-height:1.9}.torah-reader-actions{gap:10px}.torah-reader .breadcrumb{gap:8px;font-size:13px}}@media print{body.torah-reader-page{background:white}.torah-reader-page>header,.torah-reader-page>.community,.torah-reader-page>footer,.torah-reader-page .breadcrumb,.torah-reader-page .torah-reader-actions,.torah-reader-page .torah-reader-back{display:none!important}.torah-reader-page #main{padding:0!important}.torah-reader{width:100%;padding:0}.torah-reader-heading{padding:0 0 20px}.torah-reader-heading h1{font-size:24pt}.torah-reader-body{font-size:12pt;line-height:1.65}.torah-reader-article figure{max-width:460px;margin:10px auto 20px}.torah-reader-body p{orphans:3;widows:3}.torah-reader-page .community,.torah-reader-page footer{display:none!important}}

a.material.study-card-link{color:inherit;text-decoration:none}a.material.study-card-link:hover{border-color:#629c77}a.material.study-card-link:focus-visible{outline:3px solid #629c77;outline-offset:4px}
/* Compact study cards after moving PDF downloads into the study pages. */
.materials:has(> .study-card-link){gap:20px;align-items:stretch}
.study-card-link{min-width:0}
.study-card-link .material-image{height:168px;flex:0 0 168px;padding:10px}
.study-card-link .material-body{padding:16px 18px}
.study-card-link .verse{font-size:14px;margin-bottom:6px}
.study-card-link h3{font-size:24px;line-height:1.25;margin-bottom:9px;overflow-wrap:anywhere}
.study-card-link .holiday-description{font-size:17px;line-height:1.5;margin:0}
@media(max-width:600px){
 .materials:has(> .study-card-link){gap:16px}
 .study-card-link .material-image{height:150px;flex-basis:150px;padding:9px}
 .study-card-link .material-body{padding:14px 16px}
 .study-card-link h3{font-size:22px;margin-bottom:8px}
}

a.material.study-card-link{color:inherit;text-decoration:none}a.material.study-card-link:hover{border-color:#629c77}a.material.study-card-link:focus-visible{outline:3px solid #629c77;outline-offset:4px}

a.material.study-card-link{color:inherit;text-decoration:none}a.material.study-card-link:hover{border-color:#629c77}a.material.study-card-link:focus-visible{outline:3px solid #629c77;outline-offset:4px}
/* A quiet, defined reading surface for Tramp Shel Torah articles. */
.torah-reader-body{background:#fffaf0;border:1px solid #c9d4bd;border-radius:18px;padding:34px 40px;box-shadow:0 4px 18px #36524508}
.torah-reader-body p:last-child{margin-bottom:0}
@media(max-width:600px){.torah-reader-body{padding:24px 20px;border-radius:14px}}
@media print{.torah-reader-body{background:white;border:0;border-radius:0;padding:0;box-shadow:none}}
/* Each Torah card leads with its own illustration; the series mark is secondary. */
.tramp-card .tramp-artwork{position:relative;flex:0 0 270px;width:270px;max-width:44%;padding-bottom:14px;align-self:center}
.tramp-card .tramp-article-image{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;border-radius:12px}
.tramp-card .tramp-series-badge{position:absolute;bottom:0;inset-inline-end:0;width:52px;height:52px;object-fit:cover;border:3px solid #fff;border-radius:50%;box-shadow:0 3px 10px #65553918}
.tramp-card .tramp-series-only{display:block;flex:0 0 64px;width:64px;height:64px;object-fit:cover;border:3px solid #fff;border-radius:50%}
.parsha-extras .tramp-card .tramp-artwork{flex-basis:200px;width:200px;max-width:43%}.parsha-extras .tramp-series-badge{width:44px;height:44px}
@media(max-width:1000px) and (min-width:601px){.parsha-extras .tramp-card .tramp-artwork{flex-basis:270px;width:270px;max-width:42%}}
@media(max-width:600px){.tramp-card .tramp-artwork,.parsha-extras .tramp-card .tramp-artwork{flex:0 0 auto;width:100%;max-width:100%;align-self:stretch;padding-bottom:18px}.tramp-card .tramp-series-badge,.parsha-extras .tramp-series-badge{width:48px;height:48px}.tramp-card .tramp-series-only{flex-basis:auto;align-self:center}}
