/*
Theme Name: Mehret Mandefro Custom Theme
Theme URI: https://drmehret.com
Author: 8px.studio
Author URI: https://8px.studio
Description: A custom theme for Mehret Mandefro.
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 7.3
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: custom
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, translation-ready, block-styles, template-editing, wide-blocks, global-styles

*/
/* Defaults
--------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body {
  padding: 16px;
}
@media (max-width: 1000px) {
  body {
    padding: 8px;
  }
}
@media (max-width: 600px) {
  body {
    padding: 4px;
  }
}

/* Adjust footer */
footer::before {
  clear: both;
  content: "";
  display: block;
}

header,
footer {
  margin-top: 0;
  margin-block-start: 0;
}

a,
button,
input:focus,
input[type=button],
input[type=submit],
textarea:focus,
.wp-element-button {
  transition: all 0.2s ease-in-out;
}

/* Forms and Inputs */
input,
select,
textarea {
  background-color: var(--wp--preset--color--background-1);
  border: 1px solid var(--wp--preset--color--foreground-1);
  color: var(--wp--preset--color--foreground-1);
  font-family: var(--wp--preset--font-family--base);
  font-size: var(--wp--preset--font-size--small);
  font-weight: inherit;
  line-height: inherit;
  padding: 0.7rem clamp(1.5rem, 1.75vw, 3.5rem) 0.6rem clamp(1.5rem, 1.75vw, 3.5rem);
  width: 100%;
}

input:focus,
textarea:focus {
  background-color: var(--wp--preset--color--background-2);
  outline: none;
}

input[type=checkbox],
input[type=image],
input[type=radio] {
  width: auto;
}

input[type=button],
input[type=email],
input[type=search],
input[type=submit],
input[type=text],
textarea {
  -webkit-appearance: none;
}

::placeholder {
  color: var(--wp--preset--color--foreground-3);
  font-size: var(--wp--preset--font-size--small);
}

/* Animations */
html:not(.no-js) [data-aos=fade-up] {
  transform: translate3d(0, 30px, 0);
}

html:not(.no-js) [data-aos=fade-right] {
  transform: translate3d(-30px, 0, 0);
}

html:not(.no-js) [data-aos=fade-left] {
  transform: translate3d(30px, 0, 0);
}

/* Utility Classes
--------------------------------------------- */
.has-balance-text-wrap {
  text-wrap: balance !important;
}

.has-overflow-y-auto {
  overflow-y: auto;
}

.has-min-width {
  min-width: var(--wp--style--global--wide-size);
}

.has-highlight-underline {
  display: inline-block;
  position: relative;
  z-index: 1;
}

.has-highlight-underline:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.1em;
  border-radius: 5px;
  background-color: var(--wp--preset--color--primary);
  z-index: -1;
}

.vertical-center {
  display: flex;
  align-items: center;
}

