/*
Theme Name: LM
*/
.wpcf7-not-valid{
	border:1px solid red!important;
}
.wpcf7-not-valid-tip, .wpcf7-validation-errors{
	display:none!important;
}

.editor-styles-wrapper :where(:not(.is-layout-flex,.is-layout-grid))>.wp-block {
	width: 100%;
	max-width: 92.1875vw;
	padding: 0 1.30208vw;
	margin-left: auto;
	margin-right: auto;
}

.form__label {
	direction: rtl;
}

/* ── 404 & page.php — offset for fixed header ───────────────────────── */
.error-404__inner,
.post-body__inner {
	padding-top: 140px;
}

/* ── 404 page ────────────────────────────────────────────────────────── */
.error-404 {
	background-color: var(--light);
	min-height: 100vh;
}
.error-404__inner {
	padding-bottom: 100px;
}
.error-404__wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 60px 0;
}
.error-404__code {
	font-family: Heebo, sans-serif;
	font-size: 180px;
	font-weight: 700;
	line-height: 1;
	color: var(--primary);
	opacity: .35;
	margin-bottom: 16px;
}
.error-404__title {
	font-family: Heebo, sans-serif;
	font-size: 42px;
	font-weight: 700;
	color: var(--dark);
	margin-bottom: 16px;
}
.error-404__subtitle {
	font-size: 18px;
	color: var(--gray);
	margin-bottom: 40px;
	max-width: 420px;
}

@media screen and (max-width: 768px) {
	.error-404__code { font-size: 120px; }
	.error-404__title { font-size: 28px; }
	.error-404__subtitle { font-size: 16px; }
	.error-404__inner { padding-top: 100px; padding-bottom: 60px; }
}

/* ── Post category tags — row via wrapper ───────────────────────────── */
.tags-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px;
}

/* ── Share popup ─────────────────────────────────────────────────────── */
.share-popup {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.share-popup__panel {
	display: none;
	position: absolute;
	bottom: calc(100% + 10px);
	right: 0;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0,0,0,.12);
	padding: 12px 16px;
	gap: 14px;
	align-items: center;
	white-space: nowrap;
	z-index: 100;
}
.share-popup__panel.open {
	display: flex;
}
.share-popup__panel .addtoany_shortcode,
.share-popup__panel .a2a_kit {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}
.share-popup__link img,
.share-popup__copy svg {
	width: 22px;
	height: 22px;
	display: block;
}
.share-popup__link {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity .2s;
}
.share-popup__link:hover { opacity: .7; }
.share-popup__copy {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #7a7067;
	transition: color .2s;
}
.share-popup__copy:hover { color: #c9a97e; }
.share-popup__copy.copied { color: #4caf50; }

.post-body__wrap-share {
	position: relative;
}
.wpcf7{
	width: 100%;
}
.wpcf7-response-output {
	text-align: right;
	border: none !important;
}