/*
Theme Name: Visual Fachadas Voltagem v1.0.23
Theme URI: https://visualfachadas.servicos.top
Author: Visual Fachadas LTDA
Description: Tema institucional de alta voltagem para a Visual Fachadas — comunicação visual, fachadas, toldos, letras caixa, luminosos LED, plotagem, banners e material impresso em Jataí, Goiás. Design dark-dominant com acentos elétricos em azul e âmbar, otimizado para conversão via WhatsApp.
Version: 1.0.23
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: visual-fachadas-voltagem
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-site-editing, one-column, wide-blocks, dark, translation-ready
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ==========================================================================
   0. FOUNDATIONS — overflow safety for sticky positioning
   ========================================================================== */

:root,
body,
.wp-site-blocks {
	overflow: visible;
}

/* ==========================================================================
   1. STICKY HEADER
   ========================================================================== */

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

/* Pseudo-element backdrop — keeps the header itself free of backdrop-filter
   so the mobile nav overlay's position:fixed still targets the viewport. */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

.wp-site-blocks > header.wp-block-template-part::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	transition: background 0.4s ease, box-shadow 0.4s ease;
}

body.is-scrolled .wp-site-blocks > header.wp-block-template-part::before {
	background: var(--wp--preset--color--surface);
	box-shadow: 0 1px 0 rgba(0, 102, 255, 0.12);
}

/* Shrink on scroll */
.site-header {
	transition: padding 0.25s ease;
}

body.is-scrolled .site-header {
	padding-block: var(--wp--preset--spacing--20);
}

/* ==========================================================================
   2. MOBILE HAMBURGER OVERLAY
   ========================================================================== */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	background: var(--wp--preset--color--black-space) !important;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: var(--wp--preset--spacing--40);
	align-items: flex-start;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--chrome-silver);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--amber);
}

/* Hamburger toggle icon color on dark backgrounds */
.wp-block-navigation__responsive-container-open svg {
	fill: var(--wp--preset--color--chrome-silver);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
	fill: var(--wp--preset--color--chrome-silver);
}

/* ==========================================================================
   3. GLOBAL TYPOGRAPHY POLISH
   ========================================================================== */

/* Smooth rendering on dark backgrounds */
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Heading text-shadow for depth on dark surfaces */
h1, .wp-block-post-title,
h2, h3 {
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Strong / bold within body text */
strong, b {
	color: var(--wp--preset--color--chrome-light);
	font-weight: 600;
}

/* Small / caption text */
small,
figcaption,
.wp-element-caption {
	color: var(--wp--preset--color--text-muted);
	font-size: var(--wp--preset--font-size--small);
}

/* ==========================================================================
   4. LINK STYLES
   ========================================================================== */

a {
	transition: color 0.25s ease;
}

/* Underline offset for inline links (not nav, not buttons) */
.wp-block-paragraph a,
.wp-block-list a,
.wp-block-quote a {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	text-decoration-color: var(--wp--preset--color--amber-dark);
}

.wp-block-paragraph a:hover,
.wp-block-list a:hover,
.wp-block-quote a:hover {
	text-decoration-color: var(--wp--preset--color--electric-blue);
}

/* ==========================================================================
   5. BUTTON VARIANTS & POLISH
   ========================================================================== */

/* Base button transition */
.wp-block-button .wp-block-button__link {
	transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
	cursor: pointer;
}

/* Primary amber button glow */
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	box-shadow: 0 0 16px rgba(255, 170, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 30px rgba(255, 170, 0, 0.35), 0 4px 16px rgba(0, 0, 0, 0.4);
}

/* Outline button style */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.25);
	color: var(--wp--preset--color--white);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--electric-blue);
	color: var(--wp--preset--color--electric-blue);
	box-shadow: 0 0 20px rgba(0, 102, 255, 0.35);
}

