#imGroup_1 { float: left; }
#imGroup_1 > div { float: left; }
#imCell_1 { display: block; position: relative; overflow: hidden; }
#imCellStyle_1 { position: relative; box-sizing: border-box; text-align: center; z-index: 2;}
#imCellStyleGraphics_1 { position: absolute; top: 3px; bottom: 3px; background-color: transparent; }
#imObjectImage_1 { width: 100%; max-width: 473px; }
#imCell_2 { display: block; position: relative; overflow: hidden; }
#imCellStyle_2 { position: relative; box-sizing: border-box; text-align: center; z-index: 2;}
#imCellStyleGraphics_2 { position: absolute; top: 3px; bottom: 3px; background-color: transparent; }
#imObjectImage_2 { width: 100%; max-width: 356px; }
@media (min-width: 980px) {
	#imGroup_1 { width: 970px; }
	#imCell_1 { width: 479px; min-height: 480px;  padding-top: 3px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; }
	#imCellStyle_1 { width: 479px; min-height: 480px; padding: 3px 3px 3px 3px; border-top: 0; border-bottom: 0; border-left: 0; border-right: 0; }
	#imCellStyleGraphics_1 { left: 3px; right: 3px; }
	#imCell_2 { width: 479px; min-height: 480px;  padding-top: 3px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; }
	#imCellStyle_2 { width: 479px; min-height: 480px; padding: 3px 3px 21px 3px; border-top: 0; border-bottom: 0; border-left: 0; border-right: 0; }
	#imCellStyleGraphics_2 { left: 3px; right: 3px; }
	
}
@media  (max-width: 979px) and (min-width: 720px) {
	#imGroup_1 { width: 710px; }
	#imCell_1 { width: 351px; min-height: 448px;  padding-top: 3px; padding-bottom: 3px; padding-left: 2px; padding-right: 2px; }
	#imCellStyle_1 { width: 351px; min-height: 448px; padding: 3px 3px 99px 3px; border-top: 0; border-bottom: 0; border-left: 0; border-right: 0; }
	#imCellStyleGraphics_1 { left: 2px; right: 2px; }
	#imCell_2 { width: 351px; min-height: 448px;  padding-top: 3px; padding-bottom: 3px; padding-left: 2px; padding-right: 2px; }
	#imCellStyle_2 { width: 351px; min-height: 448px; padding: 3px 3px 3px 3px; border-top: 0; border-bottom: 0; border-left: 0; border-right: 0; }
	#imCellStyleGraphics_2 { left: 2px; right: 2px; }
	
}
@media  (max-width: 719px) and (min-width: 480px) {
	#imGroup_1 { width: 470px; clear: left; }
	#imCell_1 { clear: left; }
	#imCell_1 { width: 464px; min-height: 465px;  padding-top: 3px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; }
	#imCellStyle_1 { width: 464px; min-height: 465px; padding: 3px 3px 3px 3px; border-top: 0; border-bottom: 0; border-left: 0; border-right: 0; }
	#imCellStyleGraphics_1 { left: 3px; right: 3px; }
	#imCell_2 { clear: left; }
	#imCell_2 { width: 464px; min-height: 462px;  padding-top: 3px; padding-bottom: 3px; padding-left: 3px; padding-right: 3px; }
	#imCellStyle_2 { width: 464px; min-height: 462px; padding: 3px 3px 3px 3px; border-top: 0; border-bottom: 0; border-left: 0; border-right: 0; }
	#imCellStyleGraphics_2 { left: 3px; right: 3px; }
	
}
@media  (max-width: 479px) {
	#imGroup_1 { width: 100%; clear: left; }
	#imCell_1 { clear: left; }
	#imCell_1 { width: 100%; min-height: 12px;  padding-top: 3px; padding-bottom: 3px; padding-left: 5px; padding-right: 5px; box-sizing: border-box; }
	#imCellStyle_1 { width: 100%; min-height: 0px; padding: 3px 3px 3px 3px; }
	#imCellStyleGraphics_1 { top: 3px; bottom: 3px; left: 5px; right: 5px; }
	#imCell_2 { clear: left; }
	#imCell_2 { width: 100%; min-height: 12px;  padding-top: 3px; padding-bottom: 3px; padding-left: 5px; padding-right: 5px; box-sizing: border-box; }
	#imCellStyle_2 { width: 100%; min-height: 0px; padding: 3px 3px 3px 3px; }
	#imCellStyleGraphics_2 { top: 3px; bottom: 3px; left: 5px; right: 5px; }
	
}

/* ===============================
   AJUSTE CONTENIDO VS MENÚ
   =============================== */
#imContent {
  padding-top: 90px; /* evita que el primer título quede oculto */
}

/* ===============================
   TÍTULOS POR AÑO
   =============================== */
.financial-year-title {
  margin: 60px 0 25px 0;
  text-align: center;
  width: 100%;
}

.financial-year-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: #163b5b;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid #163b5b;
  display: inline-block;
  padding-bottom: 8px;
}
/* ===============================
   ITEM FINANCIERO
   =============================== */
.financial-item {
  text-align: center;
}

.financial-item img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

/* ===============================
   TEXTO DEBAJO DE LA IMAGEN
   =============================== */
.financial-caption {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #000;
}

/* ===============================
   RESPONSIVE (MÓVIL)
   =============================== */
@media (max-width: 768px) {
  .financial-caption {
    font-size: 16px;
  }
}

/* ===============================
   FORZAR 2 COLUMNAS POR AÑO
   =============================== */
#imContent .imHGroup {
  display: flex;
  justify-content: center;
  gap: 30px;
}

#imContent .imHGroup .financial-item {
  width: 48%;
  box-sizing: border-box;
}

/* ===============================
   RESPONSIVE: en móvil se apilan
   =============================== */
@media (max-width: 768px) {
  #imContent .imHGroup {
    flex-direction: column;
  }

  #imContent .imHGroup .financial-item {
    width: 100%;
  }
}

/* ===============================
   FILA FINANCIERA (2 COLUMNAS)
   =============================== */
.financial-row {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

/* Columnas */
.financial-col {
  width: 50%;
  text-align: center;
}

/* Imagen */
.financial-col img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ccc;
}

/* Texto debajo */
.financial-caption {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 600;
}

/* ===============================
   RESPONSIVE (MÓVIL)
   =============================== */
@media (max-width: 768px) {
  .financial-row {
    flex-direction: column;
  }

  .financial-col {
    width: 100%;
  }
}


/* ===============================
   IMÁGENES MISMO TAMAÑO
   =============================== */
.financial-col img {
  width: 100%;
  height: 420px;          /* AJUSTA ESTE VALOR SI QUIERES */
  object-fit: cover;     /* recorta sin deformar */
  border: 1px solid #ccc;
  background: #fff;
}
/* ===============================
   CONTENEDOR DE PORTADA PDF
   =============================== */
.pdf-thumb {
  position: relative;
}

/* Ícono PDF */
.pdf-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #c62828;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  pointer-events: none;
}

/* Hover elegante */
.pdf-link:hover .pdf-icon {
  background: #a41f1f;
}

/* Efecto hover sobre imagen */
.pdf-link:hover img {
  filter: brightness(0.9);
}