/* Footer breathing room: more space around the content on desktop and mobile */
.hotel-footer,
.footer-section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}
.hotel-footer .footer-main,
.footer-section .footer-main {
  row-gap: 3rem;
}
.hotel-footer .footer-bottom,
.footer-section .footer-bottom {
  margin-top: 2.5rem;
}
@media (max-width: 767.98px) {
  .hotel-footer,
  .footer-section {
    padding-top: 3.25rem;
    padding-bottom: 6.5rem; /* keeps clear of the fixed Rezervasyon / Hemen Ara bar */
  }
  .hotel-footer .footer-main,
  .footer-section .footer-main {
    row-gap: 2.25rem;
  }
  .hotel-footer .footer-link-list li + li,
  .footer-section .footer-link-list li + li {
    margin-top: .35rem;
  }
}

/* Mobile footer: clear sections, even rhythm, dividers between blocks */
@media (max-width: 767.98px) {
  .hotel-footer .footer-main,
  .footer-section .footer-main {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .hotel-footer .footer-main > div,
  .footer-section .footer-main > div {
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(10, 21, 38, .08);
  }
  .hotel-footer .footer-main > div:first-child,
  .footer-section .footer-main > div:first-child {
    padding-top: 0;
  }
  .hotel-footer .footer-main > div:last-child,
  .footer-section .footer-main > div:last-child {
    border-bottom: 0;
  }
  .hotel-footer h4,
  .footer-section h4 {
    margin: 0 0 1rem;
    font-size: .8rem;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .hotel-footer .footer-link-list li,
  .footer-section .footer-link-list li {
    margin-bottom: .85rem;
    font-size: .95rem;
    line-height: 1.45;
  }
  .hotel-footer .footer-link-list li:last-child,
  .footer-section .footer-link-list li:last-child {
    margin-bottom: 0;
  }
  .hotel-footer .footer-contact p,
  .footer-section .footer-contact p {
    margin-bottom: 1.1rem;
  }
  .hotel-footer .footer-brand p,
  .footer-section .footer-brand p {
    font-size: .95rem;
    line-height: 1.6;
  }
}

/* Footer contact lines are tappable: clear links with comfortable touch targets */
.footer-contact a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(10, 21, 38, .25);
  text-underline-offset: 3px;
}
@media (max-width: 767.98px) {
  .hotel-footer .footer-contact p,
  .footer-section .footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .25rem 0;
  }
  .footer-contact a {
    display: inline-block;
    padding: .35rem 0;
    min-height: 32px;
  }
}

/* Mobile footer: close the gap between the licence card and the copyright line */
@media (max-width: 767.98px) {
  .hotel-footer .footer-main,
  .footer-section .footer-main {
    padding-bottom: 0 !important;
  }
  .hotel-footer .footer-main > div:last-child,
  .footer-section .footer-main > div:last-child {
    padding-bottom: 0 !important;
  }
  .hotel-footer .footer-bottom,
  .footer-section .footer-bottom {
    margin-top: 1.5rem !important;
  }
}

/* Thin divider above the copyright line */
.hotel-footer .footer-bottom,
.footer-section .footer-bottom {
  border-top: 1px solid rgba(10, 21, 38, .1);
  padding-top: 1.25rem;
}

/* Desktop footer: four columns that fit the container (fixes the horizontal overflow) */
@media (min-width: 768px) {
  .hotel-footer .footer-main,
  .footer-section .footer-main {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 28px;
  }
}
