/* Miodnia 2.0. Warm paper, dark type, and room for photographs. */
:root {
  --paper: #fbf7ed;
  --white: #fffcf5;
  --ink: #241b15;
  --muted: #66574b;
  --honey: #874012;
  --gold: #efb951;
  --line: #e1d5c3;
  --dark: #241811;
}
body { background: var(--paper); }
.wrap { width: min(1264px, calc(100% - 72px)); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-top { padding-block: 13px; }
.brand-emblem { width: 52px; height: 52px; }
.brand-lockup { gap: 12px; }
.brand-lockup .wordmark { font-size: 29px; letter-spacing: .035em; }
.brand-lockup .brand-note { font-size: 9px; margin-top: 5px; letter-spacing: .09em; }
.header-tools { gap: 20px; }
.sources-jump {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px;
  color: var(--honey); font-size: 13px; font-weight: 650; text-decoration: none;
}
.sources-jump:hover, .recent-copy a:hover { text-decoration: underline; }
.primary-navigation { justify-content: flex-start; gap: 35px; padding-block: 0; }
.primary-navigation a { font-size: 13px; min-height: 45px; }

.editorial-home { padding-top: 26px; }
.edition-line {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding-bottom: 11px; color: var(--muted); font-size: 11px; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
}
.edition-dot {
  display: inline-block; width: 8px; height: 8px; margin-right: 6px;
  border-radius: 50%; background: #ad621b; vertical-align: 1px;
}
.edition-separator { margin-inline: 5px; color: #955423; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; }
.cover-story {
  position: relative; display: flex; flex-direction: column; justify-content: end;
  isolation: isolate; min-height: 500px; overflow: hidden; border-radius: 13px;
  background: #352318; color: #fff9ec;
}
.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 36%; }
.cover-story::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, #21150efa 1%, #25180fe8 21%, #281b127d 47%, #281b1200 78%);
}
.cover-copy { position: relative; z-index: 1; padding: 36px 42px; }
.cover-label {
  display: inline-block; padding: 4px 9px; background: #ffdf9b; color: #452711;
  border-radius: 4px; font-size: 10px; font-weight: 750; letter-spacing: .105em; text-transform: uppercase;
}
.cover-copy h1 {
  margin: 11px 0 10px; font: 400 clamp(3.2rem, 6.1vw, 6.05rem)/.98 var(--serif);
  letter-spacing: -.075em; text-wrap: balance;
}
.cover-copy h1 em { color: #ffda8c; }
.cover-copy p { color: #fff3df; font-size: 15px; line-height: 1.45; max-width: 440px; margin: 0 0 18px; }
.cover-button {
  display: inline-flex; min-height: 44px; align-items: center; gap: 22px; padding: 8px 14px;
  border: 1px solid #ffdb9b; border-radius: 6px; text-decoration: none; color: #fff5e1;
  font-size: 13px; font-weight: 700;
}
.cover-button:hover { color: #28190f; background: #ffdf9b; }

.recent-panel {
  min-width: 0; display: flex; flex-direction: column; padding: 24px 24px 14px;
  background: #fffdf8; border: 1px solid var(--line); border-radius: 13px;
}
.recent-heading { margin-bottom: 4px; }
.recent-heading .eyebrow, .minor-heading .eyebrow { margin-bottom: 4px; color: var(--honey); }
.recent-heading h2 { margin: 0 0 3px; font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.05; letter-spacing: -.04em; }
.recent-list { flex: 1; display: grid; align-content: space-evenly; }
.recent-item {
  min-width: 0; display: grid; grid-template-columns: clamp(62px, 7vw, 94px) minmax(0, 1fr);
  align-items: start; gap: 14px; padding-block: 12px; border-bottom: 1px solid var(--line);
}
.recent-item:last-child { border-bottom: 0; }
.recent-item.recent-no-image { grid-template-columns: minmax(0, 1fr); }
.recent-no-image .recent-thumb.story-image { display: none; }
.recent-thumb.story-image { display: block; width: 100%; aspect-ratio: 1; margin: 2px 0 0; border-radius: 7px; overflow: hidden; }
.recent-thumb img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.recent-copy time { display: block; color: var(--muted); font-size: 11px; line-height: 1.2; }
.recent-copy h3 { margin: 4px 0; font: 600 clamp(1.03rem, 1.55vw, 1.32rem)/1.12 var(--serif); letter-spacing: -.015em; }
.recent-copy a { text-decoration: none; }
.recent-copy p { margin: 0; font-size: 12px; line-height: 1.38; color: var(--muted); }
.recent-read, .recent-more, .story .story-read { color: var(--honey); font-weight: 700; text-decoration: none; }
.recent-read { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; font-size: 11px; }
.recent-more { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 2px; min-height: 44px; border-top: 1px solid var(--line); font-size: 13px; }
.recent-more:hover, .story .story-read:hover { text-decoration: underline; }

.quick-topics { padding-block: 34px 44px; border-bottom: 1px solid var(--line); }
.minor-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.minor-heading h2 { margin: 0; font-size: clamp(1.6rem, 2.9vw, 2.35rem); letter-spacing: -.035em; }
.topic-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.topic-tile {
  min-height: 105px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px;
  align-content: center; align-items: start; padding: 13px 12px; border: 1px solid var(--line);
  border-radius: 9px; background: #f7edda; text-decoration: none;
}
.topic-tile:nth-child(2) { background: #f5e6d7; }
.topic-tile:nth-child(3) { background: #f8edcf; }
.topic-tile:nth-child(4) { background: #f1e6df; }
.topic-tile:hover { border-color: #a46b3d; }
.topic-badge {
  display: grid; place-items: center; width: 31px; height: 33px; margin-top: 1px;
  clip-path: polygon(50% 0, 100% 24%, 100% 76%, 50% 100%, 0 76%, 0 24%);
  background: #ebcb91; color: #522c13; font-size: 11px; font-weight: 750;
}
.topic-tile strong { display: block; font: 600 1.16rem/1.14 var(--serif); }
.topic-tile small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.topic-arrow { color: var(--honey); line-height: 1.2; }

.editorial-archive { padding-block: 45px 50px; }
.editorial-archive .section-heading, .atlas-editorial .section-heading { margin-bottom: 22px; }
.editorial-archive .section-heading h2, .atlas-editorial h2, .essential-copy h2 {
  margin: 0; font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.03; letter-spacing: -.045em;
}
.editorial-archive .section-heading .eyebrow, .atlas-editorial .section-heading .eyebrow { margin-bottom: 8px; }
.editorial-archive .stories-grid, .listing .stories-grid, .related .stories-grid { gap: 16px; }
.editorial-archive .story, .listing .story, .related .story {
  min-width: 0; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
}
.stories-grid .story .story-image { width: 100%; margin: 0; aspect-ratio: 1.6; border: 0; }
.stories-grid .story .story-image img { width: 100%; height: 100%; aspect-ratio: 1.6; object-fit: cover; }
.stories-grid .story .story-copy { display: flex; flex: 1; flex-direction: column; padding: 16px 17px 8px; }
.stories-grid .story .story-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: auto; }
.story .story-read { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; font-size: 12px; }
.story .story-read span { font-size: inherit; }
.editorial-archive .pagination { padding-top: 23px; }

.atlas-editorial .honey-atlas {
  width: 100%; margin: 0; padding: 30px 28px; border-radius: 13px;
  background: #f3e4c6; border: 1px solid #e8d4b1;
}
.atlas-editorial .atlas-card { border-radius: 8px; }
.essential-section {
  display: grid; grid-template-columns: 1.03fr 1fr; margin-block: 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: 13px; overflow: hidden;
}
.essential-section figure { margin: 0; min-height: 260px; }
.essential-section figure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; }
.essential-copy { padding: 27px; }
.essential-copy h2 { margin: 5px 0 10px; }
.essential-copy ul { list-style: none; padding: 0; margin: 0; }
.essential-copy li + li { border-top: 1px solid var(--line); }
.essential-copy a { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding-block: 8px; min-height: 44px; font-size: 13px; text-decoration: none; }
.essential-copy a:hover { text-decoration: underline; }
.essential-copy a span { color: var(--honey); }
.editorial-topics { padding-block: 10px 45px; background: transparent; }
.editorial-topics .topic-row { padding-block: 22px; }
.editorial-topics .topic-title h3 { margin-bottom: 6px; }
.site-footer { padding-top: 35px; }
.footer-main { gap: 25px; padding-bottom: 26px; }
.footer-main p { margin-top: 12px; }
.mpp-resources { padding: 20px 0 27px; border-top: 1px solid #5d493a; }
.mpp-resources h2 { font-size: 1.25rem; margin: 0 0 8px; }
.mpp-resources ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0 20px; padding: 0; margin: 0; }
.mpp-resources a { display: inline-flex; min-height: 44px; align-items: center; font-size: 13px; color: #f1ddc4; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 48px); }
  .cover-copy { padding: 28px; }
  .recent-panel { padding-inline: 18px; }
  .lead-grid { grid-template-columns: minmax(0,1.26fr) minmax(0,1fr); gap: 14px; }
  .recent-item { gap: 10px; }
  .topic-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .topic-tile { min-height: 80px; }
}
@media (max-width: 900px) {
  .primary-navigation { flex-wrap: wrap; gap: 0 20px; padding-bottom: 8px; }
  .cover-copy h1 { font-size: clamp(3.15rem, 7.4vw, 5rem); }
  .editorial-archive .stories-grid, .listing .stories-grid, .related .stories-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 730px) {
  .wrap { width: calc(100% - 32px); }
  .lead-grid { grid-template-columns: 1fr; }
  .editorial-home { padding-top: 16px; }
  .cover-story { min-height: 365px; }
  .cover-copy { padding: 21px; }
  .cover-copy h1 { font-size: clamp(2.9rem, 9vw, 4.2rem); }
  .cover-copy p { font-size: 14px; }
  .cover-photo { object-position: 50% 32%; }
  .cover-story::after { background: linear-gradient(0deg, #21150efa 2%, #21150ee8 27%, #21150e54 58%, transparent 83%); }
  .recent-panel { padding: 17px 17px 8px; }
  .recent-item { grid-template-columns: 76px minmax(0,1fr); gap: 13px; }
  .recent-copy h3 { font-size: 1.24rem; }
  .recent-read { min-height: 44px; font-size: 12px; }
  .quick-topics { padding-block: 24px 30px; }
  .essential-section { grid-template-columns: 1fr; }
  .essential-section figure { min-height: 0; aspect-ratio: 1.85; }
  .essential-copy { padding: 18px; }
  .editorial-archive { padding-block: 30px; }
  .editorial-archive .section-heading { display: block; }
  .editorial-archive .section-heading > p { margin-top: 8px; }
  .atlas-editorial .honey-atlas { padding: 18px; }
  .editorial-topics { padding-bottom: 28px; }
}
@media (max-width: 540px) {
  .brand-emblem { width: 40px; height: 40px; }
  .brand-lockup { gap: 7px; }
  .brand-lockup .wordmark { font-size: 22px; }
  .brand-lockup .brand-note { font-size: 8px; letter-spacing: .02em; }
  .header-top { padding-block: 10px; }
  .header-tools { gap: 2px; }
  .sources-jump, .edition-detail { display: none; }
  .topic-tile { grid-template-columns: auto minmax(0, 1fr); gap: 7px; min-height: 74px; }
  .topic-arrow { display: none; }
  .topic-tile small { display: none; }
  .topic-tile strong { font-size: 1.03rem; }
  .minor-heading h2 { font-size: 1.42rem; }
  .minor-heading .eyebrow { font-size: 9px; }
  .editorial-archive .stories-grid, .listing .stories-grid, .related .stories-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 13px; }
}

/* Keep the cover and the first links within the opening screen. */
.site-header { padding-top: 0; border-top-width: 3px; }
.header-top { padding-inline: 0; background: transparent; border-radius: 0; }
.primary-navigation { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: transparent; }
.recent-panel { padding-top: 19px; }
.recent-item { padding-block: 9px; }
.recent-copy h3 { text-wrap: wrap; }
.recent-copy p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
@media (max-width: 730px) {
  .cover-story { min-height: 333px; }
  .recent-copy h3 { font-size: 1.16rem; }
}
@media (max-width: 900px) {
  .primary-navigation { padding-bottom: 3px; }
}

/* Miodnia wordmark and honeybee seal. */
.brand-lockup { gap: 15px; }
.brand-emblem {
  width: 68px; height: 68px; padding: 0; flex-shrink: 0;
  background: transparent; border: 0; border-radius: 0;
}
.brand-lockup .wordmark {
  color: #382317; font-family: Georgia, 'Times New Roman', serif;
  font-size: 44px; font-weight: 400; line-height: .95;
  letter-spacing: -.055em; text-transform: none;
}
.brand-lockup .wordmark-dot { color: #b67a21; padding-left: 1px; }
.brand-lockup .brand-note {
  display: flex; align-items: center; gap: 8px; margin-top: 11px;
  color: #845020; font-family: var(--sans); font-size: 9px;
  line-height: 1.3; font-weight: 600; letter-spacing: .17em;
  text-transform: uppercase;
}
.brand-note::before {
  content: ''; display: block; flex-shrink: 0;
  width: 21px; height: 1px; background: #c49142;
}
.site-footer .brand-emblem { width: 58px; height: 58px; }
.site-footer .brand-lockup .wordmark { color: #fff2dc; font-size: 38px; }
.site-footer .brand-lockup .brand-note { color: #e6c38e; font-size: 8px; }
@media (max-width: 900px) {
  .brand-emblem { width: 60px; height: 60px; }
  .brand-lockup .wordmark { font-size: 40px; }
}
@media (max-width: 540px) {
  .brand-lockup { gap: 9px; }
  .brand-emblem { width: 51px; height: 51px; }
  .brand-lockup .wordmark { font-size: 32px; }
  .brand-lockup .brand-note { font-size: 7px; letter-spacing: .09em; gap: 5px; margin-top: 8px; }
  .brand-note::before { width: 14px; }
}
@media (max-width: 360px) {
  .brand-emblem { width: 43px; height: 43px; }
  .brand-lockup { gap: 7px; }
  .brand-lockup .wordmark { font-size: 28px; }
  .brand-lockup .brand-note { font-size: 6px; letter-spacing: .075em; }
}
