﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: #fcfcfc;
    color: #1e2a3a;
    line-height: 1.6;
    scroll-behavior: smooth;
}

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


img {
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
    background-color: #eef2f6;
}

ul,
li {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}


.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eaeef2;
    transition: background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 16px rgba(0, 20, 40, 0.08);
    backdrop-filter: blur(6px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: #0b2a3c;
}

.logo span {
    font-weight: 300;
    color: #527a9b;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-list a {
    text-decoration: none;
    color: #2f4052;
    font-weight: 450;
    font-size: 1rem;
    padding: 0.3rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.nav-list a:hover,
.nav-list a.active {
    border-bottom-color: #527a9b;
    color: #0b2a3c;
}

.search-form-static {
    display: flex;
    border: 1px solid #ccd8e2;
    border-radius: 30px;
    overflow: hidden;
}

.search-form-static input {
    border: none;
    padding: 0.4rem 1rem;
    width: 180px;
    font-size: 0.9rem;
    background: #f6f9fc;
}

.search-form-static button {
    border: none;
    background: #eef3f7;
    padding: 0 0.8rem;
    cursor: default;
    font-size: 1rem;
}

.hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #1e2a3a;
    padding: 0 8px;
}


.breaking-bar {
    background: #fae9d9;
    padding: 10px 0;
    border-bottom: 1px solid #f0dac5;
}

.breaking-label {
    background: #c7442e;
    color: white;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-right: 12px;
    text-transform: uppercase;
}

.breaking-text {
    font-weight: 500;
    color: #3f2d1a;
}


.breadcrumb {
    margin: 1.5rem 0 2rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0.8rem 1.2rem;
    background: #f2f6fa;
    border-radius: 40px;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #4d6a82;
}

.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 0.8rem;
    color: #9bb1c4;
    font-size: 1.2rem;
    line-height: 1;
}

.breadcrumb a {
    color: #2c5779;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .current {
    color: #172b36;
    font-weight: 600;
}


.card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px -8px rgba(0, 20, 30, 0.08);
    transition: transform 0.25s ease, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px -10px rgba(30, 50, 70, 0.15);
}

.card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.2rem 1.2rem 1.5rem;
}

.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: #e1eef9;
    color: #2c5779;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    margin-bottom: 0.6rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a {
    text-decoration: none;
    color: inherit;
}

.card-excerpt {
    color: #4e5f6e;
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.card-meta {
    font-size: 0.8rem;
    color: #6c7c8c;
    display: flex;
    gap: 1rem;
}


.card-horizontal {
    display: flex;
}

.card-horizontal .card-img {
    width: 40%;
    aspect-ratio: 4/3;
}

.card-horizontal .card-content {
    width: 60%;
}

.card-vertical {
    display: block;
}

.card-accent {
    border-left: 4px solid #527a9b;
}

.card-outline {
    border: 1px solid #dde5ec;
    box-shadow: none;
}

.card-mini .card-content {
    padding: 0.8rem;
}

.card-mini h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.card-mini p {
    font-size: 0.8rem;
}


.card-horizontal-reverse {
    display: flex;
    flex-direction: row-reverse;
}

.card-horizontal-reverse .card-img {
    width: 40%;
}

.card-horizontal-reverse .card-content {
    width: 60%;
}


.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #f4f7fb;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    color: #172b36;
}

.title-accent {
    display: inline-block;
    width: 50px;
    height: 2px;
    background: #849fb0;
    margin-left: 18px;
    vertical-align: middle;
}


.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

.featured-main {
    background: #ffffff;
}


.topic-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.topic-item {
    background: white;
    padding: 1.8rem 1.2rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.2s;
    border: 1px solid #e2ecf5;
}

.topic-item:hover {
    background: #f1f8ff;
    border-color: #9bb7d0;
}

.topic-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 0.6rem;
}

.topic-item h3 {
    font-weight: 500;
    margin-bottom: 0.2rem;
}

.topic-item p {
    font-size: 0.8rem;
    color: #5e7387;
}

.topic-count {
    display: inline-block;
    margin-top: 0.6rem;
    font-size: 0.75rem;
    background: #eef4fa;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
}


.special-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.special-card {
    display: flex;
    flex-direction: column;
    background: #ffffffd6;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 24px -12px rgba(43, 64, 82, 0.2);
    transition: all 0.25s;
}

.special-card:hover {
    transform: scale(1.02);
}

.special-img {
    aspect-ratio: 4/3;
}

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

.special-content {
    padding: 1.5rem;
}

