* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --grey-font: #4a4a4a;
  --grey-font2: #555;
  --grey-font3: #505050;
  --font-color: white;
  --box-shadow-min: 0 1px 5px rgba(0, 0, 0, 0.12);
  --box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  --letter-spacing-sm: 0.015rem;
  --letter-spacing-md: 0.02rem;
  --line-height-sm: 1.2;
  --line-height-md: 1.5;
  --line-height-lg: 2;
  --sm-weight: 300;
  --md-weight: 400;
  --lg-weight: 500;
  --xl-weight: 600;
  --maps-btn-bg: #1f2933;
  --maps-btn-cl: #ffffff;
  --body-h2-fs: clamp(1.2rem, 1.3vw, 1.5rem);
  --divider: 1px dotted rgba(146, 146, 146, 0.5);
  --link-color: #2068b0;
  --active-link-color: #2068b0;
  --font-grey-color: #555555;
  --font-grey-color2: #4a4a4a;
}

html {
  height: -webkit-fill-available;
}

body {
  min-height: 100svh;
  padding-bottom: env(safe-area-inset-bottom);
  font-family: "Inter", sans-serif;
  letter-spacing: 0.01rem;
  background-color: #f5f4f3;
}

body.no-scroll {
  overflow: hidden;
  height: 100dvh;
  touch-action: none;
}

/*.language-switch {
  margin-left: 20px;
}*/

.visually-hidden {
  display: none;
}

.page-overlay {
  position: fixed;
  inset: 0;
  z-index: 9989;
  pointer-events: none;
  opacity: 0;
}

.page-overlay.active {
  pointer-events: auto;
  opacity: 1;
}

/*==== NAVIGATION BAR ====*/
/*.header {
  position: sticky;
  top: 0;
  z-index: 30000;
  background-color: #f5f4f3;
}*/

.nav-bar {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 10px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
  position: relative;
  /*background-color: white;*/
}

.nav-bar ul {
  display: flex;
  list-style-type: none;
  white-space: nowrap;
}

.nav-bar li {
  padding: 0.5em 1em;
}

.nav-bar-links {
  display: flex;
  margin: 0 auto;
}

.nav-bar a {
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 20px;
  color: #2c3e50;
}

.nav-bar a:visited {
  color: #2c3e50;
}

.nav-bar li a:hover {
  background-color: rgb(42, 122, 212);
  color: white;
  border-radius: 20px;
}

.nav-bar a.active {
  font-weight: 500;
  color: #000;
}

.logo svg {
  width: 120px;
  height: 120px;
}

/* ==== DAILY ESSENTIALS ==== */
.nearby-wrapper {
  position: fixed;
  bottom: 6%;
  right: 4%;
  z-index: 9999;
}

.mobile-nearby-button {
  background-color: #ffffff;
  box-shadow: var(--box-shadow);
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.mobile-nearby-button:hover {
  transform: scale(1.08);
}

.mobile-nearby-button svg {
  width: 26px;
  height: 26px;
  color: var(--link-color);
}

/* PANEL */
.nearby-essential-list {
  position: absolute;
  bottom: 70px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.95);
  transform-origin: bottom right;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

/* OPEN */
.nearby-essential-list.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  border: 2px;
}

/* ICONS */
.nearby-list-link {
  background-color: #ffffff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  box-shadow: var(--box-shadow);
  position: relative;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}

.nearby-list-link:hover {
  transform: translateY(-2px) scale(1.05);
  background-color: #fffefe31;
}

.nearby-icons {
  width: 24px;
  stroke-width: 1.6;
  color: var(--link-color);
}

/* TOOLTIP DESKTOP */
.nearby-list-link::before {
  content: attr(data-icons);
  position: absolute;
  right: 115%;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(30, 30, 30, 0.9);
  backdrop-filter: blur(6px);
  color: white;
  padding: 0.45em 0.9em;
  border-radius: 10px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.18s ease;
  box-shadow: var(--box-shadow);
}

