/* =================================================================
   1. IMPORTS & KEYFRAMES
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Anek+Kannada:wght@400;700&family=Noto+Sans+Kannada:wght@400;700&display=swap');

@keyframes moveInLeft {
  0% { opacity: 0; transform: translateX(-5rem); }
  80% { transform: translateX(0.5rem); }
  100% { opacity: 1; transform: translate(0); }
}

@keyframes moveInRight {
  0% { opacity: 0; transform: translateX(5rem); }
  80% { transform: translateX(-0.5rem); }
  100% { opacity: 1; transform: translate(0); }
}

@keyframes moveInBottom {
  0% { opacity: 0; transform: translateY(3rem); }
  100% { opacity: 1; transform: translate(0); }
}

@keyframes marquee {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-100%, 0); }
}


/* =================================================================
   2. GLOBAL RESET & BASE STYLES
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

body {
  font-size: 18px;
  font-family: 'Noto Sans Kannada', sans-serif;
  line-height: 1.8;
  color: #333;
  background-color: #fff;
}

p, span, a, h1, h2, h3, h4, h5, h6, li, td {
  overflow-wrap: break-word;
  word-break: break-word;
}

table, pre, code {
  max-width: 100%;
  overflow-x: auto;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-family: 'Noto Sans Kannada', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #212529;
  letter-spacing: 0;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

@media only screen and (max-width: 767px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.3rem; }
  h4 { font-size: 1.15rem; }
  h5 { font-size: 1.05rem; }
  h6 { font-size: 1rem; }
}

.news-title {
  font-family: 'Noto Sans Kannada', sans-serif;
  font-weight: 700;
  color: #212529;
  letter-spacing: 0;
}


/* =================================================================
   3. UTILITY CLASSES
   ================================================================ */
