/* Soil & Seedling Suite - GeneratePress Free Companion Styles */

.main-title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.main-title a::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: #1b4332 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath fill='%23d4a373' d='M10 48c6-7 38-7 44 0z'/%3E%3Cpath stroke='%23ffffff' stroke-width='4' stroke-linecap='round' d='M32 46V22'/%3E%3Cpath fill='%2395d5b2' d='M31 35c-11 0-17-9-15-19 10 0 16 9 15 19z'/%3E%3Cpath fill='%23e8f8ee' d='M33 30c11 0 17-9 15-19-10 0-16 9-15 19z'/%3E%3C/svg%3E") center/cover no-repeat;
	flex-shrink: 0;
}

@media (min-width: 769px) {
	.main-navigation .main-nav > ul > li > a {
		white-space: nowrap;
	}
}

.inside-article .post-image img {
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(27, 67, 50, 0.08);
}

.xyz-home-hero {
	background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
	color: #ffffff;
	padding: 32px 28px;
	border-radius: 10px;
	margin-bottom: 24px;
	box-shadow: 0 6px 20px rgba(27, 67, 50, 0.14);
}

.xyz-hero-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.16);
	color: #d8f3dc;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 10px;
}

.xyz-hero-title {
	color: #ffffff;
	margin: 0 0 8px;
	font-size: 2rem;
	line-height: 1.2;
}

.xyz-hero-subtitle {
	color: #e9f5ee;
	margin: 0 0 18px;
	font-size: 1.05rem;
	max-width: 720px;
}

.xyz-cat-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.xyz-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff !important;
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	transition: background 0.18s ease;
}

.xyz-cat-pill:hover {
	background: rgba(255, 255, 255, 0.26);
}

.xyz-pill-count {
	background: rgba(0, 0, 0, 0.2);
	padding: 1px 7px;
	border-radius: 999px;
	font-size: 0.78rem;
}

/* Single Article Meta Bar & TOC */
.xyz-article-meta-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	background: #f0f7f3;
	border-left: 4px solid #2d6a4f;
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 0.9rem;
	color: #1f2933;
	margin-bottom: 20px;
}

.xyz-toc-box {
	background: #f8fbf9;
	border: 1px solid #d5e5dc;
	border-radius: 8px;
	padding: 16px 20px;
	margin-bottom: 24px;
}

.xyz-toc-title {
	font-weight: 700;
	color: #1b4332;
	margin-bottom: 8px;
	font-size: 1rem;
}

.xyz-toc-list {
	margin: 0;
	padding-left: 20px;
	columns: 2;
	column-gap: 24px;
}

.xyz-toc-list li {
	margin-bottom: 5px;
	font-size: 0.93rem;
}

/* Responsive Article Tables */
.xyz-table-scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 20px 0;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
}

.xyz-table-scroll table {
	width: 100%;
	min-width: 520px;
	border-collapse: collapse;
	margin: 0;
	font-size: 0.94rem;
}

.entry-content table th,
.entry-content table td {
	border: 1px solid #d9e2ec;
	padding: 10px 12px;
	text-align: left;
}

.xyz-table-scroll table th:first-child,
.xyz-table-scroll table td:first-child {
	border-left: 0;
}

.xyz-table-scroll table th:last-child,
.xyz-table-scroll table td:last-child {
	border-right: 0;
}

.xyz-table-scroll table tr:last-child td {
	border-bottom: 0;
}

.entry-content table th {
	background: #1b4332;
	color: #ffffff;
	font-weight: 600;
}

.entry-content table tr:nth-child(even) td {
	background: #f8faf9;
}

/* Author Box */
.xyz-author-box {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #f4f9f6;
	border: 1px solid #d2e4d9;
	border-radius: 10px;
	padding: 20px;
	margin-top: 28px;
}

.xyz-author-avatar {
	flex: 0 0 54px;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: #1b4332;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 1.1rem;
}

.xyz-author-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #2d6a4f;
	font-weight: 600;
}

