﻿.bcu-icon-links-webpart {
    font-family: "Roboto", sans-serif;
}

.bcu-icon-links-webpart .wp-container {
    display: flex;
    flex-direction: row;
}

.bcu-icon-links-webpart h2 {
    line-height: 1;
    padding: 0;
    margin: 0;
    text-align: center;
}

    .bcu-icon-links-webpart .section {
        display: flex;
    }

        .bcu-icon-links-webpart .section:first-child {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 20px;
            align-items: center;
            max-width: 30%;
            min-width: 6%;
        }

        .bcu-icon-links-webpart .section:last-child {
            width: 100%;
        }

        .bcu-icon-links-webpart .section.center {
            display: flex;
            align-items: center;
            margin: 20px 0;
        }

    .bcu-icon-links-webpart .content {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

        .bcu-icon-links-webpart .content .title {
            display: flex;
            gap: 20px;
            align-items: center;
        }

            .bcu-icon-links-webpart .content .title h2 {
                text-align: left;
            }

        .bcu-icon-links-webpart .content .title.title-hidden {
            display: none;
        }

            .bcu-icon-links-webpart .content .title .icon {
                display: none;
            }

        .bcu-icon-links-webpart .content .desc {
            margin: 0 0 10px;
        }

            .bcu-icon-links-webpart .content .desc p {
            }

            .bcu-icon-links-webpart .content .desc p:last-child {
                margin: 0;
            }

        .bcu-icon-links-webpart .content .links {
            display: flex;
            flex-direction: row;
            gap: 20px;
            justify-content: space-between;
        }

            .bcu-icon-links-webpart .content .links .links-group {
                display: flex;
                flex-direction: column;
                flex-grow: 1;
                gap: 15px;
            }

@media (min-width: 1200px) {
    .bcu-icon-links-webpart {
        width: 1170px;
        margin: 40px auto;
    }
}

@media screen and (max-width: 767px) {
    .bcu-icon-links-webpart {
        margin: 15px;
    }

        .bcu-icon-links-webpart .wp-container {
            flex-direction: column;
            gap: 0px;
        }

        .bcu-icon-links-webpart .icon {
            display: none;
        }

        .bcu-icon-links-webpart .content .title.title-hidden {
            display: flex;
            flex-direction: column;
        }

            .bcu-icon-links-webpart .content .title.title-hidden h2 {
                text-align: center;
                margin-bottom: 10px;
            }

        .bcu-icon-links-webpart .section:first-child h2 {
            display: none;
        }

        .bcu-icon-links-webpart div.section:nth-child(2) {
            display: none;
        }

        .bcu-icon-links-webpart .content .links {
            flex-direction: column;
            gap: 15px;
        }

        .bcu-icon-links-webpart .content .title .icon {
            display: flex;
        }
}