﻿:root {
    --color-bg: #ffffff;
    --color-text: #1a1e24;
    --color-text-soft: #4a525c;
    --color-accent: #0f3b5e;
    --color-accent-light: #eef4fc;
    --color-border: #eaeef2;
    --color-card-bg: #ffffff;
    --color-hover: #f9fbfd;
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.02);
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition: 0.2s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

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

ul,
li {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

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

/* ----- Fixed navigation (with scroll effect) ----- */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    transition: background 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    border-bottom-color: #d0dce6;
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--color-text);
}

.logo span {
    color: var(--color-accent);
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    color: var(--color-text-soft);
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition);
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.cta-button .btn {
    background-color: var(--color-accent);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, transform 0.1s;
}

.cta-button .btn:hover {
    background-color: #163a52;
    transform: scale(0.98);
}

.hamburger {
    display: none;
    flex-direction: column;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    justify-content: space-between;
    padding: 0;
}

.hamburger .bar {
    width: 30px;
    height: 2px;
    background: var(--color-text);
    border-radius: 10px;
    transition: 0.3s;
}

/* ----- Announcement bar (no hero) ----- */
.top-announcement {
    background-color: #f4f8fd;
    border-radius: 40px;
    margin: 24px auto 16px;
    padding: 12px 20px;
    max-width: 1280px;
    width: calc(100% - 48px);
    border: 1px solid #dae5ed;
}

.top-announcement p {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    background: var(--color-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.top-announcement a {
    color: var(--color-accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.top-announcement a:hover {
    border-bottom-color: var(--color-accent);
}

/* ----- Section & cards (shared) ----- */
.section {
    padding: 48px 0 32px;
}

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0d1c2b;
}

.section-subhead {
    color: var(--color-text-soft);
    font-size: 1.1rem;
    margin-top: 4px;
}

/* Card grid – vertical cards (home, category) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: var(--color-card-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s, box-shadow 0.3s;
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background-color: var(--color-hover);
}

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

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

.card:hover .ratio-4x3 img {
    transform: scale(1.03);
}

.card-content {
    padding: 20px 20px 24px;
    flex: 1;
}

.category-tag {
    display: inline-block;
    background: #ecf2f9;
    padding: 4px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #1e3a5f;
    margin-bottom: 12px;
}

.card-title {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 600;
    margin-bottom: 10px;
}

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

.card-title a:hover {
    color: var(--color-accent);
}

.two-lines {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-excerpt {
    color: var(--color-text-soft);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

.three-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta-info {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #5f6b7a;
    border-top: 1px solid #edf0f3;
    padding-top: 14px;
}

/* Card variants */
.card-accent {
    border-top: 4px solid #1e5f6b;
}

.card-highlight {
    background: #fafcff;
}

.card-podcast .category-tag {
    background: #f2e5d5;
}

/* ----- Horizontal cards (category list page) ----- */
.card-horizontal {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    padding: 20px;
    transition: box-shadow 0.25s, transform 0.2s;
    margin-bottom: 24px;
}

.card-horizontal:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    background-color: #fcfdfe;
}

.card-horizontal .card-img {
    flex: 0 0 240px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 100%;
    height: 100%
}

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

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

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

.card-horizontal .card-title {
    font-size: 1.3rem;
    margin-top: 4px;
}

.card-horizontal .meta-info {
    border-top: none;
    padding-top: 12px;
    margin-top: 12px;
}

/* ----- Two-column layout (list & detail) ----- */
.two-col-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.content-primary {
    flex: 0 0 70%;
    max-width: 70%;
}

.content-secondary {
    flex: 0 0 30%;
    max-width: 30%;
}

/* ----- Sidebar (shared) ----- */
.author-byline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

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

.author-byline .author-name {
    font-weight: 600;
    color: #0b1c2f;
    font-size: 1rem;
    margin: 0;
}

.author-widget .author-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
    margin-top: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.author-widget .author-header::before {
    content: none;
}

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

.author-widget .author-name-title h3 {
    font-size: 1.2rem;
    margin: 0 0 0.2rem;
    border: none;
    padding: 0;
    color: #333;
}

.author-name-title p {
    font-size: 0.9rem;
    color: #6b7f94;
}

.author-widget .author-bio {
    font-size: 0.95rem;
    color: #34495e;
    line-height: 1.5;
    margin: 0;
}

.sidebar-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e4eaf0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.popular-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.popular-list li {
    display: flex;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dashed #edf2f7;
}

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

.popular-list .rank {
    font-weight: 700;
    color: var(--color-accent);
    font-size: 1.1rem;
    min-width: 28px;
}

.popular-list .item-content {
    flex: 1;
}

.popular-list .item-title {
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.4;
}

.popular-list .item-title a {
    text-decoration: none;
    color: var(--color-text);
}

.popular-list .item-title a:hover {
    color: var(--color-accent);
}

.popular-list .meta {
    font-size: 0.75rem;
    color: #6b7a88;
}

/* Tag cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    background: #f2f6fa;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #2c3e50;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.tag-cloud a:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* Sidebar subscribe */
.sidebar-subscribe p {
    font-size: 0.95rem;
    color: #3e4c5a;
    margin-bottom: 16px;
}

.sidebar-subscribe .form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-subscribe input {
    padding: 12px 16px;
    border: 1px solid #ccd7e0;
    border-radius: 40px;
    font-size: 0.9rem;
}

.sidebar-subscribe .btn-small {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.sidebar-subscribe .btn-small:hover {
    background: #163a52;
}

/* ----- Breadcrumbs (shared) ----- */
.breadcrumb-wrap {
    background: #ffffff;
    padding: 16px 0 8px;
    border-bottom: 1px solid #eef2f6;
    margin-bottom: 32px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #5f6c7a;
}

.breadcrumb li a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 20px;
    transition: background 0.2s;
}

.breadcrumb li a:hover {
    background: #eef4fc;
}

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

.breadcrumb .current {
    font-weight: 600;
    color: #1e2a36;
    background: #f0f5fa;
    padding: 4px 12px;
    border-radius: 20px;
}

/* ----- Static pagination (no JS) ----- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 16px;
    background: white;
    border: 1px solid #dde4ec;
    border-radius: 8px;
    color: var(--color-text);
    text-decoration: none;
    transition: 0.2s;
}

.page-link.active,
.page-link:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.page-dots {
    padding: 10px 4px;
}

/* ----- Special report block (home) ----- */
.special-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.feature-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
}

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

.feature-content {
    padding: 24px;
}

.feature-content h3 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin: 12px 0 12px;
    font-weight: 600;
}

