/* ==========================================================================
   RECIPETIN EATS WPRM v3 (OCT 2024) GERMAN RECIPE CARD CSS (#rezeptkarte)
   Exact Colors: #183354 (Navy), #0E1F31 (Dark Navy), #F4796C (Coral),
                 #EA685E (Coral Hover), #DCE8E8 (Ice Blue), #F6F5F3 (Warm Cream)
   ========================================================================== */

.tasty-recipes-print-above-card,
a.tasty-recipes-print-above-card {
	display: none !important;
}

.tasty-recipes,
.tasty-recipes-display,
.tasty-recipes-wrapper {
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.tg-wprm-card {
	margin: 36px 0 42px;
	font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	color: #3D3D3D;
}

.tg-wprm-card .wprm-recipe-cta {
	background-color: #DCE8E8;
	color: #183354;
	padding: 16px 22px;
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.55;
	border-left: 5px solid #F4796C;
}

.tg-wprm-card .wprm-recipe-cta-header {
	font-family: 'Lora', Georgia, serif;
	font-weight: 700;
	font-size: 17px;
	color: #183354;
	margin-right: 6px;
}

.tg-wprm-card .wprm-cta-link {
	color: #F4796C !important;
	font-weight: 700;
	text-decoration: underline;
}

.tg-wprm-card .wprm-cta-link:hover {
	color: #EA685E !important;
}

.tg-wprm-card .wprm-recipe-recipe-tin-eats {
	background-color: #F6F5F3;
	border: 1px solid #DEE0DF;
	position: relative;
	margin-top: 64px;
}

/* Dark Navy Top Header (#183354) */
.tg-wprm-card .wprm-entry-header {
	background-color: #183354;
	color: #FFFFFF;
	padding: 118px 28px 26px;
	text-align: center;
	position: relative;
}

.tg-wprm-card .wprm-recipe-image {
	width: 176px;
	height: 176px;
	margin: 0 auto;
	position: absolute;
	top: -78px;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 50%;
	overflow: hidden;
	border: 5px solid #FFFFFF;
	box-shadow: 0 6px 20px rgba(14, 31, 49, 0.25);
	background: #FFFFFF;
}

.tg-wprm-card .wprm-recipe-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tg-wprm-card .wprm-recipe-name {
	font-family: 'Lora', Georgia, serif;
	font-size: 28px;
	line-height: 1.28;
	font-weight: 700;
	color: #FFFFFF !important;
	margin: 0 0 16px;
}

.tg-wprm-card .wprm-entry-info {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	font-family: 'Raleway', sans-serif;
	font-size: 13.5px;
	color: #DCE8E8;
	margin-bottom: 14px;
}

.tg-wprm-card .wprm-recipe-details-label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: #F4796C;
}

.tg-wprm-card .wprm-recipe-details {
	font-weight: 600;
	color: #FFFFFF;
}

.tg-wprm-card .wprm-recipe-rating {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: rgba(255, 255, 255, 0.1);
	padding: 6px 16px;
	border-radius: 999px;
}

.tg-wprm-card .wprm-rating-stars-row {
	display: inline-flex;
	gap: 2px;
}

.tg-wprm-card .tg-star-rate-btn {
	background: none !important;
	border: none !important;
	padding: 0 2px !important;
	color: #F4796C !important;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: transform 0.15s ease;
}

.tg-wprm-card .tg-star-rate-btn:hover {
	transform: scale(1.2);
}

.tg-wprm-card .wprm-recipe-rating-details {
	font-size: 13px;
	color: #FFFFFF;
}

/* Pale Ice-Blue Toolbar (#DCE8E8) */
.tg-wprm-card .wprm-entry-toolbar {
	background-color: #DCE8E8;
	padding: 14px 24px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	border-bottom: 1px solid #C6D8D8;
}

