/*!
Theme Name: Medical88Club
Theme URI: http://underscores.me/
Author: Anna Pudlo
Author URI: http://t.me/thisGirlCanCode
Description: Simple Medical88Club wp theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mc88
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.

Medical88Club 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 */

/* 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;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
    display: block;
}

/**
 * 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;
}

/**
 * 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: -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: "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: #fff;
}

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: #4169e1;
}

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

a:hover,
a:focus,
a:active {
    color: #191970;
}

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: none;
    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;
}

.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 a {
    display: block;
    text-decoration: none;
}

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

@media screen and (min-width: 37.5em) {

    .menu-toggle {
        display: none;
    }

    .main-navigation ul {
        display: flex;
    }
}

.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-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;
}

/* common */

:root {
    --fz-body: 18px;
    --lh-body: 1.3em;
    --fz-h2: 32px;
    --fz-h2-med: 48px;
    --fz-h2-big: 74px;
    --fz-big: 24px;
    --lh-big: 1.4em;
    --fz-sub: 20px;
    --ls-minus: -0.03em;
    --mc-bg: #194032;
    --mc-bg-light: #2A4F42;
    --mc-accent-color: #197D5B;
    --mc-accent-light: #90B9AB;
    --text-color: #000;
    --text-light: #fff;
}

/* @media (max-width: 768px) {
    :root {
        --fz-body: 18px;
        --lh-body: 1.3em;
        --fz-h2: 32px;
        --fz-h2-med: 48px;
        --fz-h2-big: 74px;
        --fz-big: 24px;
        --lh-big: 1.4em;
        --fz-sub: 20px;
    }
} */

* {
    box-sizing: border-box;
}

body {
    font-family: 'e-ukraine';
    font-size: var(--fz-body);
    line-height: var(--lh-body);
    color: var(--text-color);
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
    margin-bottom: 1em;
    line-height: var(--lh-big);
}

h2 {
    font-family: 'e-ukraine_head';
    font-size: var(--fz-h2);
}

.container {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 55px;
}


a:visited {
    color: inherit;
}

a.btn {
    font-size: var(--fz-body);
    display: inline-flex;
    padding: 0 20px;
    border-radius: 26px;
    height: 53px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-light);
    background: var(--mc-accent-color);
    font-weight: 500;
    transition: .3s ease;
}

a.btn:hover {
    background: var(--mc-bg-light);
    color: var(--text-light);
}

a.btn--outline {
    color: var(--mc-accent-color);
    border: 2px solid var(--mc-accent-color);
    background: transparent;
}

a.btn--outline:hover {
    color: var(--text-light);
    background: var(--mc-accent-color);
}

a.btn--light {
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

a.btn--light:hover {
    background: var(--text-light);
    color: var(--mc-accent-color);

}

.btn svg {
    min-width: 23px;
    width: 23px;
    height: auto;
}

* {
    outline: none !important;
}


@media (max-width: 1330px) {
    .container {
        padding: 0 20px;
    }
}

/* HOME */
/* hero */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 1088px;
    padding: 180px 0 60px;
    color: var(--text-light);
    display: flex;
    align-items: flex-end;
}

.hero h1 {
    font-family: "Philosopher", sans-serif;
    font-size: 100px;
    letter-spacing: var(--ls-minus);
    line-height: 0.9em;
    max-width: 732px;
    font-weight: 400;
    margin-bottom: 60px;
}

.hero .hero-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.hero h3 {
    font-size: var(--fz-sub);
    letter-spacing: var(--ls-minus);
    margin-bottom: 0.5em;
    font-weight: 400;
}

.hero__list {
    max-width: 593px;
    margin: 0;
    list-style: none;
    padding: 0;
    display: grid;
    gap: 30px;
}

.hero__list-item {
    display: grid;
    grid-template-columns: 84px 1fr;
    gap: 12px;
}

.hero__list-item p {
    opacity: 0.6;
    letter-spacing: var(--ls-minus);
    margin-bottom: 0;
}


.hero__fallback,
.hero__video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__fallback img,
.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.hero .container,
.hero .wrapper,
.hero .hero-flex {
    position: relative;
    z-index: 2;
}


