/* Highlight active links in Explore and Legal sections */
.footer-col ul a.active {
  color: var(--fgt-accent) !important;
  font-weight: bold;
}
/* Footer menu row formatting */
.footer-menu-row {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
/* Footer menu horizontal layout */
.footer-menu {
  display: flex;
  flex-direction: row;
  gap: 1.5em;
  list-style: none;
  padding: 0;
  margin: 1em 0 0 0;
  justify-content: center;
}
.footer-menu-item {
  margin: 0;
}
.footer-menu-item a {
  color: var(--fgt-white);
  text-decoration: none;
  font-size: 0.95em;
}

/* Note: background-image is set dynamically via inline styles in functions.php
   to support theme defaults and customizer options */
.site-footer {
  position: relative;
  background-color: #1e4d2b; /* Fallback color */
  background-position: right top;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--fgt-white);
  padding: 25px;
  display: flex;
  justify-content: center;
  z-index: 0;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0; /* shorthand for top/right/bottom/left 0 */
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 2em;
  text-align: center;
}

.footer-col {
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 2em;
}

.footer-col h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7em;
  color: var(--fgt-accent);
}

.footer-link,
.footer-text,
.footer-col a {
  font-size: 0.75rem;
}

.footer-address,
.footer-abn{
  font-size: 0.85rem;
}

.footer-link {
  color: var(--fgt-accent);
  text-decoration: underline;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col a {
  color: var(--fgt-white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5em;
}

.footer-col a:hover {
  color: var(--fgt-accent);
}

.social-icons-list {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  justify-content: center;
  padding: 0; 
  margin: 0.5em 0 0;
  list-style: none;
  align-items: center;
}

.social-icons-list a {
    display: flex;
  align-items: center;
  color: var(--fgt-white);
  font-size: 0.85em;
  transition: color 0.2s;
}

.social-icons-list a:hover {
  color: var(--fgt-accent);
}

.social-icons-list i {
    display: flex;
  align-items: center;
  font-size: 1.5rem;
  padding-right: 10px;
}

/* Flex alignment for phone icon and number (not a link) */
.footer-phone-flex {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--fgt-white);
}

.footer-phone-text {
    display: flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--fgt-white);
}

.footer-text {
  margin: 2em 0 0;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--fgt-white);
}

@media (max-width: 900px) {
  .footer-group {
    flex-direction: column;
    align-items: center;
  }
  .footer-col {
    margin-bottom: 1em;
  }
}

