.checklist-header {
  margin-bottom: 28px;
}

.checklist-main-title {
  font-size: 34px;
  line-height: 1.15;
  font-weight: 400;
  color: #666;
  margin: 0 0 8px 0;
}

.checklist-counter {
  font-size: 16px;
  line-height: 1.3;
  color: #666;
  margin: 0 0 10px 0;
}

.checklist-group {
  margin-bottom: 42px;
}

.checklist-title {
  font-size: 32px;
  color: #777;
  margin: 0 0 18px 0;
  line-height: 1.1;
  font-weight: 400;
}

.checklist-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 50px;
  grid-template-areas:
    "title title side"
    "photo content side";
  column-gap: 18px;
  row-gap: 10px;
  margin-bottom: 30px;
  align-items: start;
}

.title {
  grid-area: title;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  color: #666;
  margin: 0 0 2px 0;
}

.title i {
  color: #666;
  font-weight: normal;
}

.thumb {
  grid-area: photo;
  width: 140px;
  min-width: 140px;
  border-radius: 4px;
  cursor: zoom-in;
  display: block;
}

.thumb-fallback {
  background: #efefef;
  min-height: 90px;
}

.content {
  grid-area: content;
  min-width: 0;
  padding-top: 3px;
}

.item-side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.status-icon {
  width: 46px;
  height: auto;
  display: block;
}

.link-icon-wrap {
  display: block;
  line-height: 0;
}

.link-icon {
  width: 46px;
  height: auto;
  display: block;
}

.season-wrap {
  width: 100%;
}

.season {
  display: grid;
  grid-template-columns: repeat(48, 1fr);
  gap: 2px;
  align-items: start;
  width: 100%;
  margin: 0 0 0 0;
  min-height: 20px;
}

.bar {
  width: 100%;
  height: 14px;
  border-radius: 2px;
  background: #d7d7d7;
}

.level-1,
.level-2,
.level-3,
.level-4 {
  background: #7fbc95;
}

.bar.month-start {
  height: 18px;
}

.months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  width: 100%;
  font-size: 11px;
  color: #666;
  line-height: 1;
  margin-bottom: 2px;
}

.months span {
  display: block;
}

.text {
  font-size: 13px;
  line-height: 1.3;
  color: #666;
  margin-top: 0;
  max-width: 760px;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
  accent-color: #7fbc95;
}

.checkbox input:disabled {
  opacity: 0.5;
  cursor: default;
}

.foto-credit {
  font-size: 12px;
  color: #888;
  margin: 5px 0 0 0;
  line-height: 1.3;
}

.checklist-error {
  padding: 16px;
  border: 1px solid #d8c7c7;
  background: #fff7f7;
  color: #7a3434;
  border-radius: 6px;
  line-height: 1.4;
}

#lightbox {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  padding: 20px;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 38px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: 0;
}

@media (max-width: 1024px) {
  .checklist-item {
    grid-template-columns: 120px minmax(0, 1fr) 46px;
    grid-template-areas:
      "title title side"
      "photo content side";
    column-gap: 14px;
  }

  .title {
    font-size: 20px;
  }

  .thumb {
    width: 120px;
    min-width: 120px;
  }

  .months {
    font-size: 10px;
  }

  .text {
    font-size: 12px;
  }
}

@media (max-width: 820px) {
  .checklist-item {
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "photo content"
      "side side";
    column-gap: 12px;
    row-gap: 10px;
  }

  .item-side {
    width: auto;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-top: 0;
    gap: 14px;
  }

  .icons {
    flex-shrink: 0;
  }

  .thumb {
    width: 110px;
    min-width: 110px;
  }

  .season-wrap {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .checklist-item {
    grid-template-columns: 170px minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "photo side"
      "content content";
    column-gap: 12px;
    row-gap: 12px;
    align-items: start;
  }

  .item-side {
    width: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    padding-top: 0;
  }

  .thumb {
    width: 100%;
    max-width: 170px;
    min-width: 0;
  }

  .season,
  .months {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .name-scientific {
    display: none;
  }
}
