/**
 * Recipe style
 */

/**
 * Recipe Search Form
 */
 .recipe-search {
    display: flex;    
    width: 100%;
}
.recipe-search input {
    width: 100%;
    border: none;
    border-radius: 2rem 0 0 2rem;
    padding: 1.125rem 1.5rem;
    font-family: 'Omnes';
    font-weight: 500;
    background: rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s;
    outline: none;
}
.recipe-search input::placeholder {
    color: #000000;
}
.recipe-search button {
    background: rgba(0, 0, 0, 0.05);
    border: 0;
    color: currentColor;
    border-radius: 0 2rem 2rem 0;
    transition: background-color 0.3s;
    outline: none;
}
.recipe-search input:focus + button {
    background-color: var(--fondo-claro);
}


/**
 * Recipe related categories loops in category page
 */
.recipe-cat-loop {
    margin-bottom: 6rem;
}
.recipe-cat-loop > .gb-headline,
.recipe-cat-loop > .gb-button-wrapper {
    text-align: center;
}
.recipe-cat-loop > .gb-button-wrapper {
    padding: 0 2rem;
}


/**
 * Elaboration Steps
 */
.steps-list {
    list-style: none;
    margin: 0;
}
.steps-list > li:last-child {
    margin-bottom: 0;
}


/**
 * CTA Button
 */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 1.125rem 1.125rem 1.125rem 1.5rem;
    background-color: #FFFFFF;
    border-radius: 3.125rem;
    background-color: var(--blanco);
    transition: transform 0.3s ease, background-color 0.5s ease;
    cursor: pointer;
}
.cta-button .gb-headline-text { 
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-family: 'Omnes';
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.625rem;
    text-align: left;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}
.cta-button:hover {
    transform: translateY(-5px);
    background-color: var(--rojo);
}
.cta-button:hover .gb-headline-text {
    color: #FFFFFF;
}
.cta-button a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
    width: 34px;
    height: 34px;
    background-color: var(--rojo);
    border-radius: 50%;
    flex-shrink: 0;
}
.cta-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}


@media (max-width: 768px) {
    .recipe-cat-loop {
        margin-bottom: 3rem;
    }
    .recipe-cat-loop > .gb-button-wrapper {
        padding: 0 1rem;
    }
}


/**
 * Single recipe
 */
.single-recipes .recipe-content h2,
.single-recipes .recipe-content h2 a {
	margin-top: 3rem;
    font-size: 2.125rem;
	color: var(--rojo);
}
.single-recipes .recipe-content h2:first-child {
    margin-top: 0;
}
.single-recipes .recipe-content h3 {
	margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 2.125rem;
}
.single-recipes .recipe-content h4 {
	margin-top: 2rem;
}
.single-recipes .recipe-content img {
    width: 100%;
    max-height: 1036px;
    object-fit: cover;
	border-radius: 1.875rem;
}
.single-recipes .recipe-content table {
	margin: 1rem 0;
    border-collapse: collapse;
	border: 1px solid rgba(0, 0, 0, 0.05);
}
.single-recipes .recipe-content table thead {
	border: 0 !important;
}
.single-recipes .recipe-content table thead td {   
	border: 0;
	text-align: left;
}
.single-recipes .recipe-content table th {
	background-color: var(--fondo-claro);
}
.single-recipes .recipe-content table th,
.single-recipes .recipe-content table td {
    padding: 0.5rem 1.5rem;
	font-size: 1rem;
	text-align: left;
	border: 0;
}
.single-recipes .recipe-content table tbody tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.02);
}
.single-recipes .recipe-content .wp-block-list {
	margin-bottom: 1.5rem;
}
.single-recipes .recipe-content .wp-block-list li {
	margin-bottom: 0.5rem;
}
.single-recipes .video-vertical,
.single-recipes .video-vertical .lyte,
.single-recipes .video-vertical iframe {
    border-radius: 1.875rem;
}

@media (max-width: 768px) { 
	.single-recipes .recipe-content h2,
	.single-recipes .recipe-content h2 a {
		margin: 2rem 0 1rem;
		font-size: 1.875rem;
		line-height: 2.5rem;
	}
	.single-recipes .recipe-content h3 {
		margin: 2rem 0 0.5rem;
		font-size: 1.5rem;
		line-height: 2.125rem;
	}	
}