/* ---------- Mobile (base) ---------- */
footer.footer {
  width: 100%;
  background: var(--primary-color-dark);
  padding: 3rem var(--global-container-mobile-padding-left-right) 1.5rem;
}

footer .footer-inner {
  max-width: var(--global-container-max-xl);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);  
  gap: 1em;                            
}

footer .brand {
  color:white;
}

footer .brand-col {
    grid-column: 1 / -1;
}

footer .footer-desc{
  color:white;
  line-height: 1em;
}

footer .footer-contact-info{
      color:white;
}

footer .footer-link{
    color:white;
}
footer .mini-title {
    color: var(--secondary-color);
}

footer .footer-btn {
    display: inline-flex;
        width: 100%;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background-color: #8f3b50;
    color: #ffffff;
    border-radius: 6px;
    border: 1px solid #8f3b50;
    margin-top: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

footer .footer .col .mini-title {
  text-transform: uppercase;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

footer .footer .col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

footer.footer .footer-inner .col ul li, 
footer.footer .footer-inner .col ul li a {
    line-height: 1em;
}

footer.footer .footer-inner .col ul li a {
    font-size: 0.8em;
}

footer.footer .footer-inner .col ul li {
    margin-bottom: 0.5em;
}

footer.footer .col a:hover { 
    color: var(--actions-color); 
    
}

/* ---------- Mobile (base) ---------- */
footer .footer-bottom {
  max-width: var(--global-container-max-xl);
  margin: 0 auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--primary-color-mid);
  display: flex;
  flex-direction: column;              /* stacked on mobile */
  align-items: center;                 /* centers items horizontally on mobile */
  gap: 0.8em;                     
  font-size: var(--small-text-font-size);
  color: var(--secondary-color);
}

footer .footer-bottom a { color: var(--secondary-color); text-decoration: none; }
footer .footer-bottom a:hover { color: #fff; }

/* Flex Order for BOTH Mobile & Desktop: Links 1st, Logo 2nd, Copyright 3rd */
footer .footer-bottom > .footer-bottom-links { order: 1; }
/* ---------- Mobile (base) ---------- */
/* Flex Order for Mobile & Desktop: Logo 1st, Copyright 2nd */
footer .footer-bottom > a.unicorn-logo { order: 1; }
footer .footer-bottom > span           { order: 2; }


@media (min-width: 768px) {
  footer .footer-inner {
    /* Creates 4 columns for the links to sit side-by-side */
    grid-template-columns: repeat(4, 1fr);  
  }
  
  footer .brand-col {
    /* Keeps the brand section spanning the full width across the top */
    grid-column: 1 / -1; 
  }

  footer.footer .footer-inner .col ul li a {
    font-size: unset;
  }
}

/* ---------- Large Laptop & Desktop (1024px and up) ---------- */
@media (min-width: 1024px) {
  footer .footer-inner {
    /* Puts all 5 columns side-by-side in a single row */
    grid-template-columns: 1.5fr repeat(4, 1fr);  
  }
  
  footer .brand-col {
    /* Stops the brand from spanning full width, forces it into the first column */
    grid-column: auto; 
  }
}