/* Journal overview and articles (Journal and Article boards). */
.jr-hero { position: relative; height: 440px; overflow: hidden; background: var(--green-deep); color: #fff; }
.jr-hero__img, .jr-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.jr-hero__img img { object-fit: cover; }
.jr-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,22,16,.9) 0%, rgba(8,22,16,.4) 60%, rgba(8,22,16,.3) 100%); }
.jr-hero__text { position: absolute; left: 0; right: 0; bottom: 56px; }
.jr-hero__text .kicker { margin-bottom: 12px; }
.jr-hero h1 { max-width: 860px; font-size: clamp(36px, 5vw, 70px); line-height: 1.04; }
.jr-hero__intro { max-width: 640px; margin-top: 16px; font-size: 18px; line-height: 1.55; }
@media (prefers-reduced-motion: no-preference) {
  .jr-hero__img img { animation: kenburns 14s ease-out forwards; }
  .jr-hero__text > * { animation: rise .9s .2s both; }
}

.jr { padding-top: 40px; padding-bottom: 90px; }
.jr-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.jr-filter[hidden] { display: none; }
.fp { padding: 8px 15px; border-radius: 999px; border: 1.5px solid #cfc7b8; background: #fff; color: var(--green); font: 700 14px/1.2 var(--sans); cursor: pointer; }
.fp:hover { border-color: var(--green); }
.fp[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.tag { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.meta { font-size: 13.5px; color: #5f6e66; }

.feat { display: flex; flex-wrap: wrap; overflow: hidden; margin-bottom: 26px; background: #fff; border-radius: 24px; color: var(--green); text-decoration: none; transition: box-shadow .35s; }
.feat[hidden] { display: none; }
.feat:hover { color: var(--green); box-shadow: 0 18px 40px rgba(18,38,30,.12); }
.feat__img { flex: 1 1 420px; min-height: 300px; position: relative; overflow: hidden; }
.feat__img picture, .feat__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.feat__img img { object-fit: cover; transition: transform .9s; }
.feat:hover .feat__img img { transform: scale(1.05); }
.feat__body { flex: 1 1 380px; display: flex; flex-direction: column; gap: 12px; padding: clamp(24px, 4vw, 44px); }
.feat__title { font: 600 clamp(26px, 2.6vw, 34px)/1.15 var(--serif); }
.feat__text { font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.feat__go { margin-top: auto; font-weight: 700; color: var(--red); }

.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 22px; }
.post-item[hidden] { display: none; }
.post { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border-radius: 20px; color: var(--green); text-decoration: none; transition: transform .35s, box-shadow .35s; }
.post:hover { color: var(--green); transform: translateY(-4px); box-shadow: 0 16px 34px rgba(18,38,30,.12); }
.post__img { display: block; height: 210px; overflow: hidden; }
.post__img picture, .post__img img { width: 100%; height: 100%; }
.post__img img { object-fit: cover; transition: transform .9s; }
.post:hover .post__img img { transform: scale(1.06); }
.post__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 20px 22px 22px; }
.post__title { font: 600 22px/1.25 var(--serif); }
.post__text { font-size: 15px; line-height: 1.55; color: var(--muted); }
.post__body .meta { margin-top: auto; }
.jr-none { padding: 30px; background: #fff; border-radius: 20px; text-align: center; color: var(--muted); }
.jr-none[hidden] { display: none; }
.jr-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 50px; padding: clamp(26px, 4vw, 44px); background: var(--green); color: var(--cream); border-radius: 22px; }
.jr-band > div { flex: 1 1 460px; }
.jr-band h2 { margin: 8px 0; font-size: 28px; }
.jr-band p:not(.kicker) { color: var(--on-dark-muted); }

/* Article */
.art-head { max-width: 900px; padding-top: 140px; padding-bottom: 30px; }
.crumbs--dark { margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.crumbs--dark a { color: var(--green); }
.art-head h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; }
.art-head__intro { margin-top: 18px; font-size: 19px; line-height: 1.6; color: #33433b; }
.art-head__meta { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: #5f6e66; }
.art-head__face img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) { .art-head > * { animation: rise .9s .1s both; } }
.art-hero { position: relative; }
.art-hero picture, .art-hero img { width: 100%; border-radius: 24px; }
.art-hero img { height: clamp(260px, 46vw, 560px); object-fit: cover; }
.art-credit { position: absolute; right: 10px; bottom: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(0,0,0,.32); color: #fff; font-size: 10px; line-height: 1.3; }
.art-layout { display: flex; flex-wrap: wrap-reverse; align-items: flex-start; gap: 30px 60px; padding-top: 50px; padding-bottom: 40px; }
.art-toc { flex: 1 1 240px; padding: 24px; background: #fff; border-radius: 20px; }
@media (min-width: 1000px) { .art-layout { flex-wrap: nowrap; } .art-toc { position: sticky; top: 24px; flex: 0 0 260px; } }
.art-toc__title { margin-bottom: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5f6e66; }
.art-toc ul { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.art-toc a:not(.btn) { display: block; padding: 6px 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--green); text-decoration: none; }
.art-toc a:not(.btn):hover { color: var(--red); }
.prose { flex: 1 1 560px; min-width: 0; max-width: 760px; font-size: 18px; line-height: 1.75; color: #24342c; }
.prose > * + * { margin-top: 18px; }
.prose h2 { margin-top: 64px; font-size: clamp(26px, 2.6vw, 32px); scroll-margin-top: 24px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.prose h2 + .art-fig { margin-top: 20px; }
.art-fig { margin: 0 0 26px; }
.art-fig__img { position: relative; }
.art-fig img { width: 100%; border-radius: 18px; }
.art-fig figcaption { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: #5f6e66; }
.prose .tip { margin-top: 28px; }
.tip { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--green-light); font-size: 16px; line-height: 1.6; }
.tip__i { flex: 0 0 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: var(--cream); font: 700 14px var(--serif); }
.tbl-wrap { overflow-x: auto; border-radius: 16px; }
.tbl { width: 100%; min-width: 560px; border-collapse: collapse; background: #fff; font-size: 15.5px; line-height: 1.5; }
.tbl th, .tbl td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #eae4d8; }
.tbl thead th { background: var(--green); color: var(--cream); font: 600 17px var(--serif); }
.tbl tbody th { font-size: 14px; color: var(--green); }
.art-cta { margin-top: 30px; }
.art-related { padding-top: 40px; padding-bottom: 80px; }
.art-related .h-lg { margin-bottom: 24px; }
.art-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.art-links a { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--green); font-weight: 700; text-decoration: none; }
.art-links a:hover { background: var(--green-light); color: var(--green); }
@media (prefers-reduced-motion: reduce) { .feat__img img, .post__img img, .post { transition: none; } .post:hover { transform: none; } }