.nearby-list-link:hover::before {
  opacity: 1;
}

/* ==== ARRIVAL INFO SECTION ==== */
.arrival-info {
  width: 100%;
  margin: 60px auto;
}

.arrival-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto;
  grid-template-areas:
    "apt-info-title map-section"
    "check-in map-section"
    "check-out map-section"
    "house-rules map-section"
    "wifi-wrapper map-section";
  line-height: var(--line-height-md);
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--box-shadow-min);
  padding: 20px 15px;
  border-radius: 20px;
  column-gap: clamp(20px, 5vw, 80px);
  row-gap: 10px;
}

.map-section-mobile {
  display: none;
}

.check-in {
  grid-area: check-in;
}

.check-out {
  grid-area: check-out;
}

.house-rules {
  grid-area: house-rules;
}

.wifi-wrapper {
  grid-area: wifi-wrapper;
}

.direction-icon {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  stroke: white;
  stroke-width: 1.5;
  fill: none;
}

.apt-info-title,
.location-title {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #1f2933;
  text-decoration: none;
  font-weight: var(--md-weight);
}

.location-title {
  margin-bottom: 10px;
}

.info-link,
.wifi-wrapper {
  display: flex;
  align-items: center;
  box-shadow: var(--box-shadow-min);
  padding: 0.5em 1em;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.153);
  text-decoration: none;
  font-size: clamp(1rem, 3vw, 1rem);
  color: black;
  gap: 20px;
}

.wifi-box {
  display: flex;
  align-items: center;
  border-radius: 20px;
  text-decoration: none;
  font-size: clamp(1rem, 3vw, 1rem);
  color: black;
  gap: 20px;
  background-color: inherit;
  width: 100%;
  border: transparent;
}

.apt-text-heading {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: var(--md-weight);
  text-align: start;
}

.apt-info-sub {
  font-size: clamp(0.9rem, 1vw, 0.9rem);
  color: var(--font-grey-color2);
  text-align: start;
}

.icon-circle {
  width: 40px;
  height: 40px;
  background: #ced7e27b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.apt-info-icon {
  width: 20px;
  height: 20px;
  color: #1b4167;
  stroke-width: 1;
}

.apt-info-text-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.arrow-icon {
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
}

/* ==== MAP SECTION ==== */
.map-section {
  display: flex;
  flex-direction: column;
  grid-area: map-section;
}

.map-link-wrapper {
  text-decoration: none;
  display: block;
  align-items: center;
  justify-content: center;
}

.map-container img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  object-fit: cover;
}

.mobile-location-text {
  display: none;
}

.location-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-top: 10px;
}

.address {
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: #3c4044;
}

.location-button {
  width: 100%;
  padding: 0.5em 1em;
  border-radius: 15px;
  background-image: linear-gradient(
    to top,
    rgb(55, 131, 159),
    rgba(0, 0, 0, 0.252)
  );
  color: white;
  text-align: center;
  margin-top: auto;
  font-size: clamp(01rem, 3vw, 1rem);
}

/* ==== WIFI ACCESS ==== */
.wifi-access {
  display: flex;
  position: fixed;
  background-color: #f7efe9;
  inset: 0;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  height: 100dvh;
}

.wifi-access.active {
  opacity: 1;
  pointer-events: fill;
}

.wifi-access label {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.wifi-access select {
  padding: 12px 46px 12px 18px;
  border-radius: 20px;
  font-size: clamp(1rem, 1vw, 1.3rem);
  margin-left: 10px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5c5c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
}

#wifiReturn {
  margin-top: 20px;
  white-space: pre-line;
}

/*
.wifi-select-wrapper {
  position: relative;
  display: inline-block;
}

.wifi-select-wrapper:after {
  content: "";
  position: absolute;
  right: 16px; 
  top: 50%; 
  transform: translateY(-50%) rotate(45deg);
  width: 5px;
  height: 5px;
  border-right: 2px solid #5c5c5c;
  border-bottom: 2px solid #5c5c5c;
  pointer-events: fill;
}*/

