/*
 Theme Name:   Astra Child
 Theme URI:    http://wpastra.com/
 Description:  Astra Child Theme para Dr. Elcio — v2.0 Premium
 Author:       Cleiton da Silva Rosa
 Template:     astra
 Version:      2.0.0
 Text Domain:  astra-child
*/

/* ==========================================================================
   1. DESIGN SYSTEM — VARIÁVEIS PREMIUM
   ========================================================================== */
:root {
	/* Paleta */
	--color-primary:      #1A365D;
	--color-primary-dark: #0F2540;
	--color-secondary:    #2B6CB0;
	--color-accent:       #38B2AC;
	--color-accent-dark:  #2C9A94;
	--color-text-main:    #2D3748;
	--color-text-muted:   #718096;
	--color-bg-light:     #F7FAFC;
	--color-bg-section:   #EDF2F7;
	--color-white:        #FFFFFF;

	/* Gradientes */
	--gradient-primary: linear-gradient(135deg, #1A365D 0%, #2B6CB0 100%);
	--gradient-accent:  linear-gradient(135deg, #38B2AC 0%, #2B6CB0 100%);
	--gradient-hero:    linear-gradient(105deg, rgba(26,54,93,0.88) 0%, rgba(26,54,93,0.50) 55%, rgba(26,54,93,0.10) 100%);
	--gradient-footer:  linear-gradient(135deg, #0F2540 0%, #1A365D 60%, #1E3A6E 100%);

	/* Tipografia */
	--font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	/* Radius */
	--radius-sm:   8px;
	--radius-md:   16px;
	--radius-lg:   24px;
	--radius-full: 9999px;

	/* Sombras */
	--shadow-xs: 0 2px 8px  rgba(26,54,93,0.06);
	--shadow-sm: 0 4px 20px rgba(26,54,93,0.08);
	--shadow-md: 0 10px 40px rgba(26,54,93,0.12);
	--shadow-lg: 0 20px 60px rgba(26,54,93,0.16);

	/* Transições */
	--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
body {
	font-family: var(--font-primary);
	background-color: var(--color-bg-light);
	-webkit-font-smoothing: antialiased;
}

body, p, a, li, span {
	font-family: var(--font-primary);
	color: var(--color-text-main);
	line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-primary);
	color: var(--color-primary);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

p { color: var(--color-text-muted); }
a { transition: var(--transition); }

.site-content { background-color: var(--color-bg-light); }
.ast-container  { background: var(--color-bg-light); }

/* ==========================================================================
   3. ANIMAÇÕES DE SCROLL (classes aplicadas via JS)
   ========================================================================== */
.js-ready .elcio-reveal {
	opacity: 0;
	transform: translateY(38px);
	transition: opacity 0.75s cubic-bezier(0.25,0.8,0.25,1),
	            transform 0.75s cubic-bezier(0.25,0.8,0.25,1);
}

.js-ready .elcio-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* Delays em cascata */
.elcio-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.elcio-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.elcio-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.elcio-stagger > *:nth-child(4) { transition-delay: 0.35s; }
.elcio-stagger > *:nth-child(5) { transition-delay: 0.45s; }
.elcio-stagger > *:nth-child(6) { transition-delay: 0.55s; }

/* ==========================================================================
   4. HEADER PREMIUM — TRANSPARENTE + STICKY SCROLL
   ========================================================================== */
#masthead,
.ast-transparent-header #masthead,
.ast-theme-transparent-header #masthead {
	position: absolute !important;
	top: 0; left: 0;
	width: 100%;
	background: transparent !important;
	background-color: transparent !important;
	border-bottom: none !important;
	z-index: 999;
	transition: background 0.4s ease, box-shadow 0.4s ease, position 0.4s ease;
}

/* Estado com scroll — JS adiciona .scrolled */
#masthead.scrolled {
	position: fixed !important;
	background: rgba(255, 255, 255, 0.97) !important;
	backdrop-filter: blur(14px) !important;
	-webkit-backdrop-filter: blur(14px) !important;
	box-shadow: 0 2px 20px rgba(26, 54, 93, 0.12) !important;
}

/* Menu links ficam azuis no header branco */
#masthead.scrolled .main-header-menu > .menu-item > a,
#masthead.scrolled .ast-builder-menu-1 .main-header-menu .menu-item > a,
#masthead.scrolled .ast-builder-menu-1 .menu-item > a {
	color: var(--color-primary) !important;
	text-shadow: none !important;
}

#masthead.scrolled .main-header-menu > .menu-item > a:hover,
#masthead.scrolled .ast-builder-menu-1 .main-header-menu .menu-item:hover > a {
	color: var(--color-accent) !important;
	background: rgba(56, 178, 172, 0.10) !important;
}

