@charset "UTF-8";
/* 국민 투표 — vote_guide · vote_participation */

/* ===== vote_guide ===== */
.vote-guide-hero {
  justify-content: flex-start;
  align-items: center;
}
.vote-guide-hero .container {
  width: 100%;
}
main#sub .vote-guide-hero-title,
main#sub .vote-guide-period-date {
  font-size: clamp(22px, 3.8vw + 12px, 40px) !important;
}
main#sub .sub-hero.vote-guide-hero h3.vote-guide-hero-title {
  margin: 0;
  text-align: center;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--grm-color-primary-01);
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.95);
  paint-order: stroke fill;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.9),
    0 2px 12px rgba(0, 80, 48, 0.18);
}
.vote-guide-hero-title .line {
  display: block;
  font-size: clamp(22px, 3.8vw + 12px, 50px);
}
.vote-guide-hero-title .line + .line {
  margin-top: 0.06em;
}
.vote-guide-hero-title .point {
  color: var(--grm-color-green-30);
  font-size: clamp(22px, 3.8vw + 12px, 50px);
}
@media screen and (max-width: 768px) {
  main#sub .sub-hero.vote-guide-hero h3.vote-guide-hero-title {
    max-width: 100%;
    -webkit-text-stroke-width: 1.5px;
    line-height: 1.25;
  }
  .vote-guide-hero .container {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
.vote-guide .vote-guide-period {
  padding: clamp(18px, 4vw, 28px) clamp(16px, 4vw, 32px);
  margin-bottom: 0;
  border: 1px solid var(--grm-color-green-30);
  border-radius: 16px;
  background-color: var(--grm-color-green-10);
}
.vote-guide .vote-guide-period-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(16px, 4vw, 32px);
}
.vote-guide .vote-guide-period-icon {
  flex-shrink: 0;
  line-height: 1;
}
.vote-guide .vote-guide-period-icon img {
  display: block;
  width: clamp(48px, 14vw, 72px);
  height: auto;
}
.vote-guide .vote-guide-period-icon [class^="ri-"] {
  display: block;
  font-size: clamp(48px, 14vw, 72px);
  line-height: 1;
  color: var(--grm-color-green-30);
}
.vote-guide .vote-guide-period-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  text-align: left;
}
.vote-guide .vote-guide-period-body .tit {
  font-size: clamp(16px, 2.2vw + 12px, 22px);
  font-weight: 600;
  color: var(--grm-color-green-30);
}
.vote-guide .vote-guide-period-date {
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
  color: var(--grm-color-primary-01);
  text-align: left;
}
.vote-guide .vote-guide-period-deco {
  flex-shrink: 0;
  width: 1px;
  align-self: stretch;
  min-height: 72px;
  margin: 0 8px;
  background-color: var(--grm-color-green-5);
}
.vote-guide .vote-guide-period-leaf {
  flex-shrink: 0;
  width: 48px;
  aspect-ratio: 48/38;
  background: url("../images/img_leaf.png") no-repeat center/contain;
}
.vote-guide .vote-guide-period-note {
  margin: clamp(8px, 2vw, 16px) 0 26px;
  font-size: clamp(18px, 2.2vw + 14px, 22px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--grm-color-primary-01);
}
.vote-guide .vote-guide-head {
  margin-bottom: 24px;
}
.vote-guide .vote-guide-head .tit {
  font-size: clamp(20px, 2.8vw + 14px, 28px);
  font-weight: 700;
}
.vote-guide .vote-guide-step-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vote-guide .vote-guide-step-list > .item {
  display: flex;
  align-items: center;
  gap: clamp(12px, 3vw, 20px);
  padding: clamp(16px, 3vw, 22px) clamp(16px, 3.5vw, 28px);
  border: 1px solid var(--grm-color-green-10);
  border-radius: 12px;
  background-color: var(--color-white);
}
.vote-guide .vote-guide-step-list .num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(36px, 9vw, 44px);
  height: clamp(36px, 9vw, 44px);
  border-radius: 50%;
  background-color: var(--grm-color-green-30);
  font-size: clamp(13px, 2vw + 10px, 16px);
  font-weight: 700;
  color: var(--color-white);
}
.vote-guide .vote-guide-step-list .txt {
  font-size: clamp(14px, 2vw + 12px, 25px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--grm-color-black);
}
.vote-guide .vote-guide-cta {
  max-width: min(420px, 100%);
  margin: clamp(32px, 6vw, 48px) auto 0;
}
.vote-guide .vote-guide-cta .ud-btn {
  width: 100%;
  border-radius: 8px;
  font-size: clamp(16px, 2.2vw + 14px, 22px);
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .vote-guide .vote-guide-period-inner {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .vote-guide .vote-guide-period-deco,
  .vote-guide .vote-guide-period-leaf {
    display: none;
  }
  .vote-guide .vote-guide-period-body {
    width: 100%;
  }
}
/* ===== vote_participation ===== */

.vote-participation .vote-selected-count {
  font-weight: 700;
  font-size: var(--front-h7);
}
.vote-participation .vote-division-tabs {
  display: flex;
  width: 100%;
  margin-bottom: 32px;
}
.vote-participation .vote-division-tabs .item {
  flex: 1;
  min-width: 0;
}
.vote-participation .vote-division-tabs .item .btn {
  width: 100%;
  max-width: none;
  min-width: 0;
  white-space: normal;
  word-break: keep-all;
  line-height: 1.3;
  padding: 12px 8px;
}
.vote-participation .vote-tab-panel {
  display: none;
}
.vote-participation .vote-tab-panel.is-active {
  display: block;
}
.vote-participation .vote-work-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 20px;
  margin-bottom: 48px;
}
.vote-participation .vote-work-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-ddd);
  background: var(--color-white);
}
.vote-participation .vote-work-card.is-selected {
  border-color: var(--grm-color-green-30);
  box-shadow: 0 0 0 1px var(--grm-color-green-30);
}
.vote-participation .vote-work-thum {
  position: relative;
  display: block;
  width: 100%;
  border-bottom: 1px solid var(--color-ddd);
  background: var(--color-fa);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}
