/* --- CSS Variables (Design System) --- */
:root {
    --bg-primary: #f5f0e8;
    --bg-surface: #fdfcf7;
    --bg-search: #efe3d4;
    --text-primary: #433e49;
    --text-secondary: rgb(24, 113, 159);
    --accent-blue: #01264c;
    --accent-yellow: rgb(248, 207, 56);
    --accent-red: #440d0f;
    --border-light: rgba(0, 0, 0, 0.1);

    --font-serif: "EB Garamond", Georgia, serif;
    --font-sans:
        "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;

    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
}
h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}
h3 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}
h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent-yellow);
}

a:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* --- Header --- */
header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-light);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); /* Subtle default shadow */
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center; /* Vertically align the logo and the text container */
    gap: 10px; /* Space between logo and text */
}

.logo a {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: flex; /* Make it a flex container to align items */
    align-items: center; /* Vertically align items */
    text-decoration: none; /* Remove underline from the main title */
}

.navbar-logo {
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
    margin-right: 10px; /* Space between logo and text */
    vertical-align: middle; /* Align with text baseline */
    flex-shrink: 0; /* Prevent logo from shrinking */
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2; /* Adjust line height for stacked text */
}

.logo a .tagline {
    /* Select the tagline specifically inside the a tag after logo-text */
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    font-weight: 600;
    white-space: nowrap; /* Prevent tagline from wrapping */
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: width var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto; /* Push to the right */
}

.search-form {
    background: var(--bg-search);
    border-radius: 24px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-form input {
    background: transparent;
    border: none;
    font-size: 0.95rem;
    width: 120px; /* Start with a slightly smaller width */
    font-family: var(--font-sans);
    color: var(--text-primary);
    transition: width 0.3s ease; /* Add transition for smooth expansion */
}

.search-form:focus-within input {
    width: 180px; /* Expand width on focus */
}

.search-form input::placeholder {
    color: var(--text-secondary);
}

.search-form input:focus {
    outline: none;
}

.search-icon {
    font-size: 1.1rem; /* Adjust as needed */
    opacity: 0.6;
    cursor: pointer;
    border: none; /* Remove border */
    background: transparent; /* Ensure background is transparent if button has one */
}

.btn-login {
    background: #01264c;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
    font-size: 0.95rem;
}

.btn-login:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 107, 83, 0.2);
    color: #01264C;
}

.btn-login:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* --- Mobile Menu --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-wrapper {
        display: none; /* Hide by default */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-surface);
        padding: 2rem;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
        border-top: 1px solid var(--border-light);
    }
    .nav-wrapper.nav-open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    .header-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .search-form {
        width: 100%;
    }
    .search-form input {
        width: 100%;
    }
}

/* --- Site Intro Section --- */
.site-intro-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-search);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    gap: 2rem; /* Add gap for spacing when wrapped */
}

.site-intro-text {
    flex: 2; /* Allow text to take up more space */
    min-width: 300px; /* Prevent text from becoming too squished */
}

.site-intro-text h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.site-intro-text .tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.credibility-stats {
    display: flex;
    gap: 3rem; /* Space between stats */
    flex: 1; /* Allow stats to take available space */
    justify-content: flex-end; /* Align stats to the right */
    min-width: 250px; /* Prevent stats from becoming too squished */
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .site-intro-section {
        flex-direction: column; /* Stack vertically on small screens */
        text-align: center; /* Center text */
    }
    .credibility-stats {
        justify-content: center; /* Center stats */
        gap: 2rem;
        margin-top: 2rem;
    }
}

/* --- Hero Section Styles --- */
.hero-section {
    padding-top: 4rem; /* Increased padding */
    padding-bottom: 4rem; /* Increased padding */
    /* Optional: Add background or border here if needed for the whole section */
}

