/* Core Theme Variables */
:root {
    --navy-blue: #001f3f;
    --orange-accent: #ff8c00;
    --light-blue-bg: #eaf2fa; /* Soft light blue shade for cards */
    --text-black: #1a1a1a;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

.content-grid-section {
    max-width: 1300px;
    margin: 40px auto;
    font-family: 'Inter', sans-serif;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: 2fr 1fr; 
    gap: 30px;
}

.main-articles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

/* Card General Styling */
.card {
    background-color: var(--light-blue-bg);
    border-radius: 16px; /* Soft rounded corners for the cards */
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 31, 63, 0.05); /* Subtle navy shadow */
    border: 1px solid #d4e3f3;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 25px rgba(0, 31, 63, 0.12);
    background-color: var(--white); /* Brightens on hover */
}

/* --------------------------------------
   Small, Rounded Button Styling 
--------------------------------------- */
.btn-read-more {
    display: inline-block;
    background-color: var(--orange-accent);
    color: var(--white);
    padding: 6px 16px; /* Reduced padding for a smaller button */
    font-size: 12px; /* Smaller font */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 30px; /* High value for perfectly round "pill" corners */
    text-decoration: none;
    text-align: center;
    align-self: flex-start; /* Prevents the button from stretching across the card */
    margin-top: auto; /* Pushes button to the bottom of the card */
    transition: var(--transition);
    border: 2px solid var(--orange-accent);
}

.btn-read-more:hover {
    background-color: var(--navy-blue);
    border-color: var(--navy-blue);
    color: var(--white);
    transform: scale(1.05); /* Slight pop effect on hover */
}

/* Large Cards */
.card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.25rem;
    color: var(--navy-blue); /* Headings in Navy Blue */
    margin-bottom: 12px;
    font-weight: 800;
    line-height: 1.4;
}

.card-text {
    font-size: 14px;
    color: var(--text-black); /* Body text in Black */
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Sidebar Specifics */
.side-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.small-card {
    padding: 20px;
}

.small-title {
    color: var(--navy-blue);
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
}

.author, .card-text-short {
    font-size: 13px;
    color: var(--text-black);
    margin-bottom: 15px;
    line-height: 1.5;
}

.card-meta {
    font-size: 12px;
    color: var(--text-black);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .grid-container { grid-template-columns: 1fr; }
    .main-articles { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 650px) {
    .main-articles { grid-template-columns: 1fr; }
}