/*
===============================================================================================================================
Put your custom CSS in this file.
===============================================================================================================================
*/

/* Keep the parent theme's hero, gallery, lightbox and map styles. */
@import url("../../quark-open-publishing/css/custom.css");
@import url("typography.css?v=20261206-4");

body {
  background-color: #fbfdff;
}

#page-wrapper {
  background: linear-gradient(180deg, #dff1ff 0%, #edf7ff 55%, #fbfdff 100%);
}

#footer.bg-gray {
  background-color: #fbfdff !important;
}

#footer .site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  padding: 8px 0;
  color: #526a7a;
}

#footer .site-footer-design {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

#footer .site-footer-credit {
  display: block;
  width: 104px;
  height: auto;
  border-radius: 0;
}

/* Submenu links need contrast independently of the page's header color mode. */
#header .desktop-menu .dropmenu ul ul {
  background: #fff;
}

#header .desktop-menu .dropmenu ul ul a {
  color: #454d5d !important;
}

#header .desktop-menu .dropmenu ul ul a:hover,
#header .desktop-menu .dropmenu ul ul a:focus,
#header .desktop-menu .dropmenu ul ul a.active {
  color: #3085ee !important;
  background: #edf7ff;
}

/* The sky blue lettering sits directly over the hero photograph. */
#header .logo .navbar-brand,
.mobile-logo .navbar-brand {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

#header .logo .navbar-brand img {
  width: 180px;
  height: auto;
  border-radius: 0;
}

body.header-fixed.header-animated #header.scrolled .logo .navbar-brand img {
  width: 100px;
  height: auto;
}

.mobile-logo .navbar-brand {
  margin: 14px 0 0 22px;
}

.mobile-logo .navbar-brand img {
  width: 180px;
  height: auto;
  margin: 0;
  border-radius: 0;
}

#blog-hero p {
  max-width: 38rem;
  margin: 1rem auto 0;
  font-size: 1rem;
  text-shadow: 1px 1px 4px rgba(34, 34, 34, 0.6);
}

.blog-listing .card {
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-apartments-card {
  padding: 18px;
  background: #fff8df;
  border: 1px solid #efe0b0;
  border-radius: 10px;
  box-shadow: 0 8px 26px rgba(90, 77, 35, 0.06);
}

.sidebar-apartments-card .sidebar-apartments-heading {
  margin-top: 0;
}

.sidebar-apartments-card p:last-of-type {
  margin-bottom: 0;
}

.sidebar-apartment-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 1.25rem 0;
  color: #c99f48;
}

.sidebar-apartment-divider::before,
.sidebar-apartment-divider::after {
  content: "";
  flex: 1;
  height: 1px;
}

.sidebar-apartment-divider::before {
  background: linear-gradient(90deg, transparent, #a9ccdf);
}

.sidebar-apartment-divider::after {
  background: linear-gradient(90deg, #a9ccdf, transparent);
}

.sidebar-apartment-divider span {
  font-size: 0.85rem;
  line-height: 1;
}

.apartments-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.apartment-card {
  overflow: hidden;
  border-radius: 12px;
}

.apartment-card-image {
  display: block;
}

.apartment-card-image img,
.apartment-card-placeholder {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 5;
  object-fit: cover;
  border-radius: 0;
}

.apartment-card-placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #fff2d7, #ffe0b5);
}

.apartment-card-placeholder span {
  font-size: 4rem;
}

.apartment-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.page-hero--placeholder {
  background: linear-gradient(135deg, #093852, #315e72 55%, #75c8e8);
}

/* Preserve the full building photograph so both apartment markers stay visible. */
.page-hero--full-image {
  height: auto;
  min-height: 0;
  background: #163e55;
}

.page-hero--full-image .page-hero-image {
  height: auto;
}

.apartments-shared-info {
  margin-top: 3rem;
}

.apartments-location {
  margin: 1.5rem 0 2rem;
}

.apartments-location a {
  display: block;
}

.apartments-location img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.apartments-location figcaption {
  margin-top: 0.75rem;
  text-align: center;
}

@media (max-width: 600px) {
  .page-hero--full-image .page-hero-content {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    padding: 20px;
  }

  .apartments-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  #header .logo .navbar-brand img {
    width: 156px;
  }

  #blog-hero h1 {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }

  #blog-hero h3 {
    font-size: 1.1rem;
    line-height: 1.45;
  }
}


