/*
Theme Name: CM MEDIS
Theme URI:  https://www.wpserveur.net
Author:     WPServeur
Author URI: https://www.wpserveur.net
Template:   flexora
Version:    1.0
License:    GNU General Public License v2 or later
*/


.md-category-list a.elementor-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 100px;
    position: relative;
    text-indent: 20px;
    transition: all .5s;
}

.md-category-list a.elementor-item:before {
    content: '';
    background: url(/wp-content/uploads/2025/12/Icon-3.svg);
    width: 15px;
    height: 15px;
    position: absolute;
    background-size: contain;
    opacity: 1 !important;
    top: 16px;
    left: 15px;
}

.md-category-list a.elementor-item:hover {
    background: #427572;
    color: #fff !important;
}

.md-category-list a.elementor-item:hover:before {
    filter: brightness(0) invert(1);
}

.cm-search-input input {
    text-indent: 30px;
}

.cm-search-input form.e-search-form i {
    font-size: 17px !important;
    opacity: 0.5;
}


.cm-specialization-list ul li {
    position: relative;
    list-style-type: none;
}

.cm-specialization-list ul li:before {
    content: '';
    background: url(/wp-content/uploads/2025/12/Icon-3.svg);
    width: 15px;
    height: 15px;
    position: absolute;
    background-size: contain;
    opacity: 1 !important;
    top: 5px;
    left: ;
    left: -25px;
}

.cm-specialization-list ul {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media(min-width: 768px){
	.cm-specialization-list ul {
	  grid-template-columns: 1fr 1fr;
	}
}

.cm-footer-logo a {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.cm-footer-logo a img {
    width: 94px;
    height: auto;
    position: relative;
    top: -2px;
}


@media(max-width: 767px){
    .elementor-kit-5 .elementor-button {
    font-size: 14px !important;
}
	
	.medis-show-more-content .mobile-flex-icon li.elementor-icon-list-item {
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: flex-start;
}

	.medis-show-more-content .mobile-flex-icon > div {
    border-radius: 8px !important;
		        padding: 12px !important;
}

	.medis-show-more-content  .mobile-flex-icon > div span.elementor-icon-list-icon {
    margin-left: 4px;
}
	
	
}


.blur-background {
    backdrop-filter: saturate(180%) blur(20px) !important;
}

@media(min-width: 1024px){
	h1,h2 {
	letter-spacing: -2px !Important;
}
}


.elementor-field-type-acceptance label {
    position: relative;
    display: block !important;
    padding-left: 30px;
    font-size: 12px !important;
}

.elementor-field-type-acceptance label:before {
    content: '✕';
    width: 20px;
    height: 20px;
    position: absolute;
    background: #fff;
    border-radius: 3px !important;
    left: 0;
    font-weight: 600;
    font-size: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #417572;
    border-color: #00000026;
	transition: all .5s;
}

.elementor-field-type-acceptance input {
    position: absolute;
    z-index: 0;
}

.elementor-field-type-acceptance input:checked ~ label:before {
	font-size: 11px;
}

@media(max-width: 576px){
	.list-buttons span.elementor-button-text {
    font-size: 11px !important;
}

.list-buttons a.elementor-button {
    width: 100% !important;
}

.list-buttons .elementor-widget-button {
    width: 100%;
    text-align: center;
}
}


.post-content-styled-list ul li {
    position: relative;
    list-style-type: none;
    position: relative;
}

.post-content-styled-list  ul li:before {
    content: "\e901";
    font-family: "theme-icons" !important;
    position: absolute;
    color: #417572;
    left: -24px;
}

@media(min-width:1024px){
	.post-content-styled-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
}
}


.elementor-widget-text-editor span a {
    text-decoration: underline !important;
    color: #417572 !important;
}
.cm-buttons-grid a.elementor-button {
    text-align: left;
}

.full-image-box, .full-image-box * {
    width: 100% !important;
}

.full-image-box img {
    object-fit:cover !important;
}


li.icon-mobile.facebook.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-10901 {
    width: 29%;
    float: left;
}

li.icon-mobile.instagram.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-10902 {
    width: 29%;
    float: left;
}

ul#menu-2-50f71a2 .icon-mobile {
    width: 50%;
    text-align: center;
    border: 0;
}

