:root {
  /* DBIM primary palette – Burgundy group (key colour first) */
  --burgundy-900: #162f6a;   /* key colour: footer, primary actions */
  --burgundy-700: #A3BBF3;
  --burgundy-500: #DB70A6;
  --burgundy-300: #EBADCC;
  --burgundy-100: #FAEBF2;

  /* DBIM functional palette (§2.2) */
  --linen: #EBEAEA;
  --white: #FFFFFF;
  --earthy-brown: #150202;   /* text on light backgrounds */
  --grey-01: #C6C6C6;
  --grey-02: #8E8E8E;
  --grey-03: #606060;
  --link-blue: #0D6EFD;
  --success: #198754;
  --warning: #FFC107;
  --error: #DC3545;

  /* DBIM type scale (§4.3) – desktop */
  --fs-h1: 2.25rem;   /* 36px */
  --fs-h2: 1.5rem;    /* 24px */
  --fs-h3: 1.25rem;   /* 20px */
  --fs-p1: 1rem;      /* 16px */
  --fs-p2: 0.875rem;  /* 14px */
  --fs-sm: 0.75rem;   /* 12px */

  --radius: 8px;
  --focus: 0 0 0 3px var(--white), 0 0 0 6px var(--burgundy-900);

  /* Bootstrap 5 theme mapping */
  --bs-body-font-family: "Noto Sans", "Noto Sans Devanagari", system-ui, sans-serif;
  --bs-body-color: var(--earthy-brown);
  --bs-body-bg: var(--white);
  --bs-primary: #6C1340;
  --bs-primary-rgb: 108, 19, 64;
  --bs-link-color: #6C1340;
  --bs-link-color-rgb: 108, 19, 64;
  --bs-link-hover-color: #A32966;
  --bs-link-hover-color-rgb: 163, 41, 102;
  --bs-border-color: var(--grey-01);
  --bs-border-radius: var(--radius);
}

#block-unee-dbimmainmenu-3 .main-nav{background: #162f6a; border: none; overflow-x: auto; border-radius: 10px;}
#block-unee-dbimmainmenu-3 .main-nav ul{padding-left: 20px; gap: 25px;}
#block-unee-dbimmainmenu-3 .main-nav ul li a{white-space: nowrap; color: #fff; font-size: 14px; margin-right: 0;}
#block-unee-dbimmainmenu-3 .main-nav ul li.active a::before{content: ''; background: url(../images/dot-list.svg); width: 12px; height: 20px; display: inline-block; background-size: 70%; background-repeat: no-repeat; position: absolute; top: 50%; transform: translate(-50%, -50%); left: -6px;}


/* ---------- Inner banner ---------- */
/* .prose_1{padding-top: 2rem;} */
#main-content{padding-top: 3.5rem !important;}
.prose_1 ul{list-style-type: disc;}
.inner-banner-rni {
  position: relative; color: var(--white);
  min-height: 200px; display: flex; align-items: center;
  padding: 2.5rem 0 4.5rem;
  background: url("../images/prgi-inner-banner.jpg");
}
.inner-banner-rni h1 { font-size: var(--fs-h1); margin: 0; }
.inner-banner-rni .breadcrumb { --bs-breadcrumb-divider-color: var(--burgundy-300); margin-bottom: .5rem; font-size: var(--fs-p2); font-weight: 500; }
.inner-banner-rni .breadcrumb-item + .breadcrumb-item::before { content: "\F285"; font-family: "bootstrap-icons"; font-size: .7em; padding-top: .3em; }
.inner-banner-rni .breadcrumb a { color: var(--white); text-decoration: none; }
.inner-banner-rni .breadcrumb a:hover { text-decoration: underline; }
.inner-banner-rni .breadcrumb-item.active { color: var(--burgundy-300); }

