.via-recipe-entry-title {
margin: 0;
padding: 0;
}
.via-recipe-header-title {
position: relative;
background: #E4E4E7;
padding: 20px;
margin: 0;
text-align: center;
font-size: 36px;
font-weight: 700; display: flex;
align-items: center;
justify-content: center;
gap: 20px;
color: black; overflow: hidden;
} .via-recipe-header-title::before {
content: "";
position: absolute;
top: 0;
right: 0;
width: 60px;
height: 60px;
background: repeating-linear-gradient(
45deg,
rgba(0,0,0,0.15) 0,
rgba(0,0,0,0.15) 5px,
transparent 5px,
transparent 10px
);
clip-path: polygon(100% 0, 0 0, 100% 100%);
pointer-events: none;
} .via-recipe-header-title::after {
content: "";
position: absolute;
bottom: 0;
left: 0;
width: 60px;
height: 60px;
background: repeating-linear-gradient(
45deg,
rgba(0,0,0,0.15) 0,
rgba(0,0,0,0.15) 5px,
transparent 5px,
transparent 10px
);
clip-path: polygon(0 100%, 0 0, 100% 100%);
pointer-events: none;
}
.viar-featured-image {
display: block!important;
}  .viatracks-slider-container {
width: 100%;
overflow: hidden;
position: relative;
padding: 10px 0;
} .swiper-container {
width: 100%;
} .swiper-wrapper {
display: flex;
}
.swiper-slide {
flex: 0 0 calc(33.333% - 10px) !important; max-width: calc(33.333% - 10px) !important;
height: 110px !important; margin-right: 10px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
} .swiper-slide img {
width: 100% !important;
height: 100% !important;
object-fit: cover !important; border-radius: 8px;
cursor: pointer;
transition: transform 0.2s ease-in-out;
}
.swiper-slide img:hover {
transform: scale(1.08);
} .swiper-button-next,
.swiper-button-prev {
width: 38px !important;
height: 38px !important;
border-radius: 50% !important;
background: rgba(0,0,0,0.65) !important;
color: #fff !important;
display: flex !important;
justify-content: center !important;
align-items: center !important;
top: 50% !important;
transform: translateY(-50%) !important;
z-index: 9999 !important;
opacity: 1 !important;
margin-top: 0%!important;
} .swiper-button-next::after,
.swiper-button-prev::after {
font-size: 18px !important;
font-weight: bold !important;
color: #fff !important;
} .swiper-button-prev {
left: 5px !important;
}
.swiper-button-next {
right: 5px !important;
} .swiper-button-next,
.swiper-button-prev {
background-size: 12px 12px !important;
} .single-viarecipes .wp-post-image {
display: none;
}
.post-type-archive-viarecipes .comments-link {
display: none;
}
.recipe-cost {
background-color: #f8f8f8;
padding: 10px;
border: 1px solid #ddd;
margin-top: 20px;
}
.recipe-cost h3 {
margin-top: 0;
color: #333;
}
.recipe-error {
background-color: #ffe6e6;
padding: 10px;
border: 1px solid #ffcccc;
margin-top: 20px;
color: #ff0000;
}
.video-grid {
display: grid;
grid-template-columns: repeat(2, 1fr); gap: 20px;
margin: 20px 0;
}
.recipe-video iframe {
width: 100%;
height: 100%;
border-radius: 8px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.recipe-video iframe:hover {
transform: scale(1.05);
} .doc-brand {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 30px;
} .via-recipes-logo {
width: 160px;
height: 160px;
border-radius: 49%;
background-image: url(//themespress.ca/wp-content/plugins/via-recipes/assets/img/via-recipes-logo.webp); background-size: cover;
background-position: center;
background-repeat: no-repeat;
margin: 0 auto 25px;
box-shadow: 0 5px 18px rgba(0,0,0,0.18);
position: relative;
}
.doc-logo-text {
font-size: 20px;
font-weight: 700;
color: #ffffff;
letter-spacing: 0.3px;
}  .via-recipe-featured-container > div {
position: relative;
overflow: hidden;
} .via-recipe-featured-container img.viar-featured-image {
width: 100%;
height: auto;
max-height: 420px;  
object-fit: cover;
background: #000; } .via-recipe-featured-container > div::after {
content: "";
position: absolute;
inset: 0;
background: rgba(0, 0, 0, 0.5);
opacity: 0.70;
transition: opacity 0.25s ease;
z-index: 2;
pointer-events: none;
} .via-recipe-featured-container > div:hover::after {
opacity: 0;
}
.viar-featured-image {
position: relative;
width: 100%;
height: auto;
opacity: 0;
transform: translateY(20px);
animation: imageAppear 0.8s forwards ease-in-out;
}
.viar-triangle {
position: absolute;
bottom: 0;
right: 0;
width: 0;
height: 0;
border-left: 150px solid transparent;
border-bottom: 150px solid #ff5733;
transform: scale(0);
animation: triangleAppear 0.8s forwards ease-in-out;
z-index:4
}
@keyframes imageAppear {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes triangleAppear {
0% {
opacity: 0;
transform: scale(0);
}
100% {
opacity: 1;
transform: scale(1);
}
} .ingredients-section p {
margin: 5px 0;
}
.ingredients-section .viarecipes-tab-container {
display: flex;
border-bottom: 2px solid #ff5733;
gap: 5px;
justify-content: flex-start;
padding-bottom: 5px;
} .ingredients-section .viarecipes-tablinks {
padding: 12px 20px;
border: none;
background-color: #f9f9f9;
color: #333;
cursor: pointer;
transition: all 0.3s ease-in-out;
font-size: 16px;
font-weight: bold;
border-radius: 5px 5px 0 0;
border: 1px solid transparent;
box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
margin:0;
} .ingredients-section .viarecipes-tablinks:hover {
background-color: #ffe6e6;
} .ingredients-section .viarecipes-tablinks.viarecipes-active {
background-color: #ff5733 !important;
color: #fff !important;
font-weight: bold;
border-radius: 5px 5px 0 0;
border: 1px solid #ff5733;
box-shadow: 3px 3px 8px rgba(255, 87, 51, 0.2);
} .ingredients-section .viarecipes-tabcontent {
display: none;
padding: 15px;
background-color: #f9f9f9;
border: 1px solid #ddd;
border-radius: 5px;
box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
animation: fadeIn 0.3s ease-in-out;
} .ingredients-section .viarecipes-tabcontent.viarecipes-active {
display: block;
} .entry-title h2 {
display: flex;
justify-content: space-between;
align-items: center;
gap: 10px;
}
.via-skill-badge {
display: inline-block;
padding: 7px 30px;
font-size: 12px;
font-weight: 700;
border-radius: 12px;
color: #fff;
text-transform: uppercase;
letter-spacing: 0.5px;
margin: 7px 0 0 0;
} .skill-easy {
background: linear-gradient(135deg, #7bd87f, #43a047);
}
.skill-medium {
background: linear-gradient(135deg, #64b5f6, #1e88e5);
}
.skill-difficult {
background: linear-gradient(135deg, #ffb74d, #f57c00);
}
.skill-expert {
background: linear-gradient(135deg, #ef5350, #c62828);
} @keyframes fadeIn {
from {
opacity: 0;
transform: translateY(5px);
}
to {
opacity: 1;
transform: translateY(0);
}
} .viarecipe-author-section { padding: 30px;
background: #F7F7F8;
border-radius: 12px;
}
.viarecipe-author-grid {
display: grid;
grid-template-columns: 150px 1fr;
gap: 25px;
align-items: center;
}
.viarecipe-author-avatar-container {
display: flex;
justify-content: center;
align-items: center;
}
.viarecipe-author-avatar {
border-radius: 50%;
box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.viarecipe-author-title {
margin: 0px!important;
font-size: 22px;
font-weight: 700;
}
.viarecipe-author-name {
font-size: 18px;
font-weight: 600;
margin: 0 0 8px;
}
.viarecipe-author-bio {
font-size: 15px;
color: #444;
line-height: 1.5;
}
.recipe-meta {
position:relative;
}
.viarecipe-favorite-absolute {
position: absolute;
top: -45px;
right: 20px;
z-index: 50;
}
.viarecipe-favorite-absolute button,
.viarecipe-favorite-absolute .viar-favorite-btn {
transform: scale(1.1);
} .via-recipes-cuisine-type:empty {
display: none !important;
}
.via-recipes-cuisine-type:empty,
.via-recipes-cuisine-type:has(:not(*)) {
display: none !important;
}
.via-recipes-cuisine-type {
display: inline-block;
padding: 10px 18px;
background: #ff5722;
border-radius: 30px;
color: #fff !important;
font-weight: 600;
font-size: 15px;
box-shadow: 0 4px 12px rgba(0,0,0,0.18);
position: relative;
overflow: hidden;
margin: 10px 0;
} .via-recipes-cuisine-type::before {
content: "";
position: absolute;
top: -40%;
left: -20%;
width: 160%;
height: 180%;
background: rgba(255,255,255,0.15);
transform: rotate(25deg);
pointer-events: none;
} .via-recipes-cuisine-type span {
font-weight: 700 !important;
color: #fff !important;
} @media (max-width: 768px) {
.viarecipes-all-btn,
.via-recipes-cuisine-type {
display: block !important;
width: 100%;
margin-bottom: 10px;
text-align: center;
} section[style*="white-space:nowrap"] {
white-space: normal !important;
}
.viarecipe-author-grid {
display:flex!important;
}
.recipe-cost span {
display:block!important;
}
} .via-recipes-shortcode-image{
margin:0!important;
}