/* Outstanding Section Styles */
.outstanding-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 2rem;
}

.hero-featured {
  width: 100%;
  position: relative;
  overflow: hidden;
  position: relative;
}

.hero-featured-inner {
  display: flex;
  flex-direction: row;
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 320px;
  justify-content: center;
  align-items: stretch;
}

.hero-featured-inner.outstanding-card {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

.hero-featured-text {
  width: 40%;
  padding: 2rem;
  text-align: left;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.post-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
  color: #111;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.post-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}

.post-title a:hover {
  color: #444;
}

.post-excerpt {
  font-size: 1.1rem;
  line-height: 1.5;
  color: #444;
  margin: 0;
}

.hero-featured-img {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: auto;
}

.hero-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.outstanding-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13), 0 1.5px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 1.5rem 0;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

/* Estilos específicos para el título del post destacado en home */
.home .outstanding-section .hero-featured-text .post-title {
  font-size: 3rem;
  line-height: 1;
  margin: 0 0 1.25rem 0;
}

.home .outstanding-section .hero-featured-text .post-title a {
  background-image: linear-gradient(#C95330, #C95330);
  background-repeat: no-repeat;
  background-size: 0 5px;
  transition: background-size .3s;
  background-position: left 100%;
}

@media (max-width: 800px) {
  .hero-featured {
    margin: 0rem;
  }

  .hero-featured-inner,
  .hero-featured-inner.outstanding-card {
    flex-direction: column !important;
    align-items: stretch !important;
    display: flex !important;
    width: 100%;
    /* Elimina min-height solo en mobile */
    min-height: unset;
  }

  .outstanding-section .hero-featured-inner .hero-featured-img {
    width: 100%;
    order: 1;
    height: auto;
    align-items: stretch;
    display: flex;
    justify-content: center;
  }

  .outstanding-section .hero-featured-inner .hero-featured-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-top: 0;
  }

  .outstanding-section .hero-featured-inner .hero-featured-text {
    width: 100%;
    order: 2;
    padding: 1rem !important;
    box-sizing: border-box;
    text-align: left;
    align-items: flex-start;
  }

  .home .outstanding-section .hero-featured-text .post-title {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.8rem;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
  }

  .outstanding-section .hero-featured-inner .post-excerpt {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
  }

  .hero-featured-img .post-thumb {
    min-height: 250px;
  }

  .outstanding-section {
    padding: 0 !important;
  }
}