@use 'utils/base' as *;

/* 기본 뷰 페이지 */
.view-container {
  max-width: rem(1200);
  margin: 0 auto;
}
.view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: rem(40) rem(50);
  border-top: 2px solid $almost-black;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}
.view-body {
  margin-bottom: rem(48);
  padding-top: rem(48);
}
.view-figure {
  margin-bottom: rem(53);
  img {
    max-width: 100%;
    width: auto;
  }
}
.view-content {
  padding-bottom: rem(38);
  border-bottom: 1px solid $almost-black;
  img {
    max-width: 100%;
  }
}

@media screen and (max-width: $breakpoint-lg) {
  .view-container {
    max-width: 100%;
    margin: 0 rem(20);
  }
  .view-header {
    flex-direction: column;
    align-items: flex-start;
    gap: rem(10);
    padding: rem(20) rem(20);
  }
  .view-body {
    margin-bottom: rem(68);
  }
  .view-figure {
    height: vw(433, md);
    margin-bottom: rem(51);
  }
  .view-content {
    flex-direction: column;
    gap: rem(30);
    margin: 0 auto;
    padding-bottom: rem(17);
  }
}
@media screen and (max-width: $breakpoint-md) {
  .view-body {
    margin-bottom: rem(43);
  }
  .view-figure {
    height: vw(202, sm);
    margin-bottom: rem(45);
  }
  .view-content {
    gap: rem(23);
    padding-bottom: rem(15);
  }
}
