
:root{--navy:#10233f;--gold:#b8954d;--cream:#faf7f0;--paper:#fffdf8;--ink:#1c2430;--muted:#667085;--line:#e8dfcf;--soft:#f4ead8}*{box-sizing:border-box}body{margin:0;font-family:Georgia,'Times New Roman',serif;background:var(--cream);color:var(--ink);line-height:1.72}.container{max-width:1120px;margin:0 auto;padding:0 24px}.site-header{background:rgba(250,247,240,.94);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:3;backdrop-filter:blur(10px)}.nav-wrap{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:16px 24px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--navy);font-weight:700;font-size:20px}.brand-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid var(--gold);border-radius:50%;color:var(--gold);font-size:17px}nav{display:flex;gap:16px;flex-wrap:wrap;justify-content:flex-end}nav a{font-family:Arial,sans-serif;text-decoration:none;color:var(--navy);font-size:14px}nav a.active,nav a:hover{color:var(--gold)}.hero{padding:86px 0 58px;background:linear-gradient(135deg,#fffdf8 0%,#f2e6d3 100%);border-bottom:1px solid var(--line)}.kicker,.tag{font-family:Arial,sans-serif;text-transform:uppercase;letter-spacing:.12em;font-size:12px;color:var(--gold);font-weight:700}.hero h1{font-size:58px;line-height:1.05;margin:14px 0;color:var(--navy);max-width:900px}.hero p{font-size:22px;max-width:760px;color:#3f4754}.btn-row{display:flex;gap:14px;margin-top:28px;flex-wrap:wrap}.btn{display:inline-block;background:var(--navy);color:white;text-decoration:none;padding:12px 20px;border-radius:999px;font-family:Arial,sans-serif}.btn.secondary{background:transparent;color:var(--navy);border:1px solid var(--gold)}.section{padding:54px 0}.section h2,.page-title{color:var(--navy);font-size:34px;line-height:1.15}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.article-card,.topic-card{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:24px;text-decoration:none;color:inherit;box-shadow:0 10px 30px rgba(16,35,63,.04);display:block}.article-card:hover,.topic-card:hover{transform:translateY(-2px);transition:.2s;box-shadow:0 16px 40px rgba(16,35,63,.08)}.article-card h3,.topic-card h3{color:var(--navy);font-size:22px;line-height:1.25;margin:10px 0}.article-card p,.topic-card p{color:#4b5563}.article-card small{font-family:Arial,sans-serif;color:var(--muted)}.intro-band{background:var(--navy);color:white;padding:48px 0}.intro-band h2{color:white}.intro-band p{font-size:19px;max-width:860px}.article-shell{max-width:860px;margin:0 auto;background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:54px;margin-top:44px;margin-bottom:44px;box-shadow:0 16px 45px rgba(16,35,63,.05)}.article-meta{font-family:Arial,sans-serif;color:var(--muted);font-size:14px;margin-bottom:22px}.article-shell h1{color:var(--navy);font-size:44px;line-height:1.12;margin:0 0 12px}.article-shell h2{color:var(--navy);font-size:25px;margin-top:38px;border-top:1px solid var(--line);padding-top:24px}.article-shell p{font-size:19px;margin:18px 0}.article-shell ul{font-size:18px}.why{background:var(--soft);border-left:4px solid var(--gold);padding:14px 18px}.back-link{font-family:Arial,sans-serif;text-decoration:none;color:var(--gold)}.author-box{border-top:1px solid var(--line);margin-top:42px;padding-top:24px;color:#4b5563}.category-header{padding:58px 0 24px}.site-footer{border-top:1px solid var(--line);padding:36px 0;background:#fffdf8;color:#4b5563}.footer-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.all-list{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.note{font-family:Arial,sans-serif;color:var(--muted);font-size:14px}@media(max-width:850px){.nav-wrap{display:block}.brand{margin-bottom:14px}.hero h1{font-size:42px}.grid,.all-list,.footer-grid{grid-template-columns:1fr}.article-shell{padding:28px;margin:20px 16px}.article-shell h1{font-size:34px}.article-shell p{font-size:18px}nav{justify-content:flex-start}}

.logo-wrap{display:flex;justify-content:center;margin-bottom:26px}.hero-logo{max-width:460px;width:100%;height:auto;display:block}.service-box{background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:30px;box-shadow:0 14px 35px rgba(16,35,63,.06);display:flex;gap:22px;align-items:center;justify-content:space-between}.service-box h2{margin:0 0 8px;color:var(--navy);font-size:28px}.service-box p{margin:0;color:#4b5563;font-size:18px;max-width:720px}.service-box .btn{white-space:nowrap}.service-section{padding:36px 0 20px}.brand-logo-small{width:32px;height:32px;object-fit:cover;border-radius:50%;border:1px solid var(--gold)}@media(max-width:850px){.service-box{display:block}.service-box .btn{margin-top:18px}.hero-logo{max-width:360px}}


body{
background:
radial-gradient(circle at top, rgba(184,149,77,.08), transparent 30%),
#f8f4ec;
}
.site-header{
background:rgba(253,250,244,.97);
box-shadow:0 2px 18px rgba(16,35,63,.05);
}
.hero{
padding:100px 0 70px;
background:linear-gradient(180deg,#f8f4ec 0%,#f3ebdd 100%);
}
.logo-wrap{
text-align:center;
margin-bottom:28px;
}
.hero-logo{
max-width:520px;
width:100%;
filter:drop-shadow(0 8px 20px rgba(16,35,63,.08));
}
.hero h1{
max-width:1000px;
font-size:72px;
}
.service-box{
background:#fffdf8;
border:1px solid #e5d8c0;
border-radius:24px;
padding:34px;
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
box-shadow:0 12px 30px rgba(16,35,63,.06);
}
.service-section{padding:30px 0 10px;}
.article-card,.topic-card{
background:#fffdf9;
}
.article-card:hover,.topic-card:hover{
border-color:#b8954d;
}
.intro-band{
background:linear-gradient(135deg,#10233f 0%,#18345c 100%);
}
.section h2,.page-title{
font-size:48px;
margin-bottom:26px;
}


/* V4 visual refinement: white masthead, stronger navy/gold, cleaner white journal feel */
:root{
  --navy:#0b2342;
  --navy2:#143861;
  --gold:#c09a43;
  --gold2:#d7b765;
  --cream:#f7f1e6;
  --paper:#ffffff;
  --line:#d8bd75;
  --soft:#fbf8f1;
}
body{
  background:linear-gradient(180deg,#ffffff 0%, #f7f1e6 42%, #ffffff 100%);
  color:#172235;
}
.site-header{
  background:#ffffff;
  border-bottom:2px solid var(--gold);
  box-shadow:0 6px 22px rgba(11,35,66,.08);
}
.nav-wrap{padding:14px 24px;}
.brand{color:var(--navy);}
.brand-mark{border:1.5px solid var(--gold);color:var(--gold);background:#fffdf8;}
nav a{color:var(--navy);font-weight:600;}
nav a.active, nav a:hover{color:var(--gold);}

.hero{
  padding:0 0 64px;
  background:
    linear-gradient(180deg,#ffffff 0%,#ffffff 32%,#f7f1e6 32%,#f7f1e6 100%);
  border-bottom:2px solid var(--gold);
  position:relative;
}
.logo-wrap{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#ffffff;
  border-top:3px solid var(--gold);
  border-bottom:3px solid var(--gold);
  padding:34px 24px 30px;
  margin-bottom:56px;
  box-shadow:0 10px 28px rgba(11,35,66,.07);
  display:flex;
  justify-content:center;
  align-items:center;
}
.hero-logo{
  max-width:560px;
  width:min(560px,86vw);
  filter:none;
}
.kicker{
  color:var(--gold);
  letter-spacing:.18em;
  font-size:13px;
}
.hero h1{
  color:var(--navy);
  font-size:68px;
  max-width:1020px;
  text-shadow:0 1px 0 #fff;
}
.hero p{color:#29364a;max-width:830px;}
.btn{
  background:var(--navy);
  border:1px solid var(--navy);
  color:#fff;
  box-shadow:0 8px 20px rgba(11,35,66,.12);
}
.btn:hover{background:var(--gold);border-color:var(--gold);color:#fff;}
.btn.secondary{
  background:#ffffff;
  color:var(--navy);
  border:1.5px solid var(--gold);
}
.btn.secondary:hover{background:var(--navy);border-color:var(--navy);color:#fff;}

.service-section{
  background:#ffffff;
  padding:44px 0;
}
.service-box{
  background:#ffffff;
  border:2px solid var(--gold);
  border-radius:0;
  box-shadow:0 14px 36px rgba(11,35,66,.09);
  position:relative;
}
.service-box:before,.service-box:after{
  content:"";
  position:absolute;
  width:38px;height:38px;
  border-color:var(--gold);
  border-style:solid;
  pointer-events:none;
}
.service-box:before{left:10px;top:10px;border-width:2px 0 0 2px;}
.service-box:after{right:10px;bottom:10px;border-width:0 2px 2px 0;}
.service-box h2{color:var(--navy);font-size:32px;}

.section{padding:68px 0;background:#ffffff;}
.section h2,.page-title{
  color:var(--navy);
  font-size:46px;
  position:relative;
}
.section h2:after,.page-title:after{
  content:"";display:block;width:96px;height:3px;background:var(--gold);margin-top:14px;
}

/* Make featured essays feel richer without changing HTML */
.service-section + .section{
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 100%);
  border-top:3px solid var(--gold);
  border-bottom:3px solid var(--gold);
}
.service-section + .section h2{color:#ffffff;}
.service-section + .section h2:after{background:var(--gold2);}
.service-section + .section .article-card{
  background:#ffffff;
  border:2px solid rgba(215,183,101,.75);
  box-shadow:0 18px 42px rgba(0,0,0,.18);
}
.article-card,.topic-card{
  background:#ffffff;
  border:1.5px solid #e0c985;
  border-radius:0;
  box-shadow:0 10px 28px rgba(11,35,66,.08);
}
.article-card:hover,.topic-card:hover{
  border-color:var(--gold);
  box-shadow:0 18px 42px rgba(11,35,66,.16);
}
.article-card h3,.topic-card h3{color:var(--navy);}
.tag{color:var(--gold);font-weight:800;}
.article-card small{color:#4d5d72;}

.intro-band{
  background:#ffffff;
  color:var(--navy);
  border-top:3px double var(--gold);
  border-bottom:3px double var(--gold);
  padding:62px 0;
}
.intro-band h2{color:var(--navy);}
.intro-band h2:after{content:"";display:block;width:96px;height:3px;background:var(--gold);margin-top:14px;}
.intro-band p{color:#29364a;}

/* Article pages */
.category-header{background:#ffffff;border-bottom:2px solid var(--gold);}
.article-shell{
  background:#ffffff;
  border:2px solid #e0c985;
  border-radius:0;
  box-shadow:0 18px 48px rgba(11,35,66,.09);
}
.article-shell h1{color:var(--navy);}
.article-shell h2{border-top:2px solid #ead9a5;color:var(--navy);}
.why{background:#fffaf0;border-left:5px solid var(--gold);}
.author-box{border-top:2px solid #ead9a5;}
.back-link{color:var(--gold);font-weight:700;}

.site-footer{
  background:var(--navy);
  color:#ffffff;
  border-top:4px solid var(--gold);
}
.site-footer strong{color:#ffffff;}
.site-footer p{color:#e8eef7;}
.site-footer .back-link{color:var(--gold2);}

@media(max-width:850px){
  .hero{padding-bottom:48px;}
  .logo-wrap{padding:24px 18px;margin-bottom:38px;}
  .hero h1{font-size:42px;}
  .section h2,.page-title{font-size:36px;}
  .service-box{border-radius:0;}
}

/* Making Memories Together */
.seasonal-guides{
  background:#ffffff;
  border-top:3px double var(--gold);
  border-bottom:3px double var(--gold);
}
.section-subtitle{
  max-width:900px;
  font-size:18px;
  color:#6e5b2a;
  font-style:italic;
  margin-top:-8px;
  margin-bottom:18px;
}
.seasonal-intro{
  max-width:900px;
  font-size:19px;
  color:#29364a;
  margin-top:-6px;
  margin-bottom:26px;
}
.guide-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.guide-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#fffdf8;
  border:2px solid var(--gold);
  box-shadow:0 14px 36px rgba(11,35,66,.10);
  overflow:hidden;
}
.guide-card img{
  display:block;
  width:100%;
  height:330px;
  object-fit:contain;
  background:#fffdf8;
  padding:10px;
  border-bottom:1px solid #ead9a5;
}
.guide-card-body{
  padding:18px 20px 20px;
}
.guide-card h3{
  margin:0 0 6px;
  color:var(--navy);
  font-size:22px;
  line-height:1.2;
}
.guide-card span{
  font-family:Arial,sans-serif;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:12px;
  color:var(--gold);
  font-weight:800;
}
.guide-card:hover{
  transform:translateY(-2px);
  transition:.2s;
  box-shadow:0 18px 44px rgba(11,35,66,.16);
}

@media(max-width:1100px){
  .guide-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:850px){
  .guide-grid{grid-template-columns:1fr;}
  .guide-card img{height:auto;max-height:none;}
}

.parasha-group-title, .section-divider {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #1f3b57;
  font-family: Georgia, 'Times New Roman', serif;
}

/* Worksheets & Reflection Guides */
.worksheets-preview{
  background:#ffffff;
  border-top:3px double var(--gold);
  border-bottom:3px double var(--gold);
}
.worksheets-section{
  background:#ffffff;
}
.framework-section{
  background:#fffdf8;
  border-top:3px double var(--gold);
}
.worksheet-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.worksheet-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:#ffffff;
  border:1.5px solid #e0c985;
  box-shadow:0 10px 28px rgba(11,35,66,.08);
  padding:26px;
  min-height:230px;
  position:relative;
}
.worksheet-card:hover{
  transform:translateY(-2px);
  transition:.2s;
  border-color:var(--gold);
  box-shadow:0 18px 42px rgba(11,35,66,.16);
}
.worksheet-card h3{
  color:var(--navy);
  font-size:24px;
  line-height:1.22;
  margin:12px 0 10px;
}
.worksheet-card p{
  color:#4b5563;
  margin-bottom:46px;
}
.download-link{
  position:absolute;
  left:26px;
  bottom:22px;
  font-family:Arial,sans-serif;
  font-weight:800;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.10em;
  font-size:12px;
}
@media(max-width:1100px){
  .worksheet-grid{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:850px){
  .worksheet-grid{grid-template-columns:1fr;}
  .worksheet-card{min-height:auto;}
}


/* Editorial navigation polish */
.site-header nav a{
  padding:6px 2px;
}
.site-header nav a.nav-cta{
  border:1px solid var(--gold);
  border-radius:999px;
  padding:6px 12px;
}
.site-header nav a.nav-cta:hover{
  background:var(--navy);
  color:#fff;
  border-color:var(--navy);
}
.start-note{
  max-width:760px;
  margin-top:18px;
  padding:16px 18px;
  background:#fffdf8;
  border-left:4px solid var(--gold);
  color:#4b5563;
}
.footer-grid-expanded{
  grid-template-columns:1.5fr 1fr 1fr;
}
.site-footer h2{
  margin:0 0 6px;
  color:var(--gold);
  font-family:Arial,sans-serif;
  text-transform:uppercase;
  letter-spacing:.10em;
  font-size:12px;
}
.article-card:hover,.topic-card:hover{
  transform:translateY(-2px);
  transition:.18s ease;
  box-shadow:0 14px 34px rgba(16,35,63,.10);
}
@media(max-width:850px){
  .footer-grid-expanded{grid-template-columns:1fr;}
  .site-header nav{gap:10px 14px;}
  .site-header nav a.nav-cta{padding:5px 10px;}
}

.flagship-grid{grid-template-columns:repeat(4,1fr)}
.section-action{margin-top:24px}
.signature-series{background:linear-gradient(135deg,#fffdf8 0%,#f4ead8 100%);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.signature-series .container{position:relative}
.signature-series h2:before{content:"Signature Series";display:block;font-family:Arial,sans-serif;text-transform:uppercase;letter-spacing:.14em;font-size:12px;color:var(--gold);margin-bottom:8px}
.signature-series .article-card{border-color:#d8c292}
@media(max-width:850px){.flagship-grid{grid-template-columns:1fr}.section-action .btn{width:100%;text-align:center}}


/* Article library polish */
.weekly-note{font-family:Arial,sans-serif;font-size:15px;color:var(--navy);font-weight:700;margin:18px 0 0;}
.weekly-note.subtle{color:#4b5563;font-weight:600;}
.category-jump-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px;}
.category-jump-links a,.text-link{font-family:Arial,sans-serif;color:var(--navy);text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:7px 12px;background:#fffdf8;font-size:14px;}
.category-jump-links a:hover,.text-link:hover{border-color:var(--gold);color:var(--gold);}
.article-category-block{padding-top:38px;}
.article-category-block:nth-of-type(even){background:#fffdf8;}
.category-heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px;}
.category-heading-row h2{margin:0;}
.category-heading-row .section-subtitle{margin:10px 0 0;max-width:720px;}
@media(max-width:850px){.category-heading-row{display:block}.category-heading-row .text-link{display:inline-block;margin-top:12px}.category-jump-links a{font-size:13px}}


/* Continue Exploring polish */
.continue-exploring-section{background:#ffffff;}
.continue-exploring-section .section-subtitle{max-width:760px;margin-top:-8px;margin-bottom:24px;color:#4b5563;}
.continue-grid{display:grid;grid-template-columns:minmax(260px,.85fr) minmax(420px,1.55fr);gap:22px;align-items:stretch;}
.continue-card{border-radius:0;box-shadow:0 12px 34px rgba(16,35,63,.05);}
.continue-card .btn{margin-top:18px;}
.books-card{padding-bottom:28px;}
.book-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px;margin:20px 0 8px;}
.book-list div{border-top:1px solid var(--line);padding-top:12px;}
.book-list strong{display:block;color:var(--navy);font-size:17px;line-height:1.25;margin-bottom:4px;}
.book-list span{display:block;color:#4b5563;font-size:15px;line-height:1.45;}
.coming-note{margin-top:18px;font-size:15px;color:#4b5563;}
@media(max-width:850px){.continue-grid{grid-template-columns:1fr}.book-list{grid-template-columns:1fr}.continue-card .btn{display:inline-block;width:auto}}


/* Publication-style resource pages */
.publication-resource .note{font-size:18px;line-height:1.55;color:#4d5d72;margin:0 0 30px;}
.publication-resource .resource-body h2{break-after:avoid;page-break-after:avoid;margin-top:36px;}
.publication-resource .resource-body p,.publication-resource .resource-body li{font-size:19px;line-height:1.72;orphans:3;widows:3;}
.publication-resource .resource-body ul,.publication-resource .resource-body ol{margin:18px 0 24px 28px;padding-left:20px;}
.publication-resource .resource-body li{margin:8px 0;break-inside:avoid;page-break-inside:avoid;}
.publication-resource .resource-body strong{color:var(--navy);}
@media print{.site-header,.site-footer,.publication-resource + .section{display:none!important;}body{background:#fff;}.article-shell.publication-resource{border:0;box-shadow:none;margin:0;padding:0.5in 0.7in;max-width:none;}.publication-resource h1,.publication-resource h2,.publication-resource h3{break-after:avoid;page-break-after:avoid;}.publication-resource p,.publication-resource li{orphans:3;widows:3;}}


/* Journal Edition article pages */
.journal-article-shell{max-width:1080px;margin:0 auto;padding:48px 24px 34px;}
.journal-article-heading{background:#ffffff;border:2px solid #e0c985;box-shadow:0 18px 48px rgba(11,35,66,.08);padding:44px 48px;margin-top:18px;margin-bottom:28px;}
.journal-article-heading h1{color:var(--navy);font-size:48px;line-height:1.12;margin:10px 0 10px;max-width:900px;}
.journal-summary{font-size:20px;color:#334155;max-width:820px;margin:16px 0 0;}
.journal-actions{margin-top:24px;}
.journal-reader{background:#ffffff;border:2px solid #e0c985;box-shadow:0 18px 48px rgba(11,35,66,.09);padding:18px;}
.journal-pdf{display:block;width:100%;height:82vh;min-height:720px;border:0;background:#ffffff;}
.journal-card small:after{content:"";}
.section-divider{margin-top:46px;}
.section-divider:first-child{margin-top:0;}
.category-jump-links a,.text-link{font-family:Arial,sans-serif;color:var(--navy);font-weight:700;}
@media(max-width:850px){.journal-article-shell{padding:28px 16px}.journal-article-heading{padding:28px 24px}.journal-article-heading h1{font-size:34px}.journal-summary{font-size:18px}.journal-reader{padding:8px}.journal-pdf{height:72vh;min-height:520px}.journal-actions .btn{width:100%;text-align:center}}


/* Pen & Partner resource library */
.pen-partner-band{background:var(--navy);}
.pen-partner-band em{font-style:italic;}
.pen-partner-section .kicker{margin-bottom:8px;}
.resource-group{margin-top:34px;}
.resource-group h3{color:var(--navy);font-size:27px;line-height:1.18;margin:0 0 6px;}
.resource-card .tag{display:block;margin-bottom:10px;}
.resource-framework{border-color:#d8c292;}
.resource-guide{border-color:#e0c985;}
.resource-worksheet{border-color:#d8c292;}
.resources-soft-section{background:#fffdf8;border-top:1px solid var(--line);}
.resource-article-shell .journal-article-heading{border-color:#e0c985;}
@media(max-width:850px){.resource-group h3{font-size:24px;}}

.resource-reader-stack{margin-top:22px;}
.resource-reader-heading{padding:6px 6px 14px;}
.resource-reader-heading h2{color:var(--navy);font-size:24px;margin:6px 0 0;}

/* Fix Pen & Partner intro banner contrast */
.pen-partner-band{
  background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 100%);
  border-top:2px solid var(--gold);
  border-bottom:2px solid var(--gold);
  padding:64px 0;
}
.pen-partner-band h2{
  color:#fffdf8;
  font-size:34px;
  line-height:1.18;
  margin:0 0 18px;
}
.pen-partner-band h2:after{
  background:var(--gold);
}
.pen-partner-band p{
  color:#fffdf8;
  font-size:22px;
  line-height:1.75;
  max-width:940px;
  margin:0;
}
.pen-partner-band em{
  color:var(--gold);
  font-style:italic;
}
@media(max-width:850px){
  .pen-partner-band{padding:42px 0;}
  .pen-partner-band h2{font-size:28px;}
  .pen-partner-band p{font-size:19px;}
}

/* Curated homepage redesign */
.journal-home-hero h1{max-width:980px;}
.showcase-home .section{position:relative;}
.showcase-intro{padding-bottom:26px;}
.showcase-intro h2{max-width:900px;}
.showcase-section{padding:38px 0;background:#ffffff;}
.showcase-section.alternate-showcase{background:#fbf8f1;}
.showcase-feature-primary{padding-top:18px;background:linear-gradient(135deg,#0b2342 0%,#143861 100%);border-top:3px solid var(--gold);border-bottom:3px solid var(--gold);}
.showcase-card{display:grid;grid-template-columns:260px 1fr;gap:34px;align-items:center;background:#ffffff;border:2px solid #e0c985;box-shadow:0 18px 46px rgba(11,35,66,.09);padding:34px;position:relative;}
.showcase-card:before,.showcase-card:after{content:"";position:absolute;width:34px;height:34px;border-color:var(--gold);border-style:solid;pointer-events:none;}
.showcase-card:before{left:12px;top:12px;border-width:2px 0 0 2px;}
.showcase-card:after{right:12px;bottom:12px;border-width:0 2px 2px 0;}
.primary-showcase-card{border-color:var(--gold2);box-shadow:0 20px 55px rgba(0,0,0,.20);}
.showcase-label{font-family:Georgia,serif;font-size:30px;line-height:1.08;color:var(--navy);border-right:2px solid var(--gold);padding-right:28px;min-height:150px;display:flex;align-items:center;}
.showcase-content .tag{display:inline-block;margin-bottom:8px;}
.showcase-content h2{font-size:40px;margin:0 0 12px;color:var(--navy);}
.showcase-content h2:after{display:none;}
.showcase-content p{font-size:19px;color:#29364a;max-width:820px;margin:0 0 20px;}
.showcase-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px;}
.resource-showcase-card{background:linear-gradient(180deg,#ffffff 0%,#fffaf0 100%);}
.memory-card{grid-template-columns:235px 1fr 310px;align-items:center;}
.memory-image-link{display:block;border:1.5px solid #e0c985;background:#ffffff;padding:8px;box-shadow:0 10px 28px rgba(11,35,66,.10);}
.memory-image-link img{display:block;width:100%;height:auto;}
.closing-invitation .btn.secondary{background:#ffffff;}
.closing-invitation .btn.secondary:hover{background:var(--gold);border-color:var(--gold);}
.site-footer a.back-link{text-decoration:none;}
.site-footer a.back-link:hover{text-decoration:underline;text-decoration-color:var(--gold2);}
@media(max-width:980px){
  .showcase-card{grid-template-columns:1fr;gap:18px;padding:28px;}
  .showcase-label{border-right:0;border-bottom:2px solid var(--gold);padding-right:0;padding-bottom:18px;min-height:0;font-size:26px;}
  .showcase-content h2{font-size:32px;}
  .memory-card{grid-template-columns:1fr;}
  .memory-image-link{max-width:420px;}
}
@media(max-width:620px){
  .showcase-section{padding:26px 0;}
  .showcase-card{padding:24px 20px;}
  .showcase-content h2{font-size:28px;}
  .showcase-content p{font-size:17px;}
  .showcase-actions .btn{width:100%;text-align:center;}
}

/* Header book mark replaces the former Hebrew monogram. */
.brand-mark{
  width:44px;
  height:28px;
  object-fit:contain;
  border:0 !important;
  border-radius:0;
  background:transparent !important;
  display:block;
  flex:0 0 auto;
}
@media(max-width:850px){.brand-mark{width:40px;height:26px;}}

/* Header logo variation A: book seal + SBJ + journal name */
.brand{
  gap:14px;
  align-items:center;
  white-space:nowrap;
}
.brand-icon{
  width:48px;
  height:48px;
  border:1.6px solid var(--gold);
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fffdf8;
  flex:0 0 auto;
}
.brand-icon .brand-mark{
  width:31px;
  height:20px;
  object-fit:contain;
  display:block;
  border:0 !important;
  border-radius:0;
  background:transparent !important;
}
.brand-initials{
  font-family:Georgia,'Times New Roman',serif;
  font-size:36px;
  line-height:1;
  letter-spacing:.03em;
  color:var(--navy);
  font-weight:700;
}
.brand-divider{
  width:1.5px;
  height:36px;
  background:var(--gold);
  display:inline-block;
}
.brand-name{
  font-family:Georgia,'Times New Roman',serif;
  font-size:23px;
  line-height:1.05;
  color:var(--navy);
  font-weight:700;
}
@media(max-width:850px){
  .brand{gap:10px;white-space:normal;}
  .brand-icon{width:42px;height:42px;}
  .brand-icon .brand-mark{width:27px;height:18px;}
  .brand-initials{font-size:29px;}
  .brand-divider{height:30px;}
  .brand-name{font-size:20px;}
}
@media(max-width:480px){
  .brand{gap:8px;}
  .brand-icon{width:38px;height:38px;}
  .brand-icon .brand-mark{width:25px;height:16px;}
  .brand-initials{font-size:25px;}
  .brand-divider{height:26px;}
  .brand-name{font-size:18px;}
}


/* Clean SBJ header logo: larger gold book, divider, initials only. */
.brand{display:flex;align-items:center;text-decoration:none;color:var(--navy);}
.header-logo-sbj{width:300px;max-width:44vw;height:auto;display:block;}
@media(max-width:850px){.header-logo-sbj{width:235px;max-width:72vw;}}
@media(max-width:480px){.header-logo-sbj{width:205px;max-width:78vw;}}

/* Homepage polish: tighter hero, centered content block, lighter featured Parashah section. */
.journal-home-hero{
  padding:0 0 44px;
  background:linear-gradient(180deg,#ffffff 0%,#ffffff 26%,#f7f1e6 26%,#f7f1e6 100%);
}
.journal-home-hero .logo-wrap{
  padding:24px 24px 22px;
  margin-bottom:36px;
}
.journal-home-hero .hero-logo{
  max-width:500px;
  width:min(500px,82vw);
}
.journal-home-hero .kicker,
.journal-home-hero h1,
.journal-home-hero p,
.journal-home-hero .btn-row{
  max-width:760px;
  margin-left:auto;
  margin-right:auto;
}
.journal-home-hero h1{
  font-size:60px;
  line-height:1.08;
  margin-top:10px;
  margin-bottom:16px;
}
.journal-home-hero p{
  font-size:20px;
  line-height:1.65;
}
.journal-home-hero .btn-row{
  margin-top:18px;
}
.showcase-intro{
  padding-top:46px;
  padding-bottom:18px;
}
.showcase-feature-primary{
  background:#ffffff;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding-top:8px;
  padding-bottom:34px;
}
.showcase-feature-primary .primary-showcase-card{
  box-shadow:0 18px 46px rgba(11,35,66,.10);
}
@media(max-width:850px){
  .journal-home-hero{padding-bottom:38px;}
  .journal-home-hero .logo-wrap{padding:22px 18px 20px;margin-bottom:30px;}
  .journal-home-hero h1{font-size:42px;}
  .journal-home-hero p{font-size:18px;}
  .showcase-intro{padding-top:36px;}
}


/* Homepage final polish: smoother featured-section alternation and cleaner masthead. */
.header-logo-sbj{width:340px;max-width:48vw;}
.journal-home-hero .hero-logo{max-width:560px;width:min(560px,86vw);}
.showcase-intro{background:#ffffff;padding-top:42px;padding-bottom:16px;}
.showcase-feature-primary{background:#fbf8f1;border-top:0!important;border-bottom:0!important;padding-top:28px;padding-bottom:38px;}
.showcase-section{background:#ffffff;}
.showcase-section.alternate-showcase{background:#fbf8f1;}
.showcase-feature-primary .primary-showcase-card{box-shadow:0 16px 42px rgba(11,35,66,.08);}
@media(max-width:850px){.header-logo-sbj{width:270px;max-width:76vw;}.journal-home-hero .hero-logo{max-width:500px;width:min(500px,88vw);}}
@media(max-width:480px){.header-logo-sbj{width:230px;max-width:80vw;}}


/* A+ stabilization layer: accessibility, responsive navigation, and reader resilience */
html{scroll-behavior:smooth;}
*{box-sizing:border-box;}
img,svg{max-width:100%;}
:focus-visible{outline:3px solid var(--gold);outline-offset:3px;}
.skip-link{position:fixed;left:1rem;top:-5rem;z-index:9999;background:#fff;color:var(--navy);border:2px solid var(--gold);padding:.75rem 1rem;font-family:Arial,sans-serif;font-weight:700;text-decoration:none;}
.skip-link:focus{top:1rem;}
nav a[aria-current="page"]{color:var(--gold);}
.journal-pdf{width:100%;min-height:78vh;border:0;background:#fff;}
.journal-reader{overflow:hidden;}
.not-found{min-height:55vh;}
@media(max-width:850px){
  .nav-wrap{display:flex;flex-direction:column;align-items:flex-start;gap:.8rem;}
  .nav-wrap nav{width:100%;display:flex;overflow-x:auto;flex-wrap:nowrap;padding-bottom:.4rem;scrollbar-width:thin;}
  .nav-wrap nav a{flex:0 0 auto;}
  .journal-pdf{min-height:70vh;}
}
@media(max-width:520px){
  .container{padding-left:18px;padding-right:18px;}
  .article-shell,.journal-article-shell{margin-left:12px;margin-right:12px;}
  .journal-pdf{min-height:64vh;}
  .btn-row{gap:.7rem;}
  .btn-row .btn{width:100%;text-align:center;}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;}}


/* Homepage masthead copy: balanced, centered wrapping across screen sizes. */
.journal-home-hero .hero-statement{
  max-width:900px;
  margin:10px auto 14px;
  font-size:42px;
  line-height:1.2;
  text-align:center;
  text-wrap:balance;
}
.journal-home-hero .hero-byline{
  max-width:760px;
  margin:0 auto;
  font-size:19px;
  line-height:1.65;
  text-align:center;
  text-wrap:balance;
}
.journal-home-hero .kicker{
  text-align:center;
}
.journal-home-hero .btn-row{
  justify-content:center;
}
@media(max-width:850px){
  .journal-home-hero .hero-statement{
    max-width:20ch;
    font-size:34px;
    line-height:1.22;
    margin-bottom:16px;
  }
  .journal-home-hero .hero-byline{
    max-width:38ch;
    font-size:17px;
    line-height:1.65;
  }
}
@media(max-width:480px){
  .journal-home-hero .hero-statement{
    max-width:19ch;
    font-size:29px;
    line-height:1.24;
  }
  .journal-home-hero .hero-byline{
    max-width:33ch;
    font-size:16px;
    line-height:1.62;
  }
}


/* Homepage masthead refinement: concise three-line identity block. */
.journal-home-hero .hero-statement{
  max-width:760px;
}
.journal-home-hero .hero-byline-group{
  max-width:700px;
  margin:0 auto;
  text-align:center;
}
.journal-home-hero .hero-byline-group .hero-byline{
  max-width:none;
  margin:0 auto;
  text-wrap:balance;
}
.journal-home-hero .hero-byline-group .hero-perspective{
  margin-top:6px;
}
@media(max-width:850px){
  .journal-home-hero .hero-statement{
    max-width:22ch;
  }
  .journal-home-hero .hero-byline-group{
    max-width:40ch;
    padding:0 8px;
  }
}
@media(max-width:480px){
  .journal-home-hero .hero-statement{
    max-width:20ch;
    font-size:28px;
    line-height:1.25;
  }
  .journal-home-hero .hero-byline-group{
    max-width:34ch;
  }
  .journal-home-hero .hero-byline-group .hero-byline{
    font-size:16px;
    line-height:1.55;
  }
  .journal-home-hero .hero-byline-group .hero-perspective{
    margin-top:8px;
  }
}

/* Homepage masthead optical alignment: one cohesive, responsive copy block. */
.journal-home-hero .homepage-masthead-copy{
  width:min(100%, 680px);
  margin:0 auto;
  padding:0 18px;
  text-align:left;
}
.journal-home-hero .homepage-masthead-copy .kicker,
.journal-home-hero .homepage-masthead-copy .hero-statement,
.journal-home-hero .homepage-masthead-copy .hero-byline-group,
.journal-home-hero .homepage-masthead-copy .btn-row{
  max-width:none;
  margin-left:0;
  margin-right:0;
  text-align:left;
}
.journal-home-hero .homepage-masthead-copy .hero-statement{
  width:100%;
  margin-top:9px;
  margin-bottom:15px;
  font-size:42px;
  line-height:1.12;
  letter-spacing:-.012em;
  text-wrap:pretty;
}
.journal-home-hero .homepage-masthead-copy .hero-byline-group{
  width:100%;
}
.journal-home-hero .homepage-masthead-copy .hero-byline{
  max-width:none;
  font-size:18px;
  line-height:1.55;
  text-align:left;
  text-wrap:pretty;
}
.journal-home-hero .homepage-masthead-copy .hero-perspective{
  margin-top:8px;
}
.journal-home-hero .homepage-masthead-copy .btn-row{
  justify-content:flex-start;
  margin-top:20px;
}
@media(max-width:850px){
  .journal-home-hero .homepage-masthead-copy{
    width:min(100%, 600px);
    padding:0 22px;
  }
  .journal-home-hero .homepage-masthead-copy .hero-statement{
    font-size:36px;
    line-height:1.16;
  }
  .journal-home-hero .homepage-masthead-copy .hero-byline{
    font-size:17px;
  }
}
@media(max-width:520px){
  .journal-home-hero .homepage-masthead-copy{
    width:100%;
    max-width:390px;
    padding:0 20px;
    text-align:center;
  }
  .journal-home-hero .homepage-masthead-copy .kicker,
  .journal-home-hero .homepage-masthead-copy .hero-statement,
  .journal-home-hero .homepage-masthead-copy .hero-byline-group,
  .journal-home-hero .homepage-masthead-copy .hero-byline{
    text-align:center;
  }
  .journal-home-hero .homepage-masthead-copy .hero-statement{
    font-size:30px;
    line-height:1.2;
    letter-spacing:-.008em;
    margin-bottom:17px;
  }
  .journal-home-hero .homepage-masthead-copy .hero-byline{
    font-size:16px;
    line-height:1.5;
  }
  .journal-home-hero .homepage-masthead-copy .hero-perspective{
    margin-top:9px;
  }
  .journal-home-hero .homepage-masthead-copy .btn-row{
    justify-content:center;
    margin-top:22px;
  }
  .journal-home-hero .homepage-masthead-copy .btn-row .btn{
    width:auto;
    min-width:118px;
  }
}


/* Homepage masthead: intentional two-line desktop headline, centered mobile treatment. */
@media(min-width:851px){
  .journal-home-hero .homepage-masthead-copy{
    width:min(100%, 780px);
  }
  .journal-home-hero .homepage-masthead-copy .hero-statement span{
    white-space:nowrap;
  }
}
@media(max-width:850px){
  .journal-home-hero .homepage-masthead-copy .desktop-headline-break{
    display:none;
  }
}

/* Homepage masthead correction: preserve the intended two-line headline on desktop and tablet. */
@media (min-width:601px){
  .journal-home-hero .homepage-masthead-copy{
    width:calc(100% - 48px);
    max-width:900px;
    margin-left:auto;
    margin-right:auto;
  }
  .journal-home-hero .homepage-masthead-copy .hero-statement{
    width:100%;
    max-width:none;
    font-size:clamp(34px,3.1vw,42px);
    line-height:1.12;
  }
  .journal-home-hero .homepage-masthead-copy .hero-statement span{
    display:block;
    white-space:nowrap;
  }
  .journal-home-hero .homepage-masthead-copy .desktop-headline-break{
    display:none;
  }
}
@media (max-width:600px){
  .journal-home-hero .homepage-masthead-copy{
    width:100%;
    max-width:390px;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
  }
  .journal-home-hero .homepage-masthead-copy .hero-statement span{
    display:inline;
    white-space:normal;
  }
  .journal-home-hero .homepage-masthead-copy .desktop-headline-break{
    display:none;
  }
}

/* Desktop PDF reading experience */
@media (min-width: 851px){
  .journal-article-shell{
    max-width:1320px;
    padding-left:24px;
    padding-right:24px;
  }
  .journal-article-heading{
    max-width:1080px;
    margin-left:auto;
    margin-right:auto;
  }
  .journal-reader{
    width:100%;
    margin-left:auto;
    margin-right:auto;
    padding:14px;
    border-radius:2px;
  }
  .journal-pdf{
    height:88vh;
    min-height:800px;
    max-height:1100px;
  }
}

/* Parashah article actions use the same buttons as the rest of the site. */
.journal-inline-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  margin-top:22px;
  flex-wrap:wrap;
}
.journal-inline-actions .btn{
  text-decoration:none;
}
@media(max-width:850px){
  .journal-inline-actions{margin-top:18px;}
  .journal-inline-actions .btn{width:100%;text-align:center;}
}

/* Featured seasonal guide */
.guide-card-featured{
  grid-column:span 2;
}
.guide-card-featured img{
  height:540px;
}
@media(max-width:1100px){
  .guide-card-featured{grid-column:span 2;}
}
@media(max-width:850px){
  .guide-card-featured{grid-column:span 1;}
  .guide-card-featured img{height:auto;}
}

/* Manager Pass 03: native resource-page consistency */
.publication-resource > .back-link{display:inline-block;margin-bottom:22px;}
.publication-resource > .kicker{margin:0 0 8px;}
.publication-resource > h1 + .article-meta{margin-top:-2px;margin-bottom:14px;}
@media(max-width:850px){.publication-resource > .back-link{margin-bottom:18px;}}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}


/* Homepage Summer Series collection feature: compact collage of article mastheads. */
.summer-series-card{grid-template-columns:240px 1fr;}
.summer-series-visual{
  width:100%;
  max-width:240px;
  margin:0 auto;
  display:block;
  text-decoration:none;
}
.summer-series-visual img{
  display:block;
  width:100%;
  height:auto;
}
@media(max-width:980px){
  .summer-series-card{grid-template-columns:1fr;}
  .summer-series-visual{max-width:300px;margin:0 auto 4px;}
}
@media(max-width:520px){
  .summer-series-visual{max-width:260px;}
}

