.company-svozy {
  background-position: right, left;
  background-repeat: no-repeat, no-repeat;
  background-size: contain, contain;
}

.company-svozy .thumb {
  height: auto;
  position: relative;
}

.company-svozy .thumb .thumb-1 {
  position: relative;
  margin-bottom: 250px;
  text-align: end;
  z-index: 1;
}

.company-svozy .thumb .thumb-1 > img {
  border-radius: 10px;
}

.company-svozy .thumb .thumb-1 .s-shape {
  position: absolute;
  top: 50px;
  right: 35%;
  z-index: -1;
}

.company-svozy .thumb .thumb-2 {
  position: absolute;
  top: 48%;
  left: -20px;
  z-index: 2;
}
.company-svozy .thumb .thumb-2 img {
  border-radius: 10px;
  border: 5px solid var(--white-color);
}

.company-svozy .thumb .thumb-3 {
  position: absolute;
  bottom: -235px;
  right: 4px;
  z-index: 2;
}

.company-svozy .thumb .thumb-3 img {
  border-radius: 10px;
}

.company-svozy .thumb .thumb-3 .shape-wrapped-thumb {
  position: relative;
}

.predmet {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* ikona */
.predmet .predmet-svozy i {
  flex-shrink: 0;
  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 .predmet-svozy p {
  margin: 0;
  padding: 0;
  color: var(--theme-green-gr);
  font-size: 17px;
  line-height: 1.6;
}

.predmet .predmet-svozy-left,
.predmet .predmet-svozy-right {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* řádek */
.predmet .predmet-svozy {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.predmet .predmet-svozy:hover {
  transform: translateX(5px);
  transition: 0.3s ease;
}

.svozy-text {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin: 0 auto ;
  padding: 38px 42px;
  background: rgba(47, 125, 50, 0.06);
  border: 1px solid rgba(47, 125, 50, 0.18);
  border-left: 5px solid var(--ekor-primary);
  border-radius: 22px;
  max-width: 1200px;
}

.svozy-text-info-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(47, 125, 50, 0.12);
  color: var(--ekor-primary);
  font-size: 23px;
}

.svozy-text-info-content {
  flex: 1;
}

.svozy-text-info-content h2 {
  margin: 0 0 12px;
  color: var(--ekor-primary);
  font-size: 30px;
  line-height: 1.3;
  font-weight: 700;
}

.svozy-text-info-content p {
  margin-bottom: 18px;
  color: var(--body-color);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 auto;
}

/* SEKCE */
.ekor-komunal-section-box {
  background: linear-gradient(180deg, #ffffff, #f3f7f4);
  border-radius: 24px;
  padding: 35px 100px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.06);
  transform: translateZ(0);
  margin-bottom: 100px;
}
.section-komunal-management .ekor-komunal-section-box {
  border-left: 4px solid var(--ekor-primary);
}
.ekor-komunal-section--green .ekor-komunal-section-box {
  background: #f1f8f4;
}
.ekor-komunal-section--green .ekor-komunal-section-box::before {
  background: #2e7d32;
}
.ekor-komunal-container {
  max-width: 1200px;
  margin: 0 auto;
}
/* NADPIS */
.ekor-komunal-section-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ekor-dark);
  margin-bottom: 34px;
  padding-left: 15px;
  position: relative;
  letter-spacing: 0.2px;
  display: flex;
  align-items: baseline;
  gap: 1x;
  text-shadow: var(--text-shadow);
}
.ekor-komunal-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 5px;
  height: 22px;
  border-radius: 3x;
  background: linear-gradient(
    180deg,
    var(--ekor-accent-start),
    var(--ekor-accent-end)
  );
    filter: brightness(1.05);
}

/* komunal -  GRID */
                    
.komunal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
}

.komunal-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-bottom: 10px;
}

.komunal-head-column {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 70px 85px;
  column-gap: 10px;
  padding-left: 4px;
  padding-right: 14px;
}

.komunal-head-column span:nth-child(1) {
  grid-column: 2;
}

.komunal-head-column span:nth-child(2) {
  grid-column: 3;
}

.komunal-head-column span:nth-child(3) {
  grid-column: 4;
}

.komunal-head-column span {
  font-weight: 600;
  opacity: 0.7;
  white-space: nowrap;
}

