/*!
Theme Name: DPTheme
Theme URI: http://underscores.me/
Author: Kristina
Author URI: http://underscores.me/
Description: Description
Version: 1.5.5
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: dptheme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

DPTheme is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* @font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/Montserrat.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: 'Caveat';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/Caveat.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
} */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400..700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
    
}
#page {
   overflow-x: hidden; 
}
#page.site > p {
    display: none;

}
section {
    clear: both;
}
/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
    /* max-width: 1340px; */
    /* padding: 0 20px; */
    margin: 0 auto;
    overflow-x: hidden;
}
.container {
    display: block;
    max-width: 1340px;
    padding: 0 20px;
    margin: 0 auto;
}
.caveat {
   font-family: 'Caveat'; 
}
/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
    color: inherit;
    text-decoration: none;
    transition: all .3s ease-in-out;
}
a:hover {
    color: var(--accent);
}
/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: 'Montserrat', "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #FFFFFF;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
/* a {
	color: #ffffff;
}

a:visited {
	color: #ffffff;
} */

 
a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	/* width: 100%; */
}

.main-navigation ul {
	display: flex;
    gap: 20px;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	/* box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2); */
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
    gap: 10px;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

/* .main-navigation ul ul a {
	width: 200px;
} */

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}
/* .main-navigation li.menu-item-has-children {
    padding-right: 20px;

} */
 .main-navigation li.menu-item-has-children > a{
  position: relative;
  padding-right: 20px
}
.main-navigation li.menu-item-has-children > a::after{
  content: "";
  position: absolute;
  right: 0;               
  top: 50%;
  width: 14px;              
  height: 14px;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease; 
  display: inline-block;

  background-image: url("/wp-content/themes/dptheme/assets/img/icon/ArrowDown.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.main-navigation li.menu-item-has-children:hover > a::after,
.main-navigation li.menu-item-has-children:focus-within > a::after{
  transform: translateY(-50%) rotate(180deg);
}
.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.hamburger span {
    width: 30px;
    height: 2px;
    background-color: #000000;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 99;
}
.overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile_menu {
        position: fixed;
        top: 80px;
        right: -100%;
        background-color: #f5f5f5;
        transition: all 0.4s ease;
        gap: 0;
        padding: 1rem 0;
        height: 100vh;
        opacity: 0;
        visibility: hidden;
            z-index: 100;
}
.mobile_menu.active {
    right: 0;
    opacity: 1;
    visibility: visible;
    overflow-y: scroll;
    height: calc(100vh - 80px);
}
.body-locked {
    overflow: hidden;
    position: fixed;
    width: 100vw;
}
.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
/* ================================== */
/* Стили шаблона */
/* ================================== */


:root {
    --color-main: #1c2132;
    --color-text: #343A40;
    --color-muted: #5b5f73;
    --color-bg: #f8f8f8;
    --color-border: #dde2eb;
    --accent: #931D22;

    --radius: 10px;
    --radius-big: 30px;
    --radius-small: 8px;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.06);

    --footer-bg: #fff;
    --footer-text: #2a2a2a;
    --footer-muted: #6b6b6b;
    --footer-line: #371819B2;

    --footer-accent: #8b1b1b;
    --footer-radius: 32px;

}


.btn {
    background-color: var(--accent);
    color: #fff;
    border-radius: var(--radius-small);
    padding: 10px 16px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    display: inline-block
}
.btn-outline {
    padding: 10px 16px;
    border: 1px solid var(--accent);
    border-radius: var(--radius-small);
    font-size: 16px;
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
    transition: all .3s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    font-weight: 600;
    background: transparent; 
    width: max-content;
}
.btn-outline:hover,
.btn-outline.is-active {
    background: #FFFFFF;
    border: 1px solid #F6F9FC;
}
.btn-medium {
    font-size: 16px;
    padding: 16px 24px;
}
.btn-small {
    font-size: 14px;
    padding: 10px 14px;
}
.btn-block {
    display: block;
    width: max-content;
    margin-top: 20px;
}
.btn:hover {
    background: #371819;
    color: #fff;
}
.entry-title {
    display: none;
    visibility: hidden;
    opacity: 0;
}
.header_callback {
    white-space: nowrap;
}
.header_callback-mobile {
    display: none;
}
/* Общий контейнер для секций на главной */
.site-main section {
    /* max-width: 1200px; */
    /* margin: 70px auto; */
    /* padding: 0 20px; */
    clear: inline-start;
}
.breadcrumbs_wrapper {
    background: #F6F5F4;
    padding: 20px 0;
}
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #371819;
}

