/* =================
GLOBAL
==================== */
:root,
body:not(.block-editor-page) {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

mark {
    padding: 0;
}

.wp-block-separator {
    border-top: 1px solid;
    opacity: 1;
}

p {
    text-decoration-thickness: 1px!important;
    text-underline-offset: 6px!important;
}

/* =================
BOOTSTRAP EXTENDED
==================== */
figure.h-100 img {
    height: 100%;
}

/* =================
PAGE 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);
}

.is-style-animated {
  position: relative;
}

.is-style-animated .animated-word {
  opacity: 0;
  display: inline;
}

.is-style-animated.revealed .animated-word {
  animation: wave-fade-in 1s ease-out forwards;
}

@keyframes wave-fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* =================
HEADER
==================== */
/*CURRENT MENU ITEM*/
header .wp-block-navigation__container>.wp-block-navigation-item.current-menu-item>a>span {
    position: relative;
}

header .wp-block-navigation__responsive-container:not(.has-modal-open):not(.is-menu-open) .wp-block-navigation__container>.wp-block-navigation-item.current-menu-item:not(.header-contact-button)>a>span::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    border-radius: 50%;
    background-color: var(--wp--preset--color--custom-pale-blue);
}

/*CONTACT BUTTON*/
header .header-contact-button {
    height: 56px;
    border-radius: 29px;
    border: 1px solid var(--wp--preset--color--custom-off-white);
    flex-direction: row!important;
}

header .header-contact-button a span {
    padding: 0 2rem;
}

header .header-contact-button a {
    height: 100%;
    display: flex!important;
    align-items: center;
}

header .header-contact-button a::after {
    content: '';
    display: block;
    width: 3rem;
    height: 100%;
    border-left: 1px solid var(--wp--preset--color--custom-off-white);
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='11' viewBox='0 0 6 11'%3E%3Cpath id='Polygon_4' data-name='Polygon 4' d='M5.5,0,11,6H0Z' transform='translate(6) rotate(90)' fill='%23798af8'/%3E%3C/svg%3E%0A");
}

header .floating-header .header-contact-button a::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='11' viewBox='0 0 6 11'%3E%3Cpath id='Polygon_4' data-name='Polygon 4' d='M5.5,0,11,6H0Z' transform='translate(6) rotate(90)' fill='%23fff'/%3E%3C/svg%3E%0A");
}

header .header-contact-button a:hover::after  {
    background-color: var(--wp--preset--color--custom-blue);
    border-radius: 0 29px 29px 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='11' viewBox='0 0 6 11'%3E%3Cpath id='Polygon_4' data-name='Polygon 4' d='M5.5,0,11,6H0Z' transform='translate(6) rotate(90)' fill='%23fffaf6'/%3E%3C/svg%3E%0A");
}

/*SUBMENU*/
header .wp-block-navigation__submenu-container {
    padding: 1rem .5rem;
}

.wp-block-navigation-item.has-child a {
    padding-bottom: 1rem;
    margin-top: 1rem;
}

/*HAMBURGER MENU*/
header .wp-block-navigation__responsive-container:not(.has-modal-open.is-menu-open) {
    display: none;
}

header .wp-block-navigation__responsive-container-open {
    display: block !important;
}

@media screen and (min-width: 992px) {
    header .wp-block-navigation__responsive-container-open {
        display: none !important;
    }

    header .wp-block-navigation__responsive-container:not(.has-modal-open.is-menu-open) {
        display: block;
    }
}

/*MOBILE*/
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
    gap: 1.6rem;
}

