/*
Theme Name: Contabilidade Pro
Theme URI: https://github.com/silvaitamar
Author: Itamar Silva
Author URI: https://github.com/silvaitamar
Description: Tema baseado em blocos para site de Contabilidade.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: contabilidade-pro
Tags: custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, blog */

[data-preview="roxo"] {
  --wp--preset--color--accent-1: #7322c3;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}

.transition-colors {
  transition-property: color,background-color,border-color,text-decoration-color,fill,stroke;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
}

.duration-300 {
  animation-duration: .3s;
}

.duration-300 {
  transition-duration: .3s;
}

.hover-translate-y-default:hover{
	transform: translateY(-.25rem);
}

.hover-scale-default:hover,
.hover-group:hover .hover-scale-default{
	transform: scale(1.05);
}

.hover-featured-image-scale-deafult .wp-post-image{
	transition-property: transform;
	transition-timing-function: cubic-bezier(.4,0,.2,1);
	transition-duration: .3s;
}

.hover-featured-image-scale-deafult:hover .wp-post-image{
	transform: scale(1.05);
}

/* Shadows */
.shadow-primary{
	box-shadow: var(--wp--preset--shadow--shadow-primary);
}

.shadow-sm{
	box-shadow: var(--wp--preset--shadow--shadow-sm);
}

.shadow-md{
	box-shadow: var(--wp--preset--shadow--shadow-md);
}

.shadow-lg{
	box-shadow: var(--wp--preset--shadow--shadow-lg);
}

.hover-shadow-primary:hover{
	box-shadow: var(--wp--preset--shadow--shadow-primary);
}

.hover-shadow-md:hover{
	box-shadow: var(--wp--preset--shadow--shadow-md);
}

.hover-shadow-lg:hover{
	box-shadow: var(--wp--preset--shadow--shadow-lg);
}

/* Utilityes */
.overflow-hidden{
	overflow: hidden;
}

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Iframe styles */
iframe{
  border-radius: inherit;
  width: 100%;
}

/* Transition colors */
.wp-block-navigation .wp-block-navigation-item__content{
	transition-property: color,background-color,border-color,text-decoration-color,fill,stroke;
	transition-timing-function: cubic-bezier(.4,0,.2,1);
	transition-duration: .15s;
}

/* Focus styles */
/*:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}*/

/* Navigation link hover, focus and active */
.wp-block-navigation .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation-item__content:focus,
.wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
  color: var(--wp--preset--color--accent-1);
}


/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/* Block Cover border radius */
.wp-block-cover__background{
	border-radius: inherit;
}

/* Background Colors */
.bg-primary-foreground\/10:not(.wp-block-button) {
  background-color: rgba(255, 255, 255, .1);
}

/* Button styles */
.wp-block-button.is-style-outline
  .wp-block-button__link:hover,
.wp-block-button.is-style-outline
  .wp-block-button__link:focus {
  background-color: var(--wp--preset--color--white);
  border-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--accent-1);
}

.wp-block-button.bg-primary-foreground\/10 .wp-block-button__link {
  background-color: rgba(255, 255, 255, .1);
}

/* Cards */
.card-hover-title:hover .wp-block-post-title{
	color: var(--wp--preset--color--accent-1);
}
.card-hover-learn-more:hover .learn-more {
  opacity:1;
}

.learn-more {
  opacity:0;
  transition: all .3s ease;
}

.servico-template-default .header-title .servico-icone-svg{
  width: 40px;
  height: 40px;
  stroke: var(--wp--preset--color--white);
}

.wp-block-query .wp-block-post > .wp-block-tiptip-hyperlink-group-block{
	min-height: 100%;
	display: flex;
}

.wp-block-outermost-social-sharing:not(.is-style-logos-only) .outermost-social-sharing-link{
	background-color: transparent !important;
}

.single-post h2.wp-block-heading {
  font-size: var(--wp--preset--font-size--large);
}

.single-post h3.wp-block-heading,
.single-post h4.wp-block-heading,
.single-post h5.wp-block-heading,
.single-post h6.wp-block-heading {
  font-size: var(--wp--preset--font-size--medium);
  font-weight: 500;
}

.page-template-pol-ticas h2.wp-block-heading {
  font-size: 1.5rem;
}

.page-template-pol-ticas h3.wp-block-heading,
.page-template-pol-ticas h4.wp-block-heading,
.page-template-pol-ticas h5.wp-block-heading,
.page-template-pol-ticas h6.wp-block-heading {
  font-size: var(--wp--preset--font-size--large);
  font-weight: 500;
}

ul.wp-block-list li::marker{
	color: var(--wp--preset--color--accent-1);
}

/* Footer */
footer.wp-block-template-part{
	margin-top: 0;
}

/* Serviços */
/* Arquivo */
.service-icon-group{
	background-color: var(--wp--preset--color--accent-1-10);
}

.card-hover-icon-bg:hover .service-icon-group{
	background-color: var(--wp--preset--color--accent-1-20);
}

.post-type-archive-servico .service-icon-svg,
.wp-block-post-template .type-servico .service-icon-svg{
	width: 28px;
	height: 28px;
}

.related-services .wp-block-post-template .type-servico .service-icon-svg{
	width: 24px;
	height: 24px;
}

.post-type-archive-servico .wp-block-list {
	padding-left: 14px;
}

.post-type-archive-servico .wp-block-list li::marker {
  color: var(--wp--preset--color--accent-6);
  font-size: 1.05rem;
}

.post-type-archive-servico .wp-block-list li{
	margin-bottom: .25rem;
	list-style: disc;
}

.post-type-archive-servico .wp-block-list li:last-child{
	margin-bottom: 0;
}

/* Individual */
.single-servico .header-title .service-icon-svg{
	width: 40px;
	height: 40px;
	stroke: var(--wp--preset--color--white);
}

.single-servico .service-included{
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
}

.single-servico .service-included li{
	width: 100%;
	display: flex;
  	align-items: center;
	padding: 1rem 1rem 1rem calc(1.5rem + 20px);
	border-radius: .75rem;
	background-color: #6270841a;
	position: relative;
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
}

.single-servico .service-included li::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;

	background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'>\<path d='M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192Z' fill='none' stroke='%230846aa' stroke-miterlimit='10' stroke-width='32'/>\<path d='M352 176 217.6 336 160 272' fill='none' stroke='%230846aa' stroke-linecap='round' stroke-linejoin='round' stroke-width='32'/>\</svg>");
	
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

/* Details Block */
.wp-block-details summary{
	position: relative;
}

.wp-block-details summary::marker{
	content: none;
}

.wp-block-details summary::after {
	content: "";
	display: block;
	width: 16px;
	height: 16px;

	background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231D2530' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-down-icon lucide-chevron-down'>\<path d='m6 9 6 6 6-6'/>\</svg>");
	
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
}

.wp-block-details:hover summary{
	color: var(--wp--preset--color--accent-1);
}

.wp-block-details:hover summary::after{
	background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230846aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-chevron-down-icon lucide-chevron-down'>\<path d='m6 9 6 6 6-6'/>\</svg>");
}

.wp-block-details[open] summary::after{
	transform: translateY(-50%) rotateX(180deg);
}