/* Homepage news portal — high specificity to beat GeneratePress defaults */

body.blog.no-sidebar .site.grid-container,
body.blog.no-sidebar .site.grid-container {
	max-width: 1280px;
}

body.blog.no-sidebar .site-content .content-area,
body.blog.no-sidebar .site-content .content-area {
	width: 100% !important;
	float: none !important;
	max-width: none !important;
}

body.blog #right-sidebar,
body.blog .is-right-sidebar,
body.blog #right-sidebar {
	display: none !important;
}

body.blog .site-content,
body.blog .site-content {
	padding: 0.75rem 1.25rem 2.5rem;
}

body.blog .tem-portal,
body.blog .tem-portal p,
body.blog .tem-portal ul,
body.blog .tem-portal ol,
body.blog .tem-portal li,
body.blog .tem-portal h2,
body.blog .tem-portal h3,
body.blog .tem-portal h4 {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body.blog .tem-portal {
	max-width: 1240px;
	margin: 0 auto;
	color: #111827;
	padding-right: 3.25rem;
}

body.blog .tem-portal a,
body.blog .tem-portal a:visited {
	color: #111827 !important;
	text-decoration: none !important;
}

body.blog .tem-portal a:hover,
body.blog .tem-portal a:focus {
	color: #c45c00 !important;
	text-decoration: none !important;
}

body.blog .tem-portal h2,
body.blog .tem-portal h3,
body.blog .tem-portal h4 {
	margin: 0;
	color: #111827;
	line-height: 1.3;
}

body.blog .tem-hl a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

body.blog .tem-trending,
body.blog .tem-infocus {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.4rem 0 1.15rem;
	min-height: 42px;
}

body.blog .tem-trending-label,
body.blog .tem-infocus-label {
	flex: 0 0 auto;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #111827;
}

body.blog .tem-infocus-label {
	background: #e8edf4;
	padding: 0.4rem 0.95rem 0.4rem 0.75rem;
	clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}

body.blog .tem-trending-track,
body.blog .tem-infocus-track {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	overflow-x: auto;
	padding: 0.2rem 0 0.45rem;
	-webkit-overflow-scrolling: touch;
}

body.blog .tem-portal a.tem-pill,
body.blog .tem-portal a.tem-tag {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	max-width: 280px;
	padding: 0.42rem 0.9rem;
	border-radius: 999px;
	background: #eef1f6 !important;
	color: #1f2937 !important;
	font-size: 0.84rem !important;
	font-weight: 650;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	border: 1px solid #e2e6ee;
}

body.blog .tem-pill span {
	color: #9ca3af !important;
	font-weight: 500;
	font-size: 0.72rem !important;
}

body.blog .tem-portal a.tem-pill:hover,
body.blog .tem-portal a.tem-tag:hover {
	background: #fff4e6 !important;
	color: #c45c00 !important;
	border-color: #f3d5b3;
}

body.blog .tem-lead {
	display: grid;
	grid-template-columns: minmax(230px, 0.95fr) minmax(0, 1.25fr) minmax(230px, 0.9fr);
	align-items: stretch;
	gap: 0.9rem;
	padding: 0.9rem;
	background: #f4f6f9;
	border: 1px solid #e8ecf2;
	border-radius: 16px;
	margin-bottom: 1.25rem;
}

body.blog .tem-lead-side {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	min-height: 0;
}

body.blog .tem-side-card {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 0.65rem;
	align-items: center;
	flex: 1 1 0;
	background: #fff;
	border-radius: 12px;
	padding: 0.55rem;
	border: 1px solid #eceff3;
	min-height: 0;
}

body.blog .tem-hero-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #eceff3;
	box-shadow: 0 10px 28px rgba(15, 27, 45, 0.06);
	display: flex;
	flex-direction: column;
}

body.blog .tem-hero-copy {
	padding: 0.9rem 1.05rem 1rem;
	margin-top: auto;
}