.single-page {
    padding-top: 40px;
}
/* Блок Первый экран на главной */
.first_screen {
    width: 100%;
    height: calc(100vh - 106px);
    background-repeat: no-repeat;
    background-size: cover;
}
.first_screen > .container {
    height: inherit;
}
.first_screen__inner {
    display: flex;
    padding-bottom: 65px;
    height: inherit;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.first_screen_info {
    color: #F2EFEC;
    border: 0.5px solid #F3F2F199;
    border-radius: var(--radius);
    display: flex;
    flex-wrap: wrap;
}
.first_screen_info__title {
    font-size: 40px;
    font-weight: 500;
    padding: 28px 13px;
    line-height: 1;
    border-bottom: 0.5px solid #F3F2F199;
    width: 100%;
    margin: 0;
}
.first_screen_info_left {
    border-right: 0.5px solid #F3F2F199;
    padding: 40px 16px 20px 40px;
    display: flex;
    flex-direction: column;
    width: 45%;
    gap: 16px;
    font-size: 18px;
}
.first_screen_info_left__btn {
    display: flex;
    align-items: center;
    gap: 12px;
}
.first_screen_info_left__btn svg path {
    transition: all .3s ease-in-out;
}
.first_screen_info_left__btn:hover svg path {
    fill: var(--accent);
}
.first_screen_info_right {
    padding: 40px 16px 20px 40px;
    display: flex;
    flex-direction: column; 
    justify-content: space-between;
    font-size: 18px;
}
.first_screen_info_right__text {
    margin: 0;
    padding-left: 16px;
}
.first_screen_form {
    padding: 28px 50px;
    border: 0.5px solid #F3F2F199;
    background: #ffffff01;
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    color: #F2EFEC;
    min-width: 500px;
}
.first_screen_form__title {
    font-size: 24px;
    color: #F2EFEC;
    margin-bottom: 5px;
    line-height: 1;
    font-weight: 500;
    text-align: center;
}
.first_screen_form_des {
font-size: 16px;
text-align: center;
margin-bottom: 5px;
}
/* ================================
   БЛОК «УСЛУГИ» (services block)
================================== */

.block-services {
    width: 100%;
    padding: 80px 0 50px;
    background: #F6F5F4;
}
.post-type-archive .block-services {
      background: transparent;  
}
.post-type-archive .block-services__grid::before {
    background: #fff;
}
.post-type-archive .wave.hidden {
    display: none;
}
/* Заголовки блока — те же классы, что и у других блоков */
.block-services h2.block-services__title {
    font-size: 52px;
    margin: 0 0 12px;
    line-height: 1;
    text-align: center;
    font-weight: 700;
    color: #343A40;
}

.block-services .block-services__subtitle {
    margin: 0 auto 40px;
    font-size: 16px;
    color: #000000;
    text-align: center;
    font-weight: 400;
}

/* Сетка карточек услуг в блоке */
.block-services__grid,
.block-articles__grid {
    display: flex;
    gap: 24px;
    position: relative;
}
.block-services__grid::before {
      content: "";
  display: block;
    background: #F6F5F4;
    height: 100%;
    position: absolute;
    top: 0;
    left: -520px;
    width: 500px;
    z-index: 2;

}

/* Карточка услуги в блоке */
.block-services__card,
.block-articles__card {
    background: #ffffff;
    border-radius: var(--radius-big);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    width: 350px;
    transition: all .3s ease-in-out;
    height: 410px !important;
    justify-content: center;
}
.swiper-slide-active.block-services__card,
.swiper-slide-active.block-articles__card {
    height: 460px !important;
}
.block-services__card:hover,
.block-articles__card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

/* Картинка */
.block-services__thumb {
    display: block;
}

.block-services__thumb-img,
.block-articles__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}
.block-services__thumb-overlay {
    z-index: 2;
    width: 100%;
    height: 100%;
    position: absolute;
    background: #ffffff60;
    transition: all .3s ease-in-out;
    opacity: 1;
}
.swiper-slide-active .block-services__thumb-overlay {
    opacity: 0;
}
/* Контент */
.block-services__content,
.block-articles__content {
    padding: 10px 18px 22px;
    display: flex;
    flex-direction: column;
    z-index: 3;
    /* height: 100%; */
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.block-services__title,
.block-articles__title {
    font-size: 24px;
    margin: 0 0 25px;
    line-height: 1;
    text-align: center;
    font-weight: 700;
    color: #343A40;
}

.block-services__title a,
.block-articles__title a {
    color: #1c2132;
    text-decoration: none;
    transition: color 0.3s ease;
}

.block-services__title a:hover,
.block-articles__title a:hover  {
    color: var(--accent);
}

.block-services__excerpt,
.block-articles__excerpt {
    font-size: 16px;
    line-height: 20px;
    color: #343A40;
    margin-bottom: 35px;
    text-align: center;
    /* flex-grow: 1; */
}
.swiper-slide-active .block-services__title a,
.swiper-slide-active .block-services__excerpt {
    color: #fff;
}
.block-services .swiper-slide-active .btn-outline,
.block-articles .swiper-slide-active .btn-outline {
    background: #fff;
    color: var(--accent);
    border: 1px solid #Fff;
}
.block-services__desc {
    max-width: 870px;
    text-align: center;
    margin: 45px auto;
}
/* Низ карточки / кнопка */
.block-services__footer {
    /* margin-top: auto; */
}
.block-services__more-btn {
    text-align: center;
}

.services-slider,
.articles-slider {
  overflow: visible !important;
}
.services-slider .swiper-wrapper,
.articles-slider .swiper-wrapper {
    align-items: center;
}
.services-slider-nav{
  margin-top: 28px;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.slider-btn {
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}
.slider-btn.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}
.wave{
  display:block;   /* убирает нижний “зазор” как у inline-элементов */
  width:100%;
  height:auto;
}

.block-center,
.block-registration,
.block-registration,
.block-advantages,
.block-gallery,
.block-history-list,
.block-reviews,
.block-rates {
    margin-bottom: 80px;
}
/* ===============================
   О центре (.block-center)
================================= */



.center-cta {
    text-align: center;
    margin-top: 50px;
}
.center-tabs__nav {
    text-align: center;
    margin-bottom: 48px;
}
.center-tabs__tab {
    background: transparent;
    border: 2px solid transparent;
    color: var(--color-text);
    padding: 12px 18px;
    margin: 0 15px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-weight: 600;
}
.center-tabs__tab.is-active {
    border: 2px solid var(--accent);
    color: var(--accent);
}
.center-tab-card{
  display:grid;
  grid-template-columns: minmax(280px, 600px) 1fr;
  gap:48px;
  align-items:stretch;
}

.center-tab-card__image img{
  width:100%;
  height:100%;
  display:block;
  border-radius: var(--radius-big);
  object-fit:cover;
}
.center-tab-card__title {
    font-weight: 700;
    font-size: 28px;
    line-height: 1;
    margin: 0 0 25px;
    color: var(--color-text);
}
.center-tab-card__subtitle {
    font-weight: 400;
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 48px;
}

.dir-points{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.dir-point__icon{
  position: relative;
  width: 101px;
  height: 99px;
  margin-bottom: 25px;
}

.dir-point__img{
  width: 100%;
  height: 100%;
  display:block;
}

.dir-point__num{
  position:absolute;
  top:50%;
  left: 45%;
  transform: translate(-50%, -52%);
  font-size: 64px;
  line-height: 1;
  font-weight: 400;
  color: var(--accent);
}

.dir-point__title{
  margin: 0 0 25px;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
color: var(--color-text);
}

.dir-point__text{
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-text);
  max-width: 420px;
}





/* Единый стиль заголовков секций */
.block-title,
.block-registration__title,
.block-advantages__title,
.block-timeline__title,
.block-gallery__title,
.block-reviews__title,
.block-history-list__title {
    font-size: 52px;
    margin: 0 0 12px;
    line-height: 1;
    text-align: center;
    font-weight: 700;
    color: #343A40;
    font-family: 'Caveat';
}

/* Подзаголовки */
.block-subtitle,
.block-registration__subtitle,
.block-advantages__subtitle,
.block-timeline__subtitle,
.block-gallery__subtitle {
    margin: 0 auto 40px;
    font-size: 16px;
    color: #000000;
    text-align: center;
    font-weight: 400;
}




/* ===============================
   Порядок оформления (.block-registration)
================================= */

.block-registration {
    text-align: center;
}

.block-registration__list {
    margin: 0;
    padding-left: 0;
    text-align: left;
    counter-reset: reg-counter;
    
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto); /* 6 элементов / 2 колонки = 3 строки */
    grid-auto-flow: column;  
    column-gap: 200px;          /* расстояние между колонками */
    row-gap: 28px; 
}

.block-registration__item {
    list-style: none;
    position: relative;
     margin: 0;
    padding: 0 0 44px 0;
    border-bottom: 1px solid #371819B2;
    font-size: 18px;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}
.block-registration__item:nth-child(3),
.block-registration__item:nth-child(6) {
    border-bottom: none;
}
.block-registration__item::before {
    counter-increment: reg-counter;
    content: counter(reg-counter, decimal-leading-zero);

    font-family: 'Caveat';
    color: var(--accent);
    font-size: 36px;
    font-weight: 600;
    line-height: 1;
}

.block-registration__cta {
    margin-top: 48px;
}

/* ===============================
   Блок сотрудников (.block-staff)
================================= */

.block-staff {
    text-align: center;
    padding: 96px 0;
    background: #B6B2A61F;
}


.staff-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 20px 26px;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.staff-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    display: block;
}

.staff-name {
    font-size: 18px;
    margin: 0 0 4px;
    color: var(--color-main);
}

.staff-post {
    font-size: 14px;
    color: var(--accent);
    margin-bottom: 10px;
}

.staff-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-muted);
}

