/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

.cat-box a {
	text-decoration: none;
}

.cat-link a {
	text-decoration: none;
	color: white;
}

.inside-right-sidebar a {
	text-decoration: none;
}

.meta_calories:after {
	content: " kcal";
}

.meta_carbs:after {
	content: " g";
}

.meta_protein:after {
	content: " g";
}

.meta_fats:after {
	content: " g";
}

ul {
	list-style: none;
	padding: 0;
	margin-left: 0px;
	margin-bottom: 10px;
}

ol {
	padding: 0;
	margin-left: 20px;
}

#ingredient-list>li {
	display: flex;
	color: #736673;
	align-items: center;
	gap: 20px;
	margin-bottom: 6px;
	font-size: 16px;
	cursor: pointer;
	align-items: flex-start;
	/* Align items at the top for multi-line text */
	border-bottom: 1px solid #e9e5c9;
	padding-bottom: 13px;
	padding-top: 10px;
}

#ingredient-list>li:last-child {
	border-bottom: none;
}

#instructions>li {
	color: #736673;
	align-items: center;
	font-size: 16px;
	padding-bottom: 13px;
	padding-top: 10px;
	padding-left: 10px;
	margin-left: 16px;
}

#instructions>li::marker {
	font-size: 20px;
	font-weight: bold;
}

.checked {
	text-decoration: line-through;
	color: gray;
}

/* Custom circular checkboxes */
input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 2px solid gray;
	border-radius: 50%;
	display: inline-block;
	position: relative;
	cursor: pointer;
	flex-shrink: 0;
	/* Prevent checkbox from resizing */
}

/* Checked state - fill the circle */
input[type="checkbox"]:checked {
	background-color: green;
	border-color: green;
}

/* Inner dot when checked */
input[type="checkbox"]:checked::before {
	content: "";
	width: 10px;
	height: 10px;
	background: white;
	border-radius: 50%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/* Make sure long text wraps correctly */
.ingredient-text {
	flex: 1;
	/* Allow text to take remaining space */
	line-height: 1.4;
	/* Adjust line spacing for readability */
}

.image-wrapper {
	position: relative;
	display: inline-block;
}

.image-wrapper .floating-links-container {
	position: absolute;
	bottom: 20px;
	right: 20px;
	display: flex;
	gap: 8px;
	/* Space between buttons */
	z-index: 10;
}

.image-wrapper .floating-link {
	text-decoration: none;
}

.image-wrapper .pinterest-box {
	background-color: #cd272f;
	color: #fff;
	padding: 8px 26px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

.image-wrapper .recipe-box {
	background-color: black;
	color: #fff;
	padding: 8px 26px;
	border-radius: 5px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
}

input[type="search"],
input[type="search"]:focus {
	border: solid 2px #cf321f;
	border-radius: 8px;
	color: #cf321f;
}

input[type="search"]::placeholder {
	color: #cf321f;
}

button.wp-block-search__button.has-icon, .wp-block-search__button, .search-submit {
	border-radius: 8px;
	background-color: #cf321f;
}

.footer_links a {
	text-decoration: none;
}

.wpconsent-powered-by {
	display: none !important;	
}
