.wpa-learning-resources {
    padding: 3% 8%;
    font-size: var(--fs-xl);

    .learning-banner {
        background-image: url('../images/learning.png');
        background-position: center;
        background-size: cover;
        border-radius: 8px;
        width: 100%;
        height: 64vh;
        margin-top: 32px;
        padding-top: 32px;

        .visit {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 32px;
            background-color: #f1f1f19d;
            backdrop-filter: blur(100px);
            width: fit-content;
            border-radius: 8px;
            margin: 32px;
            padding: 32px 56px;

            .visit-text {
                color: #BB1A21;
                font-size: 22px;
                font-family: "Poppins-Bold";
            }

            .access-button {
                border-radius: 50px;
                display: flex;
                align-items: center;
                padding: 5px;
                background: linear-gradient(to right, #790A0F 0%, #ED1F24 100%);
                transition: all 0.1s ease-in-out;

                .access-text {
                    color: white;
                    text-align: center;
                    padding: 0 42px;
                    font-size: 15px;
                }

                img {
                    width: 64px;
                }

                &:hover {
                    scale: 1.05;
                    cursor: pointer;
                }
            }
        }
    }

    .learning-flex {
        display: flex;
        align-items: center;
        border-bottom: 1px solid #dddddd;
        gap: 32px;
        padding: 32px;
        margin-bottom: 32px;

        .little-flex-item {
            color: black;
            font-family: "Poppins-Bold";
            text-wrap: nowrap;

            .flex-text {
                width: 278px;
                text-wrap: wrap;
                margin: 32px 0;
            }

            .little-read {
                color: #BB1A21;
                font-family: "Poppins-Bold";
                text-wrap: nowrap;

                &:hover {
                    text-decoration: underline;
                    cursor: pointer;
                }
            }
        }

        .big-flex-item {
            text-align: justify;
            width: 100%;

            .aditional-text {
                padding: 16px 0;
                color: black;

                a {
                    color: #BB1A21;
                }
            }

            .links {
                a {
                    color: black;
                    text-decoration: none;

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }
        }
    }
}

.link-external {
    margin: 32px;
}

@media (max-width: 480px) {
    .wpa-learning-resources {
        .learning-flex {
            display: flex;
            align-items: start;
            flex-direction: column;
        }
    }
}