.vote-participation a.vote-work-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.vote-participation a.vote-work-link .vote-work-thum.has-image img {
  transition: transform 0.25s ease;
}
.vote-participation a.vote-work-link .vote-work-thum.has-image::before,
.vote-participation a.vote-work-link .vote-work-thum.has-image::after {
  display: flex;
  z-index: 1;
  pointer-events: none;
  background: none;
}
.vote-participation a.vote-work-link .vote-work-thum.has-image::before {
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  background: rgba(0, 80, 48, 0);
  transition: background 0.2s ease;
}
.vote-participation a.vote-work-link .vote-work-thum.has-image::after {
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  padding: 7px 14px;
  border-radius: 4px;
  background: var(--grm-color-green-30);
  color: var(--color-white);
  font-size: var(--front-h10);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  white-space: nowrap;
  content: "작품 보기";
  opacity: 0;
  transform: translate(-50%, calc(-50% + 6px));
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.vote-participation a.vote-work-link .vote-work-info {
  transition: background 0.2s ease, color 0.2s ease;
}
.vote-participation a.vote-work-link:hover .vote-work-thum.has-image::before,
.vote-participation a.vote-work-link:focus-visible .vote-work-thum.has-image::before {
  background: rgba(0, 80, 48, 0.42);
}
.vote-participation a.vote-work-link:hover .vote-work-thum.has-image::after,
.vote-participation a.vote-work-link:focus-visible .vote-work-thum.has-image::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}
.vote-participation a.vote-work-link:hover .vote-work-thum.has-image img,
.vote-participation a.vote-work-link:focus-visible .vote-work-thum.has-image img {
  transform: scale(1.05);
}
.vote-participation a.vote-work-link:hover .vote-work-info,
.vote-participation a.vote-work-link:focus-visible .vote-work-info {
  background: var(--grm-color-green-10);
  color: var(--grm-color-primary-01);
}
.vote-participation a.vote-work-link:focus-visible {
  outline: 2px solid var(--grm-color-green-30);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .vote-participation a.vote-work-link .vote-work-thum.has-image img,
  .vote-participation a.vote-work-link .vote-work-thum.has-image::before,
  .vote-participation a.vote-work-link .vote-work-thum.has-image::after,
  .vote-participation a.vote-work-link .vote-work-info {
    transition: none;
  }
}
.vote-participation [data-vote-panel="virtual_space"] .vote-work-thum,
.vote-participation [data-vote-panel="film_42sec"] .vote-work-thum {
  aspect-ratio: 16 / 9;
}
.vote-participation [data-vote-panel="dance"] .vote-work-thum {
  aspect-ratio: 9 / 16;
  max-width: min(100%, 240px);
  margin: 0 auto;
}
.vote-participation .vote-work-thum::before,
.vote-participation .vote-work-thum::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 1px;
  background: var(--color-ccc);
  transform: translate(-50%, -50%) rotate(26deg);
}
.vote-participation .vote-work-thum::after {
  transform: translate(-50%, -50%) rotate(-26deg);
}
.vote-participation .vote-work-thum .placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: var(--front-h10);
  line-height: 1.4;
  text-align: center;
  color: var(--color-777);
}
.vote-participation .vote-work-thum .placeholder .color-red-100 {
  display: block;
  margin-top: 4px;
}
.vote-participation .vote-work-thum.has-image::before,
.vote-participation .vote-work-thum.has-image::after {
  display: none;
}
.vote-participation .vote-work-thum.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vote-participation .vote-work-empty {
  grid-column: 1 / -1;
  padding: 48px 16px;
  text-align: center;
  border: 1px dashed var(--color-ddd);
  background: var(--color-fa);
  color: var(--color-777);
}
.vote-participation .vote-work-info {
  flex: 1;
  padding: 16px 14px;
  background: #f5f5f5;
  font-size: var(--front-h9);
  line-height: 1.5;
  color: var(--grm-color-black);
}
.vote-participation .vote-work-info .row + .row {
  margin-top: 6px;
}
.vote-participation .vote-work-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--color-eee);
}
.vote-participation .vote-work-select-btn {
  min-width: 88px;
  height: var(--front-input-sm);
  padding: 0 14px;
  font-size: var(--front-h10);
}
.vote-participation .vote-work-card.is-selected .vote-work-select-btn {
  border-color: var(--grm-color-green-30);
  background: var(--grm-color-green-10);
  color: var(--grm-color-primary-01);
}
.vote-participation .vote-submit-block {
  max-width: 520px;
  margin: 0 auto;
}
.vote-participation .vote-submit-block .ud-btn {
  width: 100%;
  font-size: var(--front-h7);
  font-weight: 700;
}
.vote-participation .vote-submit-block .ud-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.vote-participation .page-title .sub {
  display: block;
  margin-top: 12px;
  font-size: var(--front-h9);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-555);
}
@media screen and (max-width: 1024px) {
  .vote-participation .vote-work-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 640px) {
  .vote-participation .vote-division-tabs {
    flex-direction: column;
  }
  .vote-participation .vote-division-tabs .item ~ .item::before {
    width: 100%;
    height: 1px;
  }
  .vote-participation .vote-work-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== vote_work_detail ===== */
.vote-work-detail .board-detail-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.vote-work-detail .board-detail-video {
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  .vote-work-detail .board-detail-video {
    width: 100%;
    max-width: 100%;
  }
}
.vote-work-detail .board-detail-video.is-vertical {
  width: 280px;
  max-width: 100%;
  aspect-ratio: 9 / 16;
}
.vote-work-detail .vote-work-detail-empty {
  margin: 0;
  font-size: var(--front-h9);
  color: var(--color-555);
}
.vote-work-detail .vote-work-detail-link-wrap {
  margin: 12px 0 0;
}
.vote-work-detail .vote-work-detail-link-wrap a {
  color: var(--grm-color-green-30);
  text-decoration: underline;
}
.vote-work-detail .editor-view-block {
  margin-top: 16px;
  white-space: pre-wrap;
  word-break: break-word;
}
