/*
Theme Name: Proj1
Author: Proj1
Author URI: 
Theme URI: 
Tags: full-site-editing, block-patterns
Text Domain: proj1
Requires at least: 6.4
Requires PHP: 7.4
Tested up to: 6.4
Version: 100.0

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Styles intended only for the front.*/
[x-cloak] {
	display: none !important;
}

html {
	scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {

	html {
		scroll-behavior: auto;
	}
}

body {
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	background: #f9fafb;
	color: #111827;
}

#wp-comment-cookies-consent {
	width: 24px;
	height: 24px;
	min-width: 24px;
	vertical-align: middle;
}

.ux-target-28 {
	min-height: 28px;
}

.ux-target-36 {
	min-height: 36px;
}

.model-card-actionbar {
	position: relative;
	z-index: 20;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.model-card-actionbar--single,
.model-card-actionbar--stacked {
	grid-template-columns: minmax(0, 1fr);
}

.model-card-action-btn {
	position: relative;
	z-index: 20;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 12px 14px;
	border-radius: 16px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.model-card-action-btn:hover {
	transform: translateY(-1px);
	opacity: 0.96;
	color: #fff;
}

.model-card-action-btn--a {
	background: linear-gradient(135deg, #29a8eb 0%, #1d8fc7 100%);
}

.model-card-action-btn--b {
	background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
}

.model-card-action-btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	fill: currentColor;
}

.model-card-list .model-card-actionbar {
	gap: 8px;
}

.model-card-list .model-card-action-btn {
	min-height: 38px;
	height: 38px;
	padding: 0 14px;
	border-radius: 13px;
	font-size: 12px;
}

.model-card-list .model-card-action-btn svg {
	width: 14px;
	height: 14px;
}

@media (max-width: 767px) {
	#masthead .h-\[60px\] > a.min-w-0.shrink {
		align-items: center;
		display: flex;
		min-height: 44px;
	}

	#masthead .h-\[60px\] > .relative button,
	#masthead a[href="/login/"],
	#burger-btn {
		min-height: 44px;
	}

	#burger-btn {
		height: 44px;
		width: 44px;
	}

	.sort-btn,
	#open-sidebar-filter,
	.model-card-action-btn {
		align-items: center;
		display: inline-flex;
		justify-content: center;
		min-height: 44px;
	}
}

nav[aria-label="Хлебные крошки"] a.flex.items-center.gap-1,
nav[aria-label="Хлебные крошки"] span.flex.items-center.gap-1 {
	min-height: 44px;
	min-width: 44px;
}

.content-prose,
.seo-block {
	color: #4b5563;
	font-size: 1rem;
	line-height: 1.75;
}

.seo-block {
	background: transparent;
	padding: 0;
	margin: 0;
	font-family: inherit;
}

.homepage-seo-block {
	max-width: 1000px;
	margin: 24px auto 0;
	padding: 32px;
	line-height: 1.75;
	color: #2b2733;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.homepage-seo-block h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 28px 0 14px;
	color: #17111f;
	border-left: 3px solid #fe4365;
	padding-left: 14px;
	line-height: 1.3;
}

.homepage-seo-block h2:first-child {
	margin-top: 0;
}

.homepage-seo-block h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 22px 0 10px;
	color: #17111f;
}

.homepage-seo-block p {
	margin: 0 0 14px;
	font-size: 17px;
	line-height: 1.75;
}

.homepage-seo-block ul,
.homepage-seo-block ol {
	margin: 0 0 16px 24px;
}

.homepage-seo-block li {
	margin: 6px 0;
}

.homepage-seo-block strong,
.homepage-seo-block b {
	color: #17111f;
}

.homepage-seo-block a {
	color: #fe4365;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.homepage-seo-block a:hover {
	color: #e63555;
}

.homepage-seo-block .table-container {
	margin: 20px 0;
	overflow-x: auto;
}

.homepage-seo-block table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.homepage-seo-block td,
.homepage-seo-block th {
	border: 1px solid #e5e7eb;
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
}

.homepage-seo-block .table-header td,
.homepage-seo-block th {
	background: #f3f4f6;
	color: #17111f;
	font-weight: 700;
}