.vertical-center > * {
  width: 100%;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-visible {
  overflow: visible;
}

/* Hide Mobile / Desktop */
body .hide-desktop {
  display: none;
}

@media (max-width: 1300px) {
  body .hide-1300 {
    display: none;
  }
}
@media (max-width: 781px) {
  body .hide-desktop {
    display: initial;
  }
  body .hide-mobile {
    display: none;
  }
}
/* Single Post
--------------------------------------------- */
/* Hide featured image if empty */
.single-post-featured-image:empty {
  display: none;
}

:root :where(.wp-block-social-links .wp-social-link a) {
  padding: 0.35em;
}

.has-bg-text {
  background-position: 50% 140% !important;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-visible {
  overflow: visible !important;
}

.reviews-has-bg-text {
  padding-top: 15rem !important;
}
@media (max-width: 991px) {
  .reviews-has-bg-text {
    padding-top: 6rem !important;
  }
}

.justify-content-between {
  justify-content: space-between;
}

.gform-body .ginput_counter,
.gform-body .gform-field-label {
  display: none !important;
}
.gform-body textarea,
.gform-body input {
  color: var(--wp--preset--color--foreground-1) !important;
  padding: 18px 24px !important;
  border: 1px solid var(--wp--preset--color--background-4) !important;
  height: 100% !important;
  line-height: 1.6 !important;
  font-weight: 500 !important;
}
.gform-body textarea:placeholder,
.gform-body input:placeholder {
  color: var(--wp--preset--color--background-4) !important;
}
.gform-body textarea {
  border-radius: 16px !important;
  height: 183px !important;
}

.gform-footer .gform_button {
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--60) !important;
  font-size: var(--wp--preset--font-size--small) !important;
}

.gform-theme--foundation .gform_fields {
  gap: var(--wp--preset--spacing--40) !important;
}

.ginput_complex {
  flex-direction: column !important;
  gap: var(--wp--preset--spacing--40) !important;
}

.ginput_complex > * {
  width: 100% !important;
}

#gform_2 .gform-footer {
  margin: 0 !important;
}
#gform_2 .gform_fields {
  position: relative;
  background-color: #FCF9F7;
  border-radius: 999px;
  border: 1px solid rgba(20, 6, 2, 0.1);
  overflow: hidden;
  padding: var(--wp--preset--spacing--20);
}
@media (max-width: 781px) {
  #gform_2 .gform_fields {
    border-radius: 32px;
  }
}
#gform_2 input {
  color: var(--wp--preset--color--foreground-1) !important;
  font-size: var(--wp--preset--font-size--small) !important;
  border: 0 !important;
  box-shadow: 0 0 0 0 !important;
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) !important;
}
@media (max-width: 781px) {
  #gform_2 input {
    text-align: center !important;
  }
}

.sidebar-newsletter-box .gform-theme--framework .gform_validation_errors .gform_submission_error,
.sidebar-newsletter-box .gform-theme--framework .gfield_description:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)) {
  color: #fff !important;
}

.sidebar-newsletter-box #gform_2,
#gform_3 {
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--20);
}
.sidebar-newsletter-box #gform_2 .gform-footer,
#gform_3 .gform-footer {
  margin: 0 !important;
}
.sidebar-newsletter-box #gform_2 .gform_fields,
#gform_3 .gform_fields {
  position: relative;
  border-radius: 0;
  border: 1px solid rgba(20, 6, 2, 0.1);
  overflow: hidden;
  background: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}
@media (max-width: 781px) {
  .sidebar-newsletter-box #gform_2 .gform_fields,
  #gform_3 .gform_fields {
    border-radius: 32px;
  }
}
.sidebar-newsletter-box #gform_2 input,
#gform_3 input {
  color: var(--wp--preset--color--foreground-1) !important;
  font-size: var(--wp--preset--font-size--small) !important;
  border: 0 !important;
  text-align: center;
  box-shadow: 0 0 0 0 !important;
  padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) !important;
  max-height: 52px;
}
@media (max-width: 781px) {
  .sidebar-newsletter-box #gform_2 input,
  #gform_3 input {
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .mobile-center {
    justify-content: center;
    text-align: center;
    margin: 0 auto;
  }
  .footer-group {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--50);
  }
}
.scribble-newsletter {
  position: relative;
}
.scribble-newsletter:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  background-image: url(../images/scribbles-newsletter.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 366px;
  height: 121px;
  transform: translateX(81px) translateY(77px);
  pointer-events: none;
}
@media (max-width: 781px) {
  .scribble-newsletter:before {
    width: 232px;
    height: 75px;
    transform: translateX(15px) translateY(30px);
  }
}

.scribble-check {
  position: relative;
}
.scribble-check:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background-image: url(../images/scribbles-check.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 133px;
  height: 136px;
  transform: translateX(40px) translateY(24px);
  pointer-events: none;
  z-index: 4;
}
@media (max-width: 781px) {
  .scribble-check:before {
    width: 86px;
    height: 85px;
    transform: translateX(20px) translateY(12px);
  }
}

