﻿/* MAGNETICS 2025 STYLES */

body {
    font-family: "Museo-Sans";
    color: #4A4A4A;
    font-size: 15px;
    font-style: normal;
    font-weight: 300;
    line-height: 22px; /* 146.667% */
}

.mySwiper {
    width: 100%;
    height: 387px;
    background-color: #F2F2F2;
    margin-bottom: 4rem;
}

    .mySwiper img {
        width: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .mySwiper swiper-slide {
        display: flex;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

.home_container {
    max-width: 965px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
}

.home_main_content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.home_body {
    width: 52%;
    min-width: 250px;
}

.home_main_content h1 {
    color: #C22F34;
    font-family: "Museo-Sans";
    font-size: 41px;
    font-style: normal;
    font-weight: 250;
    line-height: normal;
    margin-bottom: 1.5rem;
}

.expandables {
    width: 40%;
    min-width: 250px;
}



.expandable {
    background-color: #C22F34;
    padding: 1rem 1rem 1rem 4rem;
    color: #fff;
    font-size: 13px;
    position: relative;
    width: 100%;
    margin-bottom: 5px;
}

    .expandable:before {
        position: absolute;
        left: 2rem;
        top: 0;
        bottom: 0;
        margin: auto;
        width: 4px;
        background: #4A4A4A;
        content: "";
        height: calc(100% - 2rem);
    }

    .expandable h2 {
        color: #fff;
        font-size: 18px;
        font-weight: 700;
        margin: 0;
        text-transform: uppercase;
    }

    .expandable a {
        color: #fff;
        text-decoration: none;
    }

    .expandable .more_content {
        padding-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    }

    .expandable.expanded {
        background-color: #4A4A4A;
    }

        .expandable.expanded:before {
            background-color: #C22F34;
        }

        .expandable.expanded .more_content {
            max-height: 1000px;
            transition: max-height 0.5s ease-in-out;
        }


.products {
    position: relative;
    margin-top: 4rem;
    padding-top: 3rem;
    margin-bottom: 6rem;
}

    .products:before {
        position: absolute;
        height: 75%;
        width: 100%;
        content: "";
        left: 0;
        top: 0;
        background-color: #4A4A4A;
        z-index: 1;
    }

    .products .products_content {
        z-index: 2;
        position: relative;
        text-align: center;
        color: #fff;
        max-width: 850px;
        margin: 0 auto;
    }

    .products h2 {
        font-size: 41px;
        font-weight: 200;
        margin-bottom: 1.5rem;
    }

.products_grid {
    display: flex;
    position: relative;
    z-index: 2;
    gap: 13px;
    text-align: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .products_grid .product {
        text-decoration: none;
        width: 31%
    }

        .products_grid .product img {
            border-radius: 20px;
            margin-bottom: 1rem;
            border: 2px solid transparent;
        }

        .products_grid .product:hover img {
            border: 2px solid #C22F34;
        }

        .products_grid .product h3 {
            color: #C22F34;
            font-size: 17px;
        }


.industries {
    text-align: center;
}

    .industries .industries_content {
        z-index: 2;
        position: relative;
        text-align: center;
        color: #4A4A4A;
        max-width: 850px;
        margin: 0 auto;
    }

    .industries h2 {
        font-size: 41px;
        font-weight: 200;
        margin-bottom: 1.5rem;
        color: #C22F34;
    }

.industries_grid {
    display: flex;
    gap: 25px;
    text-align: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.industries .home_container {
    max-width: 1100px;
}

.industries_grid .industry {
    text-decoration: none;
    width: 164px;
    color: inherit;
}

    .industries_grid .industry img {
        min-width: 152px;
        margin: 0 auto;
        transition: transform 200ms ease-out;
        object-fit: contain;
        width: 100%;
    }

    .industries_grid .industry:hover img {
        transform: scale(1.05);
    }

    .industries_grid .industry h3 {
        font-size: 14px;
        margin-top: 1rem;
        color: rgb(74, 74, 74);
        font-weight: 800;
    }


.home_news {
    background-color: #F5F5F5;
    padding: 4rem 0;
    margin-top: 7rem;
}

    .home_news .news_content {
        display: flex;
        justify-content: center;
        gap: 60px;
        align-items: center;
    }

        .home_news .news_content img {
            width: 50%;
        }

        .home_news .news_content h2 {
            font-size: 41px;
            font-weight: 200;
            color: #C22F34;
            margin-bottom: 1rem;
        }

        .home_news .news_content ul {
            margin: 0 0 1rem 0;
            padding: 0;
        }

        .home_news .news_content li {
            list-style-type: none;
            padding: 0;
        }

            .home_news .news_content li a {
                text-decoration: none;
                color: #4A4A4A;
            }

                .home_news .news_content li a span, .view_all_news {
                    color: #C22F34;
                    text-decoration: none;
                }



@media screen and (max-width: 615px) {
    .expandables, .home_body, .products_grid .product {
        width: 100%;
    }

    .products_grid .product {
        margin-bottom: 2rem;
    }

    .products:before {
        height: 45vh;
    }

    .industries_grid .industry {
        width: 50%;
    }

    .industries_grid {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 745px) {
    .home_news .news_content img {
        width: 100%;
    }

    .home_news .news_content {
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 1100px) {
    .industries_grid {
        justify-content: space-evenly;
    }

        .industries_grid .industry {
            width: 170px;
        }
}
