/* FireSuite public-facing styles */

.firesuite-roster-grid,
.firesuite-apparatus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.firesuite-roster-card,
.firesuite-apparatus-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
}

.firesuite-roster-photo-wrap,
.firesuite-apparatus-photo-wrap {
    aspect-ratio: 4 / 5;
    background: #d4d9dc;
    overflow: hidden;
    position: relative;
}

.firesuite-apparatus-photo-wrap {
    aspect-ratio: 16 / 10;
}

.firesuite-roster-photo,
.firesuite-apparatus-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.firesuite-roster-photo-placeholder,
.firesuite-apparatus-photo-placeholder {
    background: #2c3e50;
}

.firesuite-roster-body,
.firesuite-apparatus-body {
    padding: 12px 14px;
}

.firesuite-roster-name,
.firesuite-apparatus-name {
    font-size: 15px;
    font-weight: 500;
    color: #0f1a2a;
    margin: 0 0 2px;
    line-height: 1.3;
}

.firesuite-roster-rank,
.firesuite-apparatus-type {
    font-size: 12px;
    color: #b91c1c;
    font-weight: 500;
    margin: 0 0 4px;
}

.firesuite-roster-tenure,
.firesuite-apparatus-spec,
.firesuite-apparatus-station {
    font-size: 12px;
    color: #6a6a6a;
    margin: 0 0 2px;
}

.firesuite-roster-email {
    font-size: 12px;
    margin: 6px 0 0;
}

.firesuite-roster-email a {
    color: #b91c1c;
    text-decoration: none;
}

.firesuite-roster-email a:hover {
    text-decoration: underline;
}

.firesuite-empty {
    color: #6a6a6a;
    font-style: italic;
}

/* News list */
.firesuite-news-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 20px 0;
}

.firesuite-news-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 18px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 600px) {
    .firesuite-news-card { grid-template-columns: 1fr; }
}

.firesuite-news-photo-wrap {
    display: block;
    aspect-ratio: 16 / 10;
    background: #d4d9dc;
    overflow: hidden;
}

.firesuite-news-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.firesuite-news-body { padding: 14px 16px 16px; }

.firesuite-news-meta {
    display: flex;
    gap: 10px;
    align-items: baseline;
    margin-bottom: 6px;
}

.firesuite-news-category {
    font-size: 11px;
    color: #b91c1c;
    font-weight: 500;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.firesuite-news-date {
    font-size: 12px;
    color: #6a6a6a;
}

.firesuite-news-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 8px;
}

.firesuite-news-title a {
    color: #0f1a2a;
    text-decoration: none;
}

.firesuite-news-title a:hover { text-decoration: underline; }

.firesuite-news-excerpt {
    color: #4a4a4a;
    font-size: 14px;
    line-height: 1.5;
}

.firesuite-news-readmore {
    margin: 10px 0 0;
    font-size: 13px;
    font-weight: 500;
}

.firesuite-news-readmore a {
    color: #b91c1c;
    text-decoration: none;
}

.firesuite-news-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 20px 0;
}

.firesuite-news-pagination .page-numbers {
    padding: 6px 12px;
    border: 1px solid #ececec;
    border-radius: 4px;
    color: #0f1a2a;
    text-decoration: none;
    font-size: 13px;
}

.firesuite-news-pagination .page-numbers.current {
    background: #0f1a2a;
    color: #fff;
    border-color: #0f1a2a;
}

/* Events list */
.firesuite-events-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.firesuite-event-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 14px 16px;
    align-items: center;
}

.firesuite-event-datepill {
    text-align: center;
    background: #f7f8fa;
    border-radius: 8px;
    padding: 8px 4px;
}

.firesuite-event-month {
    display: block;
    font-size: 11px;
    color: #b91c1c;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.firesuite-event-day {
    display: block;
    font-size: 28px;
    color: #0f1a2a;
    font-weight: 500;
    line-height: 1.1;
}

.firesuite-event-type-label {
    font-size: 11px;
    color: #6a6a6a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 0 2px;
}

.firesuite-event-title {
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 4px;
}

.firesuite-event-title a {
    color: #0f1a2a;
    text-decoration: none;
}

.firesuite-event-title a:hover { text-decoration: underline; }

