/*
Theme Name: Frente Único
Theme URI: https://frenteunico.com.ar
Description: Theme child de Blocksy para la Agrupación Frente Único Orden y Progreso del Club Atlético Boca Juniors. Migración del sitio original (TanStack Start) a WordPress + Gutenberg con bloques nativos.
Author: P3Design — Andres Fernandez Fantl
Author URI: https://www.p3design.com
Template: blocksy
Version: 0.1.0
Requires at least: 6.5
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: frente-unico
Tags: child-theme, block-patterns, custom-colors, custom-logo, custom-menu, full-width-template
*/

/* Los estilos del theme viven en assets/css/theme.css y se encolan vía inc/enqueue.php.
   Este archivo existe solo para que WordPress detecte el theme child. */


/* Formularios incrustados: ancho y presentación */
iframe.fu-form-iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}

/* Espacio para campos, captcha y botón */
iframe.fu-form-iframe--contacto {
  height: 700px !important;
}

iframe.fu-form-iframe--sumate {
  height: 800px !important;
}

/* Margen adicional en pantallas pequeñas */
@media (max-width: 767px) {
  iframe.fu-form-iframe--contacto {
    height: 780px !important;
  }

  iframe.fu-form-iframe--sumate {
    height: 880px !important;
  }
}




/* Nuestra propuesta: grilla en columnas (1-6 izq., 7-12 der.) */
@media (min-width: 768px) {
  .fu-propuestas-grid { grid-auto-flow: column; grid-template-rows: repeat(6, auto); }
  .fu-propuestas-grid .fu-propuesta-item:nth-child(n) { border-right: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid var(--wp--preset--color--gris-borde); }
  .fu-propuestas-grid .fu-propuesta-item:nth-child(-n+6) { border-right: 1px solid var(--wp--preset--color--gris-borde); padding-right: 1.5rem; }
  .fu-propuestas-grid .fu-propuesta-item:nth-child(n+7) { padding-left: 1.5rem; }
  .fu-propuestas-grid .fu-propuesta-item:nth-child(6), .fu-propuestas-grid .fu-propuesta-item:nth-child(12) { border-bottom: 0; }
}
@media (min-width: 1024px) {
  .fu-propuestas-grid .fu-propuesta-item:nth-child(-n+6) { padding-right: 2rem; }
  .fu-propuestas-grid .fu-propuesta-item:nth-child(n+7) { padding-left: 2rem; }
}