/* Shared category navigation, compact archives, and the site footer. */
.ge-topics-widget .category-list {
    display: grid;
    gap: .4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ge-topics-widget .category-list li {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.ge-topics-widget .category-list li > a.ge-topic-link {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr) auto;
    gap: .7rem;
    align-items: center;
    justify-items: stretch;
    width: 100%;
    min-height: 46px;
    padding: .55rem .7rem;
    border: 1px solid rgb(255 255 255 / 6%);
    border-radius: 9px;
    color: #e6e9f7;
    background: #171b38;
    text-decoration: none;
    transition: background .15s, border-color .15s;
}

.ge-topics-widget .ge-topic-link > i {
    color: #7de5f7;
    font-size: 1rem;
    text-align: center;
}

.ge-topics-widget .category-list li span {
    height: auto;
    clip-path: none;
    line-height: 1.3;
    transform: none;
    transition: none;
}

.ge-topics-widget .category-list li .ge-topic-name {
    width: auto;
    min-width: 0;
    padding: 0;
    color: inherit;
    background: transparent;
    font-size: .83rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: normal;
    text-align: left;
}

.ge-topics-widget .category-list li .ge-topic-count {
    width: auto;
    min-width: 2.1rem;
    padding: .2rem .4rem;
    border-radius: 6px;
    color: #b9c2de;
    background: #252c4c;
    font-size: .7rem;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.ge-topics-widget .category-list li > a.ge-topic-link:hover,
.ge-topics-widget .category-list li > a.ge-topic-link:focus-visible {
    border-color: #477181;
    background: #202944;
}

.ge-category-page .ge-category-hero { padding: 1.5rem 0 2rem; }
.ge-category-page .ge-category-hero .ge-breadcrumb { margin-bottom: 1.15rem; }
.ge-category-heading-row { display: flex; gap: 2rem; align-items: center; justify-content: space-between; }
.ge-category-heading-copy { min-width: 0; }
.ge-category-page .ge-category-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; }
.ge-category-page .ge-category-description { max-width: 48rem; margin-top: .7rem; font-size: .9rem; line-height: 1.6; }
.ge-category-about { margin-top: .65rem; }
.ge-category-about summary { min-height: 36px; color: #b6c6e2; font-size: .8rem; cursor: pointer; }
.ge-category-page .ge-category-about .ge-category-description { display: block; -webkit-line-clamp: unset; }
.ge-category-page .ge-category-summary { flex-shrink: 0; gap: .55rem; padding: .9rem 1.1rem; border-radius: 12px; }
.ge-category-page .ge-category-summary p { margin: 0; }
.ge-category-page .ge-category-summary strong { display: block; font-size: 1.6rem; }
.ge-category-page .ge-category-summary span { display: block; margin: .2rem 0 0; font-size: .75rem; }
.ge-category-page .ge-category-summary a { display: inline-flex; gap: .6rem; align-items: center; min-height: 32px; }
.ge-category-page .ge-category-archive { padding-top: 1.5rem; }
.ge-category-page #category-latest-title { scroll-margin-top: 7rem; }

.footer-section.ge-footer {
    padding-top: 2.1rem;
    border-top-color: #28304c;
    background: #090e21;
    box-shadow: none;
}

.footer-section.ge-footer::before { display: none; }
.ge-footer-grid { display: grid; grid-template-columns: .9fr .9fr 1.3fr 1.25fr; gap: 2rem; }
.ge-footer .footer-item { min-width: 0; height: auto; padding: 0; }
.ge-footer .footer-item .brand { display: inline-block; margin-bottom: .55rem; }
.ge-footer .footer-item .brand img { width: 150px; }
.ge-footer .footer-item > p { margin: 0 0 .7rem; font-size: .8rem; line-height: 1.5; }
.ge-footer .social-list { gap: .4rem; margin: .8rem 0 0; padding: 0; }
.ge-footer .social-list li a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; }
.ge-footer .widget-title { margin-bottom: .55rem; }
.ge-footer .widget-title h3 { font-size: .88rem; }
.ge-footer .widget-title h3::after { display: none; }
.ge-footer .footer-links { margin: 0; padding: 0; list-style: none; }
.ge-footer .footer-links li:not(:last-of-type) { margin: 0; }
.ge-footer .footer-links a { display: flex; gap: .55rem; align-items: center; min-height: 38px; font-size: .77rem; line-height: 1.35; }
.ge-footer .footer-links a > i { flex: 0 0 1rem; color: #8ca4c5; text-align: center; }
.ge-footer .footer-links a:hover > i { color: #7de5f7; }
.ge-footer-topic-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .65rem; }
.ge-newsletter-fields { display: flex; gap: .4rem; align-items: stretch; }
.ge-footer .subscribe-form .form-control { min-width: 0; height: 44px; padding: .7rem; border-radius: 8px; font-size: .76rem; }
.ge-footer .subscribe-form .submit { display: inline-flex; gap: .45rem; align-items: center; justify-content: center; flex-shrink: 0; min-width: 64px; height: 44px; margin: 0; padding: 0 .7rem; border-radius: 8px; background: #394bf0; box-shadow: none; font-size: .8rem; line-height: 1; }
.ge-footer .subscribe-form .submit:hover { background: #4f60ff; transform: none; }
.ge-footer .subscription-error { color: #ffb4bd; }
.ge-footer .copyright-wrap { margin-top: 1.75rem; padding: .7rem 0; background: #090e21; }
.ge-footer-bottom { display: flex; gap: 1rem; align-items: center; justify-content: space-between; }
.ge-footer .copyright-wrap p { font-size: .7rem; }
.ge-footer-bottom nav { display: flex; gap: 1.3rem; align-items: center; }
.ge-footer-bottom nav a { display: inline-flex; align-items: center; min-height: 36px; color: #b9c2da; font-size: .73rem; text-decoration: none; }
.ge-footer-bottom nav a:hover { color: #7de5f7; }

@media (max-width: 1199.98px) {
    .ge-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
}

@media (max-width: 767.98px) {
    .ge-category-page .ge-category-hero { padding: 1rem 0 1.1rem; }
    .ge-category-page .ge-category-hero .ge-breadcrumb { margin-bottom: .7rem; font-size: .7rem; }
    .ge-category-heading-row { display: block; }
    .ge-category-page .ge-category-hero .ge-eyebrow { margin-bottom: .4rem; font-size: .65rem; }
    .ge-category-page .ge-category-hero h1 { font-size: 1.8rem; }
    .ge-category-page .ge-category-description { margin-top: .55rem; font-size: .8rem; line-height: 1.5; }
    .ge-category-page .ge-category-summary { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; max-width: none; margin-top: .8rem; padding: .35rem .7rem; border-radius: 8px; }
    .ge-category-page .ge-category-summary p { display: flex; gap: .35rem; align-items: baseline; }
    .ge-category-page .ge-category-summary strong { display: inline; font-size: .9rem; }
    .ge-category-page .ge-category-summary span { display: inline; margin: 0; font-size: .7rem; }
    .ge-category-page .ge-category-summary a { min-height: 36px; font-size: .72rem; }
    .ge-category-page .ge-category-archive { padding-top: 1.1rem; }
    .ge-category-page .ge-section-heading { margin-bottom: 1rem; }
    .ge-category-page .ge-section-heading h2 { font-size: 1.3rem; }
    .ge-category-page .ge-section-heading .ge-eyebrow { display: none; }
    .ge-category-page .ge-news-card:not(:first-child) { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; border-radius: 12px; }
    .ge-category-page .ge-news-card:not(:first-child) .ge-news-image { margin: 10px 0 10px 10px; border-radius: 8px; aspect-ratio: 1; }
    .ge-category-page .ge-news-card:not(:first-child) .ge-news-body { padding: 12px; }
    .ge-category-page .ge-news-card:not(:first-child) h3 { font-size: .92rem; line-height: 1.35; }
    .ge-category-page .ge-news-card:not(:first-child) .ge-category-pill { font-size: .6rem; }
    .ge-category-page .ge-news-card:not(:first-child) .ge-news-meta { gap: 3px 7px; margin-top: 9px; font-size: .66rem; }
    .footer-section.ge-footer { padding-top: 1.4rem; }
    .ge-footer-grid { gap: 1.15rem; }
    .ge-footer .ge-footer-brand { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-column: 1 / -1; gap: .3rem 1rem; align-items: center; }
    .ge-footer .ge-footer-brand .brand { margin: 0; }
    .ge-footer .ge-footer-brand .brand img { width: 130px; }
    .ge-footer .ge-footer-brand > p { grid-column: 1; margin: 0; font-size: .73rem; }
    .ge-footer .ge-footer-brand > p br { display: none; }
    .ge-footer .ge-footer-brand .social-list { grid-column: 2; grid-row: 1 / 3; margin: 0; }
    .ge-footer-explore, .ge-footer-topics, .ge-footer-newsletter { grid-column: 1 / -1; }
    .ge-footer .ge-footer-explore .footer-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem; }
    .ge-footer .footer-links a { min-height: 40px; }
    .ge-footer .ge-footer-newsletter { padding-top: 1rem; border-top: 1px solid #252c46; }
    .ge-footer .ge-footer-newsletter > p { font-size: .76rem; }
    .ge-footer .ge-footer-newsletter .subscribe-form .submit { min-width: 78px; }
    .ge-footer .copyright-wrap { margin-top: 1.25rem; padding: .55rem 0 .75rem; }
    .ge-footer-bottom { flex-direction: column; gap: .15rem; }
    .ge-footer-bottom nav { gap: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ge-topics-widget .category-list li > a.ge-topic-link { transition: none; }
}
