/*
Theme Name: Clearly Glass
Theme URI: 
Author: Clearly Glass
Author URI: 
Description: 
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: clearly-glass
Tags: 

/* CSS Reset
---------------------------------------------------------------------------- */

/* CSS Reset
---------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
}

b,
strong {
	font-weight: 600;
}

ol,
ul {
	padding: 0;
}

ol:where(:not([class*="wp-block"])),
ol:where(.wp-block-list),
ul:where(:not([class*="wp-block"])),
ul:where(.wp-block-list) {
	padding-inline-start: var(--wp--preset--spacing--md);
}

div[class*="wp-block-"] figcaption {
	color: var(--wp--preset--color--neutral-9);
	font-size: var(--wp--preset--spacing--xs);
	margin-bottom: 0;
	margin-top: 20px;
	text-align: center;
}

img,
figure {
	max-width: 100%;
	height: auto;
}

:root :where(.wp-element-button:focus, .wp-block-button__link:focus) {
	outline: none;
	box-shadow: none;
	outline-offset: none;
}

/* Standardize form styling
--------------------------------------------- */

input,
button,
textarea,
select {
	font: inherit;
	appearance: none;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input:not([type="submit"]),
select,
textarea,
.wp-block-post-comments-form input:not([type="submit"]):not([type="checkbox"]),
.wp-block-post-comments-form textarea {
	color: var(--wp--preset--color--neutral-10);
	border-radius: 5px;
	border: solid 1px var(--wp--preset--color--neutral-10);
	padding: .5em 1em;
	font-size: var(--wp--preset--font-size--text-base);
	width: 100%;
}

input:focus-visible,
textarea:focus-visible {
	outline-color: none;
	outline-style: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

label {
	width: 100%;
	display: block;
}

::placeholder {
	color: var(--wp--preset--color--neutral-10);
	font-size: var(--wp--preset--font-size--text-sm);
	opacity: 0.75;
}

/* Post Comment Button */
input[type="submit"].wp-block-button__link {
	padding-top: var(--wp--custom--block--button--padding-y);
	padding-right: var(--wp--custom--block--button--padding-x);
	padding-bottom: var(--wp--custom--block--button--padding-y);
	padding-left: var(--wp--custom--block--button--padding-x);
}

input[type="submit"].wp-block-button__link:hover {
	background-color: var(--wp--preset--color--neutral-12);
	color: var(--wp--preset--color--light);
	border-color: var(--wp--preset--color--neutral-12);
}

:root {
    --focus-ring-color: var(--wp--preset--color--neutral-10);
    --focus-ring-offset: 2px;
}

:where(.wp-site-blocks *:focus) {
    outline-width: 0 !important;
    outline-style: none !important;
    outline-color: none !important;
    outline-offset: 0 !important;
}

.wp-element-button,
.wp-block-button__link {
    transition: all 0.2s ease-in-out;
}

/* .wp-site-blocks {
	overflow: hidden;
} */

details:focus,
summary:focus {
    outline: none;
    box-shadow: none;
}

.overflow-hidden {
	overflow: hidden;
}


#sitemap a:hover {
	color: var(--wp--preset--color--dark);
}

/* Details Block Default Style */
details summary::-webkit-details-marker,
details summary::marker {
    display: none !important;
}

.wp-block-details {
	border-top: 1px solid #313D4C;
	border-bottom: 1px solid #313D4C;
	padding-block: 25px;
}

.wp-block-details summary {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 27px;
	font-weight: 500;
	gap: 24px;
    justify-content: space-between;
	transition: all 0.2s ease-in-out;
}

.wp-block-details summary::after {
	content: '';
	background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxNSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE0LjcwNzMgMTEuNDI4N0MxNS4wOTc3IDExLjgxOTEgMTUuMDk3NSAxMi40NTIyIDE0LjcwNzMgMTIuODQyOEw4LjM0MyAxOS4yMDdDNy45NTI0NyAxOS41OTc2IDcuMzE5NDYgMTkuNTk3NiA2LjkyODkzIDE5LjIwN0wwLjU2NDY3NyAxMi44NDI4QzAuMTc0NDQ5IDEyLjQ1MjIgMC4xNzQyNTEgMTEuODE5MSAwLjU2NDY3NyAxMS40Mjg3QzAuOTU1MTAyIDExLjAzODMgMS41ODgxOSAxMS4wMzg1IDEuOTc4NzQgMTEuNDI4N0w2LjYzNTk3IDE2LjA4NTlMNi42MzU5NyAwLjVMOC42MzU5NyAwLjVMOC42MzU5NyAxNi4wODU5TDEzLjI5MzIgMTEuNDI4N0MxMy42ODM3IDExLjAzODUgMTQuMzE2OCAxMS4wMzgzIDE0LjcwNzMgMTEuNDI4N1oiIGZpbGw9IiMzMTgzQzUiLz4KPC9zdmc+Cg==");
	width: 19px;
	height: 14.73px;
	display: block;
	background-repeat: no-repeat;
    background-size: contain;
	background-position: center;
	transition: all 0.2s ease-in-out;
	transform: rotate(0deg);
}

.wp-block-details[open] summary::after {
	transform: rotate(180deg);
}
