/* FIR 1.9.0 - Blog posts, aligned on the city pages (navy #1b2f49, gold #efc85f, Poppins). */
.fir-post {
	--fir-navy: #1b2f49;
	--fir-gold: #efc85f;
	--fir-text: #666;
	--fir-line: #d8d8d8;
	--fir-soft: #f7f7f7;
}

/* ---- Title band (classic posts) ---- */
.fir-post #left-area article > .et_post_meta_wrapper:first-child {
	margin-bottom: 0;
}
.fir-post #left-area article > .et_post_meta_wrapper:first-child h1.entry-title {
	background: var(--fir-navy);
	color: #fff;
	font-size: 30px;
	line-height: 1.3;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 44px 40px 40px;
	margin: 0;
	border-radius: 5px 5px 0 0;
}
.fir-post #left-area article > .et_post_meta_wrapper:first-child h1.entry-title::after {
	content: "";
	display: block;
	width: 60px;
	height: 3px;
	margin-top: 20px;
	background: var(--fir-gold);
}
.fir-post #left-area article > .et_post_meta_wrapper:first-child h1.entry-title:last-child {
	border-radius: 5px;
	margin-bottom: 24px;
}
.fir-post #left-area article > .et_post_meta_wrapper:first-child img {
	display: block;
	width: 100%;
	border-radius: 0 0 5px 5px;
	margin: 0 0 24px;
}

/* ---- Meta bar ---- */
.fir-post .fir-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--fir-navy);
	padding: 0 0 18px;
	margin: 0 0 32px;
	border-bottom: 1px solid #e5e5e5;
}
.fir-post .fir-post-meta > span + span::before {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin: 0 12px 2px;
	border-radius: 50%;
	background: var(--fir-gold);
	vertical-align: middle;
}
.fir-post .fir-post-meta strong {
	font-weight: 500;
}

/* ---- Typography (classic content only: builder layouts keep their own styles) ---- */
.fir-post .entry-content > p,
.fir-post .entry-content > ul,
.fir-post .entry-content > ol {
	font-size: 18px;
	line-height: 1.6;
	font-weight: 300;
	color: var(--fir-text);
}
.fir-post .entry-content > h2 {
	font-size: 26px;
	line-height: 1.3;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #333;
	margin: 48px 0 20px;
	padding: 0;
}
.fir-post .entry-content > h2::after {
	content: "";
	display: block;
	width: 50px;
	height: 3px;
	margin-top: 14px;
	background: var(--fir-gold);
}
.fir-post .entry-content > h3 {
	font-size: 21px;
	line-height: 1.35;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--fir-navy);
	margin: 34px 0 14px;
	padding: 0;
}
.fir-post .entry-content > h4 {
	font-size: 18px;
	color: var(--fir-navy);
	margin: 26px 0 10px;
}
.fir-post .entry-content > ul,
.fir-post .entry-content > ol {
	padding-left: 1.3em;
	margin-bottom: 1.4em;
}
.fir-post .entry-content > ul li::marker,
.fir-post .entry-content > ol li::marker {
	color: var(--fir-gold);
	font-weight: 500;
}
.fir-post .entry-content > ul li,
.fir-post .entry-content > ol li {
	margin-bottom: 6px;
}
.fir-post .entry-content > p a,
.fir-post .entry-content > ul a,
.fir-post .entry-content > ol a,
.fir-post .entry-content table a {
	color: var(--fir-navy);
	font-weight: 400;
	text-decoration: none;
	border-bottom: 1px solid var(--fir-gold);
	transition: color .2s, background-color .2s;
}
.fir-post .entry-content > p a:hover,
.fir-post .entry-content > ul a:hover,
.fir-post .entry-content > ol a:hover,
.fir-post .entry-content table a:hover {
	background-color: rgba(239, 200, 95, .25);
}
.fir-post .entry-content > blockquote {
	margin: 32px 0;
	padding: 22px 26px;
	border-left: 5px solid var(--fir-gold);
	border-radius: 0 5px 5px 0;
	background: var(--fir-soft);
	color: var(--fir-navy);
}
.fir-post .entry-content > blockquote p {
	font-size: 19px;
	line-height: 1.55;
	color: var(--fir-navy);
	padding-bottom: 0;
}

/* ---- Tables ---- */
.fir-post .entry-content table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--fir-line);
	border-radius: 5px;
	overflow: hidden;
	margin: 28px 0 34px;
	font-size: 16px;
	line-height: 1.45;
}
.fir-post .entry-content table th,
.fir-post .entry-content table thead td {
	background: var(--fir-navy);
	color: #fff;
	font-weight: 500;
	text-align: left;
	padding: 12px 14px;
	border: 0;
}
.fir-post .entry-content table td {
	padding: 11px 14px;
	border: 0;
	border-top: 1px solid #e9e9e9;
	color: #444;
}
.fir-post .entry-content table tbody tr:nth-child(even) td {
	background: var(--fir-soft);
}
@media (max-width: 767px) {
	.fir-post .entry-content table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}
}