/* ========== check-in--out-instructions ========== */
.check-in-body,
.check-out-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100dvh;
}

.check-in-section,
.check-out-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  height: 100%;
  margin: 0 auto;
  margin-top: 60px;
  padding: 20px;
}

.check-in-section-text,
.check-out-section-text {
  letter-spacing: var(--letter-spacing-sm);
  line-height: var(--line-height-sm);
}

.check-in-section-text h2,
.check-out-section-text h2 {
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  margin-bottom: 10px;
  font-weight: var(--lg-weight);
  letter-spacing: var(--letter-spacing-sm);
}

.check-in-section-text h3 {
  font-size: clamp(1rem, 3vw, 1.3rem);
  font-weight: var(--md-weight);
  margin-bottom: 10px;
}

.check-in-section-text p,
.check-out-section li,
.check-out-section-p {
  font-weight: var(--md-weight);
  font-size: clamp(1rem, 3vw, 1.1rem);
  color: #424242;
}

.p-margin {
  display: inline-block;
  margin-top: 10px;
}

.check-out-p {
  margin-bottom: 10px;
}

.check-out-section-text li {
  margin-bottom: 10px;
  list-style-type: none;
}

.check-out-info ul {
  padding: 10px 20px;
  list-style-type: none;
}

.check-in-section-text a,
.check-out-section-text a {
  color: var(--link-color);
  font-weight: 500;
}

.check-in-section-text a:active,
.check-out-section-text a :active {
  color: var(--active-link-color);
}

.bins-info {
  margin-top: 10px;
}

/*==== HOME RULES ====*/
.home-rules {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  padding: 20px;
}

.home-rules h2 {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  font-size: clamp(2.5rem, 5vw, 5rem);
  margin: 0 auto;
  color: #4a4a4a49;
  margin-top: 40px;
}

.home-rules h3 {
  font-size: clamp(1rem, 5vw, 1rem);
}

.home-rules li {
  line-height: var(--line-height-md);
  margin-top: 15px;
  letter-spacing: var(--letter-spacing-md);
}

.notice {
  color: red;
  margin-top: 10px;
}

.charges {
  display: block;
  margin-top: 10px;
}

.home-rules p {
  margin-top: 15px;
  letter-spacing: var(--letter-spacing-md);
}

/*==== RECOMMENDATIONS ====*/
.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  width: 100%;
  max-width: 1200px;
  justify-content: center;
  gap: 1em;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  /* margin-top: 120px;*/
  padding: 20px;
}

.recommendation-heading {
  font-size: clamp(1.2rem, 3vw, 2rem);
  margin-bottom: 10px;
  color: var(--font-grey-color2);
  text-decoration: none;
  font-weight: var(--lg-weight);
  margin-top: 100px;
  display: none;
}

.recommendations-container {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 9;
  transition: transform 0.15s ease;
}

.recommendations-container:hover {
  transform: scale(1.01);
  cursor: pointer;
  padding: 0;
}

.recommendations-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: var(--box-shadow);
}

.recommendations-container {
  position: relative;
}

.recommendation-content {
  display: flex;
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  background-image: linear-gradient(
    to top,
    rgba(61, 61, 61, 0.944),
    rgba(255, 255, 255, 0.103)
  );
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  align-items: center;
  justify-content: center;
  border: transparent;
}

.recommendations-container h3 {
  color: white;
  font-weight: var(--xl-weight);
  padding: 10px;
  text-align: center;

  /*background-image: linear-gradient(
    to top,
    rgba(58, 58, 58, 0.944),
    rgba(255, 255, 255, 0.372)
  );*/
  font-size: clamp(1rem, 1.3vw, 1.3rem);
}

.recommendation-icons {
  display: inline-flex;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.855);
  margin-right: 5px;
}

.recommendation-arrow {
  display: inline-block;
  width: 20px;
  height: 20px;
  color: white;
}

