/*
Theme Name: Mercury atlas 2025 (fse)
Author: Pilot Digital
Author URI: pilotdigital.com
Theme URI: 
Tags: full-site-editing
Text Domain: mercury-atlas-2025
Requires at least: 6.5
Requires PHP: 8.0
Tested up to: 6.0
Version: 1.0.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

All files, unless otherwise stated, are released under the GNU General Public
License version 2.0 (http://www.gnu.org/licenses/gpl-2.0.html)
*/

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/

:root {
    
    --aqua-light: #E1F6F6;
    --coral-light: #FFC9C9;
    --yellow-light: #FFEC7B;
    --sea-blue: #04698D;
    --gray-blue: #675C70;




    --neutral-100: #f2f2f2;
    --neutral-300: #CCCCCC;
    --neutral-400: #3b3b3b;
    --neutral-700: #4d4d4d;
    --neutral-900: #1a1a1a;
    


    font-size: 1.188rem; /* 19px */
    
    --wp--preset--font-family--openSans: var(--wp--preset--font-family--open-sans);
    
}

@media (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
  }

/* Typography
========================================================== */


  
body {
  /*23 dont need, as the below fontnamefix patches in the openSans bug  font-family: 'Open Sans', sans-serif; */
    font-weight: 300;
    text-rendering: optimizeLegibility;
    overflow-x: hidden; 
    
      --wp--preset--font-family--openSans: var(--wp--preset--font-family--open-sans);
}


/* MORE SECTIONS
========================================================*/



/* INCLUDED BLOCK STYLES */

.is-style-outline.wp-block-button > .wp-block-button__link {
    border: 0.12rem solid var(--wp--preset--color--tertiary);
    color: var(--wp--preset--color--tertiary);
}


.is-style-secondary > .wp-block-button__link, .is-style-secondary-button > .wp-block-button__link,
.is-style-telephone-button > .wp-block-button__link {
    background-color: var(--wp--preset--color--background-dark);
    color: var(--wp--preset--color--primary);
}

.is-style-telephone-button .wp-block-button__link.has-background-background-color:hover {
    background: var(--wp--preset--color--primary)!important;
    color: white!important;
}

.is-style-secondary > .wp-block-button__link:hover, .is-style-secondary-button > .wp-block-button__link:hover,
.is-style-telephone-button > .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--primary);
    color: white;
}

.is-style-telephone-button > .wp-block-button__link {
    position: relative;
    padding-left: 54px;
}

.is-style-telephone-button > .wp-block-button__link::before {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' fill='none'%3E%3Cpath fill='%23009FE3' d='m25.144 18.054-5.469-2.344a1.172 1.172 0 0 0-1.367.337l-2.422 2.959a18.098 18.098 0 0 1-8.652-8.652l2.96-2.422a1.169 1.169 0 0 0 .336-1.367L8.186 1.096A1.18 1.18 0 0 0 6.843.418L1.765 1.589a1.172 1.172 0 0 0-.908 1.142c0 12.525 10.152 22.657 22.656 22.657a1.171 1.171 0 0 0 1.143-.909l1.172-5.078a1.187 1.187 0 0 0-.684-1.347Z'/%3E%3C/svg%3E");    display: inline-block;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 18px;
    bottom: 26px;
    margin-right: 36px;
    transform: translateX(25%) scale(.75);
    transition: all .2s ease-in-out;
}

.is-style-tertiary.wp-block-button > .wp-block-button__link, .is-style-tertiary-button.wp-block-button > .wp-block-button__link {
    background: none;
    border:none;
    color: var(--wp--preset--color--primary);
    padding: 0rem;
    margin: 0rem;
    text-align: left;
}

.is-style-tertiary.wp-block-button  > .wp-block-button__link::after, .is-style-tertiary-button.wp-block-button  > .wp-block-button__link::after {
    content: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.590088 10.59L5.17009 6L0.590088 1.41L2.00009 0L8.00009 6L2.00009 12L0.590088 10.59Z' fill='%23009FE3'/%3E%3C/svg%3E%0A");
    display: inline-block;
    width: 16px;
    height: 16px;
    padding-left: 8px;
    transform: translateX(25%);
    transition: all .2s ease-in-out;

}

.is-style-tertiary.wp-block-button  > .wp-block-button__link:hover, .is-style-tertiary-button.wp-block-button  > .wp-block-button__link:hover {
    transform: translateY(0px);
    color: var(--wp--preset--color--secondary);
    text-decoration: underline;
    background-color: unset;
    border:none;
}

.is-style-tertiary.wp-block-button  > .wp-block-button__link:hover::after, .is-style-tertiary-button.wp-block-button  > .wp-block-button__link:hover::after {
    transform: translateX(45%);
}



.is-style-outline.wp-block-button > .wp-block-button__link:hover {
    background-color: var(--wp--preset--color--tertiary);
    color: white;
}


