/* KitchenPal — Free Tools & Calculators */
.tool-hero {
	background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
	color: #fff;
	padding: 90px 20px 60px;
	text-align: center;
}
.tool-hero h1 {
	font-size: 42px;
	font-weight: 700;
	margin-bottom: 16px;
	line-height: 1.2;
}
.tool-hero p {
	font-size: 18px;
	max-width: 720px;
	margin: 0 auto;
	opacity: 0.95;
}
.tool-hero .tldr {
	background: rgba(255,255,255,0.15);
	border-radius: 10px;
	padding: 16px 20px;
	max-width: 720px;
	margin: 24px auto 0;
	font-size: 16px;
	text-align: left;
}
.tool-hero .last-updated {
	color: #fff;
	opacity: 0.9;
	margin-top: 16px;
	margin-bottom: 0;
}
.tool-content {
	max-width: 900px;
	margin: 40px auto 60px;
	padding: 0 20px;
}
.tool-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	padding: 32px;
	margin-bottom: 32px;
}
.tool-card h2 {
	font-size: 24px;
	color: #2c3e50;
	margin-bottom: 20px;
	font-weight: 700;
}
.tool-form .form-group {
	margin-bottom: 18px;
}
.tool-form label {
	display: block;
	font-weight: 600;
	color: #2c3e50;
	margin-bottom: 6px;
}
.tool-form input,
.tool-form select {
	width: 100%;
	max-width: 100%;
	padding: 10px 14px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
}
.tool-promo-cta {
		background: linear-gradient(135deg, #fff5ee 0%, #ffe8d6 100%);
		border: 2px solid #FF6B35;
		border-radius: 12px;
		padding: 24px 28px;
		margin-bottom: 28px;
		text-align: center;
	}
	.tool-promo-cta h2 {
		font-size: 22px;
		color: #2c3e50;
		margin-bottom: 10px;
	}
	.tool-promo-cta p {
		color: #555;
		margin-bottom: 16px;
		font-size: 16px;
		line-height: 1.6;
	}
	.tool-promo-cta .highlight-stat {
		font-size: 28px;
		font-weight: 700;
		color: #FF6B35;
		display: block;
		margin: 8px 0 12px;
	}
	.tool-promo-cta a {
		display: inline-block;
		background: #FF6B35;
		color: #fff;
		padding: 12px 28px;
		border-radius: 8px;
		text-decoration: none;
		font-weight: 700;
	}
	.tool-promo-cta a:hover {
		background: #e55a28;
		color: #fff;
	}
	.tool-result .result-cta {
		margin-top: 16px;
		padding-top: 16px;
		border-top: 1px dashed #27AE60;
		font-size: 15px;
	}
	.tool-form optgroup {
		font-weight: 700;
		color: #2c3e50;
	}
.tool-form button,
.tool-btn {
	background: #FF6B35;
	color: #fff;
	border: none;
	padding: 12px 28px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
}
.tool-form button:hover,
.tool-btn:hover {
	background: #e55a28;
}
.tool-result {
	background: #f0faf4;
	border-left: 4px solid #27AE60;
	padding: 20px 24px;
	border-radius: 8px;
	margin-top: 20px;
	display: none;
}
.tool-result.visible {
	display: block;
}
.tool-result h3 {
	color: #27AE60;
	font-size: 20px;
	margin-bottom: 10px;
}
.tool-result .big-number {
	font-size: 36px;
	font-weight: 700;
	color: #2c3e50;
}
.methodology {
	font-size: 16px;
	line-height: 1.7;
	color: #555;
}
.methodology h2 {
	font-size: 28px;
	color: #2c3e50;
	margin: 40px 0 16px;
}
.methodology a {
	color: #FF6B35;
}
.tool-faq {
	margin-top: 40px;
}
.tool-faq h2 {
	font-size: 28px;
	color: #2c3e50;
	margin-bottom: 20px;
}
.faq-item-tool {
	background: #f8f9fa;
	border-left: 4px solid #FF6B35;
	padding: 20px;
	margin-bottom: 16px;
	border-radius: 8px;
}
.faq-item-tool h3 {
	font-size: 18px;
	color: #2c3e50;
	margin-bottom: 8px;
}
.faq-item-tool p {
	margin: 0;
	color: #555;
	line-height: 1.6;
}
.tool-cta {
	background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
	color: #fff;
	padding: 32px;
	border-radius: 12px;
	text-align: center;
	margin: 40px 0;
}
.tool-cta h2 {
	color: #fff;
	font-size: 24px;
	margin-bottom: 12px;
}
.guide-content .tool-cta h2 {
	color: #fff !important;
	margin-top: 0;
}
.guide-content .tool-cta p {
	color: #fff;
}
.tool-cta p {
	opacity: 0.9;
	margin-bottom: 20px;
}
.tool-cta a {
	display: inline-block;
	background: #27AE60;
	color: #fff;
	padding: 14px 32px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	margin: 4px;
}
.tool-cta a.secondary {
	background: transparent;
	border: 2px solid #fff;
}
.tool-cta a:hover {
	opacity: 0.9;
	text-decoration: none;
	color: #fff;
}
.related-tools {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin-top: 20px;
}
.related-tools a {
	display: block;
	padding: 16px;
	background: #f8f9fa;
	border-radius: 8px;
	text-decoration: none;
	color: #2c3e50;
	font-weight: 600;
	border: 1px solid #eee;
}
.related-tools a:hover {
	border-color: #FF6B35;
	color: #FF6B35;
}
.tools-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	margin: 40px auto;
	max-width: 1200px;
	padding: 0 20px;
}
.tool-tile {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	padding: 28px;
	text-decoration: none;
	color: inherit;
	display: block;
	border-top: 4px solid #FF6B35;
	transition: transform 0.2s;
}
.tool-tile:hover {
	transform: translateY(-4px);
	text-decoration: none;
	color: inherit;
}
.tool-tile h3 {
	font-size: 20px;
	color: #2c3e50;
	margin-bottom: 10px;
}
.tool-tile p {
	color: #666;
	font-size: 15px;
	margin: 0;
}
.tool-tile .badge {
	display: inline-block;
	background: #e8f8f5;
	color: #27AE60;
	font-size: 12px;
	padding: 4px 10px;
	border-radius: 20px;
	margin-bottom: 10px;
	font-weight: 600;
}
.tool-section-title {
	text-align: center;
	font-size: 28px;
	color: #2c3e50;
	margin: 48px 0 8px;
	font-weight: 700;
}
.tool-section-sub {
	text-align: center;
	color: #666;
	margin-bottom: 8px;
}
.identity-banner {
	background: #e8f4fd;
	border: 1px solid #3498DB;
	padding: 14px 20px;
	border-radius: 8px;
	margin: 0 auto 24px;
	max-width: 1200px;
	font-size: 15px;
	color: #2c3e50;
}
.identity-banner a {
	color: #2980B9;
	font-weight: 600;
}

