.main-nav__inner { grid-template-columns: 150px minmax(0, 1fr) 238px; }
.nav-actions { gap: 6px; }
.nav-actions .btn { padding-inline: 10px; }
.nav-upload {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  align-self: center;
  border-radius: 6px;
  background: #b53b49;
  box-shadow: 0 3px 9px rgba(91, 28, 41, .14);
  transition: background .18s ease, transform .18s ease;
}
.nav-upload:hover, .nav-upload:focus-visible { background: #912d3b; transform: translateY(-1px); }
.nav-upload:focus-visible { outline: 3px solid #e6b448; outline-offset: 3px; }
.nav-upload img { display: block; width: 22px; height: 22px; filter: brightness(0) invert(1); }
.mobile-menu-actions .nav-upload { flex: 0 0 44px; }
@media (max-width: 980px) {
  .mobile-menu-actions { grid-template-columns: minmax(0, 1fr) 44px; }
  .mobile-menu-actions .btn--gold { grid-column: 1 / -1; }
  .mobile-menu-actions .btn--ghost { grid-column: 1; }
  .mobile-menu-actions .nav-upload { grid-column: 2; justify-self: end; }
}

.publication-weekly { position: relative; padding: 19px 0 16px; border-block: 1px solid #d9e5e1; background: #f0f6f4; }
.publication-weekly::before { position: absolute; top: -1px; right: max(18px, calc((100vw - 1120px) / 2)); width: 104px; height: 3px; background: #d4a543; content: ""; }
.publication-weekly__heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.publication-weekly__kicker { color: #945068; font-size: 12px; font-weight: 800; }
.publication-weekly__heading h2 { display: flex; align-items: center; gap: 11px; margin: 1px 0 0; color: #1b3d42; font-size: 26px; line-height: 1.15; }
.publication-weekly__heading small { padding: 5px 9px; border: 1px solid #ccded9; border-radius: 4px; color: #3e6767; font-family: "Assistant", Arial, sans-serif; font-size: 12px; font-weight: 700; white-space: nowrap; }
.publication-weekly__controls { display: flex; gap: 6px; }
.publication-weekly__controls[hidden] { display: none; }
.publication-weekly__controls button { display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid #cbdcd7; border-radius: 5px; background: #fff; cursor: pointer; }
.publication-weekly__controls button img { width: 18px; height: 18px; opacity: .8; }
.publication-weekly__controls button:hover, .publication-weekly__controls button:focus-visible { border-color: #3b7776; background: #e6f0ed; }
.publication-weekly__controls button:focus-visible, .publication-weekly__rail:focus-visible { outline: 2px solid #347e7a; outline-offset: 2px; }
.publication-weekly__rail { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #b4cdc6 transparent; padding: 3px 2px 10px; }
.publication-weekly__item { display: grid; grid-template-columns: 96px minmax(0, 1fr); flex: 0 0 clamp(285px, 28vw, 330px); gap: 13px; align-items: center; min-width: 0; height: 156px; padding: 10px 11px; scroll-snap-align: start; border: 1px solid #d1dfdb; border-radius: 7px; background: #fff; color: #263b41; text-decoration: none; box-shadow: 0 5px 14px rgba(25, 66, 65, .045); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.publication-weekly__item:hover, .publication-weekly__item:focus-visible { border-color: #91b9ae; box-shadow: 0 9px 20px rgba(25, 66, 65, .11); transform: translateY(-2px); }
.publication-weekly__item:focus-visible { outline: 2px solid #347e7a; outline-offset: 2px; }
.publication-weekly__item.is-downloading { opacity: .6; cursor: progress; }
.publication-weekly__preview { position: relative; display: grid; width: 96px; height: 134px; place-items: center; overflow: hidden; border: 1px solid #d7dedc; border-inline-start: 3px solid #d6ac57; background: #f7f9f8; box-shadow: 0 4px 9px rgba(30, 55, 57, .1); }
.publication-weekly__preview img, .publication-weekly__preview canvas { width: 100%; height: 100%; object-fit: contain; }
.publication-weekly__preview canvas { display: none; }
.publication-weekly__preview.has-preview canvas { display: block; }
.publication-weekly__preview.has-preview img { display: none; }
.publication-weekly__preview.has-preview .publication-weekly__placeholder { display: none; }
.publication-weekly__placeholder { color: #8b4960; font-size: 15px; font-weight: 800; }
.publication-weekly__text { display: flex; flex-direction: column; min-width: 0; height: 100%; padding-block: 6px 2px; }
.publication-weekly__text small { overflow: hidden; color: #92536a; font-size: 12px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.publication-weekly__text strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; margin-top: 6px; color: #203c42; font-size: 17px; line-height: 1.22; overflow-wrap: anywhere; }
.publication-weekly__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; color: #70817e; font-family: "Assistant", Arial, sans-serif; font-size: 11px; font-weight: 700; }
.publication-weekly__meta img { width: 28px; height: 28px; padding: 6px; border-radius: 5px; background: #e4f0eb; }
@media (min-width: 850px) {
  .publication-weekly--single .publication-weekly__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .publication-weekly--single .publication-weekly__heading { margin: 0; }
  .publication-weekly--single .publication-weekly__rail { flex: 0 0 332px; }
}
@media (max-width: 800px) {
  .main-nav__inner { grid-template-columns: 150px minmax(0, 1fr) 238px; }
  .publication-weekly__item { flex-basis: 302px; }
}
@media (max-width: 620px) {
  .publication-weekly { padding: 16px 0 12px; }
  .publication-weekly__heading h2 { font-size: 21px; }
  .publication-weekly__item { grid-template-columns: 90px minmax(0, 1fr); flex-basis: 278px; gap: 10px; height: 149px; padding: 9px; }
  .publication-weekly__preview { width: 90px; height: 129px; }
  .publication-weekly__text strong { font-size: 16px; }
  .publication-weekly--single .publication-weekly__item { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { .nav-upload { transition: none; } }
