/**
 * COME blog article route-style layer - v1.3.89
 *
 * Loaded on body.ctc-route-style-post for every blog article. Mirrors the
 * Routes single-page visual system: white sidebar cards,
 * an article snapshot card at the top of the content, and an inquiry panel.
 */

/* Sidebar widgets become the same white cards as the Routes sidebar. */
body.ctc-route-style-post #secondary .widget,
body.ctc-route-style-post #secondary .ctc-article-side-panel {
	border: 1px solid rgba(19, 97, 46, 0.16);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(18, 42, 46, 0.06);
}

body.ctc-route-style-post #secondary .widget {
	padding: 1.15rem 1.2rem;
}

body.ctc-route-style-post #secondary .widget:not(:last-child) {
	margin-bottom: 1.5rem;
}

/* TOC card, same as Routes. */
body.ctc-route-style-post #secondary .kb-table-of-contents-title {
	font-size: 1.05rem;
	line-height: 1.35;
	letter-spacing: 0;
	color: var(--global-palette3, #202020);
}

body.ctc-route-style-post #secondary .kb-table-of-content-list {
	font-size: 0.86rem;
	line-height: 1.55;
}

body.ctc-route-style-post #secondary .kb-table-of-content-list a {
	color: var(--global-palette4, #525354);
	text-decoration: none;
	transition: color 0.18s ease;
}

body.ctc-route-style-post #secondary .kb-table-of-content-list a:hover {
	color: var(--global-palette11, #13612e);
}

body.ctc-route-style-post #secondary .kb-table-of-content-list .active > .kb-table-of-contents__entry {
	color: var(--global-palette1, #c7000b);
}

/* Search, latest posts and comments widgets stay tidy inside the card. */
body.ctc-route-style-post #secondary .widget .wp-block-heading,
body.ctc-route-style-post #secondary .widget h2,
body.ctc-route-style-post #secondary .widget h3 {
	margin: 0 0 0.85rem;
	color: var(--global-palette3, #202020);
	font-size: 1.02rem;
	line-height: 1.35;
	letter-spacing: 0;
}

body.ctc-route-style-post #secondary .widget ul,
body.ctc-route-style-post #secondary .widget ol {
	margin: 0;
	padding-left: 0;
	list-style: none;
}

body.ctc-route-style-post #secondary .widget li {
	margin: 0 0 0.6rem;
	font-size: 0.86rem;
	line-height: 1.5;
}

body.ctc-route-style-post #secondary .widget li:last-child {
	margin-bottom: 0;
}

body.ctc-route-style-post #secondary .widget a {
	color: var(--global-palette4, #525354);
	text-decoration: none;
	transition: color 0.18s ease;
}

body.ctc-route-style-post #secondary .widget a:hover {
	color: var(--global-palette11, #13612e);
}

body.ctc-route-style-post #secondary .wp-block-search__input {
	width: 100%;
	border: 1px solid rgba(19, 97, 46, 0.22);
	border-radius: 6px;
	background: #ffffff;
	color: var(--global-palette3, #202020);
	font-size: 0.88rem;
}

body.ctc-route-style-post #secondary .wp-block-search__input:focus {
	outline: none;
	border-color: var(--global-palette11, #13612e);
	box-shadow: 0 0 0 3px rgba(19, 97, 46, 0.12);
}

body.ctc-route-style-post #secondary .wp-block-search__button {
	border: 0;
	border-radius: 6px;
	background: var(--global-palette11, #13612e);
	color: #ffffff;
	font-weight: 700;
}

body.ctc-route-style-post #secondary .wp-block-search__button:hover {
	background: var(--global-palette3, #202020);
	color: #ffffff;
}

/* Combined sidebar panel: article facts first, inquiry block below. */
body.ctc-route-style-post #secondary .ctc-article-side-panel {
	padding: 1.15rem 1.2rem 1.25rem;
	min-width: 0;
}

body.ctc-route-style-post .ctc-article-panel-facts {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(19, 97, 46, 0.14);
}

body.ctc-route-style-post .ctc-article-panel-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-bottom: 0.6rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--global-palette14, #f7630c);
}

body.ctc-route-style-post .ctc-article-panel-eyebrow::before {
	content: "";
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--global-palette15, #f5a524);
}

body.ctc-route-style-post .ctc-article-panel-kicker {
	display: inline-flex;
	align-items: center;
	margin: 0 0 0.75rem;
	padding: 0.28rem 0.6rem;
	border-radius: 999px;
	background: rgba(19, 97, 46, 0.09);
	color: var(--global-palette11, #13612e);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.3;
}

body.ctc-route-style-post .ctc-article-panel-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.6rem 0.9rem;
}

body.ctc-route-style-post .ctc-article-panel-stat {
	min-width: 0;
}

