.sustainability-reports-list {
    padding-top: 2rem;
    padding-bottom: 2rem;
    overflow: hidden;
    background-color: #F9F5EB;
}
  
.sustainability-reports-list__wrapper {
    width: 100%;
}

.sustainability-reports-list__content {
    display: grid;
    grid-template-columns: auto;
    align-items: center;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__content {
        grid-template-columns: 1fr 1.5fr;
    }
}

.sustainability-reports-list__content-header {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__content-header {
        padding-bottom: 1rem;
    }
}

.sustainability-reports-list__content-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    padding-bottom: 1rem;
}

.sustainability-reports-list__content-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sustainability-reports-list__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__items-header {
        padding-bottom: 2rem;
    }
}

.sustainability-reports-list__items-header h2 {
    color: var(--primary-color);
    font-size: 24px;
    line-height: 1;
    margin-bottom: 0.5rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__items-header h2 {
        font-size: 32px;
    }
}
  
.sustainability-reports-list__items-description p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 1rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__items-description p {
        font-size: 20px;
        margin-bottom: 2rem;
    }
}
  
.sustainability-reports-list__items-container,
.sustainability-reports-list__item-dialog-content {
    width: 100%;
    background-color: #FFFCF6;
    border: 1px dotted var(--light-gray);
    border-radius: 20px;
}

.sustainability-reports-list__items-container {
    position: relative;
    padding: 1rem;
}

.sustainability-reports-list__items-container h3 {
    font-size: 16px;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 1px dotted var(--light-gray);
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__items-container h3 {
        font-size: 20px;
    }
}

.sustainability-reports-list__item {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__item {
        justify-content: space-between;
    }
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__item a,
    .sustainability-reports-list__item button {
        width: calc(50% - 1rem);    
    }
}

/* SUSTAINABILITY REPORT DIALOG */
/*==============================*/

.sustainability-reports-list__item-dialog {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    padding: 0;
    border: none;
    background-color: unset;

    transition: scale 0.30s ease-out, 
                opacity 0.15s ease-out,
                display 0.30s allow-discrete;

}
  
/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__item-dialog {
        overflow: hidden;
    }
}
  
.sustainability-reports-list__item-dialog[open] {
    scale: 1;
    opacity: 1;

    @starting-style {
        scale: 0.75;
        opacity: 0;
    }
}

.sustainability-reports-list__item-dialog:not([open]) {
    scale: 0.75;
    opacity: 0;
}

.sustainability-reports-list__item-dialog:focus-visible {
    outline: none;
}

.sustainability-reports-list__item-dialog::backdrop {
    background-color: rgba(0, 0, 0, 0.75);
}

.sustainability-reports-list__item-dialog-button {
    position: relative;
    align-self: flex-end;
    margin-bottom: -1rem;
    top: 4%;
    right: 5%;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__item-dialog-button {
        margin-bottom: -2rem;
        align-self: flex-start;
        top: unset;
        right: unset;
        left: 15%;
    }
}

.sustainability-reports-list__item-dialog .sustainability-reports-list__item-dialog-button button {
    z-index: 3;
    width: 30px;
    height: 30px;
    font-size: 1.3em;
    text-align: center;
    position: sticky;
    top: 0;
    border-radius: 50%;
    color: var(--black);
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__item-dialog .sustainability-reports-list__item-dialog-button button {
        position: relative;
        top: 50%;
        left: 285%;
    }
}

.sustainability-reports-list__item-dialog .sustainability-reports-list__item-dialog-button button:focus-visible {
    outline: none;
}

/* DIALOG CONTENT */
/* ============== */

.sustainability-reports-list__item-dialog-content {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 3rem 2rem 2rem;
}

/* For tablet landscape up */
@media (min-width: 900px) {
    .sustainability-reports-list__item-dialog-content {
        width: 60%;
        gap: 2rem;
        padding: 4rem 2rem 2rem;
    }
}