.special-label {
    font-size: 0.7rem;
    font-weight: 700;
    background: #172b36;
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.special-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.special-meta {
    font-size: 0.8rem;
    color: #778f9e;
    margin-top: 1rem;
}


.tag-list-static {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1rem 0;
}

.tag {
    background: white;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    border: 1px solid #b9cdde;
    font-size: 0.85rem;
    transition: background 0.1s;
    cursor: default;
}

.tag:hover {
    background: #e2ecf7;
}

.static-filter {
    margin: 2rem 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.static-select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border-radius: 40px;
    border: 1px solid #b9cdde;
    background: white;
    font-size: 0.9rem;
    cursor: default;
}


.category-two-col,
.article-two-col {
    display: flex;
    gap: 3rem;
    margin: 2rem 0 4rem;
}

.main-content {
    flex: 0 0 70%;
    min-width: 0;
}

.sidebar {
    flex: 0 0 30%;
    min-width: 0;
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}


.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0 2rem;
}

.category-count {
    font-size: 1rem;
    font-weight: 300;
    color: #70869b;
    margin-left: 1rem;
}

.listing-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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


.pagination-static {
    margin: 2.5rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.6rem;
    border-radius: 40px;
    background: #ecf2f8;
    color: #1f3d54;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.page-link:hover {
    background: #d0e1f0;
}

.page-link.active {
    background: #2a4c66;
    color: white;
}

.page-link.next,
.page-link.prev {
    padding: 0 1.2rem;
}


.sidebar-widget {
    background: #ffffff;
    border-radius: 24px;
    padding: 1.8rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px -8px rgba(0, 20, 30, 0.06);
    border: 1px solid #e7eef5;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid #dde9f2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.author-card {
    text-align: center;
}

.author-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.author-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.author-bio {
    font-size: 0.9rem;
    color: #4b6379;
    margin: 0.8rem 0 1.2rem;
    line-height: 1.5;
}

.author-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.author-social a {
    color: #6b8baa;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid #d3e1ed;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    transition: background 0.2s;
}

.author-social a:hover {
    background: #e2effa;
}


.link-list {
    list-style: none;
}

.link-list li {
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px dashed #dbe6f0;
}

.link-list li:last-child {
    border-bottom: none;
}

.link-list a {
    text-decoration: none;
    color: #1f3f57;
    font-weight: 500;
    transition: color 0.2s;
}

.link-list a:hover {
    color: #2a6388;
}

.link-list .meta {
    font-size: 0.75rem;
    color: #7e95ab;
    margin-top: 0.2rem;
    display: block;
}


.category-list {
    list-style: none;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #edf3f8;
}

.category-list a {
    text-decoration: none;
    color: #1f3f57;
}

.category-list .count {
    background: #e7f0f9;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #365d7c;
}


.article-feature-img {
    margin: 2rem 0;
}

.article-feature-img img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 16px;
}

.article-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin: 0.5rem 0 0.8rem;
    color: #0a1e2c;
}

.article-subhead {
    font-size: 1.2rem;
    font-weight: 300;
    color: #3e5b72;
    margin-bottom: 1rem;
    border-left: 4px solid #8cb3d9;
    padding-left: 1rem;
}

.article-meta-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    margin: 1.2rem 0 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e2ecf5;
    border-bottom: 1px solid #e2ecf5;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #506e86;
    font-size: 0.9rem;
}

.author-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-mini img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.article-body {
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.7;
}

.article-body img {
    margin: 0 auto;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    font-weight: 500;
}

.article-body blockquote {
    margin: 1.8rem 0;
    padding: 1.2rem 2rem;
    background: #f1f7fc;
    border-left: 5px solid #527a9b;
    font-style: italic;
    color: #1d384b;
}

.category-tags {
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    background: #e7f0f9;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    color: #2c5779;
    text-decoration: none;
}

.author-box {
    display: flex;
    gap: 1.8rem;
    background: #f6fafd;
    padding: 2rem;
    border-radius: 24px;
    margin: 2.5rem 0 2rem;
    border: 1px solid #deeaf3;
}

.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.author-box p {
    font-size: 0.9rem;
    color: #3f5b72;
}

.share-block {
    margin: 2rem 0 2.5rem;
    padding: 1.5rem 0;
    border-top: 1px dashed #b9cfdf;
    border-bottom: 1px dashed #b9cfdf;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #ecf3f9;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.share-btn:hover {
    background: #cbdae7;
}

.comments-section {
    margin: 3rem 0;
}

.comment {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e3eef7;
}

.comment-author {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-author img {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    object-fit: cover;
}

.comment-date {
    font-size: 0.75rem;
    color: #7f94a5;
}

.comment-form-static {
    margin-top: 2rem;
}

.comment-form-static textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid #c1d6e8;
    background: white;
}