/* ---- Sidebar ---- */
.fir-post #sidebar .et_pb_widget {
	background: #fff;
	border: 1px solid var(--fir-line);
	border-radius: 5px;
	padding: 26px 24px;
	margin-bottom: 30px;
	float: none;
	width: 100%;
}
.fir-post #sidebar h4.widgettitle {
	font-size: 16px;
	line-height: 1.4;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--fir-navy);
	padding: 0 0 12px;
	margin-bottom: 16px;
	border-bottom: 2px solid var(--fir-gold);
}
.fir-post #sidebar .textwidget p {
	font-size: 15px;
	line-height: 1.6;
	color: var(--fir-text);
	padding-bottom: 12px;
}
.fir-post #sidebar .textwidget strong {
	display: block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--fir-navy);
}

/* ---- Latest articles ---- */
.fir-post .fir-post-latest {
	clear: both;
	margin: 56px 0 10px;
	padding-top: 40px;
	border-top: 1px solid #e5e5e5;
}
.fir-post .fir-post-latest--full {
	width: 80%;
	max-width: 1080px;
	margin: 40px auto 60px;
}
.fir-post .fir-post-latest__title {
	font-size: 26px;
	line-height: 1.3;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #333;
	margin: 0 0 26px;
	padding: 0;
}
.fir-post .fir-post-latest__title span {
	color: var(--fir-gold);
}
.fir-post .fir-post-latest__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 24px;
}
.fir-post .fir-post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--fir-line);
	border-radius: 5px;
	overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}
.fir-post .fir-post-card:hover {
	box-shadow: 0 8px 22px rgba(27, 47, 73, .12);
	transform: translateY(-2px);
}
.fir-post .fir-post-card__media {
	display: block;
	border: 0;
}
.fir-post .fir-post-card__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
.fir-post .fir-post-card__img--empty {
	background: var(--fir-navy);
}
.fir-post .fir-post-card__body {
	padding: 18px 19px 20px;
}
.fir-post .fir-post-card__title {
	font-size: 17px;
	line-height: 1.35;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 0 0 10px;
	margin: 0;
}
.fir-post .fir-post-card__title a {
	color: #333;
	text-decoration: none;
	border: 0;
}
.fir-post .fir-post-card__title a:hover {
	color: var(--fir-navy);
	text-decoration: underline;
	text-decoration-color: var(--fir-gold);
}
.fir-post .fir-post-card__meta {
	font-size: 14px;
	line-height: 1.4;
	color: var(--fir-text);
	padding: 0;
}
.fir-post .fir-post-latest__more {
	text-align: center;
	margin-top: 30px;
	padding: 0;
}
.fir-post .fir-post-latest__btn {
	display: inline-block;
	font-size: 17px;
	font-weight: 500;
	color: var(--fir-navy);
	border: 2px solid var(--fir-navy);
	border-radius: 3px;
	padding: 6px 22px;
	text-decoration: none;
	transition: background-color .2s, border-color .2s;
}
.fir-post .fir-post-latest__btn:hover {
	background: var(--fir-gold);
	border-color: var(--fir-gold);
}

@media (max-width: 767px) {
	.fir-post #left-area article > .et_post_meta_wrapper:first-child h1.entry-title {
		font-size: 22px;
		padding: 30px 22px 26px;
	}
	.fir-post .entry-content > h2,
	.fir-post .fir-post-latest__title {
		font-size: 21px;
	}
	.fir-post .entry-content > h3 {
		font-size: 18px;
	}
	.fir-post .fir-post-latest--full {
		width: 90%;
	}
}

/* ---- v1.10.4 - Contact CTA in the middle of the post ---- */
.fir-post .fir-post-cta {
	margin: 44px 0;
	padding: 30px 32px;
	background: var(--fir-navy);
	border-radius: 5px;
	text-align: center;
}
.fir-post .entry-content .fir-post-cta p {
	color: #fff;
	padding-bottom: 0;
}
.fir-post .entry-content .fir-post-cta .fir-post-cta__title {
	color: var(--fir-gold);
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.fir-post .entry-content .fir-post-cta .fir-post-cta__text {
	font-size: 17px;
	line-height: 1.55;
	color: #e8ecf2;
	max-width: 560px;
	margin: 0 auto 22px;
}
.fir-post .entry-content .fir-post-cta__btn,
.fir-post .entry-content .fir-post-cta__btn:visited {
	display: inline-block;
	background: var(--fir-gold);
	color: var(--fir-navy) !important;
	font-size: 19px;
	font-weight: 500;
	padding: 12px 30px;
	border-radius: 5px;
	border: 0 !important;
	text-decoration: none;
	transition: background-color .2s, transform .2s;
}
.fir-post .entry-content .fir-post-cta__btn:hover {
	background: #f5d77f !important;
	transform: translateY(-1px);
}
