body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #343a40;
}

.container {
    width: 90%;
    max-width: 960px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

header {
    background-color: #212529;
    color: #ffffff;
    padding: 2.5rem 0;
    text-align: center;
    border-bottom: 5px solid #dc3545;
}

header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem; /* Increased from 3.5rem */
    margin: 0;
    font-weight: 700;
}

header .subtitle {
    font-size: 1.2rem;
    margin-top: 0.5rem;
    color: #adb5bd;
}

#intro {
    background-color: #ffffff;
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-align: center;
    border: 1px solid #dee2e6;
}

#intro h2 {
    font-family: 'Playfair Display', serif;
    color: #dc3545;
    margin-top: 0;
}


#articles {
    padding: 20px 0;
    margin-top: 1rem;
}

.article-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    border: 1px solid #dee2e6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.article-card img {
    width: 300px; /* Fixed width */
    height: auto;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #212529;
}

.article-content p {
    margin-bottom: 1rem;
    flex-grow: 1; /* Pushes the link to the bottom */
}

.article-content .source-intro {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.source-link {
    display: inline-block;
    background-color: #dc3545;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Aligns button to the left */
}

.source-link:hover {
    background-color: #c82333;
}

footer {
    background: #212529;
    color: #adb5bd;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 1.0rem;
}



/* Responsive Design */
@media(max-width: 768px) {
    .article-card {
        flex-direction: column;
    }

    .article-card img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
}

/* --- Styling for Clickable Article Cards --- */

/* 1. This is the main fix: Reset the link wrapper */
.article-link-wrapper {
    text-decoration: none !important; /* Removes the underline */
    color: inherit !important;       /* Prevents text from turning blue/purple */
    display: block;                  /* Ensures the link takes up the full card space */
    margin-bottom: 2rem;
}

/* 2. Add a hover effect to the card itself */
.article-link-wrapper:hover .article-card {
    cursor: pointer;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}



/* 4. Style the "View Source" text to look like a button again */
.article-card .source-link {
    display: inline-block;
    background-color: #dc3545;
    color: #ffffff;  /* This specifically keeps the button text white */
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    margin-top: 1rem;
    align-self: flex-start;
}

/* --- Styling for the COMPACT Contact Section --- */

#intro .contact-box-compact {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem; /* Reduced padding */
    margin-top: 1.5rem;
}

.contact-box-compact .contact-line {
    display: flex;
    align-items: center;
    padding: 0.5rem 0; /* Reduced padding */
    font-size: 1rem;
}

/* Add a border between the lines */
.contact-box-compact .contact-line + .contact-line {
    border-top: 1px solid #e9ecef;
}

.contact-box-compact strong {
    flex-basis: 100px; /* Gives the labels a fixed width */
    flex-shrink: 0; /* Prevents the label from shrinking */
    color: #495057;
}

/* Styling for the clickable phone number */
.contact-box-compact a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
}

.contact-box-compact a:hover {
    text-decoration: underline;
}

/* --- Styling for the NEW Compact Contact Section --- */

#contact-action-box {
    background-color: #ffffff;
    border: 2px solid #dc3545; /* Eye-catching red border */
    border-radius: 8px;
    padding: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem; /* Added margin to separate from articles */
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem; /* Space between icon and text */
    margin-bottom: 1rem;
}

.contact-header svg {
    width: 2.5rem; /* Control size of the icon */
    height: 2.5rem;
    stroke: #dc3545; /* Match icon color to the theme */
}

#contact-action-box h2 {
    font-family: 'Playfair Display', serif;
    color: #212529; /* Darker text for contrast */
    margin: 0;
    font-size: 2rem;
}

#contact-action-box p {
    font-size: 1.1rem;
    color: #495057;
    max-width: 600px;
    margin: 0 auto 1.5rem auto; /* Center the paragraph */
}

.contact-details {
    background-color: #f8f9fa; /* Light grey background */
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem 1.5rem;
    text-align: left; /* Align text left for readability */
    max-width: 500px; /* Constrain width for a compact feel */
    margin: auto; /* Center the details box */
}

.contact-details .contact-line {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 1rem;
}

/* Add a separator line between contact methods */
.contact-details .contact-line + .contact-line {
    border-top: 1px solid #e9ecef;
}

.contact-details strong {
    flex-basis: 100px; /* Fixed width for labels */
    flex-shrink: 0;
    color: #343a40;
}

.contact-details a {
    color: #0056b3; /* A more standard link blue */
    text-decoration: none;
    font-weight: 700;
}

.contact-details a:hover {
    text-decoration: underline;
}


/* --- Floating Contact Button (Updated) --- */
.floating-contact-btn {
    position: fixed;
    bottom: 25px; /* Adjusted slightly for the larger size */
    right: 25px;  /* Adjusted slightly for the larger size */
    background-color: #dc3545;
    color: #ffffff;
    width: 70px;  /* Increased from 60px */
    height: 70px; /* Increased from 60px */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25); /* Slightly stronger shadow */
    z-index: 1000;
    transition: transform 0.2s ease-in-out, background-color 0.2s ease;
}

.floating-contact-btn:hover {
    background-color: #c82333;
    transform: scale(1.1);
}

/* Style for the icon inside the button */
.floating-contact-btn svg {
    width: 36px;  /* Increased from 32px */
    height: 36px; /* Increased from 32px */
}

/* --- Styling for the NEW Header Contact Button --- */

.header-contact-btn {
    display: inline-block;
    background-color: #dc3545;
    color: #ffffff;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 1.5rem;  /* Adds space between the button and the subtitle */
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-contact-btn:hover {
    background-color: #c82333; /* Darker red on hover */
    transform: translateY(-2px); /* Slight lift on hover */
    color: #ffffff; /* Ensures text stays white */
}