/* RoboPress Modern Clean 2026 — unified master style */
:root {
  --rp-ink: #17212b;
  --rp-muted: #607080;
  --rp-line: #e4eaf0;
  --rp-surface: #ffffff;
  --rp-soft: #f5f8fa;
  --rp-accent: #137a68;
  --rp-accent-2: #2554c7;
  --rp-radius: 18px;
  --rp-shadow: 0 18px 50px rgba(23, 33, 43, .09);
}

body {
  color: var(--rp-ink);
  background: #fff;
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) {
  color: var(--rp-ink);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.85;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.premium-content-wrapper {
  max-width: 920px;
  margin: clamp(18px, 4vw, 48px) auto;
  padding: clamp(24px, 5vw, 64px);
  border: 1px solid var(--rp-line);
  border-radius: 26px;
  background: linear-gradient(145deg, #fff 0%, #fbfcfd 100%);
  box-shadow: var(--rp-shadow);
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) > * {
  max-width: 780px;
  margin-inline: auto;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) > .alignwide {
  max-width: 1080px;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) > .alignfull {
  max-width: none;
}

:where(.entry-title, .wp-block-post-title, .premium-title) {
  color: #101820;
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.premium-title {
  position: relative;
  margin: 0 auto clamp(32px, 6vw, 64px);
  padding-bottom: 24px;
  text-align: left;
}

.premium-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 72px;
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--rp-accent), var(--rp-accent-2));
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) h2 {
  margin-top: clamp(48px, 8vw, 84px);
  margin-bottom: 20px;
  color: #14222e;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 750;
  line-height: 1.32;
  letter-spacing: -.035em;
  text-wrap: balance;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) h3 {
  margin-top: 38px;
  margin-bottom: 14px;
  color: #1d303d;
  font-size: clamp(1.2rem, 2vw, 1.48rem);
  font-weight: 720;
  line-height: 1.4;
  letter-spacing: -.02em;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) p {
  margin-top: 0;
  margin-bottom: 1.35em;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) a:not(.wp-element-button):not(.premium-purchase-button) {
  color: #0d6f61;
  text-decoration-color: rgba(13, 111, 97, .35);
  text-underline-offset: .18em;
  transition: color .18s ease, text-decoration-color .18s ease;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) a:not(.wp-element-button):hover {
  color: #1748ad;
  text-decoration-color: currentColor;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--rp-radius);
  box-shadow: 0 12px 34px rgba(23, 33, 43, .11);
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) figure {
  margin-top: 34px;
  margin-bottom: 34px;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) figcaption {
  margin-top: 10px;
  color: var(--rp-muted);
  font-size: .82em;
  line-height: 1.6;
  text-align: center;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) blockquote {
  position: relative;
  margin: 34px auto;
  padding: 24px 28px 24px 30px;
  border: 0;
  border-left: 5px solid var(--rp-accent);
  border-radius: 0 14px 14px 0;
  background: linear-gradient(135deg, #eff9f6, #f6f9ff);
  color: #253743;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) ul,
:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) ol {
  margin-top: 18px;
  margin-bottom: 28px;
  padding-left: 1.4em;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) li {
  margin: .6em 0;
  padding-left: .22em;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) li::marker {
  color: var(--rp-accent);
  font-weight: 800;
}

.info-highlight,
.highlight-section {
  margin-top: 30px;
  margin-bottom: 30px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #dce8e5;
  border-radius: var(--rp-radius);
  background: linear-gradient(135deg, #f2faf7, #f8faff);
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) table {
  width: 100%;
  margin: 32px auto;
  border: 1px solid var(--rp-line);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 33, 43, .06);
  overflow: hidden;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) th,
:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) td {
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid var(--rp-line);
  text-align: left;
  vertical-align: top;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) th {
  background: #edf5f3;
  color: #17382f;
  font-weight: 750;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) tr:last-child td {
  border-bottom: 0;
}

.premium-purchase-section,
.wp-block-buttons {
  margin-top: clamp(42px, 7vw, 76px);
  margin-bottom: clamp(28px, 5vw, 52px);
}

.premium-purchase-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(30px, 6vw, 58px);
  border-radius: 24px;
  background: linear-gradient(135deg, #102c2a 0%, #17385b 100%);
  color: #fff;
  box-shadow: 0 24px 54px rgba(18, 48, 58, .24);
  text-align: center;
}

.premium-purchase-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -55% -15% auto auto;
  width: 340px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 215, 186, .32), transparent 68%);
}

.premium-purchase-section h3,
.premium-purchase-section p {
  color: #fff !important;
}

.premium-purchase-section h3 {
  margin-top: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.premium-purchase-button,
.wp-element-button,
:where(.entry-content, .wp-block-post-content) .wp-block-button__link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #168a76, #2260cf);
  box-shadow: 0 10px 24px rgba(21, 91, 130, .25);
  color: #fff !important;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.premium-purchase-button:hover,
.wp-element-button:hover,
:where(.entry-content, .wp-block-post-content) .wp-block-button__link:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 15px 30px rgba(21, 91, 130, .32);
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) hr {
  height: 1px;
  margin: 54px auto;
  border: 0;
  background: linear-gradient(90deg, transparent, #cbd5dc, transparent);
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) code {
  padding: .15em .42em;
  border-radius: 6px;
  background: #edf2f5;
  color: #264251;
  font-size: .9em;
}

:where(.entry-content, .wp-block-post-content, .premium-content-wrapper) :focus-visible {
  outline: 3px solid rgba(37, 84, 199, .45);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .premium-content-wrapper {
    margin: 12px 0;
    padding: 24px 18px 34px;
    border-radius: 18px;
  }

  :where(.entry-content, .wp-block-post-content, .premium-content-wrapper) {
    line-height: 1.75;
    word-break: normal;
  }

  :where(.entry-content, .wp-block-post-content, .premium-content-wrapper) table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
  }

  .premium-purchase-section {
    padding: 30px 20px;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