.homepage-seo-block tr:nth-child(even) td {
	background: #fcfcfc;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose {
	max-width: 1000px;
	margin: 24px auto 0;
	padding: 32px;
	line-height: 1.75;
	color: #2b2733;
	background: #fff;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 28px 0 14px;
	color: #17111f;
	border-left: 3px solid #fe4365;
	padding-left: 14px;
	line-height: 1.3;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose h2:first-child {
	margin-top: 0;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose h3 {
	font-size: 18px;
	font-weight: 700;
	margin: 22px 0 10px;
	color: #17111f;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose p {
	margin: 0 0 14px;
	font-size: 17px;
	line-height: 1.75;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose ul,
body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose ol {
	margin: 0 0 16px 24px;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose li {
	margin: 6px 0;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose strong,
body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose b {
	color: #17111f;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose a {
	color: #fe4365;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose a:hover {
	color: #e63555;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose .table-container {
	margin: 20px 0;
	overflow-x: auto;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	background: #fff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose td,
body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose th {
	border: 1px solid #e5e7eb;
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose .table-header td,
body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose th {
	background: #f3f4f6;
	color: #17111f;
	font-weight: 700;
}

body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose tr:nth-child(even) td {
	background: #fcfcfc;
}

.content-prose > :first-child,
.seo-block > :first-child {
	margin-top: 0;
}

.content-prose > :last-child,
.seo-block > :last-child {
	margin-bottom: 0;
}

/*
 * Semantic UI lists:
 * these wrappers are layout containers, not content prose lists.
 * Keep semantic tags without inheriting browser/default list rendering.
 */
#masthead ul,
#masthead ol,
#sidebar-filter ul,
#sidebar-filter ol,
#profile-tabs ul,
#blog-list,
#models-grid,
#gallery-grid,
.vip-carousel__track,
.model-card-chip-row,
.model-card-extra-grid,
nav[aria-label="Хлебные крошки"] ol,
footer nav[aria-label="Footer navigation"] ul,
address ul,
#apply-form ul,
#form-register ul,
#form-login ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#masthead li,
#sidebar-filter li,
#profile-tabs li,
#blog-list li,
#models-grid li,
#gallery-grid li,
.vip-carousel__track > li,
.model-card-chip-row > li,
.model-card-extra-grid > li,
nav[aria-label="Хлебные крошки"] li,
footer nav[aria-label="Footer navigation"] li,
address li,
#apply-form li,
#form-register li,
#form-login li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.content-prose h1,
.content-prose h2,
.content-prose h3,
.content-prose h4,
.seo-block h1,
.seo-block h2,
.seo-block h3,
.seo-block h4 {
	color: #111827;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.02em;
	margin-bottom: 1rem;
}

.content-prose h1,
.seo-block h1 {
	font-size: 1.875rem;
	margin-top: 0;
}


.home-hero {
	padding-top: 0.25rem;
	padding-bottom: 0.25rem;
}

.home-hero__content h1 {
	overflow-wrap: anywhere;
	word-break: normal;
}

.content-prose h2,
.seo-block h2 {
	font-size: 1.5rem;
	margin-top: 2.5rem;
}

.content-prose h3,
.seo-block h3 {
	font-size: 1.25rem;
	margin-top: 2rem;
}

.content-prose h4,
.seo-block h4 {
	font-size: 1.125rem;
	margin-top: 1.5rem;
}

.content-prose p,
.content-prose ul,
.content-prose ol,
.content-prose blockquote,
.content-prose figure,
.content-prose table,
.seo-block p,
.seo-block ul,
.seo-block ol,
.seo-block blockquote,
.seo-block figure,
.seo-block table {
	margin: 0 0 1.25rem;
}

.content-prose ul,
.seo-block ul {
	list-style: disc;
	padding-left: 1.5rem;
}

.content-prose ol,
.seo-block ol {
	list-style: decimal;
	padding-left: 1.5rem;
}

.content-prose li,
.seo-block li {
	margin-bottom: 0.5rem;
}

.content-prose li:last-child,
.seo-block li:last-child {
	margin-bottom: 0;
}

.content-prose a,
.seo-block a {
	color: #fe4365;
	text-decoration: underline;
	text-decoration-color: rgba(254, 67, 101, 0.35);
	text-underline-offset: 0.2em;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.content-prose a:hover,
.seo-block a:hover {
	color: #e63555;
	text-decoration-color: rgba(230, 53, 85, 0.65);
}

.content-prose strong,
.content-prose b,
.seo-block strong,
.seo-block b {
	color: #111827;
	font-weight: 700;
}

.content-prose em,
.seo-block em {
	color: #374151;
}

.content-prose blockquote,
.seo-block blockquote {
	border-left: 4px solid #fe4365;
	padding-left: 1rem;
	color: #374151;
}

.content-prose img,
.seo-block img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 1rem;
}

.content-prose figcaption,
.seo-block figcaption {
	margin-top: 0.75rem;
	color: #6b7280;
	font-size: 0.875rem;
}

.content-prose hr,
.seo-block hr {
	border: 0;
	border-top: 1px solid #e5e7eb;
	margin: 2rem 0;
}

.content-prose,
.seo-block,
.homepage-seo-block {
	max-width: 100%;
	overflow-x: clip;
}

.content-prose table,
.seo-block table {
	width: 100%;
	border-collapse: collapse;
}

.content-prose th,
.content-prose td,
.seo-block th,
.seo-block td {
	border: 1px solid #e5e7eb;
	padding: 0.75rem 1rem;
	text-align: left;
	vertical-align: top;
}

.content-prose th,
.seo-block th {
	color: #111827;
	font-weight: 600;
	background: #f9fafb;
}

.seo-block .seo-block__title,
.seo-block .seo-block__heading,
.seo-block .seo-block__faq-question {
	color: #111827;
	font-weight: 700;
	letter-spacing: -0.02em;
	border-left: 0;
	padding-left: 0;
}

.seo-block .seo-block__title {
	font-size: 1.5rem;
	margin: 0 0 1rem;
}

.seo-block .seo-block__heading {
	font-size: 1.25rem;
	margin: 2rem 0 1rem;
}

.seo-block .seo-block__faq-question {
	font-size: 1.125rem;
	margin: 1.5rem 0 0.75rem;
}

.seo-block .seo-block__text,
.seo-block .seo-block__faq-answer,
.seo-block .seo-block__list,
.seo-block .seo-block__geo {
	margin-bottom: 1.25rem;
}

.seo-block .seo-block__text--center {
	color: #4b5563;
	font-style: normal;
	margin: 1.5rem 0 0;
}

.seo-block .seo-block__strong,
.seo-block .seo-block__highlight,
.seo-block .seo-block__geo-label {
	color: #111827;
	font-weight: 700;
}

.seo-block .seo-block__list {
	padding-left: 0;
	list-style: none;
}

.seo-block .seo-block__list-item {
	color: #4b5563;
	margin-bottom: 0.5rem;
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.seo-block .seo-block__list-item--dot {
	color: #fe4365;
	font-weight: 700;
	line-height: 1.75;
}

.seo-block .seo-block__ul {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
	list-style: disc;
}

.seo-block .seo-block__ul li {
	margin-bottom: 0.5rem;
}

.seo-block .seo-block__geo {
	background: transparent;
	border: 0;
	border-radius: 0;
	padding: 0;
}

.seo-block .seo-block__faq {
	border-top: 1px solid #e5e7eb;
	padding-top: 1.5rem;
}

@media (max-width: 640px) {
	html,
	body,
	body.home,
	body.home main,
	body.home footer {
		max-width: 100%;
		overflow-x: clip;
	}

	body.home .vip-carousel,
	body.home .vip-carousel__inner,
	body.home .vip-carousel__viewport,
	body.home .homepage-seo-block,
	body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 {
		max-width: 100%;
		overflow-x: clip;
	}

	.content-prose table,
	.seo-block table,
	.homepage-seo-block table,
	body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		width: max-content;
		max-width: 100%;
		min-width: 640px;
	}

	.homepage-seo-block {
		padding: 20px 16px;
		margin: 16px 8px 0;
		border-radius: 12px;
	}

	.homepage-seo-block h2 {
		font-size: 19px;
	}

	body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose {
		padding: 20px 16px;
		margin: 16px 8px 0;
		border-radius: 12px;
	}

	body.home main > div.max-w-\[1300px\].mx-auto.px-2.max-sm\:px-4 > .content-prose h2 {
		font-size: 19px;
	}

	.content-prose h1,
	.seo-block h1 {
		font-size: 1.5rem;
		line-height: 1.16;
		margin-bottom: 0.75rem;
	}

	body.home .home-hero {
		margin-top: 0;
		padding-left: 14px;
		padding-right: 14px;
	}

	body.home .home-hero__content {
		font-size: 0.95rem;
		line-height: 1.55;
	}

	body.home .home-hero__content p {
		margin-bottom: 0.75rem;
	}

	body.home .home-hero__intro .leading-relaxed {
		line-height: 1.55;
	}

	.content-prose h2,
	.seo-block h2 {
		font-size: 1.375rem;
	}

	.content-prose h3,
	.seo-block h3 {
		font-size: 1.125rem;
	}
}

#masthead {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #000;
	color: #fff;
	overflow-x: clip;
}

#site-navigation {
	max-width: 1300px;
	margin: 0 auto;
	padding: 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-width: 0;
}

#masthead ul,
#masthead ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

#masthead li {
	list-style: none;
	margin: 0;
	padding: 0;
}

#desktop-nav {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

#desktop-nav > li {
	flex: 0 0 auto;
}

#site-navigation a,
#site-navigation button,
#mobile-menu a,
#mobile-menu button {
	font: inherit;
}

#site-navigation img,
#mobile-menu img,
#masthead img {
	display: block;
	height: auto;
	max-height: 40px;
	width: auto;
	max-width: 160px;
}

#masthead svg,
#site-navigation svg,
#mobile-menu svg,
#sidebar-filter svg {
	display: inline-block;
	flex-shrink: 0;
	max-width: 18px;
	max-height: 18px;
	width: 18px;
	height: 18px;
	vertical-align: middle;
}

#desktop-nav > li > a,
#desktop-nav > li > button,
#site-navigation > div > button,
#mobile-menu a,
#mobile-menu button {
	border-radius: 10px;
}
