/* Developed by Sachin Kanojia */
body {
  background: #ffffff;
  color: #333333;
  font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  max-width: 1100px;
  margin: 0 auto;
}

.ignou-title {
  color: #087eb5;
  font-size: 34px;
  font-weight: normal;
}

.ignou-menu {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(#37a5d1, #0875a9);
}

.ignou-menu a {
  display: block;
  color: #ffffff;
  padding: 12px 10px;
  text-decoration: none;
  border-right: 1px solid #ffffff55;
  font-weight: bold;
}

.ignou-menu a:hover {
  background: #075d87;
}

.ignou-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.ignou-home-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 10px;
}

.ignou-panel {
  background: #f2f7fa;
  border: 1px solid #d6e2e8;
  padding: 12px;
  margin-bottom: 10px;
}

.ignou-panel h2 {
  color: #777777;
  font-size: 22px;
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 15px;
}

.ignou-panel p {
  padding: 0px 12px;
}

@media (max-width: 768px) {
  .ignou-home-grid {
    grid-template-columns: 1fr;
  }

  .ignou-menu a {
    padding: 10px 8px;
  }
}

.ignou-site {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.ignou-header {
  padding: 24px 18px;
  border-bottom: 4px solid #1689bd;
}

.ignou-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ignou-logo-mark {
  width: 82px;
  height: 82px;
  border: 3px solid #087eb5;
  border-radius: 50%;
  color: #087eb5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 17px;
  flex-shrink: 0;
}

.ignou-title {
  font-size: 25px;
  color: #087eb5;
  line-height: 1.4;
}

.ignou-subtitle {
  margin-top: 5px;
  font-size: 20px;
  color: #555;
}

.ignou-menu {
  display: flex;
  flex-wrap: wrap;
  background: #087db1;
}

.ignou-menu a {
  color: white;
  padding: 13px 12px;
  text-decoration: none;
  font-weight: bold;
}

.ignou-menu a:hover {
  background: #07577e;
}

.ignou-main {
  padding: 18px;
  min-height: 380px;
}

.ignou-footer {
  background: #087db1;
  color: white;
  text-align: center;
  padding: 18px;
  margin-top: 20px;
}

@media (max-width: 700px) {
  .ignou-brand { align-items: flex-start; }
  .ignou-logo-mark { width: 58px; height: 58px; font-size: 12px; }
  .ignou-title { font-size: 18px; }
  .ignou-subtitle { font-size: 16px; }
  .ignou-menu { flex-direction: column; }
}

.ignou-home-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.9fr;
  gap: 12px;
  margin-top: 12px;
}

.ignou-panel {
  background: #f2f7fa;
  border: 1px solid #d6e2e8;
  padding: 12px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

.ignou-panel h2 {
  border-bottom: 1px solid #d6e2e8;
  padding-bottom: 6px;
}

.ignou-panel a {
  color: #087db1;
}

@media (max-width: 768px) {
  .ignou-home-grid {
    grid-template-columns: 1fr;
  }
}

/* Hide the default node content on the front page */
.path-frontpage .node--type-event {
  display: none;
}

.path-frontpage .ignou-main > .contextual {
  display: none;
}

/* IGNOU Delhi-1 homepage banner and content panels */
.ignou-banner-area {
  width: 100%;
  margin: 14px 0;
  overflow: hidden;
  border: 1px solid #d6e2e8;
  border-radius: 5px;
}

.ignou-banner-area img {
  display: block;
  width: 100%;
  height: auto;
}

.ignou-home-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.ignou-panel h2 {
  background: #087db1;
  color: #fff;
  padding: 0px 12px;
  font-size: 18px;
}

.ignou-panel ul {
  padding-left: 20px;
}

.ignou-panel li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .ignou-home-grid {
    grid-template-columns: 1fr;
  }
}

/* IGNOU RC Delhi-1 homepage finishing */
.ignou-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 0px;
}

.ignou-panel {
  background: #fff;
  border: 1px solid #d5e3eb;
  border-radius: 3px;
  padding: 12px;
  margin-bottom: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

.ignou-panel a {
  color: #087db1;
  text-decoration: none;
}

.ignou-panel a:hover {
  text-decoration: underline;
}

.ignou-footer {
  margin-top: 0px;
  font-size: 14px;
}

/* IGNOU RC Delhi-1 header */
.ignou-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 5px 24px;
  background: #fff;
  border-bottom: 4px solid #087db1;
}

.ignou-logo img {
  width: 85px;
  height: auto;
  display: block;
}

@media (max-width: 600px) {
  .ignou-header {
    gap: 12px;
    padding: 14px;
  }

  .ignou-logo img {
    width: 60px;
  }
}


/* Main navigation - IGNOU blue menu */
.ignou-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: #07549a;
  width: 100%;
  margin: 0;
  padding: 0;
}

.ignou-nav a {
  display: block;
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  background-color: transparent;
}

.ignou-nav a:hover,
.ignou-nav a:focus {
  background-color: #003b70;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .ignou-nav a {
    padding: 11px 12px;
    font-size: 14px;
  }
}

/* About Us two-column layout */
.about-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 25px auto;
  padding: 0;
  min-height: 400px;
}

.about-sidebar {
  background: #f3f6f9;
  border: 1px solid #d6e0e9;
  align-self: start;
}

.about-sidebar h3 {
  background: #07549a;
  color: #fff;
  padding: 14px;
  margin: 0;
}

.about-sidebar a {
  display: block;
  padding: 12px 14px;
  color: #07549a;
  text-decoration: none;
  border-bottom: 1px solid #d6e0e9;
}

.about-sidebar a:hover {
  background: #07549a;
  color: #fff;
}

.about-content {
  min-width: 0;
  padding: 18px;
  background: #fff;
}

@media (max-width: 700px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}


/* Compact About Us sidebar menu */
.about-sidebar h3 {
  font-size: 15px;
  padding: 9px 12px;
}

.about-sidebar a {
  font-size: 14px;
  line-height: 1.35;
  padding: 7px 10px;
  margin: 0;
  border-bottom: 1px solid #d6e0e9;
}

.about-sidebar {
  line-height: 1.35;
}

.about-layout {
  gap: 16px;
}

.about-content {
  padding: 14px;
}


/* About page: sidebar and right content spacing */
.about-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 35px;
  width: 100%;
  max-width: 1200px;
  margin: 25px auto;
  padding: 0;
  box-sizing: border-box;
}

.about-content {
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 14px 0;
  box-sizing: border-box;
  justify-self: stretch;
}

.about-content > * {
  max-width: 100%;
}

@media (max-width: 700px) {
  .about-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about-content {
    padding: 10px 0;
  }
}


/* Image preview modal */
#ignou-image-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.ignou-image-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
}

.ignou-image-modal-box {
  position: relative;
  z-index: 1;
  max-width: 95vw;
  max-height: 90vh;
  padding: 40px 12px 12px;
  background: #fff;
  border-radius: 6px;
  box-sizing: border-box;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.35);
}

.ignou-image-modal-box img {
  display: block;
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  margin: auto;
  object-fit: contain;
}

.ignou-image-modal-close {
  position: absolute;
  top: 4px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}


/* Staff page: 2 members per row */
.ignou-staff-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  margin: 20px 0;
}

/* Each staff member */
.ignou-staff-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: 16px;
  border: 1px solid #d9e3ec;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
}

