:root {
	--itn-primary: #d1121b;
	--itn-primary-dark: #a30d15;
	--itn-dark: #14161a;
	--itn-text: #1c1c1c;
	--itn-muted: #6c757d;
	--itn-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
	font-family: var(--itn-font);
	color: var(--itn-text);
}

a {
	color: var(--itn-primary);
}
a:hover {
	color: var(--itn-primary-dark);
}

/* Top bar */
.itn-topbar {
	background: var(--itn-dark);
	color: #cfd2d6;
}
.itn-topbar a {
	color: #cfd2d6;
}

/* Logo / nav */
.itn-logo-text {
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--itn-text);
}
.itn-navbar .nav-link {
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.82rem;
	letter-spacing: 0.03em;
}
.itn-navbar .nav-link.active,
.itn-navbar .nav-link:hover {
	color: var(--itn-primary);
}
.itn-search-form input {
	max-width: 220px;
}

/* Breaking news ticker */
.itn-ticker {
	padding: 0.4rem 0;
}
.itn-ticker-label {
	background: rgba(255, 255, 255, 0.2);
	padding: 2px 8px;
	border-radius: 3px;
	margin-right: 12px;
	font-size: 0.75rem;
	white-space: nowrap;
}
.itn-ticker-track {
	display: flex;
	gap: 2.5rem;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: none;
}
.itn-ticker-track::-webkit-scrollbar {
	display: none;
}
.itn-ticker-track a {
	color: #fff;
	text-decoration: none;
	font-size: 0.85rem;
}
.itn-ticker-track a:hover {
	text-decoration: underline;
}

/* Section titles */
.itn-section-title {
	font-weight: 800;
	font-size: 1.4rem;
	border-bottom: 3px solid var(--itn-primary);
	padding-bottom: 0.5rem;
	margin-bottom: 1.5rem;
	display: inline-block;
}

/* Post cards */
.itn-card {
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	overflow: hidden;
}
.itn-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}
.itn-card-img,
.itn-card-img-placeholder {
	width: 100%;
	height: 190px;
	object-fit: cover;
	background: linear-gradient(135deg, #e9ecef, #dee2e6);
}
.itn-card-title {
	line-height: 1.3;
}

/* Hero */
.itn-hero-card {
	border-radius: 0.5rem;
	overflow: hidden;
}
.itn-hero-img {
	width: 100%;
	height: 420px;
	object-fit: cover;
}
.itn-hero-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.5rem;
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
}
.itn-hero-title {
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.25;
}

/* Article */
.itn-article-title {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 0.75rem;
}
.itn-article-content {
	font-size: 1.1rem;
	line-height: 1.8;
}
.itn-article-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.375rem;
}
.itn-article-content blockquote {
	border-left: 4px solid var(--itn-primary);
	padding-left: 1rem;
	font-style: italic;
	color: var(--itn-muted);
}

/* Reading progress bar */
.itn-progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 0;
	background: var(--itn-primary);
	z-index: 2000;
	transition: width 0.1s linear;
}

/* Widgets */
.itn-widget-title {
	font-weight: 700;
	font-size: 1rem;
	text-transform: uppercase;
	border-bottom: 2px solid var(--itn-primary);
	padding-bottom: 0.4rem;
	margin-bottom: 0.75rem;
}

/* Footer */
.itn-footer a {
	color: #cfd2d6;
	text-decoration: none;
}
.itn-footer a:hover {
	color: #fff;
}

@media (max-width: 991.98px) {
	.itn-hero-img {
		height: 260px;
	}
	.itn-article-title {
		font-size: 1.5rem;
	}
}
