/* Display font: Platypi (variable, del tema padre) para titulares */
@font-face{ font-family:"Platypi"; src:url("https://blog.universidadquantum.es/wp-content/themes/twentytwentyfive/assets/fonts/platypi/Platypi-VariableFont_wght.woff2") format("woff2"); font-weight:300 800; font-style:normal; font-display:swap; }
.uq-hero-title,.single .wp-block-post-title,.wp-block-post-title,.wp-block-post-content h2,.wp-block-post-content h3{ font-family:"Platypi",Georgia,serif !important; }

/* App-like page transitions + scroll reveal (guarded) */
@media (prefers-reduced-motion: no-preference){
  @view-transition { navigation: auto; }
  .wp-block-post{ animation: uqfade .6s both; animation-timeline: view(); animation-range: entry 0% cover 25%; }
  @keyframes uqfade{ from{ opacity:0; transform:translateY(18px); } to{ opacity:1; transform:none; } }
}
/* Contact Form 7 */
.wpcf7 input[type="submit"]{ background:linear-gradient(135deg,#6366F1,#22D3EE); color:#04222A; border:0; border-radius:999px; font-weight:700; padding:.75rem 1.5rem; cursor:pointer; box-shadow:0 6px 20px -6px rgba(34,211,238,.5); transition:transform .15s ease, box-shadow .2s; }
.wpcf7 input[type="submit"]:hover{ transform:translateY(-2px); box-shadow:0 10px 28px -6px rgba(34,211,238,.7); }
.wpcf7-form p{ margin:.7rem 0; }
.wpcf7-form-control:not([type="submit"]){ width:100%; padding:.7rem .85rem; }
/* Single post title accent */
.single .wp-block-post-title{ font-size:clamp(2rem,5vw,3.4rem); line-height:1.1; letter-spacing:-.01em; background:linear-gradient(135deg,#E5E7EB 35%,#22D3EE); -webkit-background-clip:text; background-clip:text; color:transparent; }
.single .wp-block-post-title::after{ content:""; display:block; width:64px; height:4px; border-radius:4px; margin-top:1rem; background:linear-gradient(135deg,#6366F1,#22D3EE); }
.wp-block-post-featured-image img,.wp-block-post-content img{ border-radius:16px; }
