/*
Theme Name: Koral Child
Description: Child theme for the Koral Theme
Author: Upper
Template: koral
Version: 1.0
*/
.d-flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.p-10 {
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.receta-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.receta-title {
  margin: 0 0 16px;
  font-size: 3.5rem;
}
.comment-notes {
  display: none !important;
}
span.receta-rating__stars {
  color: #43aa34;
}
p.comment-rating {
  color: #43aa34;
}
#comments #comments-title {
  display: none;
}
.comment-form-rating label {
  margin: 10px;
}
.comment-form-email {
  display: none !important;
}
.comment-form-url {
  display: none !important;
}
#comments {
  margin: 0 !important;
}
.wrapper-receta-info {
  width: 100%;
  margin-top: 30px;
}
.receta-featured img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 15px;
}
.receta-categorias {
  margin: 12px 0 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.receta-cat {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 999px;
  text-decoration: none;
}
.receta-ficha {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid #eee;
  border-radius: 12px;
}
.receta-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  margin-top: 24px;
}
.receta-ingredientes,
.receta-pasos {
  padding: 13px;
  border: 1px solid #43aa34;
  border-radius: 12px;
  min-height: 850px;
}
.receta-pasos p {
  margin-bottom: 0 !important;
}
.spacer-receta {
  margin-bottom: 5rem;
}
.tiempo-preparacion {
  font-size: 1.25rem;
}
.porciones {
  font-size: 1.25rem;
}
.p-0 {
  padding: 0 !important;
}
.svg-receta {
  color: #43aa34;
}
.btn-conversacion-receta {
  background-color: #fff;
  border: 1px solid #43aa34;
  color: #43aa34;
  padding: 10px 30px 10px 30px;
}
.btn-conversacion-receta:hover {
  background-color: #43aa34;
  color: #fff;
}
.p-receta-ingredientes {
  margin: 0 !important;
  font-size: 1.5rem;
  font-weight: bold;
}
.receta-prep-ingr {
  margin-top: 1rem;
}

.recetas-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px;
}
.recetas-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}
.recetas-title {
  margin: 0;
}
.recetas-filtros {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 30px;
}

#wrapper-todas-las-recetas {
  margin-top: 20px;
}
.recetas-filtros .filtro {
  padding: 7px 12px;
  border: 1px solid #ddd;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
}
.recetas-filtros .filtro.is-active {
  border-color: #43aa34;
  color: #43aa34;
}

.korai-recetas-wrap .receta-card__thumb {
  display: block;
  position: relative;
  height: 220px; /* ← MISMO ALTO PARA TODAS */
  overflow: hidden;
}
.korai-recetas-wrap .receta-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.korai-recetas-wrap .receta-card__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
}

@media (max-width: 1024px) {
  .recetas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .recetas-grid {
    grid-template-columns: 1fr;
  }
}

.receta-card {
  border: 1px solid #eee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.receta-card__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.receta-card__placeholder {
  padding: 50px 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.receta-card__body {
  padding: 14px;
}
.receta-card__title {
  margin: 0 0 10px;
  font-size: 1.1rem;
}
.receta-card__title a {
  text-decoration: none;
}

.receta-card__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-size: 0.9rem;
  opacity: 0.85;
}
.meta-item {
  padding: 3px 8px;
  border: 1px solid #eee;
  border-radius: 999px;
}

.receta-card__excerpt p {
  margin: 0 0 12px;
}
.receta-card__cta {
  text-decoration: none;
  font-weight: 600;
}
.justify-center {
  justify-content: center !important;
}
.envio-receta {
  background-color: #FFBB06;
  padding: 10px 20px 10px 20px;
  color: #fff;
  font-weight: bold;
  margin-bottom: 20px;
  border-radius: 15px;
}
.envio-receta:hover{
  border: #FFBB06 1px solid;
  color: #FFBB06;
  background: #fff;

}
.wrapper-envia {
background: rgba(67, 170, 52, 1);
padding: 50px 0 50px 0;
margin: 20px 0 20px 0;
}
.wrapper-envia h3 {
  color: #fff;
}
p.enviadopor {
  margin: 0 !important;
}
.recetas-pagination {
  margin-top: 22px;
}
.btn-ver-receta-vorare {
  color: #43aa34;
}
.logged-in-as {
  display: none !important;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
/* Transición del contenedor */
.recetas-grid {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.recetas-grid.is-fading-out {
  opacity: 0;
  transform: translateY(6px);
}

.recetas-grid.is-fading-in {
  opacity: 1;
  transform: translateY(0);
}

/* Animación stagger para cada card */
.recetas-grid .receta-card {
  opacity: 0;
  transform: translateY(10px);
}

.recetas-grid .receta-card.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.img-enviado-por img {
  width: auto;
  max-height: 100px;
  border-radius: 100%;
}

@media (max-width: 768px) {
  .receta-grid {
    grid-template-columns: 1fr;
  }
}
