/*
Theme Name: Ollie Ford and Co
Theme URI: https://github.com/madila/olliefordandco-wp
Author: the WordPress team
Author URI: https://wordpress.org
Description: Ollie Ford and Co is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Ollie Ford and Co comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.2.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Github Theme URI: madila/olliefordandco-wp
Primary Branch: main
Text Domain: olliefordandco
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

:root {
    font-size: 18px;
}





@media screen and (min-width: 600px) {
    .show-on-mobile {
        display:none !important;
    }
}

@media screen and (max-width: 731px) {
    .hide-on-mobile, .show-on-tablet {
        display:none !important;
    }
}

@media (min-width: 732px) and (max-width: 958px) {
    .hide-on-tablet {
        display: none !important;
    }
}

@media (max-width: 958px) {
    .show-on-laptop {
        display:none !important;
    }
}

@media (min-width: 959px) {
    .show-on-tablet {
        display:none !important;
    }
}

@media (min-width: 959px) and (max-width: 1186px) {
    .hide-on-laptop {
        display:none !important;
    }
}


@media (max-width: 1186px) {
    .show-on-desktop {
        display:none !important;
    }
}

@media (min-width: 1187px) {
    .hide-on-desktop, .hide-on-laptop {
        display:none !important;
    }
}


.wp-block-button:hover, .wp-block-button:hover a {
	transition: all 300ms linear;
}

.wp-block-button:hover .has-custom-gold-color {
	background-color: var(--wp--preset--color--custom-gold) !important;
	color: white !important;
	box-shadow: 0 0 15px var(--wp--preset--color--custom-gold);
}

[data-type="link"]:not(:hover) {
	text-decoration: none;
}

p.has-small-font-size:has([data-type="link"]):hover {
	transition: all 300ms linear;
background-color: var(--wp--preset--color--custom-gold) !important;
	color: white !important;
	box-shadow: 0 0 15px var(--wp--preset--color--custom-gold);
    border-color: rgba(0, 0, 0, 0.2);
}

p.has-small-font-size:has([data-type="link"]):hover a {
	color: white !important;
}

.wp-block-read-more {
    width: 100%;
    text-align: center;
    border-width: 1px;
}

.wp-block-read-more:hover {
	transition: all 300ms linear;
    background-color: var(--wp--preset--color--accent-3) !important;
	color: white !important;
    border-color: rgba(0,0,0,0.65) !important;
	box-shadow: 0 0 15px var(--wp--preset--color--accent-3);
}


.is-style-outline:hover .wp-block-button__link {
		box-shadow: 0 0 15px #6fa1a6;
}


.wp-block-query-pagination-next, .wp-block-query-pagination-previous, .wp-block-query-pagination-numbers a {
			transition: all 300ms linear;
	padding: 0.5em 1em;
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
border: 1px solid rgba(0, 0, 0, 0.1);
}
..wp-block-query-pagination-numbers {
	    display: flex;
    align-items: center;
    gap: 1rem;
}

.wp-block-query-pagination-numbers span {
	transition: all 300ms linear;
	padding: 0.5em 1em;
	background-color: black !important;
	color: white !important;
	box-shadow: 0 0 15px rgba(0,0,0,0.4);
    text-decoration: none;
	border: 1px solid transparent;
}

.wp-block-query-pagination-next:hover, .wp-block-query-pagination-previous:hover, .wp-block-query-pagination-numbers a:hover {
	background-color: black !important;
	color: white !important;
	box-shadow: 0 0 15px rgba(0,0,0,0.4);
		border: 1px solid rgba(255,255,255,0.1);
}


@media screen and (max-width: 768px) {
.wp-block-query-pagination-numbers {
display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    justify-content: center;
}
}

.wp-block-query-pagination-numbers > a, .wp-block-query-pagination-numbers > span {
    display: inline-block;
    margin-bottom: 0.5rem;
}



@media screen and (min-width: 585px) and (max-width: 783px) {
    header .wp-block-group.is-content-justification-space-between {
        gap: 0.25rem;
    }
}

@media screen and (min-width: 600px) and (max-width: 747px) {
    header .wp-block-group.is-content-justification-space-between {
        justify-content: center;
    }
}

@media screen and (max-width: 768px) {
    #naj-badge {
        float: none;
        margin: 0;
    }
}


@media screen and (min-width: 1300px) {
    .blog .wp-block-post-template.is-layout-grid h3 > a {
        min-height: 6.5em;
    }
}

@media screen and (max-width: 1300px) {
    .blog .wp-block-post-template.is-layout-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blog .wp-block-post-template.is-layout-grid h3 > a {
        min-height: 4em;
    }
}



@media screen and (max-width: 900px) {
    .blog .wp-block-post-template.is-layout-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .blog .wp-block-post-template.is-layout-grid h3 > a {
        min-height: auto;
    }
}


.wp-block-site-title a {
    transition: 350ms linear;
}

.wp-block-site-title a:is(:hover, :active, :focus) {
    letter-spacing: 0.06em;
}


@media screen and (min-width: 1200px) {
    #services-grid .is-layout-grid {
        grid-template-columns: repeat(6, 1fr);
        container-type: inline-size;
        gap: var(--wp--preset--spacing--30);
    }

    #services-grid .is-layout-grid > div.wp-block-group {
        grid-column: span 2;
    }

    #services-grid.has-five-items .is-layout-grid > div.wp-block-group:nth-child(4) {
        grid-column: 2 / span 2;
    }

    #services-grid.has-five-items .is-layout-grid > div.wp-block-group:nth-child(4) {
        grid-column: 2 / span 2;
    }

    #services-grid.has-two-items .is-layout-grid > div.wp-block-group:nth-child(1) {
        grid-column: 2 / span 2;
    }
}

.wp-block-post-excerpt.has-small-font-size {
    min-height: 16em;
}