.hero-card {
    display: flex; /* Make it a flex container */
    flex-direction: row; /* Arrange children horizontally */
    gap: 2rem; /* Space between image and content */
    background: var(--bg-surface); /* Add background for the card */
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); /* More prominent shadow for hero */
    padding: 2rem; /* Add padding to the card */
    text-decoration: none; /* Remove underline from the entire card link */
    color: inherit; /* Inherit color for text inside */
    align-items: center; /* Vertically align items in the middle */
}

.hero-card:hover {
    box-shadow: 0 12px 32px rgba(0,0,0,0.15); /* Even more prominent hover shadow */
    transform: translateY(-5px);
}

.hero-card .card-image {
    flex: 0 0 45%; /* Image takes 45% width, fixed size */
    max-width: 500px; /* Max width for the image */
    height: auto;
    aspect-ratio: 16 / 9; /* Maintain a widescreen aspect ratio for the image */
    overflow: hidden;
    border-radius: 6px; /* Slightly rounded corners for the image */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Subtle shadow for the image */
}

.hero-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-card .card-content {
    flex: 1; /* Content takes remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Center content vertically */
    padding: 0; /* Remove padding here, it's on the parent hero-card now */
}

.hero-card .card-content .article-tags {
    margin-bottom: 1rem;
}

.hero-card .card-content h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem); /* Make title larger */
    line-height: 1.2;
    margin-bottom: 0.8rem;
    color: var(--text-primary); /* Ensure title color is primary */
}

.hero-card .card-content .article-meta {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Responsive adjustments for hero card */
@media (max-width: 992px) {
    .hero-card {
        flex-direction: column; /* Stack image and content vertically on smaller screens */
        padding: 1.5rem;
    }
    .hero-card .card-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: none;
        margin-bottom: 1.5rem;
    }
    .hero-card .card-content {
        padding: 0;
    }
}

.hero {
    background: var(--bg-surface);
    padding: 5rem 0; /* Increase vertical padding too */
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); /* Subtle default shadow */
}

.hero-content {
    display: grid;
    grid-template-columns: 480px 1fr; /* Fixed image, flexible content */
    gap: 6rem; /* Large gap for breathing room */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(
        135deg,
        var(--accent-blue) 0%,
        var(--accent-yellow) 100%
    );
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 22, 5, 0.15);
}

.hero-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-left: 1.5rem;
    max-width: 550px; /* Constrain text width for readability */
}
.category-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    width: fit-content;
}

.hero h1 {
    margin: 0;
    line-height: 1.15;
}

.article-meta {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-excerpt {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #01264c;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    width: fit-content;
}

.btn-read-more:hover {
    background: var(--accent-yellow);
    transform: translateX(4px);
    color: #01264C;
}

.btn-read-more:focus-visible {
    outline: 2px solid var(--accent-yellow);
    outline-offset: 2px;
}

/* --- Section Navigation --- */
.section-nav {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0;
    overflow-x: auto;
}

.section-nav a {
    padding: 1rem 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.section-nav a:hover,
.section-nav a.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent-yellow);
}

/* --- Article Grid (Broadsheet Style) --- */
.articles-section {
    padding: 2rem 0;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-yellow);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* --- New Homepage Layout --- */
.top-stories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.home-layout {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 3rem;
}

.main-content-col {
    /* No specific styles needed, it's a container */
}

.sidebar-col {
    /* No specific styles needed, it's a container */
}

.article-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Responsive grid */
    gap: 2rem;
}

.article-card-horizontal {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    aspect-ratio: 1 / 1; /* Make the entire card square */
}

.article-card-horizontal:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.article-card-horizontal .card-image {
    width: 100%;
    flex: 0 0 50%; /* Image takes 50% of the card's height, doesn't grow or shrink */
    overflow: hidden;
}

.article-card-horizontal .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area without distorting aspect ratio */
}

