.top-ad {
  margin-top: 35px;
}
#newsletter, #newsletter-main-container{
  min-height: 100vh;
}
#newsletter-section {
  min-height: 70vh;
}
/* breadcrumb */
/* newsletter */
#newsletter-section .breadcrumb {
  /* padding: 22px 22px; */
  margin-top: 20px;
  padding-bottom: 22px;
  font-size: 16px;
  color: #666;
  margin-bottom: 0px;
}

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

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

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

#newsletter-section .breadcrumb span {
  margin: 0 5px;
}

/* //.breadcrumb */
/* searchcontainer */
.search-input-wrapper {
  position: relative;
  width: 220px;
  margin-left: auto;
}

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

.mobile-search img {
  display: block;
}

.search-input-wrapper input {
  width: 100%;
  padding: 10px 35px 10px 15px;
  /* space for icon on the right */
  border: 1px solid #23559b;
  border-radius: 999px;
  background-color: #dde5f9;
  font-size: 14px;
  outline: none;
  color: #383838;
}

.search-icon-faculty {
  position: absolute;
  right: 12px;
  top: 50%;
  color: #23559b;
  transform: translateY(-50%);
  pointer-events: none;
}

/* searchends */
/* tab start */
#news_inner {
  display: flex;
  gap: 30px;
}

#news_inner .tab-heading {
  padding: 0;
}

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

#news_inner .tab.active {
  font-size: 18px;
  color: #23559B;
  font-weight: 600;
  border-color: #23559B;
  padding: 20px 50px 20px 5px;
  background-color: none;
  cursor: pointer;
}

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

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

#news_inner .common-tab {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
}

#news_inner .common-tab li {
  border-bottom: 2px solid #cfcfcf;
  padding: 20px 50px 20px 5px;
  font-size: 18px;
  cursor: pointer;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
  white-space: nowrap;
}

/* ends */
/* tabends */
/* accordian */
.div-full {
  width: 100%;
  padding:0 0 50px 0;
}

.accordion {
  width: 100%;
  margin-bottom: 50px;
}

.accordion-item,
.accordion-item-latest {
  margin-bottom: 5px;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-header {
  font-size: 18px;
  background: #fff;
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header-latest {
  background: #ebf3ff;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header:hover {
  background-color: #e9e9e9;
}

.accordion-header-latest:hover {
  background-color: #e9e9e9;
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content-latest {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  padding: 15px;
  max-height: fit-content;
}

.accordion-item-latest.active .accordion-content-latest {
  padding: 15px;
  max-height: fit-content;
}

.chevron {
  width: 16px;
  height: 11px;
  position: relative;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.chevron::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  /* Triangle fill color */
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  transition: inherit;
}

.accordion-item.active .chevron {
  transform: rotate(180deg);
}

.accordion-item-latest.active .chevron {
  transform: rotate(180deg);
}

.accordion-content-latest h3 {
  color: #383939;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
}

.accordion-content-latest h4 {
  color: #23559b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 25px;
}

.accordion-content-latest p {
  color: #383939;
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 24px;
}

.accordion-content h3 {
  color: #383939;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 2px solid #383939;
}

/* .accordion ends */
/* cards */
.research-card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  margin-inline: 10px;
}

.research-title {
  font-size: 16px;
  font-weight: 600;
  color: #383939;
  margin-bottom: 20px;
  line-height: 1.4;
  /* Line clamp properties */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Fallback for non-webkit browsers */
  max-height: calc(2 * 1.4em);
  /* line-height × number of lines */
}

.research-authors {
  font-size: 14px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 400;
  color: #383939;
  gap: 15px;
  margin-bottom: 20px;
}

.research-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.base-name span {
  font-size: 14px;
  font-weight: 400;
  padding: 0 10px 0 5px;
  color: #23559b;
  border-right: 1px solid #23559b;
}

.base-name span:last-child {
  border-right: none;
}

.read-more-fac {
  display: inline-block;
  color: #23559b;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.newsletter-section__article-category {
  display: inline-block;
  padding: 5px 15px;
  font-size: 12px;
  border-radius: 20px;
  margin-bottom: 8px;
  color: #fff;
  margin-top: 5px;
  background-color: #e4efff;
  color: #23559b;
}

.news-date {
  margin-top: 30px;
  color: #23559b;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.news-grid-box {
  margin: 30px 0;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}


/* folder */
.folder-container{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.folder-item-header{
  position:relative; 
  width: 100%;         
  display:inline-block;    
}
.folder-item-header img{
  width: 100%;
  height: auto;
  object-fit: contain;
}

.folder-item-header p{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%); 
  font-size:24px;
  font-weight:600;
  margin:0;
  color:#333;
  pointer-events:none;       
  text-align:center;
  width:100%;
}
/* css add hehre */
.newsletter-container h1{
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #23559B;
  text-align: left;
  width: 100%;
}
.newsletter-card-inner{
  padding-bottom: 10px;
 background-color: #ffffff;
 border-radius: 20px;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.newsletter-card-inner-header{
  background-color:#cfcfcf3b;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  padding:15px 25px;
}
.newsletter-card-inner-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.newsletter-card-inner-header h4{
  font-size: 16px;
  color: #23559b;
  line-height: 24px;
  font-weight: 600;
}
.second{
  margin-right: 40px;
}
.mr{
  margin-right: 30px;
}
.newsletter-card-inner-content{
  padding: 5px 25px;
}
.newsletter-card-inner-content-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.newsletter-card-inner-content-item{
  padding:25px 0px;
  border-bottom:1px solid #cfcfcf;
}
.newsletter-card-inner-content-item:last-child{
  border-bottom:none;
}
.newsletter-card-inner-content-item a{
  color:#000000;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 16px;
}
.newsletter-card{
  margin-bottom: 30px;
}
/* pagination style changes */
.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  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;
}
.pagination .page-btn.disabled{
  opacity:0.4;
  pointer-events:none;
  cursor:not-allowed;
}
.page-btn:hover {
  background-color: #e6ecff;
}

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

.d-flex {
  display: flex;
  justify-content: space-between;
} 

/* pagnatn ends */
@media (max-width: 768px) {
  #news_inner {
    display: grid;
  }
  .folder-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}
#news_inner .common-tab{
  display:flex;
gap:25px;
}
#news_inner .tab-heading{
  overflow: scroll;
  scrollbar-width: thin;
}

#news_inner .tab-heading::-webkit-scrollbar {
  width: 4px;
  height: 4px;
  color:#23559B;
}

#news_inner .tab-heading::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

#news_inner .tab-heading::-webkit-scrollbar-thumb {
  background: #23559B;
  border-radius: 2px;
}

#news_inner .tab-heading::-webkit-scrollbar-thumb:hover {
  background: #23559B;
}
}
@media (max-width: 500px) {
  .folder-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}
.folder-item-header img,
.folder-item-header{
  /* width: auto; */
}
#news_inner {
  display: block;
}
}
.year-navigation h2{
  color:#23559B;
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 10px;
} 
.no-newsletters p{
  margin-top: 35px;
}
.newsletter-card-inner-content-item.last-visible{
  border-bottom:none;
}