.new-recipes-widget {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 20px;
  overflow: hidden;
}
 
.new-recipe-item {
  border: 1px solid rgba(102, 102, 102, 0.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  overflow: hidden;
  display: block;
  text-decoration: none;
}

.new-recipe-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.new-recipes-widget__header {
    margin-top: 20px;
}

.new-recipes-widget__header h2 {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.6rem;
    font-weight: 600;
    color: #f36608;
    text-transform: uppercase;
    margin-top: 0px;
    margin-bottom: 20px;
}

.new-recipes-widget__header h2::before { 
    content: '';
    width: 14px;
    height: 10px;
    background: #f5a623;
    clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%);
}

.new-recipes-widget__header h2::after {
    content: '';
    flex-grow: 1;
    height: 2px;
    background-color: rgba(255, 107, 8, 0.4);
    background-size: 10px 6px;
    background-repeat: repeat-x;
}

.new-recipe-title {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  margin: 0px 10px 10px;
}

.new-recipe-excerpt {
  font-size: 16px;
  color: #666;
  padding: 0 20px 12px;
  line-height: 1.6;
}

.new-recipes-widget__btn {
  display: flex;
  width: fit-content;
  margin: 32px auto 0;
  padding: 14px 28px;
  font-weight: 600;
  color: #fff;
  background: #ff7a00;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgb(0 0 0 / .5);
  box-shadow: 0 6px 14px rgb(255 107 8 / .35);
  position: relative;
  align-items: center;
  z-index: 1;
}

.new-recipes-widget__btn:hover {
  background: #e96b10;
  box-shadow: 0 10px 22px rgb(255 107 8 / .45);
}

.new-recipes-widget__btn::before,
.new-recipes-widget__btn::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 100vw;
  height: 6px;
  transform: translateY(-50%);
  background-image: radial-gradient(circle, #ff7a00 2px, transparent 2px);
  background-size: 10px 6px;
  background-repeat: repeat-x;
  z-index: -1;
}

.new-recipes-widget .new-recipe-meta {
  margin-bottom: 20px;
  padding: 0 10px;
  font-weight: 500;
  font-size: 16px; 
}

.new-recipes-widget__btn::before { right: 100%; margin-right: 16px; }
.new-recipes-widget__btn::after { left: 100%; margin-left: 16px; }

.recipe-card__btn {
   margin-top: 0;
   background: #ff7a00;
   color: #fff;
   padding: 5px 10px;
   float: right;
   font-size: 16px;
   font-weight: 500;
   margin-bottom: 20px;
}

.recipe-card__btn:hover,
.recipe-card__btn:focus {
    background: #e96b10;
    color: #fff;
    box-shadow: 0 10px 22px rgba(255, 107, 8, 0.45);
}

@media screen and (max-width: 767px) {
    .new-recipes-widget {
        grid-template-columns: repeat(1, 1fr);
    }
}