body.blog .tem-hero-copy .tem-hl {
	font-size: clamp(1.2rem, 2.2vw, 1.65rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
	margin: 0.2rem 0 0.45rem;
}

body.blog .tem-hero-copy .tem-hl a {
	-webkit-line-clamp: 3;
}

body.blog .tem-sum {
	margin: 0 0 0.4rem !important;
	color: #4b5563;
	font-size: 0.9rem !important;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

body.blog .tem-rail {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	padding: 0.85rem 0.95rem;
	border: 1px solid #eceff3;
	min-height: 0;
}

body.blog .tem-rail-title {
	margin: 0 0 0.35rem !important;
	font-size: 1.15rem !important;
	font-weight: 800 !important;
}

body.blog .tem-rail-item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 0.45rem 0;
	border-top: 1px solid #eef0f4;
}

body.blog .tem-rail-item:first-of-type {
	border-top: 0;
	padding-top: 0.1rem;
}

body.blog .tem-rail-item .tem-hl a {
	-webkit-line-clamp: 2;
}

body.blog .tem-kicker {
	display: inline-block;
	margin-bottom: 0.15rem;
	color: #e11d2e !important;
	font-size: 0.7rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

body.blog .tem-hl {
	font-size: 0.95rem !important;
	font-weight: 700 !important;
	line-height: 1.35;
}

body.blog .tem-meta {
	margin: 0.35rem 0 0 !important;
	color: #6b7280;
	font-size: 0.78rem !important;
}

body.blog .tem-thumb {
	display: block;
	overflow: hidden;
	border-radius: 10px;
	background: #e8ecf2;
}

body.blog .tem-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.blog .tem-thumb-hero {
	aspect-ratio: 16 / 9;
	border-radius: 14px 14px 0 0;
}

body.blog .tem-thumb-sq {
	aspect-ratio: 1;
	border-radius: 8px;
}

body.blog .tem-thumb-wide {
	aspect-ratio: 16 / 9;
}

body.blog .tem-thumb-overlay {
	aspect-ratio: 16 / 9;
	border-radius: 12px;
}

body.blog .tem-thumb-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f08a24, #c45c00);
	color: #fff;
	font-weight: 800;
	min-height: 72px;
}

body.blog .tem-ticker {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0 1.5rem;
	padding: 0.2rem 0 1rem;
	border-bottom: 2px solid #eceff3;
	margin-bottom: 1.1rem;
}

body.blog .tem-ticker-col {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.blog .tem-ticker-col li {
	padding: 0.55rem 0 0.55rem 0.95rem;
	border-bottom: 1px solid #eef0f4;
	position: relative;
	font-size: 0.9rem !important;
	font-weight: 650;
	line-height: 1.35;
	margin: 0 !important;
}

body.blog .tem-ticker-col li a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

body.blog .tem-ticker-col li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1.05rem;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #c5cad3;
}

body.blog .tem-cats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 1.1rem;
	padding: 0.35rem 0 1.25rem;
	border-bottom: 2px solid #eceff3;
	margin-bottom: 1.25rem;
}

body.blog .tem-cat-col {
	display: flex;
	flex-direction: column;
	padding-right: 1rem;
	border-right: 1px solid #eceff3;
}

body.blog .tem-cat-col:last-child {
	border-right: 0;
	padding-right: 0;
}

body.blog .tem-cat-col h2,
body.blog .tem-hybrid h2,
body.blog .tem-row h2,
body.blog .tem-hybrid-list h2,
body.blog .tem-hybrid-grid h2 {
	margin: 0 0 0.75rem !important;
	font-size: 1.35rem !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
}

body.blog .tem-sec-link span {
	color: #9ca3af !important;
}

body.blog .tem-cat-feature {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	gap: 0.75rem;
	margin-bottom: 0.85rem;
	align-items: start;
}

body.blog .tem-cat-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.7rem 0.9rem;
	margin-top: auto;
}

body.blog .tem-cat-split .tem-hl {
	font-size: 0.86rem !important;
}

body.blog .tem-cat-split .tem-hl a,
body.blog .tem-cat-feature .tem-hl a {
	-webkit-line-clamp: 3;
	min-height: 3.5em;
}

body.blog .tem-hybrid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	align-items: stretch;
	gap: 1.2rem;
	padding-bottom: 1.35rem;
	border-bottom: 2px solid #eceff3;
	margin-bottom: 1.35rem;
}