ul#menu-2-50f71a2 .icon-mobile a {
    text-align: center;
    justify-content: center;
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
    font-size: 0;
}

ul#menu-2-50f71a2 .icon-mobile a:hover {
    background: transparent;
}

ul#menu-2-50f71a2 .icon-mobile.facebook a:after {
    content: "\f09a";
    font-size: 20px;
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
    opacity: 1;
    color: #417572;
    margin: 7px 0 !important;
    position: relative !important;
}

ul#menu-2-50f71a2 .icon-mobile.instagram a:after {
       content: "\f16d";
    font-size: 20px;
    font-family: "Font Awesome 5 Brands";
    font-weight: 400;
    opacity: 1;
    color: #417572;
    margin: 7px 0 !important;
    position: relative !important;
}

ul#menu-2-50f71a2  .mobile-address a {
    pointer-events: none;
    justify-content: center;
    text-align: center;
    gap: 10px;
}


@media(min-width: 1024px){
	div#sticky-element {
    position: sticky !important;
    top: 50px;
}
}


/* Modern Heading Styles (H2-H6) */
.single .post-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem) !important; /* 28px - 36px */
  line-height: 1.2 !important;
  margin-top: 3rem !important;
  margin-bottom: 1.25rem !important;
  scroll-margin-top: 2rem !important; /* Dla anchor links */
}
.single .post-content h3 {
  font-size: clamp(1.375rem, 3vw, 1.75rem) !important; /* 22px - 28px */
  line-height: 1.3 !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1rem !important;
  scroll-margin-top: 2rem !important;
}
.single .post-content h4 {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem) !important; /* 18px - 22px */
  line-height: 1.4 !important;
  margin-top: 2rem !important;
  margin-bottom: 0.875rem !important;
  scroll-margin-top: 2rem !important;
}
.single .post-content h5 {
  font-size: clamp(1rem, 2vw, 1.125rem) !important; /* 16px - 18px */
  line-height: 1.5 !important;
  margin-top: 1.75rem !important;
  margin-bottom: 0.75rem !important;
  text-transform: none !important;
  scroll-margin-top: 2rem !important;
}
.single .post-content h6 {
  font-size: 0.875rem !important; /* 14px */
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.75rem !important;
  text-transform: uppercase !important;
  scroll-margin-top: 2rem !important;
}
/* Opcjonalne: Dodatkowe style dla lepszej czytelności */
.single .post-content h2:first-child,
.single .post-content h3:first-child,
.single .post-content h4:first-child {
  margin-top: 0 !important;
}
/* Responsywność - mobile first */
@media (max-width: 640px) {
  .single .post-content h2,
  .single .post-content h3,
  .single .post-content h4,
  .single .post-content h5,
  .single .post-content h6 {
    scroll-margin-top: 1rem !important;
  }
}

.wp-block-group.bibliografia {
    background: #F2F0EC;
    border-radius: 12px;
    padding: 30px;
}

@media(max-width: 576px){
	.wp-block-group.bibliografia {
    padding: 20px;
}
}


.wp-block-group.bibliografia ol.wp-block-list {
    padding: 0 18px;
}

.wp-block-group.bibliografia ol.wp-block-list li {
    margin-bottom: 5px;
}


.wp-block-group.bibliografia h4 {
    font-family: 'Tenor Sans';
    font-weight: 500;
    letter-spacing: -1px;
}



ul.wp-block-list.list-post-styled li {
    position: relative;
    list-style-type: none;
    position: relative;
}