.xyz-author-name {
	margin: 2px 0 6px;
	font-size: 1.1rem;
}

.xyz-author-bio {
	margin: 0 0 8px;
	font-size: 0.94rem;
}

.xyz-author-links {
	font-size: 0.88rem;
	display: flex;
	gap: 8px;
}

/* Related Posts */
.xyz-related-posts {
	margin-top: 30px;
	padding-top: 22px;
	border-top: 1px solid #e2e8f0;
}

.xyz-related-heading {
	margin-bottom: 14px;
	font-size: 1.25rem;
}

.xyz-related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.xyz-related-card {
	background: #ffffff;
	border: 1px solid #e5ece8;
	border-radius: 8px;
	overflow: hidden;
}

.xyz-related-thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.xyz-related-title {
	margin: 0;
	padding: 10px 12px;
	font-size: 0.95rem;
	line-height: 1.35;
}

/* Contact Page & Form */
.xyz-contact-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin: 18px 0 24px;
}

.xyz-info-card {
	background: #f4f9f6;
	border: 1px solid #d5e5dc;
	border-radius: 8px;
	padding: 16px 18px;
}

.xyz-contact-form {
	background: #ffffff;
	border: 1px solid #dce6e0;
	border-radius: 10px;
	padding: 22px;
	margin-bottom: 24px;
}

.xyz-hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.xyz-form-row {
	margin-bottom: 14px;
}

.xyz-form-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
}

.xyz-form-row input,
.xyz-form-row textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 1rem;
}

.xyz-submit-btn {
	background: #1b4332;
	color: #ffffff;
	border: 0;
	padding: 11px 22px;
	border-radius: 6px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
}

.xyz-submit-btn:hover {
	background: #2d6a4f;
}

.xyz-form-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-weight: 500;
}

.xyz-notice-success {
	background: #e6f4ea;
	border: 1px solid #a7d7b8;
	color: #134e2a;
}

.xyz-notice-error {
	background: #fdecec;
	border: 1px solid #f5b5b5;
	color: #8b1e1e;
}

/* Sitemap */
.xyz-sitemap-list {
	columns: 2;
	column-gap: 28px;
	margin-bottom: 20px;
}

/* GeneratePress Footer Legal Links */
.xyz-footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 16px;
	margin-bottom: 8px;
}

.xyz-footer-legal a {
	text-decoration: none;
}

.xyz-footer-legal a:hover {
	text-decoration: underline;
}

