/* The approved Newborn fantasy portal. Scoped to the homepage. */
.kingdom-home .portal-header{max-width:none;flex-wrap:nowrap}.kingdom-home .portal-header nav{order:0;width:auto}
body.kingdom-home :is(.world-section,.enemy-concepts,.concept-gallery,.updates-section,.enemy-concept,.concept-knight,.about-content article,.about-numbers li,#development-status,#development-status .about-grades){background:#101c2a;color:#e0e5ed;border-color:#455064}
body.kingdom-home :is(.section-heading,.world-columns,.screenshots,.concept-gallery-grid,.platform-section,.closing){color:#e0e5ed}
body.kingdom-home :is(.skip-link,.site-update-notice){color:#17243b}
body.kingdom-home .kit-tabs button{background:#101c2a;color:#e0e5ed!important}
@media(max-width:850px){.kingdom-home .portal-header{flex-wrap:wrap}.kingdom-home .portal-header nav{order:3;width:100%}}
body.kingdom-home :where(h1,h2,h3,h4,h5,h6,p,a,span,li,dt,dd,th,td,label,button,strong,em,small,summary,figcaption,caption,legend,output,time,blockquote){color:inherit!important;-webkit-text-stroke:0;text-shadow:none}
body.kingdom-home .kingdom-panel :where(h2,h3),body.kingdom-home .wordmark{color:#f1d9ae!important}
body.kingdom-home #hero-title{color:#f4dec0!important;text-shadow:0 3px 3px #100a06,0 0 25px #030b16}
body.kingdom-home .hero-description{color:#fff!important;text-shadow:0 2px 4px #000}
body.kingdom-home .journey-button,body.kingdom-home .hero-actions .button{color:#15100b!important}
body.kingdom-home .hero-actions .outline{color:#f3e9da!important}
body.kingdom-home .media-filters button[aria-pressed=true]{color:#08111a!important}
body.site-body.kingdom-home{--gold:#d7b577;--line:#766344;--ink:#e7e8ec;background:#060d16;color:var(--ink);font-family:Georgia,'Times New Roman',serif}
.kingdom-home a{color:inherit}.kingdom-home .portal-header{height:66px;min-height:0;position:relative;display:flex;gap:24px;justify-content:space-between;padding:10px 4%;background:#070d16;border-bottom:1px solid var(--line)}
.kingdom-home .wordmark{font-family:Georgia,serif;text-transform:uppercase;color:var(--gold);font-weight:400;font-size:34px;letter-spacing:3px}.kingdom-home .portal-header nav{display:flex;gap:23px}.kingdom-home .portal-header nav a{font:12px Arial,sans-serif;text-decoration:none}.kingdom-home .portal-header nav a:hover{color:var(--gold)}
.journey-button,.kingdom-home .button{background:linear-gradient(120deg,#ad8138,#e2c482,#af8747);border:1px solid #c8a666;border-radius:2px;box-shadow:0 0 20px #ba92352a;color:#15100b!important;text-decoration:none;font:600 12px Arial,sans-serif;padding:13px 23px;letter-spacing:.6px}.journey-button{white-space:nowrap;font-size:11px;padding:10px 16px}.kingdom-home .language-label{margin:0}.kingdom-home .site-language{max-width:85px;background:#111b29;color:#ddd;border-color:#66563e}
.kingdom-home .portal-hero{position:relative;min-height:360px;padding:42px 20px 35px;display:flex;align-items:center;justify-content:center;background:linear-gradient(0deg,#030b16a6,transparent 65%),url('../media/newborn-portal-panorama.jpg') center 48%/cover;border-bottom:1px solid var(--line);isolation:isolate}.kingdom-home .portal-hero:before{display:none}.kingdom-home .hero-copy{max-width:800px;text-align:center;margin:0;z-index:1}.kingdom-home .hero-copy .eyebrow{font-size:10px;letter-spacing:4px;color:#f0d7ac;text-shadow:0 2px 6px #000}.kingdom-home #hero-title{font:400 clamp(64px,7vw,110px)/1.1 Georgia,serif;letter-spacing:9px;text-transform:uppercase;color:#f4dec0;text-shadow:0 3px 3px #100a06,0 0 25px #030b16;margin:6px 0}.kingdom-home .hero-description{font:15px Georgia,serif;letter-spacing:3px;text-transform:uppercase;color:#fff;max-width:none;text-shadow:0 2px 4px #000}.kingdom-home .hero-actions{justify-content:center;gap:18px;margin:25px 0 15px}.kingdom-home .button.outline{background:#08101bb3;color:#f3e9da!important;border-color:#c4ae89;box-shadow:none}.kingdom-home .site-release{font:11px Arial,sans-serif;color:#d5dce8;text-shadow:0 2px 4px #000}.hero-quote{position:absolute;right:3%;bottom:42px;text-align:center;font-size:12px;line-height:1.8;letter-spacing:2px;text-transform:uppercase}.art-caption{position:absolute;left:16px;bottom:9px;font:9px Arial,sans-serif;color:#ddd;text-shadow:0 1px 3px #000}
.kingdom-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));max-width:1800px;margin:auto}.kingdom-panel{min-width:0;padding:24px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 70% 0,#19304988,transparent 75%),#070e18;position:relative;overflow:hidden}.kingdom-panel h2{font:400 22px Georgia,serif;letter-spacing:1.5px;color:#f1dfbf;text-transform:uppercase;margin:0 0 5px}.kingdom-panel h3{font:400 16px Georgia,serif;color:#f2dfbe;text-transform:uppercase;margin:0 0 5px}.kingdom-panel p{font-size:13px;line-height:1.6;margin:0 0 16px}.panel-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:18px}.panel-heading>div>p{font:10px/1.6 Georgia,serif;text-transform:uppercase;letter-spacing:1.5px;margin:0}.portal-link{display:inline-block;border:1px solid #ac9774;border-radius:2px;background:#060b10b3;padding:9px 13px;text-decoration:none;font:10px Arial,sans-serif;text-transform:uppercase;letter-spacing:.6px;white-space:nowrap}.portal-link:hover{background:#c4a163;color:#0b1017}.universe-panel,.adventure-panel{grid-column:span 3;min-height:275px}.universe-panel{background:linear-gradient(90deg,#030a13ed,transparent 90%),url('../media/newborn-portal-panorama.jpg') center/cover}.panel-copy{position:relative;z-index:1}.panel-copy p{margin:12px 0 25px;max-width:290px}.panel-quote{position:absolute;right:24px;bottom:6px;text-align:right;text-transform:uppercase;letter-spacing:2px;font-size:10px!important;text-shadow:0 2px 5px #000}.adventure-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.adventure-cards>a{border:1px solid #415061;border-radius:2px;text-decoration:none;overflow:hidden;background:#07111d}.adventure-cards img{width:100%;height:116px;object-fit:cover;display:block}.adventure-cards a>div{padding:10px}.adventure-cards p{font-size:11px;margin:0;color:#d2d9e4}.adventure-cards a:hover{border-color:var(--gold)}
.soundtrack-panel,.codex-panel,.map-panel,.media-panel,.community-panel,.progress-panel{grid-column:span 2;min-height:295px}.album-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.album-art{height:123px;background-size:cover;background-position:center;border:1px solid #807052;display:grid;place-items:center}.album-art span{font-size:44px;color:#ead4a6;text-shadow:0 2px 10px #000}.album h3{font-size:12px;margin:9px 0 3px}.album p{font-size:10px;margin:0 0 8px}.album audio{width:100%;height:30px;color-scheme:dark}.kingdom-panel .small-note{font:10px/1.5 Arial,sans-serif;color:#b7beca;margin:12px 0 0}.codex-panel{background:radial-gradient(ellipse at 50% 50%,#3b2a14aa,transparent),#100f0e}.codex-books{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px;margin-top:30px}.codex-books a{height:160px;border:3px double #b59251;outline:1px solid #3b2b12;outline-offset:3px;background:linear-gradient(90deg,#050504,#20180c 30%,#100c05);box-shadow:inset 0 0 15px #000;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:18px;text-decoration:none;color:#d6bb80;font-size:10px;text-align:center}.codex-books a span{font-size:34px;font-weight:400}.codex-books a:hover{transform:translateY(-4px);border-color:#ffe0a0}.media-filters{display:flex;gap:6px;margin:-4px 0 12px}.media-filters button{border:1px solid #627184;background:#0c1420;color:#ddd;font:10px Arial,sans-serif;padding:7px 12px;border-radius:2px;cursor:pointer}.media-filters button[aria-pressed=true]{background:#b4c6d9;color:#08111a}.portal-media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.portal-media-grid a{position:relative;display:block;height:78px;border:1px solid #706f69}.portal-media-grid [hidden]{display:none}.portal-media-grid img{width:100%;height:100%;object-fit:cover}.play-symbol{position:absolute;left:40%;top:25%;font-size:30px;text-shadow:0 2px 5px #000}.community-panel{background:linear-gradient(90deg,#050c17f0,#071322b0),url('../media/newborn-town.jpg') center/cover}.community-links{display:grid;gap:8px;max-width:380px}.community-links a{display:flex;align-items:center;gap:15px;border:1px solid #4b5361;background:linear-gradient(100deg,#0d1420ed,#253044af);padding:10px 13px;text-decoration:none}.community-links a>span{font-size:28px;color:#d6bd88}.community-links strong{display:block;font-size:13px;font-weight:400}.community-links small{display:block;font:10px/1.5 Arial,sans-serif;color:#bdc5d3;margin-top:4px}.progress-panel{background:linear-gradient(#08111cef,#08111c77),url('../media/newborn-portal-panorama.jpg') bottom/cover}.journey-stages{display:flex;list-style:none;padding:0;margin:34px 0 45px;justify-content:space-between}.journey-stages li{position:relative;flex:1;text-align:center;font-size:12px}.journey-stages li:before{content:'';position:absolute;top:13px;left:0;width:100%;border-top:1px solid #b4a078}.journey-stages span{position:relative;margin:0 auto 12px;display:grid;place-items:center;width:28px;height:28px;border:1px solid #e0d2b5;background:#386e58;border-radius:50%;color:#fff}.journey-stages li:last-child span{background:#334a72}.journey-stages small{display:block;font:10px Arial,sans-serif;color:#c6ccd5;margin-top:6px}.progress-panel>p{text-align:right;text-transform:uppercase;font-size:10px;letter-spacing:2px}.kingdom-home .portal-live{display:flex;flex-wrap:wrap;align-items:center;gap:18px;padding:18px 24px;border-bottom:1px solid var(--line);font:12px Arial,sans-serif;max-width:none;margin:0;background:#0d1723}.portal-live>strong{font:16px Georgia,serif;color:var(--gold)}.portal-live>small{color:#9ba8b9}.kingdom-home .portal-tools{padding-top:24px;padding-bottom:24px}.kingdom-home .site-footer{border-top:1px solid var(--line);background:linear-gradient(#07111bdd,#07111bdd),url('../media/newborn-portal-panorama.jpg') center/cover}.kingdom-home .site-footer .site-version{display:none}.kingdom-home a:focus-visible,.kingdom-home button:focus-visible{outline:2px solid #ffe1a0;outline-offset:4px}.kingdom-home .wrap{max-width:1440px}.kingdom-home .updates-section{padding-top:45px}
@media(min-width:1700px){.kingdom-panel{padding:28px}.adventure-cards img{height:145px}.album-art{height:160px}}
@media(max-width:1150px){.kingdom-home .portal-header{gap:15px;padding:10px 20px}.kingdom-home .portal-header nav{gap:12px}.kingdom-home .wordmark{font-size:27px}.kingdom-home .language-label{display:none}.hero-quote{display:none}.kingdom-panel{padding:18px}.kingdom-panel h2{font-size:19px}.panel-heading{flex-wrap:wrap}.codex-books{gap:5px}.codex-books a{font-size:8px}.codex-books a span{font-size:26px}.album-grid{gap:8px}.album-art{height:110px}.portal-link{font-size:9px;padding:8px}.community-links small{font-size:9px}}
@media(max-width:850px){.kingdom-home .portal-header{height:auto;flex-wrap:wrap;justify-content:center;gap:12px}.kingdom-home .portal-header nav{order:3;flex-basis:100%;justify-content:center;flex-wrap:wrap;padding-bottom:5px}.kingdom-home .portal-hero{min-height:350px}.kingdom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.universe-panel,.adventure-panel{grid-column:span 2}.soundtrack-panel,.codex-panel,.map-panel,.media-panel,.community-panel,.progress-panel{grid-column:span 1}.codex-books{grid-template-columns:repeat(4,1fr);margin-top:12px;gap:8px}.codex-books a{height:85px;gap:6px}.adventure-cards img{height:140px}}
@media(max-width:540px){.kingdom-home #hero-title{font-size:57px;letter-spacing:5px}.kingdom-home .hero-description{font-size:11px;line-height:1.8;letter-spacing:2px}.kingdom-home .hero-copy .eyebrow{font-size:8px;letter-spacing:2px}.kingdom-home .hero-actions{gap:10px}.kingdom-home .button{padding:12px 14px;font-size:10px}.kingdom-grid{display:block}.kingdom-panel{min-height:0;padding:22px 18px}.universe-panel{min-height:260px}.adventure-cards{gap:8px}.adventure-cards img{height:105px}.adventure-cards a>div{padding:9px 6px}.adventure-cards h3{font-size:14px}.adventure-cards p{font-size:10px}.album-art{height:145px}.codex-books{grid-template-columns:repeat(7,1fr);gap:6px;margin:26px 0 8px}.codex-books a{height:125px;font-size:8px;gap:14px}.codex-books a span{font-size:25px}.portal-media-grid a{height:95px}.journey-stages{margin:25px 0 35px}.kingdom-home .portal-live{gap:12px;font-size:11px}.kingdom-home .portal-live>strong{flex-basis:100%}.kingdom-home .portal-header nav a{font-size:11px}.kingdom-home .site-footer .wordmark{font-size:30px}}
/* Keep compact controls usable by touch, and book labels readable on phones. */
.kingdom-home .media-filters{flex-wrap:wrap}
.kingdom-home .media-filters button{min-height:44px;min-width:44px}
.kingdom-home .portal-header nav a{display:inline-flex;align-items:center;min-height:32px}
@media(max-width:540px){.kingdom-home .codex-books{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.kingdom-home .codex-books a{height:108px;font-size:11px;gap:10px}.kingdom-home .codex-books a span{font-size:30px}.kingdom-home .album-grid{gap:10px}.kingdom-home .album h3{overflow-wrap:anywhere}.kingdom-home .portal-header nav a{min-height:40px}}
@media(prefers-reduced-motion:reduce){.codex-books a:hover{transform:none}.kingdom-home *{scroll-behavior:auto!important}}
/* ---- Website Grade 10: the portal made whole. Panels, the world map, readable updates, one look from the hero to the footer. ---- */
body.kingdom-home::before,body.kingdom-home::after{display:none}
.kingdom-home .portal-header .site-language{width:124px;max-width:124px;text-overflow:ellipsis;background:#111b29!important;color:#e7e8ec!important;border:1px solid #66563e;border-radius:2px;padding:6px 4px}.kingdom-home .site-language option{background:#111b29;color:#e7e8ec}
.kingdom-home ::placeholder{color:#a3afc0!important;-webkit-text-stroke:0!important;opacity:1}
.kingdom-home :where(input,select,textarea){-webkit-text-stroke:0!important;color:#e7e8ec!important}

/* soundtracks: real titles, real songs */
.kingdom-home .album-art{position:relative;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;background-size:cover;background-position:center 30%}
.kingdom-home .album-art span{width:100%;padding:20px 6px 7px;text-align:center;font:11px Georgia,serif;letter-spacing:2.2px;text-transform:uppercase;color:#f3e3bf;text-shadow:0 1px 4px #000;background:linear-gradient(transparent,#030813f2 55%)}
.album-town{background-image:url('../media/thumb-newborn-town.jpg')}.album-ice{background-image:url('../media/thumb-newborn-castle.jpg')}.album-battle{background-image:url('../art/quest_red_dragon.jpg');background-position:center 40%}
.kingdom-home .soundtrack-panel{display:flex;flex-direction:column}.kingdom-home .soundtrack-panel>.small-note{margin-top:auto;padding-top:12px}.kingdom-home .track-list{margin-top:14px;border:1px solid #5b5036;background:#060d17b8}
.track-list summary{cursor:pointer;padding:11px 12px;font:10px Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;color:#e2c482!important}
.track-list ol{list-style:none;margin:0;padding:4px 12px 12px;display:grid;gap:4px;max-height:236px;overflow:auto}
.track-list li{display:flex;align-items:center;gap:10px}
.track-list button{flex:none;width:36px;height:36px;border-radius:50%;border:1px solid #c4a163;background:#0b1420;font-size:11px;line-height:1;cursor:pointer;color:#f1d9ae!important}
.track-list button[aria-pressed=true],.track-list button:hover{background:#c4a163;color:#0b1017!important}
.track-list strong{display:block;font:400 13px Georgia,serif;color:#f2dfbe}
.track-list small{display:block;font:10px Arial,sans-serif;color:#aeb8c6}

/* the codex: eight books */
.kingdom-home .codex-panel{display:flex;flex-direction:column}.kingdom-home .codex-books{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(120px,170px);align-content:center;gap:12px;margin-top:22px;flex:1}
.kingdom-home .codex-books a{height:auto;min-height:120px;gap:14px;font:11px Georgia,serif;letter-spacing:.6px;text-transform:uppercase;background:linear-gradient(90deg,#050504,#261d0f 30%,#120d06);padding:0 4px}
.kingdom-home .codex-books a span{font-size:38px;line-height:1;text-shadow:0 0 14px #d7b57766}

/* the world map */
.kingdom-home .map-panel{background:radial-gradient(ellipse at 30% 15%,#1a466a88,transparent 70%),#06111d}
.map-body{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
.map-figure{margin:0;flex:3 1 240px;max-width:340px;min-width:min(240px,100%)}
.map-figure canvas{display:block;width:100%;height:auto;aspect-ratio:1;border:1px solid #a58e5f;background:#143a5c;box-shadow:0 8px 28px #0009;touch-action:manipulation}
.map-figure figcaption{font:10px/1.5 Arial,sans-serif;color:#c3ccd8;margin-top:8px;min-height:30px}
.map-lands{list-style:none;margin:0;padding:0;display:grid;gap:5px;flex:1 1 150px;min-width:min(150px,100%)}
.map-lands button{width:100%;display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #4c5667;background:#0a1320c8;font:12px Georgia,serif;padding:8px 10px;min-height:38px;cursor:pointer;color:#e8e1d0!important}
.map-lands button:hover,.map-lands button[aria-pressed=true]{border-color:#d7b577;background:#182741}
.map-lands small{display:block;font:10px/1.5 Arial,sans-serif;color:#c3ccd8;padding:6px 4px 2px}
.map-live .map-lands li:not(.on) small{display:none}
.swatch{width:12px;height:12px;border-radius:50%;flex:none;border:1px solid #fff7}
.land0{background:#6f9f58}.land1{background:#d7b56d}.land2{background:#d3e0ea}.land3{background:#4f7a58}.land4{background:#a9c47a}.land5{background:#c8b6f2}.land6{background:#143a5c}
.map-places{margin-top:14px;font:11px Arial,sans-serif}
.map-places summary{cursor:pointer;padding:6px 0;color:#e2c482!important}
.map-places ul{columns:2;column-gap:18px;list-style:none;margin:6px 0 0;padding:0;color:#c3ccd8;line-height:1.7}

/* the gallery */
.kingdom-home .portal-media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.kingdom-home .portal-media-grid a{height:auto;aspect-ratio:4/3;overflow:hidden}

.portal-media-grid [data-gallery-kind=art] img{object-position:50% 20%}
.portal-media-grid a img{transition:filter .25s}.portal-media-grid a:hover img{filter:brightness(1.18)}
.kingdom-home .play-symbol{left:50%;top:50%;transform:translate(-50%,-50%);font-size:34px}

/* the community hub: the Hollow Crown, painted for the quest */
.kingdom-home .community-panel{background:linear-gradient(90deg,#050c17f4 18%,#071322b8),url('../art/quest_hollow_crown.jpg') 72% 45%/165% auto no-repeat,#050c17}
.kingdom-home .community-links{max-width:none}
.community-pair{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.community-pair a{padding:10px 11px;gap:10px}
.community-pair a>span{font-size:22px}
.community-pair strong{font-size:12px}

/* the timeline of releases */
.kingdom-home .journey-stages li b{display:block;font:400 13px Georgia,serif}
.kingdom-home .journey-stages li b{font:600 12px Arial,sans-serif}.journey-stages time{display:block;font:10px Arial,sans-serif;color:#c6ccd5;margin-top:3px}
.kingdom-home .journey-stages small{max-width:104px;margin:6px auto 0;line-height:1.45}
.journey-stages .newest span{box-shadow:0 0 0 4px #e2c4822e,0 0 16px #e2c48299}
.journey-stages .next span{background:#334a72}

/* from the hero to the footer, one look: the lower sections are bands of the same grid */
.kingdom-home main>section.wrap{max-width:none;margin:0;padding:50px max(clamp(18px,4vw,72px),calc((100% - 1800px)/2 + 72px));border:0;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 70% 0,#19304966,transparent 72%),#070e18}
.kingdom-home main>section.wrap :where(.section-heading){max-width:760px}
.kingdom-home main>section.wrap h2{font:400 clamp(24px,2.5vw,34px)/1.25 Georgia,serif;letter-spacing:1.4px;text-transform:uppercase;color:#f1dfbf!important}
.kingdom-home main>section.wrap h3{font-family:Georgia,serif;font-weight:400;color:#f2dfbe!important}
.kingdom-home .eyebrow{font-family:Georgia,serif;letter-spacing:3px;color:#d7b577!important}
.kingdom-home .section-heading>p:not(.eyebrow),.kingdom-home .world-columns p,.kingdom-home .about-section p{color:#c7cfdb!important}
.kingdom-home main>.portal-live.wrap{padding:16px max(clamp(18px,4vw,72px),calc((100% - 1800px)/2 + 72px));background:#0a1420}
.kingdom-home main>.portal-tools.wrap{padding-top:26px;padding-bottom:26px}
.kingdom-home .portal-search input{background:#08111c;border:1px solid #5b5036;color:#e7e8ec;padding:12px 14px;border-radius:2px;min-width:min(480px,100%)}
.kingdom-home .portal-tools>label{font:400 19px Georgia,serif;color:#f1dfbf!important;display:block;margin-bottom:10px}
.kingdom-home .media-note,.kingdom-home .portal-tools .media-note{color:#aeb8c6!important;font:11px Arial,sans-serif}
.kingdom-home :is(.update-entry,.enemy-concept,.concept-gallery figure,.about-content article,.about-numbers li,.notice,.screenshots figure,.kit-stage){background:linear-gradient(135deg,#0c1623,#14233b99)!important;border:1px solid #5e5238!important;color:#dfe5ee;border-radius:2px}
.kingdom-home .update-entry h3{color:#f1d9ae!important;font-size:19px}
.kingdom-home .update-entry .update-meta,.kingdom-home .update-entry header p{color:#9fb0c4!important;font-size:11px}
.kingdom-home .update-entry ul,.kingdom-home .update-entry li{color:#d9e0ea!important}
.kingdom-home .update-entry summary,.kingdom-home .text-link{color:#e2c482!important}
.kingdom-home .update-entry code{background:#08111c;color:#f1d9ae!important}
.kingdom-home .update-badge{background:#c4a163;color:#0b1017!important}
.kingdom-home .updates-now{color:#aeb8c6!important}
.kingdom-home .about-grades{background:#0a1320}
.kingdom-home .about-grades th,.kingdom-home .about-grades td{border-color:#3d4452}
.kingdom-home .about-numbers strong,.kingdom-home .about-visitor-total strong{color:#f1d9ae!important}
.kingdom-home .concept-label{color:#aeb8c6!important}

/* the footer, as in the guide: the mark, the links, the motto, over the skyline */
.kingdom-home .portal-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:26px;max-width:none;margin:0;padding:52px max(clamp(18px,4vw,72px),calc((100% - 1800px)/2 + 72px));background:linear-gradient(#050b13f0,#050b13b0),url('../media/newborn-portal-panorama.jpg') center bottom/cover;border-top:1px solid var(--line);color:#c9d0db}
.portal-footer .footer-brand .wordmark{font-size:38px}
.portal-footer .footer-tagline{font:10px Georgia,serif;letter-spacing:3px;text-transform:uppercase;margin:8px 0 0;color:#cdbf9f}
.kingdom-home .portal-footer>div{display:block}.kingdom-home .portal-footer .site-version{display:block;margin-top:6px;padding:0;border:0;border-radius:0;background:none;font:10px Arial,sans-serif;color:#8f9bad}
.portal-footer .footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 0}
.portal-footer .footer-links a{display:inline-flex;align-items:center;min-height:36px;padding:0 12px;font:12px Arial,sans-serif;text-decoration:none}
.portal-footer .footer-links a+a{border-left:1px solid #6c6350}
.portal-footer .footer-links a:hover{color:#f1d9ae}
.portal-footer .footer-legacy{text-align:right}
.portal-footer .footer-motto{font:12px/1.9 Georgia,serif;letter-spacing:3px;text-transform:uppercase;color:#e7d3a8;margin:0}
.portal-footer .footer-copy{font:11px Arial,sans-serif;margin:12px 0 0;color:#9ba7b8}
.portal-footer .footer-copy a{color:#d7b577}

@media(max-width:1150px){.kingdom-home .codex-books a{min-height:104px;font-size:9px;letter-spacing:0;padding:0 2px}.kingdom-home .codex-books a span{font-size:30px}.portal-footer .footer-brand .wordmark{font-size:30px}}
@media(max-width:850px){.kingdom-home .portal-footer{grid-template-columns:1fr;text-align:center;justify-items:center;gap:18px}.portal-footer .footer-legacy{text-align:center}.kingdom-home .portal-media-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:640px){.map-figure{max-width:none}.map-places ul{columns:1}.kingdom-home .portal-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kingdom-home .codex-books{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.kingdom-home .codex-books a{height:104px;gap:10px;font-size:9px;letter-spacing:0}.kingdom-home .codex-books a span{font-size:26px}.kingdom-home .community-panel{background-size:cover}.community-pair{grid-template-columns:1fr}.journey-stages{flex-wrap:wrap;gap:16px 0}.journey-stages li{flex:1 1 33%}.journey-stages li:before{display:none}.kingdom-home main>section.wrap{padding-top:36px;padding-bottom:36px}}
