:root {
  --main-color: #f83ca4;
  --bg-light: #f9f9f9;
  --text-dark: #111;
  --text-muted: #888;
  --radius: 16px;
  --font-main: 'Inter', sans-serif;
}

.single-modelo .main-page-wrapper {padding-top: 0!important;}
.modelo-single {
 /* max-width: 1200px;*/
  margin: 0 auto;
  font-family: var(--font-main);
  padding: 30px 20px;
  color: var(--text-dark);
  width: 100%;
  padding: 0;
}

/* PERFIL HEADER */
.profile-header {
  display: flex;
  gap: 30px;
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 30px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.avatar-box img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.profile-info {
  flex: 1;
}

.profile-info h1 {
  font-size: 28px;
  margin-bottom: 15px;
  font-weight: 700;
}

.profile-attributes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.profile-attributes .attr {
  background: white;
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  font-size: 14px;
}

.profile-attributes .attr svg {
  width: 18px;
  height: 18px;
  fill: var(--main-color);
}

/* TABS */
.tabs-modelo {
    display: block;
    margin-top: 30px;
    gap: 10px;
    padding: 0 20px;
    /* text-align: center; */
}

.tablink {
  flex: 1;
  padding: 18px;
  border: none;
  background: #eaeaea;
  color: #000;
  font-weight: bold;
  font-size: 1rem!important;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.tablink svg {
  width: 28px;
  height: 28px;
  fill: #000;
  transition: fill 0.3s;
}

.tablink.active {
  background: var(--main-color);
  color: #fff;
}

.tablink.active svg {
  fill: #fff;
}

.tab-content {
    display: none;
    padding: 20px;
    background: white;
}

.tab-content.active {
  display: block;
  border-top: 0px solid var(--main-color);
}
article.perfil-modelo {
    margin-bottom: 2rem;
}
/* GALERÃƒÆ’Ã†â€™Ãƒâ€šÃ‚ÂA */
.attachment-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.attachment-gallery  figure.attachment-item {
    aspect-ratio: 5 / 6;
}
.attachment-gallery .attachment-item img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    height: 100%;
    object-fit: cover;
    object-position: 50% 10%;
}

.attachment-gallery .attachment-item img:hover {
  transform: scale(1.03);
}

/* ABOUT */
.about-block {
  background: white;
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  margin-top: 10px;
}

.about-block h3 {
  font-size: 18px;
  color: var(--main-color);
  margin-top: 20px;
}

.about-block p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  background: var(--main-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  margin-right: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.social-links a:hover {
  background: #cc3388;
}



.modelo-ai-card {
    background-color: #000000;
    color: white;
    overflow: hidden;
    /* max-width: 820px; */
    margin: 0 auto;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
    box-shadow: none;
    position: relative;
}
  
.modelo-header {
      position: absolute;
      background: linear-gradient(268deg, #ff5c61 -14.8%, #3c003a 102.08%);
      height: 122px;
      width: 100%;
      top: 0;
      left: 0;
  }
  .header-pattern {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0.5;
  }
  
.modelo-header-content {
      position: relative;
      z-index: 2;
      padding: 20px;
      display: flex;
      justify-content: end;
      width: auto;
      max-width: 1500px;
      width: 100%;
      margin: auto;
  }
  
.modelo-nombre {
      font-size: 1.7rem;
      font-weight: bold;
      margin-top: 32px;
      min-width: calc(100% / 1 - 50vh);
      text-align: left;
      max-width: 49% !important;
      width: 100%;
      line-height: 1em;
  }
  
.modelo-body {
      display: flex;
      flex-wrap: wrap;
      padding: 33px;
      gap: 42px;
      justify-content: center;
      max-width: 1500px;
      width: 100%;
      margin: auto;
  }
 .modelo-foto {
     flex: 1 1 300px;
     position: relative;
     max-width: 100vh;
     width: 100%;
     max-width: 45vh;
     max-height: 640px;
     overflow: hidden;
 }
  
 .modelo-foto img {
     width: 100%;
     border-radius: 10px;
     display: block;
 }
  
  .reacciones {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
  }
  
  .like-btn, .dislike-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.7);
    border: none;
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
  }
  
  .like-btn {
    background-image: url('thumb-up.svg');
  }
  
  .dislike-btn {
    background-image: url('thumb-down.svg');
  }
  
  .modelo-detalles {
      flex: 1 1 300px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      margin-top: 118px;
  }
  
  .bloque-audio {
    display: flex;
    align-items: cent
    display: flex;
    flex-wrap: wrap;
    padding: 30px;
    border-top: 1px solid #333;
    gap: 30px;
  }
  
  .audio-btn {
    background: white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 6px;
  }
  
  .bloque-bio h3 {
   color: var(--bs-orange);
   margin-bottom: 15px;
   line-height: 1em;
   text-transform: uppercase;
   font-size: 1rem;
   font-weight: 800;
  }
  
  .bloque-bio p {
    font-size: 15px;
    color: #fff;
    opacity: 0.9;
  }
  
 .bloque-botones {
     display: flex;
     flex-direction: row;
     gap: 12px;
     margin-top: 20px;
     justify-content: left;
     flex-wrap: wrap;
 }
  
  
  .btn {
    display: block;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
  }
  
 .btn.chat {
     background: linear-gradient(to right, #FC768A, #E65073);
     color: white;
     gap: 6px;
     transition: all .5s linear;
 }
 .btn.chat {
     background: transparent;
     color: white;
     gap: 6px;
     transition: all .5s linear;
     border: 1px solid white;
 }
 a.btn.chat:hover {
     color: var(--bs-gray-100);
     /* background: var(--bs-danger); */
     background: linear-gradient(to right, #E91E63, #5325a4);
     transition: all .5s linear;
     opacity: 1;
 }
  
  .btn.crear, .btn.generar {
    border: 2px solid #E65073;
    color: #E65073;
  }
  .bloque-botones a.btn i {
      font-size: 1.3rem;
      font-weight: 700;
  }
 .modelo-atributos {
     display: flex;
     flex-wrap: wrap;
     padding: 10px 0;
     border-top: 1px solid #333;
     gap: 30px;
     padding-top: 1rem;
 }
  
  .modelo-atributos .col {
      flex: 1 1 180px;
      padding-inline: inherit;
  }
  
  .modelo-atributos h4 {
    font-size: 15px;
    color: var(--bs-orange);
    margin-bottom: 15px;
    line-height: 1em;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 800;
  }
  
  .modelo-atributos ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
 .modelo-atributos li {
     margin-bottom: 13px;
     font-size: 1rem;
     display: flex;
     align-items: center;
     gap: 7px;
     line-height: 1em;
     flex-wrap: wrap;
 }
  
  .modelo-atributos li strong {
    color: #FC768A;
  }

@media (max-width: 760px) {
  header.modelo-header {
      height: auto;
      position: relative;
  }
  .modelo-header-content {
      justify-content: center;
  }
  h1.modelo-nombre {
      margin: 0;
      text-align: center;
      width: 100%;
      max-width: inherit!important;
  }
  .modelo-body {
      display: flex;
      flex-wrap: wrap;
      padding: 0px;
      gap: 20px;
      justify-content: center;
  }
  .modelo-detalles {
      margin-top: 0;
     padding: 1.5rem;
  }
.modelo-atributos {
      gap: 20px;
  }
 .modelo-atributos .col {
     border: 0 !important;
 }
    .modelo-foto {
     max-width: 49vh !important;
     flex: 400px;
     max-height: inherit;
 }
 .bloque-botones {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
  }
  }


/* RESPONSIVE */
@media(max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
  }

  .profile-attributes {
    justify-content: center;
  }

  .tablink {
    font-size: 13px;
    padding: 14px;
  }

  .tablink svg {
    width: 22px;
    height: 22px;
  }
}