ul.wp-block-list.list-post-styled li:before {
    content: "\e901";
    font-family: "theme-icons" !important;
    position: absolute;
    color: #417572;
    left: -24px;
}

@media(min-width:1024px){
	ul.wp-block-list.list-post-styled{
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
}
}


.wp-block-list.list-post-number {
  list-style: none;
  counter-reset: custom-counter;
  padding: 0;
}

.wp-block-list.list-post-number li {
  counter-increment: custom-counter;
  position: relative;
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid #00000026;
}

.wp-block-list.list-post-number li::before {
  content: "0" counter(custom-counter);
  color: #417572;
  font-weight: 600;
  width: 30px;
  position: absolute;
  left: 0;
}

.wp-block-list.list-post-number li:nth-child(n+10)::before {
  content: counter(custom-counter);
}

.single .post-content {
    font-size: 16px;
}


.elementor-element.elementor-element-5a436ff > .elementor-widget-container,
.elementor-9111 .elementor-element.elementor-element-5a436ff > .elementor-widget-container,
.elementor-9473 .elementor-element.elementor-element-e3db9ce > .elementor-widget-container {
    border-radius: 12px 12px 0 0  !important;
	font-weight: 500;
}

.elementor-element.elementor-element-5a436ff > .elementor-widget-container h3,
.elementor-9111 .elementor-element.elementor-element-5a436ff > .elementor-widget-container h3,
.elementor-9473 .elementor-element.elementor-element-e3db9ce > .elementor-widget-container h3{
		font-weight: 500;
}

.elementor-element.elementor-element-79fcccc,
.elementor-9473 .elementor-element.elementor-element-df99599 {
    border-radius: 0 0 12px 12px !important;
}



.elementor-9271 .elementor-element.elementor-element-f4cf87d .elementor-heading-title {
    font-size: 16px !important;
}


@media(max-width: 576px){
	.elementor-9152 .elementor-element.elementor-element-0770643 *,
.elementor-9124 .elementor-element.elementor-element-0770643 * {
    font-size: 11px !important;
}
.elementor-9152 .elementor-element.elementor-element-0770643,
.elementor-9124 .elementor-element.elementor-element-0770643 {
    width: 89%;
    justify-content: center;
}

.elementor-9152 .elementor-element.elementor-element-210dad8,
.elementor-9124 .elementor-element.elementor-element-210dad8:not(.elementor-motion-effects-element-type-background), .elementor-9124 .elementor-element.elementor-element-210dad8 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    width: 110%;
    margin: 0 auto;
    left: -5%;
}
	
	ul#menu-2-50f71a2 .mobile-address a svg {
    width: 13px;
}

ul#menu-2-50f71a2 .mobile-address a {
    text-align: left;
}
	
	.md-category-list a.elementor-item {
    text-indent: 0;
    padding-left: 40px !important;
		display: block;
    font-size: 14px;
}
	
	.full-w-mobile-image img {
    width: 100%;
}
	
	.cennik-zespol-single .elementor-element.elementor-element-a694fd3.e-con-full.e-grid.e-con.e-child {
    flex-direction: column !important;
    display: grid;
    grid-template-columns: 1fr;
}
	
	
	.umow-wiz-mobile a {
    justify-content: center;
    background: #417572;
    color: #fff !important;
}

ul#menu-2-50f71a2 .mobile-address a {
    line-height: 1.4;
    font-size: 11px;
    gap: 6px;
    padding: 15px 6px;
}
	
}

.umow-wiz-mobile.tel a {
    background: #d5e8df;
    color: #000 !important;
    border: 0 !important;
}
.umow-wiz-mobile,
.umow-wiz-mobile.tel {
     border: 0 !important;
}



.e-n-accordion .elementor-widget-text-editor a {
    color: #417572;
    text-decoration: underline !important;
}

svg {
    height: auto;
}




.elementor-field-type-acceptance input {
    opacity: 0;
}


.mobile-flex-icon a {
    display: inline-block !important;
}