@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary: #c92c2c;
    --secondary: #222;
    --bg: #f8f9fa;
    --surface: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #555;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border: #e2e8f0;
    --font-header: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.top-nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #eee;
}

.top-nav-links a {
    margin-right: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
    text-decoration: none;
    color: inherit;
    text-transform: uppercase;
}

.top-nav-links a:hover {
    color: var(--primary);
}

.logo-area {
    text-align: center;
    padding: 2rem 0;
}

.logo-text {
    font-family: var(--font-header);
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--secondary);
}

.logo-text span {
    color: var(--primary);
    position: relative;
}

.logo-text span:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    opacity: 0.2;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 550px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.hero:hover img {
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    right: 5%;
    bottom: 10%;
    width: 450px;
    background: rgba(255, 255, 255, 0.98);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-meta {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-meta img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-right: 10px;
}

.hero-title {
    font-family: var(--font-header);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.btn-read {
    background: var(--secondary);
    color: white;
    padding: 1rem 2rem;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-read:hover {
    background: var(--primary);
    transform: translateX(10px);
}

/* Featured Boxes */
.featured-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.f-box {
    display: flex;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
    text-decoration: none;
    color: inherit;
}

.f-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: #eee;
}

.f-box i, .f-box svg {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    color: var(--primary);
}

/* News List */
.main-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 3px solid #eee;
    padding-bottom: 0.8rem;
}

.section-header h2 {
    font-family: var(--font-header);
    font-size: 1.8rem;
    position: relative;
    color: var(--secondary);
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.news-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
}

.news-thumb {
    width: 200px;
    height: 150px;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

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

.news-content h3 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--secondary);
    transition: color 0.2s;
}

.news-item:hover .news-content h3 {
    color: var(--primary);
}

.news-desc {
    color: var(--text-muted);
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar */
.aside-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.aside-card h3 {
    font-family: var(--font-header);
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.advice-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.advice-num {
    background: var(--bg);
    color: var(--primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

.advice-content strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.advice-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

footer {
    background: var(--secondary);
    color: white;
    padding: 5rem 10%;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-header);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

@media (max-width: 900px) {
    .main-grid { grid-template-columns: 1fr; }
    .hero-overlay { width: 90%; right: 5%; bottom: 5%; padding: 1.5rem; }
    .featured-boxes { grid-template-columns: 1fr; }
}