/* Fixed site alert + always-visible nav (homepage) */
:root {
	--site-alert-height: 44px;
	--site-nav-height: 64px;
}
.site-alert-bar {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10001;
	background: #C0392B;
	color: #fff;
	padding: 10px 16px;
	text-align: center;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.site-alert-bar a {
	color: #fff;
	text-decoration: underline;
	font-weight: 700;
	margin-left: 6px;
}
.site-alert-bar a:hover {
	color: #fff;
	opacity: 0.9;
}
body.has-site-alert .navigation.fixed-top,
body.has-site-alert .navigation.nav-fixed {
	top: var(--site-alert-height);
}
body.has-site-alert .navigation:not(.nav-fixed) {
	background: transparent;
	box-shadow: none;
}
body.has-site-alert .navigation:not(.nav-fixed) .brand-logo p,
body.has-site-alert .navigation:not(.nav-fixed) .top-nav ul li a {
	color: #fff;
}
body.has-site-alert .navigation:not(.nav-fixed) .top-nav ul li a:hover,
body.has-site-alert .navigation:not(.nav-fixed) .top-nav ul li a.active {
	color: #fff;
	opacity: 0.85;
}
body.has-site-alert #hero-img {
	min-height: calc(100vh + var(--site-alert-height));
}
body.has-site-alert #hero-img > .container-auto {
	position: relative;
	min-height: calc(100vh - var(--site-alert-height));
}
@media (min-width: 991px) {
	body.has-site-alert .hero-inner {
		top: calc(50% + (var(--site-alert-height) + var(--site-nav-height)) / 2);
	}
	body.has-site-alert .hero-image {
		top: calc(-180px + var(--site-alert-height) + var(--site-nav-height) / 2);
	}
}
@media (max-width: 990px) {
	body.has-site-alert .hero-inner {
		top: 0 !important;
		padding-top: calc(80px + var(--site-alert-height) + var(--site-nav-height)) !important;
	}
	body.has-site-alert .hero-image {
		top: 0 !important;
	}
}
@media (max-width: 767px) {
	:root {
		--site-alert-height: 56px;
		--site-nav-height: 58px;
	}
	.site-alert-bar {
		font-size: 12px;
	}
}
.guide-content {
	max-width: 900px;
	margin: 40px auto 60px;
	padding: 0 20px;
	line-height: 1.8;
	color: #444;
}
.guide-content h2 {
	font-size: 28px;
	color: #2c3e50;
	margin: 40px 0 16px;
}
.guide-content h3 {
	font-size: 22px;
	color: #FF6B35;
	margin: 28px 0 12px;
}
.guide-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 15px;
}
.guide-content th,
.guide-content td {
	border: 1px solid #ddd;
	padding: 12px;
	text-align: left;
}
.guide-content th {
	background: #f8f9fa;
	font-weight: 600;
}
.guide-content .warning-box {
	background: #FADBD8;
	border: 2px solid #E74C3C;
	padding: 20px;
	border-radius: 10px;
	margin: 24px 0;
}
.guide-content .info-box {
	background: #E8F8F5;
	border: 2px solid #27AE60;
	padding: 20px;
	border-radius: 10px;
	margin: 24px 0;
}
.guide-content .winner-box {
		background: linear-gradient(135deg, #fff8f0 0%, #ffe8d6 100%);
		border: 2px solid #FF6B35;
		border-radius: 12px;
		padding: 28px 32px;
		margin: 28px 0 36px;
	}
.guide-content .winner-box .badge-editor {
	display: inline-block;
	background: #FF6B35;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 6px 14px;
	border-radius: 20px;
	margin-bottom: 12px;
}
.guide-content .winner-box h2 {
	margin-top: 0;
	color: #FF6B35;
	font-size: 26px;
}
.guide-content table tr.winner-row {
	background: #fff5ee;
	font-weight: 600;
}
.guide-content table tr.winner-row td:first-child {
	color: #FF6B35;
}
.guide-content .verdict-table td:nth-child(2) {
	font-weight: 700;
	color: #27AE60;
}
.guide-content .gap-list li {
	margin-bottom: 8px;
}
.guide-content .vs-competitor {
	background: #f8f9fa;
	border-left: 4px solid #ddd;
	padding: 16px 20px;
	margin: 16px 0 24px;
	font-size: 16px;
}
.guide-content .vs-competitor strong {
	color: #FF6B35;
}
.last-updated {
	font-size: 14px;
	color: #888;
	margin-bottom: 24px;
}
.ingredient-row {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}
.ingredient-row input {
	flex: 1;
	min-width: 120px;
}
.checklist-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 8px;
}
.checklist-grid label {
	font-weight: normal;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px;
	background: #f8f9fa;
	border-radius: 6px;
	cursor: pointer;
}
.footer-links {
	text-align: center;
	padding: 12px 0;
	font-size: 14px;
}
.footer-links a {
	color: #FF6B35;
	margin: 0 10px;
}
