.world-gallery-grid .gallery-art {
  padding: 0.85rem;
  background:
    radial-gradient(circle at top left, rgba(127, 216, 200, 0.2), transparent 55%),
    linear-gradient(180deg, rgba(15, 53, 88, 0.08), rgba(15, 53, 88, 0.02));
}

.world-gallery-grid .gallery-art img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.world-gallery-grid .gallery-copy p {
  line-height: 1.65;
}

.directory-toolbar {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.directory-search input {
  width: 100%;
}

.continent-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.continent-chip {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(17, 50, 74, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  color: #16324b;
  cursor: pointer;
  font-weight: 700;
}

.continent-chip.is-active {
  border-color: rgba(15, 53, 88, 0.4);
  background: #16324b;
  color: #fffdf8;
}

.directory-summary {
  margin: 0 0 1rem;
  color: rgba(22, 50, 75, 0.76);
  font-weight: 700;
}

.country-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1rem;
}

.country-card,
.explorer-media-card,
.source-card {
  padding: 1.2rem;
  border-radius: 1.6rem;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(17, 50, 74, 0.08);
  box-shadow: 0 20px 42px rgba(17, 50, 74, 0.1);
}

.country-card {
  display: grid;
  gap: 1rem;
}

.country-card-flag {
  padding: 0.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(17, 50, 74, 0.08);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 50%),
    linear-gradient(180deg, rgba(244, 248, 250, 0.94), rgba(255, 253, 248, 0.98));
}

.country-card-flag img,
.explorer-media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.country-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.8rem;
}

.country-card-head h3,
.explorer-media-card strong,
.source-card h3 {
  margin: 0;
  font-size: 1.18rem;
  color: #16324b;
}

.country-card-head span,
.explorer-media-kicker,
.source-card span {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 53, 88, 0.08);
  color: rgba(15, 53, 88, 0.78);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.country-card-list {
  margin: 0;
  padding-left: 1.05rem;
  color: rgba(22, 50, 75, 0.84);
  line-height: 1.6;
}

.country-card-list li + li {
  margin-top: 0.4rem;
}

.country-card-button {
  width: 100%;
  min-height: 3.1rem;
  border: 0;
  border-radius: 1rem;
  background: #16324b;
  color: #fffdf8;
  cursor: pointer;
  font-weight: 700;
}

.directory-footer {
  display: flex;
  justify-content: center;
  margin-top: 1.4rem;
}

.explorer-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.explorer-media-kicker {
  margin-bottom: 0.7rem;
}

.explorer-media-card img {
  border-radius: 1.25rem;
  border: 1px solid rgba(17, 50, 74, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 247, 250, 0.94));
}

.explorer-media-card p,
.source-card p {
  margin: 0.75rem 0 0;
  line-height: 1.7;
  color: rgba(22, 50, 75, 0.84);
}

.source-link,
.source-card a {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  color: #0f5b82;
  font-weight: 700;
  text-decoration: none;
}

.source-link:hover,
.source-card a:hover {
  text-decoration: underline;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.source-card-wide {
  grid-column: 1 / -1;
}

.source-card ul {
  margin: 0.9rem 0 0;
  padding-left: 1.05rem;
  color: rgba(22, 50, 75, 0.84);
}

.source-card li + li {
  margin-top: 0.4rem;
}

@media (max-width: 900px) {
  .explorer-media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .country-card,
  .explorer-media-card,
  .source-card {
    padding: 1rem;
    border-radius: 1.3rem;
  }

  .country-card-head {
    display: grid;
  }

  .country-card-head span {
    justify-self: start;
  }

  .continent-filter-row {
    gap: 0.55rem;
  }

  .continent-chip {
    width: 100%;
    justify-content: center;
  }
}
