/*
Theme Name: ImageSEOWorks Child
Theme URI: https://imageseoworks.com
Description: Child theme for ImageSEOWorks based on GeneratePress.
Author: ImageSEOWorks
Author URI: https://imageseoworks.com
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: imageseoworks-child
*/

/* Vendored Inter Font Declarations */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-latin-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-latin-800.woff2') format('woff2');
}

/* Color Tokens and Theme Variables */
:root {
  --blue: #1769e0;
  --blue-dark: #0d4fb3;
  --navy: #142034;
  --muted: #68758c;
  --line: #dce5f1;
  --soft: #f5f8fc;
  --pale: #eaf2ff;
  --green: #138a5b;
  --shadow: 0 14px 36px rgba(35, 68, 112, 0.11);
  --radius: 16px;
}

/* Base Styles */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #ffffff;
  line-height: 1.55;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font: inherit;
}
button, a, label, summary {
  touch-action: manipulation;
}
.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: #ffffff;
  padding: 10px 14px;
  border: 2px solid var(--blue);
}
:focus-visible {
  outline: 3px solid #9cc5ff;
  outline-offset: 3px;
}

/* Site Header and Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  letter-spacing: -0.02em;
  margin-right: auto;
  white-space: nowrap;
}
.mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: #ffffff;
}
.links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}
.nav-cta {
  color: #ffffff;
  background: var(--blue);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.menu {
  display: none;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 76px;
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 92%);
}
.hero:after {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  right: -220px;
  top: -300px;
  background: rgba(23, 105, 224, 0.06);
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1160px;
  margin: auto;
}
.hero-intro {
  max-width: 930px;
  margin: auto;
}
.hero-intro h1 {
  margin-top: 0;
}
.tool-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-dark);
  background: var(--pale);
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.035em;
}
.tool-status:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
h1 {
  font-size: clamp(42px, 4.15vw, 58px);
  line-height: 1.03;
  letter-spacing: -0.052em;
  margin: 18px 0 14px;
}
.hero h1 span {
  color: var(--blue);
}
.lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 850px;
  margin: 0 auto;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 800;
  background: #ffffff;
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
}
.btn.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: 0 7px 18px rgba(23, 105, 224, 0.2);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.btn.danger {
  color: #9d2e25;
}

/* Core App & Optimizer Panel */
.core-app {
  max-width: 980px;
  margin: 32px auto 0;
  text-align: left;
}
.panel {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d7e2ef;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(35, 68, 112, 0.14);
  min-width: 0;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 13px;
}
.panel-top strong {
  display: block;
  font-size: 20px;
}
.panel-sub {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.local {
  font-size: 12px;
  color: var(--green);
  background: #eaf8f2;
  padding: 6px 9px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Privacy Notice Banner */
.privacy-notice {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 2px solid #80b6ff;
  border-left: 6px solid var(--blue);
  border-radius: 16px;
  background: linear-gradient(135deg, #edf6ff 0%, #effcf7 100%);
  color: #1c3f62;
  box-shadow: 0 10px 26px rgba(23, 105, 224, 0.12);
  overflow: hidden;
  text-decoration: none;
}
.privacy-notice:after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  right: -56px;
  top: -70px;
  background: rgba(23, 105, 224, 0.08);
}
.privacy-icon {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 7px 16px rgba(23, 105, 224, 0.24);
}
.privacy-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.privacy-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 5px;
}
.privacy-title-row strong {
  color: #0d4fb3;
  font-size: 18px !important;
  line-height: 1.2;
}
.privacy-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid #c81e1e;
  border-radius: 999px;
  background: #c81e1e !important;
  color: #ffffff !important;
  padding: 4px 8px;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em;
}
.privacy-copy p {
  margin: 0;
  color: #315577;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.55;
}
.privacy-points {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 8px;
  color: #1c4e72;
  font-size: 12px !important;
  font-weight: 900 !important;
}
.privacy-points span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.privacy-points span:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 122, 80, 0.14);
}
.privacy-method-link {
  display: inline-flex;
  margin-top: 8px;
  color: #0d4fb3;
  font-size: 12px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Optimizer Layout */
.optimizer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 22px;
  align-items: start;
}
.upload-column, .control-column {
  min-width: 0;
}
.drop {
  display: flex;
  min-height: 286px;
  border: 2px dashed #b9cae2;
  border-radius: 14px;
  background: #f8fbff;
  text-align: center;
  padding: 24px 18px;
  cursor: pointer;
  transition: 0.2s;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.drop:hover, .drop.drag {
  border-color: var(--blue);
  background: #f0f6ff;
}
.upload-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 9px;
  border-radius: 14px;
  background: #e7f0ff;
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.drop p {
  margin: 2px;
}
.drop small {
  color: var(--muted);
  font-size: 12px;
}
.choose {
  display: inline-block;
  margin-top: 9px;
  padding: 8px 12px;
  border: 1px solid #c9daf3;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 850;
}
#file {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.upload-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 12px;
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0 0;
}
.setup-grid {
  display: grid;
  gap: 10px;
}
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.field {
  display: block;
}
.field span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 3px;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  padding: 8px 9px;
  font-size: 12px;
  outline: 0;
}
.field textarea {
  min-height: 64px;
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.1);
}
.field-help {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 4px;
}
.field-action {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: end;
}
.field-action .btn {
  padding: 8px 10px;
  font-size: 12px;
}
.analysis-state {
  min-height: 14px;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
}
.analysis-state.good {
  color: var(--green);
}
.range-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.range-control output {
  min-width: 34px;
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-align: right;
}
.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 7px 0;
}
.check-row label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}
.check-row input {
  width: auto;
}
.progressive-fields, .advanced-fields {
  margin: 1px 0 0 !important;
  padding: 0 10px !important;
  max-width: none !important;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #ffffff;
}
.progressive-fields summary, .advanced-fields summary {
  padding: 10px 0;
  font-size: 12px;
  cursor: pointer;
  font-weight: 800;
}
.progressive-body, .advanced-body {
  display: grid;
  gap: 10px;
  padding-bottom: 10px;
}
.advanced-title {
  font-size: 12px;
  font-weight: 900;
  color: var(--blue-dark);
  margin: 9px 0 6px;
}
.advanced-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin: 7px 0 0;
}
.apply-rights {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.apply-rights .btn {
  min-height: 36px;
}
.apply-status {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

/* Optimizer Actions and Download Details */
.optimizer-actions, .download-actions, .copy-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.download-actions .btn, .optimizer-actions .btn, .copy-actions .btn {
  padding: 10px 14px;
  font-size: 13px;
}
.privacy-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  color: var(--navy);
}
.handoff {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  padding: 10px 14px;
}
.handoff summary {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-dark);
}
.handoff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.handoff-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}
.handoff-item small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.handoff-item strong {
  display: block;
  font-size: 12px;
  color: var(--navy);
}
.handoff-note {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 0;
}
.prototype-note {
  margin-top: 16px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}

