/* @import Section */
@import url('https://fonts.googleapis.com/css2?family=Poetsen+One&display=swap');

.main_content_recipe {
  padding: 20px;
  margin: 40px auto;
  max-width: 1000px;
}

.featured_contents {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

.featured_contents_img_container,
.featured_contents_text_container {
  flex: 1 1 50%;
  max-width: 50%;
  box-sizing: border-box;
}

.featured_contents_img_container img {
  width: 100%;
  max-width: 420px;
  border-radius: 20px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.featured_contents_text_container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.featured_contents_text_container h2 {
  font-family: "Poetsen One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 26px;
  margin-bottom: 10px;
  text-align: center;
}

.featured_contents_text_container p {
  line-height: 1.6;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .featured_contents {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .featured_contents_text_container,
  .featured_contents_img_container {
    flex: 1 1 100%;
    max-width: 100%;
    padding-left: 0;
  }
}

.recipe_info_section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 20px 0;
  border-top: 1px solid sienna;
  border-bottom: 1px solid sienna;
  margin-top: 20px;
  text-align: center;
}

.info_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info_item i {
  font-size: 20px;
  color: black;
  margin-bottom: 6px;
}

.info_label {
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  color: black;
  margin: 0;
  text-align: center;
}

.about_recipe {
  margin: 20px 0;
  padding: 15px 0;
  text-align: center;
}

.about_recipe h3 {
  font-family: "Poetsen One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  .about_recipe {
    text-align: center;
  }
}

.print-link {
  display: inline-block;
  font-weight: 500;
  color: var(--accent-color);
  background: transparent;
  border: 2px solid var(--accent-color);
  border-radius: 0.5rem;
  padding: 0.4em 0.8em;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.print-link:hover,
.print-link:focus {
  background: var(--accent-color);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.recipe-details {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
  padding: 20px 5%;
  margin: 20px 5%;
}

.recipe-details .left {
  flex: 2;
}

.recipe-details .right {
  flex: 1;
}

.recipe-details h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.25rem;
  text-align: center;
  font-family: "Poetsen One", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 20px;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
  margin: 20px;
}

.items-grid figure {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}

.items-grid img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  object-fit: cover;
}

.notes-list {
  list-style: decimal inside;
  padding-left: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.notes-list li {
  padding: 5px;
}

.notes-list li::marker {
  font-weight: 700;
}

@media (max-width: 768px) {
  .recipe-details {
    flex-direction: column;
  }
}

.right {
  margin-left: 20px;
}

figcaption {
  padding-top: 10px;
}

.preperation_container img {
  display: inline-block;
  margin-bottom: 1rem;
}

.preperation_container h4 {
  margin-top: 2rem;
  font-size: 1.0rem;
  font-weight: 600;
  color: var(--accent-color);
}

.preperation_container p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.sr-only{
  display: none;
}