/* ================================================================
   Ashbury Gardening — footer.css
   Blue-grey footer (#2F4657) + bloom + dark copyright bar
   Revised: 2026-02-05 (cleanup + de-duplication, no visual change intended)
================================================================ */

/* ---------- Tunables ---------- */
:root{
  --footer-bg:    #2F4657;
  --footer-text:  #f4f3ee;
  --footer-black: #331a00;
  --footer-maxw:  960px;
}

/* ================================================================
   Base footer
================================================================ */
.site-footer{
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
  box-sizing: border-box;

  position: relative;  /* for bloom */
  overflow: hidden;    /* confine bloom to footer */
}

.site-footer p{
  color: var(--footer-text);
  margin: 0 0 10px;
}

/* Inner width on desktop */
@media (min-width: 769px){
  .footer-main{
    width: var(--footer-maxw);
    margin: 0 auto;
  }
}

/* Spacing inside footer */
#site-footer .footer-main{
  padding-top: 28px;
  background: transparent;
}

/* ================================================================
   Bloom / glow (single source of truth)
================================================================ */
#site-footer .footer-arc-node{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 360px;
  height: 140px;
  pointer-events: none;
  z-index: 1;

  background: radial-gradient(ellipse 65% 100% at 50% 0%,
    rgba(255,255,255,0.16) 0%,
    rgba(255,255,255,0.08) 40%,
    rgba(255,255,255,0.00) 75%);
}

/* Keep footer content above the bloom */
#site-footer .footer-main,
#site-footer .footer-bottom-bar{
  position: relative;
  z-index: 2;
}

/* Disable any pseudo “bands” on the footer container */
#site-footer::before,
#site-footer::after{
  content: none !important;
  display: none !important;
}

/* ================================================================
   Columns layout
================================================================ */
.footer-columns{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding-bottom: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-column{
  flex: 1;
  min-width: 260px;
  padding: 0 15px;
  box-sizing: border-box;
}

.footer-column h1,
.footer-column h2,
.footer-column h3,
.footer-column h4,
.footer-column h5,
.footer-column h6{
  color: #fff;
  font-size: 16px;
  font-family: 'Ropa Sans', sans-serif;
  font-weight: 300;
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
  margin: 0 0 15px 0;
  line-height: 1.3;
}

.footer-column p.just{
  color: var(--footer-text);
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 15px;
}

.footer-column ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li{ margin-bottom: 10px; }

.footer-column ul li a{
  color: var(--footer-text);
  text-decoration: none;
  font-size: 12px;
  text-shadow: 0 1px 0 rgba(0,0,0,.6);
}

.footer-column ul li a:hover{ text-decoration: underline; }

/* ================================================================
   Column 1: Brand & Contact
   (single source of truth)
================================================================ */

/* Logo */
#site-footer .footer-brand-contact .footer-logo{
  text-align: center;
  margin: 0 0 14px 0;
}

#site-footer .footer-brand-contact .footer-logo-img{
  display: block;
  margin: 0 auto;
  width: 120px;     /* final choice (remove conflicting 180px rules) */
  max-width: 120px;
  height: auto;
}

/* Title + tagline: if your markup uses <p><strong>Title</strong> Tagline…</p> */
#site-footer .footer-brand-contact > p:first-of-type{
  margin: 0 0 14px 0;
  text-align: left;               /* tagline left */
}

#site-footer .footer-brand-contact > p:first-of-type strong{
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  margin: 10px 0 10px 0;
  text-align: center;             /* title centred */
}

/* If your markup also has a dedicated title element, keep it consistent */
#site-footer .footer-brand-contact .footer-brand-title{
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  text-align: center;
  margin: 10px 0 14px 0;
  letter-spacing: 0.04em;
}

/* Contact links: no underline unless hover */
#site-footer .footer-brand-contact p.contact a,
#site-footer .footer-col-1 a[href^="tel:"],
#site-footer .footer-col-1 a[href^="mailto:"]{
  text-decoration: none !important;
  border-bottom: 0 !important;
  background-image: none !important;
  display: inline-block;
  font-weight: 600;
  color: var(--footer-text);
}

#site-footer .footer-brand-contact p.contact a:hover,
#site-footer .footer-col-1 a[href^="tel:"]:hover,
#site-footer .footer-col-1 a[href^="mailto:"]:hover{
  text-decoration: underline !important;
}

/* ================================================================
   Column 2: Navigation
   (single source of truth)
================================================================ */

/* Keep nav content left-aligned without “stretching” */
#site-footer .footer-col-2,
#site-footer .footer-col-2 *{
  text-align: left !important;
  text-justify: auto !important;
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

/* Navigation title */
#site-footer .footer-col-2 h3{
  text-align: center !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 1.45rem;
  font-weight: 700;
  width: 100%;
  margin: 0 0 22px 0;
}