.ast-theme-transparent-header .ast-primary-header-bar,
.ast-theme-transparent-header .site-primary-header-wrap,
.ast-theme-transparent-header .ast-builder-grid-row,
.ast-theme-transparent-header .site-header-primary-section-left,
.ast-theme-transparent-header .site-header-primary-section-right {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
}

.main-header-menu > .menu-item > a,
.ast-builder-menu-1 .main-header-menu .menu-item > a,
.ast-builder-menu-1 .menu-item > a {
	color: #ffffff !important;
	font-weight: 500 !important;
	font-size: 0.88rem !important;
	letter-spacing: 0.03em;
	text-shadow: 0 1px 4px rgba(0,0,0,0.45);
	padding: 6px 14px !important;
	border-radius: var(--radius-full) !important;
	transition: var(--transition) !important;
}

.main-header-menu > .menu-item > a:hover,
.ast-builder-menu-1 .main-header-menu .menu-item:hover > a {
	color: var(--color-accent) !important;
	background: rgba(255,255,255,0.10) !important;
	text-shadow: none !important;
}

/* Contraste Mobile Menu - popup aberto */
.ast-mobile-popup-drawer .main-header-menu > .menu-item > a,
.ast-mobile-popup-drawer .ast-builder-menu-mobile .menu-item > a,
.ast-mobile-popup-inner .menu-item > a {
	color: var(--color-primary-dark) !important;
	text-shadow: none !important;
}

.ast-mobile-popup-drawer .main-header-menu > .menu-item > a:hover,
.ast-mobile-popup-drawer .ast-builder-menu-mobile .menu-item > a:hover,
.ast-mobile-popup-inner .menu-item > a:hover {
	color: var(--color-accent) !important;
	background: rgba(0, 0, 0, 0.04) !important;
}

/* ==========================================================================
   5. CARDS DE SERVIÇOS — 4 colunas da home
   ========================================================================== */
.wp-block-group:has(.wp-block-columns > .wp-block-column > h4) {
	padding-bottom: 5rem !important; /* Espaço pro fundo da seção não ficar colado nos cards */
}

.entry-content .wp-block-columns:has(.wp-block-column > h4) {
	gap: 20px !important;
	align-items: stretch !important;
	justify-content: center !important;
}

.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: 1.75rem 1.5rem;
	box-shadow: var(--shadow-sm);
	border-top: 4px solid var(--color-accent);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
	min-height: 280px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

/* Fix para garantir que colunas fiquem com a mesma altura */
.entry-content .wp-block-columns:has(.wp-block-column > h4) {
    display: flex !important;
}
.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column {
    align-self: stretch !important; /* Sobrescreve align-self do WP (is-vertically-aligned-top) */
    height: auto !important;
}

