/* =============================================================
   ResumeCaptain - Thai pSEO Pages (th-styles.css)
   Design matches /assets/styles.css visual system
   All selectors scoped under .rc-pseo-th - no global overrides
   Brand: #ed4e34 | Thai font: Noto Sans Thai, Sarabun
   ============================================================= */

/* ── Global Theme Overrides ───────────────────────────────── */
html { margin-top: 0 !important; scroll-behavior: smooth; }
body.rc-pseo-page #masthead, body.rc-pseo-page .site-header, body.rc-pseo-page .ast-primary-header, body.rc-pseo-page .ast-main-header-wrap, body.rc-pseo-page .ast-sticky-header { top: 0 !important; margin-top: 0 !important; }
#wpadminbar { display: none !important; }
.rc-pseo-page #primary,
.rc-pseo-page #content,
.rc-pseo-page .site-content,
.rc-pseo-page #content .ast-container,
.rc-pseo-page .site-main {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

/* ── Reset (scoped) ───────────────────────────────────────── */
.rc-pseo-th, .rc-pseo-th *, .rc-pseo-th *::before, .rc-pseo-th *::after {
  box-sizing: border-box;
}

/* ── CSS Variables (scoped to Thai pages) ──────────────────── */
.rc-pseo-th {
  --brand:       #ed4e34;
  --brand-dark:  #d4441e;
  --brand-light: #FFF4F2;
  --brand-mid:   #FDECEA;
  --text:        #111827;
  --text-2:      #4B5563;
  --text-3:      #9CA3AF;
  --border:      #E5E7EB;
  --bg:          #F9FAFB;
  --white:       #FFFFFF;
  --radius:      10px;
  --shadow:      0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md:   0 4px 12px rgba(0,0,0,.10);

  font-family: system-ui, -apple-system, "Segoe UI", Roboto,
               "Noto Sans Thai", "Sarabun", "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

/* ── Scoped typography ─────────────────────────────────────── */
.rc-pseo-th h1,
.rc-pseo-th h2,
.rc-pseo-th h3,
.rc-pseo-th h4 { line-height: 1.25; color: var(--text); font-weight: 700; }
.rc-pseo-th h1 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
.rc-pseo-th h2 { font-size: clamp(1.35rem, 2.2vw, 1.875rem); margin-bottom: .75rem; }
.rc-pseo-th h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.rc-pseo-th p  { color: var(--text-2); margin-bottom: 1rem; }
.rc-pseo-th p:last-child { margin-bottom: 0; }
.rc-pseo-th a  { color: var(--brand); text-decoration: none; }
.rc-pseo-th a:hover { text-decoration: underline; }
.rc-pseo-th strong { color: var(--text); font-weight: 600; }
.rc-pseo-th ul,
.rc-pseo-th ol  { padding-left: 1.25rem; color: var(--text-2); }
.rc-pseo-th li  { margin-bottom: .35rem; }

/* ── Brand Hero (full red) ─────────────────────────────────── */
.rc-th-brand-hero {
  background: var(--brand);
  color: var(--white);
  overflow: hidden;
}
.rc-th-brand-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px 0;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.rc-th-brand-hero__grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
  flex: 1;
}
.rc-th-brand-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 32px;
}
.rc-th-brand-hero__mockup {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
}
@media (max-width: 960px) {
  .rc-th-brand-hero__grid { grid-template-columns: 1fr; padding-bottom: 36px; }
  .rc-th-brand-hero__inner { min-height: auto; }
  .rc-th-brand-hero__mockup { display: none; }
  .rc-th-brand-hero__content { padding-bottom: 0; }
}
.rc-th-brand-hero__eyebrow {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.rc-th-brand-hero__title {
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -.02em;
}
.rc-th-brand-hero__title-sub {
  display: block;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  opacity: .88;
  margin-top: 6px;
  letter-spacing: 0;
}
.rc-th-brand-hero__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88) !important;
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 620px;
}
.rc-th-brand-hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.rc-th-brand-hero__btn {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  background: var(--white);
  color: var(--brand) !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: transform .12s, box-shadow .12s;
  white-space: nowrap;
}
.rc-th-brand-hero__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.rc-th-brand-hero__trust {
  font-size: .8rem;
  color: rgba(255,255,255,.72);
  margin: 0 !important;
}