.feature-content h3 a {
    text-decoration: none;
    color: #0a1c2c;
}

.feature-content h3 a:hover {
    color: var(--color-accent);
}

.side-picks {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.side-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: white;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid #f0f3f7;
    padding-bottom: 16px;
}

.side-img {
    width: 220px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.side-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.side-content .date {
    font-size: 0.8rem;
    color: #6c7a89;
}

/* ----- Hot categories / pills ----- */
.hot-categories {
    background: #ffffff;
    border-top: 1px solid #eaeef2;
    border-bottom: 1px solid #eaeef2;
    margin: 16px 0 0;
}

.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0;
}

.pill {
    background: #f2f5f9;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.pill:hover {
    background: var(--color-accent);
    color: white;
}

.static-filter-demo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 32px 0 16px;
    padding-top: 16px;
    border-top: 1px dashed #d0d9e0;
}

.fake-select {
    display: inline-block;
    position: relative;
}

.static-select {
    background: white;
    border: 1px solid #cfd8e0;
    border-radius: 30px;
    padding: 10px 32px 10px 20px;
    font-size: 0.9rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a525c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

/* ----- Archive / category page header ----- */
.archive-header {
    padding: 32px 0 8px;
    background: #fafcfe;
    border-bottom: 1px solid #e2e9f0;
}

.archive-header h1 {
    font-size: 2.6rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.archive-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin: 32px 0 24px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #3f4a57;
}

.tag-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag-filter {
    padding: 6px 16px;
    border-radius: 30px;
    background: white;
    border: 1px solid #cfd8e0;
    font-size: 0.85rem;
    cursor: default;
}

.tag-filter.active {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

/* ----- Article detail page styles ----- */
.article-header-detail {
    margin-bottom: 32px;
}

.article-header-detail h1 {
    font-size: 2.6rem;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 16px 0 12px;
}

.article-subhead {
    font-size: 1.3rem;
    color: #4a5c6b;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.5;
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
}

.meta-full {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    color: #5e6c7a;
    font-size: 0.95rem;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 16px 0;
    margin-bottom: 24px;
}

.meta-full .author-avatar-small {
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.updated-badge {
    background: #ecf3fa;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
}

.article-feature-img {
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
}

.share-bar-large {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: #2d3e4f;
}

.share-button {
    background: white;
    border: 1px solid #ccd9e2;
    border-radius: 40px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.share-button:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

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

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

.article-tags {
    margin: 40px 0 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.tag-link {
    background: #eff3f8;
    padding: 6px 16px;
    border-radius: 30px;
    margin-right: 10px;
    font-size: 0.8rem;
    text-decoration: none;
    color: #2c3a47;
}

.author-bio-card {
    display: flex;
    gap: 24px;
    background: #f4faff;
    border-radius: 24px;
    padding: 28px;
    margin: 40px 0;
    border: 1px solid #e3ecf3;
}

.author-bio-card .author-avatar {
    flex: 0 0 100px;
}

.author-bio-card .author-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-bio-card .author-details {
    flex: 1;
}

.author-bio-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.author-bio-card .author-title {
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 12px;
}

.author-bio-card .author-bio-text {
    color: #3a4a57;
}

.comments-section {
    margin: 48px 0 16px;
}

.comment-item {
    display: flex;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #edf2f6;
}

.comment-avatar {
    flex: 0 0 48px;
}

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

.comment-body {
    flex: 1;
}

.comment-author {
    font-weight: 600;
    margin-right: 12px;
}

.comment-date {
    font-size: 0.8rem;
    color: #778a99;
}

.comment-text {
    margin-top: 8px;
    color: #2e3c49;
}

.comment-form textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #d0d9e2;
    border-radius: 16px;
    margin-bottom: 16px;
    font-family: inherit;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #d0d9e2;
    border-radius: 30px;
}

.btn-submit {
    background: var(--color-accent);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
}

.form-note {
    font-size: 0.8rem;
    color: #6e7b89;
    margin-top: 12px;
}

.related-stories {
    margin-top: 48px;
    border-top: 2px solid #eaeff4;
    padding-top: 32px;
}

.related-stories h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.related-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 16px;
    border: 1px solid #e7ecf0;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

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

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

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

.related-card .card-content {
    padding: 18px 18px 20px;
}

.related-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

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

.related-card .card-title a:hover {
    color: var(--color-accent);
}

.related-card .meta {
    font-size: 0.8rem;
    color: #6a7b89;
}

/* ----- Author page styles ----- */
.author-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.author-profile {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-bottom: 48px;
    background: #f9fcff;
    border-radius: 32px;
    padding: 40px 48px;
    border: 1px solid #e8f0f5;
}

.author-avatar-large {
    flex: 0 0 180px;
}

.author-avatar-large img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease;
}

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

.author-headline {
    flex: 1;
}

.author-headline h1 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: #0b1c2c;
}

.author-title {
    font-size: 1.4rem;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 16px;
    border-bottom: 2px solid #dde9f2;
    padding-bottom: 16px;
}

.author-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 20px;
}

.author-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.author-stat .stat-label {
    font-size: 0.9rem;
    color: #5c6f7e;
    font-weight: 500;
}

.author-stat .stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b2a3c;
}