.scribble-about {
  position: relative;
}
.scribble-about:before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background-image: url(../images/scribbles-about.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 175px;
  height: 163px;
  transform: translateX(80px) translateY(-60px);
  pointer-events: none;
  z-index: 4;
}
@media (max-width: 781px) {
  .scribble-about:before {
    width: 179px;
    height: 161px;
    transform: translateX(20px) translateY(-60px);
  }
}

.scribble-about-2 {
  position: relative;
}
.scribble-about-2:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  background-image: url(../images/scribbles-about-2.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 326px;
  height: 108px;
  transform: translateX(50px) translateY(40px);
  pointer-events: none;
  z-index: 4;
}
@media (max-width: 781px) {
  .scribble-about-2:before {
    width: 179px;
    height: 60px;
    transform: translateX(0) translateY(20px);
  }
}

.scribble-about-3 {
  position: relative;
}
.scribble-about-3:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-image: url(../images/scribbles-about-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 175px;
  height: 163px;
  transform: translateX(60px) translateY(14px);
  pointer-events: none;
  z-index: 4;
}
@media (max-width: 781px) {
  .scribble-about-3:before {
    width: 120px;
    height: 90px;
    transform: translateX(20px) translateY(14px);
  }
}

.scribble-about-4 {
  position: relative;
}
.scribble-about-4:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  background-image: url(../images/scribbles-about-4.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 175px;
  height: 164px;
  transform: translateX(70px) translateY(-60px);
  pointer-events: none;
  z-index: 4;
}
@media (max-width: 781px) {
  .scribble-about-4:before {
    width: 120px;
    height: 90px;
    transform: translateX(20px) translateY(-20px);
  }
}

.scribble-speaking {
  position: relative;
}
.scribble-speaking:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: url(../images/scribbles-speaking.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 204px;
  height: 148px;
  transform: translateX(-8px) translateY(8px);
  pointer-events: none;
}
@media (max-width: 781px) {
  .scribble-speaking:before {
    width: 183px;
    height: 132px;
  }
}

.scribble-cta {
  position: relative;
}
.scribble-cta .cta-image {
  position: relative;
  z-index: 4;
}
.scribble-cta:before {
  content: "";
  position: absolute;
  left: 36%;
  top: 43%;
  background-image: url(../images/scribbles-cta.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 467px;
  height: 437px;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
}
@media (max-width: 781px) {
  .scribble-cta:before {
    left: 50%;
    top: 50%;
    width: 300px;
  }
}
.scribble-cta:after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  background-image: url(../images/scribbles-cta-2.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 291px;
  height: 274px;
  transform: translateX(-50%) translateY(-50%);
  pointer-events: none;
}
@media (max-width: 781px) {
  .scribble-cta:after {
    display: none;
  }
}

.scribble-cta-3 {
  position: relative;
}
.scribble-cta-3:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  background-image: url(../images/scribbles-cta-3.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 432px;
  height: 67px;
  transform: translateX(0) translateY(0px);
  pointer-events: none;
}
@media (max-width: 781px) {
  .scribble-cta-3:before {
    width: 180px;
    height: 40px;
    transform: translateX(0) translateY(30px);
  }
}

.scribble-blog {
  position: relative;
}
.scribble-blog:before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  background-image: url(../images/scribbles-blog.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 353px;
  height: 56px;
  transform: translateX(0px) translateY(23px);
  pointer-events: none;
}
@media (max-width: 781px) {
  .scribble-blog:before {
    width: 232px;
    height: 38px;
    transform: translateX(15px) translateY(25px);
  }
}

.scribble-podcast {
  position: relative;
}
.scribble-podcast:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  background-image: url(../images/scribbles-podcast.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 435px;
  height: 144px;
  transform: translateX(-80px) translateY(-25px);
  pointer-events: none;
}
@media (max-width: 1199px) {
  .scribble-podcast:before {
    width: 290px;
    height: 95px;
    transform: translateX(-20px) translateY(-35px);
  }
}
@media (max-width: 781px) {
  .scribble-podcast:before {
    width: 232px;
    height: 38px;
    transform: translateX(-10px) translateY(-10px);
  }
}

.grid-projects .wp-block-group {
  position: relative;
}
.grid-projects .wp-block-group:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(20, 6, 2, 0) 0%, #140602 100%);
  border-radius: 32px;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.grid-projects .wp-block-group .wp-block-buttons {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  opacity: 0;
  bottom: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
}
.grid-projects .wp-block-group:hover .wp-block-buttons {
  bottom: 10%;
  opacity: 1;
}
.grid-projects .wp-block-group:hover:before {
  opacity: 1;
}

.has-bg-circle {
  position: relative;
  overflow: hidden;
}
.has-bg-circle:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 3500px;
  height: 80%;
  background-color: var(--wp--preset--color--primary);
  border-radius: 3500px;
  border-radius: 999%;
}
.has-bg-circle.bg-circle-projects:before {
  top: 25%;
  height: 3500px;
}
.has-bg-circle.bg-circle-home:before {
  top: 40%;
}
.has-bg-circle.bg-circle-about {
  top: 50%;
}
.has-bg-circle.bg-circle-about:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 32%;
  transform: translateY(-50%) translateX(-50%);
  border-radius: 1600px;
  background: #FF855C;
  filter: blur(130px);
  z-index: -1;
  width: 100%;
  height: 50%;
}

