:root {
	--brand-dark: #0b132b;
	--brand-accent: #ef233c;
	/* Global: square corners everywhere (Bootstrap + custom) */
	--bs-border-radius: 0;
	--bs-border-radius-sm: 0;
	--bs-border-radius-lg: 0;
	--bs-border-radius-xl: 0;
	--bs-border-radius-xxl: 0;
	--bs-border-radius-pill: 0;
	--bs-link-color: var(--brand-dark);
	--bs-link-hover-color: var(--brand-dark);
}

/* Global: do not round corners of UI components */
.card,
.btn,
.form-control,
.form-select,
.input-group-text,
.dropdown-menu,
.offcanvas,
.modal-content,
.alert,
.badge,
.breadcrumb,
.pagination .page-link,
.nav-pills .nav-link,
.navbar,
.carousel,
.carousel-inner {
	border-radius: 0 !important;
}

/* Also neutralize Bootstrap utility rounding classes if used anywhere */
.rounded,
.rounded-0,
.rounded-1,
.rounded-2,
.rounded-3,
.rounded-4,
.rounded-5,
.rounded-top,
.rounded-end,
.rounded-bottom,
.rounded-start,
.rounded-circle,
.rounded-pill {
	border-radius: 0 !important;
}

/* Global: links should not be blue/purple */
a { color: var(--bs-link-color); }
a:hover { color: var(--bs-link-hover-color); }
a:visited { color: var(--bs-link-color); }

