/* =====================================================================
   ICHR — Heritage theme (2026), terracotta / saffron palette
   Loaded after core-ui.min.css + style.css; overrides look, not content.
   ===================================================================== */

:root,
:root.saffron,
:root.maroon,
:root.orange {               /* "orange" kept so old saved preference still works */
    --brand: #a8481f;          /* terracotta */
    --brand-dark: #6f2c10;
    --brand-soft: #fcefe5;
    --accent: #e09a2d;         /* saffron gold */
    --accent-soft: #fbedd5;
    --ink: #2a1c14;
    --muted: #6a5a4f;
    --line: #eedfcf;
    --surface: #ffffff;
    --page: #fbf5ec;
    --radius: 12px;
    --shadow: 0 8px 28px rgba(54, 26, 12, .08);
    --shadow-hover: 0 14px 34px rgba(54, 26, 12, .16);
    --font-body: 'Noto Sans', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --font-head: 'Noto Serif', 'Noto Serif Devanagari', Georgia, serif;

    /* legacy variables used across style.css */
    --bg-color: var(--brand);
    --text-color: #fff;
    --heading-font: var(--font-head);
}
:root.indigo {
    --brand: #16365c;
    --brand-dark: #0d2340;
    --brand-soft: #e9eff7;
    --accent: #c9952f;
}
:root.green {
    --brand: #2c5b3c;
    --brand-dark: #1d3f28;
    --brand-soft: #e8f1eb;
    --accent: #b8892d;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body,
body.body-background {
    background: var(--page);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 15.5px;
    line-height: 1.65;
}
h1, h2, h3, h4, h5, h6,
.Ichr-headings, .heading-text-pages, .upcoming-events h2,
.profile-type, .card-body h6, .card-body strong {
    font-family: var(--font-head);
    color: var(--ink);
}
a { color: var(--brand); }
a:hover, a:focus { color: var(--brand-dark); }
:focus-visible {
    outline: 3px solid var(--accent) !important;
    outline-offset: 2px;
}
button:focus-visible { outline: 3px solid var(--accent) !important; }
::selection { background: var(--accent-soft); color: var(--ink); }

/* text size control (A- / A / A+) */
html[data-fs="-1"] body { zoom: .92; }
html[data-fs="1"]  body { zoom: 1.1; }
html[data-fs="2"]  body { zoom: 1.2; }

/* high contrast mode */
html[data-contrast="high"] body,
html[data-contrast="high"] .container,
html[data-contrast="high"] .bg-white,
html[data-contrast="high"] .card,
html[data-contrast="high"] .card-header,
html[data-contrast="high"] .home-section,
html[data-contrast="high"] .anual-reportarea,
html[data-contrast="high"] .owl-item {
    background: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: none !important;
}
html[data-contrast="high"] *:not(img):not(iframe):not(video) { color: #fff !important; }
html[data-contrast="high"] a,
html[data-contrast="high"] a * { color: #ffeb3b !important; text-decoration: underline; }
html[data-contrast="high"] .main-nav,
html[data-contrast="high"] .dropdown-menu,
html[data-contrast="high"] .site-footer,
html[data-contrast="high"] .gov-strip { background: #000 !important; }

/* ---------- skip link ---------- */
.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 2000;
    background: var(--accent);
    color: #1b1206;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 0 0 8px 8px;
    transition: top .2s;
}
.skip-link:focus { top: 0; color: #1b1206; }

/* ---------- top strip ---------- */
.gov-strip {
    background: var(--brand-dark);
    color: #f4e9dd;
    font-size: 13px;
}
.gov-strip .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 16px;
    min-height: 40px;
    padding-top: 4px;
    padding-bottom: 4px;
}
.gov-strip .head-information { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.gov-strip .head-information li { margin: 0; line-height: 1.6; }
.gov-strip .head-information li a {
    color: #f4e9dd;
    text-decoration: none;
    font-weight: 500;
}
.gov-strip .head-information li a:hover { color: #fff; text-decoration: underline; }
.gov-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.tool-group { display: flex; align-items: center; gap: 4px; }
.tool-label { opacity: .85; margin-right: 2px; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.tool-btn {
    min-width: 30px;
    height: 28px;
    padding: 0 7px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.tool-btn:hover, .tool-btn[aria-pressed="true"] { background: rgba(255, 255, 255, .16); }
.gov-strip button#playPauseBtn { padding: 0 6px; }
.gov-strip button#playPauseBtn img { width: 16px; filter: brightness(0) invert(1); }
.theme-color-list { gap: 5px; line-height: 1; }
.gov-strip .theme-btn,
button.theme-btn.indigo, button.theme-btn.orange, button.theme-btn.green, button.theme-btn.saffron {
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 0 !important;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .85);
    cursor: pointer;
}
button.theme-btn.saffron { background: #a8481f; }
button.theme-btn.indigo { background: #16365c; }
button.theme-btn.green  { background: #2c5b3c; }
.gov-strip #google_translate_element .goog-te-gadget-simple {
    border-radius: 6px;
    border: 0 !important;
    padding: 2px 6px !important;
    font-size: 12px !important;
}
.gov-strip .bhashini-plugin-container { border-radius: 6px; overflow: hidden; }

/* ---------- logo header ---------- */
.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
}
.site-header .ichr-logo img { max-height: 78px; padding: 0; }
.site-header .ichr-government-logo-promote { gap: 18px; }
.site-header .ichr-sect-2 img { max-height: 62px; padding: 0; }

/* ---------- main navigation ---------- */
.main-nav {
    background: var(--brand);
    padding: 0;
    box-shadow: 0 2px 0 var(--accent), 0 6px 18px rgba(0, 0, 0, .12);
}
.main-nav .container { padding-left: 15px; padding-right: 15px; }
.main-nav .navbar-brand { display: none; }
.main-nav .ichr-navbar { background: transparent; }
.main-nav .navbar-nav .nav-item { background: transparent; }
.main-nav .navbar-nav .nav-link,
.navbar-light .navbar-nav .nav-link {
    color: #fff !important;
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .3px;
    text-transform: none;
    padding: 15px 11px;
    position: relative;
    white-space: nowrap;
}
.main-nav .ichr-login, .main-nav .ichr-login a { white-space: nowrap; padding-right: 0; }
.main-nav .navbar-nav .nav-link::before {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 8px;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .2s;
}
.main-nav .navbar-nav .nav-item:hover > .nav-link::before,
.main-nav .navbar-nav .nav-item.active > .nav-link::before { transform: scaleX(1); }
.main-nav .nav-item.active { background: rgba(0, 0, 0, .18); }
.main-nav .dropdown-menu {
    border-radius: 0 0 10px 10px;
    border-top: 3px solid var(--accent) !important;
    padding: 6px 0;
    margin-top: 0;
    top: 100%;
    min-width: 250px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
}
.main-nav .dropdown-item {
    font-size: 14px;
    padding: 8px 18px;
    color: var(--ink);
    white-space: normal;
}
.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
    background: var(--brand-soft);
    color: var(--brand);
}
.main-nav .ichr-login a { color: #fff; text-transform: none; font-size: 13.5px; font-weight: 600; }
.main-nav .navbar-toggler {
    border: 1px solid rgba(255, 255, 255, .5);
    margin: 8px 0;
    top: 0 !important;
    float: none;
    background: rgba(255, 255, 255, .1);
}
.main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.mobile-nav-title { display: none; color: #fff; font-weight: 600; font-size: 14px; }

/* ---------- page wrapper ---------- */
[role="main"].container,
.container.bg-white {
    background: var(--surface);
}
[role="main"].container {
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
    margin-bottom: 28px;
    padding-bottom: 12px;
    overflow-x: clip;     /* some pages put a .row straight in the container */
}

/* ---------- inner page hero ---------- */
.common-banner-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--brand-dark);
}
.common-banner-wrapper > img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    opacity: .38;
    filter: grayscale(.25);
}
.common-banner-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, var(--brand-dark) 0%, rgba(0, 0, 0, 0) 75%);
    opacity: .85;
    pointer-events: none;
}
.banner-outer-wrapper {
    top: 50% !important;
    transform: translateY(-60%);
    left: 0;
    padding: 0 32px !important;
    z-index: 2;
}
.common-banner-heading,
.common-banner-heading h1 {
    font-family: var(--font-head);
    font-size: 32px !important;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}
.common-banner-text {
    color: #f3dfb8;
    font-size: 15px !important;
    font-weight: 500;
    letter-spacing: .6px;
    text-transform: uppercase;
    margin-top: 6px;
}
.common-banner-text::before {
    content: "";
    display: inline-block;
    width: 34px;
    height: 2px;
    background: var(--accent);
    vertical-align: middle;
    margin-right: 10px;
}
.banner-jumbotron {
    left: 32px;
    bottom: 18px !important;
    background: rgba(255, 255, 255, .14) !important;
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(4px);
    border-radius: 999px;
    padding: 6px 16px !important;
    font-size: 13px !important;
    z-index: 2;
}
.breadcrumb-item, .breadcrumb-item a, .jumbotron-text a { color: #fff !important; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--accent); content: "›"; }

/* ---------- headings & text ---------- */
.Ichr-headings {
    color: var(--ink);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
}
.Ichr-headings::after,
.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    border-radius: 3px;
    background: var(--accent);
    margin-top: 8px;
}
.text-center.Ichr-headings::after,
.text-center .Ichr-headings::after,
.section-head.text-center .section-title::after { margin-left: auto; margin-right: auto; }
.text-content, .ichr-text-list li, .study-list p { color: #33302c; font-size: 15.5px; line-height: 1.8; }
.ichr-text-list,
[role="main"] .col-12 > ul:not([class]) { padding-left: 34px; }
.ichr-text-list > li,
[role="main"] .col-12 > ul:not([class]) > li { position: relative; margin-bottom: 8px; }
.ichr-text-list > li::before,
[role="main"] .col-12 > ul:not([class]) > li::before {
    content: "";
    position: absolute;
    left: -18px;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

/* ---------- cards ---------- */
.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.card.login {
    border-top: 0;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .2s, box-shadow .2s;
    height: calc(100% - 24px);
}
.card.login:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card.login .card-header {
    background: linear-gradient(180deg, var(--brand-soft), #fff);
    border-bottom: 0;
}
.governg-council-img {
    width: 128px;
    height: 128px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px var(--accent);
}
.card.user-detail-card {
    border-top: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow) !important;
}
.shadow-lg { box-shadow: var(--shadow) !important; }
.card-header {
    background: var(--brand-soft);
    border-bottom: 1px solid var(--line);
}
.accordion .card-header { font-weight: 600; color: var(--ink); }
.accordion .card-header:after { color: var(--brand); }

/* annual report / download tiles */
.anual-reportarea {
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: var(--radius);
    border-left: 4px solid var(--brand);
    overflow: hidden;
}
.anual-report-hding { color: var(--brand); font-family: var(--font-head); }
.anual-report-yr { color: var(--muted); }
.report-download { color: var(--brand); border-color: var(--brand); }
.anual-pdficon { color: var(--brand); }
a:hover .anual-reportarea { background: var(--brand); transform: translateY(-2px); }

/* buttons */
.ichr-book-buy-btn, a.view-more, a.regional-center-btn, a.ICHR-book-buy-now-btn, .btn-ichr-card {
    background: var(--brand);
    color: #fff;
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: background .2s, transform .2s;
}
.ichr-book-buy-btn:hover, a.view-more:hover, a.regional-center-btn:hover, a.ICHR-book-buy-now-btn:hover {
    background: var(--brand-dark);
    color: #fff;
    transform: translateY(-1px);
}
.read-more-show, .read-more-hide { background: var(--accent); color: #1b1206 !important; border-radius: 4px; font-weight: 600; }

/* tables */
.table { background: #fff; }
.table thead th, .mou-table table thead, table thead tr {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand-dark);
}
.table-striped tbody tr:nth-of-type(odd) { background: var(--brand-soft); }
.table td, .table th { vertical-align: middle; }

/* forms */
.form-control { border-radius: 8px; border-color: var(--line); }
.form-control:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }

/* misc existing blocks */
.ichr-ms-contact { border-color: var(--line); border-radius: var(--radius); }
.subsidy-card { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.online-wrapper { border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.fa.fa-file-pdf-o { color: #c0392b; }
.chairman-profile-page.nav-pills { border-bottom: 3px solid var(--accent); }
.profile-card { background: linear-gradient(to right, var(--accent), var(--brand)); }
.map-name { background: var(--brand); border-radius: 8px 8px 0 0; }

/* =====================================================================
   Home page
   ===================================================================== */
.home-hero { padding-top: 22px; padding-bottom: 22px; }
.home-hero .hero-slider {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #111;
    position: relative;
}
.home-hero #top-banner .item img {
    width: 100%;
    height: 440px;
    max-height: none;
    object-fit: cover;
}
.home-hero .banner-content {
    background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .35) 80%, transparent);
    padding: 40px 22px 18px;
    font-size: 14.5px;
    letter-spacing: .2px;
}
/* owl moves the arrow labels into its own .owl-nav buttons */
.home-hero .owl-nav button.owl-prev,
.home-hero .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    margin: -21px 0 0;
    padding: 0 !important;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92) !important;
    color: var(--brand) !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.home-hero .owl-nav button.owl-prev { left: 14px; }
.home-hero .owl-nav button.owl-next { right: 14px; }
.home-hero .owl-nav button label { margin: 0; cursor: pointer; display: flex; }
.home-hero .owl-nav button i,
.home-hero .owl-nav button i.fa.fa-angle-left,
.home-hero .owl-nav button i.fa.fa-angle-right {
    transform: none;
    background: transparent;
    color: var(--brand);
    font-size: 26px;
    width: auto;
    height: auto;
    padding: 0;
    line-height: 1;
    opacity: 1;
    position: static;
}
.home-hero .owl-nav button:hover { background: var(--accent) !important; }

.notice-panel {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.notice-panel .upcoming-events { flex: 1; display: flex; flex-direction: column; }
.notice-panel .upcoming-events h2 {
    margin: 0;
    padding: 14px 18px;
    background: var(--brand);
    color: #fff !important;
    font-size: 18px;
    border: 0 !important;
}
.notice-panel .upcoming-events h2::before {
    content: "\f0a1";
    font-family: 'FontAwesome';
    margin-right: 10px;
    color: var(--accent);
}
.notice-panel .upcoming-events marquee { height: 386px; padding: 10px 14px 0; }
.upcoming-events .event { border-bottom: 1px dashed var(--line); }
.upcoming-events .event .date {
    width: 56px;
    height: 58px;
    border-radius: 10px;
    background: var(--brand-soft) !important;
    color: var(--brand) !important;
    border: 1px solid var(--line);
}
.upcoming-events .event .date .day { color: var(--brand); font-weight: 700; font-size: 13px; top: 8px; }
.upcoming-event-text a { color: var(--ink); font-size: 13.5px; }
.upcoming-event-text a:hover { color: var(--brand); }

.ticker {
    display: flex;
    align-items: stretch;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--surface);
}
.ticker .notification-text {
    background: var(--accent);
    color: #1b1206;
    font-style: normal;
    font-weight: 700;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    letter-spacing: .4px;
}
.ticker .notification-slide { background: var(--surface); color: var(--ink); flex: 1; }

.home-section { padding: 46px 0 10px; }
.home-section.alt { background: linear-gradient(180deg, var(--brand-soft), transparent); }
.section-head { margin-bottom: 26px; }
.section-head .section-title {
    font-family: var(--font-head);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: var(--ink);
}

/* leadership cards */
.leader-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    padding: 28px 20px 24px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}
.leader-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 74px;
    background: linear-gradient(120deg, var(--brand), var(--brand-dark));
}
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.leader-card .leader-photo {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 14px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 0 2px var(--accent), 0 8px 18px rgba(0, 0, 0, .15);
    overflow: hidden;
    background: #fff;
}
.leader-card .leader-photo img { width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; }
.leader-card .card-user-name { font-family: var(--font-head); font-size: 18px; }
.leader-card .card-user-profile { color: var(--brand); font-weight: 600; letter-spacing: .3px; }

/* latest / notice lists */
.list-panel {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
    overflow: hidden;
}
.list-panel h2 {
    margin: 0;
    padding: 16px 20px;
    font-size: 20px;
    background: var(--brand-soft);
    border-bottom: 1px solid var(--line);
    color: var(--brand);
}
.list-panel .latest-ichr-content {
    border: 0;
    box-shadow: none !important;
    border-radius: 0;
    max-height: 360px;
    overflow-y: auto;
    padding: 12px 18px !important;
    min-height: 260px !important;
}
.list-panel ul { padding-left: 18px; margin: 0; }
.list-panel ul li { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.list-panel ul li::marker { color: var(--accent); }
.list-panel .latest-ichr-content a { color: var(--ink); line-height: 1.6; }
.list-panel .latest-ichr-content a:hover { color: var(--brand); }

/* quick links grid */
.quick-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.quick-grid > li { padding: 0; max-width: none; flex: 0 0 172px; margin: 0 !important; }
.quick-grid .home-icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    height: 100%;
    padding: 22px 12px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.quick-grid .home-icons { height: 100%; }
.quick-grid .home-icons a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent);
}
.quick-grid .home-icons img {
    max-height: none;
    width: 72px;
    height: 72px;
    object-fit: contain;
    padding: 14px;
    border-radius: 50%;
    background: var(--brand-soft);
    max-width: none;
}
.quick-grid .home-icon-name { margin: 0; color: var(--ink); font-size: 12.5px; font-weight: 600; letter-spacing: .3px; }

/* e-office / tools tiles */
.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; list-style: none; margin: 0; padding: 0; }
.tools-grid > li { flex: 0 1 200px; max-width: none; padding: 0; }
.tools-grid .academic-wrapper {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow) !important;
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.tools-grid .academic-wrapper:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover) !important; }
.tools-grid .academic-wrapper img { height: 110px; object-fit: contain; padding: 14px; }
.tools-grid .ichr-office-acadmy-text { margin: 0; height: 46px; background: var(--brand); font-size: 12.5px; letter-spacing: .4px; }

