/* Journal: /journal list and /journal/<post>. Builds on field.css (company inner pages). */

/* Filters */
.jr-list { padding-top: clamp(28px, 4vw, 44px) !important; }
.jr-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.jr-filters a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border: 1px solid var(--fs-line); border-radius: 2px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--md-charcoal); text-decoration: none; background: #fff; transition: border-color .2s ease, background .2s ease; }
.jr-filters a:hover { border-color: #946F48; }
.jr-filters a[aria-current="page"] { background: var(--fs-ink); border-color: var(--fs-ink); color: var(--md-cream); }
.jr-preview-note { margin-top: 18px; padding: 10px 14px; border-left: 3px solid #946F48; background: var(--md-cream); font-size: 13.5px; color: #3A3632; }
.jr-empty { margin-top: 32px; font-size: 18px; color: #3A3632; }

/* Cards */
.jr-grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.jr-card { display: flex; flex-direction: column; color: inherit; text-decoration: none; }
.jr-cover { aspect-ratio: 4 / 3; overflow: hidden; background: var(--fs-ink-2); }
.jr-cover img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.jr-card:hover .jr-cover img { transform: scale(1.03); }
.jr-cover-fill { width: 100%; height: 100%; background: var(--fs-ink) url("../img/topo-lines.png") center / cover; opacity: .9; }
.jr-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: #946F48; }
.jr-meta span + span::before { content: "\00B7"; margin-right: 14px; color: var(--fs-muted); }
.jr-sched { display: inline-block; padding: 2px 8px; background: var(--fs-ink); color: var(--md-cream) !important; letter-spacing: .14em; }
.jr-meta .jr-sched::before { content: none !important; margin: 0 !important; }
.jr-title { margin-top: 8px; font-family: var(--font-serif); font-weight: 500; font-size: 26px; line-height: 1.15; color: var(--md-charcoal); text-wrap: balance; }
.jr-card:hover .jr-title { color: #946F48; }
.jr-excerpt { margin-top: 10px; font-size: 15px; line-height: 1.6; color: #3A3632; }
.jr-more { margin-top: auto; padding-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #946F48; }

/* Post */
.jr-hero { text-align: left; }
.jr-hero .eyebrow a { color: inherit; text-decoration: none; }
.jr-hero .eyebrow a:hover { color: var(--fs-copper); }
.fs-inner .jr-hero h1 { max-width: 20em; }
.fs-inner .hero p.jr-byline { font-size: 13px; letter-spacing: .08em; color: var(--fs-dim); }
.fs-inner .hero p.jr-byline .jr-sched { margin-left: 12px; background: var(--fs-copper); color: var(--fs-ink) !important; font-size: 11px; text-transform: uppercase; }
.jr-figure { margin: 0 auto; max-width: 1080px; padding: clamp(24px, 4vw, 48px) var(--gutter) 0; }
.jr-figure img { display: block; width: 100%; max-height: 560px; object-fit: cover; }
.jr-article { max-width: 720px; margin: 0 auto; padding: clamp(32px, 5vw, 56px) var(--gutter) clamp(48px, 6vw, 72px); font-size: 17px; line-height: 1.75; color: #2A2724; }
.jr-article > :first-child { margin-top: 0; }
.jr-article p { margin: 0 0 1.15em; }
.jr-article h2 { margin: 1.8em 0 .5em; font-family: var(--font-serif); font-weight: 500; font-size: clamp(28px, 3vw, 34px); line-height: 1.15; color: var(--md-charcoal); }
.jr-article h3 { margin: 1.5em 0 .4em; font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--md-charcoal); }
.jr-article ul, .jr-article ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.jr-article li { margin-bottom: .45em; }
.jr-article li::marker { color: #946F48; }
.jr-article a { color: #946F48; text-decoration: underline; text-underline-offset: 3px; }
.jr-article a:hover { color: var(--md-charcoal); }
.jr-article strong { font-weight: 600; color: var(--md-charcoal); }
.jr-article blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--fs-copper); font-family: var(--font-serif); font-size: 24px; line-height: 1.35; color: var(--md-charcoal); }
.jr-article img { display: block; max-width: 100%; height: auto; margin: 1.6em auto; }
.jr-article .jr-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.6em 0; }
.jr-article .jr-pair figure { margin: 0; }
.jr-article .jr-pair img { margin: 0; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.jr-article .jr-pair figcaption { margin-top: 6px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--fs-muted); text-align: center; }
.jr-article hr { border: 0; height: 2px; width: 60px; margin: 2em 0; background: var(--fs-copper); }
.jr-article .jr-note { font-size: 14px; color: var(--fs-muted); }
.jr-more-posts .jr-title { font-size: 22px; }

@media (max-width: 900px) { .jr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .jr-grid { grid-template-columns: minmax(0, 1fr); }
  .jr-article { font-size: 16.5px; }
}
