/* Borough of Tenley Falls - Official Municipal Website */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #1a4d80;
    text-decoration: underline;
}

a:hover {
    color: #0d2e4d;
}

/* Top alert banner */
.alert-banner {
    background-color: #fff3cd;
    border-bottom: 1px solid #d4a843;
    padding: 8px 20px;
    font-size: 13px;
    text-align: center;
    color: #664d03;
    font-family: Arial, Helvetica, sans-serif;
}

.alert-banner strong {
    text-transform: uppercase;
}

/* Header */
.site-header {
    background-color: #002b5c;
    color: #fff;
    padding: 0;
    border-bottom: 4px solid #8b1a1a;
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.borough-seal {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.borough-seal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.header-text h1 {
    font-size: 26px;
    font-weight: normal;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.header-text .tagline {
    font-size: 12px;
    color: #a0b8d0;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    background-color: #003d7a;
    border-bottom: 1px solid #002b5c;
    font-family: Arial, Helvetica, sans-serif;
}

.main-nav ul {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 10px 16px;
    color: #d0dce8;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-right: 1px solid #002b5c;
}

.main-nav a:hover,
.main-nav a.active {
    background-color: #002b5c;
    color: #fff;
}

.main-nav li:first-child a {
    border-left: 1px solid #002b5c;
}

/* Page content */
.page-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px;
}

/* Breadcrumb */
.breadcrumb {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #888;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #888;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Two column layout */
.content-columns {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
}

/* Main content area */
.main-content h2 {
    font-size: 22px;
    color: #002b5c;
    border-bottom: 2px solid #8b1a1a;
    padding-bottom: 6px;
    margin-bottom: 16px;
    margin-top: 28px;
    font-weight: normal;
}

.main-content h2:first-child {
    margin-top: 0;
}

.main-content h3 {
    font-size: 17px;
    color: #1a4d80;
    margin-top: 22px;
    margin-bottom: 8px;
}

.main-content h4 {
    font-size: 15px;
    color: #333;
    margin-top: 18px;
    margin-bottom: 6px;
}

.main-content p {
    margin-bottom: 14px;
}

.main-content ul, .main-content ol {
    margin: 0 0 14px 28px;
}

.main-content li {
    margin-bottom: 4px;
}

/* Sidebar boxes */
.sidebar-box {
    background-color: #f4f6f8;
    border: 1px solid #d0d7de;
    border-top: 3px solid #002b5c;
    margin-bottom: 18px;
    padding: 14px;
}

.sidebar-box h3 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    color: #002b5c;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.sidebar-box p {
    font-size: 13px;
    margin-bottom: 8px;
}

.sidebar-box ul {
    list-style: none;
    padding: 0;
}

.sidebar-box li {
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-box li:last-child {
    border-bottom: none;
}

.sidebar-box a {
    font-size: 13px;
}

/* Quick links list */
.quick-links li {
    padding: 6px 0;
}

.quick-links li::before {
    content: "\00BB";
    color: #8b1a1a;
    margin-right: 6px;
    font-weight: bold;
}

/* Info table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    font-size: 14px;
}

.info-table th,
.info-table td {
    padding: 8px 12px;
    border: 1px solid #d0d7de;
    text-align: left;
    vertical-align: top;
}

.info-table th {
    background-color: #f4f6f8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    color: #002b5c;
    font-weight: bold;
    width: 180px;
}

.info-table td {
    background-color: #fff;
}

/* General table */
table.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 18px;
    font-size: 14px;
}

table.data-table th {
    background-color: #002b5c;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    padding: 8px 10px;
    text-align: left;
    letter-spacing: 0.3px;
}

table.data-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #d0d7de;
    vertical-align: top;
}

table.data-table tr:nth-child(even) {
    background-color: #f9fafb;
}

table.data-table tr:hover {
    background-color: #eef2f6;
}

/* Council member cards */
.council-member {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid #d0d7de;
    align-items: flex-start;
}

.council-member:last-child {
    border-bottom: none;
}

.council-photo {
    width: 120px;
    height: 150px;
    background-color: #e8ecf0;
    border: 1px solid #d0d7de;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #999;
    text-align: center;
    overflow: hidden;
}

.council-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.council-info h3 {
    margin-top: 0;
    font-size: 18px;
    color: #002b5c;
}

.council-info .position {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #8b1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.council-info p {
    font-size: 14px;
    margin-bottom: 6px;
}

.council-info .detail {
    font-size: 13px;
    color: #666;
    font-family: Arial, Helvetica, sans-serif;
}

/* Meeting minutes */
.meeting-entry {
    border: 1px solid #d0d7de;
    margin-bottom: 24px;
    padding: 18px;
    background-color: #fafbfc;
}

.meeting-entry h3 {
    margin-top: 0;
    padding-bottom: 6px;
    border-bottom: 1px solid #d0d7de;
    margin-bottom: 12px;
    font-size: 16px;
}

.meeting-meta {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

.transcript-line {
    margin-bottom: 10px;
    padding-left: 12px;
    font-size: 14px;
}

.transcript-line .speaker {
    font-weight: bold;
    color: #002b5c;
}

.transcript-note {
    font-style: italic;
    color: #888;
    font-size: 13px;
    margin: 10px 0;
    padding-left: 12px;
}

/* Public comments */
.public-comment {
    border-left: 3px solid #d0d7de;
    padding: 14px 18px;
    margin-bottom: 20px;
    background-color: #fafbfc;
}

.public-comment.highlighted {
    border-left-color: #8b1a1a;
}

.comment-header {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.comment-header strong {
    color: #333;
    font-size: 14px;
}

.comment-body {
    font-size: 14px;
}

.comment-body p {
    margin-bottom: 8px;
}

/* FAQ */
.faq-item {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 16px;
    color: #002b5c;
    margin-top: 0;
    margin-bottom: 10px;
}

.faq-item h3::before {
    content: "Q: ";
    color: #8b1a1a;
    font-weight: bold;
}

/* Notice boxes */
.notice {
    background-color: #f0f4f8;
    border: 1px solid #b0c4d8;
    padding: 12px 16px;
    margin-bottom: 18px;
    font-size: 14px;
}

.notice.warning {
    background-color: #fff8e1;
    border-color: #d4a843;
}

.notice.legal {
    background-color: #f9f9f9;
    border-color: #ccc;
    font-size: 13px;
    color: #666;
}

.notice strong {
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Ordinance legal text */
.legal-text {
    font-size: 14px;
    line-height: 1.8;
}

.legal-text .section {
    margin-bottom: 20px;
}

.legal-text .section-number {
    font-weight: bold;
    color: #002b5c;
}

.legal-text .subsection {
    padding-left: 28px;
    margin-bottom: 8px;
}

.legal-text .amendment {
    background-color: #fff8e1;
    border-left: 3px solid #d4a843;
    padding: 10px 14px;
    margin: 14px 0;
    font-size: 13px;
}

/* Footer */
.site-footer {
    background-color: #002b5c;
    color: #a0b8d0;
    padding: 30px 20px;
    margin-top: 40px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h4 {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.footer-col p {
    margin-bottom: 4px;
    line-height: 1.5;
}

.footer-col a {
    color: #a0b8d0;
    text-decoration: none;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: 960px;
    margin: 20px auto 0;
    padding-top: 14px;
    border-top: 1px solid #1a4d80;
    text-align: center;
    font-size: 11px;
    color: #6a8aaa;
}

/* Last updated stamp */
.last-updated {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #999;
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

/* Print styles */
@media print {
    .main-nav, .alert-banner, .sidebar {
        display: none;
    }
    .site-header {
        background: none;
        color: #000;
        border-bottom: 2px solid #000;
    }
    .content-columns {
        display: block;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .content-columns {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
    }
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    .main-nav ul {
        flex-direction: column;
    }
    .main-nav a {
        border-right: none;
        border-bottom: 1px solid #002b5c;
    }
    .main-nav li:first-child a {
        border-left: none;
    }
    .council-member {
        flex-direction: column;
    }
    .footer-inner {
        flex-direction: column;
        gap: 20px;
    }
}

/* Seal placeholder */
.seal-placeholder {
    width: 80px;
    height: 80px;
    border: 2px solid #a0b8d0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9px;
    color: #a0b8d0;
    text-align: center;
    flex-shrink: 0;
}

/* Photo placeholder for pages */
.photo-placeholder {
    background-color: #e8ecf0;
    border: 1px solid #d0d7de;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #999;
    text-align: center;
}

/* Homepage welcome */
.welcome-photo {
    width: 180px;
    height: 220px;
    float: right;
    margin: 0 0 14px 18px;
}

/* Counter / stats on about page */
.borough-stats {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border: 1px solid #d0d7de;
}

.stat-item {
    flex: 1;
    padding: 14px;
    text-align: center;
    border-right: 1px solid #d0d7de;
    background-color: #f4f6f8;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 24px;
    color: #002b5c;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 0.3px;
}
