/* =====================================================================================================================
   Entradas del blog (entrevistas, prensa, noticias, reseñas, colaboraciones, enseñanzas) — 30/11/2026
   Jyoti, 29/11: «igualar el estilo de las páginas de entrevistas etc al mismo estilo de la web».
   Plantillas: single-post.php, home.php (/blog/), category.php; piezas en inc/entradas.php. La cabecera copia la de las
   actividades (.av-hero de actividades.css); las tarjetas, las de la pestaña «Entrevistas» de la página de Swami (swami.css).
   Lo de Elementor (276 entradas hechas con él) se ajusta dentro de .ave-cuerpo: títulos, botones grises, vídeo, audio, imágenes.
   ===================================================================================================================== */

.ave { display: block; background: var(--cream, #faf6ef); color: var(--ink, #2b2520); }

/* ---------- cabecera granate (la de las actividades) ---------- */
.ave-hero {
  position: relative; overflow: hidden; text-align: center; color: #fff;
  background: radial-gradient(ellipse at 50% 30%, #6e2630 0%, #5C1D24 55%, #4a161c 100%);
  padding: clamp(3.2rem, 7vw, 5.2rem) 1.5rem clamp(5.2rem, 9vw, 7rem);
}
.ave-hero > * { position: relative; z-index: 1; }
.ave-hero-om { font-family: 'Noto Serif Devanagari', serif; font-size: clamp(2.4rem, 4.6vw, 3.3rem); line-height: 1; color: #d4a854; margin: 0 0 1.1rem; }
.ave-hero-tipo { font-family: var(--ff-sans); font-size: .76rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: #d4a854; margin: 0 0 1.1rem; text-align: center; }
.ave .ave-hero-titulo {
  font-family: var(--ff-display); font-style: italic; font-weight: 400; color: #fff; letter-spacing: 0;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.14; max-width: 920px; margin: 0 auto 1.5rem; text-align: center;
  text-wrap: balance; overflow-wrap: break-word;
}
.ave .ave-hero-titulo.ave-titulo-largo { font-size: clamp(1.9rem, 3.6vw, 2.9rem); max-width: 980px; }
.ave .ave-hero-titulo.ave-titulo-muy-largo { font-size: clamp(1.6rem, 2.8vw, 2.3rem); max-width: 1000px; }
.ave-hero-sep { display: flex; align-items: center; justify-content: center; gap: 1rem; color: #d4a854; margin: 0 auto 1.5rem; }
.ave-hero-sep::before, .ave-hero-sep::after { content: ''; width: 70px; height: 1px; background: rgba(212,168,84,.55); }
.ave-hero-datos { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem 2.6rem; margin: 0 auto; max-width: 1000px; }
.ave-hero-datos > div { text-align: center; }
.ave-hero-datos dt { font-family: var(--ff-sans); font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(212,168,84,.9); margin: 0 0 .2rem; }
.ave-hero-datos dd { margin: 0; font-size: 1.12rem; color: rgba(255,255,255,.92); letter-spacing: .02em; }
.ave-hero-montes { position: absolute !important; left: 0; right: 0; bottom: 0; width: 100%; height: 70px; z-index: 0 !important; }

/* ---------- el texto: una columna de lectura ---------- */
.ave-cuerpo {
  max-width: 50rem; margin: 0 auto; padding: clamp(2.8rem, 6vw, 4.6rem) 1.5rem clamp(1.6rem, 3vw, 2.4rem);
  font-family: var(--ff-sans); font-size: 1.15rem; line-height: 1.75; color: var(--ink, #2b2520); text-align: start;
}
.ave-cuerpo p { margin: 0 0 1.1em; }
.ave-cuerpo p:last-child { margin-bottom: 0; }
.ave-cuerpo ul, .ave-cuerpo ol { margin: 0 0 1.2em 1.4em; }
.ave-cuerpo li { margin: 0 0 .4em; }
.ave-cuerpo strong, .ave-cuerpo b { font-weight: 600; }
/* Sin justificar (25/11, Jyoti: «nos gusta más sin justificar el texto»). Lo que Elementor justificó se anula por id (inc/entradas.php);
   aquí, lo justificado a mano en el texto de las entradas antiguas. */
.ave-cuerpo [style*="text-align: justify"], .ave-cuerpo [style*="text-align:justify"] { text-align: start !important; }

/* Títulos dentro del texto (los de Elementor y los del editor): Cormorant, granate, como las secciones de las actividades.
   La alineación es la que eligieron en cada entrada (centrado o no): no se toca. */
.ave-cuerpo h1, .ave-cuerpo h2, .ave-cuerpo h3, .ave-cuerpo h4, .ave-cuerpo h5, .ave-cuerpo h6,
body .ave-cuerpo .elementor .elementor-widget-heading .elementor-heading-title {
  font-family: var(--ff-display) !important; font-weight: 500 !important; font-style: normal; color: #5C1D24 !important;
  line-height: 1.22 !important; letter-spacing: 0 !important; text-transform: none; -webkit-text-stroke: 0 !important;
}
.ave-cuerpo h1, .ave-cuerpo h2, body .ave-cuerpo .elementor h2.elementor-heading-title, body .ave-cuerpo .elementor h1.elementor-heading-title { font-size: clamp(1.65rem, 2.6vw, 2.1rem) !important; margin: 1.6rem 0 .9rem; }
.ave-cuerpo h3, body .ave-cuerpo .elementor h3.elementor-heading-title { font-size: clamp(1.45rem, 2.2vw, 1.75rem) !important; margin: 1.4rem 0 .7rem; }
.ave-cuerpo h4, .ave-cuerpo h5, .ave-cuerpo h6, body .ave-cuerpo .elementor :is(h4, h5, h6).elementor-heading-title { font-size: 1.3rem !important; margin: 1.2rem 0 .6rem; }
body .ave-cuerpo .elementor .elementor-widget-heading .elementor-heading-title { margin: 0; }
.ave-cuerpo > :first-child, .ave-cuerpo .elementor > :first-child .elementor-widget:first-child .elementor-heading-title { margin-top: 0; }
.ave-cuerpo em, .ave-cuerpo i { font-family: var(--ff-display); font-style: italic; }

/* Enlaces del texto */
.ave-cuerpo a:not(.elementor-button):not(.wp-block-button__link):not(.ave-boton) {
  color: #5C1D24; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(92,29,36,.35); overflow-wrap: anywhere;
}
.ave-cuerpo a:not(.elementor-button):not(.wp-block-button__link):not(.ave-boton):hover { color: #a8611d; text-decoration-color: currentColor; }
/* Los enlaces a un PDF (artículos y notas de prensa) llevan su marca. */
.ave-cuerpo a[href$=".pdf" i]:not(.elementor-button):not(.wp-block-button__link)::after {
  content: 'PDF'; display: inline-block; margin-left: .45em; padding: .12em .4em .08em; border: 1px solid currentColor; border-radius: 1px;
  font-family: var(--ff-sans); font-size: .62em; font-weight: 600; letter-spacing: .14em; line-height: 1.2; vertical-align: .18em; text-decoration: none;
}

/* Citas */
.ave-cuerpo blockquote, .ave-cuerpo .wp-block-quote {
  margin: 1.6rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid #a8611d;
  font-family: var(--ff-display); font-style: italic; font-size: 1.3rem; line-height: 1.6; color: #3d3530;
}

/* Imágenes y pies */
.ave-cuerpo img { max-width: 100%; height: auto; }
.ave-cuerpo .elementor-widget-image img, .ave-cuerpo .wp-block-image img, .ave-cuerpo p > img, .ave-cuerpo p > a > img, .ave-cuerpo .wp-caption img {
  box-shadow: 0 18px 40px -12px rgba(60,20,25,.22); border-radius: 1px;
}
.ave-cuerpo .wp-block-image, .ave-cuerpo figure { margin: 1.6rem 0; }
.ave-cuerpo .elementor-widget-image figure { margin: 0; }
.ave-cuerpo figcaption, .ave-cuerpo .widget-image-caption, .ave-cuerpo .wp-caption-text, .ave-cuerpo .wp-element-caption {
  font-family: var(--ff-display); font-style: italic; font-size: 1.05rem !important; line-height: 1.5; color: #7a5a3a !important; text-align: center; margin-top: .7rem !important;
}
.ave-cuerpo .wp-caption { max-width: 100%; }
.ave-cuerpo .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.ave-cuerpo .alignleft { float: left; margin: .3rem 1.4rem 1rem 0; max-width: 50%; }
.ave-cuerpo .alignright { float: right; margin: .3rem 0 1rem 1.4rem; max-width: 50%; }
.ave-cuerpo::after { content: ''; display: table; clear: both; }

/* Columnas del editor de bloques (cubierta de un libro + texto, en las colaboraciones) */
.ave-cuerpo .wp-block-columns { gap: clamp(1.2rem, 3vw, 2.2rem); margin: 0 0 1.6rem; align-items: flex-start; }
.ave-cuerpo .wp-block-column > :first-child { margin-top: 0; }

/* Botones: el gris de Elementor («Ver noticia original», «Veure programa original»…) pasa a ser el botón del sitio. */
body .ave-cuerpo .elementor .elementor-widget-button .elementor-button,
body .ave-cuerpo .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  background: #5C1D24 !important; color: #faf6ef !important; border: 1px solid #5C1D24 !important; border-radius: 1px !important;
  padding: .95rem 1.7rem !important; font-family: var(--ff-sans) !important; font-size: .78rem !important; font-weight: 600 !important;
  letter-spacing: .16em !important; text-transform: uppercase !important; line-height: 1.35 !important; text-decoration: none !important;
  text-align: center; white-space: normal; max-width: 100%; fill: currentColor; transition: background .25s ease, border-color .25s ease;
}
body .ave-cuerpo .elementor .elementor-widget-button .elementor-button:hover,
body .ave-cuerpo .elementor .elementor-widget-button .elementor-button:focus-visible,
body .ave-cuerpo .wp-block-button__link:hover { background: #a8611d !important; border-color: #a8611d !important; color: #fff !important; }
.ave-cuerpo .elementor-button .elementor-button-text { font: inherit; letter-spacing: inherit; }
.ave-cuerpo .elementor-button .elementor-button-icon svg { width: 1em; height: 1em; }
.ave-cuerpo .elementor-widget-button { margin-top: .6rem; }
/* «Ancho completo» en Elementor: en una columna de lectura quedaba como una franja; va centrado y a su medida. */
.ave-cuerpo .elementor-align-justify, .ave-cuerpo .elementor-align-justify .elementor-button-wrapper { text-align: center; }
body .ave-cuerpo .elementor .elementor-align-justify .elementor-button { width: auto; }

/* Las secciones de Elementor de una sola columna, al ras del texto (sin los 10 px de relleno de cada lado). */
.ave-cuerpo .elementor-section .elementor-col-100 > .elementor-element-populated { padding-left: 0; padding-right: 0; }

/* Vídeo (Elementor y bloques): a todo el ancho de la columna, con la sombra de las fotos */
.ave-cuerpo .elementor-widget-video .elementor-wrapper, .ave-cuerpo .wp-block-embed.is-type-video, .ave-cuerpo .wp-block-video video {
  box-shadow: 0 18px 40px -12px rgba(60,20,25,.28);
}
.ave-cuerpo iframe, .ave-cuerpo video, .ave-cuerpo embed, .ave-cuerpo object { max-width: 100%; }
.ave-cuerpo .wp-block-embed__wrapper iframe[src*="youtube"], .ave-cuerpo p > iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* Audio (reproductor de WordPress): granate con los controles dorados, como la cabecera */
.ave-cuerpo .wp-audio-shortcode, .ave-cuerpo .mejs-container { max-width: 100%; }
.ave-cuerpo .mejs-container, .ave-cuerpo .mejs-container .mejs-controls, .ave-cuerpo .mejs-embed, .ave-cuerpo .mejs-embed body {
  background: #5C1D24 !important; border-radius: 1px;
}
.ave-cuerpo .mejs-controls .mejs-time-rail .mejs-time-total { background: rgba(250,246,239,.25); }
.ave-cuerpo .mejs-controls .mejs-time-rail .mejs-time-loaded { background: rgba(250,246,239,.35); }
.ave-cuerpo .mejs-controls .mejs-time-rail .mejs-time-current,
.ave-cuerpo .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current { background: #d4a854; }
.ave-cuerpo .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total { background: rgba(250,246,239,.3); }
.ave-cuerpo .mejs-container .mejs-controls .mejs-time { color: #faf6ef; font-family: var(--ff-sans); font-size: .82rem; }
.ave-cuerpo .wp-block-audio audio, .ave-cuerpo audio { width: 100%; }
/* El título del audio que pone el widget de WordPress (h5 o similar) */
.ave-cuerpo .elementor-widget-wp-widget-media_audio h5 { font-size: 1.2rem !important; margin: 0 0 .7rem; }

/* Carrusel de fotos (6 entradas antiguas): que no se salga */
.ave-cuerpo .elementor-image-carousel-wrapper { overflow: hidden; }

/* Separador de Elementor y el bloque separador */
.ave-cuerpo .elementor-divider-separator { border-color: rgba(168,97,29,.4) !important; }
.ave-cuerpo hr, .ave-cuerpo .wp-block-separator { border: 0; height: 1px; background: rgba(168,97,29,.35); margin: 2rem auto; max-width: 140px; }

/* Páginas de una entrada partida (<!--nextpage-->) */
.ave-paginas { margin-top: 2rem; font-family: var(--ff-sans); }

/* ---------- volver ---------- */
.ave-volver { text-align: center; margin: 0; padding: 1.6rem 1rem clamp(2.6rem, 5vw, 3.6rem); }
.ave-volver a { color: #5C1D24; font-size: 1.05rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(92,29,36,.3); }
.ave-volver a:hover { color: #a8611d; }

/* ---------- «Más entrevistas» y listados: tarjetas como las de la página de Swami ---------- */
.ave-mas { background: var(--cream-deep, #f3ebdc); padding: clamp(3.2rem, 6vw, 5rem) 2rem; }
.ave-eyebrow { font-family: var(--ff-sans); font-size: .74rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: #a8611d; text-align: center; margin: 0 0 .8rem; }
.ave .ave-mas-titulo { font-family: var(--ff-display); font-weight: 400; color: #5C1D24; font-size: clamp(2rem, 3.6vw, 2.7rem); line-height: 1.15; text-align: center; margin: 0 0 2.2rem; }
.ave-rejilla { display: grid; gap: 1.5rem; margin: 0 auto; }
.ave-rejilla-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1140px; }
.ave-rejilla-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1140px; }

.ave a.ave-tarjeta {
  display: flex; flex-direction: column; background: var(--cream, #faf6ef); border: 1px solid var(--line, #e4d9c4);
  color: var(--ink, #2b2520); text-decoration: none; overflow: hidden; transition: border-color .3s ease, box-shadow .3s ease;
}
.ave-mas a.ave-tarjeta { background: #fff; }
.ave a.ave-tarjeta:hover, .ave a.ave-tarjeta:focus-visible { border-color: #5C1D24; box-shadow: 0 15px 40px -15px rgba(92,29,36,.18); color: var(--ink, #2b2520); }
.ave-tarjeta-img { position: relative; aspect-ratio: 16 / 10; background: var(--cream-deep, #f3ebdc); overflow: hidden; }
.ave-tarjeta-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ave a.ave-tarjeta:hover .ave-tarjeta-img img { transform: scale(1.03); }
.ave-tarjeta-img.ave-sin-foto { display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 50% 35%, #6e2630 0%, #5C1D24 60%, #4a161c 100%); }
.ave-tarjeta-om { font-family: 'Noto Serif Devanagari', serif; font-size: 3.4rem; line-height: 1; color: #d4a854; }
.ave-tarjeta-chapa {
  position: absolute; top: 1rem; left: 1rem; background: #5C1D24; color: #faf6ef; padding: .3rem .8rem;
  font-family: var(--ff-sans); font-size: .68rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; line-height: 1.5;
}
.ave-tarjeta-info { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.5rem; text-align: left; }
.ave-tarjeta-medio { font-family: var(--ff-sans); font-size: .74rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: #a8611d; margin: 0 0 .5rem; line-height: 1.45; }
.ave .ave-tarjeta-titulo { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 500; line-height: 1.25; color: var(--ink, #2b2520); margin: 0 0 .6rem; overflow-wrap: break-word; }
.ave-tarjeta-frase { font-size: 1.02rem; line-height: 1.6; color: var(--ink-soft, #5a5048); margin: 0 0 .8rem; }
.ave-tarjeta-fecha { font-family: var(--ff-sans); font-size: .95rem; color: var(--ink-soft, #5a5048); opacity: .8; margin: 0 0 1rem; }
.ave-tarjeta-boton {
  align-self: flex-start; margin-top: auto; border: 1px solid #5C1D24; color: #5C1D24; padding: .6rem 1rem;
  font-family: var(--ff-sans); font-size: .74rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; line-height: 1.4;
  transition: background .3s ease, color .3s ease;
}
.ave a.ave-tarjeta:hover .ave-tarjeta-boton { background: #5C1D24; color: #faf6ef; }

/* listados */
.ave-lista { padding: clamp(2.8rem, 6vw, 4.6rem) 2rem clamp(1rem, 2vw, 1.6rem); }
.ave-lista-intro { max-width: 46rem; margin: 0 auto 2.4rem; text-align: center; font-family: var(--ff-display); font-style: italic; font-size: 1.35rem; line-height: 1.55; color: #7a5a3a; }
.ave-paginacion, .ave .navigation.pagination { max-width: 1140px; margin: 2.6rem auto 0; }
.ave .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem; }
.ave .nav-links .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.6rem; height: 2.6rem; padding: 0 .9rem;
  border: 1px solid var(--line, #e4d9c4); background: #fff; color: #5C1D24; font-family: var(--ff-sans); font-size: .95rem; text-decoration: none;
}
.ave .nav-links .page-numbers.current { background: #5C1D24; border-color: #5C1D24; color: #faf6ef; }
.ave .nav-links a.page-numbers:hover { border-color: #5C1D24; }
.ave .nav-links .page-numbers.dots { border: 0; background: none; min-width: 0; padding: 0 .2rem; }
.ave .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- tableta y celular ---------- */
@media (max-width: 1024px) {
  .ave-rejilla-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ave-rejilla-3 > :nth-child(3) { display: none; }
}
@media (max-width: 781px) {
  .ave-hero { padding: 2.8rem 16px 4.6rem; }
  .ave-hero-tipo { font-size: .7rem; letter-spacing: .22em; }
  .ave .ave-hero-titulo { font-size: 2rem; }
  .ave .ave-hero-titulo.ave-titulo-largo { font-size: 1.7rem; }
  .ave .ave-hero-titulo.ave-titulo-muy-largo { font-size: 1.45rem; line-height: 1.2; }
  .ave-hero-datos { flex-direction: column; gap: .6rem; }
  .ave-hero-montes { height: 46px; }
  .ave-cuerpo { padding: 2.4rem 16px 1.4rem; font-size: 1.08rem; line-height: 1.65; }
  .ave-cuerpo h1, .ave-cuerpo h2, body .ave-cuerpo .elementor h2.elementor-heading-title, body .ave-cuerpo .elementor h1.elementor-heading-title { font-size: 1.5rem !important; }
  .ave-cuerpo h3, body .ave-cuerpo .elementor h3.elementor-heading-title { font-size: 1.32rem !important; }
  .ave-cuerpo .elementor-section .elementor-column > .elementor-element-populated { padding-left: 0; padding-right: 0; }
  .ave-cuerpo .alignleft, .ave-cuerpo .alignright { float: none; margin: 1rem auto; max-width: 100%; }
  .ave-cuerpo .wp-block-columns { flex-direction: column; }
  .ave-cuerpo .wp-block-columns > .wp-block-column { flex-basis: auto !important; width: 100%; }
  body .ave-cuerpo .elementor .elementor-widget-button .elementor-button { padding: .9rem 1.2rem !important; letter-spacing: .12em !important; }
  .ave-mas, .ave-lista { padding-left: 16px; padding-right: 16px; }
  .ave-rejilla-2, .ave-rejilla-3 { grid-template-columns: 1fr; }
  .ave-rejilla-3 > :nth-child(3) { display: flex; }
  .ave .ave-tarjeta-titulo { font-size: 1.35rem; }
  .ave-lista-intro { font-size: 1.2rem; }
}
/* Celular: tarjetas en horizontal (foto pequeña a la izquierda), para no hacer una columna larguísima. */
@media (max-width: 600px) {
  .ave a.ave-tarjeta { flex-direction: row; align-items: stretch; }
  .ave-tarjeta-img { flex: 0 0 34%; aspect-ratio: auto; min-height: 8.5rem; }
  .ave-tarjeta-img img { position: absolute; inset: 0; }
  .ave-tarjeta-chapa { top: .5rem; left: .5rem; right: .5rem; width: max-content; max-width: calc(100% - 1rem); padding: .2rem .45rem; font-size: .56rem; letter-spacing: .1em; white-space: normal; }
  .ave-tarjeta-om { font-size: 2.2rem; }
  .ave-tarjeta-info { padding: .9rem 1rem 1rem; min-width: 0; }
  .ave-tarjeta-medio { font-size: .66rem; letter-spacing: .12em; margin-bottom: .3rem; }
  .ave .ave-tarjeta-titulo { font-size: 1.18rem; line-height: 1.22; margin-bottom: .35rem; }
  .ave-tarjeta-frase { font-size: .95rem; line-height: 1.5; margin-bottom: .5rem; }
  .ave-tarjeta-fecha { font-size: .85rem; margin-bottom: 0; }
  .ave-tarjeta-boton { display: none; }
  .ave-rejilla { gap: 1rem; }
}