.tg-wprm-card .wprm-entry-servings {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	font-family: 'Raleway', sans-serif;
	font-size: 14px;
	color: #183354;
	font-weight: 700;
}

.tg-wprm-card .wprm-servings-stepper {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #FFFFFF;
	border: 1px solid #183354;
	border-radius: 999px;
	padding: 3px 10px;
}

.tg-wprm-card .wprm-step-btn {
	background: #F4796C !important;
	color: #FFFFFF !important;
	border: none !important;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	font-weight: 800;
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 !important;
}

.tg-wprm-card .wprm-step-btn:hover {
	background: #EA685E !important;
}

.tg-wprm-card .wprm-servings-num {
	font-weight: 800;
	font-size: 15px;
	color: #183354;
	min-width: 20px;
	text-align: center;
}

.tg-wprm-card .serving-tooltip {
	font-size: 11.5px;
	font-weight: 600;
	color: #526A7E;
}

.tg-wprm-card .wprm-entry-buttons {
	display: flex;
	align-items: center;
	gap: 8px;
}

.tg-wprm-card .wprm-recipe-print,
.tg-wprm-card .wprm-recipe-save-btn,
.tg-wprm-card .wprm-recipe-pin-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #F4796C !important;
	color: #FFFFFF !important;
	border: none !important;
	border-radius: 999px;
	padding: 8px 16px !important;
	font-family: 'Raleway', sans-serif;
	font-size: 12.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.7px;
	text-decoration: none !important;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.tg-wprm-card .wprm-recipe-print:hover,
.tg-wprm-card .wprm-recipe-save-btn:hover,
.tg-wprm-card .wprm-recipe-pin-btn:hover {
	background-color: #EA685E !important;
	color: #FFFFFF !important;
}

/* Recipe Content Area */
.tg-wprm-card .wprm-entry-content {
	padding: 26px 28px;
}

.tg-wprm-card .wprm-recipe-summary {
	font-size: 15.5px;
	line-height: 1.65;
	color: #3D3D3D;
	padding-bottom: 20px;
	margin-bottom: 22px;
	border-bottom: 1px solid #DEE0DF;
}

.tg-wprm-card .wprm-sec-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid #183354;
}

.tg-wprm-card .wprm-recipe-header {
	font-family: 'Lora', Georgia, serif;
	font-size: 22px;
	font-weight: 700;
	color: #183354 !important;
	margin: 0 !important;
}

/* Coral Unit / Scale Buttons (#F4796C) */
.tg-wprm-card .wprm-unit-conversion-container {
	display: inline-flex;
	border: 1px solid #F4796C;
	border-radius: 4px;
	overflow: hidden;
	background: #FFFFFF;
}

.tg-wprm-card .wprm-unit-conversion {
	background: #FFFFFF !important;
	color: #F4796C !important;
	border: none !important;
	border-right: 1px solid #F4796C !important;
	padding: 5px 12px !important;
	font-family: 'Raleway', sans-serif;
	font-size: 12.5px;
	font-weight: 800;
	cursor: pointer;
}

.tg-wprm-card .wprm-unit-conversion:last-child {
	border-right: none !important;
}

.tg-wprm-card .wprm-unit-conversion.active,
.tg-wprm-card .wprm-unit-conversion:hover {
	background: #F4796C !important;
	color: #FFFFFF !important;
}

/* Ingredients List with Checkboxes */
.tg-wprm-card .wprm-recipe-ingredients {
	list-style: none !important;
	margin: 0 0 28px !important;
	padding: 0 !important;
}

.tg-wprm-card .wprm-recipe-ingredient {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	border-bottom: 1px dashed #E4E2DF;
	font-size: 15.5px;
	line-height: 1.5;
}

.tg-wprm-card .wprm-checkbox {
	width: 18px;
	height: 18px;
	accent-color: #F4796C;
	margin-top: 3px;
	cursor: pointer;
}

