/*
Theme Name: Dr Pejic 1
Description: A custom theme for Dr Pejic clinic website
Version: 1.0
Author: Bojan Susic and Dragana Susic
Text Domain: dr-pejic
*/

:root {
  --navy: #0f1f3d;
  --navy-mid: #162847;
  --teal: #074641;
  --teal-light: #22d3ee;
  --gold: #c9a84c;
  --gold-light: #f0d080;
  --cream: #f9f6f0;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --text: #1a2332;
  --radius: 4px;
  --shadow: 0 20px 60px rgba(15, 31, 61, 0.12);
  --teal: #0e7490;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9375rem;
  letter-spacing: -0.035rem;
  line-height: 185.71%;
  color: #4c5f72;
  background: #fff;
  overflow-x: hidden;
}
img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
}
a {
  text-decoration: none;
}
img {
  object-fit: cover;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: inline-block;
  position: static;
}

* {
  box-sizing: border-box;
}
h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 4.0625rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.2rem;
  margin-top: 20px;
  margin-bottom: 10px;
}
h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 2.8125rem;
  line-height: 124.44%;
  font-weight: 600;
  letter-spacing: -0.1rem;
  margin-top: 20px;
  margin-bottom: 10px;
}
p {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #4c5f72;
  font-size: 0.9375rem;
  line-height: 185.71%;
  font-weight: 500;
  letter-spacing: -0.035rem;
  margin-bottom: 10px;
}
.rt-text-style-h1 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 4.0625rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.rt-text-style-h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 2.8125rem;
  line-height: 124.44%;
  font-weight: 600;
  letter-spacing: -0.1rem;
}
.rt-text-style-h3 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 2.125rem;
  line-height: 132.35%;
  font-weight: 600;
  letter-spacing: -0.0625rem;
}

.rt-text-style-h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 1.75rem;
  line-height: 117.85%;
  font-weight: 600;
  letter-spacing: -0.09375rem;
}
.rt-text-style-h5 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 1.5625rem;
  line-height: 140%;
  font-weight: 600;
  letter-spacing: -0.0625rem;
}
.rt-text-style-h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.03125rem;
}
.rt-button-v5 {
  border: 1px solid #074641;
  border-radius: 0.3125rem;
  padding: 0.84375rem 1.5rem 0.96875rem;
  text-decoration: none;
  line-height: 133.33%;
}
.section-label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--teal);
}
.rt-body-font-color {
  color: #074641;
}
.rt-button-v6 {
  grid-column-gap: 0.3125rem;
  grid-row-gap: 0.3125rem;
  justify-content: flex-start;
  align-items: center;
  text-decoration: none;
  display: flex;
}

.w-container {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
  overflow: hidden;
}
.rt-container {
  width: 100%;
  max-width: 82.5rem;
  padding-left: 0.938rem;
  padding-right: 0.938rem;
}
.rt-border-radius-10 {
  border-radius: 0.625rem;
}
.rt-container-medium {
  max-width: 91.5625rem;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem;
}
.rt-container-medium-v2 {
  max-width: 82.625rem !important;
  padding-right: 0.9375rem;
  padding-left: 0.9375rem;
  width: 100%;
}

.rt-container-large-v2 {
  max-width: 100.5rem;
  padding-right: 0.9375rem;
  padding-left: 0.9375rem;
  width: 100%;
}
.rt-grow-content {
  align-items: stretch;
}