/* Cookie Banner */
.xyz-cookie-banner {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 9999;
	background: #182921;
	color: #f0f7f3;
	border-radius: 10px;
	padding: 14px 18px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.xyz-cookie-inner {
	max-width: 1160px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.xyz-cookie-inner p {
	margin: 0;
	font-size: 0.9rem;
}

.xyz-cookie-inner a {
	color: #95d5b2;
	text-decoration: underline;
}

.xyz-cookie-btn {
	flex: 0 0 auto;
	background: #40916c;
	color: #ffffff;
	border: 0;
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}

@media (max-width: 768px) {
	.xyz-toc-list,
	.xyz-sitemap-list {
		columns: 1;
	}
	.xyz-related-grid,
	.xyz-contact-cards,
	.xyz-tool-grid,
	.xyz-tool-results {
		grid-template-columns: 1fr;
	}
	.xyz-cookie-banner {
		left: 10px;
		right: 10px;
		bottom: 10px;
		padding: 10px 14px;
	}
	.xyz-cookie-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
	.xyz-cookie-inner p {
		font-size: 0.82rem;
	}
	.xyz-tool-callout {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Hero Tools Strip */
.xyz-hero-tools {
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.18);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	font-size: 0.9rem;
}

.xyz-hero-tools-label {
	color: #d8f3dc;
	font-weight: 600;
}

.xyz-hero-tools a {
	color: #ffffff !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Breadcrumbs */
.xyz-breadcrumbs {
	font-size: 0.86rem;
	color: #52606d;
	margin-bottom: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.xyz-breadcrumbs a {
	text-decoration: none;
}

.xyz-breadcrumbs a:hover {
	text-decoration: underline;
}

/* In-Article Tool Callout */
.xyz-tool-callout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: #f0f7f3;
	border: 1px solid #b7e4c7;
	border-left: 5px solid #1b4332;
	border-radius: 8px;
	padding: 16px 18px;
	margin: 24px 0;
}

.xyz-tool-callout p {
	margin: 4px 0 0;
	font-size: 0.92rem;
	color: #334e68;
}

.xyz-tool-callout-btn {
	flex: 0 0 auto;
	background: #1b4332;
	color: #ffffff !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 10px 16px;
	border-radius: 6px;
}

.xyz-tool-callout-btn:hover {
	background: #2d6a4f;
}

/* Share & Pin Bar */
.xyz-share-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 24px;
	padding: 14px 16px;
	background: #f8faf9;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
}

.xyz-share-label {
	font-weight: 700;
	font-size: 0.9rem;
	margin-right: 4px;
	color: #1b4332;
}

.xyz-share-btn {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	color: #1f2933 !important;
	cursor: pointer;
}

.xyz-share-btn:hover {
	background: #eef6f1;
	border-color: #2d6a4f;
}

.xyz-share-pin {
	background: #b91c1c;
	border-color: #b91c1c;
	color: #ffffff !important;
}

.xyz-share-pin:hover {
	background: #991b1b;
}

/* Interactive Calculators */
.xyz-tool-card {
	background: #f8fbf9;
	border: 1px solid #cde0d5;
	border-radius: 12px;
	padding: 22px;
	margin: 20px 0 28px;
}

.xyz-tool-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.xyz-tool-tab {
	background: #ffffff;
	color: #1b4332;
	border: 1px solid #b7d3c2;
	padding: 8px 16px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}

.xyz-tool-tab.is-active {
	background: #1b4332;
	color: #ffffff;
	border-color: #1b4332;
}

.xyz-tool-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin-bottom: 20px;
}

.xyz-tool-field label {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	margin-bottom: 6px;
	color: #1f2933;
}

.xyz-tool-field input,
.xyz-tool-field select {
	width: 100%;
	padding: 9px 11px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	background: #ffffff;
	font-size: 0.95rem;
}

.xyz-input-group {
	display: flex;
	gap: 8px;
}

.xyz-input-group input {
	flex: 1;
}

.xyz-input-group select {
	flex: 0 0 110px;
}

.xyz-tool-results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.xyz-res-box {
	background: #ffffff;
	border: 1px solid #d5e5dc;
	border-top: 4px solid #2d6a4f;
	border-radius: 8px;
	padding: 14px;
}

.xyz-res-label {
	display: block;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #52606d;
	font-weight: 600;
}

.xyz-res-value {
	display: block;
	font-size: 1.25rem;
	color: #1b4332;
	margin: 4px 0;
}

.xyz-res-sub {
	display: block;
	font-size: 0.84rem;
	color: #4b5563;
}

/* Category Hub Banner */
.xyz-category-hub {
	background: #f0f7f3;
	border: 1px solid #c6dfd0;
	border-left: 5px solid #1b4332;
	border-radius: 10px;
	padding: 18px 22px;
	margin-bottom: 20px;
}

.xyz-hub-badge {
	display: inline-block;
	background: #1b4332;
	color: #ffffff;
	font-size: 0.76rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}

.xyz-hub-desc {
	margin: 0 0 14px;
	color: #1f2933;
	font-size: 0.98rem;
}

.xyz-hub-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
}

.xyz-hub-btn {
	background: #1b4332;
	color: #ffffff !important;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	padding: 8px 15px;
	border-radius: 6px;
}

.xyz-hub-btn:hover {
	background: #2d6a4f;
}

.xyz-hub-link {
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
}

.xyz-hub-link:hover {
	text-decoration: underline;
}
