.tfnz-contactsection_container {
    margin: 2rem auto;
    width: 1270px;
    max-width: 80%;
    background: #e1ecf4;
    border-radius: 0.25rem;
    container-type: inline-size;
}

.tfnz-contactsection_inner {
    padding: 48px 64px;
    display: grid;
    grid-template-columns: 1fr 48px 3fr;
}

.tfnz-contactsection_imageContainer {
    grid-column-start: 1;
    grid-column-end: span 1;
    display: flex;
    align-items: center;
    container-type: inline-size;
}

.tfnz-contactsection_image {
    border-radius: 0.25rem;
}

.tfnz-contactsection_content {
    grid-column-start: 3;
    grid-column-end: span 1;
    display: flex;
    flex-direction: column;
}

.tfnz-contactsection_content p,
.tfnz-contactsection_content li {
    font-size: 0.9rem; /* Match font size to TFI */
    color: #333;
    margin-left: 0 !important; /* WYSIWYG adds +40 margin. Override. */
    line-height: 1.46;
}

.tfnz-contactsection_content img {
    border-radius: 0.625rem;
}

.tfnz-contactsection_content h1,
.tfnz-contactsection_content h2,
.tfnz-contactsection_content h3,
.tfnz-contactsection_content h4,
.tfnz-contactsection_content h5,
.tfnz-contactsection_content h6 {
    margin-left: 0 !important;
}



@container (width < 1000px) {
    .tfnz-contactsection_inner {
        padding: 40px;
        grid-template-columns: 1fr 40px 1fr;
    }

    .tfnz-contactsection_content {
        justify-content: center;
    }

    .tfnz-contactsection_imageContainer .tfnz-contactsection_image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media screen and (max-width: 800px) {
    .tfnz-contactsection_container {
        max-width: 90%;
    }
}

@container (width < 720px) {
    .tfnz-contactsection_inner {
        padding: 24px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
}