/* Sections and Workflow */
.workflow {
  position: relative;
  padding: 76px 0;
  background: #ffffff;
}
.workflow-grid {
  display: block;
}
.workflow-copy {
  min-width: 0;
}
.section-head {
  text-align: center;
  max-width: 730px;
  margin: 0 auto 38px;
}
.eyebrow {
  color: var(--blue);
  font-weight: 850;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.section-head h2 {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 9px 0;
}
.section-head p {
  color: var(--muted);
  margin: 0;
}
.workflow-copy .section-head {
  margin-bottom: 30px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: auto;
}
.step {
  text-align: center;
  padding: 5px 8px;
  min-width: 0;
}
.num {
  width: 44px;
  height: 44px;
  margin: auto;
  border-radius: 13px;
  background: var(--pale);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.step h3 {
  font-size: 16px;
  margin: 13px 0 5px;
}
.step p {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
  overflow-wrap: anywhere;
}

/* Tools Section & Cards Grid */
.tools {
  padding: 74px 0;
  background: var(--soft);
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.card .icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--pale);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
}
.card h3 {
  font-size: 17px;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
  flex-grow: 1;
  line-height: 1.5;
}
.use {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.use:after {
  content: "->";
  font-size: 12px;
}

/* Conversion Pair Tools Grid (Tools Hub) */
.pair-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

/* Benefits and Audience Sections */
.support {
  padding: 74px 0;
}
.benefit-grid, .audience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}
.benefit {
  padding: 21px;
  border-left: 3px solid var(--blue);
  background: #ffffff;
  border-radius: 0 12px 12px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.benefit h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.benefit p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Checklist Band Section */
.checklist {
  background: #10233e;
  color: #ffffff;
  padding: 74px 0;
}
.check-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.check-layout h2 {
  font-size: 28px;
  line-height: 1.08;
  margin: 9px 0;
}
.check-layout p {
  color: #bdc9da;
}
.checklist-link {
  display: inline-flex;
  margin-top: 16px;
  color: #ffffff;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}
.list div {
  background: #18304f;
  border: 1px solid #294462;
  border-radius: 10px;
  padding: 12px 13px;
  font-size: 13px;
}
.list div:before {
  content: "✓";
  color: #61d5a4;
  font-weight: 900;
  margin-right: 8px;
}

.audience {
  background: var(--soft);
  text-align: center;
}
.person {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.person .icon {
  margin: auto;
  font-size: 24px;
}
.person h3 {
  margin: 11px 0 5px;
  font-size: 16px;
}
.person p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* Resource Cards Grid */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.article {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}
.thumb {
  height: 112px;
  background: linear-gradient(135deg, #dceaff, #f3f7ff);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 30px;
}
.article-body {
  padding: 17px;
}
.article small {
  color: var(--blue);
  font-weight: 800;
}
.article h3 {
  font-size: 15px;
  margin: 6px 0;
}
.article p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* FAQ Section */
.faq {
  background: var(--soft);
}
details {
  max-width: 820px;
  margin: 10px auto;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 12px;
  padding: 0 18px;
}
summary {
  cursor: pointer;
  font-weight: 800;
  padding: 16px 0;
}
details p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 17px;
}
.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Final CTA Section */
.final {
  text-align: center;
  background: linear-gradient(135deg, #1769e0, #0d4fb3);
  color: #ffffff;
  padding: 64px 20px;
}
.final h2 {
  font-size: 28px;
  letter-spacing: -0.035em;
  margin: 0 0 8px;
}
.final p {
  color: #d9e7fb;
  margin: 0 0 22px;
}
.final .btn {
  display: inline-block;
  border-color: #ffffff;
  background: #ffffff;
  color: var(--blue-dark);
}

/* Footer Section */
footer {
  background: #091629;
  color: #c1ccda;
  padding: 52px 0 26px;
}
.foot {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 34px;
}
.foot .brand {
  color: #ffffff;
  margin-bottom: 11px;
}
.foot p {
  font-size: 12px;
  max-width: 280px;
  line-height: 1.5;
}
.foot-label {
  font-size: 12px;
  font-weight: 850;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 1em 0;
}
.foot a {
  display: flex;
  align-items: center;
  min-height: 24px;
  font-size: 12px;
  margin: 6px 0;
  color: #c1ccda;
}
.foot a:hover {
  color: #ffffff;
}
.copyright {
  border-top: 1px solid #253449;
  margin-top: 38px;
  padding-top: 20px;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
}

/* Standard Page, Single Article, & Guide Layouts */
.site-main-content {
  padding: 48px 0 64px;
}
.page-container {
  max-width: 820px;
  margin: 0 auto;
}
.page-title {
  font-size: clamp(32px, 3.5vw, 46px);
  letter-spacing: -0.035em;
  margin-top: 0;
  margin-bottom: 16px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a {
  color: var(--blue);
  text-decoration: underline;
}
.entry-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--navy);
}
.entry-content h2 {
  font-size: 24px;
  margin-top: 36px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.entry-content h3 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 10px;
}
.entry-content p {
  margin-bottom: 20px;
}
.entry-content ul, .entry-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}
.entry-content li {
  margin-bottom: 8px;
}
.notice-box {
  background: var(--pale);
  border: 1px solid #b8d3ff;
  border-left: 4px solid var(--blue);
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--blue-dark);
  margin-bottom: 24px;
}

/* Hidden Utility Helper */
.hidden {
  display: none !important;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .links {
    display: none;
  }
  .menu {
    display: block;
  }
  .links.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    z-index: 40;
  }
  .nav-cta {
    display: none;
  }
  .hero {
    padding-bottom: 62px;
  }
  .core-app {
    max-width: 720px;
  }
  .optimizer-layout {
    grid-template-columns: 1fr;
  }
  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pair-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .benefit-grid, .audience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .check-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .foot {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }
  .nav {
    height: 64px;
  }
  .brand {
    font-size: 15px;
  }
  .hero {
    padding: 38px 0 52px;
  }
  .hero h1 {
    font-size: 42px;
  }
  .lede {
    font-size: 16px;
  }
  .core-app {
    margin-top: 28px;
  }
  .actions {
    flex-direction: column;
  }
  .btn {
    text-align: center;
  }
  .workflow {
    padding-bottom: 58px;
  }
  .steps, .tool-grid, .pair-grid, .benefit-grid, .audience-grid, .article-grid, .list {
    grid-template-columns: 1fr;
  }
  .panel {
    padding: 15px;
  }
  .panel-top {
    align-items: flex-start;
  }
  .local {
    white-space: normal;
    text-align: center;
  }
  .drop {
    min-height: 230px;
  }
  .privacy-notice {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 11px;
    padding: 14px 13px;
    border-left-width: 5px;
  }
  .privacy-icon {
    width: 40px;
    height: 40px;
  }
  .privacy-title-row strong {
    font-size: 17px !important;
  }
  .privacy-copy p {
    font-size: 12px !important;
    font-weight: 800 !important;
  }
  .field input, .field select, .field textarea {
    font-size: 16px !important;
  }
  .menu, #startBtn, #downloadAllBtn, #deleteNowBtn {
    min-width: 44px;
    min-height: 44px;
  }
  section.support, .tools, .checklist {
    padding: 58px 0;
  }
  .handoff-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split-grid {
    grid-template-columns: 1fr;
  }
  .field-action {
    grid-template-columns: 1fr;
  }
  .field-action .btn {
    width: 100%;
  }
  .check-layout h2, .final h2 {
    font-size: 24px;
  }
  .foot {
    grid-template-columns: 1fr 1fr;
  }
  .foot > div:first-child {
    grid-column: 1 / -1;
  }
  .copyright {
    display: block;
  }
  .copyright span {
    display: block;
    margin: 6px 0;
  }
}

