/* Admin Console: uniform button grid */
.admin-console-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
	max-width: 520px;
	margin: 0 auto;
}
.admin-console-btn {
	min-height: 90px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 1rem 0.75rem;
	font-size: 1rem;
	text-decoration: none;
}
.admin-console-btn:hover small {
	color: #fff !important;
	transition: color 0.2s;
}
.admin-highlight {
	background-color: #ff9800 !important;
	color: #fff !important;
	border-color: #ff9800 !important;
	box-shadow: 0 0 8px 2px rgba(255,152,0,0.15);
}
/* Orange background for all app modals */
#editOptionModal .modal-content,
#saveRecordModal .modal-content,
#savePdfModal .modal-content,
#deleteRecordModal .modal-content,
#bulkDeleteRecordModal .modal-content,
#ivWarningModal .modal-content {
	background-color: #ffe5b4;
}

.modal-light-orange {
	background-color: #ffe5b4;
}
/* Ensure edit and remove buttons in table are same size */
.option-table-btn {
	width: 22px;
	height: 22px;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	line-height: 1;
}
/* Leaderboard/Image placeholder styles */
.leaderboard-placeholder {
	height: 180px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 0px dashed #ccc;
}
.leaderboard-placeholder-text {
	color: #888;
	font-size: 1.2em;
}

.leaderboard-placeholder-image {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 8px;
}

.leaderboard-placeholder > img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 8px;
	display: block;
}
/* Moved from index.html inline CSS */
body {
	background: #fff;
	color: #222;
	font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}
.main-content {
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
	border: 1px solid #e5e7eb;
	padding: 5% 5%;
}
h2, h3 {
	color: #222;
	font-weight: 600;
}
.navbar {
	background-color: #fff !important;
	border-bottom: 1px solid #e5e7eb;
}
.navbar .nav-link {
	color: #222 !important;
	font-weight: 500;
}
.navbar .nav-link.active {
	color: #222 !important;
	font-weight: bold;
}
.btn-primary, .btn-outline-primary {
	border-radius: 4px;
}
/* Navbar and container custom classes for alignment */
.main-container {
	max-width: 1100px;
}
.custom-navbar {
	border-bottom: 2px solid #5cbfc4;
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	margin-bottom: 5px;
}
.navbar-inner {
	max-width: 1100px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.navbar-brand.mb-0.h1 {
	font-size: 2rem;
	font-weight: 600;
}
.navbar-menu {
	margin-right: 0;
}
/* Paper-like background for side panel */
.sidebar-content {
	background: linear-gradient(180deg, #fdfefe 0%, #f7fbfc 100%);
	border-radius: 14px;
	box-shadow: 0 10px 26px rgba(25, 50, 77, 0.08);
	border: 1px solid rgba(92, 191, 196, 0.2);
	padding: 22px 16px;
	min-height: 400px;
}

.home-sidebar-panel {
	display: flex;
	flex-direction: column;
	gap: 0.95rem;
}

.home-sidebar-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.8rem;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid rgba(92, 191, 196, 0.24);
}

.home-sidebar-title {
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: #19324d;
}

.home-sidebar-link {
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #2b8f95;
	text-decoration: none;
}

.home-sidebar-link:hover {
	color: #1f6f74;
	text-decoration: underline;
}

.home-latest-posts-list {
	display: grid;
	gap: 0.75rem;
}

.home-latest-post-card {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.9rem 0.85rem;
	border-radius: 12px;
	border: 1px solid rgba(25, 50, 77, 0.12);
	background: #ffffff;
	box-shadow: 0 8px 16px rgba(25, 50, 77, 0.06);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-latest-post-card:hover {
	transform: translateY(-1px);
	border-color: rgba(43, 143, 149, 0.32);
	box-shadow: 0 12px 20px rgba(25, 50, 77, 0.09);
}

.home-latest-post-date {
	font-size: 0.76rem;
	font-weight: 700;
	color: rgba(25, 50, 77, 0.62);
	letter-spacing: 0.02em;
}

.home-latest-post-title {
	margin: 0;
	font-size: 1rem;
	line-height: 1.32;
	color: #19324d;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-latest-post-summary {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: rgba(25, 50, 77, 0.78);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-latest-post-btn {
	align-self: flex-start;
	margin-top: 0.1rem;
	padding: 0.36rem 0.78rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	border-radius: 9px;
}

.home-latest-posts-empty {
	padding: 0.95rem;
	border-radius: 10px;
	border: 1px dashed rgba(25, 50, 77, 0.2);
	background: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
	color: rgba(25, 50, 77, 0.74);
	text-align: center;
}

.home-latest-posts-skeleton {
	display: grid;
	gap: 0.75rem;
}

.home-latest-post-skeleton-item {
	padding: 0.9rem 0.85rem;
	border-radius: 12px;
	border: 1px solid rgba(25, 50, 77, 0.08);
	background: #ffffff;
	box-shadow: 0 8px 16px rgba(25, 50, 77, 0.04);
}

.home-latest-post-skeleton-line {
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(225, 233, 240, 0.8) 0%, rgba(241, 246, 250, 1) 50%, rgba(225, 233, 240, 0.8) 100%);
	background-size: 200% 100%;
	animation: home-sidebar-shimmer 1.2s linear infinite;
	margin-bottom: 0.55rem;
}

.home-latest-post-skeleton-line.short {
	width: 58%;
}

.home-latest-post-skeleton-line.mid {
	width: 82%;
}

.home-latest-post-skeleton-line:last-child {
	margin-bottom: 0;
}

@keyframes home-sidebar-shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

.admin-page-main {
	padding-top: 2.4rem;
}

.admin-page-header {
	margin-bottom: 1.5rem !important;
}

.admin-chart-panel {
	border: 1px solid rgba(15, 23, 42, 0.12);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(246,248,250,0.98) 100%);
	box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
	overflow: hidden;
}

.admin-chart-controls-panel .card-body,
.admin-chart-preview-panel .card-body {
	padding: 1.35rem 1.4rem 1.45rem;
}

.admin-chart-section-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	margin-bottom: 1rem;
}

.admin-chart-preview-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 1.1rem;
}

.admin-chart-stat-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.admin-chart-stat-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.3rem 0.7rem;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.05);
	font-size: 0.85rem;
	font-weight: 600;
	color: #1f2937;
}

.admin-chart-stat-key {
	font-weight: 400;
	color: #6b7280;
	font-size: 0.8rem;
}

.admin-chart-form-column {
	display: grid;
	gap: 1rem;
	align-content: start;
}

.admin-chart-control-card {
	padding: 1.1rem 1.15rem 1.15rem;
	border: 1px solid rgba(15, 23, 42, 0.10);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.admin-chart-control-kicker {
	display: none;
}

.admin-chart-inline-control {
	padding-top: 0.85rem;
	margin-top: 0.95rem;
	border-top: 1px solid rgba(15, 23, 42, 0.1);
}

.admin-chart-column-divider {
	display: none;
}

.admin-chart-controls-panel .card-title,
.admin-chart-preview-panel .card-title,
.admin-chart-controls-panel .text-secondary,
.admin-chart-preview-panel .text-secondary {
	color: #334155 !important;
}

.admin-chart-controls-panel .form-label {
	margin-bottom: 0.4rem;
	font-weight: 700;
	color: #1f2937;
}

.admin-chart-controls-panel .form-control {
	border-color: #94a3b8;
	background-color: #fdfdfe;
	color: #0f172a;
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.06);
}

