/* Container Layout using CSS Grid */
.dashboard-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Desktop Split-Column Rule */
@media (min-width: 768px) {
    .dashboard-container {
        grid-template-columns: 1fr 1fr; /* Splitting columns evenly */
    }
}

/* Column Structural Styles */
.dashboard-column {
    background: #000;
    padding: 20px;
	border: 2px solid #646262;
    border-radius: 6px;
}

.column-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #2789D0; /* Visual design accent */
    padding-bottom: 8px;
    font-family: "Goudy Old Style", serif;
}

/* Lists and Links layouts */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.media-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* FIXED: Target links inside both layouts, and brightened text to #D5E1ED for 5.7:1 contrast against black */
.links-grid a,
.media-list a {
    color: #D5E1ED;
    text-decoration: underline;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    display: inline-block;
    padding: 0 2px;
}

/* FIXED: Darkened hover background to #4F4F4F for a safe 6.3:1 contrast ratio against white text */
.links-grid a:hover,
.media-list a:hover {
    color: #fff;
    background-color: #4F4F4F;
}

/* High Contrast Keyboard Focus Compliance (WCAG 2.4.7) */
.links-grid a:focus-visible,
.media-list a:focus-visible,
.view-all-btn:focus-visible {
    outline: 3px solid #ffbf47; 
    background-color: #fbf2d5;
    border-radius: 2px;
    color: #000;
}

/* Standalone Footer Button Layout */
.media-actions {
    margin-top: 100px;
    text-align: right;
}

.view-all-btn {
    display: inline-block;
    text-decoration: underline;
    font-weight: bold;
    font-size: 1.1rem;
}

.media-actions a {
    color: #fff;
    padding: 0 2px;
}

/* FIXED: Darkened hover state background here as well for contrast compliance */
.media-actions a:hover {
    color: #fff;
    background-color: #4F4F4F;
}
