/*
Theme Name: Astra Child 2
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.12.3.1770947274
Updated: 2026-02-13 02:47:54

*/



/* =========================================================
   CLÍNICA ADRIA – BLUR SECTION (DEPURADO + D/M VARIABLES)
   Requisito HTML (por slide):
   --d-win-x/y/w/h  (desktop)
   --m-win-x/y/w/h  (móvil)
   ========================================================= */

/* Base sección */
.ca-blur-section{
  position: relative;
  overflow: hidden !important;
  border-radius: 28px !important;
}

/* Móvil */
@media (max-width: 768px){
  .ca-blur-section{
    border-radius: 24px !important;
  }
}

/* El widget HTML no debe capturar el absolute */
.ca-blur-section .ca-layer{ position: static !important; }

/* Caja config ocupa toda la sección y define el mapeo WIN */
.ca-blur-section .ca-layer .ca-config{
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;

  /* DESKTOP por defecto: WIN = D-WIN */
  --win-x: var(--d-win-x);
  --win-y: var(--d-win-y);
  --win-w: var(--d-win-w);
  --win-h: var(--d-win-h);
}

/* En móvil: WIN = M-WIN si existe, si no fallback a D-WIN */
@media (max-width: 768px){
  .ca-blur-section .ca-layer .ca-config{
    --win-x: var(--m-win-x, var(--d-win-x));
    --win-y: var(--m-win-y, var(--d-win-y));
    --win-w: var(--m-win-w, var(--d-win-w));
    --win-h: var(--m-win-h, var(--d-win-h));
  }
}

/* Overlay blur con agujero */
.ca-blur-section .ca-layer .ca-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;

  background: rgba(25,25,25,.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-radius: inherit;

  /* agujero */
  -webkit-mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-size: 100% 100%, var(--win-w) var(--win-h);
  -webkit-mask-position: 0 0, var(--win-x) var(--win-y);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: xor;

  mask-image: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  mask-size: 100% 100%, var(--win-w) var(--win-h);
  mask-position: 0 0, var(--win-x) var(--win-y);
  mask-repeat: no-repeat;
  mask-composite: exclude;
}

/* Borde ventana */
.ca-blur-section .ca-layer .ca-window{
  position: absolute;
  left: var(--win-x);
  top: var(--win-y);
  width: var(--win-w);
  height: var(--win-h);
  z-index: 2;

  border: 2px solid rgba(255,255,255,.7);
  pointer-events: none;
}

/* Blur más suave en móvil */
@media (max-width: 768px){
  .ca-blur-section .ca-layer .ca-overlay{
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

/* Contenido Elementor por encima */
.ca-blur-section .e-con-inner,
.ca-blur-section .elementor-widget-wrap{
  position: relative;
  z-index: 10;
}