/*==== CARDS ====*/
.container-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  align-items: center;
  justify-content: center;
  justify-items: center;
  gap: 50px;
  margin-top: 80px;
  padding: 20px;
}

.card {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  align-self: start;
  padding: 20px;
  box-shadow: 0px 0px 1px rgba(0, 0, 1, 0.5);
  border-radius: 20px;
}

.card-image {
  position: relative;
}

.card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
}

.card-info {
  margin-top: 5px;
  font-weight: var(--sm-weight);
  letter-spacing: var(--letter-spacing-md);
  font-size: 0.9rem;
  line-height: 1.3;
}

.card-h2 {
  font-size: 1rem;
  font-weight: var(--md-weight);
  letter-spacing: var(--letter-spacing-md);
  margin-top: 10px;
}

.card-divider {
  border-bottom: var(--divider);
  margin: 25px 0 25px 0;
}

.badge {
  position: absolute;
  color: black;
  padding: 5px 15px;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.904);
  font-size: 0.8rem;
  font-weight: var(--md-weight);
  letter-spacing: var(--letter-spacing-md);
  top: 5px;
  left: 5px;
}

.badge2 {
  position: absolute;
  color: black;
  padding: 5px 15px;
  border-radius: 25px;
  background-color: rgba(255, 255, 255, 0.904);
  font-size: 0.8rem;
  font-weight: var(--md-weight);
  top: 10px;
  right: 10px;
}
/*==== CARDS FOOTER ====*/
.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.activities-card-footer {
  display: flex;
  justify-content: space-between;
}

.map-link,
.wiki-link {
  padding: 0.5em 1em;
  text-decoration: none;
  color: #414141;
  font-weight: var(--md-weight);
  font-size: 0.9rem;
  border-radius: 20px;
}

.map-link:hover {
  background-color: #2a2a2a;
  color: #f9fafb;
}

.wiki-link:hover {
  background-color: #2a2a2a;
  color: #f9fafb;
}

.card-meta {
  font-size: 0.8rem;
  color: rgb(92, 92, 92);
}

.meta h3 {
  font-size: 0.8rem;
  font-weight: var(--md-weight);
  letter-spacing: var(--letter-spacing-md);
  margin-bottom: 5px;
}

/*==== CALL HOST ====*/
.call-host {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  align-items: center;
  justify-items: center;
  margin: 0 auto;
  margin-top: 80px;
  padding: 20px;
}

.emergency-contactss {
  margin-top: 15px;
}

.call-host h2 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: #000000bd;
  text-decoration: none;
  font-weight: var(--md-weight);
}

.closing-message {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: rgb(89, 89, 89);
  text-align: center;
  margin-top: 10px;
}

.contact-numbers {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 30px;
}

.contact-btn,
.call-host button {
  display: flex;
  background-color: white;
  padding: 0.5em 1em;
  box-shadow: var(--box-shadow-min);
  border-radius: 20px;
  margin: 0 auto;
  text-decoration: none;
  font-size: 1rem;
  color: var(--link-color);
}

.tel {
  background-color: var(--link-color);
  color: white;
}

.call-host-icons {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.contact-numbers span {
  font-weight: var(--lg-weight);
}

/*==== USEFUL CONTACTS ====*/
.useful-contacts {
  display: flex;
  width: 100%;
  max-width: auto;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  margin-top: 80px;
  padding: 20px;
  gap: 80px;
}

.transports,
.emergency-contacts {
  align-items: center;
  justify-items: center;
}

.contacts-icons {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  stroke-width: 2;
  fill: none;
  margin-right: 10px;
  color: #3f4d5f;
}

.emergency-contacts,
.transportsl {
  height: 100px;
}

.emergency-contacts h3,
.transports h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  margin-bottom: 5px;
  font-weight: var(--md-weight);
  color: rgba(0, 0, 0, 0.862);
  display: flex;
  align-items: center;
}