.comment-form-static button {
    margin-top: 0.5rem;
    padding: 0.5rem 2rem;
    background: #e0eefb;
    border: none;
    border-radius: 40px;
    cursor: default;
}


.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.related-card {
    display: flex;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border: 1px solid #e6eef7;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 20px -10px rgba(40, 60, 80, 0.1);
}

.related-card .card-img {
    width: 40%;
    aspect-ratio: 4/3;
}

.related-card .card-content {
    width: 60%;
    padding: 0.8rem;
}

.related-card .card-title {
    font-size: 0.95rem;
    -webkit-line-clamp: 2;
}

.related-card .card-meta {
    font-size: 0.7rem;
}


.author-profile {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.author-header-card {
    background: #ffffff;
    border-radius: 32px;
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    box-shadow: 0 12px 28px -12px rgba(0, 30, 50, 0.12);
    border: 1px solid #e2ecf5;
    display: flex;
    gap: 2.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.author-header-card .avatar {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 20, 40, 0.1);
}

.author-header-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-header-card .info {
    flex: 1;
    min-width: 280px;
}

.author-header-card .info h1 {
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #0b2a3c;
}

.author-header-card .info .title-tag {
    display: inline-block;
    background: #e1eef9;
    padding: 0.3rem 1.5rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c5779;
    margin-bottom: 1.2rem;
}

.author-header-card .info .short-bio {
    font-size: 1.1rem;
    color: #2f4a62;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.detailed-bio {
    background: #f9fcff;
    border-radius: 32px;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid #e2ecf5;
    line-height: 1.7;
    color: #1f384b;
}

.detailed-bio h2 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #0b2a3c;
}

.detailed-bio p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.2px;
}

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 2rem 0 3rem;
}

.latest-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
    border: 1px solid #e7eef5;
    transition: transform 0.25s, box-shadow 0.3s;
}

.latest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 28px -12px rgba(30, 60, 90, 0.15);
}

.latest-card .card-img {
    aspect-ratio: 4/3;
}

.latest-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.latest-card:hover .card-img img {
    transform: scale(1.05);
}

.latest-card .card-content {
    padding: 1.2rem 1.2rem 1.5rem;
}

.latest-card .card-tag {
    font-size: 0.7rem;
    background: #e1eef9;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.latest-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.latest-card .card-title a {
    text-decoration: none;
    color: inherit;
}

.latest-card .card-meta {
    font-size: 0.8rem;
    color: #6c7c8c;
}


.site-footer {
    background: #172b36;
    color: #cfdee9;
    padding: 3rem 0 2rem;
    margin-top: 2rem;
}

.site-footer p {
    text-align: center;
    margin: 0;
}

.site-footer a {
    color: #cfdee9;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    color: white;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.4rem;
}

.footer-col a {
    color: #b3cdde;
    text-decoration: none;
}

.footer-col a:hover {
    color: white;
}

.footer-logo {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-weight: 300;
    color: #89b6d9;
}

.newsletter-static {
    display: flex;
    margin-top: 1rem;
    border-bottom: 1px solid #4d6f85;
}

.newsletter-static input {
    background: transparent;
    border: none;
    padding: 0.4rem 0;
    color: white;
    flex: 1;
}

.newsletter-static button {
    background: none;
    border: none;
    color: #b3cdde;
    font-size: 1.2rem;
    cursor: default;
}


.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2a4c66;
    color: white;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
    transition: background 0.2s;
}

.back-to-top:hover {
    background: #1b384b;
}


@media (max-width: 1000px) {

    .category-two-col,
    .article-two-col {
        flex-direction: column;
    }

    .main-content,
    .sidebar {
        flex: auto;
        width: 100%;
    }
}

@media (max-width: 900px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .card-horizontal {
        grid-column: span 1;
        flex-direction: column;
    }

    .card-horizontal .card-img,
    .card-horizontal .card-content {
        width: 100%;
    }

    .special-grid {
        grid-template-columns: 1fr;
    }

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

    .listing-row {
        grid-template-columns: 1fr;
    }

    .triple {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .author-header-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .author-header-card .info h1 {
        font-size: 2.2rem;
    }

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

@media (max-width: 640px) {
    .site-header {
        position: relative;
    }

    .header-container {
        height: 54px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 54px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .main-nav.show {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .search-form-static {
        width: 100%;
    }

    .hamburger {
        display: block;
    }

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

    .article-header h1 {
        font-size: 1.4rem;
    }

    .article-meta-top {
        gap: 0.5rem;
    }

    .meta-item {
        font-size: 0.75rem;
    }

    .article-subhead {
        font-size: 1rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .latest-grid {
        grid-template-columns: 1fr;
    }

    .author-header-card .avatar {
        width: 140px;
        height: 140px;
    }
}