/* ==========================================================================
   CBC THEME - RESPONSIVE STYLESHEET (ACTIVE MEDIA QUERIES)
   Capacity Building Commission (CBC) Official Portal
   --------------------------------------------------------------------------
   Optimized stylesheet: Unused media queries removed.
   ========================================================================== */

/* ==========================================================================
   SECTION 1: HERO BANNER & CAROUSEL - RESPONSIVE STYLES
   ========================================================================== */
/* --- SECTION 1: HERO BANNER & CAROUSEL (Responsive Styles) --- */
/* Responsive */
@media (max-width: 768px) {
  .slide-content {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
    max-width: 100%;
  }

  .slide-content h1 {
    font-size: 1.9rem;
    /* Reduced from 2.2rem */
  }

  .slide-content h3 {
    font-size: 1rem;
    /* Reduced from 1.1rem */
  }

  .slide-content p {
    font-size: 1.05rem;
    /* Increased from 0.9rem */
  }
}

@media (max-width: 480px) {

  .carousel-prev,
  .carousel-next {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.6rem !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1) !important;
  }

  .hero-pause-container .carousel-pause-btn,
  .hero-pause-container .video-mute-btn {
    width: 24px !important;
    height: 24px !important;
    font-size: 0.6rem !important;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1) !important;
  }

  .carousel-prev {
    left: 5px;
  }

  .carousel-next {
    right: 5px;
  }

  .hero-pause-container {
    bottom: 0.8rem;
    right: 5px;
  }

  .nav-buttons button {
    width: 12px;
    height: 12px;
    border-width: 1px;
  }

  .carousel {
    min-height: 220px;
  }
}

@media (max-width: 320px) {
  .slide-content h1 {
    font-size: 1.4rem;
  }

  .slide-content h3 {
    font-size: 0.9rem;
  }

  .slide-content p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .slide-content .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .carousel-prev,
  .carousel-next {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.55rem !important;
  }

  .hero-pause-container .carousel-pause-btn,
  .hero-pause-container .video-mute-btn {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.55rem !important;
  }

  .carousel-prev {
    left: 3px;
  }

  .carousel-next {
    right: 3px;
  }

  .hero-pause-container {
    bottom: 0.6rem;
    right: 3px;
  }

  .nav-buttons {
    bottom: 0.6rem;
    gap: 6px;
  }

  .nav-buttons button {
    width: 10px;
    height: 10px;
  }

  .carousel {
    min-height: 200px;
  }
}

/* --- SECTION 2: ALERT BAR & TICKER SECTION (Responsive Styles) --- */
/* ==========================================================================
   SECTION 2: ALERT BAR & TICKER - RESPONSIVE STYLES
   ========================================================================== */
/* Responsive styles for alert bar */
@media (max-width: 768px) {
  .alert-bar-content {
    padding: 6px 10px;
    gap: 12px;
  }

  .alert-label {
    font-size: 0.85rem;
    gap: 6px;
  }

  .alert-label i {
    font-size: 1rem;
  }

  .alert-control-btn {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .alert-control-btn i {
    font-size: 0.75rem;
  }

  .alert-item {
    font-size: 1rem;
    gap: 10px;
    padding: 0 15px;
  }

  .alert-dot {
    width: 8px;
    height: 8px;
  }

  .alert-bar-track {
    gap: 40px;
  }
}

/* ==========================================================================
   SECTION 2: ALERT BAR & TICKER - RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 480px) {
  .alert-bar-content {
    padding: 6px 10px;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .alert-label {
    font-size: 0.8rem;
    gap: 5px;
  }

  .alert-label i {
    font-size: 0.9rem;
  }

  .alert-controls {
    gap: 6px;
  }

  .alert-control-btn {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }

  .alert-control-btn i {
    font-size: 0.7rem;
  }

  .alert-item {
    font-size: 0.95rem;
    gap: 8px;
    padding: 0 12px;
  }

  .alert-dot {
    width: 7px;
    height: 7px;
  }

  .alert-bar-track {
    gap: 15px;
  }
}

@media (max-width: 320px) {
  .alert-label span {
    display: none;
    /* Hide 'Alert' text on extremely narrow screens to save space */
  }

  .alert-item {
    font-size: 0.85rem;
    margin-right: 20px;
  }
}

/* Enhanced font sizes for large desktop screens (1920px and above) */
@media (min-width: 1920px) {
  .alert-label {
    font-size: clamp(1.4rem, 2vw + 1rem, 2.8rem);
    gap: 12px;
  }

  .alert-label i {
    font-size: 1.5rem;
  }

  .alert-item {
    font-size: 1rem;
    gap: 14px;
    padding: 0 20px;
  }

  .alert-control-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .alert-control-btn i {
    font-size: 1rem;
  }

  .alert-dot {
    width: 10px;
    height: 10px;
  }

  .alert-bar-content {
    padding: 14px 20px;
  }
}

/* Ultra-wide screens (2560px and above) */
@media (min-width: 2560px) {
  .alert-label {
    font-size: clamp(1.6rem, 2vw + 1.2rem, 3rem);
    gap: 14px;
  }

  .alert-label i {
    font-size: 1.7rem;
  }

  .alert-item {
    font-size: 1rem;
    gap: 16px;
    padding: 0 24px;
  }

  .alert-control-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }

  .alert-control-btn i {
    font-size: 1.1rem;
  }

  .alert-dot {
    width: 12px;
    height: 12px;
  }

  .alert-bar-content {
    padding: 16px 24px;
  }
}

/* --- SECTION 4: WHAT'S NEW, IN FOCUS & COMBINED INFO ROW (Responsive Styles) --- */
@media (max-width: 768px) {
  .combined-info-row {
    padding: 2rem 5%;
  }
}

/* ==========================================================================
   SECTION 3: ABOUT PM, COMBINED ROW & WHAT'S NEW - RESPONSIVE STYLES
   ========================================================================== */
