/* ==========================================================================
   Freguesia de Mosteirô — estilos do tema
   ========================================================================== */



:root {
	--red: #c8102e;
	--red-dark: #9b0c22;
	--red-soft: #fdecee;
	--ink: #1b1d21;
	--text: #3a3e45;
	--muted: #646a73;
	--line: #e4e5e9;
	--soft: #f4f4f6;
	--white: #fff;
	--footer: #2a2d32;
	--footer-2: #22252a;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(20, 22, 26, .10);
	--shadow-sm: 0 2px 10px rgba(20, 22, 26, .07);
	--font-head: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
	--font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
	--container: 1180px;
	--header-h: 122px;
}

/* Variáveis globais do Elementor alinhadas com o tema */
body[class*="elementor-kit-"],
body {
	--e-global-color-primary: var(--ink);
	--e-global-color-secondary: var(--text);
	--e-global-color-text: var(--text);
	--e-global-color-accent: var(--red);
	--e-global-typography-primary-font-family: "Poppins";
	--e-global-typography-primary-font-weight: 700;
	--e-global-typography-secondary-font-family: "Poppins";
	--e-global-typography-secondary-font-weight: 500;
	--e-global-typography-text-font-family: "Inter";
	--e-global-typography-text-font-weight: 400;
	--e-global-typography-accent-font-family: "Inter";
	--e-global-typography-accent-font-weight: 600;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: .18em; }
a:hover { color: var(--red-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.section { padding-top: 48px; padding-bottom: 72px; }
.site-main:focus { outline: none; }

/* Botões e ligações -------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .85em 1.5em; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; font-size: .92rem; color: var(--red); text-decoration: none; }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .2s; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }
.tag { display: inline-block; background: var(--red); color: #fff; font-family: var(--font-body); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .32em .8em; border-radius: 4px; line-height: 1.3; text-decoration: none; }
a.tag:hover { color: #fff; background: var(--red-dark); }
.meta { display: flex; align-items: center; gap: .5em; color: var(--muted); font-size: .88rem; margin: 0; }
.meta .icon { width: 1.05em; height: 1.05em; }
.empty-state { background: var(--soft); border-radius: var(--radius); padding: 22px 24px; color: var(--muted); margin: 0; }

/* Cabeçalho --------------------------------------------------------------- */
.site-header { position: relative; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--ink); flex: none; }
.brand__logo { width: 84px; height: auto; }
.brand__text { margin: 0; display: flex; flex-direction: column; line-height: 1.12; font-family: var(--font-head); font-size: 1rem; font-weight: 500; color: var(--ink); }
.brand__pre, .brand__post { font-weight: 500; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; }
.brand__name { font-size: 1.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin: 2px 0; }
.brand:hover { color: var(--ink); }

.site-header__right { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.site-header__top { display: flex; align-items: center; gap: 20px; }

.search-form { position: relative; display: flex; align-items: center; width: 100%; max-width: 260px; }
.search-form__field { width: 100%; height: 40px; border: 1px solid #d5d7dc; border-radius: 999px; padding: 0 44px 0 18px; font-size: .85rem; background: #fff; }
.search-form__field::placeholder { color: #80858d; }
.search-form__field:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(200, 16, 46, .18); }
.search-form__submit { position: absolute; right: 4px; top: 4px; width: 32px; height: 32px; border: 0; background: transparent; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.search-form__submit:hover { color: var(--red); }

.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; }
.main-nav .menu > li { position: relative; }
.main-nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-family: var(--font-head); font-weight: 500; font-size: .98rem; color: var(--ink); text-decoration: none; position: relative; }
.main-nav .menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 2px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.main-nav .menu > li > a:hover, .main-nav .menu > li.is-active > a, .main-nav .menu > li.current-menu-item > a { color: var(--red); }
.main-nav .menu > li.is-active > a::after, .main-nav .menu > li.current-menu-item > a::after, .main-nav .menu > li > a:hover::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a { padding-right: 4px !important; }
.main-nav .menu-item-has-children > a::after { right: 4px; }

.submenu-toggle { border: 0; background: transparent; padding: 6px 8px 6px 2px; cursor: pointer; color: var(--ink); display: inline-grid; place-items: center; }
.submenu-toggle .icon { width: 14px; height: 14px; transition: transform .2s; stroke-width: 2.4; }
.main-nav li.menu-item-has-children { display: flex; align-items: center; }
.main-nav li.is-open > .submenu-toggle .icon { transform: rotate(180deg); }

.main-nav .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.main-nav li.is-open > .sub-menu, .main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: block; padding: 9px 14px; border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-size: .93rem; }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--red-soft); color: var(--red); }

.nav-toggle { display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); padding: 9px 14px; cursor: pointer; font-weight: 600; color: var(--ink); }
.nav-toggle__close { display: none; }
.main-nav__search { display: none; }
.nav-overlay { position: fixed; inset: 0; background: rgba(15, 16, 19, .5); z-index: 80; }

@media (max-width: 1099px) {
	:root { --header-h: 88px; }
	.brand__logo { width: 60px; }
	.brand__name { font-size: 1.45rem; }
	.brand__pre, .brand__post { font-size: .74rem; }
	.site-header__top { display: none; }
	.nav-toggle { display: inline-flex; }
	.main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: #fff; z-index: 90; padding: 84px 20px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; box-shadow: var(--shadow); visibility: hidden; }
	.nav-open .main-nav { transform: none; visibility: visible; }
	.nav-open .nav-toggle { position: fixed; top: 22px; right: 20px; z-index: 95; }
	.nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.main-nav__search { display: block; margin-bottom: 18px; }
	.main-nav__search .search-form { max-width: none; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu > li { border-bottom: 1px solid var(--line); flex-wrap: wrap; }
	.main-nav .menu > li > a { padding: 14px 4px; flex: 1; font-size: 1.02rem; }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .menu > li.is-active > a { color: var(--red); }
	.submenu-toggle { padding: 12px; }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; min-width: 0; width: 100%; display: none; }
	.main-nav li.is-open > .sub-menu { display: block; }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: none; }
	.main-nav li.is-open:hover > .sub-menu, .main-nav li.is-open:focus-within > .sub-menu { display: block; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
	.brand { gap: 10px; }
	.brand__logo { width: 50px; }
	.brand__name { font-size: 1.22rem; }
	.nav-toggle__label { display: none; }
}

/* Cabeçalho das páginas interiores ----------------------------------------- */
.page-hero { background: var(--soft); border-bottom: 1px solid var(--line); padding: 34px 0 38px; }
.page-hero__title { margin: 10px 0 0; position: relative; padding-top: 18px; }
.page-hero__title::before { content: ""; position: absolute; top: 0; left: 0; width: 50px; height: 4px; border-radius: 2px; background: var(--red); }
.page-hero__intro { margin: 12px 0 0; color: var(--muted); max-width: 720px; font-size: 1.05rem; }
.page-hero .tag { margin-top: 12px; }
.page-hero .meta { margin-top: 12px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .84rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin: 0 6px 0 2px; color: #a3a7ae; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--red); text-decoration: underline; }

/* Conteúdo ----------------------------------------------------------------- */
.entry--narrow { max-width: 860px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--soft); }
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { width: 100%; border-radius: var(--radius); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; border-top: 1px solid var(--line); padding-top: 24px; }
.post-nav div:last-child { text-align: right; }
.post-nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.post-nav a span { display: block; font-size: .82rem; color: var(--red); font-weight: 600; margin-bottom: 4px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-size: .9rem; font-weight: 600; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }

