/* Header Styles */
.news-section__header {
  align-items: center;
  padding: 0px 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 30px;
  background-color: #23559B;
  color: #fff;
}

.news-section__header-left {
  display: flex;
  align-items: center;
  padding: 40px 0px;
}

.news-section__icon-container {
  background-color: #D0BB68;
  padding: 15px;
  border-radius: 15px;
  margin-right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-section__main-icon {
  font-size: 28px;
  color: white;
}

.news-section__title {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.news-section__header-right {
  display: flex;
  align-items: center;
  justify-content: space-between;
      margin-top: 30px;
    margin-bottom: 50px;
}

.news-section__breadcrumbs {
  font-size: 14px;
  color: #666;
  margin-right: 20px;
}

.news-section__filter-button {
  background-color: transparent;
  border: 0px;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 16px;
  color: #86868B;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.news-section__filter-button img {
  margin-left: 8px;
}

.news-section__filter-button i {
  margin-left: 8px;
  color: #0056b3;
}

/* Main Content Styles */
.news-section__main-content {
  display: grid;
  gap: 30px;
}

/* Article Styles */
.news-section__article {
  display: flex;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  /* To make sure border-radius clips the image */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.news-section__article-image {
  width: 350px;
  /* Adjust as needed */
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

.news-section__article-content {
  padding: 0px 20px;
  flex-grow: 1;
}

.news-section__article-category {
  display: inline-block;
  padding: 8px 15px;
  font-size: 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  color: #fff;
  background-color: #E4EFFF;
  color: #23559B;
}

.event-content .section {
  margin-top: 15px;
  font-size: 16px;
}
.event-content .section ul li{
  list-style: disc;
  list-style-position: inside;
}
.event-content .section strong {
  margin-bottom: 15px;
}

.news-section__article-category--medical-college {
  background-color: #28a745;
  /* Green */
}

.news-section__article-category--nursing {
  background-color: #6f42c1;
  /* Purple */
}
.news-sectiorticle-content{
  flex: 1;
  padding: 0 15px;
}
.news-section__article-date {
  font-size: 14px;
  color: #23569b;
  padding: 10px 0px;
  font-weight: 700;
}

.news-section__article-title {
  font-size: 20px;
  font-weight: 600;
  color: #2D2525;
  padding: 0;
  line-height: 24px;
}

.news-section__article-title-sub {
  font-size: 20px;
  font-weight: 500;
  color: #2D2525;
  padding: 0;
}

.news-section__article-snippet {
  font-size: 16px;
  color: #2D2525;
  line-height: 1.6;
  font-weight: 400;
  /* Limiting text to a few lines - adjust as needed */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-section__read-more {
  font-size: 16px;
  color: #23559b;
  font-weight: 600;
  text-decoration: none;
  float: right;
  text-decoration: underline;
  margin-top: 20px;
  margin-bottom: 30px;
}

.news-section__read-more:hover {
  text-decoration: underline;
}

.news-section__read-more.left {
  float: left !important;
}

/* Pagination Styles */
.news-section__pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-top: 30px;
  margin-top: 20px;
  /* Space above pagination */
  border-top: 1px solid #e0e0e0;
}

.news-section__page-link {
  color: #555;
  text-decoration: none;
  padding: 8px 12px;
  margin: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: background-color 0.3s, color 0.3s;
}

.news-section__page-link:hover {
  background-color: #f0f0f0;
  border-color: #ccc;
}

.news-section__page-link--active {
  background-color: #0056b3;
  color: white;
  border-color: #0056b3;
}

.news-section__page-link--arrow {
  font-size: 12px;
}

.news-section-card {
  background-color: #ffff;
  box-shadow: 2px 4px 12px 0px #00000014;
  border-radius: 20px;
  padding: 10px;
  margin-bottom: 25px;
  display: flex;
}

.event-date-posted,
.event-tag,
.event-title {
  display: block !important;
}

.events-mobile {
  display: none;
  gap: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .news-section__article {
    flex-direction: column;
  }

  .news-section__article-image {
    width: 100%;
    max-height: 200px;
    /* Adjust for smaller screens */
  }

  .news-section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-section__header-right {
    margin-top: 15px;
    width: 100%;
    justify-content: space-between;
    /* Better spacing on smaller screens */
  }

  #env-main .common-tab {
    overflow-x: auto;
    /* Enables horizontal scrolling */
    white-space: nowrap;
    /* Prevents items from wrapping */
    gap: 15px;
  }

  /* Hide scrollbar (optional) */
  #env-main .common-tab::-webkit-scrollbar {
    display: none;
  }

  #env-main .tab.active {
    background-color: transparent;
    border-bottom: 2px solid #23559b;
    color: #23559b;
  }
}

@media (max-width: 768px) {
  .news-section__title {
    font-size: 24px;
  }

  .news-section__main-icon {
    font-size: 24px;
  }

  .news-section__icon-container {
    padding: 12px;
    margin-right: 15px;
  }

  .news-section__article-title {
    font-size: 17px;
  }

  .news-section__article-snippet {
    font-size: 13px;
  }

  .news-section__read-more {
    font-size: 13px;
  }

  .news-section__pagination {
    justify-content: center;
  }

  .news-section-card {
    gap: 20px;
    /* flex-direction: column;  */
    padding: 15px;
  }

  .news-section__article-content {
    padding: 0px;
  }

  .news-section__article-snippet {
    -webkit-line-clamp: unset;
  }

  .news-section__article-category {
    margin: 10px 0px;
  }

  #env-form-tab {
    flex-direction: column;
  }

  #env-form-tab .tab-container {
    display: flex !important;
    margin-bottom: 25px;
  }

  .title-arrow {
    top: 0px !important;
    margin-bottom: 20px;
    position: relative !important;
  }

  #common-details .news-card,
  #common-details-announcements .news-card,
  #common-details-sjnahs .news-card,
  #common-details-announcements-sjnahs .news-card {
    flex-direction: column;
  }

  #common-details .news-image img,
  #common-details-announcements .news-image img,
  #common-details-sjnahs .news-image img,
  #common-details-announcements-sjnahs .news-image img {
    border-radius: 15px;
  }

  .news-section__article-image {
    width: 170px;
    max-height: 218px;
    object-position: left;
  }

  #env-form-tab .tab-container {
    gap: 15px;
  }

  #env-form-tab .tab-inner {
    width: 100%;
    padding: 20px 60px;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 15px;
  }

  .news-section__header-left {
    margin-bottom: 10px;
    /* Space between icon/title and breadcrumbs/filter */
  }

  .news-section__breadcrumbs {
    font-size: 12px;
    margin-right: 10px;
  }

  .news-section__filter-button {
    font-size: 12px;
    padding: 6px 10px;
  }

  .news-section__page-link {
    padding: 6px 10px;
    font-size: 13px;
  }

  .news-section__header-right {
    margin: 0px;
  }
    .news-events-announce-img{
    width: 100% !important;
  }
  .news-details-page .news-image img{
        width: 100% !important;
    height: auto !important;
  }
  .news-events-announce-text p{
    margin-bottom: 40px;
  }

}

