/**
 * Trinity Design System (TDS) - Main Site Orchestrator
 * Logic: Institutional Layout & Global Synchronizations
 * Version: 3.0.0 (Enterprise Component Isolation)
 */

/* --- 1. INSTITUTIONAL RESET --- */
html, body {
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    background-color: #FFFFFF;
}

/* --- 2. GLOBAL HEADER SYNCHRONIZATION --- */
.navbar.fixed-top {
    border-bottom: 1px solid var(--tds-border);
    height: var(--tds-header-h);
    padding: 0;
}

.uh-navbar-brand img {
    height: 38px;
    width: auto;
}

.uh-header-search-wrap .uh-header-search {
    background: #F9FAFB;
    border: 1px solid var(--tds-border);
    border-radius: var(--tds-radius-md);
    padding: 4px 12px;
}

/* --- 3. ARCHITECTURAL UTILITIES --- */
.uh-reading-measure {
    max-width: var(--tds-reading-measure);
    margin-bottom: var(--tds-space-04);
}

.uh-section-padding {
    padding-top: var(--tds-space-06);
    padding-bottom: var(--tds-space-06);
}

@media (max-width: 768px) {
    .uh-section-padding {
        padding-top: var(--tds-space-05);
        padding-bottom: var(--tds-space-05);
    }
}

/* --- 4. REGISTRY TABLES --- */
.uh-registry-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--tds-font-system); 
    font-size: var(--tds-type-size-meta);
}

.uh-registry-table th {
    text-align: left;
    text-transform: uppercase;
    letter-spacing: var(--tds-type-track-label);
    font-weight: var(--tds-weight-medium);
    padding: var(--tds-space-03);
    border-bottom: 2px solid var(--tds-text-main);
}

.uh-registry-table td {
    padding: var(--tds-space-03);
    border-bottom: 1px solid var(--tds-border);
    vertical-align: top;
}

.uh-registry-table tr:hover {
    background-color: #F9FAFB;
}



/* --- 5. ACCESSIBILITY SHIELDS --- */
.text-brand, .text-oxblood {
    color: var(--tds-brand-strong) !important;
}

.font-journal-heading {
    font-family: var(--tds-font-system) !important;
}

.uh-z-index-content {
    position: relative;
    z-index: 10;
}

/* --- 5b. ACCESSIBILITY CONTRAST REFINEMENTS --- */

.uh-footer__records-label {
    color: var(--tds-brand-strong);
}

.uh-footer__record-value {
    color: var(--tds-text-main);
}

/* ==========================================================================
  6. INSTITUTIONAL TYPOGRAPHY (Opt-In Approach)
   Architecture: Zero global tag styles. Links are only styled if wrapped.
   ========================================================================== */

/* Standard text container logic */
.uh-prose {
    max-width: var(--tds-reading-measure);
    line-height: var(--tds-type-line-body);
}
