body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #eef2f7;
    color: #14213d;
}

a {
    color: #2f6fe4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-shell {
    width: min(1280px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    background: linear-gradient(180deg, #3d7ef0 0%, #2f6fe4 100%);
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
}

.site-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 0;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.site-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.site-logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 0;
    background: transparent;
    padding: 0;
    box-shadow: none;
    filter: none;
}

.site-brand-text {
    min-width: 0;
    flex: 1 1 auto;
}

.site-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    display: inline-block;
}

.site-title:hover {
    text-decoration: none;
}

.site-tagline {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1rem;
    line-height: 1.3;
}

.site-nav {
    flex-shrink: 0;
}

.site-menu,
.site-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.site-menu-item {
    position: relative;
}

.site-menu-item.has-children > a::after {
    content: "▾";
    font-size: 0.72rem;
    margin-left: 7px;
    vertical-align: middle;
    opacity: 0.92;
}

.site-menu > .site-menu-item > a {
    color: #ffffff;
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.18s ease;
}

.site-menu > .site-menu-item > a:hover,
.site-menu > .site-menu-item:hover > a,
.site-menu > .site-menu-item:focus-within > a {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.12);
}

.site-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border: 1px solid #d8e0ea;
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    padding: 8px;
    z-index: 1000;
    display: none;
}

.site-menu-item:hover > .site-submenu,
.site-menu-item:focus-within > .site-submenu {
    display: block;
}

.site-submenu .site-menu-item {
    display: block;
}

.site-submenu a {
    color: #14213d;
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 600;
    line-height: 1.35;
}

.site-submenu a:hover,
.site-submenu .site-menu-item:hover > a,
.site-submenu .site-menu-item:focus-within > a {
    text-decoration: none;
    background: #eef4ff;
    color: #2f6fe4;
}

.site-announcement {
    background: #dbe7fb;
    color: #23406b;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(20, 33, 61, 0.08);
}

.site-announcement-inner {
    text-align: center;
    padding: 14px 0;
    font-size: 1rem;
}

.site-main {
    padding: 30px 0 40px;
}

.home-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.sidebar-stack {
    display: grid;
    gap: 18px;
}

.sidebar-card,
.content-card,
.featured-card,
.story-card,
.single-card {
    background: #ffffff;
    border: 1px solid #d8e0ea;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.sidebar-card {
    padding: 18px;
}

.sidebar-title {
    margin: 0 0 14px;
    font-size: 1.45rem;
    line-height: 1.1;
    color: #3d7ef0;
}

.sidebar-title a {
    color: inherit;
    text-decoration: none;
}

.sidebar-title a:hover {
    color: #2f6fe4;
    text-decoration: none;
}

.sidebar-list {
    display: grid;
    gap: 12px;
}

.sidebar-list a {
    color: #14213d;
    font-weight: 500;
}

.sidebar-list a:hover {
    color: #2f6fe4;
}

.sidebar-list-item {
    padding-bottom: 12px;
    border-bottom: 1px solid #e6edf5;
}

.sidebar-list-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.main-stack {
    display: grid;
    gap: 24px;
    min-width: 0;
}

.featured-card {
    overflow: hidden;
}

.featured-media {
    background: #dfe8f7;
    min-height: 240px;
}

.featured-media img {
    width: 100%;
    height: auto;
}

.featured-body {
    padding: 24px 28px 26px;
}

.featured-kicker {
    margin-bottom: 10px;
    color: #2f6fe4;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.featured-title {
    margin: 0 0 12px;
    font-size: 2.4rem;
    line-height: 1.08;
    color: #14213d;
    overflow-wrap: anywhere;
    word-break: normal;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
}

.featured-title a:hover {
    color: #2f6fe4;
    text-decoration: none;
}

.content-meta {
    font-size: 0.95rem;
    color: #5a6a85;
    margin-bottom: 12px;
    line-height: 1.5;
}

.featured-excerpt,
.story-excerpt,
.archive-description,
.single-subtitle {
    color: #31415d;
    line-height: 1.65;
}

