/* 
    Table of content
    1. IMAGES
    2. IMAGE
    3. REVIEWS
    4. CONTACT
    5. CTA
    6. BGIMAGE
    7. TITLE & TEXT
    8. CONTACT DARK
*/

/* 1. IMAGES */
.content-images .content-wrapper {
    display: grid;
    grid-template-columns: 2fr 5fr;
    grid-gap: 3rem;
}

.content-images .content-wrapper .col:first-child {
    position: relative;
}
 
.content-images .signature {
    position: absolute;
    right: 3rem;
    bottom: 0;
    width: 10rem;
    height: 10rem;
}

.content-images .content-wrapper .col:last-child {
    max-width: 60rem;
    margin: 0 auto;
    padding: 3rem 0 6rem;
}

.content-images .images-wrapper {
    display: grid;
    grid-template-columns: 2fr 5fr;
    align-items: center;
    grid-gap: 3rem;
}

.content-images .image-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    border-radius: 1rem;
    overflow: hidden;
}

.content-images .image-wrapper:first-child {
    padding-top: 100%;
}

.content-images .image-wrapper:last-child {
    padding-top: 56.25%;
}

.content-images .image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 2. IMAGE */
.content-image.bgcolor-beige {
    background-color: var(--color-beige);
    color: var(--color-green);
}

.content-image.bgcolor-beige a {
    color: var(--color-green);
}

.content-image .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 9rem;
}

.content-image .container:not(.flip-yes) .content-wrapper {
    padding-top: 6rem;
}

.content-image .container.flip-yes .content-wrapper {
    order: 2;
    padding-top: 6rem;
}

.content-image .container.flip-yes .image-wrapper {
    order: 1;
}

.content-image .image {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 100%;
    border-radius: 1rem;
    overflow: hidden;
}

.content-image .image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.content-image .branding {
    position: absolute;
    z-index: 1;
    bottom: 2rem;
    left: 2rem;
    width: 10rem;
    height: 10rem;
}

.content-image .container:not(.flip-yes) .branding {
    left: inherit;
    right: 2rem;
}

.content-image .branding img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* 3. REVIEWS */
.content-reviews .title-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.content-reviews h2 {
    margin-bottom: 0;
}

.content-reviews .btn-wrapper {
    text-align: right;
}

.content-reviews .ti-widget.ti-goog {
    width: calc(100% + 2rem) !important;
    margin: 3rem -1rem 0;
}

.content-reviews .ti-widget.ti-goog .ti-widget-container {
    margin-bottom: 0;
}

.content-reviews .ti-widget.ti-goog .ti-widget-container * {
    font-family: "Inter Tight", serif;
    font-size: 1.4rem !important;
    line-height: 1.6 !important;
    color: var(--color-beige);
}

.content-reviews .ti-widget.ti-goog .ti-reviews-container-wrapper {
    padding-top: 0;
}

.content-reviews .ti-widget.ti-goog .ti-review-item {
    padding: 0 1rem;
}

.content-reviews .ti-widget.ti-goog .ti-review-item>.ti-inner {
    padding: 3rem !important;
    border: .1rem solid rgba(255,255,255,.25) !important;
    border-radius: 1rem !important;
    background-color: transparent !important;
}

.content-reviews .ti-widget.ti-goog .ti-review-header:before {
    display: none;
}

.content-reviews .ti-widget.ti-goog .ti-review-content .ti-stars {
    margin: 0 0 2rem 0 !important;
}

.content-reviews .ti-widget.ti-goog .ti-widget-container .ti-name,
.content-reviews .ti-widget.ti-goog .ti-date {
    margin: 0 !important;
    color: var(--color-beige) !important;
}

/* 4. CONTACT */
.content-contact {
    background-color: var(--color-beige);
    color: var(--color-green);
}

.content-contact a {
    color: var(--color-green);
}

.content-contact .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 9rem;
}

.content-contact .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(50% - .05rem);
    width: .1rem;
    height: 100%;
    background-color: var(--color-green);
}

.content-contact .text-wrapper img {
    display: flex;
}

.content-contact .gform_wrapper {
    margin-top: 3rem;
}

.content-contact .contact-wrapper {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: .1rem solid var(--color-green);
}

/* 5. CTA */
.content-cta,
.content-cta a {
    color: var(--color-green)
}

.content-cta .container {
    position: relative;
    padding: 8rem 4rem;
    border-radius: 1rem;
    background-color: var(--color-beige);
    background-image: url(../images/branding-pig.svg);
    background-size: auto calc(100% - 4rem);
    background-position: calc(100% - 2rem) 2rem;
    background-repeat: no-repeat;
}

.content-cta .container::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(50% + 4.5rem);
    width: 20rem;
    height: 20rem;
    background-image: url(../images/stamp03.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.content-cta .inner-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3rem;
}

/* 6. BGIMAGE */
.content-bgimage {
    position: relative;
    background-size: cover;
    background-position: center;
}

.content-bgimage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-green);
    opacity: .5;
}

.content-bgimage .container {
    position: relative;
    z-index: 1;
    height: 72rem;
    padding: 7rem 0;
    display: flex;
    align-items: center;
    color: var(--color-beige);
    text-align: center;
}

