/*
Theme Name: Space Exploration Pro Child
Template: space-exploration-pro
Version: 1.6.7
Description: Update-safe customizations for the Space Exploration Pro astronomy community site.
License: GPL-2.0-or-later
Text Domain: space-exploration-pro-child
*/

:root { --space-community-accent:#4f91ff; --space-community-cyan:#6cecff; --space-community-ink:#050a14; --mp-panel:#0d1b30; --mp-panel-soft:#142846; --mp-line:rgba(108,236,255,.18); }
html,body { height:auto!important; min-height:100%; overflow-x:hidden!important; overflow-y:auto!important; }
body { margin:0!important; background:#050b15!important; }
.preloader,.space-opening { display:none!important; }
.header-menus-box { width:min(1180px,calc(100% - 36px))!important; min-height:78px; margin:0 auto!important; display:flex!important; align-items:center!important; justify-content:space-between!important; gap:24px; }
.header-menus-box .logo-section { float:none!important; margin:0!important; padding:0!important; display:flex!important; align-items:center!important; min-height:78px; }
.header-menus-box .logo-section a { display:flex!important; align-items:center!important; line-height:1!important; }
.header-menus-box .logo-section img { display:block; max-width:190px; width:auto; height:auto; margin:0!important; }
.header-menus-box .menu_icon,.header-menus-box .menu-icon,.header-menus-box .toggle-nav { float:none!important; position:relative!important; inset:auto!important; margin:0!important; padding:0!important; align-self:center!important; transform:none!important; line-height:1!important; z-index:100002!important; }
#menu { position:fixed!important; top:0!important; right:-380px!important; left:auto!important; bottom:0!important; width:min(360px,86vw)!important; max-width:86vw!important; height:100vh!important; min-height:100vh!important; overflow-y:auto!important; margin:0!important; padding:92px 24px 32px!important; box-sizing:border-box!important; background:#081424!important; box-shadow:-18px 0 55px rgba(0,0,0,.5)!important; z-index:100001!important; transition:right .25s ease!important; }
#menu ul,#menu .menu { display:block!important; width:100%!important; margin:0!important; padding:0!important; }
#menu li { display:block!important; width:100%!important; margin:0!important; padding:0!important; border-bottom:1px solid rgba(255,255,255,.08)!important; }
#menu li a { display:block!important; width:100%!important; padding:13px 8px!important; color:#eef8ff!important; text-decoration:none!important; box-sizing:border-box!important; }
#menu li a:hover,#menu li.current-menu-item>a { color:var(--space-community-cyan)!important; background:rgba(108,236,255,.07)!important; }
body.space-menu-open #menu { right:0!important; }
body.space-menu-open:after,body.mp-family-menu-open:after { content:""; position:fixed; inset:0; background:rgba(1,5,12,.64); z-index:100000; }

.mp-menu-trigger { position:fixed; top:28px; right:max(28px,calc((100vw - 1180px)/2)); z-index:100004; width:48px; height:48px; display:grid; place-content:center; gap:5px; padding:0; border:1px solid rgba(108,236,255,.22); border-radius:50%; background:rgba(5,16,29,.84); box-shadow:0 10px 28px rgba(0,0,0,.24); cursor:pointer; }
.admin-bar .mp-menu-trigger { top:60px; }
.mp-menu-trigger span:not(.screen-reader-text) { display:block; width:20px; height:2px; border-radius:2px; background:#20cfff; transition:transform .2s ease,opacity .2s ease; }
body.mp-family-menu-open .mp-menu-trigger span:nth-of-type(2) { transform:translateY(7px) rotate(45deg); }
body.mp-family-menu-open .mp-menu-trigger span:nth-of-type(3) { opacity:0; }
body.mp-family-menu-open .mp-menu-trigger span:nth-of-type(4) { transform:translateY(-7px) rotate(-45deg); }
.mp-family-menu-panel { position:fixed; top:0; right:-400px; bottom:0; z-index:100003; width:min(380px,88vw); padding:110px 28px 36px; overflow-y:auto; box-sizing:border-box; background:linear-gradient(180deg,#081525,#06101d); border-left:1px solid rgba(108,236,255,.14); box-shadow:-22px 0 70px rgba(0,0,0,.5); transition:right .25s ease; }
body.mp-family-menu-open .mp-family-menu-panel { right:0; }
.mp-family-menu-panel__heading { margin-bottom:20px; color:#6cecff; font-size:13px; font-weight:800; letter-spacing:.16em; text-transform:uppercase; }
.mp-family-menu-panel__list { list-style:none; margin:0; padding:0; }
.mp-family-menu-panel__list li { margin:0; border-bottom:1px solid rgba(255,255,255,.08); }
.mp-family-menu-panel__list a { display:block; padding:14px 4px; color:#eef8ff; font-size:16px; font-weight:650; text-decoration:none; }
.mp-family-menu-panel__list a:hover,.mp-family-menu-panel__list .current-menu-item>a { color:#6cecff; padding-left:10px; }

/* Demo-inspired MartinPlanet home */
.martinplanet-home { overflow:hidden; color:#edf7ff; background:#050b15; }
.mp-home-shell { width:min(1180px,calc(100% - 36px)); margin:0 auto; }
.mp-home-hero { position:relative; min-height:600px; display:grid; align-items:center; isolation:isolate; background:radial-gradient(circle at 75% 38%,rgba(64,115,213,.2),transparent 26%),radial-gradient(circle at 30% 35%,rgba(32,82,135,.12),transparent 34%),linear-gradient(180deg,#050b15,#07111e 82%,#050b15); }
.mp-home-hero:before { content:""; position:absolute; inset:0; z-index:-2; opacity:.6; background-image:radial-gradient(circle at 12% 22%,#fff 0 1px,transparent 1.5px),radial-gradient(circle at 38% 72%,#88cfff 0 1px,transparent 1.5px),radial-gradient(circle at 61% 18%,#fff 0 1px,transparent 1.5px),radial-gradient(circle at 83% 65%,#8edaff 0 1px,transparent 1.5px),radial-gradient(circle at 93% 12%,#fff 0 1px,transparent 1.5px); background-size:190px 180px,260px 240px,310px 220px,280px 260px,360px 300px; }
.mp-home-hero__grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(380px,.9fr); gap:48px; align-items:center; padding:78px 0 48px; }
.mp-home-eyebrow { display:inline-flex; align-items:center; gap:10px; color:#72dfff; text-transform:uppercase; letter-spacing:.18em; font-size:12px; font-weight:800; }
.mp-home-eyebrow:before { content:""; width:34px; height:1px; background:#72dfff; }
.mp-home-hero h1 { max-width:720px; margin:16px 0 20px; color:#fff; font-size:clamp(48px,7vw,86px); line-height:.96; letter-spacing:-.045em; text-transform:uppercase; }
.mp-home-hero__lead { max-width:640px; margin:0; color:#b9c9d9; font-size:clamp(17px,2vw,21px); line-height:1.75; }
.mp-home-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:30px; }
.mp-home-button { display:inline-flex; justify-content:center; align-items:center; min-height:50px; padding:0 24px; border-radius:3px; background:linear-gradient(135deg,#3b8bea,#57c8ff); color:#04101e!important; font-weight:800; text-decoration:none!important; text-transform:uppercase; letter-spacing:.06em; font-size:13px; box-shadow:0 12px 35px rgba(39,129,221,.18); }
.mp-home-button--ghost { border:1px solid rgba(133,218,255,.34); background:rgba(9,26,44,.72); color:#eaf9ff!important; }
.mp-home-hero__art { position:relative; min-height:500px; display:grid; place-items:center; }

/* Compact animated profile solar system: constrained to the original hero-art footprint. */
.mp-solar-system { width:100%; max-width:610px; height:500px; min-height:0; justify-self:end; overflow:visible; isolation:isolate; }
.mp-solar-system:after { content:""; position:absolute; inset:16% 6%; z-index:-3; border-radius:50%; background:radial-gradient(circle,rgba(46,121,210,.18),rgba(20,44,93,.08) 45%,transparent 72%); filter:blur(18px); }
.mp-solar-system__sun { position:absolute; left:50%; top:50%; z-index:3; width:66px; height:66px; transform:translate(-50%,-50%); border-radius:50%; background:radial-gradient(circle at 35% 35%,#fff8b0 0 7%,#ffd54a 18%,#ff9f1a 54%,#e65f00 100%); box-shadow:0 0 18px #ffb51f,0 0 48px rgba(255,146,21,.58),0 0 88px rgba(255,130,20,.22); }
.mp-solar-system__orbit { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); border:1px solid rgba(90,178,255,.26); border-radius:50%; pointer-events:none; }
.mp-solar-system__orbit--mercury{width:16%;height:12%}.mp-solar-system__orbit--venus{width:26%;height:19%}.mp-solar-system__orbit--earth{width:36%;height:27%}.mp-solar-system__orbit--mars{width:46%;height:35%}.mp-solar-system__orbit--jupiter{width:60%;height:45%}.mp-solar-system__orbit--saturn{width:74%;height:56%}.mp-solar-system__orbit--uranus{width:86%;height:65%}.mp-solar-system__orbit--neptune{width:96%;height:73%}
.mp-solar-system__planet { position:absolute; z-index:5; transform:translate(-50%,-50%); display:flex; flex-direction:column; align-items:center; gap:5px; color:#fff!important; text-decoration:none!important; text-align:center; white-space:nowrap; }
.mp-solar-system__planet-body { display:block; width:20px; height:20px; border-radius:50%; box-shadow:inset -5px -4px 8px rgba(0,0,0,.38),0 0 10px rgba(96,209,255,.18); transition:transform .2s ease,box-shadow .2s ease; }
a.mp-solar-system__planet:hover .mp-solar-system__planet-body,a.mp-solar-system__planet:focus-visible .mp-solar-system__planet-body { transform:scale(1.3); box-shadow:inset -5px -4px 8px rgba(0,0,0,.28),0 0 18px rgba(108,236,255,.7); }
.mp-solar-system__label { max-width:96px; overflow:hidden; text-overflow:ellipsis; padding:2px 5px; border-radius:5px; background:rgba(3,12,23,.72); color:#eaf9ff; font-size:11px; font-weight:750; line-height:1.2; text-shadow:0 1px 4px #000; }
.mp-solar-system__planet--mercury .mp-solar-system__planet-body{width:12px;height:12px;background:linear-gradient(135deg,#c5c1b8,#6f7479)}
.mp-solar-system__planet--venus .mp-solar-system__planet-body{width:17px;height:17px;background:linear-gradient(135deg,#ffe09b,#b86b22)}
.mp-solar-system__planet--earth .mp-solar-system__planet-body{width:19px;height:19px;background:radial-gradient(circle at 35% 35%,#83e7ff,#1988df 45%,#1256a5 70%,#0d376e)}
.mp-solar-system__planet--mars .mp-solar-system__planet-body{width:15px;height:15px;background:linear-gradient(135deg,#f2864b,#8e3022)}
.mp-solar-system__planet--jupiter .mp-solar-system__planet-body{width:32px;height:32px;background:repeating-linear-gradient(180deg,#e7c18b 0 5px,#a86b3f 5px 8px,#f0d5a8 8px 12px)}
.mp-solar-system__planet--saturn .mp-solar-system__planet-body{position:relative;width:27px;height:27px;background:linear-gradient(135deg,#f2d08c,#a57a3c)}
.mp-solar-system__planet--saturn .mp-solar-system__planet-body:after{content:"";position:absolute;left:50%;top:50%;width:42px;height:12px;transform:translate(-50%,-50%) rotate(-12deg);border:3px solid rgba(218,192,132,.8);border-radius:50%;box-sizing:border-box}
.mp-solar-system__planet--uranus .mp-solar-system__planet-body{width:21px;height:21px;background:linear-gradient(135deg,#9ef4f2,#2ba7c8)}
.mp-solar-system__planet--neptune .mp-solar-system__planet-body{width:21px;height:21px;background:linear-gradient(135deg,#5cb8ff,#204bb8)}

.mp-home-intro { padding:44px 0 32px; text-align:center; }
.mp-home-intro h2 { margin:12px auto 16px; max-width:850px; color:#fff; font-size:clamp(32px,5vw,54px); line-height:1.05; text-transform:uppercase; }
.mp-home-intro p { max-width:720px; margin:0 auto; color:#9fb4c8; font-size:17px; line-height:1.8; }
.mp-home-feature-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; padding:32px 0 80px; }
.mp-home-feature { position:relative; min-height:440px; overflow:hidden; display:flex; align-items:flex-end; isolation:isolate; text-decoration:none!important; background:#0c192a; }
.mp-home-feature img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; transition:transform .5s ease; }
.mp-home-feature:after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(2,8,16,.05) 15%,rgba(3,9,18,.15) 48%,rgba(2,8,16,.96) 100%); }
.mp-home-feature:hover img { transform:scale(1.045); }
.mp-home-feature__body { width:100%; padding:28px 24px; }
.mp-home-feature__body span { color:#6cecff; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.16em; }
.mp-home-feature__body h3 { margin:8px 0 0; color:#fff; font-size:24px; text-transform:uppercase; }
.mp-home-tools { padding:72px 0 84px; background:linear-gradient(180deg,#07111e,#091727 50%,#07111e); }
.mp-home-tools__header { display:flex; justify-content:space-between; gap:32px; align-items:end; margin-bottom:28px; }
.mp-home-tools__header h2 { margin:8px 0 0; color:#fff; font-size:clamp(32px,4vw,48px); text-transform:uppercase; }
.mp-home-tools__header p { max-width:520px; margin:0; color:#9fb4c8; line-height:1.7; }
.mp-home-card-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.mp-home-card {
  --mp-card-accent:#6cecff;
  --mp-card-orb:#398fc0;
  --mp-card-haze:rgba(65,157,207,.25);
  position:relative; isolation:isolate; overflow:hidden; display:flex; flex-direction:column; align-items:flex-start;
  min-height:234px; padding:25px; box-sizing:border-box; border:1px solid rgba(137,207,239,.23); border-radius:18px;
  background:radial-gradient(circle at 18% 19%,rgba(255,255,255,.75) 0 1px,transparent 2px),
    radial-gradient(circle at 57% 12%,rgba(255,255,255,.53) 0 1px,transparent 2px),
    radial-gradient(circle at 92% 52%,rgba(255,255,255,.4) 0 1px,transparent 2px),
    radial-gradient(circle at 78% 29%,var(--mp-card-haze),transparent 49%),
    linear-gradient(145deg,#132942,#091729 84%);
  box-shadow:0 14px 34px rgba(0,7,17,.24),inset 0 1px rgba(255,255,255,.06);
  color:#fff; text-decoration:none!important;
  transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.mp-home-card::before {
  content:""; position:absolute; z-index:-1; top:16px; right:18px; width:122px; height:122px;
  background:var(--mp-card-art) center / contain no-repeat; opacity:.96;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,.3)); pointer-events:none;
}
.mp-home-card::after { content:none; }
.mp-home-card:nth-child(1) { --mp-card-art:url("assets/card-art/timeline-spaceship.webp"); }
.mp-home-card:nth-child(2) { --mp-card-art:url("assets/card-art/gallery-astronaut.webp"); --mp-card-accent:#cbb9ff; --mp-card-orb:#7b68b7; --mp-card-haze:rgba(132,102,194,.25); }
.mp-home-card:nth-child(3) { --mp-card-art:url("assets/card-art/profiles-planet.webp"); --mp-card-accent:#8bcbff; --mp-card-orb:#417ac2; --mp-card-haze:rgba(73,134,214,.24); }
.mp-home-card:nth-child(4) { --mp-card-art:url("assets/card-art/events-rocket.webp"); --mp-card-accent:#ffcbab; --mp-card-orb:#cc8067; --mp-card-haze:rgba(215,119,87,.25); }
.mp-home-card:nth-child(5) { --mp-card-art:url("assets/card-art/favorites-star.webp"); --mp-card-accent:#ffbad9; --mp-card-orb:#a864a6; --mp-card-haze:rgba(187,89,148,.23); }
.mp-home-card:nth-child(6) { --mp-card-art:url("assets/card-art/stargazes-satellite.webp"); --mp-card-accent:#ffe7a2; --mp-card-orb:#cc9f52; --mp-card-haze:rgba(222,174,83,.27); }
.mp-home-card:hover,.mp-home-card:focus-visible { transform:translateY(-5px); border-color:var(--mp-card-accent); box-shadow:0 20px 40px rgba(0,7,17,.38),0 0 24px var(--mp-card-haze); }
.mp-home-card:focus-visible { outline:2px solid var(--mp-card-accent); outline-offset:3px; }
.mp-home-card__icon {
  display:grid; place-items:center; width:42px; height:42px; margin-bottom:auto;
  border:1px solid var(--mp-card-accent); border-radius:12px; color:var(--mp-card-accent);
  background:rgba(8,25,43,.82); box-shadow:0 0 18px var(--mp-card-haze); font-size:21px;
}
.mp-home-card h3 { position:relative; margin:27px 0 8px; color:#fff; font-size:21px; line-height:1.25; }
.mp-home-card p { position:relative; margin:0; color:#bad0df; line-height:1.55; }
.mp-home-panels { display:grid; grid-template-columns:1fr 1fr; gap:14px; padding:78px 0; }
.mp-home-panel { position:relative; min-height:380px; overflow:hidden; padding:34px; display:flex; flex-direction:column; justify-content:flex-end; background:#0c1b2d; }
.mp-home-panel--art { isolation:isolate; }
.mp-home-panel--art img { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; }
.mp-home-panel--art:after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(180deg,rgba(2,8,16,.12),rgba(2,8,16,.95)); }
.mp-home-panel h2 { margin:8px 0 14px; color:#fff; font-size:clamp(27px,3vw,40px); text-transform:uppercase; }
.mp-home-panel p { max-width:520px; margin:0; color:#a7b9ca; line-height:1.75; }
.mp-home-panel .mp-home-button { align-self:flex-start; margin-top:22px; }
.mp-home-motto { padding:110px 0; text-align:center; background:radial-gradient(circle at 50% 50%,rgba(36,85,144,.17),transparent 40%); }
.mp-home-motto blockquote { max-width:900px; margin:0 auto; color:#fff; font-size:clamp(28px,4vw,48px); line-height:1.3; font-weight:700; }
.mp-home-motto blockquote:before { content:"✦"; display:block; margin-bottom:26px; color:#6cecff; font-size:20px; }

/* Reduce oversized theme gaps without changing page structure or functionality. */
.outer_dpage.py-5 { padding-top:10px!important; }
.mp-your-profile-page { gap:.75rem!important; }
.mp-your-profile-page>.mp-creator-hub { gap:1rem!important; }

@media(max-width:980px) { .mp-home-hero__grid { grid-template-columns:1fr; } .mp-home-hero__art { min-height:380px; } .mp-solar-system { width:min(100%,610px); height:390px; justify-self:center; } .mp-home-feature-grid { grid-template-columns:1fr 1fr; } .mp-home-card-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:640px) { .header-menus-box { width:calc(100% - 24px)!important; min-height:70px; } .header-menus-box .logo-section { min-height:70px!important; } .header-menus-box .logo-section img { max-width:150px; } #menu { padding:82px 18px 24px!important; } .mp-menu-trigger { top:18px; right:14px; width:44px; height:44px; } .admin-bar .mp-menu-trigger { top:64px; } .mp-family-menu-panel { padding:94px 20px 28px; } .mp-home-shell { width:calc(100% - 24px); } .mp-home-hero { min-height:auto; } .mp-home-hero__grid { gap:10px; padding:56px 0 34px; } .mp-home-hero__art { min-height:300px; } .mp-solar-system { height:300px; max-width:440px; } .mp-solar-system__label { max-width:66px; font-size:9px; } .mp-solar-system__sun { width:48px; height:48px; } .mp-home-feature-grid,.mp-home-card-grid,.mp-home-panels { grid-template-columns:1fr; } .mp-home-feature { min-height:380px; } .mp-home-tools__header { display:block; } .mp-home-tools__header p { margin-top:14px; } }
@media(prefers-reduced-motion:reduce) { #menu,.mp-family-menu-panel,.mp-menu-trigger span,.mp-home-feature img,.mp-home-card { transition:none!important; } }


/* Small centered footer logos: Prospect Fencing + Monkie LLC. */
.mp-footer-affiliate{display:flex;justify-content:center;align-items:center;gap:22px;padding:8px 16px 12px;background:#07111e}
.mp-footer-affiliate a{display:inline-flex;align-items:center;padding:4px;border-radius:8px;opacity:.88;text-decoration:none!important;transition:opacity .2s ease,transform .2s ease}
.mp-footer-affiliate img{display:block;height:auto}
.mp-footer-affiliate__pf img{width:52px}
.mp-footer-affiliate__monkie img{width:88px}
.mp-footer-affiliate a:hover,.mp-footer-affiliate a:focus-visible{opacity:1;transform:translateY(-1px)}
.mp-footer-affiliate a:focus-visible{outline:2px solid #6cecff;outline-offset:3px}
@media(max-width:480px){.mp-footer-affiliate{gap:16px;padding:8px 12px 12px}.mp-footer-affiliate__pf img{width:44px}.mp-footer-affiliate__monkie img{width:76px}}
/* Tighter footer: smaller empty band and no divider line above the footer logos. */
.outer-footer #footer_box{padding:14px 0}
.outer-footer .copyright{padding-top:0}
.outer-footer .copyright .copyright-box{border-top:0!important}
.outer-footer .copyright p.credit_link{margin:4px 0!important;padding:0}
