.o-ekoru {
  background-position: right, left;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
}

.o-ekoru .thumb {
  height: auto;
  position: relative;
}

.o-ekoru .thumb .thumb-1 {
  position: relative;
  margin-bottom: 250px;
  text-align: end;
  z-index: 1;
}

.o-ekoru .thumb .thumb-1>img {
  border-radius: 10px;
}

.o-ekoru .thumb .thumb-1 .s-shape {
  position: absolute;
  top: 50px;
  left: 35%;
  z-index: -1;
}

.o-ekoru .thumb .thumb-2 {
  position: absolute;
  top: 48%;
  left: -20px;
  z-index: 2;
}

.o-ekoru .thumb .thumb-2 img {
  border-radius: 10px;
  border: 5px solid var(--white-color);
}

.o-ekoru .thumb .thumb-3 {
  position: absolute;
  bottom: -235px;
  right: 4px;
  z-index: 2;
}

.o-ekoru .thumb .thumb-3 img {
  border-radius: 10px;
}

.o-ekoru .thumb .thumb-3 .shape-wrapped-thumb {
  position: relative;
}

.o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  border: 4px solid var(--white-color);
  background-color: var(--theme-color-2);
  border-radius: 12px;
  position: absolute;
  top: -70px;
  left: -190px;
  z-index: 3;
}

.o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape h3 {
  font-weight: 700;
  font-size: 62px;
  line-height: 86%;
  color: var(--theme-color-3);
  margin-bottom: 0;
}

.o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape p {
  max-width: 92px;
  width: 100%;
  font-weight: 600;
  font-size: 17px;
  line-height: 26px;
  color: var(--theme-color-3);
}

.experience-shape {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  border: 4px solid var(--white-color);
  background-color: var(--theme-color-2);
  border-radius: 12px;
}
.experience-shape h3 {
  font-weight: 700;
  font-size: 62px;
  line-height: 86%;
  color: var(--theme-color-3);
  margin-bottom: 0;
}
.experience-shape p {
  max-width: 92px;
  width: 100%;
  font-weight: 600;
  font-size: 17px;
  line-height: 26px;
  color: var(--theme-color-3);
}
.shape-wrapped-thumb .experience-shape {
  position: absolute;
  top: -70px;
  left: -190px;
  z-index: 3;
}

