/*
 * Adjustments that sit on top of the compiled template stylesheet.
 * Component look stays in assets/css/style.css.
 */

body.blog-shell {
	background-color: #fff;
	color: #1f2937;
}

.blog-header {
	position: relative;
	z-index: 40;
}

.blog-header__menu {
	position: relative;
}

.blog-header__logo img,
.footer-hero__logo img {
	width: auto;
	max-width: none;
}

.blog-header__logo img {
	height: 2.25rem;
}

.footer-hero__logo img {
	height: 3rem;
}

@media (min-width: 48rem) {
	.blog-header__logo img {
		height: 2.75rem;
	}

	.footer-hero__logo img {
		height: 3.5rem;
	}
}

.classic-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	max-width: 28rem;
	margin-top: 1.5rem;
	margin-inline: auto;
}

.classic-search .product-review-input {
	flex: 1 1 auto;
	min-width: 0;
}

a.product-review-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.classic-placeholder {
	background: #e7eee9;
}

.archive-pagination__page,
.archive-pagination__arrow {
	text-decoration: none;
}

.blog-post__content {
	overflow-wrap: break-word;
}

.blog-post__content a,
.editor-styles-wrapper a {
	color: #126c41;
	text-underline-offset: 4px;
}

.blog-post__content a:hover,
.editor-styles-wrapper a:hover {
	text-decoration: underline;
}

.blog-post__content h2,
.editor-styles-wrapper h2,
.blog-post__content h3,
.editor-styles-wrapper h3,
.blog-post__content h4,
.editor-styles-wrapper h4 {
	color: #111827;
	font-weight: 800;
	line-height: 1.8;
}

.blog-post__content h3,
.editor-styles-wrapper h3 {
	padding-top: 0.35rem;
	font-size: 1.05rem;
}

.blog-post__content h4,
.editor-styles-wrapper h4 {
	font-size: 1rem;
	font-weight: 700;
}

.blog-post__content ul,
.blog-post__content ol,
.editor-styles-wrapper ul,
.editor-styles-wrapper ol {
	padding-inline-start: 1.25rem;
}

.blog-post__content ul,
.editor-styles-wrapper ul {
	list-style: disc;
}

.blog-post__content ol,
.editor-styles-wrapper ol {
	list-style: decimal;
}

.blog-post__content li + li,
.editor-styles-wrapper li + li {
	margin-top: 0.35rem;
}

.blog-post__content img,
.editor-styles-wrapper img {
	height: auto;
	max-width: 100%;
	border-radius: 1rem;
}

.blog-post__content figure,
.editor-styles-wrapper figure {
	margin: 0;
}

.blog-post__content figcaption,
.editor-styles-wrapper figcaption {
	margin-top: 0.5rem;
	color: #9ca3af;
	font-size: 0.75rem;
	text-align: center;
}

.blog-post__content blockquote,
.blog-post__content .wp-block-quote,
.editor-styles-wrapper blockquote {
	margin: 0;
	border-radius: 1rem;
	border-inline-start: 3px solid #126c41;
	background: #f7f7f7;
	padding: 1rem 1.25rem;
	color: #4b5563;
}

.blog-post__content .wp-block-table,
.editor-styles-wrapper .wp-block-table {
	overflow-x: auto;
}

.blog-post__content table,
.editor-styles-wrapper table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
}

.blog-post__content th,
.blog-post__content td,
.editor-styles-wrapper th,
.editor-styles-wrapper td {
	border: 1px solid #e5e7eb;
	padding: 0.6rem 0.75rem;
	text-align: start;
	vertical-align: top;
}

.blog-post__content th,
.editor-styles-wrapper th {
	background: #f3f4f6;
	color: #111827;
	font-weight: 700;
}

.blog-post__content code,
.editor-styles-wrapper code {
	border-radius: 0.4rem;
	background: #f3f4f6;
	padding: 0.1rem 0.35rem;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	direction: ltr;
}

.blog-post__content pre,
.editor-styles-wrapper pre {
	overflow-x: auto;
	border-radius: 1rem;
	background: #141414;
	padding: 1rem;
	color: #fff;
	direction: ltr;
	text-align: left;
}

.blog-post__content pre code,
.editor-styles-wrapper pre code {
	background: transparent;
	padding: 0;
	color: inherit;
}

.blog-post__content .wp-block-gallery,
.editor-styles-wrapper .wp-block-gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.blog-post__content .wp-block-gallery figure,
.editor-styles-wrapper .wp-block-gallery figure {
	flex: 1 1 10rem;
	margin: 0;
}

.blog-post__content .aligncenter,
.editor-styles-wrapper .aligncenter {
	display: block;
	margin-inline: auto;
}

.blog-post__content .alignleft,
.blog-post__content .alignright {
	max-width: min(50%, 18rem);
	margin-bottom: 1rem;
}

.blog-post__content .alignleft {
	float: left;
	margin-right: 1rem;
}

.blog-post__content .alignright {
	float: right;
	margin-left: 1rem;
}

.blog-post__content::after {
	content: "";
	display: block;
	clear: both;
}

.classic-comment-text p,
.product-review-form p {
	margin: 0;
}

.classic-comment-awaiting {
	margin-bottom: 0.5rem;
	color: #126c41;
	font-weight: 700;
}

.classic-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(18, 108, 65, 0.1);
	color: #126c41;
	font-weight: 700;
}

.product-review-card img.avatar,
.product-review-reply-item img.avatar {
	border-radius: 9999px;
	object-fit: cover;
}

.product-review-card img.avatar {
	width: 2.75rem;
	height: 2.75rem;
}

.product-review-reply-item img.avatar {
	width: 2.25rem;
	height: 2.25rem;
}

#reply-title {
	margin: 0;
	color: #111827;
	font-size: 1rem;
	font-weight: 800;
}

#respond:has(#comment_parent:not([value="0"])) #reply-title {
	margin-bottom: 1rem;
}

#respond:not(:has(#comment_parent:not([value="0"]))) #reply-title {
	display: none;
}

a.comment-reply-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #126c41;
	padding: 0.625rem 2rem;
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
}

#cancel-comment-reply-link {
	margin-inline-start: 0.75rem;
	color: #126c41;
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
}

.comment-form-cookies-consent input {
	margin-top: 0.35rem;
}

.classic-password .post-password-form {
	display: grid;
	gap: 0.75rem;
}

.classic-password .post-password-form p {
	margin: 0;
	color: #6b7280;
	font-size: 0.875rem;
	line-height: 2;
}

.classic-password .post-password-form label input[type="password"] {
	width: 100%;
	margin-top: 0.5rem;
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	padding: 0.85rem 1rem;
	font: inherit;
}

.classic-password .post-password-form input[type="submit"] {
	border: 0;
	border-radius: 9999px;
	background: #126c41;
	padding: 0.75rem 2.5rem;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.screen-reader-text,
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
	outline: 2px solid #126c41;
	outline-offset: 2px;
}
