/* Recipe Module Styles */

.col-md-4 {
    width: 33%;
}


.recipes-page {
    padding: 20px 0;
}
.meta-item img {
    width: 40px;
}
.recipes-page h3 {
    border-style: solid;
    border-width: 0px 0px 1px 0px;
    border-color: #A2C037;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 800;
}
.badge-secondary{
	color: #A2C037;
	font-size: 10px;
}
.recipe-categories ul {
    margin: 20px 0;
}
.recipe-categories ul li {
    margin: 5px 0;
}
.recipe-categories ul li img{
height:10px;
}
/* Recipe Cards */
/*.recipe-card .card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid #e0e0e0;
}

.recipe-card .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}*/
.recipe-card .card{
	border: 0px solid;
}
.recipe-card {
    border-radius: 40px !important;
    min-height: 400px;
    display: block;
    background-color: #EEEEEE;
}

.recipe-card img{
border-top-right-radius: 40px;
	border-top-left-radius: 40px;
}

.recipe-card .card-footer {
    border-top: 0px solid;
    background-color: transparent;
	padding: 30px;
}

.recipe-image {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.recipe-card .card-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.recipe-card .card-title a:hover {
    color: #007bff;
    text-decoration: none;
}

.recipe-meta {
    margin-top: 10px;
}

.recipe-meta i {
    margin-right: 5px;
}

/* Category Cards */
.category-card {
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    text-decoration: none;
    color: inherit;
}

.category-card .card {
    transition: all 0.2s ease-in-out;
    border: 2px solid #e0e0e0;
}

.category-card .card:hover,
.category-card.active .card {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.category-card .card-title {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Recipe Detail Page */

#module-psrecipes-recipe header.page-header {
    display: none;
}
#module-psrecipes-recipe .category-title{
	width: 50%;
}

#module-psrecipes-recipe header.page-header h1 {
    z-index: -1;
}

.recipe-detail {
    padding: 20px 0;
}

img.recipe-cover-image {
    margin-top: -15%;
}

.recipe-cover-image {
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

.recipe-header h1 {
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.recipe-short-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.meta-item {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: #007bff;
    width: 16px;
}

.meta-item strong {
    min-width: 120px;
}

.difficulty-1 {
    color: #28a745;
    font-weight: 600;
}

.difficulty-2 {
    color: #ffc107;
    font-weight: 600;
}

.difficulty-3 {
    color: #dc3545;
    font-weight: 600;
}

/* Social Sharing */
.recipe-sharing {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.social-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-facebook {
    background-color: #3b5998;
    border-color: #3b5998;
    color: white;
}

.btn-twitter {
    background-color: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.btn-pinterest {
    background-color: #bd081c;
    border-color: #bd081c;
    color: white;
}

/* Recipe Description */
.recipe-description .content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #444;
}

.recipe-description .content h1,
.recipe-description .content h2,
.recipe-description .content h3,
.recipe-description .content h4 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.recipe-description .content ol,
.recipe-description .content ul {
    padding-left: 30px;
}

.recipe-description .content li {
    margin-bottom: 8px;
}

/* Associated Products */
.associated-products .product-card .card {
    transition: transform 0.2s ease-in-out;
}

.associated-products .product-card .card:hover {
    transform: translateY(-3px);
}

#module-psrecipes-recipe .product-image {
    height: 280px;
    object-fit: cover;
    width: 100%;
}

.associated-products .card-title a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
}

.associated-products .card-title a:hover {
    color: #007bff;
    text-decoration: none;
}

/* Related Recipes */
.related-recipes .recipe-card .card {
    transition: transform 0.2s ease-in-out;
}

.related-recipes .recipe-card .card:hover {
    transform: translateY(-3px);
}

.related-recipes .recipe-image {
    height: 150px;
}

.related-recipes .card-title a {
    font-size: 0.95rem;
}

/* Search Form */
.recipe-search-form {
    margin-bottom: 30px;
}

.recipe-search-form .input-group {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 25px;
    overflow: hidden;
}

.recipe-search-form .form-control {
    border: none;
    padding: 12px 20px;
    font-size: 1rem;
}

.recipe-search-form .btn {
    border: none;
    padding: 12px 25px;
    font-weight: 600;
}

/* Search Results */
.search-info {
    background-color: #e7f3ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

/* Category Info */
.category-info {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.category-info h2 {
    color: #333;
    margin-bottom: 15px;
}

.category-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 15px;
}

/* No Results */
.no-recipes {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 60px 20px;
}

.no-recipes h3 {
    color: #666;
    margin-bottom: 15px;
}

/* Pagination */
.pagination {
    margin-top: 40px;
}

.pagination .page-link {
    color: #007bff;
    border-color: #dee2e6;
    padding: 10px 15px;
}

.pagination .page-item.active .page-link {
    background-color: #eeeeee;
    border-color: #eeeeee;
}

.pagination .page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Recipe Navigation */
.recipe-navigation {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recipe-header .row {
        flex-direction: column-reverse;
    }
    
    .recipe-header .col-md-6:first-child {
        margin-top: 20px;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .recipe-navigation .text-right {
        text-align: left !important;
        margin-top: 10px;
    }
    
    .meta-item {
        flex-direction: row;
        /*align-items: flex-start;*/
		        gap: 30px;
    }
    .meta-item span {
		min-width: 100px !important;
	}
    .meta-item strong {
		min-width: 125px !important;
    }
	i.fa.fa-folder-o {
		font-size: 29px;
        width: 40px;
        text-align: center;
	}
}

@media (max-width: 576px) {
	.col-sm-6{
	width:50%;
}
	
	img.recipe-cover-image {
    margin-top: -20px;
}
	
    .recipe-image,
    .related-recipes .recipe-image {
        height: 180px;
    }
    
    .product-image {
        height: 280px;
    }
    
    .recipe-search-form .input-group {
        border-radius: 8px;
    }
    
    .recipe-search-form .form-control,
    .recipe-search-form .btn {
        padding: 10px 15px;
    }
}