.admin-chart-controls-panel .form-control::placeholder {
	color: #667085;
	opacity: 1;
}

.admin-chart-controls-panel .form-control:focus {
	border-color: #5b8def;
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.18);
}

.admin-chart-controls-panel .form-text {
	margin-top: 0.45rem;
	color: #374151;
	font-size: 0.85rem;
}

.admin-chart-toolbar {
	display: grid;
	gap: 1rem;
	align-items: end;
}

.admin-chart-toolbar-market {
	grid-template-columns: minmax(0, 1fr) minmax(160px, 0.55fr) minmax(160px, 0.55fr);
}

.admin-chart-toolbar-levels,
.admin-chart-toolbar-callouts {
	grid-template-columns: minmax(0, 1fr);
}

.admin-chart-action-row {
	display: flex;
	justify-content: center;
	padding-top: 0.5rem;
}

.admin-chart-submit-btn {
	min-width: 240px;
	font-weight: 700;
	font-size: 1.05rem;
	padding: 0.6rem 1.5rem;
	box-shadow: 0 10px 20px rgba(13, 110, 253, 0.18);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.admin-chart-submit-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(13, 110, 253, 0.24);
}

.admin-chart-presets {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.admin-chart-presets-label {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #475467;
	margin-right: 0.25rem;
}

.admin-chart-radio-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	min-height: 38px;
	align-items: center;
}

.admin-chart-radio-option {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-right: 0;
	padding: 0.42rem 0.7rem 0.42rem 0.6rem;
	border: 1px solid rgba(15, 23, 42, 0.22);
	border-radius: 999px;
	background: #f8f9fa;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
	transition: background 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}

.admin-chart-radio-option:hover {
	background: #e9ecef;
	border-color: rgba(15, 23, 42, 0.30);
}

.admin-chart-radio-option:has(.form-check-input:checked) {
	background: #0d6efd;
	border-color: #0d6efd;
	box-shadow: 0 2px 6px rgba(13, 110, 253, 0.25);
}

.admin-chart-radio-option:has(.form-check-input:checked) .form-check-label {
	color: #ffffff;
}

.admin-chart-radio-option:has(.form-check-input:checked) .form-check-input {
	background-color: #ffffff;
	border-color: #ffffff;
}

.admin-chart-radio-option .form-check-input {
	float: none;
	margin: 0;
	margin-top: 0;
	margin-left: 0;
	border-color: #6b7280;
	cursor: pointer;
	flex-shrink: 0;
}

.admin-chart-radio-option .form-check-label {
	font-size: 0.92rem;
	font-weight: 600;
	color: #1f2937;
	cursor: pointer;
	margin: 0;
	padding: 0;
}

.admin-chart-preset-btn.active {
	background-color: #0d6efd;
	border-color: #0d6efd;
	color: #ffffff;
}

.admin-chart-preset-btn:not(.active):hover {
	background-color: #e9ecef;
	border-color: #6c757d;
}

.admin-chart-host {
	max-width: 1200px;
	min-height: 620px;
	margin: 0 auto;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 1.25rem;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,249,250,0.98) 100%),
		radial-gradient(circle at top left, rgba(13,110,253,0.08), transparent 35%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.admin-chart-host.export-mode {
	max-width: 1400px;
	min-height: 760px;
	padding: 1.5rem;
	border-color: #d6dbe1;
	background: #ffffff;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.admin-chart-empty {
	min-height: 540px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #6c757d;
	padding: 2rem;
	border: 2px dashed #d8dee4;
	border-radius: 12px;
	background: rgba(255,255,255,0.72);
}

.admin-chart-empty-icon {
	color: #ced4da;
	margin-bottom: 1rem;
}

.admin-chart-empty-text {
	font-size: 1.05rem;
	line-height: 1.5;
	max-width: 34ch;
}



@media (max-width: 991.98px) {
	.admin-chart-toolbar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.admin-chart-toolbar-market,
	.admin-chart-toolbar-levels,
	.admin-chart-toolbar-callouts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.admin-chart-preview-head {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 767.98px) {
	.admin-chart-toolbar-market,
	.admin-chart-toolbar-levels,
	.admin-chart-toolbar-callouts {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 575.98px) {
	.admin-chart-toolbar,
	.admin-chart-stat-strip {
		gap: 0.4rem;
	}

	.admin-chart-action-row {
		justify-content: stretch;
	}

	.admin-chart-submit-btn {
		width: 100%;
		min-width: 0;
	}

	.admin-chart-toolbar-market,
	.admin-chart-toolbar-levels,
	.admin-chart-toolbar-callouts {
		grid-template-columns: 1fr;
	}

	.admin-chart-controls-panel .card-body,
	.admin-chart-preview-panel .card-body {
		padding: 1.1rem;
	}

	.admin-chart-presets {
		gap: 0.4rem;
	}

	.admin-chart-radio-group {
		gap: 0.4rem;
	}

	.admin-chart-host {
		padding: 0.85rem;
		min-height: 460px;
	}

	.admin-chart-host.export-mode {
		min-height: 520px;
		padding: 1rem;
	}

	.admin-chart-empty {
		min-height: 420px;
	}
}
html {
  overflow-y: scroll;
}

body {
	background: #f8f9fa;
}

.container {
	max-width: 1100px;
	margin-top: 2px;
	margin-bottom: 1px;
}

#plChart {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}


/* Make the slider thumb (circle) red */
#daysToExpiry::-webkit-slider-thumb {
	background: #dc3545;
	border: 2px solid #007bff;
}

#daysToExpiry::-moz-range-thumb {
	background: #dc3545;
	border: 2px solid #007bff;
}

#daysToExpiry::-ms-thumb {
	background: #dc3545;
	border: 2px solid #007bff;
}

/* Add blue border to the slider track */
#daysToExpiry {
	border: 2px solid #007bff;
	border-radius: 8px;
	box-sizing: border-box;
}

.shared-by-banner {
	background: #f0f7ff;
	border: 1px solid #b6d4fe;
	border-radius: 0.375rem;
	padding: 0.5rem 1rem;
	font-size: 0.92rem;
	color: #333;
	margin-top: 0.75rem;
	text-align: center;
}

.shared-by-separator {
	color: #999;
}

.shared-by-description {
	color: #666;
	font-style: italic;
}

.record-action-symbol {
	font-size: 1.2rem;
	line-height: 1;
	display: inline-block;
	vertical-align: middle;
}

.record-details-symbol {
	font-size: 1.45rem;
}

.record-action-group {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: nowrap;
}

