:root {
    --bg: #f1f4f8;
    --surface: #ffffff;
    --surface-soft: #f8fbff;
    --text: #121a22;
    --muted: #5f6b78;
    --line: #d7e1eb;
    --blue: #0b3d91;
    --blue-soft: #4ea2ff;
    --red: #d0021b;
    --red-soft: #ff5e73;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 28px rgba(7, 20, 33, 0.08);
    --container: 1120px;
    --font-head: "Google Sans", "Google Sans Text", "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: radial-gradient(circle at top right, #e8f0ff 0%, #f2f5f9 35%, #edf2f7 100%);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--blue);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1rem;
}

.site-main {
    padding-bottom: 72px;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

.ui-icon,
.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    vertical-align: middle;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
    z-index: 1000;
    padding: 0.6rem 0.8rem;
    background: #fff;
    border: 2px solid var(--red);
    border-radius: 8px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #04070c;
    border-bottom: 2px solid rgba(78, 162, 255, 0.35);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.65rem;
    align-items: center;
    min-height: 78px;
}

.header-brand-wrap .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.custom-logo {
    max-height: 40px;
    width: auto;
}

.brand {
    font-family: var(--font-head);
    font-size: 1.24rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
}

.brand span {
    color: var(--blue-soft);
}

.header-search-wrap {
    width: 100%;
}

.header-search-form {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 2px solid rgba(78, 162, 255, 0.25);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.header-search-input {
    width: 100%;
    min-width: 0;
    border: 0;
    padding: 0.75rem 0.95rem;
    font-size: 0.93rem;
    color: #1a2530;
    font-family: var(--font-body);
}

.header-search-input::placeholder {
    color: #73808f;
}

.header-search-input:focus {
    outline: none;
}

.header-search-submit {
    display: grid;
    place-items: center;
    width: 46px;
    min-width: 46px;
    height: 46px;
    border: 0;
    background: linear-gradient(135deg, var(--red), #a60216);
    color: #fff;
    cursor: pointer;
}

.header-search-submit:hover {
    background: linear-gradient(135deg, var(--blue), #06295f);
}

.header-search-submit .ui-icon {
    width: 18px;
    height: 18px;
    font-size: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-social {
    display: none;
}

.header-social__list {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.header-social__icon {
    font-size: 16px;
    line-height: 1;
}

.header-social__link:hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--red), var(--blue));
}

.menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #fff;
    padding: 0.48rem 0.8rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
}

.menu-toggle:hover {
    border-color: var(--blue-soft);
    color: #fff;
}

.menu-toggle .ui-icon {
    font-size: 18px;
}

.site-nav {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: #0a111b;
}

.site-nav.is-open {
    display: block;
}

.menu {
    display: flex;
    gap: 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0.7rem 1rem;
    overflow: auto;
    scrollbar-width: none;
}

.menu::-webkit-scrollbar {
    display: none;
}

.menu-item {
    flex: 0 0 auto;
}

.menu-item a {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.74rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #f4f9ff;
    font-size: 0.81rem;
    white-space: nowrap;
}

.menu-item.current-menu-item a,
.menu-item a:hover {
    background: linear-gradient(135deg, rgba(208, 2, 27, 0.95), rgba(11, 61, 145, 0.95));
    border-color: transparent;
    color: #fff;
}

.breaking-strip {
    background: linear-gradient(90deg, #0b1220 0%, #152a50 60%, #0f1b33 100%);
    color: #fff;
}

.breaking-inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 42px;
}

.breaking-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffd0d6;
}

