/*
Theme Name: Algarve Land Clearance
Description: Native block theme and English starter content based on the owner's archived website. Translation-ready for WPML.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.0
Author: Algarve Land Clearance
Text Domain: algarve-land-clearance
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Keep the archived visual system while accommodating native block markup. */
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'DM Sans', sans-serif; }
.wp-site-blocks > *, .wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.wp-block-group { box-sizing: border-box; }
.wp-block-image.alc-image { margin: 0; }
.wp-block-image.alc-image img { width: 100%; height: 100%; object-fit: inherit; border-radius: inherit; }
.wp-block-image.alc-image.object-cover img { object-fit: cover; }
.wp-block-group > p:empty { display: none; }
.wp-block-button__link { background: hsl(25 70% 52%); color: white; border-radius: 6px; padding: 16px 30px; font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 700; text-decoration: none; }
.wp-block-button__link:hover { background: hsl(25 70% 44%); }
.wp-block-buttons { margin: 0; }
.alc-header { position: relative; z-index: 50; padding: 16px 24px 0; margin: 0 auto; max-width: 1280px; }
.alc-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 66px; padding: 10px 22px; border: 1px solid hsl(40 15% 85%); border-radius: 16px; background: white; box-shadow: 0 8px 20px #0001; }
.alc-brand { display: flex; align-items: center; gap: 8px; }
.alc-logo { width: 90px; flex-shrink: 0; margin: 0; }
.alc-logo img { width: 90px; height: 45px; object-fit: contain; }
.alc-brand .wp-block-site-title { font-family: 'Playfair Display',serif; font-size: 20px; line-height: 1.1; font-weight: 700; max-width: 210px; }
.alc-brand a { text-decoration: none; }
.alc-nav { font-size: 14px; font-weight: 500; }
.alc-nav .wp-block-navigation__container { gap: 20px; }
.alc-header-phone { white-space: nowrap; color: hsl(145 35% 22%); font-size: 14px; }
.alc-page { margin: 0; }
.alc-blog { max-width: 1200px; margin: 0 auto; padding: 72px 24px; }
.alc-blog h1 { font-size: 44px; margin-bottom: 40px; }
.alc-blog h2 { font-size: 26px; margin: 20px 0 12px; }
.alc-blog .wp-block-post-template { gap: 32px; }
.alc-blog .wp-block-post { border: 1px solid hsl(40 15% 85%); padding: 20px; background: white; border-radius: 8px; }
.alc-blog .wp-block-post-excerpt { margin-top: 16px; }
.alc-blog .wp-block-query-pagination { margin-top: 40px; }
.alc-article { max-width: 850px; margin: 0 auto; padding: 64px 24px; }
.alc-article h1 { font-size: 42px; line-height: 1.15; margin-bottom: 20px; }
.alc-article h2 { font-size: 28px; margin: 32px 0 16px; }
.alc-article h3 { font-size: 23px; margin: 24px 0 12px; }
.alc-article .wp-block-post-featured-image { margin: 28px 0; }
.alc-article .wp-block-post-content p { margin-bottom: 20px; }
.alc-article .wp-block-post-content ul { list-style: disc; padding-left: 24px; margin-bottom: 20px; }
.alc-article a { text-decoration: underline; text-underline-offset: 3px; }
.alc-faq { background: white; border: 1px solid hsl(40 15% 85%); border-radius: 8px; padding: 0 24px; margin-bottom: 12px; }
.alc-faq summary { cursor: pointer; padding: 20px 0; font-weight: 700; }
.alc-faq p { margin-bottom: 16px; line-height: 1.7; color: hsl(150 10% 40%); }
.alc-contact-prompt { padding: 64px 24px; text-align: center; background: hsl(38 30% 90%); }
.alc-contact-prompt h2 { font-size: 32px; margin-bottom: 20px; }
.alc-contact-prompt p { margin-bottom: 24px; }
.alc-contact-prompt .wp-block-buttons { justify-content: center; }
.alc-form-note { font-size: 14px; margin-top: 16px; }
.alc-form-preview fieldset { min-width: 0; }
.alc-form-preview input, .alc-form-preview textarea, .alc-form-preview button { opacity: .65; }
.alc-whatsapp { position: fixed; bottom: 22px; right: 22px; z-index: 60; background: #16813e; color: #fff; padding: 12px 20px; border-radius: 28px; font-weight: 700; box-shadow: 0 3px 12px #0003; }
a:focus-visible, summary:focus-visible, button:focus-visible { outline: 3px solid hsl(25 70% 52%); outline-offset: 4px; }
.wp-block-navigation__responsive-container.is-menu-open { padding: 32px; background: white; color: #18251f; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start; gap: 24px; }
@media (max-width: 1100px) { .alc-header-phone { display: none; } }
@media (max-width: 700px) {
 .alc-header { padding: 12px 12px 0; }
 .alc-header-inner { padding: 8px 14px; gap: 12px; }
 .alc-brand .wp-block-site-title { font-size: 17px; max-width: 150px; }
 .alc-logo, .alc-logo img { width: 65px; }
 .alc-blog h1, .alc-article h1 { font-size: 32px; overflow-wrap: anywhere; }
 .alc-blog .wp-block-post-template { grid-template-columns: 1fr; }
 footer .flex { flex-wrap: wrap; }
 .alc-whatsapp { bottom: 14px; right: 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