.has-text-bg {
  position: relative;
}

.is-text-bg {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(75%);
  font-size: 16.5vw;
  letter-spacing: -12px;
  white-space: nowrap;
  max-width: 100vw;
  width: 100%;
  line-height: 1;
  color: var(--wp--preset--color--background-4);
  opacity: 0.3;
  pointer-events: none;
}

.wp-block-embed {
  border-radius: 2rem;
  overflow: hidden;
}

body.admin-bar .sidebar-sticky {
  top: 32px;
}

.sidebar-sticky {
  position: sticky;
  top: 0;
}

.has-bg-shadow {
  position: relative;
}
.has-bg-shadow:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  border-radius: 520px;
  background: rgba(255, 133, 92, 0.9);
  filter: blur(125px);
  z-index: -1;
  width: 100%;
  height: 100%;
}

.cta-shadow {
  position: relative;
}
.cta-shadow:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  border-radius: 1600px;
  background: #FF855C;
  filter: blur(175px);
  z-index: -1;
  width: 100%;
  height: 60%;
}

.has-bg-shadow-blog {
  position: relative;
}
.has-bg-shadow-blog:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  border-radius: 1600px;
  background: rgba(255, 133, 92, 0.7);
  filter: blur(100px);
  z-index: -1;
  width: 100%;
  height: 50%;
}

.sidebar-newsletter-box:after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background-image: url(../images/icon-email.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: 160px;
  height: 160px;
  transform: translateY(-30%);
  pointer-events: none;
}
@media (max-width: 781px) {
  .sidebar-newsletter-box:after {
    width: 80px;
    height: 80px;
    transform: translateY(-30px);
  }
}

.wp-block-post-featured-image,
.wp-block-post-featured-image :where(img) {
  max-height: 550px;
  width: 100%;
}

.wp-block-heading {
  word-break: keep-all;
  overflow-wrap: normal;
}

