:root {
  --ink: #07333d;
  --deep: #052b35;
  --ocean: #0b5969;
  --aqua: #a8d8d1;
  --foam: #e4f1ef;
  --sand: #f3eee6;
  --paper: #fffdf8;
  --coral: #ed745d;
  --muted: #587177;
  --line: rgba(7, 51, 61, 0.16);
  --shadow: 0 22px 60px rgba(7, 51, 61, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand);
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}

.container {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  transform: translateY(-180%);
  color: white;
  border-radius: 3px;
  padding: 10px 14px;
  background: var(--deep);
}

.skip-link:focus {
  transform: translateY(0);
}

.section-label,
.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.9px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  margin-bottom: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -2.5px;
}

h1 i,
h2 i {
  font-weight: 600;
}

.site-nav {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  padding: 5px 14px 5px 7px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 8px 28px rgba(3, 25, 31, 0.13);
  text-decoration: none;
}

.logo-window {
  position: relative;
  overflow: hidden;
  width: 60px;
  height: 47px;
  flex: 0 0 auto;
}

.logo-window img {
  position: absolute;
  top: -21px;
  left: -16px;
  width: 90px;
  max-width: none;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  font-size: 14px;
  letter-spacing: -0.35px;
}

.brand-copy small {
  margin-top: 5px;
  color: #426268;
  font: italic 12px "Playfair Display", Georgia, serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:not(.nav-cta) {
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 11px 18px;
}

.menu-toggle {
  display: none;
  width: 47px;
  height: 47px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  padding: 0;
  background: rgba(5, 43, 53, 0.28);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 1px;
  margin: 5px auto;
  background: white;
}

.site-hero {
  position: relative;
  min-height: 760px;
  height: 100svh;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(3, 31, 40, 0.82), rgba(3, 31, 40, 0.19) 70%),
    linear-gradient(0deg, rgba(3, 31, 40, 0.34), transparent 45%),
    url("assets/katamaran-alternatywa.png") center / cover no-repeat;
}

.site-hero::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: clamp(90px, 14vh, 150px);
}

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

.hero-content h1 {
  max-width: 850px;
  font-size: clamp(56px, 7.2vw, 104px);
  letter-spacing: -4px;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 34px;
  color: #eef7f5;
  font-size: clamp(16px, 1.5vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 52px;
  border: 0;
  border-radius: 3px;
  padding: 14px 19px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button span {
  font-size: 19px;
}

.button-light {
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 13px 36px rgba(0, 0, 0, 0.13);
}

.button-dark {
  color: white;
  background: var(--deep);
}

.text-link,
.under-link {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.text-link span,
.under-link span {
  margin-left: 7px;
  font-size: 18px;
}

.hero-facts {
  display: flex;
  gap: 0;
  margin-top: clamp(50px, 9vh, 95px);
}

.hero-facts span {
  min-width: 155px;
  border-left: 1px solid rgba(255, 255, 255, 0.34);
  padding: 0 28px;
  color: #d9e9e7;
  font-size: 12px;
}

.hero-facts span:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts strong {
  display: block;
  margin-bottom: 2px;
  color: white;
  font: 600 25px "Playfair Display", Georgia, serif;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: max(32px, calc((100% - 1220px) / 2));
  display: flex;
  align-items: center;
  gap: 13px;
  color: white;
  font-size: 10px;
  letter-spacing: 1.7px;
  text-decoration: none;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 55px;
  height: 1px;
  background: white;
}

.intro {
  padding: 126px 0 106px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: start;
}

.intro h2 {
  font-size: clamp(43px, 5vw, 68px);
}

.intro-copy {
  padding-top: 7px;
}

.intro-copy p {
  margin-bottom: 18px;
  font-size: 17px;
}

.under-link {
  display: inline-block;
  margin-top: 12px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 84px;
  border-top: 1px solid var(--line);
}

.values article {
  padding: 27px 40px 0 0;
}

.values article + article {
  border-left: 1px solid var(--line);
  padding-left: 40px;
}

.values span {
  color: var(--coral);
  font: italic 20px "Playfair Display", Georgia, serif;
}

.values h3 {
  margin: 11px 0 7px;
  font: 600 25px "Playfair Display", Georgia, serif;
}

.values p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 650px;
  background: var(--paper);
}

.story-band__photo {
  min-height: 560px;
}

.story-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-band__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(60px, 9vw, 130px);
}

.story-band__copy h2 {
  font-size: clamp(40px, 4.4vw, 62px);
}

.story-band__copy > p:not(.section-label) {
  max-width: 600px;
  margin: 28px 0 32px;
}

.destinations {
  padding: 122px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(43px, 5vw, 68px);
}

.section-head > p {
  max-width: 390px;
  margin-bottom: 5px;
  color: var(--muted);
}

.destination-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}

