/*
Theme Name: CRIAMENTE
Description: Theme created by Leandro Berg (fullstack development - http://virtuemasters.com.br).
Version: 1.40
Author: VIRTUEMASTERS
Author URI: https://virtuemasters.com.br
*/

/* GENERAL */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
}

body {
    font-family: "Murecho", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    padding-top: 76px;
}

.wrapper,
.infograph > .wp-block-group__inner-container,
.infograph-3 > .wp-block-group__inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    overflow: hidden;
    position: relative;
    padding: 80px 0;
}

p {
    margin-bottom: 22px;
}

p.has-medium-font-size,
section.intro .wrapper > p {
    font-size: 24px !important;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

iframe,
video,
audio {
    max-width: 100%;
}

b,
strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

del {
    text-decoration: overline;
}

/* LINKS */

a {
    color: var(--blue);
    display: inline-block;
    text-decoration: none;
}

a.permalink {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
}

/* FORM */

form input::-webkit-input-placeholder,
form textarea::-webkit-input-placeholder {
}

form input:-moz-placeholder,
form textarea:-moz-placeholder {
}

form input::-moz-placeholder,
form textarea::-moz-placeholder {
}

form input:-ms-input-placeholder,
form textarea:-ms-input-placeholder {
}

form label.error {
    display: none !important;
}

form .error {
    border: 1px solid red !important;
    color: red;
}

form .error::-webkit-input-placeholder {
    color: red;
}

form .error:-moz-placeholder {
    color: red;
}

form .error::-moz-placeholder {
    color: red;
}

form .error:-ms-input-placeholder {
    color: red;
}

/* ALIGNMENT */

.alignfull,
.infograph,
.infograph-3 {
    margin-left: calc(50% - calc((100vw - var(--scrollbar-compensation, 0px)) / 2));
    margin-right: calc(50% - calc((100vw - var(--scrollbar-compensation, 0px)) / 2));
    max-width: calc(100vw - var(--scrollbar-compensation, 0px));
    width: calc(100vw - var(--scrollbar-compensation, 0px));
}

.alignwide {
    margin-left: -20%;
    margin-right: -20%;
}

.alignwide iframe {
    width: 100%;
    height: 600px;
    margin: 15px 0;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 20px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

img.alignnone {
    margin: 5px 20px 20px 0;
    border-radius: 50px;
    position: relative;
    max-width: calc(100vw - var(--scrollbar-compensation, 0px));
}

img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* IMAGE */

article > .wp-block-image {
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 40px;
}

/* CAPTION */

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* LIST - block */

ul.wp-block-list {
    list-style-type: none;
    padding: 0 0 22px 10px;
}

ol.wp-block-list {
    list-style-type: decimal;
    list-style-position: outside;
    padding: 0 0 22px 20px;
}

.wp-block-list ul {
    list-style-type: circle;
    list-style-position: outside;
    margin-left: 15px;
}

.wp-block-list ol {
    list-style-type: lower-latin;
    list-style-position: outside;
    margin-left: 15px;
}

ul.wp-block-list li {
    position: relative;
    padding-left: 15px;
}

ol.wp-block-list li {
    padding-left: 5px;
}

ul.wp-block-list li:before {
    content: '';
    width: 3px;
    height: 3px;
    background-color: black;
    border-radius: 100%;
    position: absolute;
    left: 0;
    top: 11px;
}

.wp-block-list a {
    display: initial;
}

/* HEADER */

header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 15%);
    padding: 8px 0;
    transition: background .3s, top .3s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    z-index: 9;
}

header.scroll-down {
    top: -76px;
}

header.fixed {
    position: fixed;
    top: 0;
}

header .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo {
    max-width: 200px;
}

header .logo img,
header .logo a {
    display: block;
    z-index: 5;
    position: relative;
}

header nav > ul {
    display: flex;
    column-gap: 10px;
}

header nav > ul > li {
    display: flex;
    align-items: center;
}

header nav > ul > li > a {
    font-size: 15px;
    line-height: 1.2;
    color: var(--gray);
    transition: none;
    border-radius: 20px;
    padding: 10px 20px;
}

header nav > ul > li > a > span,
header nav > ul > li.social {
    display: none;
}

header nav > ul > li:hover > a {
    color: var(--blue);
}

header nav > ul > .current-menu-item > a,
header nav > ul > .current-page-ancestor > a,
header nav > ul > li > a:hover {
    background-color: var(--blue);
    color: white;
}

header nav > ul > li:hover > ul {
    display: grid;
}

header nav > ul > li.button > a {
    border: 1px solid var(--gray);
    border-radius: 20px;
    padding: 10px 15px;
    z-index: 4;
}

