/*!
Theme Name: orthopaedie-sommer
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
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: orthopaedie-sommer
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.

orthopaedie-sommer 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
	 ========================================================================== */

:root {
  --white: #fff;
  --dark-white: #dadada;
  --black: #000000;
  --gray: #6f6f6f;
  --black-text: #333333;
  --brown: #ad8c70;
  --dark-gray: #101828;
  --gray-2: #656565;
  --dark-gray-2: #222222;
}

/**
 * 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%;
  scroll-behavior: smooth;
}

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

.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .container {
    max-width: 100%;
    padding-inline: 40px !important;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .container {
    max-width: 100%;
    width: 100%;
    padding-inline: 32px !important;
  }
}

.full-screen-width {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
}

/* Typography
--------------------------------------------- */

body,
button,
input,
select,
optgroup,
textarea {
  color: var(--black-text);
  font-family: "Ubuntu", sans-serif;
  font-weight: 300;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  font-family: "Cormorant SC", serif;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
  margin: 0;
}

h1,
.h1 {
  font-size: 48px;
  line-height: 100%;
}

h2,
.h2 {
  font-size: 32px;
  line-height: 40px;
  hyphens: auto;
}

@media (min-width: 1024px) {
  h1,
  .h1 {
    font-size: 60px;
    line-height: 100%;
  }
  h2,
  .h2 {
    font-size: 54px;
    line-height: 100%;
  }
}

.light-header,
.light-header mark {
  background-image: linear-gradient(
    89.64deg,
    rgba(255, 255, 255, 0.7) 1.42%,
    #ffffff 49.94%,
    rgba(255, 255, 255, 0.7) 97.18%
  ) !important;
  color: transparent !important;
  background-clip: text !important;
}

