.goog-te-banner-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

/* Extra safety */
.skiptranslate iframe {
  display: none !important;
}

/* Remove gap ONLY when translated */
html.translated-ltr body,
html.translated-rtl body {
  top: 0 !important;
}


/* Hide the entire container if injected */
.goog-te-banner {
  display: none !important;
}




.adv-apply-inline {
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
}

.apply-big {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  background-color: #ffffff;
  color: #b00000;
  border: 1px solid #ffffff;
  text-decoration: none;
  line-height: 1.2;
}

.apply-big:hover {
  background-color: #8e0000;
  color: #ffff;
}

/* Css added by Webmaster, IISER BPR */

#extramural-projects tr {
  background-color: #f7f7f7 !important;
}


.accordion-button {
  background-color: #f6edf7 !important;
  color: #000 !important;
  font-weight: 6;
  border-bottom: 2px solid #a51c30;
}

.accordion-button:not(.collapsed) {
  background-color: #fff6f6 !important;
  color: #a51c30 !important;
  border-bottom: 2px solid #a51c30 !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none !important;
  border-color: #a51c30 !important;
}

.fixed-thumb {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.fixed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.youtube-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.youtube-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.iiserbpr-ongoing {
  padding: 6px 10px;
  background: #4caf50;
  border-bottom-right-radius: 15px;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 0;
  line-height: 100%;
  color: var(--rt-white);
  position: absolute;
  z-index: 9;
}

a.iiserbpr-ongoing:hover,
a.iiserbpr-ongoing:focus,
a.iiserbpr-ongoing:active {
  color: var(--rt-white);
}

.no-overlay-slide .banner__wrapper--bg::before {
  background: #0000001c !important;
}

.new-announce-iiserbpr {
  font-size: 12px;
  vertical-align: baseline;
  background: var(--rt-primary);
  color: white;
  padding: 2px 10px;
  border-radius: 5px;

  /* blinking animation */
  animation: blinkFade 1.2s infinite;
}

/* ===============================
   Uniform Gallery (Custom Only)
   =============================== */

.uniform-gallery .single-gallery {
  width: 100%;
}

.uniform-gallery .single-gallery__item {
  display: block;
  width: 100%;
  height: 260px;
  /* fixed thumbnail height */
  overflow: hidden;
  position: relative;
  border-radius: 6px;
}

.uniform-gallery .single-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* key fix */
  object-position: center;
  display: block;
}

/* Smooth hover effect (optional) */
.uniform-gallery .single-gallery__item:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .uniform-gallery .single-gallery__item {
    height: 200px;
  }
}

@keyframes blinkFade {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}


/* ======================================
   BS-MS Manual Section (Final Clean)
====================================== */

.bsms-manual-section {
  margin-top: 10px;
  padding-top: 18px;
}

/* Align exactly like syllabus rows */
.manual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

/* Left text */
.manual-text {
  font-weight: 700;
  color: #000000;
  font-size: 20px;
}

/* Manual Button */
.manual-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 9px 25px;
  border-radius: 5px;

  background: #a30000;
  color: #ffffff !important;
  font-weight: 600;
  text-decoration: none;

  border: 1px solid #a30000;

  transition: all 0.25s ease;
}

/* Hover */
.manual-link:hover {
  background: white;
  border-color: #7d0000;
  color: #a30000 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(163, 0, 0, 0.25);
}