.breaking-links {
    display: flex;
    gap: 1rem;
    overflow: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

.breaking-links::-webkit-scrollbar {
    display: none;
}

.breaking-links a {
    font-size: 0.82rem;
    opacity: 0.95;
    color: #eef5ff;
}

.breaking-links a:hover {
    opacity: 1;
    color: #fff;
}

.section {
    padding: 1.15rem 0;
}

.section-heading-wrap {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.section-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.08rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.kicker {
    margin: 0 0 0.4rem;
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-news {
    display: grid;
    gap: 1rem;
}

.hero-secondary {
    display: grid;
    gap: 0.85rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(7, 20, 33, 0.12);
}

.news-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #dde4ec;
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card__media--placeholder {
    background: linear-gradient(120deg, #dfe6ee, #cfd9e4);
}

.news-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.9rem;
}

.news-card__tag {
    display: inline;
    color: var(--blue);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-card__tag:hover {
    color: var(--red);
}

.news-card__title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.news-card__title a:hover {
    color: var(--blue);
}

.news-card--featured .news-card__title {
    font-size: 1.42rem;
    line-height: 1.15;
}

.news-card__excerpt {
    margin: 0;
    color: #344656;
    font-size: 0.9rem;
    line-height: 1.45;
}

.news-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    font-size: 0.75rem;
}

.news-card--compact .news-card__body {
    padding: 0.75rem;
}

.news-card--compact .news-card__title {
    font-size: 0.95rem;
}

.region-grid,
.city-grid,
.feed-list,
.related-grid,
.story-grid {
    display: grid;
    gap: 1rem;
}

.region-block,
.city-block {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.85rem;
    background: #fff;
}

.region-block__header h3,
.city-block__header h3 {
    margin: 0 0 0.65rem;
    font-family: var(--font-head);
    font-size: 1rem;
}

.region-block__header a:hover,
.city-block__header a:hover {
    color: var(--blue);
}

.region-block__list {
    display: grid;
    gap: 0.75rem;
}

.ad-slot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #ecf2f8;
    border: 1px dashed #9fb0c4;
    color: #637282;
    border-radius: 12px;
    font-size: 0.72rem;
    text-align: center;
    padding: 0.35rem;
}

.ad-slot-header {
    min-height: 90px;
}

.ad-slot-feed {
    min-height: 160px;
}

.ad-slot-inline {
    min-height: 280px;
    margin: 1rem 0;
}

.ad-slot-footer {
    min-height: 90px;
    margin-bottom: 1rem;
}

.feed-item--ad {
    display: flex;
    align-items: center;
}

.feed-controls {
    display: flex;
    justify-content: center;
    padding-top: 0.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.72rem 1.12rem;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, var(--red), #9e0215);
    color: #fff;
    font-family: var(--font-head);
    font-size: 0.85rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, var(--blue), #082d6d);
    color: #fff;
}

.most-read-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: mostread;
    display: grid;
    gap: 0.55rem;
}

.most-read-list li {
    counter-increment: mostread;
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.most-read-list li::before {
    content: counter(mostread);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), #0f2c63);
    color: #fff;
    font-weight: 700;
    font-size: 0.75rem;
}

.most-read-list li span {
    color: var(--muted);
    font-size: 0.75rem;
}

.story-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.story-card h3 {
    margin: 0;
    padding: 0.65rem 0.7rem;
    font-family: var(--font-head);
    font-size: 0.92rem;
    line-height: 1.25;
}

.archive-header {
    margin-bottom: 1rem;
}

.archive-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.5rem;
    line-height: 1.15;
}

.archive-description {
    margin: 0.4rem 0 0;
    color: #445667;
}

.breadcrumb {
    margin: 0 0 0.8rem;
}

.breadcrumb ol {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.78rem;
    color: #4f6172;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    opacity: 0.5;
}

.pagination,
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1.1rem;
}

.page-numbers {
    padding: 0.38rem 0.65rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 0.82rem;
}

