.emf-footer{--emf-bg:#fcf1eb;--emf-ink:#5b6f69;--emf-gold:#b9a077;position:relative;isolation:isolate;overflow:hidden;background:var(--emf-bg);color:var(--emf-ink);border-top:1px solid var(--emf-gold);font-family:inherit;box-sizing:border-box;min-height:360px}
.emf-footer *{box-sizing:border-box}.emf-corner{position:absolute;z-index:-1;pointer-events:none;display:block;height:auto;max-width:none!important;object-fit:contain;opacity:.95}
.emf-top-left{top:0;left:0;width:clamp(185px,25vw,360px)}.emf-top-right{top:0;right:0;width:clamp(225px,33vw,520px)}.emf-bottom-left{bottom:0;left:0;width:clamp(175px,27vw,390px)}.emf-bottom-right{bottom:0;right:0;width:clamp(175px,24vw,350px)}
.emf-inner{position:relative;z-index:1;width:min(1120px,calc(100% - 72px));margin:0 auto;padding:48px 0 35px}.emf-columns{display:grid;grid-template-columns:1.22fr 1fr 1fr 1.15fr;column-gap:42px;row-gap:34px;align-items:start}.emf-brand{text-align:center;display:flex;flex-direction:column;align-items:center;min-width:0}.emf-logo{display:block;width:auto!important;max-width:185px!important;max-height:125px;object-fit:contain}.emf-logo-text{display:flex;flex-direction:column;align-items:center;line-height:1.2}.emf-monogram{font-family:Georgia,serif;font-style:italic;font-size:58px;line-height:1;color:var(--emf-ink)}.emf-logo-text strong{font-family:Georgia,serif;font-size:22px;font-weight:400}.emf-logo-text small{font-size:8px;letter-spacing:.12em}.emf-brand-rule{position:relative;width:min(245px,100%);height:25px;margin:9px auto 9px;display:flex;align-items:center;justify-content:center;color:var(--emf-gold);font-size:22px}.emf-brand-rule:before{content:"";position:absolute;width:100%;height:1px;background:var(--emf-gold);top:50%;left:0}.emf-brand-rule span{position:relative;background:var(--emf-bg);padding:0 12px;line-height:1}.emf-socials{display:flex;align-items:center;justify-content:center;gap:6px;min-height:38px}.emf-socials a{display:grid;place-items:center;width:39px;height:39px;border:1px solid var(--emf-ink);border-radius:50%;color:var(--emf-ink);text-decoration:none;transition:background .2s,color .2s}.emf-socials a:hover{background:var(--emf-ink);color:white}.emf-socials svg{width:21px;height:21px}.emf-group{min-width:0}.emf-group h3{font-size:24px!important;font-weight:400!important;line-height:1.25!important;margin:0 0 17px!important;color:var(--emf-ink)!important;padding:0 0 12px;position:relative}.emf-group h3:after{content:"";position:absolute;bottom:0;left:0;width:62px;height:1px;background:var(--emf-gold)}.emf-nav{padding:0!important;margin:0!important;list-style:none!important;display:flex;flex-direction:column;gap:13px}.emf-nav li{padding:0!important;margin:0!important;list-style:none!important}.emf-nav a{display:inline-flex;align-items:flex-start;gap:10px;color:var(--emf-ink)!important;text-decoration:none!important;font-size:16px;line-height:1.35;transition:opacity .2s;overflow-wrap:anywhere}.emf-nav a:hover{opacity:.7}.emf-contact svg{width:22px;height:22px;flex-shrink:0;transform:translateY(-2px)}.emf-bottom{margin-top:57px;text-align:center}.emf-divider{display:block;width:100%;height:1px;background:var(--emf-gold)}.emf-bottom p{margin:17px 0 0!important;font-size:15px;line-height:1.5;color:var(--emf-ink)}
@media(max-width:1000px){.emf-columns{grid-template-columns:1.1fr 1fr 1fr;gap:35px}.emf-brand{grid-column:1/-1}.emf-inner{padding-top:70px}.emf-top-left{width:230px}.emf-top-right{width:300px}}
@media(max-width:640px){.emf-inner{width:min(100% - 42px,430px);padding:95px 0 33px}.emf-columns{grid-template-columns:1fr 1fr;column-gap:20px;row-gap:30px}.emf-brand{grid-column:1/-1}.emf-group:last-child{grid-column:1/-1}.emf-group h3{font-size:19px!important;margin-bottom:14px!important}.emf-nav{gap:10px}.emf-nav a{font-size:14px}.emf-top-left{width:170px}.emf-top-right{width:210px}.emf-bottom-left{width:165px}.emf-bottom-right{width:165px}.emf-bottom{margin-top:44px}.emf-bottom p{font-size:13px}}
@media(max-width:380px){.emf-columns{grid-template-columns:1fr}.emf-group:last-child{grid-column:auto}.emf-group{padding-left:10px}.emf-inner{padding-top:110px}.emf-bottom{margin-top:40px}}

/* v1.1.0: filled, recognizable brand marks */
.emf-socials .emf-brand-icon{width:21px;height:21px;display:block;fill:currentColor;stroke:none}

/* v1.2.0 — configurable Pathos headings and fully centered mobile layout */
.emf-footer .emf-group h3{font-family:var(--emf-title-font, 'Pathos', Georgia, serif)!important}
@media(max-width:767px){
  .emf-footer .emf-inner{width:min(100% - 40px, 480px);margin-inline:auto;padding-block:100px 48px}
  .emf-footer .emf-columns{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px}
  .emf-footer .emf-brand,.emf-footer .emf-group{width:100%;max-width:440px;margin-inline:auto;padding:0;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
  .emf-footer .emf-group h3{text-align:center;margin:0 0 16px!important}
  .emf-footer .emf-group h3:after{left:50%;transform:translateX(-50%)}
  .emf-footer .emf-nav{width:100%;align-items:center;justify-content:center;padding:0!important;margin:0!important}
  .emf-footer .emf-nav li{width:100%;text-align:center;display:flex;justify-content:center;align-items:center}
  .emf-footer .emf-nav a{align-items:center;justify-content:center;text-align:center}
  .emf-footer .emf-contact a{flex-wrap:wrap}
  .emf-footer .emf-contact svg{transform:none}
  .emf-footer .emf-bottom{margin-top:42px;text-align:center}
  .emf-footer .emf-socials{justify-content:center}
}

/* v1.3.0 – independent divider switches for each footer column */
.emf-footer .emf-group.emf-no-heading-rule h3::after{content:none!important;display:none!important}

/* v1.4.0 — optional pair of images/icons inside Information column */
.emf-info-media{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}
.emf-info-media-item{display:inline-flex;align-items:center;justify-content:center;min-width:0}
.emf-info-media img{display:block;object-fit:contain;max-width:100%;height:auto}
@media(max-width:767px){.emf-info-media{width:100%;justify-content:center;align-items:center}}

/* v1.4.2 — tighter mobile spacing between Information links and contact details */
@media (max-width:767px){
  .emf-footer .emf-columns{gap:22px}
  .emf-footer .emf-group:nth-child(3) + .emf-group{margin-top:-12px!important}
  .emf-footer .emf-group:nth-child(3) .emf-nav{gap:8px}
  .emf-footer .emf-contact{gap:8px}
  .emf-footer .emf-group:nth-child(3) + .emf-group h3:empty{display:none!important}
}

/* v1.5.0: dynamic, reorderable footer columns; do not force a brand or last column to span rows. */
.emf-footer .emf-columns{grid-template-columns:repeat(var(--emf-cols,4),minmax(0,1fr))}
@media (min-width:768px) and (max-width:1000px){.emf-footer .emf-columns{grid-template-columns:repeat(3,minmax(0,1fr))}.emf-footer .emf-brand{grid-column:auto}}
@media (min-width:641px) and (max-width:767px){.emf-footer .emf-group:last-child{grid-column:auto}}
@media (max-width:767px){
  .emf-footer .emf-columns{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px}
  .emf-footer .emf-group:last-child,.emf-footer .emf-brand{grid-column:auto}
  .emf-footer .emf-group:nth-child(3) + .emf-group{margin-top:0!important}
}
