* {
    margin: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

body {
    font-family: 'Fira Sans', sans-serif;
}

.btn,
.cta-item {
    transition: all 0.15s ease-in-out;
}



/*HEADER*/

/*Overhead*/
.jd-overhead {
    background-color: white;

    .jd-overhead-logos-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem 0;
        gap: 1rem;

        .jd-logo {
            flex: 0 1 180px;

        }
    }
}

/*Hero*/
.jd-hero {
    background-color: var(--black);
    color: white;

    .jd-hero-decoration {

        background-image:
            linear-gradient(rgba(0, 0, 0, 0.521), rgba(0, 0, 0, 0.512)),
            url('../img/themes/cardiopectus/header_bg.png');
        background-size: auto 500px;
        background-position-y: center;
        background-position-x: 100%;
        background-repeat: no-repeat;
        max-width: 1920px;
        background-color: var(--black);
        margin: auto;
    }

    .container {


        min-height: 315px;

        display: flex;

        .jd-title {
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex: 0 1 100%;
            text-align: center;

            h1 {
                font-weight: 600;
            }

            span {
                font-size: 1.2rem;
            }

        }
    }

}

.jd-timing-strip {
    background-color: var(--theme-color);

    .jd-timing-strip-container {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 1rem;

        &>* {
            flex: 1 1 350px;
            text-align: center;
        }

        .jd-timing-block {
            font-size: 1.2rem;

            i {
                font-size: 1.2rem;
                margin-right: 1rem;
            }
        }
    }
}

.jd-module {
    padding: 1rem 0;
}

/*MODULE - INTRO*/

h2 {
    font-weight: 600;
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem;

    &.slim-heading {
        font-weight: 400;
        font-size: 1.4rem;
        text-align: center;
        margin: 2rem 0 2rem;
    }
}

.jdm-intro {
    padding: 3rem 0 2rem;
    font-size: 1.2rem;
}

.jdm-ul {

    list-style: none;
    padding: 0;

    .jdm-li {
        &::before {
            content: '»';
            margin-right: 0.25rem;
        }

    }
}

/*MODULE - LIVESTREAM*/

.jdm-livestream {
    iframe {
        width: 100%;
        aspect-ratio: 16/9;
        display: block;
    }
}

/*MODULE - CTA CLOUD*/

.jdm-cta-cloud {
    .cta-cloud {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;


        &>* {
            flex: 1 0 30%;
            padding: 0.5rem 1rem;
            border: 1px solid var(--theme-color);
            text-decoration: none;
            color: var(--theme-color);
            text-align: center;
            font-weight: 600;
            white-space: nowrap;
            border-radius: 0.5rem;
            font-size: 1.1rem;

            &.s5 {
                flex: 1 0 45%;
            }

            &:hover {
                border: 1px solid transparent;
                color: whitesmoke;
                background-color: var(--theme-color);
            }
        }
    }
}

/*MODULE - PRICING*/

.jdm-pricing {

    .row {
        --bs-gutter-y: 1rem;
        --bs-gutter-x: 1rem;

        .card {
            background-color: var(--light-grey);
            border: none;
            padding: 1rem;
            height: 100%;

            .card-body {
                height: 100%;
                display: flex;
                flex-direction: column;

                .card-title {
                    font-weight: 600;
                    font-size: 1.5rem;
                    color: var(--theme-color);
                    line-height: 1;
                    margin: 0;

                    &::before {
                        content: '»';
                        margin-right: 0.5rem;
                    }
                }

                .card-subtitle {

                    font-size: 1.2rem;
                    line-height: 1;
                    margin-top: 0.5rem;
                    margin-bottom: auto;


                }

                .card-price-block {

                    display: flex;
                    flex-direction: column;

                    margin: 2.5rem 0;
                    gap: 1rem;

                    &.horizontal {
                        flex-direction: row;
                        justify-content: center;
                    }

                    .card-price {
                        flex: 1;

                        .price-name {
                            font-size: 1.1rem;
                        }

                        .price-number {
                            font-size: 1.5rem;
                            color: var(--theme-color);
                            font-weight: bold;
                        }
                    }

                    .card-price-spacer {
                        flex: 0 1 1px;
                        border-right: 1px solid grey
                    }
                }

                .btn {
                    display: block;
                    background-color: var(--theme-color);
                    color: whitesmoke;
                    border: 1px solid transparent;
                    margin-bottom: 0.5rem;
                    padding: 0.5rem;
                    font-size: 1.2rem;
                    font-weight: 600;

                    &:hover {

                        background-color: transparent;
                        border: 1px solid var(--theme-color);
                        color: var(--theme-color);
                    }
                }

                .btn-disabled {
                    background-color: transparent;
                        border: 1px solid var(--theme-color);
                        color: var(--theme-color);
                    pointer-events: none;
                }

                .card-link {
                    color: var(--black);
                    text-align: center;
                    display: block;
                }
            }


        }
    }
}

