/* MaquetearIA Elementor — authored preset styles.
 * The class is present only when a user opts into a style (global or per widget).
 * These selectors never affect unrelated Elementor widgets.
 */
.maia-news.maia-has-style-preset{
  --maia-accent:var(--maia-p-accent);
  background:var(--maia-p-canvas);
  color:var(--maia-p-title);
  padding:clamp(8px,1.5vw,22px);
  border-radius:var(--maia-p-radius);
  font-family:var(--maia-p-font);
}
.maia-news.maia-has-style-preset .maia-news-list{gap:var(--maia-p-gap)}
.maia-news.maia-has-style-preset .maia-section-head{border-color:var(--maia-p-border)}
.maia-news.maia-has-style-preset .maia-section-heading{color:var(--maia-p-title);font-family:var(--maia-p-font);border-left-color:var(--maia-p-accent)}
.maia-news.maia-has-style-preset .maia-section-more{color:var(--maia-p-accent)}
.maia-news.maia-has-style-preset .maia-card{background:var(--maia-p-surface);color:var(--maia-p-title);border:1px solid var(--maia-p-border);border-radius:var(--maia-p-radius);box-shadow:var(--maia-p-shadow);padding:var(--maia-p-padding)}
.maia-news.maia-has-style-preset .maia-media{border-radius:var(--maia-p-media-radius)}
.maia-news:where(.maia-has-style-preset) .maia-card-title{font-family:var(--maia-p-font);font-weight:var(--maia-p-weight);color:var(--maia-p-title);font-size:clamp(16px,1.7vw,var(--maia-p-title-size));text-decoration:none}
.maia-news.maia-has-style-preset .maia-card-title a:hover{color:var(--maia-p-accent)}
.maia-news.maia-has-style-preset .maia-card-category{color:var(--maia-p-label);background:var(--maia-p-label-bg);border-color:var(--maia-p-accent);border-radius:4px}
.maia-news.maia-has-style-preset .maia-card-excerpt{color:var(--maia-p-text)}
.maia-news.maia-has-style-preset .maia-card-meta{color:var(--maia-p-muted)}
.maia-news.maia-has-style-preset .maia-card-readmore{color:var(--maia-p-accent)}
.maia-news.maia-has-style-preset .maia-pagination a,.maia-news.maia-has-style-preset .maia-pagination span{border-color:var(--maia-p-border);color:var(--maia-p-title)}
.maia-news.maia-has-style-preset .maia-pagination .current{background:var(--maia-p-accent);color:#fff}
.maia-news.maia-has-style-preset .maia-carousel-nav button{background:var(--maia-p-accent)}
.maia-news.maia-has-style-preset .maia-carousel-progress span{background:var(--maia-p-accent)}
.maia-news.maia-has-style-preset .maia-ajax-controls .maia-load-more{background:var(--maia-p-accent)!important;border-color:var(--maia-p-accent)!important}
.maia-news.maia-has-style-preset.maia-p-profile-line .maia-card{border:0;border-radius:0;box-shadow:none;border-bottom:1px solid var(--maia-p-border);background:transparent}
.maia-news.maia-has-style-preset.maia-p-profile-topline .maia-card{border-top:4px solid var(--maia-p-accent)}
.maia-news.maia-has-style-preset.maia-p-profile-topline .maia-card-category{letter-spacing:.09em}
.maia-news.maia-has-style-preset.maia-layout-hero .maia-card{background:var(--maia-p-surface);padding:0;border:0}
.maia-news.maia-has-style-preset.maia-layout-hero .maia-card-body .maia-card-title,
.maia-news.maia-has-style-preset.maia-layout-hero .maia-card-body .maia-card-title a{color:#fff}
.maia-news.maia-has-style-preset.maia-layout-hero .maia-card-body .maia-card-excerpt,
.maia-news.maia-has-style-preset.maia-layout-hero .maia-card-body .maia-card-meta{color:#f2f5f8}
.maia-news.maia-has-style-preset.maia-layout-hero .maia-card-body .maia-card-category{color:#fff;background:var(--maia-p-accent)}
.maia-news.maia-has-style-preset.maia-appearance-overlay .maia-card-title,.maia-news.maia-has-style-preset.maia-appearance-overlay .maia-card-title a{color:#fff}
.maia-news.maia-has-style-preset.maia-appearance-overlay .maia-card-excerpt,.maia-news.maia-has-style-preset.maia-appearance-overlay .maia-card-meta{color:#f1f5f9}
.maia-news.maia-has-style-preset.maia-preset-foto-superpuesta .maia-media{filter:saturate(1.07) contrast(1.09)}
.maia-news.maia-has-style-preset.maia-preset-titulares-limpios .maia-media{display:none}
.maia-news:where(.maia-has-style-preset.maia-preset-titulares-impacto) .maia-card-title{letter-spacing:-.05em;text-transform:none}
.maia-news.maia-has-style-preset.maia-preset-noticias-compactas .maia-news-list{gap:12px}
.maia-news:where(.maia-has-style-preset.maia-preset-ultima-hora) .maia-card-title{text-transform:none}
/* Exploration cards use the same tokens but preserve individual top colors unless a preset is selected. */
.maia-explore.maia-has-style-preset{background:var(--maia-p-canvas);font-family:var(--maia-p-font);border-radius:var(--maia-p-radius)}
.maia-explore.maia-has-style-preset .maia-explore-card{background:var(--maia-p-surface);border:1px solid var(--maia-p-border);border-top:4px solid var(--maia-p-accent);border-radius:var(--maia-p-radius);box-shadow:var(--maia-p-shadow);padding:var(--maia-p-padding)}
.maia-explore.maia-has-style-preset .maia-explore-title{font-family:var(--maia-p-font);font-weight:var(--maia-p-weight);color:var(--maia-p-title)}
.maia-explore.maia-has-style-preset .maia-explore-desc{color:var(--maia-p-text)}
.maia-explore.maia-has-style-preset .maia-explore-tag{color:var(--maia-p-label);background:var(--maia-p-label-bg)}
.maia-explore.maia-has-style-preset .maia-explore-link{color:var(--maia-p-accent)}
.maia-explore.maia-has-style-preset .maia-explore-icon{color:var(--maia-p-accent)}
@media(max-width:767px){.maia-news.maia-has-style-preset{padding:8px}.maia-news.maia-has-style-preset .maia-card{padding:clamp(8px,2vw,var(--maia-p-padding))}}


/* Enseñanza del Ser · Reflexiones — opt-in card aesthetics inspired by the user reference.
 * No post data, text content or saved block is replaced by this preset.
 */
.maia-explore.maia-preset-ensenanzadelser-reflexiones,
.maia-news.maia-preset-ensenanzadelser-reflexiones {
  background:#fffaf4;
  color:#7d8082;
  font-family:Georgia,'Times New Roman',serif;
  border-radius:0;
}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-grid,
.maia-news.maia-preset-ensenanzadelser-reflexiones .maia-news-list {
  gap:20px;
}
/* Individual card colours: vanilla / sky / blush, repeating in sequence. */
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-card,
.maia-news.maia-preset-ensenanzadelser-reflexiones .maia-card {
  --maia-reflection-surface:#fff5d8;
  border:0;
  border-radius:27px;
  box-shadow:none;
  background:var(--maia-reflection-surface);
  color:#7c7f83;
  min-width:0;
  min-height:365px;
  padding:30px;
  overflow:hidden;
  transform:none;
}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-card:nth-child(3n + 2),
.maia-news.maia-preset-ensenanzadelser-reflexiones .maia-card:nth-child(3n + 2){--maia-reflection-surface:#e2f2f9}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-card:nth-child(3n),
.maia-news.maia-preset-ensenanzadelser-reflexiones .maia-card:nth-child(3n){--maia-reflection-surface:#fce7ec}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-card:hover,
.maia-news.maia-preset-ensenanzadelser-reflexiones .maia-card:hover {box-shadow:none;transform:none}

/* Icon treatment; uses the icon selected in the widget, not an external image. */
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-icon {
  width:60px;height:60px;min-width:60px;min-height:60px;
  border-radius:50%;background:#fff;color:#66bde0;
  display:grid;place-items:center;margin:0 0 2px;flex-shrink:0;
}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-icon svg{width:25px;height:25px}
/* A real CSS-rendered icon is used only for the preset preview (the actual widget renders the chosen SVG icon). */
.maia-reflection-sample.maia-explore .maia-reflection-icon:before{content:"";width:25px;height:25px;background:#66bde0;display:block}
.maia-reflection-sample.maia-explore .maia-reflection-icon-star:before{clip-path:polygon(50% 0%,62% 32%,98% 35%,72% 57%,80% 94%,50% 75%,20% 94%,28% 57%,2% 35%,38% 32%)}
.maia-reflection-sample.maia-explore .maia-reflection-icon-circle:before{border-radius:50%;background:radial-gradient(circle,#fff 0 24%,#66bde0 26% 100%)}
.maia-reflection-sample.maia-explore .maia-reflection-icon-heart:before{clip-path:polygon(50% 96%,8% 57%,0% 36%,4% 17%,20% 5%,38% 7%,50% 21%,62% 7%,80% 5%,96% 17%,100% 36%,92% 57%)}

/* Compact label followed by the quotation-style title. */
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-tag,
.maia-news.maia-preset-ensenanzadelser-reflexiones .maia-card-category {
  font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:13px;font-weight:800;letter-spacing:.14em;text-transform:none;
  color:#25353a;background:transparent;border:0;padding:0;margin:0 0 13px;
  line-height:1.25;
}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-title,
.maia-news:where(.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero)) .maia-card-title {
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;color:#7c7e80;
  font-size:clamp(23px,2.25vw,31px);
  letter-spacing:-.026em;line-height:1.26;
  text-decoration:none;text-shadow:none;
}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-title,
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero) .maia-card-title{quotes:"“" "”"}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-title:before,
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero) .maia-card-title:before{content:open-quote}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-title:after,
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero) .maia-card-title:after{content:close-quote}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-desc,
.maia-news.maia-preset-ensenanzadelser-reflexiones .maia-card-excerpt {color:#7c8085;font-size:14px;line-height:1.5;margin:9px 0}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-signature,
.maia-news.maia-preset-ensenanzadelser-reflexiones .maia-card-meta {
  margin-top:auto;
  font-family:Arial,Helvetica,sans-serif;
  font-size:14px;line-height:1.35;
  font-weight:700;color:#797d81;
  padding-top:20px;
}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-link{margin-top:8px;font-size:12px;font-weight:700;color:#627e8c!important}
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero) .maia-card-inner{display:flex;flex-direction:column;gap:0;min-height:100%}
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero) .maia-card-body{display:flex;flex-direction:column;gap:6px;align-items:stretch;min-height:100%}
/* Recast the editorial thumbnail as a small, round visual badge; media is not deleted. */
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero):not(.maia-layout-videos) .maia-media {
  display:block;position:relative;width:60px;min-width:60px;max-width:60px;height:60px;min-height:60px;
  flex:0 0 60px;aspect-ratio:1/1;border-radius:50%;overflow:hidden;
  background:#fff;box-shadow:none;border:0;margin-bottom:3px;
}
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero):not(.maia-layout-videos) .maia-media img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero):not(.maia-layout-videos) .maia-media-link{display:block;width:100%;height:100%}
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero):not(.maia-layout-videos) .maia-card-inner:has(.maia-media){flex-direction:column}
.maia-news.maia-preset-ensenanzadelser-reflexiones.maia-layout-mosaic .maia-card:first-child .maia-media {aspect-ratio:1/1}
.maia-news:where(.maia-preset-ensenanzadelser-reflexiones.maia-layout-mosaic) :where(.maia-card:first-child) .maia-card-title{font-size:clamp(23px,2.25vw,31px)}
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero) .maia-card-readmore{font-weight:700;color:#5d7b89}
.maia-news.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero) .maia-card-category:hover{color:#50758a}
.maia-explore.maia-preset-ensenanzadelser-reflexiones :focus-visible,
.maia-news.maia-preset-ensenanzadelser-reflexiones :focus-visible{outline:3px solid #2b7191;outline-offset:3px}
@media(max-width:767px){
  .maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-card,
  .maia-news.maia-preset-ensenanzadelser-reflexiones .maia-card{min-height:270px;padding:24px}
  .maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-explore-title,
  .maia-news:where(.maia-preset-ensenanzadelser-reflexiones:not(.maia-layout-hero)) .maia-card-title{font-size:clamp(23px,5vw,28px)}
}

.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-icon-star svg,
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-icon-heart svg{fill:currentColor}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-icon-circle svg circle:first-child{fill:currentColor}
.maia-explore.maia-preset-ensenanzadelser-reflexiones .maia-icon-circle svg circle:last-child{fill:#fff;stroke:#fff}

/* 1.6.4: La tipografía pertenece al H3, no al <a> interior.
   Evita que las comillas (::before/::after) cambien de tamaño mientras
   el titular enlazado conserva el tamaño anterior del preset o del tema.
   El enlace siempre hereda tamaño, fuente, peso, altura, espaciado y caja
   del H3, incluso frente a reglas globales de Elementor/WordPress. */
.maia-news .maia-card-title > a {
  font-family:inherit !important;
  font-size:inherit !important;
  font-style:inherit !important;
  font-weight:inherit !important;
  line-height:inherit !important;
  letter-spacing:inherit !important;
  text-transform:inherit !important;
}
