/*
Theme Name:     OllieChild
Theme URI:
Description:    Ollie child theme.
Author:         Me
Author URI:
Template:       ollie
Version:        0.1.0
*/


html {
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	--dvh: 100vh;
	--header--height: 80px;
	/* Cookies styles */
	--cc-btn-primary-bg: var(--wp--preset--color--primary);
	--cc-btn-primary-hover-bg: var(--wp--preset--color--main);
	--cc-toggle-bg-on: var(--wp--preset--color--main);
	--cc-text: var(--wp--preset--color--main);
	--cc-btn-primary-text: var(--wp--preset--color--base);
	--cc-btn-primary-text: var(--cc-bg);
	--cc-btn-primary-hover-text: var(--cc-btn-primary-text);
	--cc-btn-secondary-text: var(--cc-text);
	--cc-btn-secondary-hover-text: var(--cc-btn-secondary-text);
	--cc-toggle-bg-on: var(--cc-btn-primary-bg);

	overflow-x: hidden;
}

iframe {
	max-width: 100%;
}

.single-post .wp-block-post-content figure.wp-block-image img {
	border-radius: 5px;
}

.single-post .wp-block-cover:not(.has-aspect-ratio) {
	min-height: 240px !important;
}

body.logged-in .hide-if-logged-in,
.hidden {
	display: none !important;
}

.is-rounded {
	border-radius: 5px;
}

.is-full {
	width: 100% !important;
}

.no-decoration {
	text-decoration: none !important;
}

.wp-site-blocks a {
	text-decoration: none !important;
}

.wp-block-post .wp-block-cover {
	cursor: pointer;
}

[style*="min-height:100vh"]:not(.skip-dvh) {
	--height: calc(var(--dvh, 100vh) - var(--header--height, 0px));
	min-height: var(--height, 100vh) !important;
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
	.row-mobile-reverse {
	flex-direction:  row-reverse;
}
	
	.column-mobile-reverse {
		flex-direction: column-reverse;
	}

	.hide-on-mobile {
		display: none !important;
	}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {}