/* ir-news-press-releases-detail.css */
/* Banner styles: ir-banner.css (공통) */

/* ========== 01-header-타이틀-배경 ========== */
/* Uses common.css .page-header and .navbar-index styles */

/* ========== 02-contents-보도자료-상세-콘텐츠 ========== */
/* ==========================================================================
   Press Release Detail - Contents Section
   ========================================================================== */

.press-release-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 9.375rem 320px 15.625rem;
  background-color: #ffffff;
  box-sizing: border-box;
}

.press-release-detail__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header - Section Title
   ========================================================================== */

.press-release-detail__header {
  width: 100%;
  padding-bottom: 2.5rem; /* 40px */
  overflow: hidden;
}

.press-release-detail__section-title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.625rem; /* 42px */
  line-height: 1.3;
  color: var(--logogreen);
  text-transform: capitalize;
  margin: 0;
}

/* Content Area
   ========================================================================== */

.press-release-detail__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
}

/* Title Area
   ========================================================================== */

.press-release-detail__title-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2.5rem; /* 40px */
  padding: 2.5rem 0; /* 40px */
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.press-release-detail__title {
  font-family: var(--font-paperlogy);
  font-weight: 700;
  font-size: 2.125rem; /* 34px */
  line-height: 1.3;
  color: var(--darkgreen);
  margin: 0;
}

.press-release-detail__date {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.5);
}

/* Body Area
   ========================================================================== */

.press-release-detail__body {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5rem; /* 80px */
  padding: 5rem; /* 80px */
  overflow: hidden;
  box-sizing: border-box;
}

.press-release-detail__photo {
  width: 100%;
  height: 25rem; /* 400px */
  margin: 0;
}

.press-release-detail__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.press-release-detail__text {
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.25rem; /* 20px */
  line-height: 1.6;
  color: var(--gray);
}

.press-release-detail__text p {
  margin: 0 0 2rem;
}

.press-release-detail__text p:last-child {
  margin-bottom: 0;
}

.press-release-detail__source {
  color: var(--gray);
}

/* Navigation - Prev/Next
   ========================================================================== */

.press-release-detail__navigation {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.press-release-detail__nav-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 1px;
  min-height: 1px;
}

.press-release-detail__nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.875rem 0; /* 30px */
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  overflow: hidden;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.press-release-detail__nav-item:hover {
  background-color: rgba(0, 98, 65, 0.05);
}

.press-release-detail__nav-item + .press-release-detail__nav-item {
  border-top: none;
}

.press-release-detail__nav-label {
  width: 5.625rem; /* 90px */
  font-family: var(--font-pretendard);
  font-weight: 400;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.5);
  text-align: center;
  flex-shrink: 0;
}

.press-release-detail__nav-title {
  flex: 1;
  padding-left: 2.5rem; /* 40px */
  font-family: var(--font-pretendard);
  font-weight: 600;
  font-size: 1.375rem; /* 22px */
  line-height: 1.4;
  letter-spacing: -0.0275rem; /* -0.44px */
  color: var(--logogreen);
  text-transform: capitalize;
  min-width: 1px;
  min-height: 1px;
}

.press-release-detail__nav-item:last-child .press-release-detail__nav-title {
  padding-right: 5rem; /* 80px */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* List Button
   ========================================================================== */

.press-release-detail__list-btn {
  width: 11.5rem; /* 184px */
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--logogreen);
  overflow: hidden;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.press-release-detail__list-btn:hover {
  background-color: #005236;
}

.press-release-detail__list-btn img {
  width: 2.5rem; /* 40px */
  height: 2.5rem;
  object-fit: contain;
}

/* ==========================================================================
   Responsive - Tablet (1199px and below)
   ========================================================================== */

@media (max-width: 1199px) {
  .press-release-detail {
    padding: 6rem 5% 10rem;
  }

  .press-release-detail__content {
    width: 100%;
  }

  .press-release-detail__body {
    padding: 3rem;
    gap: 3rem;
  }

  .press-release-detail__photo {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .press-release-detail__nav-item:last-child .press-release-detail__nav-title {
    padding-right: 2rem;
  }

  .press-release-detail__list-btn {
    width: 8rem;
  }
}

/* ==========================================================================
   Responsive - Mobile (768px and below)
   ========================================================================== */

@media (max-width: 768px) {
  .press-release-detail {
    padding: 4rem 5% 6rem;
  }

  .press-release-detail__section-title {
    font-size: 1.75rem; /* 28px */
  }

  .press-release-detail__title-area {
    gap: 1.5rem;
    padding: 1.5rem 0;
  }

  .press-release-detail__title {
    font-size: 1.5rem; /* 24px */
  }

  .press-release-detail__date {
    font-size: 0.9375rem; /* 15px */
  }

  .press-release-detail__body {
    padding: 2rem 0;
    gap: 2rem;
  }

  .press-release-detail__text {
    font-size: 1rem; /* 16px */
  }

  .press-release-detail__text p {
    margin-bottom: 1.5rem;
  }

  .press-release-detail__navigation {
    flex-direction: column;
  }

  .press-release-detail__nav-list {
    width: 100%;
  }

  .press-release-detail__nav-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.25rem 0;
  }

  .press-release-detail__nav-label {
    width: auto;
    text-align: left;
  }

  .press-release-detail__nav-title {
    padding-left: 0;
    font-size: 1.125rem; /* 18px */
    white-space: normal;
  }

  .press-release-detail__nav-item:last-child .press-release-detail__nav-title {
    padding-right: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .press-release-detail__list-btn {
    width: 100%;
    height: 3.5rem;
    margin-top: 1rem;
  }

  .press-release-detail__list-btn img {
    width: 2rem;
    height: 2rem;
  }
}

