/* Base & Reset */
:root {
  --primary-blue: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-light: #DBEAFE;
  --text-main: #1F2937;
  --text-muted: #4B5563;
  --bg-white: #FFFFFF;
  --bg-gray: #F9FAFB;
  --border-gray: #E5E7EB;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-family); color: var(--text-main); background: var(--bg-gray); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* Layout & Container */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header & Nav */
.site-header { background: var(--bg-white); border-bottom: 1px solid var(--border-gray); padding: 1rem 0; position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-blue); display: flex; align-items: center; gap: 0.5rem; }

/* Hero Section */
.hero { background: linear-gradient(to right, var(--bg-white), var(--primary-light)); padding: 4rem 0; text-align: center; }
.hero h1 { font-size: 2.25rem; font-weight: 800; color: var(--text-main); margin-bottom: 1rem; line-height: 1.2; }
.hero p { font-size: 1.125rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero .cta-button { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-blue); color: var(--bg-white); padding: 0.75rem 1.5rem; border-radius: var(--radius); font-weight: 600; font-size: 1.125rem; transition: background 0.3s ease; }
.hero .cta-button:hover { background: var(--primary-dark); }

/* Main Content area */
.main-content { padding: 4rem 0; background: var(--bg-gray); }

/* Article Grid */
.section-title { text-align: center; font-size: 2rem; margin-bottom: 3rem; color: var(--text-main); }
.articles-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card { background: var(--bg-white); border: 1px solid var(--border-gray); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1); }
.article-card img { width: 100%; height: 200px; object-fit: cover; }
.article-card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.article-card-content h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--text-main); line-height: 1.4; }
.article-card-content p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.5rem; flex-grow: 1; }
.article-card .read-more { color: var(--primary-blue); font-weight: 600; font-size: 0.875rem; display: inline-flex; align-items: center; gap: 0.25rem; margin-top: auto; }
.article-card .read-more:hover { color: var(--primary-dark); text-decoration: underline; }

/* Single Article Layout */
.article-page { background: var(--bg-white); }
.article-header { padding: 4rem 0 2rem; text-align: center; background: var(--bg-gray); }
.article-header .container { max-width: 800px; }
.article-header h1 { font-size: 2.25rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-main); line-height: 1.3; }
.article-hero-image { width: 100%; max-width: 1000px; max-height: 500px; object-fit: cover; margin: 0 auto 3rem; display: block; border-radius: var(--radius); box-shadow: var(--shadow); }

.article-body { max-width: 768px; margin: 0 auto; padding: 0 1.5rem 4rem; }
.article-body h2 { font-size: 1.75rem; font-weight: 700; margin: 2rem 0 1rem; color: var(--text-main); }
.article-body p { margin-bottom: 1.5rem; font-size: 1.125rem; color: var(--text-muted); }

/* Mandatory CTA Section */
.cta-section { background: var(--primary-light); border-radius: var(--radius); padding: 3rem 2rem; text-align: center; margin-top: 4rem; border: 1px solid var(--border-gray); }
.cta-section h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; color: var(--primary-dark); margin-top: 0; }
.cta-section p { font-size: 1.125rem; color: var(--text-main); margin-bottom: 2rem; }
.cta-section .cta-button { display: inline-block; background: var(--primary-blue); color: var(--bg-white); padding: 0.875rem 2rem; border-radius: var(--radius); font-weight: 600; font-size: 1.125rem; transition: background 0.3s ease; }
.cta-section .cta-button:hover { background: var(--primary-dark); }

/* Footer */
.site-footer { background: var(--text-main); color: var(--bg-white); padding: 3rem 0; text-align: center; }
.site-footer p { color: #9CA3AF; font-size: 0.875rem; }