/* Desktop layout: Decouple 'What's New' height so it doesn't push the row */
@media (min-width: 992px) {

  .combined-info-row .col-lg-4:nth-child(2),
  .combined-info-row .col-lg-5 {
    position: relative !important;
    /* Ensure the column is the anchor */
  }

  .combined-info-row .whts-box {
    position: absolute !important;
    top: 0;
    bottom: 0;
    left: 15px !important;
    /* Match the 15px column padding */
    right: 15px !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    /* Allow shrinking */
    overflow: hidden;
    /* Scroll handled by inner track or cut off */
  }
}

/* Mobile (up to 600px) */
@media (max-width: 600px) {
  .whts-sec {
    padding: 25px 4%;
    gap: 15px;
  }

  .whts-box {
    text-align: center;
    padding: 25px 15px;
  }

  .whts-box h2 {
    font-size: 1.2rem !important;
    /* Reduced from 1.6rem */
  }

  .whts-box p {
    font-size: 1rem;
    line-height: 0.9;
  }
}

@media (max-width: 768px) {
  /* .news-section {
    padding: 20px 15px;
  } */

  .news-wrapper {
    height: 150px;
    max-height: 150px;
  }

  .news-header {
    margin-bottom: 1px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .news-header h2 {
    font-size: 1.6rem;
  }

  .news-banner {
    width: 100%;
    min-height: 80px;
    padding: 12px 16px;
    gap: 15px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 0.95rem for better readability */
    line-height: 0.9;
  }

  .new-badge {
    padding: 5px 8px;
    font-size: 0.75rem;
  }



  .toggle-slide {
    width: 38px;
    height: 38px;
  }
}

/* ==========================================================================
   SECTION 4: HERO CAROUSEL HEIGHTS & RESPONSIVE BREAKPOINTS
   ========================================================================== */
/* @media (max-width: 480px) {
  .news-section {
    padding: 18px 12px;
  } */

.news-wrapper {
  height: 140px;
  max-height: 140px;
  overflow-y: scroll;
}

.news-header h2 {
  font-size: 1.4rem;
}

.news-banner {
  width: 100%;
  min-height: 75px;
  padding: 12px 14px;
  gap: 12px;
  flex-wrap: wrap;
}

.news-banner-content {
  width: 100%;
  margin-top: 5px;
}

.news-banner-content p {
  font-size: 0.95rem;
  /* Increased from 0.9rem for better readability */
  line-height: 1.4;
}

.new-badge {
  padding: 4px 8px;
  font-size: 0.7rem;
}





.news-footer {
  margin-top: 20px;
  padding-top: 10px;
}


@media (max-width: 768px) {
  .infocus-title-wrapper {
    flex: 0 0 100%;
    padding: 20px 15px 12px;
    min-width: unset;
    max-height: 30px
  }

  .focus-circle-frame {
    width: 220px;
    height: 220px;
  }

  .inner-white-circle {
    width: 165px;
    height: 165px;
  }

  .infocus-title-wrapper .infocus-title {
    font-size: 2.5rem;
  }













  .infocus-title-wrapper .circle-glow {
    width: 220px;
    height: 220px;
  }

  .infocus-content {
    flex: 0 0 100%;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .blog-footer {
    margin-top: 1.5rem;
    padding-top: 0.75rem;
  }

  .blog-see-more-btn {
    padding: 0.625rem 1.5rem;
    font-size: 1rem;
  }
}

/*------------------------------------------------ media corner section -------------------------------*/
/* ------------------------- RESPONSIVE DESIGN ------------------------- */
/* Tablet (up to 992px) */
@media (max-width: 992px) {
  .whts-sec {
    flex-direction: column;
    align-items: center;
    padding: 30px 5%;
  }

  .whts-box {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px 15px;
  }
}

/* Mobile (up to 600px) */
@media (max-width: 600px) {
  .whts-sec {
    padding: 25px 4%;
    gap: 15px;
  }

  .whts-box {
    text-align: center;
    padding: 0px;
    border-radius: 8px;
    border: none;
    box-shadow: none;
  }

  .whts-box h2 {
    font-size: 1.2rem !important;
    /* Reduced from 1.6rem */
  }

  .whts-box p {
    font-size: 1rem;
    line-height: 0.9;
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 0px;
  }

  .news-wrapper {
    height: 150px;
    max-height: 150px;
  }

  .news-header {
    margin-bottom: 1px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .news-header h2 {
    font-size: 1.6rem;
  }

  .news-banner {
    width: 100%;
    min-height: 80px;
    padding: 12px 16px;
    gap: 15px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 0.95rem for better readability */
    line-height: 0.9;
  }

  .new-badge {
    padding: 5px 8px;
    font-size: 0.75rem;
  }



  .toggle-slide {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .news-section {
    padding: 0px;
  }

  .news-wrapper {
    height: 140px;
    max-height: 140px;
  }

  .news-header h2 {
    font-size: 1.4rem;
  }

  .news-banner {
    width: 100%;
    min-height: 75px;
    padding: 12px 14px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .news-banner-content {
    width: 100%;
    margin-top: 5px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 0.9rem for better readability */
    line-height: 1.4;
  }

  .new-badge {
    padding: 4px 8px;
    font-size: 0.7rem;
  }





  .news-footer {
    margin-top: 20px;
    padding-top: 10px;
  }
}

@media (max-width: 768px) {
  .infocus-title-wrapper {
    flex: 0 0 100%;
    padding: 20px 15px 12px;
    min-width: unset;
  }

  .focus-circle-frame {
    width: 220px;
    height: 220px;
  }

  .inner-white-circle {
    width: 165px;
    height: 165px;
  }

  .infocus-title-wrapper .infocus-title {
    font-size: 2.5rem;
  }













  .infocus-title-wrapper .circle-glow {
    width: 220px;
    height: 220px;
  }

  .infocus-content {
    flex: 0 0 100%;
    padding: 10px;
  }
}

/* -------------------------------------------------------------------- */
/* FINAL OVERRIDE: TARGET ROOT CARD AND IMAGE FLEX                      */
/* -------------------------------------------------------------------- */
/* Force the OUTERMOST Jitender Card to be a flex container */
/* -------------------------------------------------------------------- */
/* DESKTOP ONLY: TARGET CARD FLEX STACK FOR STRETCHED LAYOUT           */
/* -------------------------------------------------------------------- */
@media (min-width: 992px) {

  /* This targets the card directly inside the col-lg-4 if it matches this class */
  .col-lg-4>.jitender-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* Force innermost content wrappers to stretch completely */
  .jitender-card .jitender-content-wrapper {
    height: 100% !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  .jitender-card .jitender-section {
    flex-grow: 1 !important;
    flex-basis: 0 !important;
    /* Start from 0 to force fair spacing/growth */
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .jitender-card .jitender-image-wrapper {
    flex-grow: 1 !important;
    height: auto !important;
    /* Rely on flex-grow, not percentage */
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  .jitender-card .jitender-image {
    object-fit: cover !important;
    height: 100% !important;
    width: 100% !important;
    flex-grow: 1 !important;
  }

  /* Ensure message section compresses */
  .jitender-card .jitender-message-section {
    flex-grow: 0 !important;
    flex-basis: auto !important;
    height: auto !important;
    flex-shrink: 0 !important;
  }

  /* Force the OUTERMOST What's New Box to be a flex container */
  .col-lg-5>.whts-box,
  .col-lg-4>.whts-box {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
  }

  /* Force the Region to grow */
  .whts-box .region-what-s-news {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  /* Force the intermediate Drupal wrappers to grow */
  .whts-box .region-what-s-news .block,
  .whts-box .region-what-s-news .views-element-container,
  .whts-box .region-what-s-news .views-element-container>div,
  /* Target generic div */
  .whts-box .region-what-s-news .view,
  .whts-box .region-what-s-news .view-content {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  /* Force the inner News Section to grow */
  .whts-box .news-section {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  /* Force the list wrapper to take available space */
  .whts-box .news-wrapper {
    flex-grow: 1 !important;
    height: 100% !important;
    /* Force explicit 100% then let flex handle it */
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    border-bottom: none !important;
    /* Move border to bottom of container if needed */
  }

  /* Move border to the bottom of the news wrapper or track */
  .whts-box .news-banner-track {
    flex-grow: 1 !important;
  }

  /* Ensure footer stays at bottom but doesn't grow */
  .whts-box .news-footer {
    flex-shrink: 0 !important;
    margin-top: auto !important;
    width: 100%;
  }
}

/* ==========================================================================
   SECTION 6: BLOG, TESTIMONIALS & LEADERSHIP - RESPONSIVE STYLES
   ========================================================================== */
/* -------------------------------------------------------------------- */
/* MOBILE FIXES: RESTORE VISIBILITY AND FIXED HEIGHTS                  */
/* -------------------------------------------------------------------- */
@media (max-width: 991px) {
  .jitender-card .jitender-image-wrapper {
    height: 350px !important;
    min-height: 350px !important;
    display: block !important;
    visibility: visible !important;
  }

  .jitender-card .jitender-image {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .whts-box .news-wrapper {
    height: 180px !important;
    max-height: 180px !important;
    overflow: hidden !important;
  }
}

/* --- SECTION 5: ABOUT PM & MISSION KARMAYOGI (HON'BLE PM MODI SECTION) (Responsive Styles) --- */
/* ==========================================================================
   SECTION 3: ABOUT PM, COMBINED ROW & WHAT'S NEW - RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 768px) {
  .about-pm-section {
    padding: 2rem 5%;
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .carousel {
    height: 40vh;
  }

  #bg-video,
  #bg-image,
  .bg-banner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .about-pm-section {
    padding: 2rem 2%;
    gap: 1rem;
  }

  .combined-info-row {
    padding: 2rem 2%;
  }

  .combined-info-row .col-lg-4,
  .combined-info-row .col-lg-5,
  .combined-info-row .col-lg-3 {
    width: 100%;
    margin-bottom: 1rem;
  }



  .mission-content {
    padding: 15px 14px;
    min-height: 220px;
  }













  .mission-title {
    font-size: 1.6rem;
  }



  .modi-image {
    min-height: 240px;
  }
















}

@media (max-width: 480px) {


  .mission-content {
    padding: 15px 14px;
    min-height: 220px;
    text-align: center;
  }













  .mission-title {
    font-size: 1.6rem;
  }



  .modi-image {
    min-height: 240px;
  }
















}

/* --- SECTION 6: COLLABORATION SECTION (COLLAB / PARTNERS) (Responsive Styles) --- */
/* ==========================================================================
   SECTION 5: WHAT'S NEW, COLLABORATION & IN FOCUS - RESPONSIVE STYLES
   ========================================================================== */
/*------------------------------------------------ media corner section -------------------------------*/
/* ------------------------- RESPONSIVE DESIGN ------------------------- */
/* Tablet (up to 992px) */
@media (max-width: 992px) {
  .whts-sec {
    flex-direction: column;
    align-items: center;
    padding: 30px 5%;
  }

  .media-footer {
    padding-bottom: 10px;
  }

  .newsletters-footer {
    padding-bottom: 10px;
  }
}

@media (max-width: 992px) {
  .collab-box {
    flex: 0 0 80%;
  }
}

/* Responsive Styles for News Section */
@media (max-width: 992px) {
  .collab-section {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 20px;
    position: relative;
    flex: 0 0 100%;
    background: rgb(255, 255, 255);
    border-radius: 15px;
    padding: 20px;
    overflow: hidden;
  }

  .news-section {
    flex: 0 0 100%;
    background: #ffffff;
    border-radius: 15px;
    color: #000;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    overflow: hidden;
    position: relative;
  }

  .news-wrapper {
    height: 160px;
    max-height: 160px;
  }

  .news-header h2 {
    font-size: 1.75rem;
  }

  .news-banner {
    width: 100%;
    min-height: 85px;
    padding: 18px 25px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 1rem for better readability */
  }

  .new-badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }




}

@media (max-width: 992px) {
  .collab-item {
    flex: 0 0 85%;
  }
}

@media (max-width: 480px) {
  .collab-item {
    flex: 0 0 95%;
  }
}

/* ==========================================================================
   SECTION 7: EVENTS & WORKSHOPS - RESPONSIVE STYLES
   ========================================================================== */
/* Responsive Styles for News Section */
@media (max-width: 992px) {
  .collab-section {
    box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 20px;
    position: relative;
    flex: 0 0 100%;
    background: rgb(255, 255, 255);
    /* border-radius: 15px; */
    /* padding: 20px; */
    overflow: hidden;
  }

  .news-section {
    flex: 0 0 100%;
    background: #ffffff;
    border-radius: 15px;
    color: #000;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
    overflow: hidden;
    position: relative;
    /* padding: 15px; */
  }

  .news-wrapper {
    height: 160px;
    max-height: 160px;
  }

  .news-header h2 {
    font-size: 1.75rem;
  }

  .news-banner {
    width: 100%;
    min-height: 85px;
    padding: 18px 25px;
  }

  .news-banner-content p {
    font-size: 0.95rem;
    /* Increased from 1rem for better readability */
  }

  .new-badge {
    padding: 6px 12px;
    font-size: 0.8rem;
  }




}

/* --- SECTION 7: MEDIA CORNER & NEWSLETTERS SECTION (Responsive Styles) --- */
@media (max-width: 992px) {
  .media-corner-section {
    margin-top: 15px;
  }
}

@media (max-width: 992px) {
  .newsletters-section {
    margin-top: 15px;
  }

  .whts-sec .col-lg-4,
  .whts-sec .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .media-corner-section {
    margin-top: 15px;
  }
}

@media (max-width: 992px) {
  .newsletters-section {
    margin-top: 15px;
  }

  .whts-sec .col-lg-4,
  .whts-sec .col-lg-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* --- SECTION 9: TESTIMONIALS & OPINIONS ("OPINIONS DO MATTER" & BLOGS) (Responsive Styles) --- */
/* Responsive: Stack vertically on smaller screens */
@media (max-width: 991px) {
  .opinions-layout-wrapper {
    flex-direction: column;
  }

  .opinions-segregator {
    display: none;
  }

  .opinions-carousel-section,
  .opinions-vertical-box {
    flex: 0 0 100%;
    width: 100%;
  }

  .vertical-testimonials-scroll {
    max-height: 400px;
  }
}

/* ===== END: 75/25 Split Layout ===== */
/* Responsive */

/* Responsive */

/* ==========================================================================
   SECTION 11: OPINION CARDS MULTI-BREAKPOINT GRID - RESPONSIVE
   ========================================================================== */
/* 4 cards visible on desktop (>= 1200px) */
@media (min-width: 1200px) {
  .home-opinion-card {
    flex: 0 0 calc((100% - (3 * 15px)) / 4) !important;
    width: calc((100% - (3 * 15px)) / 4) !important;
    max-width: calc((100% - (3 * 15px)) / 4) !important;
  }
}

/* ==========================================================================
   SECTION 8: SOCIAL MEDIA & VIDEO GALLERY - RESPONSIVE STYLES
   ========================================================================== */
/* 3 cards visible on medium / tablet (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .home-opinion-card {
    flex: 0 0 calc((100% - (2 * 15px)) / 3) !important;
    width: calc((100% - (2 * 15px)) / 3) !important;
    max-width: calc((100% - (2 * 15px)) / 3) !important;
  }
}

/* 2 cards visible on mobile (< 768px) */
@media (max-width: 767px) {
  .home-opinion-card {
    flex: 0 0 calc((100% - 12px) / 2) !important;
    width: calc((100% - 12px) / 2) !important;
    max-width: calc((100% - 12px) / 2) !important;
    height: 330px !important;
  }
}

/* Fix Opinions Do Matter & Testimonials Mobile Layout */
@media (max-width: 991px) {
  .opinions-layout-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* Increased gap */
  }

  .blog-carousel-wrapper {
    padding: 0px;
  }

  .opinions-carousel-section {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    position: relative;
    /* Ensure controls positioning context */
  }

  .opinions-testimonials-column {
    width: 100%;
    padding-top: 30px;
    border-top: 1px solid #eee;
  }

  /* Carousel Controls - Positioned on sides of the card */








  /* Wider Cards for better readability - keep responsive flex */
  .home-opinion-card {
    margin: 0;
  }

  /* Ensure Testimonials video/card fits nicely */
  .opinions-testimonials-column .youtube-card,
  .opinions-testimonials-column .video-container {
    height: auto !important;
    min-height: 250px;
  }
}

/* --- SECTION 10: LEADERSHIP & CHAIRPERSON LETTER MODAL (Responsive Styles) --- */
/* ==========================================================================
   CBC THEME - RESPONSIVE STYLESHEET (ALL MEDIA QUERIES)
   Capacity Building Commission (CBC) Official Portal
   --------------------------------------------------------------------------
   TABLE OF CONTENTS:
   - SECTION 1: HERO BANNER & CAROUSEL - RESPONSIVE STYLES
   - SECTION 2: ALERT BAR & TICKER - RESPONSIVE STYLES
   - SECTION 3: ABOUT PM, COMBINED ROW & WHAT'S NEW - RESPONSIVE STYLES
   - SECTION 4: HERO CAROUSEL HEIGHTS & RESPONSIVE BREAKPOINTS
   - SECTION 5: WHAT'S NEW, COLLABORATION & IN FOCUS - RESPONSIVE STYLES
   - SECTION 6: BLOG, TESTIMONIALS & LEADERSHIP - RESPONSIVE STYLES
   - SECTION 7: EVENTS & WORKSHOPS - RESPONSIVE STYLES
   - SECTION 8: SOCIAL MEDIA & VIDEO GALLERY - RESPONSIVE STYLES
   - SECTION 9: COMPREHENSIVE MOBILE & TABLET LAYOUT OVERRIDES
   - SECTION 10: DYNAMIC INDIA MAP & FLEX STRETCH OVERRIDES - RESPONSIVE
   - SECTION 11: OPINION CARDS MULTI-BREAKPOINT GRID - RESPONSIVE
   - SECTION 12: USER LOGIN, LEADERSHIP MOBILE REORDER & ACCESSIBILITY
   ========================================================================== */
/* ==========================================================================
   SECTION 1: HERO BANNER & CAROUSEL - RESPONSIVE STYLES
   ========================================================================== */
/* Removed legacy conflicting pause button blocks */
/* Responsive adjustments */
@media (max-width: 768px) {

  .carousel-prev,
  .carousel-next {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.7rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }

  .hero-pause-container .carousel-pause-btn,
  .hero-pause-container .video-mute-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.7rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }

  .carousel {
    min-height: 250px;
  }
}

/* ==========================================================================
   SECTION 4: HERO CAROUSEL HEIGHTS & RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .carousel {
    height: 70vh;
  }

  #bg-video,
  #bg-image,
  .bg-banner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .about-pm-section {
    flex-direction: column;
    padding: 4rem 4%;
    gap: 2rem;
  }

  .about-cbc-column,
  .pm-modi-column {
    flex: 1 1 100%;
    width: 100%;
  }

  .combined-info-row {
    padding: 4rem 4%;
  }

  .combined-info-row .row {
    flex-direction: column;
    align-items: stretch;
  }

  .combined-info-row .col-lg-4,
  .combined-info-row .col-lg-5,
  .combined-info-row .col-lg-3 {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    height: auto;
  }







  .whts-sec {
    padding: 35px 5%;
  }

  .collab-section {
    padding: 0;
  }

  .collab-content-wrapper {
    padding: 1.5rem 5% 1rem;
  }

  .collab-header-content {
    padding: 20px 4%;
  }

  .collab-header-content h3 {
    font-size: 1.1rem !important;
    /* Reduced from 1.3rem */
  }

  .collab-footer {
    padding: 0rem 5% 3rem;
  }

  .leadership-section {
    padding: 2.5rem 5%;
  }

  .cbc-blog-carousel {
    padding: 2rem 5%;
  }

  .events-section {
    padding: 2rem 5%;
  }

  .social-section {
    padding: 1.5rem 0;
  }

  .gallery-link-card {
    padding: 20px;
  }

  .gallery-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .gallery-icon i {
    font-size: 1.5rem;
  }

  .gallery-card-content h3 {
    font-size: 1.25rem;
  }

  .gallery-card-content p {
    font-size: 1rem;
    /* Increased from 0.9rem for better readability */
  }

  .partners-section {
    padding: 35px 5%;
  }

  .mission-karmayogi-section-alt,
  .modi-section,
  .jitender-section {
    flex: 0 0 100%;
    width: 100%;
  }

  .mission-content {
    padding: 18px 18px;
    min-height: 240px;
  }











  .mission-title {
    font-size: 1.8rem;
  }

  .modi-image {
    min-height: 280px;
  }

  .jitender-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }





  .jitender-name-badge {
    padding: 12px 16px;
  }

  .jitender-name-badge p {
    font-size: 1.05rem;
  }

  .jitender-image-wrapper {
    height: 300px;
  }

  .jitender-message-section {
    padding: 16px;
  }

  .jitender-message-text {
    font-size: 1.1rem;
    line-height: 1.4;
  }












}

@media (max-width: 768px) {
  .carousel {
    height: 50vh;
  }

  #bg-video,
  #bg-image,
  .bg-banner-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  .about-pm-section {
    flex-direction: column;
    padding: 3rem 3%;
    gap: 1.5rem;
  }

  .combined-info-row {
    padding: 3rem 3%;
  }

  .combined-info-row .col-lg-4,
  .combined-info-row .col-lg-5,
  .combined-info-row .col-lg-3 {
    width: 100%;
    margin-bottom: 1.5rem;
  }

  .infocus-container {
    margin-bottom: 1.5rem;
  }







  .whts-sec {
    padding: 30px 4%;
  }

  .collab-section {
    padding: 0;
  }

  .collab-content-wrapper {
    padding: 1.5rem 3%;
  }

  .collab-header-content {
    padding: 1.2rem 3%;
  }

  .collab-header-content h3 {
    font-size: 1.2rem;
  }

  .collab-footer {
    padding: 1rem 3%;
  }

  .leadership-section {
    padding: 2rem 4%;
  }

  .leadership-members-row {
    display: flex;
    flex-direction: column;
  }

  .leadership-members-row>div:nth-child(2) {
    order: -1;
  }

  .cbc-blog-carousel {
    padding: 2rem 4%;
  }

  .events-section {
    padding: 2.5rem 3%;
  }

  .social-section {
    padding: 30px 0;
  }

  .gallery-link-card {
    padding: 20px 15px;
  }

  .gallery-icon {
    width: 55px;
    height: 55px;
    margin-bottom: 12px;
  }

  .gallery-icon i {
    font-size: 1.4rem;
  }

  .gallery-card-content h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }

  .gallery-card-content p {
    font-size: 1.05rem;
    /* Increased for better readability */
    margin-bottom: 15px;
  }

  .partners-section {
    padding: 30px 4%;
  }

  .stats-section {
    padding: 30px 15px;
  }

  .mission-content {
    padding: 16px 18px;
    min-height: 220px;
  }











  .mission-title {
    font-size: 1.7rem;
  }

  .mission-title::after {
    width: 60px;
    height: 3px;
  }



  .modi-image {
    min-height: 260px;
  }

  .jitender-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }





  .jitender-name-badge {
    padding: 12px 14px;
  }

  .jitender-name-badge p {
    font-size: 1rem;
  }












}

/* ==========================================================================
   SECTION 6: BLOG, TESTIMONIALS & LEADERSHIP - RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 767px) {
  .cbc-blog-carousel .carousel-track {
    gap: 12px;
  }
}

@media (max-width: 768px) {




  .leadership-title {
    font-size: 1.2rem !important;
    /* Reduced from 1.4rem */
    font-weight: 800;
    margin-bottom: 12px;
  }



  .carousel-controls button {
    width: 30px;
    height: 30px;
  }
}

/* === Responsive === */
@media (max-width: 992px) {
  .leadership-grid-new {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 25px;
    padding: 0 20px;
    align-items: stretch;
  }

  .chairperson-image-card {
    border-radius: 18px;
  }

  .chairperson-image-card,
  .chairperson-message-card {
    grid-column: 1;
    grid-row: auto;
    height: auto;
  }

  .chairperson-image-wrapper {
    height: 400px;
  }

  .chairperson-message-card {
    height: auto;
    border-radius: 18px;
  }



  .member-image-wrapper {
    height: 180px;
  }

  .modal-content-wrapper {
    max-width: 95%;
    padding: 8px;
  }

  .letter-paper {
    padding: 25px 30px;
    min-height: 500px;
  }

  .letter-title-new {
    font-size: 1.6rem;
  }

  .letter-header-new {
    flex-direction: column;
    gap: 15px;
  }

  .letter-chairperson-photo {
    width: 80px;
    height: 80px;
    margin-left: 0;
    margin-top: 10px;
  }

  .letter-pencil-icon {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .leadership-grid-new {
    padding: 0 15px;
  }

  .chairperson-message-card {
    padding: 15px;
  }

  .message-preview-container {
    padding: 8px;
  }

  .message-preview-letter {
    padding: 8px 10px;
  }

  .preview-letter-title-new {
    font-size: 0.65rem;
  }

  .preview-pencil-icon {
    font-size: 0.5rem;
  }

  .preview-chairperson-photo {
    width: 20px;
    height: 20px;
  }

  .preview-letter-text {
    font-size: 0.55rem;
  }

  .preview-letter-intro {
    font-size: 0.6rem;
  }

  .preview-letter-paragraph {
    margin-bottom: 1px;
  }

  .preview-signature-wishes {
    font-size: 0.5rem;
  }

  .preview-signature-name {
    font-size: 0.55rem;
  }

  .preview-signature-title {
    font-size: 0.5rem;
  }

  .message-title {
    font-size: 1.2rem;
  }

  .message-intro {
    font-size: 1rem;
  }

  .message-text {
    font-size: 0.9rem;
  }



  .modal-content-wrapper {
    max-width: 98%;
  }

  .letter-paper {
    padding: 30px 25px;
    padding-top: 10px;
    max-height: calc(90vh - 40px);
  }

  .letter-container {
    max-height: 90vh;
  }

  .letter-title-new {
    font-size: 1.4rem;
  }

  .letter-header-new {
    margin-bottom: 1px;
    padding-bottom: 6px;
    flex-direction: column;
    align-items: flex-start;
  }

  .letter-chairperson-photo {
    width: 60px;
    height: 60px;
    margin-left: 0;
    margin-top: 10px;
  }

  .letter-pencil-icon {
    font-size: 1.2rem;
  }
}

@media (max-width: 992px) {


  .leader-card:nth-child(2) {
    transform: scale(1);
  }

  .leader-img img {
    height: 100%;
  }

  .small-card .leader-img {
    height: 220px;
  }

  .small-card {
    height: 280px;
  }





  .leader-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: #002b5b;
    margin-bottom: 1px;
  }

  .leader-info p {
    font-size: 14px;
  }



  .leadership-section {
    padding: 35px 1%;
  }
}

/* ==========================================================================
   SECTION 9: COMPREHENSIVE MOBILE & TABLET LAYOUT OVERRIDES
   ========================================================================== */

/* ==========================================================================
   SECTION 9: COMPREHENSIVE MOBILE & TABLET LAYOUT OVERRIDES
   ========================================================================== */
@media (max-width: 992px) {






  .whts-sec {
    padding: 35px 5%;
  }

  .collab-section {
    padding: 0;
  }

  .collab-content-wrapper {
    padding: 1.5rem 5% 0.5rem;
  }

  .collab-header-content {
    padding: 1.2rem 4%;
  }

  .collab-header-content h3 {
    font-size: 1.1rem !important;
    /* Reduced from 1.3rem */
  }

  .collab-footer {
    padding: 1rem 4%;
  }

  .leadership-section {
    padding: 2.5rem 5%;
  }

  .cbc-blog-carousel {
    padding: 2rem 5%;
  }

  .events-section {
    padding: 2rem 5%;
  }

  .social-section {
    padding: 25px 0;
  }

  .partners-section {
    padding: 35px 5%;
  }

  .mission-karmayogi-section-alt,
  .modi-section,
  .jitender-section {
    flex: 0 0 100%;
    width: 100%;
  }

  .mission-content {
    padding: 18px 18px;
    min-height: 240px;
  }











  .mission-title {
    font-size: 1.8rem;
  }

  .modi-image {
    min-height: 280px;
  }

  .jitender-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }





  .jitender-name-badge {
    padding: 12px 16px;
  }

  .jitender-name-badge p {
    font-size: 1.05rem;
  }

  .jitender-image-wrapper {
    height: 300px;
  }

  .jitender-message-section {
    padding: 18px 20px;
  }

  .jitender-message-text {
    font-size: 0.95rem;
    line-height: 1.4;
  }












}

@media (max-width: 768px) {






  .whts-sec {
    padding: 30px 4%;
  }

  .collab-section {
    padding: 0;
  }

  .collab-content-wrapper {
    padding: 1.5rem 3%;
  }

  .collab-header-content {
    padding: 1.2rem 3%;
  }

  .collab-header-content h3 {
    font-size: 1.2rem;
  }

  .collab-footer {
    padding: 1rem 3% 2rem;
  }

  .leadership-section {
    padding: 2rem 4%;
  }

  .cbc-blog-carousel {
    padding: 2rem 4%;
  }

  .events-section {
    padding: 2rem 3%;
  }

  .social-section {
    padding: 1.5rem 0;
  }

  .partners-section {
    padding: 2rem 4%;
  }

  .stats-section {
    padding: 30px 15px;
  }

  .mission-content {
    padding: 16px 18px;
    min-height: 220px;
    text-align: center;
  }











  .mission-title {
    font-size: 1.7rem;
  }

  .mission-title::after {
    width: 60px;
    height: 3px;
  }



  .modi-image {
    min-height: 260px;
  }

  .jitender-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }





  .jitender-name-badge {
    padding: 12px 14px;
  }

  .jitender-name-badge p {
    font-size: 1rem;
  }












}

@media (max-width: 768px) {




  .leadership-title {
    font-size: 1.2rem !important;
    /* Reduced from 1.4rem */
    font-weight: 800;
    margin-bottom: 12px;
  }



  .carousel-controls button {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 1200px) {
  .leadership-members-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* === Responsive === */
@media (max-width: 992px) {
  .leadership-grid-new {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 20px;
    align-items: stretch;
  }

  .leadership-team-column {
    padding: 18px;
    border-radius: 24px;
  }

  .leadership-members-row {
    grid-template-columns: 1fr;
  }

  .chairperson-image-wrapper {
    height: 450px;
  }

  .chairperson-image-card {
    min-height: auto;
    border-radius: 18px;
  }

  .chairperson-message-card {
    height: auto;
    border-radius: 18px;
    padding: 18px;
  }



  .member-image-wrapper {
    height: 180px;
  }

  .modal-content-wrapper {
    max-width: 95%;
    padding: 8px;
  }

  .letter-paper {
    padding: 25px 30px;
    min-height: 500px;
  }

  .letter-title-new {
    font-size: 1.6rem;
  }

  .letter-header-new {
    flex-direction: column;
    gap: 15px;
  }

  .letter-chairperson-photo {
    width: 80px;
    height: 80px;
    margin-left: 0;
    margin-top: 10px;
  }

  .letter-pencil-icon {
    font-size: 1.4rem;
  }
}

/* Reorder Commission Leadership on Mobile - Centre element first */
@media (max-width: 767px) {
  .leadership-members-row {
    display: flex;
    flex-direction: column;
  }

  .leadership-members-row li:nth-child(2) {
    order: -1;
    margin-bottom: 20px;
  }
}

/* --- SECTION 11: EVENTS & REGIONAL WORKSHOPS SECTION (Responsive Styles) --- */
/* ==========================================================================
   SECTION 7: EVENTS & WORKSHOPS - RESPONSIVE STYLES
   ========================================================================== */
/* Responsive Design */
@media (max-width: 1200px) {
  .home-event-card {
    flex: 0 0 calc(40% - 14px);
    min-width: 320px;
  }

  .events-header h2 {
    font-size: 2rem;
  }

  .events-content-wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 992px) {
  .events-section {
    padding: 2.5rem 3%;
  }

  .home-event-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 280px;
  }

  .home-event-card-image {
    height: 170px;
  }

  .events-header {
    margin-bottom: 25px;
  }

  .events-header h2 {
    font-size: 1.875rem;
  }

  .events-header h2::before {
    height: 35px;
  }

  .events-content-wrapper {
    padding: 0;
  }

  .events-carousel-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .events-carousel-nav i {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .events-section {
    padding: 2rem 3%;
  }

  .home-event-card {
    flex: 0 0 calc(50% - 10px);
    min-width: 260px;
  }

  .home-event-card-image {
    height: 160px;
  }

  .home-event-card-content {
    padding: 10px;
  }

  .home-event-card-title {
    font-size: 1rem;
    /* Increased from 0.85rem for better readability */
  }

  .home-event-card-description {
    font-size: 0.95rem;
    /* Increased from 0.75rem for better readability */
  }

  .events-header {
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
  }

  .events-header h2 {
    font-size: 1.75rem;
  }

  .events-content-wrapper {
    padding: 0;
  }

  .events-carousel-nav {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .events-carousel-nav i {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .events-section {
    padding: 1.5rem 2%;
  }

  .home-event-card {
    flex: 0 0 calc(90% - 8px);
    min-width: 240px;
  }

  .home-event-card-image {
    height: 150px;
  }

  .home-event-card-content {
    padding: 8px;
  }

  .events-header {
    flex-wrap: wrap;
  }

  .events-header h2 {
    font-size: 1.5rem;
  }

  .events-content-wrapper {
    padding: 0;
  }

  .events-carousel-nav {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .events-carousel-nav i {
    font-size: 0.7rem;
  }
}

/* Responsive breakpoints */
@media (max-width: 1100px) {
  .event-card {
    flex: 0 0 calc(33.333% - 16px);
  }

  /* 3 per row */
}

@media (max-width: 768px) {
  .event-card {
    flex: 0 0 calc(50% - 12px);
  }

  /* 2 per row */
}

@media (max-width: 480px) {
  .events-header {
    align-items: flex-start;
  }

  .event-btn {
    width: 36px;
    height: 36px;
  }

  .event-card {
    flex: 0 0 100%;
  }

  /* 1 per row */
}

@media (max-width: 768px) {
  .events-footer {
    margin-top: 18px;
    padding: 10px 10px 0;
    justify-content: center;
  }

  .events-see-more-btn {
    padding: 10px 22px;
    font-size: 0.95rem;
    border-radius: 50px;
  }
}

@media (max-width: 480px) {
  .events-footer {
    margin-top: 20px;
    padding: 12px 10px 0;
    justify-content: center;
  }

  .events-see-more-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
    justify-content: center;
    border-radius: 50px;
  }
}

/* --- SECTION 12: SOCIAL MEDIA & VIDEO GALLERY SECTION (Responsive Styles) --- */
/* ==========================================================================
   SECTION 8: SOCIAL MEDIA & VIDEO GALLERY - RESPONSIVE STYLES
   ========================================================================== */
/* Tablet and medium screens */
@media (max-width: 992px) and (min-width: 769px) {
  .social-section .youtube-section.h-100 {
    min-height: 450px;
  }

  .social-section .youtube-section .youtube-carousel-wrapper {
    min-height: 320px;
  }

  .social-section .video-container {
    height: 280px;
    min-height: 280px;
  }

  .social-section .youtube-card video,
  .social-section .youtube-card img {
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
  }
}

/* ==========================================================================
   SECTION 10: DYNAMIC INDIA MAP & FLEX STRETCH OVERRIDES - RESPONSIVE
   ========================================================================== */
/* Ensure videos take full width on mobile */
@media (max-width: 768px) {
  .social-section .container {
    margin-top: 30px;
  }

  .social-section .youtube-section.h-100 {
    min-height: 400px;
    height: auto;
  }

  .social-section .youtube-section .youtube-carousel-wrapper {
    min-height: 280px;
    height: auto;
  }

  .social-section .col-lg-6,
  .social-section .col-md-6 {
    margin-bottom: 20px;
  }

  .youtube-section {
    padding: 15px !important;
    margin: 0;
  }

  .youtube-section .container,
  .youtube-section .row,
  .youtube-section .col-lg-12,
  .youtube-section .col-md-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .youtube-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    flex: 0 0 100% !important;
  }

  .youtube-carousel-wrapper {
    min-height: 280px !important;
  }

  .social-section .video-container {
    height: 200px !important;
    min-height: 200px !important;
    margin-bottom: 15px;
  }

  .social-section .youtube-card video,
  .social-section .youtube-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    max-height: 200px !important;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
  }

  .youtube-card video,
  .youtube-card iframe,
  .youtube-card img {
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    margin: 0;
    padding: 0;
    border-radius: 0 !important;
  }

  .social-section .youtube-section.h-100 {
    min-height: 350px;
  }

  .social-section .youtube-section .youtube-carousel-wrapper {
    min-height: 250px;
  }

  .video-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  .youtube-carousel-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
  }

  .youtube-carousel {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Remove any Bootstrap padding from video container */
  .youtube-section .p-3 {
    padding: 15px !important;
  }

  .youtube-section .rounded-3,
  .youtube-section .rounded-4 {
    border-radius: 0 !important;
  }
}

@media (max-width: 480px) {
  .youtube-section {
    padding: 10px !important;
  }

  .youtube-card video,
  .youtube-card iframe {
    min-height: 200px;
    width: 100% !important;
    max-width: 100% !important;
  }

  .video-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .video-gallery-card video {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ensure carousel wrapper takes full width within container */
  .youtube-carousel-wrapper {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 992px) {

  .youtube-card video,
  .youtube-card iframe {
    height: 300px;
  }

  .video-gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .video-title {
    font-size: 1.1rem;
  }

  .video-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .video-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-gallery-card video {
    height: 220px;
  }
}

/* ==========================================================================
   SECTION 11: OPINION CARDS MULTI-BREAKPOINT GRID - RESPONSIVE
   ========================================================================== */
/* Responsive Fix */
@media (max-width: 992px) {

  .youtube-card iframe,
  .youtube-card video,
  .youtube-card img {
    height: 60vh;
  }

  .video-title {
    font-size: 1.1rem;
  }

  .video-description {
    font-size: 0.9rem;
  }
}

/* Responsive styles for social grid */
@media (max-width: 768px) {
  .social-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 6px;
    padding: 6px;
    max-height: 600px;
  }
}

@media (max-width: 992px) and (min-width: 769px) {
  .social-grid {
    gap: 6px;
    padding: 6px;
    max-height: 350px;
  }
}

/* ==========================================================================
   SECTION 12: USER LOGIN, LEADERSHIP MOBILE REORDER & ACCESSIBILITY
   ========================================================================== */
/* --- SECTION 14: DYNAMIC INDIA MAP SECTION & EQUAL-HEIGHT FLEX STACK (Responsive Styles) --- */
/* ==========================================================================
   SECTION 10: DYNAMIC INDIA MAP & FLEX STRETCH OVERRIDES - RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {






  .map-wrapper {
    /* padding: 15px; */
  }

}

@media (max-width: 768px) {
  .infocus-map-container {
    min-height: 160px;
  }

  .infocus-map-container .india-map-image {
    max-height: 200px;
  }

}

/* --- SECTION 15: USER LOGIN FORM & CAPTCHA STYLING (Responsive Styles) --- */
/* ==========================================================================
   SECTION 12: USER LOGIN, LEADERSHIP MOBILE REORDER & ACCESSIBILITY
   ========================================================================== */
/* Responsive */
@media (max-width: 480px) {
  #block-sjvn-content--2 {
    width: 92%;
    padding: 30px 22px;
  }

  .user-login-form .reload-captcha::after {
    right: -38px;
  }
}