/* 선거 포스터 공통 — 정당 허브·후보 홈 공유 컴포넌트 */
.eposter-shell:not(.candidate-site) {
  --eposter-max: 440px;
  --eposter-pad: clamp(18px, 4vw, 24px);
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}
.eposter-shell:not(.candidate-site) * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.eposter {
  max-width: var(--eposter-max, 480px);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.candidate-site * {
  margin: 0;
  padding: 0;
}

/* ── 통일 레이아웃 (박은경·강주형 동일 구조) ── */
.eposter__inner {
  padding: var(--eposter-pad);
  padding-bottom: 0;
}

.eposter__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.eposter__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.eposter__badge {
  font-size: 10px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.eposter__party {
  text-align: right;
  line-height: 1.2;
  flex-shrink: 0;
}
.eposter__party-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.eposter__party-name {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.eposter__slogan {
  font-size: clamp(1.35rem, 5.2vw, 1.65rem);
  font-weight: 900;
  line-height: 1.38;
  letter-spacing: -0.04em;
  margin-bottom: 6px;
}
.eposter__slogan em {
  font-style: normal;
}

.eposter__brush {
  height: 5px;
  width: min(140px, 38vw);
  border-radius: 3px;
  margin-bottom: 18px;
}

.eposter__photo-wrap {
  position: relative;
}
.eposter__photo-wrap::before {
  content: "";
  position: absolute;
  inset: 8% 5% -4% 5%;
  border-radius: 20px;
  z-index: 0;
}
.eposter-shell:not(.candidate-site) .eposter__photo-wrap {
  margin: 0 calc(-1 * var(--eposter-pad)) 20px;
  padding: 0 var(--eposter-pad);
}
.eposter-shell:not(.candidate-site) .eposter__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
}
.candidate-site .eposter__photo {
  position: relative;
  z-index: 1;
}

.eposter__promises {
  padding: 0 2px 20px;
}

/* identity: 후보 홈은 election-candidate-layout.css */
.eposter-shell:not(.candidate-site) .eposter__identity {
  padding: 8px 2px 0;
}
.eposter-shell:not(.candidate-site) .eposter__symbol-label {
  font-size: 15px;
  font-weight: 800;
}
.eposter-shell:not(.candidate-site) .eposter__symbol-num {
  font-size: clamp(3.2rem, 14vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
}
.eposter-shell:not(.candidate-site) .eposter__name {
  font-size: clamp(2rem, 9vw, 2.5rem);
  font-weight: 900;
  margin-top: 2px;
}
.eposter-shell:not(.candidate-site) .eposter__role {
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  line-height: 1.45;
}

.eposter__bar {
  margin-top: 20px;
  text-align: center;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.02em;
  padding: 14px var(--eposter-pad);
}
.eposter__vote-date {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.92;
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* ── 액션 영역 (소통·공유) ── */
.eposter-actions {
  max-width: var(--eposter-max);
  margin: 0 auto;
  padding: 0 var(--eposter-pad) calc(72px + env(safe-area-inset-bottom));
}
.eposter-actions .action-card {
  border-radius: 16px;
  padding: 16px;
  margin-top: 12px;
  backdrop-filter: blur(12px);
}
.eposter-actions .action-card h2 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 10px;
}
.eposter-actions .action-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px;
  border-radius: 10px;
  opacity: 0.9;
}
.eposter-actions .note {
  font-size: 11px;
  text-align: center;
  opacity: 0.55;
  margin-top: 14px;
  line-height: 1.5;
}

.eposter-dday {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.eposter-promise-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.eposter-promise {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eposter-promise__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.eposter-promise__icon svg {
  width: 26px;
  height: 26px;
}
.eposter-promise__text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.eposter-promise__text strong {
  font-weight: 900;
}

@media (min-width: 380px) {
  .eposter-promise__text { font-size: 15px; }
}

/* 스튜디오 링크 — 협회×커서 AI 공동 홍보 */
.eposter-studio-link {
  display: block;
  max-width: var(--eposter-max);
  margin: 14px auto 0;
  padding: 14px 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.15), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(94, 234, 212, 0.28);
  color: #0f766e;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.12);
}
.eposter-shell--kang .eposter-studio-link {
  color: #5eead4;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.35), rgba(99, 102, 241, 0.15));
  border-color: rgba(94, 234, 212, 0.35);
}
.eposter-shell--park .eposter-studio-link {
  color: #c2410c;
  background: linear-gradient(135deg, rgba(255, 247, 237, 1), rgba(254, 215, 170, 0.5));
  border-color: rgba(234, 88, 12, 0.25);
}