.hero--with-video .hero__fallback {
    z-index: 0;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 50px;
        line-height: 1em;
        margin: 0 auto 40px;
        text-align: center;
        max-width: 315px;
        padding: 0 20px;
    }

    .hero {
        min-height: 100dvh;
    }

    .hero .btn--outline {
        display: none;
    }

    .hero .container {
        padding: 0;
        overflow: hidden;
    }

    .hero .hero-flex {
        margin-top: 40px;
        overflow: auto;
        padding: 0 20px;

        /* Firefox */
        scrollbar-width: none;

        /* IE / Edge (старые) */
        -ms-overflow-style: none;

        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }


    /* Chrome / Safari / Edge */
    .hero .hero-flex::-webkit-scrollbar {
        display: none;
        height: 0;
    }

    .hero__list {
        grid-template-columns: 344px 253px;
        gap: 20px;
    }

    .hero__list-item {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero__list-item .icon-wrap {
        width: 84px;
        aspect-ratio: 1/1;
    }

    .hero__list-item .icon-wrap img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
}


.section.doctors {
    padding: 60px 0;
    letter-spacing: var(--ls-minus);
}

.doctors__header {
    max-width: 936px;
    margin: 0 auto 60px;
    text-align: center;
}

.doctors__title {
    margin-bottom: 20px;
    font-weight: 200;
}

.doctors__subtitle {
    max-width: 853px;
    margin: 0 auto;
    font-size: var(--fz-big);
    font-weight: 200;
    color: var(--mc-accent-color);
}

/* THUMBS */

.doctors__thumbs {
    margin-bottom: 40px;
    max-width: 630px;
    padding: 2px 0 2px 16px;
    width: 100%;
}

.doctors__thumbs .swiper-wrapper {
    justify-content: center;
    align-items: stretch;
}

.doctors__thumbs .swiper-slide {
    line-height: 0;
    font-size: 0;
    flex: 1 1 auto;
    width: auto;
}

.doctors__thumb {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.doctors__thumb-inner {
    width: 100%;
    aspect-ratio: 1/1;
    padding: 2px;
    display: block;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

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

.doctors__thumb.is-active .doctors__thumb-inner {
    border-color: var(--mc-accent-color);
}


.doctors__main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
}

.doctors__slides {
    width: 100%;
    max-width: 800px;
}

.doctors__slides .swiper-wrapper {
    align-items: stretch;
}

.doctors__slide.swiper-slide {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    align-items: flex-start;
    width: 100%;
    background: var(--text-light);
    height: auto;
}

.doctors__slide.swiper-slide:not(.swiper-slide-active) {
    opacity: 0 !important;
}

.doctors__photo {
    font-size: 0;
    line-height: 0;
}

.doctors__photo img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.doctors__content {
    padding-top: var(--fz-body);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.doctors__text {
    margin-bottom: 30px;
    font-size: var(--fz-big);
    opacity: 0.6;
    font-weight: 300;
    line-height: var(--lh-big);
}

.doctors__info {
    display: flex;
    justify-content: space-between;
}

.doctors__name {
    font-weight: 500;
}

.doctors__position {
    opacity: 0.6;
    font-weight: 300;
}

a.doctors__link {
    display: inline-block;
    margin-top: 0.5em;
    font-weight: 500;
    color: var(--mc-accent-color);
    line-height: var(--lh-big);
    letter-spacing: 0;
    text-underline-offset: 2px;
}


.doctors__arrow {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 52px;
    font-family: 'Philosofer';
    line-height: 1;
    padding: 8px;
    color: #00a276;
}

@media (max-width: 767px) {
    .doctors__thumbs .swiper-slide {
        width: calc((100% - 40px) / 2) !important;
        margin-bottom: 20px;
    }

    .doctors__thumbs .swiper-wrapper {
        flex-wrap: wrap;
    }

    .doctors__thumbs {
        max-width: 220px;
    }

    .doctors__slide.swiper-slide {
        display: flex;
        flex-direction: column-reverse;
        height: 100%;
        gap: 0;

        padding-bottom: 44px;
        position: relative;
        align-items: center;
    }

    .doctors__content {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
        align-items: center;
    }

    .doctors__text {
        font-size: var(--fz-body);
        margin-bottom: 20px;
    }

    .doctors__info {
        display: grid;
        line-height: var(--lh-big);
    }

    .doctors__link {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
    }

    .doctors__photo {
        max-width: 220px;
    }

    .doctors__main {
        gap: 10px;
    }

    .doctors__title {
        font-size: 26px;
        margin-bottom: 40px;
    }

    .doctors__subtitle {
        font-size: var(--fz-body);
    }

    .doctors__header {
        margin-bottom: 40px;
    }

    .doctors__thumbs {
        margin-bottom: 0px;
    }

    .section.doctors {
        padding: 60px 0 40px;
    }
}


.section.intro-slider {
    background-color: var(--mc-bg);
    color: #fff;
}

.section.intro-slider .container {
    max-width: 100%;
    padding: 0;
}

.intro-slider__inner {
    display: flex;
    flex-direction: column;
}

.intro-slider__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.intro-slider__text {
    max-width: 720px;
    width: 50vw;
    padding-left: 55px;
    padding-right: 30px;
    margin-left: auto;
    padding-top: 80px;
    padding-bottom: 60px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.intro-slider__title {
    max-width: 586px;
    font-weight: 200;
}

.intro-slider__right {
    overflow: hidden;
}


.intro-slider__swiper {
    position: relative;
    width: 100%;
    height: 100%;
}

.intro-slider__swiper .swiper-wrapper {}

.intro-slider__slide {
    width: 100%;
    height: 100%;
}

.intro-slider__slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.intro-slider__swiper {
    aspect-ratio: 720 / 824;
    max-height: 100vh;
}

.intro-slider__pagination {
    position: absolute;
    left: 50%;
    bottom: 16px;
}

.intro-slider__pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 4px !important;
    transition: background-color .2s ease, width .2s ease;
}

.intro-slider__pagination .swiper-pagination-bullet-active {
    width: 18px;
    background-color: #fff;
}

.intro-slider__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--mc-bg-light);
    min-height: 200px;
}

