/* TeluguNewsTime Core – front-end corrections loaded after the theme stylesheet.
   Keeps headline text off the image so contrast is never an issue. */

/* ---- Hero cards: image on top, headline below, at every width ---- */
.hero-card {
	position: relative;
	background: #fff;
	border: 1px solid #e6e8ec;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 6px rgba(16, 24, 40, .06);
	height: 100%;
	display: flex;
	flex-direction: column;
}
.hero-card__link { display: flex; flex-direction: column; color: #14171c; height: 100%; }
.hero-card__link:hover { color: #14171c; }
.hero-card__media { overflow: hidden; height: auto; }
.hero-card__media .tnt-thumb__img,
.hero-card--small .hero-card__media .tnt-thumb__img { aspect-ratio: 16 / 9; height: auto; }
.hero-card__body {
	position: static;
	left: auto; right: auto; bottom: auto;
	padding: 14px 18px 18px;
	background: none;
	display: flex;
	flex-direction: column;
	flex: 1;
}
.hero-card__title {
	font-size: 25px;
	line-height: 1.4;
	font-weight: 800;
	color: #14171c;
	text-shadow: none;
}
.hero-card__link:hover .hero-card__title { color: #e30613; }
.hero-card__meta { margin-top: auto; padding-top: 10px; font-size: 13px; opacity: 1; }
.hero-card__meta .tnt-time { color: #6b7280; }
.hero-card .tnt-badge--onimage {
	background: #e30613;
	color: #fff;
	box-shadow: none;
	align-self: flex-start;
}
.hero-card--small .hero-card__body { padding: 12px 14px 14px; }
.hero-card--small .hero-card__title { font-size: 16.5px; }
.hero-card--small .tnt-badge--onimage { font-size: 11px; padding: 3px 8px; margin-bottom: 6px; }

@media (max-width: 767px) {
	.hero-card__body { padding: 12px 14px 14px; }
	.hero-card__title { font-size: 18px; }
	.hero-card--small .hero-card__title { font-size: 15.5px; }
}

/* ---- Breaking ticker: never wrap into a tall stack ---- */
.breaking__inner { height: 42px; min-height: 42px; }
@media (prefers-reduced-motion: reduce) {
	.breaking__list { animation: none; padding-left: 0; flex-wrap: nowrap; white-space: nowrap; }
	.breaking__track { overflow-x: auto; scrollbar-width: none; }
	.breaking__track::-webkit-scrollbar { display: none; }
	.breaking__label::before { animation: none; }
	.hero-card:hover .tnt-thumb__img,
	.news-card:hover .tnt-thumb__img,
	.list-card:hover .tnt-thumb__img,
	.cat-block__lead a:hover .tnt-thumb__img { transform: none; }
}
