/*
Theme Name: Ilana Hida
Theme URI: https://example.com/
Author: Contesmart
Description: Tema de blocos (FSE) para o site da Dra. Ilana Y. Hida – Oftalmologia & Cirurgia Palpebral. Header, footer, paleta e tipografia prontos; páginas montadas no editor de blocos.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ilanay
*/

/* ---------- Header ---------- */
.ilanay-header {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .ilanay-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}
@media (max-width: 781px) {
	.ilanay-header-cta {
		display: none !important;
	}
	.ilanay-header .ilanay-logo img {
		width: 160px !important;
	}
}

/* ---------- Ícones do rodapé (pin / WhatsApp) ---------- */
.ilanay-info-item p {
	margin: 0;
}
.ilanay-info-item svg {
	display: block;
	flex: 0 0 auto;
	width: 14px;
	height: 14px;
	margin-top: 0.3em;
	fill: var(--wp--preset--color--dourado);
}

/* ---------- Botão flutuante WhatsApp ---------- */
.ilanay-whatsapp {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 60;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wp--preset--color--whatsapp);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}
.ilanay-whatsapp:hover,
.ilanay-whatsapp:focus-visible {
	transform: scale(1.08);
}
.ilanay-whatsapp svg {
	width: 30px;
	height: 30px;
	fill: #fff;
}

/* ---------- Estilo de bloco: título com sublinhado dourado ---------- */
.is-style-titulo-sublinhado {
	display: block;
	width: fit-content;
	padding-bottom: 0.15em;
	border-bottom: 2px solid var(--wp--preset--color--dourado);
}
.is-style-titulo-sublinhado.has-text-align-center {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ---------- Estilo de bloco: imagem com moldura dourada ---------- */
.wp-block-image.is-style-moldura-dourada img {
	border: 6px solid var(--wp--preset--color--dourado);
	border-radius: 0 0 0 120px;
}