.komunal-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.komunal-col .item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 70px 85px;
  align-items: center;
  column-gap: 10px;
  padding: 10px 14px;
  padding-left: 4px;
  border-radius: 10px;
  background: rgba(0,0,0,0.03);
  transition: 0.2s;
}


/* číslo jako badge */
.komunal-col .item .item-number {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: var(--theme-gray);
  color: var(--body-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.komunal-col .item .item-name {
  min-width: 0;
}

.komunal-col .item .item-week,
.komunal-col .item .item-day {
  white-space: nowrap;
}

.komunal-col .item:hover {
  background: rgba(32,201,151,0.12);
  transform: translateX(6px);
}

.company-svozy .left {
  width: 100%;
}

@media (min-width: 1400px) {
  .company-svozy-content {
    padding-left: 20px;
  }
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .company-svozy .thumb .thumb-1 > img {
    width: 60%;
  }
  .company-svozy .thumb .thumb-2 {
    left: 42px;
  }
  .company-svozy .thumb .thumb-2 img {
    width: 70%;
  }
  .company-svozy .thumb .thumb-3 {
    bottom: -170px;
    right: 10px;
    text-align: end;
  }
  .company-svozy .thumb .thumb-3 img {
    width: 75%;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .company-svozy .thumb {
    margin: 0 90px;
  }
  .company-svozy .thumb .thumb-1 {
    margin-bottom: 280px;
  }
  .company-svozy .thumb .thumb-2 {
    left: 66px;
  }
  .company-svozy .thumb .thumb-3 {
    bottom: -225px;
    right: 10px;
  }
}

@media (max-width: 1199px) {
  .company-svozy{
    background-size: cover;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .svozy-text {
    margin-bottom: 70px;
    padding: 32px;
  }
  .company-svozy .thumb {
    margin: 0 14px;
  }
  .company-svozy .thumb .thumb-2 {
    left: 20px;
  }
  .company-svozy .thumb .thumb-3 {
    bottom: -225px;
    right: -30px;
  }
}


@media (max-width: 768px) {
  .svozy-text {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 60px;
    padding: 26px 24px;
    border-left-width: 4px;
  }
  .svozy-text-info-content h2 {
    font-size: 26px;
  }
  .svozy-text-info-content p {
    font-size: 14px;
  }
  .company-svozy .row {
    flex-direction: column;
  }
  .komunal-head > div:nth-child(2) {
    display: none;
  }
  .komunal-head {
    grid-template-columns: 1fr;
    gap: 0;
    margin-left: 4px;
  }
  .komunal-grid {
    grid-template-columns: 1fr;
  }
  .predmet {
    flex-direction: column;
    align-items: start;
    margin-bottom: 30px;
    gap: 15px;
  }
}

@media (max-width: 767px) {
  .company-svozy .thumb .thumb-1 {
    width: 50%;
    margin: 0 70px 140px auto;
  }
  .company-svozy .thumb .thumb-2 {
    width: 42%;
    left: 0;
  }
  .company-svozy .thumb .thumb-3 {
    bottom: -128px;
    right: 38px;
    text-align: end;
    width: 44%;
  }
}
  

/*** Dark Mode ***/
.theme-dark .company-svozy-content p {
  color: var(--theme-dark-color);
}

.theme-dark .predmet i {
  color:#4cd3a3; 
}
.theme-dark .company-svozy .thumb img {
  filter: brightness(70%) contrast(1.1);
}

.theme-dark .company-svozy .thumb .s-shape {
  filter: invert();
}

.theme-dark .ekor-komunal-ui {
      background: transparent;
}

.theme-dark .ekor-komunal-container {
    background: #16211d !important;
}
.theme-dark .ekor-komunal-section-box {
    background: linear-gradient(145deg, #16211d, #1c2a25);
    box-shadow: none !important;
    border: 1px solid #2a3d36;
    border-radius: 16px;
}
.theme-dark .ekor-komunal-section-title {
    color: #ffffff;
}
.theme-dark .komunal-grid .komunal-col .item{
    background: #1c2a25 !important;
    border: 1px solid #2a3d36;
  }
.theme-dark .komunal-head span {
    background: transparent !important;
    /*border: 1px solid #2a3d36;*/
    color: #fff;
}