﻿/* ----------------------------------------------------------------
	Canvas: Recipes
-----------------------------------------------------------------*/


.slider-features .grid-inner::after {
	content: '';
	position: absolute;
	width: 0;
	height: 100%;
	top: 0;
	left: auto;
	right: -1px;
	border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.slider-features img {
	display: block;
	width: 30px !important;
	height: 30px !important;
	margin-bottom: 1rem;
}

.dark .slider-features .grid-inner::after {
	border-right-color: rgba(255, 255, 255, 0.2);
}

.rev_slider .slider-features ul li:not(:last-child) {
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	margin-right: 40px;
	padding-right: 40px;
}

.rev_slider .dark .slider-features ul li:not(:last-child),
.rev_slider .slider-features ul.dark li:not(:last-child) {
	border-right-color: rgba(255, 255, 255, 0.2);
}


/**
 * Recipe Categories
 */

.recipe-categories {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.recipe-category {
	position: relative;
	overflow: hidden;
	flex: 0 0 calc(100% - 20px);
	max-width: calc(100% - 20px);
	margin: 10px;
	height: 80px;
	background-size: cover;
	background-position: center center;
	border-radius: 250px;
	transition: all 0.5s cubic-bezier(.02, .01, .5, 1);
}

	.recipe-category::after {
		position: absolute;
		content: '';
		left: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
		background-color: rgba(0,0,0,0.2);
	}

.recipe-category-inner {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 0px;
	z-index: 2;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
}


.recipe-category-icon {
	width: 40px;
	height: 40px;
	margin: 0;
	display: flex;
	justify-content: center;
	text-align: center;
	border-radius: 100%;
	background-color: #FFF;
	padding: 8px;
	margin-right: 10px;
	color: #000;
	transition: transform .5s ease-out;
}

.recipe-category:hover .recipe-category-icon {
	transform: rotate(360deg);
}

.recipe-category-info {
	flex: 1;
	text-align: center;
	color: #fff;
	font-size: 16px;
	width: 100%;
	text-align: center;
	overflow-wrap: anywhere; /* uzun kelimeyi satırda kır */
	word-break: break-word; /* güvenlik için */

	padding-bottom: 5px;
	border-radius: 40px;
	margin: 0 auto 6px auto;
	max-width: 100%;
	font-weight: 600;
	letter-spacing: 0.5px;
	display: -webkit-box;
	-webkit-line-clamp: 3; /* Maksimum 2 satır */
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (min-width: 768px) {

	.recipe-category {
		flex: 0 0 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}
}


@media (min-width: 992px) {

	.recipe-category {
		flex: 0 0 90px;
		max-width: 7%;
		height: 400px;
		margin: 15px;
		background-size: auto 105%;
		background-position: center;
		border-radius: 50px;
	}

		.recipe-category:hover {
			flex: 0 0 320px;
			max-width: 320px;
			background-size: auto 100%;
			border-radius: 40px;
		}

	.recipe-category-inner {
		display: flex;
		align-items: center;
		width: auto;
		height: auto;
		left: 25px;
		top: auto;
		bottom: 0;
		writing-mode: vertical-rl;
		text-orientation: mixed;
		background-color: rgb(255 255 255 / 61%);
		border-radius: 40px;
		transform: rotate(180deg);
	}

	.icon-circle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		background-color: #fff;
		color: #FFF;
		font-size: 20px;
	}

	.recipe-category:hover .recipe-category-inner {
		writing-mode: horizontal-tb;
		transform: rotate(0);
	}

	.recipe-category:not(:hover) .recipe-category-icon {
		width: 40px;
		height: 40px;
		margin-right: 0;
		margin-bottom: 0px;
		transform: rotate(180deg);
	}

	.recipe-category::after {
		background: -webkit-linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8)) 100%;
		background: -o-linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8)) 100%;
		background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8)) 100%;
	}
}