.destination-card {
  grid-column: span 4;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--paper);
  box-shadow: 0 12px 36px rgba(7, 51, 61, 0.055);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destination-card--wide {
  grid-column: span 8;
}

.destination-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.destination-card__image {
  position: relative;
  overflow: hidden;
  display: block;
  height: 280px;
  background: #d7e3df;
}

.destination-card--wide .destination-card__image {
  height: 330px;
}

.destination-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 31, 40, 0.18), transparent 45%);
  content: "";
}

.destination-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.destination-card:hover .destination-card__image img {
  transform: scale(1.035);
}

.destination-card__number {
  position: absolute;
  z-index: 1;
  right: 14px;
  bottom: 11px;
  color: white;
  font: italic 24px "Playfair Display", Georgia, serif;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.destination-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 23px 24px 20px;
}

.destination-card__period {
  margin-bottom: 7px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}

.destination-card__body > strong {
  font: 600 27px/1.08 "Playfair Display", Georgia, serif;
  letter-spacing: -0.6px;
}

.destination-card__tagline {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.destination-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 12px;
  font-weight: 700;
}

.destination-card__meta i {
  color: var(--coral);
  font-size: 18px;
  font-style: normal;
}

.contact {
  color: white;
  padding: 110px 0;
  background:
    radial-gradient(circle at 88% 10%, rgba(168, 216, 209, 0.26), transparent 34%),
    var(--ocean);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.75fr);
  gap: clamp(60px, 10vw, 150px);
}

.contact .section-label {
  color: #ffc3b7;
}

.contact h2 {
  font-size: clamp(47px, 5.4vw, 76px);
}

.contact-copy {
  align-self: center;
}

.contact-copy > p:first-child {
  color: #e4f1ef;
  font-size: 17px;
}

.contact-options {
  display: grid;
  gap: 12px;
  margin: 29px 0 15px;
}

.contact-link {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  color: var(--ink);
  border-radius: 4px;
  padding: 20px 22px;
  background: var(--paper);
  text-decoration: none;
}