body.blog .tem-hybrid-main,
body.blog .tem-hybrid-list {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

body.blog .tem-overlay-card {
	position: relative;
	margin-bottom: 0.85rem;
}

body.blog .tem-overlay-copy {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 2rem 0.95rem 0.85rem;
	background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
	border-radius: 0 0 12px 12px;
}

body.blog .tem-overlay-copy .tem-hl a,
body.blog .tem-overlay-copy .tem-hl a:visited,
body.blog .tem-overlay-copy .tem-meta {
	color: #fff !important;
}

body.blog .tem-overlay-copy .tem-hl a {
	-webkit-line-clamp: 2;
}

body.blog .tem-hybrid-pair {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
	margin-top: auto;
}

body.blog .tem-hybrid-pair .tem-hl,
body.blog .tem-row-card .tem-hl {
	margin-top: 0.45rem;
	font-size: 0.9rem !important;
}

body.blog .tem-hybrid-list ul {
	list-style: none !important;
	margin: 0 !important;
	padding: 0.15rem 0.9rem !important;
	background: #fff;
	border: 1px solid #eceff3;
	border-radius: 12px;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
}

body.blog .tem-hybrid-list li {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	padding: 0.55rem 0 0.55rem 0.95rem;
	border-bottom: 1px solid #eef0f4;
	position: relative;
	font-size: 0.9rem !important;
	font-weight: 650;
	line-height: 1.35;
	margin: 0 !important;
}

body.blog .tem-hybrid-list li:last-child {
	border-bottom: 0;
}

body.blog .tem-hybrid-list li a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

body.blog .tem-hybrid-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -3px;
	border-radius: 50%;
	background: #c5cad3;
}

body.blog .tem-row {
	padding-bottom: 1.25rem;
	margin-bottom: 0.25rem;
}

body.blog .tem-row-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
}

body.blog .tem-row-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #eceff3;
	border-radius: 12px;
	overflow: hidden;
	padding-bottom: 0.75rem;
	min-height: 100%;
}

body.blog .tem-row-card .tem-thumb {
	border-radius: 12px 12px 0 0;
}

body.blog .tem-row-card .tem-kicker,
body.blog .tem-row-card .tem-hl,
body.blog .tem-row-card .tem-meta {
	padding-left: 0.7rem;
	padding-right: 0.7rem;
}

body.blog .tem-row-card .tem-hl a {
	-webkit-line-clamp: 3;
	min-height: 3.7em;
}

body.blog .tem-row-card .tem-meta {
	margin-top: auto !important;
	padding-top: 0.35rem;
}

body.blog .tem-more-wrap {
	text-align: center;
	margin: 0.75rem 0 1.25rem;
}

body.blog .tem-portal a.tem-more {
	display: inline-block;
	padding: 0.75rem 1.4rem;
	border-radius: 999px;
	background: #f08a24 !important;
	color: #fff !important;
	font-weight: 700;
}

body.blog .tem-portal a.tem-more:hover {
	background: #d97706 !important;
	color: #fff !important;
}

body.blog .tem-home-hero,
body.blog .tem-blog-intro {
	max-width: 1240px;
	margin: 0 auto 1.25rem;
	padding: 1.5rem 0 0;
}

body.blog .tem-blog-intro h1,
body.blog .tem-home-hero h1 {
	margin: 0;
	font-size: clamp(1.6rem, 3vw, 2.1rem);
	color: #0f1b2d;
	letter-spacing: -0.02em;
}

body.blog .tem-home-kicker {
	margin: 0 0 0.35rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #c45c00;
}

body.blog .tem-post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0 auto 2.5rem;
}

@media (max-width: 1100px) {
	body.blog .tem-lead {
		grid-template-columns: 1fr 1.2fr;
	}

	body.blog .tem-rail {
		grid-column: 1 / -1;
	}

	body.blog .tem-hybrid {
		grid-template-columns: 1fr 1fr;
	}

	body.blog .tem-row-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 780px) {
	body.blog .site-content {
		padding: 0.5rem 0.9rem 2rem;
	}

	body.blog .tem-portal {
		padding-right: 2.6rem;
	}

	body.blog .tem-lead,
	body.blog .tem-ticker,
	body.blog .tem-cats,
	body.blog .tem-hybrid,
	body.blog .tem-row-grid,
	body.blog .tem-post-grid {
		grid-template-columns: 1fr;
	}

	body.blog .tem-cat-col {
		border-right: 0;
		padding-right: 0;
		padding-bottom: 1rem;
		border-bottom: 1px solid #eceff3;
	}

	body.blog .tem-hybrid-pair,
	body.blog .tem-cat-split,
	body.blog .tem-cat-feature,
	body.blog .tem-side-card {
		grid-template-columns: 1fr;
	}

	body.blog .tem-row-grid {
		grid-template-columns: 1fr 1fr;
	}

	body.blog .tem-side-card {
		flex: 0 0 auto;
	}
}

@media (max-width: 520px) {
	body.blog .tem-portal {
		padding-right: 0;
	}

	body.blog .tem-row-grid {
		grid-template-columns: 1fr;
	}

	body.blog .tem-lead,
	body.blog .tem-rail,
	body.blog .tem-hero-card {
		padding: 0.75rem;
	}
}
