/* WittyWriter Compact Pearl Footer v1. Designed for the Compact Pearl Header v3.
   All styles are scoped: earlier dark footer and newsletter selectors remain untouched. */
.wwp-footer,.wwp-footer *,.wwp-footer *::before,.wwp-footer *::after{box-sizing:border-box}
.wwp-footer{position:relative;isolation:isolate;overflow:hidden;margin:0!important;padding:0!important;border-top:1px solid #edeaf2;background:linear-gradient(160deg,#fffdf9 0%,#faf9ff 58%,#f7fcfa 100%);color:#28324a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.5}
.wwp-footer::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#f7ac94 0%,#c9bbf1 52%,#99dfc8 100%);pointer-events:none}
.wwp-footer::after{content:"";position:absolute;right:-80px;bottom:-170px;width:430px;height:380px;background:radial-gradient(circle,rgba(165,202,203,.11),transparent 70%);pointer-events:none;z-index:-1}
.wwp-footer [hidden]{display:none!important}
.wwp-footer__wrap{max-width:1500px;margin:0 auto;padding:clamp(25px,3vw,42px) clamp(18px,3vw,44px) 15px}
.wwp-footer :is(a,button,input){-webkit-tap-highlight-color:transparent}
.wwp-footer a{text-decoration:none!important;color:inherit}
.wwp-footer a:focus-visible,.wwp-footer button:focus-visible,.wwp-footer input:focus-visible{outline:3px solid #8a75e2!important;outline-offset:3px}
/* Newsletter ribbon */
.wwp-footer__newsletter{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,.9fr);align-items:center;gap:clamp(24px,4vw,70px);padding:clamp(20px,2.35vw,30px) clamp(23px,3vw,42px);border:1px solid #ebe7f0;border-radius:21px;background:linear-gradient(115deg,rgba(254,235,226,.7) 0%,rgba(249,246,255,.94) 52%,rgba(232,250,244,.73) 100%);box-shadow:0 12px 42px rgba(47,48,85,.048),inset 0 1px 0 rgba(255,255,255,.9)}
.wwp-footer__kicker{display:inline-flex;align-items:center;gap:9px;letter-spacing:.135em;font-size:10px;font-weight:800;color:#806597}
.wwp-footer__dot{display:inline-block;width:8px;height:8px;background:#ec927c;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 3px rgba(236,146,124,.15)}
.wwp-footer__newsletter-intro h2{font-size:clamp(22px,2vw,30px)!important;line-height:1.18!important;letter-spacing:-.045em;font-weight:830;margin:7px 0 5px!important;color:#273149!important}
.wwp-footer__newsletter-intro p{font-size:12.5px;line-height:1.55;color:#788094;margin:0!important}
.wwp-footer .wwp-footer__form{padding:0!important;margin:0!important;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;transform:none!important;display:block!important}
.wwp-footer__formline{display:flex;align-items:stretch;gap:8px;min-width:0}
.wwp-footer .wwp-footer__email{display:block!important;min-height:46px!important;height:46px!important;min-width:0;max-width:none!important;flex:1 1 auto;width:100%!important;border:1px solid #e2dded!important;border-radius:11px!important;padding:0 14px!important;background:#fff!important;color:#2c3350!important;box-shadow:0 2px 7px rgba(38,43,71,.035)!important;font-size:13px!important;font-weight:500;line-height:normal!important;opacity:1!important}
.wwp-footer .wwp-footer__email::placeholder{color:#9299aa!important;opacity:1}
.wwp-footer .wwp-footer__email:focus{border-color:#b7a5e5!important;outline:3px solid rgba(145,121,218,.14)!important;outline-offset:0}
.wwp-footer .wwp-footer__submit{width:auto!important;max-width:none!important;display:inline-flex!important;position:static!important;align-items:center;justify-content:center;gap:13px;flex:none;min-height:46px!important;height:46px!important;margin:0!important;padding:0 19px!important;background:#534bc7!important;color:#fff!important;border:1px solid #534bc7!important;border-radius:11px!important;box-shadow:0 6px 16px rgba(86,78,191,.13)!important;transform:none!important;opacity:1!important;visibility:visible!important;font-size:12.5px!important;line-height:1!important;font-weight:750!important;white-space:nowrap;cursor:pointer;transition:background .18s ease,box-shadow .18s ease!important}
.wwp-footer .wwp-footer__submit:hover{background:#453eb2!important;box-shadow:0 8px 18px rgba(86,78,191,.19)!important}
.wwp-footer .wwp-footer__submit:disabled{opacity:.65!important;cursor:wait}
.wwp-footer__note{font-size:10.5px!important;color:#898a9b!important;line-height:1.5;margin:8px 0 0!important}
.wwp-footer .g-recaptcha{margin-top:10px;max-width:100%;overflow:auto}
.wwp-footer .wwp-footer__feedback{margin:8px 0 0!important;border-radius:10px;padding:9px 12px;font-size:12px;line-height:1.45}
.wwp-footer .wwp-footer__feedback.alert-success{background:#dcf8e9;color:#0f5132;border:1px solid #b6e5cd}
.wwp-footer .wwp-footer__feedback.alert-danger{background:#ffeaeb;color:#842029;border:1px solid #f4c6cd}
/* Four-column content area */
.wwp-footer__grid{display:grid;grid-template-columns:minmax(230px,1.42fr) minmax(130px,.65fr) minmax(130px,.75fr) minmax(240px,1.2fr);column-gap:clamp(25px,4vw,75px);row-gap:25px;padding:clamp(31px,3.2vw,47px) 3px 28px;align-items:start}
.wwp-footer__about{min-width:0}
.wwp-footer__logo{display:inline-flex;align-items:center;gap:10px;max-width:100%;color:#273149!important;font-size:21px;font-weight:850;letter-spacing:-.065em;line-height:1.12}
.wwp-footer__logo strong{font:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.wwp-footer__logo-mark{width:40px;height:40px;min-width:40px;border-radius:12px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(145deg,#fbe6d9,#ece9ff 63%,#e1f5ec);border:1px solid #ded7e8;color:#7463cc;font-size:26px;line-height:1;box-shadow:0 3px 10px rgba(75,66,110,.045)}
.wwp-footer__logo-mark img{width:36px;height:36px;object-fit:contain}
.wwp-footer__about>p{font-size:12.5px;line-height:1.7;color:#778198;max-width:255px;margin:12px 0!important}
.wwp-footer__social{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.wwp-footer__social a{display:inline-flex;gap:7px;align-items:center;max-width:100%;padding:7px 10px;border:1px solid #e5e2eb;background:#fff;border-radius:10px;font-size:11px;font-weight:680;color:#596175!important;overflow-wrap:anywhere;transition:background .2s,border-color .2s,color .2s}
.wwp-footer__social a:hover{background:#f5f1ff;border-color:#d8d0f3;color:#4c43aa!important}
.wwp-footer__social a span{color:#9e8dd6}
.wwp-footer__col{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:9px}
.wwp-footer__col h3{margin:1px 0 7px!important;padding:0!important;color:#29334d!important;font-size:12px!important;font-weight:820!important;line-height:1.4;letter-spacing:.02em}
.wwp-footer__col>a{display:block;max-width:100%;min-height:0!important;margin:0!important;padding:2px 0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#6d7489!important;font-size:12.5px!important;line-height:1.55!important;font-weight:510;overflow-wrap:anywhere;transition:color .15s ease}
.wwp-footer__col>a:hover{color:#5148c5!important;text-decoration:underline!important;text-decoration-thickness:1px!important;text-underline-offset:4px!important}
.wwp-footer__latest>a{width:100%;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:2px 0 9px!important;border-bottom:1px solid #e9e8ed!important;max-width:390px}
.wwp-footer__latest>a:last-child{border-bottom:0!important}
.wwp-footer__latest>a span{color:#a798d6;flex:none;font-size:15px}
.wwp-footer__bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;padding:14px 3px 2px;border-top:1px solid #e9e7f0;color:#8990a2;font-size:11px;line-height:1.6}
.wwp-footer__bottom p{margin:0!important;color:#8990a2;font-size:11px;line-height:1.6}
.wwp-footer__bottom nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px clamp(11px,1.5vw,21px)}
.wwp-footer__bottom nav a{color:#7a8094!important;font-size:11px!important;background:transparent!important;border:0!important;padding:0!important;line-height:1.5!important;min-height:0!important;white-space:nowrap;transition:color .15s}
.wwp-footer__bottom nav a:hover{color:#5148c5!important;text-decoration:underline!important;text-underline-offset:4px!important}
.wwp-footer__bottom nav .wwp-footer__up{color:#544bbc!important;font-weight:740!important}
.wwp-footer__sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:1050px){.wwp-footer__grid{grid-template-columns:minmax(220px,1.2fr) repeat(2,minmax(120px,.65fr));gap:27px}.wwp-footer__latest{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 18px}.wwp-footer__latest h3{grid-column:1/-1}.wwp-footer__latest>a{max-width:none;min-width:0;border:0!important;padding-right:14px!important;border-right:1px solid #e9e8ed!important}.wwp-footer__latest>a:last-child{border-right:0!important}}
@media(max-width:730px){.wwp-footer__newsletter{grid-template-columns:1fr;gap:16px;padding:21px;border-radius:17px}.wwp-footer__grid{grid-template-columns:1fr 1fr;gap:26px 16px}.wwp-footer__about{grid-column:1/-1}.wwp-footer__latest{grid-column:1/-1;grid-template-columns:1fr;gap:7px}.wwp-footer__latest h3{margin-bottom:2px!important}.wwp-footer__latest>a{border-right:0!important;border-bottom:1px solid #e9e8ed!important;padding:3px 0 9px!important}.wwp-footer__bottom{align-items:flex-start}}
@media(max-width:420px){.wwp-footer__wrap{padding:24px 15px 20px}.wwp-footer__newsletter{padding:19px 16px}.wwp-footer__newsletter-intro h2{font-size:23px!important}.wwp-footer .wwp-footer__submit{padding:0 13px!important;gap:7px}.wwp-footer .wwp-footer__email{padding:0 11px!important}.wwp-footer__grid{padding-top:31px;row-gap:26px}.wwp-footer__bottom nav{gap:9px 16px}}
@media(prefers-reduced-motion:reduce){.wwp-footer *, .wwp-footer *::before,.wwp-footer *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
