/*********************/
/* HOME PAGE CONTENT */
/*********************/
/* ABOUT US */
#home-about .container {
    gap: 8rem;
}

.about-img {
    position: relative;
}

.tagline-box {
    right: 46px;
    position: absolute;
    right: 45px;
    bottom: -57px;
    width: 356px;
    padding: 35px 50px 10px;
    background-color: var(--highlight-colour);
}

.tagline-box .icon {
    position: absolute;
    top: 0px;
    left: -34px;
    font-size: 4rem;
    color: var(--offwhite);
}

.tagline-box p {
    font-style: italic;
    font-size: 20px;
    color: var(--offwhite);
}

.about-text {
    display: flex;
    justify-content: end;
}

.home-page-text {
    max-width: 450px;
}

.about-highlights {
    margin-top: 120px;
}

.about-highlights .icon {
    font-size: 2.5rem;
    color: var(--primary-colour);
    margin-bottom: 10px;
    width: 55px;
    height: 55px;
}

.about-highlights .highlight svg {
    fill: var(--primary-colour);
}

.fa-scale-balanced:before {
    content: "\f24e";
}

@media (max-width: 800px) {
    #home-about .flex-split {
        flex-direction: column;
        gap: 3rem;
    }

    .tagline-box {
        right: 20px;
        bottom: -30px;
    }

    .tagline-box .icon {
        font-size: 3rem;
    }

    .tagline-box p {
        font-size: 17px;
        color: var(--offwhite);
    }

    .home-page-text {
        max-width: none;
    }

    .about-highlights {
        margin-top: 40px;
        text-align: center;
    }

    .about-highlights .icon {
        margin: 0 auto 10px;
    }
}

@media (max-width: 600px) {
    .tagline-box {
        display: none;
    }

    #home-about .flex-split {
        gap: 1rem;
    }

    .about-highlights .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight {
        padding: 0 5px;
    }
}

/* BRANDS SLIDER */
.slider-brands {
    position: relative;
}

.slider-brands .slick-arrow {
    position: absolute;
    top: -80px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--neutral-dark);
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: -300px;
    transition: background 0.3s ease;
}

.slider-brands .slick-arrow:hover {
    background: var(--text-colour);
}

.slider-brands .custom-prev {
    right: 60px;
}

.slider-brands .custom-next {
    right: 10px;
}

.slick-slide {
    padding: 10px;
}

.brand-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.brand-card .img-container {
    position: relative;
    background-color: #fafafa;
    padding: 20px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card span {
    display: none;
    opacity: 0;
    position: absolute;
    transition: opacity 0.3s ease;
    ;
}

.brand-card:hover span {
    display: block;
    opacity: 1;
}

.brand-card img {
    width: 100%;
    object-fit: contain;
    max-height: 70px;
    max-width: 200px;
    transition: opacity 0.3s ease;
}

.brand-card:hover img {
    opacity: 0.05;
}

.brand-info {
    padding: 20px;
    transition: opacity 0.3s ease;
}

.brand-info h3 {
    margin: 0 0 10px;
}

.brand-info p {
    margin: 0;
    color: var(--text-colour);
}

@media (max-width: 800px) {
    .slider-brands .slick-arrow {
        top: -60px;
    }
}

/* CAREERS */
@media (max-width: 800px) {
    #home-careers .flex-split {
        flex-direction: column-reverse;
    }
}

/* LATEST NEWS */
.single-post:hover {
    box-shadow: 1px 1px 10px #eaeaea;
}

.single-post img {
    max-width: 420px;
    width: 100%;
}

.post-body {
    padding: 30px;
}

.post-body p {
    color: var(--text-colour);
}


@media (max-width: 800px) {
    .post-body {
        padding: 15px;
    }
}