/* EXAM DARPAN — HOMEPAGE + ARTICLE EXPERIENCE V2
   Presentation-only overrides. No content, routes, tracking or business logic changes. */
:root{--ed-ink:#17243a;--ed-muted:#66758b;--ed-navy:#102b50;--ed-blue:#2457a6;--ed-gold:#f4ad27;--ed-line:#e4eaf2;--ed-surface:#fff;--ed-canvas:#f4f7fb}
html{scroll-behavior:smooth}
body{background:var(--ed-canvas)!important;color:var(--ed-ink)}
.main.container{width:min(1280px,calc(100% - 32px));max-width:1280px;margin-inline:auto}
.header .head{min-height:84px}
.header .brand img{width:48px;height:48px}
.header .brand-title{font-size:22px;letter-spacing:-.04em}
.header .tagline{font-size:9px;letter-spacing:.09em}
.header .search,.header input[type=search],.header input[type=text]{border-radius:999px!important;min-height:44px}
.nav .container{gap:5px}
.nav a{border-radius:8px;padding:10px 12px;transition:background .18s ease,color .18s ease}
.main.container{padding-top:25px;padding-bottom:55px}

/* Homepage section rhythm */
.ed-home-priority,.ed-home-secondary,.ed-home-hubs,.ed-home-daily,.ed-home-category-section,.ed-home-latest,.ed-home-editorial,.ed-home-social,.ed-home-category-directory{margin-top:22px!important;margin-bottom:22px!important}
.ed-home-priority{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px!important}
.ed-home-priority-card{min-width:0!important;overflow:hidden;border:1px solid var(--ed-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 25px rgba(18,42,74,.065)!important;transition:transform .2s ease,box-shadow .2s ease}
.ed-home-priority-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(18,42,74,.11)!important}
.ed-home-priority-head{min-height:76px;padding:16px 17px!important;display:flex;align-items:center;gap:12px}
.ed-home-priority-head h2{font-size:18px!important;letter-spacing:-.02em}
.ed-home-priority-head p{font-size:10px!important;line-height:1.45}
.ed-home-priority-icon{width:40px!important;height:40px!important;display:grid;place-items:center;border-radius:13px;background:rgba(255,255,255,.16);font-size:20px!important}
.ed-home-priority-list{padding:8px 15px 2px!important}
.ed-home-priority-item{min-height:54px;padding:11px 2px!important;gap:10px!important;border-bottom:1px solid #edf1f6!important;font-size:12px!important;line-height:1.5!important}
.ed-home-priority-item:last-child{border-bottom:0!important}
.ed-home-priority-dot{width:7px!important;height:7px!important;flex:0 0 7px!important}
.ed-home-priority-more,.ed-home-secondary-more,.ed-home-hub-more,.ed-home-section-more{display:flex!important;align-items:center;justify-content:center;min-height:42px;padding:10px!important;border-top:1px solid #edf1f6!important;background:#f9fbfe!important;font-size:11px!important;font-weight:850!important;text-decoration:none!important}
.ed-home-priority-more:hover,.ed-home-secondary-more:hover,.ed-home-hub-more:hover,.ed-home-section-more:hover{background:#eef4fb!important}
.ed-home-secondary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}
.ed-home-secondary-card{min-width:0;overflow:hidden;border:1px solid var(--ed-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 25px rgba(18,42,74,.055)!important}
.ed-home-secondary-head{min-height:58px;padding:13px 16px!important;display:flex;align-items:center;justify-content:space-between;gap:12px}
.ed-home-secondary-head h2{font-size:15px!important;line-height:1.35}
.ed-home-secondary-tag{font-size:9px!important;line-height:1.4;max-width:52%;white-space:normal!important}
.ed-home-secondary-item{min-height:52px!important;padding:10px 15px!important;gap:8px!important;border-bottom:1px solid #edf1f6!important;font-size:11px!important;line-height:1.45!important}
.ed-home-secondary-item:last-of-type{border-bottom:0!important}
.ed-home-secondary-badge{font-size:8px!important;padding:4px 7px!important;border-radius:6px!important}
.ed-home-hubs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px!important}
.ed-home-hub{min-width:0;overflow:hidden;border:1px solid var(--ed-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 25px rgba(18,42,74,.055)!important}
.ed-home-hub-head{padding:15px 17px!important}
.ed-home-hub-head h2{font-size:16px!important}
.ed-home-hub-list{padding:0!important}
.ed-home-hub-item{min-height:56px!important;padding:11px 15px!important;gap:10px!important;border-bottom:1px solid #edf1f6!important;font-size:11px!important;line-height:1.5!important}
.ed-home-hub-item:last-child{border-bottom:0!important}
.ed-home-hub-dot{width:7px!important;height:7px!important;flex:0 0 7px!important}
.ed-home-hub-title{font-size:11px!important;line-height:1.5!important}
.ed-home-hub-more{border-top:1px solid #edf1f6!important}
.ed-home-daily{position:relative;overflow:hidden;padding:25px!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:21px!important;background:radial-gradient(circle at 100% 0%,rgba(81,143,232,.35),transparent 40%),linear-gradient(115deg,#0e1b35,#1c477f)!important;box-shadow:0 14px 34px rgba(14,35,67,.16)!important}
.ed-home-daily h2{font-size:27px!important}
.ed-home-daily p{font-size:12px!important;max-width:600px}
.ed-home-daily-action{min-width:220px;max-width:280px;padding:17px!important;border:1px solid rgba(255,255,255,.16)!important;border-radius:15px!important;background:rgba(255,255,255,.09)!important}
.ed-home-daily-action .btn{min-height:42px;border-radius:10px!important}
.ed-home-category-section{overflow:hidden;border:1px solid var(--ed-line)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 8px 25px rgba(18,42,74,.05)!important}
.ed-home-section-head{padding:14px 18px!important}
.ed-home-section-head h2{font-size:17px!important}
.ed-home-section-item{min-height:54px!important;padding:11px 17px!important;gap:10px!important;font-size:12px!important}
.ed-home-section-dot{width:7px!important;height:7px!important;flex:0 0 7px!important}
.ed-home-section-title{font-size:12px!important;line-height:1.5!important}
.ed-home-latest{padding:0!important}
.ed-home-latest-head{align-items:flex-end;margin-bottom:12px!important}
.ed-home-latest-head h2{font-size:22px!important}
.ed-home-latest-head p{font-size:10px!important}
.ed-home-latest-head a{font-size:10px!important}
.ed-home-latest-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important}
.ed-home-latest-card{min-width:0;min-height:105px;padding:14px 40px 14px 15px!important;border:1px solid var(--ed-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:0 4px 14px rgba(18,42,74,.045)!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.ed-home-latest-card:hover{transform:translateY(-2px);border-color:#c6d6eb!important;box-shadow:0 9px 20px rgba(18,42,74,.08)!important}
.ed-home-latest-card-top{gap:8px!important;margin-bottom:8px!important}
.ed-home-latest-chip{font-size:8px!important;padding:4px 7px!important;border-radius:999px!important}
.ed-home-latest-card time{font-size:8px!important}
.ed-home-latest-card>a{font-size:12px!important;line-height:1.5!important;font-weight:800!important}
.ed-home-latest-arrow{right:13px!important;top:50%!important;transform:translateY(-50%)}
.ed-home-editorial,.ed-home-social,.ed-home-category-directory{padding:20px!important;border:1px solid var(--ed-line)!important;border-radius:19px!important;background:#fff!important;box-shadow:0 8px 24px rgba(18,42,74,.05)!important}
.ed-home-editorial h2{font-size:19px!important;line-height:1.4!important}
.ed-home-editorial p{font-size:11px!important;line-height:1.7!important}
.ed-home-editorial-points{gap:9px!important}
.ed-home-editorial-points span{padding:11px!important;border-radius:12px!important}
.ed-home-social-heading strong{font-size:17px!important}
.ed-home-social-grid{gap:9px!important}
.ed-home-social-link{min-height:55px!important;padding:10px 12px!important;border:1px solid var(--ed-line)!important;border-radius:12px!important;background:#fbfcfe!important}
.ed-home-category-heading h2{font-size:23px!important}
.ed-home-category-grid{gap:10px!important}
.ed-home-category-card{min-height:105px;padding:14px!important;border:1px solid var(--ed-line)!important;border-radius:14px!important;background:#fbfcfe!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.ed-home-category-card:hover{transform:translateY(-2px);border-color:#bfd2eb!important;box-shadow:0 8px 20px rgba(18,42,74,.07)!important}
.ed-home-category-card strong{font-size:12px!important}
.ed-home-category-card span{font-size:9px!important}
.ed-home-category-card small{font-size:9px!important;line-height:1.5!important}

/* Article reading experience */
.article.article-page{width:min(100%,960px)!important;max-width:960px!important;margin:0 auto!important;padding:clamp(22px,4vw,48px)!important;border:1px solid #e5eaf1!important;border-radius:22px!important;background:#fff!important;box-shadow:0 12px 34px rgba(18,42,74,.065)!important}
.article-page .breadcrumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:22px!important;color:#8190a4!important;font-size:11px!important}
.article-page .breadcrumbs a{color:#315d96!important;font-weight:750;text-decoration:none}
.article-page>.post-badges{display:flex;gap:7px;margin-bottom:13px}
.article-page>h1{max-width:850px;margin:0 0 17px!important;color:#17243a!important;font-size:clamp(28px,4vw,43px)!important;line-height:1.16!important;letter-spacing:-.04em!important;font-weight:900!important}
.ed-author-byline{margin:0 0 10px!important}
.ed-author-name{color:#2457a6!important;font-size:12px!important;font-weight:850!important;text-decoration:none}
.article-page .article-meta{display:flex;flex-wrap:wrap;gap:8px!important;margin:0 0 17px!important;padding:11px 13px!important;border:1px solid #e7edf5!important;border-left:3px solid #2f68b3!important;border-radius:0 10px 10px 0!important;background:#f5f8fc!important;color:#64748b!important;font-size:10px!important}
.article-page .ed-article-hero-media{max-width:100%!important;margin:22px 0 27px!important;border:1px solid #e1e8f0!important;border-radius:17px!important;box-shadow:0 10px 25px rgba(18,42,74,.08)!important}
.article-page .ed-article-hero-media img{width:100%;max-height:470px;aspect-ratio:16/9;object-fit:cover}
.article-page .article-content{max-width:100%!important;margin:24px 0 0!important;color:#35445a!important;font-size:16px!important;line-height:1.9!important;letter-spacing:.002em}
.article-page .article-content>p:first-child{font-size:16.5px!important;color:#27384f!important}
.article-page .article-content p{margin:0 0 17px!important}
.article-page .article-content h2{margin:36px 0 16px!important;padding:15px 17px!important;border:1px solid #e0e9f4!important;border-left:4px solid #3476c5!important;border-radius:0 13px 13px 0!important;background:linear-gradient(100deg,#f2f7fd,#fbfdff)!important;color:#1c3d67!important;font-size:clamp(19px,2.5vw,24px)!important;line-height:1.4!important;font-weight:850!important}
.article-page .article-content h3{margin:25px 0 11px!important;color:#244d7b!important;font-size:18px!important;line-height:1.45!important;font-weight:850!important}
.article-page .article-content ul,.article-page .article-content ol{padding-left:24px!important;margin:12px 0 21px!important}
.article-page .article-content li{padding-left:3px;margin:7px 0!important;line-height:1.8!important}
.article-page .article-content a{color:#245da4!important;text-decoration:underline;text-decoration-color:#b7cce4;text-underline-offset:3px;font-weight:700}
.article-page .article-content blockquote{margin:22px 0!important;padding:16px 18px!important;border-left:4px solid #e6a12a!important;border-radius:0 12px 12px 0!important;background:#fff8e9!important;color:#66502b!important}
.article-page .article-content img{max-width:100%;height:auto;border-radius:15px;box-shadow:0 7px 22px rgba(18,42,74,.08)}
.article-page .article-content table{margin:22px 0 27px!important;border:1px solid #dce5ef!important;border-radius:13px!important;overflow-x:auto!important;font-size:13px!important}
.article-page .article-content th{padding:13px 14px!important;background:#183d6b!important}
.article-page .article-content td{padding:12px 14px!important}
.article-page .article-toc{max-width:100%!important;margin:23px 0 28px!important;padding:19px 21px!important;border:1px solid #dce6f2!important;border-radius:15px!important;background:#f5f9fe!important}
.article-page .article-toc strong{font-size:15px!important;color:#1b3e6c!important}
.article-page .article-toc li{margin:8px 0!important;font-size:12px!important}
.article-page .article-facts{max-width:100%!important}
.article-page .article-actions{max-width:100%!important;border-radius:14px!important}
.article-page .source-note,.article-page .notice,.article-page .ed-article-author-card,.article-page .ed-article-topic-nav,.article-page .ed-topic-links{max-width:100%!important}
.article-page .related-section{max-width:100%!important}
.article-page .related-section .posts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.article-page .related-section .post{border:1px solid var(--ed-line)!important;border-radius:14px!important;box-shadow:0 5px 16px rgba(18,42,74,.045)!important}
.article-page .related-section .post h3{font-size:14px!important;line-height:1.45!important}
.footer{margin-top:0!important}
@media(max-width:900px){
 .ed-home-priority{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ed-home-priority-card:last-child{grid-column:1/-1}
 .ed-home-secondary{grid-template-columns:1fr!important}
 .ed-home-secondary-tag{max-width:58%}
}
@media(max-width:650px){
 .main.container{width:calc(100% - 22px)!important;padding-top:15px!important;padding-bottom:34px!important}
 .header .head{min-height:72px!important}
 .header .brand img{width:42px;height:42px}
 .header .brand-title{font-size:19px}
 .nav .container{gap:3px}
 .nav a{padding:9px 9px;font-size:10px}
 .ed-home-priority{grid-template-columns:1fr!important;gap:11px!important}
 .ed-home-priority-card:last-child{grid-column:auto}
 .ed-home-priority-head{min-height:65px;padding:12px 14px!important}
 .ed-home-priority-head h2{font-size:16px!important}
 .ed-home-priority-item{min-height:48px;padding:9px 1px!important;font-size:11px!important}
 .ed-home-secondary{gap:11px!important}
 .ed-home-secondary-card{border-radius:15px!important}
 .ed-home-secondary-head{padding:12px 13px!important}
 .ed-home-secondary-head h2{font-size:13px!important}
 .ed-home-secondary-tag{max-width:55%;font-size:8px!important}
 .ed-home-secondary-item{min-height:47px!important;padding:9px 12px!important;font-size:10px!important}
 .ed-home-hubs{grid-template-columns:1fr!important;gap:12px!important}
 .ed-home-hub-head{padding:13px 14px!important}
 .ed-home-hub-head h2{font-size:15px!important}
 .ed-home-hub-item{min-height:49px!important;padding:9px 12px!important}
 .ed-home-hub-title{font-size:10.5px!important}
 .ed-home-daily{display:block!important;padding:18px!important;border-radius:17px!important}
 .ed-home-daily h2{font-size:23px!important}
 .ed-home-daily p{font-size:10px!important}
 .ed-home-daily-action{max-width:none;min-width:0;margin-top:15px;padding:13px!important}
 .ed-home-latest-head h2{font-size:19px!important}
 .ed-home-latest-grid{grid-template-columns:1fr!important;gap:8px!important}
 .ed-home-latest-card{min-height:0;padding:12px 38px 12px 12px!important;border-radius:12px!important}
 .ed-home-latest-card>a{font-size:11px!important}
 .ed-home-category-section{margin-bottom:14px!important}
 .ed-home-section-head{padding:12px 14px!important}
 .ed-home-section-head h2{font-size:15px!important}
 .ed-home-section-item{min-height:47px!important;padding:9px 12px!important}
 .ed-home-section-title{font-size:10.5px!important}
 .ed-home-editorial,.ed-home-social,.ed-home-category-directory{padding:15px!important;border-radius:16px!important}
 .ed-home-editorial-grid{grid-template-columns:1fr!important;gap:13px!important}
 .ed-home-editorial h2{font-size:16px!important}
 .ed-home-editorial p{font-size:10px!important}
 .ed-home-social-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ed-home-social-link{min-height:49px!important;padding:8px!important}
 .ed-home-category-heading{display:block!important}
 .ed-home-category-heading h2{font-size:19px!important}
 .ed-home-category-heading>a{display:inline-block;margin-top:8px}
 .ed-home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .ed-home-category-card{min-height:110px;padding:10px!important}
 .ed-home-category-card strong{font-size:10px!important}
 .ed-home-category-card small{font-size:8px!important}
 .article.article-page{width:100%!important;padding:18px 14px!important;border-radius:16px!important}
 .article-page .breadcrumbs{margin-bottom:16px!important;font-size:10px!important}
 .article-page>h1{font-size:clamp(25px,7vw,32px)!important;line-height:1.2!important}
 .article-page .article-meta{gap:6px!important;padding:9px 10px!important;font-size:9px!important}
 .article-page .article-content{margin-top:18px!important;font-size:15px!important;line-height:1.85!important}
 .article-page .article-content>p:first-child{font-size:15px!important}
 .article-page .article-content h2{margin-top:29px!important;padding:12px 12px!important;font-size:19px!important}
 .article-page .article-content h3{font-size:16px!important}
 .article-page .article-content table{font-size:12px!important}
 .article-page .article-content th,.article-page .article-content td{padding:9px 10px!important}
 .article-page .article-toc{padding:14px!important}
 .article-page .related-section .posts-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ed-home-priority-card,.ed-home-latest-card,.ed-home-category-card{transition:none!important}}

/* Production refresh trigger: preserve the approved Exam Darpan Experience V2 design. */
