/* =========================================================
   19. Media Queries
   ========================================================= */

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 96px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .menu-open .main-nav {
    display: flex;
  }

  .hero-full-slider {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-left {
    grid-column: 1;
    justify-self: center;
    min-height: auto;
    padding: 72px 28px 46px;
  }

  .hero-left-inner {
    max-width: 760px;
  }

  .hero-slider-full {
    grid-column: 1;
    min-height: 420px;
  }

  .hero-slider-full .hero-slider-window {
    min-height: 420px;
    height: 420px;
  }

  .intro-grid,
  .layout-two,
  .leisure-layout,
  .price-row,
  .seo-layout,
  .contact-card,
  .footer-inner,
  .trail-layout,
  .trail-bottom {
    grid-template-columns: 1fr;
  }

  .sticky-title {
    position: static;
  }

  .feature-mosaic {
    grid-template-columns: 1fr;
  }

  .trail-layout {
    justify-items: center;
  }

  .trail-card {
    max-width: 620px;
  }

  .gallery-grid,
  .gallery-grid-reverse {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 220px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .contact-card {
    padding: 34px;
  }

  .footer-inner {
    justify-items: center;
    text-align: center;
  }

  .footer-inner img {
    mix-blend-mode: normal;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    width: 100%;
  }
  .leisure-layout,
  .leisure-grid {
    grid-template-columns: 1fr;
  }

  .leisure-highlight {
    max-width: 620px;
  }
    .route-card {
    max-width: 680px;
}

@media (max-width: 760px) {
  .slider-window {
    height: 220px;
  }
}

@media (max-width: 620px) {
  .gallery-heading {
    grid-template-columns: 1fr;
  }

  .gallery-heading span {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .gallery-grid,
  .gallery-grid-reverse {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }

  .lightbox-content {
    border-radius: 22px;
  }

  .lightbox-content img {
    max-height: 72vh;
  }

  .lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.9rem;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand img {
    width: 124px;
  }

  .hero-left {
    padding: 54px 20px 38px;
  }

  .hero-logo {
    width: min(100%, 360px);
    margin-bottom: 28px;
  }

  .hero-slider-full,
  .hero-slider-full .hero-slider-window {
    min-height: 320px;
    height: 320px;
  }

  .hero-slider-arrow {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }

  .hero-slider-arrow.prev {
    left: 14px;
  }

  .hero-slider-arrow.next {
    right: 14px;
  }

  h1 {
    font-size: 2.7rem;
  }

  .hero-actions,
  .trail-actions,
  .cookie-actions,
  .cta-btn-con {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .apartment-card,
  .feature-mosaic article,
  .price-row article,
  .trail-card,
  .trail-bottom article,
  .contact-card,
  .contact-card address {
    padding: 24px;
  }

  .faq-list summary {
    padding: 20px 54px 20px 20px;
  }

  .faq-list p {
    padding: 18px 20px 22px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    max-width: none;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
    font-size: 1.2rem;
  }
  .leisure-highlight,
  .leisure-grid article {
    padding: 24px;
  }

  .leisure-actions {
    flex-direction: column;
  }
    .route-info {
    padding: 24px;
  }

  .route-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .slider-window {
    height: 195px;
    border-radius: 22px;
  }

  .slider-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.65rem;
  }
}
