/* ==========================================================================
   Custom Image Sizing, Aspect Ratio & Proper View Styles
   ========================================================================== */

/* 1. About Us Section Image */
#about .about-text-content img,
.about-text-content img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* 2. Programs & Causes Box Images (.couses-box) */
.couses-box .thumb,
.causes-box .thumb {
  height: 230px;
  overflow: hidden;
  position: relative;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-color: #f5f5f5;
}

.couses-box .thumb img,
.causes-box .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 25% !important;
  transition: transform 0.5s ease;
}

.couses-box:hover .thumb img,
.causes-box:hover .thumb img {
  transform: scale(1.08);
}

/* 3. Upcoming Events Section Thumbnails */
.upcoming-event .flex-shrink-0 {
  width: 130px;
  height: 100px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #f5f5f5;
  flex-shrink: 0;
}

.upcoming-event .flex-shrink-0 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* 4. Photo Gallery Grid Items */
.tm-gallery .thumb,
.isotope-item .tm-gallery-inner .thumb {
  height: 180px;
  overflow: hidden;
  border-radius: 6px;
  background-color: #f5f5f5;
}

.tm-gallery .thumb img,
.isotope-item .tm-gallery-inner .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  transition: transform 0.4s ease;
}

.tm-gallery:hover .thumb img,
.isotope-item:hover .thumb img {
  transform: scale(1.06);
}

/* 5. Testimonial Avatars */
.testimonial-wrapper .thumb {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 50%;
}

.testimonial-wrapper .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* 6. Blog Posts Thumbnails */
.blog-style1-current-theme .post-thumb.thumb {
  height: 220px;
  overflow: hidden;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  background-color: #f5f5f5;
}

.blog-style1-current-theme .post-thumb.thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* 7. Logo Display Styling */
.menuzord-brand img.logo-default {
  max-height: 65px;
  width: auto;
  object-fit: contain;
}

.footer-widget-area .widget .thumb img {
  max-height: 85px;
  width: auto;
  object-fit: contain;
  background-color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* 8. Side Panel Menu Logo & Indian AI Post Thumbnails */
#side-panel-container .logo {
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 25px !important;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
}

#side-panel-container .latest-posts .post-thumb {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-block;
  float: left;
  margin-right: 15px;
  background-color: #f0f0f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#side-panel-container .latest-posts .post-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50%;
}

/* 9. Brand Color Palette Custom Overrides */
.btn-theme-colored1,
.bg-theme-colored1 {
  background-color: #0C2B5E !important;
  border-color: #0C2B5E !important;
}

.btn-theme-colored2,
.bg-theme-colored2 {
  background-color: #DA8A00 !important;
  border-color: #DA8A00 !important;
}

.text-theme-colored1 {
  color: #0C2B5E !important;
}

.text-theme-colored2 {
  color: #DA8A00 !important;
}

.line-bottom-theme-colored1:after,
.widget .line-bottom:after {
  background-color: #DA8A00 !important;
}


