/* LIFE365 (why/*.html) — sangjo.css 위에 얹는 보조 스타일 */

.wy-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
}

/* ================= 상품 비교표 ================= */
.wy-compare-wrap {
  overflow-x: auto;
  background: #fff;
  border-top: 2px solid var(--hl-ink);
  box-shadow: 0 14px 34px rgba(11, 28, 51, 0.05);
}
.wy-compare {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}
.wy-compare th,
.wy-compare td {
  padding: 0.95rem 1rem;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.55;
  text-align: center;
  vertical-align: middle;
  border: 0;
  border-bottom: 1px solid var(--hl-line);
}
.wy-compare thead th {
  padding: 1.1rem 1rem;
  background: #f7f8fa;
}
.wy-compare thead th a {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--hl-ink) !important;
}
.wy-compare thead th a:hover {
  color: var(--hl-gold) !important;
}
.wy-compare thead th span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hl-gold);
}
.wy-compare thead th:first-child {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--hl-muted);
}
.wy-compare tbody th {
  width: 13%;
  font-weight: 700;
  color: var(--hl-ink);
  background: #fbf9f5;
  border-right: 1px solid var(--hl-line);
}
.wy-compare td {
  color: #3e4a5a;
}
.wy-compare td + td {
  border-left: 1px solid var(--hl-line);
}
.wy-compare td small {
  display: block;
  font-size: 0.78rem;
  color: var(--hl-gold);
}
.wy-compare thead th.is-feature {
  background: var(--hl-deep);
}
.wy-compare thead th.is-feature a {
  color: #fff !important;
}
.wy-compare thead th.is-feature span {
  color: var(--hl-gold-soft);
}
.wy-compare td.is-feature {
  font-weight: 500;
  color: var(--hl-ink);
  background: #fbf9f5;
}
.wy-scroll-hint {
  display: none;
}
.wy-notes {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}
.wy-notes li {
  position: relative;
  padding: 0.2rem 0 0.2rem 1rem;
  font-size: 0.85rem;
  color: var(--hl-muted);
}
.wy-notes li::before {
  content: "";
  position: absolute;
  top: 0.95em;
  left: 0.15rem;
  width: 5px;
  height: 1px;
  background: var(--hl-muted);
}
.wy-pick .pt-values-no {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--hl-gold);
}

/* ================= 선불 vs 후불 ================= */
.wy-vs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 1.6rem);
}
.wy-vs-col {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: #f7f8fa;
  border: 1px solid var(--hl-line);
}
.wy-vs-tag {
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--hl-muted);
  border-bottom: 1px solid var(--hl-line);
}
.wy-vs-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wy-vs-col li {
  position: relative;
  padding: 0.6rem 0 0.6rem 1.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--hl-muted);
}
.wy-vs-col li::before {
  content: "";
  position: absolute;
  top: 1.2em;
  left: 0.3rem;
  width: 8px;
  height: 1.5px;
  background: #b5bdc8;
}
.wy-vs-col.is-ours {
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(184, 149, 90, 0.25), transparent 45%),
    linear-gradient(145deg, var(--hl-deep), var(--hl-navy));
  border-color: transparent;
  border-top: 3px solid var(--hl-gold);
  box-shadow: 0 24px 50px rgba(11, 28, 51, 0.18);
}
.wy-vs-col.is-ours .wy-vs-tag {
  color: var(--hl-gold-soft);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}
.wy-vs-col.is-ours li {
  color: rgba(255, 255, 255, 0.8);
}
.wy-vs-col.is-ours li b {
  font-weight: 700;
  color: #fff;
}
.wy-vs-col.is-ours li::before {
  top: 0.95em;
  width: 8px;
  height: 4px;
  background: none;
  border-left: 1.5px solid var(--hl-gold-soft);
  border-bottom: 1.5px solid var(--hl-gold-soft);
  transform: rotate(-45deg);
}

/* ================= 강조 박스 ================= */
.wy-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.8rem, 3.5vw, 2.6rem);
  background: #fff;
  border: 1px solid rgba(184, 149, 90, 0.5);
  border-left: 3px solid var(--hl-gold);
}
.wy-highlight h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--hl-ink);
}
.wy-highlight p:not(.sj-kicker) {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.75;
}
.wy-highlight b {
  font-weight: 700;
  color: var(--hl-navy);
}
.wy-highlight .wy-link-row {
  margin-top: 0;
  justify-content: flex-end;
}

/* ================= 상조 Q&A ================= */
.wy-faq-wrap {
  max-width: 920px;
}
.wy-faq-group {
  margin: 2.2rem 0 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--hl-gold);
}
.sj-head + .wy-faq-group {
  margin-top: 0;
}
.wy-faq {
  background: #fff;
  border-top: 2px solid var(--hl-ink);
}
.wy-faq details {
  border-bottom: 1px solid var(--hl-line);
}
.wy-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 3rem 1.15rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--hl-ink);
  cursor: pointer;
  list-style: none;
}
.wy-faq summary::-webkit-details-marker {
  display: none;
}
.wy-faq summary::before {
  content: "Q";
  flex-shrink: 0;
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hl-gold);
}
.wy-faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.3rem;
  width: 9px;
  height: 9px;
  margin-top: -7px;
  border-right: 1.5px solid var(--hl-muted);
  border-bottom: 1.5px solid var(--hl-muted);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.wy-faq details[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}
.wy-faq summary:hover {
  background: #fbf9f5;
}
.wy-faq-a {
  display: flex;
  gap: 0.9rem;
  padding: 0 1.2rem 1.3rem;
}
.wy-faq-a::before {
  content: "A";
  flex-shrink: 0;
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--hl-navy);
}
.wy-faq-a p {
  margin: 0;
  padding: 1rem 1.2rem;
  flex: 1;
  font-size: 0.93rem;
  line-height: 1.8;
  background: #f7f8fa;
}
.wy-faq-a b {
  font-weight: 700;
  color: var(--hl-navy);
}
.wy-faq-a a {
  font-weight: 600;
  color: var(--hl-navy) !important;
  border-bottom: 1px solid var(--hl-gold);
}
.wy-faq-more {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  padding: clamp(1.6rem, 3vw, 2rem);
  text-align: center;
  background: #f3f1ec;
}
.wy-faq-more > p {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hl-ink);
}
.wy-faq-more .wy-link-row {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .wy-scroll-hint {
    display: block;
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
    text-align: right;
    color: var(--hl-muted);
  }
  .wy-scroll-hint::after {
    content: " \2192";
    color: var(--hl-gold);
  }
}
@media (max-width: 860px) {
  .wy-vs,
  .wy-highlight {
    grid-template-columns: 1fr;
  }
  .wy-highlight .wy-link-row {
    justify-content: flex-start;
  }
}
@media (max-width: 640px) {
  .wy-link-row .sj-btn {
    flex: 1 1 100%;
  }
  .wy-faq summary {
    padding: 1rem 2.6rem 1rem 0.9rem;
    font-size: 0.95rem;
  }
  .wy-faq-a {
    padding: 0 0.9rem 1.1rem;
  }
  .wy-faq-a p {
    padding: 0.9rem 1rem;
  }
}
