/* GNewsX India public editorial refresh. Keep content and editorial data in WordPress. */
:root {
	--color-red: #bd102d;
	--color-red-dark: #8e0b22;
	--color-ink: #171719;
	--color-paper: #fff;
	--color-surface: #f7f5f2;
	--color-muted: #747277;
	--color-line: #e8e4df;
	--color-soft-red: #fff2f3;
	--shell: 1280px;
	--reading: 740px;
	--shadow-card: 0 14px 35px rgb(28 21 18 / 8%);
}

body { background: #fff; color: var(--color-ink); }
.content-shell { width: min(calc(100% - 2rem), var(--shell)); }
.site-header { z-index: 20; border: 0; background: #fff; }
.masthead-wrap { border-bottom: 1px solid var(--color-line); }
.masthead { min-height: 102px; }
.brand { gap: .85rem; }
.brand-mark { width: 54px; height: 54px; }
.brand-name { color: #111; font-size: clamp(1.65rem, 3.2vw, 2.2rem); letter-spacing: -.06em; }
.brand-tagline { color: #77747a; font-size: .65rem; letter-spacing: .13em; }
.masthead-tools { gap: .65rem; font-size: .76rem; }
.today-date { padding-right: .75rem; border-right: 1px solid var(--color-line); }
.language-links a { min-height: 36px; padding: .4rem .65rem; border-radius: 2px; }
.icon-button { min-height: 42px; border-color: #dcd7d2; border-radius: 2px; font-weight: 650; }
.icon-button:hover { border-color: var(--color-red); color: var(--color-red); }

.nav-wrap { background: #171719; color: #fff; }
.nav-inner { min-height: 50px; }
.primary-menu { gap: clamp(.8rem, 2vw, 1.75rem); }
.primary-menu a { padding: .9rem 0; color: #f8f6f4; font-size: .78rem; letter-spacing: .025em; }
.primary-menu .current-menu-item > a,
.primary-menu a:hover,
.primary-menu a:focus-visible { color: #ffb6c0; }
.primary-menu .sub-menu { background: #202023; border-color: #353438; box-shadow: 0 14px 28px rgb(0 0 0 / 22%); }
.primary-menu .sub-menu a { color: #f8f6f4; }
.menu-toggle { border-color: transparent; border-radius: 0; background: transparent; color: #fff; }
.menu-toggle:hover,
.menu-toggle:focus-visible { border-color: rgb(255 255 255 / 28%); background: rgb(255 255 255 / 8%); color: #fff; }
.search-panel { border-color: var(--color-line); }

.site-main { min-height: 58vh; }
.home-main { padding-block: 1.15rem 5.5rem; }
.breaking-ticker { gap: 1rem; margin: 0 0 1.25rem; padding: .72rem .95rem; border: 0; background: var(--color-red-dark); color: #fff; }
.breaking-label { color: #fff; }
.breaking-label .live-dot { background: #fff; box-shadow: 0 0 0 4px rgb(255 255 255 / 15%); }
.breaking-ticker li { color: #fff; font-size: .8rem; font-weight: 600; }
.breaking-ticker li + li::before { background: #f8aab5; }
.breaking-ticker a:hover { color: #ffe0e5; }

.lead-grid { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .83fr); gap: 1.6rem; padding-bottom: 2.2rem; border-bottom: 2px solid var(--color-ink); }
.lead-supporting { grid-template-columns: 1fr; gap: 0; align-content: start; }
.story-card { min-width: 0; }
.story-card-image { background: #e7e3df; }
.story-card-image:hover .media-cover,
.story-card-image:hover .card-image { transform: scale(1.035); }
.story-card--lead .story-card-image { aspect-ratio: 16 / 9; }
.story-card--lead .story-card-copy { padding: 1rem .15rem .25rem; }
.story-card--lead h2 { max-width: 22ch; font-size: clamp(2rem, 3.7vw, 3.65rem); line-height: 1.035; letter-spacing: -.052em; }
.story-card-copy > p { max-width: 58ch; margin: .65rem 0; color: #58555a; font-size: .94rem; line-height: 1.6; }
.category-label { margin-bottom: .35rem; font-size: .65rem; letter-spacing: .12em; }
.story-byline { gap: .25rem .7rem; font-size: .69rem; }
.lead-supporting .story-card--standard { display: grid; grid-template-columns: 118px minmax(0, 1fr); align-items: start; gap: .95rem; padding: 1rem 0; border-bottom: 1px solid var(--color-line); }
.lead-supporting .story-card--standard:first-child { padding-top: 0; }
.lead-supporting .story-card--standard .story-card-image { aspect-ratio: 1; }
.lead-supporting .story-card--standard .story-card-copy { padding: 0; }
.lead-supporting .story-card--standard h2 { font-size: clamp(1rem, 1.3vw, 1.22rem); line-height: 1.26; }

.section-heading { align-items: end; margin-bottom: 1.2rem; padding-bottom: .8rem; border-bottom: 1px solid var(--color-line); }
.eyebrow { font-size: .63rem; letter-spacing: .14em; }
.section-heading h2,
.page-heading h1,
.article-title,
.error-shell h1 { letter-spacing: -.05em; }
.section-heading h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.latest-section { padding-top: 2.6rem; }
.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem 1rem; }
.story-card--compact { grid-template-columns: 88px minmax(0, 1fr); gap: .8rem; padding: .72rem; border: 1px solid #eeeae6; background: #fbfaf8; }
.story-card--compact .story-card-image { aspect-ratio: 1; }
.story-card--compact .category-label { font-size: .55rem; }
.story-card--compact h3 { font-size: .92rem; line-height: 1.32; }
.story-card--compact time { font-size: .65rem; }

.homepage-section,
.latest-section,
.featured-authors,
.regional-topic-section { padding-block: 2.8rem; border-bottom: 1px solid var(--color-line); }
.homepage-section .section-heading { border-bottom: 0; }
.homepage-section .section-heading h2 { position: relative; padding-left: .85rem; }
.homepage-section .section-heading h2::before { position: absolute; top: .18em; bottom: .1em; left: 0; width: 4px; background: var(--color-red); content: ""; }
.story-grid { gap: 1.7rem 1.25rem; }
.story-grid > .story-card { padding-bottom: .5rem; }
.story-card--standard .story-card-copy { padding-top: .75rem; }
.story-card--standard h2 { font-size: clamp(1.02rem, 1.4vw, 1.28rem); line-height: 1.24; }
.story-card h2 a,
.story-card h3 a { transition: color var(--motion-fast) var(--ease-out); }
.story-card h2 a:hover,
.story-card h3 a:hover { color: var(--color-red); }
.homepage-section--split .section-split { gap: 1.7rem; }
.homepage-section--split .section-split-supporting { gap: 1rem; }
.homepage-section--split .section-split-supporting .story-card--standard .story-card-image { aspect-ratio: 4 / 3; }
.homepage-section--compact .section-compact-list { gap: .6rem; }
.homepage-section--compact .story-card--compact { background: #fff; }
.section-numbered-list { border-top: 1px solid var(--color-line); }
.section-numbered-list li { grid-template-columns: 3rem minmax(0, 1fr); gap: .9rem; padding: 1.05rem .25rem; }
.section-numbered-list li > span { color: var(--color-red); font-size: 1.8rem; }
.section-numbered-list li > a { font-size: 1.12rem; }
.author-grid { gap: .85rem; }
.author-card { padding: 1.2rem; border: 1px solid var(--color-line); background: #fff; }
.author-card .author-avatar { width: 62px; height: 62px; }

.archive-shell,
.page-shell { padding-block: 3.5rem 5.5rem; }
.page-heading { max-width: 900px; margin-bottom: 2.5rem; }
.page-heading h1 { font-size: clamp(2.7rem, 6vw, 5.25rem); line-height: 1; }
.archive-description { max-width: 66ch; margin-top: .8rem; color: #5f5c60; font-size: 1.05rem; line-height: 1.65; }
.category-heading { position: relative; margin-bottom: 1.8rem; padding: 1.3rem 0 1.6rem 1.25rem; border-bottom: 1px solid var(--color-line); }
.category-heading::before { position: absolute; top: 1.4rem; bottom: 1.6rem; left: 0; width: 5px; background: var(--color-red); content: ""; }
.related-categories { gap: .5rem; }
.related-categories a,
.related-regions a { border-color: #ded9d4; border-radius: 2px; background: #fff; }
.related-categories a:hover,
.related-regions a:hover { border-color: var(--color-red); background: var(--color-soft-red); }
.category-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 2.2rem; }
.category-feed-heading { margin: 0 0 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--color-line); }
.category-feed-heading .eyebrow { margin: 0 0 .25rem; color: var(--color-red); }
.category-feed-heading h2 { margin: 0; font-size: clamp(1.35rem, 2.5vw, 1.9rem); letter-spacing: -.035em; }
.category-story-grid { gap: 1.8rem 1.25rem; }
.category-story-grid .story-card--lead { gap: 1.25rem; align-items: center; }
.category-story-grid .story-card--lead .story-card-image { aspect-ratio: 4 / 3; }
.category-sidebar { top: 1.5rem; padding: 1.25rem; border-top: 3px solid var(--color-ink); background: #f8f6f3; }

.article-shell { max-width: 900px; padding-block: 2.4rem 5.5rem; }
.breadcrumbs { margin-bottom: 1.6rem; }
.article-header { max-width: 800px; margin: 0 auto 1.8rem; }
.article-title { font-size: clamp(2.65rem, 6.1vw, 5.2rem); line-height: 1.02; }
.article-deck { color: #555158; font-size: clamp(1.1rem, 2vw, 1.4rem); }
.article-meta { gap: .45rem 1rem; padding-top: .9rem; border-top: 1px solid var(--color-line); }
.article-featured-image { margin: 0 auto 2.2rem; }
.article-featured-image img { aspect-ratio: 16 / 9; }
.article-tools { max-width: 740px; margin: 0 auto 1.5rem; }
.article-content.entry-content { max-width: 740px; margin-inline: auto; font-size: clamp(1.12rem, 1.45vw, 1.22rem); line-height: 1.9; }
.article-toc,
.article-sources,
.article-share,
.article-author { max-width: 740px; margin-right: auto; margin-left: auto; }
.article-toc { border-top-width: 4px; background: #f8f6f3; }
.article-author { align-items: center; border: 1px solid var(--color-line); background: #fbfaf8; }
.related-stories { margin-top: 3.5rem; padding-top: 1.7rem; border-top: 2px solid var(--color-ink); }

.author-heading { align-items: center; margin: 0 0 2.5rem; padding: 1.5rem; border: 1px solid var(--color-line); border-left: 5px solid var(--color-red); background: #fbfaf8; }
.author-heading .author-avatar { width: 84px; height: 84px; }
.static-page { max-width: 860px; }
.static-page .page-heading { margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--color-line); }
.static-page .entry-content { max-width: 740px; margin-inline: auto; }
.empty-state { margin-block: 2rem; padding: 1.3rem 1.5rem; border-left: 4px solid var(--color-red); background: #f8f6f3; }
.error-shell { max-width: 850px; padding-block: 6rem; }
.error-shell h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); }

.newsletter-area { max-width: var(--shell); margin-bottom: 2rem; padding: 1.8rem 2rem; border: 0; border-left: 5px solid #ff526d; background: #181719; color: #fff; }
.newsletter-area h2 { color: #fff; }
.newsletter-area p:not(.eyebrow) { color: #ded9dc; }
.newsletter-area .eyebrow { color: #ff9dab; }
.newsletter-area .button-link { display: inline-flex; align-items: center; min-height: 46px; padding: .7rem 1.1rem; border: 1px solid #fff; background: transparent; color: #fff; font-weight: 700; }
.newsletter-area .button-link:hover { border-color: #ff9dab; background: #ff9dab; color: #171719; }
.site-footer { border-top: 4px solid var(--color-red); background: #171719; color: #fff; }
.footer-main { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; padding-block: 3rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tagline,
.footer-brand > p { color: #c7c3c5; }
.footer-column h2 { margin: 0 0 .8rem; color: #ff9dab; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-menu { display: grid; justify-content: start; gap: .45rem; }
.footer-menu a { color: #eee; font-size: .78rem; }
.footer-menu a:hover { color: #ff9dab; }
.footer-bottom { border-color: #3a383b; }
.footer-bottom .content-shell { color: #c7c3c5; }

.pagination { justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; min-height: 42px; display: inline-grid; place-items: center; border-color: #ddd7d2; border-radius: 2px; }
.pagination .current { border-color: var(--color-ink); background: var(--color-ink); }

@media (min-width: 1440px) {
	.content-shell { width: min(calc(100% - 4rem), var(--shell)); }
}

@media (max-width: 1050px) {
	.menu-toggle { display: inline-flex; gap: .65rem; min-height: 44px; padding: .45rem .15rem; color: #fff; font-size: .78rem; font-weight: 700; }
	.menu-toggle-lines,
	.menu-toggle-lines::before,
	.menu-toggle-lines::after { display: block; width: 17px; height: 2px; background: currentColor; }
	.menu-toggle-lines { position: relative; }
	.menu-toggle-lines::before,
	.menu-toggle-lines::after { position: absolute; left: 0; content: ""; }
	.menu-toggle-lines::before { top: -5px; }
	.menu-toggle-lines::after { top: 5px; }
	.primary-navigation { display: none; position: absolute; z-index: 15; top: 100%; right: 0; left: 0; width: auto; padding: .5rem 1rem 1rem; background: #202023; border: 1px solid #3a383b; box-shadow: var(--shadow-card); }
	.primary-navigation.is-open { display: block; }
	.primary-menu,
	.primary-menu ul { display: grid; gap: 0; }
	.primary-menu > li > a { padding: .7rem 0; border-bottom: 1px solid #3a383b; }
	.primary-menu .sub-menu { display: block; position: static; min-width: 0; padding: 0 0 .5rem 1rem; border: 0; box-shadow: none; }
	.primary-menu .sub-menu a { padding: .5rem 0; }
	.lead-grid { grid-template-columns: minmax(0, 1.4fr) minmax(250px, .9fr); gap: 1.15rem; }
	.lead-supporting .story-card--standard { grid-template-columns: 96px minmax(0, 1fr); }
	.category-layout { grid-template-columns: minmax(0, 1fr) 245px; gap: 1.25rem; }
	.footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
	.masthead { min-height: 78px; }
	.brand-mark { width: 44px; height: 44px; }
	.brand-tagline { display: none; }
	.masthead-tools { gap: .4rem; }
	.today-date { display: none; }
	.language-links a { padding: .35rem .45rem; }
	.icon-button { width: 42px; min-width: 42px; padding: .4rem; font-size: 0; }
	.icon-button .search-icon { flex: none; }
	.nav-wrap { background: #171719; }
	.primary-navigation { background: #202023; border-color: #3a383b; }
	.primary-menu > li > a { color: #fff; border-color: #3a383b; }
	.home-main { padding-top: .75rem; }
	.lead-grid { grid-template-columns: 1fr; gap: 1rem; padding-bottom: 1.4rem; }
	.story-card--lead .story-card-image { aspect-ratio: 16 / 10; }
	.story-card--lead .story-card-copy { padding-top: .8rem; }
	.story-card--lead h2 { font-size: clamp(2rem, 8vw, 3rem); }
	.lead-supporting .story-card--standard { grid-template-columns: 94px minmax(0, 1fr); }
	.compact-grid { grid-template-columns: 1fr; }
	.story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem .8rem; }
	.story-grid > .story-card--standard { display: block; }
	.story-grid > .story-card--standard .story-card-image { aspect-ratio: 4 / 3; }
	.story-grid > .story-card--standard .story-card-copy { padding-top: .55rem; }
	.story-grid > .story-card--standard h2 { font-size: 1rem; }
	.homepage-section,.latest-section,.featured-authors,.regional-topic-section { padding-block: 2rem; }
	.homepage-section--split .section-split { grid-template-columns: 1fr; }
	.homepage-section--split .section-split-supporting { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.category-layout { grid-template-columns: 1fr; }
	.category-sidebar { position: static; }
	.category-story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.category-story-grid .story-card--lead { grid-template-columns: 1fr; }
	.category-story-grid .story-card--lead .story-card-image { aspect-ratio: 16 / 10; }
	.author-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article-shell { padding-top: 1.6rem; }
	.article-title { font-size: clamp(2.35rem, 10vw, 3.8rem); }
	.article-tools { align-items: flex-start; }
	.newsletter-area { margin-inline: 1rem; padding: 1.25rem; }
}

@media (max-width: 479px) {
	.content-shell { width: min(calc(100% - 1.25rem), var(--shell)); }
	.breaking-ticker { align-items: flex-start; flex-direction: column; gap: .5rem; }
	.breaking-ticker ul { width: 100%; }
	.story-grid,.category-story-grid { grid-template-columns: 1fr; }
	.story-grid > .story-card--standard { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: .75rem; }
	.story-grid > .story-card--standard .story-card-image { aspect-ratio: 1; }
	.story-grid > .story-card--standard .story-card-copy { padding-top: 0; }
	.story-grid > .story-card--standard h2 { font-size: .98rem; }
	.homepage-section--split .section-split-supporting { grid-template-columns: 1fr; }
	.homepage-section--split .section-split-supporting .story-card--standard { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: .75rem; }
	.homepage-section--split .section-split-supporting .story-card--standard .story-card-image { aspect-ratio: 1; }
	.homepage-section--split .section-split-supporting .story-card--standard .story-card-copy { padding-top: 0; }
	.author-grid { grid-template-columns: 1fr; }
	.footer-main { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
	.footer-brand { grid-column: 1 / -1; }
	.footer-bottom .content-shell { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
