.quality-title {
    font-weight: bold;
    color: var(--grey-light);
}

.quality-container {
    width: 90%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    gap: 5rem;
    align-items: flex-start;
    margin-bottom: 8vh;
    margin-top: 8vh;
    max-width: 1600px;
}

.column-left,
.column-right {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

.column-left p:last-child {
    margin-bottom: 0 !important;
}

.column-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden; 
}

.image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--crisal-green-light);
    opacity: 0;
    transition: opacity 0.3s ease;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 2;
}

.image-wrapper:hover::after {
    opacity: 1;
}

.image-wrapper img,
.image-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;   
    display: block;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.image-wrapper:hover img,
.image-wrapper:hover video {
    transform: scale(1.1);   
}

.quality-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.links-container {
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
    max-width: 1600px;
}

.links-title-wrapper {
    display: inline-block; 
    margin-bottom: 1rem;
}

.links-title {
    font-weight: bold;
    color: var(--grey-light);
    margin-bottom: 1rem;
}

.links-divider {
  border: none;
  border-top: 2px solid var(--crisal-green-light);
  width: 100%;
  margin: 0;
}

.sustainability-cards-container {
  margin-top: 8vh;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8vh;
  width: 90%;
}


@media (max-width: 1024px) {
    .quality-container {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .column-left {
        display: contents;
    }

    .quality-title {
        order: 1;
        margin-bottom: 0 !important;
    }
    
    .column-right {
        order: 2;
        width: 100%;
        max-width: 100%;
        align-items: stretch;
        justify-content: center;
    }

    .quality-text {
        order: 3;
    }

    .quality-image {
        width: 100%;
        height: auto;
    }

    .image-wrapper,
  .image-wrapper > a,
  .image-wrapper img,
  .image-wrapper video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }
}