/* Two sub-columns */
#site-footer .footer-col-2 .footer-nav-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;   /* choose one value */
  row-gap: 0;
  align-items: start;
}

/* Allow text to wrap cleanly inside grid items */
#site-footer .footer-col-2 .footer-nav-group{
  min-width: 0;
}

/* Section headings (Work / Learn / About / Contact etc.) */
#site-footer .footer-col-2 .footer-nav-group h4{
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 14px 0 8px;
  white-space: normal;
}

#site-footer .footer-col-2 .footer-nav-group h4:first-of-type{
  margin-top: 0;
}

/* Linked headings behave like headings */
#site-footer .footer-col-2 .footer-nav-group h4 a{
  color: inherit;
  text-decoration: none;
  font-weight: inherit;
}
#site-footer .footer-col-2 .footer-nav-group h4 a:hover{
  text-decoration: underline;
}

/* Keep ONLY “Design & Planning” on one line */
#site-footer .footer-col-2 .footer-nav-group h4 a[href*="/design-planning/"]{
  white-space: nowrap;
}

/* Lists */
#site-footer .footer-col-2 ul{
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
#site-footer .footer-col-2 li{
  margin: 0 0 10px;
}

/* Submenus (the UL immediately after an H4) */
#site-footer .footer-col-2 .footer-nav-group h4 + ul{
  margin-left: 12px;
  margin-bottom: 12px;
}

#site-footer .footer-col-2 .footer-nav-group h4 + ul a{
  display: block;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.25;
}

/* Utility (Privacy Policy) */
#site-footer .footer-col-2 .footer-nav-utility{
  margin: 12px 0 0 12px;
  padding: 0;
}

#site-footer .footer-col-2 .footer-nav-utility a{
  font-size: 0.78rem;
  font-weight: 400;
  text-decoration: none;
}
#site-footer .footer-col-2 .footer-nav-utility a:hover{
  text-decoration: underline;
}

/* Collapse nav grid on small screens */
@media (max-width: 700px){
  #site-footer .footer-col-2 .footer-nav-grid{
    grid-template-columns: 1fr;
    column-gap: 0;
  }
}

/* ================================================================
   Column 3: Seasonal Insight + icons separation
================================================================ */

.footer-si-archive{
  margin-top: 14px;
  opacity: 0.9;
}

.footer-si-archive-title{
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.footer-si-archive-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-si-archive-list li{
  margin: 4px 0;
}

.footer-si-archive-list a{
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.footer-si-archive-list a:hover{
  border-bottom-color: rgba(255,255,255,0.35);
}

/* Lower the whole Column 3 block */
.site-footer .footer-col-3.footer-seasonal{
  padding-top: 60px;
}

.site-footer .footer-col-3.footer-seasonal .footer-icons{
  margin-top: 40px;
  transform: none;
}

.site-footer .footer-col-3.footer-seasonal .footer-icons-row{
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 15px;
}

.site-footer .footer-col-3.footer-seasonal .footer-icons-row.facebook-row{
  margin-top: 18px;
}



/* ================================================================
   Seasonal Insights page (ID 9542): bottom exit bar
   (Kept here for now; could move to page-specific CSS later)
================================================================ */

body.page-id-9542{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-id-9542 #primary.site-main,
body.page-id-9542 .content-primary,
body.page-id-9542 .entry-content{
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Push the bar to the bottom */
body.page-id-9542 .footer-bottom-bar--seasonal{
  margin-top: auto;
  background: var(--footer-black);
  color: #fff;
}

body.page-id-9542 .footer-bottom-bar--seasonal .footer-bar-content{
  max-width: var(--footer-maxw);
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.page-id-9542 .footer-bottom-bar--seasonal a{
  color: #fff;
  text-decoration: none;
}
body.page-id-9542 .footer-bottom-bar--seasonal a:hover{
  text-decoration: underline;
}

@media (max-width: 768px){
  body.page-id-9542 .footer-bottom-bar--seasonal .footer-bar-content{
    padding: 12px 16px;
  }
}

/* ================================================================
   Mobile: stack footer columns cleanly
   (single source of truth)
================================================================ */

@media (max-width: 900px){
  .site-footer .footer-columns{
    display: block;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px 24px;
  }

  .site-footer .footer-columns .footer-column{
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    margin: 0 0 28px 0;
  }
}

/* Utility helper */
.no-wrap{ white-space: nowrap; }

/* ================================================================
   MOBILE FOOTER: force a clean 1-column stack (wins over theme CSS)
================================================================ */
@media (max-width: 900px){

  /* Stack the 3 main columns vertically */
  #site-footer .footer-columns{
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 16px 24px !important;
    box-sizing: border-box !important;
  }

  /* Ensure each column behaves like a normal block */
  #site-footer .footer-columns .footer-column{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 0 28px 0 !important;

    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
  }

  /* Inside the Navigation column: collapse the internal 2-col grid */
  #site-footer .footer-col-2 .footer-nav-grid{
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
  }
}
