/* ============================================================
  reference.css  v1
============================================================ */
/* ───────────────────────────────────────
  *  맞춤형 캠프
  * ─────────────────────────────────────── */
/* 맞춤형 캠프 공통 */
.reference_wrap * {
  box-sizing: border-box;
}

/* 맞춤형 캠프 리스트 페이지 */
.refCon_wrap {
  width: 100%;
  padding-top: 43px;
  padding-bottom: 72px;
}

.fillter_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.fillter_list .filter_btn {
  margin-bottom: 32px;
  padding: 8px 32px;
  border-radius: 999px;
  border: 1px solid var(--mint);
  background-color: var(--white);
  font-size: 18px;
  transition: background-color 0.4s ease;
}

@media (hover: hover) and (min-width: 1080px) {
  .fillter_list .filter_btn:not(.actB):hover {
    background-color: var(--mintlight10);
  }
}


.fillter_list .filter_btn.actB {
  background-color: var(--mint);
  color: var(--white);
  font-weight: 700;
}

.refCon_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.refCon_list .refCon_card {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: rgba(86, 185, 185, 0) 0px 15px 25px, rgba(86, 185, 185, 0) 0px 5px 10px;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

@media (hover: hover) and (min-width: 1080px) {
  .refCon_list .refCon_card:hover {
    transform: translateY(-2px);
    box-shadow: rgba(86, 185, 185, 0.15) 0px 15px 25px, rgba(86, 185, 185, 0.05) 0px 5px 10px;
  }
}

.refCon_card__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 16px;
}

.refCon_card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--text);
}