.emergency-contacts li,
.transports li {
  line-height: 1.5;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: #374151;
  display: flex;
  align-items: center;
}

.emergency-contacts li a,
.transports li a,
.contacts li a {
  text-decoration: none;
  color: var(--link-color);
}

.emergency-contacts ul,
.transports ul,
.contacts ul {
  list-style-type: none;
}

.emergency-contacts a:visited,
.transports a:visited,
.contacts a:visited {
  color: var(--active-link-color);
}

.emergency-contacts i,
.transports i,
.contacts i {
  margin-right: 10px;
  font-size: 15px;
}

/*==== EXPLORE ISTRO ====*/
.local-experiences {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 0 auto;
  margin-top: 60px;
  padding: 20px;
}

.local-experiences {
  display: flex;
  flex-direction: row;
}

.local-experiences img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 30px;
}

.local-experience-list li {
  margin-bottom: 40px;
  list-style-type: none;
  line-height: var(--line-height-sm);
  background-color: #fcfcfc;
  padding: 1em 1.5em;
  border-radius: 20px;
}

.local-experience-list h2 {
  font-size: clamp(1.1rem, 4vw, 1.3rem);
  font-weight: var(--md-weight);
  letter-spacing: var(--letter-spacing-sm);
  margin-bottom: 5px;
}

.local-experience-list p {
  letter-spacing: var(--letter-spacing-sm);
  font-weight: var(--md-weight);
  font-size: clamp(0.9rem, 3vw, 1.1rem);
  color: #424242;
}

/*==== FOOTER ====*/
footer {
  display: flex;
  flex-direction: column;
  margin-top: 80px;
  width: 100%;
  box-shadow: var(--box-shadow);
  align-items: center;
  justify-content: center;
  padding: 20px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
}

.useful-links {
  display: flex;
}

.footer-nav {
  display: flex;
}

.footer-nav ul {
  display: flex;
  list-style-type: none;
  gap: 20px;
}

.footer-nav li a {
  text-decoration: none;
  gap: 20px;
  font-size: 1rem;
  color: rgb(79, 79, 79);
}

/*==== SAFETY BUTTON FOOTER ====*/
.footer-safety button {
  font-size: 1rem;
  border: none;
  background: none;
  margin-left: 20px;
  color: rgb(79, 79, 79);
}

/* hidden by default */
.safety-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}

/* background dim */
.safety-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* bottom sheet */
.safety-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 22px 18px 28px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
}

/* visible state */
.safety-modal.active {
  pointer-events: auto;
}

.safety-modal.active .safety-overlay {
  opacity: 1;
}

.safety-modal.active .safety-sheet {
  transform: translateY(0);
}

body.modal-open {
  overflow: hidden;
}

/* handle bar */
.safety-handle {
  width: 42px;
  height: 5px;
  background: #ddd;
  border-radius: 20px;
  margin: 0 auto 14px;
}

/* text */
.safety-sheet h2 {
  text-align: center;
  margin-bottom: 6px;
}

.safety-sub {
  text-align: center;
  color: #666;
  margin-bottom: 18px;
  font-size: 14px;
}

/* list */
.safety-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  background: #f5f6f7;
  margin-bottom: 10px;
}

.safety-item a {
  text-decoration: none;
}

.call-btn {
  background: #2d6cdf;
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
}

