.ebook__container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

h1.ebook__heading {
    font-size: 28px;
    color: #574b3c;
    text-transform: uppercase;
    margin-top: 20px;
    margin-bottom: 50px;
}

img.ebook__image {
    max-width: 100%;
    height: inherit;
    object-fit: cover;
}

.ebook__media {
    display: flex;
    width: 40%;
} 

.ebook__container {
    display: flex;
    max-width: 1400px;
    padding-left: 30px;
    padding-right: 30px;
    gap: 40px;
}

.ebook__grid {
    display: flex;
    gap: 40px;
}

.ebook__content {
    width: 50%;
    color: white;
    gap: 20px;
    display: flex;
    flex-direction: column;
    font-size: 1.6rem;
    line-height: 1.3;
}

.ebook__cta {
    color: white;
    gap: 20px;
    display: flex;
    flex-direction: column;
    font-size: 1.2rem;
    line-height: 1.3;
}

section.ebook {
    display: flex;
    justify-content: center;
    margin-top: 100px;
}

.page-template-ebook .ebook__grid label.name, form.wpcf7-form .wpcf7-email {
    width: 95%;
}

.page-template-ebook .ebook__grid .newsletter-column .wpcf7-submit {
    left: 85%;
}


.ebook__grid .wpcf7-response-output {
    display: none;
}

@media (max-width: 600px) {
.ebook__grid {
    flex-direction: column;
}

.ebook__media {
    width: 100%;
}

.ebook__content {
    width: 100%;
}

.ebook__form.newsletter-column {
    width: 75%;
}

.page-template-ebook label.name, form.wpcf7-form .wpcf7-email {
    width: 100%;
}

h1.ebook__heading {
    margin-bottom: 0;
}

.ebook__cta {
    font-size: 1.6rem;
}
}