/* Responsive rules moved from ../home.css. Keep this file loaded immediately after home.css. */

@media (max-width: 480px) {
    .menu-items .nav-link{
        padding:0!important;
    }
    .menu-items {
        min-height: 40px;
        padding-top: 5px;
    }
    .text-small {
        font-size: 10px;
        border-bottom: 2px solid transparent !important;
        min-width: 1vw;
        margin: auto;
        text-align: center;
    }
    .countdown-container {
        padding: 1em;
    }

        .countdown-container h2 {
            font-weight: 600;
            font-size: 4vw;
            color: var(--fr-dark);
        }

    .counter-content .countdown li {
        flex-basis: 24%;
    }

    .home-welcome-readmore {
        margin-top: .5em;
    }



    .fr-text--lead, .fr-text--xl {
        font-size: 1em !important;
        line-height: 23em !important;
        margin: var(--text-spacing);
        margin-bottom: 0px;
    }

        .fr-text--lead > p {
            margin-bottom: 0px;
        }



}

@media (min-width: 768px) {


    .card-item {
        flex: 0 0 calc(100% / 3);
        max-width: calc(100% / 3);
    }
}

@media (min-width: 992px) {
    .card-item {
        flex: 0 0 calc(100% / 4);
        max-width: calc(100% / 4);
    }
}

@media (min-width: 1200px) {
    .card-item {
        flex: 0 0 calc(100% / 5); /* Display 5 cards on XL screens */
        max-width: calc(100% / 5);
    }
}

@media (max-width: 767.98px) {
    .home-welcome-title p {
        max-width: 360px;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.62;
    }

    .home-welcome-copy {
        margin-bottom: 2.5rem !important;
        padding-top: 0.15rem;
    }

    .home-welcome-copy .fade-text-container {
        max-height: 3.35em;
        font-size: 14px;
        line-height: 1.7;
    }

    .home-welcome-actions {
        margin-top: 1rem !important;
    }

    #readMoreBtn.more-btn {
        min-width: 116px;
        min-height: 36px;
        padding: 0.45rem 0.9rem;
        font-size: 13px;
    }

    .meeting-element-icon {
        font-size: 1.25rem;
        height: 18px !important;
        width: 18px !important;
        margin-right: 5px;
    }

    .icon-wrapper {
        margin-bottom: 0;
    }

    .summit-card h4 {
        font-size: 1rem;
    }

    .summit-card h6 {
        font-size: 0.80rem;
    }

    .summit-card {
        padding: 25px;
    }

    .summit-icon {
        font-size: 1.9rem;
    }

    #summit_highlight h2::after {
        width: 80%;
        left: 10%;
    }
}

@media (max-width: 576px) {
    .col-md-7 .blog-content .post-date,
    .blog-content .post-date {
        display: none;
    }

    .gridinner .col-md-5 .post-date {
        display: block;
        position: absolute;
        top: 5px;
        right: 5px;
        left: unset;
    }

    .latest-block-box {
        padding: 0;
    }

    .entry-cover {
        position: relative;
    }

    .custom-last-news {
        width: 100%;
        padding: 0;
    }

    .type-post {
        justify-content: center;
        display: flex;
    }

    .partner-card {
        min-width: 120px !important;
        width: 30vw;
        max-width: 140px;
        height: 100px !important;
        margin: 0 6px !important;
    }

    .partner-card img {
        max-height: 50px !important;
    }

    #scrollLeft,
    #scrollRight {
        display: none !important;
    }

    .brand-title::before,
    .brand-title::after {
        width: 10%;
    }
}
