
:root{--navy:#092b4c;--blue:#174f83;--accent:#c40000;--light:#f4f7fb;--text:#17212b;--card:#fff;--line:#d8e1ea}*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff}a{color:#124f91}.top{background:linear-gradient(115deg,#092b4c,#1c5c91);color:#fff}.top-inner{max-width:1240px;margin:auto;display:flex;align-items:center;gap:24px;padding:24px 28px}.logo{width:82px;height:82px;object-fit:contain;background:#fff;border-radius:50%;padding:8px}.brand h1{margin:0;font-size:34px}.brand p{margin:7px 0 0;font-size:18px;opacity:.9}.nav-wrap{background:#fff;box-shadow:0 2px 12px #00000012;position:sticky;top:0;z-index:50}.nav{max-width:1240px;margin:auto;display:flex;flex-wrap:wrap}.nav a,.nav button{border:0;background:none;text-decoration:none;color:#123b60;padding:16px 14px;font-size:15px;cursor:pointer}.nav a:hover,.nav button:hover{background:#eaf2fa}.drop{position:relative}.dropmenu{display:none;position:absolute;left:0;top:100%;min-width:230px;background:#fff;box-shadow:0 8px 25px #0002;border:1px solid var(--line)}.drop:hover>.dropmenu{display:block}.dropmenu .drop{position:relative}.dropmenu .dropmenu{left:100%;top:0}.hero{background:linear-gradient(180deg,#f3f7fb,#fff);padding:48px 20px}.container{max-width:1180px;margin:auto}.home-grid{display:grid;grid-template-columns:280px 1fr;gap:35px}.card{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:22px;box-shadow:0 8px 28px #18324d0d}.section-title{color:var(--accent);text-decoration:underline;margin:0 0 18px;font-size:27px}.highlight img{width:100%;height:auto}.bio-photo{max-width:310px;width:100%;float:left;margin:0 25px 12px 0;border:5px solid #ddd}.legacy-content{max-width:1200px;margin:30px auto;padding:0 20px;line-height:1.55}.legacy-content .ccr_main_section{background:#fff!important}.legacy-content img{max-width:100%;height:auto}.legacy-content table{max-width:100%;overflow:auto;display:block;border-collapse:collapse}.legacy-content td,.legacy-content th{padding:7px;border:1px solid #ccc}.legacy-content .header-main,.legacy-content .main_menu,.legacy-content .footer-backimg{display:none!important}.footer{background:#102d48;color:#fff;margin-top:60px}.footer-inner{max-width:1180px;margin:auto;padding:32px 20px;display:flex;justify-content:space-between;gap:30px}.admin-link{color:#fff}.mobile-toggle{display:none}@media(max-width:800px){.top-inner{padding:18px;gap:15px}.logo{width:62px;height:62px}.brand h1{font-size:25px}.brand p{font-size:14px}.mobile-toggle{display:block;margin-left:auto;background:#fff;border:0;padding:10px}.nav{display:none}.nav.open{display:block}.nav a,.nav button{display:block;width:100%;text-align:left}.dropmenu{position:static;box-shadow:none;border:0;padding-left:18px}.drop:hover>.dropmenu{display:none}.drop.open>.dropmenu{display:block}.home-grid{grid-template-columns:1fr}.footer-inner{flex-direction:column}.legacy-content{padding:0 12px}.bio-photo{float:none;margin-right:0}}

/* FINAL FULL-WIDTH LEGACY CONTENT FIX */
.legacy-content{width:100%;max-width:none!important;margin:0 auto;padding:28px 4vw;overflow-x:hidden}
.legacy-content > .container,
.legacy-content .container,
.legacy-content .row,
.legacy-content [class*="col-md-"],
.legacy-content [class*="col-sm-"],
.legacy-content .about-content-area1,
.legacy-content .about-content-area,
.legacy-content .ccr_main_section{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
.legacy-content table{width:100%!important;max-width:100%!important;display:table!important;table-layout:auto!important}
.legacy-content table[style*="width"],.legacy-content td[style*="width"],.legacy-content th[style*="width"]{max-width:100%!important}
.legacy-content td,.legacy-content th{overflow-wrap:anywhere}
.legacy-content img{max-width:100%!important;height:auto!important}
.legacy-content iframe,.legacy-content video{max-width:100%;width:100%}
/* Preserve readable line length for plain text while allowing wide tables/images */
.legacy-content p,.legacy-content li{max-width:none}
@media(max-width:900px){.legacy-content{padding:20px 14px}.legacy-content table{font-size:14px}.legacy-content td,.legacy-content th{padding:6px}}

/* ===== FINAL RESPONSIVE LEGACY PAGE OVERRIDES ===== */
.legacy-content,
.legacy-content.about_us,
.legacy-content .about_us,
.legacy-content .ccr_main_section,
.legacy-content .about-content-area1,
.legacy-content .about-content-area,
.legacy-content .row,
.legacy-content [class*="col-"] {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Old Word/Bootstrap exports contain inline 25/50/60/70/80% widths. */
.legacy-content div[style*="width:"],
.legacy-content section[style*="width:"],
.legacy-content article[style*="width:"],
.legacy-content main[style*="width:"],
.legacy-content header[style*="width:"],
.legacy-content footer[style*="width:"] {
  width: 100% !important;
  max-width: none !important;
}

.legacy-content table {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  table-layout: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.legacy-content table td,
.legacy-content table th {
  max-width: none !important;
  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
}

/* Convert old point/pixel cell widths into flexible columns. */
.legacy-content table td[width],
.legacy-content table th[width],
.legacy-content table td[style*="width:"],
.legacy-content table th[style*="width:"] {
  width: auto !important;
}

.legacy-content img {
  max-width: 100% !important;
  height: auto !important;
}

.legacy-content .title-area,
.legacy-content .bottom_line {
  max-width: 100% !important;
}

/* Do not let the legacy content clip on wide screens. */
.legacy-content { overflow: visible !important; }

@media (min-width: 1200px) {
  .legacy-content { padding-left: 4vw; padding-right: 4vw; }
}

@media (max-width: 768px) {
  .legacy-content { padding: 18px 10px; }
  .legacy-content table { font-size: 14px; }
}


/* ===== PROFESSIONAL MEGA NAVIGATION ===== */
.top-inner{max-width:1280px;padding:22px 28px;min-height:128px}
.brand-logo{display:block;line-height:0;flex:0 0 auto;width:88px;height:88px;flex-shrink:0}.logo{width:88px;height:88px;display:block;object-fit:cover;border-radius:50%;padding:0;}
.brand h1{font-size:36px;letter-spacing:.1px}.brand p{font-size:18px}.brand p span{opacity:.65;margin:0 4px}
.nav-wrap{position:sticky;top:0;background:rgba(255,255,255,.98);backdrop-filter:blur(8px);border-bottom:1px solid #e7edf3;box-shadow:0 4px 18px rgba(10,40,70,.08)}
.nav{max-width:1280px;padding:0 18px;min-height:62px;display:flex;align-items:stretch;justify-content:center;gap:4px}
.nav>a,.nav button{display:flex;align-items:center;justify-content:center;gap:3px;border-radius:8px;padding:0 15px;height:62px;font-size:15px;font-weight:600;color:#173f63;transition:background .18s,color .18s,transform .18s;text-decoration:none}
.nav>a:hover,.nav button:hover,.drop.open>.nav-trigger{background:#edf5fc;color:#0b5ca8}
.nav .chev{display:inline-block;width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg);opacity:.68;margin-left:1px;transition:transform .18s ease,opacity .18s ease}.drop.open>.nav-trigger .chev{transform:translateY(1px) rotate(225deg);opacity:.95}
.drop{position:static}.dropmenu{z-index:100;display:block;visibility:hidden;opacity:0;transform:translateY(8px);pointer-events:none;position:absolute;left:50%;top:100%;width:min(1180px,calc(100vw - 32px));min-width:0;background:#fff;border:1px solid #dfe8f0;border-radius:0 0 14px 14px;box-shadow:0 18px 45px rgba(16,45,72,.16);transition:opacity .18s ease,transform .18s ease,visibility .18s}
.drop:hover>.dropmenu,.drop.open>.dropmenu{visibility:visible;opacity:1;transform:translate(-50%,0);pointer-events:auto}
.mega-menu{padding:0;overflow:hidden}.mega-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:22px}
.mega-col{padding:4px 24px 10px;border-right:1px solid #edf1f5}.mega-col:last-child{border-right:0}.mega-col h4{margin:0 0 10px;color:#0d416c;font-size:15px;font-weight:800;letter-spacing:.2px}.mega-col h4:after{content:"";display:block;width:28px;height:2px;background:#c40000;margin-top:7px;border-radius:2px}.mega-single{margin-bottom:0!important}
.mega-links{display:grid;gap:2px}.mega-col a{display:block;padding:8px 9px;border-radius:7px;color:#41566a;text-decoration:none;font-size:14px;line-height:1.3}.mega-col a:hover{background:#f0f6fb;color:#075ca7}.mega-parent{font-weight:700!important;color:#174f83!important;margin-bottom:2px}
.mega-drop:nth-child(2) .mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mega-drop:nth-child(3) .mega-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mobile-toggle{display:none}
@media(max-width:1050px){.nav>a,.nav button{padding:0 9px;font-size:13px}.top-inner{padding-left:18px;padding-right:18px}.brand h1{font-size:31px}.brand p{font-size:16px}.mega-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 .top-inner{min-height:88px;padding:13px 16px}.brand-logo{width:62px;height:62px}.logo{width:62px;height:62px}.brand h1{font-size:24px}.brand p{font-size:13px;line-height:1.35}.mobile-toggle{display:block;margin-left:auto;background:#fff;border:1px solid #d9e3ec;border-radius:8px;padding:9px 11px;color:#123b60;font-size:21px}
 .nav-wrap{position:relative}.nav{display:none;padding:8px 10px 14px}.nav-wrap.mobile-open .nav{display:block}.nav>a,.nav button{width:100%;height:48px;justify-content:flex-start;padding:0 13px;border-radius:7px}.drop{position:relative}.dropmenu{position:static;width:100%;transform:none!important;border:0;border-left:2px solid #dce8f2;border-radius:0;box-shadow:none;background:#f8fbfe;visibility:visible;opacity:1;display:none;pointer-events:auto}.drop.open>.dropmenu{display:block}.mega-grid{display:block;padding:7px 9px}.mega-col{padding:9px 7px;border-right:0;border-bottom:1px solid #e5edf4}.mega-col:last-child{border-bottom:0}.mega-col a{padding:7px 9px}.drop:hover>.dropmenu{visibility:visible;opacity:1;transform:none}.drop:hover>.dropmenu:not(.open){display:none}
}

/* ===== PUBLICATION PAGES: UNIFIED JOURNAL-STYLE TABLE ===== */
.publication-page .legacy-content{padding:28px 40px 50px!important;margin:0!important;width:100%!important;max-width:none!important}
.publication-page .publication-table{width:100%!important;max-width:none!important;border-collapse:collapse!important;border-spacing:0!important;table-layout:fixed!important;background:#fff!important;font-family:Arial,Helvetica,sans-serif!important;color:#111!important;margin:0!important}
.publication-page .publication-table tr:first-child th,
.publication-page .publication-table tr:first-child td{height:48px!important;background:#fff!important;border:1px solid #c9c9c9!important;font-family:Arial,Helvetica,sans-serif!important;font-size:20px!important;font-weight:700!important;vertical-align:middle!important;padding:8px 12px!important;color:#111!important}
.publication-page .publication-table tr:first-child th:first-child,
.publication-page .publication-table tr:first-child td:first-child{width:96px!important}
.publication-page .publication-table tr:not(:first-child) td{border:1px solid #c9c9c9!important;background:#fff!important;padding:12px 10px!important;vertical-align:middle!important;font-family:Arial,Helvetica,sans-serif!important;font-size:18px!important;line-height:1.42!important;color:#111!important}
.publication-page .publication-table tr:not(:first-child) td:first-child{width:96px!important;text-align:center!important;font-size:18px!important;white-space:nowrap!important;padding:10px 6px!important}
.publication-page .publication-table tr:not(:first-child) td:nth-child(2){padding-left:10px!important;text-align:left!important}
.publication-page .publication-table tr:not(:first-child) td:nth-child(2) b:first-child{font-size:19px!important;font-weight:700!important}
.publication-page .publication-table a{color:#0000ee!important;text-decoration:underline!important;font-weight:700!important;font-size:17px!important;font-family:Arial,Helvetica,sans-serif!important}
.publication-page .publication-table p{margin:0 0 5px!important;line-height:1.42!important;max-width:none!important}
.publication-page .publication-table span{font-family:Arial,Helvetica,sans-serif!important;color:#111!important}
.publication-page .publication-table sub,.publication-page .publication-table sup{line-height:0!important}
.publication-page .publication-table tr:hover td{background:#fbfdff!important}
@media(max-width:800px){
 .publication-page .legacy-content{padding:16px 10px 30px!important}
 .publication-page .publication-table{table-layout:auto!important}
 .publication-page .publication-table tr:first-child th,.publication-page .publication-table tr:first-child td{font-size:16px!important}
 .publication-page .publication-table tr:not(:first-child) td{font-size:15px!important;padding:9px 8px!important}
 .publication-page .publication-table tr:not(:first-child) td:first-child{width:64px!important;font-size:14px!important}
 .publication-page .publication-table tr:not(:first-child) td:nth-child(2) b:first-child{font-size:16px!important}
 .publication-page .publication-table a{font-size:14px!important}
}

/* Standard publication formatting */
.publication-table{width:100%!important;border-collapse:collapse!important;border:1px solid #cfcfcf!important;font-family:Arial,Helvetica,sans-serif!important;background:#fff;}
.publication-table th{border:1px solid #cfcfcf!important;padding:12px 10px!important;background:#fff!important;color:#111827!important;font-size:20px!important;font-weight:700!important;text-align:center!important;}
.publication-table th:first-child{width:90px!important;}
.publication-table td{border:1px solid #cfcfcf!important;padding:14px 10px!important;vertical-align:middle!important;color:#111827!important;font-size:18px!important;line-height:1.42!important;}
.publication-table td:first-child{width:90px!important;text-align:center!important;white-space:nowrap!important;}
.publication-table .pub-title{font-weight:700!important;display:block!important;margin-bottom:7px!important;}
.publication-table .pub-authors{display:block!important;margin-bottom:7px!important;}
.publication-table .pub-journal{display:block!important;color:#0000ee!important;text-decoration:underline!important;font-weight:700!important;}
.publication-table .pub-journal a{color:#0000ee!important;text-decoration:underline!important;font-weight:700!important;}
.publication-table .year-row td{background:#f7f9fc!important;color:#123a63!important;font-weight:700!important;text-align:left!important;padding:9px 12px!important;}
@media(max-width:700px){.publication-table td,.publication-table th{font-size:15px!important;padding:10px 8px!important}.publication-table th:first-child,.publication-table td:first-child{width:58px!important}.publication-table td:first-child{font-size:14px!important}}

.pub-sn{width:70px;text-align:center;vertical-align:top;font-weight:600}
.pub-citation{vertical-align:top;line-height:1.65}
.pub-citation .pub-journal{display:inline}
.pub-citation .pub-journal a{font-weight:700;text-decoration:underline}
.pub-citation .pub-journal{font-weight:700;text-decoration:underline}


/* MENU FINAL: CSV-driven public navigation */
.nav-wrap{display:block!important;background:#fff;position:sticky;top:0;z-index:100;min-height:62px;border-bottom:1px solid #e7edf3;box-shadow:0 4px 18px rgba(10,40,70,.08)}
.nav{display:flex!important;align-items:stretch;justify-content:center;flex-wrap:wrap;max-width:1280px;min-height:62px;margin:0 auto;padding:0 18px;gap:4px}
.nav>a,.nav> .drop>.nav-trigger{display:flex!important;align-items:center;justify-content:center;gap:3px;height:62px;padding:0 15px;border:0;border-radius:8px;background:none;color:#173f63;text-decoration:none;font:600 15px Arial,Helvetica,sans-serif;cursor:pointer}
.nav>a:hover,.nav>.drop>.nav-trigger:hover,.nav>.drop.open>.nav-trigger{background:#edf5fc;color:#0b5ca8}
.drop{position:static}.dropmenu{display:none;position:absolute;left:50%;top:100%;width:min(1180px,calc(100vw - 32px));min-width:0;background:#fff;border:1px solid #d8e1ea;border-radius:0 0 10px 10px;box-shadow:0 12px 28px rgba(10,40,70,.14);z-index:200;transform:translateX(-50%)}.drop.open>.dropmenu{display:block}.mega-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:0;padding:14px}.mega-col{padding:8px 14px;border-right:1px solid #e7edf3}.mega-col:last-child{border-right:0}.mega-col h4{margin:0 0 8px;font-size:14px;color:#123f68}.mega-col a{display:block;padding:5px 0;color:#244f73;text-decoration:none;font-size:14px}.mega-col a:hover{text-decoration:underline;color:#0b5ca8}.chev{display:inline-block;width:7px;height:7px;border-right:1.6px solid currentColor;border-bottom:1.6px solid currentColor;transform:translateY(-2px) rotate(45deg)}.drop.open>.nav-trigger .chev{transform:translateY(1px) rotate(225deg)}.menu-error{padding:20px;color:#b40000;font-weight:700}
@media(max-width:1050px){.nav>a,.nav>.drop>.nav-trigger{padding:0 9px;font-size:13px}.mega-grid{grid-template-columns:repeat(2,minmax(170px,1fr))}}
@media(max-width:800px){.mobile-toggle{display:block!important;margin-left:auto}.nav-wrap{position:relative}.nav{display:none!important;min-height:0;padding:8px 10px 14px}.nav-wrap.mobile-open .nav{display:block!important}.nav>a,.nav>.drop>.nav-trigger{width:100%;height:48px;justify-content:flex-start;padding:0 13px}.dropmenu{position:static;width:100%;min-width:0;border:0;border-left:2px solid #dce8f2;border-radius:0;box-shadow:none;background:#f8fbfe}.mega-grid{display:block;padding:7px 9px}.mega-col{padding:9px 7px;border-right:0;border-bottom:1px solid #e5edf4}.mega-col:last-child{border-bottom:0}}

/* Static publication pages generated from the original IIT Delhi publication records. */
.publication-page .legacy-content{width:100%;}
.publication-page .publication-table{width:100%!important;border-collapse:collapse!important;table-layout:auto!important;}
.publication-page .publication-table th,.publication-page .publication-table td{box-sizing:border-box;}
.publication-page .publication-table th:first-child,.publication-page .publication-table td:first-child{width:80px!important;text-align:center!important;vertical-align:middle!important;}
.publication-page .publication-table td:nth-child(2){width:auto!important;}
.publication-page .publication-table p{margin:0 0 10px!important;line-height:1.35!important;}
.publication-page .publication-table a{color:#00e!important;text-decoration:underline!important;}
.publication-page .publication-table b{font-weight:700;}

/* FINAL PUBLICATION FORMATTING — uniform across all year pages */
.publication-page .publication-table .pub-title{
  display:block!important;
  margin:0 0 7px!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:19px!important;
  font-weight:700!important;
  line-height:1.42!important;
  color:#111!important;
}
.publication-page .publication-table .pub-authors{
  display:block!important;
  margin:0 0 7px!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:18px!important;
  font-weight:400!important;
  line-height:1.42!important;
  color:#111!important;
}
.publication-page .publication-table .pub-authors b,
.publication-page .publication-table .pub-authors strong{
  font-weight:700!important;
}
.publication-page .publication-table .pub-journal,
.publication-page .publication-table .pub-journal a{
  display:block!important;
  margin:0!important;
  font-family:Arial,Helvetica,sans-serif!important;
  font-size:17px!important;
  font-weight:700!important;
  line-height:1.42!important;
  color:#0000ee!important;
  text-decoration:underline!important;
}
@media(max-width:800px){
  .publication-page .publication-table .pub-title{font-size:16px!important;}
  .publication-page .publication-table .pub-authors{font-size:15px!important;}
  .publication-page .publication-table .pub-journal,
  .publication-page .publication-table .pub-journal a{font-size:14px!important;}
}
