﻿.affiliate-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 70px;
    margin: 80px auto;
    max-width: 1370px;
    height: 33rem;
    border-radius: 18px;
    margin-top: 6.5rem;
    color: white;
    background: #B8F2E673;
}

.affiliate-content {
    width: 50%;
}

 .affiliate-content h1 {
        font-size: 50px;
        font-weight: 600;
        margin-bottom: 20px;
        line-height: 1.3;
        color: #3b3b3b;
        font-family: 'Lato';
    }

 .affiliate-content p {
        font-size: 20px;
        line-height: 1.7;
        margin-bottom: 30px;
        font-family: 'Lato';
        text-align: justify;
        color: #3b3b3b;
    }

.ctam-btn {
    background: transparent;
    border: 2px solid white;
    color: #fbfbfb;
    padding: 13px 39px;
    font-size: 22px;
    font-weight: 500;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    font-family: 'Lato';
}

    .ctam-btn:hover {
        background: white;
        color: black;
    }

.image-box {
    border-radius: 16px;
    overflow: hidden;
}

.image-box img {
        width: 28rem;
        height: 28rem;
        object-fit: cover;
    }

.kit-enter-input-wrap {
    position: relative;
    max-width: 100%;
}

.kit-enter-input {
    width: 100%;
    padding: 14px 170px 14px 20px;
    border-radius: 30px;
    border: 1px solid #00000033;
    font-size: 18px;
    color: #3b3b3b;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.kit-enter-btn {
    position: absolute;
    right: 8px;
    top: 36%;
    transform: translateY(-50%);
    height: 44px;
    padding: 0 44px;
    border-radius: 50px;
    border: none;
    background: #2C425C;
    color: #fbfbfb;
    font-size: 19px;
    cursor: pointer;
    font-family: unset;
}





#glossaryContainer {
    column-count: 4;
    column-gap: 25px;
    margin-left: 6rem;
}

   .glossary-block {
    break-inside: avoid;
    margin-bottom: 15px;
    }

    .glossary-block h2 {
        font-size: 38px;
        font-weight: 600;
        position: relative;
        border-bottom: 2px solid #000;
        padding-bottom: 3px;
        margin-bottom: 8px;
        color: #3b3b3b;
    }

    .glossary-block ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .glossary-block li {
        margin: 3px 0;
        cursor: pointer;
    }

    .glossary-block a {
        text-decoration: none;
        color: #3b3b3b;
        font-size: 17px;
        transition: color 0.3s ease;
        display: block;
    }

    .glossary-block li:hover a {
        color: #007bff;
    }

   .glossary-block h2::after {
            content: "";
            width: 160px;
            height: 1px;
            background: #3b3b3b;
            display: block;
            margin-top: 4px;
        }





/*  TAB VIEW  */
@media (max-width: 1024px) {

    .affiliate-section {
        flex-direction: column;
        height: auto;
        padding: 55px 30px;
        gap: 30px;
        text-align: center;
        width: 95%;
        margin-top: 10rem;
    }

    .affiliate-content {
        width: 100%;
    }

    .affiliate-content h1 {
            font-size: 3.3rem;
        }

    .affiliate-content p {
            font-size: 32px;
            text-align: center;
        }

    .image-box img {
        width: 34rem;
        height: 33rem;
    }

    .kit-enter-input {
        padding: 20px 0px 20px 29px;
        font-size: 30px;
    }

    .kit-enter-btn {
        height: 60px;
        padding: 0px 68px;
        font-size: 30px;
        padding-bottom: 3px;
        margin-top: 5px;
    }

    #glossaryContainer {
        column-count: 2;
        margin-left: 40px;
        width: 90%;
    }

    .glossary-block h2 {
        font-size: 3.3rem;
        margin-bottom: 12px;
        padding-bottom: 13px;
    }
    .glossary-block h2::after {
            content: "";
            width: 160px;
            height: 1px;
            background: #3b3b3b;
            display: block;
            margin-top: 4px;
            display:none;
        }
    .glossary-block a {
        text-decoration: none;
        color: #3b3b3b;
        font-size: 32px;
        transition: color 0.3s ease;
        display: block;
        line-height: 4rem;
    }

}


/*  MOBILE VIEW  */
@media (max-width: 576px) {

    .affiliate-section {
        padding: 40px 15px;
        margin: 40px auto;
        border-radius: 12px;
    }

    .affiliate-content h1 {
        font-size: 24px;
        line-height: 1.4;
    }

    .affiliate-content p {
        font-size: 15px;
    }

    .image-box img {
        width: 100%;
        height: auto;
    }

    .kit-enter-input {
        padding: 12px 120px 12px 15px;
        font-size: 14px;
    }

    .kit-enter-btn {
        height: 36px;
        padding: 0 20px;
        font-size: 14px;
        right: 5px;
        top: 50%;
    }

    #glossaryContainer {
        column-count: 1;
        margin-left: 0;
    }

    .glossary-block h2 {
        font-size: 22px;
    }

    .glossary-block a {
        font-size: 14px;
    }
}