/* ===================================
   느린하루 - Brunch Style Design
   중장년의 이야기가 머무는 곳
   =================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #FAFAF8;
    --color-bg-warm: #F5F3EF;
    --color-bg-card: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-secondary: #6B6B6B;
    --color-text-light: #999999;
    --color-accent: #8B6914;
    --color-accent-light: #C4A35A;
    --color-accent-bg: #FAF6ED;
    --color-border: #E8E4DE;
    --color-border-light: #F0EDE8;
    --color-overlay: rgba(0, 0, 0, 0.6);
    --color-white: #FFFFFF;
    --color-hero-bg: #2C2416;

    --font-serif: 'Noto Serif KR', Georgia, serif;
    --font-sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;

    --max-width: 1200px;
    --header-height: 64px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 24px rgba(0,0,0,0.1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

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

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(250, 250, 248, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-text-secondary);
    padding: 4px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-btn, .write-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    border-radius: 50%;
    transition: var(--transition);
    font-size: 16px;
}

.search-btn:hover, .write-btn:hover {
    color: var(--color-text);
    background: var(--color-bg-warm);
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--color-text-secondary);
    font-size: 18px;
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--color-white);
    z-index: 2000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    padding: 24px;
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.mobile-close-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--color-text-secondary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 18px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    transition: var(--transition);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--color-accent);
    background: var(--color-accent-bg);
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(20px);
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 640px;
    padding: 0 24px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: 100px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(139, 105, 20, 0.1);
}

.search-icon {
    color: var(--color-text-light);
    font-size: 18px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 18px;
    font-family: var(--font-serif);
    background: transparent;
    color: var(--color-text);
}

.search-input::placeholder {
    color: var(--color-text-light);
}

.search-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-size: 16px;
    border-radius: 50%;
    transition: var(--transition);
}

.search-close:hover {
    color: var(--color-text);
    background: var(--color-bg-warm);
}

.search-results {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-result-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: var(--transition);
}

.search-result-item:hover {
    border-color: var(--color-accent-light);
    box-shadow: var(--shadow-sm);
}

.search-result-item .result-info {
    flex: 1;
}

.search-result-item .result-category {
    font-size: 12px;
    color: var(--color-accent);
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-item .result-title {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.search-result-item .result-author {
    font-size: 13px;
    color: var(--color-text-light);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-hero-bg);
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-height) + 40px) 40px 60px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(139, 105, 20, 0.15), transparent 70%),
        radial-gradient(ellipse at 80% 30%, rgba(196, 163, 90, 0.1), transparent 60%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--color-bg), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}

.hero-subtitle {
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent-light);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-highlight {
    color: var(--color-accent-light);
    position: relative;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 48px;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border: 1px solid rgba(196, 163, 90, 0.4);
    border-radius: 100px;
    color: var(--color-accent-light);
    font-size: 15px;
    font-weight: 400;
    transition: var(--transition);
}

.hero-cta:hover {
    background: rgba(196, 163, 90, 0.1);
    border-color: var(--color-accent-light);
}

.hero-cta i {
    animation: bounce-down 2s infinite;
}

@keyframes bounce-down {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(4px); }
    60% { transform: translateY(2px); }
}

.hero-visual {
    display: none;
}

.hero-quote {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    text-align: center;
}

.hero-quote p {
    font-family: var(--font-serif);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    font-style: italic;
    line-height: 1.8;
}

/* ===== SECTIONS COMMON ===== */
.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-desc {
    font-size: 15px;
    color: var(--color-text-light);
    font-weight: 300;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    padding: 100px 0 80px;
    background: var(--color-bg);
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.featured-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--color-bg-card);
}

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

.featured-card.large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.featured-card-image {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.featured-card.large .featured-card-image {
    min-height: 420px;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.featured-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%);
    z-index: 1;
}

.featured-card-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 2;
}

.featured-card.large .featured-card-content {
    justify-content: center;
    padding: 48px;
}

.featured-card:not(.large) .featured-card-content {
    position: absolute;
    inset: 0;
    color: white;
}

.featured-card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: var(--color-accent-light);
    background: rgba(139, 105, 20, 0.15);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
    width: fit-content;
}

.featured-card.large .featured-card-category {
    color: var(--color-accent);
    background: var(--color-accent-bg);
}

.featured-card-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.featured-card:not(.large) .featured-card-title {
    color: white;
}

