/*
 * Typography settings 
 * Header
 * Navigation
 * Footer
 * Blocks
 * - Buttons
 * - List
 * - Pullquote
 * - Splide carousel
 * - Contact Form 7
 * Specific 
 */ 
 
:root {
    --wp--preset--font-size--small: 1rem;
    --wp--preset--font-size--medium: 1.9rem;
    --wp--preset--font-size--large: 3rem;
    --wp--preset--font-size--x-large: 4rem;
}


/*
 * Typography settings */
.entry-content {
    font-size: 1.15rem;
    line-height: 1.5rem;
}
.has-medium-font-size {
    line-height: 2.8rem;
}


/* 
 * Header */

 /* No underline on links in Header section */
.header-links a {
    text-decoration: none;
    color: var(--wp--preset--color--custom-leve-lheaded-blue);
}
.header-links a:hover {
    color: var(--wp--preset--color--custom-link-hover) !important;
}
.header-links .email a  {
    font-weight: 300;
}

/* Reduce vertical gap between email and telephone number in header */
.wp-block-group.header-links.is-layout-flex {
    gap: 8px;
}

/* @media only screen and (min-width: 486px) and (max-width: 770px) { */
@media only screen and (max-width: 770px) {
    p.morelink {
        display: none;
    }
}


/* 
 * Navigation */
.wp-block-navigation__container {
    gap: 0px;
}
.wp-block-navigation__responsive-container-content {
    font-size: 1.5rem;
}
.wp-block-navigation ul li {
    padding: 8px 8px;
    margin-right: 8px;
    margin-left: 8px;
}
.wp-block-navigation-item:hover{
    background: var(--wp--preset--color--custom-link-hover);
}
.wp-block-navigation-item.current-menu-item {
    background: var(--wp--preset--color--white);
    color: var(--wp--preset--color--custom-link-hover);
}


/* 
 * Footer */
footer a {
    text-decoration: none;
}


/* 
 * Blocks */

 h1,
.content .page h1,
.content h1.entry-title,
.content .entry-content h1,
body.search .content h1.archive-title {
    padding-top: 3rem;
    font-size: 3rem;
    font-weight: 300;
}

/* Buttons */
a:where(:not(.wp-element-button, header a, .wp-admin.wp-core-ui a, #wpadminbar a, footer a)) {
    /* color: var(--wp--preset--color--custom-link-grey) !important; */
    color: var(--wp--preset--color--custom-leve-lheaded-blue) !important;
}
a:hover:where(:not(.wp-element-button, header a)) {
    color: var(--wp--preset--color--custom-link-hover) !important;
}

/* List */
li {
    padding-bottom: 12px;
    line-height: 1.5rem;
}

/* Pullquote */
.wp-block-pullquote {
    padding-top: 0px;
    padding-bottom: 0px;
}
.wp-block-pullquote blockquote p {
    font-size: 2rem;
    line-height: 2.6rem;
}
.wp-block-pullquote blockquote cite {
    color: var(--wp--preset--color--custom-text-default-colour);
    font-size: 1.6rem;
    line-height: 2rem;
}
.wp-block-pullquote blockquote cite {
    color: var(--wp--preset--color--white);
}

/* Splide carousel */
div#splide01-track {
    background: #CCC;
}
.wp-block-cloudcatch-splide-carousel-item.wp-block-splide-carousel__slide.splide__slide {
    padding: 1vw 2vw;
}

/* Contact Form 7 */
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background-color: var(--wp--preset--color--custom-leve-lheaded-blue);
    padding: 1vw 2vw;
    font-size: 1.5rem;
    color: var(--wp--preset--color--white);
    border-style: none;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: var(--wp--preset--color--custom-link-hover) !important;
}


/* 
 * Specific */

 /* Image caption of 'The Team' images on front page */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    font-size: 1.25rem;
}

/* Blocks with background colours */
.group-has-default-font-colour,
.group-has-default-font-colour a {
    color: var(--wp--preset--color--custom-text-default-colour) !important;
}
.group-has-white-font-colour,
.group-has-white-font-colour a {
    color: var(--wp--preset--color--custom--colour-white) !important;
}

/* Centre caption on images on profile images
   Must manually add 'ADDITIONAL CSS CLASS(ES)': profile-image  */
.profile-image figcaption.wp-element-caption {
    text-align: center;
}