.record-action-btn {
	width: 2rem;
	height: 2rem;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.share-status-btn {
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.share-status-btn:disabled {
	cursor: default;
	opacity: 0.7;
}

.saved-records-header th {
	background-color: #1a5276;
	color: #fff;
}

#savedRecordsContainer .table-striped > tbody > tr:nth-of-type(odd) > * {
	--bs-table-bg-type: #eef1f3;
}

.saved-record-select-cell {
	width: 36px;
	text-align: center;
}

.saved-record-name-cell {
	max-width: 180px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.saved-record-desc-cell {
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.saved-records-action-cell {
	width: 80px;
	text-align: center;
}

.saved-record-details-panel {
	background-color: #ffffff;
	border-left: 3px solid #0d6efd !important;
}

.saved-record-details-panel .table {
	background-color: #f0f0f0;
}

.table-responsive:has(.dropdown-menu.show) {
	overflow: visible !important;
}

.saved-records-empty-state {
	text-align: center;
	padding: 3rem 1rem;
	color: #6c757d;
}

.saved-records-empty-state .bi-journal-bookmark {
	font-size: 2.5rem;
	display: block;
	margin-bottom: 0.75rem;
}

.saved-records-page-size-select {
	width: 130px;
}

.saved-records-guest-cta {
	text-align: center;
	padding: 2.5rem 1.5rem;
	border: 1px solid rgba(25, 50, 77, 0.12);
	border-radius: 24px;
	background:
		radial-gradient(circle at top left, rgba(92, 191, 196, 0.15), transparent 32%),
		linear-gradient(135deg, #f0fafa 0%, #f4f9f7 52%, #eaf5f0 100%);
	box-shadow: 0 18px 36px rgba(25, 50, 77, 0.07);
}

.saved-records-guest-icon {
	font-size: 2.5rem;
	color: #064c21;	
	margin-bottom: 0.75rem;
}

.saved-records-guest-title {
	font-size: 1.4rem;
	color: #19324d;
	margin-bottom: 0.5rem;
}

.saved-records-guest-text {
	font-size: 1rem;
	color: rgba(25, 50, 77, 0.75);
	max-width: 44ch;
	margin: 0 auto 1.25rem;
	line-height: 1.65;
}

.saved-records-guest-hint {
	font-size: 0.88rem;
	color: #6c757d;
}

.saved-records-guest-hint a {
	color: #3a7abf;
}

.saved-records-goto-input,
.goto-page-input {
	width: 90px;
}

.brand-link-reset {
	text-decoration: none;
	color: inherit;
}

.sidebar-sticky-offset {
	top: 80px;
}

.site-footer {
	background: #d4f0f0;
	border-top: 1px solid #e5e7eb;
	font-size: 1rem;
	color: #555;
}

.site-footer-links {
	margin-top: 0.5rem;
	font-size: 0.88rem;
}

.site-footer-links a {
	color: #19324d;
	text-decoration: none;
	margin: 0 0.5rem;
}

.site-footer-links a:hover {
	text-decoration: underline;
}

/* ── Homepage hero ─────── */

.home-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
	gap: 1.2rem;
	padding: 1.6rem;
	margin-bottom: 1.5rem;
	border: 1px solid rgba(25, 50, 77, 0.12);
	border-radius: 24px;
	background:
		radial-gradient(circle at top left, rgba(92, 191, 196, 0.15), transparent 32%),
		linear-gradient(135deg, #f0fafa 0%, #f4f9f7 52%, #eaf5f0 100%);
	box-shadow: 0 18px 36px rgba(25, 50, 77, 0.07);
	align-items: center;
}

.home-hero-kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #2b5ea7;
	margin-bottom: 0.6rem;
}

.home-hero-title {
	margin: 0;
	font-size: clamp(1.8rem, 3.5vw, 2.8rem);
	line-height: 1.1;
	color: #19324d;
}

.home-hero-lead {
	margin: 0.9rem 0 0;
	font-size: 1.02rem;
	line-height: 1.75;
	color: rgba(25, 50, 77, 0.82);
	max-width: 56ch;
}

.home-hero-highlights {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.home-hero-highlight {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.9rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(25, 50, 77, 0.1);
	border-left: 3px solid #c0392b;
}

.home-hero-highlight-value {
	font-size: 1rem;
	color: #19324d;
}

.home-hero-highlight-label {
	font-size: 0.82rem;
	color: rgba(25, 50, 77, 0.58);
}

@media (max-width: 767.98px) {
	.home-hero {
		grid-template-columns: 1fr;
		padding: 1.2rem;
	}
}

/* ── Legal pages (Terms, Privacy) ─────── */

.legal-shell {
	max-width: 780px;
	margin: 0 auto;
	padding: 1rem 0 2rem;
}

.legal-title {
	font-size: 2rem;
	color: #19324d;
	margin-bottom: 0.25rem;
}

.legal-effective {
	font-size: 0.88rem;
	color: #6c757d;
	margin-bottom: 2rem;
}

.legal-section {
	margin-bottom: 1.75rem;
}

.legal-section h2 {
	font-size: 1.2rem;
	color: #19324d;
	margin-bottom: 0.5rem;
}

.legal-section h3 {
	font-size: 1.05rem;
	color: #24384f;
	margin: 1rem 0 0.35rem;
}

.legal-section p,
.legal-section li {
	font-size: 0.96rem;
	line-height: 1.75;
	color: #333;
}

.legal-section ul {
	padding-left: 1.5rem;
	margin: 0.5rem 0;
}

.legal-section a {
	color: #3a7abf;
}

.about-shell {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin: -2% -2.5%;
}

.about-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
	gap: 1.2rem;
	padding: 1.6rem;
	border: 1px solid rgba(25, 50, 77, 0.12);
	border-radius: 24px;
	background:
		radial-gradient(circle at top left, rgba(92, 191, 196, 0.15), transparent 32%),
		linear-gradient(135deg, #f0fafa 0%, #f4f9f7 52%, #eaf5f0 100%);
	box-shadow: 0 18px 36px rgba(25, 50, 77, 0.07);
	align-items: center;
}

.about-kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #2b5ea7;
	margin-bottom: 0.6rem;
}

.about-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.15rem);
	line-height: 1.05;
	color: #19324d;
}

.about-lead {
	margin: 0.9rem 0 0;
	font-size: 1.04rem;
	line-height: 1.75;
	color: rgba(25, 50, 77, 0.82);
	max-width: 60ch;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.85rem;
}

.about-stat-card {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 1rem;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(25, 50, 77, 0.1);
	border-left: 3px solid #c0392b;
}

.about-stat-label {
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(25, 50, 77, 0.58);
}

.about-stat-value {
	font-size: 1.3rem;
	font-weight: 700;
	color: #19324d;
}

.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
	gap: 1.2rem;
}

.about-card {
	background: #fff;
	border: 1px solid rgba(25, 50, 77, 0.12);
	border-radius: 22px;
	padding: 1.4rem;
	box-shadow: 0 14px 30px rgba(25, 50, 77, 0.06);
}

.about-card-title {
	margin: 0 0 0.9rem;
	font-size: 1.3rem;
	color: #19324d;
}

.about-copy,
.about-list {
	margin: 0;
	color: rgba(25, 50, 77, 0.82);
	line-height: 1.75;
}

.about-list {
	padding-left: 1.2rem;
	margin-top: 0.2rem;
	margin-bottom: 0;
}