h2,
.h2 {
  background-image: linear-gradient(90deg, #101828 0%, #626262 100%);
  color: transparent !important;
  background-clip: text !important;
}

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.wp-block-separator {
  background-color: #505050;
  border: none !important;
  height: 1px;
  width: 100%;
}

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

.content-section {
  margin-top: 100px;
}

.entry-content {
  margin-bottom: 100px;
  position: relative;
}

.entry-content > * {
  position: relative;
  z-index: calc(50 - var(--i));
}

/* assign index */
.entry-content > *:nth-child(1) {
  --i: 1;
}
.entry-content > *:nth-child(2) {
  --i: 2;
}
.entry-content > *:nth-child(3) {
  --i: 3;
}
.entry-content > *:nth-child(4) {
  --i: 4;
}
.entry-content > *:nth-child(5) {
  --i: 5;
}
.entry-content > *:nth-child(6) {
  --i: 6;
}
.entry-content > *:nth-child(7) {
  --i: 7;
}
.entry-content > *:nth-child(8) {
  --i: 8;
}
.entry-content > *:nth-child(9) {
  --i: 9;
}
.entry-content > *:nth-child(10) {
  --i: 10;
}

@media (min-width: 1024px) {
  .content-section {
    margin-top: 130px;
  }
  .entry-content {
    margin-bottom: 140px;
  }
}

/* BUTTONS */

.button {
  outline: none;
  border-radius: 1000px;
  white-space: nowrap;
  line-height: 100%;
  text-decoration: none;
  width: fit-content;
  overflow: hidden;
  font-size: 1.125rem;
  font-weight: 500;
  transition: all ease-in-out 0.2s;
}

.button:has(a) a {
  padding: 16px 32px;
  text-transform: uppercase;
  transition: all ease-in-out 0.2s;
}

.button:has(a):hover a {
  text-decoration: none !important;
}

@media only screen and (max-width: 600px) {
  .button:has(a) a {
    white-space: normal;
  }
}

.button:hover {
  transform: translateY(-0.25em);
  box-shadow: 0 0.5em 0.5em -0.4em var(--black);
}

.white-bg a,
.black-bg:hover a {
  background: linear-gradient(265.16deg, #ffffff 20.19%, #999999 117.09%);
  color: var(--black) !important;
  outline: 1px solid transparent;
  outline-offset: -1px;
}

.white-bg:hover a {
  outline: 1px solid var(--white);
  background: transparent;
  color: var(--white) !important;
}

.black-bg a {
  background: linear-gradient(265.16deg, #434343 20.19%, #1a1a1a 117.09%);
  color: var(--white) !important;
}

.button-with-icon > a {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.button-with-icon--phone > a::before {
  content: "";
  display: block;
  margin-right: 10px;
  width: 18px;
  height: 18px;
  background-color: var(--black);
  -webkit-mask: url(assets/icons/phone.svg) no-repeat center;
  mask: url(assets/icons/phone.svg) no-repeat center;
  mask-size: contain;
  -webkit-mask-size: contain;
  transition: all ease-in-out 0.2s;
}

.white-bg.button-with-icon:hover > a::before {
  background-color: var(--white);
}
/* BUTTONS END */

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  transition:
    transform 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease;
}

/* Initial state */
.site-header {
  background-color: transparent;
  transform: translateY(0);
}

/* Sticky state */
.site-header.is-sticky {
  position: fixed;
  background-color: var(--dark-gray-2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-100%);
}
.site-header.default-sticky {
  position: sticky;
}

.site-header.is-sticky .site-header-inner {
  align-items: center;
  padding-block: 10px;
}

.site-header.no-transition {
  transition: none !important;
}

.site-header.is-sticky:not(.is-visible) {
  transform: translateY(-100%);
}

.site-header.is-sticky.is-visible {
  transform: translateY(0);
}

.site-logo--secondary img {
  width: 226px;
  height: 162px;
  object-fit: contain;
  object-position: top;
}

/* Logo switch */
.site-logo--secondary {
  display: inline-block;
}

.site-logo--primary {
  display: none;
}

.site-header.is-sticky .site-logo--secondary {
  display: none;
}

.site-header.is-sticky .site-logo--primary {
  display: inline-block;
}

@media (min-width: 96rem) {
	.site-header .site-header-inner {
        grid-template-columns: 1fr auto 1fr;
    }
}

/* Navigation
--------------------------------------------- */
.main-navigation,
.menu-toggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 14px 44px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(43, 43, 43, 0.9) 100%
  );
  backdrop-filter: blur(2px);
  border-radius: 1000px;
  color: var(--white);
}

.main-navigation::after,
.menu-toggle::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1000px;
  border: 1px solid transparent;
  background: linear-gradient(360deg, #8b8b8b 0%, rgba(135, 135, 135, 0.4) 100%)
    border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  pointer-events: none;
}

.navigation-container {
  display: none;
}

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

.nav-menu ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
  background: #453E37;
  border-radius: 20px;
}

.nav-menu ul ul {
  left: -999em;
  top: 0;
}

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

.nav-menu ul a {
  width: 200px;
}

.nav-menu li:hover > ul,
.nav-menu li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  line-height: 1.37;
}

.main-navigation li {
  padding: 4px 15px;
  opacity: 0.7;
}
.main-navigation li:hover {
  opacity: 1;
  background: #ffffff26;
  border-radius: 100px;
}

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

.menu-toggle {
  position: relative;
  width: 64px;
  height: 52px;
  cursor: pointer;
  border-radius: 12px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(43, 43, 43, 0.9) 100%
  );
  border: none;
  outline: none;
  padding: 10px 18px;
}

.menu-toggle::after {
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffffcc;
  transition: all 0.7s;
  position: relative;
  border-radius: 5px;
}

.menu-toggle.active {
  background: var(--white);
}
.menu-toggle.active span {
  background: var(--dark-gray);
}

.menu-toggle span + span {
  margin-top: 4px;
}

.menu-toggle span:last-child {
  width: 80%;
}

.menu-toggle.active span:last-child {
  width: 100%;
}

.menu-toggle.active span:nth-child(1) {
  animation: ease 0.7s top forwards;
}

.menu-toggle.not-active span:nth-child(1) {
  animation: ease 0.7s top-2 forwards;
}

