/*
Theme Name: The SVM
Theme URI: https://opencollective.com/svm
Author: Krasimir Stavrev
Tags: accessibility-ready, one-column, two-columns, custom-menu, featured-images, microformats, sticky-post, threaded-comments, translation-ready
Version: 1.0.0
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: svm
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root {
  --white: white;
  --black: #121212;
  --gray-on-white: #808080;
  --lighter-gray: #F4F4F4;
  --lightest-gray: #F8F8F8;

  --bg: var(--white);
  --accent: var(--black);
  --hero-image-bg: var(--black);
  --theme-gray: var(--gray-on-white);
  --theme-lightest-gray: var(--lightest-gray);
  --faq: rgba(0 0 0 / 0.05);
  --faq-2: rgba(0 0 0 / 0.3);
  --course-border: rgba(0 0 0 / 0.1);
  --button-hover: var(--theme-gray);
}

body.dark-mode {
  --bg: var(--black);
  --accent: var(--white);
  --hero-image-bg: rgba(255 255 255  / 0.1);
  --theme-gray: rgba(255 255 255 / 0.5);
  --theme-lightest-gray: #2C2C2C;
  --faq: rgba(255 255 255 / 0.1);
  --faq-2: rgba(255 255 255 / 0.3);
  --course-border: rgba(255 255 255 / 0.1);
  --button-hover: var(--theme-gray);
}

body .gutena-forms-contact-form {
  --wp--gutena-forms--input-border-radius: 10px;
  --wp--gutena-forms--input-border-color: var(--theme-gray);
  --wp--style--block-gap: 20px;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  font-family: "century", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  scroll-behavior: smooth;
}

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

body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

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

input, button, select, textarea, optgroup, option {
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

body {
  background-color: var(--bg);
  color: var(--accent);
}

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

.wp-block-navigation-item {
  font-size: 20px;
  font-weight: 600;
}

.wp-block-navigation {
  gap: 40px;
}

.wp-block-button .wp-block-button__link {
  background-color: var(--accent);
  border: 1px solid var(--accent);
  color: var(--bg);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  transition: .3s ease-in-out background-color, .3s ease-in-out border-color, .3s ease-in-out color;
}

.wp-block-button .wp-block-button__link:hover {
  background-color: var(--button-hover);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: var(--bg);
  border: 1px solid var(--accent);
  color: var(--accent);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--button-hover);
  color: var(--button-hover);
}

.wp-block-button.big .wp-block-button__link {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  background-color: var(--hero-image-bg);
  border-radius: 60px;
  padding: 70px;
}

.hero {
  padding: 40px 0 150px;
}

.hero h1 {
  font-size: 78px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero > div > .wp-block-group {
  height: 100%;
}

.hero > div > .wp-block-group p {
  margin-top: 15px;
}

body hr.wp-block-separator {
  border: none;
  height: 1px;
  background-color: var(--accent);
  opacity: 0.3;
  margin: 50px 0;
}

p {
  color: var(--theme-gray);
  line-height: 1.5;
}

h2 {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}

h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 600;
}

.about {
  padding-bottom: 150px;
}

.course-slider {
  overflow: hidden;
  width: calc(100vw - 40px);
  display: flex;
}

.course-slider .wp-block-group__inner-container {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.course {
  border: 1px solid var(--course-border);
  border-radius: 40px;
  padding: 40px;
  width: calc(100vw - 40px);
  transition: .3s ease-in-out background-color;
}

.course:hover {
  background-color: var(--theme-lightest-gray);
}

.course > .wp-block-group > .wp-block-group:first-child {
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  flex: 1;
}

.course .wp-block-boldblocks-svg-block {
  margin-bottom: 15px;
}

.course p {
  font-size: 14px;
  margin-bottom: 10px;
}

.course p strong {
  color: var(--accent);
}

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

.course:hover p {
  color: var(--accent);
}

.contacts {
  padding: 150px 0 0;
}

.faq {
  border-radius: 40px;
  background-color: var(--faq);
  padding: 40px;
}

.faq .esab__container .wp-block-esab-accordion-child {
  border-radius: 20px;
  background-color: var(--faq);
  padding: 0;
}

/* unfortunately, needs !importants here */
body .wp-block-gutena-forms {
	padding: 40px 0 0 !important;
}
body :where(.wp-block-columns.is-layout-flex) {
	gap: 10px;
}
body .faq .wp-block-esab-accordion-child.esab__active_accordion .esab__body, body .faq .wp-block-esab-accordion-child .esab__body {
  background-color: transparent !important;
  padding: 0 20px 20px !important;
}

body .faq .wp-block-esab-accordion-child.esab__active_accordion .esab__head, body .faq .wp-block-esab-accordion-child .esab__head {
  padding: 20px !important;
  background-color: transparent !important;
}

body .faq .wp-block-esab-accordion-child.esab__active_accordion .esab__heading_tag {
  color: var(--accent) !important;
}

body .faq .wp-block-esab-accordion-child .esab__expand, body .faq .wp-block-esab-accordion-child .esab__collapse {
  background-color: var(--faq-2);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
}
body .faq .wp-block-esab-accordion-child .esab__expand svg, body .faq .wp-block-esab-accordion-child .esab__collapse svg {
  fill: var(--bg);
}

