/* =========================================================
   NRL SEEDS — FOOTER STYLES
   ========================================================= */


/* =========================================================
   MAIN FOOTER
   ========================================================= */

#site-footer {
  background: var(--grad-forest);
  color: rgba(250, 246, 236, 0.82);
}


/* =========================================================
   TOP BAND
   ========================================================= */

.footer-band {
  padding: 64px 0 40px;
  border-bottom: 1px solid rgba(250, 246, 236, 0.12);
}

.footer-band-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: center;
}


/* =========================================================
   COMPANY INTRO
   ========================================================= */

.footer-intro .footer-logo {
  height: 30px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}

.footer-intro p {
  color: rgba(250, 246, 236, 0.60);
  font-size: 0.92rem;
  max-width: 360px;
  margin-bottom: 20px;
  line-height: 1.65;
}


/* =========================================================
   INLINE NAVIGATION
   ========================================================= */

.footer-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;

  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
}

.footer-inline-links a {
  color: rgba(250, 246, 236, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-inline-links a:hover {
  color: var(--leaf);
}

.footer-inline-links span {
  color: rgba(250, 246, 236, 0.30);
}


/* =========================================================
   NEWSLETTER
   ========================================================= */

.footer-newsletter-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(250, 246, 236, 0.14);

  border-radius: var(--radius-lg);
  padding: 30px 32px;

  display: grid;
  grid-template-columns: auto 1fr;

  column-gap: 18px;
  row-gap: 16px;
}


/* Newsletter Icon */

.fnp-icon {
  width: 44px;
  height: 44px;

  border-radius: 12px;
  background: var(--grad-leaf);

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.fnp-icon svg {
  width: 20px;
  height: 20px;
  color: #ffffff;
}


/* Newsletter Text */

.fnp-copy h4 {
  color: #ffffff;

  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;

  margin: 0 0 4px;
}

.fnp-copy p {
  margin: 0;

  font-size: 0.85rem;
  line-height: 1.5;

  color: rgba(250, 246, 236, 0.58);
}


/* Newsletter Form */

.footer-newsletter-panel .newsletter-form {
  grid-column: 1 / -1;

  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;

  padding: 12px 16px;

  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(250, 246, 236, 0.22);

  background: rgba(255, 255, 255, 0.05);

  color: #ffffff;
  font-size: 0.88rem;
}

.newsletter-form input::placeholder {
  color: rgba(250, 246, 236, 0.40);
}

.newsletter-form input:focus {
  outline: none;

  border-color: var(--leaf);
  background: rgba(255, 255, 255, 0.09);
}

.newsletter-form .btn {
  padding: 12px 20px;
  flex-shrink: 0;
}

.newsletter-msg {
  grid-column: 1 / -1;

  min-height: 1.1em;

  font-size: 0.8rem;
  color: var(--leaf);

  font-family: var(--font-mono);
}

.newsletter-msg.error {
  color: #E7A084;
}


/* =========================================================
   MIDDLE FOOTER
   ========================================================= */

.footer-links {
  padding: 48px 0;
}

.footer-links-grid {
  display: grid;

  grid-template-columns:
    0.85fr
    0.85fr
    1.3fr;

  gap: 40px;
}


/* =========================================================
   FOOTER COLUMN HEADINGS
   ========================================================= */

.footer-col h4 {
  display: flex;
  align-items: center;

  gap: 10px;

  color: #ffffff;

  font-size: 0.86rem;
  letter-spacing: 0.03em;

  font-family: var(--font-display);
  font-weight: 600;

  margin: 0 0 20px;
}


/* Column Number */

.footer-col h4 .col-index {
  width: 22px;
  height: 22px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;

  color: var(--leaf);

  border: 1px solid rgba(228, 167, 46, 0.40);
  border-radius: 50%;
}


/* =========================================================
   NORMAL FOOTER LINKS
   ========================================================= */

.footer-col > ul {
  display: flex;
  flex-direction: column;

  gap: 12px;

  padding: 0;
  margin: 0;

  list-style: none;
}

.footer-col > ul a {
  font-size: 0.92rem;

  color: rgba(250, 246, 236, 0.70);

  text-decoration: none;

  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.footer-col > ul a:hover {
  color: var(--leaf);
  padding-left: 3px;
}


/* =========================================================
   CONTACT INFORMATION
   ========================================================= */

.footer-reach-list li {
  display: flex;
  align-items: flex-start;

  gap: 12px;

  font-size: 0.9rem;
  line-height: 1.5;

  color: rgba(250, 246, 236, 0.70);
}

.footer-reach-list svg {
  width: 16px;
  height: 16px;

  color: var(--leaf);

  flex-shrink: 0;
  margin-top: 2px;
}

.footer-reach-list a {
  color: rgba(250, 246, 236, 0.70);
  text-decoration: none;
}

.footer-reach-list a:hover {
  color: var(--leaf);
}


/* =========================================================
   SOCIAL MEDIA ICONS
   ========================================================= */

.footer-social {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;

  gap: 10px !important;

  margin-top: 24px;
  padding: 0;

  width: 100%;
}


/* Social Button */

.footer-social a {
  width: 40px !important;
  height: 40px !important;

  min-width: 40px !important;
  min-height: 40px !important;

  max-width: 40px !important;
  max-height: 40px !important;

  padding: 0 !important;
  margin: 0 !important;

  flex: 0 0 40px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-sizing: border-box;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);

  color: #ffffff !important;

  text-decoration: none !important;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease !important;
}


/* Social Hover */

.footer-social a:hover {
  background: var(--leaf) !important;

  transform: translateY(-3px);

  padding-left: 0 !important;

  color: #ffffff !important;
}


/* Social SVG */

.footer-social a svg {
  width: 18px !important;
  height: 18px !important;

  min-width: 18px !important;
  min-height: 18px !important;

  max-width: 18px !important;
  max-height: 18px !important;

  display: block !important;

  flex: none !important;

  color: #ffffff !important;
}


/* Facebook Icon */

.footer-social a:first-child svg path {
  fill: currentColor;
}


/* Instagram Icon */

.footer-social a:nth-child(2) svg {
  fill: none;
}

.footer-social a:nth-child(2) svg rect,
.footer-social a:nth-child(2) svg circle {
  stroke: currentColor;
}

.footer-social a:nth-child(2) svg circle:last-child {
  fill: currentColor;
  stroke: none;
}


/* YouTube Icon */

.footer-social a:nth-child(3) svg {
  fill: none;
}

.footer-social a:nth-child(3) svg rect {
  stroke: currentColor;
}

.footer-social a:nth-child(3) svg path {
  fill: currentColor;
}


/* =========================================================
   BOTTOM BAR
   ========================================================= */

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 236, 0.14);

  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 16px;

  flex-wrap: wrap;

  font-size: 0.8rem;

  color: rgba(250, 246, 236, 0.50);
}

