#wrap.sub {
  background: var(--paper);
  padding-top: var(--header-height);
}

body.sub .site-header {
  background: rgba(250, 250, 250, 0.96) !important;
  border-bottom: 1px solid rgba(8, 42, 98, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition:
    background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.sub-title-box {
  position: relative;
  width: 100%;
  height: clamp(280px, 32vh, 380px);
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111111;
}

.sub-title-box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 17, 25, 0.04), rgba(5, 17, 25, 0.3)),
    linear-gradient(90deg, rgba(5, 17, 25, 0.08), transparent 48%, rgba(5, 17, 25, 0.1));
  opacity: 0;
  pointer-events: none;
  animation: subShadeReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both;
}

.sub-title-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/section2-visual.jpg");
  background-size: cover;
  background-position: center center;
  opacity: 0.78;
  transform: scale(1.045) translateZ(0);
  filter: blur(2px) brightness(0.76) saturate(0.9);
  will-change: opacity, transform, filter;
  animation: subBgReveal 1.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes subBgReveal {
  0% {
    opacity: 0.78;
    transform: scale(1.045) translateZ(0);
    filter: blur(2px) brightness(0.76) saturate(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateZ(0);
    filter: blur(0) brightness(0.82) saturate(1);
  }
}

@keyframes subShadeReveal {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.sub-title-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
}

.sub-title {
  margin: 0;
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(38px, 3.8vw, 54px);
  font-weight: 400;
  letter-spacing: 0.16em;
  line-height: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(12px) translateZ(0);
  filter: blur(2px);
  will-change: opacity, transform, filter;
  animation: subTitleReveal 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.sub-title-kor {
  margin: 14px 0 0;
  font-family: "Pretendard", sans-serif;
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 400;
  letter-spacing: 0.08em;
  opacity: 0;
  transform: translateY(10px) translateZ(0);
  filter: blur(2px);
  will-change: opacity, transform, filter;
  animation: subTitleReveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.sub-intro-title {
  opacity: 0;
  will-change: opacity, transform, filter;
  animation: subIntroReveal 0.82s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

.sub-intro-desc {
  opacity: 0;
  will-change: opacity, transform, filter;
  animation: subIntroReveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

@keyframes subIntroReveal {
  0% {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(12px) translateZ(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) translateZ(0);
  }
}

@keyframes subTitleReveal {
  0% {
    opacity: 0;
    filter: blur(2px);
    transform: translateY(12px) translateZ(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) translateZ(0);
  }
}

.sub-menu-box {
  width: 100%;
  height: 52px;
  background: var(--paper);
  border-bottom: 1px solid rgba(8, 42, 98, 0.12);
  position: sticky;
  top: var(--header-height);
  z-index: 10;
}

.sub-menu-inner {
  max-width: 1560px;
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--rel-padding);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.sub-home {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 100%;
  border-right: 1px solid rgba(8, 42, 98, 0.12);
  transition: background 0.3s ease;
}

.sub-home:hover {
  background: rgba(8, 42, 98, 0.03);
}

.sub-home img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.sub-home:hover img {
  opacity: 1;
}

.sub-menu {
  position: relative;
  height: 100%;
  padding: 0 clamp(20px, 2.2vw, 36px);
  border-right: 1px solid rgba(8, 42, 98, 0.12);
  display: flex;
  align-items: center;
  font-family: "Pretendard", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.sub-menu::after {
  content: "";
  display: inline-block;
  margin-left: clamp(14px, 1.8vw, 24px);
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(45deg) translateY(-2px);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  opacity: 0.54;
}

.sub-menu:hover::after {
  opacity: 1;
  transform: rotate(225deg) translateY(0);
}

.sub-menu.point {
  font-weight: 700;
  color: var(--navy);
}

.sub-menu.point::after {
  border-color: var(--navy);
}

.sub-menu:hover {
  background: rgba(8, 42, 98, 0.02);
}

.sub-menu ul,
.sub-menu .smenu-list1,
.sub-menu .smenu-list2 {
  position: absolute;
  top: 100%;
  left: -1px;
  min-width: calc(100% + 2px);
  background: #ffffff;
  border: 1px solid rgba(8, 42, 98, 0.14);
  border-top: 0;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  box-shadow: 0 10px 30px rgba(0, 26, 96, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
  z-index: 15;
}

.sub-menu:hover ul,
.sub-menu:hover .smenu-list1,
.sub-menu:hover .smenu-list2 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.sub-menu ul li,
.sub-menu .smenu-list1 li,
.sub-menu .smenu-list2 li {
  width: 100%;
}

.sub-menu ul li a,
.sub-menu .smenu-list1 li a,
.sub-menu .smenu-list2 li a {
  display: block;
  padding: 10px clamp(20px, 2.2vw, 36px);
  color: rgba(39, 39, 39, 0.75);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.sub-menu ul li a:hover,
.sub-menu .smenu-list1 li a:hover,
.sub-menu .smenu-list2 li a:hover {
  background: rgba(0, 26, 96, 0.04);
  color: var(--navy);
}

.sub-menu .smenu-list1 .smenu-list2 {
  display: none !important;
}

.sub-content-box {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(52px, 6.2vh, 80px) 0;
  opacity: 0;
  transform: translateY(20px) scale(0.99) translateZ(0);
  will-change: opacity, transform;
  animation: subContentReveal 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.sub-content-box img {
  max-width: 100%;
}

@keyframes subContentReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.99) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) translateZ(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sub-title-box::after,
  .sub-title-bg,
  .sub-title,
  .sub-title-kor,
  .sub-intro-title,
  .sub-intro-desc,
  .sub-content-box {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
  }
}

.sub-content-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

.calendar-content {
  max-width: 1300px;
}

.calendar-intro {
  display: grid;
  gap: 12px;
  text-align: center;
}

.calendar-kicker {
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #888;
}

.calendar-intro h2 {
  margin: unset;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  text-align: left;
  color: var(--ink);
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.15;
}
.trivn-calendar {
  display: block;
}

.calendar-month {
  border-top: 2px solid var(--navy);
  background:
    linear-gradient(
      180deg,
      rgba(0, 26, 96, 0.035),
      rgba(255, 255, 255, 0) 210px
    ),
    #ffffff;
  box-shadow: 0 18px 48px rgba(0, 26, 96, 0.07);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekday {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-right: 1px solid rgba(0, 26, 96, 0.08);
  border-bottom: 1px solid rgba(0, 26, 96, 0.12);
  color: rgba(39, 39, 39, 0.54);
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.calendar-weekday:nth-child(7n),
.calendar-day:nth-child(7n) {
  border-right: 0;
}

.calendar-weekday:first-child,
.calendar-day:nth-child(7n + 1) .calendar-day-number {
  color: #8f2c2c;
}

.calendar-day {
  position: relative;
  min-height: 132px;
  padding: 14px 10px 12px;
  overflow: hidden;
  border-right: 1px solid rgba(0, 26, 96, 0.08);
  border-bottom: 1px solid rgba(0, 26, 96, 0.08);
  background: rgba(255, 255, 255, 0.78);
}

.calendar-day.is-empty {
  background: rgba(0, 26, 96, 0.018);
}

.calendar-day.is-today::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(0, 26, 96, 0.45);
  pointer-events: none;
}

.calendar-day.has-event {
  background: #ffffff;
}

.calendar-day-number {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  color: rgba(39, 39, 39, 0.78);
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: 19px;
  font-weight: 400;
}

.calendar-day.is-today .calendar-day-number {
  background: var(--navy);
  color: #ffffff;
  border-radius: 50%;
}

.calendar-day-events {
  position: absolute;
  inset: 0;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: block;
  height: 100%;
  pointer-events: none;
}

.calendar-event-tag,
.calendar-range-tag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  height: 100%;
  padding: 8px 12px;
  color: #071a58;
  font-size: clamp(14px, 1.25vw, 22px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  white-space: nowrap;
}

.calendar-event-tag {
  background: var(--navy);
  padding-top: 26px;
  clip-path: polygon(70px 0, 100% 0, 100% 100%, 0 100%, 0 70px);
}

.calendar-range-tag {
  margin-inline: 0;
  padding-inline: 18px;
  background: #cfddf0;
  color: #071a58;
  clip-path: none;
  align-items: center;
  padding-bottom: 0;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  line-height: 1;
}

.calendar-range-tag::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  z-index: 2;
  width: calc(100% + 6px);
  height: 2px;
  background: #071a58;
  transform: translateY(-50%);
}

.calendar-range-tag::before {
  content: "";
  position: absolute;
  top: 50%;
  z-index: 3;
  display: none;
  width: 13px;
  height: 13px;
  border-top: 2px solid #071a58;
  border-left: 2px solid #071a58;
}

.calendar-range-label {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 12px;
  background: #cfddf0;
  color: #071a58;
  font-family: "Pretendard", sans-serif;
  font-size: clamp(16px, 1.25vw, 21px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
}

.calendar-range-tag.is-start {
  margin-left: 0;
  clip-path: polygon(70px 0, 100% 0, 100% 100%, 0 100%, 0 70px);
}

.calendar-range-tag.is-end,
.calendar-range-tag.is-single {
  margin-right: 0;
}

.calendar-range-tag.is-segment-start.is-start::after {
  left: 24%;
  width: calc(76% + 3px);
}

.calendar-range-tag.is-segment-end.is-end::after {
  left: -3px;
  width: calc(76% + 3px);
}

.calendar-range-tag.is-start::before {
  display: block;
  left: 22%;
  transform: translateY(-50%) rotate(-45deg);
}

.calendar-range-tag.is-end::before {
  display: block;
  right: 22%;
  transform: translateY(-50%) rotate(135deg);
}

.calendar-range-tag.is-middle::before {
  display: none;
}

.calendar-range-tag.is-single::after {
  display: none;
}

.calendar-event-tag.event-open,
.calendar-range-tag.event-open {
  background: var(--navy);
  color: #ffffff;
}

.calendar-event-tag.event-notice,
.calendar-range-tag.event-notice {
  background: #b7d8e8;
}

.calendar-event-tag.event-supply,
.calendar-range-tag.event-supply {
  background: #ffd9bf;
  color: #ff7133;
}

.calendar-event-tag.event-winner,
.calendar-range-tag.event-winner {
  background: #c9c4dc;
}

.calendar-event-tag.event-contract,
.calendar-range-tag.event-contract {
  background: #f6d9e6;
}

.calendar-event-tag.event-documents,
.calendar-range-tag.event-documents {
  background: #cfddf0;
}

.pcView {
  display: block;
}
.moView {
  display: none;
}

@media (max-width: 960px) {
  .sub-menu-box {
    top: var(--header-height);
  }

  .sub-home {
    width: 44px;
  }

  .sub-menu {
    font-size: 14px;
    padding: 0 16px;
  }

  .sub-menu::after {
    margin-left: 12px;
    width: 6px;
    height: 6px;
  }

  .sub-menu ul li a {
    padding: 8px 16px;
    font-size: 13px;
  }

  .pcView {
    display: none;
  }
  .moView {
    display: block;
  }

  .calendar-day {
    min-height: 112px;
    padding: 10px 6px;
  }

  .calendar-event-tag,
  .calendar-range-tag {
    min-height: 54px;
    height: 100%;
    padding: 7px 8px;
    font-size: 13px;
  }

  .calendar-range-tag {
    margin-inline: 0;
  }
}

@media (max-width: 640px) {
  .sub-title-box {
    height: 220px;
    min-height: 220px;
  }

  .sub-menu-box {
    height: 44px;
  }

  .sub-home {
    width: 40px;
  }

  .sub-home img {
    width: 15px;
    height: 15px;
  }

  .sub-menu {
    font-size: 13px;
    padding: 0 12px;
  }

  .sub-menu::after {
    margin-left: 8px;
    width: 5px;
    height: 5px;
  }

  .calendar-content {
    padding-top: 42px;
  }

  .calendar-grid {
    min-width: auto;
  }

  .calendar-month {
    overflow-x: visible;
  }

  .calendar-weekday {
    min-height: 32px;
    font-size: 11px;
  }

  .calendar-day {
    min-height: 70px;
    padding: 6px 3px;
  }

  .calendar-day-number {
    font-size: 13px;
    min-width: 20px;
    height: 20px;
  }

  .calendar-event-tag,
  .calendar-range-tag {
    min-height: 36px;
    padding: 4px;
    font-size: 10px;
    white-space: normal;
    word-break: keep-all;
  }

  .calendar-range-label {
    font-size: 10px;
    padding-inline: 4px;
  }

  .calendar-event-tag,
  .calendar-range-tag,
  .calendar-range-tag.is-start {
    clip-path: none;
  }
}

.magnifier-wrapper {
  position: relative;
  width: 100%;
  display: block;
  overflow: visible;
  cursor: none;
}

@media (max-width: 960px) {
  .magnifier-wrapper {
    cursor: default;
  }
}

.magnifier-glass {
  position: absolute;
  border: 4px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  width: 300px;
  height: 300px;
  display: none;
  pointer-events: none;
  background-repeat: no-repeat;
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.25),
    inset 0 0 18px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  background-color: #ffffff;
}

.magnifier-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.event_result_table {
  margin: 20px auto 0;
  max-width: 1300px;
  width: 100%;
}

.event_result_table thead {
  background-color: var(--navy);
  color: #fff;
}

table.event_result_table thead tr th,
table.event_result_table tbody tr td {
  text-align: center;
  padding: 16px 0;
  font-size: 15px;
}

table.event_result_table thead tr th {
  width: 25%;
}

.event_result_table thead tr {
  display: flex;
  flex-wrap: wrap;
}

table.event_result_table tbody {
  display: flex;
  flex-wrap: wrap;
}

table.event_result_table tbody tr {
  width: 50%;
  display: flex;
}

table.event_result_table tbody tr td {
  width: 100%;
  box-sizing: border-box;
  border-bottom: 1px solid #eee;
}

@media (max-width: 1280px) {
  .sub_visual {
    margin-top: 60px;
  }

  .rel_wrap,
  .sub_content {
    padding: 0 18px;
  }

  .s_menu::after {
    width: calc(100% - 36px);
  }

  .s_menu_title {
    font-size: 16px;
  }

  .s_menu {
    height: 60px;
  }

  .s_menu ul > li a {
    font-size: 15px;
  }

  .s_menu ul > li:not(.active) {
    display: none;
  }
}

@media (max-width: 768px) {
  table.event_result_table thead tr th:nth-child(n + 3) {
    display: none;
  }

  table.event_result_table thead tr th {
    width: 50%;
  }

  table.event_result_table tbody tr {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
  }

  table.event_result_table tbody tr td {
    width: 50%;
    box-sizing: border-box;
    display: block;
  }
}

.unit-content {
  max-width: 1300px;
  padding-inline: clamp(18px, 3vw, 32px);
}

.unit-sheet {
  --unit-accent: var(--navy);
  --unit-title-color: var(--unit-accent);
  --unit-spec-value-color: rgba(0, 26, 96, 0.62);
  --unit-pale: #f4f5f2;
  --unit-panel: #f8f8f5;
  --unit-line: rgba(0, 26, 96, 0.14);
  color: var(--ink);
}

.unit-data-source {
  display: none;
}

.unit-head {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(34px, 4.2vw, 62px);
  margin-bottom: clamp(52px, 5.6vw, 86px);
  min-height: 132px;
  padding: clamp(20px, 2.2vw, 30px) 0 clamp(18px, 2vw, 28px);
  border-top: 2px solid rgba(0, 26, 96, 0.86);
  border-bottom: 1px solid rgba(0, 26, 96, 0.13);
}

.unit-title-group {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 84px;
  padding: 0 clamp(16px, 2vw, 28px) 0 4px;
  border-bottom: 0;
  isolation: isolate;
}

.unit-title-group::after {
  display: none;
}

.unit-title-group h2 {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--unit-title-color);
  line-height: 0.82;
  letter-spacing: -0.03em;
}

.unit-title-group h2 strong {
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(68px, 6.2vw, 96px);
  font-weight: 400;
}

.unit-title-group h2 span {
  padding-bottom: 7px;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 300;
  letter-spacing: 0.04em;
}

.unit-title-group p {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 14px;
  margin: 0 0 0 clamp(20px, 2.7vw, 42px);
  color: color-mix(in srgb, var(--unit-title-color) 62%, transparent);
  font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 600;
  letter-spacing: -0.05em;
}

.unit-title-group p::before {
  content: "";
  display: block;
  width: clamp(34px, 4vw, 56px);
  height: 1px;
  background: color-mix(in srgb, var(--unit-title-color) 24%, transparent);
}
.unit-specs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  min-height: 84px;
  padding: 0;
  background: transparent;
  border: 0;
  align-self: stretch;
  align-items: center;
}

.unit-specs::before {
  display: none;
}

.unit-specs > div {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 74px;
  padding-inline: clamp(12px, 1.35vw, 24px);
  text-align: center;
  border-right: 1px solid var(--unit-line);
}

.unit-specs > div:last-child {
  border-right: 0;
}

.unit-specs dt,
.unit-specs dd {
  margin: 0;
}

.unit-specs dt {
  color: rgba(39, 39, 39, 0.72);
  font-size: clamp(12px, 0.85vw, 14px);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.unit-specs dd {
  color: var(--unit-spec-value-color);
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(17px, 1.16vw, 21px);
  font-weight: 700;
  line-height: 1;
}

.unit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 330px);
  gap: clamp(38px, 5vw, 78px);
  align-items: end;
}

.unit-main {
  min-width: 0;
}

.unit-image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(390px, 41vw, 610px);
  aspect-ratio: 1.38 / 1;
  border: 1px solid rgba(0, 26, 96, 0.12);
  background:
    linear-gradient(135deg, rgba(0, 26, 96, 0.055), transparent 34%),
    repeating-linear-gradient(
      -45deg,
      rgba(0, 26, 96, 0.035) 0,
      rgba(0, 26, 96, 0.035) 1px,
      transparent 1px,
      transparent 18px
    ),
    var(--unit-panel);
  color: rgba(0, 26, 96, 0.42);
  text-align: center;
  overflow: hidden;
}

.unit-image-placeholder img,
.unit-plan-panel img,
.unit-keymap-placeholder img {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.unit-image-placeholder img[hidden],
.unit-plan-panel img[hidden],
.unit-keymap-placeholder img[hidden] {
  display: none;
}

.unit-image-placeholder.has-image,
.unit-plan-panel.has-image,
.unit-keymap-placeholder.has-image {
  background: #fff;
}

.unit-image-placeholder.has-image span,
.unit-image-placeholder.has-image strong,
.unit-plan-panel.has-image span,
.unit-plan-panel.has-image small,
.unit-keymap-placeholder.has-image span {
  display: none;
}

.unit-image-placeholder span,
.unit-image-placeholder strong {
  display: block;
}

.unit-image-placeholder span {
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.unit-image-placeholder strong {
  margin-top: 14px;
  color: rgba(39, 39, 39, 0.5);
  font-size: clamp(16px, 1.35vw, 20px);
  font-weight: 700;
}

.unit-side {
  display: grid;
  align-content: start;
  gap: clamp(28px, 3.5vw, 44px);
}

.unit-mini-block h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: rgba(0, 26, 96, 0.56);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.unit-mini-block h3::before {
  content: "";
  display: block;
  width: 1px;
  height: 22px;
  background: rgba(0, 26, 96, 0.3);
}

.unit-plan-head {
  display: grid;
  gap: 14px;
}

.unit-plan-head h3 {
  margin-bottom: 0;
}

.unit-plan-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(0, 26, 96, 0.12);
  border-bottom: 1px solid rgba(0, 26, 96, 0.12);
}

.unit-plan-tabs button {
  min-height: 42px;
  padding: 0 8px;
  border: 0;
  border-right: 1px solid rgba(0, 26, 96, 0.1);
  background: transparent;
  color: rgba(39, 39, 39, 0.58);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.04em;
  cursor: pointer;
  transition:
    color 0.24s ease,
    background 0.24s ease;
}

.unit-plan-tabs button:last-child {
  border-right: 0;
}

.unit-plan-tabs button:hover,
.unit-plan-tabs button.is-active {
  background: rgba(0, 26, 96, 0.045);
  color: var(--navy);
}

.unit-plan-panels {
  margin-top: 18px;
}

.unit-plan-panel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 214px;
  border: 1px solid rgba(0, 26, 96, 0.12);
  background:
    linear-gradient(90deg, rgba(0, 26, 96, 0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 26, 96, 0.032) 1px, transparent 1px),
    #f9f9f6;
  background-size: 22px 22px;
  color: rgba(0, 26, 96, 0.42);
  text-align: center;
  overflow: hidden;
}

.unit-plan-panel[hidden] {
  display: none;
}

.unit-plan-panel span {
  display: block;
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.unit-plan-panel small {
  display: block;
  margin-top: 9px;
  color: rgba(39, 39, 39, 0.52);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.unit-keymap-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px solid rgba(0, 26, 96, 0.12);
  background:
    linear-gradient(90deg, rgba(0, 26, 96, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 26, 96, 0.035) 1px, transparent 1px),
    #f9f9f6;
  background-size: 22px 22px;
  color: rgba(0, 26, 96, 0.36);
  text-align: center;
  overflow: hidden;
}

.unit-keymap-placeholder span {
  font-family: "Times New Roman", "Noto Serif KR", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

@media (max-width: 1080px) {
  .unit-head {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: 0;
    padding-block: 22px 24px;
  }

  .unit-title-group::after,
  .unit-specs::before {
    display: none;
  }

  .unit-title-group {
    min-height: 0;
    padding: 0;
  }

  .unit-specs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: transparent;
    min-height: 0;
    padding: 0;
  }

  .unit-specs > div {
    border-right: 1px solid var(--unit-line);
    border-bottom: 1px solid rgba(0, 26, 96, 0.08);
  }

  .unit-specs > div:nth-child(3n),
  .unit-specs > div:last-child {
    border-right: 0;
  }

  .unit-specs > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .unit-layout {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .unit-side {
    width: min(100%, 760px);
    max-width: none;
  }
}

@media (max-width: 680px) {
  .unit-content {
    padding-top: 42px;
  }

  .unit-head {
    margin-bottom: 34px;
  }

  .unit-title-group h2 {
    margin-bottom: 12px;
  }

  .unit-title-group p {
    margin-left: 0;
  }

  .unit-title-group p::before {
    width: 34px;
  }

  .unit-specs {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .unit-specs > div,
  .unit-specs > div:nth-child(3n),
  .unit-specs > div:nth-last-child(-n + 2) {
    grid-template-columns: 1fr auto;
    min-height: 54px;
    padding: 0 18px;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 26, 96, 0.08);
    text-align: left;
  }

  .unit-specs > div:last-child {
    border-bottom: 0;
  }

  .unit-image-placeholder {
    min-height: 320px;
    aspect-ratio: auto;
  }

  .unit-side {
    grid-template-columns: 1fr;
  }

  .unit-plan-tabs button {
    min-height: 40px;
    font-size: 13px;
  }

  .unit-plan-panel {
    min-height: 190px;
  }
}

/* 세대안내 플러스옵션 안내 버튼 스타일 */
.unit_button_wrap {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.unit_button_wrap a,
.unit_button_wrap button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #001a60;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  padding: 20px 40px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  width: 280px;
  /* 양쪽 모서리가 비대칭 사선으로 깎인 테크니컬 디자인 */
  clip-path: polygon(
    15px 0,
    100% 0,
    100% calc(100% - 15px),
    calc(100% - 15px) 100%,
    0 100%,
    0 15px
  );
  transition:
    opacity 0.25s ease,
    transform 0.2s ease;
}

.unit_button_wrap a:hover,
.unit_button_wrap button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 680px) {
  .unit_button_wrap {
    flex-direction: column;
    gap: 12px;
    padding-inline: 18px;
    margin-top: 30px;
  }
  .unit_button_wrap a,
  .unit_button_wrap button {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* 팝업 레이아웃 및 스타일 */
.unit_popup_wrap {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.unit_popup_wrap.hide {
  display: none !important;
}

.unit_popup_dim {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px); /* 뒷배경 흐림 효과로 모던한 분위기 연출 */
  cursor: pointer;
}

.unit_popup_container {
  position: relative;
  z-index: 1;
  background-color: #ffffff;
  max-width: 1300px;
  width: 90vw;
  max-height: 85vh;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  /* 좌상단과 우하단 모서리를 사선으로 깎은 테크니컬 디자인 */
  clip-path: polygon(
    24px 0,
    100% 0,
    100% calc(100% - 24px),
    calc(100% - 24px) 100%,
    0 100%,
    0 24px
  );
}

.unit_popup_header {
  background-color: #001a60;
  color: #ffffff;
  padding: 16px 24px 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.unit_popup_title {
  margin: 0;
  font-size: clamp(16px, 1.3vw, 18px);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.unit_popup_close {
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  opacity: 0.75;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.unit_popup_close:hover {
  opacity: 1;
  transform: rotate(90deg); /* 닫기 버튼 오버 시 90도 회전 효과 */
}

.unit_popup_content {
  overflow-y: auto;
  flex: 1;
  padding: 24px;
  text-align: center;
  background-color: #fafafa;
}

.unit_popup_content img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

/* 마감재 안내 버튼 스타일 */
.magam_wrap {
  position: relative;
  display: inline-block;
  width: 100%;
}

.magam_wrap img {
  display: block;
  width: 100%;
  height: auto;
}

.magam_wrap a {
  position: absolute;
  /* 버튼 영역을 투명하게 만들어 사용자가 직접 좌표를 지정해 사용할 수 있도록 초기화 */
  background-color: rgba(0, 0, 0, 0);
  text-indent: -9999px; /* 텍스트는 보이지 않고 영역만 표시 */
  overflow: hidden;
}

/* PC용 버튼 랩 기본 활성화, 모바일용 비활성화 */
.magam_pc_btn_wrap {
  display: block;
}

.magam_mo_btn_wrap {
  display: none;
}

/* 1080px 기점 노출 전환 */
@media (max-width: 1080px) {
  .magam_pc_btn_wrap {
    display: none;
  }
  .magam_mo_btn_wrap {
    display: block;
  }
}