.staff-tabs__nav{
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.staff-tabs__tab{
background: transparent;
    border: 2px solid transparent;
    color: var(--color-text);
    padding: 12px 18px;
    /* margin: 0 15px; */
    border-radius: var(--radius);
    cursor: pointer;
    transition: all .3s 
ease-in-out;
    font-weight: 600;
}

.staff-tabs__tab.is-active{
    border: 2px solid var(--accent);
    color: var(--accent);
}

.staff-list{
  display: grid;
  gap: 48px;

}

.staff-row{
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 48px;
  align-items: start;
}

.staff-row__photo{
  width: 100%;
  aspect-ratio: 1 / 1;       /* чтобы фото было квадратным */
  object-fit: cover;         /* красиво обрезает */
  border-radius: 25px;
  background: #fff;
  order: -1;
}

.staff-row__name{
  margin: 26px 0 16px;
  font-size: 18px;
  line-height: 20px;
  text-align: left;
  font-weight: bold;
}

.staff-row__desc{
  font-size: 18px;
  line-height: 20px;
    text-align: left;      
}
.staff__btn {
    margin-top: 48px;
}




/* ===============================
   Преимущества (.block-advantages)
================================= */

/* .block-advantages {
    padding: 0 0 90px;
} */

.block-advantages__content{
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 300px;
    align-items: center;
    min-height: 536px;
    justify-items: center;
}

.block-advantages__content::before{
    content: "";
    position: absolute;
    width: 536px;
    height: 536px;
    pointer-events: none;
    z-index: 0;

    background-image:
        radial-gradient(circle at 50% 55%, rgba(255,255,255,0) 0 34%, #fff 62%),
        url("/wp-content/uploads/2026/01/2fd6c4ad275f8cec4f65c1b5ebb9ac5c51bc3042-scaled.jpg");

    background-position: center, center;
    background-size: 100% 100%, contain;   /* градиент на весь блок, фото contain */
    background-repeat: no-repeat, no-repeat;
}

.block-advantages__item {
    width: 270px;
}
.block-advantages__col{
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  row-gap: 40px;
}
.block-advantages__item-title {
    font-size: 52px;
    font-weight: 500;
    font-family: 'Caveat';
    color: var(--accent);
    line-height: 1;
    white-space: nowrap;
}

/* ===============================
   Промо-блок (.block-promo)
================================= */

.block-promo {
    padding: 0;
    margin-bottom: 90px;
}

.block-promo__inner,
.block-form-question__inner,
.block-form-excursion__inner,
.block-form-cost__inner {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 96px 24px;
}

/* .block-promo__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(10, 18, 40, 0.9), rgba(24, 47, 110, 0.8));
} */

.block-promo__content,
.block-form-question__content,
.block-form-excursion__content,
.block-form-cost__content {
    position: relative;
    max-width: calc(100% / 2);
    text-align: left;
    backdrop-filter: blur(20px);
    background: #FFFFFF26;
    padding: 48px;
    border-radius: var(--radius-big);
    float: right;
    overflow: hidden;
}
.block-promo__content::before,
.block-form-question__content::before,
.block-form-excursion__content::before,
.block-form-cost__content::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;                
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(to top,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,1) 22%,
      rgba(255,255,255,0) 70%,
      rgba(255,255,255,0) 100%),
    linear-gradient(to right,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.65) 18%,
      rgba(255,255,255,.65) 82%,
      rgba(255,255,255,0) 100%);

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.block-promo__title,
.block-form-question__title,
.block-form-excursion__title,
.block-form-cost__title {
    font-size: 24px;
    margin: 0 0 25px;

}

.block-promo__desc,
.block-form-question__subtitle,
.block-form-excursion__subtitle,
.block-form-cost__subtitle {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 35px;

}

.block-promo__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 34px 18px;
    align-items: center;
}

.block-promo__link {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.block-promo__link svg path {
transition: all .3s ease-in-out;
}
.block-promo__link:hover svg path {
    fill: var(--accent);
}


/* ===============================
   Блок цен (.block-rates)
================================= */

.block-rates {
    text-align: center;
    margin-bottom: 40px;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.rate-card {
    /* padding: 24px 20px 26px; */
    display: flex;
    flex-direction: column;
    height: 100%;
    /* border-bottom: 0.5px solid #37181999; */
}

.rate-title {
    font-size: 34px;
    margin: 0;
    line-height: 56px;
    font-family: 'Caveat';
    font-weight: 700;
    color: var(--accent);
}

.rate-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-main);
    /* margin-bottom: 28px; */
}

.rate-desc {
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text);
    line-height: 1;
    text-align: left;
}

.rate-desc ul {
    padding-left: 25px;
    margin: 0;
}

.rate-footer,
.rate-footer {
    margin-top: auto;
    text-align: center;
}

/* ===============================
   Тайминг дня (.block-timeline)
================================= */

.block-timeline {
    background: #F6F5F4;
    padding: 96px 0 60px;
}
.block-timeline__static {
    padding: 14px 20px;
    background: #fff;
    box-shadow: 0px 4px 12px 0px #371819B2;
    border-radius: var(--radius);
    margin-bottom: 60px;
}
.block-timeline__static__title {
    font-size: 20px;
    font-weight: 600;
}
.block-timeline__static__title.red {
color: var(--accent);
}
.block-timeline__accordion {
    position: relative;
}
.block-timeline__accordion-hr {
    height: 100%;
    position: absolute;
    left: 100px;
    width: 1px;
    background: var(--accent);
}
.block-timeline__static ul {
    margin: 18px 0 0;
    padding-left: 20px;
}
.block-timeline__grid{
  display:grid;
  grid-template-columns: 1fr 520px;
  gap: 40px;
  align-items:start;
}

.tl-item{
  display:grid;
  grid-template-columns: 72px 1fr;
  gap: 14px 75px;
  align-items:start;
  margin-bottom: 12px;
}
.tl-item:last-child {
    margin-bottom: 0;
}

.tl-trigger{
    all: unset;
    cursor: pointer;
    display:block;
    font-size: 22px;
    font-weight: 600;
    color:#343A40;
    width: 100%;
    padding: 14px;
}

.tl-panel[aria-hidden="true"]{ display:none; }
.tl-card:has(.tl-trigger[aria-expanded="true"]) {
  border-color: #931D22;
  box-shadow:
    0 0 5px  rgba(147, 29, 34, 0.6),
    0 0 15px rgba(147, 29, 34, 0.3),
    0 0 30px rgba(147, 29, 34, 0.1);
}
.tl-item:has(.tl-trigger[aria-expanded="true"]) .tl-time {
    color: #c5252b;
  text-shadow:
    0 0 4px rgba(147, 29, 34, 0.4),
    0 0 8px rgba(147, 29, 35, 0.281);
}
.block-timeline__photo img{
  width:100%;
  height:auto;
  border-radius:10px;
  display:block;
  object-fit:cover;
}

@media (max-width: 720px){
  .block-timeline__grid{ grid-template-columns: 1fr; }
}


.tl-time {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    transition: all .3s ease-in-out;

}
.tl-card {
    font-size: 16px;
    background: transparent;
    border-radius: var(--radius);
    border: 1px solid #37181933;
    /* padding: 14px 22px 14px; */
    position: relative;
    transition: all .3s ease-in-out;
}
.tl-card__marker {
    position: absolute;
    top: 18px;
    left: -30px;
}
.tl-title {
    font-size: 22px;
    font-weight: 600;
    margin:0;
    color: #343A40;
    line-height: 1;
        overflow: hidden;
}
.tl-panel {
    padding: 0 16px 16px 16px;
}

.tl-desc {
    font-size: 16px;
    color: #343A40;
}



/* Мобильная адаптация тайминга */
@media (max-width: 720px) {
    .block-timeline__item {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .block-timeline__item-image img {
        width: 100%;
        height: 180px;
    }
} */

/* ===============================
   Блок отзывов (.block-reviews)
================================= */

.block-reviews {
    padding: 80px 0 48px;
}

/* ----------------------------- */
/* БЛОК: Выбранные истории гостей */
/* ----------------------------- */

.block-history-list {
    padding: 60px 0;
    background: #fff;
}

.block-history-list__inner {
}
/* GRID */
.block-history-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 48px;
    margin-top: 45px;
    overflow: visible !important;
}

/* Карточка */
.history-teaser {
    background: #F6F5F4;
    border-radius: 30px;
    padding: 30px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: -1px 2px 5px 0px #00000026;
}
/* 
.history-teaser:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
} */

/* ФИО */
.history-teaser__fio {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #1c2132;
    line-height: 1.2;

}

/* Описание */
.history-teaser__excerpt {
    font-size: 16px;
    line-height: 22px;
    color: #343A40;
    margin-bottom: 35px;
}

/* Кнопка */
.history-teaser__more {
    display: inline-block;
    align-self: flex-start;

    background: #1c2132;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.25s ease, opacity 0.25s ease;
}

.history-teaser__more:hover {
    background: #000;
    opacity: 0.9;
}
.history-teaser__more-btn {
    text-align: center;
    margin-top: 45px;
}




