img {
  max-width: 100%; /* Ensure images don't exceed their container */
  height: auto; /* Maintain aspect ratio */
}



h2 {
    text-transform: none;
    font-weight: 600;
    font-size: 2.2em;
}

h3 {
    text-transform: none;
    font-weight: 600;
    font-size: 1.6em;
}

h4, h5, h6 {
    text-transform: none;
    font-weight: 600;
}

#header .header-top {
    border-bottom-width: 1px;
}

@media (min-width: 992px) {
    #header .header-nav-main nav > ul > li > a {
        text-transform: capitalize;
        font-size: 1.1em;
    }
    #header .header-nav-main.header-nav-main-dropdown-modern nav > ul > li.dropdown .dropdown-menu li a {
        font-weight: 500;
        color: var(--default);
    }
}

.custom-card-info {
    background: transparent;
    max-width: 100%;
}

.custom-card-info.custom-card-info-shadow:before {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    content: '';
    box-shadow: 0 30px 110px #bbb;
    border-radius: .25rem;
    transition: opacity 0.2s ease-in-out;
}

.custom-card-info .custom-card-info-arrow {
    transition: all 0.2s ease-in-out;
    right: 0 !important;
}

.custom-card-info:hover.custom-card-info-shadow:before {
    opacity: 0.5;
}

.custom-card-info:hover .custom-card-info-arrow {
    right: -7px !important;
}

.custom-card-info .card-body {
    padding: 0;
    border-radius: .25rem;
    background: var(--light);
}

.custom-card-info .featured-tag {
    color: var(--light);
    text-transform: uppercase;
    padding: 15px 102px;
    position: absolute;
    right: -24%;
    top: 6%;
    transform: rotate(45deg);
    transition: none 0s ease 0s;
    text-align: inherit;
    line-height: 24px;
    border-width: 0px;
    margin: 0px;
    letter-spacing: -0.5px;
    font-weight: 600;
    font-size: 14px;
}

.custom-card-info .custom-card-info-header {
    border-bottom: 1px solid #E7E7E7;
    padding: 16px;
    padding: 1rem;
}

.custom-card-info .custom-card-info-content {
    padding: 16px;
    padding: 1rem;
}

.custom-card-info-slider {
    max-width: 390px;
}

.custom-card-info-slider .custom-card-info-header {
    padding: 32px;
    padding: 2rem;
}

.custom-card-info-slider .custom-card-info-content {
    padding: 32px;
    padding: 2rem;
}

.custom-card-info-locations img {
    transition: ease all 300ms;
    filter: grayscale(100%);
}

.custom-card-info-locations .card-body:before {
    transition: ease all 300ms;
}

.custom-card-info-locations:hover img {
    filter: none;
}

.custom-card-info-locations:hover .card-body:before {
    opacity: 0.4 !important;
}

.custom-card-info-locations .custom-card-info-desc {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    display: block;
    z-index: 10;
}

.custom-card-info-special-offers .custom-card-info-desc {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    width: 100%;
    text-align: center;
    display: block;
    z-index: 10;
}

.custom-view-more svg {
    transition: ease transform 300ms;
}

.custom-view-more:hover svg {
    transform: translate3d(7px, 0, 0);
}

.btn.custom-btn-search-page-header {
    padding-top: 16px;
    padding-top: 1rem;
    padding-bottom: 16px;
    padding-bottom: 1rem;
    position: relative;
    bottom: 5px;
}

.page-header .form-style-3 {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

#footer {
    border: 0;
    background: #333;
}

#footer .footer-copyright {
    border-top: 1px solid #454545;
    background: #333;
}

#footer .footer-copyright p {
    color: #999;
}

/* Skin */
@media (min-width: 992px) {
    html #header .header-nav:not(.header-nav-line):not(.header-nav-links) .header-nav-main nav > ul:not(:hover) > li.dropdown-full-color.dropdown-quaternary > a.active {
        color: var(--primary);
    }
}