/* Staff photo on the left */
.ignou-staff-photo {
  flex: 0 0 80px;
  width: 80px;
}

img.ignou-staff-photo {
  display: block;
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 1px solid #ddd;
  border-radius: 3px;
}

/* Name, designation and links on the right */
.ignou-staff-info {
  flex: 1;
  min-width: 0;
}

.ignou-staff-info h3 {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
}

.ignou-staff-info a {
  color: #0879b9;
  text-decoration: underline;
}

.ignou-staff-info a:hover {
  color: #064f7c;
}

/* Mobile: one member per row */
@media (max-width: 767px) {
  .ignou-staff-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ignou-staff-card {
    padding: 12px;
    gap: 12px;
  }

  .ignou-staff-photo {
    flex-basis: 65px;
    width: 65px;
  }

  img.ignou-staff-photo {
    flex-basis: 65px;
    width: 65px;
    height: 65px;
  }
}


/* Staff cards final alignment */
.ignou-staff-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 150px;
  padding: 18px;
  box-sizing: border-box;
}

img.ignou-staff-photo {
  flex: 0 0 85px;
  width: 85px;
  height: 85px;
  object-fit: cover;
}

.ignou-staff-info {
  flex: 1;
  min-width: 0;
}

.ignou-staff-info h3 {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.5;
}

.ignou-staff-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  white-space: normal;
}

.ignou-staff-info p a {
  display: inline;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .ignou-staff-list {
    grid-template-columns: 1fr;
  }

  .ignou-staff-card {
    min-height: 120px;
    padding: 12px;
    gap: 12px;
  }

  img.ignou-staff-photo {
    flex-basis: 65px;
    width: 65px;
    height: 65px;
  }
}

/* Staff detail profile avatar */
.ignou-staff-profile-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
img.ignou-staff-profile-photo {
  display: block;
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}
.ignou-staff-profile-summary {
  flex: 1;
  min-width: 0;
}
@media (max-width: 600px) {
  .ignou-staff-profile-header {
    gap: 12px;
  }
  img.ignou-staff-profile-photo {
    flex-basis: 85px;
    width: 85px;
    height: 85px;
  }
}

/* RTI page: responsive legacy tables */
.path-node-472 .about-content table {
  width: 100% !important;
  max-width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  margin: 12px 0;
  box-sizing: border-box;
}

.path-node-472 .about-content table td,
.path-node-472 .about-content table th {
  overflow-wrap: anywhere;
  word-break: normal;
  box-sizing: border-box;
}

.path-node-472 .about-content {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .path-node-472 .about-content table {
    font-size: 12px;
  }

  .path-node-472 .about-content table td,
  .path-node-472 .about-content table th {
    padding: 5px;
  }
}