.article-card-horizontal .card-content {
    padding: 1.5rem;
    flex: 1 1 auto; /* Content takes remaining space, can grow and shrink */
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sidebar-widget {
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.popular-articles-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popular-articles-list li {
    margin-bottom: 1rem;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: 1rem;
}

.popular-articles-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-articles-list a {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-decoration: none;
}

.popular-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    opacity: 0.5;
}

.popular-title {
    font-weight: 600;
    color: var(--text-primary);
}


.article-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Subtle default shadow */
}

.article-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); /* Slightly adjusted hover shadow */
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--bg-search) 0%, #e0ddd5 100%);
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.card-content h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.3;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: auto;
}

/* --- Footer --- */
footer {
    background: var(--bg-search);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- Accessibility --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .search-form input {
        width: 100px;
    }

    .section-nav {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .header-wrapper {
        gap: 1rem;
    }

    .search-form {
        padding: 0.4rem 0.8rem;
    }

    .search-form input {
        width: 80px;
        font-size: 0.85rem;
    }

    .btn-login {
        padding: 0.5rem 0.9rem;
        font-size: 0.85rem;
    }

    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 1.5rem 0;
    }

    .card-content {
        padding: 1rem;
    }

    .section-nav {
        gap: 0.8rem;
    }
}

/* --- Article Page --- */
.article-page {
    background: var(--bg-surface);
    margin: 2rem auto;
    max-width: 1000px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); /* Adjusted shadow */
    position: relative;
    z-index: 1;
}

.article-header {
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.article-tags {
    margin-bottom: 1rem;
}

.article-header h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin: 0.5rem 0;
}

.article-figure {
    width: 100%;
    margin: 0;
    padding: 0;
}

.article-figure img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.article-body {
    padding: 2rem 2rem 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-body a {
    text-decoration: underline;
}

.article-body blockquote {
    border-left: 3px solid var(--accent-yellow);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* --- Forms & Admin --- */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 1rem;
    min-height: 70vh;
}

.form-wrapper {
    background: var(--bg-surface);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); /* Adjusted shadow */
    width: 100%;
    max-width: 500px;
    border: 1px solid var(--border-light);
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.form-wrapper p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="url"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(11, 107, 83, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: #01264c;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 107, 83, 0.2);
    color: #01264C;
}

.admin-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.admin-header {
    text-align: center;
    margin-bottom: 3rem;
}

.admin-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.admin-section {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); /* Adjusted shadow */
    border: 1px solid var(--border-light);
    margin-bottom: 2rem;
}

.admin-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.article-manage-list {
    list-style: none;
}

.article-manage-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.article-manage-item:last-child {
    border-bottom: none;
}

.article-manage-item .article-title {
    font-weight: 600;
}

.article-actions {
    display: flex;
    gap: 1rem;
}