@media (max-width:767px) {
  #env-form-tab .tab-inner {
    padding: 10px !important;
    display: flex;
    justify-content: center;
  }

  #env-form-tab .tab-container {
    gap: 5px !important;
  }

  .news-section__article-snippet {
    display: none;
  }

  .event-date-posted,
  .event-tag,
  .event-title {
    display: none !important;
  }

  .events-mobile {
    display: flex;
    gap: 30px;
  }

  #common-details .news-content,
  #common-details-announcements .news-content,
  #common-details-sjnahs .news-content,
  #common-details-announcements-sjnahs .news-content {
    padding: 10px !important;
  }
   /* .date-input-wrapper input{
    appearance: none;
  } */
  .calendar-icon {
    display: none;
  }

  .date-inputs {
    display: block !important;
  }

  .filter-actions {
    display: block !important;
  }

  #clearFilters,
  #applyFilters {
    margin-bottom: 10px;
    width: 100% !important;
  }
  .news-section__header-right{
    margin-top: 30px;
    margin-bottom: 30px;
  }
    .news-details-page .news-card{
    flex-direction: column;
  }
}

/* pagination style changes */
.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  background-color: #f9f9ff;
  /* Very light background like in image */
  padding: 20px;
  justify-content: flex-end;
}

.page-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: white;
  color: #003B8E;
  margin: 0px 5px;
  /* Arrow color */
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  background-color: #e6ecff;
}

.page-btn.active {
  background-color: #1f56a6;
  color: white;
  border: none;
}

