.rsg-recipe-card {
max-width: 800px;
margin: 30px auto;
padding: 25px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
color: #333;
} .rsg-recipe-header {
display: flex;
flex-wrap: wrap;
margin-bottom: 25px;
gap: 20px;
}
.rsg-recipe-image {
flex: 0 0 300px;
max-width: 300px;
}
.rsg-recipe-image img {
width: 100%;
height: auto;
border-radius: 6px;
object-fit: cover;
}
.rsg-recipe-title-section {
flex: 1;
min-width: 250px;
}
.rsg-recipe-title {
margin-top: 0;
margin-bottom: 15px;
font-size: 28px;
color: #2c3e50;
}
.rsg-recipe-description {
margin-bottom: 15px;
line-height: 1.6;
color: #555;
}
.rsg-recipe-meta {
display: flex;
flex-wrap: wrap;
gap: 15px;
font-size: 14px;
color: #666;
} .rsg-recipe-details {
display: flex;
flex-wrap: wrap;
margin-bottom: 25px;
padding: 15px;
background-color: #f9f9f9;
border-radius: 6px;
gap: 20px;
}
.rsg-recipe-times {
display: flex;
flex-wrap: wrap;
gap: 15px;
flex: 3;
}
.rsg-recipe-time-item {
display: flex;
flex-direction: column;
align-items: center;
padding: 10px;
background-color: #fff;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
min-width: 80px;
text-align: center;
}
.rsg-recipe-time-label {
font-size: 12px;
font-weight: 600;
color: #666;
margin-bottom: 5px;
}
.rsg-recipe-time-value {
font-size: 14px;
font-weight: 700;
color: #2c3e50;
}
.rsg-recipe-taxonomy {
display: flex;
flex-direction: column;
gap: 8px;
flex: 1;
justify-content: center;
}
.rsg-recipe-taxonomy-label {
font-weight: 600;
color: #666;
} .rsg-recipe-ingredients {
margin-bottom: 25px;
}
.rsg-recipe-section-title {
margin-top: 0;
margin-bottom: 15px;
padding-bottom: 8px;
border-bottom: 2px solid #e67e22;
color: #2c3e50;
font-size: 20px;
}
.rsg-ingredients-list {
padding-left: 20px;
margin: 0;
}
.rsg-ingredient-item {
margin-bottom: 8px;
line-height: 1.5;
} .rsg-recipe-instructions {
margin-bottom: 25px;
}
.rsg-instructions-list {
padding-left: 25px;
margin: 0;
}
.rsg-instruction-item {
margin-bottom: 15px;
line-height: 1.6;
} .rsg-recipe-nutrition {
margin-bottom: 25px;
padding: 15px;
background-color: #f9f9f9;
border-radius: 6px;
}
.rsg-nutrition-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.rsg-nutrition-item {
flex: 1 0 150px;
padding: 8px;
background-color: #fff;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.rsg-nutrition-label {
font-weight: 600;
color: #666;
} .rsg-recipe-keywords {
font-size: 14px;
color: #666;
margin-top: 20px;
}
.rsg-keywords-label {
font-weight: 600;
}
.rsg-keyword-item {
background-color: #f1f1f1;
padding: 3px 8px;
border-radius: 3px;
display: inline-block;
margin-right: 5px;
margin-bottom: 5px;
} @media (max-width: 768px) {
.rsg-recipe-card {
padding: 15px;
}
.rsg-recipe-header {
flex-direction: column;
}
.rsg-recipe-image {
flex: 0 0 100%;
max-width: 100%;
}
.rsg-recipe-times {
justify-content: center;
}
}