/*
Theme Name: Jennifer Agadzhanov 2026
Description: Custom Theme for Jennifer Agadzhanov
Theme URI: https://localwebhub.com
Version: 1.0.49
Author: Dmitriy Agadzhanov
Author URI: https://localwebhub.com
*/

/* 
add font family to reset.min.css
*/

:root {
	--theme-menu-height: 59px;
	--theme-content-width: 1400px;
	--theme-content-narrow-width: 1000px;
	--theme-content-padding: 15px;
	--theme-black: #333333;
	--theme-pink: #E91E63;
	
	/* Responsive spacing - override WordPress preset spacing */
	--wp--preset--spacing--small: 15px;
	--wp--preset--spacing--medium: 30px;
	--wp--preset--spacing--large: 60px;
	--wp--preset--spacing--x-large: 90px;

	/* PHPC palette (PR 1 — see HANDOFF.md §1.1) */
	--cream:        #FAF7F3;
	--cream-deep:   #F2EBDF;
	--paper:        #FFFFFF;
	--ink:          #1A1A1A;
	--fg-1:         #555555;
	--fg-2:         #8A867F;
	--border:       #E8E3DB;
	--signal:       var(--theme-pink);

	/* PHPC type families */
	--ff-display:   'Playfair Display', Georgia, serif;
	--ff-sans:      'Inter', system-ui, -apple-system, sans-serif;

	/* PHPC type scale (clamp-based, mobile-first) */
	--fs-eyebrow:   10px;
	--fs-body:      clamp(15px, 1.05vw, 17px);
	--fs-h3:        clamp(22px, 2.2vw, 32px);
	--fs-h2:        clamp(32px, 4vw, 56px);
	--fs-h1:        clamp(44px, 6.5vw, 88px);

	/* PHPC tracking */
	--track-eyebrow: 0.32em;
	--track-tight-1: -0.01em;
	--track-tight-2: -0.015em;

	/* PHPC motion */
	--dur-fast:     150ms;
	--dur-std:      200ms;
	--ease-editorial: cubic-bezier(0.25, 0.1, 0.25, 1);
}

@media (min-width: 992px) {
	:root {
		--theme-menu-height: 69px;
		--theme-content-padding: 30px;
		
		/* Desktop spacing - override WordPress preset spacing */
		--wp--preset--spacing--small: 30px;
		--wp--preset--spacing--medium: 60px;
		--wp--preset--spacing--large: 90px;
		--wp--preset--spacing--x-large: 120px;		
	}
}

html {
	scroll-behavior: smooth;
}

