.blocks-container .image-and-content-tertiary {
    max-width: 100%;
    height: auto;
    display: flex;
    column-gap: var(--column-gap);
    align-items: center;
    row-gap: var(--item-row-gap);
}

.image-and-content-tertiary.animate__animated {
    animation-name: fadeIn;
    
}

.image-and-content-tertiary-content{
    padding: var(--row-gap) 0 0;
}

.image-and-content-tertiary-content.animate__animated{
    animation-name: fadeInLeft;
    
    overflow: hidden;
}

.image-and-content-tertiary-title {
    margin-bottom: 0;

    @media not all and (min-width: 1200px) {
      text-align: center;
      font-size: 4rem;
      text-wrap: pretty;
    }
}

.image-and-content-tertiary[data-color-scheme="light-sunburst"] .image-and-content-tertiary-title {
    color: var(--color-deepest-blue);
}

.image-and-content-tertiary-text-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: var(--body-and-buttons-gap);

    @media not all and (min-width: 1200px) {
      row-gap: 3.2rem;
      text-align: center;

      & p {
        font-size: 1.8rem;
        line-height: 1.5;
      }

      .image-and-content-tertiary-buttons{
        justify-content: center;
      }
    }
}

.cta-content-and-buttons-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: var(--item-row-gap);
}

.image-and-content-tertiary-text p {
    margin: 0;
}

.image-and-content-tertiary-buttons{
    display: flex;
    flex-wrap: wrap;
    gap: var(--small-row-gap);
    align-items: center;
}

.image-and-content-tertiary-buttons a.tertiary-button {
    padding: 0;
}

.image-and-content-tertiary:last-child {
    margin-bottom: 0;
}

.image-and-content-tertiary-circular-image-wrapper{
    overflow: hidden;
    border-radius: 100%;
}

.image-and-content-tertiary-circular-image-wrapper a{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
    border-radius: 100%;
}

.image-and-content-tertiary-circular-image-wrapper a:not(:active, :hover, :focus) svg path {
    stroke-linecap: round;
    fill: var(--color-vibrant-blue);
    transition: 0.3s ease all;
}

.image-and-content-tertiary-circular-image-wrapper a:is(:active, :hover, :focus) svg path {
    stroke-linecap: round;
    fill: var(--color-deepest-blue);
    transition: 0.3s ease all;
}

.image-and-content-tertiary-circular-image-wrapper a svg{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.blocks-container .image-and-content-tertiary {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: calc( var(--column-gap) + var(--block-margin) );
    row-gap: var(--row-gap);

    @media not all and (min-width: 1200px) {
      row-gap: 4rem;
    }
}

.image-and-content-tertiary-content {
    display: flex;
    flex-direction: column;
    margin-left: calc(50vw - (var(--wide-width) / 2));
    row-gap: var(--title-and-body-gap);

    @media not all and (min-width: 1200px) {
      max-width: var(--wide-width);
      margin-left: auto;
     margin-right: auto; 
    }
}

.image-and-content-tertiary .image-and-content-tertiary-circular-animation-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    overflow: hidden;
    position: relative;
    padding-bottom: var(--row-gap);

    @media not all and (min-width: 1200px) {
      display: block;
    }
}

.image-and-content-tertiary-circular-image-wrapper {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    z-index: 1;
    height: 30rem;
    aspect-ratio: 1;
    animation-name: zoomIn;
    animation-delay: 0.1s;

    @media not all and (min-width: 1200px) {
      height: auto;
      width: 100%;
      max-width: 100%;
      position: relative;
      aspect-ratio: unset;
      border-radius: 0;
      overflow: visible;

      .image-and-content-tertiary-circular-image {
        position: relative;
        z-index: 20;
        border-radius: calc(infinity * 1px);
        overflow: hidden;
        max-width: 44rem;
        margin: 0 auto;
      }

      a{
        max-width: 44rem;
        left: 50%;
        transform: translateX(-50%);
        aspect-ratio: 1;
        height: auto;
      }

      .image-and-content-tertiary-circular-image-white-circle {
        position: absolute;
        inset: 0;
        bottom: calc(-1 * var(--row-gap));
        z-index: 10;
        background: linear-gradient(to top, #FFFFFF 0%, #FFFFFF 50%, transparent 50%);
        border-radius: 0;
        clip-path: none;
        scale: 1;
        height: auto;
        aspect-ratio: auto;

        &:after {
          display: none;
        }
      }
    }
}

.image-and-content-tertiary-circular-image-white-circle {
    grid-column: 1;
    grid-row: 1;
    position: absolute;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-90deg, rgba(224, 239, 255,1) 0%, rgba(224, 239, 255,1) 50%, transparent 50%);
    border-radius: 100%;
    z-index: 2;
    scale: 1.01;
    clip-path: circle();
}

.image-and-content-tertiary-circular-image-white-circle::after{
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(224, 239, 255,1) 0%, rgba(224, 239, 255,1) 50%, transparent 50%);
    border-radius: 100%;
    scale: 1.01;

}

.image-and-content-tertiary-circular-image-white-circle.animate__animated:after {
    animation: rotate 0.8s linear 1.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(180deg); }
}

.image-and-content-tertiary-circular-image img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 100%;
    width: 100%;
    height: 100%;
}

.image-and-content-tertiary-background-image {
    grid-column: 1 / span 2;
    grid-row: 1;
    height: 30rem;

    @media not all and (min-width: 1200px) {
      display: none;
    }
}

.image-and-content-tertiary-background-image.animate__animated {
    animation-name: fadeIn;
    animation-delay: 1.5s;
    overflow: hidden;
}

.image-and-content-tertiary-background-image img {
    object-fit: cover;
    height: 100%;
    border-radius: 30rem 0rem 0rem 30rem;
}

@media (min-width: 1200px){
    .blocks-container .image-and-content-tertiary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .image-and-content-tertiary .image-and-content-tertiary-circular-animation-wrapper,
    .image-and-content-tertiary-circular-image-wrapper,
    .image-and-content-tertiary-background-image {
        height: 60rem;
    }
}