/*--- Fonts ---*/

@font-face {
  font-family: AtkinsonRegular;
  src: url(Atkinson-Hyperlegible-Regular-102a.woff2) format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: AtkinsonBold;
  src: url(Atkinson-Hyperlegible-Bold-102a.woff2) format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: AtkinsonRegularItalic;
  src: url(Atkinson-Hyperlegible-Italic-102a.woff2) format('woff2');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: AtkinsonBoldItalic;
  src: url(Atkinson-Hyperlegible-BoldItalic-102a.woff2) format('woff2');
  font-weight: bold
  font-style: italic;
}

body, .btn {
    font-family: AtkinsonRegular, 'Open Sans', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: AtkinsonBold, 'Open Sans', sans-serif;
}

/*--- Variables ---*/

:root {
  --main-color: #008CB6;
}

/*--- Header ---*/

.toolbar__container {
    padding-top: 5px;
    padding-bottom: 5px;   
}

.header__content--desktop {
    padding: 30px 0 20px;
}

.header__content--mobile {
    padding: 0 20px;   
}

.header__content--mobile .dropdown__trigger {
    display: block;
}

.header__content--mobile .dropdown__menu {
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.2s;
}

.header__content--mobile .dropdown.dropdown--open .dropdown__menu {
    max-height: 300px;
}

.header__content--mobile .header__block--cta {
    padding: 0;
}

.header__content--mobile .dropdown,
.header__content--mobile .link-list__link {
    padding: 7px 0;
    font-size: 1rem;
}

.dropdown__icon::before {
    content: '';
    width: 9px;
    height: 5px;
    display: block;
    background-image: url(arrow--drop-down.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 0.2rem;
}

@media screen and (max-width: 767px) {
    
    .header__block--cta a.btn {
        width: 200px;
        padding: 5px 20px;
        font-size: 1rem;
    }
    
    .header.header--overlay.sticky {
        position: static;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
    }
}

@media screen and (min-width: 768px) {
    
    .header__block--cta {
        margin: 0;
        position: absolute;
        right: 0;
        top: -50px;
    }
}

/*--- Footer ---*/

#section-footer .footer {
    background: url(background-doodles--dark.jpg);
    background-size: 1100px;
    background-position: center;
}

/*--- Buttons ---*/

.btn {
    box-shadow: none !important;
    font-weight: normal;
    padding-left: 15px;
    padding-right: 15px;
}

