/* ===== Estilos que ya tenía la revista (no borrar) ===== */

@font-face {
  font-family: 'Aileron';
  src: url("/public/Fonts/Aileron-Regular.otf");
  font-weight: 100;
}

.pkp_structure_head {
    border-bottom: 1px solid #D3D5AF;
}

.pkp_structure_sidebar:before {
    border-left: 0px solid #ddd;
}

#navigationPrimary a {
    color: #7B7F5F;
}

a {
    color: #7B7F5F;
}

.pkp_block .title {
    color: #7B7F5F;
	font-family: Aileron !important;
}

.pkp_navigation_user>li>a {
    color: #7B7F5F;
	font-family: Aileron !important;
}

#navigationPrimary>li>a {
	font-family: Aileron !important;
}

.cmp_manuscript_button, .block_make_submission a, .obj_galley_link {
    color: #FFFCDF;
	background: #7B7F5F;
	font-family: Aileron !important;
}

.pkp_brand_footer {
    display: none;
}

.pkp_structure_footer_wrapper {
    background: #D3D5AF;
}

.pkp_footer_content {
    color: #7B7F5F;
	font-family: Aileron !important;
}

.pkp_page_index .homepage_about h2 {
    color: #7B7F5F;
	font-family: Aileron !important;
}

.pkp_navigation_search_wrapper a {
    color: #7B7F5F;
	font-family: Aileron !important;
}

.pkp_site_name .is_img img {
    max-height: 100px;
}

body {
  font-family: Aileron !important;
  font-weight: 100;
}

.pkp_structure_main h1 {
    font-family: Aileron !important;
}

/* =====================================================================
   IRCAM · Franja "IRCAM en cifras" (portada)
   Colores de la revista: oliva #7B7F5F, crema #FFFCDF, caqui #D3D5AF
   ===================================================================== */

/* Ubicación: después de la descripción de la revista y antes del número actual */
.page_index_journal { display: flex; flex-direction: column; }
.page_index_journal > .additional_content { order: 1; margin: 0.5em 0 1.5em; }
.page_index_journal > .current_issue { order: 2; }

.ircam-cifras-titulo {
  text-align: center;
  font-family: Aileron, sans-serif !important;
  font-size: 24px !important;
  font-weight: 700;
  color: #7B7F5F;
  margin: 0.4em 0 0.6em;
  letter-spacing: .02em;
}
.ircam-cifras {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 10px;
  background: #7B7F5F;
  border-top: 4px solid #D3D5AF;
  border-radius: 6px;
  padding: 20px 14px;
}
.ircam-cifras > div {
  flex: 1 1 120px;
  text-align: center;
  color: #FFFCDF;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background .25s ease, transform .25s ease;
}
.ircam-cifras > div:hover { background: #666A4E; transform: translateY(-3px); }
.ircam-cifras p { margin: 0; font-family: Aileron, sans-serif !important; }
.ircam-cifras .ircam-num {
  font-size: 34px !important;
  font-weight: 700;
  line-height: 1.1;
  color: #FFFCDF;
}
.ircam-cifras .ircam-lbl {
  font-size: 14px !important;
  color: #D3D5AF;
  margin-top: 2px;
}
@media (max-width: 480px) {
  .ircam-cifras > div { flex: 1 1 40%; }
  .ircam-cifras .ircam-num { font-size: 28px !important; }
}

/* =====================================================================
   IRCAM · Áreas temáticas interactivas (portada)
   Tarjetas desplegables: clic para ver las sublíneas de investigación.
   ===================================================================== */
.ircam-areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 0.5em;
}
@media (max-width: 600px) { .ircam-areas { grid-template-columns: 1fr; } }