.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column::after {
	content: '';
	position: absolute;
	bottom: 0; left: 0;
	width: 100%; height: 3px;
	background: var(--gradient-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s ease;
}

.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column:hover::after { transform: scaleX(1); }


.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column h2,
.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column h3,
.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column h4,
.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column strong {
	color: var(--color-primary);
	font-size: 1.05rem;
	font-weight: 700;
	margin-bottom: 0.5rem;
	display: block;
}

.entry-content .wp-block-columns:has(.wp-block-column > h4) .wp-block-column p {
	font-size: 0.875rem;
	line-height: 1.65;
	color: var(--color-text-muted);
	max-width: unset;
	margin: 0;
}

/* ==========================================================================
   6. SEÇÃO DE SINTOMAS — cards internos de grupos
   ========================================================================== */

/* Grupos com fundo explícito ganham radius */
.wp-block-group.has-background {
	border-radius: var(--radius-lg) !important;
}

/* --- Colunas com APENAS título (h2/h3) — sem card, sem caixa ---
   Usa :has() baseado no conteúdo, não na posição (mais confiável) */
.wp-block-group .wp-block-column:has(> h2),
.wp-block-group .wp-block-column:has(> h3) {
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	border: none !important;
	transform: none !important;
}

/* --- Colunas vazias ou com apenas separador — esconde --- */
.wp-block-group .wp-block-column:has(> hr:only-child),
.wp-block-group .wp-block-column:empty {
	display: none !important;
}

/* --- Cards de sintomas (2ª+ wp-block-columns dentro do grupo) --- */
.wp-block-group > .wp-block-columns:not(:first-of-type) {
	gap: 18px !important;
	align-items: stretch !important;
}

.wp-block-group > .wp-block-columns:not(:first-of-type) .wp-block-column {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: 1.5rem;
	box-shadow: var(--shadow-xs);
	transition: var(--transition);
	border-top: 3px solid transparent; /* Substituiu border-left */
}

.wp-block-group > .wp-block-columns:not(:first-of-type) .wp-block-column:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
	border-top-color: var(--color-accent);
}

/* --- Espaçamento reduzido acima de Quando Procurar --- */
.wp-block-group.has-background > .wp-block-spacer:first-child:has(+ .wp-block-columns > .wp-block-column > p > strong) {
	display: none !important;
}

.wp-block-columns:has(> .wp-block-column > p > strong) {
	margin-top: 1.5rem !important;
}

/* --- Estilos para o título e introdução de Sintomas --- */
/* Remove qualquer estilo de card indesejado no título isolado 'Quando procurar...' */
.entry-content .wp-block-columns:has(p > strong) .wp-block-column:has(p > strong) {
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.wp-block-columns:has(p.has-text-color > strong) p.has-text-color > strong {
	font-family: var(--font-primary);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--color-primary-dark) !important;
	font-size: 2.22rem !important;
	display: block;
	margin-bottom: 0.5rem;
	line-height: 1.25;
}

/* Ocultar a caixa extra em volta do título se for o grupo do título isolado (fallback) */
.wp-block-group.has-background > .wp-block-group > .wp-block-group.has-background {
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin-bottom: 2rem;
}

/* Tipografia interna dos cards de sintoma */
.wp-block-group .wp-block-columns .wp-block-column h2,
.wp-block-group .wp-block-columns .wp-block-column h3,
.wp-block-group .wp-block-columns .wp-block-column h4 {
	font-family: var(--font-primary);
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--color-primary-dark);
	margin-bottom: 0.75rem;
	letter-spacing: -0.01em;
}

.wp-block-group .wp-block-columns .wp-block-column p {
	font-family: var(--font-primary);
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--color-text-main);
	max-width: unset;
}

/* ==========================================================================
   7. BOTÕES CTA
   ========================================================================== */
.wp-block-button__link,
.ast-button,
a.ast-button {
	background: var(--gradient-accent) !important;
	color: var(--color-white) !important;
	border-radius: var(--radius-full) !important;
	padding: 14px 32px !important;
	font-weight: 600 !important;
	font-size: 0.92rem !important;
	letter-spacing: 0.03em !important;
	border: none !important;
	transition: var(--transition) !important;
	box-shadow: 0 6px 24px rgba(56,178,172,0.35) !important;
	text-decoration: none !important;
}

