/*
  EDITING GUIDE — footer-refinement-r37.css
  ------------------------------------------------------------------
  PURPOSE: This stylesheet is part of EMBR's layered styling system.
  QUICK EDIT: Use the section notes below to locate the relevant block.
  SAFETY: Keep selectors and declarations intact when only changing a value.
  CSS LOAD ORDER matters: later stylesheets may override earlier ones.
  ------------------------------------------------------------------
*/
/* R37 — Mobile footer composition: editorial grid, logo anchor, clean spacing. */
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.site-footer {
  background: #E9E1D6 !important;
  color: #49372B !important;
  padding: clamp(30px, 5vw, 64px) clamp(24px, 5vw, 82px) 20px !important;
}
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.site-footer a { color: #49372B !important; text-decoration: none; transition: color .2s ease; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.site-footer a:hover { color: #87432F !important; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-top {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr .9fr .9fr !important;
  gap: clamp(24px, 3.2vw, 42px) !important;
  align-items: start !important;
  padding-bottom: clamp(28px, 4vw, 42px) !important;
}
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-top > div { display: flex; flex-direction: column; align-items: flex-start; gap: 9px !important; font-size: 13px !important; min-width: 0; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-top .eyebrow { color: #87432F !important; font-size: 10px !important; letter-spacing: .17em; margin: 0 0 8px !important; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-top p:not(.eyebrow) { color: #49372B !important; line-height: 1.65 !important; margin: 0 !important; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-logo { display: flex !important; flex-direction: column !important; align-items: flex-start !important; width: fit-content; gap: 9px !important; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-logo-image { width: clamp(112px, 12vw, 148px) !important; height: auto; display: block; object-fit: contain; }

/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-social-icons { display: flex !important; flex-direction: row !important; align-items: center; gap: 10px !important; margin: 2px 0 12px !important; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-social-icon { display: grid !important; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid rgba(73,55,43,.24); border-radius: 50%; color: #49372B !important; text-decoration: none; transition: background .2s ease, color .2s ease, border-color .2s ease; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-social-icon svg.social-svg { display: block !important; width: 17px !important; height: 17px !important; min-width: 17px; min-height: 17px; fill: none !important; stroke: currentColor !important; stroke-width: 1.7 !important; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-social-icon svg.social-svg .social-dot { fill: currentColor !important; stroke: none !important; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-social-icon:hover, .footer-social-icon:focus-visible { background: #87432F; border-color: #87432F; color: #E9E1D6 !important; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-social-icon:focus-visible { outline: 2px solid #87432F; outline-offset: 3px; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-bottom { border-top: 1px solid #C9BBAA !important; padding-top: 16px !important; color: #847263 !important; font-size: 10px !important; display: flex !important; justify-content: space-between !important; gap: 8px 12px !important; flex-wrap: wrap !important; line-height: 1.5 !important; }
/* EDIT: Footer layout, content spacing, links, social icons, or legal row styling. */
.footer-bottom a { color: #847263 !important; }
/* EDIT: Responsive rules below: adjust the breakpoint or the mobile/tablet layout inside this block. */
@media (max-width: 700px) {
  .site-footer { padding: 24px 18px 15px !important; }
  .footer-top {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(78px,.52fr) !important;
    grid-template-rows: auto auto !important;
    gap: 22px 12px !important;
    padding-bottom: 22px !important;
    align-items: start !important;
  }
  /* Explore is a two-column list; the logo anchors the right edge of the footer. */
  .footer-top > div:nth-of-type(1) {
    grid-column: 1 / 3; grid-row: 1; display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important; gap: 9px 12px !important;
  }
  .footer-top > div:nth-of-type(1) .eyebrow { grid-column: 1 / -1; margin-bottom: 2px !important; }
  .footer-top > div:nth-of-type(1) a:nth-of-type(1) { grid-column: 1; grid-row: 2; }
  .footer-top > div:nth-of-type(1) a:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .footer-top > div:nth-of-type(1) a:nth-of-type(3) { grid-column: 1; grid-row: 3; }
  .footer-top > div:nth-of-type(1) a:nth-of-type(4) { grid-column: 2; grid-row: 3; }
  .footer-top > div:nth-of-type(1) a:nth-of-type(5) { grid-column: 1; grid-row: 4; }
  .footer-top > div:nth-of-type(1) a:nth-of-type(6) { grid-column: 2; grid-row: 4; }
  .footer-top .footer-logo { grid-column: 3; grid-row: 1 / 3; justify-self: end; align-self: start; margin: 0 !important; gap: 5px !important; }
  .footer-logo-image { width: 94px !important; }

  .footer-top > div:nth-of-type(2) { grid-column: 1; grid-row: 2; }
  .footer-top > div:nth-of-type(3) { grid-column: 2; grid-row: 2; }
  .footer-top > div { font-size: 12px !important; gap: 8px !important; }
  .footer-top .eyebrow { font-size: 9px !important; letter-spacing: .16em; margin-bottom: 5px !important; }
  .footer-top p:not(.eyebrow) { line-height: 1.55 !important; }
  .footer-social-icons { gap: 8px !important; margin: 1px 0 9px !important; }
  .footer-social-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .footer-social-icon svg.social-svg { width: 14px !important; height: 14px !important; min-width: 14px; min-height: 14px; }
  .footer-bottom { padding-top: 13px !important; }
  .footer-bottom span:nth-child(2) { display: none !important; }
  .footer-bottom span:last-child { margin-left: auto !important; }
}
/* EDIT: Responsive rules below: adjust the breakpoint or the mobile/tablet layout inside this block. */
@media (max-width: 380px) {
  .site-footer { padding-left: 15px !important; padding-right: 15px !important; }
  .footer-top { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(68px,.46fr) !important; column-gap: 9px !important; }
  .footer-top > div { font-size: 11px !important; }
  .footer-logo-image { width: 82px !important; }
}
