/*
Theme Name: Hablamigo
Theme URI: https://hablamigo.com
Description: Child theme of Twenty Twenty-Five for the Hablamigo marketing site (EN/ES). Colors, fonts, header and footer follow the original Hostinger site. Edit everything from Appearance > Editor.
Author: Hablamigo
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hablamigo
*/

/* Small extras that theme.json cannot express. Keep this file short. */

/* Sticky, light header */
.hablamigo-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(38, 50, 56, .08); }
body.admin-bar .hablamigo-header { top: var(--wp-admin--admin-bar--height, 32px); }

/* Testimonials: big decorative quote mark (replaces the builder's separate quote-mark headings) */
.wp-block-quote { position: relative; padding-left: 3.25rem; border: 0; margin: 0; }
.wp-block-quote::before {
	content: "\201C"; position: absolute; left: 0; top: -.35em;
	font-family: var(--wp--preset--font-family--poppins); font-size: 4.5rem; line-height: 1;
	color: var(--wp--preset--color--blue-2);
}
.wp-block-quote cite { display: block; text-align: right; margin-top: .5rem; font-style: normal; }

/* FAQ accordions */
.hablamigo-faq .wp-block-details { border-bottom: 1px solid var(--wp--preset--color--light-gray); padding: 1rem 0; }
.hablamigo-faq .wp-block-details summary { font-family: var(--wp--preset--font-family--poppins); font-weight: 600; font-size: 1.125rem; cursor: pointer; }

/* Cards on top of background images */
.wp-block-cover .wp-block-group.has-background { box-shadow: 0 4px 24px rgba(38, 50, 56, .08); }

/* Polylang language switcher: inline list */
.hablamigo-header .wp-block-polylang-language-switcher,
.hablamigo-header ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .5rem; font-size: .875rem; }

/* Header fixes: switcher on one line, button label never wraps */
.hablamigo-header .pll-switcher ul { display: flex !important; flex-direction: row !important; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.hablamigo-header .pll-switcher li { margin: 0; }
.hablamigo-header .pll-switcher a { text-decoration: none; color: var(--wp--preset--color--dark, #263238); }
.hablamigo-header .pll-switcher .current-lang a { font-weight: 600; }
.hablamigo-header .wp-block-button__link { white-space: nowrap; }
.hablamigo-header .wp-block-buttons { flex-shrink: 0; }

/* Card rows on background images use the wide width, not the narrow text column */
.wp-block-cover__inner-container > .wp-block-columns { max-width: var(--wp--style--global--wide-size, 1240px) !important; }

/* Contact form (rendered by the hablamigo-importer plugin) */
.hablamigo-contact-form__field { display: flex; flex-direction: column; gap: .35rem; margin: 0 0 1rem; }
.hablamigo-contact-form__field label { font-weight: 600; font-size: .9rem; }
.hablamigo-contact-form__field input,
.hablamigo-contact-form__field textarea {
	width: 100%; box-sizing: border-box; padding: .7rem .85rem; font: inherit;
	border: 1px solid var(--wp--preset--color--light-gray, #e3e7e8); border-radius: 10px; background: #fff;
}
.hablamigo-contact-form__field input:focus,
.hablamigo-contact-form__field textarea:focus { outline: 2px solid var(--wp--preset--color--blue-2, #4184a3); outline-offset: 1px; }

/* Footer */
.hablamigo-footer a { color: inherit; text-decoration: none; }
.hablamigo-footer a:hover { text-decoration: underline; }

@media (max-width: 781px) {
	.hablamigo-header .wp-block-button__link { padding: .5rem 1rem; }
}
