:root {
  color-scheme: light;
  --ink: #102326;
  --muted: #5c6c70;
  --paper: #ffffff;
  --mist: #edf5f3;
  --line: #d4e0df;
  --green: #0f5b48;
  --green-dark: #092f35;
  --blue: #0b5f86;
  --blue-dark: #07394d;
  --red: #d22f2f;
  --gold: #b98b24;
  --shadow: 0 18px 42px rgba(8, 38, 42, 0.11);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(15, 91, 72, 0.12), transparent 360px),
    radial-gradient(circle at top right, rgba(11, 95, 134, 0.12), transparent 320px),
    repeating-linear-gradient(90deg, rgba(15, 91, 72, 0.035) 0 1px, transparent 1px 92px),
    #f8fbfa;
  color: var(--ink);
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1200px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 460px);
  gap: 22px;
  align-items: center;
  padding: 18px 0 12px;
}

.brand-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 42px;
  padding: 5px;
  border: 1px solid rgba(9, 47, 53, 0.25);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 1rem;
}

.header-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.anonamed-link,
.flights-link,
.network-links > summary,
.english-link,
.language-control {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
}

.network-links {
  position: relative;
}

.network-links > summary {
  padding: 0 12px;
  border: 1px solid #c4d3d1;
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
  list-style: none;
}

.network-links > summary::-webkit-details-marker {
  display: none;
}

.network-links > summary::after {
  content: "▾";
  margin-left: 8px;
}

.network-links[open] > summary::after {
  content: "▴";
}

.network-links > div {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  right: 0;
  display: grid;
  min-width: 190px;
  padding: 6px;
  border: 1px solid #c4d3d1;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 33, 31, 0.16);
}

.network-links a {
  padding: 9px 10px;
  border-radius: 4px;
  color: var(--green-dark);
  font-weight: 800;
  text-decoration: none;
}

.network-links a:hover,
.network-links a:focus-visible {
  background: #edf7f3;
}

.anonamed-link {
  padding: 0 12px;
  border: 1px solid rgba(11, 95, 134, 0.32);
  background: var(--blue);
  color: #fff;
}

.flights-link {
  padding: 0 12px;
  border: 1px solid rgba(15, 91, 72, 0.36);
  background: var(--green);
  color: #fff;
}

.language-control {
  gap: 8px;
  padding: 5px 8px 5px 10px;
  border: 1px solid #c4d3d1;
  background: #fff;
  color: var(--green-dark);
}

.language-control select {
  max-width: 190px;
  min-height: 30px;
  border: 1px solid #c4d3d1;
  border-radius: 4px;
  background: #f8fbfa;
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
}

.english-link {
  padding: 0 11px;
  border: 1px solid #c4d3d1;
  background: #fff;
  color: var(--green);
}

.anonamed-link:hover,
.anonamed-link:focus-visible,
.flights-link:hover,
.flights-link:focus-visible,
.english-link:hover,
.english-link:focus-visible {
  transform: translateY(-1px);
}

.urgent-panel {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(210, 47, 47, 0.22);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.urgent-panel span {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.urgent-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 9px;
  border: 1px solid rgba(210, 47, 47, 0.18);
  border-radius: 6px;
  text-decoration: none;
}

.urgent-panel a:hover,
.urgent-panel a:focus-visible {
  border-color: var(--red);
  background: #fff5f5;
}

.urgent-panel b {
  color: var(--red);
}

.urgent-panel small {
  margin-left: auto;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

main {
  display: flex;
  flex-direction: column;
}

.hero-panel {
  position: relative;
  min-height: clamp(360px, 46vw, 520px);
  margin: 2px 0 16px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--green-dark);
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 48%;
  z-index: -2;
}

.hero-panel::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 18, 24, 0.72), rgba(3, 18, 24, 0.28) 52%, rgba(3, 18, 24, 0.08)),
    linear-gradient(0deg, rgba(3, 18, 24, 0.28), transparent 42%);
}

.hero-content {
  display: grid;
  align-content: end;
  gap: 14px;
  width: min(650px, 100%);
  min-height: inherit;
  padding: clamp(26px, 5vw, 58px);
  color: #fff;
}

.hero-content .eyebrow {
  color: #d9f0e9;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.86;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
}

.hero-content p:last-child {
  max-width: 560px;
  margin: 0;
  color: #eef8f6;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
}

.hero-credit {
  position: absolute;
  right: 14px;
  bottom: 12px;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(3, 18, 24, 0.42);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(8px);
}

