#content > div.hero-boxes {
  top: 7.5rem;
}
.my-8 {
    margin-top: 8rem;
    margin-bottom: 2rem;
}


/* Home Page Scale */

/* Nudge Header Logo Up */
#site-header img {
    transform: scale(1.15) translateY(-4%);
}

/* Home Hero Scaling */
#home-hero, 
#home-hero > div.hero-slider.slick-initialized.slick-slider {
  width: 100vw;
  height: auto;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9; /* Set the aspect ratio (16:9 in this example) */
  border-radius: 20px;
}

#home-hero {
  overflow: visible;
}

#home-hero > div.hero-info {
  position: absolute;
  left: 48.5%;
  top: 80%;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(1px) saturate(183%);
  -webkit-backdrop-filter: blur(1px) saturate(183%);
  background-color: rgba(87, 107, 162, 0.77);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 80%;
  padding: 2rem;
  box-sizing: border-box;
}

#home-hero > div.hero-info {
  left: 50% !important;
}

/* Home Hero Media Queries */
@media (max-width: 1280px) {
  #home-hero, 
  #home-hero > div.hero-slider.slick-initialized.slick-slider {  
    top: 5.5rem;  
    min-width: 100%;  
    margin-bottom: 8rem;  
  }
  #home-hero > div.hero-info {
    margin-top: 5rem;
    width: 95%;
  }
}

@media (max-width: 1024px) {
  #home-hero, 
  #home-hero > div.hero-slider.slick-initialized.slick-slider {  
    top: -4.5rem;  
    min-width: 100%;  
    margin-bottom: -4rem;  
  }
  #home-hero > div.hero-info {
    margin-top: 7.5rem;
    width: 95%;
  }
}

@media (max-width: 720px) {
  #home-hero, 
  #home-hero > div.hero-slider.slick-initialized.slick-slider {  
    top: -7.5rem;  
    min-width: 100%;  
    margin-bottom: -7rem;  
  }
  #home-hero > div.hero-info {
    margin-top: 4rem;
    width: 95%;
    padding: 0.5rem !important;
  }
}

@media (max-width: 600px) {
  #home-hero, 
  #home-hero > div.hero-slider.slick-initialized.slick-slider {  
    top: -16rem;  
    min-width: 100%;  
    margin-bottom: -13rem;  
  }
  #home-hero > div.hero-info {
    margin-top: 12.95rem;
    max-width: 100%;  
    padding: 0rem;  
  }
}

@media (max-width: 480px) {
  #home-hero, 
  #home-hero > div.hero-slider.slick-initialized.slick-slider {  
    top: -20rem;  
    min-width: 100%;  
    margin-bottom: -16rem;  
  }
  #home-hero > div.hero-info {
    margin-top: 13rem;
    min-width: 90vw;
    padding: 0.3rem !important;
  }
}

@media (max-width: 320px) {
  #home-hero, 
  #home-hero > div.hero-slider.slick-initialized.slick-slider {  
    top: -22rem;  
    min-width: 100%;  
    margin-bottom: -16.5rem;  
  }
  #home-hero > div.hero-info {
    min-width: 90vw;
    padding: 0.3rem !important;
  }
}

/* Hide the blue SVG */
#home-hero::after {
  display: none;
}

/* Header Wide Scale */
#site-header > div, 
#colophon {
  min-width: 98.5vw;  
}

/* Footer Wide Scale */
#colophon > div {
  min-width: 90vw;
  margin-left: 0;
}

#colophon > div > div.logo-wrapper {
  position: relative;
  left: -1%;
  width: 6.25rem;
  height: 6.25rem;
}

/* Footer Text Scale */
#colophon p {
  font-size: 1.1rem;
}

#colophon > div > div.details-container > div.detail.phone > a, 
#colophon > div > div.details-container > div.detail.fax.font-bold {
  font-size: 1.3rem;
}

/* Scale footer icons */
#colophon > div > div.details-container > div.detail.fax.font-bold > div, 
#colophon > div > div.details-container > div.detail.address > div, 
#colophon > div > div.details-container > div.detail.hours > div {
  transform: scale(1.5);
  margin-right: 1rem;
}

#colophon > div > div.details-container > div.detail.phone > div {
  transform: scale(1.7);
  margin-right: 1rem;
}

/* End Home Page Scale */

#site-header img {
  transform: translateY(-10%);
}

/* ==============================================================
   2026 Best Workplaces Alaska ribbon — LINKS footer
   Add after the existing rules in css/homepagefix.css.
   Scoped to #colophon to avoid changing other page layouts.
   ============================================================== */

#colophon .footer-container {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-inline: auto;
  padding-inline: clamp(0.75rem, 2vw, 1.25rem);
  column-gap: clamp(1rem, 2vw, 2rem);
  row-gap: 1.25rem;
}

#colophon .footer-container .logo-wrapper {
  position: static;
  left: auto;
  width: 5.5rem;
  height: auto;
  min-width: 0;
}

#colophon .footer-container .details-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  flex: none;
  width: 100%;
  min-width: 0;
  column-gap: 1.25rem;
  row-gap: 1rem;
}

#colophon .footer-container .details-container .detail {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  overflow-wrap: anywhere;
}

#colophon .footer-container .details-container .detail > .icon {
  flex: 0 0 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* The supplied PNG includes wide transparent margins.
   Crop those margins visually, without changing the hosted image. */
#colophon .footer-award {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 100px;
  height: 168px;
  overflow: hidden;
}

#colophon .footer-award img {
  display: block;
  flex: 0 0 168px;
  width: 168px;
  max-width: none;
  height: 168px;
  object-fit: contain;
}

/* Laptop / tablet-landscape: logo, 2×2 contact details, award. */
@media (min-width: 900px) {
  #colophon .footer-container {
    grid-template-columns: 90px minmax(0, 1fr) 100px;
  }
}

/* Wide desktops: preserve the original single-row contact layout. */
@media (min-width: 1360px) {
  #colophon .footer-container .details-container {
    grid-template-columns:
      minmax(220px, 1.25fr)
      minmax(170px, 0.85fr)
      minmax(155px, 0.8fr)
      minmax(265px, 1.4fr);
    align-items: center;
    column-gap: clamp(0.75rem, 1.2vw, 1.25rem);
  }
}

/* Phones: readable stacked contact information and a centered award. */
@media (max-width: 599px) {
  #colophon .footer-container {
    justify-items: center;
  }

  #colophon .footer-container .details-container {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
  }
}
