/* ─────────────────────────────────────────────────────────────────
 * page-tool.css
 * Styles for the reusable Tool Page template (page-tool.php).
 * Scoped under body.page-template-page-tool-php so these rules can't
 * leak onto other page types, and so they don't fight Jobify's
 * global.css the way unscoped selectors would (per engineering
 * notes: Jobify applies !important on h1-h6 color via
 * --clr-heading on dark-background sections — scoping + explicit
 * overrides below account for that).
 *
 * NOTE: no global reset (*, body, a) here — Jobify's parent theme
 * already provides these. Re-declaring them at the page level risks
 * silently overriding theme-wide styles on every other page if this
 * file is ever accidentally enqueued sitewide instead of conditionally.
 * ───────────────────────────────────────────────────────────────── */

body.page-template-page-tool-php {
  background: #F4F8F6;
  font-size: 15px;
  line-height: 1.6;
}

/* ─── HERO ─────────────────────────────────── */
body.page-template-page-tool-php .hero {
  background: #174035;
  padding: 4rem 2rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* subtle grid texture */
body.page-template-page-tool-php .hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(46,139,114,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,139,114,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
body.page-template-page-tool-php .hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #2E8B72;
  background: rgba(46,139,114,0.12);
  border: 0.5px solid rgba(46,139,114,0.3);
  padding: 5px 12px; border-radius: 20px;
  margin-bottom: 1.25rem;
}
body.page-template-page-tool-php .hero-eyebrow i { font-size: 13px; }
body.page-template-page-tool-php .hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  max-width: 640px; margin: 0 auto 0.75rem;
  line-height: 1.2;
}
body.page-template-page-tool-php .hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.6);
  max-width: 520px; margin: 0 auto 2rem;
  line-height: 1.6;
}
body.page-template-page-tool-php .hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  max-width: 700px; margin: 0 auto;
}
body.page-template-page-tool-php .hero-trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: rgba(255,255,255,0.55);
  padding: 5px 14px;
  border-left: 0.5px solid rgba(255,255,255,0.1);
}
body.page-template-page-tool-php .hero-trust-item:first-child { border-left: none; }
body.page-template-page-tool-php .hero-trust-item i { font-size: 13px; color: #2E8B72; flex-shrink: 0; }

/* ─── LAYOUT ───────────────────────────────── */
body.page-template-page-tool-php .page-wrap {
  max-width: 1100px; margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
body.page-template-page-tool-php .page-wrap--shortcode-only {
  display: block;
  max-width: none;
  padding: 0;
  width: 100%;
}
body.page-template-page-tool-php .cj-tool-content {
  width: 100%;
  max-width: none;
}
body.page-template-page-tool-php .main-col { display: flex; flex-direction: column; gap: 2rem; }
body.page-template-page-tool-php .sidebar-col { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 78px; }

/* ─── SECTION SHELL ────────────────────────── */
body.page-template-page-tool-php .section {
  background: #fff;
  border: 0.5px solid #D8E8E4;
  border-radius: 14px;
  overflow: hidden;
}
body.page-template-page-tool-php .section-head {
  display: flex; align-items: center; gap: 10px;
  padding: 1.25rem 1.5rem;
  border-bottom: 0.5px solid #D8E8E4;
}
body.page-template-page-tool-php .section-title { font-size: 14px; font-weight: 700; color: #174035; }
body.page-template-page-tool-php .section-body { padding: 1.5rem; }
body.page-template-page-tool-php .tool-page-admin-notice {
  color: #DC2626;
  font-size: 13px;
  margin: 0;
}

/* ─── CALCULATOR ───────────────────────────── */
body.page-template-page-tool-php .calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
body.page-template-page-tool-php .form-group { display: flex; flex-direction: column; gap: 5px; }
body.page-template-page-tool-php .form-group.full { grid-column: 1 / -1; }
body.page-template-page-tool-php label { font-size: 11px; font-weight: 700; color: #8a9aaa; letter-spacing: 0.06em; text-transform: uppercase; }
body.page-template-page-tool-php .input-wrap { position: relative; }
body.page-template-page-tool-php .input-prefix {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-size: 12px; font-weight: 600; color: #8a9aaa;
}
body.page-template-page-tool-php input[type="number"]:not(.csc-salary-input):not(.csc-pct-input),
body.page-template-page-tool-php select:not(.csc-select) {
  width: 100%;
  background: #F4F8F6;
  border: 0.5px solid #D8E8E4;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px; font-weight: 500;
  color: #174035;
  font-family: inherit;
  outline: none;
  -webkit-appearance: none;
  transition: border-color 0.15s;
}
body.page-template-page-tool-php input[type="number"]:not(.csc-salary-input):not(.csc-pct-input):focus,
body.page-template-page-tool-php select:not(.csc-select):focus { border-color: #2E8B72; background: #fff; }
body.page-template-page-tool-php .input-with-prefix input { padding-left: 46px; }
body.page-template-page-tool-php .select-wrap { position: relative; }
body.page-template-page-tool-php .select-wrap::after {
  content: '';
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #8a9aaa;
  pointer-events: none;
}
body.page-template-page-tool-php .calc-toggle { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-top: 0.5px solid #F4F8F6; margin-top: 0.5rem; }
body.page-template-page-tool-php .calc-toggle-label { font-size: 13px; font-weight: 500; color: #4a5a6a; }
body.page-template-page-tool-php .toggle { position: relative; width: 38px; height: 21px; }
body.page-template-page-tool-php .toggle input { opacity: 0; width: 0; height: 0; }
body.page-template-page-tool-php .toggle-track {
  position: absolute; inset: 0;
  background: #D8E8E4; border-radius: 21px;
  cursor: pointer; transition: background 0.2s;
}
body.page-template-page-tool-php .toggle input:checked + .toggle-track { background: #2E8B72; }
body.page-template-page-tool-php .toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 15px; height: 15px;
  background: #fff; border-radius: 50%;
  transition: transform 0.2s;
  pointer-events: none;
}
body.page-template-page-tool-php .toggle input:checked ~ .toggle-thumb { transform: translateX(17px); }
body.page-template-page-tool-php .calc-btn {
  width: 100%; margin-top: 1.25rem;
  background: #2E8B72; color: #fff;
  border: none; border-radius: 10px;
  padding: 13px; font-size: 14px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background 0.15s;
}
body.page-template-page-tool-php .calc-btn:hover { background: #207A61; }
body.page-template-page-tool-php .calc-btn i { font-size: 16px; }

/* results */
body.page-template-page-tool-php .results-box {
  background: #174035; border-radius: 12px;
  padding: 1.5rem; margin-top: 1.25rem;
  display: none;
}
body.page-template-page-tool-php .results-box.visible { display: block; }
body.page-template-page-tool-php .results-headline { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.45); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
body.page-template-page-tool-php .result-primary {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 1rem; padding-bottom: 1rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.12);
}
body.page-template-page-tool-php .result-primary-label { font-size: 13px; color: rgba(255,255,255,0.6); }
body.page-template-page-tool-php .result-primary-value { font-size: 28px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
body.page-template-page-tool-php .result-primary-value small { font-size: 14px; font-weight: 500; }
body.page-template-page-tool-php .result-rows { display: flex; flex-direction: column; gap: 8px; }
body.page-template-page-tool-php .result-row { display: flex; justify-content: space-between; align-items: center; }
body.page-template-page-tool-php .result-row-label { font-size: 12px; color: rgba(255,255,255,0.5); }
body.page-template-page-tool-php .result-row-value { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); }
body.page-template-page-tool-php .result-row-value.deduction { color: #F87171; }
body.page-template-page-tool-php .result-divider { height: 0.5px; background: rgba(255,255,255,0.1); margin: 6px 0; }

/* ─── YEAR ROWS ────────────────────────────── */
body.page-template-page-tool-php .year-row { display: flex; align-items: center; gap: 10px; }
body.page-template-page-tool-php .year-row-label { font-size: 12px; font-weight: 600; color: #174035; width: 52px; flex-shrink: 0; }
body.page-template-page-tool-php .year-row-required { display: block; font-size: 10px; font-weight: 500; color: #2E8B72; }
body.page-template-page-tool-php .year-row-inflation { font-size: 11px; font-weight: 600; color: #8a9aaa; white-space: nowrap; width: 90px; text-align: right; flex-shrink: 0; }
body.page-template-page-tool-php .year-row-inflation.muted { color: #F59E0B; }

/* ─── INSIGHT STRIP ────────────────────────── */
body.page-template-page-tool-php .insight-strip {
  background: #174035;
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
body.page-template-page-tool-php .insight-left {}
body.page-template-page-tool-php .insight-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #2E8B72; margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 5px;
}
body.page-template-page-tool-php .insight-eyebrow i { font-size: 12px; }
body.page-template-page-tool-php .insight-heading {
  font-size: 15px; font-weight: 700; color: #fff;
  margin-bottom: 1rem; line-height: 1.3;
}
body.page-template-page-tool-php .insight-stats {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
}
body.page-template-page-tool-php .insight-stat {}
body.page-template-page-tool-php .insight-stat-label {
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 3px;
}
body.page-template-page-tool-php .insight-stat-value {
  font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.3px;
}
body.page-template-page-tool-php .insight-stat-value small { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.5); }
body.page-template-page-tool-php .insight-divider {
  width: 0.5px; background: rgba(255,255,255,0.1);
  align-self: stretch;
}
body.page-template-page-tool-php .insight-right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
body.page-template-page-tool-php .insight-tax-note {
  background: rgba(46,139,114,0.15);
  border: 0.5px solid rgba(46,139,114,0.3);
  border-radius: 8px; padding: 10px 14px;
  font-size: 12px; color: rgba(255,255,255,0.7);
  line-height: 1.5; max-width: 220px; text-align: right;
}
body.page-template-page-tool-php .insight-tax-note strong { color: #fff; }
body.page-template-page-tool-php .insight-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12px; font-weight: 600; color: #2E8B72;
}
body.page-template-page-tool-php .insight-link:hover { color: #4db896; }
body.page-template-page-tool-php .insight-link i { font-size: 13px; }

/* ─── LAST UPDATED (sidebar) ───────────────── */
body.page-template-page-tool-php .updated-card {
  background: #fff; border: 0.5px solid #D8E8E4;
  border-radius: 12px; overflow: hidden;
}
body.page-template-page-tool-php .updated-rows { display: flex; flex-direction: column; }
body.page-template-page-tool-php .updated-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 1.1rem; border-bottom: 0.5px solid #F4F8F6;
  gap: 1rem;
}
body.page-template-page-tool-php .updated-row:last-child { border-bottom: none; }
body.page-template-page-tool-php .updated-row-label { font-size: 11px; color: #8a9aaa; }
body.page-template-page-tool-php .updated-row-value { font-size: 12px; font-weight: 600; color: #174035; text-align: right; }
body.page-template-page-tool-php .updated-row-value.next { color: #8a9aaa; font-weight: 500; }
body.page-template-page-tool-php .steps { display: flex; flex-direction: column; gap: 0; }
body.page-template-page-tool-php .step { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 0.5px solid #F4F8F6; }
body.page-template-page-tool-php .step:last-child { border-bottom: none; padding-bottom: 0; }
body.page-template-page-tool-php .step-icon {
  width: 36px; height: 36px; border-radius: 9px;
  background: #E6F3EF; color: #2E8B72;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0; margin-top: 2px;
}
body.page-template-page-tool-php .step-text h4 { font-size: 13px; font-weight: 700; color: #174035; margin-bottom: 3px; }
body.page-template-page-tool-php .step-text p { font-size: 13px; color: #6B7280; line-height: 1.5; }

/* ─── FAQ ──────────────────────────────────── */
body.page-template-page-tool-php .faq-item { border-bottom: 0.5px solid #F4F8F6; }
body.page-template-page-tool-php .faq-item:last-child { border-bottom: none; }
body.page-template-page-tool-php .faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; cursor: pointer; gap: 1rem;
  width: 100%;
  background: transparent;
  border: 0;
  font-family: inherit;
  text-align: left;
}
body.page-template-page-tool-php .faq-q-text { font-size: 13px; font-weight: 600; color: #174035; line-height: 1.4; }
body.page-template-page-tool-php .faq-icon { font-size: 16px; color: #2E8B72; flex-shrink: 0; transition: transform 0.2s; }
body.page-template-page-tool-php .faq-item.open .faq-icon { transform: rotate(45deg); }
body.page-template-page-tool-php .faq-a { font-size: 13px; color: #6B7280; line-height: 1.6; padding-bottom: 1rem; display: none; }
body.page-template-page-tool-php .faq-item.open .faq-a { display: block; }

/* ─── RELATED ARTICLES ─────────────────────── */
body.page-template-page-tool-php .articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
body.page-template-page-tool-php .article-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px; border: 0.5px solid #D8E8E4;
  border-radius: 10px; background: #F8FCFA;
  transition: border-color 0.15s;
}
body.page-template-page-tool-php .article-card:hover { border-color: #B8DDD5; }
body.page-template-page-tool-php .article-card.is-disabled,
body.page-template-page-tool-php .tool-card.is-disabled {
  cursor: default;
}
body.page-template-page-tool-php .article-thumb {
  width: 52px; height: 52px; border-radius: 8px; flex-shrink: 0;
  overflow: hidden;
  background: #E6F3EF; display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #2E8B72;
}
body.page-template-page-tool-php .article-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.page-template-page-tool-php .article-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.page-template-page-tool-php .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 10px;
  color: #8a9aaa;
}
body.page-template-page-tool-php .article-meta span + span::before {
  content: "/";
  margin-right: 8px;
  color: #B8C8C4;
}
body.page-template-page-tool-php .article-title { font-size: 13px; font-weight: 600; color: #174035; line-height: 1.4; }
body.page-template-page-tool-php .article-title:hover { color: #2E8B72; }
body.page-template-page-tool-php .article-card-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  color: #2E8B72;
  font-size: 11px;
  font-weight: 700;
}

body.page-template-page-tool-php .cj-tool-related-articles-section {
  order: 70;
}

/* ─── RELATED TOOLS ────────────────────────── */
body.page-template-page-tool-php .tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
body.page-template-page-tool-php .tool-card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 14px; border: 0.5px solid #D8E8E4;
  border-radius: 10px; background: #fff;
  transition: border-color 0.15s;
  cursor: pointer;
}
body.page-template-page-tool-php .tool-card:hover { border-color: #B8DDD5; }
body.page-template-page-tool-php .tool-card.is-coming-soon {
  cursor: default;
}
body.page-template-page-tool-php .tool-card-status {
  align-self: flex-start;
  margin-top: auto;
  padding: 5px 9px;
  border-radius: 999px;
  background: #E6F3EF;
  color: #174035;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.page-template-page-tool-php .tool-card-icon { font-size: 20px; color: #2E8B72; }
body.page-template-page-tool-php .tool-card-name { font-size: 13px; font-weight: 700; color: #174035; }
body.page-template-page-tool-php .tool-card-desc { font-size: 11px; color: #8a9aaa; line-height: 1.4; }
body.page-template-page-tool-php .tool-card-link { font-size: 11px; font-weight: 600; color: #2E8B72; display: flex; align-items: center; gap: 4px; margin-top: 2px; }

body.page-template-page-tool-php .cj-tool-related-tools-section {
  order: 60;
}

/* ─── CTA ──────────────────────────────────── */
body.page-template-page-tool-php .cta-section {
  order: 80;
  background: linear-gradient(135deg, #174035 0%, #2E8B72 100%);
  border-radius: 14px; padding: 2rem 1.5rem;
  text-align: center;
  border: none;
}
body.page-template-page-tool-php .cta-section .section-head { border: none; padding: 0; margin-bottom: 0; }
body.page-template-page-tool-php .cta-icon { font-size: 32px; color: rgba(255,255,255,0.25); margin-bottom: 0.75rem; }
body.page-template-page-tool-php .cta-h { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 0.5rem; letter-spacing: -0.2px; }
body.page-template-page-tool-php .cta-sub { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; line-height: 1.5; }
body.page-template-page-tool-php .cta-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
body.page-template-page-tool-php .btn-cta-primary {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: #174035;
  padding: 11px 22px; border-radius: 9px;
  font-size: 13px; font-weight: 700;
}
body.page-template-page-tool-php .btn-cta-primary:visited { color: #174035; }
body.page-template-page-tool-php .btn-cta-primary:hover { background: #E6F3EF; color: #174035; }
body.page-template-page-tool-php .btn-cta-secondary {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: rgba(255,255,255,0.85);
  border: 0.5px solid rgba(255,255,255,0.3);
  padding: 11px 22px; border-radius: 9px;
  font-size: 13px; font-weight: 600;
}
body.page-template-page-tool-php .btn-cta-secondary:visited { color: rgba(255,255,255,0.85); }
body.page-template-page-tool-php .btn-cta-secondary:hover { background: rgba(255,255,255,0.08); color: #fff; }
body.page-template-page-tool-php .btn-cta-primary:focus-visible,
body.page-template-page-tool-php .btn-cta-secondary:focus-visible {
  outline: 3px solid rgba(167,223,208,0.72);
  outline-offset: 3px;
}

/* ─── TOOL NEWSLETTER ─────────────────────── */
body.page-template-page-tool-php .cj-tool-newsletter {
  max-width: 1100px;
  margin: 0 auto 2.5rem;
  padding: 0 2rem;
}

body.page-template-page-tool-php .cj-tool-newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem;
  border: 0.5px solid #D8E8E4;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(23,64,53,0.06), 0 14px 38px rgba(23,64,53,0.07);
}

body.page-template-page-tool-php .cj-tool-newsletter h2 {
  margin: 0 0 0.4rem;
  color: #174035;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

body.page-template-page-tool-php .cj-tool-newsletter p {
  margin: 0;
  color: #6B7280;
  font-size: 13px;
  line-height: 1.55;
}

body.page-template-page-tool-php .cj-tool-newsletter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 9px;
  background: #2E8B72;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

body.page-template-page-tool-php .cj-tool-newsletter-button:hover,
body.page-template-page-tool-php .cj-tool-newsletter-button:focus {
  background: #207A61;
  color: #fff;
}

body.page-template-page-tool-php .cj-tool-newsletter-note {
  margin-top: 8px;
  color: #8a9aaa;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

/* ─── SIDEBAR CARDS ────────────────────────── */
body.page-template-page-tool-php .sidebar-card {
  background: #fff; border: 0.5px solid #D8E8E4;
  border-radius: 12px; overflow: hidden;
}
body.page-template-page-tool-php .sidebar-card-head {
  display: flex; align-items: center; gap: 8px;
  padding: 0.9rem 1.1rem; border-bottom: 0.5px solid #D8E8E4;
  font-size: 12px; font-weight: 700; color: #174035;
}
body.page-template-page-tool-php .sidebar-card-head i { font-size: 15px; color: #2E8B72; }
body.page-template-page-tool-php .updated-card-head {
  padding: 0.9rem 1.1rem;
}
body.page-template-page-tool-php .sidebar-card-body { padding: 1rem 1.1rem; }

/* tax rates table */
body.page-template-page-tool-php .rates-table { width: 100%; border-collapse: collapse; }
body.page-template-page-tool-php .rates-table th { font-size: 10px; font-weight: 700; color: #8a9aaa; letter-spacing: 0.06em; text-transform: uppercase; padding: 0 0 7px; text-align: left; }
body.page-template-page-tool-php .rates-table td { font-size: 12px; padding: 6px 0; border-top: 0.5px solid #F4F8F6; vertical-align: top; }
body.page-template-page-tool-php .rates-table td:last-child { text-align: right; font-weight: 600; color: #174035; }
body.page-template-page-tool-php .rates-table td.is-highlighted {
  color: #F59E0B;
  font-weight: 700;
}
body.page-template-page-tool-php .rate-band { font-size: 11px; color: #8a9aaa; display: block; }
body.page-template-page-tool-php .rates-note {
  font-size: 11px;
  color: #8a9aaa;
  margin-top: 10px;
  line-height: 1.4;
}

/* share */
body.page-template-page-tool-php .share-btns { display: flex; gap: 7px; flex-wrap: wrap; }
body.page-template-page-tool-php .share-btn {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; color: #5a6a7a;
  padding: 7px 12px; border-radius: 7px;
  border: 0.5px solid #D8E8E4; background: #fff;
  cursor: pointer; font-family: inherit;
}
body.page-template-page-tool-php .share-btn:hover { border-color: #B8DDD5; color: #174035; }
body.page-template-page-tool-php .share-btn i { font-size: 14px; }
body.page-template-page-tool-php .share-btn.is-copied {
  border-color: #2E8B72;
  color: #174035;
}

/* hiring card */
body.page-template-page-tool-php .hiring-card {
  background: linear-gradient(135deg,#174035,#2a7a64);
  border-color: #2E8B72;
}
body.page-template-page-tool-php .hiring-card-body {
  padding: 1.25rem;
}
body.page-template-page-tool-php .hiring-card-icon {
  font-size: 22px;
  color: rgba(255,255,255,0.2);
  margin-bottom: 8px;
}
body.page-template-page-tool-php .hiring-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  line-height: 1.3;
}
body.page-template-page-tool-php .hiring-card-text {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
  line-height: 1.5;
}
body.page-template-page-tool-php .hiring-card-link {
  display: block;
  text-align: center;
  background: #fff;
  color: #174035;
  border-radius: 8px;
  padding: 9px;
  font-size: 13px;
  font-weight: 700;
}
body.page-template-page-tool-php .hiring-card-link.is-disabled {
  opacity: 0.55;
  cursor: default;
}

/* disclaimer */
body.page-template-page-tool-php .disclaimer {
  font-size: 11px; color: #8a9aaa; line-height: 1.5;
  padding: 0.9rem 1.1rem;
  border-top: 0.5px solid #D8E8E4;
}

/* breadcrumb */
body.page-template-page-tool-php .breadcrumb {
  font-size: 12px; color: #8a9aaa;
  display: flex; align-items: center; gap: 6px;
  padding: 1rem 2rem;
  max-width: 1100px; margin: 0 auto;
}
body.page-template-page-tool-php .breadcrumb a { color: #8a9aaa; }
body.page-template-page-tool-php .breadcrumb a:hover { color: #2E8B72; }
body.page-template-page-tool-php .breadcrumb i { font-size: 12px; }

/* ─── FOOTER ───────────────────────────────── */
body.page-template-page-tool-php .footer {
  border-top: 0.5px solid #D8E8E4; background: #fff;
  padding: 1.5rem 2rem; margin-top: 2rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: #8a9aaa; flex-wrap: wrap; gap: 1rem;
}
body.page-template-page-tool-php .footer-logo { font-size: 14px; font-weight: 700; color: #174035; font-style: italic; }

/* ─── RESPONSIVE ───────────────────────────── */
@media (max-width: 860px) {
  body.page-template-page-tool-php .page-wrap { grid-template-columns: 1fr; }
  body.page-template-page-tool-php .sidebar-col { position: static; }
  body.page-template-page-tool-php .calc-grid { grid-template-columns: 1fr; }
  body.page-template-page-tool-php .tools-grid { grid-template-columns: 1fr; }
  body.page-template-page-tool-php .hero { padding: 2.5rem 1.25rem 2rem; }
  body.page-template-page-tool-php .cj-tool-newsletter-inner { grid-template-columns: 1fr; }
  body.page-template-page-tool-php .cj-tool-newsletter-action { width: 100%; }
  body.page-template-page-tool-php .cj-tool-newsletter-button { width: 100%; }
}

/* Career Intelligence refinement */
body.page-template-page-tool-php {
  scroll-behavior: smooth;
}

body.page-template-page-tool-php .hero {
  padding: 5rem 2rem 4rem;
  text-align: left;
}

body.page-template-page-tool-php .hero::before {
  background:
    radial-gradient(circle at 78% 34%, rgba(167,223,208,0.24), transparent 28%),
    radial-gradient(circle at 92% 72%, rgba(46,139,114,0.22), transparent 34%),
    radial-gradient(circle at 16% 18%, rgba(255,255,255,0.07), transparent 26%);
  background-size: auto;
}

body.page-template-page-tool-php .hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 4rem;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
}

body.page-template-page-tool-php .hero h1 {
  max-width: 680px;
  margin: 0 0 1rem;
  color: #fff;
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: 0;
}

body.page-template-page-tool-php .hero-sub {
  max-width: 560px;
  margin: 0 0 1.75rem;
  color: rgba(255,255,255,0.74);
}

body.page-template-page-tool-php .hero-read-time {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 1.55rem;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

body.page-template-page-tool-php .hero-read-time i {
  color: #A7DFD0;
  font-size: 15px;
}

body.page-template-page-tool-php .hero-trust {
  justify-content: flex-start;
  margin: 0;
}

body.page-template-page-tool-php .hero-trust-item {
  border-left: 0;
  padding: 4px 0;
  margin-right: 18px;
  color: rgba(255,255,255,0.74);
}

body.page-template-page-tool-php .hero-cta-wrap {
  display: flex;
  margin-bottom: 1.35rem;
}

body.page-template-page-tool-php .hero-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  background: #2E8B72;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

body.page-template-page-tool-php .hero-primary-cta:hover {
  background: #207A61;
  color: #fff;
}

body.page-template-page-tool-php .hero-primary-cta:focus-visible {
  outline: 3px solid rgba(167,223,208,0.72);
  outline-offset: 3px;
}

body.page-template-page-tool-php .hero-preview {
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  background:
    radial-gradient(ellipse at 88% 18%, rgba(167,223,208,0.18), transparent 48%),
    rgba(5,32,27,0.34);
  box-shadow: 0 30px 80px rgba(0,0,0,0.22);
  backdrop-filter: blur(8px);
}

body.page-template-page-tool-php .hero-preview-label {
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.38);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body.page-template-page-tool-php .hero-preview-feature {
  margin-bottom: 10px;
  padding: 16px;
  border: 0.5px solid rgba(46,139,114,0.34);
  border-radius: 12px;
  background: rgba(46,139,114,0.18);
}

body.page-template-page-tool-php .hero-preview-feature strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

body.page-template-page-tool-php .hero-preview-feature span {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,0.62);
  font-size: 12px;
}

body.page-template-page-tool-php .hero-preview-feature em {
  display: inline-flex;
  margin-top: 12px;
  color: #A7DFD0;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-sub {
  margin-bottom: 0.75rem;
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-year-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0.85rem 0 1rem;
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-year-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 9px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-year-btn:hover {
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.9);
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-year-btn[aria-current="page"] {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-preview-feature {
  margin-bottom: 12px;
  padding: 1.25rem;
  border: 1px solid rgba(167,223,208,0.22);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 18px 42px rgba(0,0,0,0.14);
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-preview-feature strong {
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.14;
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-preview-feature span {
  margin-top: 7px;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  font-weight: 600;
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-preview-feature em {
  margin-top: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(167,223,208,0.14);
  color: #D7F4EC;
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-template-page-tool-php .hero-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

body.page-template-page-tool-php .hero-preview-stat {
  padding: 14px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
}

body.page-template-page-tool-php .hero-preview-stat strong {
  display: block;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

body.page-template-page-tool-php .hero-preview-stat span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,0.45);
  font-size: 11px;
}

body.page-template-page-tool-php .hero-preview-note {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 10px;
  padding: 14px;
  border: 0.5px solid rgba(46,139,114,0.36);
  border-radius: 10px;
  background: rgba(46,139,114,0.15);
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  line-height: 1.45;
}

body.page-template-page-tool-php .hero-preview-note i {
  color: #A7DFD0;
  font-size: 20px;
}

body.page-template-page-tool-php .section {
  box-shadow: 0 2px 8px rgba(23,64,53,0.06), 0 14px 38px rgba(23,64,53,0.07);
}

body.page-template-page-tool-php .sidebar-check,
body.page-template-page-tool-php .sidebar-source {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  color: #4a5a6a;
  font-size: 12px;
  line-height: 1.45;
}

body.page-template-page-tool-php .sidebar-check i,
body.page-template-page-tool-php .sidebar-source i {
  margin-top: 2px;
  color: #2E8B72;
  flex: 0 0 auto;
}

body.page-template-page-tool-php .trust-statement,
body.page-template-page-tool-php .sidebar-next-copy {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 0.5px solid #D8E8E4;
  color: #8a9aaa;
  font-size: 11px;
  line-height: 1.55;
}

body.page-template-page-tool-php .sidebar-primary-link,
body.page-template-page-tool-php .sidebar-tool-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 0.5px solid #D8E8E4;
  border-radius: 8px;
  color: #174035;
  font-size: 12px;
  font-weight: 700;
}

body.page-template-page-tool-php .sidebar-primary-link {
  margin-top: 12px;
  justify-content: center;
  background: #2E8B72;
  border-color: #2E8B72;
  color: #fff;
}

body.page-template-page-tool-php .sidebar-tool-link + .sidebar-tool-link,
body.page-template-page-tool-php .sidebar-tool-link + .sidebar-tool-link.is-disabled {
  margin-top: 8px;
}

body.page-template-page-tool-php .sidebar-tool-link.is-disabled {
  cursor: default;
  color: #8a9aaa;
  background: #F8FCFA;
}

/* Tool Page visual alignment pass */
body.page-template-page-tool-php .hero::before {
  background:
    radial-gradient(ellipse 58% 42% at 74% 22%, rgba(167,223,208,0.22), transparent 64%),
    radial-gradient(ellipse 46% 36% at 92% 72%, rgba(46,139,114,0.20), transparent 68%),
    radial-gradient(ellipse 44% 30% at 16% 12%, rgba(255,255,255,0.07), transparent 68%),
    linear-gradient(135deg, rgba(255,255,255,0.03), transparent 48%);
  background-size: auto;
}

body.page-template-page-tool-php .hero h1,
body.page-template-page-tool-php .hero .entry-title,
body.page-template-page-tool-php .hero .page-title {
  color: #fff !important;
}

body.page-template-page-tool-php .hero-sub {
  color: rgba(255,255,255,0.76) !important;
}

body.page-template-page-tool-php .hero-trust-item {
  color: rgba(235,255,249,0.78) !important;
}

body.page-template-page-tool-php .hero-trust-item i {
  color: #A7DFD0;
}

body.page-template-page-tool-php .steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body.page-template-page-tool-php .step {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  min-width: 0;
  padding: 1.1rem;
  border: 0.5px solid #D8E8E4;
  border-radius: 12px;
  background: #F8FCFA;
}

body.page-template-page-tool-php .step,
body.page-template-page-tool-php .step:last-child {
  padding-bottom: 1.1rem;
  border-bottom: 0.5px solid #D8E8E4;
}

body.page-template-page-tool-php .step-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #E6F3EF;
  color: #174035;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 0;
}

body.page-template-page-tool-php .cj-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.page-template-page-tool-php .cj-faq-item {
  background: #fff;
  border: 0.5px solid #D8E8E4;
  border-radius: 10px;
  overflow: hidden;
}

body.page-template-page-tool-php .cj-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 1rem 1.25rem;
  border: 0;
  background: transparent;
  color: #174035;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  user-select: none;
}

body.page-template-page-tool-php .cj-faq-q:focus-visible {
  outline: 3px solid rgba(46,139,114,0.22);
  outline-offset: -3px;
}

body.page-template-page-tool-php .cj-faq-q i {
  color: #8a9aaa;
  font-size: 16px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

body.page-template-page-tool-php .cj-faq-item.cj-faq-open .cj-faq-q i {
  transform: rotate(180deg);
}

body.page-template-page-tool-php .cj-faq-a {
  display: none;
  padding: 0.875rem 1.25rem 1rem;
  border-top: 0.5px solid #D8E8E4;
  color: #4a5a6a;
  font-size: 13px;
  line-height: 1.75;
}

body.page-template-page-tool-php .cj-faq-item.cj-faq-open .cj-faq-a {
  display: block;
}

@media (max-width: 860px) {
  body.page-template-page-tool-php .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  body.page-template-page-tool-php .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Salary Calculator output clarity and interaction cleanup. */
body.page-template-page-tool-php .cj-tool-page--salary-calculator .csc-flow-deduct {
  display: block;
  padding: 12px 14px;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-csc-flow-deduct-title {
  margin-bottom: 8px;
  color: #8a6f2f;
  font-size: 0.78rem;
  font-weight: 800;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-csc-flow-deduct-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-csc-flow-deduct-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
  color: #8a6f2f;
  font-size: 0.72rem;
  line-height: 1.4;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-csc-flow-deduct-row-label {
  min-width: 0;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-csc-flow-deduct-row .csc-money-value,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-csc-flow-total-value {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 0.34em;
  color: #B7791F;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-csc-flow-deduct-row.is-total {
  margin-top: 2px;
  padding-top: 7px;
  border-top: 1px solid rgba(183,121,31,0.2);
  color: #6b5f3f;
  font-weight: 800;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .csc-pt-info summary:hover {
  border-color: #2E8B72;
  color: #174035;
  background: #F4F8F6;
}

body.page-template-page-tool-php .hero.cj-tool-page--salary-calculator .hero-primary-cta,
body.page-template-page-tool-php .hero.cj-tool-page--salary-calculator .hero-primary-cta:hover,
body.page-template-page-tool-php .hero.cj-tool-page--salary-calculator .hero-primary-cta:focus,
body.page-template-page-tool-php .page-wrap.cj-tool-page--salary-calculator a,
body.page-template-page-tool-php .page-wrap.cj-tool-page--salary-calculator a:hover,
body.page-template-page-tool-php .page-wrap.cj-tool-page--salary-calculator a:focus,
body.page-template-page-tool-php .breadcrumb.cj-tool-page--salary-calculator a,
body.page-template-page-tool-php .breadcrumb.cj-tool-page--salary-calculator a:hover,
body.page-template-page-tool-php .breadcrumb.cj-tool-page--salary-calculator a:focus,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology summary,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology summary:hover,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology summary:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  background-image: none;
}

body.page-template-page-tool-php .breadcrumb.cj-tool-page--salary-calculator a,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .insight-link,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-faq-a a,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology summary {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .sidebar-primary-link,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .sidebar-tool-link,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .hiring-card-link,
body.page-template-page-tool-php .cj-tool-page--salary-calculator [data-cj-share][href] {
  box-shadow: none !important;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-faq-a a:hover {
  color: #207A61;
  opacity: 0.84;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .insight-link i,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .article-card-link i,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .sidebar-tool-link i {
  transition: transform 0.15s ease;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .insight-link:hover i,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .article-card:hover .article-card-link i,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .sidebar-tool-link:hover i {
  transform: translateX(2px);
}

@media (max-width: 600px) {
  body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-csc-flow-deduct-row {
    gap: 10px;
  }

  body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-csc-flow-deduct-row-label {
    max-width: 62%;
  }
}

@media (max-width: 560px) {
  body.page-template-page-tool-php .steps {
    grid-template-columns: 1fr;
  }
}

/* Salary Calculator refinement pass 2 */
body.page-template-page-tool-php .hero::before {
  background:
    radial-gradient(ellipse 62% 82% at 72% 48%, rgba(46,139,114,0.20) 0%, transparent 70%),
    radial-gradient(ellipse 38% 54% at 94% 82%, rgba(167,223,208,0.12) 0%, transparent 68%),
    radial-gradient(ellipse 46% 40% at 14% 8%, rgba(255,255,255,0.06) 0%, transparent 70%);
}

body.page-template-page-tool-php .section-intro {
  max-width: 620px;
  margin: 0 0 1.35rem;
  color: #4a5a6a;
  font-size: 14px;
  line-height: 1.65;
}

body.page-template-page-tool-php .tool-card {
  min-height: 165px;
  padding: 1.25rem;
  border-radius: 14px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

body.page-template-page-tool-php .tool-card:hover {
  border-color: #2E8B72;
  box-shadow: 0 2px 8px rgba(23,64,53,0.08), 0 12px 34px rgba(23,64,53,0.08);
  transform: translateY(-1px);
}

body.page-template-page-tool-php .tool-card-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #E6F3EF;
  font-size: 18px;
  color: #2E8B72;
}

body.page-template-page-tool-php .tool-card-name {
  font-size: 14px;
}

body.page-template-page-tool-php .tool-card-desc {
  color: #4a5a6a;
  font-size: 12px;
  line-height: 1.5;
}

body.page-template-page-tool-php .tool-card-link {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
}

body.page-template-page-tool-php .article-card {
  min-height: 112px;
  padding: 1.1rem;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

body.page-template-page-tool-php .article-card:hover {
  border-color: #2E8B72;
  box-shadow: 0 2px 8px rgba(23,64,53,0.08);
}

body.page-template-page-tool-php .article-title {
  font-size: 14px;
  font-weight: 700;
}

/* Salary Calculator final section alignment */
body.page-template-page-tool-php .cj-tool-how-section,
body.page-template-page-tool-php .cj-tool-faq-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

body.page-template-page-tool-php .cj-tool-how-section .section-head,
body.page-template-page-tool-php .cj-tool-faq-section .section-head {
  display: block;
  padding: 0;
  margin: 0 0 1.35rem;
  border: 0;
}

body.page-template-page-tool-php .cj-tool-how-section .section-body,
body.page-template-page-tool-php .cj-tool-faq-section .section-body {
  padding: 0;
}

body.page-template-page-tool-php .section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.45rem;
  color: #2E8B72;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

body.page-template-page-tool-php .section-heading {
  margin: 0;
  color: #174035;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
}

body.page-template-page-tool-php .cj-tool-how-section .section-intro {
  margin-bottom: 1.35rem;
}

body.page-template-page-tool-php .cj-tool-how-section .steps {
  margin: 0;
}

body.page-template-page-tool-php .cj-tool-faq-section .cj-faq-list {
  margin: 0;
}

/* Salary Calculator final visual polish */
body.page-template-page-tool-php .hero-primary-cta,
body.page-template-page-tool-php .hero-primary-cta:visited {
  background: #F8FFFC;
  border: 1px solid rgba(167,223,208,0.55);
  color: #174035 !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

body.page-template-page-tool-php .hero-primary-cta i,
body.page-template-page-tool-php .hero-primary-cta:visited i {
  color: #2E8B72 !important;
}

body.page-template-page-tool-php .hero-primary-cta:hover,
body.page-template-page-tool-php .hero-primary-cta:focus {
  background: #EAF7F3;
  color: #12382E !important;
}

/* Holiday Calendar hero CTA — teal fill per approved mockup.
   Scoped to .hero--holiday-calendar so it wins over the unscoped
   "Salary Calculator final visual polish" rule above without
   changing that rule or affecting any other tool page. */
body.page-template-page-tool-php .hero--holiday-calendar .hero-primary-cta,
body.page-template-page-tool-php .hero--holiday-calendar .hero-primary-cta:visited {
  background: #2E8B72;
  border: none;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(23,64,53,0.28);
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-primary-cta i,
body.page-template-page-tool-php .hero--holiday-calendar .hero-primary-cta:visited i {
  color: #fff !important;
}

body.page-template-page-tool-php .hero--holiday-calendar .hero-primary-cta:hover,
body.page-template-page-tool-php .hero--holiday-calendar .hero-primary-cta:focus {
  background: #207A61;
  color: #fff !important;
}

body.page-template-page-tool-php .sidebar-primary-link,
body.page-template-page-tool-php .sidebar-primary-link:visited {
  background: #174035;
  border-color: #174035;
  color: #fff !important;
}

body.page-template-page-tool-php .sidebar-primary-link:hover,
body.page-template-page-tool-php .sidebar-primary-link:focus {
  background: #0F2E26;
  border-color: #0F2E26;
  color: #fff !important;
}

body.page-template-page-tool-php .sidebar-primary-link:focus-visible {
  outline: 3px solid rgba(46,139,114,0.28);
  outline-offset: 3px;
}

body.page-template-page-tool-php .cj-tool-how-section .step {
  background: #fff;
  border-color: rgba(216,232,228,0.92);
  box-shadow: 0 2px 8px rgba(23,64,53,0.04), 0 12px 30px rgba(23,64,53,0.055);
}

body.page-template-page-tool-php .cj-tool-how-section .step,
body.page-template-page-tool-php .cj-tool-how-section .step:last-child {
  border-bottom-color: rgba(216,232,228,0.92);
}

body.page-template-page-tool-php .cta-section {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(1.1rem, 3vw, 2.2rem);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 72% 92% at 76% 38%, rgba(167,223,208,0.22) 0%, transparent 68%),
    radial-gradient(ellipse 52% 62% at 12% 18%, rgba(255,255,255,0.11) 0%, transparent 64%),
    radial-gradient(ellipse 40% 50% at 92% 96%, rgba(46,139,114,0.24) 0%, transparent 68%),
    #174035;
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.25rem, 4vw, 2.35rem);
  box-shadow: 0 16px 38px rgba(23,64,53,0.14);
  text-align: left;
}

body.page-template-page-tool-php .cta-section > * {
  position: relative;
  z-index: 1;
}

body.page-template-page-tool-php .cta-section .cta-icon {
  color: rgba(167,223,208,0.42);
  font-size: 24px;
  margin: 0 0 0.45rem;
  text-align: left;
}

body.page-template-page-tool-php .cta-section .cta-h {
  max-width: 720px;
  margin-right: 0;
  margin-left: 0;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  white-space: nowrap;
}

body.page-template-page-tool-php .cta-section .cta-sub {
  max-width: 680px;
  margin: 0.5rem 0 0;
  color: rgba(255,255,255,0.86);
  font-size: 0.94rem;
  line-height: 1.5;
}

body.page-template-page-tool-php .cta-section .cta-btns {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-self: end;
  width: min(100%, 280px);
}

body.page-template-page-tool-php .cta-section .btn-cta-primary,
body.page-template-page-tool-php .cta-section .btn-cta-secondary {
  width: 100%;
  justify-content: center;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.2;
  text-decoration: none;
}

body.page-template-page-tool-php .cta-section .btn-cta-primary,
body.page-template-page-tool-php .cta-section .btn-cta-primary:visited {
  background: #2E8B72;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(15,46,38,0.28);
}

body.page-template-page-tool-php .cta-section .btn-cta-primary:hover,
body.page-template-page-tool-php .cta-section .btn-cta-primary:focus {
  background: #207A61;
  color: #fff !important;
}

body.page-template-page-tool-php .cta-section .btn-cta-secondary,
body.page-template-page-tool-php .cta-section .btn-cta-secondary:visited {
  background: #0F2E26;
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(15,46,38,0.24);
}

body.page-template-page-tool-php .cta-section .btn-cta-secondary:hover,
body.page-template-page-tool-php .cta-section .btn-cta-secondary:focus {
  background: #12382E;
  border-color: rgba(255,255,255,0.3);
  color: #fff !important;
}

body.page-template-page-tool-php .cta-section .btn-cta-primary i,
body.page-template-page-tool-php .cta-section .btn-cta-secondary i {
  color: currentColor;
}

@media (max-width: 860px) {
  body.page-template-page-tool-php .cta-section .cta-h {
    white-space: normal;
  }
}

@media (max-width: 600px) {
  body.page-template-page-tool-php .cta-section {
    grid-template-columns: 1fr;
    text-align: left;
  }

  body.page-template-page-tool-php .cta-section .cta-h {
    white-space: normal;
  }

  body.page-template-page-tool-php .cta-section .cta-btns {
    grid-column: 1;
    grid-row: auto;
    justify-self: stretch;
    width: 100%;
  }

  body.page-template-page-tool-php .cta-section .btn-cta-primary,
  body.page-template-page-tool-php .cta-section .btn-cta-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* Salary Calculator trust hierarchy and final pre-launch polish. */
body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-includes-list,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-source-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-includes-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #4a5a6a;
  font-size: 12px;
  line-height: 1.45;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-includes-list i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #2E8B72;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-source-list li {
  position: relative;
  padding-left: 13px;
  color: #4a5a6a;
  font-size: 12px;
  line-height: 1.45;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-source-list li::before {
  content: '';
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2E8B72;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology {
  margin-top: 13px;
  padding-top: 12px;
  border-top: 0.5px solid #D8E8E4;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #2E8B72;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology summary::-webkit-details-marker {
  display: none;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology summary::after {
  content: '+';
  flex: 0 0 auto;
  color: #174035;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology[open] summary::after {
  content: '−';
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology-copy {
  padding-top: 10px;
  color: #6B7280;
  font-size: 11px;
  line-height: 1.55;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology-copy p {
  margin: 0 0 8px;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology-copy p:last-child {
  margin-bottom: 0;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-next-review {
  color: #8a9aaa;
  font-weight: 600;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-tool-related-tools-section .tool-card.is-coming-soon {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-tool-related-tools-section .tool-card.is-coming-soon:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-tool-sidebar-next .sidebar-card-body {
  padding-top: 0.85rem;
  padding-bottom: 0.9rem;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-tool-sidebar-next .sidebar-next-copy {
  margin: 0;
  padding: 0;
  border-top: 0;
  color: #6B7280;
  font-size: 12px;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-tool-sidebar-next .sidebar-primary-link {
  margin-top: 10px;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .cj-salary-methodology summary:hover,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .insight-link:hover,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .article-title:hover,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .article-card-link:hover,
body.page-template-page-tool-php .cj-tool-page--salary-calculator .sidebar-tool-link:hover,
body.page-template-page-tool-php .breadcrumb.cj-tool-page--salary-calculator a:hover {
  color: #207A61;
  opacity: 0.82;
  text-decoration: none;
  box-shadow: none;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator .article-card:hover,
body.page-template-page-tool-php .cj-tool-page--salary-calculator a.tool-card:hover {
  text-decoration: none;
}

body.page-template-page-tool-php .cj-tool-page--salary-calculator a:focus-visible,
body.page-template-page-tool-php .cj-tool-page--salary-calculator summary:focus-visible,
body.page-template-page-tool-php .breadcrumb.cj-tool-page--salary-calculator a:focus-visible {
  outline: 3px solid rgba(46,139,114,0.3);
  outline-offset: 3px;
  text-decoration: none;
}

@media (max-width: 860px) {
  body.page-template-page-tool-php .cj-tool-page--salary-calculator .sidebar-col {
    width: 100%;
    min-width: 0;
  }

  body.page-template-page-tool-php .cj-tool-page--salary-calculator .sidebar-card,
  body.page-template-page-tool-php .cj-tool-page--salary-calculator .updated-card {
    max-width: 100%;
  }
}
