/* Shared reading layout for country guides. */
.gx-inner .gx-main {
  --reading-width: 690px;
}
.gx-inner .gx-main .gx-story {
  display: block;
  max-width: 960px;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
}
.gx-inner .gx-story .gx-story-copy {
  width: min(100%, var(--reading-width));
  margin: 0 auto;
  padding: clamp(22px, 4vw, 54px) 0 24px;
}
.gx-inner .gx-story .gx-story-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  line-height: 1.04;
  font-weight: 660;
  text-wrap: pretty;
}
.gx-inner .gx-main .gx-story .gx-story-photo {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 2.35;
  border-radius: 16px;
}
.gx-inner .gx-main .dv-intro {
  width: min(100%, var(--reading-width));
  margin: clamp(24px, 4vw, 42px) auto 0;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
  line-height: 1.5;
}
.gx-inner .gx-main .gx-reader {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: var(--reading-width);
  gap: 32px;
  margin: 30px auto 56px;
}
.gx-inner .gx-reader .gx-toc {
  position: static;
  padding: 20px clamp(18px, 4vw, 30px);
  background: #eff5f2;
}
.gx-inner .gx-toc strong {font-size: 1.1rem}
.gx-inner .gx-toc a {margin: 0; padding: 6px 0; font-size: 1rem}
.gx-inner .gx-main .gx-prose {font-size: clamp(1.06rem, 1.5vw, 1.18rem)}
.gx-inner .gx-prose p {line-height: 1.65; margin-block: .8em}
.gx-inner .gx-prose h2 {margin: 1.6em 0 .55em; text-wrap: pretty}
.gx-inner .gx-prose > h2:first-child,
.gx-inner .gx-prose > section:first-child h2:first-child {margin-top: 0}
.gx-inner .gx-main .gx-reader > .dv-rail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  align-items: start;
}
@media (max-width: 600px) {
  .gx-inner .gx-main .gx-story .gx-story-photo {aspect-ratio: 1.65; border-radius: 12px}
  .gx-inner .gx-main .gx-reader {gap: 24px}
}