/* News archive search form: Year, Month and Search in one row */
form[id*="news-archive-search-form"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

form[id*="news-archive-search-form"] .form-item {
  margin: 0;
}

form[id*="news-archive-search-form"] .form-item-year,
form[id*="news-archive-search-form"] .form-item-month {
  flex: 0 1 220px;
}

form[id*="news-archive-search-form"] select {
  width: 100%;
  box-sizing: border-box;
}

form[id*="news-archive-search-form"] .form-actions {
  margin: 0;
}

@media (max-width: 600px) {
  form[id*="news-archive-search-form"] .form-item-year,
  form[id*="news-archive-search-form"] .form-item-month {
    flex: 1 1 100%;
  }
}

/* Align archive Search button with the bottom of the dropdowns */
form[id*="news-archive-search-form"] {
  align-items: flex-end;
}

form[id*="news-archive-search-form"] .form-actions {
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 0;
}

form[id*="news-archive-search-form"] .form-actions input[type="submit"],
form[id*="news-archive-search-form"] .form-actions button {
  margin: 0;
  min-height: 38px;
  box-sizing: border-box;
}

form[id*="news-archive-search-form"] .form-item-year,
form[id*="news-archive-search-form"] .form-item-month {
  margin-bottom: 0;
}

/* Final vertical alignment for archive search controls */
form[id*="news-archive-search-form"] .form-actions {
  align-self: flex-end;
  display: flex;
  align-items: flex-end;
  padding: 0;
  margin: 0 0 0 0;
}

form[id*="news-archive-search-form"] .form-actions input[type="submit"],
form[id*="news-archive-search-form"] .form-actions button {
  height: 58px;
  min-height: 58px;
  margin: 0;
  transform: translateY(0);
}

/* Correct alignment using the actual Drupal form ID */
form#ignou-news-archive-search-form,
form[id="ignou_news_archive_search_form"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}

form[id="ignou_news_archive_search_form"] .form-item-year,
form[id="ignou_news_archive_search_form"] .form-item-month {
  flex: 0 1 239px;
  margin: 0;
}

form[id="ignou_news_archive_search_form"] .form-item-year label,
form[id="ignou_news_archive_search_form"] .form-item-month label {
  display: block;
  margin-bottom: 8px;
}

form[id="ignou_news_archive_search_form"] .form-actions {
  display: flex;
  align-self: flex-end;
  margin: 0;
  padding: 0;
}

form[id="ignou_news_archive_search_form"] .form-actions input[type="submit"] {
  height: 58px;
  margin: 0;
  transform: none;
}

/* Final fix: align archive Search button with select fields */
form.ignou-news-archive-search-form {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end !important;
  gap: 12px;
}

form.ignou-news-archive-search-form .form-item-year,
form.ignou-news-archive-search-form .form-item-month {
  flex: 0 1 239px;
  margin: 0 !important;
  padding: 0;
}

form.ignou-news-archive-search-form .form-item-year label,
form.ignou-news-archive-search-form .form-item-month label {
  display: block;
}

form.ignou-news-archive-search-form .form-actions {
  display: flex;
  align-self: flex-end !important;
  margin: 0 !important;
  padding: 0;
}

form.ignou-news-archive-search-form input.form-submit {
  margin: 0 !important;
  transform: none !important;
  min-height: 40px !important;
  height: 40px !important;
}

/* News & Events Latest / Archives tabs */
.news-events-tabs {
  display: flex;
  gap: 0;
  margin: 0 0 0;
  border-bottom: 1px solid #d5d5d5;
}

.news-events-tabs a {
  display: inline-block;
  padding: 6px 12px;
  color: #333;
  background: #f1f1f1;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #d5d5d5;
  border-bottom: 0;
}

.news-events-tabs a.is-active {
  color: #fff;
  background: #075ca8;
  border-color: #075ca8;
  font-weight: 700;
}

.news-events-tabs a:hover {
  background: #e2edf8;
  color: #075ca8;
}

.news-events-tabs a.is-active:hover {
  background: #075ca8;
  color: #fff;
}

/* News & Events: improve latest news typography and spacing */
body.path-news-events .views-row {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e2e2e2;
}

body.path-news-events .views-field-title a,
body.path-news-events .node__title a,
body.path-news-events h2 a {
  font-size: 24px;
  line-height: 1.45;
  font-weight: 600;
  text-decoration: none;
}

body.path-news-events .views-field-created,
body.path-news-events .node__submitted {
  margin-bottom: 12px;
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  body.path-news-events .views-field-title a,
  body.path-news-events .node__title a,
  body.path-news-events h2 a {
    font-size: 20px;
  }
}

/* News listing: stronger override for Drupal teaser titles */
body.path-news-events h2.node__title.teaser__title,
body.path-news-events h2.node__title.teaser__title a {
  font-size: 18px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}

body.path-news-events .teaser__title {
  margin-top: 10px !important;
  margin-bottom: 0px !important;
}

body.path-news-events .node__submitted {
  font-size: 14px !important;
  margin-bottom: 8px !important;
}

body.path-news-events article.node--view-mode-teaser {
  margin-bottom: 28px !important;
  padding-bottom: 20px !important;
  border-bottom: 1px solid #ddd;
}

@media (max-width: 768px) {
  body.path-news-events h2.node__title.teaser__title,
  body.path-news-events h2.node__title.teaser__title a {
    font-size: 18px !important;
  }
}

/* Tighten news listing spacing and remove duplicate dividers */
body.path-news-events article.node--view-mode-teaser {
  margin: 0 0 24px !important;
  padding: 0 0 22px !important;
  border-bottom: 1px solid #ddd !important;
}

body.path-news-events .teaser__title {
  margin: 8px 0 12px !important;
}

body.path-news-events .node__submitted {
  margin: 0 0 8px !important;
}

body.path-news-events .views-row {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.path-news-events .views-row article.node--view-mode-teaser {
  border-bottom: 1px solid #ddd !important;
}

body.path-news-events .views-field-title,
body.path-news-events .views-field-created {
  margin-bottom: 8px;
}

/* Align Latest news content with the left edge of the tabs */
body.path-news-events .ignou-main .region--content,
body.path-news-events .ignou-main .block,
body.path-news-events .ignou-main .view-content,
body.path-news-events .ignou-main .views-row,
body.path-news-events .ignou-main article.node--view-mode-teaser {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

body.path-news-events .ignou-main .node__content {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

body.path-news-events .news-events-tabs {
  margin-left: 0 !important;
}

/* Align News content block with the Latest / Archives tabs */
body.path-news-events #block-ignou-rc01-content {
  margin-left: 0 !important;
  padding-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.path-news-events .region--content {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

body.path-news-events #block-ignou-rc01-content > .content,
body.path-news-events #block-ignou-rc01-content .view-content,
body.path-news-events #block-ignou-rc01-content article.node--view-mode-teaser {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* News & Events: keep content aligned with Latest / Archives tabs */
body.path-news-events main.ignou-main > .region--content.grid-full {
  display: block !important;
  width: 100%;
  min-width: 0;
}

body.path-news-events #block-ignou-rc01-content {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Reduce excess vertical space around news item dividers */
body.path-news-events article.node--view-mode-teaser {
  margin-bottom: 0px !important;
  padding-bottom: 2px !important;
}

body.path-news-events .teaser__title {
  margin-top: 6px !important;
  margin-bottom: 0px !important;
}

body.path-news-events .node__submitted {
  margin-bottom: 6px !important;
}

body.path-news-events article.node--view-mode-teaser {
  border-bottom: 1px solid #ddd;
}

/* Remove extra bottom padding from news title section */
body.path-news-events .teaser__top {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Programmes: List and Search tabs */
.programme-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 20px 0;
  border-bottom: 2px solid #176b9a;
}

.programme-tabs a {
  display: inline-block;
  padding: 6px 12px;
  color: #176b9a;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid #ddd;
  border-bottom: none;
  background: #f5f5f5;
}

.programme-tabs a.is-active {
  color: #fff;
  background: #176b9a;
  border-color: #176b9a;
}

.programme-tabs a:hover {
  text-decoration: underline;
}

.programme-tabs a.is-active:hover {
  color: #fff;
}

/* Programme listing: align content with header and menu edges */
/* Programmes and Search: consistent content alignment */
body.path-programmes main.ignou-main > #content.region--content.grid-full:not(:has(.programme-detail-tabs)),
body.path-search-programme main.ignou-main > #content.region--content.grid-full:not(:has(.programme-detail-tabs)) {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.path-programmes main.ignou-main > #content.region--content > #block-ignou-rc01-content,
body.path-search-programme main.ignou-main > #content.region--content > #block-ignou-rc01-content {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}


/* Homepage Delhi landmarks banner */
.ignou-hero-banner {
  width: 100%;
  margin: 0;
  overflow: hidden;
  line-height: 0;
}

.ignou-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}


/* Full-width homepage banner */
body.path-frontpage .ignou-site {
  max-width: 100%;
}

body.path-frontpage .ignou-hero-banner {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
}

body.path-frontpage .ignou-hero-banner img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}


/* Keep header and navigation at their original width */
body.path-frontpage .ignou-site {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Only the homepage banner spans the full viewport */
body.path-frontpage .ignou-hero-banner {
  width: 100vw;
  max-width: none;
  height: 260px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  line-height: 0;
}

body.path-frontpage .ignou-hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}


/* Align homepage banner with header and navigation */
body.path-frontpage .ignou-hero-banner {
  width: 100%;
  max-width: 100%;
  height: 260px;
  margin: 0;
  overflow: hidden;
}

body.path-frontpage .ignou-hero-banner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}


/* Larger IGNOU logo and regional centre heading */
.ignou-logo img {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.ignou-brand {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ignou-subtitle {
  margin-top: 0;
  font-size: 26px;
  font-weight: 600;
  color: #087eb5;
}

@media (max-width: 600px) {
  .ignou-logo img {
    width: 85px;
  }

  .ignou-subtitle {
    font-size: 18px;
  }
}

/* Enlarge logo and align header with Home navigation */
.ignou-header {
  padding-left: 0;
  padding-right: 0;
}

.ignou-brand {
  gap: 15px;
  margin-left: 10px;
}

.ignou-logo img {
  width: 150px;
  height: auto;
}

@media (max-width: 600px) {
  .ignou-header {
    padding-left: 0;
    padding-right: 0;
  }

  .ignou-logo img {
    width: 105px;
  }
}

/* Two-line Delhi-1 Regional Centre heading */
.ignou-subtitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
  color: #087eb5;
  line-height: 1.15;
}

.ignou-rc-name {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #07549a;
}

.ignou-rc-type {
  font-size: 23px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #087eb5;
}

@media (max-width: 600px) {
  .ignou-rc-name {
    font-size: 25px;
  }

  .ignou-rc-type {
    font-size: 17px;
  }
}

/* Premium Delhi-1 Regional Centre branding */
.ignou-subtitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  margin: 0;
  line-height: 1.1;
}

.ignou-rc-name {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #123d69;
  line-height: 1.05;
}

.ignou-rc-type {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #087eb5;
  line-height: 1;
  padding-bottom: 7px;
  border-bottom: 3px solid #e3a33b;
}

@media (max-width: 600px) {
  .ignou-rc-name {
    font-size: 27px;
  }

  .ignou-rc-type {
    font-size: 12px;
    letter-spacing: 1.3px;
  }
}

/* Fine-tune regional centre heading spacing */
.ignou-subtitle {
  gap: 2px;
}

.ignou-rc-name {
  font-size: 32px;
}

.ignou-rc-type {
  padding-bottom: 3px;
}

@media (max-width: 600px) {
  .ignou-rc-name {
    font-size: 25px;
  }
}

/* Header YouTube link and site search */
.ignou-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ignou-header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-left: auto;
}

.ignou-youtube-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #e62117;
  width: 38px;
  height: 38px;
  text-decoration: none;
}

.ignou-youtube-link svg {
  display: block;
  width: 34px;
  height: 34px;
}