.wp-block-navigation__responsive-container-close {
    top: 50px;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open ul:not(.wp-block-navigation-submenu)>.wp-block-navigation-item>.wp-block-navigation-item__content {
    font-size: 1.1rem;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container, .wp-block-navigation__responsive-container.has-modal-open.is-menu-open .wp-block-navigation__responsive-container-content, .wp-block-navigation__responsive-container.has-modal-open.is-menu-open .wp-block-navigation-item {
    align-items: flex-start;
}

.wp-block-navigation__responsive-container.has-modal-open.is-menu-open::after {
    content: '';
    width: 110px;
    height: 78px;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: 110px 85px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='509.857' height='362.472' viewBox='0 0 509.857 362.472'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_231' data-name='Rectangle 231' width='509.857' height='362.469' fill='%23fffaf6'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_704' data-name='Group 704' transform='translate(0 0.001)' style='isolation: isolate'%3E%3Crect id='Rectangle_228' data-name='Rectangle 228' width='125.795' height='15.105' transform='translate(0 -0.001)' fill='%23fffaf6'/%3E%3Crect id='Rectangle_229' data-name='Rectangle 229' width='187.232' height='15.102' transform='translate(0 331.555)' fill='%23fffaf6'/%3E%3Crect id='Rectangle_230' data-name='Rectangle 230' width='66.351' height='346.656' transform='translate(59.444 0.001)' fill='%23fffaf6'/%3E%3Cg id='Group_697' data-name='Group 697' transform='translate(0 0.001)'%3E%3Cg id='Group_696' data-name='Group 696' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_12444' data-name='Path 12444' d='M191.6,92.566q.037,1.25.037,2.508c0,42.694-32.1,78.811-76.3,90.825,1.386,1.4,2.792,2.814,4.233,4.25h25.494c59.9,0,108.451-42.567,108.451-95.075S204.964,0,145.068,0H46.011V15.1h64.615c43.368,0,79.692,34.111,80.973,77.462' transform='translate(68.484 -0.001)' fill='%23fffaf6'/%3E%3Cpath id='Path_12445' data-name='Path 12445' d='M80.821,70.958s243.794,268.4,367.12,140.823c0,0-28.492,108.03-136.189,91.432S87.279,131.783,52.152,66.539s28.669,4.419,28.669,4.419' transform='translate(61.913 57.522)' fill='%23fffaf6'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
}

/* =================
BLOCKS
==================== */
/*BUTTONS*/
.is-style-outline .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--custom-off-white);
    color: var(--wp--preset--color--custom-navy)!important;
    border: 1px solid var(--wp--preset--color--custom-off-white);
}

.is-style-outline .wp-block-button__link.has-custom-blue-border-color:hover {
    background-color: var(--wp--preset--color--custom-blue);
    color: var(--wp--preset--color--custom-off-white)!important;
}

/*CAROUSELS*/
.bespoke-theme-button-next, .bespoke-theme-button-prev {
    min-width: 3rem;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background-color: transparent;
    background-image: url('../../assets/images/nav-arrow.svg');
    background-repeat: no-repeat;
    background-position: center;
}

.bespoke-theme-button-prev {
    transform: rotate(180deg);
}

/*ACCORDION*/
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
    text-decoration: none;
}

/*GROUP*/
/*Logomark Overlay*/
.is-style-logomark-overlay {
    overflow: visible;
}

.is-style-logomark-overlay::after {
    content: '';
    display: block;
    width: clamp(180px, 30vw, 348px);
    height: clamp(146px, 22vw, 282px);
    position: absolute;
    z-index: 999;
    bottom: -7px;
    right: 0;
    background-image: url('../images/roger-t-hulme-blue-logomark.svg');
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
}

@media screen and (min-width: 768px) {
    .is-style-logomark-overlay::after {
        bottom: -9px;
    }
}

@media screen and (min-width: 992px) {
    .is-style-logomark-overlay::after {
        bottom: -13px;
    }
}