.menu-toggle.active span:nth-child(2) {
  animation: ease 0.7s scaled forwards;
}

.menu-toggle.not-active span:nth-child(2) {
  animation: ease 0.7s scaled-2 forwards;
}

.menu-toggle.active span:nth-child(3) {
  animation: ease 0.7s bottom forwards;
}

.menu-toggle.not-active span:nth-child(3) {
  animation: ease 0.7s bottom-2 forwards;
}

@keyframes top {
  0% {
    top: 0;
    transform: rotate(0);
  }

  50% {
    top: 6px;
    transform: rotate(0);
  }

  100% {
    top: 6px;
    transform: rotate(45deg);
  }
}

@keyframes top-2 {
  0% {
    top: 6px;
    transform: rotate(45deg);
  }

  50% {
    top: 6px;
    transform: rotate(0deg);
  }

  100% {
    top: 0;
    transform: rotate(0deg);
  }
}

@keyframes bottom {
  0% {
    bottom: 0;
    transform: rotate(0);
  }

  50% {
    bottom: 6px;
    transform: rotate(0);
  }

  100% {
    bottom: 6px;
    transform: rotate(135deg);
  }
}

@keyframes bottom-2 {
  0% {
    bottom: 6px;
    transform: rotate(135deg);
  }

  50% {
    bottom: 6px;
    transform: rotate(0);
  }

  100% {
    bottom: 0;
    transform: rotate(0);
  }
}

