/* Header Styles */
section{
    background-color: #000000;
}
.news-section__header {
    align-items: center;
    padding: 20px 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-bottom: 20px;
}

.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: 250px; /* 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: 10px 15px;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    color: #fff;
    background-color: #E4EFFF;
    color: #23559B;
}

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

.news-section__article-category--nursing {
    background-color: #6f42c1; /* Purple */
}


.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;
}

.news-section__article-snippet {
    font-size: 16px;
    color: #2D2525;
    line-height: 1.6;
    padding: 10px 0px;
    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;
    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;
    }
 
}
@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;
  }
}
/* 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; /* 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;
}

.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;
  }

  .event-date {
    flex-direction: row;
    justify-content: space-between;
    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: flex;
      margin-top: 20px;
        margin-bottom: 50px;
}
 #env-form-tab    .tab-container {
    display: block;
    gap: 25px;
}
#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: 10px;
  }
.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: 1px solid #d2d2d7;
    background: transparent;
    width: 36px;
    height: 36px;
    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 */