/* RESET & GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f6f9fc;
    color: #1a2c3e;
    line-height: 1.6;
    font-size: 1.1rem;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 32px;
}

/* HEADER */
.main-header {
    background-color: #ffffffdf;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.02);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: 32px;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-decoration: none;
    color: #0a2b3e;
}
.logo span {
    color: #e67e22;
    font-weight: 800;
}

.main-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
}
.main-nav a {
    text-decoration: none;
    font-weight: 500;
    color: #2c4b66;
    transition: color 0.2s;
}
.main-nav a:hover {
    color: #e67e22;
}

/* HERO */
.hero {
    background: linear-gradient(135deg, #e9f2f9 0%, #ffffff 100%);
    padding: 80px 0;
    margin-bottom: 40px;
    border-radius: 0 0 48px 48px;
}
.hero-content {
    max-width: 800px;
}
.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #0f2c3d;
}
.hero p {
    font-size: 1.3rem;
    color: #3a5a74;
    margin-bottom: 32px;
}
.btn-primary {
    background: #e67e22;
    color: white;
    padding: 14px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(230,126,34,0.2);
}
.btn-primary:hover {
    background: #cf711f;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(230,126,34,0.25);
}

/* SECTION HEADER */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 12px;
    color: #1e3a4d;
}
.section-header p {
    color: #5c7c8e;
    font-size: 1.2rem;
}

/* GRID CARDS */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin: 40px 0 60px;
}
.article-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 15px 30px -12px rgba(0,0,0,0.08);
    text-decoration: none;
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -12px rgba(0,0,0,0.2);
}
.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s;
}
.article-card:hover img {
    transform: scale(1.02);
}
.card-content {
    padding: 24px;
}
.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.3;
}
.card-content h3 a {
    text-decoration: none;
    color: #1e3a4d;
    transition: color 0.2s;
}
.card-content h3 a:hover {
    color: #e67e22;
}
.card-content p {
    color: #4a6a7e;
    margin-bottom: 20px;
}
.read-more {
    font-weight: 600;
    color: #e67e22;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
.read-more:hover {
    gap: 12px;
}

/* ARTICLE PAGE LAYOUT */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) 1fr;
    gap: 48px;
    margin: 48px auto;
}
.article-main {
    background: white;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.04);
}
.article-main h1 {
    font-size: 2.4rem;
    margin-bottom: 24px;
    line-height: 1.25;
}
.article-main h2 {
    font-size: 1.8rem;
    margin: 32px 0 16px;
    padding-left: 12px;
    border-left: 4px solid #e67e22;
}
.article-main h3 {
    font-size: 1.4rem;
    margin: 24px 0 12px;
}
.article-main p {
    margin-bottom: 1.2rem;
}
.article-main ul, .article-main ol {
    margin: 1rem 0 1.5rem 1.8rem;
}
.article-main img {
    width: 100%;
    border-radius: 24px;
    margin: 24px 0;
    box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}
/* Sidebar */
.sidebar {
    background: #fefcf8;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    border: 1px solid #edede7;
    position: sticky;
    top: 110px;
    height: fit-content;
}
.sidebar h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #e67e22;
    display: inline-block;
}
.other-articles {
    list-style: none;
    margin: 20px 0;
}
.other-articles li {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eae6dd;
}
.other-articles li a {
    text-decoration: none;
    font-weight: 500;
    color: #2c4b66;
    transition: 0.2s;
}
.other-articles li a:hover {
    color: #e67e22;
    padding-left: 6px;
}
.ad-placeholder {
    background: #f3f0ea;
    border-radius: 24px;
    padding: 32px 16px;
    text-align: center;
    margin: 28px 0;
    font-size: 0.9rem;
    color: #7a6e5a;
}

/* FOOTER */
.main-footer {
    background-color: #1a2c3e;
    color: #cfdfed;
    margin-top: 60px;
    border-radius: 32px 32px 0 0;
    padding: 48px 0 24px;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-about .logo {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.footer-about .logo span {
    color: #e67e22;
}
.footer-nav ul, .footer-contact p {
    list-style: none;
    margin-top: 12px;
}
.footer-nav li {
    margin-bottom: 10px;
}
.footer-nav a {
    color: #bfd4e3;
    text-decoration: none;
    transition: 0.2s;
}
.footer-nav a:hover {
    color: #e67e22;
}
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #2e4a62;
    font-size: 0.9rem;
}
@media (max-width: 900px) {
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; margin-top: 28px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; }
    .hero h1 { font-size: 2.3rem; }
    .container { padding: 0 20px; }
}
@media (max-width: 680px) {
    .articles-grid { gap: 24px; }
    .article-main { padding: 24px; }
}