/* =================
GLOBAL
==================== */
:root,
body:not(.block-editor-page) {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-family: var(--wp--preset--font-family--manrope) !important;
    color: var(--wp--preset--color--custom-dark-blue);
}

p a {
    text-decoration: none;
}

a {
    color: inherit
}

figure:has(a) {
    overflow: hidden;
}

figure a img {
    transition: transform 0.3s ease;
}

figure a img:hover {
    transform: scale(1.1);
} 

/* =================
BOOTSTRAP EXTENDED
==================== */
@media screen and (min-width: 768px) {
.w-md-77 {
    width: 77%!important;
}
}

/* =================
HEADER
==================== */
body.home header {
    height: 157px;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 999;
}

body.home header>.wp-block-group {
    background-color: transparent!important;
}

/* =================
LOAD STYLES
==================== */
.scroll-reveal {
  --sr-initial-opacity: 0;
  opacity: var(--sr-initial-opacity);
  transform: translateY(20px);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.scroll-reveal.revealed {
  --sr-initial-opacity: 1;
  transform: translateY(0);
}



/* =================
BLOCKS
==================== */
/*BUTTONS*/

/*is-style-fill*/
.wp-block-button.is-style-fill .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link {
    transition: transform 0.3s ease;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover {
    transform: scale(1.05);
}

/*is-style-outline-with-arrow*/
.wp-block-button.is-style-outline-with-arrow .wp-block-button__link {
    min-width: 14rem;
    display: flex;
    flex-direction: column;
    text-align: start;
}

.wp-block-button.is-style-outline-with-arrow .wp-block-button__link::after {
    content: '';
    display: block;
    width: 33px;
    height: 33px;
    align-self: flex-end;
    background-image: url("data:image/svg+xml,%3Csvg id='Group_13' data-name='Group 13' xmlns='http://www.w3.org/2000/svg' width='33' height='33' viewBox='0 0 33 33'%3E%3Ccircle id='Ellipse_13' data-name='Ellipse 13' cx='16.5' cy='16.5' r='16.5' transform='translate(0 33) rotate(-90)' fill='%231f3855'/%3E%3Cg id='Group_10' data-name='Group 10' transform='translate(9.96 22.872) rotate(-90)'%3E%3Cpath id='Path_2' data-name='Path 2' d='M0,0,6.384,6.384,12.769,0' transform='translate(0 6.316)' fill='%231f3855' stroke='%23fff' stroke-width='1.5'/%3E%3Cline id='Line_8' data-name='Line 8' y1='12.39' transform='translate(6.384)' fill='none' stroke='%23fff' stroke-width='1.5'/%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(0);
    transition: transform 0.3s ease;
}

.wp-block-button.is-style-outline-with-arrow .wp-block-button__link:hover::after {
    transform: translateX(10px);
}

/*TABLES*/
.wp-block-table {
    font-size: clamp(1rem, 2.5vw, 1.5rem)!important;
    overflow: hidden;
}

/* =================
PAGES
==================== */


/* =================
PATTERNS
==================== */
/*3 COLUMN TEXT & MEDIA LINKS*/
.three-col-media-links:hover::after  {
    transform: scale(1.1);
}

.three-col-media-links {
    position: relative
}

.three-col-media-links::after {
    content: "";
    display: block;
    width: 46px;
    height: 46px;
    position: absolute;
    bottom: 3%;
    right: 5%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46.784' height='46.784' viewBox='0 0 46.784 46.784'%3E%3Cg id='Group_52' data-name='Group 52' transform='translate(0)'%3E%3Ccircle id='Ellipse_13' data-name='Ellipse 13' cx='23.392' cy='23.392' r='23.392' transform='translate(0 46.784) rotate(-90)' fill='%23abd4f2'/%3E%3Cg id='Group_10' data-name='Group 10' transform='translate(14.121 32.426) rotate(-90)'%3E%3Cpath id='Path_2' data-name='Path 2' d='M0,0,9.051,9.051,18.1,0' transform='translate(0 8.954)' fill='none' stroke='%231f3855' stroke-width='2'/%3E%3Cline id='Line_8' data-name='Line 8' y1='17.566' transform='translate(9.051)' fill='none' stroke='%231f3855' stroke-width='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

/*DOUBLE TEXT MEDIA WITH BACKGROUND IMAGE*/
@media screen and (max-width: 992px) {
.dble-txt-media-bg-img {
    background-position: 50% 48%!important;
}
}

/* =================
PLUGINS
==================== */
.gfield input {
    padding: 0!important;
    border-top: 0!important;
    border-left: 0!important;
    border-right: 0!important;
    border-bottom: 1px solid var(--wp--preset--color--custom-white);
    box-shadow: none!important;
    font-size: 16px!important

}

.gfield input:focus {
    border-bottom: 1px solid var(--wp--preset--color--custom-white)!important;
}

.gfield_select:focus {
    border: 1px solid var(--wp--preset--color--custom-white)!important;
}

.gfield_select {
    text-align: center!important;
    min-height: 60px!important;
    align-items: center!important;
    font-size: 16px!important;
    border-radius: 30px!important;
}

.gfield textarea {
    max-height: 2rem!important;
    min-block-size: 4rem!important;
    padding: 0!important;
    border-top: 0!important;
    border-left: 0!important;
    border-right: 0!important;
    border-bottom: 1px solid var(--wp--preset--color--custom-white);
    border-radius: 0!important;
    box-shadow: none!important;
    font-size: 16px!important;
}

#gform_submit_button_1 {
    margin-top: 2rem;
    border: 1px solid var(--wp--preset--color--custom-white);
    border-radius: 29px!important;
    box-shadow: none!important;
    font-size: 16px!important;
    padding: 18px 70px!important;
}

#gform_submit_button_1:hover {
    background-color: var(--wp--preset--color--custom-pale-blue);
    color: var(--wp--preset--color--custom-dark-blue);
    border: 1px solid var(--wp--preset--color--custom-dark-blue);
}

.gform-theme--framework select {
    border-left: 1px solid var(--wp--preset--color--custom-white)!important;
    background-position: 96%!important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='6' viewBox='0 0 11 6'%3E%3Cpath id='Polygon_2' data-name='Polygon 2' d='M5.5,0,11,6H0Z' transform='translate(11 6) rotate(180)' fill='%23fffaf5'/%3E%3C/svg%3E%0A")!important;
}