


.hpdt-block {
    /* background-color: #EE4E37;  */
    /* padding: 0 2rem; */
}
.hpdt-blocks {
    padding: 0 2rem;
}

.hpdt-block--magazine {
    background-color: #EE4E37; 
    min-height: 26.1rem;
}

.hpdt-block__content {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    height: 100%;
}

.hpdt-subscribe__content-container {
    flex: 1 0 auto;
}

.hpdt-block__content h3 {
    color: #fff;
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.hpdt-block__content a {
    color: #fff;
    text-decoration: none;
}

.hpdt-block__link {
    color: #fff;
    font-family: 'Heebo', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

.hpdt-block__cover {
    position: relative;
    text-align: center;
    z-index: 0;
}

.hpdt-block__cover-content {
    margin: 0 auto;
    position: relative;
    text-align: center;
    z-index: 10;
}

.hpdt-subscribe__content-container p {
    /* margin-bottom: 0; */
}

/* Newsletter */
.hpdt-block--newsletter {
    background-color: #93C3A2;
    background-image: url('assets/svg/envelope.svg');
    background-repeat: no-repeat;
    background-position: right top;
    min-height: 24rem;
    width: 100%;
}

.hpdt-block__button {
    background-color: #000;
    display: inline-block;
    font-family: 'Heebo', sans-serif;
    padding: 1.25rem 2rem;
    white-space: nowrap;
}

.hpdt-subscribe__content-footer {
    padding: 1rem 0;
}

.hpdt-block--magazine {
    margin-bottom: 2rem;
}

.magazine__cover-image {
    max-width: 26rem;
}




@media all and ( min-width: 767px) {

    .hpdt-blocks {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 0 2rem;
    }

    .hpdt-block--magazine {
        display: flex;
        flex-direction: row;
    }

    .hpdt-block__cover {
        display: flex;
        align-items: flex-end;
        padding: 2rem 2rem 0 2rem;
    }

}

@media all and (min-width: 1024px) {

    .hpdt-blocks {
        padding: 0;
    }
    
    .hpdt-block {
        flex: 0 calc(50% - 2rem);
    }

    .hpdt-block__content {
        padding: 3rem 1rem 2rem 3rem
    }

    .hpdt-block--newsletter .hpdt-block__content {
        max-width: 35rem;
    }

    .hpdt-block--magazine {
        margin-bottom: 0;
    }
}



/* Subscription block */
.hpdt-subscribe {
    background-color: #EE4E37;
    margin: 0 2rem;
    padding: 3rem 2rem 0 2rem;
    order: 1;
}
.hpdt-subscribe__content-header {
    display: flex;
    flex-direction: row;
}

.hpdt-subscribe__content {
    display: flex;
    flex-direction: column;
}

.hpdt-subscribe__content-container,
.hpdt-subscribe__content-container p {
    font-size: 1.4rem;
    line-height: 1.5;
}

.hpdt-subscribe__title {
    color: #fff;
    font-size: 3rem;
}

.hpdt-subscribe__image {
    order: 3;
}

.hpdt-subscribe__cta {
    color: #fff;
    order: 2;
    padding-bottom: 4rem;
}

.hpdt-subscribe__cta small {
    font-size: 16px;
}

.hpdt-subscribe__price {
    font-size: 30px;
}

.hpdt-subscribe__button {
    background-color: #fff;
    color: #EE4E37;
    font-family: 'Heebo', sans-serif;
    text-decoration: none;
    padding: 1.25rem 2rem;
    white-space: nowrap;
}

.hpdt-subscribe__cover-image {
    max-width: 100%;
}


@media all and (min-width: 767px) {
    .hpdt-subscribe__text {
        flex-direction: row;
        max-width: 50%;
    }
    .hpdt-subscribe__image {
        position: absolute;
        right: 2rem;
        bottom: 0;
    }
}
 
@media all and (min-width: 1024px) {

    .hpdt-subscribe {
        margin: 0 0 1rem 0;
    }

    .hpdt-subscribe__title {
        font-size: 3.6rem;
    }

    .hpdt-subscribe__content {
        flex-direction: row;
    }

    .hpdt-subscribe__text {
        max-width: 52rem;
        padding: 2rem;
        position: initial;
    }

    .hpdt-subscribe__image {
        /* margin-top: -9rem; */
        padding: 2rem 2rem 0 2rem;
        position: initial;
    }

    .hpdt-subscribe__cta {
        order: 3;
        padding: 2rem;
        min-width: 24rem;
    }
}

@media all and (min-width: 1280px) {

    .hpdt-subscribe {
        padding: 1rem 2rem 0 2rem;
    }

    .hpdt-subscribe__image {
        margin-top: -8rem;
    }

    .hpdt-subscribe__cta {
        min-width: 24rem;
    }

}