/* =============================================================
   MortgageWire — news.css
   Full-width Option C layout. No sidebar.
   Inherits reset, header, footer, rate bar from style.css.
   ============================================================= */


/* =============================================================
   NEWS WRAP — full-width single column inside .mw
============================================================= */
.news-wrap {
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}


/* =============================================================
   SECTION LABEL
============================================================= */
.news-sec-label {
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #999490;
	font-weight: 500;
	padding-bottom: 8px;
	border-bottom: 0.5px solid #E0DDD6;
}


/* =============================================================
   4-COLUMN CARD GRID
============================================================= */
.news-grid4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
}
.ncard {
	background: #ffffff;
	border-radius: 10px;
	border: 0.5px solid #E0DDD6;
	padding: 14px 15px;
	display: block;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s;
}
.ncard:hover {
	border-color: #2176C7;
}
.ncard h2 {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 14px;
	font-weight: 400;
	color: #1A1A1A;
	line-height: 1.5;
	margin-bottom: 8px;
	letter-spacing: 0;
}
.ncard--summary h2 {
	font-size: 15px;
	margin-bottom: 9px;
}
.ncard-summary {
	font-size: 12px;
	color: #666660;
	line-height: 1.6;
	margin-bottom: 10px;
}
.nmeta {
	font-size: 11px;
	color: #999490;
}
.nsrc {
	font-weight: 500;
	color: #666660;
}


/* =============================================================
   CATEGORY TAGS (inherited from style.css, extended here)
============================================================= */
.tag {
	display: inline-block;
	font-size: 10px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	padding: 3px 9px;
	border-radius: 20px;
	margin-bottom: 10px;
	font-weight: 500;
}
.tag-inline {
	display: inline-block;
	font-size: 9px;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 2px 7px;
	border-radius: 20px;
	font-weight: 500;
	margin-right: 5px;
	vertical-align: middle;
	position: relative;
	top: -1px;
}


/* =============================================================
   NUMBERED STORY LIST
============================================================= */
.news-list {
	background: #ffffff;
	border-radius: 10px;
	border: 0.5px solid #E0DDD6;
	overflow: hidden;
}
.nstory {
	display: flex;
	gap: 14px;
	padding: 13px 18px;
	border-bottom: 0.5px solid #F0EDE6;
	align-items: flex-start;
	text-decoration: none;
	color: inherit;
	transition: background 0.1s;
}
.nstory:last-child {
	border-bottom: none;
}
.nstory:hover {
	background: #FAFAF8;
}
.nstory:hover .ns-hed {
	color: #2176C7;
}
.ns-num {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 18px;
	font-weight: 400;
	color: #D0CCC4;
	min-width: 24px;
	line-height: 1.3;
	padding-top: 2px;
	flex-shrink: 0;
}
.ns-body {
	min-width: 0;
}
.ns-hed {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 14px;
	font-weight: 400;
	color: #1A1A1A;
	line-height: 1.5;
	margin-bottom: 5px;
	transition: color 0.15s;
}
.ns-meta {
	font-size: 11px;
	color: #999490;
}


/* =============================================================
   CATEGORY HEADER (category view)
============================================================= */
.cat-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: #ffffff;
	border-radius: 10px;
	border: 0.5px solid #E0DDD6;
}
.cat-hed {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 20px;
	font-weight: 500;
	color: #0C2340;
	letter-spacing: -0.3px;
	margin: 0;
	flex: 1;
}
.cat-count {
	font-size: 11px;
	color: #999490;
	white-space: nowrap;
}


/* =============================================================
   NEWSLETTER STRIP
============================================================= */
.nl-strip {
	background: #ffffff;
	border-radius: 10px;
	border: 0.5px solid #E0DDD6;
	padding: 16px 20px;
	display: flex;
	align-items: center;
	gap: 20px;
}
.nl-copy {
	flex: 1;
}
.nl-hed {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 15px;
	font-weight: 400;
	color: #1A1A1A;
	margin-bottom: 3px;
}
.nl-sub {
	font-size: 12px;
	color: #888880;
}
.nl-form {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-shrink: 0;
}
.nl-inp {
	padding: 8px 12px;
	font-size: 12px;
	border-radius: 8px;
	border: 0.5px solid #D0CCC4;
	background: #F7F5F0;
	color: #1A1A1A;
	font-family: 'Source Sans 3', sans-serif;
	width: 200px;
	transition: border-color 0.15s;
}
.nl-inp:focus {
	outline: none;
	border-color: #2176C7;
}
.nl-btn {
	padding: 8px 18px;
	font-size: 12px;
	font-weight: 500;
	border-radius: 8px;
	border: none;
	background: #2176C7;
	color: #ffffff;
	cursor: pointer;
	font-family: 'Source Sans 3', sans-serif;
	white-space: nowrap;
	transition: background 0.15s;
}
.nl-btn:hover {
	background: #1A5FA0;
}


/* =============================================================
   SOURCES BAR
============================================================= */
.sources-bar {
	background: #ffffff;
	border-radius: 10px;
	border: 0.5px solid #E0DDD6;
	padding: 12px 18px;
}
.sources-label {
	font-size: 10px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #999490;
	font-weight: 500;
	margin-bottom: 10px;
}
.sources-list {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	align-items: center;
}
.src-item {
	display: flex;
	align-items: center;
	gap: 6px;
}
.src-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	flex-shrink: 0;
}
.src-name {
	font-size: 12px;
	color: #444440;
}
.src-n {
	font-size: 11px;
	color: #999490;
}


/* =============================================================
   EMPTY STATE
============================================================= */
.news-empty {
	background: #ffffff;
	border-radius: 10px;
	border: 0.5px solid #E0DDD6;
	padding: 60px 24px;
	text-align: center;
}
.news-empty-icon {
	font-size: 28px;
	color: #D0CCC4;
	margin-bottom: 14px;
}
.news-empty-hed {
	font-family: 'Playfair Display', Georgia, serif;
	font-size: 18px;
	font-weight: 400;
	color: #1A1A1A;
	margin-bottom: 8px;
}
.news-empty-sub {
	font-size: 13px;
	color: #888880;
}


/* =============================================================
   AD SLOTS
============================================================= */
.ad-slot--leaderboard .ad-placeholder {
	min-height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
}


/* =============================================================
   RESPONSIVE — TABLET (max 1024px)
   4-col → 2-col
============================================================= */
@media (max-width: 1024px) {
	.news-grid4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.news-wrap {
		padding: 16px;
	}
}


/* =============================================================
   RESPONSIVE — SMALL TABLET (max 768px)
============================================================= */
@media (max-width: 768px) {
	.news-wrap {
		padding: 14px;
		gap: 12px;
	}
	.nl-strip {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	.nl-form {
		width: 100%;
	}
	.nl-inp {
		flex: 1;
		width: auto;
	}
	.sources-list {
		gap: 14px;
	}
}


/* =============================================================
   RESPONSIVE — MOBILE (max 480px)
   2-col → 1-col
============================================================= */
@media (max-width: 480px) {
	.news-grid4 {
		grid-template-columns: 1fr;
	}
	.news-wrap {
		padding: 12px;
		gap: 10px;
	}
	.tag-inline {
		display: none;
	}
	.cat-header {
		flex-wrap: wrap;
	}
	.cat-hed {
		flex-basis: 100%;
		order: 2;
		font-size: 18px;
	}
	.cat-count {
		order: 3;
		flex-basis: 100%;
	}
}