.read-more {
    margin-top: 16px;
    display: inline-block;
    font-weight: 700;
}

.story-list {
    display: grid;
    gap: 22px;
}

.story-card {
    overflow: hidden;
}

.story-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}

.story-media {
    background: #dfe8f7;
    min-height: 100%;
}

.story-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-body {
    padding: 22px 24px;
    min-width: 0;
}

.story-title {
    margin: 0 0 10px;
    font-size: 2rem;
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: normal;
}

.story-title a {
    color: #14213d;
    text-decoration: none;
}

.story-title a:hover {
    color: #2f6fe4;
    text-decoration: none;
}

.archive-shell,
.single-shell {
    display: block;
}

.content-card,
.single-card {
    padding: 28px;
}

.archive-title,
.single-title {
    margin: 0 0 10px;
    font-size: 2.4rem;
    line-height: 1.08;
    color: #14213d;
    overflow-wrap: anywhere;
    word-break: normal;
}

.archive-description {
    margin-bottom: 22px;
}

.single-card .content-meta {
    margin-bottom: 18px;
}

.content-back-link {
    margin-bottom: 18px;
}

.content-back-link a {
    color: #2f6fe4;
    font-weight: 700;
    text-decoration: none;
}

.content-back-link a:hover {
    text-decoration: underline;
}

.single-featured-image {
    margin: 24px 0;
    overflow: hidden;
    border-radius: 12px;
    background: #dfe8f7;
}

.single-featured-image img {
    width: 100%;
}

.single-body {
    line-height: 1.8;
    color: #1f2b45;
}

.single-body p:first-child {
    margin-top: 0;
}

.empty-state {
    color: #5a6a85;
}

.content-tags {
    margin-top: 14px;
    line-height: 1.8;
}

.content-tag-pill {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 7px 12px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f6fe4;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.content-tag-pill:hover {
    background: #dfeaff;
    color: #215fd1;
    text-decoration: none;
}

.single-body h2,
.single-body h3,
.single-body h4 {
    color: #14213d;
    margin-top: 1.6em;
    margin-bottom: 0.5em;
}

.single-body ul,
.single-body ol {
    padding-left: 24px;
}

.single-body blockquote {
    margin: 1.5em 0;
    padding: 14px 18px;
    border-left: 4px solid #2f6fe4;
    background: #f5f8ff;
    color: #31415d;
}

.single-body img {
    border-radius: 10px;
}

.site-footer {
    margin-top: 40px;
    background: #132543;
    color: rgba(255, 255, 255, 0.88);
    padding: 24px 0;
}

.site-footer a {
    color: #ffffff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    .site-header-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-stack {
        order: 2;
    }

    .main-stack {
        order: 1;
    }
}

@media (max-width: 820px) {
    .site-shell {
        width: min(100% - 20px, 1280px);
    }

    .site-title {
        font-size: 1.7rem;
    }

    .site-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 6px;
    }

    .site-menu-item {
        width: 100%;
    }

    .site-menu > .site-menu-item > a {
        width: 100%;
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }

    .site-menu-item.has-children > a::after {
        float: right;
        margin-left: 0;
    }

    .site-submenu {
        position: static;
        display: block;
        min-width: 0;
        width: 100%;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0 0 0 14px;
        margin-top: 4px;
    }

    .site-submenu a {
        color: #ffffff;
        padding: 8px 0;
        border-radius: 0;
        background: transparent;
    }

    .site-submenu a:hover {
        background: transparent;
        color: rgba(255, 255, 255, 0.9);
    }

    .story-grid {
        grid-template-columns: 1fr;
    }

    .featured-title,
    .archive-title,
    .single-title {
        font-size: 1.8rem;
    }

    .story-title {
        font-size: 1.5rem;
    }

    .content-card,
    .single-card,
    .sidebar-card,
    .featured-body,
    .story-body {
        padding-left: 18px;
        padding-right: 18px;
    }
}

.story-grid-no-media {
    grid-template-columns: minmax(0, 1fr);
}