.ys-rs-page {
  --ys-landing-background: url("../../images/landing/bg003.jpg");
  display: grid;
  min-height: 100svh;
  padding: 48px 20px 34px;
  place-items: start center;
}

.ys-rs-shell {
  width: min(1140px, 100%);
}

.ys-rs-brandbar {
  display: flex;
  min-height: 75px;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  color: #fffdf3;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(36, 51, 28, 0.22);
  box-shadow:
    0 12px 34px rgba(20, 30, 18, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
}

.ys-rs-brandbar nav {
  display: flex;
  align-items: center;
  gap: 17px;
}

.ys-rs-brandbar nav a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  transition: opacity 160ms ease;
}

.ys-rs-brandbar nav a:hover,
.ys-rs-brandbar nav a:focus-visible {
  opacity: 0.72;
}

.ys-rs-brandbar nav svg {
  width: 21px;
  height: 21px;
}

.ys-rs-brandbar nav i {
  display: block;
  width: 1px;
  height: 27px;
  background: rgba(255, 255, 255, 0.4);
}

.ys-rs-hero-grid {
  display: grid;
  grid-template-columns: 855px minmax(0, 266px);
  align-items: end;
  margin-top: 20px;
  gap: 19px;
}

.ys-rs-main-card {
  position: relative;
  height: 350px;
  min-height: 350px;
  color: #f5f1e7;
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, rgba(18, 27, 18, 0.88) 0%, rgba(31, 45, 28, 0.76) 48%, rgba(63, 70, 42, 0.58) 100%);
  box-shadow:
    0 22px 58px rgba(24, 34, 20, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(13px) saturate(118%);
  -webkit-backdrop-filter: blur(13px) saturate(118%);
}

.ys-rs-main-card::before {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.045) 30%, transparent 38%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(255, 255, 255, 0.035) 76%, transparent);
  opacity: 0.42;
}

.ys-rs-main-card::after {
  inset: 1px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: none;
  box-shadow:
    inset 0 0 24px rgba(255, 255, 255, 0.055),
    inset 0 0 70px rgba(255, 255, 255, 0.025);
}

.ys-rs-main-copy {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  min-height: 0;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-start;
  padding: 48px 40px 0;
}

.ys-rs-main-copy .ys-card-eyebrow {
  margin-bottom: 10px;
  font-family: "Noto Serif KR", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 16px;
}