.featured-card-subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.featured-card:not(.large) .featured-card-subtitle {
    color: rgba(255,255,255,0.7);
}

.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--color-text-light);
}

.featured-card:not(.large) .featured-card-meta {
    color: rgba(255,255,255,0.6);
}

.featured-card-meta .author-name {
    font-weight: 500;
    color: var(--color-text-secondary);
}

.featured-card:not(.large) .featured-card-meta .author-name {
    color: rgba(255,255,255,0.8);
}

.featured-card-meta .dot {
    width: 3px;
    height: 3px;
    background: currentColor;
    border-radius: 50%;
    opacity: 0.5;
}

/* ===== LATEST SECTION ===== */
.latest-section {
    padding: 80px 0 100px;
    background: var(--color-bg-warm);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.tab-btn {
    font-size: 14px;
    padding: 8px 20px;
    border-radius: 100px;
    color: var(--color-text-secondary);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    font-weight: 400;
}

.tab-btn:hover {
    border-color: var(--color-accent-light);
    color: var(--color-accent);
}

.tab-btn.active {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

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

.article-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--color-border-light);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.article-card-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
}

.article-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.article-card-body {
    padding: 24px;
}

.article-card-category {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.article-card-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-excerpt {
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.article-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--color-border-light);
}

.article-card-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-card-author-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-accent);
    overflow: hidden;
}

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

.article-card-author-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.article-card-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--color-text-light);
}

.article-card-stats i {
    margin-right: 3px;
}

/* ===== WRITERS SECTION ===== */
.writers-section {
    padding: 100px 0;
    background: var(--color-bg);
}

.writers-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 8px;
}

.writers-grid::-webkit-scrollbar {
    display: none;
}

.writer-card {
    flex: 0 0 220px;
    scroll-snap-align: start;
    text-align: center;
    padding: 32px 24px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
    cursor: pointer;
    transition: var(--transition);
}

.writer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-accent-light);
}

.writer-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    overflow: hidden;
    border: 3px solid var(--color-bg-warm);
}

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

.writer-name {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.writer-pen-name {
    font-size: 13px;
    color: var(--color-accent);
    margin-bottom: 12px;
    font-weight: 400;
}

.writer-bio {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 16px;
}

.writer-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    color: var(--color-text-light);
}

.writer-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 100px 0;
    background: var(--color-hero-bg);
    color: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-accent-light);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.about-card {
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.about-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(196, 163, 90, 0.3);
    transform: translateY(-4px);
}

.about-card i {
    font-size: 28px;
    color: var(--color-accent-light);
    margin-bottom: 16px;
}

.about-card h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.about-card p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ===== FOOTER ===== */
.footer {
    background: #1E1A14;
    color: rgba(255, 255, 255, 0.5);
    padding: 60px 0 32px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-accent-light);
}

.footer-tagline {
    font-size: 14px;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-links {
    display: flex;
    gap: 48px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.25);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow-md);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .featured-card.large {
        grid-template-columns: 1fr;
    }
    
    .featured-card.large .featured-card-image {
        min-height: 300px;
    }
    
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }
    
    .nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: calc(var(--header-height) + 20px) 20px 60px;
        min-height: 80vh;
    }
    
    .hero-desc br {
        display: none;
    }
    
    .section-container {
        padding: 0 20px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-card.large {
        grid-template-columns: 1fr;
    }
    
    .featured-card-image {
        min-height: 220px;
    }
    
    .featured-card.large .featured-card-image {
        min-height: 240px;
    }
    
    .featured-card.large .featured-card-content {
        padding: 28px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-section,
    .latest-section,
    .writers-section,
    .about-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 36px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-title {
        font-size: 28px;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .about-visual {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .about-card {
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
        padding: 20px;
    }
    
    .about-card i {
        font-size: 24px;
        margin-bottom: 0;
    }
    
    .about-card p {
        display: none;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 32px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .footer-inner {
        padding: 0 20px;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }
    
    .category-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .writer-card {
        flex: 0 0 180px;
    }
    
    .hero-quote {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 12px;
        letter-spacing: 3px;
    }
    
    .hero-desc {
        font-size: 14px;
    }
    
    .featured-card-title {
        font-size: 18px;
    }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--color-border-light) 25%, var(--color-bg-warm) 50%, var(--color-border-light) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Page transition */
.page-transition {
    animation: pageIn 0.6s ease forwards;
}

@keyframes pageIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