.refCon_card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refCon_card__body {
  width: 100%;
  padding: 0 8px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.refCon_card__client {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  opacity: 0.7;
}

.refCon_card__client .cn_icon {
  height: 16px;
}

.refCon_card__client .cn_icon img {
  height: 100%;
}

.refCon_card__titWrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.refCon_card__title {
  font-size: 18px;
}

.refCon_card__desc {
  font-size: 14px;
  opacity: 0.7;
  word-break: keep-all;
}

.refCon_card__tags {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.refCon_card__tags li {
  padding: 2px 8px;
  font-size: 12px;
  border: 1px solid var(--mint);
  background-color: var(--mintlight20);
  border-radius: 999px;
}

/* 맞춤형 캠프 상세페이지 */
.refDetail {
  display: flex;
  flex-direction: column;
  width: 100%;
  --theme: var(--blue);
  --theme-rgb: 102 167 213;
}

.refDetail[data-theme="orange"] {
  --theme: var(--elem-orange);
  --theme-rgb: 255 141 40;
}

.refDetail[data-theme="mint"] {
  --theme: var(--mint);
  --theme-rgb: 86 185 185;
}

.refDetail[data-theme="yellow"] {
  --theme: #F2AA22;
  --theme-rgb: 242 170 34;
}

.refDetail[data-theme="indigo"] {
  --theme: var(--mid-indigo);
  --theme-rgb: 97 85 245;
}

.refDetail[data-theme="green"] {
  --theme: #00b050;
  --theme-rgb: 0 176 80;
}

.refDetail_hero {
  width: 100%;
  height: 520px;
  position: relative;
}

.refDetail_hero::before {
  content: '';
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgb(var(--theme-rgb) / 0.1);
  z-index: -1;
}

.refDetail_hero__text {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.refDetail_hero__bcm {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 700;
}

.refDetail_hero__bcm a {
  opacity: 0.7;
}

.refDetail_hero__meta {
  width: fit-content;
  padding: 4px 16px;
  background-color: var(--theme);
  border-radius: 999px;
  color: var(--white);
}

.refDetail_hero__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.refDetail_client {
  font-size: 14px;
  opacity: 0.7;
  display: flex;
  align-items: center;
  gap: 4px;
}

.refDetail .cn_icon {
  display: inline-block;
  height: 16px;
}

.refDetail .cn_icon img {
  height: 100%;
}

.refDetail .cn_icon svg {
  height: 100%;
  fill: var(--theme);
}

.refDetail_titSec {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.refDetail_titSec h2 {
  width: 40%;
  font-size: 48px;
  line-height: 1.2;
  word-break: keep-all;
}

.refDetail_titSec p {
  display: inline-block;
  width: 30%;
  line-height: 1.4;
  word-break: keep-all;
  opacity: 0.7;
}

.refDetail_summary {
  display: flex;
  gap: 8px;
}

.refDetail_summary_item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background-color: var(--white);
}

.refDetail_summary_item .cn_icon {
  height: 24px;
}

.refDetail_summary_item:first-child .cn_icon {
  height: 20px;
}

.refDetail_summary_item .cn_icon path {
  height: 100%;
  fill: var(--theme);
}

.refDetail_summary__label {
  font-size: 14px;
  font-weight: 700;
  opacity: 0.7;
}

.refDetail_summary__value {
  display: flex;
  align-items: flex-end;
  font-size: 24px;
  font-weight: 700;
  color: var(--theme);
  line-height: 1;
}

.refDetail_summary__value .refDetail_summary__unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  opacity: 0.7;
  position: relative;
  bottom: 2px;
}

.refDetail_sec__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.refDetail_sec__head h3 {
  font-size: 24px;
  color: var(--theme);
  line-height: 1;
}

.refDetail_sec__head p {
  font-size: 14px;
  opacity: 0.7;
}

.refDetail_hero__cover {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  z-index: -1;
}

.refDetail_hero__cover::before {
  content: '';
  width: 50%;
  height: 300%;
  position: absolute;
  top: -50%;
  right: -10%;
  transform: rotate(20deg);
  background-color: var(--theme);
  opacity: 1;
  overflow: hidden;
  z-index: -1;
}

.refDetail_hero__media_wrap {
  width: 640px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: absolute;
  top: 50%;
  right: 48px;
  transform: translateY(-50%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.refDetail_hero__media_wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refDetail_hero__video {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: absolute;
  bottom: 56px;
  right: 0;
}

.refDetail_video_card {
  padding: 8px;
  background-color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.refDetail_video_card .refDetail_video_thumb {
  width: 160px;
  aspect-ratio: 16 / 9;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.refDetail_video_card .refDetail_video_thumb::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.4s ease;
}

@media (hover: hover) and (min-width: 1080px) {
  .refDetail_video_card:hover .refDetail_video_thumb::before {
    background-color: rgba(0, 0, 0, 0);
  }
}

.refDetail_video_card .refDetail_video_thumb .thumb_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refDetail_video_card .refDetail_video_thumb .play_btn {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: opacity 0.4s ease;
}

@media (hover: hover) and (min-width: 1080px) {
  .refDetail_video_card:hover .refDetail_video_thumb .play_btn {
    opacity: 0;
  }
}

.refDetail_video_card .refDetail_video_lable {
  font-weight: 700;
  text-align: center;
}

.refDetail_video_thumb .refDetail_thumb_play_icon>img {
  width: 50px;
  height: 50px;
}

.refInfo {
  position: relative;
}

.refInfo::before {
  content: '';
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.refInfo_list {
  display: flex;
  justify-content: center;
  align-items: center;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  padding: 24px 0;
  border-radius: var(--radius-sm);
  background-color: var(--white);
}

.refInfo_list li {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding-right: 32px;
}

.refInfo_list li:last-child {
  border-right: none;
}

.refInfo_list li .refInfo_title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.refInfo_list li .refInfo_title .refInfo_icon {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.refInfo_list li:first-child .refInfo_title .refInfo_icon {
  width: 18px;
  height: 18px;
}

.refInfo_list li .refInfo_title .refInfo_icon svg {
  width: 100%;
  height: 100%;
}

.refInfo_list li .refInfo_title .refInfo_icon svg path {
  fill: var(--theme);
}

.refInfo_list li .refInfo_title h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--theme);
}

.refInfo_meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.refInfo_meta span {
  font-weight: 700;
}

.refInfo_meta p {
  font-size: 14px;
  opacity: 0.7;
}

.refPoints {
  padding: 48px 0;
}

.refPoint_list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.refPoint_card {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.refPoint_icon {
  width: 136px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: rgb(var(--theme-rgb) / 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
}

.refPoint_icon svg {
  width: 60%;
  height: 60%;
}

.refPoint_icon svg path {
  fill: var(--theme);
}

.refPoint_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.refPoint_text h3 {
  color: var(--theme);
}

.refPoint_text p {
  font-size: 14px;
  opacity: 0.7;
}

.refPoint_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.refSchedule {
  padding-bottom: 48px;
  position: relative;
}

.refSchedule_scroll {
  width: 100%;
}

.refSchedule_table {
  width: 100%;
  border: 2px solid var(--theme);
  table-layout: fixed;
  border-collapse: collapse;
  background-color: var(--white);
  height: clamp(320px, 58vw, 500px);
}

.refSchedule_table thead {
  background-color: rgb(var(--theme-rgb) / 0.2);
  border-bottom: 2px solid var(--theme);
}

.refSchedule_table .refSchedule_thInner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.refSchedule_table tbody:has(td:first-child[rowspan]) {
  height: calc(44px * var(--schedule-row-count));
}

.refSchedule_table tbody:has(td:first-child[rowspan]) tr {
  height: 40px;
}

.refSchedule_table tbody tr:has(td:first-child[rowspan="2"]) {
  height: 20px;
}

.refSchedule_table tbody tr:has(td:first-child[rowspan="2"])+tr {
  height: 20px;
}

.refSchedule_table thead th:not(:first-child) {
  border-left: 1px solid var(--white);
}

.refSchedule_table th small {
  font-size: 14px;
  font-weight: 400;
  color: var(--theme);
}

.refSchedule_table th,
.refSchedule_table td {
  padding: 8px;
  text-align: center;
  vertical-align: middle;
  word-break: keep-all;
  overflow-wrap: break-word;
  letter-spacing: -0.02em;
}

.refSchedule_table td.is-highlight-col {
  background-color: rgb(var(--theme-rgb) / 0.1);
  font-weight: 700;
}

.refSchedule_table td.is-muted {
  background-color: rgb(229 229 229 / 0.25);
}

.refSchedule_table td {
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.refSchedule_subntit {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  line-height: 1;
}

.refSchedule_sub {
  font-size: 14px;
  color: var(--theme);
}

.refSchedule_sub~.refSchedule_text {
  white-space: nowrap;
}

.refSchedule_items {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.refSchedule_items li {
  font-size: 14px;
  opacity: 0.7;
}

.refSchedule_items li::before {
  content: '- ';
}

.refGallery {
  padding-bottom: 48px;
}

.refGallery_large {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.refGallery_large .refGallery_item {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: antiquewhite;
}

.refGallery_list {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.refGallery_list li:first-child {
  aspect-ratio: 16 / 9;
  grid-column: 1 / 4;
  grid-row: 1 / 3;
}

.refGallery_list li:first-child iframe {
  width: 100%;
  height: 100%;
}

.refGallery_list li:first-child figure.refGallery_item {
  width: 100%;
  height: 100%;
}

.refGallery_list li:first-child img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refGallery_list li {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  background-color: antiquewhite;
}

.refGallery_list li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refOutputs {
  padding-bottom: 48px;
}

.refDet-output-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.refOutputs--card .refDet-output-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.refOutputs--card .refDet-output-card__thumb {
  height: 100px;
}

.refOutputs--card .refDet-output-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.refOutputs--swiper .refDet-output-card {
  padding: 16px;
  border: 1px solid var(--theme);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
}


.refOutputs--swiper .refDet-output-card__thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.refDet-output-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.refDet-output-card__title {
  font-size: 18px;
  color: var(--theme);
}

.refSatisfaction {
  padding: 48px 0;
  position: relative;
}

.refSatisfaction::before {
  content: '';
  width: 100vw;
  height: 100%;
  background-color: rgb(var(--theme-rgb) / 0.05);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.refSatisfaction_content {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.refSatisfaction_content.has-movie {
  width: 100%;
  gap: 8px;
}

.refSatisfaction_movie {
  aspect-ratio: 16 / 9;
  width: 50%;
}

.refSatisfaction_movie iframe {
  width: 100%;
  height: 100%;
}

.refSatisfaction_list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.refSatisfaction_content.has-movie .refSatisfaction_list {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex: 1;
}

.refSatisfaction_item {
  min-width: 0;
  padding: 24px;
  border: 1px solid rgb(var(--theme-rgb) / 0.16);
  border-radius: var(--radius-lg);
  background-color: var(--white);
  overflow: visible;
}

.refSatisfaction_item:first-child {
  border: 1px solid var(--theme);
  background-color: var(--theme);
}

.refSatisfaction_content.has-movie .refSatisfaction_item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
}

.refSatisfaction_circle {
  --size: 142px;
  --thickness: 14px;
  --percent: calc(var(--value) * 1%);
  --oj-scale: 1;

  width: calc(var(--size) * var(--oj-scale));
  height: calc(var(--size) * var(--oj-scale));
  margin: 0 auto 16px;
  border-radius: 50%;
  background:
    conic-gradient(var(--theme) 0 var(--percent),
      rgb(var(--theme-rgb) / 0.1) var(--percent) 100%);

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.refSatisfaction_content.has-movie .refSatisfaction_circle {
  --thickness: 8px;
  --oj-scale: 0.7;
  margin: 0 auto;
}

.refSatisfaction_item:first-child .refSatisfaction_circle {
  background:
    conic-gradient(var(--white) 0 var(--percent),
      rgb(255 255 255 / 0.1) var(--percent) 100%);
}

.refSatisfaction_circleInner {
  width: calc(100% - var(--thickness) * 2);
  height: calc(100% - var(--thickness) * 2);
  border-radius: 50%;
  background: var(--white);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.refSatisfaction_item:first-child .refSatisfaction_circleInner {
  background: var(--theme);
}

.refSatisfaction_circleInner span {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.refSatisfaction_item:first-child .refSatisfaction_circleInner span {
  color: var(--white);
}

.refSatisfaction_circleInner strong {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  font-size: 32px;
  font-weight: 800;
  color: var(--theme);
  line-height: 0.9;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

.refSatisfaction_content.has-movie .refSatisfaction_circleInner strong {
  font-size: 24px;
}

.refSatisfaction_item:first-child .refSatisfaction_circleInner strong {
  color: var(--white);
}

.refSatisfaction_circleInner strong em {
  font-style: normal;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.refSatisfaction_body {
  min-width: 0;
}

.refSatisfaction_content.has-movie .refSatisfaction_body {
  flex: 1;
}

.refSatisfaction_itemTitle {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text);
  text-align: center;
  word-break: keep-all;
}

.refSatisfaction_item:first-child .refSatisfaction_itemTitle {
  color: var(--white);
}

.refSatisfaction_content.has-movie .refSatisfaction_itemTitle {
  margin: 0 0 8px;
}

.refSatisfaction_distribution {
  display: grid;
  gap: 8px;
}

.refSatisfaction_distribution li {
  min-width: 0;
}

.refSatisfaction_distributionHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.refSatisfaction_content.has-movie .refSatisfaction_distributionHead {
  margin-bottom: 2px;
}

.refSatisfaction_distributionHead span {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.refSatisfaction_item:first-child .refSatisfaction_distributionHead span {
  color: var(--white);
}

.refSatisfaction_distributionHead strong {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  color: var(--theme);
  line-height: 1;
}

.refSatisfaction_item:first-child .refSatisfaction_distributionHead strong {
  color: var(--white);
}

.refSatisfaction_distributionBar {
  height: 6px;
  border-radius: 999px;
  background: rgb(var(--theme-rgb) / 0.1);
  overflow: hidden;
}

.refSatisfaction_item:first-child .refSatisfaction_distributionBar {
  background: rgb(255 255 255 / 0.1);
}

.refSatisfaction_distributionBar span {
  display: block;
  width: var(--dist-value);
  height: 100%;
  border-radius: inherit;
  background: var(--theme);
}

.refSatisfaction_item:first-child .refSatisfaction_distributionBar span {
  background: var(--white);
}

.refDet-proposal {
  padding-top: 48px;
  position: relative;
}

.refDet-proposal-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.refDet-proposal-card img {
  aspect-ratio: 99 / 70;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#proposalPreview .swiper-button-next,
#proposalPreview .swiper-button-prev {
  border: 1px solid var(--line);
  box-shadow: none;
}


.refDetail_action {
  width: var(--inner);
  margin: 48px auto;
  padding: 24px 32px;

  border-radius: var(--radius-sm);
  background-color: rgb(var(--theme-rgb) / 0.1);
  border: 1px solid var(--theme);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.refDetail_action_text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.refDetail_action_text h3 {
  font-size: 24px;
  color: var(--theme);
}

.refDetail_action_text p {
  font-size: 16px;
  color: var(--text);
  opacity: 0.7;
}

.refDetail_action_text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.refDetail_actionBtns {
  display: flex;
  align-items: center;
  gap: 8px;
}

.refDetail_actionBtn {
  min-width: 150px;
  height: 48px;
  padding: 0 64px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  border-radius: 999px;
  border: 1px solid rgb(var(--theme-rgb) / 0.28);
  background: var(--white);

  font-size: 15px;
  font-weight: 700;
  color: var(--theme);
  text-decoration: none;

  transition: 0.2s ease;
}

.refDetail_actionBtn svg {
  height: 18px;
}

.refDetail_actionBtn:not(.is-primary) svg path {
  fill: var(--theme) !important;
}

@media (hover: hover) and (min-width: 1080px) {
  .refDetail_actionBtn:hover {
    background: rgb(var(--theme-rgb) / 0.08);
    border-color: rgb(var(--theme-rgb) / 0.5);
  }
}

.refDetail_actionBtn.is-primary {
  background: var(--theme);
  border-color: var(--theme);
  color: var(--white);
}

@media (hover: hover) and (min-width: 1080px) {
  .refDetail_actionBtn.is-primary:hover {
    opacity: 0.88;
  }
}

.mo_backBtn {
  display: none;
}

.refDetail--material {
  margin-top: 72px;
}

.refDetail--material .refDetail_hero__text {
  height: auto;
}

.refMaterialLayout {
  width: 100%;
  display: flex;
  gap: 72px;
}

.refMaterialLayout__side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.refMaterialLayout__side .refDetail_titSec h2 {
  width: auto;
}

.refMaterialLayout__side .refDetail_titSec p {
  width: auto;
}

.refMaterialLayout__side .refDetail_action {
  width: auto;
}

.refDetail--material.refDetail_hero__bcm {
  justify-content: flex-start;
}

.refDetail--material .refDetail_hero__bcm a {
  display: block;
}

.refDetail--material .refDetail_client {
  justify-content: flex-start;
}

.refDetail--material .refDetail_hero__cover {
  overflow: clip;
}

.refDetail--material .refDetail_hero__cover::before {
  width: 200%;
  background: linear-gradient(rgb(var(--theme-rgb) / 0.7) 0%, rgb(var(--theme-rgb) / 0) 45%, rgb(var(--theme-rgb) / 0) 100%);
  transform: rotate(-20deg);
}

.refDetail--material .refInfo::before {
  display: none;
}

.refDetail--material .refInfo_list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: transparent;
  border: none;
}

.refDetail--material .refInfo_list li:has(.refInfo_title) {
  border-right: none;
  border: 1px solid rgb(var(--theme-rgb) / 0.3);
  background: var(--white);
  padding: 24px;
}

.refDetail--material .refInfo_list li {
  width: 100%;
  flex-direction: row;
  justify-content: flex-start;
  border-radius: var(--radius-sm);
  gap: 16px;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
}

.refDetail--material .refInfo_meta {
  align-items: flex-start;
}

.refDetail--material .refInfo_meta p {
  text-align: left;
}

.refDetail--material .refDetail_action {
  margin: 24px auto 0;
  padding: 24px;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.refDetail--material .refDetail_action_text h3 {
  text-align: center;
  word-break: keep-all;
}

.refDetail--material .refDetail_action_text p {
  text-align: center;
  word-break: keep-all;
}

.refDetail--material .refDetail_actionBtns {
  width: 100%;
  justify-content: center;
}

.refDetail--material .refDetail_actionBtn {
  min-width: auto;
  width: 100%;
  height: auto;
  padding: 12px 0;
}

.refDetail--material .refDetail_action {
  background-color: rgba(255, 255, 255, 0.8);
}

.refMaterialLayout__preview:has(.is-portrait),
.refMaterialLayout__preview:has(.is-square) {
  flex: 0 0 600px;
  width: 600px;
  min-width: 0;
}

.refMaterialLayout__preview:has(.is-landscape),
.refMaterialLayout__preview:has(.is-wide) {
  flex: 0 0 900px;
  width: 900px;
  min-width: 0;
}

.refMaterial-preview-wrap {
  width: 100%;
  position: relative;
  border: 1px solid rgb(var(--theme-rgb) / 0.3);
}

.refMaterial-preview-swiper {
  margin: 0 auto;
}

.refMat-preview-card {
  width: 100%;
  height: 100%;
  border: 1px solid rgb(var(--theme-rgb) / 0.3);
}

.refMat-preview-card.is-portrait {
  aspect-ratio: 636 / 900;
}

.refMat-preview-card.is-landscape {
  aspect-ratio: 900 / 636;
}

.refMat-preview-card.is-wide {
  aspect-ratio: 16 / 9;
}

.refMat-preview-card.is-square {
  aspect-ratio: 1 / 1;
}

.refMat-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.refDetail_hero__btnline.bottom__btnline {
  display: none;
}

@media (max-width: 1319px) {
  .refDetail_action {
    width: 100%;
  }

  .refInfo {
    position: relative;
    top: -32px;
  }

  .refDetail--material .refInfo {
    top: 0;
  }

  .refDetail--material .refInfo_list {
    padding: 24px 0;
  }

  .refInfo::before {
    display: none;
  }

  .refInfo_list {
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    padding: 0;
    border: 1px solid var(--line);
  }

  .refInfo_list li {
    align-items: center;
    justify-content: center;
    margin: 24px 0;
    padding: 0 32px;
    position: relative;
  }

  .refInfo_list li .refInfo_title {
    justify-content: center;
  }

  .refInfo_meta {
    justify-content: center;
    align-items: center;
  }

  .refInfo_meta span {
    text-align: center;
  }

  .refInfo_meta p {
    text-align: center;
  }

  .refPoint_card {
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 1270px) {
  .refDetail_titSec p {
    width: 40%;
  }

  .refDetail_summary_item {
    padding: 8px;
    gap: 4px;
  }

  .refDetail_summary_item .cn_icon {
    height: 16px;
  }

  .refDetail_summary_item:first-child .cn_icon {
    height: 12px;
  }

  .refDetail_summary_item:first-child .cn_icon svg {
    width: 100%;
    height: 100%;
    display: block;
  }

  .refDetail_summary__value {
    font-size: 16px;
  }

  .refDetail_summary__value .refDetail_summary__unit {
    font-size: 12px;
    bottom: 0;
  }

  .refDetail_hero__media_wrap {
    width: 550px;
  }

  .refPoints {
    padding: 24px 0 48px;
  }

  .refPoint_card {
    padding: 16px;
  }

  .refSchedule_sub~.refSchedule_text {
    white-space: wrap;
  }

  .refSchedule_table th {
    font-size: 14px;
  }

  .refSchedule_table th small {
    font-size: 12px;
  }

  .refSchedule_table td {
    font-size: 14px;
  }

  .refSchedule_subntit {
    gap: 2px;
  }

  .refSchedule_sub {
    font-size: 12px;
  }

  .refSchedule_items {
    gap: 0;
  }

  .refSchedule_items li {
    font-size: 12px;
  }

  .refSatisfaction_content.has-movie {
    flex-direction: column;
  }

  .refSatisfaction_movie {
    width: 100%;
  }

  .refSatisfaction_content.has-movie .refSatisfaction_item {
    padding: 8px 16px;
  }

  .refMaterialLayout {
    gap: 32px;
  }
}

@media (max-width: 1140px) {
  .refSchedule_scroll {
    overflow-x: scroll;
    border: 2px solid var(--theme);
  }

  .refSchedule_table {
    min-width: 1092px;
    border: none;
  }

  .refSchedule_table th,
  .refSchedule_table td {
    padding: 4px 8px;
  }

  .refDet-output-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1080px) {
    .refCon_wrap {
    padding-bottom: 48px;
  }

  .refCon_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .refDetail_hero {
    height: auto;
    padding: 64px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }

  .refDetail_hero__bcm {
    justify-content: center;
  }

  .refDetail_hero__bcm a {
    display: none;
  }

  .refDetail_client {
    justify-content: center;
  }

  .refDetail_hero__media_wrap {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    position: static;
    transform: translateY(0);
  }

  .refDetail_titSec h2 {
    width: 100%;
    text-align: center;
  }

  .refDetail_titSec p {
    width: 100%;
    text-align: center;
  }

  .refDetail_summary {
    justify-content: center;
    align-items: center;
  }

  .refDetail_hero__cover::before {
    width: 200%;
    background: linear-gradient(rgb(var(--theme-rgb) / 0) 0%, rgb(var(--theme-rgb) / 0) 20%, rgb(var(--theme-rgb) / 1) 60%, rgb(var(--theme-rgb) / 1) 100%);
  }

  .refInfo_list {
    width: 100%;
    display: grid;
    gap: 8px;
    background-color: transparent;
    border: none;
  }

  .refInfo_list li {
    width: auto;
    grid-column: span 2;
    border-right: none;
    border-radius: var(--radius-sm);
    border: 1px solid rgb(var(--theme-rgb) / 0.3);
    background:
      linear-gradient(rgb(var(--theme-rgb) / 0.05), rgb(var(--theme-rgb) / 0.05)),
      var(--white);
    margin: 0;
    padding: 24px;
  }

  .refInfo_list.list--count-4 li {
    grid-column: span 3;
  }

  .refInfo_list.list--count-5 li:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .refInfo_list.list--count-5 li:nth-child(5) {
    grid-column: 4 / span 2;
  }

  .refInfo_list li:last-child {
    border-right: 1px solid rgb(var(--theme-rgb) / 0.3);
  }

  .refPoint_list {
    gap: 8px;
  }

  .refGallery_list {
    grid-template-columns: repeat(3, 1fr);
  }

  .refDetail_action {
    margin: 24px auto;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
  }

  .refDetail_action_text h3 {
    text-align: center;
    word-break: keep-all;
  }

  .refDetail_action_text p {
    text-align: center;
    word-break: keep-all;
  }

  .refDetail_actionBtns {
    width: 100%;
    justify-content: center;
  }

  .refDetail_actionBtn {
    min-width: auto;
    width: 100%;
    height: auto;
    padding: 12px 0;
  }

  .mo_backBtn {
    display: block;
    width: 100%;
    margin-top: 24px;
  }

  .mo_backBtn.bottom_mobtn {
    display: none;
  }

  .mo_backBtn .refDetail_actionBtn {
    border: 1px solid var(--line);
    color: var(--text);
  }

  .refDetail_hero__btnline.side__btnline {
    display: none;
  }

  .refDetail_hero__btnline.bottom__btnline {
    display: block;
  }

  .refMaterialLayout {
    flex-direction: column;
  }

  .refDetail--material .refDetail_hero__bcm a {
    display: none;
  }

  .refDetail--material .refDetail_hero__cover::before {
    right: -50%;
  }

  .refDetail--material .refDetail_client {
    justify-content: center;
  }

  .refMaterialLayout__preview:has(.is-portrait),
  .refMaterialLayout__preview:has(.is-square) {
    flex: 1;
    width: 100%;
  }

  .refMaterialLayout__preview:has(.is-landscape),
  .refMaterialLayout__preview:has(.is-wide) {
    flex: 1;
    width: 100%;
  }
}

@media (max-width: 896px) {
  .refPoint_card {
    flex: 1;
  }

  .refPoint_icon {
    width: 40px;
  }

  .refPoint_text h3 {
    font-size: 18px;
    color: var(--text);
  }

  .refPoint_text p {
    display: none;
  }

  .refSatisfaction_list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .refCon_list {
    grid-template-columns: repeat(1, 1fr);
  }

  .refInfo_list li {
    gap: 4px;
  }

  .refInfo_list li .refInfo_title {
    gap: 4px;
  }

  .refInfo_list li .refInfo_title h3 {
    font-size: 16px;
  }

  .refInfo_list li:first-child .refInfo_title .refInfo_icon {
    width: 16px;
    height: 16px;
  }

  .refInfo_list li .refInfo_title .refInfo_icon {
    width: 16px;
    height: 16px;
  }

  .refInfo_meta {
    gap: 0;
    word-break: keep-all;
  }

  .refInfo_meta span {
    font-size: 14px;
  }

  .refInfo_meta p {
    font-size: 12px;
  }

  .refPoint_card {
    padding: 10px;
    gap: 8px;
  }

  .refPoint_icon {
    width: 32px;
  }

  .refDet-output-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .refDet-output-card__body {
    gap: 4px;
  }

  .refDet-output-card__title {
    font-size: 14px;
  }

  .refDet-output-card__desc {
    font-size: 12px;
  }

  .refSatisfaction_item {
    flex-direction: column;
  }

  .refSatisfaction_content.has-movie .refSatisfaction_body {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .fillter_list .filter_btn {
    font-size: 16px;
    padding: 4px 16px;
    margin-bottom: 24px;
  }

  .refDetail_sec__head h3 {
    font-size: 20px;
  }

  .refDetail_hero__video {
    flex-direction: row;
    position: static;
  }

  .refDetail_video_card {
    width: 100%;
  }

  .refDetail_video_card .refDetail_video_thumb {
    width: 100%;
  }

  .refPoints {
    padding: 0 0 32px;
  }

  .refPoint_list {
    flex-direction: column;
  }

  .refPoint_card {
    flex: auto;
    gap: 16px;
  }

  .refPoint_icon {
    width: 64px;
  }

  .refPoint_text {
    flex: 1;
  }

  .refPoint_text h3 {
    font-size: 18px;
    color: var(--theme);
  }

  .refPoint_text p {
    display: block;
  }
}

@media (max-width: 498px) {

  .fillter_list {
    flex-wrap: wrap;
    margin-bottom: 24px;
  }

  .fillter_list .filter_btn {
    margin-bottom: 0;
  }

  .refDetail_titSec h2 {
    font-size: 32px;
  }

  .refDetail_summary_item {
    flex-wrap: wrap;
    justify-content: center;
  }

  .refInfo_list {
    display: flex;
    flex-direction: column;
  }

  .refInfo_list li {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
  }

  .refInfo_meta {
    align-items: flex-start;
  }

  .refInfo_meta p {
    text-align: left;
  }

  .refGallery_list {
    gap: 4px;
  }

  .refDet-output-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .refDetail_action {
    gap: 8px;
  }

  .refDetail_action_text h3 {
    font-size: 18px;
  }

  .refDetail_action_text p {
    font-size: 16px;
  }

  .refDetail_actionBtn {
    padding: 8px 0;
  }

  .refSatisfaction_list {
    grid-template-columns: repeat(1, 1fr);
  }

  .refSatisfaction_item {
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  .refSatisfaction_content.has-movie .refSatisfaction_item {
    flex-direction: column;
  }

  .refSatisfaction_circle {
    margin: 0;
  }

  .refSatisfaction_body {
    flex: 1;
  }

  .refMaterialLayout {
    gap: 24px;
  }

  .refDetail--material .refDetail_hero__cover::before {
    right: -100%;
  }
  
  .refDetail--material .refInfo_list li:has(.refInfo_title) {
    padding: 8px 16px;
  }
}

@media (max-width: 400px) {
  .refDetail_summary {
    gap: 4px;
  }

  .refInfo_list li {
    align-items: flex-start;
    gap: 8px;
    padding: 8px 16px;
  }

  .refInfo_list li .refInfo_title {
    gap: 2px;
  }

  .refInfo_list li:first-child .refInfo_title .refInfo_icon {
    width: 12px;
    height: 12px;
  }

  .refInfo_list li .refInfo_title .refInfo_icon {
    width: 12px;
    height: 12px;
  }

  .refInfo_list li .refInfo_title h3 {
    font-size: 12px;
    white-space: pre;
  }

  .refInfo_list li .refInfo_title .refInfo_icon svg {
    display: block;
  }

  .refInfo_meta span {
    font-size: 12px;
  }

  .refPoint_text h3 {
    font-size: 16px;
  }

  .refSatisfaction_content.has-movie .refSatisfaction_list {
    order: 1;
  }

  .refSatisfaction_content.has-movie .refSatisfaction_distribution {
    display: none;
  }

  .refSatisfaction_item {
    padding: 16px;
  }

  .refSatisfaction_itemTitle {
    margin: 0 0 4px;
    font-size: 14px;
  }

  .refSatisfaction_circle {
    --thickness: 10px;
    --oj-scale: 0.7;
  }

  .refSatisfaction_circleInner strong {
    font-size: 24px;
  }

  .refSatisfaction_distribution {
    gap: 2px;
  }

  .refSatisfaction_distributionHead span {
    font-size: 10px;
  }

  .refSatisfaction_distributionHead strong {
    font-size: 10px;
  }

  .refDetail_actionBtns {
    flex-direction: column;
  }
}

@media (max-width: 356px) {
  .refCon_wrap {
    padding-bottom: 24px;
  }

  .refDetail_hero {
    padding: 48px 0;
  }

  .refInfo {
    top: -24px;
  }

  .refDetail_summary__label {
    letter-spacing: -0.10em;
  }

  .refPoint_card {
    gap: 8px;
  }

}


/* main reference 용 */
.refCon_list.main_idx  {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.main_idx .refCon_card__link {
  gap: 16px;
}

.main_idx .refCon_card__body {
  gap: 8px;
}

.main_idx .refCon_card__title {
  font-size: 16px;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.main_idx .refCon_card__tags li {
  padding: 0;
  font-size: 14px;
  border: none;
  background-color: transparent;
  border-radius: 0;
  color: var(--mint);
}

.main_idx .refCon_card__tags li::before {
  content: "#";
}

@media (max-width: 767px) {
  .refCon_list.main_idx {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

@media (max-width: 498px) {
  .main_idx .refCon_card__link {
    width: 100%;
    height: 100%;
  }

  .main_idx .refCon_card__thumb {
    aspect-ratio: auto;
    height: 100%;
  }
}

@media (max-width: 356px) {
  .main_idx .refCon_card__body {
    padding: 0;
  }

  .main_idx .refCon_card__link {
    flex-direction: column;
    padding: 8px;
    gap: 8px;
  }

  .main_idx .refCon_card__title {
    font-size: 14px;
  }

  .main_idx .refCon_card__client {
    display: none;
  }

  .main_idx .refCon_card__tags {
    display: none;
  }
}