/* ================================== */
/* Страница Контакты */
/* ================================== */
.contact_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}
.contact_wrap .col iframe {
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    height: 450px;
    border: none;
}
.contact_info {
    padding: 33px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 455px;
}
.contact-social {
    display: flex;
    gap: 34px;
    margin-top: 4px;
}
.contact_info__title {
    font-size: 22px;
    font-weight: 600;
    color: #343A40;
    margin-bottom: 18px;
    line-height: 1.2;
}
.contact-social .social-link {
    background: #931D22;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    padding: 10px;
}
.contact_info__link {
    color: var(--accent);
    font-size: 18px;
    font-weight: 400;
}
.contact_info__btn {
    margin: 0;
}


/* ================================== */
/* Страница Галерея */
/* ================================== */
.single-gallery__top{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 18px 0 22px;
  justify-content: center;
}

.single-gallery__tab{
  display:inline-flex;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.15);
  text-decoration:none;
  color:inherit;
  background:#fff;
  font-weight:700;
}

.single-gallery__tab.is-active{
  background:#1e5fff;
  border-color:transparent;
  color:#fff;
}

.single-gallery__content-photo,
.single-gallery__content-video{
  margin-top:18px;
}
/* ===============================
   Базовые настройки и переменные
================================= */




/* ===============================
   Форма (block-open-form)
================================= */

.block-open-form {
    padding: 0;
}

.block-open-form.has-bg {
    border-radius: var(--radius);
    overflow: hidden;
}

.block-open-form__inner {
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 20px;
}

.block-open-form__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(7, 11, 26, 0.68);
}

.block-open-form__content {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.block-open-form__title {
    font-size: 30px;
    margin: 0 0 8px;
    color: #fff;
}

.block-open-form__subtitle {
    font-size: 18px;
    margin-bottom: 24px;
    color: #e5e9ff;
}

.block-open-form__form {
    max-width: 600px;
    margin: 0 auto;
}







/* ===============================
   Галерея (.block-gallery)
================================= */

.block-gallery__rows {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.block-gallery__row {
    display: flex;
    align-items: center;
    gap: 18px;
    will-change: transform;

    /* анимация стартует только когда JS добавит .is-ready */
    animation: none;
}

/* верхний ряд влево */
.block-gallery__row--top.is-ready {
    animation: gallery-marquee-left var(--duration, 32s) linear infinite;
}

/* нижний ряд вправо */
.block-gallery__row--bottom.is-ready {
    animation: gallery-marquee-right var(--duration, 34s) linear infinite;
}

/* keyframes: JS выставляет --marquee-distance в px */
@keyframes gallery-marquee-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-1 * var(--marquee-distance, 1000px)));
    }
}

@keyframes gallery-marquee-right {
    from {
        transform: translateX(calc(-1 * var(--marquee-distance, 1000px)));
    }
    to {
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .block-gallery__row--top.is-ready,
    .block-gallery__row--bottom.is-ready {
        animation: none;
        transform: none;
    }
}

.block-gallery__item {
    flex: 0 0 auto;
    width: clamp(160px, 18vw, 240px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 10px;
}

.block-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.block-gallery__item img:hover {
    transform: scale(1.05);
}

/* Чуть разные высоты для верхнего/нижнего ряда можно задать так: */
/* .block-gallery__row--top .block-gallery__item img {
    height: 160px;
}

.block-gallery__row--bottom .block-gallery__item img {
    height: 200px;
} */





.block-tell-story {
    background: #F6F5F4;
        margin-top: -2px;
        padding: 80px 0 48px;
}
.block-tell-story__btns {
        display: flex;
    flex-wrap: wrap;
    gap: 34px 18px;
    align-items: center;margin-top: 30px;
}
.block-tell-story__btn.whatsapp {
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}




/* ================================
   ОБЩЕЕ ДЛЯ АРХИВОВ УСЛУГ
   archive-service.php
   taxonomy-service_category.php
================================== */
/* 
.site-main.archive-service,
.site-main.taxonomy-service-category {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 0 20px;
} */

/* Заголовок страницы / таксономии */
.archive-service .page-header,
.taxonomy-service-category .page-header {
    text-align: center;
    margin-bottom: 32px;
}

.archive-service .page-title,
.taxonomy-service-category .page-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #1c2132;
    font-weight: 700;
}

.archive-description,
.taxonomy-description {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #5b5f73;
}

/* Сетка карточек услуг */
.service-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Карточка услуги */
.service-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

/* Картинка в карточке */
.service-card__thumb {
    display: block;
}

.service-card__thumb img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* Контент карточки */
.service-card__content {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card__title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.service-card__title a {
    color: #1c2132;
    text-decoration: none;
    transition: color 0.15s ease;
}

.service-card__title a:hover {
    color: var(--accent)
}

/* Краткое описание */
.service-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #5b5f73;
    margin-bottom: 12px;
    flex-grow: 1;
}

.service-card__more::after {
    content: "→";
    font-size: 14px;
}

.service-card__more:hover {
    text-decoration: underline;
}

/* Пагинация */
.pagination {
    margin-top: 32px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 3px;
    min-width: 33px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
    text-decoration: none;
    color: #343A40;
    background: #f2f3f8;
}

.pagination .page-numbers.current {
    background: var(--accent);
    color: #ffffff;
}

/* Мобилки для архивов */
@media (max-width: 600px) {


    .archive-service .page-title,
    .taxonomy-service-category .page-title {
        font-size: 26px;
    }
}


/* ================================
   ОДНА УСЛУГА
   single-service.php
================================== */

/* .site-main.single-service {
    max-width: 900px;
    margin: 60px auto 80px;
    padding: 0 20px;
} */

/* Статья услуги */
/* .service-single {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 28px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
} */

/* Шапка услуги */
.service_first_screen {
    display: flex;
    gap: 40px;
}
.service-single .entry-header {
    margin-bottom: 20px;
}

.service-single .single-page  ul,
.service-single .single-page  ol {
    margin: 0 0 10px;
}
.service-single .entry-content > p:first-child {
margin: 0;
padding: 0;
}
/* Категории услуги */
.service-single__categories {
    font-size: 13px;
    color: #5b5f73;
}

.service-single__categories a {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    margin-right: 6px;
    margin-bottom: 4px;
    border-radius: 999px;
    background: #f0f2f8;
    color: var(--accent);
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.service-single__categories a:hover {
    background: var(--accent);
    color: #ffffff;
}

/* Обложка услуги */

.service-single__thumb img {
    display: block;
    border-radius: 12px;
    max-width: 440px;
    width: 100%;
    border-radius: 25px;
    /* max-height: 420px; */
    object-fit: cover;
}
.service_first_screen__intro {
    flex: 1 0 0;
}
/* Контент услуги */
/* 
.service-single .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2b3042;
}

.service-single .entry-content p {
    margin-bottom: 1em;
}

.service-single .entry-content h2,
.service-single .entry-content h3,
.service-single .entry-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #1c2132;
}

.service-single .entry-content ul,
.service-single .entry-content ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
} */

/* Футер записи: ссылка "Ко всем услугам" */
.service-single .entry-footer {
    margin-top: 24px;
    border-top: 1px solid #eceef5;
    padding-top: 16px;
    text-align: left;
}

.service-single__back {
    font-size: 14px;
    color: #4230e4;
    text-decoration: none;
}

.service-single__back:hover {
    text-decoration: underline;
}

/* Мобилки */
@media (max-width: 600px) {
    .site-main.single-service {
        margin-top: 40px;
        margin-bottom: 60px;
    }
}


/* =====================================================
   HEADER / NAVIGATION
===================================================== */

.site-header {
    background: #F6F5F4;
    box-sizing: var(--shadow);
    padding: 20px 0;
    position: relative;
    z-index: 102;
}
.site-header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.site-title a {
    color: #1c2132;
    text-decoration: none;
}

.site-title a:hover {
    opacity: 0.8;
}




/* =====================================================
   MAIN MENU
===================================================== */

.main-navigation {
    position: relative;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 45px;
    margin: 0;
    padding: 0;
}

/* пункты меню */
.menu-item a {
    display: inline-block;
    padding: 8px 0;
    color: #371819;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.menu-item a:hover {
    color: var(--accent);
}

/* активный пункт */
.menu-item.current-menu-item > a,
.menu-item.current_page_item > a {
    color: var(--accent);
    font-weight: 700;
}


/* =====================================================
   SUB MENU (Dropdown)
===================================================== */

.menu-item-has-children {
    position: relative;
}

.sub-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    min-width: max-content;
    max-width: 500px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
    flex-direction: column;
}

.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu .menu-item {
    width: 100%;
}

.sub-menu a {
    display: block;
    padding: 5px 18px;
    color: #343A40;
    font-size: 14px;
}

.sub-menu a:hover {
    color: var(--accent);
}


/* =====================================================
   TOGGLE / MOBILE MENU
===================================================== */

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    font-size: 16px;
}


