
.heroes-page .intro-box {
  padding: 14px 24px;
  background: rgba(254, 250, 240, 0.78);
  border: 1px solid rgba(178, 121, 31, 0.24);
  border-radius: 16px;
  text-align: center;
  font-size: 15.5px;
  line-height: 1.55;
  color: #2a1b0e;
  max-width: 720px;
  margin: 8px auto 30px;
  flex-shrink: 0;
}

.heroes-grid-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 0;
  margin-bottom: 12px;
}

.heroes-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 70px;
  max-height: 100%;
  overflow: hidden;
}

.hero-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fffcf3, #fbf6e8);
  border: 1px solid rgba(178, 121, 31, 0.32);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(74, 36, 12, 0.1);
  overflow: hidden;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.hero-card__ribbon {
  height: 7px;
  background: linear-gradient(90deg, #1a1a1a 0%, #1a1a1a 1.2%, #d88820 1.2%, #d88820 4.4%, #1a1a1a 4.4%, #1a1a1a 5.6%, #d88820 5.6%, #d88820 8.8%);
}

.hero-card__photo-wrap {
  position: relative;
  margin: 14px 14px 0;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(178, 121, 31, 0.36);
  background: linear-gradient(135deg, #fffaf0, #f5e5bc);
}

.hero-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card__star {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border-radius: 13px;
  background: linear-gradient(180deg, #fffaee, #f5e5bc);
  border: 1px solid #b7791f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #9B1B1F;
  line-height: 1;
  padding-bottom: 2px;
}

.hero-card__body {
  padding: 12px 14px 18px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero-card__surname {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  color: var(--red-war);
}

.hero-card__name {
  font-family: 'PT Serif', serif;
  font-size: 14.5px;
  font-weight: 700;
  margin-top: 4px;
}

.hero-card__badge {
  margin-top: auto;
  padding-top: 10px;
}

.hero-card__badge span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 0 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #9b1b1f, #6e0e12);
  border: 1px solid rgba(110, 14, 18, 0.4);
  font-family: 'Manrope', sans-serif;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.95px;
  text-transform: uppercase;
  color: #fffaee;
}

.heroes-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(254, 250, 240, 0.92);
  border: 1px solid rgba(155, 27, 31, 0.22);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.heroes-arrow--left {
  left: -10px;
}

.heroes-arrow--right {
  right: -10px;
}

.heroes-arrow svg {
  width: 28px;
  height: 28px;
}

.war-years {
  position: absolute;
  right: var(--pad-x);
  bottom: 220px;
  font-family: 'PT Serif', serif;
  font-size: 28px;
  color: #2a1b0e;
  opacity: 0.7;
  z-index: 1;
  pointer-events: none;
}

.hero-profile-page .kiosk__content {
  padding-bottom: 28px;
}

.hero-card__title{
  margin: 10px 0;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
