/* ===== OTAKU HERALD — News/Magazine Theme ===== */
:root {
    --bg: #faf9f6;
    --bg-card: #ffffff;
    --navy: #1a2744;
    --gold: #c8a45c;
    --text: #2a2a3a;
    --text-light: #6b6b80;
    --text-muted: #9a9ab0;
    --border: #e8e6e0;
    --border-dark: #d0cec8;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.7;
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.site-header {
    border-bottom: 3px double var(--navy);
    padding-bottom: 0;
}

.header-top {
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.date-line {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.header-main {
    text-align: center;
    padding: 24px 0 16px;
}

.logo {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.logo:hover {
    color: var(--gold);
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.header-nav a {
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.header-nav a:hover {
    color: var(--gold);
}

/* ===== FEATURED STORY ===== */
.front-page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.featured-story {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.featured-story img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    border-radius: var(--radius);
}

.featured-body .featured-label {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    padding: 3px 14px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.featured-body h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.25;
    margin-bottom: 14px;
}

.featured-body h2 a {
    color: var(--navy);
}

.featured-body h2 a:hover {
    color: var(--gold);
}

.featured-body p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 12px;
}

.featured-body time {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== ARTICLES GRID ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.2s;
}

.article-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.article-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 0;
}

.article-body {
    padding: 18px;
}

.article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 8px;
}

.category {
    background: var(--navy);
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.article-meta time {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.article-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.article-body h3 a {
    color: var(--navy);
}

.article-body h3 a:hover {
    color: var(--gold);
}

.article-body p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* ===== SINGLE ARTICLE ===== */
.article-single {
    max-width: 740px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.article-header {
    text-align: center;
    margin-bottom: 36px;
}

.article-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    line-height: 1.2;
    margin: 12px 0;
    color: var(--navy);
}

.article-lead {
    color: var(--text-light);
    font-size: 1.15rem;
    margin: 8px 0 16px;
}

.article-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-cats {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.article-hero {
    margin-bottom: 36px;
}

.article-hero img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.85;
}

.article-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--navy);
    margin: 42px 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 32px 0 12px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 20px 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content a {
    color: var(--gold);
    border-bottom: 1px solid var(--gold);
}

.article-content a:hover {
    color: var(--navy);
}

.article-content blockquote {
    border-left: 4px solid var(--gold);
    padding: 16px 24px;
    margin: 28px 0;
    background: #f5f3ee;
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--text-light);
    font-style: italic;
    font-size: 1.05rem;
}

.article-content img {
    margin: 28px 0;
    box-shadow: var(--shadow);
}

.article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.article-nav a {
    color: var(--gold);
    font-size: 0.9rem;
}

/* ===== ARCHIVE ===== */
.archive-page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

.archive-page h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--navy);
    margin-bottom: 32px;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a,
.pagination span {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.pagination a {
    background: var(--bg-card);
    color: var(--text-light);
    border: 1px solid var(--border);
}

.pagination a:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination .active {
    background: var(--navy);
    color: #fff;
}

/* ===== FOOTER ===== */
.site-footer {
    border-top: 3px double var(--navy);
    padding: 28px 0;
    text-align: center;
}

.footer-inner p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.85rem;
}

@media (max-width:768px) {
    .featured-story {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .header-nav {
        flex-wrap: wrap;
        gap: 16px;
    }
}