/* BEGIN THEME OVERRIDES */
 
.bg-light { background-color: #f1f4fc !important; }
.bg-secondary { background-color: rgb(241 241 241) !important; }

body { background-color: #ffffff !important; }

h1.mt-5.mb-3 { display: none; }

.mt-n5 { margin-top: -6rem !important; }
  
/* END THEME OVERRIDES */
  
/* TEMPLATE STYLES */
.entry-content a { text-decoration: none; }

.swiper{
    --swiper-navigation-color: #DF6A73;
    --swiper-navigation-color: #d54a5a;
  }

  .swiper-button-next,
  .swiper-button-prev
  {
  	height: auto !important;
  	margin-top: auto !important;
  	position: static !important;
  	width: auto !important;
  }

  .swiper-button-prev:after,
  .swiper-button-next:after
  {
  	content:'' !important;
  }
	
   .swiper-slide{
	   display: flex !important;
	   height: auto !important;
	}
	
	
@media(max-width:991px){
    .swiper-button-next, .swiper-button-prev{
        display: none !important;
    }
}

.swiper-recent-wins{
    --img-height: 33dvh;
}

    .swiper-recent-wins img{
        aspect-ratio: auto;
/*			border: 1px solid #000;*/
        height: var(--img-height);
        max-height: 500px;
        width: auto;
    }

    .swiper-recent-wins a{
        line-height: 1.2;
        text-wrap: pretty;
    }

    .swiper-recent-wins img.ratio-3x2 ~ *{
/*				background: #def;*/
        width: calc((var(--img-height) * 3) / 2);
    }

    .swiper-recent-wins img.ratio-2x3  ~ *{
/*				background: #fed;*/
        width: calc((var(--img-height) * 2) / 3);
    }


@media(orientation: portrait){	

    .swiper-recent-wins{
        --img-height: 33dvh;
    }
    
}

@media(orientation: landscape){	

    .swiper-recent-wins{
        --img-height: 42dvh;
    }
    
}

.swiper-recent-wins .swiper-slide{
    flex-direction: column;
    width: auto !important
}

 @media(max-width:991px){

    .swiper-button-next,
    .swiper-button-prev{
            display: none !important;
      }

 }


 .swiper-resources .swiper-slide{
    width: 85% !important
}
 
 .swiper-resources .badge{
     display: none;
 }
 
 .swiper-resources .card-title{
     font-stretch: ultra-condensed;
     line-height: 1.2;
     margin-bottom: 0;
     white-space: pretty;
 }

@media(min-width:576px){

   .swiper-resources .swiper-slide{
        width: 85% !important
     }

}

@media(min-width:768px){

   .swiper-resources .swiper-slide
       {width: 40% !important}
    
}

@media(min-width:992px){

   .swiper-resources .swiper-slide{
       width: 26.66666666666667% !important
   }

}

@media(min-width:1200px){

   .swiper-resources .swiper-slide{
       width: 26.66666666666667% !important
    }

}

@media(min-width:1400px){

   .swiper-resources .swiper-slide{
       width: 20% !important
    }
   
}


@media(max-width:991px){

   .swiper-resources .swiper-button-next, .swiper-resources .swiper-button-prev{
           display: none !important;
     }

}

 .adf-marriage-family-resources{
    --img-height: 41dvh;
}

.adf-marriage-family-resources img{
    aspect-ratio: auto;
    width: auto;
}

@media(min-width: 992px){	

    .adf-marriage-family-resources img{
        height: var(--img-height);
        max-height: 500px;
    }

    .adf-marriage-family-resources img.ratio-3x2 ~ *{
    /*		background: #def;*/
        width: calc((var(--img-height) * 3) / 2);
        width: calc((var(--img-height) * 731) / 586);
    }

    .adf-marriage-family-resources img.ratio-2x3  ~ *{
    /*		background: #fed;*/
        width: calc((var(--img-height) * 2) / 3);
        width: calc((var(--img-height) * 668) / 1005);
    }
    
    .adf-marriage-family-resources img.ratio-600x777  ~ *{
    /*		background: #fed;*/
        width: calc((var(--img-height) * 2) / 3);
        width: calc((var(--img-height) * 600) / 777);
    }
    
}


@media(min-width: 1200px){	

    .adf-marriage-family-resources{
        --img-height: 42dvh;
    }
    
}

@media(min-width: 1400px){	

    .adf-marriage-family-resources{
        --img-height: 49dvh;
    }
    
}