.btn-edit,
.btn-delete {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.btn-edit {
    background-color: #01264c;
}

.btn-edit:hover {
    background-color: var(--accent-yellow);
    color: #01264C;
}

.btn-delete {
    background-color: var(--accent-red);
}

.btn-delete:hover {
    opacity: 0.8;
}

/* --- Search Page --- */
.search-page-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.search-header {
    text-align: center;
    margin-bottom: 3rem;
}

.search-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.search-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.no-results {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    margin: 2rem 0;
}

.no-results h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-results p {
    color: var(--text-secondary);
}

/* --- Search Filters --- */
.search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.filters-sidebar {
    background: var(--bg-surface);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    align-self: start;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.filters-title {
    font-size: 1.4rem;
    margin: 0;
}

.clear-filters {
    font-size: 0.85rem;
    font-weight: 600;
}

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

.filter-label {
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.tag-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-chip {
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    background: var(--bg-primary);
}

.tag-chip.active,
.tag-chip:hover {
    background: var(--accent-yellow);
    color: #fff;
    border-color: var(--accent-yellow);
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.checkbox-label {
    margin-left: 0.5rem;
}

.date-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.date-input-wrapper input {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.apply-filters-btn {
    width: 100%;
    padding: 0.8rem;
    background: #01264c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .search-layout {
        grid-template-columns: 1fr;
    }
}

/* --- Search Results List --- */
.search-results-list .article-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.search-results-list .article-card .card-image {
    height: 100%;
    min-height: 180px;
}

@media (max-width: 768px) {
    .search-results-list .article-card {
        grid-template-columns: 1fr;
    }
}

/* --- Slim Select Customization --- */
.ss-main {
    font-family: var(--font-sans) !important;
}

.ss-main .ss-multi-selected {
    border: 1px solid var(--border-light) !important;
    background-color: var(--bg-primary) !important;
    border-radius: 6px !important;
    padding: 0.5rem !important;
}

.ss-main .ss-multi-selected .ss-values .ss-value {
    background-color: var(--accent-blue) !important;
    color: #fff !important;
}

.ss-main .ss-content .ss-list .ss-option.ss-highlighted,
.ss-main .ss-content .ss-list .ss-option:hover {
    background-color: var(--accent-yellow) !important;
    color: #fff !important;
}

/* --- About Page --- */
.about-page {
    padding-top: 3rem;
    padding-bottom: 3rem;
    max-width: 1400px; /* Increased to match .container width */
}

.about-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header h1 {
    font-size: 3rem;
}

.about-content h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: var(--font-sans);
}

/* --- Tag Pill Filters --- */
.tag-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.tag-pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    background: #f5f5f5;
    color: #5a5a5a;
}

.tag-pill:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.tag-pill.active {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}

/* --- Tag Pill Filters --- */
.tag-filter-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.tag-pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
    background: #f5f5f5;
    color: #5a5a5a;
}

.tag-pill:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.tag-pill.active {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
}

.tag-checkbox:checked + span {
    /* ... styles for the span when checkbox is checked ... */
}

.tag-pill.active.tag-ad {
    background: #51e87d;
    color: #0f5b2d;
    border-color: #0f5b2d;
}

.tag-pill.active.tag-business {
    background: #33d9e8;
    color: #0a4f5c;
    border-color: #0a4f5c;
}

.tag-pill.active.tag-for-the-student {
    background: #8b5cf6;
    color: #ffffff;
    border-color: #ffffff;
}

.tag-pill.active.tag-arts {
    background: #d4ff66;
    color: #3d5c0f;
    border-color: #3d5c0f;
}

.tag-pill.active.tag-opinion {
    background: #ff33e8;
    color: #ffffff;
    border-color: #ffffff;
}

.tag-pill.active.tag-sports {
    background: #d4ff33;
    color: #5c6b0f;
    border-color: #5c6b0f;
}

.tag-pill.active.tag-student-life {
    background: #66ff99;
    color: #0f5c2d;
    border-color: #0f5c2d;
}

.tag-pill.active.tag-student-projects {
    background: #ff9933;
    color: #5c2d0f;
    border-color: #5c2d0f;
}

.tag-pill.active.tag-volunteering-cas {
    background: #66ff99;
    color: #0f5c2d;
    border-color: #0f5c2d;
}

/* Base Tag Style */

.category-tag {
    padding: 7px 16px;

    border-radius: 24px;

    font-size: 11px;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    display: inline-block;

    font-family: var(--font-sans);

    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-tag:hover {
    transform: translateY(-2px);

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Primary Categories */

.tag-ad {
    background: rgba(139, 92, 246, 0.12);

    color: #7c3aed;

    border: 1px solid rgba(139, 92, 246, 0.25);
}

.tag-business {
    background: rgba(37, 99, 235, 0.1);

    color: #2563eb;

    border: 1px solid rgba(37, 99, 235, 0.25);
}

.tag-for-student {
    background: rgba(14, 165, 233, 0.12);

    color: #0ea5e9;

    border: 1px solid rgba(14, 165, 233, 0.25);
}

/* Content Categories */

.tag-arts {
    background: rgba(251, 146, 60, 0.12);

    color: #ea580c;

    border: 1px solid rgba(251, 146, 60, 0.25);
}

.tag-opinion {
    background: rgba(225, 29, 72, 0.1);

    color: #be123c;

    border: 1px solid rgba(225, 29, 72, 0.25);
}

.tag-sports {
    background: rgba(234, 179, 8, 0.12);

    color: #ca8a04;

    border: 1px solid rgba(234, 179, 8, 0.25);
}

/* Student Activity Categories */

.tag-student-life {
    background: rgba(16, 185, 129, 0.12);

    color: #059669;

    border: 1px solid rgba(16, 185, 129, 0.25);
}

.tag-student-projects {
    background: rgba(168, 85, 247, 0.12);

    color: #9333ea;

    border: 1px solid rgba(168, 85, 247, 0.25);
}




.tag-volunteering-cas {
    background: rgba(244, 114, 182, 0.12);

    color: #db2777;

    border: 1px solid rgba(244, 114, 182, 0.25);
}

/* --- New Footer Styles --- */
footer {
    background: var(--bg-search);
    border-top: 1px solid var(--border-light);
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--accent-yellow);
}

.newsletter-form {
    display: flex;
    flex-direction: row; /* Default to horizontal */
    gap: 0.5rem; /* Space between input and button */
    margin-top: 1rem; /* Space below the paragraph */
}

.newsletter-form input {
    flex: 1; /* Allow input to grow and take available space */
    min-width: 150px; /* Ensure input doesn't get too small */
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
}

.newsletter-form .btn-submit {
    width: auto; /* Allow button to size according to content */
    flex-shrink: 0; /* Prevent button from shrinking */
    padding: 0.8rem 1.2rem; /* Adjust padding to match input height */
}

/* Responsive adjustment for newsletter form */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column; /* Stack vertically on smaller screens */
    }
    .newsletter-form input,
    .newsletter-form .btn-submit {
        width: 100%; /* Full width when stacked */
    }
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* --- New Homepage Redesign --- */
.new-hero {
    text-align: center;
    padding: 4rem 1rem;
    background: var(--bg-surface);
    border-radius: 8px;
    margin-bottom: 1rem; /* Reduced margin */
    border: 1px solid var(--border-light);
}

.new-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 0.5rem;
}