/* ---------- Section navigation (overlaps the banner) ---------- */
.section-nav-wrap { position: relative; z-index: 2; margin-top: -2.25rem; }
.section-nav {
  background: var(--burgundy-900); border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(108,19,64,.25);
}
.section-nav ul {
  display: flex; gap: .25rem; list-style: none; margin: 0; padding: .5rem;
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav li { flex: none; scroll-snap-align: start; }
.section-nav a {
  display: block; padding: .75rem 1.125rem; border-radius: 6px;
  color: var(--white); font-weight: 600; font-size: var(--fs-p1); text-decoration: none; white-space: nowrap;
}
.section-nav a:hover { background: var(--burgundy-700); color: var(--white); }
.section-nav a[aria-current="page"] { background: var(--white); color: var(--burgundy-900); }
.section-nav a:focus-visible { box-shadow: 0 0 0 3px var(--burgundy-300); }

/* ---------- Main content ---------- */
/* main { padding: 3rem 0 4rem; } */
main:focus { outline: none; padding-top: 2rem !important; box-shadow: none !important;}

.prose { max-width: 72ch; }
.prose p { margin-bottom: 1.25rem; }
.prose .lead-para { font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.h-section {
  font-size: var(--fs-h2); color: var(--burgundy-900);
  margin: 2.5rem 0 1.25rem; padding-top: 1.5rem; border-top: 1px solid var(--linen);
}
.work-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem 1.5rem;
}
.work-list li { display: flex; align-items: flex-start; gap: .75rem; font-weight: 500; }
.work-list i {
  flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 50%; background: var(--burgundy-100); color: var(--burgundy-900); font-size: 1rem;
}


/* ---------- Keep the active item in view in the section menu ---------- */
/* Chrome, Edge, Safari, Opera */
#block-unee-dbimmainmenu-3 .main-nav::-webkit-scrollbar {
  height: 8px;                          /* 5px thumb + 5px gap below */
}
#block-unee-dbimmainmenu-3 .main-nav::-webkit-scrollbar-track {
  background: transparent;
  margin-inline: 10px;                   /* keeps the thumb clear of the rounded corners */
}
#block-unee-dbimmainmenu-3 .main-nav::-webkit-scrollbar-thumb {
  background: #d2dfff;
  background-clip: padding-box;          /* color only above the border */
  border-bottom: 5px solid transparent;  /* the 5px bottom gap */
}
#block-unee-dbimmainmenu-3 .main-nav::-webkit-scrollbar-thumb:hover {
  background: #a3bbf3;
  background-clip: padding-box;
}
#block-unee-dbimmainmenu-3 .main-nav::-webkit-scrollbar-button {
  display: none;                         /* removes the left/right arrows */
}

/* Firefox */
@supports not selector(::-webkit-scrollbar) {
  #block-unee-dbimmainmenu-3 .main-nav {
    scrollbar-width: thin;
    scrollbar-color: #d2dfff transparent;
  }
}

#block-unee-dbimmainmenu-3 .main-nav {
  scroll-padding-inline: 20px;
  overscroll-behavior-x: contain;
}
#block-unee-dbimmainmenu-3 .main-nav ul li {
  position: relative;
  scroll-margin-inline: 16px;
}
#block-unee-dbimmainmenu-3 .main-nav ul li:last-child{padding-right: 20px;}
#block-unee-dbimmainmenu-3 .main-nav ul li.active {
  scroll-initial-target: nearest;
}

#block-unee-dbimmainmenu-3 .main-nav ul li a:focus-visible {
  scroll-margin-inline: 16px;
}

@media (prefers-reduced-motion: no-preference) {
  #block-unee-dbimmainmenu-3 .main-nav {
    scroll-behavior: smooth;
  }
}

