/*
Theme Name: Themeweb
Theme URI: http://localhost:8080
Author: Themeweb
Author URI: http://localhost:8080
Description: Centered landing theme with a top logo, three-item menu, and a 1:1 image frame.
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 8.1
Version: 1.11.10
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: themeweb
Tags: full-site-editing, block-patterns, custom-logo, custom-menu, featured-images, translation-ready, one-column
*/

html {
	min-height: 100%;
	background-color: var(--wp--preset--color--base, #07150e);
}

body,
button,
input,
select,
textarea {
	font-family: Prompt, sans-serif;
}

body {
	min-height: 100vh;
	background-color: var(--wp--preset--color--base, #07150e);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

body.themeweb-bg-glow:not(.has-theme-background-image):not(.custom-background) {
	background-image:
		radial-gradient(
			ellipse 90% 55% at 50% 115%,
			color-mix(in srgb, var(--wp--preset--color--pine, #163d24) 55%, transparent) 0%,
			transparent 70%
		),
		radial-gradient(
			circle at 18% 82%,
			color-mix(in srgb, var(--wp--preset--color--ember, #e8c547) 18%, transparent) 0%,
			transparent 32%
		),
		radial-gradient(
			circle at 82% 78%,
			color-mix(in srgb, var(--wp--preset--color--stone, #9bb39a) 16%, transparent) 0%,
			transparent 28%
		),
		radial-gradient(
			circle at 50% 0%,
			color-mix(in srgb, var(--wp--preset--color--sand, #0c2418) 90%, transparent) 0%,
			transparent 48%
		);
}

.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

::selection {
	background: var(--wp--preset--color--ember);
	color: var(--wp--preset--color--ink);
}

:where(.wp-site-blocks *:focus-visible) {
	outline: 2px solid var(--wp--preset--color--ember);
	outline-offset: 3px;
}

.themeweb-header .wp-block-site-logo {
	margin-inline: auto;
}

.themeweb-header .wp-block-site-logo img {
	height: auto;
}

body:has(.themeweb-logo img) .themeweb-wordmark {
	display: none;
}

.themeweb-wordmark a {
	color: var(--wp--preset--color--ember);
	text-decoration: none;
	font-family: Prompt, sans-serif;
}

.themeweb-nav {
	width: 100%;
}

.themeweb-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	font-size: 0.95rem;
	font-family: Prompt, sans-serif;
}

.themeweb-nav .wp-block-navigation-item__content:hover,
.themeweb-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ember);
}

.themeweb-body > .themeweb-square-image,
.themeweb-body > .themeweb-actions,
.themeweb-body > .themeweb-transfers,
.themeweb-body > .themeweb-article {
	width: 100%;
	max-width: var(--wp--style--global--content-size, 630px);
	margin-inline: auto;
	box-sizing: border-box;
}

.themeweb-body > .themeweb-lotto {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.themeweb-body > .themeweb-lotto:not([style*="margin"]) {
	margin-inline: auto;
}

@media (min-width: 640px) {
	.themeweb-body > .themeweb-lotto:not([style*="width"]) {
		width: 400px;
		max-width: min(100%, 400px);
	}
}

.themeweb-body > .themeweb-lotto[style*="width"] {
	max-width: 100%;
}

.themeweb-body > .themeweb-square-image {
	display: block;
}

.themeweb-square-image {
	aspect-ratio: 1 / 1;
	margin-inline: auto;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--ember) 40%, transparent);
	border-radius: 6px;
	background: #081c12;
	overflow: hidden;
	position: relative;
	cursor: zoom-in;
	box-shadow: none;
}

.themeweb-square-image img,
.themeweb-square-image .wp-lightbox-container,
.themeweb-square-image .wp-lightbox-container img {
	aspect-ratio: 1 / 1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	margin: 0;
	border: 0;
	outline: none;
	box-shadow: none;
	background: transparent;
	pointer-events: auto;
}

.themeweb-header {
	flex: 0 0 auto;
}

.themeweb-body {
	flex: 1 0 auto;
	width: 100%;
}

.themeweb-footer {
	flex: 0 0 auto;
	margin-top: auto;
}

.themeweb-footer-rule {
	width: min(12rem, 40vw);
	height: 1px;
	background: color-mix(in srgb, var(--wp--preset--color--ember) 45%, transparent) !important;
	border: 0;
	opacity: 1;
}

.themeweb-footer-nav .wp-block-navigation-item__content {
	font-size: 0.85rem;
}

.themeweb-footer-copy {
	letter-spacing: 0.04em;
}

.themeweb-mobile-bar,
.themeweb-mobile-bar.wp-block-group,
.themeweb-mobile-bar.wp-block-group-is-layout-constrained,
.themeweb-mobile-bar.has-global-padding {
	position: fixed !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 99999 !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100vw !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
	border-top: 1px solid rgba(232, 197, 71, 0.28);
	background: rgba(7, 21, 14, 0.96);
	box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(10px);
}

.themeweb-mobile-bar__btns,
.themeweb-mobile-bar .wp-block-buttons {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 8px !important;
	width: 100%;
	max-width: 630px;
	margin: 0 !important;
}

.themeweb-mobile-bar .wp-block-button,
.themeweb-mobile-bar .wp-block-button.has-custom-width {
	flex: 1 1 0;
	width: auto !important;
	margin: 0 !important;
}

.themeweb-mobile-bar .wp-block-button__link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
	white-space: nowrap;
	font-family: Prompt, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.themeweb-mobile-bar--php .themeweb-btn-lock .wp-block-button__link {
	border-radius: 10px;
	color: #111;
	background: linear-gradient(180deg, #f4f4f4 0%, #9c9c9c 100%);
	padding: 12px 8px;
}

.themeweb-mobile-bar--php .themeweb-btn-user .wp-block-button__link {
	border-radius: 10px;
	color: #fff;
	background: linear-gradient(180deg, #e53935 0%, #8b0000 100%);
	padding: 12px 8px;
}

body:has(.themeweb-mobile-bar:not(.themeweb-mobile-bar--php)) .themeweb-mobile-bar--php {
	display: none !important;
}

body {
	padding-bottom: 84px;
}

@media (min-width: 782px) {
	html:not(.block-editor-iframe__html) body {
		padding-bottom: 0;
	}

	html:not(.block-editor-iframe__html) .themeweb-mobile-bar {
		display: none !important;
	}
}

.themeweb-lotto {
	background: rgba(8, 16, 28, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.16);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.12),
		0 8px 24px rgba(0, 0, 0, 0.18);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	box-sizing: border-box;
}

.themeweb-lotto.is-layout-flex {
	align-items: flex-start;
}

.themeweb-lotto .wp-block-image,
.themeweb-lotto-icon {
	position: relative;
	flex: 0 1 auto;
	margin: 0;
	aspect-ratio: auto;
	border: 0;
	border-radius: 0;
	background: transparent;
	overflow: visible;
	box-shadow: none;
	cursor: pointer;
}

.themeweb-lotto .wp-block-image[style*="width"],
.themeweb-lotto .wp-block-image[style*="height"] {
	flex: 0 0 auto;
}

.themeweb-lotto .wp-block-image a {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
}

.themeweb-lotto .wp-block-image a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.themeweb-lotto img:not([style*="width"]):not([width]) {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin: 0 auto;
	border: 0;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
	background: transparent;
}

.themeweb-lotto img[style*="width"],
.themeweb-lotto img[width] {
	border-radius: 50%;
	object-fit: cover;
	display: block;
	margin: 0 auto;
	border: 0;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
	background: transparent;
}

.themeweb-lotto .wp-block-image[style*="width"] img,
.themeweb-lotto img[style*="width"] {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
}

.themeweb-lotto figcaption,
.themeweb-lotto .wp-element-caption {
	color: #fff;
	font-family: Prompt, sans-serif;
	font-weight: 500;
	line-height: 1.2;
	margin: 5px 0 0;
	text-align: center;
	letter-spacing: 0;
}

.themeweb-lotto figcaption:not([class*="-font-size"]),
.themeweb-lotto .wp-element-caption:not([class*="-font-size"]) {
	font-size: 11px;
}

.themeweb-lotto .wp-block-image img {
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.themeweb-lotto figcaption,
.themeweb-lotto .wp-element-caption {
	transition: color 0.22s ease;
}

.themeweb-lotto .wp-block-image:hover img,
.themeweb-lotto .wp-block-image:focus-within img {
	transform: scale(1.08);
	box-shadow:
		0 8px 16px rgba(0, 0, 0, 0.45),
		0 0 0 2px rgba(232, 197, 71, 0.55);
}

.themeweb-lotto .wp-block-image:hover figcaption,
.themeweb-lotto .wp-block-image:focus-within figcaption,
.themeweb-lotto .wp-block-image:hover .wp-element-caption,
.themeweb-lotto .wp-block-image:focus-within .wp-element-caption {
	color: var(--wp--preset--color--ember, #e8c547);
}

.themeweb-actions {
	width: 100%;
}

.themeweb-actions > .themeweb-offer,
.themeweb-actions > .themeweb-duo,
.themeweb-actions > .wp-block-buttons.themeweb-duo {
	width: 100%;
	max-width: 100%;
}

.themeweb-actions-title {
	color: #fff;
	font-family: Prompt, sans-serif;
	font-weight: 400;
	font-size: 0.9375rem;
	line-height: 1.5;
	text-align: center;
	margin: 0 0 10px;
}

.themeweb-actions-title.has-large-font-size,
.themeweb-actions-title.has-medium-font-size {
	font-size: 0.9375rem;
}

.themeweb-offer {
	width: 100%;
}

.themeweb-offer p {
	margin: 0;
	flex: 1 1 auto;
	min-width: 0;
	font-family: Prompt, sans-serif;
	line-height: 1.35;
}

.themeweb-offer .wp-block-buttons,
.themeweb-offer .wp-block-button {
	margin: 0;
	flex: 0 0 auto;
}

.themeweb-actions .wp-block-button__link {
	font-family: Prompt, sans-serif;
	text-transform: none;
	letter-spacing: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	text-decoration: none;
}

.themeweb-duo {
	display: flex !important;
	width: 100% !important;
	max-width: 100% !important;
	gap: 8px;
	justify-content: stretch !important;
}

.themeweb-duo .wp-block-button,
.themeweb-duo .wp-block-button.has-custom-width,
.themeweb-duo .wp-block-button.wp-block-button__width-50 {
	flex: 1 1 0;
	width: auto !important;
	min-width: 0;
	max-width: none;
	margin: 0;
}

.themeweb-duo .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	box-sizing: border-box;
}

.themeweb-btn-lock .wp-block-button__link::before,
.themeweb-btn-user .wp-block-button__link::before,
.themeweb-offer .wp-block-button__link::before {
	font-family: "Material Symbols Outlined";
	font-weight: normal;
	font-style: normal;
	font-size: 1.125em;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	word-wrap: normal;
	direction: ltr;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	font-feature-settings: "liga";
	font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
	width: auto;
	height: auto;
	margin-inline-end: 0.35em;
	background: none;
	-webkit-mask: none;
	mask: none;
	flex: 0 0 auto;
}

.themeweb-btn-lock .wp-block-button__link::before {
	content: "login";
}

.themeweb-btn-user .wp-block-button__link::before {
	content: "person_add";
}

.themeweb-offer .wp-block-button__link::before {
	content: "how_to_reg";
	font-size: 1em;
	margin-inline-end: 0.3em;
}

.themeweb-transfer-banks {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.themeweb-transfers__title {
	margin: 0 0 12px;
	color: #fff;
	font-family: Prompt, sans-serif;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.4;
	text-align: center;
}

.themeweb-transfers__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.themeweb-transfers__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px 8px 12px;
	background: #e8f0fe;
	border-radius: 12px;
	font-family: Prompt, sans-serif;
	transform-origin: top center;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.themeweb-transfers__item.is-enter {
	opacity: 0;
	transform: translateY(-12px);
}

.themeweb-transfers__bank {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	border-radius: 50%;
	object-fit: cover;
	background: #fff;
}

.themeweb-transfers__meta {
	flex: 1 1 auto;
	min-width: 0;
}

.themeweb-transfers__user,
.themeweb-transfers__amount,
.themeweb-transfers__time {
	margin: 0;
	line-height: 1.25;
}

.themeweb-transfers__user,
.themeweb-transfers__amount {
	color: #111827;
	font-size: 13px;
}

.themeweb-transfers__user strong,
.themeweb-transfers__amount strong {
	font-weight: 700;
}

.themeweb-transfers__time {
	margin-top: 2px;
	color: #4f7ec8;
	font-size: 12px;
}

.themeweb-transfers__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	border-radius: 999px;
	padding: 6px 10px;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	white-space: nowrap;
	line-height: 1;
}

.themeweb-transfers__badge--pending {
	background: #6aa8ef;
}

.themeweb-transfers__badge--done {
	background: #1d5fd6;
}

.themeweb-transfers__spin,
.themeweb-transfers__check {
	width: 12px;
	height: 12px;
	display: inline-block;
	flex: 0 0 12px;
	background: currentColor;
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}

.themeweb-transfers__spin {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a8 8 0 1 1-8 8h2.2A5.8 5.8 0 1 0 12 6.2V4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 4a8 8 0 1 1-8 8h2.2A5.8 5.8 0 1 0 12 6.2V4z'/%3E%3C/svg%3E");
	animation: themeweb-spin 0.8s linear infinite;
}

.themeweb-transfers__check {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.2 4.8 11.8l1.4-1.4 3 3 8.6-8.6 1.4 1.4z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.2 16.2 4.8 11.8l1.4-1.4 3 3 8.6-8.6 1.4 1.4z'/%3E%3C/svg%3E");
}

@keyframes themeweb-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.themeweb-transfers__item,
	.themeweb-transfers__spin,
	.themeweb-lotto .wp-block-image img,
	.themeweb-lotto figcaption,
	.themeweb-lotto .wp-element-caption {
		animation: none;
		transition: none;
	}

	.themeweb-lotto .wp-block-image:hover img,
	.themeweb-lotto .wp-block-image:focus-within img {
		transform: none;
	}
}

.themeweb-article {
	display: block !important;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
	margin-block-start: 20px;
	padding: 22px 20px 24px;
	border: 1px solid rgba(77, 175, 124, 0.38);
	border-radius: 16px;
	background: #f7fbf8;
	box-shadow: 0 8px 28px rgba(0, 40, 20, 0.08);
	font-family: Prompt, sans-serif;
	font-weight: 400;
	color: #24352b;
	scroll-margin-top: 16px;
}

.themeweb-article-crumb {
	margin: 0 0 10px;
	color: #5f7466;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.themeweb-article-crumb span {
	color: #007a3d;
}

.themeweb-article-title {
	color: #054d28;
	font-family: Prompt, sans-serif;
	font-weight: 700;
	line-height: 1.32;
	letter-spacing: -0.02em;
	text-align: left;
	margin: 0 0 12px;
}

.themeweb-article-title:not([class*="-font-size"]) {
	font-size: clamp(1.5rem, 4.2vw, 1.85rem);
}

.themeweb-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 18px;
	padding: 0 0 16px;
	border-bottom: 1px solid #d7ebe0;
	color: #5f7466;
	font-size: 0.75rem;
	line-height: 1.4;
}

.themeweb-article-meta time,
.themeweb-article-meta span {
	display: inline-flex;
	align-items: center;
	padding: 4px 9px;
	border-radius: 999px;
	background: #e8f5ee;
	color: #0a6b3c;
}

.themeweb-article-toc {
	margin: 0 0 20px;
	padding: 14px 16px;
	border: 1px solid #d4ebe0;
	border-radius: 12px;
	background: #fff;
}

.themeweb-article-toc__label {
	margin: 0 0 8px;
	color: #054d28;
	font-size: 0.8125rem;
	font-weight: 600;
}

.themeweb-article-toc__list,
.themeweb-article-toc ul {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.themeweb-article-toc__list li,
.themeweb-article-toc li {
	margin: 0;
	padding: 0;
}

.themeweb-article-toc__list li::before,
.themeweb-article-toc li::before {
	content: none;
}

.themeweb-article-toc a {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	background: #f3faf6;
	color: #0a6b3c;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
}

.themeweb-article-toc a:hover {
	background: #e4f4ea;
	color: #054d28;
}

/* Rank Math TOC — compact pills, no nested/H1 bloat */
.themeweb-article #rank-math-toc,
.themeweb-article .wp-block-rank-math-toc-block {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 0 0 16px !important;
	padding: 8px 10px !important;
	border: 1px solid #d0e8db;
	border-radius: 10px;
	background: linear-gradient(180deg, #f9fcfa 0%, #fff 100%);
}

.themeweb-article #rank-math-toc h2,
.themeweb-article .wp-block-rank-math-toc-block h2 {
	display: inline-flex;
	flex-shrink: 0;
	margin: 0 !important;
	padding: 4px 9px;
	border-radius: 6px;
	background: #054d28;
	color: #fff !important;
	font-size: 0.6875rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.04em;
	line-height: 1.2 !important;
	text-transform: uppercase;
	white-space: nowrap;
}

.themeweb-article #rank-math-toc nav,
.themeweb-article .wp-block-rank-math-toc-block nav {
	flex: 1 1 auto;
	min-width: 0;
}

.themeweb-article #rank-math-toc nav > ol,
.themeweb-article .wp-block-rank-math-toc-block nav > ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
	counter-reset: none !important;
}

.themeweb-article #rank-math-toc nav > ol > li,
.themeweb-article .wp-block-rank-math-toc-block nav > ol > li {
	display: block;
	margin: 0 !important;
	padding: 0;
	min-height: 0 !important;
}

.themeweb-article #rank-math-toc nav > ol > li:first-child,
.themeweb-article .wp-block-rank-math-toc-block nav > ol > li:first-child {
	display: none !important;
}

.themeweb-article #rank-math-toc nav ol ol,
.themeweb-article .wp-block-rank-math-toc-block nav ol ol {
	display: none !important;
}

.themeweb-article #rank-math-toc nav > ol > li::before,
.themeweb-article .wp-block-rank-math-toc-block nav > ol > li::before {
	content: none !important;
}

.themeweb-article #rank-math-toc nav a,
.themeweb-article .wp-block-rank-math-toc-block nav a {
	display: inline-block;
	max-width: 11rem;
	padding: 5px 10px;
	border: 1px solid #c5e3d2;
	border-radius: 999px;
	background: #fff;
	color: #0a6b3c !important;
	font-size: 0.75rem !important;
	font-weight: 500;
	line-height: 1.25;
	text-decoration: none !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.themeweb-article #rank-math-toc nav a:hover,
.themeweb-article .wp-block-rank-math-toc-block nav a:hover {
	border-color: #0a6b3c;
	background: #e8f5ee;
	color: #054d28 !important;
}

.themeweb-article-content {
	color: #24352b;
	font-weight: 400;
	line-height: 1.8;
}

.themeweb-article-content p {
	margin: 0 0 16px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.8;
}

.themeweb-article-content p:last-child {
	margin-bottom: 0;
}

.themeweb-article-content a {
	color: #0a6b3c;
	font-weight: 500;
	text-decoration: underline;
	text-underline-offset: 0.16em;
}

.themeweb-article-content a:hover {
	color: #054d28;
}

.themeweb-article-content strong {
	color: #054d28;
	font-weight: 600;
}

.themeweb-article-heading {
	color: #054d28;
	margin: 28px 0 12px;
	padding: 0 0 0 14px;
	border-left: 4px solid #3cb371;
	font-weight: 600;
	line-height: 1.35;
	scroll-margin-top: 20px;
}

.themeweb-article-heading:not([class*="-font-size"]) {
	font-size: 1.2rem;
}

.themeweb-article-cards,
.themeweb-article-cards.is-layout-flow {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px !important;
	margin: 0 0 16px;
}

.themeweb-article-cards > * {
	margin-block: 0 !important;
	height: 100%;
}

.themeweb-article-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	box-sizing: border-box;
	height: 100%;
	min-height: 0;
	padding: 12px 14px;
	border: 1px solid #d4ebe0;
	border-radius: 10px;
	background: #f8fcfa;
}

.themeweb-article-card::before,
.themeweb-article-card::after {
	content: none;
	display: none;
}

.themeweb-article-card__title,
.themeweb-article-card h3 {
	margin: 0 0 4px;
	color: #054d28;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.3;
}

.themeweb-article-card__title::before,
.themeweb-article-card h3::before {
	content: none;
	display: none;
}

.themeweb-article-card p {
	margin: 0;
	flex: 1 1 auto;
	color: #3d5346;
	font-size: 0.8125rem;
	line-height: 1.5;
}

.themeweb-article-card p a {
	color: #0a6b3c;
	font-weight: 500;
}

.themeweb-article-content ul {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.themeweb-article-content li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 24px;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.7;
}

.themeweb-article-content li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.1em;
	color: #009966;
	font-weight: 600;
}

.themeweb-article-content li strong {
	font-weight: 600;
}

.themeweb-article-related li::before {
	content: "→";
	color: #0a6b3c;
}

.themeweb-article-em {
	color: #0a6b3c;
	font-weight: 600;
	border-bottom: 1px dotted rgba(10, 107, 60, 0.4);
}

.themeweb-article-highlight {
	background: #eef8f2;
	border-left: 4px solid #008040;
	border-radius: 0 12px 12px 0;
	padding: 16px 18px;
	margin: 0 0 18px;
}

.themeweb-article-highlight p {
	margin: 0;
}

.themeweb-article-end {
	margin-top: 8px;
	padding: 16px 18px;
	border-radius: 12px;
	background: linear-gradient(180deg, #eef8f2 0%, #e3f3e9 100%);
	text-align: center;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.65;
}

.themeweb-article-end strong {
	font-weight: 600;
}

@media (max-width: 639px) {
	.themeweb-article {
		padding: 18px 16px 20px;
	}

	.themeweb-article-cards {
		grid-template-columns: 1fr;
	}
}

.themeweb-articles-page {
	width: 100%;
}

.themeweb-articles-hero {
	width: 100%;
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
}

.themeweb-articles-hero__title,
.themeweb-articles-hero .wp-block-post-title,
.themeweb-articles-hero .wp-block-query-title {
	margin: 0 0 12px;
	color: var(--wp--preset--color--contrast, #f4f1e6);
	font-family: Prompt, sans-serif;
	font-weight: 600;
	line-height: 1.25;
}

.themeweb-articles-hero__intro,
.themeweb-articles-hero .wp-block-term-description {
	margin: 0;
	color: var(--wp--preset--color--stone, #9bb39a);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.themeweb-articles-categories {
	width: 100%;
	max-width: 720px;
	margin-inline: auto;
}

.themeweb-articles-categories__list,
.themeweb-articles-categories .wp-block-categories-list,
.themeweb-articles-categories .wp-block-categories {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.themeweb-articles-categories li,
.themeweb-articles-categories .cat-item {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	min-height: 48px;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 12px;
	background: rgba(8, 16, 28, 0.45);
	color: rgba(155, 179, 154, 0.95);
	font-family: Prompt, sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
}

.themeweb-articles-categories li::before,
.themeweb-articles-categories .cat-item::before {
	content: none !important;
}

.themeweb-articles-categories__list a,
.themeweb-articles-categories .wp-block-categories-list a,
.themeweb-articles-categories .cat-item a {
	position: static;
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--contrast, #f4f1e6);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	white-space: normal;
}

.themeweb-articles-categories__list a::after,
.themeweb-articles-categories .cat-item a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.themeweb-articles-categories li:hover,
.themeweb-articles-categories .cat-item:hover {
	border-color: rgba(232, 197, 71, 0.55);
	background: rgba(232, 197, 71, 0.12);
	color: var(--wp--preset--color--ember, #e8c547);
}

.themeweb-articles-categories li:hover a,
.themeweb-articles-categories .cat-item:hover a {
	color: var(--wp--preset--color--ember, #e8c547);
}

@media (min-width: 640px) {
	.themeweb-articles-categories__list,
	.themeweb-articles-categories .wp-block-categories-list,
	.themeweb-articles-categories .wp-block-categories {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.themeweb-post-grid {
	width: 100%;
	max-width: var(--wp--style--global--content-size, 630px);
	margin-inline: auto;
}

.themeweb-post-grid__list {
	width: 100%;
}

.themeweb-post-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid rgba(77, 175, 124, 0.35);
	border-radius: 14px;
	background: #f8fcf9;
	box-shadow: 0 4px 16px rgba(0, 80, 40, 0.06);
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.themeweb-post-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(0, 80, 40, 0.12);
}

.themeweb-post-card__image {
	margin: 0;
	overflow: hidden;
}

.themeweb-post-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.themeweb-post-card__image:not(:has(img)) {
	display: none;
}

.themeweb-post-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}

.themeweb-post-card__terms,
.themeweb-post-card .wp-block-post-terms {
	margin: 0;
}

.themeweb-post-card__terms a,
.themeweb-post-card .wp-block-post-terms a {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(0, 120, 60, 0.1);
	color: #006633;
	font-family: Prompt, sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	text-decoration: none;
}

.themeweb-post-card__title,
.themeweb-post-card .wp-block-post-title {
	margin: 0;
	font-family: Prompt, sans-serif;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
}

.themeweb-post-card__title a,
.themeweb-post-card .wp-block-post-title a {
	color: #005c2e;
	text-decoration: none;
}

.themeweb-post-card__title a:hover,
.themeweb-post-card .wp-block-post-title a:hover {
	color: #007a3d;
}

.themeweb-post-card__excerpt,
.themeweb-post-card .wp-block-post-excerpt {
	flex: 1 1 auto;
	margin: 0;
	color: #2f3f36;
	font-size: 0.875rem;
	line-height: 1.65;
}

.themeweb-post-card__date,
.themeweb-post-card .wp-block-post-date {
	margin: 0;
	color: #4f7ec8;
	font-size: 0.75rem;
}

.themeweb-post-grid__pagination .wp-block-query-pagination {
	gap: 12px;
}

.themeweb-post-grid__pagination a,
.themeweb-post-grid__pagination .page-numbers {
	color: var(--wp--preset--color--contrast, #f4f1e6);
	font-family: Prompt, sans-serif;
	font-size: 0.875rem;
	text-decoration: none;
}

.themeweb-post-grid__pagination .page-numbers.current {
	color: var(--wp--preset--color--ember, #e8c547);
	font-weight: 700;
}

.themeweb-single-post .themeweb-post-article {
	width: 100%;
	max-width: var(--wp--style--global--content-size, 630px);
	margin-inline: auto;
}

.themeweb-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin-bottom: 14px;
}

.themeweb-post-meta__terms a,
.themeweb-post-meta .wp-block-post-terms a {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: rgba(0, 120, 60, 0.12);
	color: #006633;
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
}

.themeweb-post-meta__date,
.themeweb-post-meta .wp-block-post-date {
	color: #4f7ec8;
	font-size: 0.8125rem;
}

.themeweb-post-article__image {
	margin: 0 0 18px;
	overflow: hidden;
	border-radius: 10px;
}

.themeweb-post-article__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.themeweb-post-article__image:not(:has(img)) {
	display: none;
}

.themeweb-post-article .wp-block-post-content h2,
.themeweb-post-article__content h2 {
	color: #006633;
	margin: 24px 0 10px;
	padding: 0 0 0 12px;
	border-left: 3px solid #3cb371;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.4;
}

.themeweb-post-article .wp-block-post-content h3,
.themeweb-post-article__content h3 {
	color: #007a3d;
	margin: 20px 0 8px;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.4;
}

.themeweb-post-article .wp-block-post-content ul,
.themeweb-post-article__content ul {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.themeweb-post-article .wp-block-post-content li,
.themeweb-post-article__content li {
	position: relative;
	margin: 0 0 10px;
	padding-left: 24px;
	font-size: 0.9375rem;
	line-height: 1.7;
}

.themeweb-post-article .wp-block-post-content li::before,
.themeweb-post-article__content li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0.1em;
	color: #009966;
	font-weight: 500;
}

.themeweb-single-post .wp-block-group.alignwide nav {
	max-width: var(--wp--style--global--content-size, 630px);
	margin-inline: auto;
}

@media (max-width: 639px) {
	.themeweb-post-grid__list.wp-block-post-template {
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

.themeweb-contact-page {
	width: 100%;
}

.themeweb-contact-hero {
	width: 100%;
	max-width: 640px;
	margin-inline: auto;
	text-align: center;
}

.themeweb-contact-hero__title,
.themeweb-contact-hero .wp-block-post-title {
	margin: 0 0 12px;
	color: var(--wp--preset--color--contrast, #f4f1e6);
	font-family: Prompt, sans-serif;
	font-weight: 700;
	line-height: 1.25;
}

.themeweb-contact-hero__intro {
	margin: 0;
	color: var(--wp--preset--color--stone, #9bb39a);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.themeweb-contact-page__content {
	width: 100%;
}

.themeweb-contact-page__content > .themeweb-contact-hero__intro {
	max-width: 640px;
	margin-inline: auto;
}

.themeweb-contact-grid,
.themeweb-contact-grid.is-layout-flow {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: 14px !important;
	width: 100%;
	max-width: var(--wp--style--global--content-size, 630px);
	margin-inline: auto;
}

.themeweb-contact-grid > * {
	margin-block: 0 !important;
	height: 100%;
}

.themeweb-contact-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	height: 100%;
	min-height: 220px;
	padding: 20px 18px 18px;
	border-radius: 16px;
	color: #102018;
}

.themeweb-contact-card > * {
	margin-block: 0 !important;
}

.themeweb-contact-card--line {
	background: linear-gradient(180deg, #f4fff7 0%, #e8f8ee 100%);
	border: 1px solid rgba(6, 199, 85, 0.28);
	box-shadow: 0 10px 24px rgba(6, 199, 85, 0.12);
}

.themeweb-contact-card--telegram {
	background: linear-gradient(180deg, #f3fbff 0%, #e6f5fc 100%);
	border: 1px solid rgba(42, 171, 238, 0.28);
	box-shadow: 0 10px 24px rgba(42, 171, 238, 0.12);
}

.themeweb-contact-card__brand {
	display: inline-flex;
	align-self: flex-start;
	margin: 0 0 12px;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.themeweb-contact-card--line .themeweb-contact-card__brand {
	background: rgba(6, 199, 85, 0.14);
	color: #048a3a;
}

.themeweb-contact-card--telegram .themeweb-contact-card__brand {
	background: rgba(42, 171, 238, 0.14);
	color: #187fb8;
}

.themeweb-contact-card__name,
.themeweb-contact-card h2,
.themeweb-contact-card .has-contrast-color {
	margin: 0 0 10px;
	color: #102018;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.themeweb-contact-card--hide-id .themeweb-contact-card__name,
.themeweb-contact-card--hide-id h2.themeweb-contact-card__name {
	display: none;
}

.themeweb-contact-card__desc,
.themeweb-contact-card p.themeweb-contact-card__desc {
	flex: 1 1 auto;
	min-height: 4.5em;
	margin: 0 0 18px;
	color: #3d5346;
	font-size: 0.875rem;
	line-height: 1.6;
}

.themeweb-contact-card__actions,
.themeweb-contact-card .wp-block-buttons {
	width: 100%;
	margin: auto 0 0 !important;
	flex-shrink: 0;
}

.themeweb-contact-btn {
	width: 100%;
}

.themeweb-contact-btn .wp-block-button__link {
	display: block;
	width: 100%;
	padding: 12px 16px;
	border: 0;
	border-radius: 10px;
	font-family: Prompt, sans-serif;
	font-size: 0.9375rem;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	box-sizing: border-box;
}

.themeweb-contact-btn--line .wp-block-button__link {
	background: #06c755;
	color: #fff;
}

.themeweb-contact-btn--telegram .wp-block-button__link {
	background: #2aabee;
	color: #fff;
}

.themeweb-contact-btn--line .wp-block-button__link:hover,
.themeweb-contact-btn--telegram .wp-block-button__link:hover {
	filter: brightness(1.06);
	transform: translateY(-1px);
}

.themeweb-contact-note {
	width: 100%;
	max-width: 640px;
	margin-inline: auto;
}

.themeweb-contact-note__text {
	margin: 0;
	color: var(--wp--preset--color--stone, #9bb39a);
	font-size: 0.8125rem;
	line-height: 1.6;
}

@media (max-width: 639px) {
	.themeweb-contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.themeweb-post-card {
		transition: none;
	}

	.themeweb-post-card:hover {
		transform: none;
	}

	.themeweb-contact-btn--line .wp-block-button__link:hover,
	.themeweb-contact-btn--telegram .wp-block-button__link:hover {
		transform: none;
	}
}
