/*!
Theme Name: Karpovka19
Author: c-mit
Author URI: https://c-mit.ru/
Description: Тема оформления сайта. Написана специально для Международного Психоаналитического Центра Семьи
Version: 1.0.0
Text Domain: karpovka19
*/

:root {
	--color-accent: #114592;
	--color-accent-2: #BC011E;
	--color-bg-gray: #F2F0F6;
	--color-black: #000; 

	--font-small: 14px;
}

@font-face {
	src: url(assets/fonts/GothamProBlack.ttf);
	font-family: Black;
}

@font-face {
	src: url(assets/fonts/GothamProBold.ttf);
	font-family: Bold;
}

@font-face {
	src: url(assets/fonts/GothamProLight.ttf);
	font-family: Light;
}

@font-face {
	src: url(assets/fonts/GothamProMedium.ttf);
	font-family: Medium;
}

@font-face {
	src: url(assets/fonts/GothamProRegular.ttf);
	font-family: Regular;
}

body {
    height: 100vh;
	width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0 auto;
	font-family: Regular, Arial, "Helvetica Neue", Helvetica, sans-serif;
    /* color: var(--color-text); */
    /* background-color: var(--color-white); */
    line-height: 1.1;
	--max-size-w: 1320px;
}

img {
	/* width: 100%; */
	height: auto;
	max-width: 100%;
	border-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: Bold, Arial, "Helvetica Neue", Helvetica, sans-serif;
	clear: both;
	text-transform: uppercase;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

p {
	margin-bottom: 1em;
}

.custom-quote,
blockquote:not(.custom-quote):not(.wp-block-pullquote):not(.wp-block-quote) {
position: relative;
margin: 2.5rem 0;
padding: 1.8rem 2rem 1.5rem 2.8rem;
background: var(--color-bg-gray);
border-left: 4px solid var(--color-accent);
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.custom-quote::before,
blockquote:not(.custom-quote):not(.wp-block-pullquote):not(.wp-block-quote)::before {
content: "“";
position: absolute;
top: 0.4rem;
left: 0.6rem;
font-size: 4.5rem;
line-height: 1;
color: var(--color-accent-2);
opacity: 0.2;
}

.custom-quote__text {
display: block;
font-style: italic;
margin-bottom: 1rem;
color: black;
}

.custom-quote__author {
display: block;
text-align: right;
font-style: normal;
letter-spacing: 0.02em;
margin-top: 0.5rem;
color: black;
}
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
	margin: 0 2.5% 2.992em 0;
}
 .woocommerce ul.products li.product a.woocommerce-loop-product__link {
	color: black;
 }
 .woocommerce ul.products li.product a.woocommerce-loop-product__link :hover {
	color: var(--color-accent-2);
}

.trainers{
	display: flex;
	flex-direction: column;
}

@media (min-width: 768px){
.side {
	width: 50%;
}
.trainers{
	display: flex;
	flex-direction: row;
}
}
.article_photo{
	position: relative;
  width: 100%;
  aspect-ratio: 2/1;
  overflow: hidden;
  margin-bottom: 14px;
  background: var(--color-bg-placeholder, #f0f0f0);
}

.wc-block-components-product-details__name, .wc-block-components-product-details__value  {
	display: none !important;
}
.wc-block-components-address-form__country.wc-block-components-country-input{
	display: none;
}
.wc-block-checkout__actions .wc-block-checkout__actions_row{
	width: 100% ;
}
.wp-block-woocommerce-empty-cart-block .wp-block-heading.has-text-align-center{
	
}
@media only screen and (min-width: 10px) {
	.mpwem_style button,
	div.mpwem_style [class*="_button"] { text-transform: inherit !important; }
}
div.mep-event-list-loop .mepev-ribbons {
	top: unset !important;
	bottom: 10px !important;
}
 .articles-pagination ul { display: flex; justify-content: center; list-style: none; padding: 0; gap: 5px; }
.articles-pagination li a, .articles-pagination li span { padding: 8px 12px; border: 1px solid #ddd; border-radius: 4px; text-decoration: none; color: #333; }
.articles-pagination li a:hover, .articles-pagination .current span { background: var(--color-accent); color: #fff; border-color: #0073aa; }
.ajax-loading { text-align: center; padding: 20px; display: none; }
.ajax-loading.active { display: block; color: #666; font-style: italic; }
.mep_event_grid_item{border: none !important; box-shadow: none !important;-webkit-box-shadow: none !important}
.mep_event_grid_item .mep_list_thumb { border-radius: 0 !important;}
.mep_event_grid_item:hover .mep_list_title {color: var(--color-accent-2)}
div.mpwem_style div.bg_image_area:hover [data-bg-image], div.mpwem_style [data-bg-image]:hover {
	-ms-transform: 0;
	 transform: 0;
	-webkit-transition:0;
	transition: 0;
}
h2.woocommerce-loop-product__title{
	text-transform: none;
}
div.mep_list_event_details .mep_list_title{
	font-size: 1em !important;
	line-height: 1.1 !important;
}
.mepev-ribbon.multidate{
	display: none;
}
.mep_event_grid_item.filter_item{
	display: block !important
}
div.mep-ev-start-date{
	border-radius: 0 !important;
}

.mpwem_registration_area .mpwem_booking_panel .mpwem_ticket_type .card-body .mep_ticket_item .ticket-data .ticket-info .ticket-remaining.remaining-high, .mpwem_registration_area .mpwem_booking_panel .mpwem_ex_service .card-body .mep_ticket_item .ticket-data .ticket-info .ticket-remaining{
	display: none !important;
}
.mep_list_event_details a.event_details_link{
	margin-bottom: 0 !important;
}
.mepev-ribbon.ochno{
	background: turquoise !important;
}
.mepev-ribbon.online{ background: rgba(255, 255, 255, 0.667) !important; }
.default_theme h1.mpwem_tile{
	line-height: 1.1;
  font-size: 1.7em !important;
}
