/* exnet-recipe-list.css */

/* Keresőmező stílusa */
.exnet-recipe-search {
  margin-bottom: 30px;
  text-align: center;
}
.exnet-recipe-search form {
  display: inline-flex;
  gap: 10px;
  max-width: 100%;
  width: 500px;
}
.exnet-recipe-search input[type="text"] {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.exnet-recipe-search button {
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.exnet-recipe-search button:hover {
  background-color: #555;
}

/* Recept lista Rács (Grid) */
.exnet-recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding-bottom: 20px;
}

/* Egy recept kártya */
.exnet-recipe-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  overflow: visible;
  border: none;
}

/* Kép konténer */
.exnet-recipe-image {
  line-height: 0;
  z-index: 1;
  position: relative;
}
.exnet-recipe-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Szöveges tartalom */
.exnet-recipe-content {
  position: relative;
  z-index: 2;
  background-image: url("/wp-content/uploads/2023/10/text_bg.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -15px;
  padding: 45px 20px 30px 20px;
  height: 130px;
}

/* Cím stílusa */
.exnet-recipe-title {
  margin: 0;
  text-align: center;
  line-height: 1;
  font-size: 1rem;
  font-weight: 900;
  font-family: Montserrat, sans-serif;
}
.exnet-recipe-title a {
  text-decoration: none;
  color: #ea8221;
  transition: color 0.3s;
}
.exnet-recipe-title a:hover {
  color: #ea8221;
}

/* A GOMB (Link) stílusa */
.exnet-recipe-link {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 50px;
  background-image: url("/wp-content/themes/brisk-child/images/buttons_bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  text-transform: lowercase;
  padding-bottom: 5px;
  z-index: 10;
  font-family: Montserrat, sans-serif;
}
.exnet-recipe-link:hover {
  filter: brightness(1.1);
  color: white;
}

/* Mobil nézet */
@media (max-width: 768px) {
  .exnet-recipe-grid {
    grid-template-columns: 1fr;
  }
}

/* Rejtett elemek és Load More gomb */
.exnet-recipe-item.exnet-hidden {
  display: none;
}
.exnet-load-more-container {
  text-align: center;
  margin-top: 40px;
}
.exnet-load-more-btn {
  background-color: #e67e22;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-weight: bold;
}
.exnet-load-more-btn:hover {
  background-color: #d35400;
  transform: translateY(-2px);
}
.exnet-load-more-btn.hidden {
  display: none;
}
.exnet-card-holiday .exnet-recipe-link {
  background-image: url("/wp-content/uploads/2025/11/buttons_bg_green.png");
}
.exnet-card-holiday .exnet-recipe-title a {
  text-decoration: none;
  color: rgb(16, 54, 31);
  transition: color 0.3s;
}
.exnet-card-holiday .exnet-recipe-title a:hover {
  color: rgb(16, 54, 31);
}