.recipe-items .card img,
.rotating {
	transform: rotate(0deg);
	transition: transform 1.5s linear;
}

	.recipe-items .card:hover img,
	.rotating:hover {
		transform: rotate(360deg);
		transition: transform 20s linear;
	}

.recipe-items .row {
	border-top: 1px solid #EEE;
	margin-top: -1px;
	margin-bottom: -1px;
}

	.recipe-items .row [class^=col-] {
		border-right: 1px solid #EEE;
		border-bottom: 1px solid #EEE;
	}

.recipe-items .card {
	border: 0;
	background: transparent;
	border-radius: 0;
	padding: 20px 10px;
}

.recipe-items .card-author {
	font-size: 12px;
	font-weight: 400;
	color: #AAA;
	margin-bottom: 0;
}

.recipe-items .card-title {
	font-size: 18px;
	line-height: 1.3;
}

.recipe-items .card-author a {
	color: #999;
	text-transform: uppercase;
	margin-left: 2px;
	font-weight: 600;
}

.recipe-items .card-title a {
	color: #222;
}

.recipe-items .card-date {
	margin-top: 15px;
	color: #555;
	margin-bottom: 0;
	font-weight: 400;
}

	.recipe-items .card-date i {
		margin-right: 6px;
	}

.play-video i {
	position: absolute;
	padding-left: 5px;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	line-height: 71px;
	border-radius: 50%;
	z-index: 1;
	border: 4px solid #111;
	text-align: center;
	font-size: 24px;
	color: #111;
	margin-top: -40px;
	margin-left: -40px;
	transition: transform .3s ease-out;
	-webkit-backface-visibility: hidden;
}

.device-sm #page-title .play-video i,
.device-xs #page-title .play-video i {
	position: relative;
	top: auto;
	left: auto;
	margin-top: 20px;
	margin-left: 0;
}

.dark .play-video i {
	background-color: rgba(255, 255, 255, .3);
	border: 4px solid #FFF;
	color: #FFF;
}

.text-title-light {
	font-size: 42px;
	color: #EEE;
	letter-spacing: -1px;
	line-height: 1;
}



/* Recipe Single
-----------------------------------------------------------------*/
ul.list-ingredients li {
	font-size: 15px;
	text-transform: capitalize;
}

	ul.list-ingredients li:not(:first-child) {
		padding-top: 12px;
	}

ol.list-preparation {
	font-variant-numeric: tabular-nums;
	-webkit-font-feature-settings: 'tnum' 1;
	font-feature-settings: 'tnum' 1;
	margin-left: 40px;
}

	ol.list-preparation li::before {
		display: inline-block;
		position: absolute;
		content: counter(step-counter) ". ";
		margin-right: 14px;
		color: #267DF4;
		color: var(--themecolor);
		font-weight: 700;
		margin-left: -38px;
		margin-top: 2px;
	}

	ol.list-preparation li {
		counter-increment: step-counter;
		font-size: 16px;
		line-height: 28px;
		font-weight: 400;
	}

		ol.list-preparation li:not(:first-child) {
			padding-top: 18px;
		}

.post-navigation a i {
	position: relative;
	top: 1px;
	margin: 0 3px;
}

/* Contact Page
-----------------------------------------------------------------*/
.form-control-pill {
	border-radius: 23px;
}

.select-wrapper {
	overflow: hidden;
	border: 1px solid #ced4da;
}

.recipe-contactform-processing form {
	opacity: .5;
}

/* === Compact Recipe Categories (Overrides) === */
:root {
	--cat-h-desktop: 280px; /* 400px -> 280px */
	--cat-w-collapsed: 72px; /* 90px -> 72px */
	--cat-w-expanded: 240px; /* 320px -> 240px */
	--cat-radius-collapsed: 34px; /* 50px -> 34px */
	--cat-radius-expanded: 12px;
	--cat-title-fs: 14px; /* 16px -> 14px */
	--cat-title-lh: 1.25;
	--cat-title-pad: 8px 10px;
}





