/* Only new tool-pattern pages; no global theme/header/footer resets. */
.ks-tools-hub .ks-hub-directory { max-width: 1120px; padding: 0 24px 40px; margin: 0 auto; }
.ks-tools-hub .ks-hub-row { gap: 24px; margin-bottom: 24px; align-items: stretch; }
.ks-tools-hub .ks-hub-row > .wp-block-column { min-width: 0; display: flex; }
.ks-tools-hub .ks-hub-card { display: flex; flex-direction: column; width: 100%; padding: 24px; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
.ks-tools-hub .ks-hub-card h2 { font-size: 22px; line-height: 1.3; margin-bottom: 12px; }
.ks-tools-hub .ks-hub-card .wp-block-image { margin: 0 0 20px; }
.ks-tools-hub .ks-hub-card img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 4px; }
.ks-tools-hub .ks-hub-card p { margin-bottom: 20px; }
.ks-tools-hub .ks-tool-link { margin-top: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.ks-tools-hub .ks-tool-link a { color: #1d4ed8; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }
.ks-tools-hub .ks-tool-link a:hover { color: #1e40af; }
.ks-tools-hub .ks-tool-link a:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.ks-tools-hub .ks-tool-link span { font-size: 13px; color: #475569; }
@media (max-width: 781px) {
  .ks-tools-hub .ks-hub-directory { padding: 0 16px 24px; }
  .ks-tools-hub .ks-hub-row { gap: 20px; margin-bottom: 20px; }
  .ks-tools-hub .ks-hub-card { padding: 20px; }
}
.ks-tool-page-content { color: var(--ks-c-text, #0f172a); font-family: Inter, system-ui, sans-serif; letter-spacing: 0; }
.ks-tool-page-content *, .ks-tool-page-content *::before, .ks-tool-page-content *::after { box-sizing: border-box; }
.ks-tool-page-content .ks-tool-intro, .ks-tool-page-content .ks-tool-trust, .ks-tool-page-content .ks-tool-cta, .ks-tool-page-content .ks-tool-editorial, .ks-tool-page-content .ks-tool-faq, .ks-tool-page-content .ks-tool-related { max-width: 1120px; margin: 0 auto; padding: 48px 24px; }
.ks-tool-page-content .ks-tool-intro { text-align: center; }
.ks-tool-page-content h1 { font-size: 40px; font-weight: 700; line-height: 1.15; letter-spacing: 0; margin: 0 0 20px; }
.editor-styles-wrapper .ks-tool-page-content h1 { line-height: 1.15 !important; }
.ks-tool-page-content h2 { font-size: 28px; line-height: 1.25; letter-spacing: 0; margin: 0 0 18px; }
.ks-tool-page-content p { font-size: 16px; line-height: 1.7; margin: 0 0 20px; color: var(--ks-c-sub, #475569); text-align: left; }
.ks-tool-page-content .ks-tool-intro p { max-width: 760px; margin: 0 auto; text-align: center; font-size: 18px; }
.ks-tool-page-content .ks-tool-workspace { max-width: 1450px; margin: 0 auto; padding: 0 12px; }
.ks-tool-page-content .ks-tool-trust { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; padding-top: 24px; padding-bottom: 24px; border-bottom: 1px solid #e5e7eb; }
.ks-tool-page-content .ks-tool-trust p { margin: 0; font-size: 14px; }
.ks-tool-page-content .ks-tool-cta { text-align: center; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; }
.ks-tool-page-content .ks-tool-cta p { text-align: center; }
.ks-tool-page-content .wp-block-buttons { justify-content: center; }
.ks-tool-page-content .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 6px; font-weight: 600; line-height: 1.4; text-decoration: none; background: #2563eb; color: #fff; }
.ks-tool-page-content .wp-block-button__link:is(:hover, :focus) { background: #1d4ed8; color: #fff; }
.ks-tool-page-content .wp-block-button__link:focus-visible, .ks-tool-page-content summary:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }
.ks-tool-page-content .wp-block-image { margin: 28px 0; }
.ks-tool-page-content .wp-block-image img { display: block; max-width: 100%; height: auto; }
.ks-tool-page-content .ks-tool-editorial-row { gap: 40px; margin: 0 0 48px; }
.ks-tool-page-content .ks-tool-editorial-row .wp-block-column { min-width: 0; }
.ks-tool-page-content .ks-tool-editorial-row .wp-block-image { margin: 0; }
.ks-tool-page-content .ks-tool-editorial-row img { border: 1px solid #e5e7eb; border-radius: 6px; }
.ks-tool-page-content .wp-element-caption { font-size: 13px; line-height: 1.6; color: #475569; text-align: left; margin-top: 12px; }
.ks-tool-page-content .ks-tool-editorial :is(ul, ol) { display: block; padding-left: 24px; margin: 0 0 28px; text-align: left; }
.ks-tool-page-content .ks-tool-editorial li { display: list-item; font-size: 16px; line-height: 1.75; margin-bottom: 10px; text-align: left; }
@media (min-width: 782px) {
  .ks-tool-page-content .ks-tool-editorial-reverse > .wp-block-column:first-child { order: 2; }
  .ks-tool-page-content .ks-tool-editorial-reverse > .wp-block-column:last-child { order: 1; }
}
@media (max-width: 781px) {
  .ks-tool-page-content .ks-tool-editorial-row { gap: 24px; margin-bottom: 36px; }
}
.ks-tool-page-content .wp-block-details { padding: 18px 0; border-bottom: 1px solid #e5e7eb; }
.ks-tool-page-content .wp-block-details summary { cursor: pointer; font-size: 18px; font-weight: 600; }
.ks-tool-page-content .wp-block-details p { margin: 18px 0 0; }
.ks-tool-page-content .ks-tool-related h3 { font-size: 22px; line-height: 1.35; margin: 0 0 16px; overflow-wrap: anywhere; }
.ks-tool-page-content .ks-tool-related-note { margin: 0 0 20px; color: #475569; }
.ks-tool-page-content .ks-tool-related ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 28px; list-style: none; margin: 0; padding: 0; }
.ks-tool-page-content .ks-tool-related li { margin: 0; padding: 0; min-width: 0; overflow-wrap: anywhere; }
.ks-tool-page-content .ks-tool-related small { display: block; color: #475569; font-size: 13px; margin-top: 4px; }
.ks-tool-page-content .ks-tool-related a { color: #1d4ed8; }
@media (max-width: 768px) { .ks-tool-page-content .ks-tool-related ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ks-tool-page-content .ks-tool-related ul { grid-template-columns: minmax(0, 1fr); } }
.ks-tool-pricing .ks-pricing-wrap { padding: 48px 24px; }
.ks-tool-pricing .ks-pcard { min-width: 0; overflow-wrap: anywhere; }
.ks-tool-pricing .ks-pprice { letter-spacing: 0; }
.ks-tool-page-content .kst-table [data-column="volume"] { width: 120px; }
.ks-tool-page-content .kst-table th .kst-sort { white-space: nowrap; }
.ks-tool-pricing .ks-hero-title { font-size: 32px; line-height: 1.2; letter-spacing: 0; }
.ks-tool-pricing .ks-pf, .ks-tool-pricing .ks-pf * { text-align: left; }
.ks-tool-pricing .ks-pcta.ks-current { display: flex; align-items: center; justify-content: center; background: #eff6ff !important; color: #1d4ed8 !important; border-color: #93c5fd !important; cursor: default; pointer-events: none; opacity: 1; }
.ks-tool-pricing .ks-pcta.ks-current span { margin-right: 7px; line-height: 1; }
.ks-tool-pricing .ks-pcta.ks-blue:is(:hover, :focus) { background: #1d4ed8; color: #fff; border-color: #1d4ed8; }
.ks-tool-pricing .ks-pcta:not(.ks-blue):is(:hover, :focus) { color: #0f172a; background: #f8fafc; }
.ks-tool-unavailable { padding: 24px; border: 1px solid #e5e7eb; color: #475569; }
.kst-root .kst-table .kst-group-heading > th { background: #f8fafc; text-align: left; white-space: normal; overflow-wrap: anywhere; }
.kst-root .kst-group-title, .kst-root .kst-group-volume { display: inline-block; margin-inline-end: 16px; }
.kst-root .kst-group-volume { font-weight: 500; color: #475569; }
@media (max-width: 600px) {
  .ks-tool-pricing .ks-pcard { padding: 28px 20px; }
  .ks-tool-pricing .ks-pprice { font-size: 36px; }
  .ks-tool-page-content h1 { font-size: 30px; }
  .ks-tool-page-content h2 { font-size: 24px; }
  .ks-tool-page-content .ks-tool-intro, .ks-tool-page-content .ks-tool-cta, .ks-tool-page-content .ks-tool-editorial, .ks-tool-page-content .ks-tool-faq { padding: 32px 16px; }
  .ks-tool-page-content .ks-tool-trust { padding: 20px 16px; gap: 12px; flex-direction: column; align-items: center; }
  .ks-tool-page-content .ks-tool-workspace { padding: 0; }
}
