/* =================================================================== */
/* STYLES FOR ARTICLE LIST PAGES
/* =================================================================== */
/* Main container for the list of articles */
.article-list-container {
    padding: 2rem 0 4rem 0; /* Add some space at the top and bottom */
}

/* =================================================================== */
/* BREADCRUMB NAVIGATION
/* =================================================================== */
.breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #555;
    text-align: center; /* Center align breadcrumbs */
}

.breadcrumb a {
    color: #00796b;
    text-decoration: none;
    transition: text-decoration 0.3s;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #888;
}

.breadcrumb-current {
    font-weight: bold;
    color: #333;
}


/* Big title at the top of the article page */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem; /* Keeps the space below the title line */
    border-bottom: 3px solid #00796b; /* Moved from .page-title */
    padding-bottom: 0.7rem;          /* Moved from .page-title */
}

.page-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 0;
    margin-top: 1px;
    margin-left: 20px; /* Remove bottom margin */
}

/* Individual article card styling */
.article-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-card h2 {
    font-size: 1.5rem;
    color: #00796b;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.article-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1.25rem;
}

/* "Read More" button on each card */
.read-more-btn {
    display: inline-block;
    text-decoration: none;
    background-color: #00796b;
    color: #ffffff;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #005a4f;
}

/* Dark mode toggle */
.page-controls {
    display: flex;
    margin-bottom: -60px;
    justify-content: flex-end;
}

/* =================================================================== */
/* 0. DESKTOP & LARGE SCREEN STYLES (Screens wider than 992px)
/* =================================================================== */
@media (min-width: 992px) {

   .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem; /* Keeps the space below the title line */
        border-bottom: 3px solid #00796b; /* Moved from .page-title */
        padding-bottom: 0.7rem;          /* Moved from .page-title */
    }

    .page-title {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 0;
        margin-top: 1px;
    }
    .page-controls {
        display: flex;
        margin-bottom: 0;
        justify-content: flex-end;
    }
}


/* =================================================================== */
/* 1. TABLET STYLES (Screens up to 991px wide)
/* =================================================================== */
@media (max-width: 991px) {

   .page-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem; /* Keeps the space below the title line */
        border-bottom: 3px solid #00796b; /* Moved from .page-title */
        padding-bottom: 0.7rem;          /* Moved from .page-title */
    }

    .page-title {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 0;
        margin-top: 1px;
        margin-left: 20px; /* Remove bottom margin */
    }
    .page-controls {
        display: flex;
        margin-bottom: -10px;
        justify-content: flex-end;
    }
}

    