/* =============================================
   FOOTER 5-COLUMN LAYOUT
   JS restructures DOM → .jaw-footer-grid with
   5x .jaw-footer-col5 children
   ============================================= */

/* Dark footer */
footer.jaw-footer {
  background: #1a1a2e !important;
  background-color: #1a1a2e !important;
  color: #ccc !important;
  padding-top: 50px !important;
}

/* Hide original 3-col structure (JS also hides it) */
footer.jaw-footer .jaw-footer__cols {
  display: none !important;
}

/* New 5-column grid */
.jaw-footer-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 20px 40px;
  align-items: flex-start;
}

/* Each of the 5 columns */
.jaw-footer-col5 {
  flex: 1 1 20% !important;
  padding: 0 16px 30px !important;
  box-sizing: border-box;
  min-width: 0;
}

/* Block headings — "Footer 1", "Footer 2" etc */
.jaw-footer-col5 h2 {
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  margin: 0 0 16px !important;
  padding-bottom: 8px !important;
  border: none !important;
  border-bottom: 2px solid #e63946 !important;
}

/* Menu links */
.jaw-footer-col5 ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.jaw-footer-col5 ul li {
  margin-bottom: 9px !important;
  padding: 0 !important;
}

.jaw-footer-col5 ul li a {
  color: #aaaaaa !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  display: block !important;
  transition: color 0.2s;
}

.jaw-footer-col5 ul li a:hover {
  color: #e63946 !important;
}

/* About/text content */
.jaw-footer-col5 p {
  color: #aaaaaa !important;
  font-size: 0.85rem !important;
  line-height: 1.7 !important;
  margin: 0 0 10px !important;
}

.jaw-footer-col5 strong {
  color: #ffffff !important;
  display: block !important;
  font-size: 1rem !important;
  margin-bottom: 10px !important;
}

/* Footer bottom bar */
footer.jaw-footer .jaw-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
  padding: 18px 20px !important;
  text-align: center !important;
  color: #666666 !important;
  font-size: 0.8rem !important;
  background: rgba(0,0,0,0.3) !important;
}

/* Responsive — 3 cols on tablet */
@media (max-width: 1024px) {
  .jaw-footer-col5 {
    flex: 1 1 33.333% !important;
  }
}

/* Responsive — 2 cols on small tablet */
@media (max-width: 700px) {
  .jaw-footer-col5 {
    flex: 1 1 50% !important;
  }
}

/* Responsive — 1 col on mobile */
@media (max-width: 480px) {
  .jaw-footer-col5 {
    flex: 1 1 100% !important;
  }
}