/* Wider, calmer content canvas; calculator pages no longer reserve space for an unnecessary sidebar. */
:root { --vc-container: 1640px; }
.container { width: min(var(--vc-container), calc(100% - clamp(32px, 4.5vw, 76px))); }
.calculator-article { width: 100%; max-width: 1600px; margin-inline: auto; padding-bottom: 42px; }
.calculator-heading { width: 100%; max-width: 1600px; margin-inline: auto; }
.calculator-article-grid { display: block; width: 100%; }
.calculator-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(285px, 320px); align-items: start; gap: clamp(22px, 2.4vw, 36px); width: 100%; max-width: 1600px; margin-inline: auto; }
.calculator-main-content { width: 100%; max-width: none; min-width: 0; margin-inline: auto; }
.calculator-sidebar { display: grid; align-content: start; gap: 16px; width: 100%; min-width: 0; position: sticky; top: 24px; }

/* Wide calculator canvas inside a two-column premium page layout. */
.calculator-main-content .vctk-calculator { width: 100%; max-width: 1120px; }
.calculator-main-content .vctk-layout-compact { max-width: 760px; }
.calculator-main-content .vctk-layout-minimal { max-width: 1120px; }
.calculator-main-content .vctk-layout-wide { max-width: 1120px; }
.calculator-sidebar-card { min-width: 0; padding: 20px; border: 1px solid #e0e8f3; border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(23, 52, 93, .045); }
.calculator-sidebar-feature { background: linear-gradient(155deg, #f4f8ff 0%, #fff 78%); }
.calculator-sidebar-card h2 { margin: 0 0 13px; color: #142b4a; font-size: 17px; line-height: 1.3; letter-spacing: -.025em; }
.calculator-sidebar-feature h2 { font-size: 21px; }
.calculator-sidebar-card p:not(.eyebrow):not(.vctk-ad-label):not(.vctk-ad-disclosure) { margin: 0 0 15px; color: #61748d; font-size: 12px; line-height: 1.75; }
.calculator-sidebar-card .vctk-ad-slot { width: 100%; max-width: none; margin: 18px 0 0; padding: 13px; border-color: #e4eaf4; border-radius: 12px; background: #fff; }
.calculator-sidebar-card .vctk-ad-disclosure { font-size: 10px; line-height: 1.55; }
.calculator-sidebar-card-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.calculator-sidebar-card-heading a, .calculator-sidebar-library-link { color: #245bc6; font-size: 11px; font-weight: 750; text-decoration: none; }
.calculator-sidebar-links { margin: 0; padding: 0; list-style: none; }
.calculator-sidebar-links li + li { border-top: 1px solid #edf1f6; }
.calculator-sidebar-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; color: #294464; font-size: 12px; line-height: 1.5; text-decoration: none; }
.calculator-sidebar-links a:hover { color: #245bc6; }
.calculator-sidebar-links b { flex: 0 0 auto; color: #8090a5; font-size: 13px; }
.calculator-sidebar-empty { margin: 0 !important; }
.calculator-sidebar-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.calculator-sidebar-chips a { padding: 7px 10px; border: 1px solid #dfe8f3; border-radius: 999px; background: #f8faff; color: #385677; font-size: 10px; line-height: 1.35; text-decoration: none; }
.calculator-sidebar-chips a:hover { border-color: #b7cdf0; background: #f0f6ff; }
.category-grid-premium { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-grid-premium .category-tile { display: flex; min-width: 0; min-height: 185px; flex-direction: column; align-items: stretch; padding: 19px; }
.category-tile-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.category-grid-premium .category-emoji { display: grid; place-items: center; width: 42px; height: 42px; margin: 0; border-radius: 13px; background: #edf4ff; color: #245bc6; font-size: 21px; font-weight: 800; }
.category-tile-arrow { color: #8b9cb1; font-size: 17px; }
.category-grid-premium .category-tile strong { color: #1c3859; font-size: 14px; line-height: 1.4; }
.category-grid-premium .category-tile small { margin-top: 6px; color: #687d96; font-size: 11px; line-height: 1.65; }
.category-count { margin-top: auto; padding-top: 13px; color: #2d63b8; font-size: 10px; font-weight: 750; }
.category-section-note { align-self: center; padding: 8px 12px; border: 1px solid #dce8f9; border-radius: 999px; background: #f5f9ff; color: #40628d; font-size: 10px; font-weight: 750; white-space: nowrap; }

.entry-content { width: 100%; min-width: 0; overflow-wrap: anywhere; }
.entry-content > p, .entry-content > ul, .entry-content > ol, .entry-content > blockquote,
.vctk-supporting-content > p, .vctk-supporting-content > ul, .vctk-supporting-content > ol { max-width: 82ch; }
.entry-content h2, .entry-content h3 { text-wrap: balance; }
.vctk-supporting-content { max-width: 1280px; margin: clamp(30px, 4vw, 48px) auto 0; padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid #e3eaf4; }
.vctk-supporting-content h2 { margin-top: 30px; margin-bottom: 10px; color: #142b4a; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; }
.vctk-supporting-content h2:first-child { margin-top: 0; }
.vctk-supporting-content h3 { margin-top: 19px; margin-bottom: 6px; color: #223d61; font-size: 1.04rem; line-height: 1.4; }
.vctk-supporting-content p, .vctk-supporting-content li { color: #52657d; line-height: 1.8; }
.vctk-supporting-content ul, .vctk-supporting-content ol { padding-left: 1.4rem; }
.vctk-supporting-content .vctk-input-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; padding: 0; list-style: none; max-width: 900px; }
.vctk-supporting-content .vctk-input-list li { margin: 0; padding: 12px 14px; border: 1px solid #e2eaf5; border-radius: 12px; background: #fff; }
.vctk-supporting-content .vctk-method-note { padding: 16px 18px; border-left: 3px solid #2d68d8; border-radius: 0 12px 12px 0; background: #f2f7ff; }
.archive-heading { max-width: 900px; }
.homepage-quick-tool { padding: clamp(34px, 5vw, 66px) 0; background: linear-gradient(180deg, #f2f7ff 0%, #fbfdff 100%); border-block: 1px solid #e5edf9; }
.homepage-quick-tool-inner { display: grid; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.3fr); align-items: start; gap: clamp(24px, 4vw, 54px); max-width: 1360px; }
.homepage-tool-copy { position: static; padding-top: 16px; }
.homepage-tool-copy h2 { margin: 7px 0 12px; color: var(--vc-navy); font-size: clamp(1.85rem, 3.1vw, 2.7rem); line-height: 1.12; letter-spacing: -.055em; }
.homepage-tool-copy > p:not(.eyebrow) { max-width: 42ch; color: #60748e; font-size: 14px; line-height: 1.8; }
.homepage-tool-widget .vctk-calculator { width: 100%; max-width: 1080px; margin: 0; background: #fff; }
.homepage-tool-widget .vctk-calculator h2 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
.vctk-related-tools { max-width: 1280px; margin: clamp(34px, 5vw, 58px) auto 0; padding-top: 26px; border-top: 1px solid #e6edf6; }
.vctk-related-heading { margin-bottom: 18px; }
.vctk-related-heading h2 { margin: 0; color: #142b4a; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.2; letter-spacing: -.04em; }
.vctk-related-heading > p:last-child { margin: 7px 0 0; color: #667a93; font-size: 13px; }
.vctk-related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vctk-related-card { display: flex; min-width: 0; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid #e2eaf5; border-radius: 14px; background: #fff; color: inherit; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.vctk-related-card:hover { transform: translateY(-2px); border-color: #b9cff4; text-decoration: none; }
.vctk-related-card strong { color: #19375f; font-size: 13px; line-height: 1.35; }
.vctk-related-card span { flex: 1; color: #6b7e94; font-size: 11px; line-height: 1.65; }
.vctk-related-card em { color: #245bc6; font-size: 10px; font-style: normal; font-weight: 750; }
.vctk-ad-slot { box-sizing: border-box; width: min(1280px, calc(100% - 32px)); margin: 30px auto 36px; }
.vctk-ad-label { margin: 0 0 7px; color: #5f7188; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-align: center; text-transform: uppercase; }
.vctk-ad-disclosure { margin: 0 0 10px; color: #718198; font-size: 10px; line-height: 1.55; text-align: center; }
.vctk-ad-slot .custom-html-widget, .vctk-ad-slot iframe { max-width: 100%; }
.vctk-affiliate-box { max-width: 860px; margin: 32px auto; padding: 22px; border: 1px solid #dce7f5; border-radius: 16px; background: #fff; }
.vctk-affiliate-label { margin: 0 0 6px; color: #64778f; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vctk-affiliate-box h2 { margin: 0 0 9px; color: #142b4a; }
.vctk-affiliate-description, .vctk-affiliate-disclosure { color: #5c6f87; font-size: 13px; line-height: 1.7; }
.vctk-affiliate-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 11px 15px; border-radius: 11px; background: #2463eb; color: #fff; font-size: 13px; font-weight: 750; }
.vctk-affiliate-link:hover { color: #fff; text-decoration: none; background: #194ec4; }

/* Editorial-quality, accessible calculator guide components. */
.vctk-supporting-content { max-width: 100%; }
.vctk-guide-intro { max-width: 980px; margin-bottom: 22px; }
.vctk-guide-kicker { margin: 0 0 8px !important; color: #2b63c6 !important; font-size: 10px !important; font-weight: 850; letter-spacing: .13em; }
.vctk-guide-intro .vctk-guide-lead { max-width: 82ch; margin: 10px 0 0; color: #5c7089; font-size: 15px; line-height: 1.8; }
.vctk-guide-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 23px 0; }
.vctk-guide-summary > div { min-width: 0; padding: 20px; border: 1px solid #dfe8f5; border-radius: 16px; background: linear-gradient(140deg, #f5f9ff, #fff 82%); }
.vctk-guide-summary span { display: block; margin-bottom: 6px; color: #71829a; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vctk-guide-summary strong { display: block; color: #1e3c61; font-size: 15px; line-height: 1.45; }
.vctk-guide-summary p { margin: 8px 0 0; color: #637791; font-size: 12px; line-height: 1.7; }
.vctk-guide-toc { display: grid; grid-template-columns: minmax(120px, .35fr) minmax(0, 1fr); gap: 14px 28px; align-items: start; margin: 24px 0 32px; padding: 20px 22px; border: 1px solid #e2eaf5; border-radius: 16px; background: #fbfcff; }
.vctk-guide-toc > strong { color: #203d60; font-size: 13px; }
.vctk-guide-toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 0; padding-left: 18px; }
.vctk-guide-toc li { padding-left: 3px; color: #2d63b8; font-size: 12px; line-height: 1.55; }
.vctk-guide-toc a { color: #315987; text-decoration: none; text-underline-offset: 3px; }
.vctk-guide-toc a:hover { color: #1e5ac6; text-decoration: underline; }
.vctk-guide-section { margin-top: clamp(30px, 4vw, 46px); scroll-margin-top: 24px; }
.vctk-guide-section:first-of-type { margin-top: 0; }
.vctk-guide-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0 !important; list-style: none; counter-reset: guide-step; }
.vctk-guide-steps li { position: relative; min-width: 0; padding: 16px 16px 16px 48px; border: 1px solid #e1eaf5; border-radius: 14px; background: #fff; counter-increment: guide-step; }
.vctk-guide-steps li:before { content: counter(guide-step, decimal-leading-zero); position: absolute; left: 15px; top: 16px; color: #2962c9; font-size: 11px; font-weight: 850; }
.vctk-guide-steps strong { display: block; margin-bottom: 5px; color: #244365; font-size: 13px; }
.vctk-guide-steps li { color: #637791; font-size: 12px; line-height: 1.7; }
.vctk-supporting-content .vctk-method-note { margin: 18px 0; padding: 21px 23px; border-left: 4px solid #2e68d8; border-radius: 0 15px 15px 0; background: #f2f7ff; }
.vctk-method-note > span { display: block; margin-bottom: 7px; color: #5779ae; font-size: 9px; font-weight: 850; letter-spacing: .13em; }
.vctk-method-note p { margin: 0; color: #203f67; font-size: 14px; line-height: 1.75; }
.vctk-example-panel { padding: 22px; border: 1px solid #dfe9f6; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(23, 52, 93, .035); }
.vctk-example-panel h3 { margin-top: 0 !important; }
.vctk-example-panel p:last-child { margin-bottom: 0; }
.vctk-example-hint { margin-top: 12px !important; padding-top: 12px; border-top: 1px solid #edf1f6; font-size: 11px; }
.vctk-guide-checklist { padding-left: 0 !important; list-style: none; }
.vctk-guide-checklist li { position: relative; margin: 8px 0; padding-left: 27px; }
.vctk-guide-checklist li:before { content: '✓'; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 6px; background: #e9f5ee; color: #24764a; font-size: 11px; font-weight: 850; }
.vctk-limitation-panel { padding: 18px 20px; border: 1px solid #e8e9ec; border-radius: 14px; background: #fafbfc; }
.vctk-limitation-panel p:last-child { margin-bottom: 0; }
.vctk-guide-faq { display: grid; gap: 9px; margin-top: 14px; }
.vctk-guide-faq-item { border: 1px solid #e1e9f3; border-radius: 13px; background: #fff; }
.vctk-guide-faq-item summary { position: relative; padding: 15px 42px 15px 16px; color: #254666; font-size: 13px; font-weight: 750; line-height: 1.55; cursor: pointer; list-style: none; }
.vctk-guide-faq-item summary::-webkit-details-marker { display: none; }
.vctk-guide-faq-item summary:after { content: '+'; position: absolute; right: 16px; top: 12px; color: #2864c8; font-size: 20px; font-weight: 500; }
.vctk-guide-faq-item[open] summary:after { content: '−'; }
.vctk-guide-faq-item p { margin: 0; padding: 0 16px 16px; color: #5d718a; font-size: 12px; line-height: 1.75; }
.vctk-editor-review-note { padding: 12px 15px; border: 1px dashed #c7d5e8; border-radius: 11px; background: #f8faff; color: #526883 !important; }
.vctk-content-review-note { margin-top: 22px; padding-top: 14px; border-top: 1px solid #e8edf5; }

@media (max-width: 1180px) {
  .calculator-layout { grid-template-columns: minmax(0, 1fr); }
  .calculator-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .calculator-sidebar-feature { grid-column: 1 / -1; }
}
@media (max-width: 980px) {
  .category-grid-premium { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vctk-guide-toc { grid-template-columns: 1fr; gap: 10px; }
  .homepage-quick-tool-inner { grid-template-columns: 1fr; gap: 20px; }
  .homepage-tool-copy { padding-top: 0; }
  .homepage-tool-copy > p:not(.eyebrow) { max-width: 65ch; }
  .vctk-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid-premium { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vctk-guide-summary { grid-template-columns: 1fr; }
  .vctk-guide-steps { grid-template-columns: 1fr; }
  .vctk-guide-toc ol { grid-template-columns: 1fr; gap: 8px; }
  .vctk-supporting-content .vctk-input-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .calculator-article { padding-top: 4px; }
  .calculator-main-content { max-width: 100%; }
  .calculator-sidebar { grid-template-columns: 1fr; gap: 12px; }
  .calculator-sidebar-feature { grid-column: auto; }
  .calculator-main-content .vctk-calculator { max-width: 100%; }
  .category-grid-premium .category-tile { min-height: 160px; padding: 15px; }
  .category-grid-premium .category-emoji { width: 36px; height: 36px; }
  .calculator-article-grid { display: block; }
  .calculator-heading { gap: 13px; margin-bottom: 23px; }
  .vctk-related-grid { grid-template-columns: 1fr 1fr; }
  .vctk-related-card { padding: 13px; }
  .vctk-supporting-content .vctk-input-list { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .vctk-related-grid { grid-template-columns: 1fr; }
  .homepage-tool-copy h2 { font-size: 1.85rem; }
  .category-section-note { align-self: flex-start; }
}
