.press-hero {
  padding: 44px 0 24px;
}

.press-catalog {
  padding: 0 0 82px;
}

.press-catalog-head {
  display: grid;
  grid-template-columns: minmax(230px, .55fr) minmax(0, 1.45fr);
  align-items: end;
}

.press-catalog-count {
  margin: 8px 0 0;
  color: #7186a1;
  font-size: 10px;
}

.press-tools {
  width: max-content;
  max-width: 100%;
  display: grid;
  justify-self: end;
  min-width: 0;
  gap: 9px;
}

.press-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px auto auto;
  gap: 8px;
}

.press-search-row .catalog-search-field input {
  padding-right: 12px;
}

.press-search-row .catalog-search-field {
  grid-column: 1;
}

.press-search-row .catalog-search-toggle {
  grid-column: 2;
  position: static;
}

.press-search-row .press-access-filter-free {
  grid-column: 3;
}

.press-search-row .press-access-filter-partial {
  grid-column: 4;
}

.press-access-filter {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #203652;
  border-radius: 9px;
  background: #0a1527;
  color: #8398b1;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.press-access-filter:hover {
  border-color: #3b5d87;
  color: #fff;
}

.press-access-filter:focus-visible {
  outline: 2px solid #77a9ff;
  outline-offset: 2px;
}

.press-access-filter-free.active {
  border-color: rgba(92, 220, 150, .72);
  background: rgba(27, 112, 67, .55);
  color: #c2f8da;
  box-shadow: 0 8px 22px rgba(35, 153, 88, .16);
}

.press-access-filter-partial.active {
  border-color: rgba(244, 190, 83, .78);
  background: rgba(139, 91, 18, .55);
  color: #ffe1a1;
  box-shadow: 0 8px 22px rgba(194, 126, 22, .16);
}

.press-filter-groups {
  width: max-content;
  max-width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 1px 0 4px;
  scrollbar-width: thin;
}

.press-filter-groups button { flex: 0 0 auto; }
.press-filter-groups button:first-child { margin-left: auto; }

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.press-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(39, 61, 89, .92);
  background: #0b172a;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .13);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.press-card:hover {
  transform: translateY(-2px);
  border-color: #365c8d;
  box-shadow: 0 22px 38px rgba(0, 0, 0, .2);
}

.press-card-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}

.press-card-link:focus-visible {
  outline: 3px solid #6ca5ff;
  outline-offset: -3px;
}

.press-card-visual {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: #0d203d;
  background:
    radial-gradient(circle at 82% 16%, color-mix(in srgb, var(--press-accent) 62%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--press-color) 88%, #07101d), #07101d 84%);
}

.press-card-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
  background-size: 30px 30px;
}

.press-wordmark {
  max-width: 72%;
  margin: 0;
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-shadow: 0 7px 25px rgba(0, 0, 0, .35);
}

