/* SphereTech 1.0.24: named editorial sections, original layout and content. */
body { background: #fff; }
.home-template .gh-main :is(.st-latest,.st-topic) {
    --st-surface: #fff;
    --st-heading: #142941;
    --st-copy: #172230;
    --st-muted: #53657b;
    --st-accent: #084bdc;
    --st-rule: #14294124;
    background: var(--st-surface);
    color: var(--st-copy);
    box-shadow: 0 0 0 14px var(--st-surface);
}
/* Quiet opening, a dark AI feature, then alternating cool brand tints. */
.home-template .gh-main .st-latest { --st-surface: #f3f6fc; }
.home-template .gh-main [data-st-section="ai"] {
    --st-surface: #142941;
    --st-heading: #fff;
    --st-copy: #f1f5ff;
    --st-muted: #bfcde0;
    --st-accent: #71d9e2;
    --st-rule: #ffffff30;
}
.home-template .gh-main [data-st-section="bezpieczenstwo"] { --st-surface: #eaf7f8; --st-accent: #007b91; }
.home-template .gh-main [data-st-section="fintech"] { --st-surface: #edf2ff; }
.home-template .gh-main [data-st-section="technologieodnawialne"] { --st-accent: #007b91; }
.home-template .gh-main [data-st-section="healthtech"] { --st-surface: #f3edfc; --st-accent: #850bd5; }
.home-template .gh-main [data-st-section="mobilnosc"] { --st-surface: #eaf7f8; --st-accent: #007b91; }
.home-template .gh-main [data-st-section="spacetech"] {
    --st-surface: #211636;
    --st-heading: #fff;
    --st-copy: #f5f0ff;
    --st-muted: #d0c4e1;
    --st-accent: #ceb5ff;
    --st-rule: #ffffff30;
}
.home-template .gh-main [data-st-section="strategie"] { --st-surface: #f3f6fc; --st-accent: #850bd5; }

/* Section names remain in place; color becomes an accent, not a uniform banner. */
.home-template .gh-main :is(.st-latest,.st-topic) > .gh-topic-name {
    color: var(--st-heading);
    font-family: var(--font-sans);
    font-size: 2.8rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -.035em;
    box-shadow: inset 0 -1px var(--st-rule);
}
.home-template .gh-main :is(.st-latest,.st-topic) > .gh-topic-name::before {
    inset: auto auto 0 22px;
    width: 64px;
    height: 4px;
    background: var(--st-accent);
}
.home-template .gh-main :is([data-st-section="ai"],[data-st-section="spacetech"]) > .gh-topic-name {
    font-size: 3.8rem;
    letter-spacing: -.045em;
}
.home-template .gh-main [data-st-section="strategie"] > .gh-topic-name { font-size: 3.2rem; }
.home-template .gh-main :is(.st-latest,.st-topic) a { color: inherit; }
.home-template .gh-main :is(.st-latest-title,.st-topic-title,.st-latest-list-item h3,.st-topic-list-item h3) {
    color: var(--st-heading);
    font-family: var(--font-sans);
}
.home-template .gh-main :is(.st-latest-list-item h3,.st-topic-list-item h3) { font-weight: 600; }
.home-template .st-latest-hero .st-latest-title { font-size: 3.2rem; line-height: 1.18; letter-spacing: -.035em; }
.home-template .st-topic-lead .st-topic-title { font-size: 2.7rem; line-height: 1.23; }
.home-template :is([data-st-section="ai"],[data-st-section="spacetech"]) .st-topic-lead .st-topic-title {
    font-size: 3.2rem;
    letter-spacing: -.03em;
}
.home-template .gh-main :is(.st-latest,.st-topic) .gh-card-footer,
.home-template .gh-main .st-latest-excerpt { color: var(--st-muted); }
.home-template .gh-main :is(.st-latest,.st-topic) .gh-topic-link { color: var(--st-accent); font-weight: 700; }
.home-template .st-topic-bottom { box-shadow: 0 -1px var(--st-rule); }
.home-template .st-topic-list-item + .st-topic-list-item,
.home-template .st-latest-list-item + .st-latest-list-item { box-shadow: 0 -1px var(--st-rule); }
.home-template .gh-main :is(.st-latest,.st-topic) a:hover { opacity: 1; }
.home-template .gh-main :is(.st-latest,.st-topic) a:hover :is(.st-latest-title,.st-topic-title),
.home-template .gh-main :is(.st-topic-list,.st-latest-list) a:hover {
    color: var(--st-accent);
    opacity: 1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.home-template .gh-main :is(.st-latest,.st-topic) a:focus-visible { outline-color: var(--st-accent); }
.home-template .st-text-topics .gh-topic-name { background: transparent; color: #142941; }
.home-template .st-text-topics .gh-topic-name::before {
    background: linear-gradient(110deg,#007b91,#084bdc 52%,#850bd5);
    inset: auto auto 0 14px;
    height: 3px;
    width: 40px;
}
@media(max-width:767px) {
    .home-template .gh-main :is(.st-latest,.st-topic) { box-shadow: 0 0 0 10px var(--st-surface); }
    .home-template .gh-main :is(.st-latest,.st-topic) > .gh-topic-name { font-size: 2.4rem; }
    .home-template .gh-main :is([data-st-section="ai"],[data-st-section="spacetech"]) > .gh-topic-name { font-size: 3rem; }
    .home-template .gh-main :is(.st-latest,.st-topic) > .gh-topic-name::before { left: 16px; }
    .home-template .st-latest-hero .st-latest-title,
    .home-template .st-topic-lead .st-topic-title,
    .home-template :is([data-st-section="ai"],[data-st-section="spacetech"]) .st-topic-lead .st-topic-title { font-size: 2.4rem; }
}