.ys-rs-main-copy h1 {
  margin: 0;
  font-family: var(--ys-landing-serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.04em;
}

.ys-rs-main-copy > p {
  margin: 10px 0 30px;
  font-family: var(--ys-landing-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.ys-rs-main-copy .ys-landing-button {
  min-width: 320px;
  min-height: 0;
  border-radius: 999px;
  font-size: 24px;
  font-weight: 500;
}

.ys-rs-main-copy small {
  display: flex;
  align-items: center;
  margin-top: 30px;
  gap: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.ys-rs-main-copy small svg {
  width: 17px;
  height: 17px;
}

.ys-rs-legacy-card {
  display: flex;
  height: 132px;
  min-height: 132px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ys-rs-legacy-card > span {
  font-family: var(--ys-landing-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.ys-rs-legacy-card > strong {
  margin: 3px 0 10px;
  font-family: var(--ys-landing-serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.ys-rs-legacy-card .ys-landing-button {
  width: 192px;
  min-width: 192px;
  gap: 0;
}

.ys-rs-legacy-card .ys-landing-button > span {
  white-space: nowrap;
}

.ys-rs-legacy-card .ys-landing-button b {
  position: absolute;
  right: 18px;
}

/* 이전 페이지 캐시의 레거시 마크업도 버튼 형태를 유지한다. */
.ys-rs-legacy-card > b {
  display: inline-flex;
  width: 192px;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  color: #f8f4ea;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 52, 36, 0.92), rgba(55, 78, 54, 0.82));
  box-shadow:
    0 12px 30px rgba(30, 45, 32, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ys-rs-contact {
  display: grid;
  min-height: 91px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  margin-top: 20px;
  padding: 20px 40px;
  color: #24331c;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ys-rs-contact > div {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 25px;
}

.ys-rs-contact > div + div {
  padding-left: 12px;
  border-left: 1px solid rgba(47, 61, 38, 0.26);
}

.ys-rs-contact i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: #24331c;
}

.ys-rs-contact i svg {
  width: 21px;
  height: 21px;
}

.ys-rs-contact p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.ys-rs-contact strong {
  font-family: var(--ys-landing-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
}

.ys-rs-contact span {
  margin-top: 10px;
  font-size: 16px;
  line-height: 16px;
}

.ys-rs-faq {
  display: grid;
  min-height: 0;
  grid-template-columns: 180px minmax(0, 1fr);
  margin-top: 20px;
  padding: 30px;
  gap: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.ys-rs-faq > header {
  position: relative;
  z-index: 1;
  padding: 0 0 0 20px;
}

.ys-rs-faq > header span {
  font-family: "Noto Serif KR", sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 36px;
}

.ys-rs-faq > header h2 {
  margin: 20px 0 0;
  font-family: var(--ys-landing-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: -0.05em;
}

.ys-rs-faq-leaf {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.ys-rs-faq-leaf img {
  position: absolute;
  max-width: none;
  object-fit: fill;
  filter: brightness(1.45) contrast(1) saturate(0.58) blur(5.1px);
}

.ys-rs-faq-leaf img:first-child {
  top: auto;
  bottom: -13px;
  left: 8px;
  width: 190px;
  height: 318px;
  opacity: 0.3;
  transform: scaleX(-1);
}

.ys-rs-faq-leaf img:last-child {
  top: 173px;
  left: -20px;
  width: 169px;
  height: 182px;
  opacity: 0.4;
}

.ys-rs-faq-list {
  position: relative;
  z-index: 1;
  align-self: start;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #f0ede2;
  box-shadow: none;
}

.ys-rs-faq-list details {
  background: #f0ede2;
}

.ys-rs-faq-list summary {
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 15px;
  align-items: center;
  padding: 20px;
  color: #24331c;
  border-bottom: 0.5px solid #d9d8c3;
  background: #f0ede2;
  cursor: pointer;
  list-style: none;
  gap: 14px;
  font-family: var(--ys-landing-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  transition: color 160ms ease, background 160ms ease;
}

.ys-rs-faq-list summary::-webkit-details-marker {
  display: none;
}

.ys-rs-faq-list summary:hover,
.ys-rs-faq-list summary:focus-visible {
  color: #24331c;
  background: #f0ede2;
}

.ys-rs-faq-list details[open] summary {
  color: #fff;
  background: #24331c;
}

.ys-rs-faq-list summary .ys-rs-faq-toggle {
  position: relative;
  display: block;
  width: 15px;
  height: 15px;
}

.ys-rs-faq-toggle svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.ys-rs-faq-icon-minus {
  display: none !important;
}

.ys-rs-faq-list details[open] .ys-rs-faq-icon-plus {
  display: none;
}

.ys-rs-faq-list details[open] .ys-rs-faq-icon-minus {
  display: block !important;
}

.ys-rs-faq-answer {
  padding: 20px 0;
  color: #fff;
  border-bottom: 0.5px solid #d9d8c3;
  background: #24331c;
}

.ys-rs-faq-answer.has-image {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  column-gap: 60px;
  padding: 20px 30px 20px 25px;
}

.ys-rs-faq-answer.has-image p {
  margin-right: 0;
  margin-left: 0;
}

.ys-rs-faq-answer-image {
  display: block;
  width: 250px;
  height: auto;
  aspect-ratio: 747 / 499;
}

.ys-rs-faq-answer p {
  margin: 0 30px 18px 25px;
  color: #fff;
  font-family: var(--ys-landing-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.ys-rs-faq-answer p:last-child {
  margin-bottom: 0;
}

.ys-rs-faq-answer a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 720px) {
  .ys-rs-page {
    display: block;
    min-height: 100svh;
    padding: 10px;
    overflow: visible;
  }

  .ys-rs-shell {
    width: 100%;
  }

  .ys-rs-brandbar {
    min-height: 85px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 8px 20px;
  }

  .ys-rs-logo {
    min-height: 36px;
  }

  .ys-rs-brandbar nav {
    width: 100%;
    justify-content: center;
    margin-top: 5px;
    gap: 12px;
  }

  .ys-rs-brandbar nav a {
    font-size: 12px;
  }

  .ys-rs-brandbar nav svg {
    width: 16px;
    height: 16px;
  }

  .ys-rs-brandbar nav i {
    height: 22px;
  }

  .ys-rs-hero-grid {
    display: block;
    margin-top: 10px;
  }

  .ys-rs-main-card {
    height: 222px;
    min-height: 222px;
  }

  .ys-rs-main-copy {
    height: 100%;
    min-height: 0;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    text-align: left;
  }

  .ys-rs-main-copy .ys-card-eyebrow {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 16px;
  }

  .ys-rs-main-copy h1 {
    margin: 0;
    font-size: 24px;
    line-height: 24px;
  }

  .ys-rs-main-copy > p {
    margin: 10px 0 25px;
    font-size: 14px;
    line-height: 21px;
  }

  .ys-rs-main-copy .ys-landing-button {
    align-self: center;
    min-width: 227px;
    min-height: 46px;
    font-size: 16px;
  }

  .ys-rs-main-copy small {
    align-self: center;
    margin-top: 10px;
    font-size: 10px;
    line-height: 18px;
  }

  .ys-rs-main-copy small svg {
    width: 14px;
    height: 14px;
  }

  .ys-rs-legacy-card {
    height: 108px;
    min-height: 108px;
    margin-top: 10px;
    padding: 10px;
  }

  .ys-rs-legacy-card > span {
    font-size: 12px;
  }

  .ys-rs-legacy-card > strong {
    margin: 3px 0 8px;
    font-size: 18px;
  }

  .ys-rs-legacy-card .ys-landing-button {
    width: 190px;
    min-width: 190px;
    padding: 15px 28px;
    font-size: 14px;
  }

  .ys-rs-legacy-card > b {
    width: 190px;
    min-height: 46px;
    font-size: 14px;
    line-height: 14px;
  }

  .ys-rs-contact {
    display: block;
    min-height: 156px;
    margin-top: 10px;
    padding: 20px;
  }

  .ys-rs-contact > div {
    min-height: 50px;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
  }

  .ys-rs-contact > div + div {
    min-height: 65px;
    padding: 15px 0 0;
    border-top: 1px solid rgba(47, 61, 38, 0.22);
    border-left: 0;
  }

  .ys-rs-contact i {
    width: 40px;
    height: 40px;
  }

  .ys-rs-contact strong {
    font-size: 16px;
    line-height: 16px;
  }

  .ys-rs-contact span {
    margin-top: 10px;
    font-size: 12px;
    line-height: 12px;
  }

  .ys-rs-faq {
    display: block;
    min-height: 0;
    margin-top: 10px;
    padding: 0;
  }

  .ys-rs-faq > header {
    min-height: 100px;
    padding: 20px 20px 30px;
    text-align: left;
  }

  .ys-rs-faq > header span {
    font-size: 16px;
    line-height: 16px;
  }

  .ys-rs-faq > header h2 {
    margin-top: 10px;
    font-size: 24px;
    line-height: 24px;
  }

  .ys-rs-faq-leaf {
    display: block;
  }

  .ys-rs-faq-leaf img:first-child {
    top: auto;
    bottom: -13px;
    left: -222px;
    width: 375px;
    height: 626px;
    opacity: 0.3;
  }

  .ys-rs-faq-leaf img:last-child {
    display: none;
  }

  .ys-rs-faq-list {
    border: 0;
    border-radius: 20px 20px 0 0;
    box-shadow: none;
  }

  .ys-rs-faq-list summary {
    min-height: 0;
    padding: 20px;
    font-size: 16px;
    line-height: 24px;
  }

  .ys-rs-faq-answer p {
    margin-right: 25px;
    font-size: 16px;
    line-height: 24px;
  }

  .ys-rs-faq-answer.has-image {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
    padding: 20px 25px;
  }

  .ys-rs-faq-answer.has-image p {
    margin-right: 0;
  }

  .ys-rs-faq-answer-image {
    width: min(250px, 100%);
    margin-inline: auto;
  }
}

@media (max-width: 360px) {
  .ys-rs-brandbar nav {
    gap: 8px;
  }

  .ys-rs-brandbar nav a {
    font-size: 11px;
  }

}
