/* 무주 관광정보 */
.tourism {
  width: calc(100% - 36px);
  max-width: 560px;
  margin: 0 auto 28px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-strong);
}

.tourism h2 {
  margin: 0 0 16px;
  color: var(--color-primary);
  font-size: 23px;
  line-height: 1.3;
}

.tourism-places {
  display: grid;
  gap: 14px;
}

.tourism-place {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.tourism-place + .tourism-place {
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.tourism-place img {
  display: block;
  width: 100%;
  /* Match the text height without sizing the grid row from the image ratio. */
  height: 0;
  min-height: 100%;
  border-radius: 8px;
  background: var(--color-placeholder);
  object-fit: cover;
}

.tourism-place .tourism-photo-credit-corner {
  object-position: right bottom;
}

.tourism-place h3 {
  margin: 0 0 4px;
  color: var(--color-primary);
  font-size: 17px;
  line-height: 1.35;
}

.tourism-place h3 a:any-link {
  color: inherit;
  text-decoration: none;
}

.tourism-place h3 a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.tourism-place p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.tourism-credits {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.tourism-credits summary {
  width: fit-content;
  cursor: pointer;
}

.tourism-credits a {
  color: inherit;
  text-decoration: none;
}

.tourism-credits ul {
  padding-left: 18px;
}

.tourism-credits li + li {
  margin-top: 6px;
}

/* PC 관광정보 */
@media (min-width: 785px) {
  .tourism {
    width: calc(100% - 48px);
    max-width: 1120px;
  }

  .tourism-places {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 28px;
  }

  .tourism-place {
    grid-template-columns: 1fr;
    align-content: start;
  }

  .tourism-place + .tourism-place {
    padding-top: 0;
    border-top: 0;
  }

  .tourism-place img {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}
