@import url('../information.css');

@media (min-width: 1025px) {
  .info-page-top--exh {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    background: none !important;
  }

  .info-page-top--exh .header-bg,
  .info-page-top--exh .exh-hero {
    grid-column: 1;
    grid-row: 1;
  }

  .info-page-top--exh .exh-hero {
    z-index: 1;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    justify-content: center;
    min-height: auto;
    padding: calc(var(--header-height) + var(--hero-title-offset)) 24px var(--hero-subnav-offset);
  }

  .info-page-top--exh .header-bg {
    z-index: 2;
    align-self: start;
    background: #011D20 !important;
    background-color: #011D20 !important;
    box-shadow: none !important;
  }

  .info-page-top--exh .header-inner {
    background: transparent !important;
  }

  .info-page-top--exh .info-subnav {
    grid-row: 2;
    grid-column: 1;
    z-index: 2;
    margin-top: 0 !important;
  }
}

.info-page-top--past .nav-item--current > .nav-link {
  color: #fdd000;
}

.exh-hero {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 48px) 24px 48px;
  box-sizing: border-box;
  overflow: hidden;
}

.exh-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #fff;
}

.exh-hero__bg img {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.45) contrast(0.92) saturate(0.85);
}

.exh-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none;
  opacity: 1;
  pointer-events: none;
}

.exh-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  color: #000 !important;
}

.exh-hero__inner h1 {
  color: #000 !important;
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 800;
  line-height: 130%;
  letter-spacing: -0.03em;
}

.exh-hero__inner p {
  margin: 0;
  font-size: 17px;
  font-weight: 500;
  line-height: 168%;
  color: #000 !important;
}

.report-content {
  background: #fff;
  padding: 120px 24px 96px;
  box-sizing: border-box;
}

.report-content-inner {
  position: relative;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

/* 연도 선택 — 공통 info-subnav 스타일 + 이전 전시회 셀렉트 */
.info-page-top--past .report-years__more {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--subnav-item-width);
  height: 100%;
  min-height: inherit;
  box-sizing: border-box;
}

.info-page-top--past .report-years__select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 0 8px;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: var(--subnav-font-size);
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  opacity: 0.8;
  letter-spacing: -0.02em;
  cursor: pointer;
  text-align: center;
  text-align-last: center;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23ffffff' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 10px 6px;
  padding-right: 18px;
  transition: opacity 0.2s ease;
}

.info-page-top--past .report-years__select:hover,
.info-page-top--past .report-years__more.is-active .report-years__select {
  opacity: 1;
}

.info-page-top--past .report-years__select option {
  color: #111;
  background: #fff;
}

.report-summary {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 0 0 48px;
  padding: 32px 40px;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-sizing: border-box;
}

.report-summary__row {
  display: grid;
  grid-template-columns: 88px 1fr;
  column-gap: 40px;
  row-gap: 0;
  padding: 0;
  border: none;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.report-summary__label {
  color: #888;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.report-summary__value {
  color: #111;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.report-summary__sub {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #0F6055;
}

.report-section {
  margin-bottom: 56px;
}

.report-section--country {
  display: block;
  margin-top: 80px;
}

.report-section--country > .content-title-wrap {
  display: block;
  margin-bottom: 20px;
}

.report-section--country .report-block--country {
  display: block;
}

.report-section--country .report-block__main--full {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.report-section--country .report-country-table {
  margin: 0;
}

.report-section__title {
  font-weight: 900;
  color: #011D20;
}

.report-block {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  column-gap: 122px;
  row-gap: 16px;
  align-items: start;
}

/* 제목은 한 줄 전체, 설명/차트는 그 아래 2열 */
.report-block__side {
  display: contents;
}

.report-block__side h3 {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #0F6055;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: #111;
  align-self: start;
  box-sizing: border-box;
}

.report-block__side p {
  grid-column: 1;
  grid-row: 2;
  width: 350px;
  max-width: 350px;
  margin: 0;
  align-self: start;
  font-size: 13px;
  line-height: 1.65;
  color: #666;
}

.report-block__main {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  min-width: 0;
}

.report-block:not(:has(.report-block__side p)) .report-block__main {
  grid-column: 1 / -1;
}

.report-section > .report-block + .report-block {
  margin-top: 80px;
}

.report-block__main > :first-child {
  margin-top: 0;
}

.report-country-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.report-country-table th,
.report-country-table td {
  border: 1px solid #e4ebea;
  padding: 8px 6px;
  text-align: center;
  vertical-align: middle;
  color: #333;
}

.report-country-table thead th {
  background: #f2f7f6;
  font-size: 12px;
  font-weight: 700;
  color: #0F6055;
}

.report-country-table tbody td {
  font-weight: 500;
}

.report-country-table tbody td:nth-child(even) {
  font-weight: 700;
  color: #011D20;
}

.report-country-table__total {
  background: #f2f7f6;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #111;
  text-align: center;
}

.report-country-foot__num {
  font-weight: 800;
  color: #0F6055;
}

.report-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.report-bar-row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr 52px;
  gap: 12px;
  align-items: center;
}

.report-bar-row__label {
  font-size: 12px;
  line-height: 1.4;
  color: #333;
}

.report-bar-row__track {
  display: flex;
  height: 28px;
  background: #f0f0f0;
  overflow: hidden;
}

.report-bar-row__fill {
  height: 100%;
  min-width: 2px;
}

.report-bar-row__pct {
  font-size: 13px;
  font-weight: 800;
  color: #111;
  text-align: right;
}

.report-donut-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 32px;
  margin: 0;
  width: 100%;
}

