/*
Theme Name: BluElephant
Theme URI: https://www.bluelephant.global/
Author: BluElephant / New Economy
Description: One-page theme for bluelephant.global — water reborn. Content in the Home page (block editor); map, video, form and dialogs as theme shortcodes.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bluelephant
*/
@font-face{font-family:"IBM Plex Sans";font-style:normal;font-weight:100 700;font-display:swap;src:url("assets/fonts/ibm-plex-sans-variable.woff2") format("woff2")}
:root{--blue-100:#ebf7ff;--blue-300:#5bcbde;--blue-500:#0079b9;--blue-600:#00486f;--navy:#00162e;--gray-100:#f3f4f6;--ink:#00486f;--muted:#55636e;--line:#c9dde8;--font:"IBM Plex Sans","Helvetica Neue",Arial,sans-serif;--ease:cubic-bezier(.83,0,.17,1);--container:1280px;--pad:16px}
@media(min-width:640px){:root{--pad:32px}}@media(min-width:1024px){:root{--pad:48px}}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;font-family:var(--font);font-size:16px;line-height:1.5;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3,h4,p,ul,figure{margin:0}ul{padding:0;list-style:none}
button{font:inherit;cursor:pointer;color:inherit}
svg{display:block}
.skip{position:absolute;left:-999px;top:8px;background:#fff;color:var(--blue-600);padding:8px 12px;border-radius:8px;z-index:100;font-weight:600}.skip:focus{left:16px}
:focus-visible{outline:2px solid var(--blue-500);outline-offset:2px}
.container{width:100%;max-width:var(--container);margin:0 auto;padding-left:var(--pad);padding-right:var(--pad)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}


/* buttons */
.btn{display:inline-flex;align-items:center;gap:12px;background:var(--blue-300);color:var(--blue-600);font-weight:600;font-size:16px;line-height:24px;padding:16px 24px;border-radius:9999px;text-decoration:none;border:0;transition:background .15s var(--ease),color .15s var(--ease)}
.btn:hover{background:var(--blue-600);color:#fff}.btn svg{height:16px;width:auto;flex-shrink:0}
.btn--outline{background:transparent;color:#fff;border:1px solid var(--blue-300);font-weight:700}.btn--outline:hover{background:var(--blue-300);color:var(--blue-600)}
.btn--small{padding:8px 12px;font-size:12px;line-height:15px}@media(min-width:1024px){.btn--small{padding:12px 16px;font-size:16px;line-height:20px}}
.btn--white{background:#fff;color:#000;font-weight:700}.btn--white:hover{background:var(--blue-600);color:#fff}.btn--white svg{color:var(--blue-300)}
.i-rot{transform:rotate(-90deg)}

/* header */
.site-header{position:relative;z-index:40}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding:14px 12px;background:#fff;border-radius:8px;box-shadow:0 4px 3px rgba(0,0,0,.07),0 2px 2px rgba(0,0,0,.06)}
.nav__logo{display:flex}.nav__logo img{height:40px;width:auto}
.nav__list{display:none}
.nav__actions{display:flex;align-items:center;gap:8px}
.nav__toggle{width:44px;height:44px;border-radius:9999px;background:var(--blue-100);color:var(--blue-600);display:flex;align-items:center;justify-content:center;border:0}.nav__toggle svg{width:18px;height:auto}
@media(min-width:1024px){.nav{margin-top:40px;padding:20px 28px}.nav__logo img{height:52px}.nav__list{display:flex;align-items:center;gap:clamp(20px,3vw,56px);font-size:16px}.nav__list a{text-decoration:none;color:var(--blue-600);transition:color .2s var(--ease)}.nav__list a:hover{color:var(--blue-300)}.nav__toggle{display:none}}

/* mobile menu (dialog) */
.mobile-menu{border:0;padding:0;margin:0;width:100vw;height:100dvh;max-width:none;max-height:none;background:#fff;color:var(--blue-600);display:none;flex-direction:column}
.mobile-menu[open]{display:flex}
.mobile-menu__bar{padding:16px 16px 0}
.mobile-menu__bar .nav{margin-top:0}
.mobile-menu__list{padding:24px 16px 0}
.mobile-menu__list a{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding:0 8px;border-bottom:1px solid #e3eef4;font-size:24px;line-height:32px;font-weight:600;text-decoration:none}
.mobile-menu__list svg{height:16px;width:auto;color:var(--blue-300)}
.mobile-menu__foot{margin-top:auto;padding:24px 16px 32px;background:var(--blue-100);display:flex;flex-direction:column;gap:20px}
.mobile-menu__foot .btn{justify-content:center}
.mobile-menu__row{display:flex;align-items:center;justify-content:space-between}
.mobile-menu__row a{text-decoration:underline}.mobile-menu__row svg{height:24px;width:auto;color:var(--blue-500)}

/* hero */
.hero{position:relative;overflow:hidden;margin-top:-80px;padding:112px 0 32px;background-image:linear-gradient(160deg,#0079b9 0%,#00486f 60%,#00162e 100%);color:#fff}
@media(min-width:640px){.hero{border-radius:0 0 200px 200px;padding-bottom:64px}}
@media(min-width:1024px){.hero{margin-top:-160px;padding:200px 0 90px;border-radius:0 0 400px 400px}}
.hero__grid{display:grid;gap:28px}
@media(min-width:1024px){.hero__grid{grid-template-columns:minmax(0,1fr) 560px;gap:56px;align-items:center}}
.hero__card{order:-1;width:100%;max-width:560px;aspect-ratio:1/1;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 24px 60px rgba(0,22,46,.35)}
@media(min-width:1024px){.hero__card{order:2;border-radius:32px}}
.hero__card video,.hero__card img{width:100%;height:100%;object-fit:cover}
.tag{display:inline-flex;align-items:center;gap:6px;background:var(--blue-300);color:var(--blue-600);padding:7px 20px 7px 12px;font-size:11px;line-height:15px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;clip-path:polygon(0 0,100% 0,calc(100% - 11px) 50%,100% 100%,0 100%)}
.tag svg{height:13px;width:auto}
@media(min-width:1024px){.tag{gap:8px;padding:9px 28px 9px 16px;font-size:14px;line-height:20px;letter-spacing:.06em}.tag svg{height:16px}}
.hero h1{margin-top:16px;font-size:clamp(24px,3.75vw,54px);line-height:1.2;font-weight:700;letter-spacing:-.01em}
@media(min-width:1024px){.hero h1{margin-top:22px;line-height:60px}}
.hero__sub{margin-top:12px;font-size:clamp(16px,1.55vw,22px);line-height:1.65}
.usps{display:flex;margin:20px 0;font-size:14px;line-height:20px;font-weight:500;text-align:center}
.usps li{display:flex;flex-direction:column;align-items:center;gap:8px;padding:0 12px;border-left:1px solid var(--blue-300)}
.usps li:first-child{padding-left:0;border-left:0}.usps svg{height:20px;width:auto}
@media(min-width:1024px){.usps{margin:36px 0;font-size:15px;line-height:22px}.usps li{padding:0 16px}.usps svg{height:34px}}

/* sections */
.section{padding:30px 0}@media(min-width:1024px){.section{padding:75px 0}}
.section--light{background:var(--blue-100)}
.h2{font-size:clamp(36px,4.2vw,60px);line-height:1.1;font-weight:700;color:var(--blue-500);letter-spacing:-.01em}
.lead{margin-top:16px;font-size:clamp(18px,1.7vw,24px);line-height:1.65;font-weight:500;color:var(--blue-600)}
.copy{margin-top:16px;font-size:16px;line-height:2;color:var(--blue-600)}
.copy a{font-weight:600}
.dots{margin-top:20px;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:24px}
.dots li{display:flex;gap:10px;align-items:flex-start}
.dots li::before{content:"";flex-shrink:0;width:10px;height:10px;border-radius:9999px;background:var(--blue-300);margin-top:8px}
.section .btn{margin-top:32px}@media(min-width:1024px){.section .btn{margin-top:40px}}

/* text + image splits (full-bleed, image flush to the edge) */
.split{display:grid;gap:32px;align-items:center}
.split__text{padding:0 var(--pad)}
.split__media{overflow:hidden}
.split__media img{width:100%;height:100%;object-fit:cover}
.split--img-right .split__media{margin-left:16px;border-radius:9999px 0 0 9999px}
.split--img-left .split__media{margin-right:16px;border-radius:0 9999px 9999px 0}
@media(max-width:1023px){.split--img-left .split__media{order:-1}}
@media(min-width:1024px){.split{gap:0}.split--img-right{grid-template-columns:5fr 7fr}.split--img-right .split__text{padding-right:0}.split--img-right .split__media{margin-left:48px;max-height:800px}.split--img-left{grid-template-columns:7fr 5fr}.split--img-left .split__text{padding-left:80px}.split--img-left .split__media{margin-right:0;max-height:800px}}

/* hashtag */
.hashtag{padding:32px 0;text-align:center;font-weight:700;white-space:nowrap;overflow:hidden;font-size:clamp(40px,13.9vw,200px);line-height:1.5;background-image:linear-gradient(90deg,#5bcbde,#0079b9);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
@media(min-width:1024px){.hashtag{padding:75px 0}}

/* partners */
.partners__grid{margin-top:32px;display:flex;flex-direction:column;gap:32px}
.partner{display:flex;align-items:center;gap:20px}
.partner__logo{display:flex;align-items:center;justify-content:center;width:110px;height:56px;flex-shrink:0}
.partner__logo img{max-width:110px;max-height:56px;width:auto;height:auto}
.partner span{font-size:16px;line-height:24px;font-weight:500}
@media(min-width:640px){.partners__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}}
@media(min-width:1024px){.partners__grid{margin-top:48px;grid-template-columns:repeat(3,minmax(0,1fr))}.partner{flex-direction:column;align-items:flex-start}.partner__logo{width:auto;height:60px;justify-content:flex-start}.partner__logo img{max-width:170px;max-height:60px}}

/* technical */
.media-row{margin-top:32px;display:flex;flex-direction:column;gap:28px}
@media(min-width:768px){.media-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}}
@media(min-width:1024px){.media-row{margin-top:64px}}
.media-card__frame{position:relative;border-radius:16px;overflow:hidden;background:#fff;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}
@media(min-width:1024px){.media-card__frame{border-radius:24px;aspect-ratio:13/10}}
.media-card__frame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.media-card__frame--video::before{content:"";position:absolute;top:0;left:0;right:0;height:50%;background-image:linear-gradient(to bottom,#00162e,rgba(0,22,46,0));pointer-events:none}
.media-card__frame .btn{position:relative}
.media-card__caption{display:flex;align-items:flex-start;gap:10px;margin-top:12px;font-size:14px;line-height:22px}
@media(min-width:1024px){.media-card__caption{gap:12px;margin-top:16px;font-size:15px;line-height:24px}}
.pill{flex-shrink:0;display:inline-flex;align-items:center;gap:6px;padding:5px 10px;border-radius:9999px;font-size:12px;line-height:16px;font-weight:700}
.pill--cyan{background:var(--blue-300);color:var(--blue-600)}.pill--dark{background:var(--blue-600);color:#fff}.pill svg{height:14px;width:auto}
.figure{margin-top:32px}@media(min-width:1024px){.figure{margin-top:64px}}
.h3{font-size:20px;line-height:28px;font-weight:700;color:var(--blue-600)}@media(min-width:1024px){.h3{font-size:24px;line-height:32px}}
.figure__card{position:relative;margin-top:16px;background:#fff;border-radius:16px;padding:12px}
@media(min-width:1024px){.figure__card{margin-top:24px;border-radius:24px;padding:32px}}
.figure__card img{width:100%;border-radius:6px}
.figure__zoom{position:absolute;right:20px;bottom:20px;display:inline-flex;align-items:center;gap:8px;background:var(--blue-600);color:#fff;border:0;border-radius:9999px;padding:10px 14px;font-size:14px;font-weight:600;box-shadow:0 6px 16px rgba(0,22,46,.25)}
.figure__zoom svg{height:16px;width:auto}
@media(min-width:1024px){.figure__zoom{right:40px;bottom:40px}}
figcaption{margin-top:12px;font-size:13px;line-height:22px;color:var(--blue-600)}@media(min-width:1024px){figcaption{font-size:14px;line-height:24px;margin-top:16px}}
.facts{margin-top:32px;display:flex;flex-direction:column;gap:24px}
.facts>div{border-top:1px solid var(--blue-300);padding-top:16px}
.facts h4{font-size:16px;line-height:24px;font-weight:700;color:var(--blue-500);margin-bottom:4px}
.facts p{font-size:15px;line-height:28px;color:var(--blue-600)}
@media(min-width:640px){.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}}
@media(min-width:1024px){.facts{margin-top:56px;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}.facts>div{padding-top:20px}.facts h4{margin-bottom:8px}.facts p{font-size:16px;line-height:32px}}

/* design for life placeholder */
.placeholder{display:flex;align-items:center;justify-content:center;border:3px dashed var(--blue-300);background:var(--blue-100);color:var(--blue-500);font-weight:700;font-size:16px;line-height:24px;text-align:center;padding:24px}
.dfl .split__media{border:0;background:none}

/* join */
.join__grid{display:grid;gap:28px}
@media(min-width:1024px){.join__grid{grid-template-columns:5fr 7fr;gap:40px;align-items:start}}
.form-card{background:#fff;border-radius:16px;padding:20px}
@media(min-width:1024px){.form-card{border-radius:24px;padding:40px}}
.form{display:flex;flex-direction:column;gap:16px}@media(min-width:1024px){.form{gap:20px}}
.form__row{display:flex;flex-direction:column;gap:16px}@media(min-width:640px){.form__row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
.field label{display:block;font-size:14px;line-height:20px;font-weight:600;color:var(--blue-600);margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;height:48px;border:1px solid var(--line);border-radius:10px;padding:0 14px;font:inherit;font-size:16px;color:var(--blue-600);background:#fff}
.field textarea{height:120px;padding:12px 14px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--blue-500);outline-offset:0;border-color:var(--blue-500)}
.check{display:flex;gap:10px;align-items:flex-start;font-size:14px;line-height:22px;color:var(--blue-600)}
.check input{width:18px;height:18px;margin:2px 0 0;flex-shrink:0;accent-color:var(--blue-500)}
.form .btn{margin-top:4px;align-self:flex-start}
.hp{position:absolute;left:-9999px;opacity:0;height:0;overflow:hidden}
.form__status{display:none;padding:14px 16px;border-radius:10px;font-size:15px;line-height:24px}
.form__status--ok{display:block;background:#e6f6ea;color:#1b5e20}.form__status--err{display:block;background:#fdecea;color:#8a1c1c}

/* footer */
.site-footer{background:var(--blue-100);padding-top:30px;overflow:hidden}
@media(min-width:1024px){.site-footer{padding-top:75px}}
.footer__inner{position:relative;display:flex;justify-content:center;padding-bottom:40px}
.footer__dome{position:absolute;top:0;left:0;width:100%;aspect-ratio:1/1;background:#fff}
@media(min-width:640px){.footer__dome{left:50%;transform:translateX(-50%);width:min(100%,800px);border-radius:9999px}}
.footer__content{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:24px;padding:0 16px}
.footer__badge{height:160px;width:auto}@media(min-width:1024px){.footer__badge{height:220px}}
.footer__mail{margin-top:20px;font-size:16px;line-height:24px;text-decoration:underline}@media(min-width:1024px){.footer__mail{font-size:24px;line-height:32px}}
.footer__social{display:flex;margin-top:24px}.footer__social svg{height:24px;width:auto;color:var(--blue-500)}
.footer__meta{margin-top:28px;color:var(--muted);font-size:13px;line-height:20px}
.footer__meta a{text-decoration:underline}

/* dialogs */
.dialog{border:0;padding:0;background:transparent;width:min(96vw,1200px);max-width:none}
.dialog::backdrop{background:rgba(0,22,46,.88)}
.dialog__close{position:absolute;top:-52px;right:0;width:44px;height:44px;border-radius:9999px;background:#fff;color:var(--blue-600);border:0;display:flex;align-items:center;justify-content:center}
.dialog__close svg{width:16px;height:auto}
.dialog__body{position:relative;margin-top:60px;background:#000;border-radius:16px;overflow:hidden}
.dialog__video{aspect-ratio:16/9;width:100%}.dialog__video iframe{width:100%;height:100%;border:0;display:block}
.dialog__image{background:#fff}.dialog__image img{width:100%;height:auto;max-height:85vh;object-fit:contain}

/* simple pages (privacy, 404) */
.be-page{padding:48px 0 80px}.be-page h1{font-size:clamp(32px,4vw,48px);line-height:1.15;color:var(--blue-500);font-weight:700}
.be-page h2{margin-top:32px;font-size:22px;line-height:30px;color:var(--blue-600)}.be-page p,.be-page li{margin-top:12px;font-size:16px;line-height:1.8;color:var(--blue-600)}
.be-page ul{padding-left:20px;list-style:disc}.be-page a{font-weight:600}
.notice{margin-top:24px;padding:14px 16px;border-radius:10px;background:#fff6d6;color:#6b4e00;font-size:14px;line-height:22px}

/* icon sizing: <svg><use> has no intrinsic ratio, so every icon gets an explicit box */
.btn svg{width:16px;height:16px}
.tag svg{width:13px;height:13px}@media(min-width:1024px){.tag svg{width:16px;height:16px}}
.usps svg{width:20px;height:20px}@media(min-width:1024px){.usps svg{width:34px;height:34px}}
.pill svg{width:14px;height:14px}
.nav__toggle svg{width:18px;height:18px}
.mobile-menu__list svg{width:16px;height:16px}
.mobile-menu__row svg,.footer__social svg{width:24px;height:24px}
.figure__zoom svg,.dialog__close svg{width:16px;height:16px}
/* grid items may shrink below their content width */
.hero__copy,.split__text,.join__grid>div{min-width:0}

/* ---- WordPress specifics ---- */
/* classic-theme group wrapper must not break our grids/flex layouts */
.wp-block-group__inner-container{display:contents}
.site-header .nav__list li{list-style:none}
.site-header .nav__list .current-menu-item>a{color:var(--blue-300)}
.mobile-menu__ul{list-style:none;margin:0;padding:0}
.mobile-menu__list a::after{content:"";width:9px;height:9px;border-right:2px solid var(--blue-300);border-bottom:2px solid var(--blue-300);transform:rotate(-45deg);flex-shrink:0}
.be-page__content{margin-top:12px}
.be-page__content h2{margin-top:32px;font-size:22px;line-height:30px;color:var(--blue-600)}
.be-page__content p,.be-page__content li{margin-top:12px;font-size:16px;line-height:1.8;color:var(--blue-600)}
.be-page__content ul{padding-left:20px;list-style:disc}.be-page__content a{font-weight:600}
.be-page__content .notice{margin-top:24px;padding:14px 16px;border-radius:10px;background:#fff6d6;color:#6b4e00;font-size:14px;line-height:22px}
.admin-bar .site-header{margin-top:0}

/* ---- map (Leaflet + OpenStreetMap) ---- */
.split__media--map{aspect-ratio:auto;background:#dbeaf3}
.be-map{height:380px;width:100%;z-index:0}
@media(min-width:1024px){.be-map{height:600px}}
.leaflet-container{font-family:inherit;background:#dbeaf3}
.leaflet-container img{max-width:none}
.be-marker-wrap{background:none;border:0}
.be-marker{position:relative;width:52px;height:52px;border-radius:9999px;background:#fff;border:3px solid var(--blue-300);box-shadow:0 6px 16px rgba(0,22,46,.25);box-sizing:border-box}
.be-marker img{width:100%;height:100%;object-fit:contain;border-radius:9999px;padding:5px;box-sizing:border-box;display:block}
.be-marker__count{position:absolute;top:-9px;right:-9px;min-width:24px;height:24px;padding:0 6px;border-radius:9999px;background:var(--blue-500);color:#fff;font-weight:700;font-size:13px;line-height:20px;text-align:center;border:2px solid #fff;box-sizing:border-box}
.leaflet-popup-content{font-size:14px;line-height:20px;color:var(--blue-600);margin:12px 16px}
.leaflet-popup-content-wrapper{border-radius:12px}
.leaflet-control-zoom a{color:var(--blue-600)}
.leaflet-control-attribution{font-size:11px}
