@import "_related-products.css";
@import "_related-articles.css";

/**
 * ======================================================
 * Recipe page style
 * ======================================================
 */
.recipe-wrapper {
  position: relative;
  width: 100%;
}

.recipe-container {
  width: 100%;
  padding: 0px 7px 24px 7px;
  max-width: 1356px;
  margin: 0 auto;
}

.recipe-header-wrapper {
  padding: 64px 7px 34px 7px;
  position: relative;
  background-color: #000;
}

.recipe-header-light * {
  color: rgba(255, 255, 255, 0.90);
}
.recipe-header-light a {
  color: rgba(255, 255, 255, 0.90);
}
.recipe-header-container a:hover {
  text-decoration: none;
}
.recipe-header-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  width: 100%;
  height: 140px;
  background-color: #000;
  z-index: -1;
}

.recipe-header-container {
  max-width: 1080px;
  margin: 0 auto;
}

.recipe-body-wrapper {
  max-width: 1080px;
  margin: 0 auto;
}

.recipe-hero-wrapper {
  padding-bottom: 36px;
  max-width: 1080px;
  margin: 0 auto;
}

.recipe-hero-wrapper picture,
.recipe-hero-wrapper picture source,
.recipe-hero-wrapper picture img {
  display: block;
}

.recipe-hero-wrapper picture img {
  /*
  height: 630px;
  */
  object-fit: cover;
  width: 100%;
  height: auto;
}

.recipe-instructions-wrapper {
  max-width: 1080px;
  margin: 30px auto;
}

.recipe-instructions-wrapper hr {
  margin: 24px 0;
  border-top: 1px solid #ddd;
}

.recipe-required-list {
  margin: 0;
  padding: 0 0 0 20px;
  list-style: disc;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.75);
}

.recipe-required-list li::marker {
  color: #f9bc82;
}

.recipe-required-list li {
  padding: 4px 0;
}

.recipe-instructions {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recipe-brew-tip {
  display: flex;
  gap: 8px;
  font-size: 0.875rem;
  align-items: flex-start;
}
.recipe-brew-tip img {
  width: 20px;
  height: auto;
  flex-shrink: 0;
}

.recipe-info {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.75rem;
}

.recipe-info span {
  display: block;
  padding: 4px 8px;
  font-size: 0.75rem;
  background-color: #ffeed6;
}

.recipe-instructions-type {
  margin: 0;
  padding: 8px 0 24px 0;
  display: flex;
  gap: 30px;
  list-style: none;
}
.recipe-instructions-type li {
  margin: 0;
  padding: 0;
}
.recipe-instructions-type li a {
  padding: 6px 0;
  border-bottom:  2px solid #C7C7C7;
  transition: border-color 0.4s ease-in-out;
}
.recipe-instructions-type li a:hover {
  text-decoration: none;
}
.recipe-instructions-type li.active a {
  border-color: #F58300;
}
.recipe-instructions li {
  margin: 16px 0 0 0;
  padding: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  background-color: #f7f7f7;
  border-radius: 4px;
  overflow: hidden;
}
.recipe-instructions li:first-child {
  margin: 0;
}

.recipe-instructions li p {
  margin: 16px 0 0 0;
}

.recipe-instructions li p:first-of-type {
  margin: 0;
}

.recipe-instructions li > span {
  padding-left: 10px;
  width: 60px;
  display: block;
  flex-shrink: 0;
  font-size: 2.25rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 600px) {
  .recipe-hero-wrapper picture img {
    aspect-ratio: 1/1;
  }
}