/* Cartões de notícia */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-grid--archive { gap: 26px; }
.news-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-card__media { display: block; aspect-ratio: 16 / 9.5; background: var(--soft); overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #f7f7f8, #ececef); }
.news-card__placeholder img { width: 64px !important; height: auto !important; opacity: .55; object-fit: contain; }
.news-card__body { position: relative; padding: 22px 16px 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card__body .tag { position: absolute; top: -12px; left: 14px; }
.news-card__title { font-size: 1.02rem; line-height: 1.35; margin: 0; flex: 1; }
.news-card__title a { color: var(--ink); text-decoration: none; }
.news-card__title a::after { content: ""; position: absolute; inset: 0; }
.news-card__title a:hover { color: var(--red); }
.news-card:focus-within { outline: 3px solid var(--red); outline-offset: 2px; }
.news-card__title a:focus-visible { outline: none; }

/* Agenda */
.event-list { list-style: none; margin: 0; padding: 0; }
.event-item { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid #dfe0e4; }
.event-item:first-child { padding-top: 4px; }
.date-badge { flex: none; width: 52px; height: 54px; border-radius: 6px; background: var(--red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-family: var(--font-head); }
.date-badge__day { font-size: 1.2rem; font-weight: 700; }
.date-badge__month { font-size: .7rem; font-weight: 500; text-transform: uppercase; margin-top: 4px; letter-spacing: .04em; }
.event-item__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.event-item__title { color: var(--ink); font-weight: 600; text-decoration: none; font-size: .95rem; line-height: 1.3; }
.event-item__title:hover { color: var(--red); text-decoration: underline; }
.event-item__meta { color: var(--muted); font-size: .85rem; }
.agenda-list .link-arrow { margin-top: 18px; display: flex; justify-content: center; }
.agenda-list .empty-state { background: #fff; }
.event-list--archive { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.event-list--archive .event-item { padding: 18px 0; }
.event-list--archive .event-item:first-child { padding-top: 18px; }
.event-facts { list-style: none; margin: 0 0 28px; padding: 18px 22px; background: var(--soft); border-radius: var(--radius); display: flex; flex-wrap: wrap; gap: 18px 40px; }
.event-facts li { display: flex; gap: 12px; align-items: flex-start; }
.event-facts .icon { color: var(--red); margin-top: 3px; }
.event-facts strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }

/* Contactos / subpáginas / mapa do site / pesquisa */
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.contact-card > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.contact-card h3 { font-size: 1rem; margin: 0 0 6px; }
.contact-card p { margin: 0; }
.contact-card small { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 6px; }
.contact-card a { font-weight: 600; }
.contact-card .link-arrow { margin-top: 8px; }

.subpage-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.subpage-card { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, color .2s; height: 100%; }
.subpage-card > .icon:first-child { color: var(--red); width: 28px; height: 28px; }
.subpage-card span { flex: 1; }
.subpage-card__arrow { color: var(--red); transition: transform .2s; }
.subpage-card:hover { border-color: var(--red); color: var(--red); box-shadow: var(--shadow); }
.subpage-card:hover .subpage-card__arrow { transform: translateX(3px); }

.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.sitemap h2 { font-size: 1.15rem; }
.sitemap ul { padding-left: 1.1em; margin: 0; }
.sitemap ul ul { margin-top: 4px; }

.search-again { max-width: 520px; margin-bottom: 30px; }
.search-again .search-form { max-width: none; }
.search-again .search-form__field { height: 48px; }
.search-again .search-form__submit { top: 8px; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 1.15rem; margin: 4px 0 6px; }
.search-results h2 a { color: var(--ink); text-decoration: none; }
.search-results h2 a:hover { color: var(--red); text-decoration: underline; }
.search-results p { margin: 0; color: var(--muted); }
.search-results__type { font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }

.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* ==========================================================================
   Página inicial (Elementor) — classes atribuídas aos elementos
   ========================================================================== */
.elementor .e-con.m-hero { position: relative; z-index: 1; }
.elementor .m-hero .m-hero__inner > .e-con-inner, .elementor .m-hero .m-hero__inner { max-width: 1180px; }
.elementor .m-hero .m-eyebrow .elementor-heading-title { font-family: var(--font-head); font-weight: 700; font-size: .9rem; letter-spacing: .22em; text-transform: uppercase; color: #fff; margin: 0; }
.elementor .m-hero .m-hero__title .elementor-heading-title { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 2rem + 4.4vw, 5rem); line-height: 1; color: #fff; margin: 0; letter-spacing: -.01em; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.elementor .m-hero .m-hero__text, .elementor .m-hero .m-hero__text p { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.35; color: #fff; margin: 0; }

body .elementor .m-btn .elementor-button { display: inline-flex; align-items: center; justify-content: center; gap: 0; min-height: 50px; padding: 12px 24px; border-radius: var(--radius-sm); font-family: var(--font-body); font-weight: 600; font-size: .98rem; line-height: 1.2; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; fill: currentColor; }
body .elementor .m-btn .elementor-button-icon { font-size: 1rem; }
body .elementor .m-btn .elementor-button-icon svg { width: 1em; height: 1em; fill: currentColor; }
body .elementor .m-btn--primary .elementor-button { background: var(--red); color: #fff; }
body .elementor .m-btn--primary .elementor-button:hover, body .elementor .m-btn--primary .elementor-button:focus-visible { background: var(--red-dark); color: #fff; }
body .elementor .m-btn--ghost .elementor-button { background: transparent; color: #fff; border-color: #fff; }
body .elementor .m-btn--ghost .elementor-button:hover, body .elementor .m-btn--ghost .elementor-button:focus-visible { background: #fff; color: var(--red); }
body .elementor .m-btn--sm .elementor-button { min-height: 42px; padding: 8px 20px; font-size: .9rem; }
body .elementor .m-btn .elementor-button-content-wrapper { gap: 10px; }

/* Acessos rápidos */
.elementor .e-con.m-quick { position: relative; z-index: 3; }
.elementor .m-quick > .e-con-inner { background: #fff; border-radius: 16px; box-shadow: 0 14px 40px rgba(20, 22, 26, .13); padding: 26px 10px; flex-wrap: nowrap; }
.elementor .m-iconbox { flex: 1 1 0; min-width: 0; }
.elementor .m-quick .m-iconbox + .m-iconbox { border-left: 1px solid var(--line); }
.elementor .m-iconbox .elementor-icon-box-wrapper { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 4px 12px; }
.elementor .m-iconbox .elementor-icon-box-icon { margin: 0 !important; display: flex; }
.elementor .m-iconbox .elementor-icon { font-size: 2.2rem; color: var(--red); fill: var(--red); line-height: 1; transition: transform .2s; }
.elementor .m-iconbox .elementor-icon svg { width: 1em; height: 1em; fill: var(--red); }
.elementor .m-iconbox .elementor-icon-box-title { font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; line-height: 1.3; color: var(--ink); margin: 0; }
.elementor .m-iconbox .elementor-icon-box-title a { color: var(--ink); text-decoration: none; }
.elementor .m-iconbox .elementor-icon-box-description { display: none; }
.elementor .m-iconbox .elementor-icon-box-wrapper { position: relative; }
.elementor .m-iconbox .elementor-icon-box-title a::after { content: ""; position: absolute; inset: 0; }
.elementor .m-iconbox:hover .elementor-icon { transform: translateY(-3px); }
.elementor .m-iconbox:hover .elementor-icon-box-title a { color: var(--red); }
.elementor .m-iconbox .elementor-icon-box-icon a:focus-visible { outline: none; }

/* Destaques */
.elementor .m-section-title .elementor-heading-title { position: relative; padding-top: 18px; font-family: var(--font-head); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 700; color: var(--ink); margin: 0; }
.elementor .m-section-title .elementor-heading-title::before { content: ""; position: absolute; top: 0; left: 0; width: 50px; height: 4px; border-radius: 2px; background: var(--red); }
body .elementor .m-link-arrow .elementor-button { background: none; padding: 4px 0; color: var(--red); font-family: var(--font-body); font-weight: 600; font-size: .9rem; border-radius: 0; fill: var(--red); }
body .elementor .m-link-arrow .elementor-button:hover { text-decoration: underline; color: var(--red-dark); }
body .elementor .m-link-arrow .elementor-button-content-wrapper { gap: 8px; }
body .elementor .m-link-arrow .elementor-button-icon svg { width: .9em; height: .9em; fill: currentColor; }

.elementor .m-agenda-box { background: var(--soft); border-radius: var(--radius); align-self: flex-start; }
.elementor .m-agenda-title .elementor-heading-title { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; }
.elementor .m-agenda-title .elementor-heading-title::before { content: ""; width: 30px; height: 30px; flex: none; background: var(--red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 9.5h18M8 2.5v4M16 2.5v4'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Serviços da Freguesia */
.elementor .m-services > .e-con-inner { background: var(--soft); border-radius: var(--radius); overflow: hidden; flex-wrap: nowrap; }
.elementor .m-services .m-services__intro { clip-path: polygon(0 0, 100% 0, calc(100% - 80px) 100%, 0 100%); min-height: 170px; }
.elementor .m-services__title .elementor-heading-title { font-family: var(--font-head); font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem); font-weight: 700; color: #fff; margin: 0; }
.elementor .m-services__text, .elementor .m-services__text p { color: #fff; font-size: 1rem; line-height: 1.5; margin: 0 0 6px; max-width: 340px; }
.elementor .m-services__links .m-iconbox { flex: 1 1 0; }
.elementor .m-services__links .m-iconbox + .m-iconbox { border-left: 1px solid #d9dadf; }
.elementor .m-iconbox--small .elementor-icon { font-size: 1.8rem; }
.elementor .m-iconbox--small .elementor-icon-box-title { font-family: var(--font-body); font-weight: 400; font-size: .95rem; }

@media (max-width: 1024px) {
	.elementor .m-quick > .e-con-inner { flex-wrap: wrap; padding: 14px 8px; }
	.elementor .m-quick .m-iconbox { flex: 1 1 33.33%; padding: 14px 0; }
	.elementor .m-quick .m-iconbox + .m-iconbox { border-left: 0; }
	.elementor .m-services .m-services__intro { clip-path: none; }
	.elementor .m-services > .e-con-inner { flex-wrap: wrap; }
	.elementor .m-agenda-box { align-self: stretch; }
	.news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.elementor .m-quick .m-iconbox { flex: 1 1 50%; }
	.elementor .m-quick .m-iconbox:last-child { flex-basis: 100%; }
	.elementor .m-iconbox .elementor-icon-box-title { font-size: .95rem; }
	.elementor .m-services__links .m-iconbox { flex: 1 1 50%; padding: 14px 0; }
	.elementor .m-services__links .m-iconbox + .m-iconbox { border-left: 0; }
	.news-grid { grid-template-columns: 1fr; }
	.event-list--archive { grid-template-columns: 1fr; }
	body .elementor .m-hero__buttons .m-btn, body .elementor .m-hero__buttons .m-btn .elementor-button { width: 100%; }
}
@media (min-width: 600px) and (max-width: 767px) {
	.news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Rodapé ------------------------------------------------------------------- */
.site-footer { background: var(--footer); color: #e7e8ea; font-size: .88rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__main { display: flex; align-items: center; gap: 36px; padding-top: 26px; padding-bottom: 22px; flex-wrap: wrap; }
.brand--footer { color: #fff; padding-right: 36px; border-right: 1px solid rgba(255, 255, 255, .18); }
.brand--footer:hover { color: #fff; text-decoration: none !important; }
.brand--footer .brand__logo { width: 64px; }
.brand--footer .brand__text { color: #fff; }
.brand--footer .brand__name { font-size: 1.4rem; }
.brand--footer .brand__pre, .brand--footer .brand__post { font-size: .72rem; }
.site-footer__contacts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 44px; flex: 1; }
.site-footer__contacts li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.site-footer__contacts .icon { width: 20px; height: 20px; color: #fff; margin-top: 1px; }
.site-footer__contacts small { display: block; font-size: .72rem; color: #c3c6cb; }
.site-footer__social { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.site-footer__social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; transition: background .2s; }
.site-footer__social a:hover { background: rgba(255, 255, 255, .12); }
.site-footer__social .icon { width: 22px; height: 22px; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .16); padding-top: 16px; padding-bottom: 18px; font-size: .78rem; color: #d0d2d6; }
.site-footer__bottom p { margin: 0; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.footer-menu li + li::before { content: "|"; margin: 0 14px; color: rgba(255, 255, 255, .4); }
@media (max-width: 860px) {
	.site-footer__main { flex-direction: column; align-items: flex-start; gap: 22px; }
	.brand--footer { border-right: 0; padding-right: 0; }
	.site-footer__contacts { flex-direction: column; gap: 14px; }
	.site-footer__social { margin-left: 0; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* Widget de acessibilidade --------------------------------------------------- */
.a11y { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 120; }
.a11y__toggle { width: 52px; height: 52px; border: 0; border-radius: 10px 0 0 10px; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); transition: background .2s, width .2s; }
.a11y__toggle:hover { background: var(--red-dark); width: 58px; }
.a11y__toggle .icon { width: 30px; height: 30px; stroke-width: 2; }
.a11y__toggle:focus-visible { outline-color: var(--ink); }
.a11y__panel { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); width: min(340px, calc(100vw - 80px)); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: 0 20px 50px rgba(15, 16, 19, .25); padding: 18px; border: 1px solid var(--line); }
.a11y__panel[hidden] { display: none; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.a11y__head h2 { font-size: 1.1rem; margin: 0; }
.a11y__close { border: 0; background: var(--soft); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.a11y__close:hover { background: var(--line); }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__grid button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 82px; padding: 10px 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--ink); line-height: 1.2; text-align: center; transition: border-color .15s, background .15s; }
.a11y__grid button:hover { border-color: var(--red); }
.a11y__grid button[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.a11y__ico { font-size: 1.25rem; font-weight: 700; line-height: 1; font-family: var(--font-head); }
.a11y__status { min-height: 1.2em; margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; }
.a11y__reset { border: 1px solid var(--ink); background: #fff; color: var(--ink); padding: 7px 12px; border-radius: var(--radius-sm); cursor: pointer; font-weight: 600; font-size: .8rem; }
.a11y__reset:hover { background: var(--ink); color: #fff; }
.a11y__foot a { font-weight: 600; }
@media (max-width: 600px) {
	.a11y { top: auto; bottom: 86px; transform: none; }
	.a11y__toggle { width: 46px; height: 46px; }
	.a11y__toggle .icon { width: 26px; height: 26px; }
	.a11y__panel { position: fixed; right: 12px; left: 12px; top: auto; bottom: 12px; width: auto; transform: none; max-height: calc(100vh - 24px); }
}

/* Voltar ao topo */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 110; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .25s, transform .25s, visibility .25s, background .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--red); color: #fff; }
.to-top .icon { width: 22px; height: 22px; stroke-width: 2.2; }
@media (max-width: 600px) { .to-top { right: 14px; bottom: 16px; width: 44px; height: 44px; } }

/* Preferências de acessibilidade --------------------------------------------- */
html.a11y-grayscale .site-header, html.a11y-grayscale .site-main, html.a11y-grayscale .site-footer { filter: grayscale(1); }
html.a11y-links a:not(.a11y *) { text-decoration: underline !important; text-decoration-thickness: 2px !important; background-color: #fff59d !important; color: #111 !important; }
html.a11y-readable body, html.a11y-readable body * { font-family: Verdana, Tahoma, Arial, sans-serif !important; }
html.a11y-spacing body * { letter-spacing: .08em !important; word-spacing: .16em !important; line-height: 1.8 !important; }
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

html.a11y-contrast body, html.a11y-contrast body *:not(svg):not(path):not(rect):not(circle) { background-color: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html.a11y-contrast body .elementor-background-overlay, html.a11y-contrast .e-con::before { background: rgba(0, 0, 0, .85) !important; }
html.a11y-contrast a, html.a11y-contrast a * { color: #ffeb3b !important; }
html.a11y-contrast .icon, html.a11y-contrast .elementor-icon, html.a11y-contrast .elementor-icon svg { color: #ffeb3b !important; fill: #ffeb3b !important; }
html.a11y-contrast .main-nav .menu > li > a::after, html.a11y-contrast .page-hero__title::before, html.a11y-contrast .m-section-title .elementor-heading-title::before { background: #ffeb3b !important; }
html.a11y-contrast .m-agenda-title .elementor-heading-title::before { background-color: #ffeb3b !important; }
html.a11y-contrast .a11y__grid button[aria-pressed="true"] { background: #ffeb3b !important; color: #000 !important; }
html.a11y-contrast img { filter: contrast(1.1); }
html.a11y-contrast .elementor .m-services .m-services__intro { clip-path: none; }

/* Impressão */
@media print {
	.site-header__right, .a11y, .to-top, .nav-overlay, .site-footer__social { display: none !important; }
	.page-hero { background: none; }
}

/* ==========================================================================
   Cabeçalho / rodapé em Elementor Pro (Theme Builder)
   ========================================================================== */
.elementor-location-header { position: relative; z-index: 50; }
.elementor .m-brand { flex-wrap: nowrap; }
.elementor .m-brand__logo { flex: none; width: auto; }
.elementor .m-brand__logo img { width: 84px; height: auto; display: block; }
.elementor .m-brand__text, .elementor .m-brand__text p { margin: 0; }
.elementor .m-brand__text a { display: flex; flex-direction: column; line-height: 1.12; font-family: var(--font-head); color: var(--ink); text-decoration: none; }
.elementor .m-brand__text span { font-weight: 500; font-size: .92rem; text-transform: uppercase; letter-spacing: .02em; }
.elementor .m-brand__text strong { font-size: 1.9rem; font-weight: 700; text-transform: uppercase; margin: 2px 0; }
.elementor .m-footer .m-brand__text a, .elementor .m-footer .m-brand__text a:hover { color: #fff; }
.elementor .m-footer .m-brand { width: auto; padding-right: 32px; border-right: 1px solid rgba(255, 255, 255, .18); }
.elementor .m-footer .m-brand__logo img { width: 64px; }
.elementor .m-footer .m-brand__text strong { font-size: 1.4rem; }
.elementor .m-footer .m-brand__text span { font-size: .72rem; }

.elementor .m-search { width: 260px; max-width: 100%; }
.elementor .m-search .elementor-search-form__container { border: 1px solid #d5d7dc; border-radius: 999px; overflow: hidden; background: #fff; min-height: 40px; }
.elementor .m-search .elementor-search-form__input { font-family: var(--font-body); font-size: .85rem; padding-left: 18px; background: #fff; color: var(--ink); }
.elementor .m-search .elementor-search-form__submit { background: #fff; color: var(--ink); min-width: 44px; }
.elementor .m-search .elementor-search-form__submit:hover { color: var(--red); }
.elementor .m-search .elementor-search-form__container:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 16, 46, .18); }
.elementor .m-search-mobile .elementor-search-form__toggle i, .elementor .m-search-mobile .elementor-search-form__toggle { color: var(--ink); }
.elementor .m-search-mobile .elementor-search-form__toggle { --e-search-form-toggle-size: 40px; --e-search-form-toggle-background-color: #fff; --e-search-form-toggle-color: var(--ink); }

.elementor .m-nav .elementor-nav-menu--main .elementor-item { font-family: var(--font-head); }
.elementor .m-nav .elementor-nav-menu--dropdown { border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; }
.elementor .m-nav .elementor-nav-menu--main .sub-menu { border-radius: var(--radius); padding: 8px; }
.elementor .m-nav .elementor-nav-menu--main .sub-menu a { border-radius: var(--radius-sm); }
.elementor .m-nav .elementor-menu-toggle { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; }
@media (min-width: 1025px) and (max-width: 1220px) {
	.elementor .m-nav .elementor-nav-menu--main .elementor-item { padding-left: 10px !important; padding-right: 10px !important; font-size: 15px !important; }
	.elementor .m-header .m-brand__text strong { font-size: 1.6rem; }
}
@media (max-width: 1024px) {
	.elementor .m-header .m-brand__logo img { width: 60px; }
	.elementor .m-header .m-brand__text strong { font-size: 1.45rem; }
	.elementor .m-header .m-brand__text span { font-size: .74rem; }
	.elementor .m-nav .elementor-nav-menu--dropdown.elementor-nav-menu__container { margin-top: 14px; }
}
@media (max-width: 420px) {
	.elementor .m-header .m-brand__logo img { width: 48px; }
	.elementor .m-header .m-brand__text strong { font-size: 1.2rem; }
	.elementor .m-header .m-brand__text span { font-size: .66rem; }
}

.elementor .m-footer { font-size: .88rem; }
.elementor .m-footer-contacts .elementor-icon-list-items { gap: 14px 40px; }
.elementor .m-footer-contacts .elementor-icon-list-item { font-size: .88rem; color: #e7e8ea; }
.elementor .m-footer-contacts .elementor-icon-list-text { color: #e7e8ea; }
.elementor .m-footer-contacts .elementor-icon-list-icon i, .elementor .m-footer-contacts .elementor-icon-list-icon svg { color: #fff; fill: #fff; font-size: 18px; width: 18px; }
.elementor .m-footer-contacts a { color: #fff; }
.elementor .m-footer-social__label .elementor-heading-title { color: #fff; font-family: var(--font-body); font-size: .88rem; font-weight: 400; }
.elementor .m-footer-social__icons .elementor-social-icon { background: transparent; }
.elementor .m-footer-social__icons .elementor-social-icon i, .elementor .m-footer-social__icons .elementor-social-icon svg { color: #fff; fill: #fff; }
.elementor .m-footer-social__icons .elementor-social-icon:hover { background: rgba(255, 255, 255, .12); }
.elementor .m-footer__copy, .elementor .m-footer__copy p { color: #d0d2d6; font-size: .78rem; margin: 0; }
.elementor .m-footer-menu .elementor-nav-menu li + li::before { content: "|"; color: rgba(255, 255, 255, .4); align-self: center; }
.elementor .m-footer-menu .elementor-item { font-size: 13px; }
@media (max-width: 1024px) {
	.elementor .m-footer .m-brand { border-right: 0; padding-right: 0; }
	.elementor .m-footer-contacts .elementor-icon-list-items { flex-direction: column; align-items: flex-start; }
	.elementor .m-footer-menu .elementor-nav-menu { justify-content: flex-start; }
	.elementor .m-footer-menu .elementor-nav-menu li:first-child .elementor-item { padding-left: 0 !important; }
}

/* Página Contactos (Elementor) */
.elementor .m-contact-grid .m-contact-box { flex: 1 1 calc(50% - 9px); min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.elementor .m-contact-box .elementor-icon-box-wrapper { display: flex; gap: 16px; align-items: flex-start; text-align: left; }
.elementor .m-contact-box .elementor-icon-box-icon { margin: 0 !important; }
.elementor .m-contact-box .elementor-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--red-soft); color: var(--red); fill: var(--red); display: grid; place-items: center; font-size: 20px; }
.elementor .m-contact-box .elementor-icon svg { width: 20px; height: 20px; fill: var(--red); }
.elementor .m-contact-box .elementor-icon-box-title { font-family: var(--font-head); font-size: 1rem; color: var(--ink); margin: 0 0 6px; }
.elementor .m-contact-box .elementor-icon-box-description { margin: 0; color: var(--text); }
.elementor .m-contact-box small { color: var(--muted); font-size: .78rem; }

/* Conteúdo Elementor dentro das páginas interiores */
.entry-content .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
html.a11y-contrast .elementor-location-header, html.a11y-contrast .elementor-location-header * { background-color: #000 !important; }
html.a11y-grayscale .elementor-location-header, html.a11y-grayscale .elementor-location-footer { filter: grayscale(1); }

/* Ajustes v1.0.1 */
body .elementor .e-con.m-hero > .m-hero__inner, body .elementor .m-hero .e-con.m-hero__inner { width: 100%; max-width: 1180px; margin-left: auto; margin-right: auto; }
body .elementor .m-iconbox .elementor-icon-box-icon { justify-content: center; width: 100%; }
body .elementor .e-con.m-news, body .elementor .e-con.m-services { --padding-bottom: 0px; margin-bottom: 64px; }
body .elementor .e-con.m-news { margin-bottom: 48px; }
@media (max-width: 767px) { body .elementor .e-con.m-news, body .elementor .e-con.m-services { margin-bottom: 40px; } }

/* Ajustes v1.0.2 — opacidade das camadas */
body .elementor .e-con.m-services__intro { --overlay-opacity: 1; }
body .elementor .e-con.m-hero { --overlay-opacity: 0.9; }

/* Ajustes v1.0.3 — cabeçalho em tablet/telemóvel */
@media (max-width: 1024px) {
	body .elementor .e-con.m-header__right { --flex-direction: row; --align-items: center; --justify-content: flex-end; --flex-wrap: nowrap; flex-direction: row; }
	body .elementor .m-header__right .m-nav { width: auto; }
}

/* =========================================================================
   v1.1 — Meteorologia, Contactos Úteis, pessoas
   ========================================================================= */
body .elementor .e-con.m-weather, body .elementor .e-con.m-useful { margin-bottom: 64px; }
.weather { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 20px; background: var(--soft); border-radius: var(--radius); padding: 22px; }
.weather__now { background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.weather__main { display: flex; align-items: center; gap: 16px; }
.weather__icon .wx-icon { width: 64px; height: 64px; }
.weather__temp { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: 3rem; line-height: 1; color: #fff; }
.weather__temp span { font-size: 1.3rem; vertical-align: top; margin-left: 2px; }
.weather__desc { margin: 4px 0 0; font-weight: 600; color: #fff; }
.weather__place { margin: 0; display: flex; align-items: center; gap: 6px; font-size: .88rem; color: rgba(255, 255, 255, .9); }
.weather__place .icon { width: 1em; height: 1em; }
.weather__stats { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid rgba(255, 255, 255, .25); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.weather__stats span { display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .8); }
.weather__stats strong { font-size: 1rem; color: #fff; }
.weather__days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.weather__day { background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); padding: 16px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.weather__dayname { font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.weather__day .wx-icon { width: 38px; height: 38px; color: var(--red); }
.weather__range { color: var(--muted); font-size: .92rem; }
.weather__range strong { color: var(--ink); font-size: 1.05rem; }
.weather__rain { font-size: .76rem; color: #2b6cb0; font-weight: 600; }
.weather__credit { grid-column: 1 / -1; margin: 0; font-size: .74rem; color: var(--muted); text-align: right; }
.weather__credit a { color: var(--muted); }
@media (max-width: 1024px) { .weather { grid-template-columns: 1fr; } .weather__days { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .weather { padding: 14px; } .weather__days { grid-template-columns: repeat(2, minmax(0, 1fr)); } .weather__credit { text-align: left; } }

body .elementor .m-useful-box { flex: 1 1 calc(33.333% - 11px); min-width: 250px; }
.elementor .m-useful-box .elementor-icon-box-wrapper { position: relative; display: flex; align-items: center; gap: 16px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s, transform .2s; height: 100%; }
.elementor .m-useful-box:hover .elementor-icon-box-wrapper { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.elementor .m-useful-box .elementor-icon-box-icon { margin: 0 !important; flex: none; }
.elementor .m-useful-box .elementor-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--red-soft); color: var(--red); fill: var(--red); display: grid; place-items: center; font-size: 20px; }
.elementor .m-useful-box .elementor-icon svg { width: 20px; height: 20px; fill: var(--red); }
.elementor .m-useful-box .elementor-icon-box-title { font-family: var(--font-head); font-weight: 500; font-size: 1rem; margin: 0 0 2px; color: var(--ink); }
.elementor .m-useful-box .elementor-icon-box-title a { color: var(--ink); text-decoration: none; }
.elementor .m-useful-box .elementor-icon-box-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.elementor .m-useful-box .elementor-icon-box-description { margin: 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 767px) { body .elementor .m-useful-box { flex-basis: 100%; } }

body .elementor .m-person { flex: 1 1 calc(33.333% - 11px); min-width: 240px; }
.elementor .m-person .elementor-icon-box-wrapper { display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); }
.elementor .m-person .elementor-icon-box-icon { margin: 0 !important; }
.elementor .m-person .elementor-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--red-soft); color: var(--red); fill: var(--red); display: grid; place-items: center; font-size: 18px; }
.elementor .m-person .elementor-icon svg { width: 18px; height: 18px; fill: var(--red); }
.elementor .m-person .elementor-icon-box-title { font-family: var(--font-head); font-weight: 500; font-size: 1rem; margin: 0 0 2px; color: var(--ink); }
.elementor .m-person .elementor-icon-box-description { margin: 0; font-size: .85rem; color: var(--red); font-weight: 600; }

/* Voltar ao topo: vermelho, acima de widgets de terceiros */
.to-top { background: var(--red); z-index: 9990; bottom: 24px; right: 24px; width: 50px; height: 50px; }
.to-top:hover, .to-top:focus-visible { background: var(--red-dark); }

/* =========================================================
   v1.1.1 — Pesquisa no cabeçalho, mapa em Contactos
   ========================================================= */
.elementor .m-header__right .m-nav { width: auto; }
.elementor .m-search { width: 170px; flex: 0 0 auto; }
.elementor .m-search .elementor-search-form__container { min-height: 38px; }
.elementor .m-search .elementor-search-form__input { font-size: .8rem; padding-left: 14px; padding-right: 4px; min-width: 0; }
.elementor .m-search .elementor-search-form__submit { min-width: 38px; width: 38px; padding: 0; font-size: 15px; color: var(--red); }
.elementor .m-search .elementor-search-form__submit svg { width: 15px; height: 15px; fill: currentColor; }
.elementor .m-search .elementor-search-form__submit:hover { color: var(--ink); }
@media (min-width: 1025px) and (max-width: 1270px) {
	.elementor .m-search { display: none; }
	body .elementor .elementor-hidden-desktop.m-search-mobile { display: block !important; }
	.elementor .m-nav .elementor-nav-menu--main .elementor-item { padding-left: 8px !important; padding-right: 8px !important; }
}
@media (max-width: 1024px) { .elementor .m-search { display: none; } }

.m-map__title .elementor-heading-title { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }
.m-map__embed iframe { border-radius: var(--radius); border: 1px solid var(--line); display: block; }
.m-map__btn .elementor-button { background: var(--red); color: #fff; border-radius: 999px; padding: 14px 26px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.m-map__btn .elementor-button:hover, .m-map__btn .elementor-button:focus-visible { background: var(--red-dark, #9e0c24); color: #fff; }
.m-map__btn .elementor-button-icon svg { fill: currentColor; width: 1em; }
@media (max-width: 767px) { .m-map__btn .elementor-button { width: 100%; justify-content: center; } }

/* v1.1.1b — larguras do cabeçalho */
body .elementor .e-con.m-brand { --width: auto; width: auto; flex: 0 0 auto; }
body .elementor .e-con.m-header__right { --width: auto; width: auto; flex: 1 1 auto; min-width: 0; }
@media (min-width: 1025px) and (max-width: 1270px) {
	.elementor .m-search { display: none; }
	body .elementor .elementor-hidden-desktop.m-search-mobile { display: block !important; }
}

@media (max-width: 1024px) { body .elementor .m-header__right .m-search-mobile { order: -1; } }
@media (max-width: 767px) { body .elementor .m-map__btn .elementor-button { display: flex; width: 100%; justify-content: center; } }

/* v1.1.2 — banner com a igreja: legibilidade no telemóvel */
@media (max-width: 767px) {
	body .elementor .e-con.m-hero::before { background-image: linear-gradient(180deg, rgba(17,17,17,.80) 0%, rgba(17,17,17,.62) 60%, rgba(17,17,17,.35) 100%) !important; opacity: 1 !important; }
	body .elementor .e-con.m-hero { background-position: 86% center !important; }
}

/* =========================================================
   v1.1.3 — Ícones meteorológicos animados
   ========================================================= */
.wx-anim { overflow: visible; }
.wx-anim .wx-fill { fill: none; }

/* Sol a brilhar */
.wx-anim .wx-rays { transform-box: fill-box; transform-origin: center; animation: wx-spin 14s linear infinite; }
.wx-anim .wx-rays--small { transform-box: view-box; transform-origin: 8px 8px; }
.wx-anim .wx-rays path { animation: wx-shine 2.4s ease-in-out infinite; }
.wx-anim .wx-core { transform-origin: center; transform-box: fill-box; animation: wx-pulse 2.4s ease-in-out infinite; }
.wx-anim--sun { color: #F2A900; }
.weather__now .wx-anim--sun-cloud .wx-core, .weather__now .wx-anim--sun-cloud .wx-rays { color: #F2A900; stroke: #F2A900; }

/* Lua */
.wx-anim .wx-moon { transform-origin: 12px 12px; animation: wx-sway 6s ease-in-out infinite; }
.wx-anim .wx-star { animation: wx-twinkle 2.2s ease-in-out infinite; }

/* Nuvens a deslizar */
.wx-anim .wx-cloud { animation: wx-drift 5s ease-in-out infinite; }
.wx-anim .wx-cloud--back { animation-duration: 7s; animation-direction: reverse; opacity: .6; }

/* Chuva / chuvisco: gotas a cair da nuvem */
.wx-anim .wx-drop { animation: wx-rain 1s linear infinite; animation-delay: calc(var(--i) * -0.27s); }
.wx-anim .wx-drop--fine { animation-duration: 1.4s; }

/* Neve */
.wx-anim .wx-flake { stroke-width: 2.6; animation: wx-snow 2.6s linear infinite; animation-delay: calc(var(--i) * -0.55s); }

/* Trovoada */
.wx-anim .wx-bolt { animation: wx-flash 3s steps(1, end) infinite; }
.weather__now .wx-anim .wx-bolt { stroke: #F2A900; }

/* Nevoeiro */
.wx-anim .wx-fog { animation: wx-fog 4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -1.3s); }

/* Vento a soprar */
.wx-gust { stroke-dasharray: 26; stroke-dashoffset: 26; animation: wx-gust var(--wx-wind-speed, 2.2s) ease-in-out infinite; animation-delay: calc(var(--i) * .25s); }
.wx-anim .wx-gusts { opacity: .95; }
.wx-anim--windy .wx-cloud, .wx-anim--windy .wx-drop, .wx-anim--windy .wx-flake { animation-duration: .8s; }
.weather__stats .wx-wind { width: 1.15em; height: 1.15em; vertical-align: -.2em; margin-right: .35em; }
.weather__stats li > span:first-child { display: flex; align-items: center; }
.weather .wx-anim--sun, .weather .wx-anim--sun-cloud .wx-core, .weather .wx-anim--sun-cloud .wx-rays { color: #F2A900; stroke: #F2A900; }
.wx-anim--windy .wx-gust { stroke-dasharray: 14; stroke-dashoffset: 14; animation-name: wx-gust-s; }
@keyframes wx-gust-s { 0% { stroke-dashoffset: 14; opacity: 0; } 15% { opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -14; opacity: 0; } }

@keyframes wx-spin    { to { transform: rotate(360deg); } }
@keyframes wx-shine   { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes wx-pulse   { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }
@keyframes wx-sway    { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes wx-twinkle { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes wx-drift   { 0%, 100% { transform: translateX(-1.2px); } 50% { transform: translateX(1.2px); } }
@keyframes wx-rain    { 0% { transform: translateY(-2px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { transform: translateY(5px); opacity: 0; } }
@keyframes wx-snow    { 0% { transform: translate(0, -1px); opacity: 0; } 20% { opacity: 1; } 50% { transform: translate(1px, 2.5px); } 100% { transform: translate(-1px, 5px); opacity: 0; } }
@keyframes wx-flash   { 0%, 70%, 78%, 100% { opacity: .25; } 72%, 76%, 80% { opacity: 1; } }
@keyframes wx-fog     { from { transform: translateX(-2px); opacity: .55; } to { transform: translateX(2px); opacity: 1; } }
@keyframes wx-gust    { 0% { stroke-dashoffset: 26; opacity: 0; } 15% { opacity: 1; } 60% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -26; opacity: 0; } }

/* Sem animações: preferência do sistema ou botão de acessibilidade */
@media (prefers-reduced-motion: reduce) {
	.wx-anim *, .wx-gust { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }
}
.a11y-noanim .wx-anim *, .a11y-noanim .wx-gust { animation: none !important; opacity: 1 !important; stroke-dashoffset: 0 !important; transform: none !important; }

/* =========================================================
   v1.1.4 — Rodapé sempre no fundo do ecrã (sem espaço branco por baixo)
   ========================================================= */
body.wp-theme-mosteiro { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.wp-theme-mosteiro.admin-bar { min-height: calc(100vh - 32px); min-height: calc(100dvh - 32px); }
@media screen and (max-width: 782px) { body.wp-theme-mosteiro.admin-bar { min-height: calc(100vh - 46px); min-height: calc(100dvh - 46px); } }
body.wp-theme-mosteiro > * { flex-shrink: 0; }
body.wp-theme-mosteiro > .site-main, body.wp-theme-mosteiro > main { flex: 1 0 auto; width: 100%; }
body.wp-theme-mosteiro > footer, body.wp-theme-mosteiro > .site-footer { margin-top: auto; width: 100%; }

/* Meteorologia: vento e humidade nos cartões de previsão ------------------- */
.weather__meta { list-style: none; margin: auto 0 0; padding: 8px 4px 0; width: 100%; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: .74rem; line-height: 1.3; }
.weather__meta li { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.weather__meta span { color: var(--text); }
.weather__meta strong { color: var(--ink); font-weight: 600; white-space: nowrap; }

/* Acessibilidade: canto inferior direito, alinhado com o "voltar ao topo" -- */
.a11y { top: auto; bottom: 86px; right: 24px; transform: none; z-index: 9991; }
.a11y__toggle, .a11y__toggle:hover { width: 50px; height: 50px; border-radius: 50%; }
.a11y__toggle .icon { width: 26px; height: 26px; }
.a11y__panel { top: auto; bottom: 0; right: 62px; transform: none; max-height: calc(100vh - 120px); }
@media (max-width: 600px) {
	.a11y__panel { right: 0; bottom: 62px; width: min(340px, calc(100vw - 48px)); max-height: calc(100vh - 170px); }
}

/* Rodapé: crédito Rubik Studio */
.elementor .m-footer__copy p.m-footer__credit { margin-top: 4px; }
.elementor .m-footer__copy a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.elementor .m-footer__copy a:hover, .elementor .m-footer__copy a:focus-visible { color: #fff; text-decoration-thickness: 2px; }

/* =========================================================================
   v1.2 — Ajustes responsivos (cabeçalho, menu, contactos úteis, rodapé)
   ========================================================================= */

/* Marca: subtítulo "Santa Maria da Feira" (mesmo aspeto do texto anterior) */
.elementor .m-brand__text .m-brand__sub,
.elementor .m-header .m-brand__text .m-brand__sub { text-transform: none; font-size: inherit; font-weight: inherit; letter-spacing: normal; }
@media (max-width: 767px) {
	.elementor .m-header .m-brand__text .m-brand__sub { display: none; }
}

@media (max-width: 1024px) {
	/* Sem pesquisa no cabeçalho; botão de menu maior */
	body .elementor .m-header__right .m-search-mobile,
	body .elementor .m-header__right .m-search { display: none !important; }
	.elementor .m-nav { --nav-menu-icon-size: 28px; }
	.elementor .m-nav .elementor-menu-toggle { width: 52px; height: 52px; padding: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); transition: background .25s, border-color .25s, color .25s; }
	.elementor .m-nav .elementor-menu-toggle svg { width: 28px; height: 28px; fill: currentColor; }
	.elementor .m-nav .elementor-menu-toggle:hover { border-color: var(--red); color: var(--red); }
	.elementor .m-nav .elementor-menu-toggle.elementor-active { background: var(--red) !important; border-color: var(--red) !important; color: #fff !important; }
	.elementor .m-nav .elementor-menu-toggle.elementor-active svg { fill: #fff !important; }

	/* Painel do menu */
	.elementor .m-nav .elementor-menu-toggle + .elementor-nav-menu__container { background: #fff !important; border: 0; border-top: 3px solid var(--red); border-radius: 0 0 20px 20px; box-shadow: 0 28px 50px rgba(15, 16, 19, .22); padding: 10px 16px 18px; margin-top: 15px; }
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container { max-height: calc(100vh - 110px) !important; overflow-y: auto !important; animation: mNavIn .38s cubic-bezier(.2, .8, .2, 1) both; transform-origin: top center; }
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container > ul > li { animation: mNavItem .4s cubic-bezier(.2, .8, .2, 1) both; }
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container > ul > li:nth-child(2) { animation-delay: .04s; }
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container > ul > li:nth-child(3) { animation-delay: .08s; }
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container > ul > li:nth-child(4) { animation-delay: .12s; }
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container > ul > li:nth-child(5) { animation-delay: .16s; }
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container > ul > li:nth-child(6) { animation-delay: .2s; }
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container > ul > li:nth-child(n+7) { animation-delay: .24s; }
	.elementor .m-nav .elementor-nav-menu--dropdown > ul > li + li { border-top: 1px solid var(--line); }
	.elementor .m-nav .elementor-nav-menu--dropdown a.elementor-item { font-family: var(--font-head); font-size: 16px; font-weight: 500; color: var(--ink) !important; background: transparent !important; padding: 14px 12px !important; margin: 2px 0; border-radius: 12px; border: 0 !important; justify-content: space-between; transition: background .2s, color .2s, padding .2s; }
	.elementor .m-nav .elementor-nav-menu--dropdown a.elementor-item:hover,
	.elementor .m-nav .elementor-nav-menu--dropdown a.elementor-item:focus-visible { background: var(--red-soft) !important; color: var(--red) !important; padding-left: 16px !important; }
	.elementor .m-nav .elementor-nav-menu--dropdown a.elementor-item.elementor-item-active { background: var(--red-soft) !important; color: var(--red) !important; box-shadow: inset 3px 0 0 var(--red); }
	.elementor .m-nav .elementor-nav-menu--dropdown .sub-arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: #f3f3f5; padding: 0; margin: 0; }
	.elementor .m-nav .elementor-nav-menu--dropdown .sub-arrow svg { width: 10px; height: 10px; fill: currentColor; transition: transform .25s; }
	.elementor .m-nav .elementor-nav-menu--dropdown a.highlighted .sub-arrow svg,
	.elementor .m-nav .elementor-nav-menu--dropdown a[aria-expanded="true"] .sub-arrow svg { transform: rotate(180deg); }
	.elementor .m-nav .elementor-nav-menu--dropdown .sub-menu { background: #f6f6f8 !important; border: 0 !important; border-radius: 12px; box-shadow: none !important; margin: 0 0 10px !important; padding: 6px !important; }
	.elementor .m-nav .elementor-nav-menu--dropdown .sub-menu a.elementor-sub-item { font-size: 15px; color: var(--text) !important; background: transparent !important; padding: 11px 12px 11px 18px !important; border: 0 !important; border-radius: 10px; }
	.elementor .m-nav .elementor-nav-menu--dropdown .sub-menu a.elementor-sub-item:hover,
	.elementor .m-nav .elementor-nav-menu--dropdown .sub-menu a.elementor-sub-item.elementor-item-active { background: #fff !important; color: var(--red) !important; }

	/* Rodapé centrado */
	body .elementor .m-footer__top,
	body .elementor .m-footer__bottom,
	body .elementor .m-footer__top > .e-con,
	body .elementor .m-footer-social { align-items: center !important; justify-content: center !important; text-align: center; }
	body .elementor .m-footer .m-brand { justify-content: center; margin: 0 auto; }
	.elementor .m-footer-contacts .elementor-icon-list-items { align-items: center !important; }
	.elementor .m-footer-contacts .elementor-icon-list-item, .elementor .m-footer-contacts .elementor-icon-list-item > a { justify-content: center; }
	.elementor .m-footer-social__icons .elementor-grid, .elementor .m-footer-social__icons { justify-content: center; text-align: center; }
	.elementor .m-footer__copy, .elementor .m-footer__copy p { text-align: center; }
	.elementor .m-footer-menu .elementor-nav-menu { justify-content: center !important; flex-wrap: wrap; }
	.elementor .m-footer-menu .elementor-nav-menu li:first-child .elementor-item { padding-left: 10px !important; }
	.elementor .m-footer-menu, .elementor .m-footer-menu nav.elementor-nav-menu--main { width: 100%; }
	.elementor .m-footer-menu nav.elementor-nav-menu--main { display: flex; justify-content: center; }
	.elementor .m-footer-menu nav.elementor-nav-menu--dropdown, .elementor .m-footer-menu .elementor-menu-toggle { display: none !important; }
	.elementor .m-footer-menu .elementor-nav-menu { margin-left: auto; margin-right: auto; }

	/* Acessibilidade e voltar ao topo: alinhados e mais pequenos */
	.to-top { width: 42px; height: 42px; right: 16px; bottom: 16px; }
	.to-top .icon { width: 20px; height: 20px; }
	.a11y { right: 16px; bottom: 68px; }
	.a11y__toggle, .a11y__toggle:hover { width: 42px; height: 42px; }
	.a11y__toggle .icon { width: 22px; height: 22px; }
	.a11y__panel { right: 0; bottom: 52px; width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 150px); }
}

@media (max-width: 767px) {
	/* Contactos úteis: ícones centrados */
	.elementor .m-useful-box .elementor-icon-box-wrapper { align-items: center; text-align: center; }
	.elementor .m-useful-box .elementor-icon-box-icon { margin: 0 auto 10px !important; }
}

@keyframes mNavIn { from { opacity: 0; transform: translateY(-14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes mNavItem { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container,
	.elementor .m-nav .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container > ul > li { animation: none; }
}
html.a11y-noanim .elementor .m-nav .elementor-nav-menu__container,
html.a11y-noanim .elementor .m-nav .elementor-nav-menu__container > ul > li { animation: none !important; }

/* v1.1.5 — Membros (Executivo / Assembleia): ícone centrado no telemóvel */
@media (max-width: 767px) {
	.elementor .m-person .elementor-icon-box-wrapper { align-items: center; text-align: center; }
	.elementor .m-person .elementor-icon-box-icon { margin: 0 auto !important; }
}

/* =========================================================
   Formulários (Elementor Pro Form) – classe .m-form
   Usado em: Requerimentos e Formulários, Contactos
   ========================================================= */
.m-form-section .m-form-section__title .elementor-heading-title { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 0; }
.m-form-section .m-form-section__intro p { margin: 0; color: var(--text); }
.elementor .m-form .elementor-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.elementor .m-form .elementor-form-fields-wrapper { row-gap: 18px; }
.elementor .m-form .elementor-field-group { margin-bottom: 0 !important; }
.elementor .m-form .elementor-field-group > label,
.elementor .m-form .elementor-field-label { font-family: var(--font-head); font-size: .9rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; padding-bottom: 0; }
.elementor .m-form .elementor-mark-required .elementor-field-label:after { color: var(--red); }
.elementor .m-form .elementor-field-textual,
.elementor .m-form .elementor-select-wrapper select,
.elementor .m-form .elementor-upload-field { width: 100%; background: #fff; border: 1px solid #d5d7dc; border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; font-family: var(--font-body); font-size: .95rem; color: var(--ink); box-shadow: none; transition: border-color .2s, box-shadow .2s; }
.elementor .m-form textarea.elementor-field-textual { min-height: 150px; line-height: 1.55; resize: vertical; }
.elementor .m-form .elementor-field-textual::placeholder { color: #80858d; }
.elementor .m-form .elementor-field-textual:focus,
.elementor .m-form .elementor-select-wrapper select:focus,
.elementor .m-form .elementor-upload-field:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(200, 16, 46, .18); }
.elementor .m-form .elementor-select-wrapper .select-caret-down-wrapper { color: var(--muted); right: 14px; }
.elementor .m-form .elementor-upload-field { padding: 10px 14px; cursor: pointer; }
.elementor .m-form .elementor-upload-field::file-selector-button { margin-right: 12px; border: 0; border-radius: 999px; background: var(--red-soft); color: var(--red); font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: 7px 16px; cursor: pointer; }
.elementor .m-form .elementor-field-type-html { font-size: .9rem; color: var(--muted); }
.elementor .m-form .m-form__legend { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin: 10px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.elementor .m-form .m-form__legend:before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--red); }
.elementor .m-form .m-form__legend--first { margin-top: 0; }
.elementor .m-form .m-form__note { margin: 0; font-size: .85rem; color: var(--muted); }
.elementor .m-form .elementor-field-type-acceptance .elementor-field-subgroup,
.elementor .m-form .elementor-field-type-acceptance label { font-family: var(--font-body); font-weight: 400; font-size: .88rem; color: var(--text); line-height: 1.5; }
.elementor .m-form .elementor-field-type-acceptance input[type="checkbox"] { accent-color: var(--red); width: 18px; height: 18px; margin-right: 8px; vertical-align: -3px; }
.elementor .m-form a { color: var(--red); text-decoration: underline; }
.elementor .m-form .elementor-field-type-submit { margin-top: 6px; }
.elementor .m-form .elementor-button { background: var(--red); color: #fff; border: 0; border-radius: 999px; padding: 15px 34px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; min-height: 50px; transition: background .2s; }
.elementor .m-form .elementor-button:hover,
.elementor .m-form .elementor-button:focus-visible { background: var(--red-dark); color: #fff; }
.elementor .m-form .elementor-button:focus-visible { outline: 3px solid rgba(200, 16, 46, .35); outline-offset: 2px; }
.elementor .m-form .elementor-message { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-sm); font-size: .92rem; }
.elementor .m-form .elementor-message.elementor-message-success { background: #eaf7ef; color: #146c3a; }
.elementor .m-form .elementor-message.elementor-message-danger { background: var(--red-soft); color: var(--red-dark); }
.elementor .m-form .elementor-message:before { display: none; }
.elementor .m-form .elementor-error .elementor-field-textual,
.elementor .m-form .elementor-error select { border-color: var(--red); }
.elementor .m-form .elementor-error .elementor-field-textual + .elementor-message,
.elementor .m-form .elementor-field-group .elementor-message { background: none; padding: 4px 0 0; margin: 0; color: var(--red); font-size: .8rem; }
@media (max-width: 767px) {
	.elementor .m-form .elementor-form { padding: 20px; }
	.elementor .m-form .elementor-button { width: 100%; justify-content: center; }
}

