/**
 * Coastal Schema Blocks - Frontend Styles
 * Recipe Card Styling with Coastal Theme
 */

/* Recipe Card Container */
.coastal-schema-recipe-card {
    background: #ffffff;
    border: 2px solid #E8D5C4;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Recipe Header */
.recipe-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F5EBE0;
}

.recipe-name {
    color: #4A90A4;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.recipe-description {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Recipe Meta (Times & Servings) */
.recipe-meta {
    background: #F5EBE0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.recipe-time-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.recipe-time {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.time-label {
    color: #4A90A4;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.time-value {
    color: #333333;
    font-size: 18px;
    font-weight: 500;
}

/* Ingredients Section */
.recipe-ingredients {
    margin-bottom: 30px;
}

.recipe-ingredients h3 {
    color: #4A90A4;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #F5EBE0;
}

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

.ingredients-list li {
    padding: 10px 0 10px 35px;
    position: relative;
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid #F5EBE0;
}

.ingredients-list li:last-child {
    border-bottom: none;
}

.ingredients-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6BB6CC;
    font-weight: bold;
    font-size: 18px;
}

/* Instructions Section */
.recipe-instructions {
    margin-bottom: 30px;
}

.recipe-instructions h3 {
    color: #4A90A4;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #F5EBE0;
}

.instructions-list {
    counter-reset: step-counter;
    list-style: none;
    padding: 0;
    margin: 0;
}

.instructions-list li {
    counter-increment: step-counter;
    padding: 15px 0 15px 50px;
    position: relative;
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid #F5EBE0;
}

.instructions-list li:last-child {
    border-bottom: none;
}

.instructions-list li:before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 15px;
    width: 32px;
    height: 32px;
    background: #4A90A4;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

/* Chef's Notes */
.recipe-notes {
    background: #F8F9FA;
    border-left: 4px solid #6BB6CC;
    padding: 20px;
    margin-top: 25px;
    border-radius: 4px;
}

.recipe-notes h3 {
    color: #4A90A4;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.recipe-notes p {
    color: #333333;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .coastal-schema-recipe-card {
        padding: 20px;
        margin: 20px 0;
    }
    
    .recipe-name {
        font-size: 24px;
    }
    
    .recipe-time-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .time-value {
        font-size: 16px;
    }
    
    .ingredients-list li,
    .instructions-list li {
        font-size: 15px;
    }
    
    .instructions-list li {
        padding-left: 45px;
    }
    
    .instructions-list li:before {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .recipe-time-container {
        grid-template-columns: 1fr;
    }
    
    .coastal-schema-recipe-card {
        padding: 15px;
    }
}

/* Print Styles */
@media print {
    .coastal-schema-recipe-card {
        border: 1px solid #333;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .recipe-name {
        color: #000;
    }
    
    .time-label {
        color: #000;
    }
    
    .ingredients-list li:before {
        color: #000;
    }
    
    .instructions-list li:before {
        background: #000;
    }
}

/* ========================================
   FAQ SECTION STYLES
   ======================================== */

.coastal-schema-faq-section {
    background: #ffffff;
    border: 2px solid #E8D5C4;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
}

.faq-title {
    color: #4A90A4;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #F5EBE0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: #F8F9FA;
    border-left: 4px solid #6BB6CC;
    padding: 20px;
    border-radius: 6px;
}

.faq-question {
    color: #4A90A4;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.faq-answer {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.faq-answer p {
    margin: 0 0 10px 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* FAQ Section Mobile */
@media (max-width: 768px) {
    .coastal-schema-faq-section {
        padding: 20px;
        margin: 30px 0;
    }
    
    .faq-title {
        font-size: 24px;
    }
    
    .faq-question {
        font-size: 17px;
    }
    
    .faq-answer {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .coastal-schema-faq-section {
        padding: 15px;
    }
    
    .faq-item {
        padding: 15px;
    }
}
/* ============================================
   RECIPE LIST BLOCK - FRONTEND STYLES
   ADD THIS TO THE END OF YOUR frontend.css FILE
   ============================================ */

.coastal-recipe-list {
	margin: 30px 0;
	padding: 0;
}

.coastal-recipe-list .recipe-list-title {
	font-size: 28px;
	font-weight: 700;
	color: #1e1e1e;
	margin: 0 0 15px 0;
	line-height: 1.3;
}

.coastal-recipe-list .recipe-list-description {
	font-size: 16px;
	color: #4a5568;
	margin: 0 0 25px 0;
	line-height: 1.6;
}

.coastal-recipe-list .recipe-list-items {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: recipe-counter;
}

.coastal-recipe-list .recipe-list-item {
	position: relative;
	margin: 0 0 30px 0;
	padding: 20px 0 20px 60px;
	border-bottom: 1px solid #e2e8f0;
	counter-increment: recipe-counter;
}

.coastal-recipe-list .recipe-list-item:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

/* Numbered badge */
.coastal-recipe-list .recipe-list-item::before {
	content: counter(recipe-counter);
	position: absolute;
	left: 0;
	top: 20px;
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, #4A90A4 0%, #6BB6CC 100%);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: 700;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.coastal-recipe-list .recipe-name {
	font-size: 22px;
	font-weight: 700;
	color: #1e1e1e;
	margin: 0 0 10px 0;
	line-height: 1.3;
}

.coastal-recipe-list .recipe-name a {
	color: #4A90A4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.coastal-recipe-list .recipe-name a:hover {
	color: #2d5f6d;
	text-decoration: underline;
}

.coastal-recipe-list .recipe-description {
	font-size: 16px;
	color: #4a5568;
	margin: 0;
	line-height: 1.6;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	.coastal-recipe-list .recipe-list-title {
		font-size: 24px;
	}
	
	.coastal-recipe-list .recipe-list-item {
		padding-left: 50px;
	}
	
	.coastal-recipe-list .recipe-list-item::before {
		width: 35px;
		height: 35px;
		font-size: 16px;
	}
	
	.coastal-recipe-list .recipe-name {
		font-size: 20px;
	}
	
	.coastal-recipe-list .recipe-description {
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.coastal-recipe-list .recipe-list-title {
		font-size: 22px;
	}
	
	.coastal-recipe-list .recipe-list-item {
		padding-left: 45px;
		padding-top: 15px;
		padding-bottom: 15px;
		margin-bottom: 20px;
	}
	
	.coastal-recipe-list .recipe-list-item::before {
		width: 32px;
		height: 32px;
		font-size: 15px;
		top: 15px;
	}
	
	.coastal-recipe-list .recipe-name {
		font-size: 18px;
	}
	
	.coastal-recipe-list .recipe-description {
		font-size: 14px;
	}
}

/* ============================================
   END OF RECIPE LIST BLOCK STYLES
   ============================================ */