.predmet {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* ikona */
.predmet .service i {
  flex-shrink: 0;
  /* zabrání deformaci */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(var(--theme-base-rgb), .10);
  color: var(--theme-color-3);
  font-size: 14px;
  margin-top: 2px;
}

/* text */
.predmet .service p {
  margin: 0;
  padding: 0;
  color: var(--theme-green-gr);
  font-size: 17px;
  line-height: 1.6;
}

.predmet .service-left {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* řádek */
.predmet .service {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.predmet .service:hover {
  transform: translateX(5px);
  transition: 0.3s ease;
}

/* Spolecnost CSS */
.spolecnost-card {
  background-color: #f8f7f0;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  height: 270px;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(0, 104, 92, 0.10);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  align-items: flex-start;
  background: #fff;
}

.spolecnost-card:hover {
  background-color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.08);

}

.spolecnost-card:hover .spolecnost-top i,
.spolecnost-card:hover .spolecnost-top .circled-heading {
  background-color: var(--theme-color-3);
  border: 2px solid var(--theme-color-3);
  color: var(--theme-orange-hover);
  transition: all 0.3s;
}

.spolecnost-card .spolecnost-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.spolecnost-card .spolecnost-top h4 {
  max-width: 118px;
  width: 100%;
  font-weight: 500;
  font-size: 28px;
  line-height: 36px;
  color: var(--theme-color-3);
  margin-bottom: 0;
  text-shadow: var(--text-shadow);
}

.spolecnost-card .spolecnost-top i,
.spolecnost-card .spolecnost-top .circled-heading {
  width: 70px;
  height: 70px;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px 15px;
  background-color: var(--white-color);
  border-radius: 100%;
  border: 2px solid var(--theme-color-3);
  box-shadow: 0 15px 32.2px -9px rgba(0, 24, 25, 0.2);
}

.spolecnost-card .spolecnost-content p {
  width: 80%;
}

.spolecnost-section {
  position: relative;
  z-index: 1;
}

@media (max-width: 1199px) {
  .o-ekoru {
    background-size: cover;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .o-ekoru .thumb .thumb-1>img {
    width: 60%;
  }
  .o-ekoru .thumb .thumb-2 {
    left: 42px;
  }
  .o-ekoru .thumb .thumb-2 img {
    width: 70%;
  }
  .o-ekoru .thumb .thumb-3 {
    bottom: -170px;
    right: 10px;
    text-align: end;
  }
  .o-ekoru .thumb .thumb-3 img {
    width: 75%;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape {
    gap: 10px;
    left: -70px;
    padding: 15px;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape h3 {
    font-size: 52px;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape p {
    font-size: 16px;
    line-height: 1.4;
  }
  .experience-shape h3 {
    font-size: 52px;
  }
  .experience-shape p {
    font-size: 16px;
    line-height: 1.4;
  }
  .shape-wrapped-thumb .experience-shape {
    gap: 10px;
    left: -70px;
    padding: 15px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .o-ekoru .thumb {
    margin: 0 90px;
  }
  .o-ekoru .thumb .thumb-1 {
    margin-bottom: 280px;
  }
  .o-ekoru .thumb .thumb-2 {
    left: 66px;
  }
  .o-ekoru .thumb .thumb-3 {
    bottom: -225px;
    right: 10px;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape {
    gap: 10px;
  }
  .shape-wrapped-thumb .experience-shape {
    gap: 10px;
  }
  .spolecnost-card .spolecnost-top h4 {
    font-size: 24px;
    line-height: 1.4;
  }
  .spolecnost-card .spolecnost-top i,
  .spolecnost-card .spolecnost-top .circled-heading {
    font-size: 24px;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 991px) {
  .spolecnost-card .spolecnost-top h4 {
    font-size: 22px;
    line-height: 1.3;
  }
  .spolecnost-card .spolecnost-top i,
  .spolecnost-card .spolecnost-top .circled-heading {
    font-size: 20px;
    width: 50px;
    height: 50px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .o-ekoru .thumb {
    margin: 0 14px;
  }
  .o-ekoru .thumb .thumb-2 {
    left: 20px;
  }
  .o-ekoru .thumb .thumb-3 {
    bottom: -225px;
    right: -30px;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape {
    gap: 10px;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape h3 {
    font-size: 44px;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape p {
    font-size: 16px;
    line-height: 1.4;
  }
  .experience-shape h3 {
    font-size: 44px;
  }
  .experience-shape p {
    font-size: 16px;
    line-height: 1.4;
  }
  .shape-wrapped-thumb .experience-shape {
    gap: 10px;
  }
}

@media (max-width: 768px) {
  /*.o-ekoru .row {
    flex-direction: column;
  }*/
  .o-ekoru .thumb .thumb-1 {
    width: 50%;
    margin: 0 70px 140px auto;
  }
  .o-ekoru .thumb .thumb-2 {
    width: 42%;
    left: 0;
  }
  .o-ekoru .thumb .thumb-3 {
    bottom: -128px;
    right: 38px;
    text-align: end;
    width: 44%;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape {
    left: -100px;
    padding: 15px;
    gap: 10px;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape h3 {
    font-size: 40px;
  }
  .o-ekoru .thumb .thumb-3 .shape-wrapped-thumb .experience-shape p {
    font-size: 16px;
    line-height: 1.2;
  }
  .experience-shape h3 {
    font-size: 40px;
  }
  .experience-shape p {
    font-size: 16px;
    line-height: 1.2;
  }
  .shape-wrapped-thumb .experience-shape {
    gap: 10px;
  }
  .predmet {
    flex-direction: column;
    align-items: start;
    margin-bottom: 30px;
  }
}

/*** 
=============================================
    o-ekoru Dark Mode   
=============================================
***/
.theme-dark .o-ekoru-content p {
  color: var(--theme-dark-color);
}

.theme-dark .predmet i {
  color:#4cd3a3; 
}
.theme-dark .o-ekoru .thumb img,
.theme-dark .o-ekoru .experience-shape {
  filter: brightness(70%) contrast(1.1);
}

.theme-dark .o-ekoru .experience-shape h3 {
  color: var(--theme-color-3) !important;
}

.theme-dark .o-ekoru .thumb .s-shape {
  filter:invert() ;
}

.theme-dark .ekor-komunal-ui {
  background: transparent;
}

.theme-dark .spolecnost-section.bg-off-green {
  background: transparent;
}


.spolecnost-card {
  background-color: var(--card-bg);
}

.theme-dark .spolecnost-card {
    background: #1c2a25;
    border: 1px solid #2a3d36;
    color: #eaeaea;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.theme-dark .spolecnost-card h4 {
    color: #ffffff;
}

.theme-dark .spolecnost-card p {
    color: #a8c3b8;
}

.theme-dark .spolecnost-card i {
    color: #4cd3a3;
}

.theme-dark .section,
.theme-dark .services-section {
    background: transparent !important;
}





