/* =====================================================
   HEADER / NAVIGATION
===================================================== */

.header_number {
    display: flex;
    color: #371819;
    font-weight: 500;
    text-decoration: none;
    gap: 8px;
    align-items: center;
}
.header-ico {
    fill: #371819;
    width: 18px;
}


/* ===== Архив историй гостей ===== */



.archive-history .archive-description {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}
.custom_title {
    display: flex;
    justify-content: center;
}
.custom_title-text{
    max-width: 830px;
}
/* Сетка карточек историй */
.history-archive-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 45px;
}

@media (max-width: 1024px) {
  .history-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .history-archive-grid {
    grid-template-columns: 1fr;
  }
}

/* Карточка истории */
.history-card {
  display: flex;
  flex-direction: column;
    box-shadow: 0px 4px 10px 0px #00000040;
    background: #F7F6F5;
    border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 25px 0;
}

.history-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.06);
}

/* Обложка */
.history-card__thumb {
  display: block;
  overflow: hidden;
  max-height: 220px;
}

.history-card__thumb img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
}


/* Контент карточки */
.history-card__content {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.history-card__content a {
    margin: 0 auto;
}
/* Блоки meta (ФИО, профессия, интересы)
   — сейчас они у тебя вне .history-card__content,
   но стили сделаем так, чтобы смотрелось гармонично. */
.history-card .history-single__meta-row {
  padding: 6px 18px 0;
  font-size: 12px;
  line-height: 1.4;
  color: #343A40;
  margin-bottom: 0;
}
.history-single__meta-fio {
    color: #371819;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}
.history-single__meta-hobby {
    padding: 6px;
    border-radius: 50px;
    background: #931D2220;
    color: #371819;
}
.history-card .history-single__meta-row + .history-single__meta-row {
  margin-top: 4px;
}

.history-card .history-single__meta-value {
  font-weight: 500;
  color: #343A40;
}

/* Отрывок истории */
.history-card__excerpt {
  font-size: 18px;
  line-height: 1.2;
  color: #343A40;
  text-align: justify;
}
.history-card__excerpt p {
  margin: 0 0 0.5em;
}



/* Пагинация */
.archive-history .pagination {
  max-width: 960px;
  margin: 32px auto 0;
  padding: 0 16px;
  text-align: center;
}

.archive-history .pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  margin: 0 3px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: #1c2132;
  background: #fff;
  border: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.archive-history .pagination .page-numbers.current,
.archive-history .pagination .page-numbers:hover {
  background: var(--accent);
  color: #fff;

}


/* ===== Одиночная история гостя ===== */


.history-single {
  margin: 45px auto 0;
  /* padding: 0 16px 32px; */
}

/* Заголовок и шапка */
.history-single .entry-header {
  margin-bottom: 24px;
}

.history-single .entry-title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  color: #1c2132;
}

/* Обложка */
.history-single__thumb {
  margin: 0 0 20px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.history-single__thumb img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
      aspect-ratio: 1 / 1.3;
}

/* Блок с данными гостя */
.history-single__meta {
  margin: 0 0 24px;
 
  gap: 10px 24px;
}

@media (max-width: 640px) {
 
}

.history-single__meta-row {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.3;
    flex-direction: column;
    color: #371819;
    margin-bottom: 16px;
    margin-bottom: 15px;
}

.history-single__meta-label {
  font-weight: 600;
  
}

.history-single__meta-fio {
    font-size: 18px;
    font-weight: 600;
    color: #371819;
}
.history-single__meta-des {
    color: #00000080;
}
.history-single__meta-value {
  font-weight: 300  ;
}

/* Контент истории */
.history-single .entry-content {
  font-size: 18px;
  line-height: 22px;
  color: #515151;
}

.history-single .entry-content p {
  margin: 0 0 1em;
}
.history-single .entry-content blockquote {
    border-radius: 10px;
    background: #F7F6F5;
    padding: 26px 29px 22px;
    font-size: 24px;
    font-weight: 400;
    color: #000;
    font-family: 'Caveat';
    margin: 0;
    box-shadow: 0px 4px 10.2px -5px #00000040;

}
.history-single .entry-content blockquote p {
    margin: 0;
}
.history-single .entry-content h2,
.history-single .entry-content h3,
.history-single .entry-content h4 {
  margin: 1.2em 0 0.5em;
  color: var(--accent);
  font-weight: 600;
}

.history-single .entry-content ul,
.history-single .entry-content ol {
  margin: 0 0 1em 1.2em;
}

/* Футер и ссылка "Назад" */
.history-single .entry-footer {
  margin-top: 20px;
}

.history-single__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #1c2132;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #1c2132;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.history-single__back:hover {
  background: #1c2132;
  color: #fff;
}
.history-single{
    display: flex;
    gap: 50px
}
.history-single > *:first-child{
    min-width: 240px;
}
.history-single > *:last-child{
  
}





/* ================================
   ОБЩЕЕ ДЛЯ АРХИВОВ СТАТЕЙ
   archive-article.php
   taxonomy-article_category.php
================================== */

.site-main.taxonomy-article-category {
    max-width: 1200px;
    margin: 60px auto 80px;
    padding: 0 20px;
}

/* Заголовок страницы / таксономии */
.taxonomy-article-category .page-header {
    text-align: center;
    margin-bottom: 32px;
}

.taxonomy-article-category .page-title {
    font-size: 32px;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #1c2132;
    font-weight: 700;
}

.archive-description,
.taxonomy-description {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #5b5f73;
}

/* Сетка карточек статей */
.article-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Карточка статьи */
.article-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

/* Картинка в карточке */
.article-card__thumb {
    display: block;
}

.article-card__thumb img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}

/* Контент карточки */
.article-card__content {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card__title {
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 8px;
}

.article-card__title a {
    color: #1c2132;
    text-decoration: none;
    transition: color 0.15s ease;
}

.article-card__title a:hover {
    color: var(--accent);
}

/* Краткое описание */
.article-card__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #5b5f73;
    margin-bottom: 12px;
    flex-grow: 1;
}

.article-card__more::after {
    content: "→";
    font-size: 14px;
}

.article-card__more:hover {
    text-decoration: underline;
}

/* Пагинация */




/* ================================
   ОДНА СТАТЬЯ
   single-article.php
================================== */

.article-single .entry-header {
    margin-bottom: 40px;
}

/* Рубрики статьи */
.article-single__categories {
    font-size: 13px;
    color: #5b5f73;
}

.article-single__categories a {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    margin-right: 6px;
    margin-bottom: 4px;
    border-radius: 999px;
    background: #f0f2f8;
    color: #4b5674;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.article-single__categories a:hover {
    background: #4230e4;
    color: #ffffff;
}

/* Обложка статьи */
.article-single__thumb {
    margin-bottom: 20px;
    float: left;
    margin-right: 20px;
}
.town-single__thumb,
.post-thumbnail {
    float: right;
    max-width: 500px;
}
.article-single__thumb img,
.post-thumbnail img {
    width: 100%;
    display: block;
    border-radius: 12px;
    max-height: 420px;
    object-fit: cover;
}