/* event css startes here */
.event-date {
  background-color: #23559B;
  color: white;
  padding: 30px 20px;
  text-align: center;
  flex-shrink: 0;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 20px;
}

.event-date .day {
  font-size: 20px;
  font-weight: bold;
}

.event-date .weekday {
  font-size: 16px;
}

.events-section .news-section__read-more {
  float: left;
}

.event-container {
  display: flex;
  flex-direction: row;
  border-radius: 12px;
  overflow: hidden;
  gap: 20px;
}

.event-page {
  padding: 30px 0px;
}

.event-date {
  background-color: #23559b;
  color: white;
  padding: 30px 20px;
  text-align: center;
  flex-shrink: 0;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-height: 150px;
}

.event-date .day {
  font-size: 20px;
  font-weight: bold;
}

.event-date .weekday {
  font-size: 16px;
}

.event-content {
  padding: 30px;
  flex: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  background-color: white;
  border-radius: 20px;
  min-height: 60vh;
}

.breadcrumb {
  font-size: 16px;
  color: #666;
  margin-bottom: 10px;
}

.breadcrumb a {
  color: #0077cc;
  text-decoration: none;
}

.event-tag {
  background-color: #e3f2fd;
  color: #1565c0;
  padding: 5px 10px;
  display: inline-block;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
}

.event-date-posted {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.event-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #212121;
}

.event-description {
  margin-bottom: 15px;
}

h3 {
  font-size: 18px;
  margin: 20px 0 10px;
  color: #1a237e;
}

.announcement-list,
.next-steps {
  margin-left: 20px;
  margin-bottom: 15px;
}

.announcement-list li,
.next-steps li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.stay-updated {
  font-style: italic;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .event-container {
    flex-direction: column;
  }
.news-details-page .news-card {
    display: block;
}
  .event-date {
    align-items: center;
    padding: 20px;
    text-align: left;
  }

  .event-date .day {
    font-size: 18px;
  }

  .event-date .weekday {
    font-size: 14px;
  }
}

/* event css ends here */

/* Announcements starts here */
.announcements-wrapper {
  padding: 30px 0px;
}

.announcements-container {
  display: flex;
  flex-direction: row;
  gap: 40px;
  border-radius: 12px;
  flex-wrap: wrap;
}

.announcements-main {
  flex: 2;
  min-width: 280px;
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.announcements-category {
  background: #e3f2fd;
  color: #1565c0;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
}

.announcements-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
}

.announcements-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 25px;
  color: #212121;
}

.announcements-subheading {
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 10px;
  color: #1a237e;
}

.announcements-text {
  margin-bottom: 20px;
  line-height: 1.7;
}

.announcements-list {
  padding-left: 20px;
  margin-bottom: 20px;
}

.announcements-list li {
  margin-bottom: 10px;
  list-style: disc;
}

.announcements-sidebar {
  flex: 1;
  min-width: 260px;
  padding: 20px;
  border-left: 1px solid #eee;
  border-radius: 12px;
}

.announcements-sidebar-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #263238;
}

.announcements-topic {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
  display: grid;
  gap: 10px;
}

.announcements-topic-tag {
  background: #e3f2fd;
  color: #1565c0;
  display: inline-block;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
  width: fit-content;
}

.announcements-topic-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
  text-decoration: none;
}

.announcements-topic-date {
  font-size: 12px;
  color: #888;
}

@media (max-width: 992px) {
  .announcements-container {
    flex-direction: column;
  }

  .announcements-sidebar {
    border-left: none;
    border-top: 1px solid #ddd;
    margin-top: 30px;
  }
}

/* Announcements ends here */

#env-main .tab-heading {
  padding: 50px 0;
}

#env-main .active[data-tab-content] {
  display: block;
  color: #000000;
}

#env-main .tab.active {
  font-size: 18px;
  color: #23559b;
  font-weight: 600;
  border-color: #23559b;
  padding: 12px 25px 12px 25px;
  cursor: pointer;
}

#env-main [data-tab-content] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

#env-main .active[data-tab-content] {
  visibility: visible;
  opacity: 1;
  height: auto;
}

#env-main .common-tab {
  display: flex;
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
  /* Enables horizontal scroll */
  white-space: nowrap;
  /* Prevents text wrapping */
  -webkit-overflow-scrolling: touch;
  /* Smooth scroll on iOS */
  scrollbar-width: none;
  /* Hide scrollbar (optional) */
}