.block-type--text .btn,
.block-type--blog .btn,
.videocorsi--mobile .card .btn,
.libri--coming-soon .card .btn,
.studi-scientifici__articles .block-type--card .btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.block-type--text .btn:after,
.block-type--blog .btn:after,
.videocorsi--mobile .card .btn:after,
.libri--coming-soon .card .btn:after,
.studi-scientifici__articles .block-type--card .btn:after {
    content: '';
    display: block;
    width: 30px;
    height: 20px;
    background: url(arrow-small--right.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.block--background-limegreen .btn:after {
    background-image: url(arrow-small--right-white.png);
}

.buttons-group .btn {
    margin-top: 20px;
}

.block--atf .btn--primary {
    background: #D5F901;
    border-color: #D5F901;
    color: #1b1b1b;
}

.block--atf .btn--outlined {
    background: #fff;
    color: #008cb6;
}

.block--atf .btn--outlined:after {
    display: none;
}

@media screen and (max-width: 767px) {
    
    .btn {
        font-size: 0.95rem;
    }

    .block--atf .btn {
        width: 100%;
    }
    
    .block--atf .btn--primary {
        margin-top: 10px;
    }
}

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

    .block--atf {
        height: calc(100vh - 120px);
        min-height: 700px;
    }
    
    .block--atf .container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}

/*--- Typography ---*/

h1 {
    margin-bottom: 25px;
}

h2 {
    margin-bottom: 30px;
}

sup {
    font-size: 0.5em;
}

.pretitle,
.subtitle {
    line-height: 1.3;  
}

.pretitle {
    color: #003F52;
    font-size: 1.5625rem;
    font-weight: bold;
}

.subtitle {
    font-size: 1.625rem;
    color: #003F52;
    margin: 20px 0 25px;
}

.title--circled,
.text--circled {
    background: url(circle-text.png);
    background-repeat: no-repeat;
    background-position: center;
}

.title--circled {
    background-size: contain;
    padding: 80px 0;
    margin-bottom: 0;
}

.text--circled {
    padding: 80px 50px;
    margin: -80px -50px;
    background-size: 100% 100%;
}

.text--not-circled {
    position: relative;
    z-index: 1;
}

.has-highlighted-title.has-lightblue-background h2,
.has-highlighted-title.has-white-background h2,
.has-highlighted-title.has-lightblue-background h1,
.has-highlighted-title.has-white-background h1 {
    background-size: 70% 80px;
    background-position: left bottom;
    background-repeat: no-repeat;
}

.has-highlighted-title.has-lightblue-background h2,
.has-highlighted-title.has-lightblue-background h1 {
    background-image: linear-gradient(to top, #fff 80px, transparent 80px); 
}

.has-highlighted-title.has-white-background h2,
.has-highlighted-title.has-white-background h1 {
    background-image: linear-gradient(to top, #B8EFFF 80px, transparent 80px); 
}

@media screen and (max-width: 1023px) {
    
    .has-highlighted-title.has-lightblue-background h2,
    .has-highlighted-title.has-lightblue-background h1 {
        background-image: linear-gradient(to top, #fff 60px, transparent 40px); 
    }
    
    .has-highlighted-title.has-white-background h2,
    .has-highlighted-title.has-white-background h1 {
        background-image: linear-gradient(to top, #B8EFFF 60px, transparent 40px); 
    }
}

@media screen and (min-width: 1024px) and (max-width: 1200px) {
    
    h1 {
        font-size: 38px;
    }
    
    h2 {
        font-size: 34px;
    }   
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
    
    h1 {
        font-size: 42px;
    }
    
    h2 {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    
    h1, h2 {
        line-height: 1.1;
    }
    
    h1 {
        font-size: 36px;  
    }
    
    h2 {
        font-size: 24px;
    }
    
    .pretitle,
    .subtitle {
        font-size: 1.1rem;
        font-weight: normal;
    }
    
    .has-highlighted-title.has-lightblue-background h2 {
        background-image: linear-gradient(to top, #fff 40px, #B8EFFF 40px); 
    }
    
    .has-highlighted-title.has-white-background h2 {
        background-image: linear-gradient(to top, #B8EFFF 40px, #fff 40px); 
    }
    
    .text--circled {
        padding: 80px 20px;
        margin: -50px -20px;
    }
}

/*--- ATF ---*/

.block-atf--about .block-type--text .text--circled {
    padding: 50px 20px;
    margin: -50px -20px;
}

.block-atf--about .block-type--text {
    background: url(baloon-background-shadow.png) center / 100% 100% no-repeat;
    z-index: 2;
}

.block--atf .block-type--text p {
    font-size: 1.125rem;
}

@media screen and (max-width: 767px) {
    
    .block-atf--about .block-type--text h1 {
        font-size: 1.5rem;
    }
    
    .block-atf--about .block-type--text {
        background: url(baloon-background-shadow.png) -30px 50% / 100% 100% no-repeat;
        padding: 60px 60px 40px 20px;
    }
}

@media screen and (min-width: 768px) {
    .block--atf .sizer,
    .block--atf .container {
        height: 100% !important;
    }

    .block--atf .block-type--text {
        background: url(baloon-background-shadow.png) center / 100% 100% no-repeat;
        z-index: 1;
    }

    .block--atf .block-type--image {
        position: absolute;
        bottom: -100px;
        z-index: 1;
    }
}

@media screen and (max-width: 1100px) {
    
    .block--atf .block-type--text p {
        font-size: 1rem;
    }
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
    .block--atf:not(.block-atf--about) .block-type--text {
        background: none !important;
        text-align: left;
        width: 50%;
    }
    
    .block--atf:not(.block-atf--about) .block-type--text > .block {
        background: #fff;
        border-radius: 24px !important;
        padding: 40px !important;
    }
    
    .block--atf:not(.block-atf--about) .block-type--text p:not(.book-atf__price) {
        font-size: 1rem;
        padding: 0;
    }
}


/*--- Global blocks and dividers ---*/

.divider--round:after,
.divider--cloud--bottom:after,
.divider--cloud--top:after {
    content: '';
    width: 100%;
    display: block;
    position: absolute;
    background-position: center;
    z-index: 1;
}

.divider--cloud--top:after {
    top: 0;
}

.divider--round:after,
.divider--cloud--bottom:after {
    bottom: 0; 
}

.divider--round:after {
    height: 140px;
    background-image: url(divider--round.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.divider--cloud--bottom:after,
.divider--cloud--top:after {
    height: 135px;
    background-image: url(divider--clouds.png);
    background-size: auto 100%;
    background-repeat: repeat-x;
}

.divider--cloud--white:after {
    background-image: url(divider--clouds-white.png);
}

.divider--cloud--top:after {
    transform: rotate(180deg);
}

@media screen and (max-width: 768px) {
    
    .divider--cloud--bottom:after,
    .divider--cloud--top:after {
        height: 97px; 
    }
}

@media screen and (min-width: 768px) {
    
    .overflowing-image .block-type--image > .block {
        overflow: visible;
    }
    
    .overflowing-image .image {
        margin-right: -150px;
        width: auto !important;
    }   
}

.video-card__text {
    padding: 20px 20px 10px;
}

.full-baloon-text .block-type--text,
.half-baloon-text .block-type--text {
    background-size: 100% 100%;
}

.full-baloon-text .block-type--text {
    background-image: url(baloon-white.png);
    padding: calc(4% + 40px) 100px 40px;
}

.half-baloon-text .block-type--text {
    background-image: url(baloon-white--half.png);
    padding: calc(4% + 40px) 100px 40px;
}

@media screen and (max-width: 767px) {
    
    .full-baloon-text .block-type--text,
    .half-baloon-text .block-type--text {
        background: #fff;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        border-radius: 16px;
        padding: 25px 20px 20px !important;
    }
}

/*--- Lista percorsi ---*/

.block--percorsi .block-type--card .card a {
    display: flex;
    flex-direction: row;
}

.block--percorsi .block-type--card > div {
    box-shadow: 0 8px #AAC601, 0 0 24px rgba(0, 0, 0, 0.3); 
}

.block--percorsi .block-type--card .card__image,
.block--percorsi .block-type--card .card__body {
    width: 50%;
    transition: width 0.2s ease-in-out;
}

.block--percorsi .block-type--card .card__image {
    position: relative;
}

.block--percorsi .block-type--card .card__image img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.block--percorsi .block-type--card .card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 60px 30px;
    transition: padding 0.3s ease-in-out;
}

.block--percorsi .block-type--card .card__body h4 {
    font-size: 2.625rem;
    margin-bottom: 20px;
}

.block--percorsi .block-type--card .card__body:after {
    content: '';
    display: block;
    width: 82px;
    height: 33px;
    margin-top: 30px;
    background-image: url(arrow--right.png);;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    align-self: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

@media screen and (max-width: 1024px) {
    
    .block--percorsi .block-type--card .card__body {
        padding: 50px 30px;    
    }
    
    .block--percorsi .block-type--card .card__body:after {
        width: 52px;
        height: 25px;
        margin-top: 10px;
        opacity: 1;
    }
}

@media screen and (max-width: 767px) {
    
    .block--percorsi h2 {
        text-align: center;
    }
    
    .block--percorsi .card {
        background: #ffffff;
    }
    
    .block--percorsi .card a {
        flex-direction: column !important;
    }
    
    .block--percorsi .block-type--card .card__image {
        width: 100%;
    }
    
    .block--percorsi .block-type--card .card__image img {
        position: static;
    }
    
    .block--percorsi .block-type--card .card__body {
        width: 100%;
        padding: 30px 20px;
    }
    
    .block--percorsi .block-type--card .card__text h4 {
        font-size: 1.5626rem !important;
        color: #003F52 !important;
    }
    
    .block--percorsi .block-type--card .card__text p {
        color: #008CB6;
    }
    
    .block--percorsi .block-type--card .card__body:after {
        background-image: url(arrow--right-blue.png);
    }
}

@media screen and (min-width: 1024px) {
    
    .block--percorsi .block-type--card:hover .card__body:after {
        opacity: 1;
    }
    
    .block--percorsi .block-type--card:hover .card__body {
        padding: 80px 60px;
    }
}

/*--- Spinning logo ---*/

@media screen and (min-width: 1024px) {
    
    .has-spinning-img .block-type--text:before,
    .has-spinning-img .block-type--text:after {
        content: '';
        display: block;
        position: absolute;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .has-spinning-img .block-type--text:before {
        width: 120px;
        height: 120px;
        background-image: url(spinning-logo.png);
        left: -20px;
        animation-name: spinning;
        animation-duration: 6s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        top: 0;
    }
    
    .has-spinning-img .block-type--text:after {
        width: 55px;
        height: 55px;
        background-image: url(spinning-logo_elefante.png);
        top: 36px;
        left: 15px;
    }
    
    @keyframes spinning {
      from {transform: rotate(0);}
      to {transform: rotate(360deg);}
    }   
}

/*--- Lista videocorsi ---*/

.course-preview h2 {
    margin: 0 0 30px -20px;
    padding: 0 0 10px 40px;
}

.course-preview .block-type--text > block {
    overflow: visible;
}

.course-preview .btn {
    border-radius: 30px !important;
}

.videocorsi--mobile .card .btn {
    margin-top: 20px;
}

.videocorsi--mobile .card .btn:after,
.course-preview .btn:after {
    background-image: url(arrow--right.png);
}

.course-preview--img-right,
.course-preview--img-left {
    background-size: auto, 70%;
    background-repeat: no-repeat, repeat-y;
}

.course-preview.disabled .btn,
.videocorsi--mobile.videocorsi-mobile--disabled .card .btn {
    pointer-events: none;
    background: #5B5B5B !important;
    border-color: #5B5B5B !important;
}

.course-preview.disabled .btn:after,
.videocorsi--mobile.videocorsi-mobile--disabled .card .btn:after {
    display: none;
}

@media screen and (max-width: 767px) {
    
    .atf--videocorsi .block-type--text {
        z-index: 1;
    }
    
    .atf--videocorsi .block-type--text .btn {
        margin-top: 0;
    }
}

/* White background */

.course-preview--white.course-preview--img-right {
    background-image: linear-gradient(to right, #fff 50%, transparent 50%), url(background-doodles--blue.png);
    background-position: left, 110% 50%;
}

.course-preview--white.course-preview--img-left {
    background-image: linear-gradient(to left, #fff 50%, transparent 50%), url(background-doodles--blue.png);
    background-position: right, -60% 50%;
}

.course-preview--white h2 {
    background-image: linear-gradient(to bottom, #fff 35px, #B8EFFF 35px);
}

/* Light blue background */

.course-preview--lightblue.course-preview--img-right {
    background-image: linear-gradient(to right, #85E3FF 50%, transparent 50%), url(background-doodles--blue.png);
    background-position: left, 110% 50%;
}

.course-preview--lightblue.course-preview--img-left {
    background-image: linear-gradient(to left, #85E3FF 50%, transparent 50%), url(background-doodles--blue.png);
    background-position: right, -60% 50%;
}

.course-preview--lightblue {
    background-color: #85E3FF;
}

.course-preview--lightblue h2 {
    background-image: linear-gradient(to bottom, #85E3FF 35px, #fff 35px);
}

/* Lime green background */

.course-preview--limegreen.course-preview--img-right {
    background-image: linear-gradient(to right, #D5F901 50%, transparent 50%), url(background-doodles--blue.png);
    background-position: left, 110% 50%;
}

.course-preview--limegreen.course-preview--img-left {
    background-image: linear-gradient(to left, #D5F901 50%, transparent 50%), url(background-doodles--blue.png);
    background-position: right, -60% 50%;
}

.course-preview--limegreen {
    background-color: #D5F901;
}

.course-preview--limegreen h2 {
    background-image: linear-gradient(to bottom, #D5F901 35px, #fff 35px);
}

/*--- Testimonials ---*/

.home-testimonials {
    background: linear-gradient(to top, #fff 250px, transparent 250px), url(background-doodles--light.jpg);
    background-size: auto, 1100px;
    background-position: center;
}

.home-testimonials .block-type--video_card > .block {
    border-radius: 16px !important;
}

.home-testimonials .video-card__text h4:after,
.testimonials--text .block-type--feature h4:after {
    content: '';
    display: block;
    width: 195px;
    height: 24px;
    max-width: 100%;
    background: url(testimonial-5-stars.png);
    background-size: contain;
    background-position: center left;
    background-repeat: no-repeat;
    margin: 15px 0 20px;
}

/*--- Studi scientifici ---*/

.block--featured-link .block-type--text > .block {
    background-image: url(background-doodles--dark.jpg);
    background-size: 1100px;
    background-position: center;
}

.block--featured-link .block-type--code {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    background: white;
    border-radius: 16px;
}

@media screen and (max-width: 767px) {
    
    .block--featured-link .block-type--code {
        width: calc(100% - 40px);   
    }
    
    .block--featured-link .block-type--text p {
        text-align: left;
    }
    
    .block--featured-link .block-type--text .btn {
        margin-top: 20px;
        width: 100%;
    }
}

/*--- Latest posts ---*/

.block-type--blog > .block {
    border-radius: 16px;
}

.block-type--blog .btn {
    width: 100%;
    background-color: #D5F901;
    border: none;
    color: #1b1b1b;
    margin-top: 10px;
}

.block-type--blog .card__title {
    color: #006685 !important;
}

.block-type--blog ul {
    margin: 0 0 15px;
    padding: 0;
    display: flex;
    list-style: none;
    gap: 10px;
}

.block-type--blog ul li {
    font-size: 0.85rem;
    color: #006685;
    border: 1px solid #006685;
    border-radius: 30px;
    padding: 3px 8px;
    text-transform: capitalize;
}

/*--- About page ---*/

@media screen and (max-width: 767px) {
    div[data-dynamic-sections="about"] {
        background-size: 100%;
    }
}

@media screen and (min-width: 767px) {
    
    div[data-dynamic-sections="about"],
    .block--photo-story {
        background: url(background-footsteps-opacity.png);
        background-size: 1230px;
        background-position: center;
        background-repeat: repeat-y;
    }
}

/*--- Cloud background section ---*/

.block--cloud-background {
    background-image: url(background--girl-white-baloon.png);
    background-position: calc(50% - 100px);
    background-size: auto 100%;
    background-repeat: no-repeat;
}

.block--cloud-background .btn {
    float: right;
    margin-top: 20px;
}

.block--cloud-background .block-type--text {
    max-width: 740px;
    margin-left: 100px !important;
}

@media screen and (max-width: 1350px) {
    
    .block--cloud-background {
        background-position: calc(50% - 30px);   
    }
    
    .block--cloud-background > .sizer {
        padding-top: 150px;
        padding-bottom: 150px;
    }
    
    .block--cloud-background .block-type--text {
        width: 100%;
        margin-left: 250px !important;
        padding-right: 20px !important;
    }
}

@media screen and (max-width: 982px) {
    
    .block--cloud-background {
        padding: 0 20px;
        background-image: url(background--girl.png);
        background-size: 50%;
        background-position: -10% 100%;
    }
    
    .block--cloud-background .sizer {
        padding-top: 0 !important;
        padding-bottom: 180px !important;
    }
    
    .block--cloud-background .block-type--text {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        padding: 40px !important;
        width: calc(100% - 250px);   
    }
}

@media screen and (max-width: 800px) {
    
    .block--cloud-background {
        background-size: 400px;
    }
    
    .block--cloud-background .block-type--text {
        width: calc(100% - 150px);
        margin-left: 150px !important;
        padding: 20px !important;
    }
}

@media screen and (max-width: 600px) {
    
    .block--cloud-background {
        background-size: 230px;
        background-position: -40px 100%;
        padding: 0;
    }
    
    .block--cloud-background .sizer {
        padding-bottom: 120px !important;
    }
    
    .block--cloud-background .block-type--text {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        font-size: 0.95rem;
    }
}

@media screen and (min-width: 983px) {
    
    .block--cloud-background .btn {
        margin-right: 50px;
    }
}

/*--- Arrows frame section ---*/

.block--arrows-frame {
    background-color: #b8efff;
    background-image: url(background--arrows-frame.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.block--arrows-frame .block-type--text {
    max-width: 618px;
}

/*--- Percorso classico ---*/

.block--percorso-classico .card {
    display: flex;
    flex-direction: row;
}

.block--percorso-classico .card .card__image {
    width: 200px;
    flex-shrink: 0;
}

.block--percorso-classico .card__body {
    padding: 10px 20px;
}

.block--percorso-classico .card h4 {
    color: #008CB6;
}

@media screen and (max-width: 767px) {
    
   .block--percorso-classico .card .card__image {
        width: 110px;
    }
    
    .block--percorso-classico .card p {
        margin-bottom: 0;
    }
}

/*--- Photo story ---*/

.block--photo-story .block-type--text {
    background: url(baloon-background-shadow.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.block--photo-story .block-type--card:nth-of-type(2) .card__body {
    transform: rotate(-4deg);
    left: 40px;
    bottom: 50px;
}

.block--photo-story .block-type--card:nth-of-type(4) .card__body {
    transform: rotate(4deg);
    right: 40px;
    bottom: 50px;
}

.block--photo-story .block-type--card:nth-of-type(7) .card__body {
    transform: rotate(-4deg);
    left: 40px;
    bottom: 60px;
}

.block--photo-story .block-type--card:nth-of-type(10) .card__body {
    transform: rotate(4deg);
    right: 40px;
    bottom: 30px;
}

.block--photo-story .block-type--card:nth-of-type(4),
.block--photo-story .block-type--card:nth-of-type(10) {
    margin-left: 80px !important;
}

.block--photo-story .block-type--card:nth-of-type(7) {
    margin-left: calc(100% - 680px) !important;
}

.block--photo-story .card__body {
    position: absolute;
    padding: 0 40px;
    text-align: center;
}

.block--photo-story .card__text {
    font-size: 1.3rem;
    font-family: AtkinsonBold;
    line-height: 1.3;
}

.block--photo-story .block-type--card {
    width: 600px;
}

@media screen and (max-width: 1149px) {
    
    .block--photo-story .block-type--card:nth-of-type(2) {
        margin-top: -200px !important;
        margin-left: calc(100% - 680px) !important;  
    }
}

@media screen and (max-width: 767px) {
    
    .block--photo-story > .sizer .container .row {
        justify-content: center !important;
    }
    
    .block--photo-story .block-type--card:nth-of-type(2) {
        margin-top: -50px !important; 
    }
    
    .block--photo-story .block-type--card {
        width: 480px;
    }
    
    .block--photo-story .card__text {
        font-size: 0.9rem;
        font-family: AtkinsonRegular;
        line-height: 1.3;
    }
}

@media screen and (max-width: 560px) {
    
    .block--photo-story .block-type--card:nth-of-type(2),
    .block--photo-story .block-type--card:nth-of-type(4),
    .block--photo-story .block-type--card:nth-of-type(7),
    .block--photo-story .block-type--card:nth-of-type(10) {
        margin-left: 0 !important;
    }
    
    .block--photo-story .block-type--card {
        margin-top: -30px !important;
        align-self: center;
        min-width: 420px;
    }
    
    .block--photo-story .block-type--card:nth-of-type(2) .card__body {
        bottom: 30px;
    }
    
    .block--photo-story .block-type--card:nth-of-type(4) .card__body {
        bottom: 36px;
    }
    
    .block--photo-story .block-type--card:nth-of-type(7) .card__body {
        bottom: 40px;
    }
    
    .block--photo-story .block-type--card:nth-of-type(10) .card__body {
        bottom: 15px;
    }
}

/*--- Bullets ---*/

@media screen and (max-width: 767px) {
    
    .block--bullets--mobile-sm .feature,
    .block--bullets--mobile-md .feature {
        display: flex;
        align-items: flex-start;
    }
    
    .block--bullets--mobile-sm .block-type--feature {
        padding: 0;
        border: 2px solid #00B4EB;
        border-radius: 30px;
        background: linear-gradient(to right, #00B4EB 32px, #fff 32px);
        position: relative;
        margin-bottom: 10px !important;
    }

    .block--bullets--mobile-sm .feature {
        display: flex;
        align-items: center;
        padding-left: 40px;
        text-align: left;
        line-height: 1.3;
        padding: 10px 10px 10px 40px;
    }
    
    .block--bullets--mobile-md .block-type--feature {
        border-bottom: 1px solid #e2e2e2;
        margin-bottom: 5px;
    }
    
    .block--bullets--mobile-md .block-type--feature:last-of-type {
        border-bottom: none;
    }
    
    .block--bullets--mobile-md .feature {
        gap: 15px;
    }
    
    .block--bullets--mobile-sm .feature img {
        position: absolute;
        left: 5px;
        top: 50%;
        transform: translateY(-50%);
        max-width: 25px !important;
        max-height: 25px;
    }
    
    .block--bullets--mobile-md .feature img {
        width: 56px !important;
        height: auto;
    }
    
    .block--bullets--mobile-md .feature__text {
        text-align: left !important;
    }
}

/*--- Metodo Dysway ---*/

.block--metodo-dysway .block-type--card {
    width: 1000px;
    margin-right: -550px !important;
}

.block--metodo-dysway .card__body {
    position: absolute;
    width: 600px;
    text-align: center;
    top: 80px;
    left: 320px;   
}

.block--metodo-dysway .block-type--text {
    background-image: url(baloon-white--half.png);
    background-size: 100% 100%;
    background-position: center;
    padding: calc(4% + 50px) 100px 60px !important;
    z-index: 2;
}

.block--metodo-dysway .block-type--text img {
    margin: 0 auto;
}

.block--metodo-dysway.metodo-dysway--simpler .card__body {
    text-align: center;
    top: 140px;
}

@media screen and (max-width: 1380px) {
    
    .block--metodo-dysway .block-type--card {
        margin: 0 !important;
        padding-top: 50px;
    }
    
    .block--metodo-dysway .block-type--card ~ .block-type--text {
        width: 100% !important;
    }
    
    .block--metodo-dysway .block-type--text  h3 {
        font-size: 1.2rem !important;
    }
}

@media screen and (max-width: 1230px) {
    
    .block--metodo-dysway .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .block--metodo-dysway .block-type--text {
        background-size: 110% 100%; 
        margin-top: -64px !important;
        text-align: center !important;
    }
    
    .block--metodo-dysway .card__body {
        padding: 70px 70px 55px;
        margin-bottom: -80px;   
    }
    
    .block--metodo-dysway.metodo-dysway--simpler .card__body {
        top: 100px;
    }
    
    .block--metodo-dysway.metodo-dysway--simpler .pretitle {
        text-align: center;
    }
}

@media screen and (max-width: 767px) {
    
    .block--metodo-dysway .block-type--card .card,
    .block--metodo-dysway .block-type--card .block {
        overflow: visible;
    }
    
    .block--metodo-dysway .block-type--card .block {
        padding-top: 80px !important;
    }
    
    .block--metodo-dysway .card__image {
        width: 400px;
        margin-left: -30px;
        z-index: 1;
    }
    
    .block--metodo-dysway .card__body {
        background-image: url(baloon-background-shadow.png);
        background-size: 100% 100%;
        background-repeat: no-repeat;
        top: -80px;
        left: 150px;
        width: calc(100% - 150px);
    }
    
    .block--metodo-dysway .card__text {
        text-align: left;
    }
    
    .block--metodo-dysway .card__text .pretitle {
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 600px) {
    
    .block--metodo-dysway .block-type--card .block {
        padding-top: 0 !important;
    }
    
    .block--metodo-dysway .card__image {
        width: 270px;
        margin-left: -20px;
        order: 1;
    }
    
    .block--metodo-dysway .card__body {
        width: 100%;
        position: static;
        order: 0;
    }
    
    .block--metodo-dysway .block-type--card ~ .block-type--text p {
        font-size: 0.85rem;
    }
    
    .block--metodo-dysway .block-type--card ~ .block-type--text img,
    .block--metodo-dysway.metodo-dysway--simpler .card__body img {
        width: 192px;
        height: auto;
    }
    
    .block--metodo-dysway .block-type--card ~ .block-type--text {
        padding: 70px 40px 30px !important;
        margin: -50px -40px !important;
        width: calc(100% + 40px) !important;
    }
}

/*--- Blocco white card ---*/

.block--white-card {
    padding-left: 20px;
    padding-right: 20px;
}

.block--white-card .container {
    background: #fff;
    padding: 40px 20px 80px;
    border-radius: 24px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.block--white-card .feature .feature__image {
    height: 80px;
    object-fit: contain;
}

@media screen and (max-width: 767px) {
    
    .block--white-card {
        padding-right: 0;
    }

    .block--white-card .container {
        padding: 40px 0 !important;
        border-radius: 24px 0 0 24px;
    }
    
    .block--white-card .block-type--feature:first-of-type {
        margin-left: 20px;
    }
    
    .block--white-card .swiper-slide {
        width: 40%;
        padding-right: 10px;
        border-right: 1px solid #E2E2E2;
    }
    
    .block--white-card .swiper-slide p {
        line-height: 1.3;
    }
    
    .block--white-card .swiper-slide:last-of-type {
        border: none;
    }
}


@media screen and (max-width: 480px) {
    
    .block--white-card .swiper-slide {
        width: 70%;
        padding-right: 10px;
        border-right: 1px solid #E2E2E2;
    }   
}

/*--- Cards Wrapper ---*/

.cards-wrapper {
    display: flex;
    gap: 20px;
    width: 70%;
    margin-left: 30%;
    flex-wrap: wrap;
    padding: 20px 20px 70px 20px;
}

.cards-wrapper .card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    width: calc(50% - 10px);
}

.cards-wrapper .card:first-of-type,
.cards-wrapper .card:nth-of-type(3) {
    transform: translateY(50px);
}

@media screen and (max-width: 767px) {
    
    .cards-wrapper.swiper {
        width: 100%;
        padding: 0;
        margin: 0 !important;
    }
    
    .cards-wrapper.swiper .card {
        width: 70%;
    }
    
    .cards-wrapper .card:first-of-type,
    .cards-wrapper .card:nth-of-type(3) {
        transform: none;
    }
}

/*--- Blocco risultati ---*/

.block--risultati {
    background-image: linear-gradient(to top, #fff 300px, transparent 300px), url(background-doodles--light.jpg);
    background-size: auto, 1100px;
    background-position: center;
}

.block--risultati .card__text h4 {
    color: #006685;
}

@media screen and (max-width: 767px) {
    
    .block--risultati {
        background-image: url(background-doodles--light.jpg);
        background-size: 1100px;
    }
    
   .block--risultati .container,
   .block--risultati .block-type--code {
       padding: 0 !important;
   }
   
   .block--risultati .swiper-wrapper {
       padding: 20px;
   }
   
   .block--risultati .swiper-wrapper .card:last-of-type {
       margin-right: 20px !important;
   }
}

/*--- Blocco form ---*/

.block--form .form__text,
.block--faq .block-type--text,
.page-header .block-type--text {
    background-position: center;
    background-repeat: no-repeat; 
}

.block--form .form__text,
.block--faq .block-type--text {
    background-image: url(background-doodles--round.png);
}

.page-header .block-type--text {
    background-image: url(background-doodles--round-big.png); 
}

.block--form .form__text {
    background-size: 85%;
}

.page-header .block-type--text {
    background-size: contain;
}

@media screen and (max-width: 767px) {
    
    .block--form .image {
        width: 141px;
        margin-left: calc(100% - 141px);
        margin-top: -80px;
    }
    
    .block--form h2 {
        width: calc(100% - 140px);
        margin-bottom: 0;
    }
}

/*--- FAQ ---*/

.block--faq .block-type--text {
    background-size: contain;
}

.block-type--accordion {
    padding-top: 0 !important;
}

.accordion {
    border-bottom: 1px solid #008CB6;
}

.accordion-title {
    align-items: center;
    padding: 0 0 20px;
}

.accordion-title:after {
    content: '' !important;
    width: 64px;
    height: 64px;
    background-image: url(faq-minus.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}

.collapsed.accordion-title:after {
    background-image: url(faq-plus.png);
}

.accordion-title .media__body {
    color: #008CB6 !important;
}

.accordion-body {
    padding: 0 0 10px !important;
    max-width: 800px;
}

@media screen and (max-width: 1023px) {
    
    .accordion-title:after {
        width: 43px;
        height: 43px;
    }
    
    .accordion-title .media__body {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 767px) {
    
    .accordion-title .media__body {
        font-size: 1.1rem;
    }
}

/*--- Block mobile shadow ---*/

@media screen and (max-width: 767px) {
    
    .block--mobile-shadow .block-type--image {
        order: 0;
        z-index: 1;
        margin-bottom: -120px !important;
    }

    .block--mobile-shadow .block-type--text {
        order: 1;
        background: #fff;
        box-shadow: 0 0 10px rgba(0,0,0,0.2);
        border-radius: 16px;
        padding: 130px 10px 20px !important;
    }
    
    .block--mobile-shadow .block-type--text h2,
    .block--mobile-shadow .block-type--text .subtitle {
        text-align: center;
    }
}

/*--- Block waves background ---*/

.title--waves,
.divider--waves {
    background-image: url(background--wave.png);
    background-size: 400px;
    background-repeat: repeat-x;
}


.title--waves {
    background-position: 50% calc(100% - 80px);
}

.divider--waves {
    height: 100px;
    padding: 0 !important;
    margin-top: 60px;
    background-position: center;
}

.title--waves h3 {
    max-width: 440px;
    background-color: #fff;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.divider--waves:after {
    content: '';
    display: block;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: calc(50% - 200px);
    background-color: #fff;
    background-image: url(asset--ragazzi.png);
}

@media screen and (max-width: 767px) {
    
    .divider--waves {
        margin-top: 0;
    }
    
    .divider--waves:after {
        width: 60px;
        height: 60px;
        left: 100px;
    }
    
    .title--waves,
    .divider--waves {
        background-size: 200px;
        background-position: 50% calc(100% - 40px);
    }
    
    .title--waves h3 {
        max-width: 220px;
        text-align: center;
    }
}

@media screen and (min-width: 768px) {
    
    .title--waves h3 {
        position: relative;
        padding-top: 20px;
    }
    
    .title--waves h3:before,
    .title--waves h3:after {
        content: '';
        display: block;
        width: 100px;
        height: 100px;
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        bottom: 0;
        background-color: #fff;
    }
    
    .title--waves h3:before {
        background-image: url(asset--bambini.png);
        left: -100px;
    }
    
    .title--waves h3:after {
        background-image: url(asset--bambina.png);
        right: -100px;
    }
}

/*--- Block with small image on mobile ---*/

@media screen and (max-width: 767px) {
    
    .block--small-image-mobile .container > .row .block-type--text:nth-of-type(1){
        width: 55%;
        padding-right: 0;
        padding-bottom: 0;
    }
    
    .block--small-image-mobile .container > .row .block-type--image {
        width: 45%;
        padding-left: 0;
    }
    
    .block--small-image-mobile .block-type--text .subtitle,
    .block--small-image-mobile .container > .row .block-type--image {
        margin-bottom: 10px !important;
    }
}

/*--- Vision ---*/

.block--baloons {
    background-image: linear-gradient(#B8EFFF, transparent), url(background-footsteps-opacity.png);
    background-size: auto, 1230px;
    background-position: center;
    background-repeat: no-repeat, repeat-y;
    border-radius: 24px 24px 0 0;
}

.block--baloons .block-type--card {
    margin-bottom: 40px !important;
}

.block--baloons .card,
.block--baloons .block-type--card > .block {
    overflow: visible;   
}

.block--baloons .card {
    flex-direction: row;
    align-items: center;
}

.block--baloons .block-type--card:nth-of-type(even) .card__image {
    transform: rotate(5deg);
}

.block--baloons .block-type--card:nth-of-type(even) .card__body {
    margin-left: 0;
    margin-right: -60px;
}

.block--baloons .card__image {
    flex-basis: 60%;
    border-radius: 8px;
    transform: rotate(-5deg);
}

.block--baloons .card__body {
    margin-left: -60px;
    z-index: 1;
}

.block--baloons .card__body {
    background-image: url(baloon-background-shadow.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 100px 80px;
    flex-basis: 40%;
}

@media screen and (max-width: 480px) {

    .block--baloons .card {
        flex-direction: column;
    }
    
    .block--baloons .card__body {
        padding: 40px 70px;
    }
    
    .block--baloons .card__image {
        transform: rotate(-3deg);
    }
    
    .block--baloons .block-type--card:nth-of-type(even) .card__image {
        transform: rotate(3deg);
    }
    
    .block--baloons .block-type--card:nth-of-type(even) .card__body,
    .block--baloons .card__body {
        margin: -40px 0 0;
    }
    
    .block--baloons .block-type--card:last-of-type {
        margin-bottom: -100px !important;
    }
}

@media screen and (min-width: 480px) {
    
    .block--baloons .block-type--card:nth-of-type(even) .card__image {
        order: 1 !important;
    }
}

/* Comunicazione visiva */

#comunicazione-efficace--results-list {
    border-width: 1px 0;
    border-style: solid;
    border-color: #FBFBFB;
    padding: 20px 0 0;
    margin-top: 30px;
}

#comunicazione-efficace--results-list h5 {
    text-align: center;
    margin-bottom: 30px;
}

#comunicazione-efficace--results-list ul {
    padding: 0;
    column-count: 2;
    list-style: none
    gap: 20px
}

#comunicazione-efficace--results-list ul li {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#comunicazione-efficace--results-list ul li:before {
    content: "";
    display: block;
    width: 27px;
    height: 16px;
    background: url(arrow--right-blue.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin-top: 3px;
    flex-shrink: 0;
    flex-grow: 0;
}

#comunicazione-visiva--quotation {
    background-image: url(baloon-background-shadow.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding: 100px 80px;
    color: #008CB6;
}

#comunicazione-visiva--quotation:before,
#comunicazione-visiva--quotation:after {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background-size: 90%;
    background-position: center;
    background-repeat: no-repeat;
}

#comunicazione-visiva--quotation:before {
    background-image: url(quotes--open.png);
    margin-right: 10px;
    margin-top: -2px;
    vertical-align: top;
}

#comunicazione-visiva--quotation:after {
    background-image: url(quotes--close.png);
    margin-left: 10px;
    vertical-align: bottom;
}

@media screen and (max-width: 767px) {
    
    .results-list--wrapper .block-type--code {
        padding: 0 !important;
    }
    
    #comunicazione-efficace--results-list ul {
        column-count: 1;
        margin-bottom: 20px;
    }
    
    #comunicazione-visiva--quotation {
        padding: 20px !important;
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
}

@media screen and (max-width: 1023px) {
   
   #comunicazione-visiva--quotation {
        font-size: 1.3rem;
        padding: 80px 60px;
   } 
}

/*--- Slider autorevolezza ---*/

.slider--logos {
    border-top: 1px solid #E2E2E2;
    border-bottom: 1px solid #E2E2E2;
    margin-left: 20px;
    margin-right: 20px;
}

.slider--logos .swiper,
.slider--logos .block-type--code > .block {
    overflow: visible !important;
}

.slider--logos .swiper-wrapper {
    display: flex;
    align-items: center;
}

.slider--logos .swiper-wrapper .swiper-slide {
    max-width: 200px;
    margin: 0 10px !important;
}

/*--- Home - chi sono ---*/

@media screen and (max-width: 767px) {
    
    .home--chi-sono .image {
        width: 60%;
        margin-left: 40%;
    }
}

/*--- Studi scientifici ---*/

.studi-scientifici__category .block-type--text > .block {
    background: linear-gradient(#fff calc(50%), #003F52 calc(50% + 2px), #fff calc(50% + 2px))
}

.studi-scientifici__category .block-type--text h5 {
    font-size: 1.125rem;
    display: inline-block;
    background: #ffffff;
    padding: 0 10px 0 0;
}

.studi-scientifici__articles .block-type--card {
    border-bottom: 1px solid #008CB6 !important;
}

.studi-scientifici__articles .card .card__image {
    flex-basis: 33.33%;
    flex-shrink: 0;
    flex-grow: 0;    
}

.studi-scientifici__articles .block-type--card p {
    max-width: 617px;
}

.studi-scientifici__articles .block-type--card .btn {
    margin-top: 20px;
}

.studi-scientifici__index ul {
    list-style: none;
    padding: 0;
}

.studi-scientifici__index ul li {
    margin-bottom: 10px;
}

.studi-scientifici__index ul li a {
    background: #006685;
    padding: 10px 20px;
    border-radius: 25px;
    color: #fff;
    display: block;
}

@media screen and (max-width: 767px) {
   
   .studi-scientifici__articles .block-type--card .btn {
       width: 100%;
   }
   
    .studi-scientifici__articles .card .card__image img {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media screen and (min-width: 768px) {
    
    .studi-scientifici__articles .block-type--card .card {
        display: flex;
        flex-direction: row;
    }
}

/*-- Team --*/

@media screen and (min-width: 1340px) {
    
    .team__header .block-type--text {
        background-image: url(asset--detective-thicker.png);
        background-size: contain;
        background-position: calc(100% - 376px) 50%;
        background-repeat: no-repeat;
        height: 461px;
        padding: 0;
    }
    
    .team__header .block-type--text h1 {
        margin-top: 80px;
        font-size: 38px;
    }
    
    .team__header .block-type--text h1 span {
        padding: 0 0 0 40px;
        font-size: 48px;
    }   
}

@media screen and (max-width: 1339px) {
    
    .team__header .block-type--text > .block {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }
    
    .team__header .block-type--text > .block:before {
        content: '';
        display: block;
        width: 80px;
        height: 140px;
        background-image: url(asset--detective-small.png);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
        flex-grow: 0;
    }
}

@media screen and (max-width: 767px) {

    .team__header .block-type--text > .block {
        gap: 20px;
    }
}

/*-- Numbers --*/

.team__numbers .block-type--code:nth-of-type(2) > .block {
    overflow: visible;
}

.team__number {
    background-size: contain;
    background-repeat: no-repeat;
    text-align: center;
    background-position: center;
}

.team__number h3 {
    font-size: 3.125rem;
    color: #006685;
    margin: 0;
}

.team__number p {
    line-height: 1.3;
}

#team-number-1 {
    background-image: url(asset--team-member-1.png);
    padding: 100px 70px 60px 140px;
}

#team-number-2 {
    background-image: url(asset--team-member-02.png);
    padding: 190px 140px 70px 140px;
    margin-left: -80px;
    margin-right: -80px;
    position: relative;
    z-index: 1;
}

#team-number-3 {
    background-image: url(asset--team-member-3.png);
    padding: 120px 140px 60px 80px;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {

    .team__number h3 {
        font-size: 1.75rem;
    }
}

@media screen and (max-width: 767px) {
    
    .team__number {
        margin-top: -20px;
    }
    
    #team-number-1 {
        padding: 90px 70px 40px 140px;
    }
    
    #team-number-2 {
        padding: 140px 130px 43px 130px;
        margin-left: -50px;
        margin-right: -50px;
    }
    
    #team-number-3 {
        padding: 110px 130px 60px 80px;
        margin-top: -30px;
    }
}

/*-- Book --*/

.block-atf--book #block-1601504447154_3 {
    position: static;
}

.book-atf__sell {
    display: flex;
    align-items: flex-end;
    gap: 40px;
    text-align: left;
}

.book-atf__sell p {
    margin-bottom: 0;
}

.block-atf--book p.book-atf__price,
.book__closing-cta .book__price ins {
    display: block;
    text-decoration: none;
    font-size: 3.125rem;
    font-weight: bold;
    line-height: 1;
    margin: 0;
}

.book__caption {
    display: flex;
    align-items: center;
}

.book__caption p,
.book__closing-cta .book__price {
    background: url(frame.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.book__caption p ins {
    display: block;
    font-size: 3.125rem;
    text-decoration: none;
    font-weight: bold;
    line-height: 1.1em;
}

.book__caption p:nth-of-type(1) {
    padding: 30px 80px 20px 30px;
    flex-basis: 60%;
}

.book__caption p:nth-of-type(2) {
    padding: 25px 20px 15px;
    margin-left: -20px;
    flex-basis: 40%;
    text-align: center;
}

.book__index ul {
    list-style: none;
    padding: 0;
}

.book__index ul li {
    padding: 10px 0;
    border-top: 1px solid #A5A6A7;
    display: flex;
    font-size: 1.2rem;
}

.book__index ul li:before {
    content: '';
    display: block;
    width: 28px;
    height: 8px;
    background-image: url('arrow-small--right-blue.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 11px 12px 0 0;
}

.block--warranty .block-type--text {
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.block--warranty .block-type--text:before {
    content: '';
    display: block;
    width: 180px;
    height: 180px;
    background-image: url('asset--warranty.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.book__closing-cta .image {
    z-index: 1;
}

.book__closing-cta .book__price {
    width: 240px;
    margin: 0 auto;
    padding: 20px 20px 10px;
}

@media screen and (max-width: 1099px) {
    
    .book-atf__sell {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .book__caption {
        flex-direction: column;
    }
    
    .book__caption p:nth-of-type(1) {
        padding: 30px 30px 50px 30px;
    }
    
    .book__caption p:nth-of-type(2) {
        padding: 25px 20px 15px;
        margin-left: 0;
        margin-top: -40px;
    }
}

@media screen and (max-width: 767px) {
    
    .book-atf__sell {
        text-align: center;
        align-items: center;
    }
    
    .block--warranty .block-type--text {
        flex-direction: column;
    }
    
    .block--warranty .block-type--text:before {
        width: 120px;
        height: 120px;
    }
}

/* Text tetimonials */

.testimonials--text .block-type--feature > .block {
    overflow: visible;
}

.testimonials--text .block-type--feature .feature__image {
    display: block;
    width: 100% !important;
    max-width: 300px;
    margin: 0 auto;
}

.testimonials--text .block-type--feature .feature__text {
    box-shadow: 0 0 8px rgba(132, 132, 132, 0.25);
    border-radius: 16px;
    padding: 20px;
}

/* Course program */

.programma__modules .block-type--text {
    position: relative;
}

.programma__modules .block-type--text > .block {
    position: relative;
    z-index: 1;
}

.programma__modules .block-type--text:before {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    top: -80px;
    left: -70px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.programma__modules .block-type--text:nth-of-type(4n - 1) {
    margin-left: 16% !important;
}

.programma__modules .block-type--text:nth-of-type(1):before {
    background-image: url(number--01.png);
}

.programma__modules .block-type--text:nth-of-type(2):before {
    background-image: url(number--02.png);
}

.programma__modules .block-type--text:nth-of-type(3):before {
    background-image: url(number--03.png); 
}

.programma__modules .block-type--text:nth-of-type(4):before {
    background-image: url(number--04.png);   
}

.programma__modules .block-type--text:nth-of-type(5):before {
    background-image: url(number--05.png);
}

.programma__modules .block-type--text:nth-of-type(6):before {
    background-image: url(number--06.png);
}

.programma__modules .block-type--text:nth-of-type(7):before {
    background-image: url(number--07.png); 
}

.programma__modules .block-type--text:nth-of-type(8):before {
    background-image: url(number--08.png);
}

.programma__modules .block-type--text:nth-of-type(9):before {
    background-image: url(number--09.png);
}

.programma__modules .block-type--text:nth-of-type(10):before {
    background-image: url(number--10.png);
}

.programma__modules .block-type--text:nth-of-type(11):before {
    background-image: url(number--11.png);
}

.programma__modules .block-type--text:nth-of-type(12):before {
    background-image: url(number--12.png);
}

.programma__modules .block-type--text:nth-of-type(13):before {
    background-image: url(number--13.png);
}

.programma__modules .block-type--text:nth-of-type(14):before {
    background-image: url(number--14.png);
}

.programma__modules .block-type--text:nth-of-type(15):before {
    background-image: url(number--15.png);
}

.programma__modules .block-type--text:nth-of-type(16):before {
    background-image: url(number--16.png);
}

@media screen and (max-width: 767px) {
    
    .programma__modules .block-type--text {
        
    }
    
    .programma__modules .block-type--text:nth-of-type(4n - 1) {
        margin-left: 0 !important;
    }
}

/* Course Structure */

.course-structure .block-type--feature {
    background-size: 100% 100%;
    background-image: url(background-white--squared.png);
    padding: 40px 60px 70px;
    position: relative;
}

.course-structure .block-type--feature > .block {
    overflow: visible;
}

.course-structure .block-type--feature .feature__image {
    display: block;
    width: 100px !important;
    margin: -80px auto 20px !important;
}

/* -- Start/Finish illustrations */

.course-structure .block-type--feature:nth-of-type(1):before,
.course-structure .block-type--feature:nth-of-type(5):before {
    content: '';
    display: block;
    width: 200px;
    height: 100px;
    position: absolute;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.course-structure .block-type--feature:nth-of-type(1):before {
    background-image: url(asset--start.png);
    top: -50px;
    left: 0;
}

.course-structure .block-type--feature:nth-of-type(5):before {
    background-image: url(asset--finish.png);
    bottom: -20px;
    right: 0;
}

/* -- Arrows */

.course-structure .block-type--feature:nth-of-type(1):after,
.course-structure .block-type--feature:nth-of-type(2):after,
.course-structure .block-type--feature:nth-of-type(3):after,
.course-structure .block-type--feature:nth-of-type(4):after,
.course-structure .block-type--feature:nth-of-type(5):after {
    content: '';
    display: block;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.course-structure .block-type--feature:nth-of-type(1):after,
.course-structure .block-type--feature:nth-of-type(3):after,
.course-structure .block-type--feature:nth-of-type(4):after {
    width: 100px;
    height: 100px;
}

/* -- Arrow down right */

.course-structure .block-type--feature:nth-of-type(1):after,
.course-structure .block-type--feature:nth-of-type(4):after {
    background-image: url('arrow-sketched--down-left.png');
}

.course-structure .block-type--feature:nth-of-type(1):after {
    bottom: -60px;
}

.course-structure .block-type--feature:nth-of-type(4):after {
    top: 10px;
    left: -40px;
}

/* -- Arrow down left */

.course-structure .block-type--feature:nth-of-type(3):after {
    background-image: url('arrow-sketched--down-right.png');
    right: 10px;
    bottom: -40px;
}

/* -- Arrow right */

.course-structure .block-type--feature:nth-of-type(2):after,
.course-structure .block-type--feature:nth-of-type(5):after {
    width: 100px;
    height: 80px;
    background-image: url('arrow-sketched--right.png');
    top: 50%;
    transform: translateY(-50%);
}

.course-structure .block-type--feature:nth-of-type(2):after {
    right: -40px;
}

.course-structure .block-type--feature:nth-of-type(5):after {
    left: -40px;
}

@media screen and (max-width: 767px) {
    
    .course-structure .block-type--feature {
        padding: 40px 40px 70px;
    }
    
    .course-structure .block-type--feature .feature__image {
        width: 80px !important;
        margin: -65px auto 20px !important;
    }
    
    .course-structure .block-type--feature:nth-of-type(1):before,
    .course-structure .block-type--feature:nth-of-type(5):before {
        width: 180px;
        height: 88px;
    }
    
    .course-structure .block-type--feature:nth-of-type(1):before {
        top: -50px;
        left: -20px;
    }
    
    .course-structure .block-type--feature:nth-of-type(5):before {
        bottom: -30px;
        right: -20px;
    }
    
    .course-structure .block-type--feature:after {
        width: 80px !important;
        height: 100px !important;
        background-image: url('arrow-sketched--down-left.png') !important;
        top: auto !important;
        bottom: -45px !important;
        left: 30px !important;
        transform: none !important;
    }
    
    .course-structure .block-type--feature:last-of-type:after {
        display: none;
    }
}

/* -- Full card */

@media screen and (min-width: 768px) {
    
    .course-structure .block-type--feature.col-10 .feature__image {
        margin: 0 !important;
    }
    
    .course-structure .block-type--feature.col-10 {
        background-image: url(background-white--rectangle.png);
        padding: 70px 40px;
    }
    
    .course-structure .block-type--feature.col-10 .feature,
    .course-structure .block-type--feature.col-10 .feature__text {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .course-structure .block-type--feature.col-10 .feature__text h3,
    .course-structure .block-type--feature.col-10 .feature__text h4 {
        text-align: left;   
    }
    
    .course-structure .block-type--feature.col-10 .feature__text {
        gap: 60px;
    }
    
    .course-structure .block-type--feature.col-10 .feature {
        gap: 30px;
    }
    
    .course-structure .block-type--feature.col-10 div {
        position: relative;
    }
    
    .course-structure .block-type--feature.col-10 .feature__text div:after {
        content: '';
        display: block;
        position: absolute;
        height: 100%;
        width: 1px;
        background: #A5A6A7;
        top: 0;
        left: -30px;
    }
}

/* Fancy ATF */

#section-1714647041 {
    background-position: bottom !important;
}

@media screen and (max-width: 1024px) {
    
    .fancy-atf .image {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Home */

.home__atf {
    background: linear-gradient(to top, #fff 300px, transparent 700px), url(background-doodles--light.jpg);
    background-size: auto, 1100px;
    background-position: center;
}

.home__atf .block-type--form label {
    color: white !important;
}

.home__benefits ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: stretch;
    margin-top: 30px;
}

.home__benefits ul li {
    background: white;
    font-size: 1.2rem;
    line-height: 1.25;
    padding: 20px;
    border-radius: 20px;
    flex-basis: calc(33.33% - 14px);
    text-align: left;
    display: flex;
    gap: 10px;
}

.home__benefits ul li:before {
    content: '';
    background-image: url(asset--check.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 40px;
    height: 30px;
    display: block;
    flex-shrink: 0;
}

@media screen and (max-width: 1024px) {
    
    .home__benefits ul li {
        flex-basis: calc(50% - 10px);
    }
}

@media screen and (max-width: 500px) {

    .home__benefits ul li {
        flex-basis: 100%;
    }
}