.author-social {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #cbd8e2;
    border-radius: 40px;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e3e53;
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.author-biography {
    background: white;
    border-radius: 24px;
    padding: 40px;
    margin-bottom: 48px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.author-biography h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-biography h2:before {
    content: '📌';
    font-size: 1.6rem;
}

.author-biography p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #263a47;
    margin-bottom: 24px;
}

.author-quote {
    background: #ecf4fa;
    padding: 28px 32px;
    border-radius: 24px;
    font-size: 1.15rem;
    font-style: italic;
    border-left: 6px solid var(--color-accent);
    color: #1f4459;
    margin-top: 32px;
}

.author-works {
    margin-top: 32px;
}

.author-works h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-works h2:after {
    content: '📰';
    font-size: 1.6rem;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.work-card {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e8edf2;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.work-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.work-card .card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

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

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

.work-card .card-content {
    padding: 20px 22px 24px;
}

.work-card .category-tag {
    margin-bottom: 10px;
}

.work-card .card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.work-card .meta {
    font-size: 0.85rem;
    color: #5f7384;
}

.author-awards {
    background: linear-gradient(145deg, #f7fafd, #ffffff);
    border-radius: 24px;
    padding: 32px 40px;
    margin: 48px 0 24px;
    border: 1px solid #dde9f2;
}

.author-awards h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #0a3142;
}

.award-list {
    list-style: none;
    padding: 0;
}

.award-list li {
    padding: 12px 0;
    border-bottom: 1px dashed #d0dfe8;
    display: flex;
    gap: 16px;
    align-items: baseline;
}

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

.award-icon {
    font-size: 1.2rem;
}

.award-text {
    font-weight: 500;
}

.award-year {
    color: var(--color-accent);
    font-weight: 600;
    margin-left: 8px;
}

/* ----- Footer (4 columns) ----- */
.site-footer {
    background: #f4f8fc;
    border-top: 1px solid #dfe7ef;
    padding: 20px 0;
    margin-top: 40px;
}

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

.site-footer a {
    color: #4a5b68;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text);
}

.footer-logo span {
    color: var(--color-accent);
}

.footer-col h4 {
    margin-bottom: 18px;
    font-weight: 600;
    color: #13293d;
}

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

.footer-col li {
    margin-bottom: 12px;
}

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

.footer-col a:hover {
    color: var(--color-accent);
}

.subscribe-form {
    display: flex;
    margin-top: 12px;
    border-radius: 48px;
    overflow: hidden;
    border: 1px solid #bccbd6;
    background: white;
}

.subscribe-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    outline: none;
}

.subscribe-form .btn-submit {
    border-radius: 0;
    padding: 14px 24px;
}

.footer-about {
    margin: 16px 0 12px;
    color: #4a5b68;
}

/* ----- Back to top ----- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 99;
    visibility: hidden;
    opacity: 0;
}

.back-to-top:hover {
    opacity: 1;
    transform: scale(1.05);
}

.back-to-top.visible {
    visibility: visible;
    opacity: 0.8;
}

/* ----- Responsive design ----- */
@media (max-width: 1024px) {
    .special-grid {
        grid-template-columns: 1fr;
    }

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

    .two-col-layout {
        flex-direction: column;
    }

    .content-primary,
    .content-secondary {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

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

    .section {
        padding: 30px 0;
    }

    .side-card {
        display: block;
    }

    .side-img {
        aspect-ratio: 4 / 3;
        width: 100%;
    }

    .side-content {
        padding: 15px;
    }

    .breadcrumb-wrap {
        margin-bottom: 10px;
    }

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

    .hamburger {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        border-top: 1px solid var(--color-border);
        box-shadow: 0 20px 20px rgba(0, 0, 0, 0.02);
        padding: 0 24px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .main-nav.active {
        max-height: 400px;
        padding-bottom: 24px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 18px;
        margin: 24px 0;
    }

    .cta-button {
        margin-left: auto;
    }

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

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

    .archive-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .author-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
    }

    .author-meta {
        justify-content: center;
    }

    .author-social {
        justify-content: center;
    }

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

    .author-avatar-large {
        flex: 0 0 140px;
    }

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

    .author-headline h1 {
        font-size: 2rem;
    }

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

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .logo {
        font-size: 1.5rem;
    }

    .top-announcement {
        width: calc(100% - 32px);
    }

    .feature-content h3 {
        font-size: 1.3rem;
    }

    .card-horizontal {
        flex-direction: column;
        padding: 16px;
    }

    .card-horizontal .card-img {
        flex: 0 0 auto;
        width: 100%;
        aspect-ratio: 4/3;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

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

    .meta-full {
        gap: 12px;
    }

    .author-mini-avatar {
        display: none;
    }

    .author-byline .author-name,
    .meta-full {
        font-size: 0.7rem;
    }

    .share-bar-large {
        justify-content: center;
    }

    .author-biography,
    .author-profile {
        padding: 28px 20px;
    }

    .author-quote {
        padding: 20px;
    }
}