body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f9fafb;
    margin: 0;
    padding: 0;
}

main.content_wide {
    max-width: 1700px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

main.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

main {
    flex: 1;
}

#heading {
    border-top: 5px solid #39668f;
    border-bottom: 5px solid #39668f;
    margin: 0;
    padding: 8px 0;
}

nav.breadcrumbs {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #2a466f, #3a5c8d);
    color: #fff;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 34, 68, 0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

nav.breadcrumbs a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: background-color 0.25s, color 0.25s;
}

nav.breadcrumbs a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffeb3b;
    text-decoration: none;
}

nav.breadcrumbs span {
    margin: 0 0.25rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    user-select: none;
}

nav.breadcrumbs strong {
    font-weight: 700;
    font-size: 1.1rem;
    color: #FFFFF0;
    background: none;
    padding: 0;
    border-radius: 0;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.7px;
}


h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1f3554;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: #000;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #444;
}

.btn-primary {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #2a466f;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: #1f3554;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}


.note {
    padding: 1rem;
    border-left: 4px solid #ccc;
    background: #f3f4f6;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.note.warning {
    border-left-color: #d97706;
    background: #fff7ed;
    color: #92400e;
}

.disclaimer ul {
    list-style: disc inside;
    margin: 0.5rem 0 1rem;
    padding: 0;
    color: #555;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
    white-space: nowrap;
}

#footer {
    width: 100%;
    text-align: center;
    font-size: 10px;
}

#footer .footer-top {
    font-size: 14px;
    background: #1f3554;
    color: #fff;
    padding: 10px 0;
}

#footer .footer-top a {
    color: #fff;
    text-decoration: underline;
}

#footer .footer-bottom {
    color: #000;
    padding: 2px 0;
}

#footer .footer-bottom a {
    color: #000;
    text-decoration: underline;
    margin: 0 2px;
}

#footer .footer-bottom a:hover {
    color: #000;
    text-decoration: underline;
}

.county-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    border: 1px solid #ddd;
}

.county-grid .district {
    background: #fff;
    border: 1px solid #ddd;
    padding: 0.75rem;
}

.county-grid .district h3 {
    background: #1f3554;
    color: #fff;
    padding: 0.5rem;
    margin: -0.75rem -0.75rem 0.75rem -0.75rem;
    font-size: 1rem;
    font-weight: 600;
}


.district-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    text-align: left;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.district-table th {
    background: #2A4873;
    color: #fff;
    padding: 0.6rem;
    font-weight: 600;
    text-align: center;
    font-size: 1rem;
    border: 1px solid #ddd;
}

.district-table td {
    vertical-align: top;
    padding: 0.8rem;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
    line-height: 1.4;
}

.district-table .code {
    display: inline-block;
    width: 35px;
    font-weight: bold;
    text-align: left;
    margin-right: 8px;
}

.district-table a {
    color: #005a9e;
    text-decoration: none;
}

.district-table a:hover {
    text-decoration: underline;
}

.page-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0.8rem;
}

.page-header img {
    display: block;
}

.page-header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    color: #1f3554;
}

.page-header .subtitle {
    margin: 0.2rem 0 0;
    font-size: 1rem;
    color: #555;
}

.eco-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.eco-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 0.8rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.eco-table th {
    background: #2A4873;
    color: #fff;
    padding: 0.6rem;
    font-weight: 600;
    text-align: center;
    font-size: 0.95rem;
    border: 1px solid #ddd;
}

.eco-table td {
    padding: 0.6rem;
    border: 1px solid #e5e7eb;
    font-size: 0.9rem;
    text-align: center;
}

.eco-table tr:nth-child(even) {
    background: #f9fafb;
}
.eco-table a {
    color: #005a9e;
    font-weight: 600;
    text-decoration: none;
}
.eco-table a:hover {
    text-decoration: underline;
}

.eco-table td.num {
    text-align: center;
    font-variant-numeric: tabular-nums;
}