/* Breadcrumb inside hero */
.rc-th-breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-size: .8rem;
  margin-bottom: 20px;
  color: rgba(255,255,255,.72);
}
.rc-th-breadcrumb a {
  color: rgba(255,255,255,.72) !important;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: opacity .2s, text-decoration-color .2s;
}
.rc-th-breadcrumb a:hover {
  opacity: 1;
  text-decoration-color: rgba(255,255,255,.6);
}
.rc-th-breadcrumb span { color: var(--white); font-weight: 600; }
.rc-th-breadcrumb__sep { color: rgba(255,255,255,.4); }

/* ── Page Layout - 3-column ────────────────────────────────── */
.rc-th-page-layout {
  display: grid;
  grid-template-columns: 200px 1fr 260px;
  grid-template-areas: "toc main cta";
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  align-items: start;
}

/* ── Left sidebar: TOC ─────────────────────────────────────── */
.rc-th-sidebar-toc {
  grid-area: toc;
  position: sticky;
  top: 80px;
}
.rc-th-toc__title {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-3);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.rc-th-toc__list { list-style: none; padding: 0; }
.rc-th-toc__list li { margin-bottom: 0; }
.rc-th-toc__link {
  display: block;
  padding: 5px 0;
  font-size: .82rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color .15s;
}
.rc-th-toc__link:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Main content ──────────────────────────────────────────── */
.rc-th-main { grid-area: main; min-width: 0; }
.rc-th-main section { margin-bottom: 48px; }
.rc-th-main section:last-child { margin-bottom: 0; }
.rc-th-section-intro { font-size: 1.02rem; margin-bottom: 24px; }

/* ── Right sidebar: sticky CTA ─────────────────────────────── */
.rc-th-sidebar-cta {
  grid-area: cta;
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rc-th-cta-box {
  background: linear-gradient(135deg, var(--brand) 0%, #FF6B4A 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.rc-th-cta-box--secondary {
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.rc-th-cta-box__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #ffffff !important;
  margin-bottom: 10px;
}
.rc-th-cta-box--secondary .rc-th-cta-box__eyebrow { color: var(--brand) !important; }
.rc-th-cta-box__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff !important;
  line-height: 1.3;
  margin-bottom: 10px;
}
.rc-th-cta-box--secondary .rc-th-cta-box__title { color: var(--text) !important; }
.rc-th-cta-box__sub {
  font-size: .82rem;
  margin-bottom: 18px;
  color: #ffffff !important;
}
.rc-th-cta-box--secondary .rc-th-cta-box__sub { color: var(--text-2) !important; }
.rc-th-cta-box__btn {
  display: block;
  background: var(--white);
  color: var(--brand) !important;
  font-weight: 700;
  font-size: .9rem;
  padding: 11px 16px;
  border-radius: 7px;
  text-decoration: none !important;
  transition: transform .12s, box-shadow .12s;
  margin-bottom: 10px;
}
.rc-th-cta-box--secondary .rc-th-cta-box__btn {
  background: var(--brand);
  color: var(--white) !important;
}
.rc-th-cta-box__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.rc-th-cta-box__trust {
  font-size: .72rem;
  color: #ffffff !important;
}
.rc-th-cta-box--secondary .rc-th-cta-box__trust { color: var(--text-3) !important; }

/* ── Buttons ───────────────────────────────────────────────── */
.rc-th-btn {
  display: inline-block;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background .15s, transform .12s, box-shadow .12s;
  cursor: pointer;
  border: none;
  line-height: 1;
}
.rc-th-btn--primary {
  background: var(--brand);
  color: var(--white) !important;
  padding: 13px 22px;
  font-size: .95rem;
}
.rc-th-btn--secondary {
  background: var(--white);
  color: var(--brand) !important;
  border: 2px solid var(--brand);
  padding: 11px 20px;
  font-size: .92rem;
}
.rc-th-btn--large { padding: 15px 28px; font-size: 1rem; }
.rc-th-btn--xl    { padding: 17px 32px; font-size: 1.05rem; }
.rc-th-btn--primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,68,42,.35);
}
.rc-th-btn--secondary:hover { background: var(--brand-light); }

