﻿/* Badge for recent editions */
.badge-recent {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #2ABFAA;
  color: #fff;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
}

/* Breadcrumb styling */
.breadcrumb {
  padding: 8px 0;
  margin: 0;
  list-style: none;
  background: transparent;
  font-size: 14px;
}

.breadcrumb li {
  display: inline-block;
}

.breadcrumb li a {
  color: #2ABFAA;
  text-decoration: none;
}

.breadcrumb li a:hover {
  text-decoration: underline;
}

/* Flexbox layout for equal height cards */
/* Flexbox layout for equal height cards */
.ediciones-row {
  display: flex;
  flex-wrap: wrap;
}

/* Hide Bootstrap row pseudo-elements as they interfere with flex layout */
.ediciones-row:before,
.ediciones-row:after {
  display: none;
}

.ediciones-row>[class*='col-'] {
  display: flex;
  flex-direction: column;
  /* Do NOT set width here, let Bootstrap handle it */
}

/* .plan is the column element itself */
.ediciones-row .plan {
  display: flex;
  flex-direction: column;
  /* Removed width: 100% and background from here to respect gutters */
}

.ediciones-row .plan ul {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FAFAFA;
  /* Background belongs on the content, not the column */
  width: 100%;
  /* ul should fill the column */
  border-radius: 4px;
  padding-bottom: 25px;
  /* Add padding to the container bottom */
}

.ediciones-row .plan ul li {
  width: 100%;
}

/* Ensure the heading area has a minimum height to align content */
.ediciones-row .heading-one,
.ediciones-row .heading-two,
.ediciones-row .heading-three {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Push the action button to the bottom */
.ediciones-row .plan-action {
  margin-top: auto;
  /* padding-bottom removed as we use container padding now */
}