body .faq .wp-block-esab-accordion .esab__icon.esab__active_icon .esab__expand, .faq .esab__collapse {
  display: flex;
}

a, a:visited {
  text-decoration: none;
  color: var(--accent);
}

a:hover {
  color: var(--theme-gray);
}

@media (min-width: 782px) {
  .course-slider {
    width: 1240px;
  }

  .course {
    width: 610px;
  }
}

.previous, .next {
  cursor: pointer;
}

.slide-animate {
  transition: transform .2s;
}


.switch {
  position: relative;
  display: inline-block;
  width: 112px;
  height: 50px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--theme-lightest-gray);
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50px;
}

.toggle:before {
  position: absolute;
  content: "";
  height: 42px;
  width: 42px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle:before {
  -webkit-transform: translateX(60px);
  -ms-transform: translateX(60px);
  transform: translateX(60px);
}

.toggle svg {
  position: absolute;
  top: 13px;
}

.toggle svg:first-child {
  left: 13px;
}

.toggle svg:last-child {
  right: 13px;
}

.toggle svg:first-child {
  color: var(--accent);
}

.toggle svg:last-child {
  color: var(--theme-gray);
}

body.dark-mode .toggle svg:last-child {
  color: var(--bg);
}

a.book-call {
  position: absolute;
  right: 20px;
  bottom: 40px;
  background: rgba(0 0 0 / 0.5);
  border: 1px solid rgba(0 0 0 / 0.1);
  box-shadow: 0px 4px 4px rgba(0 0 0 / 0.25);
  border-radius: 500px;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  color: var(--bg);
  gap: 14px;
  text-transform: uppercase;
  padding: 5px 5px 5px 20px;
  transition: .3s ease-in-out background-color, .3s ease-in-out border-color, .3s ease-in-out color;
}


a.book-call:hover {
  background: rgba(0 0 0 / 0.75);
  border: 1px solid rgba(0 0 0 / 0.5);
  box-shadow: 0px 4px 16px rgba(0 0 0 / 0.5);
}

.header-book-a-call a.book-call {
  position: static;
  right: 20px;
  bottom: 40px;
  background: rgba(0 0 0 / 0.5);
  border: 1px solid rgba(0 0 0 / 0.1);
  box-shadow: 0px 4px 4px rgba(0 0 0 / 0.25);
  border-radius: 500px;
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  color: var(--bg);
  gap: 14px;
  text-transform: uppercase;
  padding: 5px 5px 5px 20px;
  transition: .3s ease-in-out background-color, .3s ease-in-out border-color, .3s ease-in-out color;
}
.header-book-a-call a.book-call:hover {
  background: rgba(0 0 0 / 0.75);
  border: 1px solid rgba(0 0 0 / 0.5);
  box-shadow: 0px 4px 16px rgba(0 0 0 / 0.5);
}

body.dark-mode a.book-call {
  background: rgba(255 255 255 / 0.5);
  border: 1px solid rgba(255 255 255 / 0.1);
}

.hero-right {
  position: relative;
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	color: var(--theme-gray);
}

a {
  transition: .3s ease-in-out color;
}
@media only screen and (max-width: 782px) {
  .hero h1 {
    font-size: 48px;
  }
  #topbar {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #topbar > div:nth-child(3) {
		flex-basis: 30%;
		grid-column-start: 1;
		grid-column-end: 3;
		justify-content: center;
		display: flex;
	}
	#topbar nav {
		justify-content: flex-end;
	}
}


.header-book-a-call svg{
	    width: 25px;
    height: auto;
}

.header-book-a-call a.book-call{
	box-shadow: none;
    border: 1px solid #000;
	    background: #fff;
    color: #000;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin: 0 auto;
    text-align: center;
}

.header-book-a-call a.book-call:hover , .header-book-a-call a.book-call:focus{
	box-shadow: none;
	color:#808080;
	border-color:#808080;
	background:#fff;
}

@media (min-width: 782px) and  (max-width: 1200px){
	
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]:nth-child(1){
		    flex-basis: 11% !important;
	}
	
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]:nth-child(2){
		    flex-basis: 48% !important;

	}
	
	.wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column[style*=flex-basis]:nth-child(3){
		    flex-basis: 88% !important;
	}
}


@media screen and (max-width: 1200px) {
	
	.header-book-a-call svg {
    width: 20px;
    height: auto;
}
	
	.header-book-a-call a.book-call{
		    padding: 10px 15px;
   gap: 5px;
    font-size: 14px;
	}
	.topbar .wp-block-button.is-style-outline .wp-block-button__link svg {
    margin: 0 6px 0 0;
    width: 17px;
}
	.topbar .wp-block-button.is-style-outline .wp-block-button__link {
    padding: 7px 15px;
    font-size: 14px;
}
	.topbar .wp-block-navigation{
		gap:15px;
	}
	
	
}

@media screen and (max-width: 767px) {
	.header-book-a-call a.book-call {
    font-size: 0;
    padding: 0;
    gap: 0;
    width: 50px;
    height: 50px;
}

.topbar .wp-block-button.is-style-outline .wp-block-button__link {
    width: 50px;
    height: 50px;
    padding: 0;
    gap: 0;
    font-size: 0;
    text-align: center;
}

.topbar .wp-block-button.is-style-outline .wp-block-button__link svg {
    margin: 0;
}
	
	
}