/* Navigation */
.mfsa-h-nav { margin-bottom: 25px; display: flex; align-items: center; gap: 10px; font-size: 18px; flex-wrap: wrap; }
.h-nav-link { color: #000 !important; font-weight: bold !important; text-decoration: none !important; transition: 0.2s; }
.h-nav-link:hover, .h-nav-link.active { color: #1a7465 !important; }
.h-nav-sep { color: #ccc; padding: 0 5px; }

/* Table Layout */
.mfsa-h-table { width: 100%; border-collapse: collapse; border: 1px solid #eee; margin-top: 10px; table-layout: fixed; }
.mfsa-h-table thead th { background: #1a7465 !important; color: #fff !important; padding: 12px; text-align: left; }
.mfsa-h-table td { padding: 15px; border-bottom: 1px solid #eee; vertical-align: top; word-wrap: break-word; }

/* --- ICON & DATE STYLING --- */
.h-icon {
    color: #1a7465; /* Brand Green */
    font-size: 18px;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 5px;
    position: relative;
    top: -1px;
}

/* Container for the stacked Court info */
.hearing-court-row {
    margin-top: 8px; /* Space between Date and Court */
    font-size: 0.95em;
    color: #444; /* Dark grey for contrast */
    font-style: normal; /* NOT Italic */
    line-height: 1.4;
}

/* Matter Links */
.col-matter a { color: #004a99 !important; text-decoration: none !important; border: none !important; font-weight: 600; }
.col-matter a:hover { text-decoration: underline !important; }

/* Mobile Card View */
@media screen and (max-width: 768px) {
    .mfsa-h-table thead { display: none; }
    .mfsa-h-table tr { display: block; margin-bottom: 20px; border: 1px solid #ddd; box-shadow: 0 2px 5px rgba(0,0,0,0.05); background: #fff; }
    .mfsa-h-table td { display: block; text-align: left; padding: 12px 15px; border-bottom: 1px solid #eee; position: relative; }
    .mfsa-h-table td:last-child { border-bottom: none; }
    
    .mfsa-h-table td::before { 
        content: attr(data-label); 
        display: block; 
        font-weight: bold; 
        color: #1a7465; 
        text-transform: uppercase; 
        font-size: 0.85em; 
        margin-bottom: 5px; 
    }
}