.about-list li + li {
	margin-top: 0.5rem;
}

.about-stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.about-cta {
	margin-top: 1.1rem;
	padding: 0.6rem 1.6rem;
	font-size: 1.02rem;
	border-radius: 12px;
	background: #2b5ea7;
	border-color: #2b5ea7;
	color: #fff;
}

.about-cta:hover {
	background: #234d8c;
	border-color: #234d8c;
	color: #fff;
}

.about-steps {
	text-align: center;
}

.about-steps-heading {
	margin: 0 0 1rem;
	font-size: 1.35rem;
	color: #19324d;
}

.about-steps-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.about-step-card {
	padding: 1.2rem 1rem;
	border-radius: 18px;
	border: 1px solid rgba(25, 50, 77, 0.1);
	background: #fff;
	box-shadow: 0 10px 22px rgba(25, 50, 77, 0.05);
	text-align: center;
}

.about-step-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: #c0392b;
	color: #fff;
	font-weight: 700;
	font-size: 1.05rem;
	margin-bottom: 0.6rem;
}

.about-step-title {
	margin: 0 0 0.4rem;
	font-size: 1.08rem;
	color: #19324d;
}

.about-step-copy {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(25, 50, 77, 0.78);
}

.about-callout {
	padding: 1.15rem 1.25rem;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(92, 191, 196, 0.10), rgba(161, 205, 192, 0.06));
	border: 1px solid rgba(92, 191, 196, 0.22);
	border-left: 4px solid #5cbfc4;
	color: #19324d;
	font-size: 1.1rem;
	font-style: italic;
	line-height: 1.65;
	text-align: center;
}

.about-contact-link {
	font-weight: 600;
}

/* ── Admin Posts page ── */

.post-title-cell {
	min-width: 220px;
	max-width: 300px;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	line-height: 1.25;
}

.post-slug-cell {
	max-width: 220px;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	font-family: Consolas, 'Courier New', monospace;
	font-size: 0.9rem;
}

.post-summary-preview {
	max-width: 420px;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	color: #555;
	font-size: 0.92rem;
	line-height: 1.3;
}

.post-editor-content {
	min-height: 360px;
	font-family: Consolas, 'Courier New', monospace;
	font-size: 0.92rem;
	line-height: 1.5;
	resize: vertical;
}

.post-editor-toolbar .btn {
	min-width: 36px;
	padding: 0.25rem 0.45rem;
	font-size: 1rem;
}

.post-editor-toolbar .btn-group + .btn-group {
	margin-left: 0.35rem;
}

.post-editor-divider {
	border-color: #dee2e6;
	opacity: 0.6;
}

.post-editor-help-panel {
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 0.375rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.85rem;
	color: #555;
	line-height: 1.7;
}

.post-editor-preview-label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #495057;
	margin-bottom: 0.35rem;
}

.post-live-preview {
	min-height: 360px;
	max-height: 520px;
	overflow: auto;
	background: #fff;
	border: 1px solid #ced4da;
	border-radius: 0.375rem;
	padding: 12px;
}

.post-live-preview-empty {
	color: #6c757d;
	font-style: italic;
}

.post-cover-preview-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.75rem;
}

.post-cover-preview-note {
	color: #6c757d;
	font-size: 0.86rem;
}

.post-cover-preview-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
}

.post-cover-preview-card {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

.post-cover-preview-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: #495057;
}

.post-cover-preview-frame {
	position: relative;
	width: 100%;
	overflow: hidden;
	border-radius: 0.75rem;
	border: 1px solid #ced4da;
	background: linear-gradient(135deg, #fff4e7, #f3f8fb);
}

.post-cover-preview-frame-landing {
	aspect-ratio: 1.2 / 1;
}

.post-cover-preview-frame-article {
	aspect-ratio: 3 / 2;
}

.post-cover-preview-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.post-cover-preview-state {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	text-align: center;
	color: #6c757d;
	font-size: 0.92rem;
	line-height: 1.4;
	background: rgba(255, 255, 255, 0.82);
}

.post-cover-preview-state-error {
	color: #842029;
	background: rgba(248, 215, 218, 0.92);
}

.admin-posts-filter-bar {
	background: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 12px;
	padding: 1rem;
	margin-bottom: 1rem;
}

th.sortable {
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}

th.sortable .sort-icon {
	display: inline-block;
	width: 1em;
	margin-left: 0.3em;
	opacity: 0.3;
}

th.sortable[aria-sort="ascending"] .sort-icon,
th.sortable[aria-sort="descending"] .sort-icon {
	opacity: 1;
}

.admin-posts-action-cell {
	white-space: nowrap;
}

.admin-posts-empty-state {
	text-align: center;
	padding: 2.5rem 1rem;
	color: #6c757d;
}

.admin-posts-empty-state i {
	font-size: 2.5rem;
	margin-bottom: 0.75rem;
	display: block;
	opacity: 0.5;
}

.admin-posts-loading-state {
	text-align: center;
	padding: 2rem 1rem;
	color: #6c757d;
}

@media (max-width: 768px) {
	.post-cover-preview-grid {
		grid-template-columns: 1fr;
	}
}

.account-shell {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin: -2% -2.5%;
}

.account-header-card {
	padding: 1.35rem 1.45rem;
	border-radius: 22px;
	border: 1px solid rgba(25, 50, 77, 0.12);
	background:
		radial-gradient(circle at top left, rgba(92, 191, 196, 0.15), transparent 32%),
		linear-gradient(135deg, #f0fafa 0%, #f4f9f7 52%, #eaf5f0 100%);
	box-shadow: 0 14px 30px rgba(25, 50, 77, 0.06);
}

.account-header-layout {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	align-items: flex-start;
}

.account-header-chip {
	flex: 0 0 auto;
	padding: 0.55rem 0.85rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(25, 50, 77, 0.1);
	font-size: 0.88rem;
	font-weight: 600;
	color: #19324d;
}

.account-kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #2b5ea7;
	margin-bottom: 0.55rem;
}

.account-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.05;
	color: #19324d;
}

.account-lead {
	margin: 0.9rem 0 0;
	max-width: 62ch;
	font-size: 1.02rem;
	line-height: 1.75;
	color: rgba(25, 50, 77, 0.82);
}

.account-layout {
	display: grid;
	grid-template-columns: minmax(300px, 0.82fr) minmax(360px, 1.18fr);
	gap: 1rem;
	align-items: start;
}

.account-stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.account-card {
	background: #fff;
	border: 1px solid rgba(25, 50, 77, 0.12);
	border-radius: 22px;
	padding: 1.35rem;
	box-shadow: 0 14px 30px rgba(25, 50, 77, 0.06);
}

.account-card-header {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
	align-items: start;
}

.account-card-title {
	margin: 0 0 0.9rem;
	font-size: 1.28rem;
	color: #19324d;
}

.account-card-copy,
.account-password-tips {
	margin: 0;
	color: rgba(25, 50, 77, 0.82);
	line-height: 1.7;
}

.account-profile-list {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	margin: 1rem 0 0;
}