/* WhatsApp-green button variant (utility class) */
.wp-block-button.is-style-whatsapp .wp-block-button__link {
	background-color: var(--wp--preset--color--whatsapp-green);
	color: var(--wp--preset--color--white);
	box-shadow: 0 0 16px rgba(37, 211, 102, 0.25), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wp-block-button.is-style-whatsapp .wp-block-button__link:hover {
	filter: brightness(1.1);
	box-shadow: 0 0 28px rgba(37, 211, 102, 0.4), 0 4px 16px rgba(0, 0, 0, 0.4);
	transform: translateY(-2px);
}

/* WhatsApp SVG icon injected via CSS ::before on all whatsapp-style buttons */
.wp-block-button.is-style-whatsapp .wp-block-button__link::before {
	content: "";
	display: inline-block;
	width: 18px;
	height: 18px;
	margin-right: 6px;
	vertical-align: middle;
	background: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E");
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

/* Orange urgency button variant */
.wp-block-button.is-style-urgency .wp-block-button__link {
	background-color: var(--wp--preset--color--orange-urgency);
	color: var(--wp--preset--color--white);
	box-shadow: 0 0 16px rgba(255, 69, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.wp-block-button.is-style-urgency .wp-block-button__link:hover {
	filter: brightness(1.1);
	box-shadow: 0 0 28px rgba(255, 69, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.4);
	transform: translateY(-2px);
}

/* ==========================================================================
   6. IMAGE TREATMENTS
   ========================================================================== */

/* Subtle edge-glow on images against dark surfaces */
.wp-block-image img {
	transition: filter 0.4s ease, box-shadow 0.4s ease;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.wp-block-image img:hover {
	box-shadow: 0 4px 24px rgba(0, 102, 255, 0.2), 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Gallery items — tighter treatment */
.wp-block-gallery .wp-block-image img {
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.wp-block-gallery .wp-block-image img:hover {
	box-shadow: 0 2px 16px rgba(0, 102, 255, 0.25), 0 1px 8px rgba(0, 0, 0, 0.5);
	transform: scale(1.02);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Cover block image treatment */
.wp-block-cover {
	overflow: hidden;
}

.wp-block-cover img {
	transition: transform 8s ease;
}

.wp-block-cover:hover img {
	transform: scale(1.03);
}

/* ==========================================================================
   7. CARD SURFACES — modular blocks for services, portfolio, etc.
   ========================================================================== */

/* Service/product cards on surface backgrounds */
.wp-block-group.has-surface-background-color,
.wp-block-column.has-surface-background-color {
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	border: 1px solid transparent;
}

.wp-block-group.has-surface-background-color:hover,
.wp-block-column.has-surface-background-color:hover {
	border-color: rgba(0, 102, 255, 0.2);
	box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1), 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Surface-light card variant */
.wp-block-group.has-surface-light-background-color,
.wp-block-column.has-surface-light-background-color {
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(0, 102, 255, 0.08);
}

.wp-block-group.has-surface-light-background-color:hover,
.wp-block-column.has-surface-light-background-color:hover {
	border-color: rgba(255, 170, 0, 0.2);
	box-shadow: 0 4px 20px rgba(255, 170, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Drag-and-drop visual-card class for jQuery UI Sortable */
.visual-card,
.portfolio-item,
.content-block {
	transition: box-shadow 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}

.visual-card.ui-sortable-helper,
.portfolio-item.ui-sortable-helper,
.content-block.ui-sortable-helper {
	box-shadow: 0 8px 40px rgba(0, 102, 255, 0.25), 0 4px 16px rgba(0, 0, 0, 0.5);
	transform: scale(1.02) rotate(1deg);
	z-index: 999;
}

.visual-card.ui-sortable-placeholder,
.portfolio-item.ui-sortable-placeholder,
.content-block.ui-sortable-placeholder {
	visibility: visible !important;
	border: 2px dashed var(--wp--preset--color--electric-blue);
	background: rgba(0, 102, 255, 0.05);
	border-radius: 4px;
}

/* ==========================================================================
   8. SEPARATOR / DIVIDER GLOW
   ========================================================================== */

.wp-block-separator {
	border: none;
	opacity: 1;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
	width: 120px;
	margin-left: auto;
	margin-right: auto;
}

.wp-block-separator.is-style-wide {
	box-shadow: 0 0 8px rgba(0, 102, 255, 0.08);
}

/* ==========================================================================
   9. QUOTE / PULLQUOTE ELECTRIC TREATMENT
   ========================================================================== */

.wp-block-quote {
	position: relative;
	padding-left: var(--wp--preset--spacing--40);
}

.wp-block-quote::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(to bottom, var(--wp--preset--color--amber), var(--wp--preset--color--electric-blue));
	border-radius: 2px;
	box-shadow: 0 0 12px rgba(255, 170, 0, 0.2);
}

.wp-block-pullquote {
	border-top: 3px solid var(--wp--preset--color--electric-blue);
	border-bottom: 3px solid var(--wp--preset--color--electric-blue);
	box-shadow: 0 -3px 12px rgba(0, 102, 255, 0.08), 0 3px 12px rgba(0, 102, 255, 0.08);
}

.wp-block-pullquote blockquote p {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700;
	color: var(--wp--preset--color--white);
}

.wp-block-pullquote cite {
	color: var(--wp--preset--color--text-muted);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-style: normal;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* ==========================================================================
   10. NAVIGATION POLISH
   ========================================================================== */

.wp-block-navigation a {
	position: relative;
	transition: color 0.25s ease;
}

.wp-block-navigation a::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: var(--wp--preset--color--electric-blue);
	box-shadow: 0 0 8px rgba(0, 102, 255, 0.35);
	transition: width 0.3s ease;
}

.wp-block-navigation a:hover {
	color: var(--wp--preset--color--white);
}

.wp-block-navigation a:hover::after {
	width: 70%;
}

/* Current page indicator */
.wp-block-navigation .current-menu-item > a {
	color: var(--wp--preset--color--white);
}

.wp-block-navigation .current-menu-item > a::after {
	width: 70%;
	background: var(--wp--preset--color--amber);
	box-shadow: 0 0 8px rgba(255, 170, 0, 0.3);
}

/* ==========================================================================
   11. SITE TITLE GLOW
   ========================================================================== */

.wp-block-site-title a {
	text-decoration: none;
	transition: text-shadow 0.3s ease;
}

.wp-block-site-title a:hover {
	text-shadow: 0 0 20px rgba(200, 200, 200, 0.15);
}

/* ==========================================================================
   12. POST / PAGE TITLE
   ========================================================================== */

.wp-block-post-title a {
	text-decoration: none;
	color: inherit;
	transition: color 0.25s ease;
}

.wp-block-post-title a:hover {
	color: var(--wp--preset--color--amber);
}

/* ==========================================================================
   13. CHIP / TAG STYLES (x-small text on dark chip backgrounds)
   ========================================================================== */

.has-chip-bg-background-color {
	border: 1px solid rgba(0, 102, 255, 0.12);
}

/* ==========================================================================
   14. COLUMNS — electric-blue border accent on hover (optional cards layout)
   ========================================================================== */

.wp-block-columns.is-style-cards-glow > .wp-block-column {
	border: 1px solid rgba(0, 102, 255, 0.08);
	border-radius: 4px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wp-block-columns.is-style-cards-glow > .wp-block-column:hover {
	border-color: rgba(0, 102, 255, 0.25);
	box-shadow: 0 0 20px rgba(0, 102, 255, 0.08);
}

/* ==========================================================================
   15. COVER OVERLAY — enhanced depth on dark theme
   ========================================================================== */

.wp-block-cover .wp-block-cover__inner-container {
	z-index: 2;
}

/* Scanline texture overlay (utility class for hero sections) */
.has-scanlines::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: repeating-linear-gradient(
		to bottom,
		transparent 0px,
		transparent 3px,
		rgba(0, 102, 255, 0.03) 3px,
		rgba(0, 102, 255, 0.03) 4px
	);
	pointer-events: none;
}

/* ==========================================================================
   16. FORM INPUTS (for contact/orçamento forms)
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select {
	background: var(--wp--preset--color--surface);
	border: 1px solid rgba(0, 102, 255, 0.15);
	border-radius: 4px;
	color: var(--wp--preset--color--chrome-silver);
	font-family: var(--wp--preset--font-family--space-grotesk);
	font-size: var(--wp--preset--font-size--medium);
	padding: 0.75rem 1rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
	outline: none;
	border-color: var(--wp--preset--color--electric-blue);
	box-shadow: 0 0 12px rgba(0, 102, 255, 0.15);
}

input::placeholder,
textarea::placeholder {
	color: var(--wp--preset--color--text-muted);
	opacity: 0.7;
}

/* ==========================================================================
   17. SELECTION COLOR
   ========================================================================== */

::selection {
	background: var(--wp--preset--color--electric-blue);
	color: var(--wp--preset--color--white);
}

/* ==========================================================================
   18. SCROLL-BAR STYLING (thin, themed)
   ========================================================================== */

* {
	scrollbar-width: thin;
	scrollbar-color: var(--wp--preset--color--surface-light) var(--wp--preset--color--black-space);
}

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	background: var(--wp--preset--color--black-space);
}

::-webkit-scrollbar-thumb {
	background: var(--wp--preset--color--surface-light);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: var(--wp--preset--color--electric-blue);
}

/* ==========================================================================
   19. FOCUS STYLES — electric blue ring
   ========================================================================== */

:focus-visible {
	outline: 2px solid var(--wp--preset--color--electric-blue);
	outline-offset: 2px;
}

.wp-block-button .wp-block-button__link:focus-visible {
	outline: 2px solid var(--wp--preset--color--white);
	outline-offset: 3px;
}

/* ==========================================================================
   20. WHATSAPP CHIP COMPONENT STYLES
   ========================================================================== */

.whatsapp-chip {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
	text-decoration: none;
	background: var(--wp--preset--color--chip-bg);
	border: 1px solid rgba(0, 102, 255, 0.08);
	border-radius: 4px;
	transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.whatsapp-chip:hover {
	background: rgba(0, 102, 255, 0.06);
	border-color: rgba(0, 102, 255, 0.2);
	box-shadow: 0 2px 12px rgba(0, 102, 255, 0.08);
}

/* ==========================================================================
   21. UTILITY — electric glow decorative borders
   ========================================================================== */

.has-electric-border-top {
	border-top: 2px solid var(--wp--preset--color--electric-blue);
	box-shadow: 0 -2px 12px rgba(0, 102, 255, 0.1);
}

.has-amber-border-top {
	border-top: 2px solid var(--wp--preset--color--amber);
	box-shadow: 0 -2px 12px rgba(255, 170, 0, 0.1);
}

.has-electric-border-left {
	border-left: 3px solid var(--wp--preset--color--electric-blue);
}

.has-amber-border-left {
	border-left: 3px solid var(--wp--preset--color--amber);
}

/* ==========================================================================
   22. TABLE STYLING
   ========================================================================== */

.wp-block-table table {
	border-collapse: collapse;
}

.wp-block-table td,
.wp-block-table th {
	border-color: var(--wp--preset--color--surface-light);
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
}

.wp-block-table th {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--wp--preset--color--white);
	background: var(--wp--preset--color--surface);
}

.wp-block-table tbody tr:hover {
	background: rgba(0, 102, 255, 0.04);
}

/* ==========================================================================
   23. DETAILS / ACCORDION
   ========================================================================== */

details.wp-block-details {
	border: 1px solid var(--wp--preset--color--surface-light);
	border-radius: 4px;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	transition: border-color 0.3s ease;
}

details.wp-block-details[open] {
	border-color: rgba(0, 102, 255, 0.2);
}

details.wp-block-details summary {
	font-family: var(--wp--preset--font-family--montserrat);
	font-weight: 700;
	color: var(--wp--preset--color--white);
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

details.wp-block-details summary::after {
	content: "+";
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--amber);
	transition: transform 0.3s ease;
}

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

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

/* ==========================================================================
   24. FOOTER CREDIT
   ========================================================================== */

.wp-block-template-part footer .wp-block-paragraph a {
	text-decoration-color: rgba(255, 170, 0, 0.3);
}

.wp-block-template-part footer .wp-block-paragraph a:hover {
	text-decoration-color: var(--wp--preset--color--electric-blue);
}

/* ==========================================================================
   25. RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 781px) {
	/* Tighten heading tracking on small screens */
	h1 {
		letter-spacing: 0.02em;
		word-break: break-word;
	}

	h2 {
		letter-spacing: 0.01em;
	}

	/* Stack columns with gap */
	.wp-block-columns {
		gap: var(--wp--preset--spacing--40) !important;
	}
}

@media (max-width: 600px) {
	/* Reduce button padding on small screens */
	.wp-block-button .wp-block-button__link {
		padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
		font-size: var(--wp--preset--font-size--x-small);
	}
}

/* ==========================================================================
   LOOP LAYOUT UTILITIES
   ========================================================================== */
/* These classes are wired to the wp:query blocks emitted by content/pages and
   templates. Do not rename. Tuned to theme.json tokens. */

/* Horizontal scrollable rail */
.wp-block-query.is-style-loop-rail .wp-block-post-template {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	padding-bottom: var(--wp--preset--spacing--20);
}
.wp-block-query.is-style-loop-rail .wp-block-post-template > * {
	flex: 0 0 320px;
	scroll-snap-align: start;
}

/* Compact list with hairline row dividers */
.wp-block-query.is-style-loop-list .wp-block-post-template > * {
	border-bottom: 1px solid var(--wp--preset--color--surface-light);
	padding-block: var(--wp--preset--spacing--30);
}
.wp-block-query.is-style-loop-list .wp-block-post-template > *:last-child {
	border-bottom: 0;
}

/* Zigzag — flip the columns inside every even entry */
.wp-block-query.is-style-loop-zigzag .wp-block-post-template > *:nth-child(even) .wp-block-columns {
	flex-direction: row-reverse;
}

/* Timeline — vertical line with node markers per entry */
.wp-block-query.is-style-loop-timeline .wp-block-post-template {
	position: relative;
	padding-inline-start: 2.5rem;
}
.wp-block-query.is-style-loop-timeline .wp-block-post-template::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0.5rem;
	width: 2px;
	background: var(--wp--preset--color--surface-light);
	opacity: 0.4;
}
.wp-block-query.is-style-loop-timeline .wp-block-post-template > * {
	position: relative;
}
.wp-block-query.is-style-loop-timeline .wp-block-post-template > *::before {
	content: "";
	position: absolute;
	inset-inline-start: -2.25rem;
	inset-block-start: 0.6rem;
	width: 1rem;
	height: 1rem;
	border: 2px solid var(--wp--preset--color--electric-blue);
	border-radius: 50%;
	background: var(--wp--preset--color--black-space);
}

/* Magazine — first child spans 2 columns of the grid */
.wp-block-query.is-style-loop-magazine .wp-block-post-template > *:first-child {
	grid-column: span 2;
}
@media (max-width: 600px) {
	.wp-block-query.is-style-loop-magazine .wp-block-post-template > *:first-child {
		grid-column: auto;
	}
}

/* ==========================================================================
   26. BUDGET FORM SMART MICROPHONE
   ========================================================================== */
.vfachadas-budget-form__mic {
	position: absolute;
	bottom: 12px;
	right: 12px;
	background: transparent;
	border: 1px solid rgba(0, 102, 255, 0.2);
	color: #8899aa;
	width: 32px;
	height: 32px;
	border-radius: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	padding: 0;
	transition: background-color 0.2s, color 0.2s;
}

.vfachadas-budget-form__mic:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.05);
}

.vfachadas-budget-form__mic.is-listening {
	color: #EF4444 !important;
	border-color: rgba(239, 68, 68, 0.4) !important;
	background: rgba(239, 68, 68, 0.1) !important;
	animation: vfMicPulse 1.2s infinite ease-in-out;
}

.vfachadas-budget-form__mic.is-processing {
	color: #3B82F6 !important;
	border-color: rgba(59, 130, 246, 0.4) !important;
	background: rgba(59, 130, 246, 0.1) !important;
	animation: vfMicSpin 1s linear infinite;
}