/*
Theme Name: Pablo Física y Química
Theme URI: https://www.pablofisicayquimica.es/
Author: Pablo Ortega Rodríguez
Description: Tema personalizado de Pablo Física y Química.
Version: 2.4.1
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: pablo-fisica-quimica
*/
html{scroll-padding-top:90px}body.admin-bar .site-header{top:32px}.entry-content img{height:auto}.pfq-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}.pfq-alert{max-width:1160px;margin:18px auto;padding:15px 18px;border-radius:14px;font-weight:750}.pfq-alert.success{background:#EAF8F4;border:1px solid #A8DED1;color:#174C42}.pfq-alert.error{background:#FFF2F2;border:1px solid #E9B4B4;color:#7D2525}.newsletter-consent{display:flex;gap:9px;align-items:flex-start;margin-top:10px;font-size:.88rem}.newsletter-consent input{margin-top:4px;min-width:18px}.newsletter-consent a{text-decoration:underline}.pfq-cookie-button{appearance:none;border:0;background:none;color:inherit;font:inherit;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.pfq-cookie-banner{position:fixed;left:18px;right:18px;bottom:18px;z-index:99998;display:none;max-width:900px;margin:auto;background:#fff;border:1px solid #DCE4EE;border-radius:22px;padding:22px;box-shadow:0 24px 70px rgba(16,36,62,.25)}.pfq-cookie-banner.is-visible{display:block}.pfq-cookie-banner h2{font-size:1.35rem;margin-bottom:8px}.pfq-cookie-banner p{margin-bottom:14px;color:#435268}.pfq-cookie-actions{display:flex;gap:10px;flex-wrap:wrap}.pfq-cookie-config{display:none;margin-top:16px;padding-top:16px;border-top:1px solid #DCE4EE}.pfq-cookie-config.is-visible{display:grid;gap:12px}.pfq-cookie-option{display:flex;gap:10px;align-items:flex-start}.pfq-cookie-option input{margin-top:5px}.pfq-cookie-option small{display:block;color:#627083}.pfq-pagination{display:flex;gap:8px;justify-content:center;margin-top:38px}.pfq-pagination .page-numbers{padding:10px 14px;border:1px solid #DCE4EE;border-radius:12px}.pfq-pagination .current{background:#246BFD;color:#fff;border-color:#246BFD}@media(max-width:782px){body.admin-bar .site-header{top:46px}}@media(max-width:650px){.pfq-cookie-banner{left:10px;right:10px;bottom:10px;padding:18px}.pfq-cookie-actions{display:grid;grid-template-columns:1fr 1fr}.pfq-cookie-actions .btn:first-child{grid-column:1/-1}}

.form-inline,.subscribe{flex-wrap:wrap}.form-inline .newsletter-consent,.subscribe .newsletter-consent{flex:0 0 100%;color:inherit;padding:0 10px 8px}.newsletter .newsletter-consent{color:#fff}.newsletter .newsletter-consent a{color:#fff}

/* Ajustes v1.2.0 */
/* Boletines de portada y blog: contenedor rectangular con esquinas suavizadas. */
.page-index .newsletter .form-inline,
.page-blog .newsletter .subscribe{
  border-radius:24px;
  align-items:center;
}
.page-blog .newsletter .subscribe{
  padding:10px 12px;
}
.page-index .newsletter .form-inline .newsletter-consent,
.page-blog .newsletter .subscribe .newsletter-consent{
  color:var(--navy);
}
.page-index .newsletter .form-inline .newsletter-consent a,
.page-blog .newsletter .subscribe .newsletter-consent a{
  color:var(--blue);
}

/* Artículo: tarjetas de claves con contenido alineado y ancho flexible. */
.page-article .article-body .steps{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  width:100%;
}
.page-article .article-body .steps .step{
  display:flex !important;
  flex-direction:row !important;
  align-items:flex-start !important;
  gap:16px !important;
  width:100% !important;
  min-width:0 !important;
}
.page-article .article-body .steps .step > span{
  flex:0 0 48px !important;
}
.page-article .article-body .steps .step > div{
  display:block !important;
  flex:1 1 auto !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
}
.page-article .article-body .steps .step h3{
  margin:2px 0 8px !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  white-space:normal !important;
}
.page-article .article-body .steps .step p{
  margin:0 !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
  white-space:normal !important;
}


/* Ajustes v1.2.1 */
/* Boletines de blog y contacto: contenedor rectangular con esquinas suavizadas. */
.page-blog .newsletter .subscribe,
.blog .newsletter .subscribe,
.home.blog .newsletter .subscribe,
.page-contacto .newsletter .subscribe,
.page-template-page-contacto .newsletter .subscribe,
.page-contacto .newsletter .newsletter-form-wrap,
.page-template-page-contacto .newsletter .newsletter-form-wrap{
  border-radius:24px !important;
}
.page-blog .newsletter .subscribe,
.blog .newsletter .subscribe,
.home.blog .newsletter .subscribe,
.page-contacto .newsletter .subscribe,
.page-template-page-contacto .newsletter .subscribe{
  padding:10px 12px;
  align-items:center;
}


/* Ajustes v1.2.2 */
/* Texto de consentimiento visible sobre el fondo blanco de los boletines. */
.page-blog .newsletter .subscribe .newsletter-consent,
.page-blog .newsletter .subscribe .newsletter-consent span,
.blog .newsletter .subscribe .newsletter-consent,
.blog .newsletter .subscribe .newsletter-consent span,
.home.blog .newsletter .subscribe .newsletter-consent,
.home.blog .newsletter .subscribe .newsletter-consent span,
.page-contacto .newsletter .subscribe .newsletter-consent,
.page-contacto .newsletter .subscribe .newsletter-consent span,
.page-template-page-contacto .newsletter .subscribe .newsletter-consent,
.page-template-page-contacto .newsletter .subscribe .newsletter-consent span{
  color:#10243E !important;
  opacity:1 !important;
  visibility:visible !important;
}
.page-blog .newsletter .subscribe .newsletter-consent a,
.blog .newsletter .subscribe .newsletter-consent a,
.home.blog .newsletter .subscribe .newsletter-consent a,
.page-contacto .newsletter .subscribe .newsletter-consent a,
.page-template-page-contacto .newsletter .subscribe .newsletter-consent a{
  color:#246BFD !important;
  opacity:1 !important;
  visibility:visible !important;
}


/* Ajustes v1.3.0 · Cloudflare Turnstile */
.pfq-turnstile{flex:0 0 100%;width:100%;margin:10px 0 12px;max-width:420px}
.form-card .pfq-turnstile{max-width:420px}
.newsletter .pfq-turnstile{padding:0 10px}
@media(max-width:650px){.pfq-turnstile{max-width:100%}}


/* Ajustes v1.5.0 · Boletines y Turnstile sin solapamientos */
.newsletter form.form-inline,
.newsletter form.subscribe{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  grid-template-rows:auto auto auto !important;
  gap:12px !important;
  align-items:center !important;
  overflow:visible !important;
}
.newsletter form.form-inline > input[type="email"],
.newsletter form.subscribe > input[type="email"]{
  grid-column:1 !important;
  grid-row:1 !important;
  width:100% !important;
  min-height:52px !important;
}
.newsletter form.form-inline > button,
.newsletter form.subscribe > button{
  grid-column:2 !important;
  grid-row:1 !important;
  white-space:nowrap !important;
}
.newsletter form.form-inline > .pfq-turnstile,
.newsletter form.subscribe > .pfq-turnstile{
  grid-column:1 / -1 !important;
  grid-row:2 !important;
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  flex:none !important;
}
.newsletter .pfq-turnstile .cf-turnstile{
  width:100% !important;
  max-width:100% !important;
}
.newsletter form.form-inline > .newsletter-consent,
.newsletter form.subscribe > .newsletter-consent{
  grid-column:1 / -1 !important;
  grid-row:3 !important;
  margin:0 !important;
  padding:0 4px 2px !important;
}
@media(max-width:650px){
  .newsletter form.form-inline,
  .newsletter form.subscribe{
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto auto auto !important;
  }
  .newsletter form.form-inline > input[type="email"],
  .newsletter form.subscribe > input[type="email"]{grid-column:1 !important;grid-row:1 !important;}
  .newsletter form.form-inline > button,
  .newsletter form.subscribe > button{grid-column:1 !important;grid-row:2 !important;width:100% !important;}
  .newsletter form.form-inline > .pfq-turnstile,
  .newsletter form.subscribe > .pfq-turnstile{grid-column:1 !important;grid-row:3 !important;}
  .newsletter form.form-inline > .newsletter-consent,
  .newsletter form.subscribe > .newsletter-consent{grid-column:1 !important;grid-row:4 !important;}
}

/* Ajustes v1.6.1 · consentimiento del boletín unificado en Inicio, Blog y Contacto */
.newsletter form.form-inline > .newsletter-consent,
.newsletter form.subscribe > .newsletter-consent{
  display:flex !important;
  gap:10px !important;
  align-items:flex-start !important;
  font-size:.9rem !important;
  line-height:1.45 !important;
  font-weight:800 !important;
  color:#10243E !important;
}
.newsletter form.form-inline > .newsletter-consent > input[type="checkbox"],
.newsletter form.subscribe > .newsletter-consent > input[type="checkbox"]{
  width:18px !important;
  min-width:18px !important;
  height:18px !important;
  flex:0 0 18px !important;
  padding:0 !important;
  margin:4px 0 0 !important;
}
.newsletter form.form-inline > .newsletter-consent > span,
.newsletter form.subscribe > .newsletter-consent > span{
  display:block !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  color:#10243E !important;
}
.newsletter form.form-inline > .newsletter-consent a,
.newsletter form.subscribe > .newsletter-consent a{
  color:#246BFD !important;
  font-weight:800 !important;
  text-decoration:underline !important;
  text-underline-offset:3px !important;
}

