/* ir-news-analyst-report.css */

/* ========== 01-header / navbar ========== */
/* Uses common.css .page-header and .navbar-index styles */

/* ========== 02-banner ========== */
/* Banner styles: ir-banner.css (공통) */

/* ========== 03-analyst-report-list ========== */

.analyst-report-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 9.375rem;
  padding-bottom: 15.625rem;
  background-color: #ffffff;
}

.analyst-report-container {
  width: 100%;
  padding-left: clamp(1.25rem, calc((100vw - 80rem) / 2), 20rem);
  padding-right: clamp(1.25rem, calc((100vw - 80rem) / 2), 20rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.analyst-report-header {
  width: 100%;
  padding-bottom: 2.5rem;
  display: flex;
  align-items: flex-end;
  gap: 3.75rem;
}

.analyst-report-title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.625rem;
  line-height: 1.3;
  color: var(--logogreen);
  margin: 0;
}

/* Report List */
.analyst-report-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.report-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 5rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.report-item + .report-item {
  margin-top: -1px;
}

.report-content {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3.75rem;
  min-width: 0;
}

.report-title {
  flex: 1;
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.4;
  letter-spacing: -0.0275rem;
  color: var(--darkgreen);
  margin: 0;
}

.report-date {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Download Button */
.report-download-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 3rem;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--gray);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

.report-download-btn:hover {
  opacity: 0.7;
}

.report-download-btn span {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--gray);
  white-space: nowrap;
}

.report-download-btn img {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 0;
}

.pagination-btn {
  width: 3.25rem;
  height: 3.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  font-family: var(--font-pretendard);
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-prev,
.pagination-next {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--gray);
}

.pagination-number {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--gray);
}

.pagination-number.active {
  background-color: var(--logogreen);
  border: none;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #ffffff;
}

/* Analyst Report - Tablet */
@media (max-width: 1199px) {
  .analyst-report-section {
    padding-top: 5rem;
    padding-bottom: 8rem;
  }

  .analyst-report-container {
    padding-left: 5%;
    padding-right: 5%;
  }

  .analyst-report-title {
    font-size: 2rem;
  }

  .report-item {
    gap: 2rem;
  }

  .report-content {
    gap: 2rem;
  }

  .report-title {
    font-size: 1.125rem;
  }

  .report-date {
    font-size: 0.9375rem;
  }
}

/* Analyst Report - Mobile */
@media (max-width: 767px) {
  .analyst-report-section {
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .analyst-report-header {
    padding-bottom: 1.5rem;
  }

  .analyst-report-title {
    font-size: 1.5rem;
  }

  .report-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
  }

  .report-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }

  .report-title {
    font-size: 1rem;
    line-height: 1.5;
  }

  .report-date {
    font-size: 0.875rem;
  }

  .report-download-btn {
    height: auto;
    min-height: 2.75rem;
    padding: 0.5rem 0;
  }

  .report-download-btn span {
    font-size: 0.875rem;
  }

  .report-download-btn img {
    width: 1.5rem;
    height: 1.5rem;
  }

  .pagination {
    padding: 1.5rem 0;
    gap: 0.5rem;
  }

  .pagination-btn {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 0.9375rem;
  }

  .pagination-number.active {
    font-size: 1rem;
  }
}