.directory-console {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.intro-panel {
  display: grid;
  gap: 8px;
  max-width: 920px;
}

.eyebrow {
  margin: 0;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
.intro-panel h2 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(1.6rem, 3.2vw, 2.65rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.intro-panel p:last-child {
  margin: 0;
  color: #34494c;
  font-size: 0.94rem;
  line-height: 1.45;
}

.controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
}

.search-box {
  display: grid;
  gap: 7px;
}

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

.search-action button {
  min-width: 68px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 6px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.search-action button:hover,
.search-action button:focus-visible {
  background: var(--green-dark);
}

.search-box > label,
.filter-block span {
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 900;
}

.search-box .search-action {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

input[type="search"] {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #b8c8c8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

input[type="search"]:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(15, 91, 72, 0.16);
  outline: none;
}

.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}

.stats strong {
  color: var(--ink);
}

.filter-block {
  display: none;
  gap: 12px;
}

.filter-toggle {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 13px;
  border: 1px solid #b8cbc8;
  border-radius: 6px;
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.filter-toggle::after {
  content: "+";
  font-size: 1.2rem;
}

.filter-toggle[aria-expanded="true"]::after {
  content: "−";
}

.filter-block.is-open {
  display: grid;
}

.filter-block > div {
  display: grid;
  gap: 8px;
}

.filter-block label {
  font-weight: 700;
}

.mobile-filter {
  display: block;
  width: 100%;
  min-height: 46px;
  border: 1px solid #b8cbc8;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  padding: 0 42px 0 12px;
}

.chip-nav {
  display: none;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-nav button {
  min-height: 32px;
  border: 1px solid #bdd0cd;
  border-radius: 999px;
  background: #fff;
  color: #244944;
  cursor: pointer;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0 10px;
}

.region-nav button {
  border-color: #c7d5de;
  color: #254f66;
}

.chip-nav button[aria-pressed="true"] {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.region-nav button[aria-pressed="true"] {
  border-color: var(--blue);
  background: var(--blue);
}

.notice {
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid rgba(185, 139, 36, 0.32);
  border-radius: 8px;
  background: #fff9ea;
}

.notice p {
  margin: 0;
  color: #554116;
  font-size: 0.95rem;
  line-height: 1.55;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 4px 0 20px;
}

.quick-grid a {
  display: grid;
  min-height: 92px;
  align-content: center;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 38, 42, 0.07);
  text-decoration: none;
}

.quick-grid a:hover,
.quick-grid a:focus-visible {
  border-color: var(--green);
  transform: translateY(-1px);
}

.quick-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.25;
}

.quick-grid b {
  font-size: 1rem;
  line-height: 1.2;
}

.book-trip {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.25fr);
  gap: 16px;
  align-items: center;
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid rgba(11, 95, 134, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eef6f8);
  box-shadow: 0 8px 22px rgba(8, 38, 42, 0.07);
}

.book-trip h2 {
  margin: 4px 0 8px;
  color: var(--green-dark);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  line-height: 1.1;
}

.book-trip p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.partner-grid a {
  display: grid;
  min-height: 84px;
  align-content: center;
  justify-items: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid #c4d6d8;
  border-radius: 8px;
  background: #fff;
  text-align: center;
  text-decoration: none;
}

.partner-grid a:hover,
.partner-grid a:focus-visible {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.partner-grid a.primary-partner {
  border-color: rgba(15, 91, 72, 0.32);
  background: var(--green);
}

.partner-grid a.primary-partner strong,
.partner-grid a.primary-partner span {
  color: #fff;
}

.partner-grid a.secondary-partner {
  border-color: rgba(11, 95, 134, 0.28);
  background: #edf7fb;
}

.partner-grid a.tour-partner {
  border-style: dashed;
}

.partner-grid strong {
  color: var(--blue-dark);
  font-size: 0.92rem;
  line-height: 1.15;
}

.partner-grid span {
  color: var(--muted);
  font-size: 0.76rem;
}

.scenic-strip {
  order: 10;
  margin: 24px 0 26px;
}

.scenic-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.scenic-heading h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: 1.25rem;
}

.scenic-heading span {
  color: var(--muted);
  font-size: 0.88rem;
}

.scenic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.scenic-grid figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(8, 38, 42, 0.08);
}

.scenic-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.scenic-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease;
}

.scenic-photo:hover img,
.scenic-photo:focus img {
  transform: scale(1.035);
}

.scenic-grid figcaption {
  display: grid;
  gap: 4px;
  padding: 10px 11px 11px;
}

.scenic-grid figcaption strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

.scenic-grid figcaption a {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.directory {
  display: grid;
  gap: 24px;
}

.category-section {
  display: grid;
  gap: 12px;
  scroll-margin-top: 24px;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-top: 6px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: 0;
}

.section-heading span {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.link-card {
  display: grid;
  gap: 10px;
  min-height: 164px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 8px 22px rgba(8, 38, 42, 0.07);
}

.link-card:not(:has(.card-media)) {
  padding-top: 16px;
}

.link-card:hover {
  border-color: #9db8b4;
}

.card-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e9f1ef;
}

.card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.card-top,
.link-card > p,
.meta,
.card-actions {
  margin-inline: 16px;
}

.card-actions {
  margin-bottom: 16px;
}

.link-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.badge {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 4px 8px;
  background: var(--mist);
  color: var(--green-dark);
  font-size: 0.74rem;
  font-weight: 900;
}

.badge.urgent {
  background: #fff0f0;
  color: var(--red);
}

.link-card p {
  margin: 0;
  color: #405357;
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.meta span {
  border: 1px solid #dce7e5;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 3px 7px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.link-card a {
  display: inline-flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  gap: 7px;
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.card-actions a:first-child {
  padding-right: 10px;
  border-right: 1px solid #dce7e5;
}

.card-actions .accommodation-action {
  min-height: 36px;
  padding: 0 11px;
  border: 1px solid rgba(15, 91, 72, 0.28);
  border-radius: 5px;
  background: #edf7f3;
}

.link-card a:hover,
.link-card a:focus-visible {
  color: var(--blue);
}

.empty-state {
  margin: 28px 0;
  padding: 28px;
  border: 1px dashed #a9bbb8;
  border-radius: 8px;
  background: #fff;
  text-align: center;
}

.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p,
footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.image-credit-panel {
  margin: 24px 0 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 38, 42, 0.06);
}

.image-credit-panel summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--green-dark);
  font-weight: 900;
}

.credit-list {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}

.credit-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.credit-list a {
  color: var(--blue);
  font-weight: 800;
}

.directory-summary {
  margin: 28px 0 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(8, 38, 42, 0.06);
}

.directory-summary h2 {
  margin: 4px 0 8px;
  color: var(--green-dark);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
}

.directory-summary p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.directory-summary nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.directory-summary nav a {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid #c7d7d4;
  border-radius: 999px;
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

footer {
  padding: 28px 0 42px;
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr;
  }

  .quick-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .book-trip {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scenic-grid,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header,
  main,
  footer {
    width: min(100% - 20px, 1200px);
  }

  .site-header {
    padding-top: 18px;
  }

  .brand strong {
    font-size: 2.35rem;
  }

  .header-tools {
    display: grid;
    grid-template-columns: 1fr;
  }

  .anonamed-link,
  .flights-link,
  .network-links,
  .network-links > summary,
  .english-link,
  .language-control {
    width: 100%;
    justify-content: center;
  }

  .network-links > div {
    position: static;
    margin-top: 6px;
    box-shadow: none;
  }

  .language-control {
    justify-content: space-between;
  }

  .language-control select {
    flex: 1;
    min-width: 0;
    max-width: none;
  }

  .hero-panel {
    min-height: 360px;
  }

  .hero-panel > img {
    object-position: 49% 50%;
  }

  .hero-panel::after {
    background:
      linear-gradient(180deg, rgba(3, 18, 24, 0.2), rgba(3, 18, 24, 0.76)),
      linear-gradient(90deg, rgba(3, 18, 24, 0.4), rgba(3, 18, 24, 0.08));
  }

  .hero-content {
    align-content: end;
    padding: 24px 18px 54px;
  }

  .hero-content h1 {
    font-size: clamp(3.1rem, 18vw, 4.45rem);
  }

  .hero-credit {
    right: auto;
    left: 14px;
  }

  .urgent-panel {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .directory-console {
    position: relative;
    padding: 12px;
  }

  .controls {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stats {
    justify-content: flex-start;
    white-space: normal;
  }

  .filter-toggle {
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #b8cbc8;
    border-radius: 6px;
    background: #fff;
    color: var(--green-dark);
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    padding: 0 13px;
  }

  .filter-block .chip-nav {
    display: none;
  }

  .mobile-filter {
    display: block;
  }

  .quick-grid,
  .scenic-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .book-trip {
    padding: 14px;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-grid a {
    min-height: 76px;
  }

  .scenic-heading {
    display: grid;
    gap: 4px;
  }

  .link-card {
    min-height: 0;
  }

  .card-top {
    flex-wrap: wrap;
  }

  .card-top,
  .link-card > p,
  .meta,
  .card-actions {
    margin-inline: 14px;
  }

  .card-actions {
    margin-bottom: 14px;
  }

  .link-card h3,
  .link-card p {
    overflow-wrap: anywhere;
  }

  .card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .card-actions a,
  .card-actions a:first-child {
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 7px 8px;
    border: 1px solid #c9d8d5;
    border-radius: 6px;
    background: #f8fbfa;
    text-align: center;
  }
}

@media (max-width: 390px) {
  .site-header,
  main,
  footer {
    width: min(100% - 14px, 1200px);
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }
}