.footer-bottom-inner p {
  margin: 0;
}

.footer-fine {
  font-family: var(--font-mono);
  font-size: 0.74rem;
}


/* =========================================================
   BACK TO TOP BUTTON
   ========================================================= */

.to-top {
  position: fixed;

  right: 24px;
  bottom: 24px;

  width: 46px;
  height: 46px;

  border: none;
  border-radius: 50%;

  background: var(--forest);
  color: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: var(--shadow-md);

  cursor: pointer;

  opacity: 0;
  pointer-events: none;

  transform: translateY(10px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;

  z-index: 40;
}

.to-top:hover {
  background: var(--forest-2);
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;

  transform: translateY(0);
}

.to-top svg {
  width: 18px;
  height: 18px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .footer-band-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-links-grid {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }

  .footer-reach {
    grid-column: 1 / -1;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

  .footer-band {
    padding: 48px 0 32px;
  }

  .footer-newsletter-panel {
    padding: 24px 22px;
    grid-template-columns: auto 1fr;
  }

  .footer-newsletter-panel .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .btn {
    width: 100%;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-reach {
    grid-column: auto;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .to-top {
    right: 16px;
    bottom: 16px;
  }

}


#site-footer .footer-reach {
  display: block !important;
  width: 100%;
  min-width: 0;
}

#site-footer .footer-reach-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;

  width: 100%;
  margin: 0 !important;
  padding: 0 !important;

  list-style: none !important;
}

#site-footer .footer-reach-list li {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;

  width: 100%;

  margin: 0 !important;
  padding: 0 !important;

  gap: 12px !important;

  visibility: visible !important;
  opacity: 1 !important;
}

#site-footer .footer-reach-list li svg {
  display: block !important;

  width: 16px !important;
  height: 16px !important;

  min-width: 16px !important;
  min-height: 16px !important;

  flex: 0 0 16px !important;

  color: var(--leaf) !important;

  visibility: visible !important;
  opacity: 1 !important;
}