@media (max-width: 410px) {
  .handoff-grid, .copy-actions {
    grid-template-columns: 1fr;
  }
  .privacy-notice {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 9px;
    padding: 13px 11px;
  }
  .privacy-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
  .privacy-badge {
    font-size: 12px !important;
    font-weight: 900 !important;
  }
  .privacy-points {
    display: grid;
    gap: 5px;
    font-size: 12px !important;
    font-weight: 900 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}


/* Standard h2 sizing */
h2 {
  font-size: 28px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
@media (max-width: 620px) {
  h2 {
    font-size: 24px;
  }
}

/* ===== Approved blog post template ===== */
.post-article { max-width: 1180px; margin: 0 auto; padding: 24px 0 48px; }
.post-crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 18px; }
.post-crumbs a { color: var(--muted); }
.post-crumbs a:hover { color: var(--blue); }
.crumb-current { color: var(--blue); font-weight: 600; max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.post-main { max-width: 720px; }
.post-meta-top { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); margin: 0 0 10px; }
.post-cat { background: #eaf2ff; color: var(--blue); padding: 3px 12px; border-radius: 999px; font-weight: 700; font-size: 12px; text-decoration: none; }
.post-cat:hover { background: #d8e8ff; }
.post-article h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; margin: 0 0 8px; letter-spacing: -0.3px; }
.post-byline { font-size: 13px; color: var(--muted); margin: 0 0 20px; }
.post-featured { margin: 0 0 24px; }
.post-featured img { width: 100%; height: auto; border-radius: 12px; display: block; }
.post-toc { border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 0 0 28px; background: #f8fbff; }
.post-toc strong { display: block; font-size: 14px; margin: 0 0 8px; letter-spacing: 0.2px; }
.post-toc ol { margin: 0; padding-left: 20px; }
.post-toc li { font-size: 15px; margin: 5px 0; line-height: 1.5; }
.post-toc a { color: var(--blue); }
.post-content { font-size: 16px; line-height: 1.7; color: #2a2f38; }
.post-content p { font-size: 16px; font-weight: 400; margin: 0 0 14px; }
.post-content h2 { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 30px 0 12px; letter-spacing: -0.2px; }
.post-content h3 { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 24px 0 8px; }
.post-content h4 { font-size: 16px; font-weight: 700; margin: 20px 0 6px; }
.post-content ul, .post-content ol { margin: 0 0 16px; padding-left: 26px; }
.post-content li { font-size: 17px; font-weight: 400; line-height: 1.65; margin: 0 0 8px; }
.post-content li p { font-size: 17px; margin: 0 0 6px; }
.post-content a { color: var(--blue); text-decoration: underline; text-decoration-color: rgba(23, 105, 224, 0.35); text-underline-offset: 3px; }
.post-content a:hover { text-decoration-color: var(--blue); }
.post-content img { max-width: 100%; height: auto; border-radius: 10px; }
.post-content table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; line-height: 1.5; }
.post-content th { background: #eaf2ff; text-align: left; font-weight: 700; }
.post-content th, .post-content td { border: 1px solid var(--line); padding: 9px 12px; vertical-align: top; }
.post-content blockquote { border-left: 3px solid var(--blue); background: #f8fbff; margin: 0 0 16px; padding: 10px 18px; border-radius: 0 10px 10px 0; }
.post-content blockquote p { font-size: 17px; margin: 0; }
.post-content h2 + p, .post-content h3 + p { margin-top: 4px; }
.post-cta { background: linear-gradient(135deg, #edf6ff 0%, #effcf7 100%); border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.post-cta strong { font-size: 17px; display: block; margin: 0 0 4px; }
.post-cta p { font-size: 14px; color: var(--muted); margin: 0; max-width: 52ch; }
.post-related { margin: 30px 0 0; }
.post-related h2 { font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.post-related ul { list-style: none; margin: 0; padding: 0; }
.post-related li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 15px; }
.post-related li a { color: var(--blue); font-weight: 600; }
.post-related li span { color: var(--muted); font-size: 13px; }
.post-aside { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 20px; }
.aside-box { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: #ffffff; }
.aside-box h2 { font-size: 15px; font-weight: 800; margin: 0 0 10px; letter-spacing: 0.2px; }
.aside-list { list-style: none; margin: 0; padding: 0; }
.aside-list li { font-size: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.aside-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.aside-list a { color: #2a2f38; text-decoration: none; }
.aside-list a:hover { color: var(--blue); }
.aside-box .search-form { display: flex; gap: 8px; }
.aside-box .search-form input[type="search"] { flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 14px; }
.aside-box .search-form button, .aside-box .search-form input[type="submit"] { background: #222831; color: #ffffff; border: 0; border-radius: 8px; padding: 8px 14px; font-size: 14px; font-weight: 600; cursor: pointer; }
.post-pagination { margin: 26px 0 0; font-size: 14px; }
.post-pagination .page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; margin: 0 4px; }
.post-pagination .current { background: var(--blue); border-color: var(--blue); color: #ffffff; }
.post-article-narrow { max-width: 800px; }
.post-article-narrow .post-main { max-width: none; }
@media (max-width: 1023px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; }
  .post-main { max-width: none; }
}

/* Blog and Guide listing system (cards, pills, pagination) */
.isw-blog-head { max-width: 720px; margin: 0 0 18px; }
.isw-blog-head h1 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.25; letter-spacing: -0.3px; margin: 0 0 10px; }
.isw-blog-head p { font-size: 15px; color: var(--muted); line-height: 1.65; margin: 0; }
.isw-cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.isw-pill { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: #ffffff; color: var(--navy); font-size: 13px; font-weight: 700; text-decoration: none; transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease; }
.isw-pill:hover { border-color: var(--blue); color: var(--blue); }
.isw-pill-active, .isw-pill-active:hover { background: var(--blue); border-color: var(--blue); color: #ffffff; }
.isw-blog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.isw-blog-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.isw-blog-card:hover { transform: translateY(-3px); border-color: #b9cdf3; box-shadow: var(--shadow); }
.isw-card-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #dceaff, #f3f7ff); }
.isw-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.isw-card-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--blue); font-size: 34px; }
.isw-card-cat { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 32, 52, 0.78); color: #ffffff; font-size: 11.5px; font-weight: 700; letter-spacing: 0.2px; }
.isw-card-body { display: flex; flex-direction: column; gap: 7px; padding: 16px 17px 18px; flex: 1; }
.isw-card-title { font-size: 16.5px; line-height: 1.35; font-weight: 800; letter-spacing: -0.2px; margin: 0; }
.isw-card-title a { color: var(--navy); text-decoration: none; }
.isw-card-title a:hover { color: var(--blue); }
.isw-card-date { margin: 0; font-size: 13px; color: var(--muted); }
.isw-card-excerpt { margin: 0; font-size: 13.5px; line-height: 1.6; color: #475467; }
.isw-card-more { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 800; color: var(--blue); text-decoration: none; }
.isw-card-more:hover { color: var(--blue-dark); text-decoration: underline; }
nav.pagination { display: flex; justify-content: center; margin: 30px 0 6px; }
nav.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
nav.pagination .page-numbers { display: inline-block; min-width: 38px; padding: 8px 13px; text-align: center; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--navy); text-decoration: none; }
nav.pagination .page-numbers:hover { border-color: var(--blue); color: var(--blue); }
nav.pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #ffffff; }
.isw-empty { margin: 24px 0; color: var(--muted); font-size: 15px; }
@media (max-width: 1080px) { .isw-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .isw-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .isw-blog-grid { grid-template-columns: 1fr; } .isw-card-title { font-size: 17px; } }

/* Latest posts carousel on the post template */
.isw-carousel { margin: 30px 0 0; }
.isw-carousel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; }
.isw-carousel-head h2 { font-size: 18px; font-weight: 700; margin: 0; }
.isw-carousel-nav { display: flex; gap: 8px; }
.isw-carousel-btn { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 999px; background: #ffffff; color: var(--navy); font-size: 16px; cursor: pointer; display: grid; place-items: center; transition: border-color 0.15s ease, color 0.15s ease; }
.isw-carousel-btn:hover { border-color: var(--blue); color: var(--blue); }
.isw-carousel-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; }
.isw-carousel-track::-webkit-scrollbar { display: none; }
.isw-carousel-card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: #ffffff; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease; }
.isw-carousel-card:hover { transform: translateY(-3px); border-color: #b9cdf3; box-shadow: var(--shadow); }
.isw-carousel-media { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #dceaff, #f3f7ff); }
.isw-carousel-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.isw-carousel-body { padding: 12px 14px 14px; }
.isw-carousel-body h3 { font-size: 14.5px; line-height: 1.4; font-weight: 800; margin: 0 0 5px; }
.isw-carousel-body h3 a { color: var(--navy); text-decoration: none; }
.isw-carousel-body h3 a:hover { color: var(--blue); }
.isw-carousel-date { margin: 0; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px) { .isw-carousel-card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) { .isw-carousel-card { flex-basis: 100%; } .isw-carousel-btn { width: 42px; height: 42px; } }
