/*
Theme Name: SummitFin
Description: A custom WP theme for SummitFin
Version: 1.0
Author: SummitFin
Author URI: https://www.summmitfin.co.za
Template: enfold
*/




/*Add your own styles here:*/

/* GENERAL START */
.full-width-container {
    padding: 0;
}
/* GENERAL END */

/* HEADER START */

/* HEADER END */


/* .partner-logos-summit .avia-content-slider-inner .slide-entry-wrap:last-child .slide-entry {
    width: 200px !important;

} */

/* Equal height for all partner/logo images */
.avia-logo-element-container img,
.avia-content-slider .slide-entry img {
    height: 60px !important;   /* Change this to your preferred height */
    width: auto !important;    /* Keeps aspect ratio */
    object-fit: contain;       /* Ensures image fits nicely without cropping */
}



/* VIDEO CUSTOM START */





.custom-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;   /* ← THIS IS THE IMPORTANT LINE */
}
.avia-section,
.avia-section .flex_column,
.avia-section .av-layout-grid-container {
  overflow: visible;
}

.custom-video-wrapper {
  overflow: hidden;
  
}


.custom-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.custom-video-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.play-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #fff;
  transform: translate(-40%, -50%);
}

.video-container {
  position: relative;
  padding-top: 56.25%;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}



/* VIDEO CUSTOM END */



.footer-social-media-icons div a img {
    border: none !important;
    width: 64px !important;
}





/* VICTORIES PAGE START */
.victories-image, .victories-heading-image {
    background-size: cover !important;
}
/* VICTORIES PAGE END */