/* SOCIAL */
.social {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.social svg {
  width: 30px;
  height: 30px;
}

/* SIGNATURE */
.signature {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
}

.signature a {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  color: #6b6b6b;
  text-decoration: none;
}

.signature svg {
  height: 16px;
  width: auto;

  vertical-align: -0.2em;
  margin-left: 10px;
}

/*==== MEDIA ====*/
@media (max-width: 1200px) {
  /*==== NAV BAR LOGO MOBILE ====*/
  .nav-bar {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .nav-bar-links {
    display: inline-block;
    width: 100%;

    overflow-x: scroll;
    overflow-y: hidden;
  }

  .nav-bar li {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  #logo {
    max-width: 80px;
    margin-top: 0;
    margin-bottom: 15px;
  }
}

/*==== MEDIA 768 ====*/
@media (max-width: 768px) {
  /*==== NAV BAR MOBILE ====*/
  .nav-bar-links {
    display: inline-block;
  }

  /* ==== DAILY ESSENTIALS MOBILE ==== */
  .mobile-nearby-button {
    width: 50px;
    height: 50px;
  }

  .mobile-nearby-button svg {
    width: 25px;
    height: 25px;
  }

  .nearby-icons {
    color: #0c4289;
    stroke-width: 1.5;
  }

  .nearby-list-link:hover::before {
    display: none;
  }

  /*==== APARTMENT INFORMATION MOBILE ====*/
  .arrival-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "map-section map-section"
      "apt-info-title apt-info-title"
      "check-in check-out"
      "house-rules wifi-wrapper";
    gap: 10px;
    row-gap: 10px;
    column-gap: 10px;
    box-shadow: none;
    padding: 20px;
  }

  .apt-info-title {
    grid-area: apt-info-title;
    margin: 40px 0 0 0;
    color: var(--grey-font3);
    font-weight: var(--lg-weight);
  }

  .info-link,
  .wifi-wrapper {
    width: 100%;
    margin: 0;
    gap: 10px;
    align-items: center;
  }

  .map-section {
    grid-area: map-section;
    width: 100%;
    margin-bottom: 40px;
  }

  .check-in {
    grid-area: check-in;
    width: 100%;
  }

  .check-out {
    grid-area: check-out;
  }

  .house-rules {
    grid-area: house-rules;
    width: 100%;
  }

  .wifi-wrapper {
    grid-area: wifi-wrapper;
    width: 100%;
  }

  .apt-info-sub {
    display: none;
  }

  /*==== RECOMMENDATIONS MOBILE====*/
  .recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
    padding-top: 0;
    column-gap: 10px;
    align-items: center;
  }

  .recommendation-heading {
    display: flex;
    align-items: baseline;
    margin-left: 20px;
    margin-top: 80px;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--grey-font3);
    font-weight: var(--lg-weight);
  }

  /* .recommendation-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    border-top: 1px dotted #c7c6c6;
    align-items: center;
    justify-content: center;
  }*/

  .location-title {
    color: var(--grey-font3);
    font-weight: var(--lg-weight);
  }

  /*.recommendation-heading::before {
    content: "";
    flex: 1;
    border-top: 1px dotted #0000006d;
    margin-left: 20px;
  }}

  .recommendation-heading::after {
    content: "";
    flex: 1;
    border-top: 1px dotted #62616198;
    margin-right: 20px;
  }*/

  .recommendations-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: 150px;
  }

  /*==== FOOTER MOBILE====*/
  footer {
    align-items: self-start;
  }

  .useful-links {
    flex-direction: column;
  }

  .footer-nav ul a {
    display: flex;
    align-items: flex-start;
  }

  .footer-nav ul {
    flex-direction: column;
  }

  .footer-safety button {
    margin-top: 20px;
    margin-left: 0;
  }

  .signature {
    margin-top: 20px;
    padding: 0;
  }

  /*==== HOME RULES MOBILE====*/
  .home-rules h2 {
    justify-content: flex-start;
  }

  .home-rules ul {
    padding: 20px;
  }
}

/*==== MEDIA 400 ====*/
@media (max-width: 400px) {
  .info-link,
  .wifi-box {
    flex-direction: column;
    align-items: center;
  }

  .recommendations-container {
    width: 100%;
    height: auto;
  }

  .recommendation-icons {
    display: none;
  }

  .contact-numbers {
    flex-direction: column;
  }

  .signature-prg {
    display: flex;
    flex-direction: column;
  }

  .digiko {
    margin-top: 10px;
  }

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

  .map-link {
    margin-top: 10px;
    padding: 0;
  }
}