.page-numbers.current {
    background: linear-gradient(135deg, var(--blue), #0b2f6f);
    color: #fff;
    border-color: transparent;
}

.single-shell {
    padding-top: 0.95rem;
}

.single-header {
    margin-bottom: 1rem;
}

.single-title {
    margin: 0;
    font-family: var(--font-head);
    font-size: 1.8rem;
    line-height: 1.08;
    letter-spacing: -0.012em;
}

.single-subtitle {
    margin: 0.5rem 0 0;
    color: #33475b;
    font-size: 1.02rem;
    line-height: 1.35;
}

.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 1rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--muted);
}

.single-cover {
    margin-bottom: 1rem;
}

.single-cover figcaption {
    margin-top: 0.45rem;
    font-size: 0.74rem;
    color: #5c6a77;
}

.single-featured-image {
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.content-layout {
    display: grid;
    gap: 1rem;
}

.article-content {
    background: #fff;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.article-content p {
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #1d2a38;
}

.article-content h2,
.article-content h3 {
    margin: 1.3rem 0 0.7rem;
    font-family: var(--font-head);
    line-height: 1.2;
}

.article-content ul,
.article-content ol {
    padding-left: 1.2rem;
}

.single-taxonomies,
.share-links {
    padding: 1rem;
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
}

.taxonomy-link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.8rem;
}

.taxonomy-link {
    font-size: 0.84rem;
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.taxonomy-link:hover {
    color: var(--red);
}

.share-links__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.share-links__list a {
    display: inline-flex;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    font-size: 0.8rem;
}

.share-links__list a:hover {
    border-color: rgba(11, 61, 145, 0.35);
    color: var(--blue);
}

.related-shell {
    padding-top: 0.2rem;
}

.related-grid .news-card {
    height: auto;
}

.site-footer {
    background: #091119;
    color: #d7e2ed;
    margin-top: 1.4rem;
    padding: 1.2rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-title {
    margin: 0 0 0.4rem;
    font-family: var(--font-head);
    font-size: 0.95rem;
    color: #fff;
}

.footer-text {
    margin: 0;
    color: #c0d2e1;
    max-width: 40ch;
}

.footer-menu {
    display: grid;
    gap: 0.35rem;
    padding: 0;
    list-style: none;
    margin: 0;
}

.footer-menu a {
    color: #e8f1f9;
    font-size: 0.84rem;
}

.footer-menu a:hover {
    color: var(--blue-soft);
}

.site-copy {
    margin: 0;
    font-size: 0.75rem;
    color: #9db2c5;
}

.empty-state {
    padding: 1.2rem;
    text-align: center;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.empty-state h1,
.empty-state h2 {
    margin: 0 0 0.45rem;
    font-family: var(--font-head);
}

.page-title {
    margin: 0 0 0.9rem;
    font-family: var(--font-head);
    font-size: 1.5rem;
}

.page-article .article-content {
    box-shadow: none;
    border: 1px solid var(--line);
}

.ad-slot-sticky-mobile {
    position: fixed;
    left: 0.6rem;
    right: 0.6rem;
    bottom: 0.6rem;
    z-index: 95;
    min-height: 56px;
}

@media (min-width: 760px) {
    .site-main {
        padding-bottom: 0;
    }

    .menu-toggle {
        display: none;
    }

    .site-nav {
        display: block !important;
    }

    .header-inner {
        min-height: 84px;
        gap: 0.9rem;
    }

    .header-search-input {
        font-size: 0.98rem;
        padding: 0.82rem 1.05rem;
    }

    .hero-news {
        grid-template-columns: 1.2fr 0.8fr;
    }

    .region-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .story-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feed-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr;
    }

    .ad-slot-sticky-mobile {
        display: none;
    }
}

@media (min-width: 900px) {
    .header-social {
        display: block;
    }
}

@media (min-width: 1040px) {
    .section {
        padding: 1.35rem 0;
    }

    .single-title {
        font-size: 2.2rem;
    }

    .content-layout {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
    }

    .content-layout .article-content {
        grid-column: 1;
    }

    .single-taxonomies,
    .share-links {
        position: sticky;
        top: 110px;
    }

    .region-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .city-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
