/* Potek dejavnosti block */
.potek-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 72px 0px;
}

.potek-wrapper.no-margin-top {
  margin-top: 0 !important;
}

.potek-wrapper.no-margin-bottom {
  margin-bottom: 0 !important;
}

.potek-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.potek-item {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 16px;
  background-color: #eef4ed;
  padding: 24px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.potek-icon {
  background-color: #0a4c17;
  padding: 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 52px;
  box-shadow: 3px 3px 10px 0px #FFFFFF26 inset;
}

.potek-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.potek-text {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: #0D4A0F;
}

.potek-subtext {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #1a1a1a;
  margin-top: 8px;
}

.potek-heading {
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
  color: #1A1A1A;
}

@media (max-width: 767px) {
  .potek-grid {
    grid-template-columns: repeat(1, 1fr)!important;
  }
}

/* Info blok block */

.info-blok-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-blok-wrapper.green-green .info-item {
  background: #F0F0F0;
}

.info-blok-wrapper.black .info-item {
  background-color: #F0F0F0;
  box-shadow: 0px 9px 60px 0px #00000008;
}

.info-blok-wrapper.black .info-icon {
  background-color: #1A1A1A;
}

.info-blok-wrapper.black .info-text p {
  color: #1A1A1A;
}

.info-text.black p {
  color: #1A1A1A!important;
}

.info-blok-wrapper.green .info-item {
  background-color: #ECF3EC;
}

.info-blok-wrapper.green .info-icon {
  background-color: #0D4A0F;
}

.info-blok-wrapper.green .info-text p {
  color: #0D4A0F!important;
}

.info-blok-wrapper.green .info-text.black p {
    color: #1A1A1A !important;
}

.info-text.green p {
  color: #0D4A0F!important;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: center;
  padding: 20px;
  gap: 12px;
}

.info-icon {
  border-radius: 4px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 52px;
  width: 52px;
  box-shadow: 3px 3px 10px 0px #FFFFFF26 inset;
}

.info-icon img {
  width: 30px;
  height: 30px;
}

.info-text {
  text-align: left;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
}

/* Layout: Grid */

.layout-grid .info-blok-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: stretch;
}

@media (max-width: 767px) {
  .layout-grid .info-blok-list {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* Layout: Stack (default flex-column) */
.layout-stack .info-blok-list {
  flex-direction: column;
}

/* Icon on left */
.icon-left .info-item {
  flex-direction: row;
  align-items: center;
  text-align: left;
}

@media (min-width: 768px) {
    .info-blok-wrapper strong {
	    font-weight: 500!important;
    }
}

@media (max-width: 767px) {
    .icon-left .info-item {
        align-items: start!important;
    }
    
    .info-blok-wrapper strong {
	    font-weight: 500!important;
    }
}

.icon-left .info-icon {
  margin-right: 16px;
}

.icon-left .info-icon img {
  width: 32px;
  height: 32px;
}

.icon-left .info-text {
  margin-top: 0;
}

.info-text p {
  margin: 0px!important;
}

.green-bullet-points-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.green-bullet-points-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 16px 24px;
    box-shadow: 0px 9px 60px 0px #00000008;
    background-color: #0D4A0F;
    align-items: center;
    justify-content: flex-start;;
}

.green-bullet-points-icon {
    height: 20px;
    width: 20px;
}

.green-bullet-points-text p {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: white!important;
    margin: 0px!important;
}

/* Timetable */

.dejavnosti-timetable-list {
  border: 1.5px solid #ECF3EC;
  border-radius: 4px;
}

.dejavnosti-timetable-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 20px;
  gap: 24px;
}

.ct-inner-content .dejavnosti-timetable-item p {
  margin: 0px!important;
  font-size: 16px;
  line-height: 120%;
  color: #1a1a1a;
}

.dejavnosti-timetable-list .dejavnosti-timetable-item:nth-child(even) {
  background-color: #ECF3EC;
}

.dejavnosti-timetable-date {
  width: 120px;
  font-weight: 500;
  font-size: 14px;
  line-height: 105%;
  color: #0D4A0F;
}

.dejavnosti-timetable-duration {
  width: 52px;
  font-weight: 400;
  font-size: 14px;
  line-height: 105%;
  color: #1A1A1A;
}

.dejavnosti-timetable-content {
  width: 100%;
}

.dejavnosti-timetable-wrapper {
  margin: 72px 0px;
}

.zakaj-brst-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zakaj-brst-container {
  width: 100vw;
  padding: 0px 40px;
}

.zakaj-brst-content-container {
  background-color: #1a1a1a;
  padding: 60px 120px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.zakaj-brst-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zakaj-brst-title {
  font-weight: 600;
  font-size: 32px;
  line-height: 105%;
  color: #fff;
}

.zakaj-brst-subtitle {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: #fff!important;
}

.zakaj-brst-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;

}

.zakaj-brst-card {
  border: 5px solid #0D4A0F;
  padding: 36px 32px;
  background-color: white;
  box-shadow: 0px 9px 60px 0px #00000008;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zakaj-brst-card-big {
  color: #0D4A0F;
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
}

.zakaj-brst-card-small {
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: #1a1a1a;
}

@media (max-width: 767px) {
  .zakaj-brst-cards {
    grid-template-columns: 1fr;
  }
  .zakaj-brst-container {
    padding: 0px!important;
  }
  .zakaj-brst-content-container {
    padding: 60px 16px!important;
  }
}

/* Content tabs */

.content-tabs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 60px;
}

.content-tabs-wrapper {
  width: 100vw;
  padding: 0px 40px;
}

.content-tabs-intro {
  font-weight: 600!important;
  font-size: 24px!important;
  line-height: 105%;
  color: #1a1a1a;
  padding: 0px 120px;
  margin: 0px 0px 24px 0px;
}

.content-tabs-nav {
  background-color: #7E9EC233;
  padding: 0px 120px;
  display: flex;
  flex-direction: row;
  gap: 32px;
  overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #bbb transparent;
}

.content-tabs-nav button {
  background-color: transparent;
  border: 0px;
  padding: 24px 0px;
  font-family: 'IBMPlexSans';
  color: #1A1A1A;
  font-size: 14px;
  line-height: 120%;
  font-weight: 600;
  min-width: fit-content;
  transition: all 0.3s ease-in-out;
}

.content-tabs-nav button:hover {
  color: #163E6C;
}

.content-tabs-nav button.active {
  border-bottom: 3px solid #163E6C;
  color: #163E6C;
  font-weight: 600;
  font-family: 'IBMPlexSans';
}

/* Show and style tab-section only in the block editor */
.block-editor-block-list__layout .tab-section.is-editor {
  display: block !important;
  background-color: #f0f0f0;
  border: 1px dashed #999;
  padding: 10px;
  margin-bottom: 10px;
  position: relative;
}

.block-editor-block-list__layout .tab-section.is-editor::before {
  content: "Tab Content ID: " attr(data-tab-content);
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #666;
  margin-bottom: 8px;
}

.block-editor-block-list__layout .tab-end-marker {
  background-color: #fff3cd;
  border: 1px dashed #ffc107;
  color: #856404;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 5px;
  text-align: center;
}

@media (max-width: 767px) {
  .content-tabs-intro {
    padding: 0px 16px;
  }
  .content-tabs-wrapper {
    padding: 0px;
  }
  .content-tabs-nav {
    overflow: scroll;
    padding: 0px 16px;
  }
  .content-tabs-nav button {
    min-width: fit-content;
  }
}