.wp-block-button__link:hover,
.ast-button:hover,
a.ast-button:hover {
	transform: translateY(-3px) scale(1.02) !important;
	box-shadow: 0 12px 40px rgba(56,178,172,0.50) !important;
	filter: brightness(1.06) !important;
}

/* ==========================================================================
   9. FOOTER PREMIUM
   ========================================================================== */
.site-footer,
#colophon {
	background: var(--gradient-footer) !important;
	background-color: var(--color-primary-dark) !important;
	color: rgba(255,255,255,0.80) !important;
	padding: 36px 0 20px !important;
	border-top: none !important;
	position: relative;
	overflow: hidden;
}

/* Força os elementos internos do construtor do Astra a serem transparentes para exibir o gradient */
#colophon .site-primary-footer-wrap,
#colophon .site-above-footer-wrap,
#colophon .site-below-footer-wrap,
#colophon .ast-builder-grid-row-container,
#colophon .ast-builder-grid-row-container-inner,
#colophon .ast-builder-grid-row {
	background: transparent !important;
	background-color: transparent !important;
}

.site-footer::before,
#colophon::before {
	content: '';
	position: absolute;
	top: -40%; right: -15%;
	width: 450px; height: 450px;
	background: radial-gradient(circle, rgba(56,178,172,0.08) 0%, transparent 70%);
	pointer-events: none;
}

.site-footer p,
.site-footer a,
.site-footer span,
.site-footer div,
#colophon p,
#colophon a,
#colophon span,
#colophon div,
.ast-footer-copyright,
.ast-footer-copyright * {
	color: rgba(255, 255, 255, 0.88) !important;
	font-size: 0.875rem;
}

.site-footer a:hover,
#colophon a:hover {
	color: var(--color-accent) !important;
}

/* ==========================================================================
   SOCIAL ICONS — mantém apenas Instagram
   ========================================================================== */
.ast-facebook,
.ast-twitter {
	display: none !important;
}

/* ==========================================================================
   10. BOTÃO WHATSAPP FLUTUANTE
   ========================================================================== */
.elcio-wa-float {
	position: fixed;
	bottom: 90px; /* Acima do botão "subir" do Astra */
	right: 28px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 14px;
	flex-direction: row-reverse;
}

.elcio-wa-btn {
	width: 58px;
	height: 58px;
	background: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 24px rgba(37,211,102,0.45);
	text-decoration: none !important;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	flex-shrink: 0;
}

.elcio-wa-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #25D366;
	animation: elcio-pulse 2.5s cubic-bezier(0.455,0.03,0.515,0.955) infinite;
	z-index: -1;
}

.elcio-wa-btn:hover {
	transform: scale(1.12);
	box-shadow: 0 10px 35px rgba(37,211,102,0.55);
}

.elcio-wa-btn svg {
	width: 30px;
	height: 30px;
	fill: #fff;
}

.elcio-wa-label {
	background: var(--color-white);
	color: var(--color-primary) !important;
	font-family: var(--font-primary) !important;
	font-size: 0.82rem !important;
	font-weight: 600;
	padding: 9px 18px;
	border-radius: var(--radius-full);
	box-shadow: var(--shadow-md);
	white-space: nowrap;
	opacity: 0;
	transform: translateX(14px);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
}

.elcio-wa-float:hover .elcio-wa-label {
	opacity: 1;
	transform: translateX(0);
}

@keyframes elcio-pulse {
	0%   { transform: scale(1);   opacity: 0.65; }
	70%  { transform: scale(1.65); opacity: 0;    }
	100% { transform: scale(1.65); opacity: 0;    }
}

/* ==========================================================================
   11. RESPONSIVE E UTILIDADES
   ========================================================================== */
/* Ocultar itens FAQ e Agendar do menu globalmente para manter fluxo da UX */
li.menu-item:has(a[href*="#faq"]),
li.menu-item:has(a[href*="#agende"]) {
	display: none !important;
}