.content-bgimage img {
    width: auto;
    height: 4.2rem;
}

.content-bgimage .title {
    margin-top: 3rem;
    font-family: 'PP Editorial New';
    font-size: 5.4rem;
    line-height: 1;
}

.content-bgimage .label {
    margin-top: 3rem;
}

/* 7. TITLE & TEXT */
.content-title-text .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3rem;
}

.content-title-text .title-wrapper {
    max-width: 50rem;
}

.content-title-text h1,
.content-title-text h2,
.content-title-text h3 {
    margin-bottom: 0;
}

/* 8. CONTACT DARK */
.content-contact-dark .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 9rem;
}

.content-contact-dark .contact-wrapper {
    max-width: 40rem;
    margin-top: 4rem;
}

.content-contact-dark .item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3rem;
}

.content-contact-dark .item:not(:first-child) {
    margin-top: 3rem;
}

.content-contact-dark .item .left {
    opacity: .5;
}

.content-contact-dark .gform_wrapper {
    margin-top: 3rem;
}

/* RESIZE */
@media (max-width: 1320px) {
    /* 5. CTA */
    .content-cta .container::before {
        display: none;
    }
}

@media (max-width: 1120px) {
    /* 1. IMAGES */
    .content-images .content-wrapper .col:last-child {
        max-width: 55rem;
    }

    /* 6. BGIMAGE */
    .content-bgimage .title {
        font-size: 4.4rem;
        line-height: 1.1;
    }

    .content-bgimage .label {
        margin-top: 2rem;
    }
}

@media (max-width: 1024px) {
    /* 2. IMAGE */
    .content-image .container {
        grid-gap: 6rem;
    }

    .content-image .container:not(.flip-yes) .content-wrapper {
        padding-top: 4rem;
    }
    
    .content-image .container.flip-yes .content-wrapper {
        padding-top: 4rem;
    }

    /* 4. CONTACT */
    .content-contact .container {
        grid-gap: 6rem;
    }

    /* 5. CTA */
    .content-cta .container {
        background-size: calc(50% - 5.5rem) auto;
        background-position: calc(100% - 2rem) center;
    }

    /* 6. BGIMAGE */
    .content-bgimage .container {
        height: 60rem;
        padding: 5rem 0;
    }

    /* 8. CONTACT DARK */
    .content-contact-dark .container {
        grid-gap: 6rem;
    }

    .content-contact-dark .item {
        grid-template-columns: 1fr 2fr;
    }
}

@media (max-width: 899px) {
    /* 1. IMAGES */
    .content-images .content-wrapper {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .content-images .signature {
        display: none;
    }

    .content-images .content-wrapper .col:last-child {
        max-width: inherit;
        padding: 0;
    }

    .content-images .images-wrapper {
        margin-top: 3rem;
    }

    .content-images .image-wrapper:last-child {
        padding-top: 66.67%;
    }

    /* 2. IMAGE */
    .content-image .branding {
        width: 8rem;
        height: 8rem;
    }

    /* 4. CONTACT */
    .content-contact .container {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .content-contact .container::before {
        display: none;
    }

    .content-contact .gform_wrapper {
        margin-top: 2rem;
    }

    .content-contact .right {
        margin-top: 4rem;
        padding-top: 4rem;
        border-top: .1rem solid var(--color-green);
    }

    /* 5. CTA */
    .content-cta .container {
        padding: 5rem 4rem;
    }

    /* 6. BGIMAGE */
    .content-bgimage .container {
        height: 50rem;
    }

    .content-bgimage .title {
        font-size: 4rem;
    }

    /* 8. CONTACT DARK */
    .content-contact-dark .container {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .content-contact-dark .container > .right {
        margin-top: 4rem;
        padding-top: 4rem;
        border-top: .1rem solid rgba(255, 255, 255, .25);
    }
}

@media (max-width: 767px) {
    /* 1. IMAGES */
    .content-images .images-wrapper {
        grid-gap: 2rem;
    }

    /* 5. CTA */
    .content-cta .container {
        padding: 5rem 3rem;
        background-image: none;
    }

    .content-cta .inner-container {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    /* 7. TITLE & TEXT */
    .content-title-text .container {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .content-title-text h1,
    .content-title-text h2 {
        margin-bottom: 1.5rem;
    }

    .content-title-text h3 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 599px) {
    /* 2. IMAGE */
    .content-image .container {
        grid-template-columns: 1fr;
        grid-gap: 3rem;
    }

    .content-image .container:not(.flip-yes) .content-wrapper {
        order: 2;
        padding-top: 0;
    }

    .content-image .container.flip-yes .content-wrapper {
        padding-top: 0;
    }

    .content-image .container .image-wrapper {
        order: 1;
    }

    .content-image .image {
        padding-top: 56.25%;
    }

    /* 3. REVIEWS */
    .content-reviews .title-wrapper {
        grid-template-columns: 1fr;
    }

    .content-reviews h2 {
        margin-bottom: 1.5rem;
    }

    .content-reviews .btn-wrapper {
        text-align: inherit;
    }
}

@media (max-width: 499px) {
    /* 2. IMAGE */
    .content-image .branding {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 6rem;
        height: 6rem;
    }
}