#env-main .common-tab::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar for Chrome/Safari */
}

#env-main .common-tab>* {
  flex-shrink: 0;
  /* Prevents items from shrinking */
  display: inline-block;
  /* Ensures nowrap works for text */
}

#env-main .common-tab li {
  border-bottom: 2px solid #cfcfcf;
  padding: 12px 25px 12px 25px;
  font-size: 18px;
  cursor: pointer;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
}

#env-form-tab {
  display: block;
  margin-top: 20px;
  margin-bottom: 50px;
}

#env-form-tab .tab-container {
  display: flex;
  gap: 25px;
  margin-bottom: 40px;
}

#env-form-tab .tab-inner {
  width: 100%;
  padding: 20px 80px;
  cursor: pointer;
  font-size: 20px;
  color: #858687;
  font-weight: 700;
  border-bottom: 2px solid #CFCFCF;
  white-space: nowrap;
}

#env-form-tab .tab-inner.active-env {
  background-color: #D0BB68;
  color: #383939;
  font-weight: 800;
  font-size: 18px;
  padding: 20px 80px;
  border-bottom: 2px solid #383939;
}

#env-form-tab .content-inner {
  display: none;
  padding: 0px 20px;
}

#env-form-tab .content-inner.active-env {
  display: block;
}

#env-form-tab .content-container {
  width: 100%;
}

.news-section__main_quick {
  display: grid;
  gap: 30px;
}

/* news details */
#common-details,
#common-details-announcements,
#common-details-sjnahs,
#common-details-announcements-sjnahs {
  background-color: #ffff;
  box-shadow: 2px 4px 12px 0px #00000014;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding: 15px;
  margin-bottom: 15px;
}

#common-details .news-card,
#common-details-announcements .news-card,
#common-details-sjnahs .news-card,
#common-details-announcements-sjnahs .news-card {
  display: flex;
  border-radius: 20px;
  gap: 20px;
}

#common-details .news-image img,
#common-details-announcements .news-image img,
#common-details-sjnahs .news-image img,
#common-details-announcements-sjnahs .news-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-right: 1px solid #eee;
}

#common-details .news-content,
#common-details-announcements .news-content,
#common-details-sjnahs .news-content,
#common-details-announcements-sjnahs .news-content {
  padding: 30px;
  flex: 1;
  border-radius: 20px;
}

#common-details .news-category-date,
#common-details-announcements .news-category-date,
#common-details-sjnahs .news-category-date,
#common-details-announcements-sjnahs .news-category-date {
  display: inline-grid;
  gap: 15px;
  margin-bottom: 10px;
  align-items: center;
  font-size: 14px;
}

#common-details .category,
#common-details-announcements .category,
#common-details-sjnahs .category,
#common-details-announcements-sjnahs .category {
  background-color: #e5edfb;
  color: #3a7dfd;
  padding: 5px 12px;
  border-radius: 12px;
  font-weight: 500;
}

#common-details .date,
#common-details-announcements .date,
#common-details-sjnahs .date,
#common-details-announcements-sjnahs .date {
  color: #3a3a3a;
  font-weight: 500;
}

#common-details .title,
#common-details-announcements .title,
#common-details-sjnahs .title,
#common-details-announcements-sjnahs .title {
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0 20px;
}

#common-details .section,
#common-details-announcements .section,
#common-details-sjnahs .section,
#common-details-announcements-sjnahs .section {
  margin-bottom: 20px;
}

#common-details .section strong,
#common-details-announcements .section strong,
#common-details-sjnahs .section strong,
#common-details-announcements-sjnahs .section strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 600;
}

#common-details .section p,
#common-details-announcements .section p,
#common-details-sjnahs .section p,
#common-details-announcements-sjnahs .section p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

#common-details .key-points,
#common-details-announcements .key-points,
#common-details-sjnahs .key-points,
#common-details-announcements-sjnahs .key-points {
  list-style: none;
  padding-left: 0;
}

#common-details .key-points li,
#common-details-announcements .key-points li,
#common-details-sjnahs .key-points li,
#common-details-announcements-sjnahs .key-points li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