.account-profile-row {
	display: grid;
	grid-template-columns: minmax(92px, 120px) minmax(0, 1fr);
	gap: 0.55rem;
	align-items: center;
	padding: 0.95rem 1rem;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(246, 249, 252, 1), rgba(255, 255, 255, 1));
	border: 1px solid rgba(25, 50, 77, 0.12);
}

.account-profile-label {
	margin: 0;
	color: rgba(25, 50, 77, 0.78);
	font-weight: 600;
	letter-spacing: 0.01em;
}

.account-profile-value {
	margin: 0;
	color: #10263d;
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.5;
	word-break: break-word;
}

.account-profile-value-ellipsis {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.account-password-card {
	min-height: 100%;
}

.account-form-row + .account-form-row {
	margin-top: 1rem;
}

.account-form-label {
	margin-bottom: 0.45rem;
	font-weight: 700;
	color: #19324d;
}

.account-password-card .form-control {
	border-color: rgba(25, 50, 77, 0.16);
	background-color: #fbfdff;
}

.account-password-card .form-control:focus {
	border-color: rgba(13, 110, 253, 0.5);
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
	background-color: #fff;
}

.account-form-help {
	margin-top: 0.45rem;
	color: rgba(25, 50, 77, 0.7);
}

.account-password-actions-card {
	margin-top: 1rem;
	padding: 0.9rem 1rem;
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(246, 249, 252, 1), rgba(255, 255, 255, 1));
	border: 1px solid rgba(25, 50, 77, 0.12);
}

.account-password-actions {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	flex-wrap: wrap;
	margin-top: 0.25rem;
}

.account-inline-note {
	color: rgba(25, 50, 77, 0.74);
	font-size: 0.95rem;
}

.account-password-tips {
	padding-left: 1.2rem;
	margin-top: 0.9rem;
	margin-bottom: 0;
}

.account-password-tips li + li {
	margin-top: 0.45rem;
}

/* Avatar badge */
.account-avatar {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.4rem;
	font-weight: 700;
	color: #fff;
	background: #0d6efd;
	text-transform: uppercase;
	box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

/* Password eye toggle */
.account-eye-toggle {
	position: absolute;
	right: 0.65rem;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 0;
	color: rgba(25, 50, 77, 0.55);
	cursor: pointer;
	line-height: 1;
}

.account-eye-toggle:hover {
	color: #19324d;
}

/* Strength meter */
.account-strength-bar {
	height: 5px;
	border-radius: 3px;
	background: rgba(25, 50, 77, 0.1);
	overflow: hidden;
}

.account-strength-fill {
	height: 100%;
	width: 0;
	border-radius: 3px;
	transition: width 0.3s, background-color 0.3s;
}

.account-strength-fill.strength-weak {
	background-color: #dc3545;
}

.account-strength-fill.strength-fair {
	background-color: #fd7e14;
}

.account-strength-fill.strength-good {
	background-color: #ffc107;
}

.account-strength-fill.strength-strong {
	background-color: #198754;
}

.account-strength-fill.strength-very-strong {
	background-color: #0d6efd;
}

.account-strength-label {
	font-size: 0.78rem;
	font-weight: 600;
	margin-top: 0.3rem;
}

.account-strength-label.strength-weak {
	color: #dc3545;
}

.account-strength-label.strength-fair {
	color: #fd7e14;
}

.account-strength-label.strength-good {
	color: #856404;
}

.account-strength-label.strength-strong {
	color: #198754;
}

.account-strength-label.strength-very-strong {
	color: #0d6efd;
}

/* Danger zone card */
.account-danger-card {
	border-color: rgba(185, 28, 28, 0.25);
	background: linear-gradient(135deg, #fff5f5 0%, #fff8f0 100%);
}

@media (max-width: 768px) {
	.account-header-layout {
		flex-direction: column;
	}

	.account-layout {
		grid-template-columns: 1fr;
	}

	.account-profile-row {
		grid-template-columns: 1fr;
		gap: 0.25rem;
	}

	.account-header-chip {
		justify-self: start;
	}

	.account-password-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.account-profile-value {
		font-size: 0.98rem;
	}

	.account-header-layout {
		gap: 0.75rem;
	}

	.account-card {
		padding: 1.15rem;
	}

	.account-title {
		font-size: clamp(1.8rem, 8vw, 2.4rem);
	}

	.account-lead {
		max-width: none;
		font-size: 0.98rem;
	}
}

@media (max-width: 768px) {
	.about-hero,
	.about-grid {
		grid-template-columns: 1fr;
	}

	.about-stats {
		grid-template-columns: 1fr 1fr;
	}

	.about-steps-grid {
		grid-template-columns: 1fr;
	}
}

.subtitle-tight-bottom {
	margin-bottom: 0;
	padding-bottom: 0;
}

.subtitle-tight-top {
	margin-top: 5px;
	padding-top: 0;
	line-height: 1;
}

.link-underline {
	text-decoration: underline;
}

.start-strategy-link {
	font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
	font-size: 1.08rem;
	letter-spacing: 0.01em;
	color: #1f6f74;
	display: inline-block;
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: linear-gradient(180deg, #eaf6f7 0%, #dff1f3 100%);
	border: 1px solid rgba(31, 111, 116, 0.2);
	text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.start-strategy-link:hover {
	color: #16545a;
	background: linear-gradient(180deg, #dff1f3 0%, #d2ebee 100%);
	border-color: rgba(22, 84, 90, 0.28);
	text-decoration: none;
}

.no-pointer-events {
	pointer-events: none;
}

.initially-hidden {
	display: none;
}

.submission-date-small {
	font-size: 0.9em;
}

.summary-table-bordered {
	border-collapse: collapse;
	border: 2px solid #000;
}

.chart-tip-small {
	font-size: 0.9rem;
}

.days-expiry-date {
	font-size: 0.98em;
}

.days-bound-label {
	min-width: 40px;
}

.days-slider-rtl {
	direction: rtl;
	width: 300px;
}

.spacer-bottom-24 {
	padding-bottom: 24px;
}

/* Blog post heading sizes */
h1 {
  font-size: 1.6rem;
  font-weight: 700;
}
h2 {
  font-size: 1.3rem;
  font-weight: 600;
}
h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Blog post title size */
.blog-post-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5em;
}

#postContent img {
  max-width: 90%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.blog-shell .card,
.blog-post-shell .card {
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border-radius: 12px;
}

.blog-shell .card-img-top,
.blog-post-shell .card-img-top,
#postContent img,
.blog-shell .card img,
.blog-post-shell .card img {
  border-radius: 12px;
}

.blog-shell .card-title,
.blog-post-shell .card-title {
  margin-bottom: 0.7em;
}

.category-badge {
  background-color: #388e3c;
  color: #fff;
  border-radius: 8px;
  font-weight: 500;
  padding: 0.15em 0.5em;
  font-size: 0.95em;
  margin-bottom: 0.5em;
}

.blog-shell .card .text-muted,
.blog-post-shell .card .text-muted {
  margin-bottom: 0.5em;
}

.blog-shell .card-text,
.blog-post-shell .card-text {
  margin-bottom: 1em;
}

.read-more-btn {
  margin-top: 0.5em;
}

.btn-primary.read-more-btn {
  font-size: 1.1em;
  font-weight: 600;
  padding: 0.5em 1.2em;
  box-shadow: 0 2px 8px rgba(79,195,247,0.15);
  background-color: #1976d2;
  border-color: #1976d2;
}
.btn-primary.read-more-btn:hover {
  background-color: #1565c0;
  border-color: #1565c0;
}

.blog-shell {
	--blog-ink: #19324d;
	--blog-accent: #b85c38;
	--blog-sand: #f7efe4;
	--blog-paper: #fffaf3;
	--blog-border: rgba(25, 50, 77, 0.12);
	--blog-shadow: 0 20px 45px rgba(25, 50, 77, 0.08);
	margin: -2% -2.5%;
}

.blog-landing-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
	gap: 1rem;
	padding: 1.25rem 1.35rem;
	margin-bottom: 1.25rem;
	border-radius: 24px;
	border: 1px solid var(--blog-border);
	background:
		radial-gradient(circle at top left, rgba(184, 92, 56, 0.18), transparent 36%),
		linear-gradient(135deg, #fff7ee 0%, #f5efe7 48%, #edf5f6 100%);
	box-shadow: var(--blog-shadow);
	overflow: hidden;
}

.blog-landing-copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.65rem;
}

.blog-landing-kicker,
.blog-empty-eyebrow {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--blog-accent);
}

.blog-landing-title {
	margin: 0;
	font-size: clamp(1.85rem, 3.3vw, 2.8rem);
	line-height: 1.08;
	font-weight: 700;
	max-width: 15ch;
	color: var(--blog-ink);
}

.blog-landing-subtitle {
	margin: 0;
	max-width: 58ch;
	font-size: 0.97rem;
	line-height: 1.58;
	color: rgba(25, 50, 77, 0.78);
}

.blog-landing-stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.9rem;
	align-content: center;
}

.blog-stat-card {
	padding: 0.9rem 1rem;
	border-radius: 18px;
	border: 1px solid rgba(25, 50, 77, 0.1);
	background: rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(8px);
	box-shadow: 0 12px 24px rgba(25, 50, 77, 0.06);
}

.blog-stat-label {
	display: block;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(25, 50, 77, 0.58);
	margin-bottom: 0.35rem;
}

.blog-stat-value {
	display: block;
	font-size: 1.45rem;
	line-height: 1.15;
	color: var(--blog-ink);
}

.blog-toolbar-card {
	padding: 1.4rem;
	margin-bottom: 1.4rem;
	border-radius: 24px;
	border: 1px solid rgba(25, 50, 77, 0.12);
	background:
		radial-gradient(circle at top left, rgba(92, 191, 196, 0.15), transparent 32%),
		linear-gradient(135deg, #f0fafa 0%, #f4f9f7 52%, #eaf5f0 100%);
	box-shadow: 0 18px 36px rgba(25, 50, 77, 0.07);
}

.blog-toolbar-kicker {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #2b5ea7;
	margin-bottom: 0.3rem;
}

.blog-toolbar-refresh-btn {
	background: #2b5ea7;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 0.35rem 1rem;
	font-weight: 600;
}

.blog-toolbar-refresh-btn:hover {
	background: #234d8c;
	color: #fff;
}

.blog-toolbar-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 1rem;
}

.blog-toolbar-title {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--blog-ink);
}