.rt-container-extra-large {
  max-width: 112.5rem !important;
  padding-right: 0.9375rem;
  padding-left: 0.9375rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.w-inline-block {
  max-width: 100%;
  display: inline-block;
}
.w-layout-hflex {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.w-layout-vflex {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.w-100 {
  width: 100%;
}
.rt-button {
  position: relative;
  display: flex;
  flex-flow: row;
  justify-content: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  align-items: center;
  padding: 0.84375rem 1.5rem 0.96875rem;
  border: 0.0625rem solid #074641;
  border-radius: 0.3125rem;
  line-height: 133.33%;
  color: #ffffff;
  background-color: #074641;
  cursor: pointer;
}
.rt-overflow-hidden {
  overflow: hidden;
}

.rt-position-relative {
  position: relative;
}
.rt-position-absolute {
  position: absolute;
}

.rt-button-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 158.33%;
  letter-spacing: 0;
  color: #ffffff;
}
.rt-gap-off {
  margin: 0;
}
.rt-text-color-white {
  color: #ffffff;
}
.rt-background-white {
  background-color: #ffffff !important;
}
.rt-text-blue-gray {
  color: #4c5f72;
}
.rt-text-color-soft-ash {
  color: #e8e8e8;
}
.rt-text-button-wrapper {
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.rt-border-radius-10 {
  border-radius: 0.625rem;
}
.rt-border-radius-50 {
  border-radius: 3.125rem;
}
.rt-text-style-big-text-v2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 6rem;
  line-height: 104.16%;
  font-weight: 500;
  letter-spacing: -0.375rem;
}
.rt-radius-full {
  border-radius: 50%;
}
.rt-small-tag-gap {
  margin-bottom: 0.875rem;
}

.rt-sub-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 0.9375rem;
  line-height: 133.33%;
  font-weight: 500;
  letter-spacing: 0.00468rem;
}
.rt-sub-text-v2 {
  font-size: 1rem;
  line-height: 1.5625;
  letter-spacing: 0.00468rem;
}
.rt-line-text {
  background-image: url(https://cdn.prod.website-files.com/696f017…/6985a4a…_Vector%201923.svg);
  background-position: 100%;
  background-repeat: no-repeat;
  justify-content: flex-start;
  align-items: center;
  padding-right: 1.6875rem;
  display: inline-flex;
}
.rt-bigtext-font-style {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(35px, 13.65vw, 170px);
  line-height: 90%;
  font-weight: 500;
  letter-spacing: -0.1875rem;
}
.rt-link-text-wrapper {
  grid-column-gap: 0.5625rem;
  grid-row-gap: 0.5625rem;
}
.rt-font-size-10px {
  font-size: 0.625rem;
  line-height: 1.5625;
}
.rt-button-text-style {
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #074641;
  font-size: 0.9375rem;
  line-height: 133.33%;
  font-weight: 500;
  letter-spacing: 0.00468rem;
}
.rt-tick-icon-wrapper {
  flex: none;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-top: 0.25rem;
}
.rt-link-decor-off {
  text-decoration: none;
}
.rt-text-color-ocean-blue {
  color: #074641;
}

.rt-button-arrow-box {
  justify-content: flex-start;
  align-items: center;
  width: 10px;
  margin-top: 3px;
  overflow: hidden;
}
.rt-text-center {
  text-align: center;
}
.w-layout-grid {
  grid-row-gap: 16px;
  grid-column-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}
.rt-display-off {
  display: none;
}
.site-main.site-main--landing {
  width: 100vw;
}
html :where(.wp-block) {
  max-width: 100%;
  overflow-x: hidden;
}

body:not(.block-editor-page) .fade-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

body:not(.block-editor-page) .fade-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

body:not(.block-editor-page) .fade-in-top {
  opacity: 0;
  transform: translateY(-100px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

body:not(.block-editor-page) .fade-in-bottom {
  opacity: 0;
  transform: translateY(100px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

body:not(.block-editor-page) .expand-in {
  opacity: 0;
  transform: rotateX(90deg);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

body:not(.block-editor-page) .expand-left-right-in {
  opacity: 0;
  transform: rotateY(90deg);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

body:not(.block-editor-page) .opacity-0-animate {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}

body:not(.block-editor-page) .zoom-in {
  opacity: 0;
  transform: scale(0.7);
  transition:
    transform 0.8s ease-out,
    opacity 0.8s ease-out;
}

body:not(.block-editor-page) .zoom-out {
  opacity: 0;
  transform: scale(1.3);
  transition:
    transform 0.8s ease-out,
    opacity 0.8s ease-out;
}

.animate {
  opacity: 1 !important;
  transform: translateX(0) translateY(0) rotateX(0deg) scale(1) !important;
}

.js-btn-text-slide {
  position: relative;
}

.js-btn-text-slide .btn-text-slide__viewport {
  position: relative;
  display: block;
  overflow: hidden;
}

.js-btn-text-slide .btn-text-slide__track {
  position: relative;
  display: block;
  transform: translateY(0);
  transition: transform 0.32s ease;
  will-change: transform;
}

.js-btn-text-slide .btn-text-slide__line {
  display: block;
  line-height: inherit;
  white-space: nowrap;
}

.js-btn-text-slide .btn-text-slide__line:nth-child(2) {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
}

.js-btn-text-slide:hover .btn-text-slide__track,
.js-btn-text-slide:focus-visible .btn-text-slide__track {
	transform: translateY(-100%);
}

.wpcf7-list-item {
	display: flex;
	align-items: flex-start;
	cursor: pointer;
	margin-bottom: 10px;
	margin-left:0;
}


.wpcf7-list-item input[type="checkbox"] {
	display: none;
}


.wpcf7-list-item-label:before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	border: 2px solid #ccc;
	border-radius: 4px;
	margin-right: 12px;
	vertical-align: middle;
	transition: all 0.3s ease;
	background-color: #fff;
	flex-shrink: 0; 
}

.wpcf7-list-item input[type="checkbox"]:checked + .wpcf7-list-item-label:before {
	background-color: #28a745;
	border-color: #28a745;
	content: "✓"; 
	color: white;
	text-align: center;
	line-height: 18px;
	font-size: 14px;
}
.wpcf7-list-item-label a{
	color: inherit;
	text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .js-btn-text-slide .btn-text-slide__track {
    transition: none;
  }
}

@media screen and (max-width: 991px) {
  .w-container {
    max-width: 728px;
  }
  .w-nav[data-collapse="medium"] .w-nav-menu {
    display: none;
  }
  .w-layout-blockcontainer {
    max-width: 728px;
  }
  .rt-container-medium {
    max-width: 91.5625rem;
    padding-left: 0.9375rem;
    padding-right: 0.9375rem;
  }
  .rt-button {
    padding: 0.6875rem 1.25rem 0.625rem;
  }
  .rt-button-text {
    font-size: 0.938rem;
  }
  h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.1rem;
  }
  h2 {
    font-size: 1.875rem;
    line-height: 127.77%;
    font-weight: 600;
    letter-spacing: -0.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
  }
  p {
    font-size: 0.875rem;
    line-height: 176.9%;
    font-weight: 500;
    letter-spacing: -0.035rem;
    margin-bottom: 10px;
  }
  .rt-text-style-h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.1rem;
  }
  .rt-text-style-h4 {
    font-size: 1.375rem;
    line-height: 138.46%;
    font-weight: 600;
    letter-spacing: -0.09375rem;
  }
  .rt-text-style-h5 {
    font-size: 1.125rem;
    line-height: 145.45%;
    font-weight: 600;
    letter-spacing: -0.0625rem;
  }
  .rt-text-style-h6 {
    font-size: 1.0625rem;
    line-height: 111.11%;
    font-weight: 500;
    letter-spacing: -0.03125rem;
  }
  .rt-small-tag-gap {
    margin-bottom: 0.25rem;
  }
}

@media screen and (max-width: 767px) {
  .rt-button-text {
    font-size: 0.875rem;
  }
  body {
    font-size: 0.875rem;
    line-height: 183.33%;
    font-weight: 500;
    letter-spacing: -0.035rem;
  }
  h1 {
    font-size: 2.1875rem;
    line-height: 125%;
    font-weight: 600;
    letter-spacing: -0.085rem;
  }
  .rt-text-style-h1 {
    font-size: 2.1875rem;
    line-height: 125%;
    font-weight: 600;
    letter-spacing: -0.085rem;
  }
  h2 {
    font-size: 1.5625rem;
    line-height: 135.71%;
    font-weight: 500;
    letter-spacing: -0.1rem;
  }
  .rt-text-style-h4 {
    font-size: 1.25rem;
    line-height: 145.45%;
    font-weight: 600;
    letter-spacing: -0.09375rem;
  }
  .rt-text-style-h5 {
    font-size: 1.0625rem;
    line-height: 155.55%;
    font-weight: 600;
    letter-spacing: -0.0625rem;
  }
  .rt-text-style-h6 {
    font-size: 1rem;
    line-height: 125%;
    font-weight: 500;
    letter-spacing: -0.03125rem;
  }
}

@media screen and (max-width: 479px) {
  h2 {
    font-size: 1.75rem;
    line-height: 135.71%;
    font-weight: 600;
    letter-spacing: -0.1rem;
  }
  .rt-text-style-h2 {
    font-size: 1.75rem;
    line-height: 135.71%;
    font-weight: 600;
    letter-spacing: -0.1rem;
  }
  .rt-mobile-potrait-display-off {
    display: none;
  }
  .rt-text-style-h3 {
    font-size: 1.625rem;
    line-height: 138.46%;
    font-weight: 500;
    letter-spacing: -0.09375rem;
  }
  .rt-button {
    line-height: 183.33%;
  }
  .rt-button-text-style {
    font-size: 0.875rem;
    line-height: 176.92%;
    font-weight: 500;
    letter-spacing: 0.00468rem;
  }
  .rt-text-center-mobile {
    text-align: center;
  }
  .rt-mobile-text-center,
  .title-text-top-content {
    text-align: center;
  }
}

/*
 * Block editor canvas runs in an iframe (body.block-editor-iframe__body),
 * so body:not(.block-editor-page) still matches and leaves reveal classes at opacity:0.
 * Force them visible in the editor preview — frontend JS adds .animate instead.
 */
.block-editor-iframe__body .fade-in-left,
.block-editor-iframe__body .fade-in-right,
.block-editor-iframe__body .fade-in-top,
.block-editor-iframe__body .fade-in-bottom,
.block-editor-iframe__body .expand-in,
.block-editor-iframe__body .expand-left-right-in,
.block-editor-iframe__body .opacity-0-animate,
.block-editor-iframe__body .zoom-in,
.block-editor-iframe__body .zoom-out,
.editor-styles-wrapper .fade-in-left,
.editor-styles-wrapper .fade-in-right,
.editor-styles-wrapper .fade-in-top,
.editor-styles-wrapper .fade-in-bottom,
.editor-styles-wrapper .expand-in,
.editor-styles-wrapper .expand-left-right-in,
.editor-styles-wrapper .opacity-0-animate,
.editor-styles-wrapper .zoom-in,
.editor-styles-wrapper .zoom-out,
.acf-block-preview .fade-in-left,
.acf-block-preview .fade-in-right,
.acf-block-preview .fade-in-top,
.acf-block-preview .fade-in-bottom,
.acf-block-preview .expand-in,
.acf-block-preview .expand-left-right-in,
.acf-block-preview .opacity-0-animate,
.acf-block-preview .zoom-in,
.acf-block-preview .zoom-out {
  opacity: 1 !important;
  transform: none !important;
}
