#listings-carousel-outer {
    display: grid;
    grid-template-rows: repeat(4, auto);
    grid-template-columns: 10% minmax(0, 40%) minmax(0, 40%) 10%;
    justify-content: center;
    text-align: center;
    align-items: center;
    background-color: var(--blue-background-gray);
    padding: 45px 0;
    column-gap: 25px;
}

.listings-carousel-header {
    grid-row: 1;
    grid-column: 1 / -1;
    font-family: Roboto, sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: white;
    justify-self: center;
    text-align: center;
    margin: 0 0 35px;
    padding: 0;
}

#listings-carousel-img {
    grid-column: 2;
    grid-row: 2 / span 2;
    justify-self: end;
    align-self: center;
    box-shadow: var(--common-box-shadow);
}

#listings-carousel-title {
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    justify-self: center;
    color: white;
    margin: 0 0 15px;
}

#listings-carousel-description {
    grid-column: 3;
    grid-row: 3;
    align-self: start;
    justify-self: center;
    color: white;
    margin: 15px 0 0;
}

#listings-carousel-right-arrow,
#listings-carousel-left-arrow {
    grid-row: 2 / span 2;
    align-self: center;
    justify-self: center;
}

#listings-carousel-left-arrow:hover,
#listings-carousel-right-arrow:hover {
    cursor: pointer;
}

#testimonials-carousel-outer {
    display: grid;
    grid-template-rows: repeat(5, auto);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 25px;
    row-gap: 0;
    background-color: var(--light-gray);
    padding: 25px 50px;
}

.video-testimonial-image {
    box-shadow: var(--common-box-shadow);
}

#testimonials-carousel-outer > h1 {
    font-family: Roboto, sans-serif;
    font-size: 32pt;
    font-weight: 400;
    color: var(--middle-green);
    text-align: center;
    padding: 0;
    grid-column: 1 / -1;
    width: 100%;
    margin: 25px 0;
}

#testimonials-carousel-outer > .divider {
    grid-column: 1 / -1;
    width: 75%;
    height: 5px;
    justify-self: center;
    background-color: var(--middle-green);
    margin: 50px 0;
}

#testimonials-carousel-outer .testimonial-card {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
    width: 100%;
}

#testimonials-carousel-outer .testimonial-card h3 {
    font-family: Roboto, sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    width: 75%;
    margin: 0;
    white-space: normal;
    overflow-wrap: break-word;
}

#testimonials-carousel-outer a {
    justify-self: center;
    min-width: 0;
}

.five-star-img {
    justify-self: center;
    margin: 50px 0;
}

#awards-container {
    background-color: var(--dark-background-gray);
    padding: 50px 0;
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
}

#awards-container a:nth-of-type(1) {
    grid-column: 1 / -1;
    margin-bottom: 50px;
}

#awards-container a {
    justify-self: center;
}

#partner-links-container {
    background-color: var(--dark-green);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
}

#partner-links-container h1 {
    font-size: 32pt;
    font-weight: 400;
    color: white;
    grid-column: 1 / -1;
    justify-self: center;
    text-align: center;
}

#partner-links-container a {
    justify-self: center;
    margin-bottom: 50px;
    box-shadow: var(--common-box-shadow);
}

.partner-img-container {
    display: grid;
}

.partner-img-container img {
    z-index: 1;
    grid-column: 1;
    grid-row: 1;
}

.partner-img-container .partner-img-overlay {
    opacity: 0;
    grid-column: 1;
    grid-row: 1;
    z-index: 10;
    height: 250px;
    width: 250px;
    background-color: rgba(0, 0, 0, 0.6);
    display: grid;
}

.partner-img-overlay p {
    font-size: 16pt;
    color: white;
    font-weight: 400;
    justify-self: center;
    align-self: center;
}
