/* LSFD Citizen Portal — light theme (pairs with Default / Flame) */

.lsfd-portal {
	color: #333;
	line-height: 1.5;
}

/* Hero */
.lsfd-hero {
	align-items: center;
	background: linear-gradient(135deg, #a20000 0%, #750000 45%, #4a0000 100%);
	border: 1px solid #550000;
	border-bottom: 4px solid #e85d5d;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(85, 0, 0, 0.22);
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: space-between;
	margin-bottom: 24px;
	overflow: hidden;
	padding: 28px 32px;
	position: relative;
}

.lsfd-hero::before {
	background: radial-gradient(circle at 85% 50%, rgba(232, 93, 93, 0.22) 0%, transparent 55%);
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.lsfd-hero__brand {
	align-items: center;
	display: flex;
	flex: 1 1 280px;
	gap: 20px;
	min-width: 0;
	position: relative;
	z-index: 1;
}

.lsfd-hero__badge {
	filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
	flex-shrink: 0;
	height: 88px;
	width: 88px;
}

.lsfd-hero__text h1 {
	color: #fff;
	font-size: 1.65em;
	font-weight: bold;
	letter-spacing: 0.04em;
	line-height: 1.2;
	margin: 0 0 6px;
	text-transform: uppercase;
}

.lsfd-hero__text p {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.95em;
	margin: 0;
	max-width: 520px;
}

.lsfd-hero__actions {
	display: flex;
	flex: 0 1 auto;
	flex-wrap: wrap;
	gap: 10px;
	position: relative;
	z-index: 1;
}

.lsfd-hero__actions a {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 5px;
	color: #fff !important;
	font-size: 0.9em;
	font-weight: bold;
	padding: 10px 16px;
	text-decoration: none !important;
	transition: background 0.2s, border-color 0.2s;
}

.lsfd-hero__actions a:hover {
	background: rgba(232, 93, 93, 0.28);
	border-color: #e85d5d;
	text-decoration: none !important;
}

.lsfd-hero__actions a.lsfd-btn--primary {
	background: linear-gradient(to bottom, #fff 0%, #efefef 100%);
	border-color: #fff;
	color: #750000 !important;
}

.lsfd-hero__actions a.lsfd-btn--primary:hover {
	background: linear-gradient(to bottom, #fff 0%, #e85d5d 100%);
	color: #4a0000 !important;
}

/* Layout */
.lsfd-layout {
	display: grid;
	gap: 24px;
	grid-template-columns: 280px minmax(0, 1fr);
}

/* Sidebar */
.lsfd-sidebar {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.lsfd-card {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(85, 0, 0, 0.08);
	overflow: hidden;
}

.lsfd-card__header {
	background: linear-gradient(to bottom, #a20000 0%, #8a0000 48%, #750000 100%);
	border-bottom: 2px solid #550000;
	color: #fff;
	font-size: 0.85em;
	font-weight: bold;
	letter-spacing: 0.06em;
	padding: 11px 14px;
	text-transform: uppercase;
}

.lsfd-card__body {
	padding: 14px;
}

.lsfd-card__body--nav {
	padding: 0;
}

/* Sidebar navigation links */
.lsfd-nav__item {
	align-items: flex-start;
	border-bottom: 1px solid #eee;
	color: inherit !important;
	display: flex;
	gap: 12px;
	padding: 12px 14px;
	text-decoration: none !important;
	transition: background 0.15s, border-color 0.15s;
}

.lsfd-nav__item:last-child {
	border-bottom: 0;
}

.lsfd-nav__item:hover {
	background: #f5f5f5;
	text-decoration: none !important;
}

.lsfd-nav__item::after {
	color: #ccc;
	content: "\203A";
	flex-shrink: 0;
	font-size: 1.2em;
	font-weight: bold;
	line-height: 1.6;
	margin-left: auto;
	transition: color 0.15s, transform 0.15s;
}

.lsfd-nav__item:hover::after {
	color: #a20000;
	transform: translateX(2px);
}

.lsfd-nav__icon {
	align-items: center;
	background: linear-gradient(135deg, #a20000 0%, #750000 100%);
	border-radius: 8px;
	color: #fff;
	display: flex;
	flex-shrink: 0;
	font-size: 1.05em;
	height: 36px;
	justify-content: center;
	line-height: 1;
	width: 36px;
}

.lsfd-nav__icon svg {
	display: block;
	height: 18px;
	width: 18px;
}

.lsfd-nav__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.lsfd-nav__title {
	color: #750000;
	display: block;
	font-size: 0.9em;
	font-weight: bold;
	line-height: 1.3;
}

.lsfd-nav__desc {
	color: #666;
	display: block;
	font-size: 0.76em;
	line-height: 1.35;
}

.lsfd-nav__item:hover .lsfd-nav__title {
	color: #a20000;
}

/* Firefighter of the month */
.lsfd-officer {
	align-items: center;
	display: flex;
	gap: 14px;
}

.lsfd-officer__avatar {
	background: linear-gradient(135deg, #a20000, #750000);
	border: 3px solid #550000;
	border-radius: 50%;
	flex-shrink: 0;
	height: 64px;
	object-fit: cover;
	width: 64px;
}

.lsfd-officer__name {
	color: #a20000;
	font-size: 1.05em;
	font-weight: bold;
	margin: 0 0 2px;
}

.lsfd-officer__rank {
	color: #666;
	font-size: 0.85em;
	margin: 0 0 6px;
}

.lsfd-officer__quote {
	border-left: 3px solid #a20000;
	color: #666;
	font-size: 0.82em;
	font-style: italic;
	margin: 0;
	padding-left: 10px;
}

/* Search / who's online widgets in sidebar */
.lsfd-sidebar .tborder,
.lsfd-sidebar .thead {
	border-radius: 6px 6px 0 0;
}

.lsfd-sidebar .tborder {
	margin-bottom: 0;
}

/* Main content */
.lsfd-main {
	min-width: 0;
}

.lsfd-intro {
	background: #f5f5f5;
	border: 1px solid #ccc;
	border-left: 4px solid #a20000;
	border-radius: 6px;
	margin-bottom: 20px;
	padding: 16px 18px;
}

.lsfd-intro h2 {
	color: #750000;
	font-size: 1.1em;
	margin: 0 0 8px;
}

.lsfd-intro p {
	color: #666;
	font-size: 0.92em;
	margin: 0;
}

.lsfd-announcements {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(85, 0, 0, 0.08);
	overflow: hidden;
}

.lsfd-announcements__header {
	align-items: center;
	background: linear-gradient(to bottom, #a20000 0%, #8a0000 48%, #750000 100%);
	border-bottom: 2px solid #550000;
	color: #fff;
	display: flex;
	font-size: 0.9em;
	font-weight: bold;
	justify-content: space-between;
	letter-spacing: 0.05em;
	padding: 12px 16px;
	text-transform: uppercase;
}

.lsfd-announcements__header a {
	color: rgba(255, 255, 255, 0.85) !important;
	font-size: 0.85em;
	font-weight: normal;
	letter-spacing: 0;
	text-decoration: none !important;
	text-transform: none;
}

.lsfd-announcements__header a:hover {
	color: #ffb3b3 !important;
}

.lsfd-announcements__body {
	padding: 4px 0;
}

/* Soften default MyBB announcement tables inside portal */
.lsfd-announcements .tborder {
	border: 0;
	box-shadow: none;
	margin: 0;
}

.lsfd-announcements .tborder .trow1,
.lsfd-announcements .tborder .trow2 {
	border-bottom: 1px solid #eee;
}

.lsfd-announcements .tborder tr:last-child .trow1,
.lsfd-announcements .tborder tr:last-child .trow2 {
	border-bottom: 0;
}

.lsfd-announcements .thead {
	background: transparent !important;
	border: 0 !important;
}

.lsfd-announcements .thead strong {
	color: #750000;
	font-size: 1em;
}

.lsfd-announcements .thead a:link,
.lsfd-announcements .thead a:visited,
.lsfd-announcements .thead a:hover,
.lsfd-announcements .thead a:active {
	color: #a20000 !important;
}

.lsfd-pagination {
	margin-top: 16px;
	text-align: center;
}

/* Dept stats mini row */
.lsfd-stats {
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr 1fr;
}

.lsfd-stat {
	background: #f5f5f5;
	border: 1px solid #eee;
	border-radius: 5px;
	padding: 10px;
	text-align: center;
}

.lsfd-stat__value {
	color: #a20000;
	display: block;
	font-size: 1.2em;
	font-weight: bold;
}

.lsfd-stat__label {
	color: #666;
	display: block;
	font-size: 0.72em;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

/* Emergency banner */
.lsfd-emergency {
	background: linear-gradient(to right, #550000, #a20000);
	border: 1px solid #750000;
	border-radius: 6px;
	color: #fff;
	font-size: 0.85em;
	margin-bottom: 16px;
	padding: 10px 14px;
	text-align: center;
}

.lsfd-emergency strong {
	letter-spacing: 0.08em;
}

@media (max-width: 900px) {
	.lsfd-layout {
		grid-template-columns: 1fr;
	}

	.lsfd-hero {
		flex-direction: column;
		padding: 22px 20px;
		text-align: center;
	}

	.lsfd-hero__brand {
		flex-direction: column;
		text-align: center;
	}

	.lsfd-hero__actions {
		justify-content: center;
		width: 100%;
	}
}
