:root {
  color-scheme: light;
  --background: #f7faf7;
  --surface: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.7);
  --accent: #0f8a3b;
  --accent-soft: #b6e2c1;
  --accent-strong: #066327;
  --text: #183026;
  --text-soft: #4f665a;
  --border: rgba(15, 138, 59, 0.15);
  --shadow: 0 16px 40px -24px rgba(15, 138, 59, 0.5);
  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 12px;
  --transition: 180ms ease;
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: inherit;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius-medium);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--text);
}

.brand__icon {
  font-size: 1.6rem;
}


.header__nav {
  display: none;
  align-items: center;
  gap: 1rem;
}

.header__link {
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-small);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: background var(--transition), color var(--transition);
}

.header__link:hover,
.header__link:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

body[data-page="home"] .header__link--home,
body[data-page="calendar"] .header__link--calendar,
body[data-page="countries"] .header__link--countries,
body[data-page="about"] .header__link--about,
body[data-page="contact"] .header__link--contact {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

@media (min-width: 960px) {
  .header__nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}
.menu-toggle {
  border: none;
  background: var(--surface);
  border-radius: var(--radius-small);
  padding: 0.45rem 0.65rem;
  font-size: 1.4rem;
  color: var(--accent);
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
  box-shadow: inset 0 0 0 1px var(--border);
}

.menu-toggle:focus-visible,
.menu-toggle:hover {
  transform: translateY(-1px);
  background: var(--accent-soft);
}

.side-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(80vw, 320px);
  background: var(--surface);
  box-shadow: 10px 0 40px -24px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.25rem 2rem;
  z-index: 80;
  border-radius: 0 var(--radius-large) var(--radius-large) 0;
}

.side-menu[hidden] {
  display: none;
}

.side-menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.side-menu__title {
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0;
}

.side-menu__close {
  border: none;
  background: var(--surface);
  color: var(--accent);
  font-size: 1.6rem;
  cursor: pointer;
  border-radius: 50%;
  width: 2.4rem;
  height: 2.4rem;
  box-shadow: inset 0 0 0 1px var(--border);
}

.side-menu__close:hover,
.side-menu__close:focus-visible {
  background: var(--accent-soft);
}

.side-menu__nav {
  display: grid;
  gap: 0.75rem;
}

.side-menu__link {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-medium);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: background var(--transition), color var(--transition);
}

.side-menu__link:focus-visible,
.side-menu__link:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

body[data-page="home"] .side-menu__link--home,
body[data-page="calendar"] .side-menu__link--calendar,
body[data-page="countries"] .side-menu__link--countries,
body[data-page="about"] .side-menu__link--about,
body[data-page="contact"] .side-menu__link--contact {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(24, 48, 38, 0.35);
  z-index: 60;
}

.overlay[hidden] {
  display: none;
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding: 2rem 1.5rem 3rem;
  width: min(1200px, 100%);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-large);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(236, 245, 242, 0.88));
  border: 1px solid var(--border);
  padding: 2.8rem 1.6rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.hero__background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  filter: saturate(140%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.hero__tagline {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 3rem);
  font-weight: 700;
  color: var(--text);
}

.hero__subtitle {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-soft);
}

.hero__flag {
  margin: 0;
  width: min(320px, 80vw);
  max-width: 360px;
  display: grid;
  place-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-medium);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--border);
}

.hero__flag img,
.hero__flag .hero__emoji {
  width: 100%;
  border-radius: var(--radius-small);
}

.greeting-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  cursor: pointer;
  box-shadow: 0 12px 30px -18px rgba(6, 99, 39, 0.8);
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.greeting-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.greeting-button:not(:disabled):hover,
.greeting-button:not(:disabled):focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -16px rgba(6, 99, 39, 0.7);
}

.greeting-button__icon {
  font-size: 1.3rem;
}

.greeting-count {
  margin: 0;
  font-weight: 500;
  color: var(--accent-strong);
}

.greeting-count--pulse {
  animation: greeting-pulse 0.6s ease;
}

@keyframes greeting-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.greeting-animation {
  position: absolute;
  pointer-events: none;
  inset: auto 0 1.2rem;
  height: 140px;
  overflow: visible;
}

.greeting-animation__salute {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) scale(0.75);
  font-size: 1.6rem;
  animation: salute-arc 1.6s ease-out forwards;
  opacity: 0;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