/* digital library */
.library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.library-grid > li { max-width: none; padding: 0; }
.library-grid .Ichr-library a { display: block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.library-grid .Ichr-library img { width: 100%; height: 150px; object-fit: cover; transition: transform .35s; }
.library-grid .Ichr-library a:hover img { transform: scale(1.06); }
.library-grid .ichr-library-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    height: auto;
    min-height: 44px;
    padding: 18px 10px 10px;
    background: linear-gradient(0deg, var(--brand-dark), transparent) !important;
    font-size: 12.5px;
    letter-spacing: .5px;
    white-space: normal;
}

/* publications */
#ichr-publication { padding: 6px 4px 14px !important; }
#ichr-publication .owl-item { background: transparent; box-shadow: none; padding: 0 4px; display: flex; }
#ichr-publication .owl-stage { display: flex; }
#ichr-publication .ichr-publication-wrapper { display: flex; flex-direction: column; width: 100%; }
#ichr-publication .ichr-publication-wrapper .ichr-book-buy-btn { margin-top: auto; }
#ichr-publication .ichr-publication-wrapper {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 14px 20px;
    min-height: 390px;
    border: 1px solid var(--line);
}
#ichr-publication .ichr-publication-wrapper img {
    max-width: 130px;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 6px 8px 16px rgba(0, 0, 0, .22);
    margin-bottom: 10px;
}
.ichr-publication-bookname { font-family: var(--font-head); }
.book-price { color: var(--brand); font-weight: 700; }
.more-books { display: flex; justify-content: center; margin-top: 18px; }
.more-books .ichr-book-buy-btn { width: auto; padding: 10px 28px; font-size: 13px; }