.report-donut {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  position: relative;
  justify-self: start;
}

.report-donut::after {
  content: '';
  position: absolute;
  inset: 28%;
  background: #fff;
  border-radius: 50%;
}

.report-donut-legend {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  justify-self: center;
  align-self: center;
}

.report-donut-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.report-donut-legend .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.report-interest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.report-interest-card {
  min-height: 100px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  font-weight: 800;
}

.report-interest-card__pct {
  font-size: 22px;
}

.report-interest-card__name {
  font-size: 15px;
  text-align: right;
}

.report-interest-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.report-interest-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid #e8e8e8;
  font-size: 13px;
  background: #fff;
}

.report-section.report-list-section > .report-block,
.report-section.report-list-section > .report-split {
  padding-top: 60px;
  border-top: 1px solid rgba(15, 96, 85, 0.2);
  box-sizing: border-box;
}

.report-section.report-list-section > .report-block + .report-split {
  margin-top: 0;
}

.report-section.report-list-section .report-block {
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  column-gap: 122px;
  row-gap: 16px;
  align-items: start;
}

.report-section.report-list-section .report-block__side {
  display: contents;
}

.report-section.report-list-section .report-block__side h3 {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  max-width: none;
}

.report-section.report-list-section .report-block__main {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
}

.report-section.report-list-section .report-block__main > ol,
.report-section.report-list-section .report-block__main > ul {
  margin: 0;
}

.report-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.report-split__panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 28px;
  background: #f7faf9;
  border: 1px solid #e4ebea;
  box-sizing: border-box;
}

.report-split__title {
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0F6055;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #011D20;
}

.report-split__lead {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: #0F6055;
}

.report-split__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-split__list li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #333;
}

.report-split__list li::before {
  content: '';
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #228380;
}

.report-list-section h3 {
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #0F6055;
  font-size: 16px;
  font-weight: 900;
  color: #111;
}

.report-list-section ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: #333;
}

.report-list-section ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.report-download-wrap {
  text-align: center;
  padding: 48px 0 24px;
  border-top: 1px solid #e8e8e8;
}

.report-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 320px;
  padding: 16px 32px;
  border: none;
  border-radius: 2px;
  background: #0F6055;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.report-download-btn:hover {
  background: #0c4f46;
}

.report-empty {
  padding: 80px 24px;
  text-align: center;
  color: #888;
  font-size: 15px;
}

@media (max-width: 1024px) {
  .report-block {
    grid-template-columns: 1fr;
  }

  .report-block__side {
    display: contents;
  }

  .report-block__side h3,
  .report-block__side p,
  .report-block__main {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
  }

  .report-block__side h3 {
    grid-row: auto;
  }

  .report-block__side p {
    grid-row: auto;
  }

  .report-block__main,
  .report-block:not(:has(.report-block__side p)) .report-block__main {
    grid-row: auto;
    grid-column: 1 / -1;
  }

  .report-section > .report-block + .report-block {
    margin-top: 48px;
  }

  .report-section--country {
    margin-top: 48px;
  }

  .report-section.report-list-section > .report-block,
  .report-section.report-list-section > .report-split {
    padding-top: 40px;
  }

  .report-section.report-list-section .report-block {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 16px;
  }

  .report-section.report-list-section .report-block__side {
    display: contents;
  }

  .report-section.report-list-section .report-block__side h3,
  .report-section.report-list-section .report-block__main {
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }

  .report-split {
    grid-template-columns: 1fr;
  }

  .report-split__panel {
    padding: 20px;
  }
}

/* 태블릿: 이전 전시회를 2행 3열 위치에 */
@media (min-width: 768px) and (max-width: 1024px) {
  .info-page-top--past .info-subnav-inner > .report-years__more {
    grid-column: 3;
    grid-row: 2;
    width: 100%;
    justify-self: stretch;
  }

  .info-page-top--past .report-years__select {
    width: 100%;
    font-size: 16px !important;
  }
}

@media (max-width: 767px) {
  .info-page-top--exh .info-subnav {
    margin-top: 0 !important;
  }

  .report-content {
    padding: 28px 16px 64px;
  }

  .info-page-top--past .info-subnav-inner > .report-years__more {
    width: 100%;
    min-height: 0;
  }

  .info-page-top--past .report-years__select {
    width: 100%;
    min-height: 0;
    padding: 18px 28px 18px 12px;
    font-size: 15px;
    font-weight: 700;
    opacity: 1;
    background-color: #228380;
    background-position: right 12px center;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    box-sizing: border-box;
  }

  .info-page-top--past .info-subnav-inner > .report-years__more:nth-child(2n) .report-years__select {
    border-right: none;
  }

  .report-summary {
    gap: 20px;
    padding: 24px 16px;
  }

  .report-summary__row {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 4px;
    font-size: 15px;
  }

  .report-summary__label {
    font-size: 13px;
  }

  .report-summary__value {
    font-size: 15px;
  }

  .report-summary__sub {
    font-size: 13px;
    margin-top: 4px;
  }

  .report-country-table {
    font-size: 11px;
  }

  .report-country-table th,
  .report-country-table td {
    padding: 6px 4px;
  }

  .report-split__panel {
    padding: 16px;
  }

  .report-split__title {
    font-size: 15px;
  }

  .report-split__list li {
    font-size: 12px;
  }

  .report-interest-grid,
  .report-interest-list {
    grid-template-columns: 1fr;
  }

  .report-download-btn {
    min-width: 0;
    width: 100%;
  }
}
