.atlas-header { display: flex; flex-flow: row nowrap; align-items: center; min-height: 58px; padding-top: 0; }
.atlas-header .brand { align-self: center; }
.atlas-home { color: #efdda6; text-decoration: none; font-size: .83rem; font-weight: 700; }
.atlas-home:hover { text-decoration: underline; }
.atlas-title { margin: 5px 0 20px; max-width: 53rem; }
.atlas-title h1 { margin-block: 4px 7px; font-family: var(--serif); font-size: clamp(2rem,4.2vw,3.4rem); line-height: 1.2; letter-spacing: .025em; }
.atlas-title > p:last-child { color: var(--muted); font-size: .96rem; }
.atlas-weeks { position: sticky; z-index: 3; top: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); overflow: hidden; border-radius: var(--radius); background: #19352f; color: #faf6e7; box-shadow: 0 2px 5px #15271e30; }
.atlas-weeks a { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; column-gap: 8px; min-height: 49px; padding: 5px; color: inherit; text-decoration: none; font-size: .95rem; font-weight: 750; border-bottom: 3px solid transparent; }
.atlas-weeks a + a { border-left: 1px solid #566859; }
.atlas-weeks a span { color: #dddbb7; font-size: .72rem; font-weight: 600; }
.atlas-weeks a:hover, .atlas-weeks a[aria-current] { background: #294c40; border-bottom-color: #e5bd72; }
.atlas-weeks a:focus-visible { outline-offset: -3px; }
.atlas-week { scroll-margin-top: 60px; padding: 24px 0 5px; }
.atlas-week-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding-bottom: 8px; margin-bottom: 13px; border-bottom: 1px solid #bfbaaa; }
.atlas-week-head h2 { font-family: var(--serif); font-size: clamp(1.45rem,2vw,1.9rem); line-height: 1.25; }
.atlas-week-head p { color: var(--muted); font-size: .86rem; font-weight: 700; }
.atlas-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.atlas-card { display: grid; grid-template-rows: 1fr auto auto; align-content: start; background: var(--paper); border: 1px solid #c7c0ab; border-radius: var(--radius); overflow: hidden; }
.atlas-card-head { display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 9px; row-gap: 5px; padding: 12px 14px 11px; }
.atlas-day { align-self: center; border: 1px solid #c9d2bf; background: #e6eddf; color: var(--forest); padding: 1px 6px; border-radius: 2px; font-weight: 800; font-size: .78rem; }
.atlas-date { align-self: center; font-size: .86rem; color: #53615b; font-weight: 650; }
.atlas-card-head h3 { grid-column: 1/-1; font-size: clamp(.97rem,1.4vw,1.15rem); line-height: 1.45; text-wrap: initial; }
.atlas-image { display: block; background: #e6ddc7; margin-inline: 4px; border-radius: 2px; overflow: hidden; }
.atlas-image img { display: block; width: 100%; height: auto; }
.atlas-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 1px 12px; }
.atlas-actions a { display: flex; align-items: center; min-height: 42px; font-size: .83rem; }
.atlas-detail { font-weight: 750; }
.atlas-original { color: #53615b; }
.atlas-status { padding-block: 18px; color: var(--muted); }
@media (max-width: 900px) { .atlas-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 620px) {
  .atlas-header { min-height: 49px; }
  .atlas-header .brand { font-size: 17px; }
  .atlas-home { font-size: .76rem; }
  .atlas-title { margin: 6px 0 14px; }
  .atlas-title > p:last-child { font-size: .86rem; }
  .atlas-weeks a { flex-direction: column; line-height: 1.25; gap: 2px; }
  .atlas-week { padding-top: 17px; }
  .atlas-grid { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .atlas-card-head { grid-template-columns: auto 1fr; }
  .atlas-card-head h3 { font-size: 1.04rem; }
  .atlas-week-head { margin-bottom: 10px; }
}