.blog-toolbar-subtitle {
	margin: 0.3rem 0 0;
	color: rgba(25, 50, 77, 0.84);
	line-height: 1.6;
}

.blog-toolbar-input {
	height: 100%;
	border-radius: 12px;
	border-color: rgba(25, 50, 77, 0.2);
	background-color: rgba(255, 255, 255, 0.98);
	color: #19324d;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.blog-toolbar-input::placeholder {
	color: rgba(25, 50, 77, 0.58);
}

.blog-toolbar-input:focus {
	border-color: rgba(43, 94, 167, 0.45);
	box-shadow: 0 0 0 0.2rem rgba(43, 94, 167, 0.12);
}

.blog-toolbar-meta {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.95rem;
	padding: 0.9rem 1rem 0;
	border-top: 1px solid rgba(43, 94, 167, 0.14);
	flex-wrap: wrap;
}

.blog-toolbar-meta .text-secondary,
#postsCountText,
#activeFiltersText {
	color: rgba(25, 50, 77, 0.82) !important;
	font-weight: 500;
}

.blog-posts-stack {
	display: flex;
	flex-direction: column;
	gap: 1.35rem;
}

.blog-feature-card,
.blog-compact-card,
.blog-skeleton-card,
.blog-empty-state {
	border: 1px solid var(--blog-border);
	box-shadow: var(--blog-shadow);
	background: #fff;
}

.blog-feature-card {
	display: grid;
	grid-template-columns: minmax(320px, 1.12fr) minmax(0, 0.88fr);
	border-radius: 26px;
	overflow: hidden;
}

.blog-feature-media,
.blog-compact-media {
	position: relative;
	background: linear-gradient(135deg, #edd7c5, #dbe8ef);
	overflow: hidden;
}

.blog-feature-media {
	min-height: clamp(260px, 28vw, 380px);
}

.blog-compact-media {
	aspect-ratio: 3 / 2;
	min-height: 180px;
	max-height: 260px;
}

.blog-feature-media img,
.blog-compact-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.blog-card-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--blog-ink);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.blog-feature-body,
.blog-compact-body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.45rem;
	gap: 0.85rem;
}

.blog-compact-body {
	flex: 1;
	justify-content: flex-start;
}

.blog-compact-body .blog-post-action-row {
	margin-top: auto;
}

.blog-feature-title,
.blog-compact-title {
	margin: 0;
	color: var(--blog-ink);
	line-height: 1.15;
}

