/* Mattress Page Style */

section.airflow {
    padding: 3em 0;
}

section.airflow .section-heading {
    margin-top: 0;
}

section.airflow .section-heading, 
section.airflow .section-subtitle {
    text-align: left;
} 

section.airflow .section-content {
    gap: 40px;
}

section.airflow .section-content>div {
    flex: 1;
}

section.airflow .mattress-layers {
    border: 3px solid var(--light-blue);
    border-radius: 40px;
    padding: 20px;
}

.zonal-support-system h4 {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--bold-blue);
}

.zonal-support-system h4 img:first-child {
    margin-right: 9px;
    transform: scale(-1);
}

.zonal-support-system h4 img:last-child {
    margin-left: 8px;
}

.mattress-layers h4 {
    color: var(--bold-blue);
    font-size: 1.25rem;
    font-weight: 500;
    margin: 10px 0 0;
}

.adjustable-beds .adjustable-bed {
    position: relative;
    width: calc(50% - 40px);
    padding-bottom: 20px;
}

.adjustable-beds {
    justify-content: center;
}

.adjustable-beds > .adjustable-bed:nth-child(1),
.adjustable-beds > .adjustable-bed:nth-child(2) {
  display: none !important;
}

.adjustable-beds .bed-details {
    text-align: center;
}

.adjustable-beds .adjustable-bed h3 {
    margin-top: 20px;
}

.adjustable-beds .bottom-bar {
    height: 22px;
    width: 100%;
    background-color: var(--light-blue);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 0 0 22px 22px;
}

.adjustable-beds {
    position: relative;
}

.customer-journey .section-heading-block p {
    color: var(--bold-blue);
}

.customer-journey-step p {
    font-size: 0.875rem;
}

.faq-block {
    background-position: center !important;
    background-size: cover !important;
    margin-top: 65px;
    padding: 3em 4em;
    border-radius: 22px;
}

.faq-block-content {
    max-width: 60%;
}

.faq-block-content p.section-subtitle {
    text-align: left;
    margin-bottom: 0;
}

.faq-block-content h3 {
    margin: 5px 0 30px;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 1.75rem;
}

.faq-block-content a.btn-theme {
    margin-top: 2.5em;
    margin-bottom: 10px;
}

.testimonials .section-content {
    background-color: transparent;
    margin-top: 0;
    padding-top: 0;
}

.faqs .section-heading-block p {
    color: var(--bold-blue);
}

.testimonial-text {
    min-height: 365px;
    justify-content: flex-start;
}

@media(max-width: 767px) {
    section.airflow .section-content {
        flex-direction: column;
        padding: 0 20px;
    }
    
    .adjustable-beds .adjustable-bed {
        width: 100%;
    }
    
    .faq-block-content {
        max-width: 100%;
    }
    
    .faq-block {
        padding: 2em;
    }
}