details.ircam-area {
  background: #FFFCDF;
  border: 1px solid #D3D5AF;
  border-top: 4px solid #7B7F5F;
  border-radius: 8px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  align-self: start;
}
details.ircam-area:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(79, 82, 57, .18);
}
details.ircam-area[open] { background: #ffffff; box-shadow: 0 6px 16px rgba(79, 82, 57, .15); }

details.ircam-area summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 14px 14px;
  text-align: center;
  outline: none;
}
details.ircam-area summary::-webkit-details-marker { display: none; }
details.ircam-area summary:focus-visible { box-shadow: 0 0 0 3px #D3D5AF inset; border-radius: 8px; }

.ircam-area-icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #7B7F5F;
  color: #FFFCDF;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 0 0 6px rgba(123, 127, 95, .15);
  animation: ircam-flota 3.2s ease-in-out infinite;
  transition: transform .5s ease, background .3s ease;
}
.ircam-areas details:nth-child(2) .ircam-area-icono { animation-delay: .4s; }
.ircam-areas details:nth-child(3) .ircam-area-icono { animation-delay: .8s; }
.ircam-areas details:nth-child(4) .ircam-area-icono { animation-delay: 1.2s; }
details.ircam-area:hover .ircam-area-icono { transform: rotate(360deg) scale(1.08); background: #666A4E; }

.ircam-area-titulo {
  display: block;
  font-weight: bold;
  color: #4F5239;
  font-size: 16px;
  line-height: 1.3;
  margin: 12px 0 6px;
}
.ircam-area-ver {
  display: inline-block;
  font-size: 12px;
  color: #7B7F5F;
  border: 1px solid #D3D5AF;
  border-radius: 12px;
  padding: 2px 10px;
  transition: background .25s ease, color .25s ease;
}
.ircam-area-ver::after { content: " \25BE"; }
details.ircam-area[open] .ircam-area-ver::after { content: " \25B4"; }
details.ircam-area:hover .ircam-area-ver { background: #7B7F5F; color: #FFFCDF; }

details.ircam-area ul {
  margin: 0;
  padding: 4px 18px 16px 34px;
  text-align: left;
  color: #4F5239;
  font-size: 13.5px;
  line-height: 1.45;
}
details.ircam-area li { margin: 4px 0; animation: ircam-aparece .35s ease both; }
details.ircam-area li::marker { color: #7B7F5F; }
details.ircam-area li:nth-child(2) { animation-delay: .04s; }
details.ircam-area li:nth-child(3) { animation-delay: .08s; }
details.ircam-area li:nth-child(4) { animation-delay: .12s; }
details.ircam-area li:nth-child(5) { animation-delay: .16s; }
details.ircam-area li:nth-child(6) { animation-delay: .20s; }
details.ircam-area li:nth-child(7) { animation-delay: .24s; }
details.ircam-area li:nth-child(8) { animation-delay: .28s; }
details.ircam-area li:nth-child(9) { animation-delay: .32s; }

@keyframes ircam-flota {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}
@keyframes ircam-aparece {
  from { opacity: 0; translate: 0 -4px; }
  to   { opacity: 1; translate: 0 0; }
}

/* =====================================================================
   IRCAM · Movimiento del logo (jaguar) en la portada
   Llega desde el fondo al cargar y luego "sale hacia adelante" y regresa,
   con la sombra creciendo. Al pasar el mouse se acerca un poco más.
   ===================================================================== */
.page_index_journal .homepage-image {
  overflow: visible;
  text-align: center;
  padding: 10px 0;
}
.page_index_journal .homepage-image img {
  display: inline-block;
  transform-origin: center center;
  animation: ircam-logo-entra 2.2s cubic-bezier(.2,.8,.2,1) both,
             ircam-logo-adelante 9s ease-in-out 2.2s infinite;
  transition: transform 1.2s ease;
  will-change: transform, scale, filter;
}
.page_index_journal .homepage-image img:hover { transform: scale(1.03); }
@keyframes ircam-logo-entra {
  from { opacity: 0; scale: .55; filter: blur(4px) drop-shadow(0 0 0 rgba(79,82,57,0)); }
  to   { opacity: 1; scale: 1;   filter: blur(0)   drop-shadow(0 2px 3px rgba(79,82,57,.15)); }
}
@keyframes ircam-logo-adelante {
  0%, 100% { scale: 1;    filter: drop-shadow(0 2px 3px rgba(79,82,57,.15)); }
  50%      { scale: 1.05; filter: drop-shadow(0 10px 14px rgba(79,82,57,.28)); }
}

/* =====================================================================
   IRCAM · Fondo amazónico
   Patrón de Banisteriopsis caapi y motivos geométricos en el azul del jaguar (#2B4155);
   el contenido queda en una tarjeta blanca para mantener la lectura.
   ===================================================================== */
body {
  background-color: #EEF0E2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg opacity='0.45' fill='none' stroke-linecap='round'%3E%3Cpath d='M-10 205 C 30 185 70 245 120 215 S 175 145 220 165 S 290 225 330 205' stroke='%232B4155' stroke-width='3'/%3E%3Cpath d='M-10 210 C 33 192 68 252 122 222 S 172 152 222 172 S 288 232 330 210' stroke='%234A6378' stroke-width='1.6'/%3E%3C/g%3E%3Cg transform='translate(30 200) rotate(-15) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(100 224) rotate(-40) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(168 170) rotate(-50) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(245 190) rotate(20) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(300 212) rotate(0) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(62 222) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(70 232) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(56 232) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(205 160) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(214 170) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(198 170) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(275 212) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(128 98) scale(1.7)' opacity='0.5' fill='none' stroke='%234A6378' stroke-width='1.6'%3E%3Cpath d='M0 -12 L12 0 L0 12 L-12 0 Z'/%3E%3Cpath d='M0 -7 L7 0 L0 7 L-7 0 Z'/%3E%3Cpath d='M0 -2.5 L2.5 0 L0 2.5 L-2.5 0 Z' fill='%234A6378'/%3E%3C/g%3E%3Cg transform='translate(32 142) scale(1.5)' opacity='0.5' fill='none' stroke='%232B4155' stroke-width='1.8'%3E%3Cpath d='M-16 6 L-16 2 L-12 2 L-12 -2 L-8 -2 L-8 -6 L0 -6 L0 -2 L-4 -2 L-4 2 L4 2 L4 -2 L8 -2 L8 -6 L12 -6 L12 -2 L16 -2 L16 6'/%3E%3C/g%3E%3Cg transform='translate(258 272) scale(1.5)' opacity='0.4' fill='none' stroke='%231F3243' stroke-width='1.8'%3E%3Cpath d='M0 0 L4 0 L4 4 L-4 4 L-4 -4 L8 -4 L8 8 L-8 8 L-8 -8 L12 -8'/%3E%3C/g%3E%3Cg transform='translate(48 296) scale(1.5)' opacity='0.45' fill='none' stroke='%232B4155' stroke-width='1.6'%3E%3Cpath d='M-18 -3 L-12 3 L-6 -3 L0 3 L6 -3 L12 3 L18 -3'/%3E%3Cpath d='M-18 3 L-12 9 L-6 3 L0 9 L6 3 L12 9 L18 3'/%3E%3C/g%3E%3Cg transform='translate(288 292) scale(1.4)' opacity='0.45' fill='%234A6378'%3E%3Cpath d='M-15 4 L-10 -4 L-5 4 Z'/%3E%3Cpath d='M-3 4 L2 -4 L7 4 Z'/%3E%3Cpath d='M9 4 L14 -4 L19 4 Z'/%3E%3C/g%3E%3Cg transform='translate(108 150) scale(1.6)' opacity='0.5' fill='%232B4155'%3E%3Ccircle r='2.2'/%3E%3Ccircle cx='8' r='1.4'/%3E%3Ccircle cx='-8' r='1.4'/%3E%3Ccircle cy='8' r='1.4'/%3E%3Ccircle cy='-8' r='1.4'/%3E%3C/g%3E%3Cg transform='translate(300 18) scale(1.2)' opacity='0.45' fill='none' stroke='%232B4155' stroke-width='1.6'%3E%3Cpath d='M0 -12 L12 0 L0 12 L-12 0 Z'/%3E%3Cpath d='M0 -7 L7 0 L0 7 L-7 0 Z'/%3E%3Cpath d='M0 -2.5 L2.5 0 L0 2.5 L-2.5 0 Z' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(176 108) scale(1.4)' opacity='0.45' fill='none' stroke='%234A6378' stroke-width='1.8'%3E%3Cpath d='M0 0 L4 0 L4 4 L-4 4 L-4 -4 L8 -4 L8 8 L-8 8 L-8 -8 L12 -8'/%3E%3C/g%3E%3Cg transform='translate(222 302) scale(1.3)' opacity='0.45' fill='none' stroke='%234A6378' stroke-width='1.8'%3E%3Cpath d='M-16 6 L-16 2 L-12 2 L-12 -2 L-8 -2 L-8 -6 L0 -6 L0 -2 L-4 -2 L-4 2 L4 2 L4 -2 L8 -2 L8 -6 L12 -6 L12 -2 L16 -2 L16 6'/%3E%3C/g%3E%3Cg transform='translate(18 78) scale(1.6)' opacity='0.45' fill='%234A6378'%3E%3Ccircle r='2.2'/%3E%3Ccircle cx='8' r='1.4'/%3E%3Ccircle cx='-8' r='1.4'/%3E%3Ccircle cy='8' r='1.4'/%3E%3Ccircle cy='-8' r='1.4'/%3E%3C/g%3E%3Cg transform='translate(138 14) scale(1.2)' opacity='0.35' fill='none' stroke='%231F3243' stroke-width='1.6'%3E%3Cpath d='M-18 -3 L-12 3 L-6 -3 L0 3 L6 -3 L12 3 L18 -3'/%3E%3Cpath d='M-18 3 L-12 9 L-6 3 L0 9 L6 3 L12 9 L18 3'/%3E%3C/g%3E%3C/svg%3E"),
                    linear-gradient(180deg, #E5E9D2 0%, #F1F2E6 45%, #E2E7CE 100%);
  background-size: 320px 320px, 100% 100%;
  background-attachment: fixed, fixed;
}
.pkp_structure_page { background: transparent; }
.pkp_structure_content {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(79, 82, 57, .16);
  margin-top: 22px;
  margin-bottom: 28px;
  padding-top: 18px;
  padding-bottom: 18px;
}
@media (max-width: 767px) {
  .pkp_structure_content { margin-top: 10px; border-radius: 0; }
}

/* =====================================================================
   IRCAM · Pie de página compacto (aprox. la mitad del tamaño original)
   ===================================================================== */
footer.footer { padding: 14px 0 10px; font-size: 12px; line-height: 1.35; }
footer.footer p { margin: 0 0 3px; }
footer.footer .col-md-10 p:last-child { display: none; }
footer.footer .col-md-10 img { width: 150px; height: auto; margin-bottom: 4px; }
footer.footer .col-md-2 img { max-width: 110px; height: auto; margin-left: auto; }

/* =====================================================================
   IRCAM · Video de fondo en la portada (YouTube "Amazonia 2.0")
   Ocupa toda la pantalla detrás del contenido y se repite sin parar.
   En celulares se oculta y queda el patrón de caapi y motivos.
   ===================================================================== */
.ircam-video-fondo {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: #EEF0E2;
}
.ircam-video-fondo iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: max(100vw, 177.78vh);
  height: max(100vh, 56.25vw);
  transform: translate(-50%, -50%) scale(1.25);
  border: 0;
}
.ircam-video-fondo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(238, 240, 226, .30);
}
@media (max-width: 767px) { .ircam-video-fondo { display: none; } }

/* =====================================================================
   IRCAM · Patrón de caapi y motivos dentro de la tarjeta de contenido
   Muy tenue (velo blanco al 86 %) para no afectar la lectura.
   ===================================================================== */
.pkp_structure_content {
  background:
    linear-gradient(rgba(255, 255, 255, .86), rgba(255, 255, 255, .86)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320' viewBox='0 0 320 320'%3E%3Cg opacity='0.45' fill='none' stroke-linecap='round'%3E%3Cpath d='M-10 205 C 30 185 70 245 120 215 S 175 145 220 165 S 290 225 330 205' stroke='%232B4155' stroke-width='3'/%3E%3Cpath d='M-10 210 C 33 192 68 252 122 222 S 172 152 222 172 S 288 232 330 210' stroke='%234A6378' stroke-width='1.6'/%3E%3C/g%3E%3Cg transform='translate(30 200) rotate(-15) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(100 224) rotate(-40) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(168 170) rotate(-50) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(245 190) rotate(20) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(300 212) rotate(0) scale(0.9)' opacity='0.42'%3E%3Cg transform='rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3Cg transform='scale(1 -1) rotate(-35)'%3E%3Cpath d='M0 0 C 6 -8 20 -10 30 -2 C 20 6 6 6 0 0 Z' fill='%232B4155'/%3E%3Cpath d='M1 0 L 28 -2' stroke='%23EEF0E2' stroke-width='0.8'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(62 222) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(70 232) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(56 232) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(205 160) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(214 170) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(198 170) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(275 212) scale(0.9)' opacity='0.75'%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(0)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(72)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(144)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(216)' fill='%236E8BA3'/%3E%3Cellipse cx='0' cy='-5' rx='3' ry='5' transform='rotate(288)' fill='%236E8BA3'/%3E%3Ccircle r='2' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(128 98) scale(1.7)' opacity='0.5' fill='none' stroke='%234A6378' stroke-width='1.6'%3E%3Cpath d='M0 -12 L12 0 L0 12 L-12 0 Z'/%3E%3Cpath d='M0 -7 L7 0 L0 7 L-7 0 Z'/%3E%3Cpath d='M0 -2.5 L2.5 0 L0 2.5 L-2.5 0 Z' fill='%234A6378'/%3E%3C/g%3E%3Cg transform='translate(32 142) scale(1.5)' opacity='0.5' fill='none' stroke='%232B4155' stroke-width='1.8'%3E%3Cpath d='M-16 6 L-16 2 L-12 2 L-12 -2 L-8 -2 L-8 -6 L0 -6 L0 -2 L-4 -2 L-4 2 L4 2 L4 -2 L8 -2 L8 -6 L12 -6 L12 -2 L16 -2 L16 6'/%3E%3C/g%3E%3Cg transform='translate(258 272) scale(1.5)' opacity='0.4' fill='none' stroke='%231F3243' stroke-width='1.8'%3E%3Cpath d='M0 0 L4 0 L4 4 L-4 4 L-4 -4 L8 -4 L8 8 L-8 8 L-8 -8 L12 -8'/%3E%3C/g%3E%3Cg transform='translate(48 296) scale(1.5)' opacity='0.45' fill='none' stroke='%232B4155' stroke-width='1.6'%3E%3Cpath d='M-18 -3 L-12 3 L-6 -3 L0 3 L6 -3 L12 3 L18 -3'/%3E%3Cpath d='M-18 3 L-12 9 L-6 3 L0 9 L6 3 L12 9 L18 3'/%3E%3C/g%3E%3Cg transform='translate(288 292) scale(1.4)' opacity='0.45' fill='%234A6378'%3E%3Cpath d='M-15 4 L-10 -4 L-5 4 Z'/%3E%3Cpath d='M-3 4 L2 -4 L7 4 Z'/%3E%3Cpath d='M9 4 L14 -4 L19 4 Z'/%3E%3C/g%3E%3Cg transform='translate(108 150) scale(1.6)' opacity='0.5' fill='%232B4155'%3E%3Ccircle r='2.2'/%3E%3Ccircle cx='8' r='1.4'/%3E%3Ccircle cx='-8' r='1.4'/%3E%3Ccircle cy='8' r='1.4'/%3E%3Ccircle cy='-8' r='1.4'/%3E%3C/g%3E%3Cg transform='translate(300 18) scale(1.2)' opacity='0.45' fill='none' stroke='%232B4155' stroke-width='1.6'%3E%3Cpath d='M0 -12 L12 0 L0 12 L-12 0 Z'/%3E%3Cpath d='M0 -7 L7 0 L0 7 L-7 0 Z'/%3E%3Cpath d='M0 -2.5 L2.5 0 L0 2.5 L-2.5 0 Z' fill='%232B4155'/%3E%3C/g%3E%3Cg transform='translate(176 108) scale(1.4)' opacity='0.45' fill='none' stroke='%234A6378' stroke-width='1.8'%3E%3Cpath d='M0 0 L4 0 L4 4 L-4 4 L-4 -4 L8 -4 L8 8 L-8 8 L-8 -8 L12 -8'/%3E%3C/g%3E%3Cg transform='translate(222 302) scale(1.3)' opacity='0.45' fill='none' stroke='%234A6378' stroke-width='1.8'%3E%3Cpath d='M-16 6 L-16 2 L-12 2 L-12 -2 L-8 -2 L-8 -6 L0 -6 L0 -2 L-4 -2 L-4 2 L4 2 L4 -2 L8 -2 L8 -6 L12 -6 L12 -2 L16 -2 L16 6'/%3E%3C/g%3E%3Cg transform='translate(18 78) scale(1.6)' opacity='0.45' fill='%234A6378'%3E%3Ccircle r='2.2'/%3E%3Ccircle cx='8' r='1.4'/%3E%3Ccircle cx='-8' r='1.4'/%3E%3Ccircle cy='8' r='1.4'/%3E%3Ccircle cy='-8' r='1.4'/%3E%3C/g%3E%3Cg transform='translate(138 14) scale(1.2)' opacity='0.35' fill='none' stroke='%231F3243' stroke-width='1.6'%3E%3Cpath d='M-18 -3 L-12 3 L-6 -3 L0 3 L6 -3 L12 3 L18 -3'/%3E%3Cpath d='M-18 3 L-12 9 L-6 3 L0 9 L6 3 L12 9 L18 3'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 320px 320px repeat,
    #ffffff;
}