/* Typography */
body { background: #ffffff; font-family: var(--font-tertiary, 'PT Serif', serif); line-height: 1.35; }
h1,h2,h3,h4,h5,h6,.navbar-brand,.section-title,.card-title { font-family: var(--font-secondary, 'Archivo Narrow', sans-serif); line-height: 1.0; }
.meta, .text-muted, small, .badge, .breadcrumb, .navbar .nav-link { font-family: var(--font-primary, "Helvetica Neue", Helvetica, Arial, sans-serif); }
.navbar .nav-link { letter-spacing: .2px; }
.card-title { font-weight: 600; }
.section-title { text-transform: uppercase; letter-spacing: .5px; }

/* Layout: reduce excessive side gutters on large screens */
@media (min-width: 1200px) {
	.container { max-width: 1560px; }
}

/* Layout: keep consistent side gutters inside the main content.
   The layout already wraps views in <main class="container">, so additional
   .container wrappers in views can cause uneven left/right spacing. */
main.container > .container {
	padding-left: 0;
	padding-right: 0;
}
main.container > .home-videos > .container {
	padding-left: 0;
	padding-right: 0;
}

.navbar { font-size: 0.95rem; }
.navbar-brand { letter-spacing: 0.2px; }

/* Header (reference-style) */
.site-header { background: #fff; }
.site-topbar { background: #fff !important; height: 72px; position: sticky; top: 0; z-index: 1030; }
.site-topbar .container { height: 100%; padding-top: 0 !important; padding-bottom: 0 !important; }
.site-topbar .site-brand {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	text-decoration: none !important;
	color: #111 !important;
	font-family: var(--font-secondary, 'Archivo Narrow', sans-serif);
	font-weight: 800;
	letter-spacing: .4px;
	font-size: 1.75rem;
}

.site-logo { display: block; height: 48px; width: auto; max-width: 240px; max-height: 100%; object-fit: contain; user-select: none; }
.site-logo--bg {
	width: 240px;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
}

.site-footer__logoImg {
	display: block;
	width: 220px;
	height: 48px;
	max-width: 100%;
	background-repeat: no-repeat;
	background-position: left center;
	background-size: contain;
}

.site-topbar .site-brand:visited { color: #111 !important; }
.site-topbar .site-brand:hover { color: #111 !important; text-decoration: none !important; }

.social-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: transparent;
	color: #111 !important;
	text-decoration: none !important;
}
.social-circle:visited { color: #111 !important; }
.social-circle:hover { background: transparent; color: #111 !important; text-decoration: none !important; }

/* Header topbar: slightly smaller + tighter socials */
.site-topbar .topbar-socials { gap: .15rem !important; }
.site-topbar .social-circle { width: 28px; height: 28px; }
.site-topbar .social-circle i { font-size: 1rem; }

/* Desktop: make header social icons larger */
@media (min-width: 992px) {
	.site-topbar .social-circle { width: 32px; height: 32px; }
	.site-topbar .social-circle i { font-size: 1.1rem; }
}

/* Header auth links (Register / Sign In) */
.site-topbar .topbar-auth .btn { white-space: nowrap; }
.site-topbar .topbar-auth .btn.btn-dark { color: #fff !important; }
.site-topbar .topbar-auth .btn.btn-outline-dark { color: #111 !important; }
.site-topbar .topbar-auth-icon { color: #111; font-size: 1.4rem; line-height: 1; }
.site-topbar .topbar-auth-icon:hover { color: #111; }

/* Header becomes sticky only after scrolling a bit (JS toggles body.header-scrolled)
   IMPORTANT: only the topbar sticks; the main nav should scroll normally. */
.site-header { position: relative; z-index: 1030; }

body.header-scrolled { padding-top: var(--site-topbar-height, 0px); }
body.header-scrolled .site-topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1030;
}

/* SSO button icons (used on auth pages) */
.user-account-sso-button__icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.user-account-sso-button__icon--google {
	background-image: url('../img/google-g.svg');
}

.topbar-hamburger { border: 0; display: none; }
.topbar-hamburger { z-index: 4; padding: .25rem .5rem; }
.topbar-hamburger .navbar-toggler-icon {
	width: 1.5em;
	height: 1.5em;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(17, 17, 17, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.site-navbar-hamburger { border: 0; display: inline-flex !important; }

.topbar-search { display: none; color: #111 !important; font-size: 1.25rem; text-decoration: none !important; }
.topbar-search:hover { color: #111 !important; text-decoration: none !important; }

/* Offcanvas menu */
.offcanvas .navbar-nav .nav-link { padding: .9rem 0; border-bottom: 1px solid #eee; }
.offcanvas .navbar-nav .dropdown-menu { border: 0; padding-left: .5rem; }
.offcanvas .navbar-nav .dropdown-item { padding: .6rem 0; }
.offcanvas .social-circle {
	background: rgba(0,0,0,.08);
	color: #111 !important;
}
.offcanvas .social-circle:visited { color: #111 !important; }
.offcanvas .social-circle:hover { background: rgba(0,0,0,.12); color: #111 !important; }

/* Scroll behavior override: keep the full header visible */
body.header-scrolled .site-mainnav { display: flex; }
body.header-scrolled .topbar-socials { display: flex !important; }

/* Mobile: keep the white navbar compact (hamburger + search only) */
@media (max-width: 991.98px) {
	/* Home: close the top gap above the hero image on mobile */
	#heroCarousel { margin-top: -1.5rem; }

	/* Home: make ONLY the hero image/card full width (full-bleed) on mobile */
	#heroCarousel .hero-card {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
	}

	/* On mobile, completely hide the white main navbar */
	.site-mainnav { display: none !important; }

	/* Put the toggle navigation in the topbar with the social icons */
	.topbar-hamburger { display: inline-flex; }
	.site-navbar-hamburger { display: none !important; }

	/* On mobile, socials should be inside the toggle menu (offcanvas) only */
	.topbar-socials { display: none !important; }

	/* Mobile: give a bit more space between account + search icons */
	.site-topbar .topbar-auth-icon { margin-right: .35rem; }
	.site-topbar .topbar-search { margin-left: .35rem; }

	.site-mainnav .navbar-nav { display: none; }
	.site-mainnav .site-search { display: none; }
	.topbar-search { display: inline-flex; }

	/* Prevent large logo from covering the toggle on mobile */
	.site-topbar .site-brand { max-width: 180px; }
	.site-logo { height: 40px; max-width: 180px; }
	.site-logo--bg { width: 180px; }
	.social-circle { width: 34px; height: 34px; }

	/* On mobile, don't show topbar socials even after scrolling */
	body.header-scrolled .topbar-socials { display: none !important; }
}

.navbar.navbar-light .nav-link { color: #111; font-weight: 700; text-transform: none; }
.navbar.navbar-light .nav-link:hover { color: #111; }
.site-hamburger { border: 0; }
.site-search { font-size: 1.25rem; color: #111; }
.site-search:hover { color: #111; }

.section-title { font-size: 1.25rem; font-weight: 700; margin: 1rem 0; }

.hero-card { position: relative; overflow: hidden; animation: slide-in-left .6s ease-out both; border-radius: 0 !important; }
.hero-img { width: 100%; height: 360px; object-fit: cover; filter: brightness(0.8); }
.hero-overlay { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 100%); }
.hero-overlay h2 { font-weight: 800; }
.hero-overlay { animation: fade-in .8s ease-out .2s both; }
/* Red play dot to echo reference */
.play-dot { position: absolute; top: 1rem; left: 1rem; width: 54px; height: 54px; background: #ef233c; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,.25); animation: pop-in .6s ease-out .4s both; }
.play-dot::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 14px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }

/* Entertainment category reference layout (scoped) */
.ent-layout .card { border-radius: 0 !important; }

.ent-hero { position: relative; overflow: hidden; }
.ent-hero-media { display: block; }
.ent-hero-media img,
.ent-hero-placeholder { width: 100%; height: 560px; object-fit: cover; background: #ddd; display: block; filter: brightness(.86); }
.ent-hero-placeholder { display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,.25); font-weight: 800; }

.ent-hero-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.00) 0%, rgba(0,0,0,0.70) 100%);
}

.ent-hero-title { font-size: 3.2rem; font-weight: 900; line-height: .92; }
.ent-hero-excerpt { color: rgba(255,255,255,.9); max-width: 520px; }

.ent-play {
	position: absolute;
	top: 1.25rem;
	left: 1.25rem;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: var(--brand-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 14px rgba(0,0,0,.25);
}
.ent-play i { color: #fff; font-size: 1.75rem; margin-left: 2px; }
.ent-play--small { top: 1rem; left: 1rem; width: 44px; height: 44px; }
.ent-play--small i { font-size: 1.5rem; }

.ent-mid { position: relative; }
.ent-mid-media img,
.ent-mid-placeholder { width: 100%; height: 165px; object-fit: cover; background: #ddd; display: block; }
.ent-mid-placeholder { display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,.25); font-weight: 800; }

.ent-mini { display: flex; gap: 12px; align-items: flex-start; }
.ent-mini-thumb { width: 74px; height: 54px; flex: 0 0 auto; background: #eee; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.ent-mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ent-mini-mark { color: rgba(0,0,0,.25); font-weight: 900; }

.ent-ad-box { height: 170px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid rgba(0,0,0,.12); }

.ent-more { color: var(--brand-accent); text-transform: uppercase; letter-spacing: .02em; }
.ent-more:hover { color: var(--brand-accent); }

/* Home: Videos section (reference-style) */
.home-videos { background: #000; }
.home-videos a, .home-videos a:hover, .home-videos a:visited { color: #fff; }
.home-videos .section-line-tag::before,
.home-videos .section-line-tag::after { border-top-color: rgba(255,255,255,.35); }

.home-videos-thumb {
	position: relative;
	width: 160px;
	height: 96px;
	flex: 0 0 auto;
	display: block;
	overflow: hidden;
	background: #ddd;
}
.home-videos-thumb img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.86); display: block; }
.home-videos-thumb-mark { display: inline-flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-weight: 900; color: rgba(0,0,0,.25); }

/* Home: Business-style section */
.biz-left-media { position: relative; display: block; }
.biz-left-media img,
.biz-left-placeholder { width: 100%; height: 170px; object-fit: cover; background: #ddd; display: block; }
.biz-left-placeholder { display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,.25); font-weight: 900; }

.biz-hero-title { font-size: 2.8rem; }

.biz-ad-box {
	height: 170px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	color: rgba(0,0,0,.55);
}

.biz-right-thumb {
	width: 64px;
	height: 44px;
	flex: 0 0 auto;
	background: #eee;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.biz-right-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.biz-right-mark { font-weight: 900; color: rgba(0,0,0,.25); }

.biz-leaderboard {
	height: 200px;
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1rem;
	color: rgba(0,0,0,.55);
}

@media (max-width: 991.98px) {
	.biz-hero-title { font-size: 2.2rem; }
}

/* Home: Tech-style section */
.tech-hero .ent-hero-media img,
.tech-hero .ent-hero-placeholder { height: 320px; }
.tech-hero-title { font-family: 'Archivo Narrow', sans-serif; font-weight: 900; line-height: .95; font-size: 2.1rem; }

.tech-small-media { position: relative; display: block; }
.tech-small-media img,
.tech-small-placeholder { width: 100%; height: 110px; object-fit: cover; background: #ddd; display: block; }
.tech-small-placeholder { display: flex; align-items: center; justify-content: center; color: rgba(0,0,0,.25); font-weight: 900; }

@media (max-width: 991.98px) {
	.tech-hero .ent-hero-media img,
	.tech-hero .ent-hero-placeholder { height: 260px; }
	.tech-hero-title { font-size: 1.6rem; }
}

/* Home: More News section */
.mn-item { position: relative; }
.mn-thumb {
	position: relative;
	width: 260px;
	height: 150px;
	flex: 0 0 auto;
	background: #eee;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.mn-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mn-thumb-mark { font-weight: 900; color: rgba(0,0,0,.25); }
.mn-divider { border-top-color: rgba(0,0,0,.08); }

.mn-sidebar-box { background: #fff; border: 1px solid rgba(0,0,0,.10); padding: 12px; }
.mn-recent a { color: #212529; }
.mn-recent a:hover { text-decoration: underline; }

.mn-ad {
	height: 170px;
	background: #fff;
	border: 1px solid rgba(0,0,0,.12);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1rem;
	color: rgba(0,0,0,.55);
}

.mn-tabs .nav-link { border: 1px solid rgba(0,0,0,.14); color: #6c757d; padding: .35rem .6rem; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.mn-tabs .nav-link.active { background: var(--brand-accent); border-color: var(--brand-accent); color: #fff; }

.mn-mini-thumb {
	position: relative;
	width: 54px;
	height: 38px;
	flex: 0 0 auto;
	background: #eee;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.mn-mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mn-mini-mark { font-weight: 900; color: rgba(0,0,0,.25); }

@media (max-width: 991.98px) {
	.mn-thumb { width: 160px; height: 110px; }
}

@media (max-width: 991.98px) {
	.ent-hero-media img,
	.ent-hero-placeholder { height: 420px; }
	.ent-hero-title { font-size: 2.2rem; }
}
@keyframes slide-in-left { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
	.hero-card, .hero-overlay, .play-dot { animation: none !important; }
}

.news-card .card-img-top { height: 180px; object-fit: cover; }
.placeholder-img { height: 180px; }
.news-card .card-title a { color: #212529; }
.news-card .card-title a:hover { text-decoration: underline; }
/* Ensure all title links are not blue */
.latest-column h4 a { color: #212529; }
.numbered-list .title { font-weight: 600; color: #212529; }
.top-stories .title { color: #212529; }
.trending-list a.fw-bold { font-family: 'Archivo Narrow', sans-serif; font-weight: 700; color: #212529; }

.content-article img { max-width: 100%; height: auto; }
.content-article img { object-fit: cover; }
/* Global: do not round image corners */
img { border-radius: 0 !important; object-fit: cover; }
.article-body { line-height: 1.5; font-size: 1.05rem; }

/* Single article page: share rail + popular sidebar list */
.article-flex {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.article-main {
	flex: 1 1 auto;
	min-width: 0;
}

.article-share {
	position: sticky;
	top: 120px;
	flex-direction: column;
	gap: 12px;
}

.article-share__btn {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Share rail buttons: circular, clean, like the reference */
.article-share .article-share__btn,
.content-article .btn.btn-dark.btn-sm {
	border-radius: 50% !important;
}

.article-share .article-share__btn {
	background: #fff !important;
	border: 1px solid rgba(0,0,0,.18) !important;
	color: #111 !important;
}

.article-share .article-share__btn:hover {
	background: rgba(0,0,0,.04) !important;
}

.article-hero__placeholder {
	height: 420px;
}

@media (min-width: 992px) {
	.content-article .article-header h1 { font-size: 2.6rem; }
}

.article-meta__sep {
	margin: 0 .35rem;
}

.article-kicker span {
	display: inline-block;
	padding: .35rem .75rem;
	background: var(--brand-accent);
	color: #fff;
	font-family: 'Archivo Narrow', sans-serif;
	font-weight: 800;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.article-meta { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }

/* Single article: deck + author line (reference-style) */
.article-deck {
	font-size: 1.05rem;
	line-height: 1.35;
}

.article-byline__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50% !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 2px solid rgba(0,0,0,.15);
	color: #111;
	flex: 0 0 auto;
}

.article-byline__avatar i { font-size: 1.1rem; }

.article-byline__published { line-height: 1.1; }

.article-byline__author { line-height: 1.1; }

.article-byline__x {
	margin-left: .35rem;
	font-size: 1.05em;
	vertical-align: -0.05em;
}

/* Single article sidebar: Latest / Trending / Videos tabs */
.article-tabs__nav {
	border-bottom: 1px solid rgba(0,0,0,.10);
	gap: 0;
}

.article-tabs__nav .nav-link {
	font-family: 'Archivo Narrow', sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .4px;
	color: #111;
	border-radius: 0 !important;
	border: 0;
	padding: .75rem .35rem;
	font-size: .78rem;
	line-height: 1;
	background: transparent;
}

.article-tabs__nav .nav-link.active {
	background: var(--brand-accent);
	color: #fff;
	border-bottom: 0;
}

.article-tabs__nav .nav-link:focus {
	box-shadow: none;
}

.article-tabs__nav .nav-link:not(.active) {
	background: #fff;
}

.article-tabs__nav .nav-item + .nav-item .nav-link {
	border-left: 1px solid rgba(0,0,0,.10);
}

.article-tabs .list-group-item {
	padding: .85rem .9rem;
}

/* Single article pages: no border + no shadow (main sheet + sidebar cards) */
.content-article .article-sheet {
	border: 0 !important;
	box-shadow: none !important;
}

.content-article .card,
.content-article + aside .card {
	border: 0 !important;
	box-shadow: none !important;
}

.article-ad__label {
	text-align: center;
	color: var(--bs-secondary-color);
	font-size: .75rem;
	letter-spacing: .18em;
	margin-bottom: .5rem;
}

.article-ad__slot {
	overflow-x: hidden;
}

/* Related cards: slightly shorter images, like the reference grid */
.content-article .news-card .card-img-top { height: 140px; }

.article-side-thumb {
	width: 56px;
	height: 56px;
	border-radius: 0;
	overflow: hidden;
	flex: 0 0 auto;
	background: var(--bs-secondary-bg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.article-side-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article-side-thumb__mark {
	font-weight: 700;
	color: var(--bs-secondary-color);
}

.article-side-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Prevent horizontal scroll/jitter on single article pages (often caused by wide ad iframes/scripts) */
.article-ad {
	overflow-x: hidden;
}

.article-ad iframe,
.article-ad img,
.article-ad ins {
	max-width: 100% !important;
}

.article-ad iframe {
	width: 100% !important;
}

.content-article .ratio,
.content-article iframe,
.content-article video,
.content-article img {
	max-width: 100%;
}

.article-side-cat {
	display: inline-block;
	font-family: 'Archivo Narrow', sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .5px;
	font-size: .72rem;
	color: var(--brand-accent);
}

/* Article body: safe embeds (shortcodes) */
.article-body .content-embed { margin: 0 0 1rem 0; }
.article-body .content-embed--video video { width: 100%; height: auto; display: block; }
.article-body .content-embed--iframe iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }
.article-body .content-file-link { display: inline-block; text-decoration: underline; }

.article-excerpt { font-family: 'PT Serif', serif !important; font-size: 1.2rem; line-height: 1.35; color: #212529; }
.hero-excerpt { font-family: 'PT Serif', serif !important; font-size: 1.2rem; line-height: 1.35; color: #212529; }
/* Force description paragraphs to PT Serif even if they use .text-muted */
.latest-column .card-body > p.text-muted { font-family: 'PT Serif', serif !important; }

/* Tighten spacing in the Latest column (only this area) */
.latest-column .card-body h4 { margin-top: .15rem !important; margin-bottom: .2rem !important; line-height: 1.0; }
.latest-column .card-body > p.text-muted { margin-bottom: 0 !important; line-height: 1.3; }
.latest-list .meta { margin-bottom: 0 !important; }
.latest-list .title { display: block; line-height: 1.05; margin-top: .05rem; }

/* Metadata style */
.meta, .text-muted, small { color: #6c757d; }
.meta { font-size: 0.72rem; line-height: 1.0; letter-spacing: 0.2px; }

footer { font-size: 0.9rem; }

/* Footer (news-style, scoped) */
.site-footer {
	background: #0f1115;
	color: rgba(255,255,255,.92);
	border-top: 1px solid rgba(255,255,255,.12);
	box-shadow: 0 -1px 0 rgba(0,0,0,.25);
}

.site-footer a { color: rgba(255,255,255,.92); text-decoration: none; }
.site-footer a:hover { color: #ffffff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.site-footer a:visited { color: rgba(255,255,255,.92); }

.site-footer a:focus-visible {
	outline: 2px solid rgba(255,255,255,.38);
	outline-offset: 2px;
	border-radius: 6px;
}

.site-footer .text-muted { color: rgba(255,255,255,.65) !important; }

.site-footer__brand {
	font-family: var(--font-secondary, 'Archivo Narrow', sans-serif);
	font-weight: 900;
	letter-spacing: .4px;
	font-size: 1.5rem;
	color: #fff;
}

.site-footer__about {
	color: rgba(255,255,255,.75);
	font-size: .95rem;
	line-height: 1.45;
	max-width: 44ch;
}

.site-footer__mini {
	font-size: .85rem;
	color: rgba(255,255,255,.7);
}
.site-footer__mini a { color: rgba(255,255,255,.8); }
.site-footer__mini a:hover { color: #fff; text-decoration: underline; }

.site-footer__title {
	font-family: var(--font-primary, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .8px;
	font-size: .78rem;
	color: rgba(255,255,255,.85);
	margin-bottom: .75rem;
}

.site-footer__list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.site-footer__list li { margin: .35rem 0; }
.site-footer__list a { display: inline-block; }

.site-footer__social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255,255,255,.18);
	background: rgba(255,255,255,.04);
	color: #fff;
	border-radius: 10px;
}
.site-footer__social:hover { background: rgba(255,255,255,.12); text-decoration: none; }
.site-footer__social:focus-visible { outline: 2px solid rgba(255,255,255,.38); outline-offset: 2px; }

.site-footer__contact { color: rgba(255,255,255,.75); font-size: .95rem; }
.site-footer__contact a { color: rgba(255,255,255,.92); }

.site-footer__divider {
	height: 1px;
	background: rgba(255,255,255,.12);
	margin: 1.1rem 0;
}

.site-footer__newsletter { max-width: 520px; }
.site-footer__newsletterRow {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: .6rem;
}
.site-footer__newsletter .form-control {
	background: rgba(255,255,255,.06);
	border-color: rgba(255,255,255,.18);
	color: #fff;
}
.site-footer__newsletter .form-control::placeholder { color: rgba(255,255,255,.55); }
.site-footer__newsletter .btn.btn-light {
	background: var(--brand-accent);
	border-color: var(--brand-accent);
	color: #fff;
	font-weight: 800;
	letter-spacing: .2px;
}
.site-footer__newsletter .btn.btn-light:hover {
	filter: brightness(0.95);
}
.site-footer__hint { margin-top: .45rem; color: rgba(255,255,255,.65); font-size: .85rem; }
.site-footer__newsletterMsg { margin-top: .5rem; font-size: .85rem; }
.site-footer__newsletterMsg.is-ok { color: rgba(120,255,180,.95); }
.site-footer__newsletterMsg.is-bad { color: rgba(255,160,160,.95); }
.site-footer__backtotop {
	font-family: var(--font-primary, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-weight: 700;
	font-size: .85rem;
	letter-spacing: .2px;
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid rgba(255,255,255,.25);
}
.site-footer__backtotop:hover { border-bottom-color: #fff; text-decoration: none; }

.site-footer__bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	color: rgba(255,255,255,.72);
	font-size: .85rem;
}
.site-footer__legal { color: rgba(255,255,255,.65); }

@media (max-width: 991.98px) {
	.site-footer .container { padding-top: 2.25rem; padding-bottom: 2.25rem; }
	.site-footer__newsletterRow { grid-template-columns: 1fr; }
	.site-footer__newsletter .btn { width: 100%; }
}

@media (max-width: 575.98px) {
	.site-footer .col-6 { flex: 0 0 100%; max-width: 100%; }
}

/* Nested dropdowns */
.dropdown-submenu .dropdown-menu { left: 100%; top: 0; margin-left: .1rem; }
.dropdown-submenu { position: relative; }
.dropdown-menu { min-width: 14rem; }
.navbar .dropdown-menu a { white-space: nowrap; }

/* Home sections */
.dark-strip { background: #111; color: #fff; border-radius: .25rem; }
.numbered-list li { display: grid; grid-template-columns: 24px auto; align-items: center; gap: .5rem; padding: .5rem 0; border-bottom: 1px solid #eee; }
.numbered-list .num { display: inline-block; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-accent); color: #fff; text-align: center; line-height: 24px; font-weight: 700; }
.numbered-list .title { font-weight: 600; }
.banner { border-radius: .25rem; }
/* Removed thumbnail column to restore original Top Stories layout */

/* Reference-style section tag with lines */
.section-line-tag { position: relative; height: 40px; margin-top: .25rem; display: flex; align-items: center; justify-content: center; }
.section-line-tag::before, .section-line-tag::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); border-top: 1px solid #666; width: 46%; z-index: 1; }
.section-line-tag::before { left: 0; }
.section-line-tag::after { right: 0; }
.section-line-tag .tag { position: relative; z-index: 2; display: inline-block; padding: .35rem 1.1rem; border-radius: 0 !important; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .5px; background: #ef233c; color: #fff; }
.latest-column .card-img-top, .latest-column .placeholder-img { height: 220px; }
.trending-column .trending-item { min-height: 56px; }

/* Trending numbered boxes */
.trending-list .num-box { width: 64px; height: 64px; flex: 0 0 64px; aspect-ratio: 1 / 1; background: #6c757d; color: #fff; border-radius: 0 !important; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; box-sizing: border-box; }
.trending-item + .trending-item { border-top: 1px solid #eee; }
/* Slightly open spacing for trending items */
.trending-list .trending-item { padding: .35rem 0 !important; gap: .75rem !important; }
.trending-list .trending-text { flex: 1 1 auto; }
.trending-list .meta { margin-bottom: .1rem; }

/* On hover: show featured image inside the square number box */
.trending-list .trending-item { --preview-image: none; }
.trending-list .num-box { background-image: none; background-size: cover; background-position: center; background-repeat: no-repeat; transition: background-image .12s ease-out, color .12s ease-out; }
.trending-list .trending-item:hover .num-box { background-image: var(--preview-image); color: transparent; }
/* Thumbnail box for trending items */
.trending-list .thumb-box { position: relative; width: 64px; height: 64px; border-radius: 0; overflow: hidden; background: #6c757d; flex: 0 0 64px; }
.trending-list .thumb-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.trending-list .thumb-placeholder { width: 100%; height: 100%; }
.trending-list .num-badge { position: absolute; left: 6px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .9rem; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
/* Trending titles should use the heading font */
.trending-list a.fw-bold { font-family: 'Archivo Narrow', sans-serif; font-weight: 700; }

/* Latest mini list below the main card (reference-style: small gray boxes) */
.latest-list .item { display: grid; grid-template-columns: 64px auto; align-items: center; gap: .85rem; padding: .55rem 0; border-bottom: 1px solid #eee; }
.latest-list .mini-box { width: 64px; height: 64px; background: #dedede; display: flex; align-items: center; justify-content: center; text-decoration: none; position: relative; overflow: hidden; }
.latest-list .mini-box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.latest-list .mini-mark { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 800; color: #b9b9b9; font-size: 1.25rem; line-height: 1; }
.latest-list .title { color: #212529; font-family: 'Archivo Narrow', sans-serif; font-weight: 700; }

/* Hero headline link should not turn blue (scope to hero carousel only) */
#heroCarousel .display-6 a { color: #212529; }

/* Reduce excess gap between the hero carousel and center mini list (scope only here) */
#heroCarousel { margin-bottom: .35rem !important; }

/* Center mini blocks below the main headline */
.center-mini.mt-4 { margin-top: 0 !important; }
.center-mini .mini-item { display: grid; grid-template-columns: 220px auto; gap: 1rem; align-items: center; padding: .75rem 0; }
.center-mini .mini-item:first-child { padding-top: 0; }
.center-mini .mini-thumb { position: relative; width: 220px; height: 120px; display: block; background: #dedede; overflow: hidden; text-decoration: none; }
.center-mini .mini-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.center-mini .mini-thumb-placeholder { width: 100%; height: 100%; background: #dedede; }
.center-mini .mini-play { position: absolute; left: 10px; top: 10px; width: 26px; height: 26px; background: #ef233c; border-radius: 50%; }
.center-mini .mini-play::after { content: ""; position: absolute; left: 10px; top: 7px; border-left: 8px solid #fff; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.center-mini .mini-title { display: block; margin-top: .15rem; color: #212529; font-family: 'Archivo Narrow', sans-serif; font-weight: 800; font-size: 20.8px; line-height: 1.0; }