@media (max-width: 1024px) {
	.elcio-galeria-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.elcio-galeria-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.elcio-wa-float { bottom: 80px; right: 20px; }
	.elcio-wa-btn   { width: 52px; height: 52px; }
	.elcio-wa-btn svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
	.elcio-wa-label { display: none; }
}

/* ==========================================================================
   12. BIOGRAFIA PREMIUM (FOTO DR. ELCIO) - ESTILO OVERLAP REFERÊNCIA
   ========================================================================== */
.elcio-bio-premium {
	display: flex;
	align-items: center;
	gap: 40px;
	background: var(--color-primary); /* Fundo azul escuro */
	border-radius: 0; /* Aspecto mais quadrado acompanhando a referência */
	padding: 60px; /* Mais respiro interno */
	box-shadow: var(--shadow-sm);
	margin: 100px auto 80px; /* Margem superior generosa para o overflow da imagem */
	max-width: 1000px;
	position: relative;
}

.elcio-bio-image {
	flex: 0 0 55%;
	margin-top: -60px;      /* Causa o vazamento para cima */
	margin-bottom: -60px;   /* Causa o vazamento para baixo */
	margin-left: -60px;     /* Causa o vazamento para a esquerda */
	z-index: 2;
}

.elcio-bio-image img {
	width: 100%;
	height: 100%;
	border-radius: 4px;
	object-fit: cover;
	object-position: top center; /* Foca no topo para não cortar a cabeça */
	aspect-ratio: 4/3; /* Formato paisagem conforme solicitado */
	box-shadow: 0 15px 30px rgba(0,0,0,0.3); /* Sombra forte para destacar o overlap */
	display: block;
}

.elcio-bio-content {
	flex: 1;
	z-index: 1;
}

.elcio-bio-title {
	color: var(--color-white);
	margin-bottom: 20px;
	font-weight: 800;
	font-size: 2rem;
}

.elcio-bio-text p {
	font-size: 1.15rem;
	line-height: 1.8;
	color: var(--color-white); /* Texto branco no fundo escuro */
	margin: 0;
}

@media (max-width: 900px) {
	.elcio-bio-premium {
		padding: 40px;
		margin-left: 30px;
		margin-right: 30px;
	}
	.elcio-bio-image {
		flex: 0 0 280px;
		margin-left: -60px;
	}
}

@media (max-width: 768px) {
	.elcio-bio-premium {
		flex-direction: column;
		text-align: center;
		padding: 40px 20px;
		gap: 24px;
		margin: 80px 20px 40px; /* Margem nas laterais para não encostar na tela */
	}
	.elcio-bio-image {
		flex: 0 0 auto;
		width: 100%;
		max-width: 250px;
		margin-top: -100px; /* Vaza pelo topo da caixa no celular */
		margin-bottom: 0;
		margin-left: auto;
		margin-right: auto;
	}
}

/* ==========================================================================
   13. LOCALIZAÇÃO - MÚLTIPLOS ENDEREÇOS (CARDS INTERATIVOS)
   ========================================================================== */

/* ==========================================================================
   13. HOSPITAIS DE ATUAÇÃO
   ========================================================================== */
.elcio-hospitals-section {
	max-width: 1200px;
	margin: 60px auto 40px;
	padding: 0 20px;
}

.elcio-hospitals-header {
	text-align: center;
	margin-bottom: 40px;
}

.elcio-hospitals-header h2 {
	font-size: 2.22rem;
	font-weight: 800;
	color: var(--color-primary-dark);
	margin-bottom: 12px;
	letter-spacing: -0.02em;
}

.elcio-hospitals-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.elcio-hospital-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: 20px;
	box-shadow: var(--shadow-sm);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	transition: var(--transition);
	border: 1px solid rgba(26,54,93,0.05);
	min-height: 120px;
}