.text-dark { color: #000 !important; }
.text-red, .color-red { color: #f00; }
.bg-light { background-color: #faf4f1 !important; }
.bg-white { background-color: #fff; }
.bg-dark { background-color: #e04e39 !important; }
.bg-lightgray, .product_box { background-color: #efefef; }
.text-align-justify { text-align: justify; }
.text-align-right { text-align: right; }
.font-style-normal { font-style: normal; }
.text-line-through { text-decoration: line-through; }
.white-space-normal, .dropdown-item { white-space: normal; }
.word-break { word-wrap: break-word; }
.word-break-all { word-break: break-all; }
.font-size-8rem { font-size: 0.8rem; }
.font-size-11px { font-size: 11px; }
.font-size-110 { font-size: 105%; }
.font-size-1_2rem { font-size: 1.2rem; }
.text-large { font-size: 150%; }
.border-bottom { border-bottom: 1px solid #d3d3d3; }
.opacity-5 { opacity: 0.5; }


/* =================================================================
   4. LAYOUT & NAVIGATION COMPONENTS
   ================================================================ */
.home-heading {
  min-height: 60vh;
  background-size: cover;
  background-position: center;
}

.horizontal-menu-wrapper {
  padding: 8px;
  position: relative;
}

.horizontal-menu {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.horizontal-menu::-webkit-scrollbar { display: none; }

.horizontal-menu > .menu-item {
  padding: 10px 15px;
  white-space: nowrap;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  border-radius: 25px;
}
.horizontal-menu > .menu-item:hover { background: #eaeaea; }

.horizontal-menu > .scroll-btn {
  border: none;
  background: #fff;
  font-size: 20px;
  padding: 5px 10px;
  cursor: pointer;
}
.horizontal-menu > .left-btn { margin-right: 5px; }
.horizontal-menu > .right-btn { margin-left: 5px; }

.navbar-nav .nav-item .nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 13px;
}

.menu-navbar { z-index: 9999 !important; }
.dropdown-toggle::after { display: none; }

#dropdownMenuButton {
  border: 2px solid #fff;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
}

#dropdownMenuItems {
  max-height: 20rem;
  overflow-y: auto;
  min-width: 15rem;
  left: auto;
  right: 0;
}

.navbar-default .navbar-nav > li.dropdown:hover > a,
.navbar-default .navbar-nav > li.dropdown:hover > a:hover,
.navbar-default .navbar-nav > li.dropdown:hover > a:focus {
  background-color: #e7e7e7;
  color: #555;
}

li.dropdown:hover > .dropdown-menu { display: block; }


/* =================================================================
   5. CAROUSELS & MEDIA
   ================================================================ */
.carousel {
  margin: 0.5rem 0 1rem;
}

.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

.carousel-control-prev,
.carousel-control-next { width: 8%; }

.study-material-container .study-material-image {
  width: 100%;
  min-height: 12rem;
  max-height: 12rem;
  overflow: hidden;
}

.order_image_container { text-align: center; }

.orders_image {
  max-width: 100%;
  width: auto;
  max-height: 150px;
  height: auto;
}

.notif-labels { font-size: 13px; }

.resize_fit_center {
  max-width: 100%;
  max-height: 100%;
  vertical-align: middle;
}


/* =================================================================
   6. ADS, IMAGES & CONTAINMENT
   ================================================================ */
iframe, ins, .adsbygoogle {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.article .content img,
.content-tag img {
  max-width: 100% !important;
  height: auto;
}

img.notification-image,
img.flash_news-image,
.current-affairs-image,
img.blog-image {
  width: auto;
  height: 30vh;
  max-width: 100%;
}

.feed-index-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 1rem 1.25rem;
}

.feed-index-header h1 {
  margin-bottom: 0.35rem;
}

.feed-index-summary {
  color: #6b7280;
  margin-bottom: 0;
}

.feed-container {
  max-width: 900px;
  padding: 1rem 1rem 0;
}

.current-affairs-day {
  align-items: center;
  border-bottom: 2px solid #212529;
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding: 0.35rem 0;
}

.current-affairs-day time {
  font-size: 0.95rem;
  font-weight: 700;
}

.feed-read-link {
  color: #1a73e8;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.feed-item {
  border-bottom: 1px solid #e5e7eb;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 220px minmax(0, 1fr);
  padding: 1.25rem 0;
}

.feed-item-image {
  aspect-ratio: 16 / 10;
  display: block;
  overflow: hidden;
}

.feed-item-image picture,
.feed-item-image img {
  display: block;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  width: 100%;
}

.feed-item-content h2 {
  font-size: 1.35rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.feed-item-content h2 a {
  color: #212529;
  text-decoration: none;
}

.feed-item-time,
.feed-item-place {
  color: #6b7280;
  font-size: 0.82rem;
}

.feed-item-place {
  margin-bottom: 0.4rem;
}

.feed-item-excerpt {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.feed-empty {
  color: #6b7280;
  padding: 3rem 0;
  text-align: center;
}

.feed-pagination {
  padding: 1.5rem 1rem 2rem;
}

.current-affairs-pdf-links {
  margin-left: 0.5rem;
}

.current-affairs-pdf-links a {
  font-size: 0.8rem;
  margin-left: 0.4rem;
}

 @media only screen and (max-width: 767px) {
   .feed-index-header {
     padding-left: 1rem;
     padding-right: 1rem;
   }

  .feed-item {
    gap: 0.85rem;
    grid-template-columns: 1fr;
  }

  .feed-item-image {
    max-height: 220px;
  }
}

img.ads-image { width: 100%; }

.ad_size_728x90  { width: 728px; height: 90px; max-width: 100%; }
.ad_size_320x50  { width: 320px; height: 50px; max-width: 100%; }
.ad_size_160x600 { width: 160px; height: 600px; max-width: 100%; }
.ad_size_320x100 { width: 320px; height: 100px; max-width: 100%; }
.ad_size_400x216 { width: 400px; height: 216px; max-width: 100%; }
.ad_size_300x250 { width: 300px; height: 250px; max-width: 100%; }

.google-auto-placed::before {
  content: "Advertisement";
  display: block;
  text-align: center;
  font-size: 8px;
  color: #888;
}

.google-image { height: 9vh; width: 100%; }
.telegram-icon { height: 15vh; }

.notification-video iframe,
.flash_news-video iframe,
.blog-video iframe,
.video-responsive iframe {
  width: 100%;
  height: 40vh;
  display: block;
}


/* =================================================================
   7. CARDS, LISTS & WIDGETS
   ================================================================ */
.card-body { padding: 0.25rem; }
.card-body .content { margin: 0.25rem; padding: 0.5rem; }

.flashNews {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0 0 0.25rem 0.25rem;
  background-color: #fff;
  padding: 1rem;
}

.marquee {
  width: 100%;
  line-height: 1rem;
  background-color: #e4ff98;
  color: #f00;
  white-space: nowrap;
  overflow: hidden;
}

.marquee .marquee-text {
  display: inline-block;
  font-size: 16px;
  padding-left: 100%;
  animation: marquee 25s linear infinite;
}
.marquee .marquee-text:hover { animation-play-state: paused; }

.share-info {
  color: #f00;
  background-color: #e4ff98;
  border: 1px solid #000;
}

.profile_icon {
  border: 1px solid #fff;
  border-radius: 2rem;
}
.profile_icon:hover { background-color: #8b0000; }

.installAppContainer {
  border: 1px solid #808080;
  border-radius: 0.5rem;
}

.books-container {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  -webkit-overflow-scrolling: touch;
}
.books-container .books-link { display: inline-grid; }

.book-box { z-index: 1; }
.book-box:hover {
  transform: scale(1.1);
  transition: transform 0.2s ease-out;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
  z-index: 100 !important;
}

.guest-checkout {
  margin: 1rem auto;
  max-width: 54rem;
  padding: 0 0.75rem;
}
.guest-card {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.guest-card-header,
.guest-summary-footer { background-color: #f8f9fa; }
.guest-card-header h5 { margin-bottom: 0.35rem; }
.guest-summary-body,
.guest-summary-footer,
.guest-form-body { padding: 1rem; }
.guest-book-details {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.guest-book-details picture { flex: 0 0 4.5rem; }
.guest-book-details .img50x70 {
  display: block;
  height: 6.5rem;
  object-fit: contain;
  width: 4.5rem;
}
.guest-book-copy {
  flex: 1 1 auto;
  min-width: 0;
}
.guest-book-price,
.guest-line-price {
  float: right;
  margin-left: 0.75rem;
  white-space: nowrap;
}
.guest-summary-footer h6 { margin: 0; }
.guest-form-body .form-group { margin-left: 0 !important; margin-right: 0 !important; }
.guest-form-body .submit { padding-top: 0.5rem; }

@media only screen and (max-width: 575.98px) {
  .guest-checkout { margin-top: 0.5rem; padding: 0 0.5rem; }
  .guest-summary-body,
  .guest-summary-footer,
  .guest-form-body { padding: 0.75rem; }
  .guest-book-details { gap: 0.5rem; }
  .guest-book-price { display: block; float: none; margin: 0.5rem 0 0; }
  .guest-form-body .form-group > .col-3,
  .guest-form-body .form-group > .col-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .guest-form-body .form-group > .col-3 { padding-bottom: 0.25rem; }
  .guest-form-body .form-group > .col-9 { padding-left: 0.25rem; padding-right: 0.25rem; }
  .guest-form-body .submit .btn { min-width: 5.5rem; }
}

.equal { display: flex; flex-wrap: wrap; }
.checked { color: orange; }
.tags { overflow-x: auto; white-space: nowrap; }
.job_details_container p { margin-bottom: 2px; }

.all_questions_div {
  max-height: 150px;
  overflow: auto;
  max-width: 100%;
}

.post_title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.read_more_linear_grad {
  margin-top: -200px;
  height: 210px;
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}


/* =================================================================
   8. SOCIAL & FOOTER
   ================================================================ */
.social_icons { flex-direction: row; }
.social_icons li { padding-right: 1rem; }
.social_icons li a { font-size: 1.3rem; }
.social_icons li a i,
.footer .navbar .social_icons li a i { color: #999; }
.social_icons li a i { color: #fff; } /* Overridden for main header if applicable */

.footer { background-color: #f7f3ee; }
footer .navbar { max-width: 100%; }

.footer-social a {
  font-size: 1.5rem;
  margin-left: 0.5em;
  opacity: 0.7;
  color: #999;
}

.footer .menu-links a {
  font-size: 12px;
  padding: 2px;
}

.footer .social_icons {
  flex-direction: row;
  align-items: center;
}

.footer .social_icons li {
  padding-right: 1rem;
}

.footer .social_icons li a {
  font-size: 1.3rem;
  color: #999;
}

.footer .copyright-text {
  font-size: 12px;
}

.footer .rate-us .checked {
  color: orange;
}

.footer .rate-us a {
  font-size: 12px;
  color: #333;
  text-decoration: none;
}

.department_image { width: 4rem; height: 3rem; }
.logo_image { width: 2rem; }
#home_name { font-size: 1rem; font-weight: 700; }


/* =================================================================
   9. RATINGS & INSTITUTES
   ================================================================ */
.rating-star { color: #fff; padding: 1px 4px; font-size: 12px; }
.rating-color1 { background-color: orangered; }
.rating-color2 { background-color: orange; }
.rating-color3 { background-color: lightgreen; }
.rating-color4 { background-color: blue; }
.rating-color5 { background-color: green; }

.institutes .image-thumbnail > img {
  max-width: 100%;
  position: absolute;
  max-height: 100%;
  height: 5rem;
  float: right;
  width: 95%;
}

.institute-container .basic-information .div-maps > iframe {
  max-width: 100%;
  height: 15rem;
}


/* =================================================================
   10. ANIMATIONS & MISC
   ================================================================ */
.btn-user-name { border-radius: 25px; }
.jumbotron { padding: 1rem 0.2rem; }
.dataContainer { max-width: 100%; margin: auto; }

.flashNewsHeader .heading { animation: moveInLeft 3s ease-out; }
.notifHeader { margin: auto; }
.notifHeader .heading { animation: moveInRight 3s ease-out; }

.animate_header_right { animation: moveInRight 1s ease-out; }
.animate_header_left { animation: moveInLeft 1s ease-out; }

.menu-icons { margin: 0; }
.menu-icons > [class*="col-"] { margin: 0.3rem 0; }
.menu-icons .menu-item {
  margin: 1rem 0.5rem;
  border-radius: 0.5rem;
  padding: 1rem;
  white-space: inherit;
  display: table-row;
}
.menu-icons img { width: 100%; height: 8vh; }

.btn-animated {
  animation: moveInBottom 0.4s ease-out 0.6s backwards;
}
.btn-animated:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.qr_code_image { width: 200px; height: auto; }

.noselect {
  -webkit-touch-callout: none;
  user-select: none;
}


/* =================================================================
   11. RESPONSIVE MEDIA QUERIES
   ================================================================ */

@media only screen and (max-width: 500px) {
  body { font-size: 16px; }
  .notif-labels { font-size: 12px; }
}

@media only screen and (max-width: 768px) {
  .div_ca_month { width: 100%; height: 5rem; font-size: 1.6rem; }
  .product-div .product-image { height: 11rem; width: 90%; max-width: 100%; }
  .carousel-item { height: 8rem; }
  .course-container .image-dashboard .img-course { width: 100%; height: 10rem; border-radius: 10px; }
  .top_story_card .card-img-top { width: 100%; min-height: 6rem; max-height: 6rem; overflow: hidden; }
  .carousel-item .carousel-image { position: absolute; top: 0; left: 0; height: 8rem; max-width: 100%; }
  .book-carousel-item { width: 90%; text-align: center; height: 22rem; max-width: 100%; max-height: 360px; }
  .short-carousel-item { width: 90%; text-align: center; height: 300px; max-width: 100%; overflow: hidden; }
  .institute-item, .institute-image { height: 10rem !important; }
  .carousel-indicators { bottom: 0; }
  .flashNews { margin-right: 0.5rem; }
  .imp_notifs { margin-left: 0.5rem; }
  .profile-images img { width: 100px; height: 100px; }

  .institutes .image-thumbnail > img { height: 6rem; }
  .institutes .instituteName { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }

  .study-material-container .study-material-image { min-height: 8rem; max-height: 8rem; }
  .product-div .product-image { height: 12rem; }
  .payment-video iframe { width: 100%; max-height: 60vh; }
  #navbarCollapse { max-height: 70vh; overflow: auto; }

  .list-group-item,
  .card-header,
  .current-affairs .divDescription {
    padding: 0 0.75rem;
  }

  #return-to-top {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 20px;
    z-index: 1025;
    font-size: 18px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 25px;
  }
}

@media (min-width: 768px) {
  .carousel-item { height: 18rem; }
  .carousel-item .carousel-image { position: absolute; top: 0; left: 0; min-width: 100%; height: 18rem; }
  .carousel-caption p { margin-bottom: 1.25rem; font-size: 1.25rem; line-height: 1.4; }
  .featurette-heading { font-size: 50px; }
  .book-carousel-item { width: 100%; text-align: center; height: 22rem; max-width: 300px; max-height: 400px; }
  .index-notification-image { max-height: 12vh; }
  .short-carousel-item { width: 100%; text-align: center; height: 400px; max-width: 300px; overflow: hidden; }
  .auto-expand { flex-grow: 1 !important; max-width: 100% !important; }
}

.short-carousel-item picture,
.short-carousel-item .shorts-image {
  max-width: 100%;
  max-height: 100%;
}

.short-carousel-item .shorts-image {
  width: auto;
  height: auto;
  object-fit: contain !important;
}

.short-images-carousel .carousel-inner {
  position: relative;
  overflow: hidden;
}

.short-images-carousel .short-carousel-item.carousel-item-next,
.short-images-carousel .short-carousel-item.carousel-item-prev {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

.short-images-carousel .short-carousel-item.carousel-item.active,
.short-images-carousel .short-carousel-item.carousel-item-next,
.short-images-carousel .short-carousel-item.carousel-item-prev {
  display: flex;
  align-items: center;
  justify-content: center;
}

.short-images-carousel .short-carousel-item.carousel-item:not(.active):not(.carousel-item-next):not(.carousel-item-prev) {
  display: none;
}

@media only screen and (max-width: 767px) {
  .short-images-carousel .carousel-inner {
    height: 360px;
  }
}

@media only screen and (min-width: 768px) {
  .short-images-carousel .carousel-inner {
    height: 450px;
  }
}

@media only screen and (min-width: 769px) {
  .div_ca_month { width: 100%; height: 5rem; font-size: 1.5rem; }
  .ca_month_name { font-size: 1.7rem; }
  .article-margin-10 { margin: 0 10rem; }
  .imp_notifs { max-height: 50rem; overflow: auto; }
  .flashNews { max-height: 35rem; overflow: auto; }
  .filter-data { height: 200px; overflow: auto; max-width: 100%; }
  .product-div .product-image { height: 15rem; width: 90%; max-width: 100%; }
  .blog_items, .qp_items { max-height: 20rem; overflow: auto; }
  .impNotifList { height: 40rem; }
  .payment-video iframe { width: 100%; height: 60vh; }
  .course-container .image-dashboard .img-course { width: 100%; height: 15rem; border-radius: 10px; }
  .top_story_card .card-img-top { width: 100%; min-height: 10rem; max-height: 10rem; overflow: hidden; }
  .flashNewsContainer { padding-right: 0.25rem; }
  .notifContainer { padding-left: 0.25rem; padding-right: 0; }
  .profile-images img { max-width: 100%; width: 160px; height: auto; }

  #return-to-top {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 20px;
    z-index: 1025;
    font-size: 18px;
    border: none;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 25px;
  }
  .navbar-nav .nav-item {
    margin-right: 0.1rem;
    margin-left: 0.1rem;
  }

  .navbar-nav .nav-item .nav-link {
    color: #fff;
    font-weight: 700 !important;
    -webkit-text-stroke: 0.35px currentColor;
    font-size: 13px;
    padding-left: 0.2rem !important;
    padding-right: 0.2rem !important;
  }
  /* Compact & Vertically Aligned Navbar Search Bar */
  .navbar-search-wrapper {
    display: inline-block;
    max-width: 220px;
    height: 34px;
    overflow: hidden;
    vertical-align: middle;
    margin: auto 0;
  }

  .navbar-search-wrapper .gsc-control-cse {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    height: 34px !important;
  }

  .navbar-search-wrapper .gsc-search-box {
    margin-bottom: 0 !important;
    height: 34px !important;
  }

  .navbar-search-wrapper table.gsc-search-box,
  .navbar-search-wrapper tr,
  .navbar-search-wrapper td {
    height: 34px !important;
    padding: 0 !important;
    vertical-align: middle !important;
    background: transparent !important;
    border: none !important;
  }

  .navbar-search-wrapper .gsc-input-box {
    height: 30px !important;
    background: #fff !important;
    border-radius: 4px 0 0 4px !important;
    border: 1px solid #ccc !important;
    margin: 0 !important;
  }

  .navbar-search-wrapper input.gsc-input {
    height: 28px !important;
    padding: 0 8px !important;
    line-height: normal !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .navbar-search-wrapper .gsc-search-button-v2,
  .navbar-search-wrapper input.gsc-search-button {
    height: 30px !important;
    width: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 4px 4px 0 !important;
    background-color: #1a73e8 !important;
    border: none !important;
  }

  /* Hide Google branding and Enhanced text blocks to prevent layout stretching */
  .navbar-search-wrapper .gcsc-branding,
  .navbar-search-wrapper .gsc-branding,
  .navbar-search-wrapper span.gsc-branding-text,
  .navbar-search-wrapper a.gsc-branding-url {
    display: none !important;
  }
  .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Crucial for flex items to prevent content from overflowing */
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
#bookImagesCarousel {
    touch-action: pan-y pinch-zoom;
}
#bookImagesCarousel .carousel-inner {
  text-align: center;
  height: 22rem;
  overflow: hidden;
  position: relative;
}
#bookImagesCarousel .book-carousel-item.carousel-item-next,
#bookImagesCarousel .book-carousel-item.carousel-item-prev {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
}
#bookImagesCarousel .book-carousel-item.active {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  text-align: center;
  width: 100% !important;
}
#bookImagesCarousel .book-carousel-item.carousel-item.active,
#bookImagesCarousel .book-carousel-item.carousel-item-next,
#bookImagesCarousel .book-carousel-item.carousel-item-prev {
  display: block;
}
#bookImagesCarousel .book-detail-image-frame {
  display: grid;
  justify-items: center;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  width: 100% !important;
}
#bookImagesCarousel .responsive-image-wrapper {
  display: block;
  justify-self: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  text-align: center;
  width: fit-content;
}
#bookImagesCarousel .book-detail-image {
  display: block;
  height: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain !important;
  object-position: center;
  width: auto;
}
