:root {
	--nn-red: #e30613;
	--nn-red-dark: #bd0010;
	--nn-ink: #141414;
	--nn-muted: #6e7378;
	--nn-line: #e1e3e6;
	--nn-width: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body#tie-body { margin: 0; background: #fff; color: var(--nn-ink); font-family: "Noto Sans Tamil", "Nirmala UI", Latha, Arial, sans-serif; line-height: 1.5; }
body#tie-body a { color: inherit; text-decoration: none; }
body#tie-body img { display: block; max-width: 100%; }
.nn-page { min-height: 100vh; overflow: hidden; background: #fff; }
.nn-container { width: min(calc(100% - 48px), var(--nn-width)); margin-inline: auto; }
.nn-skip-link { position: fixed; z-index: 9999; top: 8px; left: 8px; padding: 10px 16px; transform: translateY(-150%); background: #fff; border: 2px solid var(--nn-red); }
.nn-skip-link:focus { transform: none; }

.nn-topbar { min-height: 32px; background: linear-gradient(90deg, #f3f3f3, #fff, #f3f3f3); color: #42474b; font-size: 12px; }
.nn-topbar__inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nn-topbar nav { display: flex; align-items: center; gap: 20px; font-weight: 700; }
.nn-social { color: var(--nn-red); font-size: 15px; letter-spacing: 1px; }
.nn-date span { color: #111; font-size: 16px; vertical-align: -1px; }

.nn-masthead { min-height: 116px; display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.nn-brand { display: block; width: min(430px, 52vw); }
.nn-brand img { width: 100%; max-height: 92px; object-fit: contain; object-position: left center; }
.nn-epaper { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 17px; border: 1px solid var(--nn-red); border-radius: 4px; color: var(--nn-red) !important; font-weight: 800; }
.nn-epaper span { font-size: 24px; }
.nn-epaper b { font-size: 26px; font-weight: 400; }

.nn-nav-wrap { position: relative; z-index: 20; border-block: 1px solid var(--nn-line); box-shadow: 0 3px 10px rgba(0,0,0,.05); background: #fff; }
.nn-nav-row { min-height: 54px; display: flex; align-items: stretch; }
.nn-primary-nav { display: flex; flex: 1; align-items: stretch; }
.nn-primary-nav a { display: flex; flex: 1; min-width: 90px; align-items: center; justify-content: center; padding: 0 16px; font-size: 15px; font-weight: 800; white-space: nowrap; transition: .2s ease; }
.nn-primary-nav a:hover, .nn-primary-nav a:focus-visible { color: var(--nn-red); background: #fafafa; }
.nn-primary-nav .is-home { max-width: 130px; background: var(--nn-red); color: #fff !important; }
.nn-search-toggle { width: 56px; border: 0; border-left: 1px solid var(--nn-line); background: #fff; font-size: 31px; cursor: pointer; }
.nn-menu-toggle { display: none; }
.nn-search-panel { position: absolute; right: max(24px, calc((100vw - var(--nn-width))/2)); top: 100%; width: min(420px, calc(100vw - 48px)); padding: 16px; border: 1px solid var(--nn-line); background: #fff; box-shadow: 0 12px 25px rgba(0,0,0,.12); }
.nn-search-panel form { display: flex; }
.nn-search-panel input { min-width: 0; flex: 1; height: 44px; padding: 0 12px; border: 1px solid #bbb; }
.nn-search-panel button { border: 0; padding: 0 18px; background: var(--nn-red); color: #fff; font-weight: 800; }

.nn-breaking { height: 44px; display: flex; align-items: center; border: 1px solid var(--nn-line); border-top: 0; overflow: hidden; }
.nn-breaking strong { align-self: stretch; display: flex; align-items: center; padding: 0 18px; background: var(--nn-red); color: #fff; white-space: nowrap; }
.nn-breaking a { flex: 1; overflow: hidden; padding: 0 20px; font-size: 14px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.nn-breaking > span { padding: 0 15px; color: #757575; white-space: nowrap; }

#tie-wrapper { background: #fff; }
.nn-home { padding: 22px 0 44px; }
.nn-lead { display: grid; grid-template-columns: minmax(0, 3fr) minmax(290px, 1fr); gap: 18px; }
.nn-lead__stories { min-width: 0; display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(270px, .95fr); gap: 16px; }
.nn-hero__media, .nn-card__media, .nn-video-card > a { position: relative; display: block; overflow: hidden; background: #eceff1; }
.nn-hero__media { aspect-ratio: 16 / 9; }
.nn-hero__media img, .nn-card__media img, .nn-video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.nn-hero__media:hover img, .nn-card__media:hover img, .nn-video-card > a:hover img { transform: scale(1.035); }
.nn-hero__media span, .nn-card__tag { position: absolute; left: 0; bottom: 0; padding: 7px 12px; background: var(--nn-red); color: #fff; font-size: 12px; font-weight: 800; }
.nn-hero h1 { margin: 12px 0 5px; font-size: clamp(22px, 2.05vw, 34px); line-height: 1.35; letter-spacing: -.01em; }
.nn-hero p { margin: 0; color: var(--nn-muted); font-size: 14px; }
.nn-meta { display: flex; justify-content: space-between; gap: 15px; margin-top: 8px; color: var(--nn-muted); font-size: 12px; }
.nn-meta time::before, .nn-card time::before, .nn-video-card time::before { content: "◷ "; color: #3d4145; }
.nn-meta a { color: var(--nn-red) !important; font-weight: 800; }

.nn-lead__secondary { display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.nn-card { min-width: 0; }
.nn-card__media { aspect-ratio: 16 / 9; }
.nn-card__media--empty { display: grid; place-items: center; background: linear-gradient(135deg, #30343a, #9d0010); color: rgba(255,255,255,.78); font-weight: 900; font-size: 20px; }
.nn-card__body h3 { margin: 8px 0 4px; font-size: 17px; line-height: 1.38; }
.nn-card__body p { margin: 0 0 6px; color: var(--nn-muted); font-size: 13px; }
.nn-card__body time, .nn-video-card time { color: var(--nn-muted); font-size: 11px; }
.nn-card--lead .nn-card__media { aspect-ratio: 16 / 8.6; }
.nn-card--lead .nn-card__body h3 { font-size: 17px; }
.nn-card--lead .nn-card__body p { display: none; }

.nn-live { min-width: 0; padding-left: 16px; border-left: 1px solid var(--nn-line); }
.nn-live ol { margin: 0; padding: 0; list-style: none; }
.nn-live li { display: grid; grid-template-columns: 52px 1fr; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--nn-line); font-size: 13px; line-height: 1.42; }
.nn-live li time { color: var(--nn-red); font-weight: 900; font-size: 12px; }
.nn-live li a { font-weight: 650; }

.nn-news-section { margin-top: 30px; }
.nn-section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 12px; border-bottom: 1px solid #aeb2b5; }
.nn-section-head h2 { position: relative; margin: 0 0 -1px; padding: 0 0 9px 16px; font-size: 23px; line-height: 1.3; }
.nn-section-head h2::before { content: ""; position: absolute; left: 0; top: 1px; width: 5px; height: 27px; background: var(--nn-red); }
.nn-section-head > a { color: var(--nn-red) !important; font-size: 12px; font-weight: 800; white-space: nowrap; }
.nn-section-head--compact h2 { font-size: 20px; }
.nn-section-head--compact h2::before { height: 23px; }
.nn-section-head--compact > a { font-size: 10px; }
.nn-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.nn-video-section { padding-top: 2px; }
.nn-video-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.nn-video-card > a { aspect-ratio: 16 / 8.8; }
.nn-video-card h3 { margin: 7px 0 3px; font-size: 14px; line-height: 1.4; }
.nn-play { position: absolute; left: 50%; top: 50%; display: grid; width: 48px; height: 48px; place-items: center; transform: translate(-50%, -50%); border: 3px solid #fff; border-radius: 50%; background: rgba(0,0,0,.58); color: #fff; font-size: 20px; text-indent: 3px; }

.nn-footer { margin-top: 10px; border-top: 1px solid var(--nn-line); background: #fff; }
.nn-footer__main { min-height: 126px; display: grid; grid-template-columns: 260px 1fr auto; align-items: center; gap: 38px; padding-block: 22px; }
.nn-footer__brand img { max-height: 70px; width: auto; }
.nn-footer__main p { margin: 0; color: var(--nn-muted); font-size: 13px; }
.nn-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 24px; font-size: 12px; font-weight: 700; }
.nn-footer__bar { padding: 12px 0; background: #2e3338; color: #d7d9db; font-size: 11px; }

@media (max-width: 1180px) {
	.nn-container { width: min(calc(100% - 32px), var(--nn-width)); }
	.nn-primary-nav a { min-width: 0; padding-inline: 10px; font-size: 13px; }
	.nn-lead { grid-template-columns: minmax(0, 1fr) 320px; }
	.nn-lead__stories { grid-template-columns: minmax(0, 1.5fr) minmax(220px, .85fr); }
	.nn-card__body p { display: none; }
}

@media (max-width: 900px) {
	.nn-topbar nav a { display: none; }
	.nn-masthead { min-height: 92px; }
	.nn-menu-toggle { display: inline-flex; width: 88px; align-items: center; justify-content: center; flex-direction: column; gap: 4px; border: 0; background: var(--nn-red); color: #fff; }
	.nn-menu-toggle span { width: 22px; height: 2px; background: #fff; }
	.nn-menu-toggle b { font-size: 9px; }
	.nn-primary-nav { position: absolute; left: 16px; right: 16px; top: 100%; display: none; flex-direction: column; padding: 8px; border: 1px solid var(--nn-line); background: #fff; box-shadow: 0 12px 22px rgba(0,0,0,.13); }
	.nn-primary-nav.is-open { display: flex; }
	.nn-primary-nav a, .nn-primary-nav .is-home { flex: none; max-width: none; min-height: 44px; justify-content: flex-start; }
	.nn-search-toggle { margin-left: auto; }
	.nn-lead { grid-template-columns: 1fr; }
	.nn-live { padding-left: 0; border-left: 0; }
	.nn-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nn-video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.nn-footer__main { grid-template-columns: 220px 1fr; }
	.nn-footer__links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; }
}

@media (max-width: 640px) {
	.nn-container { width: min(calc(100% - 24px), var(--nn-width)); }
	.nn-topbar { font-size: 10px; }
	.nn-social { font-size: 12px; }
	.nn-masthead { min-height: 82px; padding-block: 12px; }
	.nn-brand { width: 66vw; }
	.nn-epaper { min-height: 38px; padding: 0 10px; font-size: 0; }
	.nn-epaper span { font-size: 20px; }
	.nn-epaper b { display: none; }
	.nn-breaking { height: 40px; }
	.nn-breaking strong { padding-inline: 10px; font-size: 11px; }
	.nn-breaking a { padding-inline: 10px; font-size: 11px; }
	.nn-breaking > span { display: none; }
	.nn-home { padding-top: 14px; }
	.nn-lead__stories { display: block; }
	.nn-lead__secondary { grid-template-columns: 1fr 1fr; grid-template-rows: auto; margin-top: 18px; }
	.nn-hero h1 { font-size: 22px; }
	.nn-hero p { font-size: 13px; }
	.nn-card--lead .nn-card__body h3 { font-size: 14px; }
	.nn-section-head h2 { font-size: 19px; }
	.nn-card-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
	.nn-card__body h3 { font-size: 14px; }
	.nn-card__tag { padding: 5px 8px; font-size: 10px; }
	.nn-video-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
	.nn-video-card:last-child { display: none; }
	.nn-play { width: 38px; height: 38px; font-size: 15px; }
	.nn-footer__main { grid-template-columns: 1fr; gap: 16px; }
	.nn-footer__brand img { max-height: 58px; }
}

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}
