/**
 * Estilos para o single de Atleta (Estilo Currículo)
 */

.cbem-atleta-wrapper * {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif !important;
}

/* Container principal */
.cbem-atleta-wrapper {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 20px;
}

.cbem-single-atleta {
  width: 100%;
}

/* Grid: Foto à esquerda, Info à direita */
.cbem-atleta-container {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

/* Coluna da Foto (Esquerda - Retrato) */
.cbem-atleta-photo-column {
  position: sticky;
  top: 100px;
}

.cbem-atleta-image {
  width: 100%;
  height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Placeholder quando não há foto */
.cbem-atleta-placeholder {
  background: linear-gradient(135deg, #03569A 0%, #00713C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cbem-atleta-initials {
  font-size: 120px;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

/* Coluna de Informações (Direita - Currículo) */
.cbem-atleta-info-column {
  width: 100%;
}

.cbem-atleta-card {
  background: linear-gradient(90deg, rgba(209, 209, 209, .2) 0%, rgba(209, 209, 209, .2) 100%), #fff;
  border: 1px solid rgba(209, 209, 209, .2);
  border-radius: 20px;
  padding: 48px;
}

/* Nome do Atleta */
.cbem-atleta-nome {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 700 !important;
  font-size: 42px !important;
  line-height: 1.2 !important;
  color: #03569A !important;
  margin: 0 0 24px 0 !important;
}

/* Modalidade */
.cbem-atleta-modalidade {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid rgba(3, 86, 154, 0.2);
  border-radius: 100px;
  padding: 8px 16px;
  margin-bottom: 32px;
}

.cbem-atleta-modalidade svg {
  flex-shrink: 0;
}

.cbem-atleta-modalidade span {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #03569A !important;
}

/* Linha Separadora */
.cbem-atleta-divider {
  width: 100%;
  height: 1px;
  background: rgba(209, 209, 209, 0.5);
  margin-bottom: 32px;
}

/* Seção Sobre */
.cbem-atleta-sobre {
  margin-bottom: 40px;
}

.cbem-atleta-section-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
  color: #1E1E1E !important;
  margin: 0 0 20px 0 !important;
}

.cbem-atleta-content {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: rgba(30, 30, 30, 0.8) !important;
}

.cbem-atleta-content p {
  margin-bottom: 16px !important;
}

.cbem-atleta-content p:last-child {
  margin-bottom: 0 !important;
}

/* Botão Voltar */
.cbem-atleta-actions {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(209, 209, 209, 0.5);
}

.cbem-atleta-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #03569A;
  color: white !important;
  padding: 14px 24px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
}

.cbem-atleta-btn-back:hover {
  background: #00713C;
  transform: translateX(-4px);
}

.cbem-atleta-btn-back svg {
  flex-shrink: 0;
}

/* Responsivo - Tablet */
@media screen and (max-width: 1024px) {
  .cbem-atleta-wrapper {
    padding: 60px 20px;
  }

  .cbem-atleta-container {
    grid-template-columns: 320px 1fr;
    gap: 40px;
  }

  .cbem-atleta-image {
    height: 440px;
  }

  .cbem-atleta-card {
    padding: 40px;
  }

  .cbem-atleta-nome {
    font-size: 36px !important;
  }

  .cbem-atleta-section-title {
    font-size: 22px !important;
  }
}

/* Responsivo - Mobile */
@media screen and (max-width: 768px) {
  .cbem-atleta-wrapper {
    padding: 40px 16px;
  }

  .cbem-atleta-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cbem-atleta-photo-column {
    position: relative;
    top: 0;
  }

  .cbem-atleta-image {
    height: 400px;
    border-radius: 20px;
  }

  .cbem-atleta-card {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .cbem-atleta-nome {
    font-size: 28px !important;
    margin-bottom: 20px !important;
  }

  .cbem-atleta-modalidade {
    margin-bottom: 24px;
  }

  .cbem-atleta-divider {
    margin-bottom: 24px;
  }

  .cbem-atleta-section-title {
    font-size: 20px !important;
    margin-bottom: 16px !important;
  }

  .cbem-atleta-content {
    font-size: 15px !important;
  }

  .cbem-atleta-actions {
    margin-top: 32px;
    padding-top: 24px;
  }

  .cbem-atleta-btn-back {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 15px !important;
  }
}

/* Responsivo - Mobile Pequeno */
@media screen and (max-width: 480px) {
  .cbem-atleta-wrapper {
    padding: 32px 12px;
  }

  .cbem-atleta-image {
    height: 320px;
  }

  .cbem-atleta-card {
    padding: 24px 20px;
  }

  .cbem-atleta-nome {
    font-size: 24px !important;
  }

  .cbem-atleta-initials {
    font-size: 80px;
  }
}