/* ── Keywords section ──────────────────────────────────────── */
.rc-th-keywords {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.rc-th-keywords__intro { margin-bottom: 24px; }
.rc-th-kw-grid { display: grid; gap: 24px; }
.rc-th-keyword-group {
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.rc-th-keyword-group h3 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--text-3);
  margin-bottom: 10px;
}
.rc-th-tag-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rc-th-tag {
  display: inline-flex;
  align-items: center;
  font-size: .82rem;
  font-weight: 500;
  padding: 5px 11px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text);
}
.rc-th-tag--tech { background: #FFF4F2; border-color: #FCDDD8; color: #E8442A; font-weight: 600; }
.rc-th-tag--soft { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }
.rc-th-tag--tool { background: #F5F3FF; border-color: #DDD6FE; color: #5B21B6; }
.rc-th-kw-cta-box {
  background: var(--brand-light);
  border: 1px solid #FCDDD8;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rc-th-kw-cta-box p { margin: 0 !important; font-size: .92rem; }

/* ── Certifications ────────────────────────────────────────── */
.rc-th-cert-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.rc-th-cert-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  border-top: 3px solid var(--brand);
  box-shadow: var(--shadow);
}
.rc-th-cert-card__name {
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  font-size: .98rem;
}
.rc-th-cert-card p { font-size: .88rem; color: var(--text-2); margin-bottom: 6px !important; }
.rc-th-cert-card p:last-child { margin-bottom: 0 !important; }

/* ── Resume Template ───────────────────────────────────────── */
.rc-th-resume-template-intro {
  font-size: .88rem;
  color: var(--text-3);
  margin-bottom: 24px;
}
.rc-th-resume-doc {
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  background: var(--white);
  padding: 36px 40px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: .88rem;
  line-height: 1.65;
  color: #1a1a1a;
}

/* Resume doc internals */
.rc-th-rdoc__header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid #1a1a1a;
}
.rc-th-rdoc__name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .02em;
  font-family: system-ui, sans-serif;
  color: #111;
  margin-bottom: 5px;
}
.rc-th-rdoc__contact {
  font-size: .75rem;
  color: #555;
  font-family: system-ui, sans-serif;
}
.rc-th-rdoc__contact span { margin: 0 6px; color: #bbb; }
.rc-th-rdoc__section { margin-bottom: 18px; }
.rc-th-rdoc__section:last-child { margin-bottom: 0; }
.rc-th-rdoc__section-title {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #888;
  font-family: system-ui, sans-serif;
  border-bottom: 1px solid #D1D5DB;
  padding-bottom: 4px;
  margin-bottom: 10px;
}
.rc-th-rdoc__summary { margin: 0; font-size: .86rem; color: #1a1a1a !important; }
.rc-th-rdoc__summary em { font-style: normal; color: var(--brand); font-weight: 600; }
.rc-th-rdoc__job { margin-bottom: 14px; }
.rc-th-rdoc__job:last-child { margin-bottom: 0; }
.rc-th-rdoc__job-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 5px;
  flex-wrap: wrap;
  font-family: system-ui, sans-serif;
}
.rc-th-rdoc__job-header strong { font-size: .88rem; color: #111; }
.rc-th-rdoc__job-header span   { font-size: .75rem; color: #777; white-space: nowrap; }
.rc-th-rdoc__bullets { margin: 0; padding-left: 16px; }
.rc-th-rdoc__bullets li { font-size: .84rem; color: #333; margin-bottom: 4px; }
.rc-th-rdoc__bullets li:last-child { margin-bottom: 0; }
.rc-th-rdoc__bullets li em { font-style: normal; color: var(--brand); font-weight: 600; }
.rc-th-rdoc__skills-grid { display: grid; gap: 6px; font-family: system-ui, sans-serif; font-size: .84rem; }
.rc-th-rdoc__skills-grid strong { color: #111; }
.rc-th-rdoc__certs { margin: 0; padding-left: 16px; font-family: system-ui, sans-serif; font-size: .84rem; }
.rc-th-rdoc__certs li { margin-bottom: 3px; color: #333; }
.rc-th-rdoc__edu { font-family: system-ui, sans-serif; font-size: .84rem; color: #333; }
.rc-th-rdoc__edu strong { color: #111; }
.rc-th-placeholder { color: #9CA3AF; font-style: italic; font-family: system-ui, sans-serif; font-size: .82rem; }
.rc-th-template-cta { margin-top: 16px; font-size: .85rem; color: var(--text-3); }
.rc-th-template-cta a { color: var(--brand); font-weight: 600; }

/* ── Cover Letter ──────────────────────────────────────────── */
.rc-th-coverletter {
  border: 1.5px solid #D1D5DB;
  border-radius: 6px;
  background: var(--white);
  padding: 40px 44px;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: .88rem;
  line-height: 1.7;
  color: #1a1a1a;
}
.rc-th-cl__sender {
  margin-bottom: 24px;
}
.rc-th-cl__sender-name {
  font-size: 1rem;
  font-weight: 700;
  font-family: system-ui, sans-serif;
  color: #111;
  margin-bottom: 4px;
}
.rc-th-cl__sender-contact {
  font-size: .75rem;
  color: #555;
  font-family: system-ui, sans-serif;
}
.rc-th-cl__meta {
  font-size: .8rem;
  color: #555;
  font-family: system-ui, sans-serif;
  margin-bottom: 20px;
}
.rc-th-cl__recipient {
  font-size: .84rem;
  color: #333;
  font-family: system-ui, sans-serif;
  line-height: 1.6;
  margin-bottom: 24px;
}
.rc-th-cl__salutation {
  font-size: .88rem;
  font-family: system-ui, sans-serif;
  color: #111;
  font-weight: 600;
  margin-bottom: 16px;
}
.rc-th-cl__body p {
  font-size: .88rem;
  color: #333 !important;
  margin-bottom: 14px !important;
  line-height: 1.75;
}
.rc-th-cl__body p:last-child {
  margin-bottom: 0 !important;
}
.rc-th-cl__closing {
  margin-top: 24px;
  font-size: .88rem;
  font-family: system-ui, sans-serif;
  color: #111;
  line-height: 1.6;
}
.rc-th-cl__sig {
  margin-top: 40px;
  font-weight: 700;
}

/* ── Resume Summaries & Bullets ───────────────────────────── */
.rc-th-examples-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--white);
}
.rc-th-examples__block { padding: 24px 28px; }
.rc-th-examples__block + .rc-th-examples__block { border-top: 1px solid var(--border); }
.rc-th-examples__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 14px;
}
.rc-th-examples__label--strong { color: #065F46; }
.rc-th-examples__label--weak   { color: #991B1B; }
.rc-th-examples__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  flex-shrink: 0;
  line-height: 1;
}
.rc-th-examples__icon--strong { background: #D1FAE5; color: #065F46; }
.rc-th-examples__icon--weak   { background: #FEE2E2; color: #991B1B; }
.rc-th-examples__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rc-th-examples__item {
  font-size: .87rem;
  line-height: 1.65;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
}
.rc-th-examples__item::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--text-3);
}

/* ── Resume Checklist ──────────────────────────────────────── */
.rc-th-checklist-wrap {
  background: #ed4e34;
  border-radius: 16px;
  padding: 32px 36px 36px;
}
.rc-th-checklist__heading {
  color: #ffffff !important;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.rc-th-checklist-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 30px;
}
.rc-th-checklist-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px !important;
}
.rc-th-checklist-card__subtitle {
  font-size: .86rem;
  color: #6B7280;
  margin-bottom: 20px !important;
}
.rc-th-checklist__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rc-th-checklist__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid #E5E7EB;
  cursor: pointer;
  transition: background .12s, border-color .12s;
  user-select: none;
}
.rc-th-checklist__item:hover { background: #FFF4F2; border-color: #FCDDD8; }
.rc-th-checklist__item.is-checked { background: #FFF4F2; border-color: #FCDDD8; }
.rc-th-checklist__box {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 2px solid #D1D5DB;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s, border-color .12s;
}
.rc-th-checklist__item.is-checked .rc-th-checklist__box {
  background: #ed4e34;
  border-color: #ed4e34;
}
.rc-th-checklist__item.is-checked .rc-th-checklist__box::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2.5px solid #ffffff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}
.rc-th-checklist__text {
  font-size: .88rem;
  color: #374151;
  line-height: 1.5;
}
.rc-th-checklist__item.is-checked .rc-th-checklist__text {
  color: #9CA3AF;
  text-decoration: line-through;
}
.rc-th-checklist__footer { margin-top: 22px; }
.rc-th-checklist__bar-track {
  height: 8px;
  background: #F3F4F6;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
}
.rc-th-checklist__bar-fill {
  height: 100%;
  background: #ed4e34;
  border-radius: 100px;
  transition: width .3s ease;
}
.rc-th-checklist__progress {
  font-size: .84rem;
  color: #6B7280;
  margin: 0 !important;
}
.rc-th-checklist__cta-btn {
  display: block;
  margin-top: 20px;
  background: #ed4e34;
  color: #ffffff !important;
  font-weight: 700;
  font-size: .92rem;
  text-align: center;
  padding: 13px 20px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background .15s, box-shadow .15s;
}
.rc-th-checklist__cta-btn:hover {
  background: #d4441e;
  box-shadow: 0 4px 14px rgba(237,78,52,.35);
}

/* ── Mistakes (flat border-bottom) ────────────────────────── */
.rc-th-mistake-list { display: grid; gap: 0; }
.rc-th-mistake {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 18px 0;
  background: transparent;
}
.rc-th-mistake:last-child { border-bottom: none; }
.rc-th-mistake__header { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.rc-th-mistake__icon { font-size: 1.1rem; flex-shrink: 0; line-height: 1.5; }
.rc-th-mistake__header h3 { font-size: .98rem; margin: 0; }
.rc-th-mistake__fix {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: .88rem;
  color: #15803D;
  margin-top: 10px;
}
.rc-th-mistake__fix-label { font-weight: 700; margin-right: 4px; }

/* ── FAQ (flat border-bottom) ──────────────────────────────── */
.rc-th-faq-list { display: grid; gap: 0; }
.rc-th-faq-item {
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 18px 0;
  background: transparent;
}
.rc-th-faq-item:last-child { border-bottom: none; }
.rc-th-faq-item h3 { font-size: 1rem; color: var(--text); margin-bottom: 8px; }
.rc-th-faq-item p  { font-size: .9rem; margin: 0; }

/* ── Related ───────────────────────────────────────────────── */
.rc-th-related-links { display: flex; flex-wrap: wrap; gap: 10px; }
.rc-th-related-link {
  display: inline-block;
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: .88rem;
  color: var(--text-2);
  text-decoration: none;
  transition: background .12s, color .12s, border-color .12s;
}
.rc-th-related-link:hover {
  background: var(--brand-light);
  border-color: #FCDDD8;
  color: var(--brand);
  text-decoration: none;
}

/* ── Final CTA (gradient) ──────────────────────────────────── */
.rc-th-final-cta-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.rc-th-final-cta {
  background: linear-gradient(135deg, var(--brand) 0%, #FF6B4A 100%);
  border-radius: 14px;
  padding: 48px 40px;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.rc-th-final-cta h2 { color: var(--white); font-size: 1.75rem; margin-bottom: 12px; }
.rc-th-final-cta p  { color: rgba(255,255,255,.9); font-size: 1.02rem; margin-bottom: 28px; }
.rc-th-final-cta .rc-th-btn--primary {
  background: var(--white);
  color: var(--brand) !important;
  font-size: 1.05rem;
  padding: 16px 32px;
}
.rc-th-final-cta .rc-th-btn--primary:hover { box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.rc-th-final-cta__trust {
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-top: 14px !important;
  margin-bottom: 0 !important;
}

/* ── Hero Mockup Card ──────────────────────────────────────── */
.rc-th-hero-mockup { width: 340px; position: relative; border-radius: 10px; background: #ffffff; box-shadow: 0 8px 40px rgba(0,0,0,.22); overflow: hidden; }
.rc-th-hero-mockup__clip { height: 340px; overflow: hidden; position: relative; }
.rc-th-hero-doc { padding: 26px 26px 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
.rc-th-hero-doc__name { font-size: 1.1rem; font-weight: 700; color: #111827; letter-spacing: -.01em; margin-bottom: 3px; }
.rc-th-hero-doc__jobtitle { font-size: .82rem; font-weight: 600; color: #ed4e34; margin-bottom: 5px; }
.rc-th-hero-doc__contact { font-size: .64rem; color: #9CA3AF; line-height: 1.5; margin-bottom: 14px; }
.rc-th-hero-doc__divider { height: 1px; background: #E5E7EB; margin-bottom: 14px; }
.rc-th-hero-doc__skills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.rc-th-hero-doc__pill { font-size: .62rem; font-weight: 600; padding: 3px 9px; background: #FFF4F2; border: 1px solid #FCDDD8; color: #ed4e34; border-radius: 20px; white-space: nowrap; }
.rc-th-hero-doc__section { margin-bottom: 12px; }
.rc-th-hero-doc__label { font-size: .58rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #9CA3AF; margin-bottom: 7px; padding-bottom: 5px; border-bottom: 1px solid #F3F4F6; }
.rc-th-hero-doc__text { font-size: .72rem; color: #374151; line-height: 1.65; }
.rc-th-hero-mockup__fade { position: absolute; bottom: 0; left: 0; right: 0; height: 90px; background: linear-gradient(to bottom, transparent, #ed4e34); pointer-events: none; }

/* ── Responsibilities ──────────────────────────────────────── */
.rc-pseo-resp { margin-bottom: 48px; }
.rc-pseo-resp__intro { font-size: 1rem; color: var(--text-2); margin-bottom: 20px; line-height: 1.6; }
.rc-pseo-resp__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; padding: 0; }
.rc-pseo-resp__item { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--text); line-height: 1.55; }
.rc-pseo-resp__icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--brand-light); display: flex; align-items: center; justify-content: center; color: var(--brand); margin-top: 1px; }
@media (max-width: 640px) { .rc-pseo-resp__list { grid-template-columns: 1fr; } }

/* ── Resume Writing Tips ───────────────────────────────────── */
.rc-pseo-tips { margin-bottom: 48px; }
.rc-pseo-tips__intro { font-size: 1rem; color: var(--text-2); margin-bottom: 20px; line-height: 1.6; }
.rc-pseo-tips__list { list-style: none; display: flex; flex-direction: column; gap: 12px; padding: 0; }
.rc-pseo-tips__item { display: flex; align-items: flex-start; gap: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 14px 16px; }
.rc-pseo-tips__num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.rc-pseo-tips__text { font-size: .92rem; color: var(--text); line-height: 1.6; }

/* ── Market Insights ───────────────────────────────────────── */
.rc-pseo-mi { margin-bottom: 48px; }
.rc-pseo-mi__card { border-radius: 14px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.rc-pseo-mi__header { background: #ed4e34; padding: 28px 32px 24px; }
.rc-pseo-mi__title { font-size: 1.35rem; font-weight: 800; color: #ffffff !important; letter-spacing: -.02em; margin-bottom: 4px; }
.rc-pseo-mi__subtitle { font-size: .85rem; color: #ffffff !important; margin: 0; }
.rc-pseo-mi__body { background: #ffffff; padding: 28px 32px 32px; }
.rc-pseo-mi__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.rc-pseo-mi-item { display: flex; align-items: flex-start; gap: 12px; }
.rc-pseo-mi-item--full { grid-column: 1 / -1; }
.rc-pseo-mi-item__icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: #F3F4F6; display: flex; align-items: center; justify-content: center; color: #6B7280; margin-top: 2px; }
.rc-pseo-mi-item__content { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rc-pseo-mi-item__label { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--text-3); }
.rc-pseo-mi-item__value { font-size: .95rem; font-weight: 700; color: var(--text); line-height: 1.35; }
.rc-pseo-mi-item__certs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.rc-pseo-mi-cert { display: inline-block; font-size: .76rem; font-weight: 500; padding: 4px 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; color: var(--text-2); }
@media (max-width: 640px) {
  .rc-pseo-mi__grid { grid-template-columns: 1fr; }
  .rc-pseo-mi-item--full { grid-column: 1; }
  .rc-pseo-mi__header { padding: 20px 20px 18px; }
  .rc-pseo-mi__body { padding: 20px; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .rc-th-page-layout {
    grid-template-columns: 200px 1fr;
    grid-template-areas: "toc main" ". cta";
  }
  .rc-th-sidebar-cta { position: static; }
}

@media (max-width: 768px) {
  .rc-th-page-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "toc" "cta";
    padding: 20px 16px 60px;
    gap: 20px;
  }
  .rc-th-sidebar-toc { position: static; }
  .rc-th-sidebar-cta { position: static; }
  .rc-th-keywords { padding: 24px 20px; }
  .rc-th-resume-doc { padding: 24px 20px; }
  .rc-th-kw-cta-box { flex-direction: column; align-items: flex-start; }
  .rc-th-final-cta { padding: 36px 24px; }
}

@media (max-width: 640px) {
  .rc-th-brand-hero__inner { padding: 20px 16px 28px; }
  .rc-th-cert-list { grid-template-columns: 1fr; }
  .rc-th-final-cta h2 { font-size: 1.4rem; }
}

/* Force remove any Astra gaps between header and content */
body.rc-pseo-page .ast-below-header-wrap,
body.rc-pseo-page .ast-breadcrumbs-wrapper,
body.rc-pseo-page .ast-archive-description,
body.rc-pseo-page .ast-title-bar-wrap {
  display: none !important;
}

body.rc-pseo-page #content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
