/*
Theme Name: Blocksy Child
Template: blocksy
Version: 2026.09.22
*/

/* GIOTAS-COM-002 — accessibility */

/*
 * Screen-reader / skip-link text: WAVE evaluates contrast on clipped text too.
 * Use explicit #000 on #fff (passes 21:1) — visible only on keyboard focus.
 */
.screen-reader-text,
a.skip-link.screen-reader-text,
.giotas-a11y-page-title.screen-reader-text {
	background-color: #ffffff !important;
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	color: #000000 !important;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.screen-reader-text:focus-visible,
a.skip-link.screen-reader-text:focus,
a.skip-link.screen-reader-text:focus-visible {
	background-color: #000000 !important;
	clip: auto !important;
	clip-path: none !important;
	color: #ffffff !important;
	display: block;
	font-size: 1rem;
	height: auto;
	left: 6px;
	line-height: normal;
	padding: 12px 16px;
	text-decoration: none;
	top: 6px;
	width: auto;
	z-index: 100000;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
	outline: 3px solid #005fcc;
	outline-offset: 2px;
}

/* Brand orange — darker for 4.5:1 on light backgrounds */
.has-palette-color-1-color,
.has-text-color.has-palette-color-1-color {
	color: #8a3a12 !important;
}

.ct-button-ghost,
.ct-button-primary,
.wp-block-button__link.has-palette-color-1-background-color {
	background-color: #8a3a12 !important;
	border-color: #8a3a12 !important;
	color: #ffffff !important;
}

#giotas-espa-dialog {
	border: none;
	border-radius: 8px;
	padding: 24px;
	max-width: 560px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

#giotas-espa-dialog::backdrop {
	background: rgba(0, 0, 0, 0.55);
}

#giotas-espa-dialog-close {
	margin-top: 12px;
}

/*
 * Text on background photos — WAVE samples image pixels; text-shadow is not enough.
 * Semi-opaque panel behind copy gives a stable contrast ratio (WCAG technique).
 */
.elementor-1173 .elementor-element.elementor-element-c1d28a7,
.elementor-1748 .elementor-element.elementor-element-6ba9344 {
	background-color: rgba(44, 30, 24, 0.88) !important;
	border-radius: 8px;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 920px;
	padding: 2rem 2.5rem !important;
}

/* Contact hero — one centered panel (HTML wrapper injected in giotas-a11y.php) */
.elementor-1748 .elementor-element.elementor-element-acaf148 {
	align-items: center !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
}

.elementor-1748 .giotas-hero-a11y-panel {
	background-color: rgba(44, 30, 24, 0.88);
	border-radius: 8px;
	box-sizing: border-box;
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: 920px;
	padding: 2rem 2.5rem;
	text-align: center;
	width: min(920px, calc(100% - 3rem));
}

.elementor-1748 .giotas-hero-a11y-panel > .elementor-element-5523439,
.elementor-1748 .giotas-hero-a11y-panel > .elementor-element-98a04e1 {
	background: transparent !important;
	margin: 0 !important;
	max-width: 100% !important;
	padding: 0 !important;
	width: 100% !important;
}

.elementor-1748 .giotas-hero-a11y-panel > .elementor-element-5523439 {
	margin-bottom: 0.5rem !important;
}

.elementor-1748 .giotas-hero-a11y-panel > .elementor-element-5523439 .e-con-inner,
.elementor-1748 .giotas-hero-a11y-panel > .elementor-element-98a04e1 .e-con-inner {
	max-width: 100% !important;
	padding: 0 !important;
	width: 100% !important;
}

.elementor-1173 .elementor-element.elementor-element-eddbfc4 .elementor-heading-title,
.elementor-1173 .elementor-element.elementor-element-eddbfc4 .elementor-widget-container,
.elementor-1173 .elementor-element.elementor-element-eddbfc4 .elementor-widget-container p,
.elementor-1173 .elementor-element.elementor-element-eddbfc4 a,
.elementor-1748 .elementor-element.elementor-element-cbe0292 .elementor-heading-title,
.elementor-1748 .elementor-element.elementor-element-cbe0292 .elementor-widget-container,
.elementor-1748 .elementor-element.elementor-element-cbe0292 .elementor-widget-container p,
.elementor-1748 .elementor-element.elementor-element-cbe0292 a,
.elementor-1748 .elementor-element.elementor-element-acaf148 .elementor-element-386786c .elementor-heading-title,
.elementor-1748 .elementor-element.elementor-element-acaf148 .elementor-element-f13a6b5 .elementor-widget-container,
.elementor-1748 .elementor-element.elementor-element-acaf148 .elementor-element-f13a6b5 .elementor-widget-container p {
	color: #ffffff !important;
	text-shadow: none !important;
}

/* Contact — orange heading on white panel needs darker orange */
.elementor-1748 .elementor-element.elementor-element-720d018 .elementor-element-1dfb1a7 .elementor-heading-title {
	color: #8a3a12 !important;
	text-shadow: none !important;
}