/* =================
PATTERNS
==================== */
/*HOME HERO BANNER*/
.hero-banner::after {
    width: 40%;
    height: 82px;
    display: block;
    content:'';
    position: absolute;
    bottom: -0.4%;
    left: 0;
    z-index: 1;
    background-size: contain;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='509.857' height='362.472' viewBox='0 0 509.857 362.472'%3E%3Cdefs%3E%3CclipPath id='clip-path'%3E%3Crect id='Rectangle_231' data-name='Rectangle 231' width='509.857' height='362.469' fill='%23fffaf6'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg id='Group_704' data-name='Group 704' transform='translate(0 0.001)' style='isolation: isolate'%3E%3Crect id='Rectangle_228' data-name='Rectangle 228' width='125.795' height='15.105' transform='translate(0 -0.001)' fill='%23fffaf6'/%3E%3Crect id='Rectangle_229' data-name='Rectangle 229' width='187.232' height='15.102' transform='translate(0 331.555)' fill='%23fffaf6'/%3E%3Crect id='Rectangle_230' data-name='Rectangle 230' width='66.351' height='346.656' transform='translate(59.444 0.001)' fill='%23fffaf6'/%3E%3Cg id='Group_697' data-name='Group 697' transform='translate(0 0.001)'%3E%3Cg id='Group_696' data-name='Group 696' clip-path='url(%23clip-path)'%3E%3Cpath id='Path_12444' data-name='Path 12444' d='M191.6,92.566q.037,1.25.037,2.508c0,42.694-32.1,78.811-76.3,90.825,1.386,1.4,2.792,2.814,4.233,4.25h25.494c59.9,0,108.451-42.567,108.451-95.075S204.964,0,145.068,0H46.011V15.1h64.615c43.368,0,79.692,34.111,80.973,77.462' transform='translate(68.484 -0.001)' fill='%23fffaf6'/%3E%3Cpath id='Path_12445' data-name='Path 12445' d='M80.821,70.958s243.794,268.4,367.12,140.823c0,0-28.492,108.03-136.189,91.432S87.279,131.783,52.152,66.539s28.669,4.419,28.669,4.419' transform='translate(61.913 57.522)' fill='%23fffaf6'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
}

@media screen and (min-width: 576px) {
    .hero-banner::after {
        width: 200px;
        height: 142px;
        bottom: -0.7%;
    }
}

@media screen and (min-width: 768px) {
    .hero-banner::after {
        width: 310px;
        height: 194px;
        bottom: -0.9%;
    }
}

@media screen and (min-width: 1400px) {
    .hero-banner::after {
        width: 510px;
        height: 362px;
        bottom: -2.3%;
    }
}

@media screen and (min-width: 1600px) {
    .hero-banner::after {
        bottom: -1.9%;
    }
}

@media screen and (min-width: 1900px) {
    .hero-banner::after {
        bottom: -1.7%;
    }
}

/*FULL WIDTH MEDIA & TEXT WITH ARROW*/
.diag-arrow-accent {
    height: 86px;
    width: 86px;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.diag-arrow-accent:hover {
    transform: scale(1.1);
}

/* =================
PLUGINS
==================== */
/*GRAVITY FORMS*/
.gfield input {
    box-shadow: none!important;
}

.gform_body input, .gform_body textarea {
    padding: 0!important;
    border-top: none!important;
    border-left: none!important;
    border-right: none!important;
}

.gform_body input::placeholder, .gform_body .gfield_select {
    letter-spacing: 2px;
}

.gform_body select {
    height: 3rem!important;
    align-items: center!important;
    border-radius: 50px!important;
    text-align: center;
}

.wp-block-group.has-background .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])):hover, .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])):focus {
    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='%23fffaf6'/%3E%3C/svg%3E%0A")!important;
    background-position: calc(100% - 26px) center!important;
}

.gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])):hover, .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):where(:not([multiple])):focus {
    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='%23252c5b'/%3E%3C/svg%3E%0A")!important;
    background-position: calc(100% - 26px) center!important;
}


.gform_body select:focus {
    border: 1px solid currentColor!important;
}

.gform_footer input[type="submit"] {
    padding: 1rem 3rem!important;
    border: 1px solid var(--wp--preset--color--custom-navy)!important;
    border-radius: 30px!important;
    box-shadow: none!important;
    letter-spacing: 2px!important;
}

.gform_footer input[type="submit"]:hover {
    background-color: var(--wp--preset--color--custom-pale-blue)!important;
}

.wp-block-group.has-custom-navy-background-color .gform_footer input[type="submit"] {
    border: 1px solid var(--wp--preset--color--custom-blue)!important;
}

.gform_body .gfield_validation_message, .gform_validation_errors .gform_submission_error {
    color: #FF8D8D!important;
}

.gform-theme--framework .gfield_error input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    border-bottom: 1px solid #FF8D8D;
}

.gform-theme--framework .gfield_error select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
    border: 1px solid #FF8D8D;
}