/* #on-content .arrow-design{
    margin-bottom: 30px;
    position: relative;
    top: 20px;
    left: 20px;
    background: #D0BB68;
    color: #000000;
    border: none;
    padding: 8px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    z-index: 10;
} */
.title-arrow {
  left: 0;
  top: 120px;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 24px;
  font-weight: 700;
  color: #23559B;
}

.arrow-design {
  width: 30px;
  height: 30px;
  fill: currentColor;
  background: #D0BB68;
  color: #000000;
  padding: 4px;
  border-radius: 30px;
}

/* pagination css */
.pagination-controls {
  margin-top: 20px;
  justify-content: right;
  align-items: center;
  display: grid;
  grid-auto-flow: column;
  gap: 0px;
  background: #f5f5f7;
}

.pagination-controls svg {
  color: #23559B;
}

.pagination-controls button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#prevBtn,
#nextBtn,
#prevBtn_ad,
#nextBtn_ad,
#prevBtn_an,
#nextBtn_an {
  border: 2px solid #ccc;
  background: transparent;
  width: 48px;
  height: 48px;
  color: #23559B;
  border-radius: 5px;
}

.a-backcareer {
  margin-top: 20px;
  font-size: 32px;
  line-height: 35px;
  color: #2a2e6d;
  text-decoration: none;
}

.mt-10 {
  margin-top: 50px;
}

#pageInfo,
#pageInfo_ad,
#pageInfo_an {
  padding: 10px;
  background-color: #23559B;
  color: #fff;
  border-radius: 5px;
}

/* end */
/* faculty */
.filter-flex {
  display: flex;
  gap: 15px;
}

.breadcrumb {
  font-size: 16px;
  color: #666;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.filters-container {
  padding: 15px 20px;
}

.filters-container h3 {
  color: #858687;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.filter-tabs {
  display: block;
}

.filter-tab {
  position: relative;
  white-space: nowrap;
  margin-bottom: 15px;
}

.filter-tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-tab label {
  display: inline-block;
  padding: 8px 15px 8px 40px;
  border-radius: 20px;
  font-size: 14px;
  color: #383939;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Checkbox style */
.filter-tab label::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #383939;
  border-radius: 3px;
  background: white;
  transition: all 0.3s ease;
}

/* Tick mark for all tabs */
.filter-tab label::after {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Inactive tabs - gray tick */
.filter-tab:not(:has(input[type="radio"]:checked)) label::after {
  color: #383939;
  left: 24px;
  top: 10px;
  background: #f5f5f7;
}

/* Active tab styles */
.filter-tab input[type="radio"]:checked+label::before {
  background: #23559b;
  border-color: #23559b;
}

.filter-tab input[type="radio"]:checked+label::after {
  color: white;
  background-color: #23559b;
  left: 16px;
  top: 16px;
}

.filter-tab input[type="radio"]:checked+label {
  /* color: #0066cc;
            font-weight: bold; */
  left: 0px;
  /* font-size: 10px; */
}

/* .filter-tab label:hover {
            background: #d0d0d0;
        }
        
        .filter-tab input[type="radio"]:checked + label:hover {
            background: #d0d0d0;
        } */

.news-items {
  padding: 20px;
  width: -webkit-fill-available;

}

.news-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.news-title {
  font-size: 18px;
  color: #0066cc;
  margin-bottom: 10px;
  font-weight: bold;
}

.news-excerpt {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  color: #0066cc;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

/* faculty */
@media (max-width:1024px) {
  .filters-container {
    display: none;
    position: absolute;
    background: white;
    padding: 15px 20px;
    z-index: 12;
    right: 22px;
    border-radius: 8px;
  }

  .filter-flex {
    display: block;
  }

  .specialization-main {
    display: grid;
  }

  .specialization-group {
    margin-bottom: 0;
    padding: 0 20px;
  }

  .group-asso {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }

  .mobile-search img {
    display: block !important;
    margin-right: 25px;
    width: 100%;
    margin-top: 20px;
  }
}

.mobile-search {
  display: flex;
  gap: 20px;
}

.mobile-search img {
  display: none;
}

.search-input-wrapper {
  position: relative;
  width: 40px;
  margin-left: auto;
  margin-right: 20px;
}

.back-button-c {
  margin-bottom: 30px;
  position: relative;
  top: 0;
  left: 0;
  width: 40px;
  background: #D0BB68;
  color: #000000;
  border: none;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  z-index: 10;
  margin-bottom: 25px;
}

.breadcrumb {
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  text-decoration: none;
  color: #86868b;
}

.breadcrumb strong {
  text-decoration: none;
  color: #23559b;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 5px;
}

/* style last css */
.news-details-page {
  padding: 40px 0px;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  justify-content: center;
}

.news-details-page .news-card {
  display: flex;
  border-radius: 20px;
  gap: 20px;
  width: -webkit-fill-available;
}

.news-details-page .news-image img {
  width: 382px;
  height: auto;
  object-fit: cover;
  border-right: 1px solid #eee;
  border-radius: 20px;
}

.news-details-page .news-content {
  padding: 30px;
  flex: 1;
  min-height: 60vh;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  margin-bottom: 25px;
}

.news-details-page .news-category-date {
  display: inline-grid;
  gap: 15px;
  margin-bottom: 10px;
  align-items: center;
  font-size: 14px;
}

.news-details-page .category {
  background: #E4EFFF;
  color: #23559B;
  display: inline-block;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 14px;
  margin-bottom: 20px;
  width: fit-content;
}

.news-details-page .date {
  color: #23559B;
  font-weight: 700;
}

.news-details-page .title {
  font-size: 22px;
  font-weight: 600;
  margin: 10px 0 20px;
}

.news-details-page .section {
  margin-bottom: 20px;
  color: #383939;
  font-size: 16px;
}
.news-content .section ul li{
  list-style: disc;
  list-style-position: inside;
}
.news-details-page .section p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.news-details-page .key-points {
  list-style: none;
  padding-left: 0;
}

.news-details-page .key-points li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}
  .news-section__filter-button img{
    width: 32px;
    height: 32px;
  }

  /* modal popup css filter */
/* Modal Background */
.filter-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
}