.contact-link span {
  grid-column: 1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.contact-link strong {
  grid-column: 1;
  margin-top: 2px;
  font-size: 18px;
}

.contact-link i {
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: center;
  color: var(--coral);
  font-size: 25px;
  font-style: normal;
}

.contact-note {
  margin: 0;
  color: #cde0de;
  font-size: 12px;
}

.site-footer {
  color: #dcebe9;
  padding: 55px 0 20px;
  background: var(--deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.65fr 0.85fr;
  gap: 70px;
  align-items: start;
}

.footer-grid > div:first-child > p {
  max-width: 340px;
  margin: 18px 0 0;
  color: #a9c2c4;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-title {
  margin-bottom: 5px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.footer-links a {
  color: #c8dcda;
  font-size: 13px;
  text-decoration: none;
}

.footer-signature {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-signature strong {
  color: var(--aqua);
  font-size: 22px;
}

.footer-signature span {
  font: italic 17px "Playfair Display", Georgia, serif;
}

.footer-email {
  margin-top: 10px;
  color: #c8dcda;
  font-size: 12px;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-top: 17px;
  color: #8eaaad;
  font-size: 11px;
}

/* Podstrony historii */

.story-hero {
  position: relative;
  min-height: 650px;
  height: 78svh;
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(3, 31, 40, 0.84), rgba(3, 31, 40, 0.1) 76%),
    linear-gradient(0deg, rgba(3, 31, 40, 0.34), transparent 55%),
    var(--cover) center / cover no-repeat;
}

.story-hero__content {
  position: relative;
  z-index: 2;
  padding-top: clamp(80px, 12vh, 125px);
}

.story-hero__content .eyebrow {
  margin-top: 30px;
  color: #ffd0c6;
}

.back-link {
  color: white;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.story-hero h1 {
  max-width: 950px;
  font-size: clamp(54px, 7vw, 96px);
  letter-spacing: -3.8px;
}

.story-hero__content > p:not(.eyebrow) {
  max-width: 650px;
  margin: 22px 0 28px;
  color: #eef7f5;
  font-size: 19px;
}

.story-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(50px, 9vw, 135px);
  padding: 112px 0 102px;
}

.story-intro h2 {
  font-size: clamp(40px, 4.5vw, 61px);
}

.story-intro > div:nth-child(2) > p {
  font-size: 18px;
}

.story-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 38px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.story-meta div + div {
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.story-meta dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.story-meta dd {
  margin: 4px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.gallery-section {
  padding-bottom: 105px;
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}

.gallery-heading h2 {
  font-size: clamp(40px, 4.4vw, 58px);
}

.gallery-heading > span {
  color: var(--muted);
  font-size: 13px;
}

.masonry-gallery {
  column-count: 3;
  column-gap: 13px;
}

.gallery-shot {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  margin: 0 0 13px;
  break-inside: avoid;
  border: 0;
  border-radius: 3px;
  padding: 0;
  background: #dce8e4;
  cursor: zoom-in;
}

.gallery-shot::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  content: "";
  pointer-events: none;
}

.gallery-shot img {
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-shot:hover img {
  filter: saturate(1.06);
  transform: scale(1.018);
}

.gallery-shot span {
  position: absolute;
  right: 9px;
  bottom: 8px;
  color: white;
  border-radius: 999px;
  padding: 4px 7px;
  background: rgba(3, 31, 40, 0.74);
  font-size: 9px;
  font-weight: 700;
}

.story-pagination {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 110px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.story-pagination a {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  padding: 27px 0;
  text-decoration: none;
}

.story-pagination a + a {
  align-items: flex-end;
  border-left: 1px solid var(--line);
  text-align: right;
}

.story-pagination span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.story-pagination strong {
  margin-top: 3px;
  font: 600 22px "Playfair Display", Georgia, serif;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 55px 80px;
  background: rgba(2, 20, 25, 0.96);
}

.lightbox figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.lightbox figure img {
  max-width: min(90vw, 1600px);
  max-height: 84vh;
  object-fit: contain;
}

.lightbox figcaption {
  margin-top: 10px;
  color: white;
  font-size: 12px;
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  padding: 0;
  background: rgba(0, 0, 0, 0.18);
  font-size: 27px;
  cursor: pointer;
}

.lightbox-close {
  top: 19px;
  right: 22px;
}

.lightbox-prev {
  top: 50%;
  left: 18px;
}

.lightbox-next {
  top: 50%;
  right: 18px;
}

@media (max-width: 980px) {
  .container {
    width: min(100% - 44px, 1220px);
  }

  .intro-grid,
  .story-intro {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .story-band__copy {
    padding: 70px 55px;
  }

  .destination-card,
  .destination-card--wide {
    grid-column: span 6;
  }

  .destination-card__image,
  .destination-card--wide .destination-card__image {
    height: 280px;
  }

  .contact-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 55px;
  }

  .masonry-gallery {
    column-count: 2;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 32px);
  }

  .site-nav {
    height: 82px;
  }

  .brand {
    padding-right: 11px;
  }

  .logo-window {
    width: 47px;
    height: 37px;
  }

  .logo-window img {
    top: -17px;
    left: -13px;
    width: 71px;
  }

  .brand-copy strong {
    font-size: 12px;
  }

  .brand-copy small {
    font-size: 10px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    right: 0;
    display: none;
    min-width: 230px;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 5px;
    padding: 12px;
    background: rgba(5, 43, 53, 0.97);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
  }

  .nav-links a {
    padding: 11px 10px;
  }

  .nav-cta {
    margin-top: 4px;
    text-align: center;
  }

  .site-hero {
    min-height: 720px;
    background-position: 59% center;
  }

  .hero-content {
    padding-top: 72px;
  }

  .hero-content h1 {
    font-size: clamp(52px, 16vw, 72px);
    letter-spacing: -3px;
  }

  .hero-copy {
    max-width: 500px;
    margin-top: 22px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
  }

  .hero-facts {
    gap: 0;
    margin-top: 48px;
  }

  .hero-facts span {
    min-width: 0;
    flex: 1;
    padding: 0 12px;
  }

  .hero-facts strong {
    font-size: 19px;
  }

  .scroll-cue {
    display: none;
  }

  .intro {
    padding: 82px 0 70px;
  }

  .intro h2,
  .section-head h2 {
    font-size: 43px;
    letter-spacing: -1.8px;
  }

  .values {
    grid-template-columns: 1fr;
    margin-top: 52px;
  }

  .values article,
  .values article + article {
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
  }

  .story-band {
    grid-template-columns: 1fr;
  }

  .story-band__photo {
    min-height: 430px;
  }

  .story-band__copy {
    padding: 67px 16px 72px;
  }

  .story-band__copy > * {
    width: min(100%, 620px);
    margin-right: auto;
    margin-left: auto;
  }

  .destinations {
    padding: 82px 0;
  }

  .section-head,
  .gallery-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .section-head > p {
    max-width: 600px;
  }

  .destination-card,
  .destination-card--wide {
    grid-column: span 12;
  }

  .destination-card__image,
  .destination-card--wide .destination-card__image {
    height: 260px;
  }

  .contact {
    padding: 78px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-signature {
    align-items: flex-start;
    text-align: left;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .story-hero {
    min-height: 650px;
    height: 82svh;
  }

  .story-hero__content {
    padding-top: 75px;
  }

  .story-hero h1 {
    font-size: clamp(48px, 14vw, 70px);
    letter-spacing: -2.7px;
  }

  .story-intro {
    padding: 80px 0 72px;
  }

  .story-meta {
    gap: 0;
  }

  .story-meta div + div {
    padding-left: 13px;
  }

  .gallery-section {
    padding-bottom: 75px;
  }

  .story-pagination {
    margin-bottom: 75px;
  }
}

@media (max-width: 560px) {
  .hero-facts span {
    font-size: 10px;
  }

  .hero-facts span:last-child {
    display: none;
  }

  .destination-card__body {
    min-height: 205px;
  }

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

  .footer-grid > div:first-child {
    grid-column: auto;
  }

  .masonry-gallery {
    column-count: 1;
  }

  .story-meta {
    grid-template-columns: 1fr;
  }

  .story-meta div,
  .story-meta div + div {
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 11px 0;
  }

  .story-pagination {
    grid-template-columns: 1fr;
  }

  .story-pagination a + a {
    align-items: flex-start;
    border-top: 1px solid var(--line);
    border-left: 0;
    text-align: left;
  }

  .lightbox {
    padding: 55px 44px;
  }

  .lightbox-prev {
    left: 5px;
  }

  .lightbox-next {
    right: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
