/*
 * Page "Звітність" (page-reports.php).
 * Desktop: list 940 + photo 730 (sticky while the list scrolls), from the 1920 layout.
 * Tablet / mobile: one column, counter goes above the year chips (as in the layout).
 */

.rp_sec {
  padding: 80px 0;
  background: var(--palette-v2-white);
}

.rp_col--list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.rp_col--list > * {
  max-width: 100%;
}

.rp_col--media {
  position: sticky;
  top: 124px;
}

.rp_intro_txt {
  font-size: 18px;
  line-height: 28px;
  color: var(--palette-v2-d1);
}

.rp_chips {
  margin-top: 20px;
}

.rp_counter {
  margin-top: 20px;
  font-size: 16px;
  line-height: 24px;
  color: rgba(0, 37, 62, 0.7);
}

.rp_rows {
  align-self: stretch;
  margin-top: 20px;
  gap: 12px;
}

.rp_more_btn {
  margin-top: 24px;
  border: 0;
  cursor: pointer;
}

.rp_more_btn[hidden],
.report_row[hidden] {
  display: none;
}

@media (max-width: 1280px) {
  .rp_sec {
    padding: 60px 0;
  }

}

@media (max-width: 1024px) {
  .rp_sec {
    padding: 40px 0;
  }

  .rp_col--media {
    position: static;
  }

  .rp_intro_txt {
    font-size: 16px;
    line-height: 26px;
  }

  .rp_counter {
    order: 1;
    margin-top: 24px;
  }

  .rp_chips {
    order: 2;
    margin-top: 24px;
  }

  .rp_rows {
    order: 3;
    margin-top: 40px;
    gap: 18px;
  }

  .rp_rows .report_row {
    padding: 20px 28px;
  }

  .rp_more_btn {
    order: 4;
    align-self: stretch;
    margin-top: 40px;
  }

}

@media (max-width: 600px) {
  .rp_sec {
    padding: 36px 0;
  }

  .rp_counter {
    margin-top: 24px;
  }

  .rp_chips {
    margin-top: 12px;
    gap: 8px;
  }

  .rp_rows {
    margin-top: 24px;
    gap: 12px;
  }

  .rp_rows .report_row {
    padding: 20px;
  }

  .rp_rows .report_row_name {
    font-size: 18px;
    line-height: 26px;
  }

  .rp_rows .report_row_meta {
    line-height: 22px;
  }

  .rp_more_btn {
    margin-top: 24px;
  }

  .rp_media {
    aspect-ratio: 324 / 257;
  }
}