/* Контент статьи */
.article-single .entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #2b3042;
}


.article-single .entry-content p {
    margin-bottom: 1em;
}

.article-single .entry-content h2,
.article-single .entry-content h3,
.article-single .entry-content h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: #1c2132;
    clear: none;
    line-height: 1.2;
}

.article-single .entry-content ul,
.article-single .entry-content ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

/* Футер записи: ссылка "Ко всем статьям" */
.article-single .entry-footer {
    margin-top: 24px;
    border-top: 1px solid #eceef5;
    padding-top: 16px;
    text-align: left;
}

.article-single__back {
    font-size: 14px;
    color: #4230e4;
    text-decoration: none;
}

.article-single__back:hover {
    text-decoration: underline;
}


/* ================================
   Страница Информация (page-330)
================================== */
.document {
    display: flex;
    gap: 64px;
    margin-bottom: 100px;
    margin-top: 50px;
}
.document_sidebar {
    width: 30%;
}
.document_content {
    width: 70%;
}
.document_sidebar_item_list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.document_sidebar_item_list_item {
    font-size: 16px;
    margin-bottom: 10px;
    border: 1px solid var(--accent);
    padding: 5px 10px;
    font-weight: 500;
    color: var(--accent);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    border-radius: 10px;
}
.document_sidebar_item_list_item.is-active {
    color: #fff;
    background: var(--accent);
}
.document_content_item {
    display: none;
    transition: all 0.3s ease-in-out;
}
.document_content_item.is-active {
    display: block;
}
.document_content_item_title {
    font-size: 28px;
    font-weight: bold;
    color: #343A40;
    margin: 0 0 20px;
}
.document_content_item_content {
    border: 1px solid var(--accent);
    border-radius: 10px;
    padding: 30px 20px;
}
.document_content_item_content p {
    margin: 0 0 16px;
}
.document_content_item_content a[href$=".pdf"] {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    line-height: 1.2;
}
.document_content_item_content a[href$=".pdf"]::before {
    content: "";
    display: inline-block;
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin-right: 12px;
    background-image: url(/wp-content/themes/dptheme/assets/img/icon/pdf-file.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    vertical-align: text-bottom;
}
/* ================================
   БЛОК СТАТЬИ (articles block)
================================== */

.block-articles { 
    margin: 60px auto;
}

/* Сетка карточек статей в блоке */
/* .block-articles__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    overflow: visible !important;
} */

/* Карточка статьи в блоке */
/* .block-articles__card {
background: #ffffff;
    border-radius: var(--radius-big);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    width: 350px;
    transition: all .3s 
ease-in-out;
    height: 410px !important;
    justify-content: center;
}
.swiper-slide-active.block-articles__card {
    height: 460px !important;
}
.block-articles__card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09);
}

.block-articles__thumb-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.block-articles__content {
    padding: 10px 18px 22px;
    display: flex;
    flex-direction: column;
    z-index: 3;
    /* height: 100%; 
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.block-articles__title {
    font-size: 18px;
    margin: 0 0 8px;
    line-height: 1.3;
}

.block-articles__title a {
    color: #1c2132;
    text-decoration: none;
    transition: color 0.15s ease;
}

.block-articles__title a:hover {
    color: #4230e4;
}

.block-articles__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #5b5f73;
    margin-bottom: 12px;
    flex-grow: 1;
}

/* Низ карточки / кнопка 
.block-articles__footer {
    margin-top: auto;
}

.block-articles__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: #4230e4;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease;
}

.block-articles__btn:hover {
    background: #244dcc;
    transform: translateY(-1px);
}



/* =====================================================
   BLUE THEME – FORMS BLOCKS
   ===================================================== */

:root{
  --blue-main:#2F6FDB;
  --blue-dark:#1E4FA8;
  --blue-light:#EAF1FF;
  --white:#ffffff;

  --text-main:#0F1C2E;
  --text-muted:#5A6B85;

  --border:rgba(47,111,219,.18);
  --shadow:0 10px 30px rgba(20,40,80,.12);

  --radius:18px;
}

/* ====== BASE ====== */

.block-form-cost,
.block-form-excursion,
.block-opros{
  margin:60px 0;
  color:var(--text-main);
  font-family: 'Montserrat', system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
}

.block-form-cost *,
.block-form-excursion *,
.block-form-question *,
.block-opros *{
  box-sizing:border-box;
}

/* ====== BACKGROUND IMAGE MODE ====== */

.has-bg .block-form-cost__inner,
.has-bg .block-form-excursion__inner,
.has-bg .block-form-question__inner{
  background-size:cover;
  background-position:center;
  position:relative;
}




/* ====== OPROS BLOCK ====== */

.block-opros__content{
  max-width:860px;
  margin:0 auto;
}

.block-opros__form{
  padding:32px;
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  background:
    radial-gradient(900px 300px at 15% 0%, rgba(47,111,219,.28), transparent 60%),
    linear-gradient(180deg, rgba(47,111,219,.08), rgba(255,255,255,.96));
}


/* ====== RESPONSIVE ====== */

@media (max-width:768px){
  .block-form-cost__inner,
  .block-form-excursion__inner,
  .block-form-question__inner{
    padding:28px 18px;
  }

  .block-form-cost__title,
  .block-form-excursion__title,
  .block-form-question__title{
    font-size:24px;
  }
}





/* ======================
======================
НОВЫЕ СТИЛИ
======================
====================== */


    .site-footer-block {
        color: var(--footer-line);
        font: 16px/1.55 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
        background: transparent;
    }

    .site-footer-block * {
        box-sizing: border-box;
    }

    .site-footer-block a {
        color: inherit;
        text-decoration: none;
    }

    .site-footer-block a:hover {
        /* text-decoration: underline; */
        color: var(--accent) !important;
    }

    .site-footer-block .wrap {
        max-width: 1340px;
        margin: 0 auto;
        padding: 50px 20px 100px;
    }

    /* ===== Верх: карта + контакты ===== */
    .footer-top {
        display: grid;
        grid-template-columns: 430px 1.35fr;
        gap: 18px;
        align-items: stretch;
    }

    .footer-map {
        border: 1px solid var(--footer-line);
        border-radius: var(--footer-radius);
        overflow: hidden;
        background: #f3f3f3;
        min-height: 240px;
    }

    .footer-map iframe {
        width: 100%;
        height: 100%;
        min-height: 240px;
        border: 0;
        display: block;
    }

    .footer-card {
        border: 1px solid var(--footer-line);
        border-radius: var(--footer-radius);
        overflow: hidden;
        background: var(--footer-bg);
    }

    /* сетка как "табличка" */
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-cell {
        padding: 10px;
        border-right: 1px solid var(--footer-line);
        border-bottom: 1px solid var(--footer-line);
        display: flex;
        align-items: center;
        gap: 10px;
        min-height: 64px;
        justify-content: center;
    }

    /* .footer-cell:nth-child(2n) {
        border-right: none;
    } */
     .footer-cell:last-child {
        border: none;
     }
     .footer-cell:nth-child(3),
     .footer-cell:nth-child(4) {
        border-right: none;
     }
      .footer-cell:nth-child(1),
     .footer-cell:nth-child(5) {
        border-bottom: none;
     }



    /* Лого (занимает 2 строки по высоте, как на скрине) */
    .footer-cell--logo {
        grid-row: 1 / span 3;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 10px;
        min-height: 128px;
        padding: 0 43px;
    }

    .footer-logo {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        justify-content: center;
        
    }

    .footer-logo__img {
        width: 100%;
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        flex: 0 0 auto;
    }

    .footer-logo__img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }


    /* Контакты */
    .footer-contact {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .footer-contact__top {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 800;
        font-size: 20px;
    }

    .footer-ico {
        width: 18px;
        height: 18px;
        flex: 0 0 auto;
        opacity: .85;
    }

    /* Меню */
    .footer-menu {
        width: 100%;
    }

    .footer-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 10px 18px;
        align-items: center;
        color: var(--footer-muted);
        font-weight: 600;
        justify-content: center;
    }

    .footer-menu a {
        color: #371819;
    }

    .footer-menu a:hover {
        color: var(--accent) !important;
    }

    /* Соцсети */
    .footer-social {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .social-link {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .social-link.max {
        width: 20px;
        height: 20px;
        margin: 0 10px;
    }

    .social-link:hover {
        border-color: rgba(139, 27, 27, .55);
        /* box-shadow: 0 8px 18px rgba(0, 0, 0, .08); */
        text-decoration: none;
    }
    .social-link:hover svg path {
        fill: var(--accent);
    }
    .social-link svg {
        width: 40px;
        height: 40px;
        /* opacity: .9; */
    }

    /* Почта */
    .footer-email {
        font-weight: 500;
        color: var(--footer-muted);
    }

    /* ===== Средняя часть: дисклеймер + реквизиты ===== */
    .footer-middle {
        margin-top: 40px;
        display: grid;
        grid-template-columns: 1.2fr .8fr;
        gap: 22px;
        font-size: 12px;
        font-weight: 400;
    }

    .footer-middle p {
        margin: 0;
        color: var(--footer-muted);
        font-size: 13px;
        line-height: 1.55;
    }

    .footer-middle .col {

    }


    /* ===== Низ: копирайт + ссылки + рейтинг ===== */
    .footer-bottom {
        margin-top: 12px;
        border-radius: 12px;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        background: #fff;
    }

    .footer-bottom__left {
        display: flex;
        gap: 10px 14px;
        align-items: center;
        flex-wrap: wrap;
    }

    .footer-copy {
        font-weight: 400;
        font-size: 11px;
        color: #371819;
    }

    .footer-links {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer-links a {
        font-size: 11px;
        color: var(--footer-muted);
        /* border: 1px solid var(--footer-line); */
        /* border-radius: 10px; */
        /* padding: 0 10px; */
        /* background: #fff; */
    }

    .footer-links a:hover {
        color: var(--footer-text);
        border-color: rgba(139, 27, 27, .45);
        text-decoration: none;
    }

    .footer-yandex {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        /* min-width: 240px; */
    }
.ai-content img{
    border-radius: var(--radius-small);
}
.ai-content ol,
.ai-content ul{
    margin: 0;
        padding-left: 20px;
}
.container.ai-content h2,
.container.ai-content h3 {
    clear: none;
}
/* КУКИ */
.lwpcngNotice {
    backdrop-filter: blur(10px);
    border: none;
    padding: 5px 20px;
    max-width: 1300px;
    margin: 0 auto 10px;
    border-radius: 12px;

}
.lwpcngNotice-light {
    background: #ffffff9f;
}
.lwpcngNotice_message {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
}
.lwpcngNotice-light .lwpcngNotice_accept {
    border-color: none;
    background: var(--accent);
    color: #fff;
    transition: all .3s ease-in-out;
    border-radius: var(--radius-small);
}
.lwpcngNotice-light .lwpcngNotice_accept:hover {
    background: #371819;
    color: #fff;
}
.lwpcngNotice A {
    text-decoration: none;
    color: #000 !important;
    font-weight: 600;
}
.error-404 svg {
    max-width: 649px;
    width: 100%;
}
/* Скрыть заголовок */
#post-68 .entry-header,
#post-34 .entry-header {
    display: none;
    visibility: hidden;
    opacity: 0;
}
#post-1047 .wave {
    
}
.block-widget {
    margin-top: 50px;
    margin-bottom: 50px;
}
.block-widget__wrapper {
    display: flex;
    gap: 60px;
    margin-top: 45px;
}
.block-widget-left {
    max-width: 460px;
    width: 100%;
}
.block-widget-left #vk_groups {
    width: 100% !important;
}
.block-widget-left #vk_groups iframe {
    width: 100% !important;
}
.block-widget-left p {
    display: none;
}
.block-widget-right {

padding: 20px;
position: relative;
}
.block-widget-right br {
    display: block;
}