/*MODULE - AUSPICIANTES*/

.jdm-auspicios {


    .jd-logo-cloud {
        display: flex;

        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 3rem 0;

        .jd-logo {

            padding: 0.5rem;


            img {

                /* background-color: var(--light-grey); */
                border-radius: 1rem;
                aspect-ratio: 1 / 1;
                width: 100%;
                max-width: 150px;
                margin: auto;
                object-fit: contain;


            }
        }
    }
}

/*MODULE - PATROCINIO*/

.jdm-patrocinio {
    .jd-logo-grid {


        .jd-grid-logo {
            text-align: center;



            .logo-container {
                /* background-color: var(--light-grey); */
                border-radius: 1rem;
                aspect-ratio: 2/1;

                img {
                    aspect-ratio: 3/2;
                    max-width: 100%;
                    object-fit: contain;
                    padding: 15% 5%;
                }
            }

            span {
                display: none;
                text-align: center;
                margin-top: 0.5rem;
            }
        }



    }
}


/*FOOTER*/

.jd-footer {
    background-color: var(--theme-color);
    color: white;

    .jd-footer-container {
        display: flex;

        flex-wrap: wrap;
        justify-content: space-between;
        padding: 2rem 0;

        .jd-footer-socials {

            min-height: 3rem;
            display: flex;
            justify-content: flex-start;
            font-size: 1.5rem;
            grid-gap: 0.75rem;

            .social-icon:hover {
                opacity: 0.8;
            }

            a {
                color: white;

            }
        }

        p {
            margin: 0;
        }

        .jd-logo {

            min-height: 3.5rem;


            img {
                max-width: 150px;
            }
        }
    }
}

.fa-square-mix {
    position: relative;

    &::after {

        content: '';
        display: block;
        position: absolute;
        inset: 0;
        background-color: var(--theme-color);
        aspect-ratio: 1 / 1;
        border-radius: 50%;
        z-index: 1;
        scale: 0.66;

    }

    .fa-brands {



        position: absolute;
        left: -1px;
        top: 0;
        scale: 0.84;
        color: white;
        z-index: 2;
    }
}


/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) {




    .jd-overhead {
        .jd-overhead-logos-container {
            justify-content: space-between;

            .jd-logo {
                flex: 0 1 200px;

            }
        }
    }



}

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {

    .jdm-patrocinio {
        .jd-logo-grid {}
    }


    .jdm-auspicios {
        .jd-logo-cloud {

            gap: 0;

            .jd-logo {
                img {
                    width: 100%;
                    max-width: unset;
                    object-fit: contain;
                    padding: 15% 0;

                }
            }
        }
    }

    .jd-footer {
        .jd-footer-container {
            .jd-footer-socials {
                min-height: 3.5rem;
                justify-content: flex-end;

            }
        }
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .jd-hero {
        .jd-hero-decoration {

            background-image: url('../img/themes/cardiopectus/header_bg.png');

        }

        .container {
            aspect-ratio: 5/1;


            .jd-title {
                flex: 0 1 55%;
                text-align: left;

                h1 {}

                span {}
            }
        }
    }

    .jdm-patrocinio {
        .jd-logo-grid {}
    }

    .jdm-auspicios {


        .jd-logo-cloud {

            gap: 0 3rem;
        }
    }

    /*X-Large devices (large desktops, 1200px and up)*/
    @media (min-width: 1200px) {}

    /*XX-Large devices (larger desktops, 1400px and up)*/
    @media (min-width: 1400px) {

        .container,
        .container-lg,
        .container-md,
        .container-sm,
        .container-xl {
            max-width: 1140px;
        }

    }

}