.blog-feature-title {
	font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.blog-compact-title {
	font-size: 1.28rem;
}

.blog-feature-summary,
.blog-compact-summary {
	margin: 0;
	color: rgba(25, 50, 77, 0.82);
	line-height: 1.7;
}

.blog-feature-summary {
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-compact-summary {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-post-meta-row,
.blog-post-action-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.blog-posts-stack .blog-post-meta-row .category-badge,
.blog-article-label-row .category-badge,
.blog-related-section .blog-post-meta-row .category-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.55rem;
	padding: 0.16rem 0.68rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin-bottom: 0;
	line-height: 1;
	color: #175c35;
	background: linear-gradient(180deg, #e9f7ee 0%, #dbf1e3 100%);
	border: 1px solid #b9e3c7;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.65);
}

.blog-posts-stack .blog-feature-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 1.2rem;
	min-width: 1.2rem;
	padding: 0;
	border-radius: 0;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1;
	color: #c0392b;
}

.blog-posts-stack .blog-feature-badge svg {
	width: 1.05rem;
	height: 1.05rem;
	display: block;
	fill: currentColor;
}

.blog-date-pill,
.blog-slug-label {
	font-size: 0.85rem;
	color: rgba(25, 50, 77, 0.62);
}

.blog-posts-stack .blog-date-pill,
.blog-related-section .blog-date-pill {
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1;
}

.blog-posts-stack .read-more-btn,
.blog-related-section .read-more-btn {
	margin-top: 0;
	padding: 0.45rem 0.95rem;
	min-height: 2.05rem;
	min-width: 7.25rem;
	border-radius: 10px;
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.blog-posts-stack .btn-primary.read-more-btn,
.blog-related-section .btn-primary.read-more-btn {
	background-color: #1f5fbf;
	border-color: #1f5fbf;
	box-shadow: 0 8px 14px rgba(31, 95, 191, 0.2);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.blog-posts-stack .btn-primary.read-more-btn:hover,
.blog-related-section .btn-primary.read-more-btn:hover {
	background-color: #184d9e;
	border-color: #184d9e;
	transform: translateY(-1px);
	box-shadow: 0 10px 16px rgba(24, 77, 158, 0.24);
}

.blog-posts-stack .btn-primary.read-more-btn:focus-visible,
.blog-related-section .btn-primary.read-more-btn:focus-visible {
	box-shadow: 0 0 0 0.18rem rgba(31, 95, 191, 0.26), 0 8px 14px rgba(31, 95, 191, 0.2);
}

.blog-slug-label {
	font-family: Consolas, 'Courier New', monospace;
}

.blog-post-grid,
.blog-skeleton-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.blog-post-grid .blog-compact-media {
	min-height: 160px;
	max-height: 190px;
}

.blog-post-grid .blog-compact-body {
	padding: 1.15rem;
	gap: 0.7rem;
}

.blog-post-grid .blog-compact-body .blog-post-meta-row {
	min-height: 1.55rem;
}

.blog-post-grid .blog-compact-title {
	font-size: 1.12rem;
	line-height: 1.25;
	min-height: 2.8em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-post-grid .blog-compact-summary {
	line-height: 1.58;
	min-height: 4.8em;
	-webkit-line-clamp: 3;
}

.blog-post-grid .blog-compact-body .blog-post-action-row {
	padding-top: 0.15rem;
}

.blog-posts-stack .blog-feature-body {
	padding: 1.3rem;
	gap: 0.75rem;
}

.blog-posts-stack .blog-feature-title {
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-posts-stack .blog-feature-summary {
	line-height: 1.62;
	-webkit-line-clamp: 5;
}

.blog-posts-stack .blog-feature-media {
	min-height: clamp(230px, 24vw, 320px);
}

@media (max-width: 1100px) {
	.blog-post-grid,
	.blog-skeleton-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.blog-compact-card {
	border-radius: 20px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.blog-compact-media {
	min-height: 180px;
	max-height: 220px;
}

.blog-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.blog-pager-center {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	flex-wrap: wrap;
}

.blog-page-input {
	width: 96px;
}

.blog-empty-state {
	padding: 2rem;
	border-radius: 20px;
	text-align: center;
	background: linear-gradient(180deg, #fffaf3, #ffffff);
}

.blog-empty-title {
	margin: 0.4rem 0 0.7rem;
	color: var(--blog-ink);
}

.blog-empty-copy {
	margin: 0;
	color: rgba(25, 50, 77, 0.72);
}

.blog-post-shell {
	--blog-ink: #19324d;
	--blog-accent: #2b8f95;
	--blog-border: rgba(25, 50, 77, 0.12);
	--blog-shadow: 0 20px 45px rgba(25, 50, 77, 0.08);
}

.blog-post-topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
}

.blog-article {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.blog-article-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.9fr);
	gap: 1.4rem;
	padding: 1.6rem;
	border-radius: 24px;
	border: 1px solid rgba(43, 143, 149, 0.24);
	background:
		radial-gradient(circle at top left, rgba(92, 191, 196, 0.28), transparent 36%),
		linear-gradient(135deg, #eefafb 0%, #e7f5f6 52%, #f4fbfb 100%);
	box-shadow: var(--blog-shadow);
	align-items: center;
}

.blog-article-copy {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
}

.blog-article-label-row {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.blog-article-title {
	margin: 0;
	font-size: clamp(2.1rem, 4vw, 3.6rem);
	line-height: 1.03;
	color: var(--blog-ink);
}

.blog-article-summary {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(25, 50, 77, 0.8);
	max-width: 56ch;
}

.blog-article-meta {
	font-size: 0.95rem;
	font-weight: 600;
	color: rgba(25, 50, 77, 0.65);
}

.blog-article-cover-frame {
	position: relative;
	aspect-ratio: 3 / 2;
	min-height: 280px;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid rgba(92, 191, 196, 0.26);
	background: rgba(235, 249, 250, 0.82);
	box-shadow: 0 16px 28px rgba(31, 116, 122, 0.14);
}

.blog-article-cover-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.blog-article-body-wrap {
}

.blog-article-body-card {
	width: 100%;
	padding: 2rem;
	border-radius: 22px;
	border: 1px solid var(--blog-border);
	background: #fffdfa;
	box-shadow: 0 16px 34px rgba(25, 50, 77, 0.06);
}

.blog-article-content {
	max-width: 820px;
	margin: 0 auto;
	color: #24384f;
	font-size: 1.03rem;
	line-height: 1.85;
}

.blog-article-content > *:first-child {
	margin-top: 0;
}

.blog-article-content > *:last-child {
	margin-bottom: 0;
}

.blog-article-content h1,
.blog-article-content h2,
.blog-article-content h3,
.blog-article-content h4 {
	margin-top: 2rem;
	margin-bottom: 0.8rem;
	line-height: 1.2;
	color: #10253c;
}

.blog-article-content p,
.blog-article-content ul,
.blog-article-content ol,
.blog-article-content blockquote,
.blog-article-content pre,
.blog-article-content table {
	margin-bottom: 1.2rem;
}

.blog-article-content ul,
.blog-article-content ol {
	padding-left: 1.3rem;
}

.blog-article-content a {
	color: #1565c0;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.15em;
}

.blog-article-content blockquote {
	padding: 1rem 1.2rem;
	border-left: 4px solid var(--blog-accent);
	background: rgba(184, 92, 56, 0.08);
	border-radius: 0 14px 14px 0;
	color: #31485f;
}

.blog-article-content img {
	/* border-radius: 12px; */
	/* box-shadow: 4px 6px 10px rgba(0, 0, 0, 0.2	0); */
	box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.25);
}

.blog-article-content pre,
.blog-article-content code {
	font-family: Consolas, 'Courier New', monospace;
}

.blog-article-content pre {
	padding: 1rem 1.1rem;
	background: #10253c;
	color: #f8fafc;
	border-radius: 16px;
	overflow-x: auto;
}

.blog-article-content :not(pre) > code {
	padding: 0.15rem 0.35rem;
	border-radius: 6px;
	background: rgba(21, 101, 192, 0.08);
	color: #0f4c94;
}

.blog-article-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.96rem;
}

.blog-article-content th,
.blog-article-content td {
	padding: 0.75rem;
	border: 1px solid rgba(25, 50, 77, 0.12);
	vertical-align: top;
}

.blog-article-content th {
	background: rgba(16, 37, 60, 0.06);
	color: #10253c;
}

.blog-related-section {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 1.4rem;
	border-radius: 22px;
	border: 1px solid rgba(25, 50, 77, 0.12);
	background: linear-gradient(180deg, #fffaf3, #ffffff);
	box-shadow: 0 16px 34px rgba(25, 50, 77, 0.06);
}

.blog-sequence-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.blog-sequence-card {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	padding: 1.1rem 1.2rem;
	border-radius: 18px;
	border: 1px solid rgba(25, 50, 77, 0.12);
	background: linear-gradient(180deg, #fffaf3, #ffffff);
	box-shadow: 0 12px 24px rgba(25, 50, 77, 0.05);
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.blog-sequence-card:hover {
	transform: translateY(-2px);
	border-color: rgba(184, 92, 56, 0.28);
	box-shadow: 0 16px 30px rgba(25, 50, 77, 0.08);
}

.blog-sequence-label {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #b85c38;
}

.blog-sequence-title {
	font-size: 1.05rem;
	line-height: 1.35;
	color: #19324d;
}

.blog-related-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	flex-wrap: wrap;
}

.blog-related-title {
	margin: 0.35rem 0 0;
	font-size: 1.6rem;
	color: #19324d;
}

.blog-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.blog-related-card {
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	border: 1px solid rgba(25, 50, 77, 0.12);
	background: #fff;
	box-shadow: 0 12px 24px rgba(25, 50, 77, 0.05);
	overflow: hidden;
	height: 100%;
}

.blog-related-media {
	min-height: 160px;
	background: linear-gradient(135deg, #edd7c5, #dbe8ef);
}

.blog-related-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.blog-related-body {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: 1rem;
	flex: 1;
}

.blog-related-body .read-more-btn {
	margin-top: auto;
	align-self: flex-start;
}

.blog-related-card-title {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.25;
	color: #19324d;
}

.blog-related-card-summary {
	margin: 0;
	font-size: 0.96rem;
	line-height: 1.65;
	color: rgba(25, 50, 77, 0.78);
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-skeleton-card {
	padding: 1rem;
	border-radius: 18px;
}

.blog-skeleton-media,
.blog-skeleton-line {
	background: linear-gradient(90deg, rgba(226, 232, 240, 0.8) 0%, rgba(241, 245, 249, 1) 50%, rgba(226, 232, 240, 0.8) 100%);
	background-size: 200% 100%;
	animation: blog-skeleton-shimmer 1.2s linear infinite;
	border-radius: 12px;
}

.blog-skeleton-media {
	height: 170px;
	margin-bottom: 1rem;
}

.blog-skeleton-line {
	height: 14px;
	margin-bottom: 0.75rem;
}

.blog-skeleton-line-short {
	width: 60%;
}

@keyframes blog-skeleton-shimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

@media (max-width: 768px) {
  .card .d-flex.flex-row {
    flex-direction: column !important;
  }
  .card .d-flex.align-items-center.ms-3 {
    min-width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-bottom: 1em;
    justify-content: center;
  }
  .card .d-flex.align-items-center.ms-3 img {
    max-width: 100% !important;
    max-height: 220px !important;
    margin: 0 auto;
  }

	.blog-landing-hero,
	.blog-feature-card,
	.blog-post-grid,
	.blog-sequence-nav,
	.blog-related-grid,
	.blog-skeleton-grid {
		grid-template-columns: 1fr;
	}

	.blog-toolbar-header,
	.blog-toolbar-meta,
	.blog-post-topbar,
	.blog-related-header,
	.blog-pager,
	.blog-pager-center {
		flex-direction: column;
		align-items: stretch;
	}

	.blog-landing-title {
		max-width: none;
	}

	.blog-feature-card {
		grid-template-columns: 1fr;
	}

	.blog-feature-media {
		min-height: 240px;
	}

	.home-sidebar-header {
		align-items: center;
	}

	.home-latest-post-btn {
		width: 100%;
		align-self: stretch;
	}

	.blog-posts-stack .blog-post-action-row,
	.blog-related-section .blog-related-body {
		width: 100%;
	}

	.blog-posts-stack .read-more-btn,
	.blog-related-section .read-more-btn {
		width: 100%;
		min-width: 0;
	}

	.blog-compact-media {
		max-height: none;
	}

	.blog-article-hero {
		grid-template-columns: 1fr;
	}

	.blog-article-body-card {
		padding: 1.25rem;
	}

	.blog-article-cover-frame {
		min-height: 220px;
	}

	.blog-page-input {
		width: 100%;
	}
}

/* ── Post Updates (admin editor) ──────────────── */

.post-updates-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.post-updates-empty {
	padding: 1rem;
	text-align: center;
	font-style: italic;
}

.post-update-item {
	border: 1px solid rgba(25, 50, 77, 0.12);
	border-radius: 10px;
	padding: 0.85rem 1rem;
	background: #fff;
}

.post-update-item-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.post-update-item-preview {
	margin-top: 0.35rem;
	line-height: 1.45;
}

/* ── Post Updates (public blog post page) ─────── */

.blog-post-updates-section {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 2.5rem;
}

.blog-post-updates-header {
	width: 100%;
	margin-bottom: 1rem;
}

.blog-post-updates-heading {
	font-size: 1.5rem;
	color: #19324d;
	margin: 0;
	padding-bottom: 0.5rem;
	border-bottom: 12px solid #5cbfc4;
}

.blog-post-updates-list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
}

.blog-post-update-card {
	border-left: 4px solid #5cbfc4;
	border-radius: 0 12px 12px 0;
	background: #fffdfa;
	padding: 2rem;
	box-shadow: 0 8px 20px rgba(25, 50, 77, 0.05);
}

.blog-post-update-card-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.75rem;
	flex-wrap: wrap;
	margin-bottom: 0.75rem;
}

.blog-post-update-card-title {
	font-size: 1.15rem;
	color: #2c8f94;
	margin: 0;
}

.blog-post-update-card-date {
	font-size: 0.82rem;
	color: #2c8f94;
	white-space: nowrap;
}

.blog-post-update-card-body {
	color: #24384f;
	font-size: 0.98rem;
	line-height: 1.75;
	overflow: hidden;
}

.blog-post-update-card-body img {
	max-width: 90%;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 12px;
}

.blog-post-update-card-body > *:first-child {
	margin-top: 0;
}

.blog-post-update-card-body > *:last-child {
	margin-bottom: 0;
}

/* Nested modal z-index: update/delete modals must sit above the post editor modal */
#updateEditorModal {
	z-index: 1060;
}

#deleteUpdateModal {
	z-index: 1070;
}

/* Cookie consent banner */
.cookie-consent-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1080;
	background: #f0fafa;
	border-top: 2px solid #5cbfc4;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
	padding: 16px 0;
	transition: transform 0.3s ease;
}
.cookie-consent-hidden {
	transform: translateY(100%);
	pointer-events: none;
}
.cookie-consent-inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}
.cookie-consent-text {
	flex: 1 1 0%;
	font-size: 0.9rem;
	color: #333;
	min-width: 200px;
}
.cookie-consent-text a {
	color: #2b5ea7;
	text-decoration: underline;
}
.cookie-consent-actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.cookie-consent-btn {
	white-space: nowrap;
}