.acf-block-preview,
body:not(.wp-admin) {
	font-family: var(--ff-sans);
	font-size: var(--fs-body);
	line-height: 1.6;
	color: var(--ink);
	background: var(--cream);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

/* PHPC base type — PR 1 (see HANDOFF.md §1.3) */
h1, h2, h3 {
	font-family: var(--ff-display);
	font-weight: 500;
	letter-spacing: var(--track-tight-2);
	text-wrap: balance;
}

h1 i, h2 i, h3 i {
	color: var(--signal);
	font-style: italic;
	font-weight: inherit;
}

.theme-eyebrow {
	font-family: var(--ff-sans);
	font-weight: 800;
	font-size: var(--fs-eyebrow);
	letter-spacing: var(--track-eyebrow);
	text-transform: uppercase;
	color: var(--signal);
}

body:not(.wp-admin) [id] {
	scroll-margin-top: var(--theme-menu-height);
}

.theme-container {
	max-width: var(--theme-content-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--theme-content-padding);
	padding-right: var(--theme-content-padding);
}

.theme-container.narrow-mod {
	max-width: var(--theme-content-narrow-width);
}

.theme-row {
	display: flex;
	flex-wrap: wrap;
	margin-right: calc(-1 * var(--theme-content-padding));
	margin-left: calc(-1 * var(--theme-content-padding));
}

.theme-row > * {
	flex-shrink: 0;
	width: 100%;
	max-width: 100%;
	padding-right: var(--theme-content-padding);
	padding-left: var(--theme-content-padding);
	gap: var(--theme-content-padding);
}

@media (min-width: 992px) {
	.theme-col-lg {
		flex: 1 0 0%;
	}

	.theme-col-lg-auto {
		flex: 0 0 auto;
		width: auto;
	}

    .theme-lg-two-col {
		flex: 1 1 calc((100% - (calc(var(--theme-content-padding)) * 1)) / 2);
    }

	.theme-lg-three-col {
       flex: 1 1 calc((100% - (calc(var(--theme-content-padding)) * 2)) / 3);
    }

    .theme-lg-four-col {
       flex: 1 1 calc((100% - (calc(var(--theme-content-padding)) * 3)) / 4);
    }
	
}

.object-fit-cover > img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.object-fit-contain > img {
	height: 100%;
	width: 100%;	
	object-fit: contain;
}

.alignleft,
.alignright,
.aligncenter {
	display: block;
	margin: 0 auto 30px auto;
}

@media (min-width:768px) {
	.alignleft {
		margin: 0 20px 20px 0;
		float: left;
	}

	.alignright {
		float: right;
		margin: 0 0 20px 20px;
	}
}

.article img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: polygon(0px 0px, 0px 0px,0px 0px, 0px 0px);
	position: absolute !important;
	white-space: nowrap;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

@media (max-width: 575px) {
	.sm-ignore-br br {
		display: none;
	}
}

@media (max-width: 767px) {
	.md-ignore-br br {
		display: none;
	}
}

@media (max-width: 991px) {
	.lg-ignore-br br {
		display: none;
	}
}

.acf-block-preview * {
	box-sizing: border-box;
}

.acf-block-preview > section,
.acf-block-preview > div {
	font-size: 12px;
	border: 1px solid #ccc;
	min-height: 50px;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.acf-block-preview > div:before,
.acf-block-preview > section:before {
	content: attr(data-blockname);
	position: absolute;
	top: 0;
	left: 0;
	padding: 2px;
	font-size: .875rem;
	background: #ccc;
	color: var(--theme-black);
	z-index: 4;
}

.slick-slide img.lazyloading {
	opacity: 1;
}

/* .slick-track{
	display: flex !important;
}

.slick-slide {
	display: flex !important;
	height: auto;
} */

.slick-track {
	display: flex;
}

.slick-initialized .slick-slide {
    display: flex;
	flex-direction: column;
	height: auto;
}

.slick-initialized .slick-slide > div {
	flex-grow: 1;
}

.vimeo--video[data-fill="1"] {
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;	
}

.vimeo--video[data-fill="1"] iframe {
	position: absolute;
}

.has-fixed-background {
	background-attachment: fixed;
}

@supports (-webkit-overflow-scrolling: touch) {
	.has-fixed-background {
		background-attachment: scroll; 
	}
}

@media (prefers-reduced-motion: reduce) {
	.has-fixed-background {
		background-attachment: scroll; 
	}
}

.grecaptcha-badge{
	visibility: collapse !important;
}

.recaptcha--terms {
	font-size: .6rem;
}

.single-post--content-width > [data-blockname], 
.single-post--content-width > .alignfull {
	margin-left: -15px;
	margin-right: -15px;
}

@media (min-width: 780px) {
	.single-post--content-width > [data-blockname],
	.single-post--content-width > .alignfull {
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - ((100vw - var(--scrollbar-width)) / 2));
		margin-right: calc(50% - ((100vw - var(--scrollbar-width)) / 2));
	}
}

.main--section > p,
.main--section > .wp-block-heading,
.main--section > .wp-block-list {
	max-width: 900px;
	margin: 0 auto 1em;
	padding: 0 30px;
}

.main--section > .wp-block-list {
	padding-left: calc(30px + 1em);
}

.h1 {
	font-weight: 300;
	line-height: 1.1em;
}

.h2 {
	text-transform: uppercase;
	font-weight: 400;
	font-size: 2rem;
}

.theme-label {
	text-transform: uppercase;
	font-weight: 300;
	letter-spacing: 0.05em;
	font-size: 1.125rem;
}

@media (min-width: 992px) {
	.h2 {
		font-size: 2.5rem;
	}
}
