/*
 * Theme Name: Atom
 * Author: Atom Digital
 * Author URI: atomdigital.com.br
 * Requires PHP: 7.3
 * Version: 0.1.0
 * Text Domain: atom
 */

/* 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: var(--wp--custom--font-weight--semi-bold);
}

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--medium);
}

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

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

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

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

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-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--main);
	border-radius: 5px;
	border: solid 1px var(--wp--preset--color--main-accent);
	padding: .5em 1em;
	font-size: var(--wp--preset--font-size--small);
}

input:focus-visible,
textarea:focus-visible {
	outline: solid var(--wp--preset--color--primary-500) thin;
}

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

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

::placeholder {
	color: var(--wp--preset--color--secondary);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.75;
}

/* Helper styles that can't be done via theme.json
---------------------------------------------------------------------------- */

.wp-block-site-logo.is-default-size img {
	height: 47px !important;
	width: auto !important;
	object-fit: contain !important;
}



.wp-block-justify-between {
  justify-content: space-between;
}

.text-balance {
  text-wrap: balance;
}
.w-full {
	width: 100%;
}
.w-fit {
	width: fit-content;
}

.h-full {
	height: 100%;
}
.position-relative {
  position: relative;
}
.wp-block-image.w-full img {
  width: 100%;
}

.wp-block-image.h-full img {
  height: 100%;
}

a.more-link {
	display: block;
}

/* Inline code */
*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--tertiary);
	font-weight: var(--wp--custom--font-weight--medium);;
	padding: 3px 5px;
	position: relative;
	border-radius: 3px;
}

/* Adjust terms at bottom of posts */
.single .wp-block-group .wp-block-post-terms,
.blog .wp-block-group .wp-block-post-terms {
	margin-bottom: -8px !important;
}

/* Remove margin on term description on archive pages */
.wp-block-term-description p:last-child {
	margin-bottom: 0;
}

/* Remove last separator on post list */
.remove-border-and-padding .wp-block-post-template li:last-child .wp-block-separator {
	display: none;
}

/* Hide post meta div if no tags assigned */
.single .wp-block-group:has(> .post-meta:empty) {
	display: none;
}

.wp-block-group:empty:has(+ .comment-respond) {
	display: none;
}

.row-logos > figure {
	flex-shrink: 1 !important;
}

@media (max-width: 781px) {
	.ollie-hide-on-mobile {
		display: none;
	}
}

.form-control{
	height: 100%;
}


@media screen and (max-width: 599px) {

	.site-header .wp-block-group{
		--bs-gutter-x: 1.5rem;
		padding-right: calc(var(--bs-gutter-x)* .5) !important;
    padding-left: calc(var(--bs-gutter-x)* .5) !important;
		gap: initial !important;
		justify-content: space-between !important;
	}
	.site-header > .wp-block-group{
		padding-right: 0 !important;
    padding-left: 0 !important;
  }

	.site-header .wp-block-navigation.items-justified-center{
		order: 3;
		margin: 0px 0px 0 20px;
	}

	.wp-block-site-logo.is-default-size img{
		width: auto !important;
		height: 27px !important;
		margin-right: 10px;
	}

	.site-header .wp-block-buttons{
		gap: .25rem !important;
	}

	.wp-block-button__link{
    padding-top: .5rem !important;
    padding-right: 1.375rem !important;
    padding-bottom: .5rem !important;
    padding-left: 1.375rem !important;
  }

	/* titulos */
  .wp-elements-88e93f142fef7f90f06c13e77ced1c1b,
  .wp-block-heading{
  	font-size: 2.5rem !important;
  }

  .wp-block-group.alignwide.is-nowrap.is-layout-flex.wp-container-core-group-is-layout-1b11d160.wp-block-group-is-layout-flex{
  	flex-direction: column;
  }


	/* Seções com bordas arredondadas */
	.wp-container-core-group-is-layout-1d77b91b,
	.wp-container-core-group-is-layout-09ebf0d3,
	.wp-container-core-group-is-layout-f0bb96a6{
		border-radius: 0px !important;
	}
	.wp-container-core-group-is-layout-a17962c5{
		border-radius: 20px !important;
	}


	/* Footer */
  .site-footer .wp-block-image a{
  	display: flex
  }
  .site-footer .wp-block-image img{
  	margin: 0 auto;
  }

  .wp-block-group.wp-elements-ba42b2b4a6d85de76e15402cb51923dc.wp-container-core-group-is-layout-289c189c{
		--bs-gutter-x: 1.5rem;
		padding-right: calc(var(--bs-gutter-x)* .5) !important;
    padding-left: calc(var(--bs-gutter-x)* .5) !important;
    justify-content: center;
  }

}