.new-hero .tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.featured-articles {
    margin-bottom: 3rem;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.featured-card {
    background: var(--bg-surface);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-light);
    text-decoration: none;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.featured-card .card-content {
    padding: 1rem;
}

.credibility-section {
    background: var(--bg-search);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
}

.credibility-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.stat-item .stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.category-browser {
    margin-bottom: 3rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.category-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: flex; /* Make it a flex container */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
}

.category-card:hover {
    background: var(--bg-search);
    transform: translateY(-3px);
}

.category-icon {
    font-size: 2rem;
    display: block;
    /* Removed margin-bottom: 0.5rem; */
}

.category-name {
    font-weight: 600;
    color: var(--text-primary);
}

.cta-section {
    margin-bottom: 3rem;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.cta-card {
    background: var(--bg-search);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.cta-card h3 {
    margin-bottom: 0.5rem;
}

.cta-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.btn-cta {
    background: var(--accent-blue);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cta:hover {
    background: var(--accent-yellow);
    color: var(--text-primary);
}

.about-snippet {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    text-align: center;
    margin-bottom: 3rem;
}

.about-snippet h2 {
    margin-bottom: 1rem;
}



.article-card-horizontal .card-excerpt { display: none; }

/* --- Dropdown Menu --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    cursor: pointer;
    padding: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--bg-surface);
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    list-style: none;
    padding: 0.5rem 0;
    border-radius: 8px;
}

.dropdown-menu li a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-weight: 400;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-search);
}

.dropdown:hover .dropdown-menu {
    display: block;
}


.filter-text-input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    transition: var(--transition);
    margin-top: 0.5rem; /* Add some space below the label */
}

.filter-text-input:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px rgba(11, 107, 83, 0.1);
}


/* --- Form specific styles for submit.html --- */
.form-container {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.form-wrapper {
    max-width: 600px; /* Make form a bit wider for better readability */
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.form-wrapper h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.form-wrapper p {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control,
.form-control-file {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    transition: all 0.2s ease-in-out;
}

.form-control:focus,
.form-control-file:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(1, 38, 76, 0.1);
}

.form-control-file {
    padding: 0.6rem 1rem; /* Adjust padding for file input */
}

.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.8rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 0; /* Override default label margin */
}

.radio-group input[type=radio] {
    margin-right: 0.6rem;
    transform: scale(1.1); /* Slightly larger radio buttons */
}

.btn-submit {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    background: var(--accent-blue);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn-submit:hover {
    background: var(--accent-yellow);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: var(--text-primary);
}

/* Flash messages */
.flashes {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: center;
}

.flashes li {
    padding: 0.8rem 1.5rem;
    margin-bottom: 0.8rem;
    border-radius: 6px;
    font-weight: 600;
}

.flashes .success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.flashes .error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}


/* Custom Radio Button Styling */
.radio-group label input[type="radio"] {
    /* Hide default radio button */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--text-secondary); /* Custom border */
    border-radius: 50%;
    margin-right: 0.6rem;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease-in-out;
    flex-shrink: 0;
}

.radio-group label input[type="radio"]:checked {
    border-color: var(--accent-blue); /* Accent color when checked */
    background-color: var(--accent-blue);
}

.radio-group label input[type="radio"]:checked::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--bg-surface); /* Inner dot */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-group label input[type="radio"]:focus-visible {
    box-shadow: 0 0 0 3px rgba(1, 38, 76, 0.2); /* Focus ring */
}

.radio-group label span {
    font-weight: 500; /* Adjust font weight for text next to radio */
    color: var(--text-primary);
}


.cta-card h3 i {
    margin-right: 0.5rem;
    color: var(--accent-blue); /* Give the icon a distinct color */
}


/* --- Pagination Styles --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.1rem;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background-color: var(--bg-surface);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
    min-width: 40px; /* Ensure buttons have a minimum width */
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background-color: var(--bg-search);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.pagination-btn.active {
    background-color: var(--accent-blue);
    color: white;
    border-color: var(--accent-blue);
    cursor: default;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* --- About Page Enhancements --- */
.about-content {
    display: grid; /* Change to grid layout */
    grid-template-columns: repeat(2, 1fr); /* Two columns, equal width */
    gap: 2rem; /* Spacing between grid items */
    margin-bottom: 3rem; /* Ensure some space below the grid */
}

.about-section {
    background: var(--bg-surface);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%; /* Ensure it takes up full width of its grid cell */
}

.about-section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-section h2 i {
    color: var(--accent-blue);
    font-size: 1.8em; /* Make icons slightly larger than text */
}

.about-section p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.highlight-section {
    background: var(--bg-search);
    border-color: var(--accent-yellow);
    box-shadow: 0 4px 15px rgba(248, 207, 56, 0.2);
}

.btn-cta-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    display: inline-block; /* Ensure padding works */
    margin-top: 1rem; /* Space above button */
}

.text-center {
    text-align: center;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.contact-list li i {
    color: var(--accent-blue);
    font-size: 1.2em;
    flex-shrink: 0;
}

.contact-list li a {
    text-decoration: underline;
}

/* Responsive adjustments for about page */
@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr; /* Single column on small screens */
        gap: 2rem;
    }
    .about-section {
        padding: 1.8rem 1.5rem;
    }
    .about-section h2 {
        font-size: 1.8rem;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
    }
    .about-section h2 i {
        margin-bottom: 0.5rem;
    }
    .btn-cta-large {
        width: 100%;
        text-align: center;
    }
}