body.ctc-route-style-post .ctc-article-panel-stat-value {
	display: block;
	color: var(--global-palette3, #202020);
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.35;
}

body.ctc-route-style-post .ctc-article-panel-stat-name {
	display: block;
	margin-top: 0.15rem;
	color: var(--global-palette5, #979797);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.ctc-route-style-post .ctc-article-panel-contact h3 {
	margin: 0 0 0.45rem;
	color: var(--global-palette3, #202020);
	font-size: 1.02rem;
	line-height: 1.35;
	letter-spacing: 0;
}

body.ctc-route-style-post .ctc-article-panel-contact p {
	margin: 0 0 0.8rem;
	color: var(--global-palette4, #525354);
	font-size: 0.84rem;
	line-height: 1.55;
}

body.ctc-route-style-post .ctc-article-wa-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	margin: 0 0 0.55rem;
	padding: 0.72rem 0.9rem;
	border-radius: 6px;
	background: #25d366;
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: 0 10px 22px rgba(37, 211, 102, 0.24);
	transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

body.ctc-route-style-post .ctc-article-wa-btn:hover,
body.ctc-route-style-post .ctc-article-wa-btn:focus {
	background: #1ebe5d;
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 14px 28px rgba(37, 211, 102, 0.28);
}

body.ctc-route-style-post .ctc-article-wa-btn svg {
	flex: none;
	width: 17px;
	height: 17px;
}

body.ctc-route-style-post .ctc-article-email {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	margin: 0 0 0.7rem;
	color: var(--global-palette4, #525354);
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
}

body.ctc-route-style-post .ctc-article-email svg {
	flex: none;
	width: 15px;
	height: 15px;
	color: var(--global-palette11, #13612e);
}

body.ctc-route-style-post .ctc-article-email:hover {
	color: var(--global-palette11, #13612e);
	text-decoration: underline;
}

body.ctc-route-style-post .ctc-article-cta-btn {
	display: block;
	width: 100%;
	padding: 0.7rem 0.9rem;
	border-radius: 6px;
	background: var(--global-palette1, #c7000b);
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background 0.18s ease, transform 0.18s ease;
}

body.ctc-route-style-post .ctc-article-cta-btn:hover,
body.ctc-route-style-post .ctc-article-cta-btn:focus {
	background: var(--global-palette2, rgba(199, 0, 11, 0.74));
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
}

/* Article snapshot card injected at the top of the content. */
/* Keep sidebar action buttons white against their colored backgrounds. */
body.ctc-route-style-post #secondary .widget a.ctc-article-wa-btn,
body.ctc-route-style-post #secondary .widget a.ctc-article-wa-btn:hover,
body.ctc-route-style-post #secondary .widget a.ctc-article-wa-btn:focus,
body.ctc-route-style-post #secondary .widget a.ctc-article-cta-btn,
body.ctc-route-style-post #secondary .widget a.ctc-article-cta-btn:hover,
body.ctc-route-style-post #secondary .widget a.ctc-article-cta-btn:focus {
	color: #ffffff;
}

body.ctc-route-style-post .entry-content.single-content .ctc-article-snapshot-content {
	margin: 0 0 2rem;
	padding: 1.1rem 1.25rem 1rem;
	border: 1px solid rgba(19, 97, 46, 0.18);
	border-left: 5px solid var(--global-palette11, #13612e);
	border-radius: 8px;
	background: #ffffff;
	box-shadow: 0 12px 30px rgba(18, 42, 46, 0.06);
}

body.ctc-route-style-post .ctc-article-snapshot-top {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	margin-bottom: 0.8rem;
}

body.ctc-route-style-post .ctc-article-snapshot-eyebrow {
	color: var(--global-palette14, #f7630c);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.ctc-route-style-post .ctc-article-snapshot-kicker {
	display: inline-flex;
	align-items: center;
	padding: 0.26rem 0.6rem;
	border-radius: 999px;
	background: rgba(245, 165, 36, 0.14);
	color: var(--global-palette14, #f7630c);
	font-size: 0.76rem;
	font-weight: 700;
	line-height: 1.3;
}

body.ctc-route-style-post .ctc-article-snapshot-facts {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 0.7rem 0;
	margin-bottom: 0.8rem;
}

body.ctc-route-style-post .ctc-article-fact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 0 1.1rem;
}

body.ctc-route-style-post .ctc-article-fact + .ctc-article-fact {
	border-left: 1px solid rgba(19, 97, 46, 0.16);
}

body.ctc-route-style-post .ctc-article-fact:first-child {
	padding-left: 0;
}

body.ctc-route-style-post .ctc-article-fact-value {
	color: var(--global-palette3, #202020);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.35;
	white-space: normal;
}

body.ctc-route-style-post .ctc-article-fact-value strong {
	color: var(--global-palette11, #13612e);
	font-weight: 800;
}

body.ctc-route-style-post .ctc-article-fact-name {
	margin-top: 0.2rem;
	color: var(--global-palette5, #979797);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.ctc-route-style-post .ctc-article-snapshot-features {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.9rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.ctc-route-style-post .ctc-article-snapshot-features li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
	color: var(--global-palette4, #525354);
	font-size: 0.84rem;
	line-height: 1.45;
}

body.ctc-route-style-post .ctc-article-snapshot-features li::before {
	content: "";
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--global-palette11, #13612e)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5 6.4 12 13 4.5'/%3E%3C/svg%3E")
		center / 10px no-repeat;
}


body.ctc-route-style-post .ctc-article-snapshot-features li a {
	color: inherit;
	text-decoration: none;
	overflow-wrap: anywhere;
}

body.ctc-route-style-post .ctc-article-snapshot-features li a:hover,
body.ctc-route-style-post .ctc-article-snapshot-features li a:focus {
	color: var(--global-palette11, #13612e);
	text-decoration: underline;
}

body.ctc-route-style-post .entry-content.single-content h2 {
	scroll-margin-top: 6rem;
}

@media (max-width: 1024px) {
	body.ctc-route-style-post .ctc-article-snapshot-facts {
		gap: 0.7rem 0;
	}
}

@media (max-width: 560px) {
	body.ctc-route-style-post .ctc-article-snapshot-content,
	body.ctc-route-style-post #secondary .ctc-article-side-panel {
		padding-right: 1rem;
		padding-left: 1rem;
	}

	body.ctc-route-style-post .ctc-article-fact {
		padding-right: 0.85rem;
		padding-left: 0.85rem;
	}
}