.elcio-hospital-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-md);
	border-color: var(--color-accent);
}

.elcio-hospital-card img {
	max-width: 100px;
	max-height: 60px;
	object-fit: contain;
	margin-bottom: 12px;
	filter: grayscale(100%) opacity(0.8);
	transition: var(--transition);
}

.elcio-hospital-card:hover img {
	filter: grayscale(0%) opacity(1);
}

.elcio-hospital-name {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-text-main);
	line-height: 1.3;
}

.elcio-hospital-cta {
	grid-column: 1 / -1;
	background: var(--color-bg-section);
	border: 2px dashed rgba(26,54,93,0.15);
	box-shadow: none;
}

.elcio-hospital-cta:hover {
	background: var(--color-bg-light);
	border-color: var(--color-accent);
}

.elcio-hospital-cta span {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--color-primary);
	display: flex;
	align-items: center;
	gap: 8px;
}

.elcio-hospital-cta svg {
	width: 20px;
	height: 20px;
	fill: #25D366;
}

/* ==========================================================================
   14. LOCALIZAÇÃO - MÚLTIPLOS ENDEREÇOS (CARDS INTERATIVOS)
   ========================================================================== */

.elcio-locations-wrapper {
	width: 100%;
	margin: 20px 0 40px;
	display: grid;
	grid-template-columns: 350px 1fr;
	gap: 30px;
	align-items: stretch;
}

.elcio-location-cards {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-bottom: 0;
}

.elcio-loc-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: 24px;
	box-shadow: var(--shadow-sm);
	border-left: 4px solid transparent;
	cursor: pointer;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
	border-top: none;
}

.elcio-loc-card::after {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 4px; height: 100%;
	background: var(--gradient-accent);
	transform: scaleY(0);
	transform-origin: top;
	transition: transform 0.4s ease;
}

.elcio-loc-card:hover {
	transform: translateX(4px);
	box-shadow: var(--shadow-md);
}

.elcio-loc-card.active {
	background: var(--color-bg-light);
	box-shadow: var(--shadow-md);
}

.elcio-loc-card.active::after {
	transform: scaleY(1);
}

.elcio-loc-card-title {
	font-weight: 800;
	font-size: 1.15rem;
	color: var(--color-primary-dark);
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.elcio-loc-card-title svg {
	width: 20px;
	height: 20px;
	fill: var(--color-accent);
	flex-shrink: 0;
}

.elcio-loc-card-address {
	font-size: 0.9rem;
	color: var(--color-text-muted);
	line-height: 1.5;
	margin: 0;
}

.elcio-map-wrapper {
	width: 100%;
	height: 100%;
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	background: #eee;
	transition: opacity 0.3s ease;
	opacity: 1;
	min-height: 400px;
}

.elcio-map-wrapper.fading {
	opacity: 0.5;
}

.elcio-map-wrapper iframe {
	width: 100%;
	height: 100%;
	min-height: 400px;
	border: 0;
	display: block;
}

@media (max-width: 900px) {
	.elcio-locations-wrapper {
		grid-template-columns: 1fr;
	}
	.elcio-location-cards {
		flex-direction: row;
		overflow-x: auto;
		padding-bottom: 10px;
	}
	.elcio-loc-card {
		min-width: 280px;
		border-left: none;
		border-top: 4px solid transparent;
	}
	.elcio-loc-card::after {
		width: 100%; height: 4px;
		bottom: 0; top: auto; left: 0;
		transform: scaleX(0);
		transform-origin: center;
	}
	.elcio-loc-card.active::after {
		transform: scaleX(1);
	}
	.elcio-loc-card:hover {
		transform: translateY(-4px);
	}
	.elcio-map-wrapper iframe {
		height: 350px;
	}
}

@media (max-width: 600px) {
	.elcio-location-cards {
		flex-direction: column;
	}
	.elcio-loc-card {
		min-width: 100%;
	}
}

