/* Estrela night-ocean design. Loaded only on pages using the Estrela templates. */

/* Design tokens. The values come from Appearance > Customize (OceanWP colours and typography);
   these defaults are used when a setting is empty. See inc/design-tokens.php. */
:root{--es-bg:#070C1A;--es-text:#EEF1F7;--es-heading:#EEF1F7;--es-link:#EEF1F7;--es-link-hover:#FFFFFF;--es-accent:#F2C975;--es-accent-hover:#F6D693;--es-border:#222D45;--es-font-body:'Jost',system-ui,sans-serif;--es-font-heading:'Italiana',Georgia,serif;--es-font-h3:'Jost',system-ui,sans-serif;--es-weight-heading:400;--es-weight-h3:500;--es-size-body:16px;--es-line-body:1.6}

/* ---------- Base ---------- */
body.estrela-body{margin:0;background:var(--es-bg)}
.estrela-shell{position:relative;overflow:hidden;min-height:100vh;background:var(--es-bg);color:var(--es-text);font-family:var(--es-font-body);font-size:var(--es-size-body);line-height:var(--es-line-body);-webkit-font-smoothing:antialiased}
.estrela-shell *{box-sizing:border-box}
.estrela-shell a{color:var(--es-link);text-decoration:none}
.estrela-shell a:hover{color:var(--es-link-hover)}
.estrela-shell h1,.estrela-shell h2,.estrela-shell h3{color:var(--es-heading);font-family:inherit;letter-spacing:normal;text-transform:none}
/* Elegant display headings: Italiana; body: Jost */
.estrela-shell h1,.estrela-shell h2{font-family:var(--es-font-heading);font-weight:var(--es-weight-heading)}
.estrela-shell p{margin:0}
:is(.es-mono,.is-style-es-mono){font-family:'DM Mono',monospace;font-size:13px;color:#9AA3B5}
.es-btn{display:inline-flex;align-items:center;min-height:48px;padding:0 28px;border:1.5px solid var(--es-accent);border-radius:999px;color:var(--es-accent) !important;font-weight:500}
.es-btn:hover{background:rgba(242,201,117,.1)}
.es-btn-solid{background:var(--es-accent);color:var(--es-bg) !important}
.es-btn-solid:hover{background:var(--es-accent-hover)}

/* ---------- Header ---------- */
.es-header{position:relative;z-index:6;max-width:none;margin:0;padding:36px clamp(1.25rem,3vw,3rem) 0;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px}
.es-logo{display:flex;align-items:center;gap:14px}
.es-logo img{height:40px;width:auto}
/* Site name (Settings > General > Site Title) with the tagline after it */
.es-brand{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:0}
.es-tagline{font-family:var(--es-font-body);font-size:14px;letter-spacing:.02em;color:#AEB6C6;white-space:nowrap}
.es-tagline-sep{margin-right:.3em}
/* Wordmark: Poiret One, light and radiant, in warm off-white with a faint glint of light */
@keyframes es-sunsweep{0%,55%{background-position:120% 0}100%{background-position:-20% 0}}
.es-wordmark{font-family:'Poiret One',system-ui,sans-serif;font-size:30px;letter-spacing:.05em;line-height:1;padding-bottom:3px;color:var(--es-text);filter:drop-shadow(0 0 10px rgba(255,244,230,.12))}
.es-logo:hover .es-wordmark{filter:drop-shadow(0 0 14px rgba(255,244,230,.28))}
.es-nav-list{display:flex;flex-wrap:wrap;gap:28px;margin:0;padding:0;list-style:none;font-size:15px}
.es-nav-list a{color:#AEB6C6;padding-bottom:4px}
.es-nav-list .current-menu-item a,.es-nav-list a[aria-current="page"]{color:var(--es-accent);border-bottom:1px solid var(--es-accent)}

/* ---------- Sky ---------- */
@keyframes es-twinkle{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes es-skydrift{from{translate:0 0}to{translate:-40px 6px}}
@keyframes es-shoot{0%{opacity:0;transform:translate(0,0) rotate(-20deg)}3%{opacity:1}12%{opacity:0;transform:translate(-420px,155px) rotate(-20deg)}100%{opacity:0;transform:translate(-420px,155px) rotate(-20deg)}}
.es-sky{position:absolute;left:0;right:0;top:0;height:560px;animation:es-skydrift 90s ease-in-out infinite alternate;pointer-events:none}
.es-tw{position:absolute;width:3px;height:3px;border-radius:50%;background:var(--es-text);animation:es-twinkle 3s ease-in-out infinite}
.es-shoot{position:absolute;width:140px;height:1.5px;border-radius:2px;background:linear-gradient(90deg,#FFFFFF,rgba(255,255,255,0));opacity:0;animation:es-shoot 12s ease-out infinite}
.es-shoot2{animation-delay:7s;animation-duration:14s}

/* ---------- Waves, sun and glints ---------- */
@keyframes es-drift{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes es-swell{0%,100%{translate:0 0}50%{translate:0 10px}}
@keyframes es-shimmer{0%,100%{opacity:.15;transform:scaleX(.6)}50%{opacity:.9;transform:scaleX(1)}}
@keyframes es-sway{0%,100%{translate:-14px 0}50%{translate:14px 0}}
@keyframes es-pulse{0%,100%{box-shadow:0 0 30px 0 rgba(242,201,117,.12)}50%{box-shadow:0 0 80px 10px rgba(242,201,117,.32)}}
@keyframes es-rise{from{transform:translate(-50%,40px)}to{transform:translate(-50%,0)}}
.es-wave{position:absolute;left:0;width:200%;height:40px}
.es-w1{top:24px;animation:es-drift 14s linear infinite,es-swell 5s ease-in-out infinite}
.es-w2{top:76px;animation:es-drift 20s linear infinite reverse,es-swell 6.5s ease-in-out infinite}
.es-w3{top:140px;animation:es-drift 26s linear infinite,es-swell 8s ease-in-out infinite}
.es-w4{top:216px;animation:es-drift 34s linear infinite reverse,es-swell 9.5s ease-in-out infinite}
.es-glint{position:absolute;left:50%;height:2px;border-radius:2px;background:var(--es-accent);animation:es-shimmer 2.4s ease-in-out infinite,es-sway 8s ease-in-out infinite}

/* Home: rising sun and sea */
/* Home flows top to bottom (title, star band, sun, sea) so larger text pushes things down instead of overlapping */
.es-home{min-height:960px;display:flex;flex-direction:column}
@keyframes es-rise2{from{transform:translateY(40px)}to{transform:translateY(0)}}
.es-sun{position:relative;z-index:0;flex:none;width:240px;height:240px;margin:-120px auto 0;border-radius:50%;border:1.5px solid var(--es-accent);animation:es-rise2 6s ease-out both,es-pulse 7s ease-in-out 3s infinite}
.es-sea{position:relative;z-index:1;flex:1 0 400px;margin-top:-120px;background:var(--es-bg);border-top:1px solid #2A3550}
.es-sea-lines{position:absolute;inset:0;overflow:hidden}
.es-sea-cta{position:absolute;left:0;right:0;bottom:48px;display:flex;flex-direction:column;align-items:center;gap:16px;text-align:center;padding:0 2rem}

/* Inner pages: wave band above the footer */
.es-band{position:relative;height:150px;margin-top:96px;overflow:hidden}
.es-band .es-w1{top:20px}.es-band .es-w2{top:64px}.es-band .es-w3{top:108px}
.es-band-sun{position:absolute;left:50%;top:34px;width:150px;height:150px;margin-left:-75px;border-radius:50%;border:1.5px solid var(--es-accent);animation:es-pulse 7s ease-in-out infinite}
.es-footer{position:relative;max-width:1200px;margin:0 auto;padding:24px 2rem 56px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:24px}

/* ---------- Home hero and star menu ---------- */
@keyframes es-float{0%,100%{translate:0 0}50%{translate:0 -8px}}
:is(.es-hero,.is-style-es-hero){position:relative;z-index:4;max-width:1200px;margin:0 auto;padding:72px 2rem 0}
/* Headline stays on one line and shrinks down to the 28px heading size; below that it wraps normally */
:is(.es-hero,.is-style-es-hero) h1{margin:0;font-weight:400;font-size:clamp(28px,calc((100vw - 4rem) / 17.5),58px);white-space:nowrap;line-height:1.06;letter-spacing:.01em}
/* Subtitle: two lines, "navigating new territory." on the second, down to the 16px body size; below that it wraps normally */
:is(.es-hero,.is-style-es-hero) p{margin-top:18px;font-size:clamp(16px,calc((100vw - 4rem) / 26.5),18px);line-height:1.6;color:#AEB6C6}
:is(.es-hero,.is-style-es-hero) .es-l1{white-space:nowrap}
:is(.es-hero,.is-style-es-hero) .es-l2{display:block}
@media (max-width:553px){:is(.es-hero,.is-style-es-hero) h1{white-space:normal}}
@media (max-width:487px){:is(.es-hero,.is-style-es-hero) .es-l1{white-space:normal}:is(.es-hero,.is-style-es-hero) .es-l2{display:inline}}
.es-skynav{position:relative;flex:none;height:16.5em;margin-top:2em;pointer-events:none;z-index:5;font-size:16px}
.es-skynav > a:nth-child(1){left:56% !important;top:30% !important}
.es-skynav > a:nth-child(2){left:78% !important;top:0 !important}
.es-skynav > a:nth-child(3){left:12% !important;top:52% !important}
.es-skynav > a:nth-child(4){left:70% !important;top:76% !important}
.es-star{position:absolute;pointer-events:auto;display:flex;align-items:center;gap:10px;min-height:44px;font-size:18px;animation:es-float 7s ease-in-out infinite}
.es-star-small{font-size:16px;color:#C9CFDB !important}
.es-star .es-dot{width:8px;height:8px;border-radius:50%;background:var(--es-text);flex:0 0 auto;transition:transform .3s}
.es-star-small .es-dot{width:6px;height:6px;background:#C9CFDB}
.es-star:hover .es-dot,.es-star:focus .es-dot{transform:scale(1.8)}
.es-skynav > a:nth-child(2){animation-delay:-2s}.es-skynav > a:nth-child(3){animation-delay:-4s}.es-skynav > a:nth-child(4){animation-delay:-5.5s}
.es-tip{position:absolute;left:0;top:100%;margin-top:10px;width:280px;padding:16px 18px;background:#0E1528;border:1px solid #2C3A5A;border-radius:8px;opacity:0;transform:translateY(-6px);transition:opacity .25s,transform .25s;pointer-events:none;z-index:2}
.es-tip-r{left:auto;right:0}
.es-mcards{display:none}
.es-legal{position:relative;z-index:1;flex:none;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 24px;padding:20px clamp(1.25rem,3vw,3rem);background:var(--es-bg);border-top:1px solid #1E2840;font-size:13px;color:#8E97A9}
.es-legal-links{display:flex;flex-wrap:wrap;gap:20px}
.es-legal-links a{color:#AEB6C6;text-decoration:none}
.es-legal-links a:hover,.es-legal-links a:focus{color:var(--es-text);text-decoration:underline}
.es-mcard{display:block;padding:18px 20px;background:#0E1528;border:1px solid #2C3A5A;border-radius:8px;color:inherit;text-decoration:none}
.es-mcard-title{display:block;margin-bottom:14px;font-family:var(--es-font-heading);font-size:24px;color:var(--es-text)}
.es-mcard .es-tip-outcome{margin-bottom:0}
.es-tip-up{top:auto;bottom:100%;margin-top:0;margin-bottom:10px}
.es-star:hover .es-tip,.es-star:focus .es-tip,.es-star.es-peek .es-tip{opacity:1;transform:none}
.es-star.es-peek .es-tip{transition:opacity .6s,transform .6s}
.es-star:hover,.es-star:focus,.es-star.es-peek{z-index:10}
.es-star.es-peek .es-dot{transform:scale(1.8)}
.es-tip-label{display:block;font-family:'DM Mono',monospace;font-size:11.5px;letter-spacing:.08em;color:#9AA3B5}
.es-tip-text{display:block;margin:4px 0 12px;font-size:14px;line-height:1.5;color:var(--es-text)}
.es-tip-outcome{display:block;margin-top:4px;font-size:14px;line-height:1.5;color:var(--es-accent)}

/* ---------- Inner page content ---------- */
@keyframes es-fadeup{from{opacity:0;translate:0 24px}to{opacity:1;translate:0 0}}
.es-main{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:0 2rem}
.es-main > *{animation:es-fadeup .9s ease-out both}
.es-main > :nth-child(2){animation-delay:.15s}.es-main > :nth-child(3){animation-delay:.3s}.es-main > :nth-child(4){animation-delay:.45s}.es-main > :nth-child(5){animation-delay:.6s}
:is(.es-intro,.is-style-es-intro){padding:120px 0 80px;max-width:780px}
:is(.es-eyebrow,.is-style-es-eyebrow){font-family:'DM Mono',monospace;font-size:13px;color:#9AA3B5}
.es-main h1{margin:16px 0 0;font-weight:400;font-size:clamp(36px,4.6vw,56px);line-height:1.06;letter-spacing:-.01em}
:is(.es-lead,.is-style-es-lead){margin-top:24px !important;font-size:19px;line-height:1.6;color:#AEB6C6}
.es-main h2{margin:0 0 24px;font-weight:400;font-size:28px}
.es-main h3{margin:0;font-family:var(--es-font-h3);font-weight:var(--es-weight-h3);font-size:19px}
:is(.es-muted,.is-style-es-muted){color:#AEB6C6;font-size:15px;line-height:1.6}
:is(.es-grid,.is-style-es-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr));gap:16px}
:is(.es-grid-wide,.is-style-es-grid-wide){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr));gap:24px}
:is(.es-card,.is-style-es-card){padding:28px;border:1px solid var(--es-border);border-radius:8px;transition:border-color .3s}
:is(.es-card,.is-style-es-card):hover{border-color:var(--es-accent)}
:is(.es-card,.is-style-es-card) :is(.es-muted,.is-style-es-muted){margin-top:10px}
:is(.es-card-lg,.is-style-es-card-lg){padding:40px}
:is(.es-list,.is-style-es-list){margin:20px 0 0;padding-left:20px;font-size:16px;line-height:1.9;color:#AEB6C6}
.es-link{display:inline-flex;align-items:center;min-height:44px;margin-top:24px;font-size:16px;color:var(--es-accent) !important}
:is(.es-steps,.is-style-es-steps){list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:32px}
:is(.es-steps,.is-style-es-steps) :is(.es-num,.is-style-es-num){font-family:'DM Mono',monospace;font-size:13px;color:var(--es-accent)}
:is(.es-steps,.is-style-es-steps) h3{margin-top:10px;font-size:20px}
:is(.es-steps,.is-style-es-steps) :is(.es-muted,.is-style-es-muted){margin-top:8px}
:is(.es-section,.is-style-es-section){padding:80px 0 0}
:is(.es-rule,.is-style-es-rule){padding:48px 0;border-top:1px solid var(--es-border);border-bottom:1px solid var(--es-border)}
.es-quote{margin-top:72px;padding:48px;border:1px dashed #3A4766;border-radius:8px;text-align:center;font-size:22px;color:#C9CFDB}

/* Journey line (For internationals) */
@keyframes es-glow{0%,100%{box-shadow:0 0 0 4px rgba(242,201,117,.12)}50%{box-shadow:0 0 0 10px rgba(242,201,117,.2)}}
:is(.es-journey,.is-style-es-journey){position:relative;display:flex;flex-wrap:wrap;justify-content:space-between;gap:32px;padding:24px 0 88px}
:is(.es-journey,.is-style-es-journey)::before{content:"";position:absolute;left:6px;right:6px;top:30px;border-top:1px dashed #3A4766}
.is-style-es-stop,.is-style-es-stop-here{position:relative;flex:1 1 180px}
.is-style-es-stop::before,.is-style-es-stop-here::before{content:"";display:block;width:12px;height:12px;border-radius:50%;background:var(--es-text)}
.is-style-es-stop-here::before{background:var(--es-accent);animation:es-glow 3s ease-in-out infinite}
:is(.is-style-es-stop,.is-style-es-stop-here) > p:first-child{margin-top:18px;font-size:20px}
:is(.is-style-es-stop,.is-style-es-stop-here) > p + p{margin-top:4px;font-size:14px;color:#9AA3B5}

/* Order from chaos dots (For teams) */
@keyframes es-a1{0%,30%{transform:translate(18px,-30px)}70%,100%{transform:none}}
@keyframes es-a2{0%,30%{transform:translate(-26px,16px)}70%,100%{transform:none}}
@keyframes es-a3{0%,30%{transform:translate(28px,24px)}70%,100%{transform:none}}
@keyframes es-a4{0%,30%{transform:translate(-14px,-28px)}70%,100%{transform:none}}
.es-order{display:grid;grid-template-columns:repeat(4,10px);gap:22px;justify-content:center}
.es-order span{width:10px;height:10px;border-radius:50%;background:var(--es-text);animation:es-a1 5s ease-in-out infinite alternate}
.es-order span:nth-child(4n+2){animation-name:es-a2}.es-order span:nth-child(4n+3){animation-name:es-a3}.es-order span:nth-child(4n){animation-name:es-a4}
.es-order .es-gold{background:var(--es-accent)}
:is(.es-big,.is-style-es-big){font-family:'DM Mono',monospace;font-size:30px;color:var(--es-accent)}

/* Photo orbit (About) */
@keyframes es-orbit{to{transform:rotate(360deg)}}
.es-photo{position:relative;width:320px;height:320px;max-width:100%}
.es-photo .es-ring{position:absolute;inset:0;border:1px dashed #3A4766;border-radius:50%;animation:es-orbit 30s linear infinite}
.es-photo .es-ring::after{content:"";position:absolute;left:50%;top:-5px;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:var(--es-accent)}
.es-photo img,.es-photo .es-photo-ph{position:absolute;inset:28px;width:calc(100% - 56px);height:calc(100% - 56px);border-radius:50%;object-fit:cover;background:#141C30;display:flex;align-items:center;justify-content:center;font-size:15px;color:#9AA3B5}

/* Contact form */
.es-form{display:flex;flex-direction:column;gap:20px;padding:40px;border:1px solid var(--es-border);border-radius:8px}
.es-form label{display:flex;flex-direction:column;gap:8px;font-size:14px;color:#C9CFDB}
.es-form input,.es-form textarea{min-height:44px;padding:10px 14px;background:#0E1528;border:1px solid #2C3A5A;border-radius:6px;color:var(--es-text);font:inherit;font-size:16px}
.es-form input:focus,.es-form textarea:focus{outline:2px solid var(--es-accent);outline-offset:2px}
.es-form button{align-self:flex-start;min-height:48px;padding:0 28px;background:transparent;border:1.5px solid var(--es-accent);border-radius:999px;color:var(--es-accent);font:inherit;font-weight:500;font-size:16px;cursor:pointer}


/* ---------- Blocks: core blocks with Estrela styles ---------- */
.es-main .wp-block-group,.es-hero{margin-top:0;margin-bottom:0}
.estrela-shell .wp-block-heading{margin-top:0}
.es-main h2.wp-block-heading{margin:0 0 24px}
.es-main :is(.wp-block-group,.wp-block-column) > p + p{margin-top:12px}
:is(.es-card,.is-style-es-card) h3 + p{margin-top:10px}
:is(.es-big,.is-style-es-big) + h3{margin-top:12px !important}
.is-style-es-intro-wide{padding:112px 0 88px}
.is-style-es-rule-top{padding:48px 0 0;border-top:1px solid var(--es-border)}
.is-style-es-rule-top + .is-style-es-grid-wide{padding-top:56px}
:is(.es-grid-wide,.is-style-es-grid-wide){gap:48px}
.is-style-es-grid-wide:has(> .is-style-es-card-lg){gap:24px}
.is-style-es-card-lg h2.wp-block-heading{margin:14px 0 0;font-size:30px;line-height:1.2}
.is-style-es-eyebrow-gold{font-family:'DM Mono',monospace;font-size:13px;color:var(--es-accent)}
.is-style-es-link a{display:inline-flex;align-items:center;min-height:44px;margin-top:24px;font-size:16px;color:var(--es-accent) !important}
.is-style-es-list + .is-style-es-mono{margin-top:20px}
.is-style-es-lead + .is-style-es-lead{margin-top:16px !important}
.is-style-es-steps > *{margin:0}
:is(.es-steps,.is-style-es-steps) h3.wp-block-heading{margin-top:10px}
.is-style-es-mile,.is-style-es-mile-now{padding-top:16px;border-top:1px solid #3A4766}
.is-style-es-mile-now{border-top-color:var(--es-accent)}
:is(.is-style-es-mile,.is-style-es-mile-now) > p:first-child{font-size:18px}
:is(.is-style-es-mile,.is-style-es-mile-now) > p + p{margin-top:8px;color:#AEB6C6;font-size:15px;line-height:1.6}
.is-style-es-steps:has(> .is-style-es-mile){gap:24px}
.is-style-es-links{margin-top:40px;font-size:15px;line-height:2;color:#AEB6C6}
.is-style-es-links p + p{margin-top:0 !important}
/* Split columns (About, For teams, Contact) */
.wp-block-columns.is-style-es-split{gap:64px;align-items:center;margin:0}
.wp-block-columns.is-style-es-split.are-vertically-aligned-top{align-items:flex-start}
/* Buttons */
.estrela-shell .wp-block-buttons{margin-top:32px}
.wp-block-button.is-style-es-outline .wp-block-button__link,.wp-block-button.is-style-es-solid .wp-block-button__link{display:inline-flex;align-items:center;min-height:48px;padding:0 28px;border:1.5px solid var(--es-accent);border-radius:999px;background:transparent;color:var(--es-accent) !important;font-family:var(--es-font-body);font-size:16px;font-weight:500;text-decoration:none}
.wp-block-button.is-style-es-outline .wp-block-button__link:hover{background:rgba(242,201,117,.1)}
.wp-block-button.is-style-es-solid .wp-block-button__link{background:var(--es-accent);color:var(--es-bg) !important}
.wp-block-button.is-style-es-solid .wp-block-button__link:hover{background:var(--es-accent-hover)}
/* Orbit photo (About) */
.wp-block-image:is(.is-style-es-orbit,.is-style-es-orbit-logo){position:relative;width:320px;height:320px;max-width:100%;margin:0 auto}
.wp-block-image:is(.is-style-es-orbit,.is-style-es-orbit-logo)::before{content:"";position:absolute;inset:0;border:1px dashed #3A4766;border-radius:50%;animation:es-orbit 30s linear infinite}
.wp-block-image:is(.is-style-es-orbit,.is-style-es-orbit-logo)::after{content:"";position:absolute;inset:-5px;border-radius:50%;background:radial-gradient(circle at 50% 5px,var(--es-accent) 4.5px,transparent 5px);animation:es-orbit 30s linear infinite;pointer-events:none}
.wp-block-image:is(.is-style-es-orbit,.is-style-es-orbit-logo) img{position:absolute;inset:28px;width:calc(100% - 56px) !important;height:calc(100% - 56px) !important;border-radius:50%;object-fit:cover;background:#141C30}
.wp-block-image.is-style-es-orbit-logo img{object-fit:contain;padding:80px}
/* Contact form block */
.es-main .es-form{margin:0}
/* Sky menu block: stars keep their places by order */
.es-skynav > .es-star{left:0;top:0}

/* Plain text pages (legal and simple pages): readable prose */
.es-main > :is(p,h2,h3,h4,ul,ol,.wp-block-list,.wp-block-table,.wp-block-quote){max-width:760px}
.es-main > p{margin-top:16px;font-size:16px;line-height:1.75;color:#AEB6C6}
.es-main > :is(h2,h3,h4).wp-block-heading{margin:48px 0 0}
.es-main > :is(ul,ol){margin:16px 0 0;padding-left:20px;line-height:1.8;color:#AEB6C6}
.es-main > :is(p,ul,ol) a{color:var(--es-accent);text-decoration:underline;text-underline-offset:3px}
.es-legal-links li{list-style:none;margin:0}

/* Legal pages pasted from generators: calm their inline colours and fonts */
.es-main .privacy-policy-tutorial{display:none}
.es-main [data-custom-class],.es-main [data-custom-class] *{background:transparent !important;color:#AEB6C6 !important;font-family:var(--es-font-body) !important;font-size:16px !important;line-height:1.75 !important}
.es-main [data-custom-class="heading_1"],.es-main [data-custom-class="heading_1"] *,.es-main [data-custom-class="heading_2"],.es-main [data-custom-class="heading_2"] *{color:var(--es-text) !important;font-size:20px !important}
.es-main [data-custom-class] a,.es-main [data-custom-class="link"]{color:var(--es-accent) !important}
.es-main [data-custom-class] table td,.es-main [data-custom-class] table span{color:#AEB6C6 !important}
.es-main > .wp-block-html{max-width:760px}

/* Fixes over OceanWP defaults */
.estrela-shell .wp-block-button .wp-block-button__link{text-transform:none;letter-spacing:normal;line-height:1.2}
.es-main .es-form button{background:transparent !important;border:1.5px solid var(--es-accent) !important;color:var(--es-accent) !important;text-transform:none !important;letter-spacing:normal !important}
.es-main .es-form button:hover{background:rgba(242,201,117,.1) !important}
.es-main .wp-block-group.is-style-es-links{margin-top:40px}
.wp-block-image:is(.is-style-es-orbit,.is-style-es-orbit-logo){width:min(320px,100%);height:auto;aspect-ratio:1}
.es-main > div[data-custom-class]{max-width:760px}
.is-style-es-card-lg{border:1px solid var(--es-border);border-radius:8px;transition:border-color .3s}
.is-style-es-card-lg:hover{border-color:var(--es-accent)}

/* ---------- Responsive ---------- */
@media (max-width:720px){
	/* Home keeps the night sky, star menu, sun and sea on phones */
	.es-header{padding-top:24px}
	.es-logo{gap:10px;min-width:0}
	.es-logo img{height:32px}
	.es-wordmark{font-size:24px}
	.es-tagline{font-size:11px;white-space:normal}
	.es-home .es-header .es-coords{display:flex;flex-direction:column;align-items:flex-end;font-size:10px;line-height:1.5;letter-spacing:.06em}
	.es-coords .es-sep{display:none}
	:is(.es-hero,.is-style-es-hero){padding-top:40px}
	.es-star{font-size:16px}
	.es-skynav{height:17em;margin-top:1.5em}
	.es-skynav > a:nth-child(1){left:30% !important;top:26% !important}
	.es-skynav > a:nth-child(2){left:auto !important;right:6% !important;top:0 !important}
	.es-skynav > a:nth-child(3){left:10% !important;top:50% !important}
	.es-skynav > a:nth-child(4){left:auto !important;right:5% !important;top:76% !important}
	.es-tip{display:none}
	.es-star.es-peek .es-tip{display:block;width:min(260px,calc(100vw - 24px))}
	.es-mcards{display:grid;gap:14px;position:relative;z-index:1;background:var(--es-bg);padding:8px 1.25rem 56px}
	.es-sun{width:170px;height:170px;margin-top:-85px}
	.es-sea{flex:1 0 380px;margin-top:-85px}
	.es-sea-lines{bottom:auto;height:195px}
	.es-sea .es-w1{top:14px}.es-sea .es-w2{top:56px}.es-sea .es-w3{top:100px}.es-sea .es-w4{top:146px}
	.es-sea-cta{top:212px;bottom:auto;gap:12px}
	.es-sea-cta :is(.es-mono,.is-style-es-mono){font-size:11.5px;line-height:1.5}
	/* Inner pages */
	:is(.es-intro,.is-style-es-intro){padding:72px 0 48px}
	.es-quote{padding:32px 20px}
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
	.estrela-shell *,.estrela-shell *::before,.estrela-shell *::after{animation:none !important;transition:none !important}
}
