* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9; /* Soft, clean gray background */
    color: #1f2937;
    line-height: 1.6;
}

/* Header Section */
.header {
    background: transparent;
    padding: 40px 20px 20px 20px;
    text-align: center;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 250px;
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    display: inline-block;
}

h1 {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0 5px 0;
    letter-spacing: 0.5px;
    color: #111827; /* Darker modern text instead of maroon */
}

.subtitle {
    display: none;
}

/* Main Container */
.container {
    max-width: 1600px; /* Increased to give enough space for 4 columns */
    margin: 0 auto;
    padding: 20px 30px 50px 30px;
    min-height: calc(100vh - 200px);
}

.years-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.featured-container {
    column-count: auto;
    min-height: auto;
    padding-bottom: 0;
}

.featured-container .cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

/* Section Title */
.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827; /* Darker modern text */
    margin: 30px 0 20px 0;
    text-align: center;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 10px;
    break-after: avoid;
}

.section-title:first-child {
    margin-top: 0;
}

/* Grid Layout */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
    break-inside: avoid;
}

/* Card Styles */
.card {
    height: 120px;
    background: #ffffff;
    border-radius: 12px;
    padding: 15px 18px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: 1px solid #f3f4f6;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 15px;
    row-gap: 4px;
    align-items: center;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    border-color: #e5e7eb;
}

/* Card Icon Box */
.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #8b0000 0%, #660000 100%); /* Premium Maroon Gradient */
    color: #ffffff;
    border-radius: 12px; /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / span 2;
    grid-column: 1;
    margin: 0;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(139, 0, 0, 0.25);
}

.card-icon img {
    max-width: 100%;
}

/* Card Content */
.card-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
    align-self: end;
}

.card-description {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-link {
    display: none;
}

/* Footer Section */
.footer {
    padding: 20px;
    text-align: center;
    margin-top: 30px;
    color: #6b7280;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    margin: 3px 0;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .years-container {
        grid-template-columns: 1fr;
    }
    .featured-container .cards-grid {
        grid-template-columns: 1fr;
    }
    .header {
        padding: 30px 15px 10px 15px;
    }
    h1 {
        font-size: 26px;
    }
    .card {
        padding: 16px 20px;
        grid-template-columns: 1fr; /* Stack icon and text on very small phones if needed */
        text-align: center;
    }
    .card-icon {
        grid-row: 1;
        grid-column: 1;
        margin: 0 auto 10px auto;
    }
    .card-title {
        grid-column: 1;
        grid-row: 2;
    }
    .card-description {
        grid-column: 1;
        grid-row: 3;
    }
}