.press-access {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(3, 8, 18, .72);
  color: #fff;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.press-access-free { border-color: rgba(92, 220, 150, .58); color: #a3f1c6; }
.press-access-partial { border-color: rgba(244, 190, 83, .62); color: #ffda88; }
.press-access-paid { border-color: rgba(239, 106, 116, .62); color: #ffb1b7; }

.press-favorite {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  position: absolute;
  right: 12px;
  bottom: 11px;
  z-index: 3;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(4, 9, 18, .72);
  color: #c3cfdd;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.press-favorite:hover,
.press-favorite.saved {
  border-color: #f2c466;
  background: rgba(43, 31, 8, .82);
  color: #ffd77a;
}

.press-favorite:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.press-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 23px 24px 21px;
}

.press-location {
  margin: 0;
  color: #6f86a3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.press-profile {
  margin: 8px 0 0;
  color: #8ca0ba;
  font-size: 12px;
  font-weight: 700;
}

.press-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.press-meta span {
  padding: 5px 7px;
  border: 1px solid #29405f;
  color: #8297b1;
  font-size: 8px;
  line-height: 1.3;
}

.press-edition-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  position: relative;
  z-index: 3;
  margin-top: 12px;
}

.press-edition-switcher button {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid #36506f;
  background: transparent;
  color: #8ea3bd;
  font: inherit;
  font-size: 9px;
  font-weight: 750;
  cursor: pointer;
}

.press-edition-switcher button:hover,
.press-edition-switcher button.active {
  border-color: var(--press-accent);
  background: color-mix(in srgb, var(--press-accent) 16%, transparent);
  color: #fff;
}

.press-edition-switcher button:focus-visible {
  outline: 2px solid #6ca5ff;
  outline-offset: 2px;
}

.press-summary {
  margin: 17px 0 0;
  color: #91a3bb;
  font-size: 12px;
  line-height: 1.72;
}

.press-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.press-topics li {
  position: relative;
  padding-left: 9px;
  color: #687e99;
  font-size: 9px;
}

.press-topics li::before {
  content: "";
  width: 3px;
  height: 3px;
  position: absolute;
  left: 0;
  top: .58em;
  border-radius: 50%;
  background: var(--press-accent);
}

.press-card-footer {
  margin-top: auto;
  padding-top: 21px;
}

.press-coverage {
  margin: 0;
  color: #607690;
  font-size: 9px;
  line-height: 1.55;
}

.press-about { padding-top: 72px; }

[data-theme="newsroom"] .press-summary,
[data-theme="newsroom"] .press-about .about-copy > p { color: #66778c; }
[data-theme="newsroom"] .press-catalog-count { color: #657990; }
[data-theme="newsroom"] .press-card {
  border-color: #c8d2df;
  background: #fff;
  box-shadow: 0 14px 35px rgba(37, 54, 75, .08);
}
[data-theme="newsroom"] .press-location,
[data-theme="newsroom"] .press-profile,
[data-theme="newsroom"] .press-topics li,
[data-theme="newsroom"] .press-coverage { color: #657990; }
[data-theme="newsroom"] .press-meta span { border-color: #c5d0dc; color: #536980; }
[data-theme="newsroom"] .press-edition-switcher button { border-color: #aab9ca; color: #536980; }
[data-theme="newsroom"] .press-edition-switcher button:hover,
[data-theme="newsroom"] .press-edition-switcher button.active { color: #17283b; }
[data-theme="newsroom"] .press-favorite:focus-visible { outline-color: #1559b7; }
[data-theme="newsroom"] .press-about { border-color: #d2dae4; }

[data-theme="dakar"] .press-summary,
[data-theme="dakar"] .press-about .about-copy > p { color: #c2a58d; }
[data-theme="dakar"] .press-catalog-count { color: #b18e72; }
[data-theme="dakar"] .press-card { border-color: #69432a; background: #321f14; }
[data-theme="dakar"] .press-location,
[data-theme="dakar"] .press-profile,
[data-theme="dakar"] .press-topics li,
[data-theme="dakar"] .press-coverage { color: #b18e72; }
[data-theme="dakar"] .press-meta span { border-color: #765039; color: #c19b7c; }
[data-theme="dakar"] .press-edition-switcher button { border-color: #765039; color: #c19b7c; }
[data-theme="dakar"] .press-favorite:focus-visible { outline-color: #f3bd4e; }
[data-theme="dakar"] .press-about { border-color: rgba(111, 72, 46, .6); }

[data-theme="tv"] .press-card { border: 2px solid #777; background: #080808; box-shadow: none; }
[data-theme="tv"] .press-catalog-count { color: #fff; }
[data-theme="tv"] .press-catalog-count { font-size: 13px; }
[data-theme="tv"] .press-card:hover { transform: none; border-color: #fff; box-shadow: none; }
[data-theme="tv"] .press-favorite { width: 44px; height: 44px; border: 2px solid #fff; color: #fff; font-size: 23px; }
[data-theme="tv"] .press-favorite.saved { color: #ffd77a; }
[data-theme="tv"] .press-card-visual { border-bottom: 2px solid #777; }
[data-theme="tv"] .press-card-visual::after { display: none; }
[data-theme="tv"] .press-summary,
[data-theme="tv"] .press-about .about-copy > p { color: #fff; font-size: 16px; }
[data-theme="tv"] .press-location,
[data-theme="tv"] .press-profile,
[data-theme="tv"] .press-topics li,
[data-theme="tv"] .press-coverage { color: #fff; font-size: 12px; }
[data-theme="tv"] .press-wordmark { font-size: 27px; }
[data-theme="tv"] .press-meta span,
[data-theme="tv"] .press-access { border: 2px solid #fff; color: #fff; font-size: 11px; }
[data-theme="tv"] .press-edition-switcher button { min-height: 42px; border: 2px solid #fff; color: #fff; font-size: 12px; }
[data-theme="tv"] .press-access-filter { border: 2px solid #fff; background: #080808; color: #fff; }
[data-theme="tv"] .press-access-filter.active { background: #fff; color: #000; box-shadow: none; }
[data-theme="tv"] .press-about { border-top: 2px solid #777; }

[data-theme="newsroom"] .press-access-filter { border-color: #c5d0dc; background: #fff; color: #51637a; }
[data-theme="newsroom"] .press-access-filter-free.active { border-color: #2f9a61; background: #dff6e9; color: #17633a; }
[data-theme="newsroom"] .press-access-filter-partial.active { border-color: #c88721; background: #fff1d4; color: #7a4a00; }

[data-theme="dakar"] .press-access-filter { border-color: #765039; background: #321f14; color: #c2a58d; }
[data-theme="dakar"] .press-access-filter-free.active { border-color: #65c990; background: #254d34; color: #d8ffe8; }
[data-theme="dakar"] .press-access-filter-partial.active { border-color: #e0ad4e; background: #694719; color: #fff0c8; }

@media (max-width: 1100px) {
  .press-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .press-hero { padding: 40px 0 22px; }
  .press-catalog-head { grid-template-columns: 1fr; gap: 22px; }
  .press-tools { width: 100%; }
  .press-filter-groups { width: 100%; }
  .press-filter-groups button:first-child { margin-left: 0; }
}

@media (max-width: 620px) {
  .press-search-row {
    grid-template-columns: 46px minmax(0, 1fr) minmax(0, 1fr);
  }
  .press-search-row .catalog-search-field {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .press-search-row .catalog-search-field.hidden {
    display: none;
  }
  .press-search-row .catalog-search-toggle {
    grid-column: 1;
    grid-row: 2;
  }
  .press-search-row .press-access-filter-free {
    grid-column: 2;
    grid-row: 2;
  }
  .press-search-row .press-access-filter-partial {
    grid-column: 3;
    grid-row: 2;
  }
  .press-access-filter {
    min-width: 0;
    min-height: 44px;
    padding-inline: 8px;
    font-size: 11px;
  }
  .press-filter-groups { width: calc(100vw - 24px); gap: 12px; }
  .press-filter-groups button { min-height: 40px; }
  .press-grid { grid-template-columns: 1fr; }
  .press-card-content { padding: 21px 19px 19px; }
}

@media (hover: none) {
  .press-card:hover { transform: none; }
  .press-favorite { width: 42px; height: 42px; font-size: 21px; }
}

@media (forced-colors: active) {
  .press-card,
  .press-access,
  .press-favorite,
  .press-meta span { border-color: CanvasText; }
  .press-card-link:focus-visible,
  .press-favorite:focus-visible { outline-color: Highlight; }
}

@media (min-width: 1800px) {
  .press-hero { padding: 58px 0 32px; }
  .press-catalog { padding: 0 0 108px; }
  .press-catalog-head { grid-template-columns: minmax(350px, .55fr) minmax(0, 1.45fr); gap: 40px; }
  .press-catalog-count { font-size: 14px; }
  .press-tools { gap: 12px; }
  .press-search-row { grid-template-columns: minmax(0, 1fr) 46px auto auto; gap: 10px; }
  .press-access-filter { min-height: 44px; padding-inline: 17px; font-size: 13px; }
  .press-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 23px; }
  .press-card-visual { min-height: 142px; }
  .press-card-content { padding: 27px 28px 25px; }
  .press-wordmark { font-size: 32px; }
  .press-location, .press-topics li, .press-coverage { font-size: 11px; }
  .press-profile, .press-summary { font-size: 14px; }
  .press-meta span, .press-access { font-size: 10px; }
  .press-edition-switcher button { min-height: 36px; font-size: 11px; }
  .press-favorite { width: 42px; height: 42px; font-size: 21px; }
  [data-theme="tv"] .press-favorite { width: 50px; height: 50px; font-size: 26px; }
}

@media (min-width: 3000px) {
  .press-hero { padding: 76px 0 45px; }
  .press-catalog { padding: 0 0 142px; }
  .press-catalog-head { grid-template-columns: minmax(500px, .55fr) minmax(0, 1.45fr); gap: 60px; }
  .press-catalog-count { font-size: 19px; }
  .press-tools { gap: 17px; }
  .press-search-row { grid-template-columns: minmax(0, 1fr) 62px auto auto; gap: 14px; }
  .press-access-filter { min-height: 60px; padding-inline: 24px; font-size: 17px; }
  .press-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 31px; }
  .press-card-visual { min-height: 190px; padding: 34px; }
  .press-wordmark { font-size: 44px; }
  .press-card-content { padding: 37px 38px 34px; }
  .press-edition-switcher button { min-height: 48px; padding: 10px 16px; font-size: 15px; }
  .press-location, .press-topics li, .press-coverage { font-size: 15px; }
  .press-profile, .press-summary { font-size: 19px; }
  .press-meta span, .press-access { padding: 8px 10px; font-size: 14px; }
  .press-favorite { width: 56px; height: 56px; right: 17px; bottom: 16px; font-size: 29px; }
  [data-theme="tv"] .press-favorite { width: 64px; height: 64px; font-size: 34px; }
}