.firesuite-event-meta {
    font-size: 13px;
    color: #4a4a4a;
    margin: 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.firesuite-event-excerpt {
    margin-top: 6px;
    font-size: 13px;
    color: #4a4a4a;
}

/* Events calendar */
.firesuite-events-calendar {
    margin: 20px 0;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.firesuite-events-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #ececec;
    background: #f7f8fa;
}

.firesuite-events-calendar-title {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #0f1a2a;
}

.firesuite-events-nav-link {
    text-decoration: none;
    color: #b91c1c;
    font-size: 18px;
    padding: 4px 12px;
    border: 1px solid #ececec;
    border-radius: 4px;
    background: #fff;
}

.firesuite-events-nav-link:hover { background: #ececec; }

.firesuite-events-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #ececec;
    gap: 1px;
}

.firesuite-events-weekday {
    background: #f7f8fa;
    text-align: center;
    padding: 8px 4px;
    font-size: 11px;
    font-weight: 500;
    color: #6a6a6a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.firesuite-events-day {
    background: #fff;
    min-height: 90px;
    padding: 6px 6px 8px;
    position: relative;
}

.firesuite-events-day-blank { background: #fafafa; }

.firesuite-events-day-today { background: #fff8e1; }

.firesuite-events-daynum {
    font-size: 12px;
    color: #6a6a6a;
    font-weight: 500;
}

.firesuite-events-day-today .firesuite-events-daynum {
    color: #b91c1c;
}

.firesuite-events-day-events {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
}

.firesuite-events-day-events li {
    margin: 2px 0;
    font-size: 11px;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.firesuite-events-day-events a {
    color: #0f1a2a;
    text-decoration: none;
    background: #f7f8fa;
    border-left: 2px solid #b91c1c;
    padding: 2px 4px;
    display: block;
    border-radius: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.firesuite-events-day-events a:hover { background: #ececec; }

@media (max-width: 600px) {
    .firesuite-events-day { min-height: 60px; }
    .firesuite-events-day-events li { font-size: 10px; }
}

/* Burn ban banner */
.firesuite-burn-ban-banner {
    background: #fcd34d;
    color: #422006;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    border-bottom: 2px solid #b8870f;
    flex-wrap: wrap;
}

.firesuite-burn-ban-icon {
    font-size: 18px;
    color: #b91c1c;
    line-height: 1;
}

.firesuite-burn-ban-text { flex: 1; }
.firesuite-burn-ban-text strong { font-weight: 600; }
.firesuite-burn-ban-dates {
    font-size: 12px;
    opacity: 0.85;
    margin-left: auto;
    white-space: nowrap;
}

/* Board */
.firesuite-board { margin: 20px 0; }
.firesuite-board-section { margin-bottom: 28px; }
.firesuite-board-heading {
    font-size: 14px;
    font-weight: 500;
    color: #0f1a2a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.firesuite-board-commissioner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.firesuite-board-commissioner-card {
    text-align: center;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 14px 8px;
}

.firesuite-board-commissioner-photo-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 8px;
    border-radius: 50%;
    overflow: hidden;
    background: #2c3e50;
}

.firesuite-board-commissioner-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.firesuite-board-commissioner-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 18px;
}

.firesuite-board-commissioner-name {
    font-size: 13px;
    font-weight: 500;
    color: #0f1a2a;
    margin: 0 0 2px;
}

.firesuite-board-commissioner-position {
    font-size: 11px;
    color: #b91c1c;
    margin: 0;
}

.firesuite-board-next-card {
    background: #f7f8fa;
    border-left: 3px solid #b91c1c;
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.firesuite-board-next-label {
    font-size: 11px;
    color: #b91c1c;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 0 0 2px;
}

.firesuite-board-next-when {
    font-size: 16px;
    color: #0f1a2a;
    font-weight: 500;
    margin: 2px 0 4px;
}

.firesuite-board-next-where {
    font-size: 13px;
    color: #4a4a4a;
    margin: 0;
}

.firesuite-board-pdf-link {
    background: #fff;
    color: #0f1a2a;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #d4d4d4;
    display: inline-block;
}

.firesuite-board-pdf-link:hover { background: #f7f8fa; }

.firesuite-board-archive-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}

.firesuite-board-archive-table thead { background: #f7f8fa; }

.firesuite-board-archive-table th,
.firesuite-board-archive-table td {
    padding: 10px 14px;
    text-align: left;
    border-top: 1px solid #ececec;
    color: #1a1a1a;
}

.firesuite-board-archive-table th {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6a6a6a;
    font-weight: 500;
    border-top: 0;
}

.firesuite-board-archive-table a {
    color: #b91c1c;
    text-decoration: none;
    font-weight: 500;
}

.firesuite-board-archive-table a:hover { text-decoration: underline; }

.firesuite-board-pdf-none {
    color: #999;
    font-size: 12px;
}

/* Stations */
.firesuite-stations {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 20px 0;
}

.firesuite-station {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
}

.firesuite-station-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 18px;
    border-bottom: 1px solid #ececec;
    gap: 12px;
    flex-wrap: wrap;
}

.firesuite-station-name {
    font-size: 17px;
    color: #0f1a2a;
    font-weight: 500;
    margin: 0;
}

.firesuite-station-phone {
    color: #4a4a4a;
    font-size: 13px;
}

.firesuite-station-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

@media (max-width: 600px) {
    .firesuite-station-grid { grid-template-columns: 1fr; }
}

.firesuite-station-photo-wrap,
.firesuite-station-map-wrap {
    height: 220px;
    position: relative;
    isolation: isolate;
    z-index: 0;
}

.firesuite-station-photo-wrap { background: #1f2a3a; border-right: 1px solid #ececec; }

@media (max-width: 600px) {
    .firesuite-station-photo-wrap { border-right: 0; border-bottom: 1px solid #ececec; }
}

.firesuite-station-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.firesuite-station-photo-placeholder { width: 100%; height: 100%; background: #1f2a3a; }

.firesuite-station-map {
    width: 100%;
    height: 100%;
    background: #e8edef;
}

.firesuite-station-map-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6a6a6a;
    font-size: 13px;
    font-style: italic;
}

.firesuite-station-map-link {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    z-index: 1000;
}

.firesuite-station-map-link:hover { background: #fff; }

.firesuite-station-body {
    padding: 14px 18px 16px;
}

.firesuite-station-address {
    font-size: 13px;
    color: #4a4a4a;
    margin: 0 0 8px;
}

.firesuite-station-meta {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 13px;
    color: #4a4a4a;
}

.firesuite-station-meta strong {
    color: #0f1a2a;
    font-weight: 500;
}
