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

body {
    font-family: -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background: #fafafa;
    color: #111;
    line-height: 1.5;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

ul,
ol {
    list-style: none;
}

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

.top-note {
    background: #f0f2f4;
    padding: 0.6rem 2rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.note-label {
    background: #d42;
    color: white;
    padding: 0.1rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.navbar {
    background: white;
    border-bottom: 1px solid #eaeef2;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 2rem;
    transition: background 0.2s, box-shadow 0.2s;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: #111;
    letter-spacing: -0.02em;
}

.logo span {
    color: #1e5f8e;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    transition: 0.2s;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover {
    border-bottom-color: #1e5f8e;
    color: #000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: #111;
    border-radius: 2px;
    transition: 0.2s;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    background: #f8fafc;
    padding: 0.8rem 1.2rem;
    border-radius: 60px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    border: 1px solid #e2eaf2;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li+li::before {
    content: "›";
    margin: 0 0.6rem;
    color: #8f9fb0;
    font-weight: 400;
}

.breadcrumb-list a {
    text-decoration: none;
    color: #1e5f8e;
}

.breadcrumb-list [aria-current="page"] {
    color: #2f3e4c;
    font-weight: 500;
}

main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    border-left: 6px solid #1e5f8e;
    padding-left: 1rem;
}

.bg-soft {
    background: #f5f7fa;
    padding: 2rem 2rem 1.5rem;
    border-radius: 28px;
}

.tag {
    display: inline-block;
    background: #e1ecf4;
    color: #1a4d70;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.card-img {
    overflow: hidden;
    border-radius: 16px;
    background: #ddd;
    aspect-ratio: 4/3;
}

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

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

h3,
h4 {
    font-weight: 600;
    line-height: 1.3;
}

h3 a,
h4 a {
    text-decoration: none;
    color: #111;
}

h3 a:hover,
h4 a:hover {
    color: #1e5f8e;
}

.meta {
    font-size: 0.8rem;
    color: #5e6f7d;
    margin-top: 0.4rem;
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.excerpt {
    color: #2f3e4c;
    font-size: 1rem;
    margin: 0.4rem 0 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.excerpt.short {
    -webkit-line-clamp: 2;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.card-horizontal {
    display: flex;
    gap: 1.2rem;
    background: white;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f0f0;
}

.card-horizontal .card-img {
    flex: 0 0 40%;
}

.card-horizontal .card-content {
    flex: 1;
}

.card-vertical-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-vertical {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid #edf2f7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

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

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

.card-simple {
    background: white;
    border-radius: 24px;
    padding: 1.2rem;
    border: 1px solid #eaedf0;
    transition: all 0.2s;
}

.card-simple:hover {
    box-shadow: 0 12px 24px -10px rgba(0, 40, 70, 0.1);
}

.special-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-row {
    display: flex;
    background: white;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.card-row .card-img {
    flex: 0 0 200px;
    border-radius: 0;
}

.card-row .card-content {
    padding: 1.8rem;
    flex: 1;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.pill {
    background: white;
    border: 1px solid #dde3e9;
    padding: 0.5rem 1.5rem;
    border-radius: 60px;
    font-weight: 500;
    font-size: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: 0.1s;
    cursor: default;
}

.pill small {
    color: #687a8a;
    font-size: 0.8rem;
    margin-left: 0.4rem;
}

.category-grid {
    display: grid;
    grid-template-columns: 70% 28%;
    gap: 2.5rem;
    align-items: start;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.list-card-h {
    display: flex;
    gap: 1.5rem;
    background: white;
    border-radius: 24px;
    padding: 1.2rem;
    border: 1px solid #ecf1f5;
    transition: box-shadow 0.2s, transform 0.2s;
}

.list-card-h:hover {
    box-shadow: 0 12px 24px -12px rgba(0, 45, 80, 0.15);
    transform: translateY(-3px);
}

.list-card-h .card-img {
    flex: 0 0 200px;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
}

.list-card-h .card-content {
    flex: 1;
}

.list-card-h h3 {
    font-size: 1.3rem;
    margin: 0.4rem 0 0.3rem;
}

.list-card-h .excerpt {
    -webkit-line-clamp: 2;
}

.list-card-v {
    background: white;
    border-radius: 24px;
    padding: 1.2rem;
    border: 1px solid #ecf1f5;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.list-card-v:hover {
    box-shadow: 0 12px 24px -12px rgba(0, 45, 80, 0.1);
    transform: translateY(-3px);
}

.list-card-v .card-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.list-card-v h3 {
    font-size: 1.2rem;
    margin: 0.3rem 0 0.3rem;
}

.list-card-v .excerpt {
    -webkit-line-clamp: 2;
    font-size: 0.9rem;
}

.list-card-v .meta {
    margin-top: 0.5rem;
}

.pagination-nav {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.4rem;
    flex-wrap: wrap;
    background: white;
    padding: 0.4rem;
    border-radius: 60px;
    border: 1px solid #dde5ed;
}

.pagination-list li a,
.pagination-list li span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    text-decoration: none;
    color: #1e2b38;
    font-weight: 500;
    transition: 0.1s;
    min-width: 40px;
    text-align: center;
}

.pagination-list li a:hover {
    background: #e5ecf3;
}

.pagination-list .active a {
    background: #1e5f8e;
    color: white;
}

.pagination-list .prev,
.pagination-list .next {
    font-weight: 600;
    padding: 0.5rem 1.2rem;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: white;
    border-radius: 28px;
    padding: 1.8rem 1.5rem;
    border: 1px solid #e6edf4;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.02);
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
    border-left: 5px solid #1e5f8e;
    padding-left: 0.8rem;
}

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

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

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

.author-bio {
    color: #3f5466;
    font-size: 0.9rem;
    margin: 0.5rem 0 1rem;
}

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

.author-social a {
    background: #eef3f8;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1e5f8e;
    font-weight: 600;
    transition: 0.1s;
}

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

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

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

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

.link-list a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    display: block;
    line-height: 1.3;
}

.link-list a:hover {
    color: #1e5f8e;
}

.link-list .meta {
    margin-top: 0.2rem;
    font-size: 0.75rem;
    color: #6d8396;
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-item {
    background: #f0f5fa;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #d9e4ee;
}

.category-item .count {
    background: white;
    color: #1e5f8e;
    border-radius: 30px;
    padding: 0.1rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
}

.search-form {
    display: flex;
    border: 1px solid #d2deea;
    border-radius: 60px;
    overflow: hidden;
    background: white;
}

.search-form input {
    flex: 1;
    padding: 0.7rem 1rem;
    border: none;
    outline: none;
    font-size: 0.9rem;
}

.search-form button {
    background: #1e5f8e;
    border: none;
    color: white;
    padding: 0 1.2rem;
    font-size: 1.1rem;
    cursor: default;
}

.article-main {
    background: white;
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid #ecf1f5;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02);
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eaeff4;
    padding-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0.5rem 0 1rem;
    color: #0a1a26;
}

.article-subhead {
    font-size: 1.2rem;
    color: #3f5468;
    font-weight: 400;
    margin-bottom: 1rem;
}

.byline {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin: 1.2rem 0 0.5rem;
}

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

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

.author-mini span {
    font-weight: 600;
    color: #1e2b38;
}

.meta-info {
    display: flex;
    gap: 1.5rem;
    color: #5f7486;
    font-size: 0.9rem;
    align-items: center;
    flex-wrap: wrap;
}

.meta-info .views::before {
    content: "👁️";
    margin-right: 0.3rem;
    opacity: 0.7;
}

.share-bar {
    display: flex;
    gap: 0.6rem;
    margin: 1.5rem 0 0.5rem;
}

.share-btn {
    background: #eef3f8;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.15s;
    color: #1e3d58;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    background: #d9e4f0;
    transform: translateY(-2px);
}

.article-body {
    font-size: 1rem;
    line-height: 1.7;
    color: #171717;
    margin: 2rem 0;
}

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

.article-body h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

.article-body blockquote {
    border-left: 5px solid #1e5f8e;
    background: #f6faff;
    padding: 1.2rem 1.8rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 20px 20px 0;
    color: #1f3a4f;
}

.article-body img {
    width: 100%;
    border-radius: 24px;
    margin: 1.5rem 0;
}

.article-body figcaption {
    font-size: 0.8rem;
    color: #657e97;
    margin-top: -1rem;
    margin-bottom: 1.5rem;
}

.article-footer {
    margin: 2.5rem 0 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2eaf2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

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

.category-tags .tag {
    background: #e7f0f9;
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
}

.author-card-full {
    display: flex;
    gap: 1.8rem;
    background: #f8fcff;
    border-radius: 32px;
    padding: 2rem;
    margin: 2.5rem 0;
    border: 1px solid #dde9f5;
}

.author-card-full img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
}

.author-card-full h4 {
    font-size: 1.3rem;
    margin-bottom: 0.4rem;
}

.author-card-full .bio {
    color: #2e4a62;
    margin: 0.5rem 0 1rem;
    font-size: 0.95rem;
}

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

.comment-list {
    margin: 1.5rem 0;
}

.comment-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2eaf2;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.comment-time {
    font-size: 0.7rem;
    color: #6b859c;
    margin-bottom: 0.4rem;
}

.comment-text {
    font-size: 0.9rem;
    color: #1f3342;
}

.comment-form {
    background: #f9fdff;
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid #dde7f0;
}

.comment-form textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #c6d8e8;
    border-radius: 20px;
    font-family: inherit;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.comment-form button {
    background: #1e5f8e;
    color: white;
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 60px;
    font-weight: 600;
    cursor: default;
}

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

.related-card {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    border: 1px solid #e6ecf3;
    transition: 0.15s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -12px rgba(0, 45, 80, 0.2);
}

.related-card .card-img {
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.related-card h4 {
    font-size: 1rem;
    margin: 0.3rem 0 0.2rem;
}

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

.author-page-main {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 40px;
    padding: 2.5rem;
    border: 1px solid #ecf1f5;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.02);
}

.author-header {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.author-header-avatar {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 22px rgba(30, 95, 142, 0.15);
    transition: transform 0.25s ease;
}

.author-header-avatar:hover {
    transform: scale(1.02);
}

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

.author-header-info {
    flex: 1;
}

.author-header-info h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.3rem;
    color: #0a1a26;
}

.author-header-info .author-title {
    font-size: 1.2rem;
    color: #1e5f8e;
    font-weight: 500;
    margin-bottom: 1rem;
}

.author-header-info .author-badge {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.2rem 0;
}

.badge-item {
    background: #f0f7fe;
    border-radius: 60px;
    padding: 0.3rem 1.2rem;
    font-size: 0.9rem;
    color: #1a405b;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.badge-item::before {
    content: "✍️";
    font-size: 1rem;
}

.badge-item.articles::before {
    content: "📰";
}

.badge-item.followers::before {
    content: "👥";
}

.author-social-links {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.author-social-links a {
    background: #eef3f8;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1e5f8e;
    font-size: 1.2rem;
    transition: 0.15s;
    border: 1px solid #dae4f0;
}

.author-social-links a:hover {
    background: #1e5f8e;
    color: white;
    transform: translateY(-3px);
    border-color: #1e5f8e;
}

.author-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1f3345;
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e2eaf2;
    border-bottom: 1px solid #e2eaf2;
}

.author-description p {
    margin-bottom: 1.2rem;
}

.author-description .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0f2b3b;
}

.author-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
    text-align: center;
}

.stat-card {
    background: #f9fcff;
    border-radius: 28px;
    padding: 1.5rem 1rem;
    border: 1px solid #dce9f5;
    transition: 0.15s;
}

.stat-card:hover {
    background: white;
    box-shadow: 0 8px 20px rgba(0, 45, 80, 0.08);
    transform: translateY(-3px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e5f8e;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: #3f607d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-articles {
    margin-top: 3rem;
}

.author-articles h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.8rem;
    border-left: 6px solid #1e5f8e;
    padding-left: 1rem;
}

.author-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.author-article-card {
    background: white;
    border-radius: 24px;
    padding: 1.2rem;
    border: 1px solid #ecf1f5;
    transition: 0.2s;
}

.author-article-card:hover {
    box-shadow: 0 12px 24px -12px rgba(30, 95, 142, 0.25);
    transform: translateY(-5px);
}

.author-article-card .card-img {
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

.author-article-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0.5rem 0 0.3rem;
    line-height: 1.4;
}

.author-article-card h3 a {
    text-decoration: none;
    color: #111;
}

.author-article-card h3 a:hover {
    color: #1e5f8e;
}

.author-article-card .meta {
    font-size: 0.75rem;
    margin-top: 0.3rem;
}

.footer {
    background: #131f2c;
    color: #cbd5e1;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-col .logo {
    color: white;
    font-size: 1.3rem;
}

.footer-col p {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: #9aaebf;
}

.footer-col h4 {
    color: white;
    margin-bottom: 1rem;
    font-weight: 500;
}

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

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

.footer-col a {
    color: #b0c4d9;
    text-decoration: none;
    font-size: 0.9rem;
}

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

.footer-bottom p {
    max-width: 1280px;
    font-size: 0.8rem;
    color: #7e95a8;
    text-align: center;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1e5f8e;
    color: white;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 60px;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 45, 80, 0.2);
    transition: 0.15s;
    opacity: 0;
    pointer-events: none;
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

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

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

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

    .category-grid {
        grid-template-columns: 100%;
    }

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

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 54px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.2s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .author-stats {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 700px) {
    .navbar {
        position: relative;
    }

    .nav-container {
        height: 54px;
    }

    main {
        padding: 24px;
    }

    .article-header h1 {
        font-size: clamp(1.5rem, 6vw, 1.8rem);
    }

    .article-main {
        padding: 15px;
        border: none;
    }

    .byline {
        gap: 0.5rem;
    }

    .author-mini span,
    .meta-info {
        font-size: 0.75rem;
    }

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

    .comment-item {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .card-grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }

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

    .card-row {
        flex-direction: column;
    }

    .card-row .card-img {
        flex: auto;
        width: 100%;
    }

    .list-card-h {
        flex-direction: column;
    }

    .list-card-h .card-img {
        flex: auto;
        width: 100%;
    }

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

@media (max-width: 480px) {

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