.ignou-header-search {
  display: flex;
  align-items: stretch;
  width: 260px;
  max-width: 100%;
  margin: 0;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.ignou-header-search input[type="search"] {
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  outline-offset: -2px;
  font: inherit;
}

.ignou-header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  border: 0;
  background: #07549a;
  color: #fff;
  cursor: pointer;
}

.ignou-header-search button:hover {
  background: #087eb5;
}

.ignou-header-search button svg {
  width: 20px;
  height: 20px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 800px) {
  .ignou-header {
    flex-wrap: wrap;
  }

  .ignou-header-tools {
    width: 100%;
    margin-left: 0;
    justify-content: flex-start;
  }

  .ignou-header-search {
    flex: 1 1 200px;
    width: auto;
  }
}

/* Animated expandable header search */
.ignou-search-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  position: relative;
  flex-shrink: 0;
}

.ignou-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  flex: 0 0 38px;
  border: 0;
  border-radius: 4px;
  color: #07549a;
  background: transparent;
  cursor: pointer;
}

.ignou-search-toggle:hover,
.ignou-search-toggle:focus-visible {
  color: #087eb5;
  background: #eef6fb;
}

.ignou-search-toggle svg {
  width: 30px;
  height: 30px;
}

.ignou-search-wrap .ignou-header-search {
  width: 0;
  max-width: 0;
  min-width: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  border: 0;
  transition:
    width 280ms ease,
    max-width 280ms ease,
    opacity 180ms ease,
    margin 280ms ease;
}

.ignou-search-wrap.is-open .ignou-header-search {
  width: 260px;
  max-width: 260px;
  margin-left: 8px;
  opacity: 1;
  visibility: visible;
  border: 1px solid #cbd5e1;
}

.ignou-search-wrap .ignou-header-search input[type="search"] {
  min-width: 0;
}

