/*
Theme: ClearType
Font: Inter
Tone: Informative & Straightforward
*/

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

/* --- CSS Variables --- */
:root {
    --primary-color: #2a6f97; /* Muted Blue */
    --secondary-color: #013a63; /* Dark Blue */
    --accent-color: #468faf; /* Lighter Blue */
    --background-color: #f8f9fa;
    --surface-color: #ffffff;
    --text-color: #212529;
    --muted-text-color: #6c757d;
    --border-color: #dee2e6;

    --font-family: 'Inter', sans-serif;
    --header-font-weight: 700;
    --body-font-weight: 400;
    --bold-font-weight: 600;

    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-weight: var(--body-font-weight);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--header-font-weight);
    line-height: 1.3;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.25rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

li {
    margin-bottom: 0.5rem;
}

strong {
    font-weight: var(--bold-font-weight);
    color: var(--secondary-color);
}

/* --- Layout --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-layout {
    display: grid;
    gap: 2rem;
    padding: 2rem 0;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--surface-color);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--box-shadow);
}

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

.site-title {
    font-size: 1.75rem;
    margin: 0;
}

.site-title a {
    color: var(--secondary-color);
    font-weight: var(--header-font-weight);
}

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

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

.main-nav a {
    font-weight: var(--bold-font-weight);
    padding: 0.5rem 0;
    color: var(--text-color);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}
.main-nav a:hover {
    text-decoration: none;
}


/* --- Hero Section --- */
.hero {
    background-color: var(--primary-color);
    color: var(--surface-color);
    padding: 4rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.hero h1 {
    color: var(--surface-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --- Articles Section --- */
.articles-grid {
    display: grid;
    gap: 1.5rem;
}

.article-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.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 h2 {
    font-size: 1.4rem;
    margin-top: 0;
}

.article-card-content h2 a {
    color: var(--secondary-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(--surface-color);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: var(--bold-font-weight);
    text-align: center;
    transition: background-color var(--transition-speed);
    margin-top: auto;
}

.read-more-btn:hover {
    background-color: var(--secondary-color);
    color: var(--surface-color);
    text-decoration: none;
}

/* --- Sidebar --- */
.sidebar-widget {
    background-color: var(--surface-color);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--box-shadow);
}

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

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

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

.sidebar-widget ul li a {
    font-weight: var(--body-font-weight);
}

.sidebar-promo-text {
    background-color: #e7f0f5;
    padding: 1rem;
    border-radius: var(--border-radius);
    font-style: italic;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color);
    color: var(--surface-color);
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
}

.footer-content p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

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

.footer-links a {
    color: var(--surface-color);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* --- Article Page Specifics --- */
.article-full-content {
    background-color: var(--surface-color);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

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

.article-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: var(--muted-text-color);
    font-style: italic;
}

.article-full-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    margin: 1.5rem 0;
    box-shadow: var(--box-shadow);
}

.cta-section {
    background-color: #e7f0f5;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
    border: 2px dashed var(--primary-color);
}

.cta-section h3 {
    font-size: 1.8rem;
}

.logo-img {
    height: 25px;
    width: auto;
    vertical-align: middle;
    margin-right: 5px;
}

/* --- Offers, About, Contact Pages --- */
.page-header {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.8rem;
}

.content-section {
    margin-bottom: 2rem;
}

.offer-category {
    margin-bottom: 2rem;
}

.offer-category h2 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.offer-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    list-style: none;
    padding-left: 0;
}

.offer-list li a {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--surface-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.offer-list li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.07);
    text-decoration: none;
}

.contact-info p {
    font-size: 1.1rem;
}

/* --- Responsive Design --- */

/* Mobile first is default */

/* Tablet breakpoint */
@media (min-width: 768px) {
    .main-layout {
        grid-template-columns: 2fr 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Desktop breakpoint */
@media (min-width: 1024px) {
    .main-layout {
        grid-template-columns: 3fr 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.75rem; }
}