header nav > ul > li.button > a:hover {
    background-color: var(--blue);
    color: white;
    border-color: var(--blue);
}

header nav > ul > li > ul {
    position: absolute;
    left: 0;
    top: 57px;
    border-top: 19px solid white;
    background-color: var(--blue);
    padding: 40px calc((100vw - 1200px) / 2);
    z-index: 4;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
    row-gap: 10px;
    display: none;
}

header nav > ul > li > ul > li > a {
    font-size: 24px;
    line-height: 1.2;
    color: white;
    font-weight: 500;
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 10px;
    padding: 15px 15px 20px;
    border-radius: 50px;
    border-bottom-right-radius: 0;
}

header nav > ul > li > ul > li > a > figure {
    background-color: white;
    border-radius: 100%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / 3;
    border: 2px solid white;
    margin-top: 5px;
}

header nav > ul > li > ul > li > a > span {
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
}

header .hamburguer {
    width: 26px;
    height: 16px;
    position: relative;
    z-index: 9999;
    display: none;
    background: none !important;
    padding: 0;
    border: none;
}

header .hamburguer:before {
    position: absolute;
    height: 2px;
    width: 100%;
    content: "";
    left: 0;
    top: 0;
    background-color: var(--gray);
    transition: background 0.3s;
}

header .hamburguer span {
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--gray);
    content: "";
    left: 0;
    top: 7px;
    transition: background 0.3s;
}

header .hamburguer:after {
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--gray);
    content: "";
    left: 0;
    top: calc(100% - 2px);
    transition: background 0.3s;
}

