main {
    padding: 3% 8%;
    font-size: var(--fs-xl);

    .action-flex {
        display: flex;
        gap: 32px;
        margin-bottom: 32px;
        justify-content: space-between;

        .action-container {
            text-decoration: none;
            color: black;
            border-radius: 8px;
            border: 1px solid #dddddd;
            padding: 32px 44px;
            transition: all 0.1s ease-in-out;
            cursor: pointer;
            width: 50%;

            &:hover {
                scale: 1.01;
                border: 1px solid #555555;
            }

            img {
                width: 100%;
                object-fit: cover;
                margin-bottom: 16px;
            }

            .title {
                color: #BB1A21;
                font-family: "Poppins-ExtraBold";
                margin-bottom: 12px;
                font-size: 18px;
            }

            .description {
                color: #555555;
            }
        }

        .how {
            border: 1px solid #dddddd;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            padding: 42px 32px 24px 32px;
            gap: 32px;
            margin-top: 64px;
            width: 40%;
            background-image: url('../images/background.png');
            background-size: cover;
            background-position: right;

            .how-title {
                font-size: 18px;
                color: black;
                font-family: "Poppins-Bold";
            }

            .read-more {
                border-radius: 50px;
                background: linear-gradient(90deg, #790A0F 0%, #ED1F24 100%);
                width: fit-content;
                display: flex;
                align-items: center;
                padding: 4px;
                color: white;
                margin-top: 32px;
                cursor: pointer;
                transition: all 0.1s ease-in-out;
                text-decoration: none;

                &:hover {
                    scale: 1.05;
                }

                div {
                    padding: 0 16px;
                }

                img {
                    width: 32px;
                }
            }
        }
    }

    .programmes {
        display: flex;
        align-items: center;
        gap: 78px;
        padding: 64px 0 32px 0;
        text-decoration: none;
        color: #555555;
        margin-bottom: 32px;

        &.bordered {
            border: 1px solid #555555;
            border-radius: 8px;
            padding: 32px;

            img {
                width: 350px;
                object-fit: cover;
            }

            .red-text {
                color: #BB1A21;
                font-family: "Poppins-Bold";
                padding: 8px 0;
            }
        }

        &:hover {
            .prog-flex {
                .title {
                    text-decoration: underline;
                }
            }
        }

        img {
            border-radius: 15px;
            transition: all 0.1s ease-in-out;
            cursor: pointer;
            width: 245px;

            &:hover {
                scale: 1.05;
            }
        }

        .prog-flex {
            display: flex;
            flex-direction: column;

            .title {
                font-family: "Poppins-ExtraBold";
                color: #BB1A21;
            }

            .texts {
                a {
                    color: #BB1A21;
                    text-decoration: none;
                    font-family: "Poppins-Bold";

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }
        }
    }
}

.link-external {
    text-decoration: none;
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    main {
        .action-flex {
            display: flex;
            flex-direction: column;
            justify-content: center;
            width: 100%;

            .action-container,
            .how {
                width: 80%;
            }
        }

        .programmes {
            display: flex;
            flex-direction: column;
        }
    }
}