/* === HOME FOOTER FIXED === */
html, body {
  height: 100%;
  min-height: 100vh;
  background: #fff; /* keep rest white */
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.home-main-contain {
  flex: 1 0 auto;
}

/* Footer always at bottom */
.page-footer {
  width: 100%;
  background: #111D34;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: flex-start;  /* Top align! */
  position: relative;
  flex-shrink: 0;
  margin-top: auto;
  padding: 0;
  max-height: 24vh;         /* Keep if you want extra space; remove for minimal */
}


/* Footer columns side-by-side and centered vertically */
.footer-columns {
  width: 100%;
  max-width: 950px;
  margin-left: 24px;
  margin-top: 8%;
  margin-right: 24px;
  display: flex;
  flex-direction: row;
  align-items: flex-start; /* top align for tall content, center for short (see below) */
  gap: 24px;
}

/* Left and right column sizing */
.footer-col-left {
  width: 22%;
  min-width: 110px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-col-right {
  width: 78%;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-about-title {
  font-size: 1.2rem;
  color: #E0B960;
  font-family: 'Aptos-Narrow';
  text-align: right;
  width: 100%;
  margin-bottom: 18px;
}
.footer-social {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
  justify-content: flex-end;
  width: 100%;
}
.footer-icon {
  width: 34px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.2s;
}
.footer-icon:hover {
  filter: brightness(1) invert(0.5) sepia(1) hue-rotate(-20deg);
}
.footer-desc {
  font-size: 1.09rem;
  font-family: 'Aptos-Light', sans-serif;
  line-height: 1.45;
  opacity: 0.96;
  text-align: left;
  word-break: break-word;
}

/* Responsive: always two columns, scale down for mobile */
@media (max-width: 700px) {
  .page-footer {
    max-height: 24vh;
    min-height: 112px;
    height: 13.5vh;
    padding: 0;
  }
  .footer-col-left {
    width: 35%;
    min-width: 65px;
    max-width: 85px;
    align-items: flex-start;
  }
  .footer-col-right {
    width: 65%;
    min-width: 0;
    align-items: flex-start;
  }
  .footer-about-title {
    font-size: 1.2rem;
    margin-bottom: 0px;
    color: #E0B960;
    text-align: right;
  }
  .footer-desc {
    font-size: 0.61rem;
    line-height: 1.18;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    max-width: 100%;
  }
  .footer-social {
    gap: 1px;
  }
}


/* === FOOTER CONTROL === */
/* === MODIFIER CLASSES FOR COLOR CONTROL ONLY === */
/* PAGE 404 */
.page-404 {
  background: #5B6A89 !important;
  color: #FFFFFF;
}

.footer-about-page-404 {
  color: #E0B960 !important;
}


/* PAGE HOMEPAGE */
.footer-homepage {
  background: #111D34 !important;
  color: #FFFFFF;
}

.footer-about-homepage {
  color: #E0B960 !important;
}

/* PAGE CATEGORY */
.footer-category {
  background: #5E502F !important;
  color: #FFFFFF;
}

/* Title colors */
.footer-about-category {
  color: #E0B960 !important;
}

/* PAGE GALLERY-FINDER */
.footer-gallery-finder {
  background: #003399 !important;
  color: #FFFFFF;
}

/* Title colors */
.footer-about-gallery-finder {
  color: #E0B960 !important;
}

/* PAGE GALLERY-FINDER */
.footer-showcase {
  background: #111D34 !important;
  color: #FFFFFF;
}

/* Title colors */
.footer-about-showcase {
  color: #E0B960 !important;
}