:root {
    --terracotta: #e2725b;
    --burnt-orange: #d96c3a;
    --sage-green: #8fbc8f;
    --cream: #faf8f5;
    --warm-gray: #8b7355;
    --charcoal: #2d2926;
    --deep-brown: #4a3728;
    --soft-yellow: #f5e6d3;
    --coral: #ff7f50;
    --olive: #6b8e23;
    --gradient-sunset: linear-gradient(135deg, #e2725b 0%, #d96c3a 50%, #ff7f50 100%);
    --gradient-forest: linear-gradient(135deg, #8fbc8f 0%, #6b8e23 100%);
    --shadow-sm: 0 2px 8px rgba(45, 41, 38, 0.08);
    --shadow-md: 0 4px 16px rgba(45, 41, 38, 0.12);
    --shadow-lg: 0 8px 32px rgba(45, 41, 38, 0.16);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-full: 50%;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--cream);
    color: var(--charcoal);
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--charcoal);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--terracotta);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo span {
    color: var(--sage-green);
}

nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Arial', sans-serif;
    position: relative;
    transition: color var(--transition-fast);
    padding: 8px 0;
}

nav a:hover,
nav a.active {
    color: var(--terracotta);
}

nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-sunset);
    transition: width var(--transition-fast);
}

nav a:hover::before,
nav a.active::before {
    width: 100%;
}

.search-box {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-fast);
}

.search-box:focus-within {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--terracotta);
}

.search-box input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 14px;
    width: 160px;
    padding: 5px;
    font-family: inherit;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-box button {
    background: var(--gradient-sunset);
    border: none;
    color: white;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.search-box button:hover {
    transform: scale(1.1);
}

main {
    padding: 35px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-main {
    background: var(--gradient-sunset);
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: white;
    position: relative;
}

.hero-main::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-main-content {
    padding: 45px;
    position: relative;
    z-index: 1;
}

.hero-main-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.hero-main-title {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-main-title a {
    color: white;
    text-decoration: none;
}

.hero-main-summary {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 22px;
    max-width: 500px;
}

.hero-main-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    opacity: 0.8;
    font-family: 'Arial', sans-serif;
}

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-side-item {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.hero-side-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.hero-side-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.hero-side-content {
    padding: 18px;
}

.hero-side-category {
    display: inline-block;
    background: rgba(143, 188, 143, 0.15);
    color: var(--olive);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.hero-side-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.4;
}

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

.hero-side-time {
    font-size: 11px;
    color: var(--warm-gray);
    margin-top: 8px;
    font-family: 'Arial', sans-serif;
}

.featured-section {
    margin-bottom: 40px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--charcoal);
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--gradient-sunset);
}

.section-link {
    color: var(--terracotta);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.featured-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
}

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

.featured-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.featured-content {
    padding: 20px;
}

.featured-category {
    display: inline-block;
    background: rgba(217, 108, 58, 0.1);
    color: var(--burnt-orange);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 12px;
}

.featured-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.featured-summary {
    font-size: 14px;
    color: var(--warm-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--warm-gray);
    font-family: 'Arial', sans-serif;
}

.latest-section {
    background: var(--charcoal);
    padding: 45px 20px;
    margin-bottom: 40px;
}

.latest-section .section-title {
    color: white;
}

.latest-section .section-title::before {
    background: var(--sage-green);
}

.latest-section .section-link {
    color: var(--sage-green);
}

.latest-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.latest-item {
    display: flex;
    gap: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.latest-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.latest-image {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.latest-content {
    display: flex;
    flex-direction: column;
}

.latest-category {
    display: inline-block;
    background: rgba(226, 114, 91, 0.2);
    color: var(--terracotta);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    align-self: flex-start;
    margin-bottom: 10px;
}

.latest-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
    line-height: 1.4;
}

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

.latest-summary {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
    margin-bottom: 12px;
}

.latest-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Arial', sans-serif;
}

.maylike-section {
    margin-bottom: 40px;
}

.maylike-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.maylike-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border-top: 4px solid var(--terracotta);
}

.maylike-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.maylike-image {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.maylike-content {
    padding: 15px;
}

.maylike-category {
    display: inline-block;
    background: rgba(107, 142, 35, 0.1);
    color: var(--olive);
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 600;
    margin-bottom: 8px;
}

.maylike-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.4;
}

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

.article-detail {
    max-width: 850px;
    margin: 0 auto;
    padding: 40px 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--warm-gray);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Arial', sans-serif;
    margin-bottom: 30px;
    transition: color var(--transition-fast);
}

.back-link:hover {
    color: var(--terracotta);
}

.detail-category {
    display: inline-block;
    background: var(--gradient-sunset);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.detail-title {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--charcoal);
}

.detail-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--warm-gray);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(139, 115, 85, 0.2);
    font-family: 'Arial', sans-serif;
}

.detail-author {
    color: var(--charcoal);
    font-weight: 600;
}

.detail-image {
    width: 100%;
    max-height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 35px;
    box-shadow: var(--shadow-md);
}

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

.detail-content {
    font-size: 17px;
    line-height: 1.9;
    color: var(--deep-brown);
}

.detail-content p {
    margin-bottom: 25px;
}

.detail-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--charcoal);
}

.detail-content blockquote {
    border-left: 4px solid var(--terracotta);
    padding: 20px 25px;
    margin: 30px 0;
    background: var(--soft-yellow);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    font-size: 18px;
    color: var(--deep-brown);
}

.search-results {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.search-header {
    margin-bottom: 40px;
}

.search-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--charcoal);
}

.search-header p {
    font-size: 16px;
    color: var(--warm-gray);
    font-family: 'Arial', sans-serif;
}

.search-query {
    color: var(--terracotta);
    font-weight: 600;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}

.no-results h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--charcoal);
}

.no-results p {
    font-size: 16px;
    color: var(--warm-gray);
    margin-bottom: 25px;
}

.no-results a {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 600;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--charcoal);
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 35px 0 15px;
    color: var(--charcoal);
}

.page-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: var(--charcoal);
}

.page-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--deep-brown);
    margin-bottom: 18px;
}

.page-content ul,
.page-content ol {
    margin-left: 30px;
    margin-bottom: 18px;
}

.page-content li {
    font-size: 16px;
    color: var(--deep-brown);
    margin-bottom: 10px;
}

.page-content strong {
    color: var(--charcoal);
}

.page-content a {
    color: var(--terracotta);
    text-decoration: none;
}

footer {
    background: var(--charcoal);
    color: white;
    padding: 50px 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--terracotta);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-family: 'Arial', sans-serif;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--sage-green);
}

.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Arial', sans-serif;
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 15px;
    }

    .search-box input {
        width: 120px;
    }

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

    .hero-main-title {
        font-size: 32px;
    }

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

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

    .latest-image {
        width: 100%;
        height: 180px;
    }

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

    .detail-title {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        order: 2;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 26px;
    }

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

    .detail-title {
        font-size: 24px;
    }
}