/*@media screen and (min-width: 1200px) {*/
/*    .site-heading .site-logo-container .site-logo {*/
/*        width: 80%;*/
/*        border-radius: 6px;*/
/*    }*/
/*}*/

/* Medium Screens (Tablets, 768px - 1199px) */
@media screen and (max-width: 1199px) {
    .site-heading .site-logo-container .site-logo {
        width: 90%;
        border-radius: 5px;
    }
}

/* Small Screens (Phones, 480px - 767px) */
@media screen and (max-width: 767px) {
    .site-heading .site-logo-container .site-logo {
        width: 100%;
        border-radius: 3px;
        border: 1px dotted #ffe019;
    }
}

/* Extra Small Screens (Below 480px) */
@media screen and (max-width: 480px) {
    .site-heading .site-logo-container .site-logo {
        width: 100%;
        border-radius: 2px;
        border: none;
        height: auto;
    }
}

/* @media screen and (min-width: 1200px) {
    .site-heading .site-logo-container {
        height: 5rem;
        width: 5rem;
        margin-right: 1.2rem;
    }
} */

/* Medium Screens (Tablets, 768px - 1199px) */
@media screen and (max-width: 1199px) {
    .site-heading .site-logo-container {
        height: 4rem;
        width: 4rem;
        margin-right: 0.8rem;
    }
}

/* Small Screens (Phones, 480px - 767px) */
@media screen and (max-width: 767px) {
    .site-heading .site-logo-container {
        height: 3.5rem;
        width: 3.5rem;
        margin-right: 0.5rem;
    }
}

/* Extra Small Screens (Below 480px) */
@media screen and (max-width: 480px) {
    .site-heading .site-logo-container {
        height: 3rem;
        width: 3rem;
        margin-right: 0.3rem;
    }
}

/* @media screen and (min-width: 1200px) {
    .site-heading .site-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
} */

/* Medium Screens (Tablets, 768px - 1199px) */
@media screen and (max-width: 1199px) {
    .site-heading .site-title {
        font-size: 1.2rem;
        line-height: 1.35;
    }
}

/* Small Screens (Phones, 480px - 767px) */
@media screen and (max-width: 767px) {
    .site-heading .site-title {
        font-size: 1rem;
        line-height: 1.3;
    }section.commission-warning.mobile {display:none}
    .site-page .aside{ display: none;}
    
}

/* Extra Small Screens (Below 480px) */
@media screen and (max-width: 480px) {
    .site-heading .site-title {
        font-size: 0.8rem;
        line-height: 1.2;
    }section.commission-warning.mobile {display:none}
}



/* Large Screens (Desktops, 1200px and above) */
/* @media screen and (min-width: 1200px) {
    .filter {
        border-bottom: 3px solid gray;
        padding-bottom: 0.7rem;
    }
    .in_filter {
        padding-left: 1.5rem;
    }
    .in_filter button {
        font-size: 20px;
        margin-right: 22px;
        padding: 4px;
    }
} */

/* Medium Screens (Tablets, 768px - 1199px) */
@media screen and (max-width: 1199px) {
    .filter {
        border-bottom: 2px solid gray;
        padding-bottom: 0.5rem;
    }
    .in_filter {
        padding-left: 1rem;
    }
    .in_filter button {
        font-size: 16px;
        margin-right: 15px;
        padding: 3px;
    }
}

/* Small Screens (Phones, 480px - 767px) */
@media screen and (max-width: 767px) {
    .filter {
        border-bottom: 1px solid gray;
        padding-bottom: 0.4rem;
    }
    .in_filter {
        padding-left: 0.5rem;
    }
    .in_filter button {
        font-size: 14px;
        margin-right: 12px;
        padding: 2px;
    }
}

/* Extra Small Screens (Below 480px) */
@media screen and (max-width: 480px) {
    .filter {
        border-bottom: 1px solid gray;
        padding-bottom: 0.3rem;
    }
    .in_filter {
        padding-left: 0.3rem;
    }
    .in_filter button {
        font-size: 12px;
        margin-right: 8px;
        padding: 1px;
    }
}/* Large Screens (Desktops, 1200px and above) */
/* @media screen and (min-width: 1200px) {
    .grid {
        gap: 25px;
        justify-content: center;
        padding: 15px 0;
    }
} */

