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

:root {
    --primary-color: #007BFF;
    --secondary-color: #f4f4f9;
    --text-color: #333;
    --light-gray-color: #ddd;
    --white-color: #fff;
    --dark-color: #222;
    --font-family: 'Inter', sans-serif;
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.7;
    background-color: var(--white-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

ul {
    list-style-type: none;
}

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

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--white-color);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--secondary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.site-title a {
    color: inherit;
}

.site-title a:hover {
    text-decoration: none;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-color);
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* --- Main Content Layout --- */
.main-content {
    flex: 1;
    padding: 2.5rem 0;
}

.page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .page-layout {
        grid-template-columns: 3fr 1fr;
    }
}

/* --- Articles --- */
.articles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 992px) {
    .articles-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .full-width .articles-list {
         grid-template-columns: repeat(3, 1fr);
    }
}


.article-card {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--secondary-color);
    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 20px rgba(0, 0, 0, 0.08);
}

.article-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-content h2 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.article-card-content h2 a {
    color: var(--text-color);
}
.article-card-content h2 a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.article-card-content p {
    flex-grow: 1;
}

.read-more-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 700;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #0056b3;
    color: var(--white-color);
    text-decoration: none;
}

/* --- Single Article Page --- */
.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray-color);
    padding-bottom: 1.5rem;
}

.article-meta {
    font-size: 0.9rem;
    color: #666;
    margin-top: -0.5rem;
}

.article-content h2 {
    margin-top: 2rem;
}

.article-content h3 {
    margin-top: 1.5rem;
}

.article-content ul, .article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.cta-section {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: center;
    border-left: 5px solid var(--primary-color);
}
.cta-section h3 {
    color: var(--primary-color);
}

/* --- Sidebar --- */
.sidebar-widget {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--light-gray-color);
}

.sidebar-widget ul li {
    margin-bottom: 0.75rem;
}

.sidebar-widget ul li a {
    font-weight: 400;
}

.sidebar-promo p {
    font-size: 0.95rem;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-color);
    color: #ccc;
    padding: 2.5rem 0;
    margin-top: auto;
}

.site-footer a {
    color: var(--white-color);
}

.site-footer a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

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

.footer-links ul {
    display: flex;
    gap: 1rem;
}

/* --- Specific Page Styles --- */
.intro-section {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2.5rem;
    background: var(--secondary-color);
    border-radius: 8px;
}

.intro-section h1 {
    margin-bottom: 0.5rem;
}
.intro-section p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

.page-header {
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}
.page-header h1 {
    color: var(--dark-color);
}

.about-content, .contact-content {
    background: var(--white-color);
    padding: 2rem;
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
}
.contact-content p {
    font-size: 1.1rem;
}
.contact-content strong {
    color: var(--dark-color);
}
    