.is-style-clickable-card {
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.is-style-clickable-card a {
  position: relative;
  text-decoration: none;
}
.is-style-clickable-card a[href] {
  position: static;
  z-index: 4;
}
.is-style-clickable-card a[href]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.single-cat {
  position: relative;
  z-index: 99;
}
.single-cat p,
.single-cat .wp-block-heading {
  transition: color 0.3s ease;
  color: var(--wp--preset--color--foreground-4);
}
.single-cat a {
  color: inherit !important;
  transition: color 0.3s ease;
}
.single-cat:hover {
  background: var(--wp--preset--color--foreground-4) !important;
  box-shadow: 0 4px 50px 0 rgba(255, 83, 26, 0.2);
}
.single-cat:hover p,
.single-cat:hover .wp-block-heading {
  color: var(--wp--preset--color--background-1);
}

.h-auto {
  height: auto;
}

.h-100 {
  height: 100%;
}
.h-100 * {
  height: 100%;
}

.h-200 {
  height: 200px;
}

.w-100 {
  width: 100%;
}

.w-150 {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

@media (max-width: 991px) {
  .mobile-flex {
    flex-wrap: wrap;
  }
}
@media (max-width: 1200px) {
  .wp-singular:not(.home) .hero:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@media (max-width: 768px) {
  .home .hero-home:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .home .hero-home p.has-text-align-left {
    text-align: left !important;
    margin-left: 0 !important;
    max-width: 250px !important;
  }
  .home .hero-home h2 {
    max-width: 200px !important;
  }
}

.hero-home {
  display: flex;
  overflow: hidden;
}
@media (max-width: 1440px) {
  .hero-home {
    padding-left: var(--wp--preset--spacing--40) !important;
    padding-right: var(--wp--preset--spacing--40) !important;
  }
}
@media (max-width: 1199px) {
  .hero-home {
    min-height: 700px !important;
  }
}
@media (max-width: 768px) {
  .hero-home {
    min-height: 500px !important;
  }
  .hero-home .wp-block-column {
    z-index: 99;
  }
  .hero-home .wp-block-buttons {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
}
@media (max-width: 400px) {
  .hero-home {
    min-height: 400px !important;
    padding-top: 100px !important;
  }
}
.hero-home .hero-image {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  max-width: 942px;
  width: 100%;
  height: auto;
  z-index: 1;
}
@media (max-width: 1400px) {
  .hero-home .hero-image {
    max-width: 65%;
  }
}
@media (max-width: 768px) {
  .hero-home .hero-image {
    transform: translateX(40%);
    left: auto;
    right: 0;
    max-width: 100%;
    opacity: 0.7;
  }
}
.hero-home .speaking-hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 907px;
  width: 100%;
  height: auto;
  z-index: 1;
}
@media (max-width: 1400px) {
  .hero-home .speaking-hero-image {
    max-width: 65%;
    opacity: 0.7;
  }
}
@media (max-width: 620px) {
  .hero-home .speaking-hero-image {
    transform: translateX(50%);
    left: auto;
    right: 0;
    max-width: 100%;
  }
}
.hero-home .hero-left {
  z-index: 0;
}
@media (max-width: 991px) {
  .hero-home .hero-left img {
    max-width: 139px;
  }
}
.hero-home .hero-right {
  z-index: 4;
}
.hero-home .hero-inner {
  width: 100%;
  height: auto;
  margin-top: auto;
}
@media (max-width: 768px) {
  .hero-home .hero-inner {
    z-index: 1 !important;
  }
}
.hero-home .hero-inner-middle {
  width: 100%;
  height: auto;
  margin-top: auto;
  margin-bottom: auto;
}

.hero-custom-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(-80%);
  width: 100%;
}
@media (max-width: 1199px) {
  .hero-custom-text {
    transform: translateX(-50%) translateY(-20%);
  }
}
@media (max-width: 781px) {
  .hero-custom-text {
    transform: translateX(-50%) translateY(-50%);
  }
}
@media (max-width: 679px) {
  .hero-custom-text {
    display: none;
  }
}

body:not(.block-editor-iframe__body) .header-white {
  display: none;
}

body.has-hero header {
  position: absolute;
  left: 0;
  top: 32px;
  margin: 0 !important;
  width: 100%;
  padding: 0 10px;
  z-index: 99;
}
body.has-hero .header-default {
  display: none;
}
body.has-hero .header-white {
  display: block;
}
body.has-hero.admin-bar header {
  top: 64px;
}
body.has-hero article > .entry-content {
  margin-top: 0 !important;
}

body.home article > .entry-content {
  margin: 0;
}

.hero-text {
  position: absolute !important;
  left: 50%;
  top: 40%;
  transform: translateX(-50%) translateY(-50%);
  font-size: 16.5vw;
  letter-spacing: -12px;
  white-space: nowrap;
  max-width: 100vw;
  min-width: none !important;
  width: 100%;
  line-height: 1;
  opacity: 0.3;
  pointer-events: none;
  text-align: center;
}
@media (max-width: 991px) {
  .hero-text {
    letter-spacing: 0;
    white-space: normal;
    text-align: left;
  }
}

.projects-wrapper {
  position: relative;
}
.projects-wrapper:not(.projects-hidden) .projects-button-wrapper {
  padding-top: var(--wp--preset--spacing--40);
  display: none;
}
.projects-wrapper.projects-hidden .grid-projects {
  position: relative;
  max-height: 1000px;
  overflow: hidden;
}
.projects-wrapper.projects-hidden .grid-projects:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(231, 227, 221, 0) 0%, #F2DCD5 75%);
  z-index: 99;
  width: 100%;
  height: 500px;
}
.projects-wrapper.projects-hidden .projects-button-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 99;
  width: 100%;
}