/* Modal Content */
.filter-modal-content {
  background: #fff;
  padding: 0px;
  border-radius: 20px;
  width: 700px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}

/* Close Button */
.filter-close {
  position: absolute;
  right: 15px;
  top: 7px;
  cursor: pointer;
  background: #23559b;
  border-radius: 50%;
  padding: 0px 6px;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}

/* Labels & Inputs */
#filterModal label {
  display: block;
  margin-top: 15px;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
}

#filterModal select,
#filterModal input {
  width: 100%;
  padding: 8px;
  color: #00000080;
  border: 1px solid #CFCFCF;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}

/* Date Inputs Layout */
.date-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.date-inputs input {
  flex: 1;
}

/* Date Input Wrapper */
.date-input-wrapper {
  position: relative;
  flex: 1;
}

.date-input-wrapper input {
  padding-right: 35px;
}

.calendar-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #000000;
  width: 25px;
  height: 25px;
  pointer-events: none;
}

/* Actions */
.filter-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 30px;
  margin-bottom: 30px;
}

/* Custom Calendar Styling */
.flatpickr-calendar {
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  font-family: Arial, sans-serif !important;
}

.flatpickr-day.today {
  border: 1px solid #999 !important;
}

.flatpickr-day.selected {
  background: gold !important;
  border-color: gold !important;
  color: black !important;
}

.flatpickr-day:hover {
  background: #f0f0f0 !important;
}

.flatpickr-prev-month,
.flatpickr-next-month {
  top: -6px !important;
}

.flatpickr-current-month {
  margin-top: -6px !important;
}

/* Filter Success Popup */
.filter-success-popup {
  display: none;
  position: fixed;
  z-index: 2000;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}

.filter-success-content {
  background: white;
  padding: 30px;
  border-radius: 15px;
  width: 400px;
  text-align: center;
  box-shadow: 0px 8px 25px rgba(0, 0, 0, 0.3);
  animation: popupSlideIn 0.3s ease-out;
}

.filter-success-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 30px;
}

.filter-success-content h3 {
  color: #2e7d32;
  margin: 0 0 15px 0;
  font-size: 20px;
}

.filter-success-content p {
  color: #666;
  margin: 0 0 25px 0;
  line-height: 1.5;
}

.filter-success-close {
  background: #4caf50;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s;
}

.filter-success-close:hover {
  background: #45a049;
}

/* Popup Animation */
@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Hidden news cards styling */
.news-section-card-all {
  display: none;
  /* Hidden by default */
}

.news-section-card-all[style*="display: ''"] {
  display: block !important;
  /* Show when filtered */
}