@keyframes scaled {
  50% {
    transform: scale(0);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes scaled-2 {
  0% {
    transform: scale(0);
  }

  50% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@media screen and (min-width: 1024px) {
  .menu-toggle,
  .mobile-menu-navigation-container {
    display: none;
  }

  .navigation-container {
    display: none;
  }
}

@media screen and (max-width: 1279px) {
  .site-logo--secondary img {
    width: 158px;
    height: auto;
  }
}

@media screen and (max-width: 1023px) {
  .main-navigation--desktop {
    display: none;
  }

  .navigation-container.is-open {
    display: block;
    position: fixed;
    width: 100vw;
    height: 100vh;
    inset: 0;
    background: var(--dark-gray);
    z-index: 99;
    color: var(--white);
  }

  .navigation-container a {
    color: var(--white);
    text-decoration: none;
  }
  .nav-menu {
    flex-direction: column;
    gap: 20px;
  }

  .site-header-placeholder {
    display: none;
  }
}

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

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

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

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

.hero-section--front-page .wp-block-cover__inner-container,
common.hero-section-- .wp-block-cover__inner-container {
  margin-top: auto;
}

.hero-section--front-page .wp-block-cover__inner-container,
.hero-section--common .wp-block-cover__inner-container {
  position: relative;
}
/* .hero-section--front-page .wp-block-cover__inner-container::before,
.hero-section--common .wp-block-cover__inner-container::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    256.91deg,
    rgba(0, 0, 0, 0) 38.67%,
    rgba(0, 0, 0, 0.72) 91.64%
  );
} */

.hero-section-person-image {
  position: relative;
}
.hero-section-person-image > * {
  z-index: 1;
  position: relative;
}
.hero-section-person-image::before {
  content: "";
  position: absolute;
  left: 20%;
  top: 10%;
  background-color: #362a20;
  height: 80%;
  width: 20%;
  border-radius: 99px;
  transform: rotate(3.4deg);
  filter: blur(100px);
  z-index: 0;
}
.hero-section {
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.7);
}

.hero-section--common {
  padding: 0 !important;
}
.hero-section__stamp {
  position: absolute;
  inset: 0;
  margin: 0 auto !important;
  width: fit-content;
  height: 100%;
  left: 50%;
  transform: translatex(-50%);
}
.hero-section__stamp img {
  width: auto;
  height: 100%;
  max-width: unset;
}
.hero-section__content {
  width: 50%;
  margin: 0 auto;
  flex-direction: column;
  align-items: center !important;
  gap: 32px !important;
  padding-block: 190px 140px;
  text-align: center;
}
.hero-section--common .light-header mark {
  display: block;
  margin-top: 22px;
}
.hero-section--common .light-header,
.hero-section--common .light-header bdo {
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hero-section-header {
  letter-spacing: -0.01em;
}
.hero-section-header mark {
  font-size: 0.7em;
  font-weight: 400;
}

.hero-section--cta {
  box-shadow: none;
  border-radius: 44px;
}

.hero-section--cta .hero-section__content {
  padding-block: 120px;
  width: 100%;
}

.light-gradient-bg {
  background: linear-gradient(180deg, #ffffff 0%, #fbf2eb 100%);
}

.black-section-bg {
  background-color: var(--black);
}

.light-gradient-bg,
.black-section-bg {
  padding-top: 50px;
  margin-top: -50px;
  padding-bottom: 100px;
  border-bottom-left-radius: 44px;
  border-bottom-right-radius: 44px;
  display: flow-root;
}

.eyebrow-heading {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.1em;
  color: var(--gray);
  margin-bottom: 12px !important;
  margin-top: 0;
  text-transform: uppercase;
}

.left-border-highlight {
  position: relative;
  align-items: start !important;
  padding-left: 40px;
}

.left-border-highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    #9a9a9a 1.21%,
    rgba(128, 128, 128, 0.25) 100%
  );
}
.left-border-highlight::after {
  content: "";
  position: absolute;
  top: 0;
  left: -2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #656565;
}

.checkmark-highlighted-label {
  padding: 12px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0px 4px 20px 0px #0000000a;
  font-size: 1.125rem;
  color: var(--black);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.checkmark-highlighted-label::before {
  content: url(assets/icons/checkmark.svg);
  width: 32px;
  height: 32px;
}

.mail-link a {
  color: var(--dark-white);
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
}
.mail-link a:hover {
  text-decoration: underline;
}

/* FAQ BLOCK */

.wp-block-accordion-item {
  position: relative;
  padding: 22px 30px;
  padding-top: 44px;
  border-radius: 16px;
  transition: all 0.2s ease-in-out;
}

.wp-block-accordion-item::before,
.wp-block-accordion-item:last-child::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    #9a9a9a 0%,
    rgba(128, 128, 128, 0.25) 100%
  );
}

.wp-block-accordion-item:last-child::after {
  top: unset;
  bottom: 0;
}

.wp-block-accordion-heading__toggle {
  flex-direction: row-reverse;
  gap: 26px;
  text-transform: none;
  padding: 0 !important;
}

.wp-block-accordion-item .wp-block-accordion-heading {
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  color: var(--black);
  font-family: "Ubuntu", sans-serif;
}

.wp-block-accordion-heading__toggle-icon {
  position: relative;
  font-size: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--black);
  border-radius: 10px;
}

.wp-block-accordion-heading__toggle-icon:before,
.wp-block-accordion-heading__toggle-icon:after {
  content: "";
  display: block;
  background-color: var(--black);
  position: absolute;
  top: 50%;
  left: 50%;
  transition: 0.35s;
  width: 10px;
  height: 2px;
  border-radius: 5px;
}

.wp-block-accordion-heading__toggle-icon:before {
  transform: translate(-50%, -50%);
}

.wp-block-accordion-heading__toggle-icon:after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.wp-block-accordion-item.is-open
  > .wp-block-accordion-heading
  .wp-block-accordion-heading__toggle-icon {
  transform: unset;
}

.wp-block-accordion-item.is-open
  > .wp-block-accordion-heading
  .wp-block-accordion-heading__toggle-icon:before {
  transform: translate(-50%, -50%) rotate(-90deg);
  opacity: 0;
}
.wp-block-accordion-item.is-open
  > .wp-block-accordion-heading
  .wp-block-accordion-heading__toggle-icon:after {
  transform: translate(-50%, -50%) rotate(0);
}

.wp-block-accordion-item.is-open {
  padding-block: 32px;
  background: linear-gradient(
    227.02deg,
    #6e6e6e -3.79%,
    var(--dark-gray-2) 100%
  );
}