.tg-wprm-card .wprm-recipe-ingredient.is-checked .wprm-recipe-ingredient-text {
	text-decoration: line-through;
	color: #827D78;
}

/* Instructions Numbered Steps */
.tg-wprm-card .wprm-cookmode-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Raleway', sans-serif;
	font-size: 12.5px;
	font-weight: 700;
	color: #183354;
	cursor: pointer;
}

.tg-wprm-card .wprm-cookmode-toggle input {
	accent-color: #F4796C;
	width: 16px;
	height: 16px;
}

.tg-wprm-card .wprm-recipe-instructions {
	list-style: decimal !important;
	margin: 0 0 28px 20px !important;
	padding: 0 !important;
}

.tg-wprm-card .wprm-recipe-instruction {
	margin-bottom: 14px;
	padding-left: 6px;
	font-size: 15.5px;
	line-height: 1.65;
	color: #3D3D3D;
}

.tg-wprm-card .wprm-recipe-instruction::marker {
	font-family: 'Raleway', sans-serif;
	font-weight: 800;
	color: #183354;
}

/* Recipe Notes */
.tg-wprm-card .wprm-recipe-notes-container {
	background: #FFFFFF;
	border: 1px solid #DEE0DF;
	padding: 20px 24px;
	margin-bottom: 24px;
}

.tg-wprm-card .wprm-recipe-notes-container .wprm-recipe-header {
	margin-bottom: 12px !important;
	font-size: 20px;
}

/* Nutrition Box */
.tg-wprm-card .wprm-entry-nutrition {
	background: #FFFFFF;
	border: 1px solid #DEE0DF;
	padding: 18px 22px;
}

.tg-wprm-card .wprm-entry-nutrition .wprm-recipe-header {
	font-size: 19px;
	margin-bottom: 10px !important;
}

.tg-wprm-card .wprm-nutrition-label-container {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	font-size: 14px;
}

.tg-wprm-card .wprm-nut-label {
	color: #777777;
}

/* Dark Navy Footer Banner (#183354) */
.tg-wprm-card .wprm-entry-footer {
	background-color: #183354;
	color: #FFFFFF;
	padding: 22px 26px;
	display: flex;
	align-items: center;
	gap: 18px;
}

.tg-wprm-card .wprm-footer-badge {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: #F4796C;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.tg-wprm-card .wprm-footer-cta-text h4 {
	font-family: 'Lora', Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	color: #FFFFFF !important;
	margin: 0 0 4px;
}

.tg-wprm-card .wprm-footer-cta-text p {
	margin: 0;
	font-size: 14.5px;
	color: #DCE8E8;
}

.tg-wprm-card .wprm-footer-cta-text a {
	color: #F4796C !important;
	font-weight: 700;
	text-decoration: underline;
}

/* Mobile Responsive Adjustments for Recipe Card */
@media (max-width: 640px) {
	.tg-wprm-card .wprm-entry-header {
		padding: 96px 18px 22px;
	}
	.tg-wprm-card .wprm-recipe-image {
		width: 140px;
		height: 140px;
		top: -64px;
	}
	.tg-wprm-card .wprm-recipe-name {
		font-size: 22px;
	}
	.tg-wprm-card .wprm-entry-toolbar {
		flex-direction: column;
		align-items: stretch;
		padding: 14px 16px;
	}
	.tg-wprm-card .wprm-entry-buttons {
		flex-wrap: wrap;
		justify-content: center;
	}
	.tg-wprm-card .wprm-recipe-print,
	.tg-wprm-card .wprm-recipe-save-btn,
	.tg-wprm-card .wprm-recipe-pin-btn {
		flex: 1 1 auto;
		justify-content: center;
	}
	.tg-wprm-card .wprm-entry-content {
		padding: 20px 16px;
	}
	.tg-wprm-card .wprm-entry-footer {
		flex-direction: column;
		text-align: center;
		padding: 20px 18px;
	}
}