header nav.active:before {
    content: '';
    width: 100%;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: rgba(255, 255, 255, .1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 4;
}

header nav > ul > li > ul > li > a:hover {
    background-color: rgba(0, 0, 0, .2);
    color: white;
}

header nav > ul > li > ul > li > a:hover figure {
    background-color: black;
    border-color: white;
}

header nav > ul > li > ul > li > a:hover figure img {
    filter: brightness(100);
}

/* HOME */

.home section.gradient {
    padding-top: 80px;
    margin-top: 80px;
}

.home .animation {
    text-align: center;
    margin-bottom: 80px;
}

.home .animation video {
    width: auto;
    max-width: 100%;
}

/* INTRO */

section.intro {
    padding: 40px 0 180px;
    background-image: url(images/lines.webp);
    background-repeat: repeat-y;
    background-position: center;
    margin-bottom: -130px;
    position: sticky;
    top: 0;
}

section.intro .wrapper {
    max-width: 800px;
    text-align: center;
    font-size: 18px;
    line-height: 27px;
}

section.intro .wrapper > p {
    margin-bottom: 0;
}

/* GRADIENT */

section.gradient {
    background-image:
        url(images/lines.webp),
        url(images/bg-gradient.webp);
    background-position: top center;
    margin-top: 130px;
    border-radius: 160px;
}

section.gradient .wrapper {
    display: grid;
    grid-template-columns: 1fr 780px 1fr;
    max-width: 1260px;
    padding: 0 30px;
}

/* ASIDE */

section.gradient aside .sticky,
section.gradient .share > div {
    position: sticky;
    top: 30px;
}

section.gradient aside .sticky {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

section.gradient aside .sticky > div,
section.gradient .share > div {
    display: grid;
    grid-template-columns: 31px 209px;
    align-content: start;
    color: white;
}

section.gradient aside h4,
section.gradient .share h4 {
    writing-mode: sideways-lr;
    border-right: 2px solid var(--blue);
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    text-align: right;
    letter-spacing: 2px;
}

section.gradient aside nav,
section.gradient .share ul {
    padding: 0 20px;
}

section.gradient aside nav ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

section.gradient aside a {
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    color: white;
    transition: color 0.3s;
}

section.gradient aside .summary a {
    background-color: white;
    border-radius: 25px;
    color: var(--gray);
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 7px 15px 7px 7px;
    border-top-left-radius: 0;
}

section.gradient aside .summary a:hover {
    background-color: black;
    color: white;
}

section.gradient aside a:hover,
section.gradient aside a.active,
section.gradient .share a:hover {
    color: var(--dark-blue);
}

/* ARTICLE */

section.gradient article {
    outline: 10px solid rgba(30, 136, 210, 0.3);
    border-radius: 20px;
    padding: 25px 40px 40px;
    background-color: white;
    margin-top: -160px;
}

/* NAVIGATION */

section.gradient article .navigation {
    background-color: var(--blue);
    color: white;
    border-radius: 10px;
    padding: 10px;
    position: relative;
    margin-bottom: 20px;
    display: none;
}

section.gradient article .navigation:before {
    content: '';
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 100%;
    position: absolute;
    top: 10px;
    right: 10px;
}

section.gradient article .navigation:after {
    content: '';
    width: 7px;
    height: 7px;
    border-right: 2px solid var(--blue);
    border-bottom: 2px solid var(--blue);
    position: absolute;
    top: 17px;
    right: 15px;
    transition: all .3s;
    transform: rotate(-135deg);
}

section.gradient article .navigation li {
    margin: 5px 0;
}

section.gradient article .navigation li a {
    color: white;
    transition: color 0.3s, font-weight 0.3s;
}

section.gradient article .navigation li a:hover,
section.gradient article .navigation li a.active {
    color: var(--dark-blue);
    font-weight: 700;
}

section.gradient article .navigation:not(.active):after {
    transform: rotate(45deg);
    top: 14px;
}

section.gradient article .navigation:not(.active) ul {
    display: none;
}

/* SHARE */

section.gradient .share > div {
    grid-template-columns: 209px 31px;
}

section.gradient .share h4 {
    border-right: none;
    border-left: 2px solid var(--blue);
    order: 2;
    padding-left: 10px;
}

section.gradient .share ul {
    font-size: 22px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: end;
}

section.gradient .share a {
    color: white;
}

/* FULL WIDTH - template */

.page-template-full-width section.intro {
    margin-bottom: -180px;
    padding-bottom: 210px;
}

.page-template-full-width section.gradient,
.post-type-archive-blog section.gradient,
.single section.gradient,
.tax-blog-tag section.gradient {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.page-template-full-width section.gradient > .wp-block-group__inner-container {
    max-width: 1200px;
    margin-top: -160px;
}

/* VIDEO - prompts */

.video-prompts {
    position: relative;
    margin-left: calc(50% - calc((100vw - var(--scrollbar-compensation, 0px)) / 2));
    margin-right: calc(50% - calc((100vw - var(--scrollbar-compensation, 0px)) / 2));
    max-width: calc(100vw - var(--scrollbar-compensation, 0px));
    width: calc(100vw - var(--scrollbar-compensation, 0px));
    overflow: hidden;
    padding: 60px 30px 0;
    top: -60px;
}

.video-prompts .wp-block-group__inner-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.video-prompts video {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.video-prompts .prompts {
    position: absolute;
    width: 100%;
    height: 400px;
    top: 0;
    left: 0;
}

.video-prompts .prompts figure {
    position: absolute !important;
    max-width: initial !important;
}

.video-prompts .prompts figcaption {
    display: none;
}

.video-prompts .prompts figure:nth-child(1) {
    left: -200px;
    width: 150px !important;
    height: 150px;
    filter: blur(5px);
    opacity: .5;
}

.video-prompts .prompts figure:nth-child(2) {
    top: 100px;
    left: 100px;
    width: 220px !important;
    height: 147px;
}

.video-prompts .prompts figure:nth-child(2) figcaption {
    display: block;
}

.video-prompts .prompts figure:nth-child(3) {
    bottom: 0;
    left: -60px;
    width: 140px !important;
    filter: blur(5px);
    opacity: .5;
}

.video-prompts .prompts figure:nth-child(4) {
    top: -50px;
    right: -230px;
    width: 200px !important;
    filter: blur(5px);
    opacity: .5;
}

.video-prompts .prompts figure:nth-child(5) {
    top: 60px;
    right: 100px;
    width: 220px !important;
}

.video-prompts .prompts figure:nth-child(5) figcaption {
    display: block;
}

.video-prompts .prompts figure:nth-child(6) {
    bottom: 60px;
    right: -60px;
    width: 120px !important;
    filter: blur(5px);
    opacity: .5;
}

.video-prompts p {
    max-width: 820px;
    margin: 0 auto;
}

/* CONTENT */

section.content > .wp-block-group__inner-container {
    max-width: 1200px;
}

section.content > .wp-block-group__inner-container .banners .wp-block-group__inner-container {
    padding: 0 calc((calc(100vw - var(--scrollbar-compensation, 0px)) - 1200px) / 2);
    margin: 0 calc((1200px - calc(100vw - var(--scrollbar-compensation, 0px))) / 2);
}

/* SERVICE - single */

.single-service section.featured-image {
    padding: 0;
    height: 560px;
    background-size: cover;
    margin-bottom: -160px;
}

.single-service section.gradient {
    margin-top: 0;
    padding: 80px 0 240px;
    text-align: center;
}

.single-service section.gradient .wrapper {
    display: block;
    padding: 0 20px;
    max-width: 800px;
}

.single-service section.gradient h1 {
    margin-bottom: 40px;
}

.single-service section.gradient a.button {
    border-radius: 25px;
}

.single-service .video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.single-service .video iframe,
.single-service .video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INFOGRAPH */

.infograph,
.infograph-3 {
    overflow: hidden;
    padding: 190px 0;
    margin-top: -190px;
    margin-bottom: -190px;
}

.infograph > .wp-block-group__inner-container,
.infograph-3 > .wp-block-group__inner-container {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.infograph p,
.infograph-3 p {
    font-size: 18px;
    line-height: 27px;
}

/* INFOGRAPH 3 */

.infograph-3 .wp-block-column > .wp-block-group {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
}

.infograph-3 .wp-block-column > .wp-block-group:not(.active) .wp-block-image:nth-child(1) img {
    filter: blur(5px);
    opacity: .5;
    box-shadow: none;
}

.infograph-3 .wp-block-column > .wp-block-group:not(.active) .wp-block-image:nth-child(2),
.infograph-3 .wp-block-column > .wp-block-group:not(.active) figcaption {
    display: none;
}

.infograph-3 .wp-block-column > .wp-block-group:nth-child(2) {
    left: -90px;
    top: 60px;
    z-index: -1;
}

.infograph-3 .wp-block-column > .wp-block-group:nth-child(3) {
    left: 90px;
    top: 120px;
    z-index: -2;
}

/* INFOGRAPH 4 */

.infograph-4 .wp-block-media-text {
    grid-template-columns: 1fr 330px;
}

.infograph-4 .wp-block-media-text__content {
    grid-template-columns: 1fr 300px;
}

.infograph-4 .wp-block-media-text:not(:first-child) {
    display: none;
}

.infograph-4 .wp-block-group:nth-child(2) > div.active,
.infograph-4 .wp-block-group:nth-child(2) > div:hover {
    opacity: 1;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.infograph-4 .wp-block-group:nth-child(2) > div.active h3,
.infograph-4 .wp-block-group:nth-child(2) > div:hover h3 {
    color: var(--yellow);
}

.infograph-4 .wp-block-media-text__content .wp-block-group:nth-child(1) > div:not(.active),
.infograph-4 .wp-block-media-text__media img:not(.active) {
    display: none;
}

/* BANNERS */

.banners {
    cursor: grab;
}

.banners > .wp-block-group__inner-container,
.team > .wp-block-group__inner-container {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    padding: 0 calc((calc(100vw - var(--scrollbar-compensation, 0px)) - 1200px) / 2);
    margin: 0 calc((1200px - calc(100vw - var(--scrollbar-compensation, 0px))) / 2);
    align-items: end;
}

.banners .is-layout-grid::-webkit-scrollbar {
    display: none;
}

.banners .wp-block-image a,
.banners .wp-block-image img {
    min-width: 70vw;
    pointer-events: none;
}

.banners .wp-block-image:nth-child(2) {
    display: none;
}

/* PLANS */

.plans ul.wp-block-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 7 Free';
    font-size: 10px;
    font-weight: 600;
    margin-right: 10px;
    background-color: white;
    color: var(--blue);
    border-radius: 100%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: initial;
}

/* AUTHOR */

.author {
    display: flex;
    gap: 10px;
    color: var(--gray);
    line-height: 18px;
    margin-bottom: 15px;
}

.author img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 100%;
}

.author p {
    font-size: 12px;
    margin: 0;
    text-align: left;
}

.author strong {
    font-size: 14px;
}

/* BLOG */

.post-type-archive-blog section.gradient,
.tax-blog-tag section.gradient {
    padding: 0;
    height: 790px;
    margin-top: 200px;
}

.post-type-archive-blog .grid,
.tax-blog-tag .grid,
.single-blog .grid {
    margin: -910px 10px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.post-type-archive-blog .grid article,
.tax-blog-tag .grid article,
.single-blog .grid article {
    background-color: white;
    outline: 10px solid rgba(30, 136, 210, 0.3);
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
    min-height: 540px;
    display: flex;
    flex-direction: column;
    align-items: start;
    position: relative;
    gap: 0;
}

.post-type-archive-blog .grid article:before,
.tax-blog-tag .grid article:before,
.single-blog .grid article:before {
    content: '';
    margin: -20px -20px 20px;
    width: calc(100% + 40px);
    height: 200px;
    background-image: url(images/bg-logo.webp), url(images/bg-post.webp);
    background-size: auto, cover;
    background-position: left, center;
    background-repeat: no-repeat, repeat;
}

.post-type-archive-blog .grid article:nth-child(1):before,
.tax-blog-tag .grid article:nth-child(1):before,
.single-blog .grid article:nth-child(1):before {
    background-position: -282px -30px, center;
}

.post-type-archive-blog .grid article:nth-child(2):before,
.tax-blog-tag .grid article:nth-child(2):before,
.single-blog .grid article:nth-child(2):before {
    background-position: 32px 16px, center;
}

.post-type-archive-blog .grid article:nth-child(3):before,
.tax-blog-tag .grid article:nth-child(3):before,
.single-blog .grid article:nth-child(3):before {
    background-position: -285px -112px, center;
    transform: rotateY(180deg);
}

.post-type-archive-blog .grid article:nth-child(4):before,
.tax-blog-tag .grid article:nth-child(4):before,
.single-blog .grid article:nth-child(4):before {
    background-position: -125px -282px, center;
}

.post-type-archive-blog .grid article:nth-child(5):before,
.tax-blog-tag .grid article:nth-child(5):before,
.single-blog .grid article:nth-child(5):before {
    background-position: -141px 7px, center;
    transform: rotateY(180deg);
}

.post-type-archive-blog .grid article:nth-child(6):before,
.tax-blog-tag .grid article:nth-child(6):before,
.single-blog .grid article:nth-child(6):before {
    background-position: -281px -215px, center;
}

.post-type-archive-blog .grid article:nth-child(7):before,
.tax-blog-tag .grid article:nth-child(7):before,
.single-blog .grid article:nth-child(7):before {
    background-position: -92px -86px, center;
}

.post-type-archive-blog .grid article:nth-child(8):before,
.tax-blog-tag .grid article:nth-child(8):before,
.single-blog .grid article:nth-child(8):before {
    background-position: -88px 13px, center;
    transform: rotateX(180deg);
}

.post-type-archive-blog .grid article:nth-child(9):before,
.tax-blog-tag .grid article:nth-child(9):before,
.single-blog .grid article:nth-child(9):before {
    background-position: -37px -126px, center;
}

.post-type-archive-blog .grid article:nth-child(10):before,
.tax-blog-tag .grid article:nth-child(10):before,
.single-blog .grid article:nth-child(10):before {
    background-position: -129px -11px, center;
    transform: rotateY(180deg);
}

.post-type-archive-blog .grid article:nth-child(11):before,
.tax-blog-tag .grid article:nth-child(11):before,
.single-blog .grid article:nth-child(11):before {
    background-position: -331px -69px, center;
}

.post-type-archive-blog .grid article:nth-child(12):before,
.tax-blog-tag .grid article:nth-child(12):before,
.single-blog .grid article:nth-child(12):before {
    background-position: -108px 25px, center;
}

.post-type-archive-blog .grid article h2,
.tax-blog-tag .grid article h2,
.single-blog .grid article h2 {
    font-size: 24px;
    line-height: 28px;
    color: var(--blue);
    margin-bottom: 10px;
}

.post-type-archive-blog .grid article p,
.tax-blog-tag .grid article p,
.single-blog .grid article p {
    color: var(--gray);
}

.post-type-archive-blog .grid article .button,
.tax-blog-tag .grid article .button,
.single-blog .grid article .button {
    margin-top: auto;
    z-index: 2;
}

.post-type-archive-blog .grid article:hover,
.tax-blog-tag .grid article:hover,
.single-blog .grid article:hover {
    background-color: black;
}

.post-type-archive-blog .grid article:hover h2,
.tax-blog-tag .grid article:hover h2,
.single-blog .grid article:hover h2 {
    color: var(--yellow);
}

.post-type-archive-blog .grid article:hover p,
.tax-blog-tag .grid article:hover p,
.single-blog .grid article:hover p {
    color: white;
}

.post-type-archive-blog .grid article:hover .button,
.tax-blog-tag .grid article:hover .button,
.single-blog .grid article:hover .button {
    background-color: var(--yellow);
    color: var(--blue);
}

/* BLOG - single */

.single-blog .author-container {
    font-size: 12px;
    line-height: 18px;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.single-blog .author-container > p {
    position: relative;
    padding-right: 60px;
    padding-left: 30px;
    margin: 0;
}

.single-blog .author-container > p:before {
    content: '';
    width: 50px;
    height: 1px;
    background-color: var(--gray);
    position: absolute;
    right: 0;
    top: 50%;
}

.single-blog .author-container > p:after {
    content: '';
    width: 4px;
    height: 4px;
    border-top: 1px solid var(--gray);
    border-right: 1px solid var(--gray);
    position: absolute;
    transform: rotate(45deg);
    right: 0;
    top: calc(50% - 2px);
}

.single-blog .author-container .author {
    margin: 0;
}

.single-blog .tags {
    display: flex;
    align-items: start;
    gap: 10px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.single-blog .tags h4 {
    color: var(--blue);
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1;
    position: relative;
    padding-right: 30px;
    margin-top: 3px;
}

.single-blog .tags h4:before {
    content: '';
    width: 20px;
    height: 1px;
    background-color: var(--blue);
    position: absolute;
    right: 0;
    top: calc(50% - 1px);
}

.single-blog .tags h4:after {
    content: '';
    width: 4px;
    height: 4px;
    border-top: 1px solid var(--blue);
    border-right: 1px solid var(--blue);
    position: absolute;
    transform: rotate(45deg);
    right: 0;
    top: calc(50% - 2.5px);
}

.single-blog .tags ul {
    display: flex;
    gap: 5px 20px;
    flex-wrap: wrap;
}

.single-blog .tags li {
    line-height: 0;
}

.single-blog .tags a {
    background-color: var(--gray);
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 18px;
    font-weight: 400;
    padding: 3px 15px 3px 10px;
    border-radius: 5px;
    position: relative;
    font-family: "Lexend Mega";
}

.single-blog .tags a:before {
    content: '';
    width: 18px;
    height: 18px;
    background-color: var(--gray);
    position: absolute;
    right: -6px;
    top: 3px;
    transform: rotate(45deg);
    border-radius: 3px;
    transition: background .3s;
}

.single-blog .tags a:after {
    content: '';
    width: 3px;
    height: 3px;
    background-color: white;
    position: absolute;
    top: calc(50% - 1.5px);
    right: -3px;
    border-radius: 100%;
}

.single-blog .tags a:hover,
.single-blog .tags a:hover:before {
    background-color: black;
}

.single-blog section.gradient {
    padding-bottom: 250px;
}

.single-blog .faq {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.single-blog .faq > p {
    margin-bottom: 60px;
}

.single-blog .faq > ul {
    display: flex;
    gap: 10px 60px;
    flex-wrap: wrap;
    flex: 1;
    outline: 10px solid rgba(30, 136, 210, 0.3);
    border-radius: 20px;
    padding: 40px;
    background-color: white;
    margin: 0 10px;
}

.single-blog .faq > ul ul {
    list-style: none;
    padding: 0;
    margin: 50px 0 0;
}

.single-blog .faq > ul > li {
    position: relative;
    border-bottom: 2px dotted var(--light-gray);
    cursor: pointer;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    padding: 0 30px 15px 0;
    flex: 1;
    min-width: calc(100% - 30px);
}

.single-blog .faq > ul > li:before {
    content: '\2b';
    font-family: 'Font Awesome 7 Free';
    font-size: 18px;
    position: absolute;
    top: 4px;
    right: 0;
    color: var(--blue);
    transition: transform linear 0.3s;
}

.single-blog .faq > ul > li.active,
.single-blog .faq > ul > li:hover {
    color: var(--blue);
}

.single-blog .faq > ul > li.active:before {
    transform: rotate(45deg);
}

.single-blog .faq > ul > li > ul {
    margin-top: 15px;
}

.single-blog .faq > ul > li.active > ul > li {
    color: initial;
}

.single-blog .faq > ul > li:not(.active) > ul {
    display: none;
}

.single-blog .faq > ul > li > ul > li {
    font-size: 16px;
    font-weight: 400;
    cursor: initial;
    padding: 0;
}

.single-blog .related {
    text-align: center;
}

.single-blog .related .grid {
    margin-top: 60px;
    text-align: left;
}

/* TEAM */

.team .wp-block-media-text {
    grid-template-columns: 1fr;
    min-width: 240px;
    margin: 0 10px;
    position: relative;
    transition: all .3s;
    cursor: pointer;
}

.team > .wp-block-group__inner-container {
    padding: 300px calc((calc(100vw - var(--scrollbar-compensation, 0px)) - 240px) / 2) 210px;
    margin: -200px calc((1200px - calc(100vw - var(--scrollbar-compensation, 0px))) / 2) -160px;
    align-items: start;
    cursor: grab;
}

.team .wp-block-media-text > .wp-block-media-text__media {
    border-radius: 0;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 1;
    overflow: hidden;
}

.team .wp-block-media-text > .wp-block-media-text__media img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    animation: zoomOutMedia 0.6s ease-out forwards;
}

.team .wp-block-media-text.active .wp-block-media-text__media img {
    animation: zoomInMedia 2s ease-out forwards;
}

.team .wp-block-media-text > .wp-block-media-text__content {
    grid-column: 1;
    grid-row: 2;
    padding: 20px;
}

.team h3 {
    line-height: 1;
    margin: 0;
}

.team p {
    margin: 0;
}

.team .wp-block-media-text:not(.active) .wp-block-group {
    opacity: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

.team .wp-block-group:before {
    content: '\f00d';
    font-family: 'Font Awesome 7 Free';
    font-size: 16px;
    font-weight: 600;
    line-height: 2.2;
    position: absolute;
    top: -25px;
    right: -20px;
    background-color: var(--blue);
    border: 3px solid white;
    width: 34px;
    height: 34px;
    border-radius: 100%;
    border-bottom-left-radius: 0;
    text-align: center;
    z-index: 1;
    cursor: pointer;
}

.team ul.wp-block-list li:before {
    background-color: white;
}

.team .wp-block-social-links {
    background-color: var(--blue);
    border: 3px solid white;
    border-radius: 20px;
    border-bottom-right-radius: 0;
    padding: 5px 10px;
    position: absolute;
    left: -100px;
    top: -25px;
    z-index: 1;
}

.team .wp-block-social-links svg {
    fill: white !important;
}

.team .wp-block-list {
    padding-bottom: 0;
}

.team .wp-block-gallery figure.wp-block-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    outline: none;
    width: 240px !important;
    height: 200px;
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
}

.team.active .wp-block-media-text:not(.active) {
    opacity: .3;
    filter: blur(5px);
    pointer-events: none;
}

.team .wp-block-media-text.active {
    margin-top: -60px;
    z-index: 1;
    box-shadow: 0 0 200px var(--purple);
    filter: none !important;
}

.team .wp-block-media-text.active h3 {
    color: var(--yellow);
}

.team .wp-block-media-text.active .wp-block-gallery figure {
    outline: 3px solid white;
    border-radius: 20px;
    opacity: 1;
}

.team .wp-block-media-text.active .wp-block-gallery figure:nth-child(1) {
    left: -145px;
    top: 46px;
    width: 120px !important;
    height: 140px;
}

.team .wp-block-media-text.active .wp-block-gallery figure:nth-child(2) {
    left: -280px;
    top: 210px;
    width: 230px !important;
    height: 170px;
}

.team .wp-block-media-text.active .wp-block-gallery figure:nth-child(3) {
    left: initial;
    right: -240px;
    top: 10px;
    width: 120px !important;
    height: 120px;
    z-index: 1;
}

.team .wp-block-media-text.active .wp-block-gallery figure:nth-child(4) {
    left: initial;
    right: -175px;
    top: 90px;
    width: 150px !important;
    height: 110px;
}

.team .wp-block-media-text.active .wp-block-gallery figure:nth-child(5) {
    left: initial;
    right: -280px;
    top: 220px;
    width: 230px !important;
    height: 150px;
}

/* CUSTOM ADJUSTS */

.custom-css-1 {
    margin: -140px 40px -140px 0;
    z-index: -1;
    position: relative;
}

/* TESTIMONIALS */

.testimonials .wp-block-button__link:after {
    content: '\f0e1';
    font-family: 'Font Awesome 7 Brands';
}

/* MONITORING - prompts */

.monitoring-prompts {
    margin-top: 80px;
    margin-bottom: 80px;
}

.monitoring-prompts .prompts {
    overflow: hidden;
    gap: 100px !important;
    padding: 40px calc((calc(100vw - var(--scrollbar-compensation, 0px)) - 1200px) / 2);
    margin: -40px calc((1200px - calc(100vw - var(--scrollbar-compensation, 0px))) / 2);
    margin-bottom: 0;
    flex-wrap: nowrap;
    justify-content: center;
}

.monitoring-prompts .prompts .wp-block-image {
    flex: 1;
    max-width: 166px !important;
    min-width: 166px;
}

.monitoring-prompts .wp-block-image figcaption {
    position: relative;
}

.monitoring-prompts .wp-block-image:nth-child(1),
.monitoring-prompts .wp-block-image:nth-child(4) {
    opacity: .3;
    filter: blur(5px);
    pointer-events: none;
    transform: scale(.8);
}

.monitoring-prompts .wp-block-image:nth-child(1) figcaption,
.monitoring-prompts .wp-block-image:nth-child(4) figcaption {
    display: none;
}

.monitoring-prompts .wp-block-image:nth-child(3) figcaption {
    width: 140px;
    border-radius: 10px;
    border-bottom-left-radius: 0;
    left: initial !important;
    right: -80px !important;
}

.monitoring-prompts .wp-block-image:nth-child(3) figcaption:before {
    content: 'Pensando ...';
    background-color: black;
    background-image: url(images/logo-chatgpt.webp);
    background-repeat: no-repeat;
    background-size: 40px 40px;
    background-position: 5px 5px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 16px 16px 16px 55px;
}

.monitoring-prompts .wp-block-button__link {
    min-width: 170px;
}

.monitoring-prompts .wp-block-button:nth-child(1) > a {
    border-top-right-radius: 0;
}

.monitoring-prompts .wp-block-button:nth-child(2) > a {
    border-top-left-radius: 0;
}

/* FOOTER */

footer {
    color: white;
    padding: 0;
    margin-top: -160px;
}

footer section.top {
    background-color: black;
    z-index: 2;
    padding-top: 240px;
    border-bottom-left-radius: 160px;
    border-bottom-right-radius: 160px;
    overflow: initial;
}

footer .wp-block-columns {
    gap: 190px;
}

footer h2 {
    font-size: 36px;
    line-height: 40px;
    font-weight: 500;
}

footer .wp-block-group {
    border-left: 2px solid var(--blue);
    padding-left: 30px;
    margin-bottom: 60px;
}

footer .wp-block-buttons {
    margin-bottom: 0;
}

footer .wp-block-social-links:before {
    content: 'CANAIS:';
    font-weight: 700;
    font-size: 20px;
}

footer .wp-block-social-links {
    font-size: 36px;
}

/* FOOTER - contact form */

footer [name="contact"] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 70px;
    margin-top: 50px;
}

footer [name="contact"] .form-group {
    position: relative;    
}

footer [name="contact"] label {
    display: block;
    font-size: 14px;
    position: relative;
    opacity: .5;
    transition: opacity 0.3s ease;
}

footer [name="contact"] .form-group.active-label label {
    opacity: 1;
}

footer [name="contact"] label::after {
    content: '';
    width: 13px;
    height: 5px;
    border-left: 2px solid var(--green);
    border-bottom: 2px solid var(--green);
    transform: rotate(-45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: inline-block;
    margin-left: 10px;
    vertical-align: 5px;
}

footer [name="contact"] .form-group.valid label::after {
    opacity: 1;
}

footer [name="contact"] input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 0;
    color: white;
    font-size: 18px;
    font-weight: 700;
    border-radius: 0;
    outline: none;
    transition: border-color 0.3s, color 0.3s;
    width: 100%;
}

footer [name="contact"] input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

footer [name="contact"] input:focus {
    border-bottom-color: white;
}

footer [name="contact"] input.invalid {
    border-bottom-color: var(--orange);
}

footer [name="contact"] input:-webkit-autofill,
footer [name="contact"] input:-webkit-autofill:hover,
footer [name="contact"] input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
    box-shadow: 0 0 0 1000px #000 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    transition: background-color 9999s ease-in-out 0s;
}

footer section.top .back-to-top {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 60px;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1;
    color: white;
}

footer section.top .back-to-top:before {
    content: '';
    width: 4px;
    height: 4px;
    border-top: 1px solid white;
    border-right: 1px solid white;
    position: absolute;
    top: 0;
    left: 50%;
    transform: rotate(-45deg) translateX(-50%);
}

footer section.top .back-to-top:after {
    content: '';
    width: 1px;
    height: 45px;
    background-color: white;
    position: absolute;
    top: 1px;
    left: 50%;
}

footer section.top .back-to-top:hover {
    padding-top: 50px;
}

footer section.top .icons {
    display: flex;
    justify-content: space-between;
    transform: translateY(80%);
    margin-bottom: -60px;
    margin-top: 60px;
}

footer section.top .icons img {
    border-radius: 100%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .4);
}

footer section.bottom {
    background-image:
        url(images/lines.webp),
        url(images/bg-gradient.webp);
    background-size:
        auto,
        cover;
    background-repeat:
        repeat-y,
        repeat;
    background-position:
        center,
        top;
    margin-top: -160px;
    padding-top: 220px;
    padding-bottom: 50px;
    z-index: 1;
    font-size: 12px;
}

footer section.bottom .wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer section.bottom ul {
    display: flex;
    gap: 10px;
}

footer section.bottom a {
    color: white;
}

footer section.bottom a:hover {
    color: var(--dark-blue);
}

footer section.bottom ul li:not(:last-child):after {
    content: '';
    height: 10px;
    width: 1px;
    background-color: white;
    margin-left: 10px;
    display: inline-block;
    vertical-align: -1px;
}

footer section.bottom p {
    margin: 0;
}

footer section.bottom p:nth-of-type(1) {
    padding-right: 62px;
    display: flex;
    gap: 5px;
    align-items: center;
}