.tsvg-li-content.tsvg-fancy-block img {
    object-fit: cover;
}
@media (min-width:1200px) {
    .sub-menu {
        overflow-y: scroll;
        max-height: calc(70vh - 100px);
    }
    .sub-menu::-webkit-scrollbar {
    width: 4px; /* Ширина вертикального скроллбара */
    }

    .sub-menu::-webkit-scrollbar-track {
    background: #fff; /* Цвет фона дорожки */
    border-radius: 10px;
    }

    .sub-menu::-webkit-scrollbar-thumb {
    background: var(--accent); /* Градиент для ползунка */

    }

    .sub-menu::-webkit-scrollbar-thumb:hover {
    background: var(--accent); /* Hover-эффект */
    }
}
@media (max-width:1200px) {
    .main-navigation {
        display: none;
    }
    #primary-menu {
        list-style: none;
        margin: 0;
        padding: 20px 30px;
    }
    #primary-menu .sub-menu {
        position: relative;
        opacity: 1;
        visibility: visible;
        padding: 0;
        box-shadow: none;
        margin: 0 0 10px;
        display: block;
        min-width: auto;
    }
    .sub-menu a {
        padding: 10px 18px;
    }
    .site-header__inner {
        gap: 20px;
    }
    .site-branding {
        flex: 1;
    }
    .hamburger {
        display: flex;
    }
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(2px, 2px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }
    .first_screen_form {
        max-width: 400px;
            padding: 25px 20px;
    }
    .first_screen_info {
        flex-direction: column;
    }
    .first_screen_info_left,
    .first_screen_info_right {
        padding: 16px;
        width: 100%;
        border: none;
    }

    .center-tab-card {
        grid-template-columns: minmax(280px, 400px) 1fr;
        gap: 20px;
    }
    .rates-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    .footer-cell--logo {
        grid-row: 1;
        border-bottom: 1px solid var(--footer-line) !important;
    }
    .footer-cell:nth-child(4) {
        grid-column: 1 / 4 !important;
    }
    .article-single__thumb,
    .post-thumbnail {
        width: 50%;
    }

}
@media (max-width:960px) {
    .first_screen__inner {
        flex-direction: column;
        align-items: center;
        justify-content: flex-end;
    }
    .first_screen_form {
        max-width: none;
        width: 100%;
        min-width: fit-content;
    }
        .first_screen {
        background-position: -100px center;
    }
    .first_screen_info_left, .first_screen_info_right {
        width: 50%;
    }
    .first_screen_info {
        flex-direction: row;
    }
    .center-tab-card__image img {
        aspect-ratio: 1;
    }
    .center-tab-card {
        display: flex;
        flex-direction: column;
    }
    .block-promo__content, .block-form-question__content, .block-form-excursion__content, .block-form-cost__content {
        width: 100%;
                max-width: 100%;
    }
    .block-registration__list {
        column-gap: 40px;
    }
    .block-timeline__grid {
        grid-template-columns: 1fr 300px;
        gap: 20px;
    }
    .footer-cell--logo {
            padding: 10px 34px;
    border-right: 1px solid var(--footer-line) !important;

    }
    .footer-cell:nth-child(2) {
        border-right: 1px solid var(--footer-line);
    }
    .footer-cell:nth-child(5) {
        border-right: 1px solid var(--footer-line);
        border-bottom: none;
    }
    .footer-cell:nth-child(6) {
        border-bottom: none;
    }
    .block-advantages__content {
        column-gap: 200px;
    }
    .block-advantages__content::before {
        opacity: .4;
    }
    .center-tab-card__title,
    .dir-point__title {
        font-size: 20px;
    }
    .center-tab-card__subtitle {
        font-size: 16px;
    }
     .footer-top {
            grid-template-columns: 1fr;
        }

        .footer-grid {
            grid-template-columns: 1fr;
        }

        .footer-cell {
            border-right: none;
        }

        .footer-cell--logo {
            grid-row: auto;
            min-height: auto;
            align-items: flex-start;
        }

        .footer-middle {
            grid-template-columns: 1fr;
        }

        .footer-yandex {
            min-width: unset;
            width: 100%;
            justify-content: flex-start;
        }
        .document_sidebar_item_list_item {
            font-size: 14px;
        }
        .document_sidebar_item_list {
            flex-wrap: wrap;
            display: flex;
            column-gap: 10px;
        }
        .document_sidebar, .document_content {
            width: 100%;
        }
        .document {
            flex-direction: column;
            gap: 20px;
        }
        .block-widget__wrapper {
            flex-direction: column-reverse;
            align-items: center;
        }                
}
@media (max-width:768px) {
    .site-header {
        padding: 10px 0;
        height: 65px;
    }
    .header_number {
        display: none;
    }
    .first_screen  {
        height: 100%;
        padding-top: 100px;
    }
    .first_screen {
        background-position: -220px center;
    }
    .first_screen__inner {
        padding-bottom: 16px;
    }
    .first_screen_info__title {
        font-size: 28px;
        line-height: 1;
        padding: 20px 16px;
    }
    .first_screen_info_left,
    .first_screen_info_right {
        font-size: 16px;
        line-height: 1.2;
    }
    .first_screen_form iframe {
        height: 100%;
    }
    .first_screen_form {
        padding: 20px 10px;
    }
    .first_screen_form__title {
        font-size: 20px;
    }
    .service_first_screen {
        flex-direction: column;
    }
    .service-single__thumb img {
        width: 100%;
        max-width: none;
    }
    .block-title, .block-registration__title, .block-advantages__title, .block-timeline__title, .block-gallery__title, .block-reviews__title, .block-history-list__title {
        font-size: 38px;
    }
    .contact_wrap {
        grid-template-columns: 1fr;
    }
    .staff-tabs__nav {
        gap: 10px;
    }
    .center-tabs__tab {
        margin: 0 5px;
    }
    .dir-points {
        gap: 20px;
    }
    .staff-row{
        grid-template-columns: 140px 1fr;
        gap: 16px;
    }
    .block-timeline__grid {
       grid-template-columns: 1fr;
    }
    .block-timeline__photo {
        display: none;
    }
    /* .wave {
        margin-bottom: 50px;
    } */
     .block-advantages__content {
        /* grid-template-columns: 1fr;
        row-gap: 40px; */
        column-gap: normal;
        min-height: auto;
     }
     .block-advantages__item {
        width: 100%;
     }
     .block-advantages__content::before {
        display: none;
     }
     .block-advantages {
        padding: 0 0 60px;

     }
     .block-promo {
        margin-bottom: 60px;
     }
     .block-timeline {
            padding: 90px 0 20px;
     }
     .block-promo__actions {
        gap: 18px;
        justify-content: center;
     }
     .history-single {
        flex-direction: column;
     }
     .rate-card {
        border-bottom: 0.5px solid #3718195b;
    }
    .rate-card:last-child {
        border-bottom: none;
    }
    .block-history-list__grid {
        overflow: hidden !important;
    }
      .history-slider .swiper-slide {
    width: 100% !important;  /* принудительно на всю ширину */
    margin: 0 !important;    /* убираем margins */
    padding: 0;              /* без padding */
  }
  
  .history-slider .swiper-wrapper {
    width: 100%;             /* wrapper тоже */
  }
  .history-teaser__fio {
    margin: 14px;
    font-size: 20px;
  }
  .history-teaser__excerpt {
    margin: 14px;
  }
  .history-slider .swiper-slide a {
    display: block;
    margin: 0 14px 14px;
  }
    .article-single__thumb,
    .post-thumbnail {
        width: 100%;
        max-width: none;
        float: none;
    }
    .block-gallery__item {
        width: clamp(150px, 60vw, 260px);
        aspect-ratio: 4 / 3;
    }
    .block-gallery__row {
        gap: 12px;
    }
      
}
@media (max-width: 560px){
    body {
        font-size: 14px;
    }
    .header_callback {
        display: none;
    }
    .header_callback-mobile {
        display: block;
        width: 22px;
        height: 22px;
    }
    .header_callback-mobile svg {
        width: 22px;
    }
    .first_screen_info {
        flex-direction: column;
    }
    .first_screen {
        background-position: -350px center;
    }
    .first_screen_info_left, .first_screen_info_right {
        width: 100%;
    }
    .first_screen_info_right {
        display: none;
    }
    .first_screen__inner {
        padding-bottom: 16px;
    }

    .dir-points {
        grid-template-columns: 1fr;
    }
    .dir-point {
        column-gap: 20px;
        grid-template-columns: (100px, 1fr);
        /* grid-template-rows: repeat(2, 1fr); */
        display: grid;
    }
    .dir-point__icon {
        grid-area: 1 / 1 / 3 / 2;
        height: auto;
        width: 50px;
    }
    .dir-point__title {
        grid-area: 1 / 2 / 2 / 3;
        margin: 0 0 5px;
    }
    .dir-point__text {
        grid-area: 2 / 2 / 3 / 3;
    }
    .block-registration__list {
        grid-auto-flow: dense;
        grid-template-columns: 1fr;
    }
    .block-registration__item:nth-child(3) {
        border-bottom: 1px solid #371819B2;
    }
    .block-advantages__item-title {
        font-size: 28px;
    }
    
     .block-advantages__content {
        /* grid-template-columns: 1fr;
        row-gap: 40px; */

     }    
  .staff-row{
    grid-template-columns: 1fr;
  }
  .staff-row__photo{
    max-width: none;
  }

  .staff-tabs__tab{ white-space: nowrap; }
  .block-promo__content, .block-form-question__content, .block-form-excursion__content, .block-form-cost__content {
    padding: 20px;
  }
  .block-form-cost__inner, .block-form-excursion__inner, .block-form-question__inner,.block-promo__inner {
    padding: 28px 0;
  }
  .rates-grid {
            grid-template-columns: 1fr;
  }
  .rate-desc ul {
    font-size: 16px;
  }
    .tl-item {
        gap: 14px 25px;
        grid-template-columns: 52px 1fr;
    }
    .tl-card__marker {
        display: none;
    }
    .block-timeline__accordion-hr {
        left: 60px;
    }
    .tl-trigger,
    .tl-time {
        font-size: 16px;
    }
    .tl-desc {
        font-size: 14px;
    }
    .tl-trigger {
        padding: 14px;
    }
    .tl-panel {
        padding: 0 14px 14px 14px;
    }
 .block-timeline__static__title {
    font-size: 18px;
 }
 .block-timeline__static ul {
    font-size: 14px;
 }
 .block-timeline__static {
    margin-bottom: 30px;
    font-size: 14px;
 }
 .block-gallery__rows {
    margin: 0 auto;
    padding: 0 16px;
    gap: 14px;
    display: grid;
    overflow: hidden;
 }
  .footer-cell {
    grid-column: 1 / 4;
  }
  .footer-cell--logo,
  .footer-cell:nth-child(2) {
    border-right: none !important;
  }
  .footer-cell:nth-child(5) {
    border-bottom: 1px solid var(--footer-line) !important;
  }
}


.btn-center{
    display: flex;
    justify-content: center;
    align-items: center;
}

blockquote{
    border-left: 2px solid #8b1b1b;
    border-radius: 10px;
   
}
blockquote strong{
    font-weight: normal;
    font-style: italic;
    
}
blockquote p{
     padding: 10px;
}
ul{
        list-style: circle;
}
ul li::marker,
ol li::marker{
    color: #8b1b1b;
}