@media (max-width: 800px) {
  .ignou-header-tools {
    width: 100%;
  }

  .ignou-search-wrap {
    flex: 1;
  }

  .ignou-search-wrap.is-open .ignou-header-search {
    width: min(260px, calc(100vw - 180px));
    max-width: calc(100vw - 180px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ignou-search-wrap .ignou-header-search {
    transition: none;
  }
}

/* Homepage latest news ticker */
.ignou-news-ticker {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 48px;
  margin: 12px 0 20px;
  overflow: hidden;
  background: #f3f6fa;
  border: 1px solid #d8e0e9;
  border-radius: 4px;
}

.ignou-news-label {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: #9b1c31;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  position: relative;
  z-index: 1;
}

.ignou-news-window {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ignou-news-track {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: max-content;
  gap: 24px;
  white-space: nowrap;
  padding-left: 24px;
  animation: ignou-news-scroll 38s linear infinite;
}

.ignou-news-track a {
  color: #17365d;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ignou-news-track a:hover {
  color: #9b1c31;
  text-decoration: underline;
}

.ignou-news-track span {
  color: #c08a35;
  font-size: 10px;
}

.ignou-news-ticker:hover .ignou-news-track,
.ignou-news-ticker:focus-within .ignou-news-track {
  animation-play-state: paused;
}

@keyframes ignou-news-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .ignou-news-ticker {
    min-height: 44px;
  }

  .ignou-news-label {
    padding: 0 10px;
    font-size: 11px;
  }

  .ignou-news-track {
    gap: 16px;
    animation-duration: 30s;
  }

  .ignou-news-track a {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ignou-news-track {
    animation: none;
  }

  .ignou-news-window {
    overflow-x: auto;
  }
}

/* Homepage welcome and contact: 70/30 layout */
.ignou-home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(220px, 3fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.ignou-home-intro-grid > .ignou-panel {
  min-width: 0;
  margin: 0;
}

.ignou-welcome-panel,
.ignou-contact-panel {
  box-sizing: border-box;
}

@media (max-width: 700px) {
  .ignou-home-intro-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Homepage contact details formatting */
.ignou-contact-panel {
  overflow-wrap: anywhere;
}

.ignou-contact-panel p {
  font-size: 13px;
  line-height: 1.30;
  margin: 0 0 14px;
}

.ignou-contact-panel p:last-child {
  margin-bottom: 0;
}

.ignou-contact-panel a {
  color: #173f73;
  text-decoration: none;
}

.ignou-contact-panel a:hover {
  text-decoration: underline;
}

/* Homepage lower row: 70% content and 30% blank panel */
.ignou-home-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 20px;
}

.ignou-home-lower-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  min-width: 0;
}

.ignou-home-lower-main > .ignou-panel {
  min-width: 0;
  margin: 0;
}

.ignou-home-lower-blank {
  min-width: 0;
  min-height: 180px;
  margin: 0;
}

@media (max-width: 700px) {
  .ignou-home-lower-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ignou-home-lower-main {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Homepage Announcements - compact bordered items */
.ignou-announcements-panel .view-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ignou-announcements-panel .view-content .views-row {
  border-bottom: 1px solid #d5d5d5;
  padding: 8px 12px;
  margin: 0;
  box-sizing: border-box;
  line-height: 1.4;
}

.ignou-announcements-panel .view-content .views-row a {
  text-decoration: none;
}

.ignou-announcements-panel .view-content .views-row a:hover {
  text-decoration: underline;
}

.ignou-announcements-panel .ignou-announcements-more {
  margin-top: 10px;
}


/* Homepage Announcements - black text with bullets */
.ignou-announcements-panel .view-content .views-row {
  color: #000000;
  padding: 8px 12px;
  list-style: none;
}

.ignou-announcements-panel .view-content .views-row a {
  color: #000000;
}

.ignou-announcements-panel .view-content .views-row a::before {
  content: "•";
  display: inline-block;
  margin-right: 9px;
  color: #000000;
  font-weight: bold;
}

.ignou-announcements-panel .view-content .views-row a:hover {
  color: #000000;
  text-decoration: underline;
}


/* News & Events - match Announcements styling */
.ignou-news-events-panel .view-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ignou-news-events-panel .view-content .views-row {
  color: #000000;
  border-bottom: 1px solid #d5d5d5;
  padding: 8px 12px;
  margin: 0;
  box-sizing: border-box;
  line-height: 1.4;
}

.ignou-news-events-panel .view-content .views-row a {
  color: #000000;
  text-decoration: none;
}

.ignou-news-events-panel .view-content .views-row a::before {
  content: "•";
  display: inline-block;
  margin-right: 9px;
  color: #000000;
  font-weight: bold;
}

.ignou-news-events-panel .view-content .views-row a:hover {
  color: #000000;
  text-decoration: underline;
}

/* News detail page: compact date and content spacing */
body.node--type-news .node__meta {
  margin: 4px 0 12px !important;
  padding: 0 !important;
  line-height: 1.4;
}

body.node--type-news .node__content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.node--type-news .node__content p:first-child {
  margin-top: 0 !important;
}

/* News detail page spacing */
.node--type-news.node--view-mode-full .node__meta {
  margin: 6px 0 14px !important;
  padding: 0 !important;
  line-height: 1.4;
}

.node--type-news.node--view-mode-full .node__content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.node--type-news.node--view-mode-full .node__content p:first-child {
  margin-top: 0 !important;
}

/* News detail page title and spacing */
.node--type-news.node--view-mode-full .node__title {
  font-size: 24px !important;
  line-height: 1.35 !important;
  margin-bottom: 0px !important;
  margin-top: 10px !important;
}

.node--type-news.node--view-mode-full .node__meta {
  margin: 0 0 25px !important;
  padding: 0 !important;
  line-height: 1.4;
}

.node--type-news.node--view-mode-full .node__content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Reduce gap between breadcrumb and news title */
body.node--type-news .about-content,
body.node--type-news .ignou-main {
  padding-top: 0 !important;
}

body.node--type-news .breadcrumb {
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
}

body.node--type-news .node--type-news.node--view-mode-full {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.node--type-news .node--type-news.node--view-mode-full > header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Remove extra space below breadcrumb on news detail pages */
body.path-node.page-node-type-news #block-ignou-rc01-breadcrumb,
body.path-node.page-node-type-news #block-ignou-rc01-breadcrumbs {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  min-height: 0 !important;
}

body.path-node.page-node-type-news #block-ignou-rc01-breadcrumb .block__content,
body.path-node.page-node-type-news #block-ignou-rc01-breadcrumbs .block__content {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.path-node.page-node-type-news .about-content > .region-breadcrumb,
body.path-node.page-node-type-news .about-content > .region {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Keep one font family across the entire website */
html,
body,
body *,
body *::before,
body *::after {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* News detail body typography */
.node--type-news.node--view-mode-full .node__content {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.node--type-news.node--view-mode-full .node__content p {
  font-size: 16px !important;
  line-height: 1.5 !important;
  margin-bottom: 16px;
}

/* Reduce spacing around breadcrumb separator */
.breadcrumb li {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.breadcrumb li + li::before {
  margin-left: 4px !important;
  margin-right: 4px !important;
}

/* Align news detail content with the left edge of the right column */
body.path-node.page-node-type-news .about-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.path-node.page-node-type-news .about-content > .region {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
}

body.path-node.page-node-type-news #block-ignou-rc01-breadcrumb,
body.path-node.page-node-type-news #block-ignou-rc01-breadcrumbs,
body.path-node.page-node-type-news #content {
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* News detail: remove internal grid offset from right content */
body.path-node.page-node-type-news .about-content > .region-breadcrumb,
body.path-node.page-node-type-news .about-content > .region-highlighted,
body.path-node.page-node-type-news .about-content > .region-content {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  box-sizing: border-box !important;
}

body.path-node.page-node-type-news .about-content > .region-content > #content {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

/* Consistent content alignment on all two-column pages */
.about-layout > .about-content .grid-full {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
  column-gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
  box-sizing: border-box !important;
}

/* Keep content aligned to the right column's left edge */
.about-layout > .about-content {
  min-width: 0;
  box-sizing: border-box;
}


/* Homepage: match normal content font size with left menu */
body.path-frontpage .ignou-main p,
body.path-frontpage .ignou-main li,
body.path-frontpage .ignou-main td,
body.path-frontpage .ignou-main th,
body.path-frontpage .ignou-main a:not(h1 a):not(h2 a):not(h3 a):not(h4 a),
body.path-frontpage .ignou-main .views-field-body,
body.path-frontpage .ignou-main .views-field-created {
  font-size: 14px !important;
}


/* Homepage: reduce vertical spacing around blue headings */
body.path-frontpage .ignou-main h2,
body.path-frontpage .ignou-main h3 {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  margin-top: 6px !important;
  margin-bottom: 6px !important;
  line-height: 1.3 !important;
}


/* Homepage hero banner text overlay */
body.path-frontpage .ignou-hero-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

body.path-frontpage .ignou-hero-banner > img {
  display: block;
  width: 100%;
  height: auto;
}

body.path-frontpage .ignou-banner-text {
  position: absolute;
  top: 50%;
  left: 2.2%;
  transform: translateY(-50%);
  width: 32%;
  max-width: 610px;
  box-sizing: border-box;
  color: #123d68;
  z-index: 2;
}

body.path-frontpage .ignou-banner-university {
  font-size: clamp(15px, 1.45vw, 27px);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 10px;
  letter-spacing: 0.1px;
}

body.path-frontpage .ignou-banner-delhi {
  font-size: clamp(30px, 2.5vw, 58px);
  font-weight: 800;
  line-height: 1.52;
  letter-spacing: 1px;
}

body.path-frontpage .ignou-banner-centre {
  font-size: clamp(15px, 1.65vw, 31px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 1px;
  white-space: nowrap;
}

body.path-frontpage .ignou-banner-accent {
  width: 68%;
  height: 4px;
  margin-top: 12px;
  background: #e9a23b;
  border-radius: 2px;
}

/* Smaller screens */
@media (max-width: 600px) {
  body.path-frontpage .ignou-banner-text {
    left: 2%;
    width: 34%;
  }

  body.path-frontpage .ignou-banner-university {
    font-size: clamp(8px, 2.1vw, 13px);
    margin-bottom: 4px;
  }

  body.path-frontpage .ignou-banner-delhi {
    font-size: clamp(17px, 4vw, 26px);
  }

  body.path-frontpage .ignou-banner-centre {
    font-size: clamp(7px, 1.8vw, 12px);
    letter-spacing: 0.5px;
  }

  body.path-frontpage .ignou-banner-accent {
    height: 2px;
    margin-top: 5px;
  }
}

body.path-frontpage .ignou-web-links-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 10px;
}

body.path-frontpage .ignou-web-links-grid a {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
  font-size: 14px !important;
  border-bottom: 1px solid rgb(213, 213, 213);
  padding-bottom: 12px;
}

body.path-frontpage .web-link-icon {
  flex: 0 0 28px;
  text-align: center;
  font-size: 24px;
}


/* Homepage Quick Links section */
body.path-frontpage .ignou-quick-links {
  width: 100%;
  box-sizing: border-box;
  margin: 20px auto 24px;
  padding: 8px 12px 10px;
  overflow: hidden;
  border: 1px solid #dce5ec;
  border-radius: 4px;
  background: #f1f7fa;
}

body.path-frontpage .ignou-quick-links h2 {
  color: #7a8a9a;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: 25px !important;
  font-weight: 400;
  line-height: 1.3 !important;
  margin: 0 0 10px !important;
  padding: 0 4px 5px !important;
  border-bottom: 1px solid #dce5ec;
  background: transparent;
}

body.path-frontpage .ignou-quick-links-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
}

body.path-frontpage .ignou-quick-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  min-width: 0;
  min-height: 105px;
  padding: 4px 6px;
  box-sizing: border-box;
  border-right: 2px solid #d6e2e9;
  color: #0788d1;
  text-align: center;
  text-decoration: none;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

body.path-frontpage .ignou-quick-link:last-child {
  border-right: 0;
}

body.path-frontpage .quick-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  font-size: 39px;
  line-height: 1;
}

body.path-frontpage .ignou-quick-link:hover {
  color: #075a91;
  background: #e6f1f7;
  text-decoration: underline;
}

@media (max-width: 900px) {
  body.path-frontpage .ignou-quick-links-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 10px;
  }

  body.path-frontpage .ignou-quick-link:nth-child(4n) {
    border-right: 0;
  }
}

@media (max-width: 480px) {
  body.path-frontpage .ignou-quick-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.path-frontpage .ignou-quick-link:nth-child(2n) {
    border-right: 0;
  }

  body.path-frontpage .ignou-quick-link:nth-child(4n) {
    border-right: 0;
  }
}

/* Small circular image with wrapping welcome text */
body.path-frontpage .ignou-welcome-image {
  float: left;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin: 4px 16px 10px 0;
  border: 3px solid #e2eef5;
  box-shadow: 0 2px 6px rgba(0, 55, 90, 0.15);
}

@media (max-width: 600px) {
  body.path-frontpage .ignou-welcome-image {
    width: 76px;
    height: 76px;
    margin-right: 12px;
  }
}


/* Welcome section Read More link */
body.path-frontpage .ignou-welcome-read-more {
  display: inline-block;
  margin-top: 5px;
  color: #0788c9;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

body.path-frontpage .ignou-welcome-read-more:hover {
  color: #075a91;
  text-decoration: underline;
}

/* About Us page: hide duplicate node title, keep body heading */
body.path-node.page-node-471 .node__title {
  display: none !important;
}

/* About Us page: match news detail content spacing */
body.path-node.page-node-471 .about-content {
  padding-top: 0 !important;
}

body.path-node.page-node-471 .breadcrumb {
  margin-bottom: 8px !important;
  padding-bottom: 0 !important;
}

body.path-node.page-node-471 .node__meta {
  margin-top: 8px;
  margin-bottom: 16px;
}

body.path-node.page-node-471 .node__content {
  font-size: 16px;
  line-height: 1.5;
}

body.path-node.page-node-471 .node__content p {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 16px;
}


/* About Us node - align content styling with News detail page */
body.path-node .about-content .node--view-mode-full {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.path-node .about-content .node--view-mode-full > header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body.path-node .about-content .node__meta {
  order: 1;
  margin: 8px 0 16px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #687786;
}

body.path-node .about-content .node__content {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

body.path-node .about-content .node__content p {
  margin: 0 0 16px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

body.path-node .about-content .breadcrumb {
  margin: 0 0 16px !important;
  padding: 0 !important;
}

/* About Us breadcrumb alignment */
body.path-node .about-layout > .about-content {
  min-width: 0;
  box-sizing: border-box;
}

body.path-node .about-layout > .about-content nav.breadcrumb,
body.path-node .about-layout > .about-content .breadcrumb {
  display: block !important;
  width: 100%;
  margin: 0 0 16px !important;
  padding: 0 !important;
  text-align: left !important;
  box-sizing: border-box;
}

body.path-node .about-layout > .about-content .breadcrumb ol,
body.path-node .about-layout > .about-content .breadcrumb ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 0 10px 0 !important;
  list-style: none !important;
  border-bottom: 1px solid #d6e0e9;
}

body.path-node .about-layout > .about-content .breadcrumb li {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

/* Aboutus detail page title and spacing */
.node--type-page.node--view-mode-full .node__title {
  font-size: 18px !important;
  line-height: 1 !important;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

.node--type-page.node--view-mode-full .node__meta {
  margin: 0 0 25px !important;
  padding: 0 !important;
  line-height: 1.4;
}

.node--type-page.node--view-mode-full .node__content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.block-system-breadcrumb-block {
  margin-bottom: 25px !important;
}

body ul li a  {
  font-size: 16px !important;
}


/* Main page headings - IGNOU RC Delhi-1 */
.about-content > .node h2.node__title,
.about-content > article > header .node__title,
.node--view-mode-full .node__title {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #173b63 !important;
  margin: 0 0 12px !important;
  padding: 0 0 10px !important;
  border-bottom: 2px solid #dce8f2;
  letter-spacing: 0.1px;
}

.about-content > .node h2.node__title a,
.node--view-mode-full .node__title a {
  color: inherit !important;
  text-decoration: none !important;
}

.about-content > .node h2.node__title a:hover,
.node--view-mode-full .node__title a:hover {
  color: #087eae !important;
}

/* Keep blue panel headings unchanged */
.ignou-panel h2,
.about-sidebar h3 {
  border-bottom: none !important;
  padding-bottom: 10px;
}


/* Modern page heading — About Us and inner pages */
.about-content .node__title,
.node--view-mode-full .node__title {
  position: relative;
  font-size: 29px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  color: #123f68 !important;
  background: #f3f7fb;
  border: none !important;
  border-left: 5px solid #0786b5 !important;
  border-radius: 0 6px 6px 0;
  padding: 13px 18px !important;
  margin: 18px 0 22px !important;
  letter-spacing: 0;
  box-shadow: 0 2px 5px rgba(20, 55, 85, 0.07);
}

.about-content .node__title a,
.node--view-mode-full .node__title a {
  color: inherit !important;
  text-decoration: none !important;
}

/* Breadcrumb stays clean and separate */
.about-content .breadcrumb,
.about-content nav[aria-label="Breadcrumb"] {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-bottom: 0 !important;
  margin-bottom: 20px !important;
}

/* Keep homepage blue panel headings unchanged */
.ignou-panel h2,
.about-sidebar h3 {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.text-content, .cke_editable {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

h2 {
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin: 0 0 16px;
}

h3 {
  font-size: 16px !important;
  line-height: 1.4 !important;
  margin: 0;
}

/* Active/selected item in the internal-page sidebar */
.about-sidebar a.is-active,
.about-sidebar a[aria-current="page"] {
  background-color: #0b5595 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  border-left: 4px solid #f0a12b !important;
  padding-left: 12px !important;
  text-decoration: none !important;
}

/* Hover effect */
.about-sidebar a:hover {
  background-color: #e2eef8;
  color: #064b85;
}

/* Keep the selected item highlighted even when hovered */
.about-sidebar a.is-active:hover,
.about-sidebar a[aria-current="page"]:hover {
  background-color: #0b5595 !important;
  color: #ffffff !important;
}


.about-sidebar a.is-active {
  background-color: #0b5595 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-left: 4px solid #f0a12b !important;
  padding-left: 12px !important;
  text-decoration: none !important;
}

.about-sidebar a.is-active:hover {
  background-color: #0b5595 !important;
  color: #fff !important;
}

/* Remove unwanted border around focused links */
.ignou-site a:focus,
.ignou-site a:active {
  outline: none !important;
  box-shadow: none !important;
}

.ignou-nav a.is-active,
.ignou-nav a.is-active:hover {
  background-color: #003b70 !important;
  color: #ffffff !important;
  font-weight: 700;
}
/* News & Events listing only: hide author and category metadata */
body.path-news-events .node__submitted,
body.path-news-events .node__meta,
body.path-news-events .field--name-field-homepage-section,
body.path-news-events .field--name-field-tags {
  display: none !important;
}

.view, .view-content {
  gap: 0 !important;
}

/* Breadcrumb full-width grid fix */
body.path-news-events .ignou-main > .region--breadcrumb,
body.path-photo-gallery .ignou-main > .region--breadcrumb,
body.path-programmes .ignou-main > .region--breadcrumb {
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin: 0 0 25px !important;
  padding: 12px 0 15px !important;
  border-bottom: 1px solid #ddd !important;
}

.block-system-breadcrumb-block {
  margin-bottom: 0px !important;
}

/* Photo Gallery: match year dropdown and button with site styling */
body.path-photo-gallery .photo-gallery-year-form {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-end !important;
  gap: 10px;
  margin: 20px 0 !important;
}

body.path-photo-gallery .photo-gallery-year-form label {
  display: block;
  margin: 0 0 8px !important;
  font-size: 15px;
  font-weight: 600;
  color: #173b60;
}

body.path-photo-gallery .photo-gallery-year-form select {
  height: 44px !important;
  min-width: 180px;
  padding: 0 36px 0 12px !important;
  border: 1px solid #b8c7d6 !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  color: #243746 !important;
  font: inherit;
  box-sizing: border-box !important;
  cursor: pointer;
}

body.path-photo-gallery .photo-gallery-year-form button[type="submit"] {
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 20px !important;
  border: 1px solid #07549a !important;
  border-radius: 4px !important;
  background: #1475ad !important;
  color: #fff !important;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box !important;
}

body.path-photo-gallery .photo-gallery-year-form button[type="submit"]:hover {
  background: #116392 !important;
  border-color: #087eb5 !important;
}

@media (max-width: 600px) {
  body.path-photo-gallery .photo-gallery-year-form {
    align-items: flex-start !important;
  }

  body.path-photo-gallery .photo-gallery-year-form select {
    width: 100%;
  }
}

select {
  min-height: 40px !important;
  height: 40px !important;
}
/* User Dashboard: full-width layout aligned with main navigation */
body.path-my-dashboard .ignou-main {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.path-my-dashboard .ignou-main > *,
body.path-my-dashboard .ignou-main .region,
body.path-my-dashboard .ignou-main .region--breadcrumb,
body.path-my-dashboard .ignou-main .block-system-breadcrumb-block,
body.path-my-dashboard .ignou-main .ignou-dashboard-welcome,
body.path-my-dashboard .ignou-main .ignou-dashboard-cards,
body.path-my-dashboard .ignou-main .ignou-dashboard-my-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

body.path-my-dashboard .ignou-main .ignou-dashboard-cards {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

body.path-my-dashboard .ignou-main .region--breadcrumb {
  grid-column: 1 / -1 !important;
  margin-bottom: 25px !important;
  padding-bottom: 15px !important;
  border-bottom: 1px solid #ddd !important;
}

@media (max-width: 800px) {
  body.path-my-dashboard .ignou-main .ignou-dashboard-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  body.path-my-dashboard .ignou-main .ignou-dashboard-cards {
    grid-template-columns: 1fr;
  }
}

/* Dashboard content: align all sections with the navigation width */
body.path-my-dashboard .ignou-main {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 18px 0 !important;
  box-sizing: border-box !important;
}

body.path-my-dashboard .ignou-main > .region--content,
body.path-my-dashboard .ignou-main > #content,
body.path-my-dashboard .ignou-main > .block-system-main-block {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  grid-column: 1 / -1 !important;
  box-sizing: border-box !important;
}

body.path-my-dashboard .ignou-dashboard-welcome,
body.path-my-dashboard .ignou-dashboard-cards,
body.path-my-dashboard .ignou-dashboard-my-content,
body.path-my-dashboard .ignou-dashboard-section-title {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

body.path-my-dashboard .ignou-dashboard-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

@media (max-width: 800px) {
  body.path-my-dashboard .ignou-dashboard-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 520px) {
  body.path-my-dashboard .ignou-dashboard-cards {
    grid-template-columns: 1fr !important;
  }
}

/* Dashboard breadcrumb: remove grid layout constraint */
body.path-my-dashboard .ignou-main > .region--breadcrumb.grid-full {
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 0 25px !important;
  padding: 12px 0 15px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid #ddd !important;
}

body.path-my-dashboard .region--breadcrumb .block-system-breadcrumb-block,
body.path-my-dashboard .region--breadcrumb .block__content,
body.path-my-dashboard .region--breadcrumb .breadcrumb,
body.path-my-dashboard .region--breadcrumb .breadcrumb__content {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* Content creation workflow for logged-in editorial users */
body.path-node-add-news .ignou-main > .region--sidebar,
body.path-node-add-event .ignou-main > .region--sidebar,
body.path-node-add-imagegallery .ignou-main > .region--sidebar,
body.path-node-add-news .ignou-main > .region--sidebar-first,
body.path-node-add-event .ignou-main > .region--sidebar-first,
body.path-node-add-imagegallery .ignou-main > .region--sidebar-first {
  display: none !important;
}

.ignou-form-dashboard-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 24px;
  padding: 16px 20px;
  background: #f1f6fa;
  border: 1px solid #d7e3ec;
  border-left: 4px solid #07549a;
  border-radius: 5px;
  box-sizing: border-box;
}

.ignou-form-user {
  color: #173b60;
  font-size: 15px;
}

.ignou-form-dashboard-link {
  display: inline-block;
  padding: 10px 15px;
  color: #fff !important;
  background: #07549a;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none !important;
}

.ignou-form-dashboard-link:hover,
.ignou-form-dashboard-link:focus {
  color: #fff !important;
  background: #087eb5;
}

/* Content creation workflow for logged-in editorial users */
body.path-node-add-news .ignou-main > .region--sidebar,
body.path-node-add-event .ignou-main > .region--sidebar,
body.path-node-add-imagegallery .ignou-main > .region--sidebar,
body.path-node-add-news .ignou-main > .region--sidebar-first,
body.path-node-add-event .ignou-main > .region--sidebar-first,
body.path-node-add-imagegallery .ignou-main > .region--sidebar-first {
  display: none !important;
}

.ignou-form-dashboard-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 24px;
  padding: 16px 20px;
  background: #f1f6fa;
  border: 1px solid #d7e3ec;
  border-left: 4px solid #07549a;
  border-radius: 5px;
  box-sizing: border-box;
}

.ignou-form-user {
  color: #173b60;
  font-size: 15px;
}

.ignou-form-dashboard-link {
  display: inline-block;
  padding: 10px 15px;
  color: #fff !important;
  background: #07549a;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none !important;
}

.ignou-form-dashboard-link:hover,
.ignou-form-dashboard-link:focus {
  color: #fff !important;
  background: #087eb5;
}

.teaser__content .field__items {font-size: 14px;}
.teaser__content p {margin: 5px 0;}

/* News & Events: Compact centered pagination */
body.path-news-events .pager {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 25px auto;
}

body.path-news-events .pager__items {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

body.path-news-events .pager__item {
  margin: 0;
  padding: 0;
}

body.path-news-events .pager__item a,
body.path-news-events .pager__item--active a,
body.path-news-events .pager__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 4px 9px;
  font-size: 14px;
  line-height: 1;
  border-radius: 4px;
  box-sizing: border-box;
}
/* Reduce pagination number padding */
body.path-news-events .pager__items li,
body.path-news-events .pager__items--active li,
body.path-news-events .pager__links {
  min-width: 25px;
  height: 35px;
  padding: 3px 6px;
  font-size: 13px;
  border-radius: 4px;
}

/* IGNOU CMS Footer - Responsive Multi Column Layout */

.ignou-footer {
  background: #087db1;
  color: #ffffff;
  padding: 35px 30px 18px;
  margin-top: 20px;
  text-align: left;
  font-size: 14px;
}

.ignou-footer-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  max-width: 1250px;
  margin: 0 auto;
}

.ignou-footer-section {
  min-width: 0;
}

.ignou-footer-section h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.ignou-footer-section p {
  color: #ffffff;
  line-height: 1.5;
  margin: 0 0 0;
  overflow-wrap: anywhere;
  font-size: 14px;
}

.ignou-footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ignou-footer-section li {
  margin-bottom: 10px;
  padding: 0;
}

.ignou-footer-section a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 14px !important;
}

.ignou-footer-section a:hover {
  color: #ffdf70 !important;
  text-decoration: underline;
}

.ignou-footer-copyright {
  max-width: 1250px;
  margin: 0px auto 0;
  padding-top: 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
  color: #ffffff;
}

/* Tablet */
@media (max-width: 900px) {
  .ignou-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .ignou-footer {
    padding: 25px 18px 15px;
  }

  .ignou-footer-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* IGNOU Compact Footer - Reference Design */

.ignou-footer {
  background: #ffffff;
  color: #777777;
  text-align: center;
  padding: 10px 15px 8px;
  margin-top: 20px;
  border-top: 1px solid #999999;
  font-size: 14px;
}

.ignou-footer-nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0 0 5px;
}

.ignou-footer-nav li {
  display: flex;
  align-items: center;
}

.ignou-footer-nav li + li::before {
  content: "|";
  color: #888888;
  margin: 0 7px;
}

.ignou-footer-nav a {
  color: #777777 !important;
  text-decoration: none;
  font-size: 14px !important;
}

.ignou-footer-nav a:hover {
  color: #087db1 !important;
  text-decoration: underline;
}

.ignou-footer-copyright {
  color: #777777;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 600px) {
  .ignou-footer {
    padding: 12px 10px;
  }

  .ignou-footer-nav ul {
    row-gap: 7px;
  }

  .ignou-footer-nav a {
    font-size: 12px;
  }

  .ignou-footer-nav li + li::before {
    margin: 0 5px;
  }
}
/* IGNOU CMS Footer */
.ignou-footer.ignou-footer-cms {
  background: #087db1;
  color: #ffffff;
  text-align: left;
  padding: 35px 30px 18px;
  margin-top: 20px;
}

.ignou-footer.ignou-footer-cms .ignou-footer-section h3 {
  color: #ffffff;
}

.ignou-footer.ignou-footer-cms .ignou-footer-section p {
  color: #ffffff;
}

.ignou-footer.ignou-footer-cms .ignou-footer-section a {
  color: #ffffff !important;
}
/* Compact spacing between search results */
.search-results__item {
  margin-bottom: 10px !important;
}

.search-results__item .search-result__snippet {
    margin-bottom: 0 !important;
    padding-bottom: 10px !important;
}
/* Homepage: maintain normal visual size for main heading */
body.path-frontpage .ignou-main h1 {
  font-size: 26px !important;
  line-height: 1.3 !important;
  margin: 10px;
}

/* W3C validation links in footer */
.ignou-w3c-validation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding-bottom: 10px;
}

.ignou-w3c-validation img {
  display: block;
  width: 88px;
  height: 31px;
}

.ignou-w3c-validation a {
  color: inherit;
  font-size: 12px;
  text-decoration: underline;
}
/* Unique visitor counter */
.ignou-visitor-counter {
  text-align: center;
  padding: 10px 15px;
  font-size: 14px;
  color: inherit;
}

.ignou-visitor-counter-label {
  font-weight: 600;
  margin-right: 5px;
}

.ignou-visitor-counter-number {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Footer visitor counter and W3C validation in one row */
.ignou-footer-bottom-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 10px 0;
}

/* Unique Visitor Counter Badge */
.ignou-footer-bottom-row .ignou-visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  margin: 0;
  background: #eaf3f8;
  border: 1px solid #b7cbd8;
  border-radius: 4px;
  color: #526b7a;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ignou-footer-bottom-row .ignou-visitor-counter-label {
  font-weight: 600;
  margin: 0;
}

.ignou-footer-bottom-row .ignou-visitor-counter-number {
  display: inline-block;
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  color: #245b78;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 576px) {
  .ignou-footer-bottom-row {
    flex-direction: column;
    gap: 10px;
  }
}

/* Programme Search: match input and button with dropdown styling */
body.path-search-programme form#ignou-programme-search-form #edit-search-row {
  align-items: flex-end;
}

body.path-search-programme form#ignou-programme-search-form input[type="text"] {
  height: 40px !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
}

body.path-search-programme form#ignou-programme-search-form .form-actions {
  margin: 0 !important;
  padding: 0 !important;
  align-self: flex-end !important;
}

body.path-search-programme form#ignou-programme-search-form input[type="submit"] {
  height: 40px !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  transform: none !important;
}
/* Responsive main navigation */
.ignou-menu-toggle {
  display: none;
}

@media (max-width: 768px) {
  .ignou-menu-toggle {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    background: #07549a;
    color: #ffffff;
    border: 0;
    padding: 12px 16px;
    font: inherit;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
  }

  .ignou-menu-toggle span[aria-hidden="true"] {
    font-size: 22px;
    line-height: 1;
  }

  .ignou-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
  }

  .ignou-nav.is-open {
    display: flex;
  }

  .ignou-nav a {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
}

/* Mobile header alignment improvements */
@media (max-width: 600px) {
  .ignou-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 10px;
    box-sizing: border-box;
  }

  .ignou-brand {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    gap: 9px;
    margin: 0;
  }

  .ignou-logo img {
    display: block;
    width: 78px;
    height: auto;
  }

  .ignou-subtitle {
    min-width: 0;
    gap: 3px;
  }

  .ignou-rc-name {
    font-size: 23px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  .ignou-rc-type {
    font-size: 10px;
    letter-spacing: 0.7px;
    white-space: nowrap;
    padding-bottom: 3px;
  }

  .ignou-header-tools {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    gap: 8px;
    margin: 0;
  }

  .ignou-youtube-link {
    width: 30px;
    height: 30px;
  }

  .ignou-youtube-link svg {
    width: 28px;
    height: 28px;
  }

  .ignou-search-wrap {
    flex: 0 0 auto;
  }

  .ignou-utility-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 6px;
    column-gap: 8px;
  }

  .ignou-utility-date,
  .ignou-font-controls {
    gap: 5px;
  }

  .ignou-utility-date {
    font-size: 12px;
  }

  .ignou-font-controls {
    font-size: 12px;
  }

  .ignou-news-ticker {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .ignou-news-label {
    flex-shrink: 0;
    padding: 0 9px;
    white-space: nowrap;
  }

  .ignou-news-window {
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
  }
}

/* Final mobile homepage alignment */
@media (max-width: 600px) {

  /* Banner text aligned towards top */
  body.path-frontpage .ignou-banner-text {
    top: 12px;
    left: 2%;
    transform: none;
    width: 36%;
  }

  body.path-frontpage .ignou-banner-university {
    margin-bottom: 3px;
    line-height: 1.2;
  }

  body.path-frontpage .ignou-banner-delhi {
    line-height: 1.15;
  }

  body.path-frontpage .ignou-banner-accent {
    margin-top: 5px;
    height: 3px;
  }

  /* Reduce gap between banner and latest news */
  body.path-frontpage .ignou-news-ticker {
    margin-top: 4px;
    margin-bottom: 0px;
  }

  /* Homepage welcome heading */
  body.path-frontpage .ignou-main h1 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin: 10px;
  }

  body.path-frontpage .ignou-hero-banner {
  height: auto !important;
  }
}

.contact-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
}

.contact-social-icons a {
  display: inline-flex;
  align-items: center;
}

.contact-social-icons img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

/* Contact Us social icons - single row */
.field--name-body p:has(> a[href*="facebook.com"]) {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.field--name-body p:has(> a[href*="facebook.com"]) a {
  display: inline-flex !important;
  align-items: center;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.field--name-body p:has(> a[href*="facebook.com"]) img {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}