.wp-block-accordion-item.is-open .wp-block-accordion-heading {
  color: var(--white);
}

.wp-block-accordion-item.is-open
  .wp-block-accordion-heading__toggle-icon:before,
.wp-block-accordion-item.is-open
  .wp-block-accordion-heading__toggle-icon:after {
  background-color: var(--white);
}

.wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
  border-color: var(--white);
}

.wp-block-accordion-item.is-open::before,
.wp-block-accordion-item.is-open + .wp-block-accordion-item::before,
.wp-block-accordion-item:first-child::before,
.wp-block-accordion-item:last-child.is-open::after,
.wp-block-accordion-item:last-child.is-open::before {
  display: none;
}
.wp-block-accordion-panel {
  color: #f0f0f0cc;
  margin-top: 8px;
}
.wp-block-accordion-panel p {
  margin: 0;
}

.ring-avatar {
  border-radius: 99px;
  overflow: hidden;
  box-shadow: 0 0 0 3px white;
  position: relative;
  width: 56px;
  height: 56px;
}
.ring-avatar img {
  width: 56px !important;
  height: 56px !important;
}

.ring-avatar-border:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 99px;
  width: 100%;
  height: 100%;
}

/* FAQ BLOCK END*/

.footer {
  /* rounded-t-[44px] z-50  */
  z-index: 50;
  border-top-left-radius: 44px;
  border-top-right-radius: 44px;
}

.footer__content {
  /* py-64 text-[#F0F0F0CC] !gap-22 */
  padding-block: 64px;
  gap: 22px !important;
  color: #f0f0f0cc;
}

.footer__top {
  /* !gap-32 text-center pb-68 */
  gap: 32px !important;
  padding-bottom: 68px;
  text-align: center;
}

.footer__top .custom-logo {
  /* [&_img]:!w-296  */
  width: 296px !important;
}

.footer__top > p {
  max-width: 400px;
}
.footer__top-overview {
  /* !mt-12 max-w-400 */
  margin-top: 12px !important;
}

.footer__top-menu {
  /* !mt-12 !gap-22 lg:!gap-32 */
  margin-top: 12px !important;
  gap: 22px !important;
}

.footer__bottom {
  /* w-full !gap-22 max-lg:flex-col */
  width: 100%;
  gap: 22px !important;
}

@media screen and (min-width: 1024px) {
  .footer__top-menu {
    gap: 32px !important;
  }
}

@media screen and (max-width: 1023px) {
  .footer__bottom {
    flex-direction: column !important;
  }
  .footer__bottom-year {
    /* max-lg:text-center */
    text-align: center;
  }
}
.footer-info mark {
  font-weight: 500;
  font-size: 1.125em;
}

footer a {
  color: #f0f0f0cc;
  text-decoration: none;
}
footer a:hover {
  color: #f0f0f0cc;
  text-decoration: underline;
}

footer p {
  margin: 0 !important;
}

#read-more-button {
  font-style: italic;
  font-weight: 500;
  cursor: pointer;
}

#read-more-button:hover {
  text-decoration: underline;
}

.collapsed-text:has(+ #read-more-button) {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.glass-bg {
  margin: 0 !important;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff24;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgb(255 255 255 / 0.3);
  box-shadow: 0px 4px 40px 0px #0000001f;
}

/* STACK CARDS */

/* Initial stacking offset */
/* Container */
.stack-cards {
  position: relative;
  width: 80%;
  padding-bottom: 40px;
  margin-top: 44px !important;
  margin-inline: auto;
  gap: 0 !important;
}

