/* ==========================================================================
   Eelamurasu — main stylesheet
   ========================================================================== */

:root {
	--em-accent: #c8102e;
	--em-brand: #0b2447;
	--em-ink: #121212;
	--em-ink-2: #3a3a3a;
	--em-muted: #6b6b6b;
	--em-rule: #e2e2e2;
	--em-paper: #ffffff;
	--em-band: #f4f1ea;
	--em-navy: #0e2a5c;
	--em-wrap: 1240px;
	--em-font: "Anek Tamil", "Noto Sans Tamil", "Latha", "Nirmala UI", sans-serif;
	--em-radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--em-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--em-ink);
	background: var(--em-paper);
	top: 0 !important; /* Google Translate pushes body down */
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--em-accent); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.4; margin: 0 0 .5em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select, optgroup { font-family: inherit; }

.em-wrap { width: 100%; max-width: var(--em-wrap); margin: 0 auto; padding: 0 20px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 999; background: #fff;
	padding: 10px 16px; top: 8px; left: 8px; color: var(--em-ink);
}
:focus-visible { outline: 2px solid var(--em-brand); outline-offset: 2px; }

/* ---------- Top bar ---------- */
.em-topbar { background: #0a2540; color: #e8eef5; font-size: 13px; }
.em-topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.em-topbar-left, .em-topbar-right { display: flex; align-items: center; gap: 14px; }
.em-today { font-weight: 500; letter-spacing: .01em; white-space: nowrap; }


.em-lang { display: inline-flex; align-items: center; gap: 2px; background: #222; border-radius: 99px; padding: 3px 3px 3px 9px; color: #aaa; }
.em-lang svg { margin-right: 4px; }
.em-lang button {
	background: transparent; color: #ddd; border: 0; border-radius: 99px;
	font-size: 12.5px; font-weight: 700; padding: 3px 11px; line-height: 1.5;
	font-family: var(--em-font);
}
.em-lang button:hover { color: #fff; background: #333; }
.em-lang button.is-active { background: var(--em-accent); color: #fff; }

.em-social { display: flex; align-items: center; gap: 4px; }
.em-social a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: inherit; }
.em-social--top a:hover { background: #2a2a2a; color: #fff; }

.em-top-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); padding: 2px 10px; border-radius: 3px; }
.em-top-link:hover { color: #fff; background: var(--em-nav); }

/* ---------- Masthead ---------- */
.em-masthead { background: #fff; border-bottom: 1px solid var(--em-rule); }
.em-masthead-in {
	display: grid; grid-template-columns: 280px 1fr 280px; align-items: center;
	gap: 24px; padding-top: 18px; padding-bottom: 18px;
}
.em-brand { text-align: center; }
.em-brand .custom-logo-link { display: inline-block; }
.em-brand .custom-logo { max-width: 520px; width: 100%; height: auto; margin: 0 auto; }
.em-tagline { margin: 6px 0 0; font-size: 14.5px; font-weight: 700; color: var(--em-nav); letter-spacing: .01em; line-height: 1.5; }

/* shared box */
.em-box-head {
	display: flex; justify-content: space-between; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 700; padding: 7px 12px; color: #fff;
}
.em-box-head span { display: inline-flex; align-items: center; gap: 7px; }
.em-box-head em { font-style: normal; font-size: 11px; background: var(--em-accent); padding: 1px 7px; border-radius: 3px; letter-spacing: .05em; }
.em-box-empty { font-size: 13px; color: var(--em-muted); padding: 14px 12px; margin: 0; }
.em-box-foot { font-size: 11px; color: var(--em-muted); padding: 5px 12px 7px; border-top: 1px solid var(--em-rule); }
.em-flag { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); display: inline-block; }

/* currency */
.em-fx { border: 1px solid var(--em-rule); border-radius: var(--em-radius); overflow: hidden; background: #fff; }
.em-fx .em-box-head { background: var(--em-ink); }
.em-fx-list { list-style: none; margin: 0; padding: 4px 0; }
.em-fx-list li {
	display: grid; grid-template-columns: 1fr auto 72px; align-items: center; gap: 10px;
	font-size: 13px; padding: 3px 12px; line-height: 1.6;
	font-family: var(--em-font);
}
.em-fx-list li + li { border-top: 1px dashed #eee; }
.em-fx-code { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; }
.em-fx-rate { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.em-fx-chg { font-size: 11.5px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.em-fx-chg.is-up { color: #0f8a3c; }
.em-fx-chg.is-down { color: var(--em-accent); }
.em-fx-chg.is-flat { color: var(--em-muted); }
.em-mast-left .em-fx-list li:nth-child(n+7) { display: none; }

/* weather */
.em-wx { border-radius: var(--em-radius); overflow: hidden; color: #fff; background: linear-gradient(160deg, var(--em-brand) 0%, var(--em-navy) 100%); }
.em-wx .em-box-head { background: rgba(0,0,0,.25); }
.em-wx-main { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 10px 12px 8px; }
.em-wx-icon { font-size: 40px; line-height: 1; }
.em-wx-temp { font-size: 30px; font-weight: 800; line-height: 1.1; font-family: var(--em-font); }
.em-wx-city { font-size: 14px; font-weight: 700; }
.em-wx-desc { font-size: 12px; opacity: .85; }
.em-wx-meta { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 12px; font-size: 11.5px; opacity: .92; flex-wrap: wrap; }
.em-wx-meta b { font-weight: 700; }
.em-wx-cities { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); border-top: 1px solid rgba(255,255,255,.15); }
.em-wx-cities li { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; padding: 5px 12px; border-bottom: 1px solid rgba(255,255,255,.1); }
.em-wx-cities li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.1); }
.em-wx-cn { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.em-wx-cities li > span:last-child { font-weight: 700; white-space: nowrap; }
.em-wx--sidebar { margin-bottom: 28px; }
.em-wx--sidebar .em-wx-temp { font-size: 36px; }

/* ---------- Navigation (blue bar + pill row) ---------- */
.em-nav {
	position: sticky; top: 0; z-index: 50; background: var(--em-nav);
	color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.admin-bar .em-nav { top: 32px; }
.em-nav.is-stuck { box-shadow: 0 3px 14px rgba(0,0,0,.18); }
.em-nav-in { display: flex; align-items: stretch; gap: 0; min-height: 46px; }
.em-nav-tools { display: flex; align-items: center; gap: 2px; padding-right: 10px; flex: none; }
.em-nav .em-burger, .em-nav .em-search-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	background: none; border: 0; color: #fff; border-radius: 3px; padding: 0;
}
.em-nav .em-burger { flex-direction: column; gap: 4px; }
.em-nav .em-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.em-nav .em-burger:hover, .em-nav .em-search-toggle:hover { background: rgba(255,255,255,.14); }
.em-nav-home {
	flex: none; display: inline-flex; align-items: center; justify-content: center; width: 46px;
	background: rgba(0,0,0,.22); color: #fff;
}
.em-nav-home:hover, .em-nav-home.is-current { background: rgba(0,0,0,.32); color: #fff; }
.em-nav-scroll { flex: 1; min-width: 0; display: flex; }

.em-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: stretch; }
.em-menu > li { position: relative; display: flex; }
.em-menu > li + li::before {
	content: ""; position: absolute; left: 0; top: 50%; height: 18px; margin-top: -9px;
	border-left: 1px solid rgba(255,255,255,.35);
}
.em-menu > li > a {
	display: flex; align-items: center; gap: 6px; padding: 0 12px; min-height: 46px;
	font-size: 15px; font-weight: 600; white-space: nowrap; color: #fff;
}
.em-menu > li > a:hover,
.em-menu > li.current-menu-item > a,
.em-menu > li.current-menu-ancestor > a,
.em-menu > li.current-category-ancestor > a { color: #fff; background: rgba(0,0,0,.18); }
.em-menu > li:last-child > a, .em-menu > li.em-menu-hl > a { background: rgba(0,0,0,.2); }
.em-caret { opacity: .85; }
.em-menu .sub-menu {
	list-style: none; margin: 0; padding: 6px 0; position: absolute; left: 0; top: 100%;
	min-width: 220px; background: #fff; border-top: 3px solid var(--em-nav);
	box-shadow: 0 12px 30px rgba(0,0,0,.14); opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: .15s ease; z-index: 60;
}
.em-menu li:hover > .sub-menu, .em-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.em-menu .sub-menu a { display: block; padding: 8px 16px; font-size: 14.5px; font-weight: 600; color: var(--em-ink); }
.em-menu .sub-menu a:hover { background: #eef5fc; color: var(--em-nav); }

.em-nav .em-search-panel { background: #fff; color: var(--em-ink); padding: 14px 0; border-bottom: 1px solid var(--em-rule); }
.em-nav .em-search-panel .em-searchform { max-width: 640px; margin: 0 auto; }

.em-subnav { background: #f3f3f3; border-bottom: 1px solid #e3e3e3; }
.em-pills { list-style: none; margin: 0; padding: 10px 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; }
.em-pills a {
	display: inline-block; padding: 4px 22px; border-radius: 99px; background: #e2e2e2; color: #1c1c1c;
	font-size: 14.5px; font-weight: 600; line-height: 1.7; white-space: nowrap; transition: background .15s, color .15s;
}
.em-pills a:hover, .em-pills .current-menu-item > a { background: var(--em-nav); color: #fff; }

/* ---------- Drawer (mobile) ---------- */
.em-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.5); }
.em-drawer[hidden] { display: none; }
.em-drawer-in { background: #fff; width: min(360px, 88vw); height: 100%; overflow-y: auto; padding: 56px 18px 30px; position: relative; }
.em-drawer-close { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 32px; line-height: 1; }
.em-drawer-menu { list-style: none; margin: 16px 0; padding: 0; }
.em-drawer-menu li a { display: block; padding: 10px 2px; font-weight: 700; border-bottom: 1px solid var(--em-rule); }
.em-drawer-menu .sub-menu { list-style: none; padding-left: 14px; }
.em-drawer-menu .sub-menu a { font-weight: 500; font-size: 14px; }
.em-drawer-live { display: grid; gap: 16px; }
.em-drawer .em-wx--sidebar { margin: 0; }

/* ---------- Breaking ticker ---------- */
.em-ticker { border-bottom: 1px solid var(--em-rule); background: #fff; }
.em-ticker-in { display: flex; align-items: center; gap: 0; height: 42px; }
.em-ticker-label {
	flex: none; background: var(--em-accent); color: #fff; font-weight: 700; font-size: 13.5px;
	padding: 0 14px; height: 30px; display: inline-flex; align-items: center; border-radius: 3px; position: relative;
}
.em-ticker-label::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 8px;
	animation: em-pulse 1.4s infinite;
}
@keyframes em-pulse { 50% { opacity: .2; } }
.em-ticker-track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); }
.em-ticker-move { display: inline-flex; white-space: nowrap; animation: em-marquee 90s linear infinite; }
.em-ticker-track:hover .em-ticker-move { animation-play-state: paused; }
.em-ticker-move a { font-size: 14px; font-weight: 600; padding: 0 22px; position: relative; }
.em-ticker-move a::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; background: var(--em-accent); transform: translateY(-50%) rotate(45deg); }
@keyframes em-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .em-ticker-move { animation: none; } .em-ticker-track { overflow-x: auto; } }

/* ---------- Ads ---------- */
.em-ad { text-align: center; margin: 22px auto; }
.em-ad .widget { margin: 0; }
.em-ad img { margin: 0 auto; }
.em-ad .widget-title { display: none; }

/* ---------- Ad slots & side rails ---------- */
.em-topad { background: #f7f7f7; border-bottom: 1px solid #ececec; padding: 10px 0; }
.em-topad .em-wrap { display: flex; justify-content: center; }
.em-adslot { position: relative; display: block; text-align: center; line-height: 0; }
.em-adslot img { margin: 0 auto; max-width: 100%; height: auto; }
.em-adslot .widget { margin: 0; }
.em-adslot-label { position: absolute; top: 0; right: 0; z-index: 1; font-size: 9.5px; line-height: 1.5; padding: 0 5px; background: rgba(255,255,255,.85); color: #777; letter-spacing: .03em; }
.em-adslot--top { max-width: 970px; width: 100%; }
.em-adslot--ph {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; line-height: 1.4;
	border: 2px dashed #b8c7d6; background: repeating-linear-gradient(45deg, #f6f9fc, #f6f9fc 10px, #eef3f8 10px, #eef3f8 20px);
	color: #4a6582; font-size: 13px; text-align: center; padding: 10px;
}
.em-adslot--ph strong { font-size: 15px; }
.em-adslot--ph small { font-size: 11px; opacity: .8; }
.em-adslot--ph:hover { border-color: var(--em-nav); color: var(--em-nav); }
.em-adslot--top.em-adslot--ph { height: 90px; max-width: 728px; }
.em-rail .em-adslot--ph { height: 300px; }

.em-body { position: relative; }
.em-rail { display: none; }
.em-body.has-rails .em-rail { display: block; }
.em-rail-in { display: grid; gap: 16px; }
@media (min-width: 1280px) {
	.em-body.has-rails { display: grid; grid-template-columns: 120px minmax(0, 1fr) 120px; gap: 0 18px; max-width: 1560px; margin: 0 auto; padding: 0 14px; }
	.em-body.has-rails > .em-main { min-width: 0; }
	.em-body.has-rails .em-wrap { padding-left: 0; padding-right: 0; }
	.em-rail-in { position: sticky; top: 64px; padding-top: 26px; }
	.admin-bar .em-rail-in { top: 96px; }
}
@media (min-width: 1600px) {
	.em-body.has-rails { grid-template-columns: 160px minmax(0, 1240px) 160px; gap: 0 24px; max-width: 1680px; justify-content: center; }
}
@media (max-width: 1279px) {
	.em-body.has-rails .em-rail { padding: 14px 20px 0; }
	.em-body.has-rails .em-rail--right { padding: 0 20px 14px; }
	.em-body.has-rails .em-rail-in { grid-template-columns: 1fr 1fr; max-width: 680px; margin: 0 auto; }
	.em-rail .em-adslot--ph { height: 120px; }
}

/* ---------- Main / cards ---------- */
.em-main { padding-bottom: 40px; }
.em-main:has(> .em-epaper:last-child), .em-main:has(> .em-notices:last-child) { padding-bottom: 0; }

.em-cat {
	display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--em-accent);
	margin-bottom: 4px; line-height: 1.4;
}
.em-cat:hover { color: var(--em-ink); }
.em-date { font-size: 12px; color: var(--em-muted); font-weight: 500; }

.em-media { display: block; position: relative; overflow: hidden; background: #eceae4; border-radius: 2px; }
.em-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.em-card:hover .em-media img { transform: scale(1.035); }
.em-media-ph { display: grid; place-items: center; width: 100%; height: 100%; background: #f1efe9; }
.em-media-ph img { width: 62%; height: auto; object-fit: contain; opacity: .35; filter: grayscale(1); transform: none !important; }
.em-play {
	position: absolute; left: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%;
	background: rgba(0,0,0,.65); border: 2px solid #fff;
}
.em-play::after { content: ""; position: absolute; left: 14px; top: 10px; border: 7px solid transparent; border-left: 11px solid #fff; border-right: 0; }

.em-card-title { font-size: 17px; line-height: 1.5; margin: 0 0 6px; font-weight: 700; }
.em-card-title a:hover { color: var(--em-brand); }
.em-card-excerpt { color: var(--em-ink-2); font-size: 15px; margin: 0 0 8px; }

/* card */
.em-card--card .em-media { aspect-ratio: 16 / 10; margin-bottom: 10px; }

/* lead */
.em-card--lead .em-media { aspect-ratio: 16 / 9; margin-bottom: 14px; }
.em-card--lead .em-card-body { text-align: center; padding: 0 12px; }
.em-card--lead .em-card-title { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.45; font-weight: 800; }

/* side (title + small thumb on right) */
.em-card--side { display: grid; grid-template-columns: 1fr 92px; gap: 12px; align-items: start; padding: 12px 0; border-top: 1px solid var(--em-rule); }
.em-card--side .em-media { order: 2; aspect-ratio: 4 / 3; }
.em-card--side .em-card-title { font-size: 15px; line-height: 1.5; }

/* row (list item, thumb left) */
.em-card--row { display: grid; grid-template-columns: 210px 1fr; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--em-rule); }
.em-card--row .em-media { aspect-ratio: 16 / 10; }
.em-card--row .em-card-title { font-size: 18px; }

/* overlay */
.em-card--overlay { position: relative; }
.em-card--overlay .em-media { aspect-ratio: 16 / 10; }
.em-card--overlay .em-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.82)); }
.em-card--overlay .em-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; color: #fff; pointer-events: none; }
.em-card--overlay .em-card-body a { pointer-events: auto; }
.em-card--overlay .em-cat { background: var(--em-accent); color: #fff; padding: 1px 8px; border-radius: 2px; }
.em-card--overlay .em-card-title { font-size: clamp(19px, 2vw, 26px); color: #fff; }
.em-card--overlay .em-card-title a:hover { color: #fff; text-decoration: underline; }
.em-card--overlay .em-date { color: rgba(255,255,255,.8); }
.em-card--overlay .em-play { left: auto; right: 16px; top: 16px; bottom: auto; z-index: 2; }

/* ---------- Hero ---------- */
.em-hero {
	display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 0; margin-top: 26px; margin-bottom: 30px;
}
.em-hero > div { padding: 0 22px; }
.em-hero > div:first-child { padding-left: 0; border-right: 1px solid var(--em-rule); }
.em-hero > div:last-child { padding-right: 0; border-left: 1px solid var(--em-rule); }
.em-hero-left .em-card + .em-card { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--em-rule); }
.em-hero-right .em-card--side:first-child { border-top: 0; padding-top: 0; }
.em-top-headlines { margin-top: 22px; border-top: 3px double var(--em-ink); padding-top: 10px; }
.em-mini-title { font-size: 17px; text-align: center; margin: 0 0 4px; }
.em-top-headlines .em-card--side:first-of-type { border-top: 0; }

/* ---------- Section heads ---------- */
.em-sec-head { position: relative; display: flex; align-items: center; justify-content: center; margin: 0 0 18px; }
.em-sec-head::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--em-ink); }
.em-sec-title { position: relative; background: var(--em-paper); padding: 0 18px; margin: 0; font-size: 22px; font-weight: 800; }
.em-sec-title a:hover { color: var(--em-accent); }
.em-sec-more { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: var(--em-paper); padding-left: 12px; font-size: 13px; font-weight: 700; color: var(--em-accent); }

/* ---------- Grids & blocks ---------- */
.em-grid { display: grid; gap: 26px; }
.em-grid--4 { grid-template-columns: repeat(4, 1fr); }
.em-grid--3 { grid-template-columns: repeat(3, 1fr); }
.em-block { margin-top: 38px; margin-bottom: 38px; }

.em-feature { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; }
.em-feature-list .em-card--row { grid-template-columns: 150px 1fr; padding: 12px 0; }
.em-feature-list .em-card--row:first-child { padding-top: 0; }
.em-feature-list .em-card--row:last-child { border-bottom: 0; }
.em-feature-list .em-card-title { font-size: 16px; }

/* In Focus band */
.em-focus { background: var(--em-band); padding: 30px 0 34px; margin: 34px 0; }
.em-focus-head { text-align: center; margin-bottom: 20px; }
.em-focus-head span { display: block; font-size: 12.5px; font-weight: 700; color: var(--em-accent); }
.em-focus-head h2 { font-size: 26px; margin: 0; }
.em-focus .em-card-title { font-size: 16px; }

/* Videos */
.em-videos { background: #111; color: #fff; padding: 34px 0 40px; margin: 38px 0; }
.em-videos .em-sec-head::before { border-color: #444; }
.em-videos .em-sec-title, .em-videos .em-sec-more { background: #111; color: #fff; }
.em-videos .em-sec-more { color: #ff6b6b; }
.em-video-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.em-video-grid > .em-card--overlay { grid-row: span 2; }
.em-video-grid > .em-card--overlay .em-media { aspect-ratio: auto; height: 100%; min-height: 320px; }
.em-videos .em-card-title a:hover { color: #ff9b9b; }
.em-videos .em-card--card .em-cat { color: #ff6b6b; }
.em-videos .em-date { color: #aaa; }
.em-videos .em-media { background: #222; }
.em-videos .em-media-ph { background: #1c1c1c; }

/* ---------- Layout with sidebar ---------- */
.em-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; margin-top: 30px; }
.em-latest { margin-top: 40px; }
.em-sidebar { min-width: 0; }
.em-sidebar .widget { margin-bottom: 30px; }
.widget-title { font-size: 17px; font-weight: 800; border-top: 3px solid var(--em-ink); padding-top: 8px; margin-bottom: 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li { padding: 7px 0; border-bottom: 1px solid var(--em-rule); font-size: 15px; }

/* block-editor widgets */
.em-sidebar .widget h2, .em-sidebar .wp-block-heading { font-size: 17px; font-weight: 800; border-top: 3px solid var(--em-ink); padding-top: 8px; margin: 0 0 12px; }
.widget .wp-block-search__label { font-weight: 700; display: block; margin-bottom: 6px; }
.widget .wp-block-search__inside-wrapper { display: flex; }
.widget .wp-block-search__input { flex: 1; min-width: 0; border: 1px solid #ccc; border-right: 0; padding: 9px 12px; font-family: inherit; font-size: 15px; border-radius: 3px 0 0 3px; }
.widget .wp-block-search__button { margin: 0; border: 0; background: var(--em-accent); color: #fff; font-weight: 700; padding: 0 16px; border-radius: 0 3px 3px 0; font-family: inherit; }
.widget .wp-block-latest-posts li, .widget .wp-block-categories li, .widget .wp-block-archives li { padding: 7px 0; border-bottom: 1px solid var(--em-rule); font-size: 15px; font-weight: 600; }
.widget .wp-block-latest-comments { padding: 0; }

.em-popular { margin-bottom: 30px; }
.em-popular ol { list-style: none; margin: 0; padding: 0; counter-reset: empop; }
.em-popular li { counter-increment: empop; position: relative; padding-left: 36px; }
.em-popular li::before {
	content: counter(empop); position: absolute; left: 0; top: 10px; font-size: 26px; font-weight: 800;
	color: var(--em-accent); font-family: var(--em-font); line-height: 1;
}
.em-popular li:first-child .em-card--side { border-top: 0; }

.em-btn {
	display: inline-block; margin-top: 22px; background: var(--em-ink); color: #fff; font-weight: 700;
	padding: 10px 22px; border-radius: 3px; font-size: 14px;
}
.em-btn:hover { background: var(--em-accent); color: #fff; }

/* ---------- Archive ---------- */
.em-archive-head { border-bottom: 3px double var(--em-ink); padding-bottom: 12px; margin-bottom: 22px; }
.em-archive-kicker { font-size: 13px; font-weight: 700; color: var(--em-accent); }
.em-archive-title { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.em-archive-desc { color: var(--em-muted); }
.em-archive-lead { margin-bottom: 26px; }
.em-archive-lead .em-card-body { text-align: left; padding: 0; }
.em-archive-grid { margin-bottom: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--em-rule); }

.pagination { margin-top: 30px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border: 1px solid var(--em-rule); font-weight: 700; border-radius: 3px; }
.page-numbers.current { background: var(--em-ink); color: #fff; border-color: var(--em-ink); }
a.page-numbers:hover { border-color: var(--em-accent); }

.em-empty { padding: 40px 0; text-align: center; }

/* ---------- Single article ---------- */
.em-crumbs { font-size: 13px; color: var(--em-muted); margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.em-crumbs a:hover { color: var(--em-accent); }
.em-article-head { margin-bottom: 20px; }
.em-article-title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.45; font-weight: 800; margin: 2px 0 12px; }
.em-article-dek { font-size: 19px; color: var(--em-ink-2); line-height: 1.65; margin: 0 0 14px; font-weight: 500; }
.em-article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13px; color: var(--em-muted); padding: 10px 0; border-top: 1px solid var(--em-rule); border-bottom: 1px solid var(--em-rule); }
.em-byline { font-weight: 700; color: var(--em-ink); }
.em-article-hero { margin: 0 0 24px; }
.em-article-hero img { width: 100%; }
.em-article-hero figcaption { font-size: 13px; color: var(--em-muted); padding: 8px 0; border-bottom: 1px solid var(--em-rule); }

.em-article-body { font-size: 18.5px; line-height: 1.95; color: #1d1d1d; }
.em-article-body p { margin: 0 0 1.15em; }
.em-article-body h2 { font-size: 25px; margin-top: 1.6em; }
.em-article-body h3 { font-size: 21px; margin-top: 1.4em; }
.em-article-body a { color: var(--em-brand); text-decoration: underline; text-underline-offset: 3px; }
.em-article-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--em-accent); font-size: 21px; font-weight: 600; }
.em-article-body img, .em-article-body figure { margin: 1.4em 0; }
.em-article-body figcaption, .wp-caption-text { font-size: 13px; color: var(--em-muted); }
.em-article-body iframe { max-width: 100%; }
.em-article-body ul, .em-article-body ol { padding-left: 1.4em; }
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }

.em-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; }
.em-share > span { font-weight: 700; margin-right: 4px; }
.em-share a, .em-share button {
	border: 0; border-radius: 3px; color: #fff; font-weight: 700; font-size: 12.5px; padding: 5px 12px; line-height: 1.6;
	font-family: var(--em-font);
}
.em-share-facebook { background: #1877f2; }
.em-share-whatsapp { background: #128c4b; }
.em-share-x { background: #000; }
.em-share-telegram { background: #229ed9; }
.em-share button { background: #555; }
.em-share a:hover { color: #fff; opacity: .88; }

.em-article-foot { margin: 28px 0; padding-top: 18px; border-top: 1px solid var(--em-rule); }
.em-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.em-tags a { background: #f1f1f1; padding: 3px 12px; border-radius: 99px; font-size: 13px; font-weight: 600; }
.em-tags a:hover { background: var(--em-accent); color: #fff; }

.em-related { margin: 36px 0; }
.em-related .em-card-title { font-size: 16px; }
.em-page-links { margin: 20px 0; font-weight: 700; }

/* comments */
.em-comments { margin-top: 30px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 14px 0; border-bottom: 1px solid var(--em-rule); }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-author img { float: left; border-radius: 50%; margin-right: 10px; }
.comment-meta { font-size: 13px; color: var(--em-muted); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; border: 1px solid #ccc; border-radius: 3px; padding: 10px; font-family: inherit; font-size: 15px;
}
.comment-form .submit { background: var(--em-ink); color: #fff; border: 0; padding: 10px 24px; font-weight: 700; border-radius: 3px; font-family: inherit; }
.comment-form .submit:hover { background: var(--em-accent); }

/* search form */
.em-searchform { display: flex; gap: 0; }
.em-searchform input[type="search"] {
	flex: 1; min-width: 0; border: 1px solid #ccc; border-right: 0; padding: 10px 14px; font-size: 15px;
	font-family: inherit; border-radius: 3px 0 0 3px; background: #fff; color: var(--em-ink);
}
.em-searchform button { border: 0; background: var(--em-accent); color: #fff; font-weight: 700; padding: 0 20px; border-radius: 0 3px 3px 0; }

/* 404 */
.em-404 { text-align: center; padding: 60px 20px; max-width: 640px; }
.em-404-code { font-size: 100px; font-weight: 800; color: var(--em-accent); line-height: 1; margin: 0; font-family: var(--em-font); }
.em-404 .em-searchform { margin: 24px 0 8px; }

/* ---------- Footer ---------- */
.em-footer { background: #0a2540; color: #c6d2df; padding: 48px 0 0; margin-top: 0; font-size: 14.5px; border-top: 4px solid var(--em-nav); }
.em-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.15fr; gap: 36px; padding-bottom: 34px; }
.em-footer .custom-logo-link { display: inline-block; background: #fff; padding: 10px 14px; border-radius: 4px; margin-bottom: 14px; }
.em-footer .custom-logo { max-width: 260px; }
.em-footer-brand p { line-height: 1.85; margin: 0 0 18px; }
.em-footer h4 { color: #fff; font-size: 16px; border-bottom: 2px solid var(--em-accent); display: inline-block; padding-bottom: 4px; margin-bottom: 14px; }
.em-footer ul { list-style: none; margin: 0; padding: 0; }
.em-footer li { padding: 4px 0; break-inside: avoid; }
.em-footer-col li a { display: inline-block; position: relative; padding-left: 14px; }
.em-footer-col li a::before { content: "›"; position: absolute; left: 0; color: var(--em-accent); font-weight: 700; }
.em-footer a:hover { color: #fff; }
.em-footer-contact li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.em-footer-contact li svg { flex: none; margin-top: 5px; color: #8fb8e0; }
.em-footer-contact li a { padding-left: 0; word-break: break-all; }
.em-footer-contact li a::before { content: none; }
.em-footer-btn { display: inline-block; margin-top: 14px; background: var(--em-nav); color: #fff; font-weight: 700; padding: 7px 18px; border-radius: 3px; }
.em-footer-btn:hover { background: var(--em-accent); }
.em-social--footer a { background: rgba(255,255,255,.1); color: #fff; width: 36px; height: 36px; }
.em-social--footer a:hover { background: var(--em-accent); color: #fff; }
.em-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 22px; font-size: 12.5px; color: #93a5b8; line-height: 1.75; }
.em-footer-bottom p { margin: 0 0 6px; }
.em-footer-bottom a { color: #c6d2df; text-decoration: underline; }

.em-totop {
	position: fixed; right: 18px; bottom: 18px; width: 42px; height: 42px; border-radius: 50%; border: 0;
	background: var(--em-accent); color: #fff; font-size: 20px; font-weight: 700; z-index: 90;
	opacity: 0; visibility: hidden; transition: .2s; box-shadow: 0 4px 14px rgba(0,0,0,.2);
}
.em-totop.is-visible { opacity: 1; visibility: visible; }

/* ---------- Notices: obituaries, classifieds, notices ---------- */
.em-notices { background: #f4f6f9; border-top: 1px solid #e3e8ee; padding: 34px 0; margin-top: 40px; }
.em-notices-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.em-nbox { background: #fff; border: 1px solid #e1e6ec; border-radius: 4px; display: flex; flex-direction: column; overflow: hidden; }
.em-nbox-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: var(--em-nav); color: #fff; }
.em-nbox-head h2 { margin: 0; font-size: 18px; color: #fff; }
.em-nbox-head a { color: #fff; }
.em-nbox-more { font-size: 13px; font-weight: 700; opacity: .9; }
.em-nbox--marana-arivithal .em-nbox-head { background: #1d1d1d; }
.em-nbox--siru-vilambarangal .em-nbox-head { background: var(--em-accent); }
.em-nlist { list-style: none; margin: 0; padding: 4px 16px; flex: 1; }
.em-nlist > li { padding: 12px 0; border-bottom: 1px solid #edf0f3; }
.em-nlist > li:last-child { border-bottom: 0; }
.em-nlist h3 { font-size: 15.5px; line-height: 1.5; margin: 0 0 2px; }
.em-nlist p { margin: 0; font-size: 13.5px; color: var(--em-muted); line-height: 1.55; }
.em-ob { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.em-ob-photo { display: block; width: 64px; height: 80px; overflow: hidden; border-radius: 3px; background: #eee; border: 1px solid #ddd; }
.em-ob-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.em-ob-ph { display: grid; place-items: center; height: 100%; font-size: 26px; }
.em-ob-place { font-weight: 600; color: var(--em-ink-2) !important; }
.em-cl-type { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--em-accent); background: #fdecec; padding: 0 8px; border-radius: 2px; margin-bottom: 3px; }
.em-cl-phone { display: inline-block; margin-top: 3px; font-size: 13.5px; font-weight: 700; color: var(--em-nav); }
.em-nt { display: grid; grid-template-columns: 50px 1fr; gap: 12px; align-items: start; }
.em-nt time { text-align: center; border: 1px solid #d7e2ee; border-radius: 4px; font-size: 11.5px; line-height: 1.25; color: var(--em-nav); padding: 4px 0; font-weight: 600; }
.em-nt time b { display: block; font-size: 20px; font-weight: 800; }
.em-nbox-empty { flex: 1; padding: 26px 16px; text-align: center; color: var(--em-muted); font-size: 14px; }
.em-nbox-empty p { margin: 0 0 10px; }
.em-nbox-cta { margin: 0; padding: 9px 16px; background: #f8fafc; border-top: 1px solid #edf0f3; font-size: 13px; font-weight: 600; color: var(--em-ink-2); text-align: center; }
.em-btn--sm { margin-top: 0; padding: 6px 14px; font-size: 13px; }
.em-notice-facts { list-style: none; margin: 0 0 1.4em; padding: 14px 18px; background: #f4f6f9; border-left: 4px solid var(--em-nav); font-size: 16px; }
.em-notice-facts li { display: flex; gap: 12px; padding: 3px 0; }
.em-notice-facts span { min-width: 110px; color: var(--em-muted); }

/* ---------- E-Paper ---------- */
.em-epaper { background: linear-gradient(180deg, #0b3a66 0%, #0a2540 100%); color: #fff; padding: 36px 0 42px; }
.em-epaper-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 12px; }
.em-epaper-kicker { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #8fc3f2; font-weight: 700; }
.em-epaper-head h2 { margin: 0; font-size: 28px; color: #fff; }
.em-epaper-all { font-weight: 700; color: #fff; background: rgba(255,255,255,.12); padding: 6px 16px; border-radius: 99px; font-size: 14px; }
.em-epaper-all:hover { background: #fff; color: var(--em-nav); }
.em-epaper-grid { display: grid; grid-template-columns: 1.35fr repeat(5, minmax(0, 1fr)); gap: 20px; align-items: start; }
.em-ep-cover {
	position: relative; display: block; aspect-ratio: 1 / 1.414; background: #f4f1ea; overflow: hidden;
	border-radius: 2px; box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: transform .2s ease, box-shadow .2s ease;
}
.em-ep-cover:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(0,0,0,.45); }
.em-ep-cover img, .em-ep-cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.em-ep-canvas { z-index: 1; background: #fff; }
.em-ep-canvas:not(.is-ready) { opacity: 0; }
.em-ep-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; font-weight: 800; color: var(--em-accent); letter-spacing: .1em; background: repeating-linear-gradient(0deg, #fff, #fff 14px, #f0f0f0 14px, #f0f0f0 16px); }
.em-ep-badge { position: absolute; z-index: 2; left: 0; top: 12px; background: var(--em-accent); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 10px; }
.em-ep-body { padding-top: 12px; }
.em-ep-body time { font-size: 12.5px; color: #9fc6ea; font-weight: 600; }
.em-ep-body h3 { font-size: 15px; line-height: 1.5; margin: 2px 0 8px; color: #fff; }
.em-ep-body h3 a:hover { color: #cfe6fb; }
.em-ep-btn { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 4px 12px; border-radius: 3px; background: var(--em-accent); color: #fff; margin: 0 4px 4px 0; }
.em-ep-btn:hover { background: #fff; color: var(--em-accent); }
.em-ep-btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,.45); }
.em-ep:not(.em-ep--latest) .em-ep-btn--ghost { display: none; }
.em-ep--latest .em-ep-body h3 { font-size: 18px; }
.em-epaper-empty { color: #cfe0f1; }
.em-ep-viewer { margin: 0 0 16px; border: 1px solid var(--em-rule); }
.em-ep-viewer object { display: block; min-height: 70vh; }
.em-ep-actions .em-ep-btn--ghost { color: var(--em-ink); border-color: #ccc; display: inline-block; }
.em-article-body .em-ep-btn { text-decoration: none; color: #fff; }
.em-article-body .em-ep-btn--ghost { color: var(--em-ink); }


/* ---------- Article: reporter, times, reading time ---------- */
.em-byline-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 12px 0; border-top: 1px solid var(--em-rule); border-bottom: 1px solid var(--em-rule); }
.em-reporter { display: flex; align-items: center; gap: 12px; min-width: 0; }
.em-reporter-photo { flex: none; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: #e9eef4; color: #8a9bb0; display: grid; place-items: center; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--em-rule); }
.em-reporter-photo img { width: 100%; height: 100%; object-fit: cover; }
.em-reporter-text { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.em-reporter .em-byline { font-size: 16px; }
.em-reporter-role { font-size: 13px; color: var(--em-nav); font-weight: 600; }
.em-times { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 13px; color: var(--em-muted); }
.em-times time { color: var(--em-ink-2); font-weight: 600; }
.em-times .em-updated time { color: var(--em-accent); }
.em-readtime { display: inline-flex; align-items: center; gap: 5px; background: #f1f3f5; color: var(--em-ink-2); padding: 2px 10px; border-radius: 99px; font-weight: 600; font-size: 12.5px; }

/* ---------- Article: listen player ---------- */
.em-listen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; padding: 10px 12px; background: #eef5fc; border-left: 4px solid var(--em-nav); border-radius: 0 var(--em-radius) var(--em-radius) 0; }
.em-listen button { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 99px; font-family: var(--em-font); font-weight: 700; cursor: pointer; }
.em-listen-play { background: var(--em-nav); color: #fff; padding: 8px 18px 8px 14px; font-size: 15px; min-height: 44px; }
.em-listen-play:hover { background: var(--em-navy); }
.em-listen-play .em-i-pause, .em-listen.is-playing .em-i-play { display: none; }
.em-listen.is-playing .em-i-pause { display: inline; }
.em-listen-stop { background: #fff; color: var(--em-ink); width: 44px; height: 44px; justify-content: center; box-shadow: inset 0 0 0 1px #c9d6e3; }
.em-listen-stop[hidden] { display: none; }
.em-listen-rate select { min-height: 44px; border: 1px solid #c9d6e3; border-radius: 99px; padding: 0 12px; background: #fff; font-family: inherit; font-size: 14px; }
.em-listen-status { flex: 1 1 200px; font-size: 13px; color: var(--em-ink-2); }
.em-listen.no-voice .em-listen-status { color: var(--em-accent); }
.em-listen.is-playing .em-listen-play { animation: em-pulse 1.6s ease-in-out infinite; }
@keyframes em-pulse { 50% { box-shadow: 0 0 0 6px rgba(11,109,183,.18); } }
.em-speaking { background: #fff3c4; box-shadow: -8px 0 0 #fff3c4, 8px 0 0 #fff3c4; border-radius: 2px; transition: background .2s; }
@media (prefers-reduced-motion: reduce) { .em-listen.is-playing .em-listen-play { animation: none; } }

/* ---------- Article: summary ---------- */
.em-summary { margin: 0 0 26px; padding: 16px 20px 14px; background: var(--em-band); border: 1px solid #e6dfcf; border-top: 3px solid var(--em-accent); border-radius: 0 0 var(--em-radius) var(--em-radius); }
.em-summary-title { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 17px; font-weight: 800; color: var(--em-ink); }
.em-summary-title svg { color: var(--em-accent); }
.em-summary-tag { font-size: 11px; letter-spacing: .08em; font-weight: 700; color: #fff; background: var(--em-ink); padding: 1px 7px; border-radius: 3px; }
.em-summary ul { margin: 0; padding: 0; list-style: none; }
.em-summary li { position: relative; padding: 5px 0 5px 22px; font-size: 16.5px; line-height: 1.75; color: var(--em-ink-2); }
.em-summary li + li { border-top: 1px dashed #e0d7c3; }
.em-summary li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; background: var(--em-accent); border-radius: 50%; }

/* ---------- E-paper: page, list, reader ---------- */
.em-ep-page { padding-top: 26px; padding-bottom: 40px; }
.em-ep-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; border-bottom: 3px double var(--em-ink); padding-bottom: 12px; margin-bottom: 18px; }
.em-ep-page-head .em-archive-title { margin: 2px 0 2px; }
.em-ep-page-head .em-share { margin-top: 0; }
.em-ep-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 26px 20px; }
.em-ep-list .em-ep-cover { box-shadow: 0 2px 10px rgba(0,0,0,.14); border: 1px solid var(--em-rule); }
.em-ep-list .em-ep-body time { color: var(--em-muted); }
.em-ep-list .em-ep-body h3 { color: var(--em-ink); }
.em-ep-list .em-ep-body h3 a:hover { color: var(--em-accent); }
.em-ep-list .em-ep-btn--ghost { color: var(--em-ink); border-color: #ccc; }
.em-ep-list .em-ep-btn:hover { background: var(--em-ink); color: #fff; }
.em-ep-more { margin-top: 40px; }

.em-reader { --em-rbar: 48px; position: relative; display: flex; flex-direction: column; height: min(88vh, 1200px); min-height: 480px; background: #525659; border-radius: var(--em-radius); overflow: hidden; margin-bottom: 18px; }
.em-reader.is-fs, .em-reader.is-full { height: 100vh; border-radius: 0; }
.em-reader.is-full { position: fixed; inset: 0; z-index: 9999; }
.em-reader-bar { flex: none; height: var(--em-rbar); display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 8px; background: #2b2f33; color: #fff; }
.em-rb-group { display: flex; align-items: center; gap: 4px; }
.em-reader-bar button, .em-rb-dl { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border: 0; border-radius: 4px; background: transparent; color: #fff; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; font-family: inherit; }
.em-reader-bar button:hover, .em-rb-dl:hover, .em-reader-bar [aria-pressed="true"] { background: rgba(255,255,255,.14); color: #fff; }
.em-rb-zoom { font-size: 13px !important; min-width: 56px !important; }
.em-rb-page { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #d6dade; }
.em-rb-page input { width: 52px; height: 30px; text-align: center; border: 0; border-radius: 3px; font-size: 14px; font-family: inherit; -moz-appearance: textfield; }
.em-rb-page input::-webkit-inner-spin-button { -webkit-appearance: none; }
.em-reader-body { flex: 1; display: flex; min-height: 0; }
.em-reader-thumbs { display: none; flex: none; width: 150px; overflow-y: auto; padding: 12px; background: #3b3f43; }
.em-reader.show-thumbs .em-reader-thumbs { display: block; }
.em-rt { display: block; width: 100%; margin: 0 0 12px; padding: 4px; border: 2px solid transparent; border-radius: 3px; background: none; cursor: pointer; }
.em-rt.is-current { border-color: #8fc3f2; }
.em-rt-img { display: block; width: 100%; background: #fff; overflow: hidden; }
.em-rt-img canvas { display: block; width: 100%; height: auto; }
.em-rt-n { display: block; color: #d6dade; font-size: 12px; margin-top: 4px; text-align: center; }
.em-reader-pages { flex: 1; overflow: auto; padding: 12px; outline: none; -webkit-overflow-scrolling: touch; }
.em-rp { position: relative; margin: 0 auto 12px; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.em-rp canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.em-rp-n { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 800; color: #e3e3e3; }
.em-reader-loading, .em-reader-error { display: flex; align-items: center; justify-content: center; gap: 12px; height: 100%; color: #fff; font-size: 16px; text-align: center; padding: 20px; }
.em-spin { width: 26px; height: 26px; border: 3px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: em-spin 0.9s linear infinite; }
@keyframes em-spin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
	.em-reader { height: 82vh; margin-left: -14px; margin-right: -14px; border-radius: 0; }
	.em-reader-bar { padding: 0 4px; gap: 2px; }
	.em-reader-bar button, .em-rb-dl { min-width: 34px; padding: 0 4px; }
	.em-rb-zoom { min-width: 46px !important; }
	.em-rb-page input { width: 40px; }
	.em-reader-thumbs { position: absolute; z-index: 3; top: var(--em-rbar); bottom: 0; left: 0; box-shadow: 4px 0 16px rgba(0,0,0,.4); }
	.em-reader-pages { padding: 6px; }
	.em-byline-box { align-items: flex-start; }
	.em-times { font-size: 12.5px; }
	.em-listen-status { flex-basis: 100%; }
	.em-ep-list { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
}

/* ---------- Google Translate clean-up ---------- */
.em-gt-hidden { position: absolute !important; left: -9999px !important; top: -9999px !important; height: 0; overflow: hidden; }
.goog-te-banner-frame, .skiptranslate > iframe, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }
html.translated-ltr body, html.translated-rtl body { top: 0 !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.em-masthead-in { grid-template-columns: 250px 1fr 250px; gap: 16px; }
	.em-menu > li > a { padding: 0 9px; font-size: 14.5px; }
	.em-epaper-grid { grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr)); }
	.em-epaper-grid > .em-ep:nth-child(n+5) { display: none; }
	.em-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
	.em-hero { grid-template-columns: 1fr 1fr; row-gap: 26px; }
	.em-hero > div { padding: 0; border: 0 !important; }
	.em-hero-center { grid-column: 1 / -1; order: -1; }
	.em-hero-left { padding-right: 13px !important; }
	.em-hero-right { padding-left: 13px !important; }
	.em-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.em-layout { grid-template-columns: 1fr; }
	.em-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; align-items: start; }
	.em-video-grid { grid-template-columns: 1fr 1fr; }
	.em-video-grid > .em-card--overlay { grid-column: 1 / -1; grid-row: auto; }
	.em-video-grid > .em-card--overlay .em-media { min-height: 0; aspect-ratio: 16 / 9; }
}

@media (max-width: 1024px) {
	.em-notices-grid { grid-template-columns: 1fr 1fr; }
	.em-notices-grid > .em-nbox:first-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.em-masthead-in { grid-template-columns: 1fr 1fr; grid-template-areas: "brand brand" "fx wx"; }
	.em-brand { grid-area: brand; }
	.em-mast-left { grid-area: fx; }
	.em-mast-right { grid-area: wx; }
	.em-nav-scroll { overflow-x: auto; scrollbar-width: none; }
	.em-nav-scroll::-webkit-scrollbar { display: none; }
	.em-menu { flex-wrap: nowrap; }
	.em-menu > li > a { white-space: nowrap; font-size: 14.5px; padding: 0 11px; }
	.em-menu .sub-menu { display: none; }
	.em-caret { display: none; }
	.em-pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; padding: 9px 2px; }
	.em-pills::-webkit-scrollbar { display: none; }
	.em-pills a { padding: 3px 16px; font-size: 14px; }
	.em-feature { grid-template-columns: 1fr; }
	.em-footer-brand { grid-column: 1 / -1; }
	.em-epaper-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.em-epaper-grid > .em-ep--latest { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 220px) 1fr; gap: 20px; align-items: center; }
	.em-epaper-grid > .em-ep:nth-child(n+5) { display: none; }
}

@media (max-width: 782px) {
	.admin-bar .em-nav { top: 0; }
}

@media (max-width: 480px) {
	.em-today { display: none; }
}

@media (max-width: 640px) {
	.em-wrap { padding: 0 14px; }
	.em-today { font-size: 12px; }
	.em-topbar-right { gap: 6px; }
	.em-social--top { display: none; }
	.em-lang { padding-left: 4px; }
	.em-lang svg { display: none; }
	.em-lang button { padding: 3px 8px; font-size: 12px; }
	.em-masthead-in { grid-template-columns: 1fr; grid-template-areas: "brand" "wx" "fx"; gap: 12px; padding-top: 12px; padding-bottom: 14px; }
	.em-mast-left .em-fx-list { display: grid; grid-template-columns: 1fr 1fr; }
	.em-mast-left .em-fx-list li { grid-template-columns: 1fr auto; gap: 6px; border-top: 0 !important; padding: 3px 10px; }
	.em-mast-left .em-fx-list li .em-fx-chg { display: none; }
	.em-mast-left .em-fx-list li:nth-child(n+7) { display: none; }
	.em-mast-left .em-box-foot { display: none; }
	.em-wx--header .em-wx-main { grid-template-columns: auto auto 1fr; }
	.em-wx--header .em-wx-meta { grid-column: auto; flex-direction: column; gap: 0; margin: 0; text-align: right; }
	.em-wx--header .em-wx-cities { display: none; }
	.em-ticker-label { font-size: 12px; padding: 0 9px; }
	.em-hero { grid-template-columns: 1fr; }
	.em-hero-left, .em-hero-right { padding: 0 !important; }
	.em-hero-left { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
	.em-hero-left .em-card + .em-card { margin: 0; padding: 0; border: 0; }
	.em-hero-left .em-card-title { font-size: 15px; }
	.em-card--lead .em-card-body { text-align: left; padding: 0; }
	.em-grid--4, .em-grid--3 { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
	.em-grid .em-card-title { font-size: 15px; }
	.em-card--row { grid-template-columns: 112px 1fr; gap: 12px; padding: 12px 0; }
	.em-card--row .em-card-title { font-size: 15.5px; }
	.em-card--row .em-cat { font-size: 11.5px; margin-bottom: 0; }
	.em-feature-list .em-card--row { grid-template-columns: 112px 1fr; }
	.em-sec-title { font-size: 19px; padding: 0 12px; }
	.em-sec-more { font-size: 12px; }
	.em-sidebar { grid-template-columns: 1fr; }
	.em-video-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.em-article-body { font-size: 17px; line-height: 1.9; }
	.em-footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.em-notices-grid { grid-template-columns: 1fr; }
	.em-epaper-head h2 { font-size: 23px; }
	.em-epaper-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
	.em-epaper-grid > .em-ep--latest { grid-template-columns: 130px 1fr; gap: 14px; }
	.em-epaper-grid > .em-ep:nth-child(n+4) { display: none; }
	.em-nav-tools { padding-right: 4px; }
	.em-nav .em-burger, .em-nav .em-search-toggle { width: 36px; }
	.em-nav-home { width: 40px; }
	.em-tagline { font-size: 13px; }
	.em-topad { padding: 8px 0; }
}

/* ==========================================================================
   EELAMURASU LAYER — Hindu-Tamil style front page, Anek Tamil 600
   ========================================================================== */
:root {
	--em-navy: #0b2447;
	--em-navy-2: #19376d;
	--em-sky: #bfe8f6;
	--em-cinema: #b5174b;
	--em-maroon: #7a0f1e;
	--em-cream: #f8efe1;
}
body { font-weight: 500; font-size: 16.5px; line-height: 1.75; }
h1, h2, h3, h4, .em-card-title, .em-sec-title, .widget-title,
.em-menu > li > a, .em-pills a, .em-drawer-menu li a, .em-article-title { font-weight: 600; }
.em-card--lead .em-card-title { font-weight: 600; }
.em-wrap { max-width: 1240px; }

/* ---------- Top bar (white, Hindu-Tamil style) ---------- */
.em-topbar { background: #fff; color: #333; border-bottom: 1px solid #ececec; }
.em-topbar-in { min-height: 38px; }
.em-today { color: #555; font-weight: 600; }
.em-social--top a { width: 26px; height: 26px; border-radius: 4px; color: #fff; background: var(--em-navy); }
.em-social--top a:nth-child(1) { background: #1877f2; }
.em-social--top a[aria-label="YouTube"] { background: #ff0000; }
.em-social--top a[aria-label="X"] { background: #111; }
.em-social--top a[aria-label="Instagram"] { background: #d62976; }
.em-social--top a[aria-label="WhatsApp"] { background: #25d366; }
.em-social--top a[aria-label="Telegram"] { background: #229ed9; }
.em-social--top a:hover { opacity: .85; color: #fff; }
.em-social--top svg { width: 14px; height: 14px; }
.em-toplinks { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; font-size: 13.5px; font-weight: 600; }
.em-toplinks a:hover { color: var(--em-accent); }
.em-lang { background: #f1f3f6; color: #666; }
.em-lang button { color: #333; font-weight: 600; }
.em-lang button:hover { background: #e2e6ec; color: #000; }

/* ---------- Masthead ---------- */
.em-masthead { border-bottom: 0; }
.em-masthead-in { grid-template-columns: 250px 1fr 250px; padding-top: 14px; padding-bottom: 14px; gap: 20px; }
.em-brand .custom-logo { max-width: 440px; max-height: 120px; width: auto; }
.em-tagline { color: var(--em-navy); font-weight: 600; font-size: 14px; }
.em-mast-right { display: grid; gap: 8px; }
.em-mast-btns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.em-hbtn {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 4px;
	font-size: 13px; font-weight: 600; color: #fff; background: var(--em-navy); line-height: 1.6; white-space: nowrap;
}
.em-hbtn:hover { color: #fff; filter: brightness(1.12); }
.em-hbtn--epaper { background: var(--em-accent); }
.em-hbtn--yt { background: #111; }
.em-hbtn--obit { background: #3b3b3b; }
.em-mast-right .em-fx-list li:nth-child(n+5) { display: none; }
.em-mast-right .em-box-foot { display: none; }
.em-wx--header .em-wx-cities li:nth-child(n+3) { display: none; }
.em-wx--header .em-wx-main { padding: 8px 12px 6px; }
.em-wx--header .em-wx-icon { font-size: 32px; }
.em-wx--header .em-wx-temp { font-size: 26px; }
.em-wx { background: linear-gradient(160deg, #19376d 0%, var(--em-navy) 100%); }
.em-fx .em-box-head { background: var(--em-navy); }

/* ---------- Navy menu ---------- */
.em-nav { background: var(--em-nav); }
.em-nav-in { min-height: 48px; }
.em-nav-home { background: var(--em-accent); }
.em-nav-home:hover, .em-nav-home.is-current { background: #a00d25; }
.em-nav-scroll { overflow-x: auto; scrollbar-width: none; }
.em-nav-scroll::-webkit-scrollbar { display: none; }
.em-menu { flex-wrap: nowrap; }
.em-menu > li + li::before { display: none; }
.em-menu > li > a { font-size: 14.5px; padding: 0 11px; min-height: 48px; }
.em-menu > li > a:hover,
.em-menu > li.current-menu-item > a,
.em-menu > li.current-category-ancestor > a { background: rgba(255,255,255,.12); }
.em-menu > li.current-menu-item > a { box-shadow: inset 0 -3px 0 var(--em-accent); }
.em-menu > li:last-child > a { background: transparent; }
.em-menu > li.em-menu-hl > a { background: var(--em-accent); }
.em-nav .em-search-toggle { flex: none; margin-left: 4px; display: inline-flex; align-items: center; justify-content: center; width: 44px; background: none; border: 0; color: #fff; }
.em-nav .em-search-toggle:hover { background: rgba(255,255,255,.12); }
.em-menu .sub-menu { border-top-color: var(--em-accent); }
/* dropdowns escape the horizontal scroller on desktop */
@media (min-width: 1025px) {
	.em-nav-scroll { overflow: visible; }
	.em-menu { flex-wrap: wrap; }
}
.em-sub-ic { font-family: "Noto Sans Symbols", "Segoe UI Symbol", sans-serif; color: var(--em-maroon); display: inline-block; width: 1.3em; }

/* ticker */
.em-ticker-label { background: var(--em-accent) !important; }

/* ---------- Section head (red bar + title) ---------- */
.em-bhead { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--em-rule); }
.em-bhead-title { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; position: relative; padding-left: 13px; }
.em-bhead-title::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; border-radius: 2px; background: var(--em-accent); }
.em-bhead-title a:hover { color: var(--em-accent); }
.em-bhead--light { border-bottom-color: rgba(255,255,255,.3); }
.em-bhead--light .em-bhead-title, .em-bhead--light .em-bhead-title a { color: #fff; }
.em-bhead--light .em-bhead-title::before { background: #fff; }
.em-bhead--flag .em-bhead-title::after { content: "🍁"; margin-left: 8px; font-size: .9em; }

.em-more-wrap { text-align: center; margin-top: 18px; }
.em-more {
	display: inline-block; padding: 3px 18px; border: 1px solid #c9ced6; border-radius: 4px; background: #fff;
	font-size: 13px; font-weight: 600; color: var(--em-navy); line-height: 1.8;
}
.em-more:hover { background: var(--em-navy); color: #fff; border-color: var(--em-navy); }
.em-more--light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.em-more--light:hover { background: #fff; color: var(--em-navy); }

.em-blk { margin-top: 34px; margin-bottom: 34px; }
.em-grid--6 { grid-template-columns: repeat(6, 1fr); gap: 18px; }

/* ---------- Cards ---------- */
.em-card-title { font-size: 16.5px; line-height: 1.55; }
.em-cat { font-weight: 600; }
.em-card--card .em-media { border-radius: 4px; }
.em-card--side { grid-template-columns: 1fr 96px; }
.em-card--side .em-media { border-radius: 4px; }
.em-card--lead .em-card-body { text-align: left; padding: 0; }
.em-card--lead .em-card-title { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.45; }
.em-card--lead .em-media { border-radius: 4px; }
.em-card--wide { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: center; }
.em-card--wide .em-media { aspect-ratio: 16 / 9; border-radius: 4px; }
.em-card--wide .em-card-title { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.5; }
.em-card--mini-card .em-media { aspect-ratio: 16 / 10; margin-bottom: 8px; border-radius: 4px; }
.em-card--mini-card .em-card-title { font-size: 14.5px; line-height: 1.55; }
.em-card--mini-card .em-card-meta { display: none; }

/* ---------- Hero ---------- */
.em-hero2 { display: grid; grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 26px; margin-top: 24px; }
.em-hero2-left .em-card + .em-card { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--em-rule); }
.em-hero2-left .em-card-title { font-size: 15.5px; }
.em-hero2-left .em-card--card .em-media { margin-bottom: 8px; }
.em-hero2-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 10px; }
.em-hero2-sub .em-card--side:first-child, .em-hero2-sub .em-card--side:nth-child(2) { border-top: 1px solid var(--em-rule); }
.em-hero2-right { display: grid; gap: 18px; align-content: start; }

/* ---------- E-paper sidebar viewer ---------- */
.em-epbox { border: 1px solid #d7dce4; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(11,36,71,.06); }
.em-epbox-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--em-navy); color: #fff; font-size: 14px; font-weight: 600; }
.em-epbox-head span { display: inline-flex; align-items: center; gap: 7px; }
.em-epbox-head em { font-style: normal; font-size: 11px; background: var(--em-accent); padding: 1px 7px; border-radius: 3px; }
.em-epbox-cover { position: relative; display: block; margin: 12px 12px 0; aspect-ratio: 3 / 4; background: #eef1f5; border: 1px solid #e3e6eb; overflow: hidden; }
.em-epbox-cover img, .em-epbox-cover canvas { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.em-epbox-cover .em-ep-fallback { position: absolute; inset: 0; display: grid; place-items: center; font-size: 28px; font-weight: 700; color: #9aa4b2; }
.em-epbox-cover canvas.is-ready + .em-ep-fallback { display: none; }
.em-epbox-read { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); background: var(--em-accent); color: #fff; padding: 4px 18px; border-radius: 99px; font-size: 13.5px; font-weight: 600; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.em-epbox-cover:hover .em-epbox-read { background: var(--em-navy); color: #fff; }
.em-epbox-meta { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; font-size: 13px; font-weight: 600; color: #444; }
.em-epbox-meta a { color: var(--em-accent); }
.em-epbox-prev { list-style: none; margin: 0; padding: 0 12px 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.em-epbox-prev a { display: block; font-size: 11px; text-align: center; color: #555; line-height: 1.4; }
.em-epbox-prev img, .em-epbox-prev canvas { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border: 1px solid #e3e6eb; margin-bottom: 3px; background: #eef1f5; }
.em-epbox-prev .em-ep-fallback { display: grid; place-items: center; aspect-ratio: 3/4; background: #eef1f5; font-size: 12px; color: #9aa4b2; }
.em-epbox-prev canvas.is-ready + .em-ep-fallback { display: none; }
.em-epbox-all { display: block; text-align: center; padding: 8px; border-top: 1px solid #e8ebef; font-size: 13.5px; font-weight: 600; color: var(--em-navy); background: #f7f9fc; }
.em-epbox-all:hover { background: var(--em-navy); color: #fff; }
.em-sidebar .em-epbox { margin-bottom: 28px; }
.em-adslot--hero.em-adslot--ph { height: 250px; }
.em-midad { display: flex; justify-content: center; margin: 26px auto; }
.em-adslot--mid.em-adslot--ph { height: 90px; max-width: 728px; width: 100%; }

/* ---------- Bands ---------- */
.em-band { padding: 30px 0 32px; margin: 34px 0; }
.em-band--sky { background: var(--em-sky); }
.em-band--sky .em-bhead { border-bottom-color: rgba(11,36,71,.15); }
.em-band-split { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 26px; }
.em-band-list .em-card--side:first-child { border-top: 0; padding-top: 0; }
.em-band--sky .em-card--side { border-top-color: rgba(11,36,71,.14); }
.em-band--sky .em-card-title a:hover { color: var(--em-accent); }

.em-band--cinema { background: var(--em-cinema); color: #fff; }
.em-band--cinema .em-card-title a, .em-band--cinema .em-cat { color: #fff; }
.em-band--cinema .em-card-title a:hover { text-decoration: underline; }
.em-band--cinema .em-date, .em-band--cinema .em-card-excerpt { color: rgba(255,255,255,.82); }
.em-band--cinema .em-media { background: rgba(0,0,0,.15); }
.em-cinema-row { margin-top: 24px; }
.em-band--cinema .em-more { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.em-band--cinema .em-more:hover { background: #fff; color: var(--em-cinema); }

/* ---------- YouTube band ---------- */
.em-yt-band { background: #0f0f0f; color: #fff; padding: 30px 0 34px; margin: 34px 0; }
.em-yt-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; border-bottom: 1px solid #2c2c2c; padding-bottom: 10px; }
.em-yt-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 23px; color: #fff; }
.em-yt-sub { background: #ff0000; color: #fff; font-weight: 600; font-size: 14px; padding: 5px 16px; border-radius: 99px; }
.em-yt-sub:hover { color: #fff; background: #cc0000; }
.em-yt-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.em-yt { margin: 0; min-width: 0; }
.em-yt--lead { grid-column: span 2; grid-row: span 2; }
.em-yt-play, .em-yt-frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; background: #222; border-radius: 6px; overflow: hidden; cursor: pointer; }
.em-yt-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.em-yt-play:hover img { transform: scale(1.04); }
.em-yt-btn { position: absolute; left: 50%; top: 50%; width: 54px; height: 38px; margin: -19px 0 0 -27px; background: rgba(255,0,0,.92); border-radius: 10px; box-shadow: 0 4px 14px rgba(0,0,0,.4); }
.em-yt--lead .em-yt-btn { width: 72px; height: 50px; margin: -25px 0 0 -36px; border-radius: 13px; }
.em-yt-btn::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border: 9px solid transparent; border-left: 15px solid #fff; border-right: 0; }
.em-yt--lead .em-yt-btn::after { border-width: 12px 0 12px 20px; }
.em-yt figcaption { font-size: 14.5px; font-weight: 600; line-height: 1.55; margin-top: 8px; }
.em-yt--lead figcaption { font-size: 18px; }
.em-yt figcaption a:hover { color: #ff6b6b; }
.em-yt-empty { color: #bbb; margin: 0; }

/* ---------- 3 columns ---------- */
.em-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.em-col { min-width: 0; }
.em-col .em-card--card .em-card-title { font-size: 17px; }
.em-col .em-card--side .em-card-title { font-size: 15px; }
.em-col-empty { color: var(--em-muted); }
.em-col--side .em-wx--sidebar { margin-bottom: 22px; }

/* ---------- ஜோதிடம் band ---------- */
.em-band--jothidam { background: radial-gradient(1200px 400px at 50% 0, #9b1b2c 0%, var(--em-maroon) 60%, #5a0a15 100%); color: #fff; }
.em-jo-head { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; }
.em-jo-head h2 { margin: 0; font-size: 25px; background: #f6c445; color: var(--em-maroon); padding: 4px 26px; border-radius: 6px; box-shadow: 0 0 0 3px rgba(246,196,69,.35); }
.em-jo-head h2 a:hover { color: #000; }
.em-jo-star { color: #f6c445; font-size: 22px; }
.em-rasi { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.em-rasi a {
	display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px;
	background: #fff; border-radius: 8px; color: #222; text-align: center; transition: transform .15s, box-shadow .15s;
}
.em-rasi a:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.3); color: var(--rasi); }
.em-rasi-ic {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px;
	background: var(--rasi); color: #fff; font-size: 26px; line-height: 1;
	font-family: "Noto Sans Symbols", "Segoe UI Symbol", "DejaVu Sans", sans-serif; font-weight: 600;
}
.em-rasi-name { font-size: 13px; font-weight: 600; line-height: 1.3; }
.em-jo-posts { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 26px; background: rgba(0,0,0,.18); padding: 18px; border-radius: 8px; }
.em-band--jothidam .em-card-title a, .em-band--jothidam .em-cat { color: #fff; }
.em-band--jothidam .em-card-title a:hover { color: #f6c445; }
.em-band--jothidam .em-date { color: rgba(255,255,255,.75); }
.em-band--jothidam .em-card--side { border-top-color: rgba(255,255,255,.18); }
.em-jo-list .em-card--side:first-child { border-top: 0; padding-top: 0; }
.em-band--jothidam .em-more { background: #f6c445; color: var(--em-maroon); border-color: #f6c445; }
.em-band--jothidam .em-more:hover { background: #fff; border-color: #fff; }

/* ---------- மரண அறிவித்தல் band ---------- */
.em-obit-band { background: var(--em-navy); color: #fff; padding: 30px 0 28px; margin: 34px 0; }
.em-obit-head { text-align: center; margin-bottom: 20px; }
.em-obit-head h2 { margin: 0; font-size: 25px; }
.em-obit-head h2 a { color: #fff; }
.em-obit-head p { margin: 2px 0 0; color: #b9c6dc; font-size: 14px; }
.em-obit-lamp { font-size: 28px; display: block; }
.em-obit-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.em-obit { background: #fff; color: var(--em-ink); border-radius: 6px; padding: 16px 10px 12px; text-align: center; border-top: 4px solid #111; }
.em-obit-photo { display: block; width: 104px; height: 128px; margin: 0 auto 10px; border: 4px double #222; padding: 2px; background: #f3f3f3; }
.em-obit-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.em-obit-photo span { display: grid; place-items: center; height: 100%; font-size: 36px; }
.em-obit h3 { font-size: 15px; line-height: 1.5; margin: 0 0 4px; }
.em-obit h3 a:hover { color: var(--em-accent); }
.em-obit-place { margin: 0; font-size: 13px; color: #555; font-weight: 600; }
.em-obit-dates { margin: 4px 0 0; font-size: 12px; color: #777; }
.em-obit-empty { text-align: center; color: #b9c6dc; }
.em-obit-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 20px; font-size: 14px; color: #d7e0ee; font-weight: 600; }

/* ---------- Most read grid ---------- */
.em-popgrid .em-grid--6 { counter-reset: emrank; }
.em-popgrid .em-card { position: relative; }
.em-popgrid .em-card::before { counter-increment: emrank; content: counter(emrank); position: absolute; z-index: 2; top: 6px; left: 6px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--em-accent); color: #fff; font-size: 13px; font-weight: 700; }

/* ---------- Footer ---------- */
.em-footer { background: var(--em-navy); }
.em-footer .custom-logo { background: #fff; padding: 8px 12px; border-radius: 6px; max-width: 260px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.em-hero2 { grid-template-columns: 220px minmax(0, 1fr) 270px; gap: 20px; }
	.em-rasi { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.em-obit-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.em-grid--6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
	.em-masthead-in { grid-template-columns: 1fr; }
	.em-mast-side { display: none; }
	.em-hero2 { grid-template-columns: minmax(0, 1fr) 280px; }
	.em-hero2-left { grid-column: 1 / -1; order: 3; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
	.em-hero2-left .em-card + .em-card { margin: 0; padding: 0; border: 0; }
	.em-yt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.em-yt--lead { grid-column: span 3; grid-row: auto; }
	.em-cols3 { grid-template-columns: 1fr 1fr; }
	.em-band-split, .em-jo-posts { grid-template-columns: 1fr 1fr; }
	.em-band-main, .em-jo-main { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.em-topbar-left .em-social { display: none; }
	.em-toplinks { display: none; }
	.em-hero2 { grid-template-columns: 1fr; margin-top: 16px; }
	.em-hero2-left { grid-template-columns: 1fr 1fr; }
	.em-hero2-sub { grid-template-columns: 1fr; }
	.em-hero2-right { order: 4; }
	.em-grid--4, .em-grid--3 { grid-template-columns: 1fr 1fr; gap: 18px; }
	.em-grid--6 { grid-template-columns: 1fr 1fr; }
	.em-card--wide { grid-template-columns: 1fr; gap: 12px; }
	.em-cols3, .em-band-split, .em-jo-posts { grid-template-columns: 1fr; }
	.em-yt-grid { grid-template-columns: 1fr 1fr; }
	.em-yt--lead { grid-column: span 2; }
	.em-rasi { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
	.em-obit-grid { grid-template-columns: 1fr 1fr; }
	.em-bhead-title { font-size: 20px; }
	.em-brand .custom-logo { max-height: 84px; }
}
@media (max-width: 420px) {
	.em-grid--4, .em-grid--3 { grid-template-columns: 1fr; }
	.em-hero2-left { grid-template-columns: 1fr; }
	.em-rasi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.em-drawer-in > .custom-logo-link { display: block; margin-bottom: 12px; } .em-drawer-in > .custom-logo-link img { max-width: 210px; }
.em-col--side .em-fx { margin-bottom: 22px; }
.em-col--side .em-fx-list li:nth-child(n) { display: grid; }
/* single-row navy menu */
.em-nav > .em-wrap { max-width: 1300px; padding: 0 12px; }
.em-menu > li > a { font-size: 14.5px; padding: 0 9px; }
@media (max-width: 1300px) { .em-menu > li > a { font-size: 14px; padding: 0 7px; } }
@media (max-width: 1180px) and (min-width: 1025px) { .em-menu > li > a { font-size: 13px; padding: 0 6px; } }
@media (min-width: 1025px) { .em-nav-tools { display: none; } .em-menu > li > a { padding: 0 8px; } }
@media (max-width: 1300px) and (min-width: 1025px) { .em-menu > li > a { padding: 0 6px; } }