.filter-title {
  font-weight: 400;
  margin-top: 0px;
  color: #000000;
}

.filter-box {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding: 10px 0px 0px 30px;
  background: #EFEFEF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-modal {
  padding: 10px 30px;
}

/* Select wrapper styles */
.select-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

/* Custom select styles */
.custom-select {
  width: 100%;
  padding: 8px 30px 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  appearance: none;
  /* Remove default arrow */
  -webkit-appearance: none;
  /* For Safari */
  -moz-appearance: none;
  /* For Firefox */
  background-color: white;
  cursor: pointer;
}

/* Chevron icon styles */
.select-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #000000;
  width: 25px;
  height: 25px;
}

/* Focus state */
.custom-select:focus {
  outline: none;
  border-color: #4a90e2;
  /* Example blue color */
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

#clearFilters {
  border: 1px solid #23559b;
  padding: 8px 80px;
  border-radius: 30px;
  cursor: pointer;
  background: 0 0;
}

#applyFilters {
  cursor: pointer;
  border: 1px solid #23559b;
  background: #D0BB68;
  padding: 8px 80px;
  border-radius: 30px;
}

.cont-bottom {
  margin-bottom: 20px;
}

/* Remove dropdown arrow but keep month dropdown functionality */
.flatpickr-monthDropdown-months {
  background-image: none !important;
  /* removes default arrow */
  padding-right: 0 !important;
  /* adjust padding after removing arrow */
}

.flatpickr-monthDropdown-months::after {
  display: none !important;
}

.flatpickr-calendar.animate.open {
  background: #FFFDF8;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  font-size: 16px !important;
  appearance: none !important;
  line-height: 20px !important;
}

.flatpickr-day {
  background: #ffffff !important;
  border-radius: 0px !important;
}

.flatpickr-day.today {
  border: none !important;
  background: #23559b !important;
  border-radius: 150px !important;
  color: #ffffff !important;
}

.flatpickr-calendar.animate.open {
  padding: 15px 0px;
}

/* table */
table {
  width: 100%;
  border-collapse: collapse;
  /* Remove double borders */
  font-family: Arial, sans-serif;
  font-size: 14px;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}

th {
  background-color: #f4f4f4;
  font-weight: bold;
}

tr:nth-child(even) {
  background-color: #fafafa;
  /* Stripe effect */
}

tr:hover {
  background-color: #f1f1f1;
  /* Hover highlight */
}

.common-description {
  font-size: 16px;
  line-height: 24px;
}
       /* Active Filter Indicator */
       .active-filter-indicator {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        border: 2px solid #23559b;
        border-radius: 12px;
        padding: 8px 10px;
        margin: 0px 0 20px auto;
        animation: slideInDown 0.3s ease-out;
        max-width: 400px;
    }
    .filter-text {
        /* flex: 1; */
        font-size: 16px;
        font-weight: 600;
        color: #23559b;
        line-height: 1.4;
    }

/* Active Filter Indicator */
.active-filter-indicator {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border: 2px solid #23559b;
  border-radius: 12px;
  padding: 8px 10px;
  margin: -40px 0 20px auto;
  animation: slideInDown 0.3s ease-out;
  max-width: 400px;
}

.filter-text {
  /* flex: 1; */
  font-size: 16px;
  font-weight: 600;
  color: #23559b;
  line-height: 1.4;
}

.clear-filter-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.clear-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
  background: linear-gradient(135deg, #ff5252 0%, #d32f2f 100%);
}

.clear-filter-btn:active {
  transform: translateY(0);
}

    @media screen and (max-width: 480px) {
        .active-filter-indicator {
            margin: 15px 0;
            padding: 10px 12px;
        }
        
        .filter-text {
            font-size: 13px;
        }
        
        .clear-filter-btn {
            padding: 8px 16px;
            font-size: 12px;
        }
    }
    /* filter after */
.news-section__filter-button {
  position: relative;
  transition: all 0.3s ease;
}

.filter-badge {
  position: absolute;
  top: -5px;
  right: -12px;
  width: 14px;
  height: 14px;
  background-color: #23559b;
  border: 2px solid #23559b;
  border-radius: 50%;
  display: none;
  z-index: 10;
}

.news-section__filter-button.filters-active {
  background: #ffffff;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}
.validation-text{
  color:#ff0000;
}
/* filter after */
