/* ---
   Theme: Minimalist Clean
   Font: Inter
   Primary Color (Accent): #2563eb (A calm blue)
   Text Color: #1f2937 (Dark Gray)
   Subtle Text Color: #6b7280 (Medium Gray)
   Background Color: #f9fafb (Very Light Gray)
   Card/Header Background: #ffffff (White)
   Border Color: #e5e7eb (Light Gray)
   --- */

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

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1f2937;
    background-color: #f9fafb;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #111827;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1.5rem; }

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content-area {
    flex: 1;
}

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

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

/* --- Header & Navigation --- */
.site-header {
    background-color: #ffffff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.site-title a {
    color: #111827;
    text-decoration: none;
}

.site-title a:hover {
    color: #2563eb;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 400;
    color: #374151;
    font-size: 1rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.main-nav a:hover {
    color: #2563eb;
    text-decoration: none;
    border-bottom-color: #2563eb;
}

/* --- Main Content & Articles --- */
.page-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.page-intro h1 {
    margin-bottom: 1.5rem;
}

.page-intro p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

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

.article-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    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 rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.card-content h3 a {
    color: #111827;
}
.card-content h3 a:hover {
    color: #2563eb;
    text-decoration: none;
}

.card-content p {
    flex-grow: 1;
    color: #6b7280;
}

.btn {
    display: inline-block;
    background-color: #2563eb;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    text-align: center;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    text-decoration: none;
}

/* Article Page Specifics */
.article-full {
    background: #ffffff;
    padding: 3rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.article-header {
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    text-align: center;
}

.article-meta {
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 1.5rem;
}

.article-content h2 {
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.article-content h3 {
    margin-top: 2rem;
    color: #111827;
}

.cta-section {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
    border-radius: 8px;
}

/* --- Sidebar --- */
.sidebar-widget {
    background-color: #ffffff;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.sidebar-widget h4 {
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

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

.sidebar-widget ul li a {
    color: #374151;
}

.sidebar-widget p {
    font-size: 0.95rem;
    color: #6b7280;
}

/* --- Footer --- */
.site-footer {
    background-color: #ffffff;
    color: #6b7280;
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #6b7280;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #2563eb;
}

/* --- Contact Page & Offers Page --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form label {
    font-weight: 700;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background-color: #f9fafb;
    color: #1f2937;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.offers-list h2 {
    margin-top: 2.5rem;
    font-size: 1.75rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 0.75rem;
}
.offers-list ul {
    list-style-type: '—';
    padding-left: 1.5rem;
}

.offers-list ul li {
    padding-left: 0.75rem;
    margin-bottom: 0.5rem;
}