/*
Theme Name: MyLegacy
Theme URI: https://mylegacy.com.ng/
Author: MyLegacy
Description: A calm, editorial WordPress theme for the MyLegacy digital memorial platform.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mylegacy
*/
:root{--ml-plum:#30203d;--ml-plum-2:#493354;--ml-gold:#b99655;--ml-ivory:#fbf8f1;--ml-paper:#fffdf9;--ml-ink:#28232b;--ml-muted:#766f77;--ml-line:#e9e1d7;--ml-lime:#dce7b1;--ml-radius:18px;--ml-shadow:0 14px 40px rgba(48,32,61,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ml-ivory);color:var(--ml-ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.65}a{color:var(--ml-plum);text-decoration:none}a:hover{color:var(--ml-gold)}img{max-width:100%;height:auto;display:block}.ml-container{width:min(1160px,calc(100% - 40px));margin:auto}.site-header{background:rgba(251,248,241,.96);border-bottom:1px solid var(--ml-line);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-brand{font-family:Georgia,serif;font-size:29px;font-weight:700;letter-spacing:-1px;color:var(--ml-plum)}.site-brand span{color:var(--ml-gold)}.main-nav{display:flex;gap:25px;align-items:center;font-size:14px;font-weight:600}.main-nav a{color:var(--ml-plum)}.ml-button,.wp-block-button__link,button,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:13px 22px;background:var(--ml-plum);color:#fff;font-weight:700;cursor:pointer;font:inherit;font-size:14px}.ml-button:hover,button:hover,input[type=submit]:hover{background:var(--ml-plum-2);color:#fff}.ml-button--outline{background:transparent;color:var(--ml-plum);border:1px solid var(--ml-plum)}.ml-button--gold{background:var(--ml-gold);color:#21192a}.hero{padding:86px 0 76px;background:linear-gradient(120deg,#fbf8f1 0%,#f5eee2 100%);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:54px;align-items:center}.eyebrow{color:#8e6c36;text-transform:uppercase;letter-spacing:2px;font-size:11px;font-weight:800}.hero h1{font:clamp(42px,5.5vw,70px)/1.06 Georgia,serif;color:var(--ml-plum);letter-spacing:-2px;margin:15px 0 20px}.hero p{font-size:18px;color:#625966;max-width:570px}.hero-image{height:480px;border-radius:180px 180px 22px 22px;overflow:hidden;box-shadow:var(--ml-shadow);background:#e8ddce}.hero-image img{width:100%;height:100%;object-fit:cover}.section{padding:76px 0}.section--white{background:var(--ml-paper)}.section-heading{text-align:center;max-width:720px;margin:0 auto 38px}.section-heading h2,.page-title{font:clamp(32px,4vw,46px)/1.15 Georgia,serif;color:var(--ml-plum);margin:8px 0 12px}.section-heading p{color:var(--ml-muted)}.feature-grid,.memorial-grid,.plan-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.feature-card,.memorial-card,.plan-card{background:var(--ml-paper);border:1px solid var(--ml-line);border-radius:var(--ml-radius);padding:24px;box-shadow:0 6px 22px rgba(48,32,61,.035)}.feature-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#f2eadc;color:#876735;font-size:21px}.feature-card h3,.memorial-card h3{font:24px Georgia,serif;color:var(--ml-plum);margin:16px 0 8px}.muted{color:var(--ml-muted)}.memorial-card{padding:0;overflow:hidden}.memorial-card__image{height:230px;background:#eee5d8}.memorial-card__image img{width:100%;height:100%;object-fit:cover}.memorial-card__body{padding:22px}.memorial-card__dates{font-size:13px;color:var(--ml-muted)}.pill{display:inline-block;border-radius:99px;padding:5px 11px;background:#f1eadf;color:#755a2f;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.8px}.cta-panel{background:var(--ml-plum);color:#fff;border-radius:24px;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:28px}.cta-panel h2{font:36px Georgia,serif;margin:0 0 8px}.cta-panel p{color:#e2d9e7;margin:0}.site-footer{background:#261a31;color:#e8e0e9;padding:52px 0 25px;margin-top:40px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.site-footer a{color:#eee5ef}.footer-bottom{border-top:1px solid #594b61;margin-top:35px;padding-top:18px;font-size:12px;color:#c9bdcd}.page-content{padding:55px 0 80px;min-height:55vh}.content-card{background:var(--ml-paper);border:1px solid var(--ml-line);border-radius:var(--ml-radius);padding:30px}.ml-form{display:grid;gap:16px}.ml-form label{font-size:13px;font-weight:700;color:var(--ml-plum)}.ml-form input,.ml-form textarea,.ml-form select{width:100%;margin-top:6px;padding:13px 14px;border:1px solid #ded5ca;border-radius:10px;background:#fff;font:inherit}.ml-form textarea{min-height:130px}.ml-notice{padding:13px 16px;border-radius:10px;background:#f0eadf;margin:15px 0}.ml-error{background:#f9e7e5;color:#8b3029}.memorial-hero{display:grid;grid-template-columns:300px 1fr;gap:42px;align-items:center;padding:48px;background:#f4ecdf;border-radius:22px}.memorial-portrait{width:300px;height:350px;object-fit:cover;border-radius:160px 160px 18px 18px;background:#e6d9c7}.memorial-hero h1{font:clamp(36px,5vw,56px)/1.1 Georgia,serif;color:var(--ml-plum);margin:10px 0}.memorial-tabs{display:flex;gap:20px;flex-wrap:wrap;border-bottom:1px solid var(--ml-line);padding:20px 0;margin-bottom:25px}.memorial-section{padding:28px 0;border-bottom:1px solid var(--ml-line)}.tribute{padding:18px;border:1px solid var(--ml-line);border-radius:12px;margin:12px 0;background:#fff}.ml-pagination{margin-top:28px}.ml-pagination .page-numbers{padding:8px 12px;border-radius:8px;background:#fff;margin-right:5px}.ml-pagination .current{background:var(--ml-plum);color:#fff}.screen-reader-text{position:absolute;left:-9999px}@media(max-width:800px){.hero-grid,.memorial-hero{grid-template-columns:1fr}.hero{padding:55px 0}.hero-image{height:360px;order:-1}.feature-grid,.memorial-grid,.plan-grid{grid-template-columns:1fr 1fr}.memorial-portrait{width:100%;height:340px}.main-nav{gap:12px;font-size:12px}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:560px){.ml-container{width:min(100% - 28px,1160px)}.header-inner{min-height:68px}.main-nav a:not(.ml-button){display:none}.site-brand{font-size:25px}.feature-grid,.memorial-grid,.plan-grid,.footer-grid{grid-template-columns:1fr}.hero h1{font-size:43px}.hero p{font-size:16px}.hero-image{height:300px}.cta-panel{padding:30px;display:block}.cta-panel .ml-button{margin-top:20px}.memorial-hero{padding:24px}.memorial-portrait{height:300px}}

/* MyLegacy full-width hero and horizontal navigation update */
.main-nav{display:flex;align-items:center;gap:22px;white-space:nowrap}
.main-nav ul{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,1.7vw,26px);list-style:none;margin:0;padding:0}
.main-nav li{list-style:none;margin:0;padding:0}
.main-nav a{display:inline-flex;align-items:center;min-height:42px;font-size:13px;font-weight:650;color:var(--ml-plum);white-space:nowrap}
.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--ml-gold)}
.main-nav .ml-button{padding:10px 18px}
.hero--full{position:relative;isolation:isolate;display:flex;align-items:center;min-height:650px;padding:90px 0 75px;background:#24152c;overflow:hidden}
.hero__background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;z-index:-2}
.hero__overlay{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(35,20,42,.98) 0%,rgba(35,20,42,.91) 28%,rgba(35,20,42,.57) 49%,rgba(35,20,42,.08) 78%),linear-gradient(0deg,rgba(25,15,30,.28),transparent 45%)}
.hero__content{position:relative;color:#fff}
.hero--full .eyebrow{color:#e6c16e}
.hero--full h1{font:clamp(48px,6.2vw,78px)/1.03 Georgia,serif;color:#fff;letter-spacing:-2px;margin:18px 0 22px;max-width:680px}
.hero--full h1 em{color:#e4bd68;font-style:italic}
.hero--full p{color:rgba(255,255,255,.9);font-size:18px;max-width:570px}
.hero__actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}
.hero--full .ml-button--outline{color:#fff;border-color:rgba(255,255,255,.85);background:rgba(255,255,255,.06)}
.hero--full .ml-button--outline:hover{background:rgba(255,255,255,.16)}
.hero__benefits{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:54px;color:#fff;font-size:13px;font-weight:600}
.hero__benefits span{white-space:nowrap}
.hero__benefits i{height:26px;width:1px;background:rgba(230,193,110,.65)}
@media(max-width:1050px){.header-inner{gap:12px}.main-nav{gap:12px}.main-nav ul{gap:12px}.main-nav a{font-size:12px}}
@media(max-width:800px){.header-inner{align-items:center;gap:14px}.main-nav{flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;scrollbar-width:none}.main-nav::-webkit-scrollbar{display:none}.main-nav ul{justify-content:flex-start;flex-wrap:nowrap;min-width:max-content}.main-nav a{font-size:12px}.main-nav a.ml-button{padding:9px 13px}.hero--full{min-height:590px;padding:75px 0 55px}.hero__overlay{background:linear-gradient(90deg,rgba(35,20,42,.96) 0%,rgba(35,20,42,.82) 48%,rgba(35,20,42,.28) 100%),linear-gradient(0deg,rgba(25,15,30,.35),transparent 60%)}.hero__benefits{gap:12px;margin-top:38px}}
@media(max-width:560px){.header-inner{min-height:68px;flex-wrap:wrap;padding:10px 0}.site-brand{flex:0 0 auto}.main-nav{flex:1 1 100%;order:2;width:100%;padding:0 0 5px}.main-nav ul{gap:18px}.main-nav a{font-size:12px;min-height:34px}.hero--full{min-height:610px;padding:65px 0 45px}.hero__background{object-position:60% center}.hero--full h1{font-size:48px}.hero--full p{font-size:16px}.hero__benefits{font-size:11px;gap:9px}.hero__benefits i{height:20px}.hero__actions .ml-button{width:100%}}

/* =========================================================
   MyLegacy v2 — reference-matched header and homepage hero
   ========================================================= */
:root{--ml-v2-plum:#2b172b;--ml-v2-plum-dark:#211321;--ml-v2-gold:#e7bd62;--ml-v2-white:#fffaf6}
.ml-header-v2{height:108px;min-height:108px;background:linear-gradient(105deg,#321b31 0%,#271526 100%);border:0;position:relative;z-index:50;backdrop-filter:none}
.ml-header-inner{width:calc(100% - 116px);max-width:1740px;height:108px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:34px}
.ml-brand{display:flex;align-items:center;gap:12px;flex:0 0 315px;color:#fff;text-decoration:none;min-width:0}
.ml-brand:hover{color:#fff}
.ml-brand-mark{width:58px;height:66px;display:block;color:var(--ml-v2-gold);flex:0 0 auto}
.ml-brand-copy{display:flex;flex-direction:column;line-height:1}
.ml-brand-name{font:42px/1 Georgia,'Times New Roman',serif;letter-spacing:-1.4px;color:#fff;white-space:nowrap}
.ml-brand-tagline{font:700 9px/1.2 Arial,sans-serif;letter-spacing:.65px;color:#e8c879;margin:8px 0 0 2px;white-space:nowrap}
.ml-brand-tagline b{padding:0 3px;color:#e8c879}
.ml-main-nav{display:flex;align-items:center;justify-content:flex-end;gap:clamp(18px,2.35vw,45px);flex:1;min-width:0}
.ml-menu{display:flex;align-items:center;justify-content:flex-end;gap:clamp(18px,2.35vw,45px);list-style:none;margin:0;padding:0;white-space:nowrap}
.ml-menu li{list-style:none;margin:0;padding:0;position:relative}
.ml-menu a{display:flex;align-items:center;height:108px;color:#fffaf9;font:500 16px/1.2 Arial,sans-serif;white-space:nowrap;text-decoration:none;position:relative}
.ml-menu a:hover,.ml-menu .current-menu-item>a{color:#f2d27d}
.ml-menu .current-menu-item>a:after{content:"";position:absolute;left:0;right:0;bottom:35px;height:2px;background:#e6bd62}
.ml-nav-actions{display:flex;align-items:center;gap:20px;flex:0 0 auto}
.ml-login-link,.ml-start-link{height:53px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;padding:0 24px;font:700 15px Arial,sans-serif;text-decoration:none;white-space:nowrap}
.ml-login-link{border:1.5px solid #fff;color:#fff;background:transparent;min-width:102px}
.ml-login-link:hover{background:rgba(255,255,255,.1);color:#fff}
.ml-start-link{background:var(--ml-v2-gold);color:#241526;min-width:147px;border:1px solid #d8ac4f}
.ml-start-link:hover{background:#f0cd7b;color:#241526}
.ml-mobile-toggle,.ml-mobile-menu{display:none}
.ml-hero-v2{height:calc(100svh - 108px);min-height:690px;max-height:900px;position:relative;isolation:isolate;overflow:hidden;background:#211321;color:#fff}
.ml-hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;z-index:-2}
.ml-hero-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(35,17,35,.22) 0%,rgba(35,17,35,.05) 44%,rgba(35,17,35,0) 68%),linear-gradient(0deg,rgba(22,12,24,.10),transparent 42%)}
.ml-hero-inner{width:calc(100% - 11%);max-width:1650px;height:100%;margin:0 auto;display:flex;align-items:center}
.ml-hero-copy{width:min(650px,46%);padding:0 0 8px}
.ml-hero-eyebrow{display:flex;align-items:center;gap:16px;color:#fff;font:700 18px/1.2 Arial,sans-serif;letter-spacing:7px;margin:0 0 20px;white-space:nowrap}
.ml-hero-eyebrow span{width:39px;height:2px;background:var(--ml-v2-gold);display:inline-block;flex:0 0 auto}
.ml-hero-copy h1{font:clamp(56px,4.25vw,76px)/1.06 Georgia,'Times New Roman',serif;letter-spacing:-1.6px;color:#fff;margin:0 0 28px;max-width:690px}
.ml-hero-copy h1 em{font-style:normal;color:var(--ml-v2-gold)}
.ml-hero-copy>p{font:400 21px/1.52 Arial,sans-serif;color:#fff;max-width:600px;margin:0}
.ml-hero-buttons{display:flex;align-items:center;gap:25px;margin-top:40px}
.ml-hero-primary,.ml-hero-secondary{height:66px;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:0 29px;border-radius:12px;font:700 17px Arial,sans-serif;text-decoration:none;white-space:nowrap}
.ml-hero-primary{background:var(--ml-v2-gold);border:1px solid #e9c56f;color:#211522;min-width:280px}
.ml-hero-primary:hover{background:#f0ce7d;color:#211522}
.ml-plus{font:400 31px/1 Arial,sans-serif;margin-top:-3px}
.ml-hero-secondary{border:1.5px solid #fff;color:#fff;background:rgba(35,18,35,.12);min-width:263px}
.ml-hero-secondary:hover{background:rgba(255,255,255,.13);color:#fff}
.ml-hero-secondary svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round}
.ml-hero-benefits{display:flex;align-items:center;gap:29px;margin-top:62px;color:#fff}
.ml-benefit{display:flex;align-items:center;gap:14px;font:400 16px/1.5 Arial,sans-serif;white-space:nowrap}
.ml-benefit svg{width:47px;height:47px;fill:none;stroke:var(--ml-v2-gold);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.ml-hero-benefits>i{display:block;width:1px;height:47px;background:rgba(231,189,98,.65)}
@media(max-width:1500px){.ml-header-inner{width:calc(100% - 64px);gap:20px}.ml-brand{flex-basis:255px}.ml-brand-mark{width:48px;height:58px}.ml-brand-name{font-size:36px}.ml-menu{gap:clamp(12px,1.5vw,24px)}.ml-menu a{font-size:14px}.ml-main-nav{gap:16px}.ml-nav-actions{gap:12px}.ml-login-link,.ml-start-link{padding:0 17px}.ml-hero-copy{width:48%}.ml-hero-copy h1{font-size:clamp(54px,4.6vw,70px)}}
@media(max-width:1120px){.ml-header-v2,.ml-header-inner{height:88px;min-height:88px}.ml-header-inner{width:calc(100% - 42px)}.ml-brand{flex-basis:auto}.ml-brand-mark{width:43px;height:52px}.ml-brand-name{font-size:33px}.ml-brand-tagline{font-size:7px}.ml-main-nav{gap:12px}.ml-menu{gap:13px}.ml-menu a{font-size:12px}.ml-login-link,.ml-start-link{height:44px;padding:0 13px;font-size:12px;min-width:auto;border-radius:9px}.ml-nav-actions{gap:8px}.ml-menu .current-menu-item>a:after{bottom:27px}.ml-hero-v2{height:calc(100svh - 88px);min-height:640px}.ml-hero-inner{width:calc(100% - 9%)}.ml-hero-copy{width:52%}.ml-hero-copy h1{font-size:clamp(48px,5.1vw,62px)}.ml-hero-copy>p{font-size:18px}.ml-hero-buttons{gap:14px}.ml-hero-primary,.ml-hero-secondary{min-width:0;height:58px;padding:0 20px;font-size:14px}.ml-hero-benefits{gap:17px;margin-top:45px}.ml-benefit{font-size:13px;gap:9px}.ml-benefit svg{width:39px;height:39px}}
@media(max-width:850px){.ml-header-v2,.ml-header-inner{height:82px;min-height:82px}.ml-header-inner{width:calc(100% - 36px)}.ml-main-nav{display:none}.ml-mobile-toggle{display:flex;flex-direction:column;justify-content:center;gap:6px;width:46px;height:44px;border:1px solid rgba(255,255,255,.55);border-radius:9px;background:transparent;padding:0 11px}.ml-mobile-toggle span{height:2px;width:100%;background:#fff;display:block}.ml-mobile-menu{position:absolute;left:0;right:0;top:82px;background:#2b172b;padding:14px 22px 22px;box-shadow:0 15px 24px rgba(0,0,0,.22);display:none;flex-direction:column;gap:0}.ml-mobile-menu.is-open{display:flex}.ml-mobile-menu>a,.ml-mobile-menu-list a{display:block;padding:12px 4px;color:#fff;border-bottom:1px solid rgba(255,255,255,.12);font:500 14px Arial,sans-serif}.ml-mobile-menu-list{list-style:none;margin:0;padding:0}.ml-mobile-menu-list li{list-style:none}.ml-mobile-menu .ml-mobile-start{margin-top:12px;background:var(--ml-v2-gold);color:#241526;text-align:center;border-radius:9px;font-weight:700}.ml-hero-v2{height:auto;min-height:720px;max-height:none}.ml-hero-photo{object-position:58% center}.ml-hero-shade{background:linear-gradient(90deg,rgba(35,17,35,.82),rgba(35,17,35,.28) 78%),linear-gradient(0deg,rgba(22,12,24,.3),transparent 65%)}.ml-hero-inner{width:calc(100% - 52px);min-height:720px;padding:70px 0}.ml-hero-copy{width:min(590px,75%)}.ml-hero-copy h1{font-size:clamp(48px,7vw,66px)}.ml-hero-copy>p{font-size:18px}}
@media(max-width:560px){.ml-header-v2,.ml-header-inner{height:76px;min-height:76px}.ml-header-inner{width:calc(100% - 28px)}.ml-brand{gap:7px}.ml-brand-mark{width:39px;height:48px}.ml-brand-name{font-size:30px}.ml-brand-tagline{font-size:6px;letter-spacing:.4px;margin-top:6px}.ml-mobile-toggle{width:42px;height:40px}.ml-mobile-menu{top:76px}.ml-hero-v2{min-height:760px}.ml-hero-photo{object-position:62% center}.ml-hero-shade{background:linear-gradient(90deg,rgba(35,17,35,.87),rgba(35,17,35,.52) 72%,rgba(35,17,35,.28)),linear-gradient(0deg,rgba(22,12,24,.4),transparent 75%)}.ml-hero-inner{width:calc(100% - 42px);min-height:760px;padding:62px 0 48px;align-items:flex-start}.ml-hero-copy{width:100%;padding-top:18px}.ml-hero-eyebrow{font-size:12px;letter-spacing:4px;gap:11px;margin-bottom:17px}.ml-hero-eyebrow span{width:29px}.ml-hero-copy h1{font-size:clamp(43px,11vw,54px);line-height:1.08;letter-spacing:-1px;margin-bottom:19px}.ml-hero-copy>p{font-size:16px;line-height:1.5;max-width:430px}.ml-hero-buttons{display:grid;grid-template-columns:1fr;gap:12px;margin-top:27px;max-width:340px}.ml-hero-primary,.ml-hero-secondary{height:56px;width:100%;font-size:15px}.ml-hero-benefits{gap:12px;margin-top:35px;justify-content:flex-start}.ml-benefit{font-size:11px;gap:6px;white-space:normal}.ml-benefit svg{width:31px;height:31px}.ml-hero-benefits>i{height:34px}.ml-benefit span{max-width:78px}}

/* MyLegacy v2.0.2 centered footer and memorial typography */
.footer-centered{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding-top:42px;padding-bottom:24px}
.footer-centered .footer-brand{font-family:Georgia,"Times New Roman",serif;font-size:34px;justify-content:center}
.footer-tagline{max-width:560px;margin:0 auto;color:rgba(255,255,255,.82);line-height:1.7}
.footer-social{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px}
.footer-social a{display:inline-flex;align-items:center;gap:8px;color:#fff;text-decoration:none;border:1px solid rgba(226,190,99,.45);border-radius:24px;padding:10px 16px;transition:background .2s ease}
.footer-social a:hover{background:rgba(226,190,99,.16);color:#f0c96b}
.footer-social .social-symbol{display:inline-flex;width:25px;height:25px;border-radius:50%;align-items:center;justify-content:center;background:#e7bd5d;color:#28172b;font-weight:700;font-size:15px}
.footer-centered .footer-bottom{width:100%;text-align:center;margin-top:14px;padding-top:18px;border-top:1px solid rgba(255,255,255,.16)}
.site-footer .footer-grid{display:none!important}

.footer-info-links{display:flex;flex-wrap:wrap;justify-content:center;gap:22px}
.footer-info-links a{color:rgba(255,255,255,.86);text-decoration:none;font-size:14px}
.footer-info-links a:hover{color:#f0c96b}

/* v2.0.3 — centered footer with recognizable inline social icons */
.footer-centered{width:100%;margin-left:auto!important;margin-right:auto!important;text-align:center!important;align-items:center!important}
.footer-centered>*{margin-left:auto!important;margin-right:auto!important}
.footer-social{width:100%;justify-content:center!important;align-items:center!important;gap:16px!important}
.footer-social a{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-width:125px}
.footer-social .social-icon{display:block;width:21px;height:21px;flex:0 0 21px;fill:currentColor;color:#e8bd5b}
.footer-social a:hover .social-icon{color:#fff}

/* MyLegacy Theme v2.0.4 — social contacts are the final footer row */
.footer-centered{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
.footer-centered .footer-bottom{order:5!important;width:100%!important}
.footer-centered .footer-social{order:6!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:center!important;align-items:center!important;gap:18px!important;width:100%!important;margin:18px auto 0!important}
.footer-centered .footer-social a{display:inline-flex!important;flex:0 0 auto!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;white-space:nowrap!important;gap:8px!important;padding:9px 13px!important}
.footer-centered .footer-social .social-icon{width:20px!important;height:20px!important;flex:0 0 20px!important}
@media(max-width:600px){
 .footer-centered .footer-social{flex-wrap:wrap!important;gap:10px!important}
 .footer-centered .footer-social a{padding:8px 10px!important;font-size:12px!important}
}

/* MyLegacy Theme v2.0.5 — three-part footer inspired by supplied reference */
.site-footer.ml-footer-reference{
  background:#241329!important;
  color:#fff!important;
  padding:58px 0 48px!important;
}
.ml-footer-inner{
  width:min(1360px,calc(100% - 9%))!important;
  margin:0 auto!important;
  display:grid!important;
  grid-template-columns:1.05fr 1fr 1.15fr!important;
  align-items:end!important;
  column-gap:42px!important;
}
.ml-footer-brand{
  justify-self:start!important;
  align-self:end!important;
  max-width:310px!important;
}
.ml-footer-brand .footer-brand{
  display:inline-flex!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:35px!important;
  line-height:1.05!important;
  color:#fff!important;
  text-decoration:none!important;
}
.ml-footer-brand .footer-brand span{color:#dcb45b!important}
.ml-footer-brand p{
  margin:14px 0 0!important;
  max-width:300px!important;
  color:rgba(255,255,255,.78)!important;
  font-size:13px!important;
  line-height:1.65!important;
}
.ml-footer-links{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  justify-content:center!important;
  align-items:center!important;
  gap:25px!important;
  padding-bottom:5px!important;
}
.ml-footer-links a{
  color:#fff!important;
  text-decoration:none!important;
  font-size:15px!important;
}
.ml-footer-links a:hover{color:#e8c66f!important}
.ml-footer-connect{
  justify-self:end!important;
  text-align:right!important;
  max-width:100%!important;
}
.ml-footer-connect h2{
  margin:0 0 12px!important;
  color:#e8c66f!important;
  font-family:Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:700!important;
  text-transform:none!important;
}
.ml-footer-connect .footer-social{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:nowrap!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:9px!important;
  width:auto!important;
  margin:0 0 18px!important;
}
.ml-footer-connect .footer-social a{
  display:flex!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  padding:0!important;
  box-sizing:border-box!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(255,255,255,.2)!important;
  border-radius:0!important;
  background:transparent!important;
  color:#c5cbd4!important;
  text-decoration:none!important;
}
.ml-footer-connect .footer-social a:hover{
  color:#241329!important;
  background:#e8c66f!important;
  border-color:#e8c66f!important;
}
.ml-footer-connect .footer-social .social-icon{
  display:block!important;
  width:20px!important;
  height:20px!important;
  flex:0 0 20px!important;
  fill:currentColor!important;
  color:inherit!important;
}
.ml-footer-copyright{
  margin:0!important;
  color:rgba(255,255,255,.8)!important;
  font-size:13px!important;
  line-height:1.6!important;
  text-align:right!important;
}
@media(max-width:900px){
 .ml-footer-inner{grid-template-columns:1fr 1fr!important;row-gap:34px!important;align-items:center!important}
 .ml-footer-brand{grid-column:1!important;grid-row:1!important}
 .ml-footer-links{grid-column:1/-1!important;grid-row:2!important;justify-content:center!important}
 .ml-footer-connect{grid-column:2!important;grid-row:1!important}
}
@media(max-width:600px){
 .site-footer.ml-footer-reference{padding:38px 0 32px!important}
 .ml-footer-inner{width:calc(100% - 40px)!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:25px!important;text-align:center!important}
 .ml-footer-brand,.ml-footer-connect{justify-self:auto!important;align-self:auto!important;text-align:center!important}
 .ml-footer-brand p{margin-left:auto!important;margin-right:auto!important}
 .ml-footer-links{justify-content:center!important;gap:20px!important;padding:0!important}
 .ml-footer-connect .footer-social{justify-content:center!important;margin-bottom:14px!important}
 .ml-footer-copyright{text-align:center!important}
}