.recipe-categories {
	row-gap: 10px;
}

/* Mobil / Tablet: daha alçak ve okunaklı */
@media (max-width: 991.98px) {
	.recipe-category {
		height: 64px; /* 80px -> 64px */
		border-radius: 18px;
	}

	.recipe-category-info {
		font-size: 14px;
		line-height: 1.25;
		-webkit-line-clamp: 2; /* 3 -> 2 satır */
	}

	.recipe-category-inner {
		padding: 6px 10px;
	}
}

/* Desktop: daha dar kolon, daha küçük hover genişlemesi */
@media (min-width: 992px) {
	.recipe-category {
		flex: 0 0 var(--cat-w-collapsed);
		max-width: var(--cat-w-collapsed);
		height: var(--cat-h-desktop);
		margin: 10px;
		border-radius: var(--cat-radius-collapsed);
		background-size: auto 100%; /* aşırı kırpmayı önle */
		background-position: center;
	}

		.recipe-category:hover {
			flex: 0 0 var(--cat-w-expanded);
			max-width: var(--cat-w-expanded);
			border-radius: var(--cat-radius-expanded);
			background-size: cover; /* genişleyince doldur */
		}

		.recipe-category::after {
			background: linear-gradient(to bottom, rgba(0,0,0,0) 65%, rgba(0,0,0,.55) 100%);
		}

	/* Başlık kapsayıcı: daha rahat okuma ve boşluk */
	.recipe-category-inner {
		position: absolute;
		left: 16px;
		bottom: 10px;
		width: auto;
		height: auto;
		padding: var(--cat-title-pad);
		background: rgba(255,255,255,.58);
		backdrop-filter: blur(2px);
		border-radius: 14px;
		line-height: var(--cat-title-lh);
		z-index: 2;
	}

	.recipe-category-info {
		font-size: var(--cat-title-fs);
		letter-spacing: .2px; /* 0.5px -> 0.2px */
		text-transform: none; /* UPPERCASE kapalı -> daha az sıkışık */
		-webkit-line-clamp: 2; /* 3 -> 2 satır */
		padding: 0;
		margin: 0;
		text-align: center;
	}

	/* Dikey yazı sadece collapse durumunda, hover’da yatay */
	.recipe-category:not(:hover) .recipe-category-inner {
		writing-mode: vertical-rl;
		transform: rotate(180deg);
	}

	.recipe-category:hover .recipe-category-inner {
		writing-mode: horizontal-tb;
		transform: none;
	}

	/* İkon alanı yer kaplamasın */
	.recipe-category-icon {
		display: none;
	}
}





/* ----------------------------------------------------------------
	Canvas: Recipes
-----------------------------------------------------------------*/
 

