@charset "utf-8";

/* Align the header container further left to match the content container below */
.page-header-left {
    padding-left: 0; /* Adjust or remove any default left padding */
    margin-left: 0;  /* Adjust or remove any default left margin */
}

.container-left {
    padding-left: 0px; /* Adjust this value (e.g., 0, 10px, etc.) to match .content-container */
    margin-left: 0;
}




/* Introductory Section Styles */
.intro-section {
    margin-left: 3.0rem;
    margin-bottom: 30px;
}

.intro-section p:first-of-type {
    font-size: 1.1em;
    line-height: 1.6;
}

.intro-section p:nth-of-type(2) {
    font-size: 1.05em;
    line-height: 1.6;
    margin-top: 15px;
}

/* Category Tag Styling */
.category-tag {
    background-color: #dc2626;
    color: #ffffff;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}


/* Document Metadata Styling - Stacked Vertically */
.doc-meta {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 0.75rem 0 1.25rem 0;
    display: flex;
    flex-direction: column; /* This pushes each detail to sit beneath the other */
    gap: 0.25rem;           /* Controls the exact vertical breathing room between lines */
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
}


/* Automatically center and size the card only when the grid has a single item */
.article-grid:has(.article-card:only-child) {
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-grid:has(.article-card:only-child) .article-card {
    max-width: 500px;
    width: 100%;
}
