/* ---
   Theme: Magazine / Editorial
   Font: Roboto Slab
   Primary Color (Accent): #0d47a1 (Deep Blue)
   Text Color: #1a1a1a (Very Dark Gray)
   Subtle Text Color: #5c5c5c (Medium Gray)
   Background Color: #ffffff (White)
   Header/Footer Background: #1a1a1a (Very Dark Gray)
   Border Color: #e0e0e0 (Light Gray)
   --- */

/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=Source+Sans+Pro:wght@400;600&display=swap');

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

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #ffffff;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1.5rem; }

a {
    color: #0d47a1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1565c0;
    text-decoration: underline;
}

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

/* --- Layout & Container --- */
.container {
    max-width: 1200px;
    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: 2.5fr 1fr;
    }
}

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

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

.site-title {
    font-family: 'Roboto Slab', serif;
    font-size: 1.75rem;
    font-weight: 700;
}

.site-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.main-nav a {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
    padding-bottom: 0.25rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #bbdefb;
    text-decoration: none;
}

/* --- Main Content & Articles --- */
.page-intro {
    text-align: center;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
}

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

.page-intro p {
    font-size: 1.25rem;
    color: #5c5c5c;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #0d47a1;
    display: inline-block;
}

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

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

.article-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.card-content h3 {
    margin-top: 0;
    font-size: 1.3rem;
    flex-grow: 1;
}

.card-content h3 a {
    color: #1a1a1a;
}
.card-content h3 a:hover {
    color: #0d47a1;
    text-decoration: none;
}

.card-content p {
    color: #5c5c5c;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    background-color: #0d47a1;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #1976d2;
    color: #ffffff;
    text-decoration: none;
}

/* Article Page Specifics */
.article-full {
    background: #ffffff;
}

.article-header {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
}

.article-meta {
    color: #5c5c5c;
    font-size: 0.9rem;
    margin-top: 1rem;
    font-weight: 600;
}

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

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

.article-content ol, .article-content ul {
    padding-left: 2rem;
}

.cta-section {
    background-color: #e3f2fd;
    border-left: 5px solid #0d47a1;
    padding: 2rem;
    margin: 3rem 0;
}

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

.sidebar-widget h4 {
    border-bottom: 1px solid #e0e0e0;
    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;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.75rem;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-widget ul li a {
    color: #1a1a1a;
    font-weight: 600;
}

.sidebar-widget ul li a:hover {
    color: #0d47a1;
}

.sidebar-widget p {
    font-size: 0.95rem;
    color: #5c5c5c;
}

/* --- Footer --- */
.site-footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: 1200px;
    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: #a0a0a0;
    font-size: 0.9rem;
}

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

/* --- Contact & Offers Pages --- */
.page-content-wrapper {
    background: #f7f7f7;
    padding: 2.5rem;
    border: 1px solid #e0e0e0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form label {
    font-family: 'Roboto Slab', serif;
    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 #e0e0e0;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1rem;
    color: #1a1a1a;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0d47a1;
    box-shadow: 0 0 0 3px rgba(13, 71, 161, 0.15);
}

.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 #e0e0e0;
    padding-bottom: 0.75rem;
}

.offers-list ul {
    list-style-type: none;
    padding-left: 0;
}

.offers-list ul li {
    font-size: 1.1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}
