.elementor-element-6fecf563 { margin-top: 0 !important; } .elementor-element-4c8ca1f { margin-top: 85px !important; } .styles_section_patients__i6ZJV { position: relative; margin-left: auto; margin-right: auto; width: calc(95% - 62px); container-type: inline-size; container-name: section; max-height: calc(95vh - 83px); height: -moz-fit-content; height: fit-content; aspect-ratio: 16 / 9; } .styles_section_patients__i6ZJV .styles_left__9nFov, .styles_section_patients__i6ZJV .styles_right__fNLX7 { position: absolute; z-index: 1; top: 0; width: calc(50% - 3.75px); height: 100%; -webkit-clip-path: inset(0 100% 0 0 round 5% 5% 5% 5%); clip-path: inset(0 100% 0 0 round 5% 5% 5% 5%); } .styles_section_patients__i6ZJV .styles_left__9nFov { right: calc(50% + 25.75px); border-radius: 20px; background-color: var(--light); } .styles_section_patients__i6ZJV .styles_right__fNLX7 { left: calc(50% + 3.75px); overflow: hidden; } .styles_section_patients__i6ZJV .styles_left__9nFov, .styles_section_patients__i6ZJV .styles_right__fNLX7 { transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); } .styles_section_patients__i6ZJV .styles_right__fNLX7 img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: all 2.5s cubic-bezier(0.165, 0.84, 0.44, 1); } .styles_section_patients__i6ZJV .styles_wrapper__bVrb_ { position: relative; z-index: 1; margin-right: auto; margin-left: 1.5vw; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 16px; /* Added padding for better text layout */ width: calc(50% - 32px); /* Ensure wrapper fits within left container */ box-sizing: border-box; /* Ensure padding doesn't overflow */ } .styles_section_patients__i6ZJV .styles_subtitle__0_EJq { font-size: 18px; line-height: 23.4px; margin-bottom: 16px; color: var(--primary); font-family: var(--fontuse); display: block; position: relative; overflow: hidden; transition-delay: 0.1s; } .styles_section_patients__i6ZJV h1 { font-size: 2.8rem; line-height: 100%; letter-spacing: -0.03em; color: var(--primary); font-family: var(--fontuse); width: 100%; margin-bottom: 16px; /* Added margin-bottom for spacing */ } .styles_section_patients__i6ZJV h1 .styles_strong__nIXNj { color: var(--primary); font-family: var(--family) } .styles_section_patients__i6ZJV h1 span { display: block; position: relative; /*overflow: hidden;*/ } @media (max-width: 1000px) { .styles_section_patients__i6ZJV { padding-top: 0; padding-bottom: 0; margin-bottom: 40px; width: calc(100% - 8px); display: flex; flex-direction: column-reverse; gap: 4px; aspect-ratio: auto; height: 60vh; } .styles_section_patients__i6ZJV .styles_left__9nFov, .styles_section_patients__i6ZJV .styles_right__fNLX7 { position: absolute; z-index: 1; top: 0vh; width: calc(100% - 3.75px); height: 100%; -webkit-clip-path: inset(0 100% 0 0 round 5% 5% 5% 5%); clip-path: inset(0 100% 0 0 round 5% 5% 5% 5%); } .styles_section_patients__i6ZJV .styles_left__9nFov { display: none; } .styles_section_patients__i6ZJV .styles_right__fNLX7 { left: calc(1% + 1.75px); overflow: hidden; height: 19vh; } .styles_section_patients__i6ZJV .styles_left__9nFov, .styles_section_patients__i6ZJV .styles_right__fNLX7 { transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); border-radius: 20px; } .styles_section_patients__i6ZJV .styles_right__fNLX7 img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.2); transition: all 2.5s cubic-bezier(0.165, 0.84, 0.44, 1); } .styles_section_patients__i6ZJV .styles_wrapper__bVrb_ { position: relative; z-index: 2; margin-right: auto; margin-left: 1.5vw; display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 16px; /* Added padding for better text layout */ width: calc(50% - 32px); /* Ensure wrapper fits within left container */ box-sizing: border-box; /* Ensure padding doesn't overflow */ } .styles_section_patients__i6ZJV .styles_wrapper__bVrb_ { padding: 71px 20px; width: 99%; border-radius: 20px; background-color: var(--light); opacity: 1; -webkit-clip-path: inset(0 0 100% 0); clip-path: inset(0 0 100% 0); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); height: 52vh; top: 20%; } } @media screen and (min-width: 700px) { .styles_section_patients__i6ZJV .styles_subtitle__0_EJq { font-size: 18px; line-height: 23.4px; } } @media screen and (max-width: 700px) { .styles_section_patients__i6ZJV h1 { font-size: 2rem; line-height: 57.6px; } }