#site-footer .footer-reach-list li a,
#site-footer .footer-reach-list li span {
  display: inline-block !important;

  visibility: visible !important;
  opacity: 1 !important;

  color: rgba(250, 246, 236, 0.70) !important;

  font-size: 0.90rem;

  line-height: 1.5;

  white-space: normal;

  overflow: visible;

  text-decoration: none;
}


/* =========================================================
   SOCIAL ICON FINAL FIX
   ========================================================= */

#site-footer .footer-social {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;

  width: 100% !important;

  margin-top: 24px !important;
  padding: 0 !important;

  gap: 10px !important;

  visibility: visible !important;
  opacity: 1 !important;
}

#site-footer .footer-social a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: relative !important;

  width: 40px !important;
  height: 40px !important;

  min-width: 40px !important;
  min-height: 40px !important;

  max-width: 40px !important;
  max-height: 40px !important;

  flex: 0 0 40px !important;

  margin: 0 !important;
  padding: 0 !important;

  border-radius: 50% !important;

  background: rgba(255, 255, 255, 0.08) !important;

  color: #ffffff !important;

  visibility: visible !important;
  opacity: 1 !important;

  overflow: visible !important;

  text-decoration: none !important;
}

#site-footer .footer-social a:hover {
  background: var(--leaf) !important;
  transform: translateY(-3px) !important;
  padding-left: 0 !important;
}

#site-footer .footer-social a svg {
  display: block !important;

  width: 18px !important;
  height: 18px !important;

  min-width: 18px !important;
  min-height: 18px !important;

  max-width: 18px !important;
  max-height: 18px !important;

  flex: none !important;

  color: #ffffff !important;

  visibility: visible !important;
  opacity: 1 !important;

  overflow: visible !important;
}


/* =========================================================
   PREVENT FOOTER CONTENT FROM BEING CLIPPED
   ========================================================= */

#site-footer,
#site-footer .footer-links,
#site-footer .footer-links-grid,
#site-footer .footer-col {
  overflow: visible !important;
}

#site-footer .footer-links-grid {
  align-items: start !important;
}

/* =========================================================
   NRL FOOTER - FORCE CONTACT CONTENT TO DISPLAY
   ========================================================= */

#site-footer .footer-reach-list li:nth-child(2),
#site-footer .footer-reach-list li:nth-child(3) {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

#site-footer .footer-reach-list li:nth-child(2) a,
#site-footer .footer-reach-list li:nth-child(3) span {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;

    color: rgba(250, 246, 236, 0.70) !important;
    font-size: 0.90rem !important;
    line-height: 1.5 !important;
}

#site-footer .footer-reach-list li:nth-child(2) svg,
#site-footer .footer-reach-list li:nth-child(3) svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
}


/* FORCE SOCIAL SECTION */

#site-footer .footer-social {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: relative !important;

    width: auto !important;
    height: auto !important;
    max-height: none !important;

    margin-top: 24px !important;

    overflow: visible !important;
}

#site-footer .footer-social a {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: relative !important;

    width: 40px !important;
    height: 40px !important;

    min-width: 40px !important;
    min-height: 40px !important;

    max-width: 40px !important;
    max-height: 40px !important;

    padding: 0 !important;
    margin: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    background: rgba(255,255,255,0.08) !important;
    border-radius: 50% !important;

    color: white !important;

    overflow: visible !important;
}

#site-footer .footer-social svg {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    width: 18px !important;
    height: 18px !important;

    color: white !important;
}