.intro-slider__bottom-text {
    padding: 30px 0;
    display: flex;
    align-items: center;
}

.intro-slider__bottom-text .text-wrapper {
    max-width: 720px;
    width: 50vw;
    padding-left: 55px;
    padding-right: 60px;
    margin-left: auto;
    font-size: var(--fz-sub);
    color: var(--mc-accent-light);
    letter-spacing: var(--ls-minus);
}

.intro-slider__bottom-btn {
    background-image: url(../../../wp-content/uploads/2026/01/intro-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* адаптив */

@media (max-width: 768px) {
    .intro-slider__top {
        grid-template-columns: 1fr;
    }

    .intro-slider__title {
        max-width: none;
        font-size: var(--fz-sub);
        font-weight: 300;
        color: var(--mc-accent-light);
        font-family: 'e-Ukraine';
    }

    .section.intro-slider {
        padding: 60px 0 0;
    }

    .intro-slider__bottom {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .intro-slider__bottom-btn {
        width: 100%;
        height: 126px;
    }

    .intro-slider__bottom-btn .btn {
        /* width: 100%; */
        text-align: center;
    }

    .intro-slider__text {
        width: 100%;
        padding: 0 30px 30px 30px;
        text-align: center;
    }

    .intro-slider__bottom-text .text-wrapper {
        width: 100%;
        padding: 0 30px;
        text-align: center;
        font-weight: 300;
        font-size: var(--fz-body);
    }
}



.section.cases {
    padding: 40px 0;
    overflow: hidden;
}

.cases__header {
    margin-bottom: 60px;
}

.cases__eyebrow {
    font-size: var(--fz-sub);
    text-transform: uppercase;
    margin-bottom: 60px;
    max-width: 770px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 10px;
}

.cases__subtitle {
    font-size: var(--fz-sub);
    font-weight: 700;
    font-family: 'e-Ukraine_head';
    margin-bottom: 0;
}

.cases__title {
    font-size: var(--fz-h2-big);
    letter-spacing: var(--ls-minus);
    font-weight: 400;
    margin-bottom: 60px;
}

/* slider */

.cases__slider {
    position: relative;
    overflow: visible;
}

.cases__slide {
    height: auto;
    width: 462px;
}

.cases__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.cases__card:hover {}

.cases__image {
    position: relative;
    aspect-ratio: 462/605;
    overflow: hidden;
}

.cases__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cases__info {
    padding: 60px 30px 30px;
    border-radius: 0 0 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    bottom: 0;
    color: var(--text-light);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

.cases__info-top {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: baseline;
    border-bottom: 1px solid var(--text-light);
    letter-spacing: var(--ls-minus);
    padding-bottom: 18px;
    margin-bottom: 18px;
}

.cases__info-bottom {
    display: grid;
    grid-template-columns: 1fr 16px;
    gap: 40px;
}

.cases__name {
    font-weight: 600;
}

.cases__age::before {
    content: '•';
    display: inline-block;
    margin-right: 6px;
}

.cases__tag {
    margin-left: auto;
    opacity: 0.6;
}

.cases__desc {
    opacity: 0.6;
    font-weight: 300;
}

.cases__more {
    font-size: 0;
    line-height: 0;
    align-self: flex-end;
    margin-bottom: 4px;
}

/* responsive */

@media (max-width: 767px) {
    .cases__title {
        font-size: 30px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .cases__header {
        max-width: 290px;
        margin: 0 auto 30px;
        text-align: center;
    }

    .cases__eyebrow {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 30px;
        font-size: 14px;
        margin-bottom: 30px;
    }

    .cases__slider {
        max-width: 300px;
    }

    .cases__image {
        aspect-ratio: 3/5;
    }

    .cases__info {
        padding: 40px 25px 20px;
        gap: 0;
    }

    .cases__info-top {
        padding-right: 40px;
    }

    .cases__age,
    .cases__tag {
        display: none;
    }

    .cases__more {
        position: absolute;
        top: 40px;
        right: 20px;
    }

    .cases__info-bottom {
        display: block;
        font-size: 14px;
        letter-spacing: var(--ls-minus);
    }

    .section.cases {
        padding-bottom: 20px;
    }
}


.section.blog {
    padding: 40px 0;
    background: #ffffff;
}

.blog__header {
    margin-bottom: 40px;
}

.blog__eyebrow {
    font-size: var(--fz-sub);
    letter-spacing: var(--ls-minus);
    margin-bottom: 20px;
    font-weight: 700;
}

.blog__title {
    font-size: var(--fz-h2-med);
    letter-spacing: var(--ls-minus);
    max-width: 380px;
    font-weight: 400;
    margin-bottom: 40px;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.blog-card {
    background: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.blog-card__image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;

    border-radius: 10px;
}

.blog-card__content {
    padding: 16px 0 44px;
    display: flex;
    flex-direction: column;
    letter-spacing: var(--ls-minus);
}

.blog-card__title {
    font-size: var(--fz-big);
    font-family: 'e-Ukraine_head';
    margin-bottom: 20px;
    font-weight: 400;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__excerpt {
    opacity: 0.6;
    font-family: 'e-Ukraine_head';
    font-weight: 300;
}

a.blog-card__more {
    margin-top: 8px;
    color: #008c5a;
    text-decoration: underline;
    text-underline-offset: 4px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.blog__footer {
    display: flex;
    justify-content: center;
}

/* адаптив */

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

@media (min-width: 768px) {
    .blog__grid {
        display: grid;
    }

    .blog__grid.blog-swiper .swiper-wrapper {
        display: contents;
    }

    .blog__grid.blog-swiper .swiper-slide {
        width: auto !important;
    }
}

@media (max-width: 767px) {
    .section.blog {
        overflow: hidden;
        text-align: center;
    }

    .blog__title {
        font-size: 30px;
        max-width: 310px;
        margin: 0 auto;
    }

    .blog__grid.blog-swiper {
        display: block;
        max-width: 300px;
        overflow: visible;
    }

    .blog__grid.blog-swiper .swiper-wrapper {
        display: flex;
    }

    .blog__grid.blog-swiper .swiper-slide {
        height: auto;
    }

    .blog__header {
        margin-bottom: 30px;
    }

    .blog-card__title {
        font-size: 26px;
        letter-spacing: var(--ls-minus);
        margin-bottom: 10px;
    }

    a.blog-card__more {
        right: 0;
        margin: 0 auto;
    }

    .blog-card__content {
        padding: 16px 0 34px;
    }
}


.section.cta {
    padding: 40px 0 0;
}

.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    overflow: hidden;
    background-color: var(--mc-bg);
}

/* ліва зелена частина */

.cta__left {
    position: relative;
    background-color: var(--mc-bg);
    color: #fff;
    padding: 60px 0 60px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 1;

    max-width: 720px;
    width: 50vw;
    margin-left: auto;
}

.cta__left-content {
    position: relative;
    z-index: 2;
}

/* косий зріз праворуч */

.cta__left::after {
    content: "";
    position: absolute;
    top: 0;
    right: -80px;
    width: 160px;
    height: 100%;
    background-color: var(--mc-bg);
    transform: skewX(-15deg);

}

.cta__quote {
    margin-bottom: 20px;
    font-weight: 200;
    line-height: var(--lh-big);
    letter-spacing: var(--ls-minus);
    color: var(--mc-accent-light);
}

.cta__btn-wrap {
    margin-bottom: 30px;
}

.cta__text {
    font-family: 'e-Ukraine_head';
    color: var(--mc-accent-light);
    font-size: var(--fz-sub);
    line-height: var(--lh-big);
    letter-spacing: var(--ls-minus);
    font-weight: 200;
    max-width: 610px;
}

/* права частина з фото */

.cta__right {
    position: relative;
    overflow: hidden;
}

.cta__right img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* адаптив */

@media (max-width: 960px) {
    .cta__inner {
        grid-template-columns: 1fr;
    }

    .cta__left::after {
        display: none;
    }

    .section.cta {
        padding: 40px 0 0;
    }

    .cta__left {
        padding: 40px 30px;
        max-width: 100%;
        width: 100%;
    }

    .cta__quote {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .cta__text {
        font-size: var(--fz-body);
    }

    .cta__right img {
        aspect-ratio: 1/1.1;
    }
}


.site-footer {
    background: #000;
    color: rgba(255, 255, 255, 0.6);
    padding: 40px 0 20px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.site-footer a:hover {
    color: #fff;
}

.footer__top {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.footer__brand {
    flex: 0 0 350px;
    margin-right: auto;
}

.footer__logo {
    max-width: 350px;
    height: auto;
    display: block;
}

.footer__logo-text {
    color: #fff;
    font-weight: 300;
}

.footer__col {
    /* flex:1 1 0; */
    min-width: 220px;
}

.footer__title {
    color: #fff;
    font-weight: 500;
    margin-bottom: 30px;
    font-size: var(--fz-sub);
    padding-top: 20px;
}

.footer__menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-right: 80px;
}

.footer__contact {
    color: #fff;
}

.footer__address {
    line-height: 1.35;
}

.footer__social {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 6px;
}

.footer__social-link {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

/* нижняя линия и бар */
.footer__bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .3);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    font-size: 16px;
    color: rgba(255, 255, 255, .3);
    font-weight: 300;
}

.footer__bottom a {
    color: rgba(255, 255, 255, .3);
    text-decoration: underline;
    font-weight: 300;
    text-underline-offset: 4px;
}

.footer__bottom a:hover {
    color: #fff;
}

.footer__dot {
    margin: 0 10px;
    opacity: .3;
}

.post,
.page {
    margin-bottom: 0;
}

@media (max-width: 1080px) {
    .footer__top {
        flex-wrap: wrap;
        gap: 20px 60px;
    }

    .footer__bottom {
        flex-wrap: wrap;
    }

    .footer__brand {
        width: 100%;
        flex: unset;
    }
}

@media (max-width: 767px) {
    .footer__top {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .footer__brand {
        flex: 0 0 auto;
    }

    .footer__logo {
        max-width: 280px;
        margin: 0 auto;
    }

    .footer__bottom {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-top: 40px;
        padding-top: 40px;
        gap: 40px;
    }

    .footer__contacts {
        margin-right: 0;
        gap: 14px;
        font-size: 16px;
    }

    .footer__social-link span {
        display: none;
    }

    .footer__social {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .footer__dot {
        display: none;
    }

    .footer__menu {
        gap: 14px;
        font-size: 16px;
    }

    .footer__bottom-left {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .footer__bottom-right {
        max-width: 200px;
    }

    .site-footer {
        padding: 40px 10px;
    }
}


.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 55px 0;
}

.header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header__logo-img {
    height: auto;
    width: 100%;
    max-width: 350px;
    display: block;
}

.header__right--desktop {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 30px;
}

.header__menu a {
    color: #fff;
    text-decoration: none;
}

.header__kids-img {
    height: 30px;
    width: auto;
    display: block;
    margin-bottom: 4px;
}

.header__btn,
.header__btn:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 30px;
    height: 53px;
    border-radius: 999px;
    background: var(--mc-accent-color);
    color: #fff;
    text-decoration: none;

    box-shadow: 0px 2px 0px 0px rgba(157, 218, 197, 0.3) inset, 0px 2px 3px 0px rgba(0, 0, 0, 0.5);

}

.header__btn:hover {
    color: var(--text-light);
    box-shadow: none;
}

.header__burger {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    padding: 10px;
    cursor: pointer;
}

.header__burger span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 6px 0;
    border-radius: 2px;
}


.header__collapse {
    background: rgba(255, 255, 255, .02);
    border-top: 1px solid rgba(255, 255, 255, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    padding: 40px 0 60px;
}

.header__collapse-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.header__menu--mobile {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.header__btn--mobile {
    width: 100%;
}

/* базове */
.header__menu {
    display: flex;
    gap: 18px;
}

.header__menu .menu-item {
    position: relative;
}

.header__menu .menu-item a:hover {
    /* color: var(--mc-accent-color); */
}

/* sub-menu приховане */
.header__menu .sub-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 12px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    display: none;
    z-index: 100;
}

/* показ */
.header__menu .menu-item.is-open>.sub-menu {
    display: block;
}

/* пункти */
.header__menu .sub-menu a {
    display: block;
    padding: 8px 14px;
    white-space: nowrap;
}

/* стрілка */
.header__menu .menu-item-has-children>a {
    position: relative;
    margin-right: 30px;
}

.header__menu .menu-item-has-children>a::after {
    content: "";
    margin-left: 6px;
    display: block;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    transform: rotate(-45deg);
    position: absolute;
    left: 100%;
    top: 8px;
}

/* мобілка — без absolute */
@media (max-width: 1080px) {
    .site-header {
        position: fixed;
        padding: 0;
    }

    .header__inner {
        padding: 20px;
        padding-right: 10px;
    }

    .header__menu {
        flex-direction: column;
    }

    .header__menu .sub-menu {
        position: static;
        margin-top: 6px;
        padding-left: 12px;
        background: none;
    }
}

@media (max-width: 1080px) {
    .header__burger {
        display: block;
    }

    .header__right--desktop {
        display: none;
    }

    .header__menu--mobile .sub-menu {
        display: none;
        list-style: none;
        margin: 8px 0 0;
        padding: 0 0 0 14px;
        border: none
    }


    .header__menu--mobile .menu-item.is-open>.sub-menu {
        display: block;
    }


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


    .header__submenu-toggle {
        position: absolute;
        right: 0;
        top: 0;
        height: 32px;
        width: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        color: #fff;
        cursor: pointer;
    }

    .header__submenu-toggle::before {
        content: "▾";
        font-size: 14px;
        line-height: 1;
        transform: rotate(0deg);
        transition: transform .2s ease;
        opacity: .85;
    }

    .header__menu--mobile .menu-item.is-open>.header__submenu-toggle::before {
        transform: rotate(180deg);
    }

    .header__menu--mobile>.menu-item>a {
        padding-right: 6px;
        display: inline-block;
    }

    .header__logo-img {
        max-width: 250px;
    }

    .header__burger span:first-child {
        margin-top: 0;
    }

    .bg-change,
    .menu-open {
        background: var(--mc-bg);
    }

    .header__collapse-inner {
        gap: 40px;
    }
}


/* Doctors template */
.doctor-hero__grid {
    display: grid;
    grid-template-columns: 1fr min(43.402777777vw, 625px);
    grid-template-rows: auto auto;
    position: relative;
    overflow: visible;
}

.doctor-hero__cell--text-top .text-wrapper,
.doctor-hero__cell--text-bottom .text-wrapper {
    max-width: 815px;
    padding-left: 55px;
    padding-right: 60px;
    margin-left: calc(50vw - 720px);
}

.doctor-hero__cell--text-top {
    background: var(--mc-bg);
    color: var(--text-light);
    padding-top: 140px;
    padding-bottom: 50px;
}

.doctor-hero__cell--text-top .text-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.doctor-hero__cell--text-bottom {
    padding-top: 40px;
    font-family: 'e-Ukraine';
    font-size: var(--fz-big);
    font-weight: 300;
    line-height: var(--lh-big);
    letter-spacing: var(--ls-minus);
}

.doctor-hero__cell--img-top,
.doctor-hero__cell--img-bottom {
    background-size: cover;
    background-position: center;
}

.doctor-hero__cell--img-top {
    aspect-ratio: 625/623;
}

.doctor-hero__cell--img-bottom {
    background-position: center bottom;
    aspect-ratio: 625/470;
    position: relative;
}


.doctor-hero__back {
    display: inline-block;
    text-decoration: none;
}

.doctor-hero__name {
    font-family: 'Philosopher';
    font-size: 100px;
    font-style: normal;
    font-weight: 400;
    line-height: 1em;
    letter-spacing: -3px;
    margin-top: auto;
    margin-bottom: 30px;
}

.doctor-hero__position {
    color: var(--mc-accent-light);
    font-family: "e-Ukraine_head";
    font-size: var(--fz-big);
    font-style: normal;
    font-weight: 300;
    line-height: var(--lh-big);
    letter-spacing: var(--ls-minus);
}

.doctor-hero__text p {
    margin: 0;
}

.doctor-hero__text p+p {
    margin-top: 10px;
}

.doctor-hero__photo {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    height: auto;
    width: 100%;
    max-width: 100%;
    z-index: 10;
    pointer-events: none;
}

@media (max-width: 1330px) {

    .doctor-hero__cell--text-top .text-wrapper,
    .doctor-hero__cell--text-bottom .text-wrapper {
        padding-left: 20px;
        padding-right: 30px;
        margin-left: 0;
    }
}

@media (max-width: 1130px) {
    .doctor-hero__name {
        font-size: 50px;
    }
}

@media (max-width: 1080px) {
    .doctor-hero__cell--text-top {
        padding-top: 84px;
    }
}

@media (max-width: 960px) {
    .doctor-hero__grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }

    .doctor-hero__cell--img-top {
        order: 1;
    }

    .doctor-hero__cell--img-bottom {
        order: 2;
    }

    .doctor-hero__cell--text-top {
        order: 3;
        margin-top: -10px;
        text-align: center;
        padding: 50px 30px;
    }

    .doctor-hero__cell--text-bottom {
        order: 4;
        padding: 50px 30px;
        text-align: center;
        font-size: var(--fz-sub);
    }

    .doctor-hero__cell--text-top .text-wrapper {
        padding: 0;
    }

    .doctor-hero__cell--text-bottom .text-wrapper {
        padding: 0;
    }

    .doctor-hero__back {
        display: none;
    }
}




.directions {
    background: linear-gradient(0deg, #F4F9FA 0%, #F4F9FA 100%), linear-gradient(180deg, #F1F1F1 0%, rgba(255, 255, 255, 0.00) 100%);
    padding: 80px 0;
}

.directions__wrapper {}

.directions__eyebrow {
    font-size: var(--fz-sub);
    margin-bottom: 20px;
    letter-spacing: var(--ls-minus);
    font-weight: 700;
}

.directions__title {
    margin: 0 0 30px;
    font-size: var(--fz-h2-med);
    letter-spacing: var(--ls-minus);
    font-weight: 400;
}

.directions__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 18px;
}

.directions__card {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, .06);
    transition: transform .2s ease, box-shadow .2s ease;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    letter-spacing: var(--ls-minus);
}

.directions__card:hover {}

.directions__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 30px;
}

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

.directions__sub {
    font-size: var(--fz-sub);
    color: var(--mc-bg-light);
    margin-bottom: 14px;
    font-weight: 300;
}

.directions__card-title {
    font-size: var(--fz-big);
    font-family: 'e-Ukraine_head';
    font-weight: 500;
    line-height: var(--lh-big);
    margin-bottom: 60px;
}

.directions__arrow {
    font-size: 32px;
    color: var(--mc-accent-color);
}


@media (max-width: 1024px) {
    .directions__list {
        grid-template-columns: 1fr 1fr 1fr;
    }
}


@media (max-width: 990px) {
    .directions__list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 960px) {
    .directions {
        padding: 40px 0;
    }

    .directions__eyebrow,
    .directions__title {
        text-align: center;
    }

    .directions__title {
        font-size: 30px;
    }
}


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



.mc88-doc .section.cta {
    padding-top: 0;
}

@media (min-width: 961px) {
    .mc88-doc .cta__right img {
        position: absolute;
    }

    .mc88-doc .cta__right {
        aspect-ratio: 685/409;
    }

    .mc88-doc .cta__left {
        padding: 60px 0 110px 55px;
    }
}

.section.doctor {
    margin-top: -110px;
    position: relative;
    z-index: 1;
    padding-bottom: 80px;
}

.doctor__grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.doctor__content {
    padding-top: 160px;
    font-family: 'e-Ukraine_head';
    font-weight: 300;
    letter-spacing: var(--ls-minus);
    line-height: var(--lh-big);
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 656px;
}

.doctor__content h3 {
    font-weight: 300;
    font-size: var(--fz-h2);
    margin-bottom: 20px;
}

.doctor__two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.doctor__rich ul {
    margin: 0;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.doctor__rich p:last-child {
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .doctor__grid {
        flex-direction: column-reverse;
        display: flex;
        gap: 40px;
    }

    .section.doctor {
        margin-top: 0;
        margin-bottom: -60px;
        padding-bottom: 0;
    }

    .doctor__content {
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .doctor__content {
        text-align: center;
    }

    .doctor__two-col {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .doctor__rich ul {
        list-style: none;
        padding-left: 0;
    }

    .doctor__media {
        text-align: center;
    }
}

.doctor-video {
    background: var(--mc-bg);
    color: #fff;
}

.doctor-video__wrapper {
    padding: 80px 0;
}

.doctor-video__grid {
    display: grid;
    grid-template-columns: 1fr 1.44fr;
    gap: 60px;
}

.doctor-video__left {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.doctor-video__title {
    margin: 0 0 20px;
    font-size: var(--fz-h2-med);
    font-weight: 400;
    letter-spacing: var(--ls-minus);
}

.doctor-video__text {
    font-family: 'e-Ukraine_head';
    font-weight: 300;
    font-size: var(--fz-big);
    letter-spacing: var(--ls-minus);
    color: var(--mc-accent-light);
    margin-bottom: auto;
}

a.btn.doctor-video__btn {
    display: inline-flex;
    max-width: fit-content;
}

.doctor-video__right {
    align-self: center;
}

.video-card {
    position: relative;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
}

.video-card__poster {
    position: relative;
}

.video-card__poster img {
    width: 100%;
    height: auto;
    display: block;
}

.video-card__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.video-card__video {
    width: 100%;
    height: auto;
    display: none;
}

.video-card.is-playing .video-card__poster {
    display: none;
}

.video-card.is-playing .video-card__video {
    display: block;
}

.doctor-video__right a.btn.doctor-video__btn {
    display: none;
}

@media (max-width: 960px) {
    .doctor-video__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .doctor-video__title {
        font-size: 30px;
    }

    .doctor-video__wrapper {
        padding: 90px 0 40px;
    }

    .doctor-video__left a.btn.doctor-video__btn {
        display: none;
    }

    .doctor-video__right a.btn.doctor-video__btn {
        display: inline-flex;
    }
    .video-card {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .doctor-video__left {
        text-align: center;
        padding: 0 30px;
    }

    .doctor-video .container {
        padding: 0;
    }

    .doctor-video__right {
        text-align: center;
    }

    .video-card__poster img {
        height: 100%;
        object-fit: cover;
    }

    .video-card__poster {
        aspect-ratio: 1/1;
    }

    .video-card__video {
        width: 100%;
        height: 100%;
        aspect-ratio: 1/1;
        object-fit: cover;
    }

    .video-card {
        border-radius: 0;
    }


}

.life {
    background: rgba(181, 215, 220, 0.15);
}

.life__wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
    position: relative;
}

.life__content {
    max-width: 800px;
}

.life__title {
    margin: 0 0 20px;
    font-size: var(--fz-sub);
    line-height: var(--lh-big);
    letter-spacing: var(--ls-minus);
    font-family: 'e-Ukraine';
}

.life__text {
    font-size: var(--fz-big);
    line-height: var(--lh-big);
    letter-spacing: var(--ls-minus);
    font-family: 'e-Ukraine_head';
}

.life__images {
    display: flex;
    gap: 30px;
    position: relative;
}

.life__image {
    width: calc(50% - 15px);
}

.life__image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.life__image--right {
    margin-top: -80px;
}

@media (max-width: 960px) {
    .life {
        overflow: hidden;
    }
    .life .container {
        padding: 0;
    }
    .life__wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .life__text {
        font-size: var(--fz-sub);
    }

    .life__content {
        padding: 0 30px;
    }

    .life__images {
        margin-top: 40px;
        margin-left: -30px;
        margin-right: -30px;
    }

    .life__image {
        width: calc(50% + 30px);
    }
}

.mc88-doc .cases {
    background: var(--mc-bg);
    color: #fff;
    padding: 60px 0;
}

.mc88-doc .cases__title {
    font-size: var(--fz-h2-med);
    margin-bottom: 20px;
}

.mc88-doc .cases__subtitle {
    font-size: var(--fz-big);
    font-weight: 300;
    max-width: 664px;
    letter-spacing: var(--ls-minus);
}

.mc88-doc .cases__header {
    display: flex;
    justify-content: space-between;
    gap: 60px;
}
.mc88-doc .cases .btn-wrapper {
    display: none;
}
.mc88-doc .cases__header .btn-wrapper {
    display: flex;
    align-items: flex-end;
}

.mc88-doc .btn--outline svg {
    min-width: 14px;
    width: 14px;
}

@media (max-width: 960px) {
    .mc88-doc .cases .btn-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-top: 40px;
    }
    .mc88-doc .cases__header .btn-wrapper {
        display: none;
    }
    .mc88-doc .cases {
        padding: 40px 0;
    }
    .mc88-doc .cases__title {
        margin-top: 0;
        font-size: 30px;
    }
    .mc88-doc .cases__subtitle {
        font-size: 18px;
        color: var(--mc-accent-light);
        font-weight: 200;
    }
}