/* Medium Screens (Tablets, 768px - 1199px) */
@media screen and (max-width: 1199px) {
    .grid {
        gap: 15px;
        justify-content: space-between;
        padding: 10px 0;
    }
}

/* Small Screens (Phones, 480px - 767px) */
@media screen and (max-width: 767px) {
    .grid {
        gap: 10px;
        justify-content: center;
        padding: 8px 0;
    }
}

/* Extra Small Screens (Below 480px) */
@media screen and (max-width: 480px) {
    .grid {
        gap: 5px;
        justify-content: center;
        padding: 5px 0;
        flex-direction: column; /* Stack items vertically */
        align-items: center;
    }
}


/* Large Screens (Desktops, 1200px and above) */
/* @media screen and (min-width: 1200px) {
    .homecard {
        max-width: 350px;
        width: 22%;
    }
    .homecard .logo img {
        width: 55px;
        height: 55px;
    }
    .card-content h3 {
        font-size: 18px;
        height: auto;
    }
    .card-content p {
        font-size: 14px;
    }
} */

/* Medium Screens (Tablets, 768px - 1199px) */
@media screen and (max-width: 1199px) {
    .homecard {
        max-width: 280px;
        width: 30%;
    }
    .homecard .logo img {
        width: 45px;
        height: 45px;
    }
    .card-content h3 {
        font-size: 16px;
        height: auto;
    }
    .card-content p {
        font-size: 13px;
    }
}

/* Small Screens (Phones, 480px - 767px) */
@media screen and (max-width: 767px) {
    .homecard {
        max-width: 90%;
        width: 100%;
    }
    .homecard .logo {
        top: 5px;
        right: 5px;
        padding: 3px;
    }
    .homecard .logo img {
        width: 40px;
        height: 40px;
    }
    .card-content {
        padding: 12px;
    }
    .card-content h3 {
        font-size: 14px;
    }
    .card-content p {
        font-size: 12px;
    }
}

/* Extra Small Screens (Below 480px) */
@media screen and (max-width: 480px) {
    .homecard {
        max-width: 100%;
        width: 100%;
        border-radius: 6px;
    }
    .homecard .logo img {
        width: 35px;
        height: 35px;
    }
    .card-content {
        padding: 10px;
    }
    .card-content h3 {
        font-size: 13px;
    }
    .card-content p {
        font-size: 11px;
    }
}
/* Large Screens (Desktops, 1200px and above) */
/* @media screen and (min-width: 1200px) {
    main.home-page > h1, 
    main.home-page > h2 {
        font-size: 42px;
        margin-bottom: 45px;
    }
} */

/* Medium Screens (Tablets, 768px - 1199px) */
@media screen and (max-width: 1199px) {
    main.home-page > h1, 
    main.home-page > h2 {
        font-size: 32px;
        margin-bottom: 35px;
    }
}

/* Small Screens (Phones, 480px - 767px) */
@media screen and (max-width: 767px) {
    main.home-page > h1, 
    main.home-page > h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

/* Extra Small Screens (Below 480px) */
@media screen and (max-width: 480px) {
    main.home-page > h1, 
    main.home-page > h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
}

@media screen and (max-width: 767px) {
.offer-summary{
    display: none;
}
.generic-content {
    padding: 2rem;
}
.mainTitle{
    padding: 2rem;
}
.link-card.size-medium .card-img{
    display: none;
}
}


@media (min-width: 768px) and (max-width: 992px)  {
    .modal-overlay {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.35);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .modal {
        position: relative;
        max-width: 90%!important;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        background: white;
        padding: 20px;
        border-radius: 8px;
    }
}

@media (max-width: 992px) and (orientation: landscape) {
    .modal {
        position: fixed;
        bottom: 10%;
        left: 50%;
        transform: translateX(-50%);
        width: 90%!important;
        max-height: 80vh;
        overflow-y: auto;
    }
}