/* maps */
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.map-card .map-name { border-radius: 0; padding: 10px 0; font-family: var(--font-head); }
.map-card iframe { display: block; height: 280px; }

/* =====================================================================
   Footer
   ===================================================================== */
.partners { padding: 30px 0 34px; background: var(--surface); border-top: 1px solid var(--line); overflow: hidden; }
.partners .ichr-footer-logo-icon { display: flex; align-items: center; justify-content: center; height: 80px; padding: 6px 10px; }
.partners .ichr-footer-logo-icon img { max-height: 70px; width: auto; max-width: 100%; filter: grayscale(.2); }
.partners .slider_nav label { display: none; }

.site-footer {
    background: #2a140b;
    background-image: linear-gradient(180deg, var(--brand-dark), #2a140b);
    color: #e9ddd2;
    padding-top: 46px;
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #e6c174, var(--accent));
}
.site-footer .footer-brand img { max-width: 320px; }
.site-footer p, .site-footer .footer-widget p { color: #d9ccc0; font-size: 14px; line-height: 1.75; text-align: left; }
.site-footer .footercol-head h2 {
    color: #fff;
    font-family: var(--font-head);
    font-size: 17px;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer .footer-menu ul li { margin-bottom: 9px; }
.site-footer .footer-menu ul li a { color: #e9ddd2; font-size: 14px; }
.site-footer .footer-menu ul li a::before { content: "\f105"; font-family: 'FontAwesome'; color: var(--accent); margin-right: 8px; }
.site-footer .footer-menu ul li a:hover { color: #fff; padding-left: 2px; }
.site-footer .footer-address-info, .site-footer label { color: #e9ddd2 !important; font-size: 14px; }
.site-footer .footer-address-info .fa { color: var(--accent); width: 18px; }
.site-footer .footer-address-info a { color: #fff; }
.visitor-badge {
    display: inline-block;
    margin-top: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
}
.site-footer .follow-row {
    margin-top: 26px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.site-footer .footer-icon-heading { color: #fff; font-size: 15px; font-family: var(--font-head); }
.site-footer .social-buttons { margin: 0; }
.site-footer .social-button { width: 40px; height: 40px; }
.site-footer .social-button__inner { border-radius: 50%; }
.site-footer .social-button::after { border-radius: 50%; }
.site-footer .social-button i { font-size: 18px; }
.ltn__copyright-area.ltn__copyright-2 { background: #1c0d07 !important; }
.ltn__copyright-design p { color: #bfb2a6; font-size: 13px; padding: 10px 0; text-align: center; }
.back-to-top { background: var(--accent); color: #1b1206; border-radius: 50%; width: 46px; height: 46px; padding: 0; line-height: 46px; text-align: center; border: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.back-to-top:hover { background: var(--brand); color: #fff; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1199.98px) {
    .main-nav .navbar-nav .nav-link { font-size: 12.5px; padding: 15px 9px; }
}
@media (max-width: 991.98px) {
    .site-header .ichr-sect-2 { display: none; }
    .site-header .ichr-logo img { max-height: 60px; }
    .main-nav .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
    .mobile-nav-title { display: block; }
    .main-nav .navbar-nav .nav-link { font-size: 14px; padding: 11px 6px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .main-nav .navbar-nav .nav-link::before { display: none; }
    .main-nav .dropdown-menu { box-shadow: none; border-top: 0 !important; border-radius: 8px; margin: 4px 0 8px; }
    .main-nav .ichr-navbar { width: 100%; padding-bottom: 10px; }
    .dropdown:hover > .dropdown-menu { display: none; }
    .dropdown.show > .dropdown-menu { display: block; }
    /* style.css blocks taps on the toggle (meant for desktop hover menus) */
    .dropdown > .dropdown-toggle:active { pointer-events: auto; }
    .main-nav .cart-login { padding: 6px 6px 0; }
    .home-hero #top-banner .item img { height: 300px; }
    .notice-panel { margin-top: 18px; }
    .notice-panel .upcoming-events marquee { height: 280px; }
    .common-banner-heading, .common-banner-heading h1 { font-size: 24px !important; }
}
@media (max-width: 767.98px) {
    .gov-strip .container { justify-content: center; }
    .gov-tools { justify-content: center; }
    .common-banner-wrapper > img { height: 190px; }
    .banner-outer-wrapper { padding: 0 18px !important; }
    .banner-jumbotron { left: 18px; right: 18px; border-radius: 10px; }
    .section-head .section-title { font-size: 23px; }
    .home-hero .hero-slider { background: var(--brand-dark); }
    .home-hero #top-banner .item img { height: 220px; }
    .home-hero .banner-content {
        position: static;
        background: var(--brand-dark);
        font-size: 13px !important;
        line-height: 1.6;
        padding: 12px 14px;
    }
    .home-hero .owl-nav button.owl-prev,
    .home-hero .owl-nav button.owl-next { top: 110px; width: 34px; height: 34px; margin-top: -17px; }
    .quick-grid { gap: 12px; }
    .quick-grid > li { flex-basis: calc(50% - 6px); }
    .tools-grid > li { flex-basis: calc(50% - 9px); }
    .site-footer .footer-brand img { max-width: 240px; }
    /* wide data tables scroll sideways instead of stretching the page */
    [role="main"] table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 420px) {
    .tool-label { display: none; }
    .site-header .ichr-logo img { max-height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   Larger reading text (site-wide)
   ===================================================================== */
body, body.body-background { font-size: 17px; }
[role="main"] p,
[role="main"] li,
[role="main"] td,
[role="main"] th,
[role="main"] label,
[role="main"] .text-content,
[role="main"] .ichr-text-list li,
[role="main"] .study-list p,
[role="main"] .card-body,
[role="main"] .anual-report-yr { font-size: 16.5px; line-height: 1.75; }
[role="main"] .anual-report-hding,
[role="main"] .card.user-detail-card h5,
[role="main"] .card.user-detail-card h6,
[role="main"] .card-body h6 { font-size: 17px; }
[role="main"] .breadcrumb-item { font-size: 14px; }
.home-hero .banner-content,
.home-hero .banner-content p { font-size: 15.5px; line-height: 1.65; }
.upcoming-event-text a { font-size: 15px; }
.upcoming-events .event .date .day { font-size: 14px; }
.list-panel .latest-ichr-content, .list-panel .latest-ichr-content a { font-size: 16px; }
.quick-grid .home-icon-name { font-size: 13.5px; }
.tools-grid .ichr-office-acadmy-text { font-size: 13.5px; }
.library-grid .ichr-library-name { font-size: 13.5px; }
.ichr-publication-bookname { font-size: 16.5px !important; }
.ichr-publication-author, .book-price { font-size: 14.5px !important; }
.leader-card .card-user-name { font-size: 19px; }
.leader-card .card-user-profile { font-size: 15.5px; }
.ichr-book-buy-btn { font-size: 13.5px; }
.main-nav .navbar-nav .nav-link, .navbar-light .navbar-nav .nav-link { font-size: 14.5px; }
.main-nav .dropdown-item { font-size: 15px; }
.gov-strip { font-size: 14px; }
.site-footer p, .site-footer .footer-widget p,
.site-footer .footer-menu ul li a,
.site-footer .footer-address-info, .site-footer label { font-size: 15.5px; }
.site-footer .footercol-head h2 { font-size: 18.5px; }
.ltn__copyright-design p { font-size: 14px; }
.quick-section { padding-top: 18px; }

@media (max-width: 1199.98px) {
    .main-nav .navbar-nav .nav-link { font-size: 13px; padding: 15px 8px; }
}
@media (max-width: 991.98px) {
    .main-nav .navbar-nav .nav-link { font-size: 15.5px; }
}
@media (max-width: 767.98px) {
    .home-hero .banner-content, .home-hero .banner-content p { font-size: 14.5px !important; }
}

/* =====================================================================
   Refinements (Nov 2026)
   ===================================================================== */
/* hero: banner art is 1358x615 with text in its top band, so show it whole */
.home-hero #top-banner .item img { height: auto; aspect-ratio: 1358 / 615; }
.home-hero .row { align-items: stretch; }

/* notifications: main.js swaps the <marquee> for this scroller, which starts
   filled, pauses on hover / keyboard focus and has a pause button (GIGW) */
.notice-panel { position: relative; }
.notice-panel .upcoming-events h2 { padding-right: 56px; }
.notice-scroll {
    position: relative;
    flex: 1 1 0;
    min-height: 220px;
    overflow: hidden;
    padding: 10px 14px 0;
}
.notice-scroll ul { margin: 0; padding: 0 0 6px; list-style: none; }
.notice-scroll .event { padding-bottom: 4px; }
.notice-scroll.is-moving .notice-track { animation: notice-up var(--notice-dur, 30s) linear infinite; }
.notice-scroll.is-moving:hover .notice-track,
.notice-scroll.is-moving:focus-within .notice-track,
.notice-scroll.is-paused .notice-track { animation-play-state: paused; }
.notice-scroll.is-static { overflow-y: auto; }
.notice-scroll::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 34px;
    background: linear-gradient(rgba(255, 255, 255, 0), var(--surface));
    pointer-events: none;
}
@keyframes notice-up { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.notice-toggle {
    position: absolute;
    top: 11px;
    right: 12px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}
.notice-toggle:hover { background: var(--accent); border-color: var(--accent); color: #1b1206; }

/* leadership cards: buttons line up even when a name runs to two lines */
.leader-card { display: flex; flex-direction: column; }
.leader-card .leader-body { flex: 1; display: flex; flex-direction: column; align-items: center; }
.leader-card .leader-body .ichr-book-buy-btn { margin-top: auto; }
.leader-card .padma-shri-text {
    display: block;
    margin-top: 2px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: .3px;
}

/* quick links: balanced rows (5 + 4 on desktop, 3 x 3 on tablet) */
@media (min-width: 992px) {
    .quick-grid > li { flex: 0 0 calc((100% - 64px) / 5); max-width: 210px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
    .quick-grid > li { flex: 0 0 calc((100% - 32px) / 3); }
}
.quick-grid .home-icons a { position: relative; overflow: hidden; }
.quick-grid .home-icons a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform .2s;
}
.quick-grid .home-icons a:hover::after,
.quick-grid .home-icons a:focus-visible::after { transform: scaleX(1); }

/* latest / notice: the panel grows with its list instead of a fixed box */
.list-panel .latest-ichr-content { min-height: 120px !important; }

@media (max-width: 991.98px) {
    .notice-scroll { flex: none; height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
    .notice-scroll.is-moving .notice-track { animation: none; }
}