.prose_1 .scroll-table1 table{border: none;}
.prose_1 .scroll-table1 table tbody td:first-child, .prose_1 table tbody td:first-child {
  border-left: 1px solid #d4d4d4;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}
.prose_1 .scroll-table1 table tbody td:last-child, .prose_1 table tbody td:last-child {
  border-right: 1px solid #d4d4d4;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.prose_1 .scroll-table1 table,
.prose_1 table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;          /* DBIM: 8px vertical gap between row cards */
}

/* Header cells */
.prose_1 .scroll-table1 table thead tr>th,
.prose_1 table thead tr>th {
  background-color: var(--azureish-white);
  font-weight: 700;
  font-size: 100%;
  /* For removing scroll on x-axis */
  /* text-transform: uppercase; 
  white-space: nowrap; */ 
  color: var(--wintergreen-dream);

  /* padding: 14px 16px;           */ /* For removing scroll on x-axis */
  height: 56px;                
  line-height: 1.4;
  vertical-align: middle;
  text-align: left;
}

.prose_1 table thead tr>th:first-child { border-radius: 8px 0 0 8px; }
.prose_1 table thead tr>th:last-child  { border-radius: 0 8px 8px 0; }

.prose_1 .scroll-table1 table tbody tr,
.prose_1 table tbody tr {
  height: 55px;                 
}
.prose_1 .scroll-table1 table tbody tr>td,
.prose_1 table tbody tr>td {
  padding: 12px 16px;        
  line-height: 1.2;
  vertical-align: middle;
  border-top: 1px solid #d4d4d4;
  border-bottom: 1px solid #d4d4d4;
  padding: 10px;
  vertical-align: middle;
  font-size: 100%;
  word-wrap: break-word;
  border-left: 0px;
  border-right: 0px;
}


.prose_1 table thead tr>th:first-child,
.prose_1 table tbody tr>td:first-child {
  min-width: 30px; /*Changed from 80 to 30 for removing scroll in table*/
  padding-left: 16px;
  padding-right: 8px;
  text-align: left !important;
}

/* Existing rules (unchanged) */
.prose_1 .scroll-table1 .cols-0 table thead tr>th,
.prose_1 .cols-0 table thead tr>th {
  width: 30%;
}

.prose_1 .scroll-table1 table tbody td.views-field-field-office-number,
.prose_1 table tbody td.views-field-field-office-number {
  justify-content: end;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.prose_1 .scroll-table1 table tbody td.views-field-field-office-number p,
.prose_1 table tbody td.views-field-field-office-number p {
  text-align: right;
  align-self: flex-end;
  margin: 0;
}

.prose_1 .scroll-table1 table tbody td.views-field-field-room-no,
.prose_1 table tbody td.views-field-field-room-no,
.prose_1 .scroll-table1 table tbody td.views-field-field-epbx-no,
.prose_1 table tbody td.views-field-field-epbx-no {
  text-align: right;
}
.pdf-icon{width: 24px;}


/* Mobile: slightly tighter spacing */
@media (max-width: 767px) {
  .prose_1 table thead tr>th { padding: 12px; height: 48px; }
  .prose_1 table tbody tr>td { padding: 10px 12px; }
  .prose_1 table tbody tr   { height: 56px; }
}


/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199.98px) {
  .main-nav .nav-link { padding: 1rem .875rem !important; font-size: 1rem; }
}

/* Tablet and mobile: collapsed navigation */
@media (max-width: 991.98px) {
  .brand-name { font-size: 1rem; }
  .main-nav .navbar-collapse { border-top: 1px solid var(--linen); padding: .5rem 0 1rem; }
  .main-nav .nav-link { padding: .75rem .5rem !important; border-bottom: 1px solid var(--linen); }
  .main-nav .nav-link.active::after { top: 0; bottom: 0; left: 0; right: auto; width: 4px; height: auto; }
  .main-nav .dropdown-toggle::after { float: right; }
  .main-nav .dropdown-menu { border: 0; box-shadow: none; padding-left: .75rem; }
  .main-nav { border-bottom: 2px solid var(--burgundy-900); }

  .inner-banner-rni { min-height: 210px; }
}

/* DBIM mobile type scale (§4.3.2) */
@media (max-width: 767.98px) {
  :root {
    --fs-h1: 1.5rem;     /* 24px */
    --fs-h2: 1.25rem;    /* 20px */
    --fs-h3: 1rem;       /* 16px */
    --fs-p1: .875rem;    /* 14px */
    --fs-p2: .75rem;     /* 12px */
    --fs-sm: .625rem;    /* 10px */
  }
  .util-bar { font-size: .75rem; }
  .util-link, .util-btn { font-size: .75rem; padding: 0 .375rem; }
  .util-tools { gap: 0; }
  .brand-logo { width: 44px; height: 44px; }
  .brand-name-hi { display: none; }
  .brand-name { font-size: .9375rem; }
  .brand-sub { font-size: .6875rem; }

  .inner-banner-rni {
    min-height: 180px; padding: 2rem 0 3.75rem;
    background-position: 70% center;
  }
  .section-nav-wrap { margin-top: -1.75rem; padding-inline: 0; }
  .section-nav { border-radius: 0; }
  .section-nav a { padding: .625rem .875rem; }

  main { padding: 2rem 0 3rem; }
  .prose .lead-para { font-size: 1rem; }
  .work-list { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