/* Cards */
.stack-cards .stack-cards-item {
  --overlay-intensity: 0;

  position: sticky;
  top: 8em;
  gap: 22px !important;
  align-items: flex-start !important;
  width: 100%;
  margin-bottom: 22px;
  padding: 32px;
  background: linear-gradient(227.02deg, #6e6e6e -3.79%, #222222 100%);
  border-radius: 32px;
  color: var(--white);
  transform-origin: center top;
  transform: translateY(var(--card-offset, 0px)) scale(var(--card-scale, 1));
  transition:
    transform 0.15s ease-out,
    background-color 0.5s ease-out,
    color 0.5s ease-out;

  will-change: transform, background;
}

.stack-cards .stack-cards-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  background: rgb(0 0 0 / 0.3);
  z-index: 1;
  opacity: calc(var(--overlay-intensity) * var(--overlay-intensity-multiplier));
  border-radius: inherit;
  pointer-events: none;
}

.stack-cards-item__number {
  position: relative;
  z-index: 1;
  min-width: 55px;
  min-height: 55px;
  padding-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cormorant SC", serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 500;
  color: var(--black-text);
}

.stack-cards-item__number::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  background: var(--white);
  border-radius: 50%;
  z-index: -1;
}

.stack-cards-item__info {
  gap: 22px !important;
}
.stack-cards-item__title {
  min-height: 55px;
  display: flex;
  align-items: center;
  font-family: "Cormorant SC", serif;
  font-size: 28px;
  line-height: 34px;
  font-weight: 500;
}
.stack-cards-item__description {
  font-size: 16px;
  line-height: 1.37;
  letter-spacing: 0.02em;
  color: #f0f0f0cc;
}

/* Initial stacking offset */
.stack-cards .stack-cards-item:nth-child(1) {
  --card-offset: 0px;
  --overlay-intensity-multiplier: 1;
}
.stack-cards .stack-cards-item:nth-child(2) {
  --card-offset: 16px;
  --overlay-intensity-multiplier: 0.8;
}
.stack-cards .stack-cards-item:nth-child(3) {
  --card-offset: 32px;
  --overlay-intensity-multiplier: 0.6;
}
.stack-cards .stack-cards-item:nth-child(4) {
  --card-offset: 48px;
  --overlay-intensity-multiplier: 0.4;
}
.stack-cards .stack-cards-item:nth-child(5) {
  --card-offset: 64px;
  --overlay-intensity-multiplier: 0.2;
}

@media screen and (max-width: 1023px) {
  .stack-cards {
    width: 100%;
  }
  .stack-cards .stack-cards-item {
    padding-block: 22px;
  }
  .stack-cards-item__title {
    padding-left: 56px;
    font-size: 22px;
    line-height: 26px;
    hyphens: auto;
  }
  .stack-cards-item__number {
    padding-bottom: 8px;
    position: absolute;
    min-width: 44px;
    min-height: 44px;
  }
  .stack-cards-item__number::before {
    width: 44px;
    height: 44px;
  }
  .stack-cards-item__info {
    gap: 12px !important;
  }
}

/* STACK CARDS END */

@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .hero-section__content {
    width: 90%;
  }
}
@media screen and (max-width: 1023px) {
  .left-border-highlight {
    padding-left: 26px;
  }
  .checkmark-highlighted-label {
    font-size: 1rem;
  }

  .light-gradient-bg,
  .black-section-bg {
    padding-bottom: 44px;
  }
  .wp-block-accordion-item {
    padding: 32px 12px 28px;
  }
  .wp-block-accordion-heading__toggle {
    flex-direction: row;
  }

  .hero-section__content {
    width: 100%;
    padding-block: 207px 86px;
  }
  .hero-section--common .hero-section-header {
    font-size: 38px;
  }
  .hero-section--common .hero-section-header mark {
    font-size: 32px;
  }
  .stack-cards-section {
    position: relative;
  }

  .stack-cards-section .light-gradient-bg {
    background: none;
  }

  .stack-cards-section::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    border-bottom-left-radius: 44px;
    border-bottom-right-radius: 44px;
    background: linear-gradient(180deg, #ffffff 0%, #fbf2eb 100%);
  }

  .hero-section--cta .hero-section__content {
    padding-block: 84px;
  }
}

@media screen and (min-width: 1024px) {
  .blood-therapy-block .cards-slider .swiper-slide {
    width: calc(33% - 16px) !important;
  }
}