@keyframes salute-arc {
  0% {
    transform: translate(-50%, 40px) scale(0.6) rotate(-6deg);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  60% {
    transform: translate(-50%, -10px) scale(1) rotate(6deg);
  }
  100% {
    transform: translate(-50%, -70px) scale(1.08) rotate(0deg);
    opacity: 0;
  }
}

.section-title {
  margin: 0 0 1rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.info {
  display: grid;
  gap: 1.5rem;
}

.info__card {
  background: var(--surface);
  border-radius: var(--radius-large);
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info__card--celebration {
  background: linear-gradient(135deg, rgba(15, 138, 59, 0.12), rgba(255, 255, 255, 0.95));
}

.info__list {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.celebration-highlights {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-medium);
  background: rgba(15, 138, 59, 0.08);
  border: 1px solid rgba(15, 138, 59, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.celebration-highlights ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.65rem;
  color: var(--text);
}

.celebration-highlights li {
  line-height: 1.5;
}

.info__list dt {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}

.info__list dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.gallery {
  background: var(--surface);
  border-radius: var(--radius-large);
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.gallery__grid {
  display: grid;
  gap: 1rem;
}

.gallery__item {
  position: relative;
}

.gallery__credit {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
  color: #fff;
  padding: 0.6rem 0.75rem;
  font-size: 0.75rem;
  border-radius: 0 0 var(--radius-medium) var(--radius-medium);
}

.share {
  background: var(--surface);
  border-radius: var(--radius-large);
  padding: 1.8rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.share__intro {
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--text-soft);
}

.share__actions {
  display: grid;
  gap: 0.8rem;
}

.share__button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.share__button--twitter {
  background: #1da1f2;
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(29, 161, 242, 0.7);
}

.share__button--instagram {
  background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(98, 40, 215, 0.6);
}

.share__button--copy {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 30px -18px rgba(15, 138, 59, 0.7);
}

.share__button:hover,
.share__button:focus-visible {
  transform: translateY(-2px);
}

.share__status {
  min-height: 1.2rem;
  color: var(--accent-strong);
}

.footer {
  text-align: center;
  padding: 2rem 1.5rem 3rem;
  color: var(--text-soft);
  background: transparent;
}

@media (min-width: 640px) {
  .main {
    padding: 3rem 3rem 4rem;
    gap: 3rem;
  }

  .hero {
    padding: 3.5rem 3rem;
  }

  .info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .share__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  body {
    background: linear-gradient(180deg, #eef7f0 0%, #ffffff 55%, #f1f8f2 100%);
  }

  .main {
    padding: 4rem 6rem 5rem;
    gap: 3.5rem;
  }

  .hero {
    text-align: left;
    padding: 4rem 4.5rem;
  }

  .hero__content {
    justify-items: start;
    gap: 1.25rem;
    max-width: 620px;
  }

  .hero__flag {
    justify-self: stretch;
  }

  .info {
    gap: 2rem;
  }

  .gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.hero__background--gradient {
  background-image: var(--hero-gradient);
  opacity: 0.35;
}

.hero__status {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.fact-spotlight {
  background: var(--surface);
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.8rem;
}

.fact-spotlight__list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.75rem;
  color: var(--text);
}

.fact-spotlight__list li {
  line-height: 1.6;
}

.main--countries {
  gap: 2.5rem;
}

.countries {
  background: var(--surface);
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem 2.5rem;
}

.countries__intro {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
  text-align: center;
}

.countries__title {
  margin: 0;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
}

.countries__subtitle {
  margin: 0 auto;
  max-width: 640px;
  color: var(--text-soft);
}

.countries__search {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  color: var(--text-soft);
  font-weight: 500;
}

.countries__search input {
  width: min(440px, 100%);
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 0 1px rgba(15, 138, 59, 0.12);
  font-size: 1rem;
  font-family: inherit;
}

.countries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1rem;
}

.countries__card {
  background: linear-gradient(135deg, rgba(15, 138, 59, 0.08), rgba(255, 255, 255, 0.9));
  border-radius: var(--radius-medium);
  border: 1px solid var(--border);
  padding: 1.1rem 0.5rem;
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.countries__card:hover,
.countries__card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -20px rgba(15, 138, 59, 0.55);
  border-color: rgba(15, 138, 59, 0.45);
}

.countries__card:focus-visible {
  outline: none;
}

.countries__flag {
  font-size: 2rem;
}

.countries__name {
  line-height: 1.2;
}

.country-detail {
  background: var(--surface);
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.country-detail__header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.country-detail__flag {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-medium);
  background: linear-gradient(135deg, rgba(15, 138, 59, 0.08), rgba(255, 255, 255, 0.9));
  border: 1px solid var(--border);
  font-size: 2.2rem;
}

.country-detail__title {
  margin: 0;
  font-size: 1.6rem;
}

.country-detail__date {
  margin: 0.25rem 0 0;
  color: var(--text-soft);
  font-weight: 500;
}

.country-detail__body {
  display: grid;
  gap: 1.5rem;
}

.country-detail__facts {
  display: grid;
  gap: 1rem;
}

.country-detail__celebration {
  background: linear-gradient(135deg, rgba(15, 138, 59, 0.08), rgba(255, 255, 255, 0.9));
  border-radius: var(--radius-medium);
  padding: 1.4rem;
  border: 1px solid rgba(15, 138, 59, 0.15);
  color: var(--text);
  line-height: 1.6;
}

.country-detail__highlights {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

.country-detail__gallery {
  display: grid;
  gap: 1rem;
}

.country-detail__gallery-item {
  position: relative;
}

.countries__error {
  text-align: center;
  color: var(--text-soft);
}

.page-hero {
  background: var(--surface);
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  text-align: center;
}

.page-hero__eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.page-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 6vw, 2.8rem);
}

.page-hero__lede {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.page-section {
  background: var(--surface);
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem 2.2rem;
  display: grid;
  gap: 1.5rem;
}

.page-section--grid {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-section--timeline {
  align-content: start;
}

.page-section--split {
  display: grid;
  gap: 1.5rem;
}

.page-card {
  background: var(--surface);
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.6rem;
  display: grid;
  gap: 0.85rem;
}

.page-card--accent {
  background: linear-gradient(135deg, rgba(15, 138, 59, 0.1), rgba(255, 255, 255, 0.95));
}

.page-card__title {
  margin: 0;
  font-size: 1.35rem;
}

.page-card__list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.5rem;
  color: var(--text);
}

.page-card__note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.25rem;
}

.timeline__item {
  display: grid;
  gap: 0.4rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.timeline__date {
  font-weight: 700;
  color: var(--accent-strong);
}

.timeline__detail {
  margin: 0;
  color: var(--text);
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.6rem;
  display: grid;
  gap: 1rem;
}

.contact-form__title {
  margin: 0;
  font-size: 1.35rem;
}

.contact-form__field {
  display: grid;
  gap: 0.45rem;
  font-weight: 500;
}

.contact-form__field input,
.contact-form__field textarea {
  border-radius: var(--radius-small);
  border: 1px solid var(--border);
  padding: 0.75rem 0.85rem;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: rgba(15, 138, 59, 0.5);
  box-shadow: 0 0 0 3px rgba(15, 138, 59, 0.2);
}

.contact-form__submit {
  justify-self: start;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  cursor: pointer;
  box-shadow: 0 12px 30px -18px rgba(15, 138, 59, 0.6);
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -16px rgba(15, 138, 59, 0.65);
}

.contact-form__note {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.calendar {
  background: var(--surface);
  border-radius: var(--radius-large);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.calendar__header {
  display: grid;
  gap: 0.6rem;
}

.calendar__title {
  margin: 0;
  font-size: 1.5rem;
}

.calendar__subtitle {
  margin: 0;
  color: var(--text-soft);
}

.calendar__list {
  display: grid;
  gap: 1rem;
}
.loading-placeholder {
  height: 350px;
  background: linear-gradient(90deg,#151a22 25%,#1f2734 50%,#151a22 75%);
  background-size: 400% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
  0%{background-position:100% 0}
  100%{background-position:-100% 0}
}


.calendar__error {
  text-align: center;
  color: var(--text-soft);
}

.calendar__item {
  background: var(--surface);
  border-radius: var(--radius-medium);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
  display: grid;
  gap: 0.7rem;
}

.calendar__item--today {
  border-color: rgba(15, 138, 59, 0.45);
  box-shadow: 0 20px 44px -24px rgba(15, 138, 59, 0.55);
}

.calendar__item--upcoming {
  border-color: rgba(15, 138, 59, 0.3);
}

.calendar__item-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.calendar__flag {
  font-size: 1.8rem;
}

.calendar__date {
  font-weight: 600;
  color: var(--accent-strong);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar__country {
  margin: 0;
  font-size: 1.2rem;
}

.calendar__meta {
  margin: 0;
  color: var(--text-soft);
}

.calendar__countdown {
  margin: 0;
  font-weight: 600;
  color: var(--accent-strong);
}

@media (min-width: 720px) {
  .main--countries {
    padding: 3rem 3rem 4rem;
  }

  .countries__intro {
    text-align: left;
    justify-items: start;
  }

  .country-detail__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .country-detail__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero {
    text-align: left;
    padding: 3rem 3.5rem;
  }

  .page-hero__lede {
    max-width: 720px;
  }

  .page-section--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .main--countries {
    padding: 4rem 6rem 5rem;
  }

  .countries__grid {
    gap: 1.25rem;
  }

  .country-detail__gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-section--grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}