.profile-container {
  max-width: 850px;
  margin-top: 60px;
}

.profile-container header {
  row-gap: 1rem;
}

.profile-image-container {
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
}

@media (max-width: 768px) {
  .profile-image-container {
    width: 75px;
    height: 75px;
  }
}

.profile-image-container.post {
  width: 50px;
  height: 50px;
}

.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.avatar-frame {
  border: 2px solid var(--bs-border-color);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bs-secondary-bg);
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-link {
  color: var(--bs-secondary-color);
  text-decoration: none;
  font-size: 1.3rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--bs-body-color);
}

/* Feed de Posts */
.post-card {
  border: none;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--bs-border-color);
}

.post-card:last-child {
  border-bottom: none;
}

.post-meta {
  font-size: 0.85rem;
  color: var(--bs-secondary-color);
  margin-bottom: 0.5rem;
}

.post-title {
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--bs-body-color);
  text-decoration: none;
  display: block;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.post-title:hover {
  color: var(--bs-link-hover-color, var(--bs-primary));
}

.post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 13 / 7;
  max-height: 350px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  background-color: var(--bs-secondary-bg);
}

.post-excerpt {
  color: var(--bs-secondary-color);
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .profile-container {
    margin-top: 30px;
  }

  .profile-container header {
    align-items: flex-start !important;
  }

  .avatar-frame {
    width: 72px;
    height: 72px;
  }

  .post-card {
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }
}

/* Sección de Temas / Filtros */
.section-title-sm {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bs-secondary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 3rem;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  background-color: var(--bs-secondary-bg);
  color: var(--bs-body-color);
  min-height: 44px;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--bs-border-color);
}

.tag-pill:hover {
  background-color: var(--bs-body-color);
  color: var(--bs-body-bg);
  border-color: var(--bs-body-color);
}

.tag-pill.active {
  background-color: var(--bs-body-color);
  color: var(--bs-body-bg);
  border-color: var(--bs-body-color);
}

.follow-blog-help {
  max-width: 28rem;
}