.partners-row {
  opacity: 0.4;
}
@media (max-width: 768px) {
  .partners-row p {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 679px) {
  .partners-row .wp-block-group-is-layout-constrained {
    width: calc(50% - var(--wp--preset--spacing--40) / 2);
    text-align: center;
  }
}

.cta-image {
  position: relative;
}

.cta-text {
  margin-top: -90px;
  position: relative;
  z-index: 4;
}

.z-index-4 {
  z-index: 4;
}

@media (max-width: 781px) {
  .mobile-reset-margin {
    margin-top: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
.grid-item-1 {
  margin-left: -130px !important;
}
@media (max-width: 781px) {
  .grid-item-1 {
    margin-left: 0 !important;
  }
}

.min-width-64 {
  min-width: 64px;
  max-width: 64px;
  width: 100%;
}

.book-details {
  margin-left: -60px !important;
}
@media (max-width: 991px) {
  .book-details {
    margin-left: 0 !important;
  }
}

@media (max-width: 991px) {
  .mobile-reset-width {
    min-width: auto;
  }
}

.book-box-margin {
  margin-left: -50px !important;
}
@media (max-width: 991px) {
  .book-box-margin {
    margin-left: 0 !important;
  }
}

@media (max-width: 991px) {
  .mobile-reset-padding {
    padding: 0 !important;
  }
  .mobile-reset-margin {
    margin: 0 !important;
  }
}
@media (max-width: 781px) {
  header .wp-block-buttons {
    display: none;
  }
}
@media (max-width: 679px) {
  .w-100-mobile {
    width: 100% !important;
    max-width: 100% !important;
  }
  .gap-30-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--30) !important;
  }
}
.wp-block-accordion {
  counter-reset: week;
  display: flex;
  flex-direction: column;
  gap: var(--wp--preset--spacing--40);
}
.wp-block-accordion .wp-block-accordion-item {
  width: 100%;
}

.wp-block-accordion-heading__toggle {
  position: relative;
  display: flex;
  gap: var(--wp--preset--spacing--60);
  counter-increment: week;
}
.wp-block-accordion-heading__toggle:before {
  content: "Day " counter(week);
  position: relative;
  left: 0;
  position: relative;
  color: var(--wp--preset--color--primary);
  font-family: var(--wp--preset--font-family--accent);
  flex-basis: 175px;
  font-size: var(--wp--preset--font-size--large) !important;
  font-weight: 500;
  line-height: 1.6;
  background-image: url(../images/icon-accordion.svg);
  background-repeat: no-repeat;
  background-position: right center;
}
@media (max-width: 991px) {
  .wp-block-accordion-heading__toggle:before {
    flex-basis: 100px;
    font-size: var(--wp--preset--font-size--small);
  }
}
@media (max-width: 679px) {
  .wp-block-accordion-heading__toggle:before {
    display: none;
  }
}

.wp-block-accordion-heading__toggle-icon {
  border-radius: 9999px;
  background-color: var(--wp--preset--color--primary);
  width: 4rem;
  height: 4rem;
  font-size: 2.5rem;
}
@media (max-width: 991px) {
  .wp-block-accordion-heading__toggle-icon {
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
  }
}