.recipe-categories {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

.recipe-category {
	position: relative;
	overflow: hidden;
	flex: 0 0 calc(100% - 20px);
	max-width: calc(100% - 20px);
	margin: 10px;
	height: 80px;
	background-size: cover;
	background-position: center center;
	border-radius: 250px;
	transition: all 0.5s cubic-bezier(.02, .01, .5, 1);
}

	.recipe-category::after {
		position: absolute;
		content: '';
		left: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		z-index: 1;
		background-color: rgba(0,0,0,0.2);
	}

.recipe-category-inner {
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 10px;
	z-index: 2;
	text-transform: uppercase;
	font-weight: 600;
	letter-spacing: 1px;
}


.recipe-category-icon {
	width: 40px;
	height: 40px;
	margin: 0;
	display: flex;
	justify-content: center;
	text-align: center;
	border-radius: 100%;
	background-color: #FFF;
	padding: 8px;
	margin-right: 10px;
	color: #000;
	transition: transform .5s ease-out;
}

.recipe-category:hover .recipe-category-icon {
	transform: rotate(360deg);
}

.recipe-category-info {
	color: #FFF;
	font-size: 18px;
	text-align: center;
}

@media (min-width: 768px) {

	.recipe-category {
		flex: 0 0 calc(50% - 20px);
		max-width: calc(50% - 20px);
	}
}


@media (min-width: 992px) {

	.recipe-category {
		flex: 0 0 60px;
		max-width: 60px;
		height: 300px;
		margin: 15px;
		background-size: auto 105%;
		background-position: center;
		border-radius: 30px;
	}

		.recipe-category:hover {
			flex: 0 0 250px;
			max-width: 250px;
			background-size: auto 100%;
			border-radius: 10px;
		}

	.recipe-category-inner {
		width: auto;
		height: auto;
		left: 0;
		top: auto;
		bottom: 0;
		writing-mode: vertical-rl;
		text-orientation: mixed;
		transform: rotate(180deg);
	}

	.recipe-category:hover .recipe-category-inner {
		writing-mode: horizontal-tb;
		transform: rotate(0);
	}

	.recipe-category:not(:hover) .recipe-category-icon {
		width: 40px;
		height: 40px;
		margin-right: 0;
		margin-bottom: 10px;
		transform: rotate(180deg);
	}

	.recipe-category::after {
		background: -webkit-linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8)) 100%;
		background: -o-linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8)) 100%;
		background: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,0.8)) 100%;
	}
}



.recipe-items .card img,
.rotating {
	transform: rotate(0deg);
	transition: transform 1.5s linear;
}

	.recipe-items .card:hover img,
	.rotating:hover {
		transform: rotate(360deg);
		transition: transform 20s linear;
	}

.recipe-items .row {
	border-top: 1px solid #EEE;
	margin-top: -1px;
	margin-bottom: -1px;
}

	.recipe-items .row [class^=col-] {
		border-right: 1px solid #EEE;
		border-bottom: 1px solid #EEE;
	}

.recipe-items .card {
	border: 0;
	background: transparent;
	border-radius: 0;
	padding: 20px 10px;
}

.recipe-items .card-author {
	font-size: 12px;
	font-weight: 400;
	color: #AAA;
	margin-bottom: 0;
}

.recipe-items .card-title {
	font-size: 18px;
	line-height: 1.3;
}

.recipe-items .card-author a {
	color: #999;
	text-transform: uppercase;
	margin-left: 2px;
	font-weight: 600;
}

.recipe-items .card-title a {
	color: #222;
}

.recipe-items .card-date {
	margin-top: 15px;
	color: #555;
	margin-bottom: 0;
	font-weight: 400;
}

	.recipe-items .card-date i {
		margin-right: 6px;
	}







/*
///*/
/* === Son revizyon: kısa boy + geniş hover ================== */
@media (min-width: 992px) {
	.recipe-category

{
	flex: 0 0 80px; /* dar modda genişlik */
	max-width: 80px;
	height: 280px; /* boy kısaldı */
	margin: 12px;
	border-radius: 50px;
	background-size: auto 100%;
	background-position: center;
}

.recipe-category:hover {
	flex: 0 0 300px; /* yana genişleme */
	max-width: 300px;
	height: 260px; /* boy sabit kalsın */
	border-radius: 50px;
	background-size: cover;
}

/* Başlık kutusu */
	.recipe-category-inner {
		position: absolute;
		left: 11px;
		border-radius: 50px;
		width: auto;
		height: auto;
		padding: 9px 9px;
		background: rgb(255 255 255 / 22%);
		border-radius: 40px;
		z-index: 2;
	}

.recipe-category:not(:hover) .recipe-category-inner {
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.recipe-category:hover .recipe-category-inner {
	writing-mode: horizontal-tb;
	transform: none;
}

	.recipe-category-info {
		text-transform: uppercase;
		font-size: 14px;
		line-height: 1.25;
		-webkit-line-clamp: 2;
		overflow: hidden;
		text-overflow: ellipsis;
	}
 
}
