/* Nav Dropdowns */

.navContent ul li ul a {
    white-space: normal !important;
    overflow: visible !important;
}

@media only screen and (min-width: 768px) {
    .navContent ul li ul {
        min-width: 250px !important;
        right: auto !important; 
    }
}

/* Equalize Simple List Blocks SITEWIDE */
/* Make sure to UNCHECK "Height-optimized grid" */
.itemsCollectionContent { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}
.itemsCollectionContent > .item {
	display: flex;
	flex-direction: column;
}

/*Popup CSS*/
.mad-popup-wrap {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 76%);
    z-index: 9999;
}

.mad-popup-wrap.show{
  display:block;
}

.mad-popup-content img {
    max-width: 100%;
    width: 100%;
}

.mad-popup-box {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0e153d;
    min-width: 500px;
    text-align: center;
}

.mad-popup-wrap .close {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: 30px;
    cursor: pointer;
}

.mad-popup-text {
    padding: 15px;
}

.mad-popup-wrap p.popup-header {
    margin: 10px;
    font-size: 30px;
    text-align: center;
}

.mad-popup-wrap p.popup-subheader {
    margin: 10px;
    font-size: 25px;
    text-align: center;
}

@media screen and (max-width: 550px){
  .mad-popup-box {
        min-width: 90%;
        top: 12rem;
        transform: translate(-50%);
    }
}

/*uncomment to change color of the popup text*/
/*p.popup-header, p.popup-subheader {*/
/*    color: black;*/
/*}*/

/*uncomment to change close button to white*/
/*.close svg {*/
/*    filter: invert(1);*/
/*}*/



/* 2 Column Form */

div#madHero {
    text-align: center;
    padding: 15px;
}

div#madHero > div.madHero-item {
    flex: 1 1 0;
    margin-bottom: 20px;
}

.madTitle {
    font-size: 1.8rem;
    color: #FFFFFF;
}

.madContent {
    font-size: 1.1rem;
    color: #FFFFFF;
}

/* --- Trust Badge Styles (Single Image) --- */
.trust-badges {
  margin-top: 40px; 
}

.trust-badges img {
  width: 100%;
  max-width: 600px !important; /* FORCED: Overrides other styles to set max width */
  height: auto !important;     /* FORCED: Maintains aspect ratio */
}

@media only screen and (min-width: 768px) {
    div#madHero {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        text-align: left;
        gap: 40px;
    }
}