/* =========================================================
   ATO Growth Engine — Clean Public Site CSS
   Covers:
   Home 2445
   About 2780
   Pricing 2537
   Contact 105
   Starter signup 2709
   Team signup 2727
   Growth signup 2731
   ========================================================= */

/* =========================================================
   1. Global variables
   ========================================================= */

:root {
  --brand-red: #F70101;
  --brand-blue: #010C80;
  --text: #010C80;
  --muted: #22338f;
  --line: rgba(1, 12, 128, 0.10);
  --panel: #f7f9ff;
  --shadow-md: 0 14px 28px rgba(1, 12, 128, 0.04);
  --shadow-lg: 0 24px 44px rgba(1, 12, 128, 0.12);
  --max: 1240px;
  --pricing-max: 1180px;
}

/* =========================================================
   2. WordPress theme cleanup for custom public pages
   ========================================================= */

.page-id-2445 .entry-title,
.page-id-2445 .wp-block-post-title,
.page-id-2445 header.entry-header,
.page-id-2445 .entry-header,
.page-id-2780 .entry-title,
.page-id-2780 .wp-block-post-title,
.page-id-2780 header.entry-header,
.page-id-2780 .entry-header,
.page-id-2537 .entry-title,
.page-id-2537 .wp-block-post-title,
.page-id-2537 header.entry-header,
.page-id-2537 .entry-header,
.page-id-105 .entry-title,
.page-id-105 .wp-block-post-title,
.page-id-105 header.entry-header,
.page-id-105 .entry-header,
.page-id-2709 .entry-title,
.page-id-2709 .wp-block-post-title,
.page-id-2709 header.entry-header,
.page-id-2709 .entry-header,
.page-id-2727 .entry-title,
.page-id-2727 .wp-block-post-title,
.page-id-2727 header.entry-header,
.page-id-2727 .entry-header,
.page-id-2731 .entry-title,
.page-id-2731 .wp-block-post-title,
.page-id-2731 header.entry-header,
.page-id-2731 .entry-header {
  display: none !important;
}

.page-id-2445 .entry-content,
.page-id-2445 .wp-block-post-content,
.page-id-2445 .site-content,
.page-id-2445 #primary,
.page-id-2445 #main,
.page-id-2780 .entry-content,
.page-id-2780 .wp-block-post-content,
.page-id-2780 .site-content,
.page-id-2780 #primary,
.page-id-2780 #main,
.page-id-2537 .entry-content,
.page-id-2537 .wp-block-post-content,
.page-id-2537 .site-content,
.page-id-2537 #primary,
.page-id-2537 #main,
.page-id-105 .entry-content,
.page-id-105 .wp-block-post-content,
.page-id-105 .site-content,
.page-id-105 #primary,
.page-id-105 #main,
.page-id-2709 .entry-content,
.page-id-2709 .wp-block-post-content,
.page-id-2709 .site-content,
.page-id-2709 #primary,
.page-id-2709 #main,
.page-id-2727 .entry-content,
.page-id-2727 .wp-block-post-content,
.page-id-2727 .site-content,
.page-id-2727 #primary,
.page-id-2727 #main,
.page-id-2731 .entry-content,
.page-id-2731 .wp-block-post-content,
.page-id-2731 .site-content,
.page-id-2731 #primary,
.page-id-2731 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-id-2445 .entry-content,
.page-id-2445 .wp-block-post-content,
.page-id-2780 .entry-content,
.page-id-2780 .wp-block-post-content,
.page-id-2537 .entry-content,
.page-id-2537 .wp-block-post-content,
.page-id-105 .entry-content,
.page-id-105 .wp-block-post-content,
.page-id-2709 .entry-content,
.page-id-2709 .wp-block-post-content,
.page-id-2727 .entry-content,
.page-id-2727 .wp-block-post-content,
.page-id-2731 .entry-content,
.page-id-2731 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}

#colophon {
  display: none !important;
}

/* =========================================================
   3. Shared public shell
   ========================================================= */

.ato-homepage,
.ato-pricing-page,
.ato-homepage *,
.ato-pricing-page * {
  box-sizing: border-box;
}

.ato-homepage,
.ato-pricing-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(247, 1, 1, 0.05), transparent 22%),
    radial-gradient(circle at top left, rgba(1, 12, 128, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  line-height: 1.55;
  margin: 0;
  width: 100%;
  overflow: visible;
}

.ato-homepage a,
.ato-pricing-page a {
  color: inherit;
  text-decoration: none;
}

.ato-homepage img,
.ato-pricing-page img {
  display: block;
  max-width: 100%;
}

.ato-homepage .container,
.ato-pricing-page .container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================================
   4. Shared public header/navigation
   ========================================================= */

.ato-homepage .site-header,
.ato-pricing-page .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(255,255,255,0.90) !important;
  border-bottom: 1px solid rgba(1, 12, 128, 0.08) !important;
  backdrop-filter: blur(12px) !important;
}

.ato-homepage .site-header-inner,
.ato-pricing-page .site-header-inner {
  width: min(var(--max), calc(100% - 32px)) !important;
  margin: 0 auto !important;
  min-height: 112px !important;
  padding: 10px 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.ato-homepage .brand,
.ato-pricing-page .brand {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
}

.ato-homepage .brand-logo,
.ato-pricing-page .brand-logo {
  display: block !important;
  width: 86px !important;
  height: 86px !important;
  max-width: 86px !important;
  max-height: 86px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

.ato-homepage .site-nav,
.ato-pricing-page .site-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 24px !important;
  margin-left: auto !important;
  margin-right: 24px !important;
  flex: 0 1 auto !important;
}

.ato-homepage .site-nav a,
.ato-pricing-page .site-nav a {
  color: var(--brand-blue) !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  line-height: 1 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.ato-homepage .site-nav a:hover,
.ato-pricing-page .site-nav a:hover {
  color: var(--brand-red) !important;
}

.ato-homepage .site-actions,
.ato-pricing-page .site-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 14px !important;
  margin-left: 0 !important;
  flex: 0 0 auto !important;
}

/* =========================================================
   5. Shared buttons
   ========================================================= */

.ato-homepage .btn,
.ato-pricing-page .btn,
.ato-homepage .pricing-btn,
.ato-pricing-page .pricing-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 56px !important;
  padding: 0 28px !important;
  border-radius: 18px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
}

.ato-homepage .btn:hover,
.ato-pricing-page .btn:hover,
.ato-homepage .pricing-btn:hover,
.ato-pricing-page .pricing-btn:hover {
  transform: translateY(-1px);
}

.ato-homepage .btn-primary,
.ato-pricing-page .btn-primary,
.ato-homepage .pricing-btn-primary,
.ato-pricing-page .pricing-btn-primary,
.ato-homepage .btn-primary:link,
.ato-pricing-page .btn-primary:link,
.ato-homepage .pricing-btn-primary:link,
.ato-pricing-page .pricing-btn-primary:link,
.ato-homepage .btn-primary:visited,
.ato-pricing-page .btn-primary:visited,
.ato-homepage .pricing-btn-primary:visited,
.ato-pricing-page .pricing-btn-primary:visited,
.ato-homepage .btn-primary:hover,
.ato-pricing-page .btn-primary:hover,
.ato-homepage .pricing-btn-primary:hover,
.ato-pricing-page .pricing-btn-primary:hover,
.ato-homepage .btn-primary:focus,
.ato-pricing-page .btn-primary:focus,
.ato-homepage .pricing-btn-primary:focus,
.ato-pricing-page .pricing-btn-primary:focus,
.ato-homepage .btn-primary:active,
.ato-pricing-page .btn-primary:active,
.ato-homepage .pricing-btn-primary:active,
.ato-pricing-page .pricing-btn-primary:active {
  background: var(--brand-red) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 12px 24px rgba(247, 1, 1, 0.16) !important;
}

.ato-homepage .btn-secondary,
.ato-pricing-page .btn-secondary,
.ato-homepage .btn-secondary:link,
.ato-pricing-page .btn-secondary:link,
.ato-homepage .btn-secondary:visited,
.ato-pricing-page .btn-secondary:visited,
.ato-homepage .btn-secondary:hover,
.ato-pricing-page .btn-secondary:hover,
.ato-homepage .btn-secondary:focus,
.ato-pricing-page .btn-secondary:focus,
.ato-homepage .btn-secondary:active,
.ato-pricing-page .btn-secondary:active {
  background: rgba(255,255,255,0.92) !important;
  color: var(--brand-blue) !important;
  border-color: rgba(1, 12, 128, 0.12) !important;
}

.ato-homepage .pricing-btn-primary *,
.ato-pricing-page .pricing-btn-primary * {
  color: #ffffff !important;
}

/* =========================================================
   6. Shared content sections
   ========================================================= */

.ato-homepage .hero-block {
  padding: 44px 0 28px;
}

.ato-homepage .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 460px);
  gap: 32px;
  align-items: center;
}

.ato-homepage .hero-block-inner {
  max-width: none;
}

.ato-homepage .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.84);
  border: 1px solid var(--line);
  color: var(--brand-blue);
  font-size: .88rem;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 12px 24px rgba(1, 12, 128, 0.05);
}

.ato-homepage h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: .94;
  letter-spacing: -.07em;
  color: var(--brand-blue);
  max-width: 11ch;
}

.ato-homepage h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: .98;
  letter-spacing: -.06em;
  color: var(--brand-blue);
}

.ato-homepage .hero-copy {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 24px;
}

.ato-homepage .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.ato-homepage .microcopy {
  color: var(--muted);
  font-size: .95rem;
  max-width: 60ch;
  margin: 0;
}

.ato-homepage .section-block {
  padding: 56px 0;
}

.ato-homepage .section-block.alt {
  background: linear-gradient(180deg, rgba(246,248,255,0.72), rgba(241,245,255,0.72));
  border-top: 1px solid rgba(1, 12, 128, 0.06);
  border-bottom: 1px solid rgba(1, 12, 128, 0.06);
}

.ato-homepage .section-intro {
  max-width: 820px;
  margin-bottom: 28px;
}

.ato-homepage .kicker {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--brand-red);
  font-weight: 800;
  margin-bottom: 12px;
}

.ato-homepage .lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 68ch;
}

.ato-homepage .lead-spaced {
  margin-top: 14px;
}

/* =========================================================
   7. Homepage preview/product cards
   ========================================================= */

.ato-homepage .hero-preview {
  display: block;
}

.ato-homepage .hero-preview-shell,
.ato-homepage .product-frame {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,249,255,0.96));
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.ato-homepage .hero-preview-shell {
  padding: 18px;
  border-radius: 28px;
}

.ato-homepage .product-frame {
  padding: 24px;
  border-radius: 34px;
}

.ato-homepage .hero-preview-shell::before,
.ato-homepage .product-frame::before,
.ato-homepage .product-frame::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ato-homepage .hero-preview-shell::before {
  width: 180px;
  height: 180px;
  top: -70px;
  right: -50px;
  background: rgba(247, 1, 1, 0.12);
  filter: blur(28px);
}

.ato-homepage .product-frame::before,
.ato-homepage .product-frame::after {
  filter: blur(40px);
  opacity: .28;
}

.ato-homepage .product-frame::before {
  width: 220px;
  height: 220px;
  background: rgba(247, 1, 1, 0.16);
  top: -70px;
  right: -60px;
}

.ato-homepage .product-frame::after {
  width: 240px;
  height: 240px;
  background: rgba(1, 12, 128, 0.10);
  left: -80px;
  bottom: -90px;
}

.ato-homepage .hero-preview-bar,
.ato-homepage .window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.ato-homepage .dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d7ddff;
}

.ato-homepage .dot.red {
  background: var(--brand-red);
}

.ato-homepage .dot.blue {
  background: var(--brand-blue);
}

.ato-homepage .hero-preview-grid,
.ato-homepage .hero-preview-list,
.ato-homepage .list {
  display: grid;
  gap: 10px;
}

.ato-homepage .hero-preview-card,
.ato-homepage .panel {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: var(--shadow-md);
}

.ato-homepage .hero-preview-card {
  border-radius: 20px;
  padding: 14px;
}

.ato-homepage .panel {
  border-radius: 24px;
  padding: 18px;
}

.ato-homepage .hero-preview-title,
.ato-homepage .panel h3 {
  color: var(--brand-blue);
  font-weight: 800;
}

.ato-homepage .hero-preview-title {
  font-size: .92rem;
  margin-bottom: 10px;
}

.ato-homepage .panel h3 {
  margin: 0 0 12px;
  letter-spacing: -.03em;
  font-size: 1.45rem;
}

.ato-homepage .hero-preview-stats,
.ato-homepage .mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.ato-homepage .mini-grid {
  gap: 10px;
  margin-bottom: 14px;
}

.ato-homepage .hero-preview-stat,
.ato-homepage .mini-stat {
  background: var(--panel);
  border: 1px solid rgba(1, 12, 128, 0.08);
  border-radius: 14px;
  padding: 10px;
}

.ato-homepage .mini-stat {
  padding: 12px;
  border-radius: 16px;
}

.ato-homepage .hero-preview-stat strong,
.ato-homepage .mini-stat strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1rem;
  margin-bottom: 4px;
}

.ato-homepage .hero-preview-stat span,
.ato-homepage .mini-stat span,
.ato-homepage .hero-preview-item span,
.ato-homepage .item span {
  color: var(--muted);
  font-size: .82rem;
}

.ato-homepage .hero-preview-message,
.ato-homepage .assistant-box {
  background: linear-gradient(180deg, #f7f9ff 0%, #eef3ff 100%);
  border: 1px solid rgba(1, 12, 128, 0.10);
  color: var(--muted);
}

.ato-homepage .hero-preview-message {
  border-radius: 16px;
  padding: 12px;
  font-size: .9rem;
}

.ato-homepage .assistant-box {
  border-radius: 20px;
  padding: 14px;
  margin-top: 14px;
}

.ato-homepage .assistant-label {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--brand-red);
  font-weight: 800;
  margin-bottom: 8px;
}

.ato-homepage .assistant-box p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.ato-homepage .hero-preview-item,
.ato-homepage .item {
  border: 1px solid rgba(1, 12, 128, 0.08);
  border-radius: 14px;
  background: #fff;
}

.ato-homepage .hero-preview-item {
  padding: 10px 12px;
}

.ato-homepage .item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 13px;
  border-radius: 16px;
}

.ato-homepage .hero-preview-item strong,
.ato-homepage .item strong {
  display: block;
  color: var(--brand-blue);
  font-size: .92rem;
  margin-bottom: 2px;
}

.ato-homepage .product-block {
  padding: 6px 0 26px;
}

.ato-homepage .product-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.ato-homepage .pill {
  white-space: nowrap;
  font-size: .74rem;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 16px;
}

.ato-homepage .pill.red {
  background: rgba(247, 1, 1, 0.09);
  color: var(--brand-red);
}

.ato-homepage .pill.blue {
  background: rgba(1, 12, 128, 0.08);
  color: var(--brand-blue);
}

.ato-homepage .pill.soft {
  background: var(--panel);
  color: var(--muted);
}

/* =========================================================
   8. Shared value/features/pricing cards
   ========================================================= */

.ato-homepage .value-block {
  padding: 8px 0 18px;
}

.ato-homepage .value-grid,
.ato-homepage .feature-grid,
.ato-homepage .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ato-homepage .pricing-grid {
  gap: 28px;
  align-items: stretch;
  margin-top: 28px;
}

.ato-homepage .value-card,
.ato-homepage .feature-card,
.ato-homepage .pricing-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: var(--shadow-md);
}

.ato-homepage .value-card {
  border-radius: 24px;
  padding: 24px;
}

.ato-homepage .feature-card,
.ato-homepage .pricing-card {
  border-radius: 26px;
  padding: 24px;
}

.ato-homepage .pricing-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.ato-homepage .pricing-card.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 14px 36px rgba(1, 12, 128, 0.08);
}

.ato-homepage .value-card h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--brand-blue);
}

.ato-homepage .value-card p,
.ato-homepage .feature-card p {
  margin: 0;
  color: var(--muted);
}

.ato-homepage .feature-no {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid rgba(1, 12, 128, 0.08);
  color: var(--brand-blue);
  font-weight: 800;
  margin-bottom: 16px;
}

.ato-homepage .feature-card h3 {
  margin: 0 0 10px;
  color: var(--brand-blue);
  font-size: 1.06rem;
  letter-spacing: -.03em;
}

.ato-homepage .pricing-badge {
  display: inline-block;
  background: var(--brand-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.ato-homepage .pricing-name,
.ato-homepage .pricing-price {
  color: var(--brand-blue);
  font-weight: 800;
}

.ato-homepage .pricing-name {
  font-size: 30px;
  line-height: 1.08;
  margin-bottom: 8px;
}

.ato-homepage .pricing-price {
  font-size: 24px;
  margin-bottom: 14px;
}

.ato-homepage .pricing-price span {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.8;
}

.ato-homepage .pricing-subcopy,
.ato-homepage .pricing-list,
.ato-homepage .pricing-note {
  color: var(--brand-blue);
}

.ato-homepage .pricing-subcopy {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.ato-homepage .pricing-list {
  margin: 0 0 22px 0;
  padding-left: 20px;
  line-height: 1.8;
}

.ato-homepage .pricing-list li {
  margin-bottom: 6px;
}

.ato-homepage .pricing-footer {
  margin-top: auto;
}

.ato-homepage .pricing-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.85;
}

.ato-homepage .pricing-actions {
  margin-top: 26px;
}

/* =========================================================
   9. CTA/footer
   ========================================================= */

.ato-homepage .cta-block {
  padding: 78px 0 88px;
}

.ato-homepage .cta-wrap {
  border-radius: 34px;
  padding: 40px;
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 65%, #273aeb 100%);
  color: #fff;
  box-shadow: 0 28px 60px rgba(1, 12, 128, 0.20);
  position: relative;
  overflow: hidden;
}

.ato-homepage .cta-wrap::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -80px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(247, 1, 1, 0.18);
  filter: blur(30px);
}

.ato-homepage .cta-wrap h2 {
  color: #fff;
  max-width: 13ch;
}

.ato-homepage .cta-wrap p,
.ato-homepage .cta-wrap .microcopy {
  color: rgba(255,255,255,0.84);
}

.ato-homepage .cta-wrap p {
  max-width: 60ch;
  margin: 0 0 22px;
}

.ato-homepage .cta-wrap .btn-secondary {
  background: #fff !important;
  color: var(--brand-blue) !important;
  border-color: rgba(255,255,255,0.3) !important;
}

.ato-homepage footer,
.ato-pricing-page footer {
  padding: 24px 0 42px;
  border-top: 1px solid rgba(1, 12, 128, 0.08);
}

.ato-homepage .footer-grid,
.ato-pricing-page .footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: .95rem;
}

.ato-homepage .footer-links,
.ato-pricing-page .footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================================
   10. About page
   ========================================================= */

.ato-about-page .ato-about-hero {
  padding: 54px 0 34px;
}

.ato-about-page .ato-about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 440px);
  gap: 36px;
  align-items: center;
}

.ato-about-page h1 {
  max-width: 12ch;
}

.ato-about-story-card,
.ato-about-process-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,249,255,0.96));
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  padding: 26px;
  overflow: hidden;
}

.ato-about-story-card::before,
.ato-about-process-card::before {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  top: -72px;
  right: -58px;
  border-radius: 50%;
  background: rgba(247, 1, 1, 0.11);
  filter: blur(30px);
  pointer-events: none;
}

.ato-about-story-card h2,
.ato-about-process-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -.05em;
}

.ato-about-story-card p {
  position: relative;
  z-index: 1;
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.65;
}

.ato-about-mini-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.ato-about-mini-list div {
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(1, 12, 128, 0.08);
  border-radius: 18px;
  padding: 14px;
}

.ato-about-mini-list strong {
  display: block;
  color: var(--brand-blue);
  font-size: .96rem;
  margin-bottom: 4px;
}

.ato-about-mini-list span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}

.ato-about-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
  gap: 34px;
  align-items: start;
}

.ato-about-process {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  counter-reset: ato-process;
}

.ato-about-process li {
  list-style: none;
  counter-increment: ato-process;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(1, 12, 128, 0.08);
  border-radius: 18px;
  padding: 14px;
}

.ato-about-process li::before {
  content: counter(ato-process, decimal-leading-zero);
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid rgba(1, 12, 128, 0.08);
  color: var(--brand-blue);
  font-weight: 800;
  font-size: .82rem;
}

.ato-about-process strong,
.ato-about-process span {
  grid-column: 2;
  min-width: 0;
  white-space: normal;
}

.ato-about-process strong {
  grid-row: 1;
  display: block;
  color: var(--brand-blue);
  font-size: .98rem;
  margin-bottom: 4px;
}

.ato-about-process span {
  grid-row: 2;
  display: block;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
}

.ato-about-founder {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 30px;
  box-shadow: var(--shadow-md);
  padding: 34px;
}

.ato-about-founder-copy {
  display: grid;
  gap: 16px;
}

.ato-about-founder-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.7;
}

/* =========================================================
   11. Pricing page
   ========================================================= */

.ato-pricing-page .pricing-container {
  width: min(var(--pricing-max), calc(100% - 32px));
  margin: 0 auto;
}

.ato-pricing-page .pricing-hero {
  padding: 64px 0 34px;
}

.ato-pricing-page .pricing-eyebrow,
.ato-pricing-page .pricing-kicker {
  display: inline-flex;
  align-items: center;
  color: var(--brand-red);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.ato-pricing-page .pricing-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .94;
  letter-spacing: -.07em;
  color: var(--brand-blue);
  max-width: 13ch;
}

.ato-pricing-page .pricing-hero-copy {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.7;
}

.ato-pricing-page .pricing-summary-band {
  padding: 0 0 28px;
}

.ato-pricing-page .pricing-summary-box {
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 70%, #273aeb 100%);
  border-radius: 28px;
  padding: 26px 30px;
  box-shadow: var(--shadow-lg);
}

.ato-pricing-page .pricing-summary-box p {
  margin: 0;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.ato-pricing-page .pricing-plans-section,
.ato-pricing-page .pricing-detail-section,
.ato-pricing-page .pricing-faq-section {
  padding: 56px 0;
}

.ato-pricing-page .pricing-section-intro {
  max-width: 820px;
  margin-bottom: 28px;
}

.ato-pricing-page .pricing-section-intro h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: .98;
  letter-spacing: -.06em;
  color: var(--brand-blue);
}

.ato-pricing-page .pricing-section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.ato-pricing-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.ato-pricing-page .pricing-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.ato-pricing-page .pricing-card.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 14px 36px rgba(1, 12, 128, 0.08);
}

.ato-pricing-page .pricing-badge {
  display: inline-block;
  width: fit-content;
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.ato-pricing-page .pricing-card-name {
  font-size: 30px;
  line-height: 1.08;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.ato-pricing-page .pricing-card-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 14px;
}

.ato-pricing-page .pricing-card-price span {
  font-size: 16px;
  font-weight: 500;
  opacity: .8;
}

.ato-pricing-page .pricing-card-copy,
.ato-pricing-page .pricing-card-list,
.ato-pricing-page .pricing-card-note {
  color: var(--muted);
}

.ato-pricing-page .pricing-card-copy {
  font-size: 16px;
  line-height: 1.65;
  margin: 0 0 18px;
}

.ato-pricing-page .pricing-card-list {
  margin: 0 0 26px;
  padding-left: 20px;
  line-height: 1.8;
}

.ato-pricing-page .pricing-card-list li {
  margin-bottom: 6px;
}

.ato-pricing-page .pricing-card-footer {
  margin-top: auto;
}

.ato-pricing-page .pricing-card-note {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.ato-pricing-page .pricing-detail-grid,
.ato-pricing-page .pricing-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.ato-pricing-page .pricing-detail-card,
.ato-pricing-page .pricing-faq-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.ato-pricing-page .pricing-detail-card h3,
.ato-pricing-page .pricing-faq-card h3 {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.ato-pricing-page .pricing-detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.ato-pricing-page .pricing-faq-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

/* =========================================================
   12. Contact page
   ========================================================= */

.page-id-105 .ato-contact-page .ato-contact-intro {
  padding: 48px 0 24px;
  margin: 0;
}

.page-id-105 .ato-contact-copy,
.page-id-105 .wp-block-jetpack-form,
.page-id-105 .wp-block-form,
.page-id-105 form {
  background: rgba(255,255,255,0.94) !important;
  border: 1px solid rgba(1, 12, 128, 0.10) !important;
  border-radius: 30px !important;
  box-shadow: var(--shadow-md) !important;
}

.page-id-105 .ato-contact-copy {
  max-width: 1040px;
  padding: 34px;
}

.page-id-105 .ato-contact-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: .96;
  letter-spacing: -.07em;
  color: var(--brand-blue);
  max-width: 8ch;
}

.page-id-105 .ato-contact-copy p,
.page-id-105 .ato-contact-copy .lead {
  max-width: 44ch;
}

.page-id-105 .ato-contact-notes {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.page-id-105 .ato-contact-note {
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(1, 12, 128, 0.08);
  border-radius: 18px;
  padding: 16px;
}

.page-id-105 .ato-contact-note strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1rem;
  margin-bottom: 6px;
}

.page-id-105 .ato-contact-note span {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
}

.page-id-105 .wp-block-jetpack-form,
.page-id-105 .wp-block-form,
.page-id-105 form {
  padding: 28px !important;
  margin-top: 24px !important;
}

.page-id-105 .wp-block-jetpack-form *,
.page-id-105 .wp-block-form * {
  background-image: none !important;
}

.page-id-105 label {
  display: block !important;
  margin-bottom: 8px !important;
  color: var(--brand-blue) !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
}

.page-id-105 input[type="text"],
.page-id-105 input[type="email"],
.page-id-105 input[type="tel"],
.page-id-105 textarea,
.page-id-105 select {
  width: 100% !important;
  min-height: 58px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(1, 12, 128, 0.12) !important;
  background: #ffffff !important;
  color: var(--brand-blue) !important;
  box-shadow: inset 0 1px 0 rgba(1, 12, 128, 0.02) !important;
}

.page-id-105 textarea {
  min-height: 180px !important;
}

.page-id-105 button[type="submit"],
.page-id-105 input[type="submit"],
.page-id-105 .wp-block-button__link {
  width: 100% !important;
  min-height: 62px !important;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--brand-red) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  box-shadow: 0 12px 24px rgba(247, 1, 1, 0.16) !important;
  text-align: center !important;
}

.page-id-105 button[type="submit"]:hover,
.page-id-105 input[type="submit"]:hover {
  transform: translateY(-1px);
}

/* =========================================================
   13. Signup pages
   ========================================================= */

.ato-signup-shell {
  padding: 56px 20px 72px;
  background:
    radial-gradient(circle at top right, rgba(247, 1, 1, 0.05), transparent 22%),
    radial-gradient(circle at top left, rgba(1, 12, 128, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.ato-signup-wrap {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.ato-signup-intro {
  padding: 28px 8px 0 0;
}

.ato-signup-kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(1, 12, 128, 0.08);
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ato-signup-intro h1 {
  margin: 0 0 18px;
  color: var(--brand-blue);
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.ato-signup-intro p {
  margin: 0 0 24px;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.ato-signup-plan-points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ato-signup-plan-points li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.ato-signup-plan-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 5px rgba(247, 1, 1, 0.12);
}

.ato-signup-card {
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(1, 12, 128, 0.08);
  padding: 32px;
}

.ato-signup-card h1,
.ato-signup-card h2,
.ato-signup-card h3 {
  color: var(--brand-blue);
}

.ato-signup-card form {
  margin: 0;
}

.ato-signup-card p {
  margin-bottom: 18px;
}

.ato-signup-card label {
  display: block;
  color: var(--brand-blue);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ato-signup-card input[type="text"],
.ato-signup-card input[type="email"],
.ato-signup-card input[type="password"],
.ato-signup-card input[type="number"],
.ato-signup-card select,
.ato-signup-card textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid #d7def0;
  border-radius: 16px;
  background: #ffffff;
  padding: 0 16px;
  font-size: 16px;
  color: #1e2a44;
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.ato-signup-card textarea {
  min-height: 140px;
  padding: 16px;
}

.ato-signup-card input:focus,
.ato-signup-card select:focus,
.ato-signup-card textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(1, 12, 128, 0.08);
}

.ato-signup-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: middle;
}

.ato-signup-card button,
.ato-signup-card input[type="submit"] {
  appearance: none;
  border: 0;
  border-radius: 16px;
  min-height: 56px;
  padding: 0 28px;
  background: var(--brand-red);
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(247, 1, 1, 0.22);
  transition: transform .18s ease, opacity .18s ease, box-shadow .18s ease, background .18s ease;
}

.ato-signup-card button:hover,
.ato-signup-card input[type="submit"]:hover {
  background: linear-gradient(135deg, var(--brand-red) 0%, #d90000 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(247, 1, 1, 0.30);
}

.ato-signup-card button:disabled,
.ato-signup-card input[type="submit"]:disabled {
  background: var(--brand-red);
  color: #ffffff;
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.ato-signup-card small {
  display: block;
  margin-top: 6px;
  font-size: 13px;
}

/* =========================================================
   14. Responsive rules
   ========================================================= */

@media (max-width: 1080px) {
  .ato-homepage .site-header-inner,
  .ato-pricing-page .site-header-inner {
    min-height: auto !important;
    flex-wrap: wrap !important;
    align-items: center !important;
  }

  .ato-homepage .site-nav,
  .ato-pricing-page .site-nav {
    order: 3 !important;
    width: 100% !important;
    justify-content: flex-start !important;
    margin: 0 !important;
    flex-wrap: wrap !important;
  }

  .ato-homepage .site-actions,
  .ato-pricing-page .site-actions {
    margin-left: auto !important;
  }

  .ato-homepage .hero-layout,
  .ato-homepage .value-grid,
  .ato-homepage .product-grid,
  .ato-homepage .feature-grid,
  .ato-homepage .pricing-grid,
  .ato-about-page .ato-about-hero-grid,
  .ato-about-page .ato-about-split,
  .ato-about-page .ato-about-founder,
  .ato-pricing-page .pricing-grid,
  .ato-pricing-page .pricing-detail-grid,
  .ato-pricing-page .pricing-faq-grid,
  .ato-signup-wrap {
    grid-template-columns: 1fr;
  }

  .ato-homepage .hero-preview,
  .ato-about-story-card,
  .ato-about-process-card {
    max-width: 720px;
  }

  .ato-signup-intro {
    padding: 0;
  }
}

@media (max-width: 760px) {
  .ato-homepage .site-header-inner,
  .ato-pricing-page .site-header-inner {
    width: calc(100% - 24px) !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 12px 0 !important;
  }

  .ato-homepage .brand-logo,
  .ato-pricing-page .brand-logo {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
  }

  .ato-homepage .site-nav,
  .ato-pricing-page .site-nav {
    gap: 14px !important;
  }

  .ato-homepage .site-actions,
  .ato-pricing-page .site-actions {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    margin-left: 0 !important;
  }

  .ato-homepage .site-actions .btn,
  .ato-pricing-page .site-actions .btn {
    flex: 1 1 auto !important;
  }

  .ato-homepage h1 {
    max-width: none;
  }

  .ato-homepage .hero-block {
    padding: 32px 0 18px;
  }

  .ato-homepage .section-block,
  .ato-homepage .cta-block,
  .ato-pricing-page .pricing-plans-section,
  .ato-pricing-page .pricing-detail-section,
  .ato-pricing-page .pricing-faq-section {
    padding: 42px 0;
  }

  .ato-homepage .product-frame,
  .ato-homepage .cta-wrap,
  .ato-homepage .value-card,
  .ato-homepage .pricing-card,
  .ato-homepage .feature-card,
  .ato-homepage .hero-preview-shell,
  .ato-about-story-card,
  .ato-about-process-card,
  .ato-about-founder,
  .ato-pricing-page .pricing-card,
  .ato-pricing-page .pricing-detail-card,
  .ato-pricing-page .pricing-faq-card,
  .ato-signup-card,
  .page-id-105 .ato-contact-copy,
  .page-id-105 .wp-block-jetpack-form,
  .page-id-105 .wp-block-form,
  .page-id-105 form {
    padding: 22px !important;
  }

  .ato-about-process li {
    grid-template-columns: 1fr;
  }

  .ato-about-process li::before,
  .ato-about-process strong,
  .ato-about-process span {
    grid-column: 1;
  }

  .ato-about-process li::before {
    grid-row: auto;
    width: 42px;
    height: 42px;
  }

  .ato-homepage .footer-grid,
  .ato-pricing-page .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* =========================================================
   Signup form CTA hover flicker fix
   Pages: Starter 2709, Team 2727, Growth 2731
   ========================================================= */

.page-id-2709 .ato-signup-card button,
.page-id-2709 .ato-signup-card input[type="submit"],
.page-id-2727 .ato-signup-card button,
.page-id-2727 .ato-signup-card input[type="submit"],
.page-id-2731 .ato-signup-card button,
.page-id-2731 .ato-signup-card input[type="submit"] {
  background: var(--brand-red) !important;
  background-color: var(--brand-red) !important;
  color: #ffffff !important;
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    opacity .18s ease !important;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.page-id-2709 .ato-signup-card button:hover,
.page-id-2709 .ato-signup-card input[type="submit"]:hover,
.page-id-2727 .ato-signup-card button:hover,
.page-id-2727 .ato-signup-card input[type="submit"]:hover,
.page-id-2731 .ato-signup-card button:hover,
.page-id-2731 .ato-signup-card input[type="submit"]:hover {
  background: var(--brand-red) !important;
  background-color: var(--brand-red) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(247, 1, 1, 0.24) !important;
}

.page-id-2709 .ato-signup-card button:active,
.page-id-2709 .ato-signup-card input[type="submit"]:active,
.page-id-2727 .ato-signup-card button:active,
.page-id-2727 .ato-signup-card input[type="submit"]:active,
.page-id-2731 .ato-signup-card button:active,
.page-id-2731 .ato-signup-card input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(247, 1, 1, 0.20) !important;
}
/* =========================================
   ATO Articles / Blog styling
   Applies to Articles page + all blog posts
   ========================================= */

:root {
  --ato-red: #F70101;
  --ato-blue: #010C80;
  --ato-muted: #22338f;
  --ato-soft: #f7f9ff;
  --ato-line: rgba(1, 12, 128, 0.10);
  --ato-shadow-md: 0 14px 28px rgba(1, 12, 128, 0.04);
  --ato-shadow-lg: 0 24px 44px rgba(1, 12, 128, 0.10);
  --ato-max: 1120px;
}

/* Hide native footer if it appears on article areas */
.page-id-2875 #colophon,
.single-post #colophon {
  display: none !important;
}

/* Shared background and typography */
.page-id-2875,
.single-post {
  background:
    radial-gradient(circle at top right, rgba(247, 1, 1, 0.05), transparent 22%),
    radial-gradient(circle at top left, rgba(1, 12, 128, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
  color: var(--ato-blue) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

/* Remove awkward theme spacing */
.page-id-2875 .site-content,
.page-id-2875 #primary,
.page-id-2875 #main,
.page-id-2875 .entry-content,
.page-id-2875 .wp-block-post-content,
.single-post .site-content,
.single-post #primary,
.single-post #main,
.single-post .entry-content,
.single-post .wp-block-post-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Main width */
.page-id-2875 #primary,
.page-id-2875 #main,
.page-id-2875 .entry-content,
.page-id-2875 .wp-block-post-content,
.single-post #primary,
.single-post #main,
.single-post article,
.single-post .entry-content,
.single-post .wp-block-post-content {
  width: min(var(--ato-max), calc(100% - 32px)) !important;
  max-width: var(--ato-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* =========================================
   Articles listing page
   ========================================= */

.page-id-2875 .entry-title,
.page-id-2875 .wp-block-post-title,
.page-id-2875 header.entry-header,
.page-id-2875 .entry-header {
  display: none !important;
}

/* Articles page title */
.page-id-2875 .entry-content > h1,
.page-id-2875 .wp-block-post-content > h1,
.page-id-2875 h1:first-of-type {
  margin: 0 0 34px !important;
  padding-top: 54px !important;
  color: var(--ato-blue) !important;
  font-size: clamp(2.8rem, 5vw, 4.6rem) !important;
  line-height: .96 !important;
  letter-spacing: -.07em !important;
  font-weight: 800 !important;
}

/* Blog grid / query block */
.page-id-2875 .wp-block-post-template,
.page-id-2875 .wp-block-query .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  padding: 0 0 72px !important;
  margin: 0 !important;
}

/* Article preview cards */
.page-id-2875 .wp-block-post,
.page-id-2875 .wp-block-query li {
  list-style: none !important;
  background: rgba(255,255,255,0.94) !important;
  border: 1px solid var(--ato-line) !important;
  border-radius: 28px !important;
  box-shadow: var(--ato-shadow-md) !important;
  padding: 26px !important;
  min-width: 0 !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.page-id-2875 .wp-block-post:hover,
.page-id-2875 .wp-block-query li:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--ato-shadow-lg) !important;
  border-color: rgba(1, 12, 128, 0.16) !important;
}

/* Preview titles */
.page-id-2875 .wp-block-post-title,
.page-id-2875 .wp-block-post-title a,
.page-id-2875 h2.wp-block-post-title,
.page-id-2875 h2.wp-block-post-title a {
  color: var(--ato-blue) !important;
  font-size: 1.45rem !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  margin: 0 0 16px !important;
}

/* Hide draft badges on public preview cards if theme outputs them visibly */
.page-id-2875 .wp-block-post-title .post-state,
.page-id-2875 .wp-block-post-title .post-status,
.page-id-2875 .post-state,
.page-id-2875 .post-status,
.page-id-2875 .draft {
  display: none !important;
}

/* Preview excerpts */
.page-id-2875 .wp-block-post-excerpt,
.page-id-2875 .wp-block-post-excerpt p,
.page-id-2875 .wp-block-post-content p {
  color: var(--ato-blue) !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

/* Preview author/date/category metadata */
.page-id-2875 .wp-block-post-date,
.page-id-2875 .wp-block-post-author,
.page-id-2875 .wp-block-post-terms,
.page-id-2875 .entry-meta,
.page-id-2875 .posted-on,
.page-id-2875 .byline,
.page-id-2875 .cat-links,
.page-id-2875 .tags-links {
  display: none !important;
}

/* Read more link */
.page-id-2875 .wp-block-post-excerpt__more-link,
.page-id-2875 .more-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  margin-top: 18px !important;
  padding: 0 18px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(1, 12, 128, 0.12) !important;
  color: var(--ato-blue) !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

/* =========================================
   Individual blog posts
   ========================================= */

/* Hide all post metadata below headline */
.single-post .entry-meta,
.single-post .posted-on,
.single-post .byline,
.single-post .cat-links,
.single-post .tags-links,
.single-post .author,
.single-post .post-author,
.single-post .post-date,
.single-post .wp-block-post-date,
.single-post .wp-block-post-author,
.single-post .wp-block-post-terms {
  display: none !important;
}

/* Post shell */
.single-post article {
  padding: 56px 0 82px !important;
}

/* Post title */
.single-post .entry-title,
.single-post .wp-block-post-title,
.single-post h1 {
  margin: 0 0 32px !important;
  color: var(--ato-blue) !important;
  font-size: clamp(2.7rem, 5vw, 4.8rem) !important;
  line-height: .96 !important;
  letter-spacing: -.07em !important;
  font-weight: 800 !important;
  max-width: 920px !important;
}

/* Post content card */
.single-post .entry-content,
.single-post .wp-block-post-content {
  background: rgba(255,255,255,0.94) !important;
  border: 1px solid var(--ato-line) !important;
  border-radius: 30px !important;
  box-shadow: var(--ato-shadow-md) !important;
  padding: clamp(26px, 4vw, 46px) !important;
}

/* Post body typography */
.single-post .entry-content p,
.single-post .wp-block-post-content p,
.single-post .entry-content li,
.single-post .wp-block-post-content li {
  color: var(--ato-blue) !important;
  font-size: 1.08rem !important;
  line-height: 1.8 !important;
  max-width: 76ch !important;
}

.single-post .entry-content p,
.single-post .wp-block-post-content p {
  margin: 0 0 24px !important;
}

.single-post .entry-content h2,
.single-post .wp-block-post-content h2 {
  margin: 42px 0 18px !important;
  color: var(--ato-blue) !important;
  font-size: clamp(2rem, 3vw, 3rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.05em !important;
  font-weight: 800 !important;
}

.single-post .entry-content h3,
.single-post .wp-block-post-content h3 {
  margin: 34px 0 14px !important;
  color: var(--ato-blue) !important;
  font-size: 1.45rem !important;
  line-height: 1.15 !important;
  letter-spacing: -.03em !important;
  font-weight: 800 !important;
}

.single-post .entry-content a,
.single-post .wp-block-post-content a {
  color: var(--ato-blue) !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 4px !important;
}

/* Remove edit links from public layout */
.single-post .edit-link,
.single-post .post-edit-link,
.page-id-2875 .edit-link,
.page-id-2875 .post-edit-link {
  display: none !important;
}

/* Responsive */
@media (max-width: 1080px) {
  .page-id-2875 .wp-block-post-template,
  .page-id-2875 .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 760px) {
  .page-id-2875 #primary,
  .page-id-2875 #main,
  .page-id-2875 .entry-content,
  .page-id-2875 .wp-block-post-content,
  .single-post #primary,
  .single-post #main,
  .single-post article,
  .single-post .entry-content,
  .single-post .wp-block-post-content {
    width: calc(100% - 20px) !important;
  }

  .page-id-2875 .wp-block-post-template,
  .page-id-2875 .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .page-id-2875 .wp-block-post,
  .page-id-2875 .wp-block-query li,
  .single-post .entry-content,
  .single-post .wp-block-post-content {
    padding: 22px !important;
    border-radius: 24px !important;
  }

  .single-post article {
    padding: 38px 0 56px !important;
  }
}
/* =========================================
   ATO Articles final fix + nav + post CTAs
   Page ID: 2875
   ========================================= */

/* Hide the native WordPress page heading only, not the article card titles */
.page-id-2875 > .entry-header,
.page-id-2875 header.entry-header,
.page-id-2875 .site-main > .entry-header,
.page-id-2875 article > .entry-header {
  display: none !important;
}

/* Force article preview headlines back on */
.page-id-2875 .wp-block-query .wp-block-post-title,
.page-id-2875 .wp-block-query .wp-block-post-title a,
.page-id-2875 .wp-block-post-template .wp-block-post-title,
.page-id-2875 .wp-block-post-template .wp-block-post-title a,
.page-id-2875 li.wp-block-post .wp-block-post-title,
.page-id-2875 li.wp-block-post .wp-block-post-title a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #010C80 !important;
  font-size: 1.45rem !important;
  line-height: 1.1 !important;
  letter-spacing: -0.04em !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  margin: 0 0 16px !important;
}

/* Articles page custom shell */
.page-id-2875 .ato-articles-page,
.page-id-2875 .ato-articles-page * {
  box-sizing: border-box;
}

.page-id-2875 .ato-articles-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #010C80;
}

/* Articles header/nav */
.page-id-2875 .ato-articles-page .container {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.page-id-2875 .ato-articles-page .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(255,255,255,0.88) !important;
  border-bottom: 1px solid rgba(1, 12, 128, 0.08) !important;
  backdrop-filter: blur(12px);
}

.page-id-2875 .ato-articles-page .site-header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 12px 0 !important;
}

.page-id-2875 .ato-articles-page .brand {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  text-decoration: none !important;
}

.page-id-2875 .ato-articles-page .brand-logo {
  display: block !important;
  width: 86px !important;
  height: 86px !important;
  max-width: 86px !important;
  max-height: 86px !important;
  object-fit: contain !important;
}

.page-id-2875 .ato-articles-page .site-nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  margin-left: auto !important;
}

.page-id-2875 .ato-articles-page .site-nav a {
  color: #010C80 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.page-id-2875 .ato-articles-page .site-nav a:hover {
  color: #F70101 !important;
}

.page-id-2875 .ato-articles-page .site-actions {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-left: 10px !important;
  flex: 0 0 auto !important;
}

.page-id-2875 .ato-articles-page .btn {
  min-height: 56px !important;
  padding: 0 28px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  border: 1px solid transparent !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

.page-id-2875 .ato-articles-page .btn:hover {
  transform: translateY(-1px);
}

.page-id-2875 .ato-articles-page .btn-primary,
.page-id-2875 .ato-articles-page .btn-primary:link,
.page-id-2875 .ato-articles-page .btn-primary:visited {
  background: #F70101 !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(247, 1, 1, 0.16) !important;
}

.page-id-2875 .ato-articles-page .btn-secondary,
.page-id-2875 .ato-articles-page .btn-secondary:link,
.page-id-2875 .ato-articles-page .btn-secondary:visited {
  background: rgba(255,255,255,0.92) !important;
  color: #010C80 !important;
  border-color: rgba(1, 12, 128, 0.12) !important;
}

/* Articles intro */
.page-id-2875 .ato-articles-intro {
  padding: 56px 0 34px !important;
}

.page-id-2875 .ato-articles-intro .kicker {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: #F70101;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-id-2875 .ato-articles-intro h1 {
  margin: 0 0 16px !important;
  color: #010C80 !important;
  font-size: clamp(2.8rem, 5vw, 4.8rem) !important;
  line-height: .96 !important;
  letter-spacing: -.07em !important;
  font-weight: 800 !important;
  max-width: 11ch !important;
}

.page-id-2875 .ato-articles-intro .lead {
  margin: 0 !important;
  color: #22338f !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
  max-width: 66ch !important;
}

/* If the old plain "Articles" h1 is still present, hide it */
.page-id-2875 .entry-content > h1:first-child,
.page-id-2875 .wp-block-post-content > h1:first-child {
  display: none !important;
}

/* Improve card text */
.page-id-2875 .wp-block-query .wp-block-post-excerpt,
.page-id-2875 .wp-block-query .wp-block-post-excerpt p {
  color: #010C80 !important;
  font-size: 1rem !important;
  line-height: 1.72 !important;
}

/* Branded previous / next navigation on individual posts */
.single-post .post-navigation,
.single-post nav.navigation.post-navigation,
.single-post .nav-links {
  width: min(1120px, calc(100% - 32px)) !important;
  margin: 34px auto 72px !important;
}

.single-post .post-navigation .nav-links,
.single-post nav.navigation.post-navigation .nav-links {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 18px !important;
}

.single-post .post-navigation .nav-previous,
.single-post .post-navigation .nav-next {
  min-width: 0 !important;
}

.single-post .post-navigation a,
.single-post nav.navigation.post-navigation a {
  display: block !important;
  min-height: 96px !important;
  padding: 22px 24px !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,0.94) !important;
  border: 1px solid rgba(1, 12, 128, 0.10) !important;
  box-shadow: 0 14px 28px rgba(1, 12, 128, 0.04) !important;
  color: #010C80 !important;
  text-decoration: none !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

.single-post .post-navigation a:hover,
.single-post nav.navigation.post-navigation a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 24px 44px rgba(1, 12, 128, 0.10) !important;
}

/* Add clear labels where the theme supports nav title structure */
.single-post .nav-previous a::before {
  content: "Previous article";
  display: block;
  margin-bottom: 8px;
  color: #F70101;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}

.single-post .nav-next a::before {
  content: "Next article";
  display: block;
  margin-bottom: 8px;
  color: #F70101;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 1080px) {
  .page-id-2875 .ato-articles-page .site-header-inner {
    flex-wrap: wrap !important;
  }

  .page-id-2875 .ato-articles-page .site-nav {
    order: 3 !important;
    width: 100% !important;
    margin-left: 0 !important;
    flex-wrap: wrap !important;
  }

  .page-id-2875 .ato-articles-page .site-actions {
    margin-left: auto !important;
  }
}

@media (max-width: 760px) {
  .page-id-2875 .ato-articles-page .brand-logo {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    max-height: 52px !important;
  }

  .page-id-2875 .ato-articles-page .site-header-inner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .page-id-2875 .ato-articles-page .site-nav {
    gap: 14px !important;
  }

  .page-id-2875 .ato-articles-page .site-actions {
    width: 100% !important;
    margin-left: 0 !important;
    flex-wrap: wrap !important;
  }

  .page-id-2875 .ato-articles-page .site-actions .btn {
    flex: 1 1 auto !important;
  }

  .single-post .post-navigation .nav-links,
  .single-post nav.navigation.post-navigation .nav-links {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================
   Articles index: restore preview headings
   ========================================= */

.page-id-2875 .wp-block-post-title,
.page-id-2875 .wp-block-post-title a,
.page-id-2875 .wp-block-query .wp-block-post-title,
.page-id-2875 .wp-block-query .wp-block-post-title a,
.page-id-2875 .wp-block-post h2,
.page-id-2875 .wp-block-post h2 a,
.page-id-2875 .wp-block-post h3,
.page-id-2875 .wp-block-post h3 a {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  margin: 0 0 16px !important;
  color: #010C80 !important;
  font-size: clamp(1.45rem, 2vw, 2rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.page-id-2875 .wp-block-post-title a:hover,
.page-id-2875 .wp-block-post h2 a:hover,
.page-id-2875 .wp-block-post h3 a:hover {
  color: #F70101 !important;
}

/* Keep excerpts tidy underneath */
.page-id-2875 .wp-block-post-excerpt,
.page-id-2875 .wp-block-post-excerpt__excerpt,
.page-id-2875 .wp-block-post-content,
.page-id-2875 .wp-block-post p {
  color: #010C80 !important;
  font-size: 1.08rem !important;
  line-height: 1.7 !important;
}

/* Optional: hide post metadata on article cards */
.page-id-2875 .wp-block-post-date,
.page-id-2875 .wp-block-post-author,
.page-id-2875 .wp-block-post-terms,
.page-id-2875 .taxonomy-category {
  display: none !important;
}
/* ATO Articles / Latest Posts styling - safer version */
.ato-articles-list {
  max-width: 1120px !important;
  margin: 72px auto 0 auto !important;
  padding: 0 24px !important;
  color: #010C80 !important;
}

/* Let WordPress control the grid/columns, but clean up spacing */
.ato-articles-list.wp-block-latest-posts,
.ato-articles-list.wp-block-latest-posts.is-grid {
  width: 100% !important;
  max-width: 1120px !important;
  list-style: none !important;
}

/* Individual article cards/items */
.ato-articles-list li {
  color: #010C80 !important;
  list-style: none !important;
  margin-bottom: 56px !important;
}

/* Remove strange hover/fade effects */
.ato-articles-list a,
.ato-articles-list a:visited {
  color: #010C80 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transition: none !important;
  filter: none !important;
  transform: none !important;
}

.ato-articles-list a:hover,
.ato-articles-list a:focus,
.ato-articles-list a:active {
  color: #010C80 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* Article titles */
.ato-articles-list .wp-block-latest-posts__post-title {
  display: block !important;
  margin: 0 0 14px 0 !important;
  font-size: 26px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #010C80 !important;
}

/* Excerpts */
.ato-articles-list .wp-block-latest-posts__post-excerpt {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: #010C80 !important;
}

/* Hide meta if it appears */
.ato-articles-list .wp-block-latest-posts__post-date,
.ato-articles-list .wp-block-latest-posts__post-author {
  display: none !important;
}

/* Mobile */
@media (max-width: 900px) {
  .ato-articles-list {
    margin-top: 48px !important;
    padding: 0 20px !important;
  }

  .ato-articles-list .wp-block-latest-posts__post-title {
    font-size: 23px !important;
  }

  .ato-articles-list .wp-block-latest-posts__post-excerpt {
    font-size: 17px !important;
  }
}
/* Force ATO article preview titles without changing the grid layout */
.ato-articles-list > li > a,
.ato-articles-list.wp-block-latest-posts > li > a,
.ato-articles-list.wp-block-latest-posts.is-grid > li > a {
  display: block !important;
  margin: 0 0 14px 0 !important;
  font-size: 26px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #010C80 !important;
  text-decoration: none !important;
  opacity: 1 !important;
}

.ato-articles-list > li > a:hover,
.ato-articles-list > li > a:focus,
.ato-articles-list > li > a:active,
.ato-articles-list.wp-block-latest-posts > li > a:hover,
.ato-articles-list.wp-block-latest-posts > li > a:focus,
.ato-articles-list.wp-block-latest-posts > li > a:active {
  color: #010C80 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Keep excerpt text calmer than the title */
.ato-articles-list .wp-block-latest-posts__post-excerpt,
.ato-articles-list li .wp-block-latest-posts__post-excerpt {
  font-size: 18px !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  color: #010C80 !important;
}

@media (max-width: 900px) {
  .ato-articles-list > li > a,
  .ato-articles-list.wp-block-latest-posts > li > a,
  .ato-articles-list.wp-block-latest-posts.is-grid > li > a {
    font-size: 23px !important;
    line-height: 1.25 !important;
  }
}
/* ATO Articles preview title styling */
.wp-block-latest-posts li > a,
.wp-block-latest-posts li > .wp-block-latest-posts__post-title,
.wp-block-latest-posts__post-title {
  display: block !important;
  margin: 0 0 14px 0 !important;
  font-size: 26px !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #010C80 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transition: none !important;
}

.wp-block-latest-posts li > a:hover,
.wp-block-latest-posts li > a:focus,
.wp-block-latest-posts li > a:active,
.wp-block-latest-posts__post-title:hover,
.wp-block-latest-posts__post-title:focus,
.wp-block-latest-posts__post-title:active {
  color: #010C80 !important;
  text-decoration: none !important;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

.wp-block-latest-posts__post-excerpt {
  margin-top: 0 !important;
  font-size: 18px !important;
  line-height: 1.7 !important;
  color: #010C80 !important;
}
/* =========================================
   Single blog post cleanup: nav + related
   ========================================= */

/* Hide the visually noisy related articles block at the bottom of posts, but keep social sharing */
.single-post .jp-relatedposts,
.single-post #jp-relatedposts,
.single-post .wp-block-jetpack-related-posts,
.single-post .wp-block-heading:has(+ .wp-block-jetpack-related-posts),
.single-post h2:has(+ .jp-relatedposts),
.single-post h2:has(+ .wp-block-jetpack-related-posts) {
  display: none !important;
}

/* Reset previous/next area so it does not float or collapse */
.single-post nav.navigation.post-navigation,
.single-post .post-navigation {
  width: min(1120px, calc(100% - 32px)) !important;
  max-width: 1120px !important;
  margin: 46px auto 72px !important;
  padding: 0 !important;
  clear: both !important;
}

/* Make the previous/next row clean and balanced */
.single-post nav.navigation.post-navigation .nav-links,
.single-post .post-navigation .nav-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  width: 100% !important;
}

/* Reset theme widths/floats */
.single-post nav.navigation.post-navigation .nav-previous,
.single-post nav.navigation.post-navigation .nav-next,
.single-post .post-navigation .nav-previous,
.single-post .post-navigation .nav-next {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  text-align: left !important;
}

/* Main card style */
.single-post nav.navigation.post-navigation a,
.single-post .post-navigation a {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-height: 150px !important;
  width: 100% !important;
  padding: 26px 28px !important;
  border-radius: 28px !important;
  background: rgba(255,255,255,0.96) !important;
  border: 1px solid rgba(1, 12, 128, 0.10) !important;
  box-shadow: 0 14px 28px rgba(1, 12, 128, 0.04) !important;
  color: #010C80 !important;
  text-decoration: none !important;
  font-size: clamp(1.4rem, 2vw, 2rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.045em !important;
  font-weight: 800 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}

.single-post nav.navigation.post-navigation a:hover,
.single-post .post-navigation a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 24px 44px rgba(1, 12, 128, 0.10) !important;
}

/* Hide theme-generated duplicate labels */
.single-post .post-navigation .meta-nav,
.single-post nav.navigation.post-navigation .meta-nav,
.single-post .post-navigation .screen-reader-text,
.single-post nav.navigation.post-navigation .screen-reader-text,
.single-post .post-navigation .post-title + span,
.single-post nav.navigation.post-navigation .post-title + span {
  display: none !important;
}

/* Replace labels with our cleaner branded labels */
.single-post .nav-previous a::before {
  content: "Previous article" !important;
  display: block !important;
  margin-bottom: 12px !important;
  color: #F70101 !important;
  font-size: .76rem !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: .16em !important;
  font-weight: 800 !important;
}

.single-post .nav-next a::before {
  content: "Next article" !important;
  display: block !important;
  margin-bottom: 12px !important;
  color: #F70101 !important;
  font-size: .76rem !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
  letter-spacing: .16em !important;
  font-weight: 800 !important;
}

/* Align next card nicely without crushing the title */
.single-post .nav-next a {
  text-align: right !important;
}

/* Mobile: stack the cards */
@media (max-width: 760px) {
  .single-post nav.navigation.post-navigation,
  .single-post .post-navigation {
    width: calc(100% - 24px) !important;
    margin: 34px auto 54px !important;
  }

  .single-post nav.navigation.post-navigation .nav-links,
  .single-post .post-navigation .nav-links {
    grid-template-columns: 1fr !important;
  }

  .single-post nav.navigation.post-navigation a,
  .single-post .post-navigation a {
    min-height: 128px !important;
    padding: 24px !important;
    font-size: 1.55rem !important;
  }

  .single-post .nav-next a {
    text-align: left !important;
  }
}
/* ATO compact return navigation inside blog posts */
.single-post .ato-post-site-return,
.single-post .ato-post-site-return * {
  box-sizing: border-box;
}

.single-post .ato-post-site-return {
  max-width: 940px;
  margin: 0 auto 42px auto;
  padding: 18px 22px;
  border: 1px solid rgba(1, 12, 128, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(1, 12, 128, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #010C80;
}

.single-post .ato-post-site-return-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 180px;
}

.single-post .ato-post-site-return-text span {
  color: #F70101;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.single-post .ato-post-site-return-text strong {
  color: #010C80;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.single-post .ato-post-site-return-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.single-post .ato-post-site-return-links a {
  color: #010C80 !important;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none !important;
}

.single-post .ato-post-site-return-links a:hover,
.single-post .ato-post-site-return-links a:focus {
  color: #F70101 !important;
  text-decoration: none !important;
}

.single-post .ato-post-site-return-links .ato-post-site-return-cta {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F70101;
  color: #ffffff !important;
  box-shadow: 0 12px 26px rgba(247, 1, 1, 0.16);
}

.single-post .ato-post-site-return-links .ato-post-site-return-cta:hover,
.single-post .ato-post-site-return-links .ato-post-site-return-cta:focus {
  background: #d90000;
  color: #ffffff !important;
}

@media (max-width: 760px) {
  .single-post .ato-post-site-return {
    margin: 0 0 34px 0;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .single-post .ato-post-site-return-links {
    justify-content: flex-start;
    gap: 14px;
  }
}
/* ATO blog post footer CTA */
.single-post .ato-post-footer-cta,
.single-post .ato-post-footer-cta * {
  box-sizing: border-box;
}

.single-post .ato-post-footer-cta {
  max-width: 900px;
  margin: 72px auto 56px auto;
  padding: 38px 40px;
  border: 1px solid rgba(1, 12, 128, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(247, 1, 1, 0.06), transparent 34%),
    #ffffff;
  box-shadow: 0 26px 80px rgba(1, 12, 128, 0.08);
  color: #010C80;
}

.single-post .ato-post-footer-cta-eyebrow {
  margin-bottom: 14px;
  color: #F70101;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.single-post .ato-post-footer-cta h2 {
  margin: 0 0 16px 0;
  color: #010C80;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.single-post .ato-post-footer-cta p {
  max-width: 720px;
  margin: 0 0 28px 0;
  color: #010C80;
  font-size: 18px;
  line-height: 1.65;
}

.single-post .ato-post-footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.single-post .ato-post-footer-cta-actions a {
  min-height: 54px;
  padding: 0 24px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
}

.single-post .ato-post-footer-cta-primary,
.single-post .ato-post-footer-cta-primary:visited {
  background: #F70101;
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(247, 1, 1, 0.18);
}

.single-post .ato-post-footer-cta-primary:hover,
.single-post .ato-post-footer-cta-primary:focus {
  background: #d90000;
  color: #ffffff !important;
}

.single-post .ato-post-footer-cta-secondary,
.single-post .ato-post-footer-cta-secondary:visited {
  background: #ffffff;
  color: #010C80 !important;
  border: 1px solid rgba(1, 12, 128, 0.14);
}

.single-post .ato-post-footer-cta-secondary:hover,
.single-post .ato-post-footer-cta-secondary:focus {
  color: #F70101 !important;
  border-color: rgba(247, 1, 1, 0.28);
}

@media (max-width: 700px) {
  .single-post .ato-post-footer-cta {
    margin: 52px 0 42px 0;
    padding: 30px 24px;
    border-radius: 24px;
  }

  .single-post .ato-post-footer-cta-actions a {
    width: 100%;
  }
}

/* =========================================================
   ATO Creator Partner Pilot landing page
   Hidden campaign page
   ========================================================= */

.ato-creator-page,
.ato-creator-page * {
  box-sizing: border-box;
}

.ato-creator-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-blue);
  background:
    radial-gradient(circle at top right, rgba(247, 1, 1, 0.05), transparent 22%),
    radial-gradient(circle at top left, rgba(1, 12, 128, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  line-height: 1.55;
  margin: 0;
  width: 100%;
  overflow: visible;
}

.ato-creator-page a {
  color: inherit;
  text-decoration: none;
}

.ato-creator-page .container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* Hide native WordPress page title/header if needed.
   Replace XXXX with the page ID once the page is created, if required.

.page-id-XXXX .entry-title,
.page-id-XXXX .wp-block-post-title,
.page-id-XXXX header.entry-header,
.page-id-XXXX .entry-header {
  display: none !important;
}

.page-id-XXXX .entry-content,
.page-id-XXXX .wp-block-post-content,
.page-id-XXXX .site-content,
.page-id-XXXX #primary,
.page-id-XXXX #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
  max-width: none !important;
  width: 100% !important;
}
*/

/* =========================================================
   Header brand treatment
   ========================================================= */

.ato-creator-page .brand {
  gap: 10px !important;
}

.ato-creator-page .creator-brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--brand-blue);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  box-shadow: 0 16px 32px rgba(1, 12, 128, 0.12);
}

.ato-creator-page .creator-brand-text {
  color: var(--brand-blue);
  font-weight: 900;
  font-size: 1.08rem;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* =========================================================
   Creator hero
   ========================================================= */

.ato-creator-page .creator-hero {
  padding: 58px 0 42px;
}

.ato-creator-page .creator-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 460px);
  gap: 36px;
  align-items: center;
}

.ato-creator-page .creator-hero-copy {
  min-width: 0;
}

.ato-creator-page h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 5.9vw, 5.7rem);
  line-height: .93;
  letter-spacing: -.075em;
  color: var(--brand-blue);
  max-width: 12ch;
}

.ato-creator-page h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: .98;
  letter-spacing: -.06em;
  color: var(--brand-blue);
}

.ato-creator-page h3 {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 900;
}

.ato-creator-page .creator-intro-copy {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
  max-width: 68ch;
  margin: 0 0 24px;
}

.ato-creator-page .creator-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 28px;
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 65%, #273aeb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.ato-creator-page .creator-hero-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(247, 1, 1, 0.22);
  filter: blur(28px);
  pointer-events: none;
}

.ato-creator-page .creator-card-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.82);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
}

.ato-creator-page .creator-stat-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ato-creator-page .creator-stat {
  min-height: 112px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,0.11);
  border: 1px solid rgba(255,255,255,0.18);
}

.ato-creator-page .creator-stat strong {
  display: block;
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
}

.ato-creator-page .creator-stat span {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: .9rem;
  line-height: 1.38;
}

.ato-creator-page .creator-hero-note {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.18);
}

.ato-creator-page .creator-hero-note strong {
  display: block;
  color: var(--brand-blue);
  font-weight: 900;
  margin-bottom: 5px;
}

.ato-creator-page .creator-hero-note span {
  display: block;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}

/* =========================================================
   Layout sections
   ========================================================= */

.ato-creator-page .creator-section {
  position: relative;
}

.ato-creator-page .creator-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: start;
}

.ato-creator-page .creator-feature-panel,
.ato-creator-page .creator-copy-card,
.ato-creator-page .creator-checklist-card,
.ato-creator-page .creator-disclosure-card,
.ato-creator-page .creator-apply-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.ato-creator-page .creator-feature-panel {
  border-top: 5px solid var(--brand-red);
}

.ato-creator-page .creator-feature-panel p,
.ato-creator-page .creator-copy-card p,
.ato-creator-page .creator-disclosure-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.72;
}

.ato-creator-page .creator-feature-panel p:last-child,
.ato-creator-page .creator-copy-card p:last-child,
.ato-creator-page .creator-disclosure-card p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Workflow / problem / offer cards
   ========================================================= */

.ato-creator-page .creator-workflow-grid,
.ato-creator-page .creator-problem-grid,
.ato-creator-page .creator-offer-grid,
.ato-creator-page .creator-angle-grid {
  display: grid;
  gap: 18px;
}

.ato-creator-page .creator-workflow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
}

.ato-creator-page .creator-problem-grid,
.ato-creator-page .creator-offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ato-creator-page .creator-angle-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ato-creator-page .creator-workflow-card,
.ato-creator-page .creator-problem-card,
.ato-creator-page .creator-offer-card,
.ato-creator-page .creator-angle-card,
.ato-creator-page .creator-audience-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.ato-creator-page .creator-workflow-card,
.ato-creator-page .creator-offer-card {
  padding: 24px;
}

.ato-creator-page .creator-problem-card {
  padding: 22px;
}

.ato-creator-page .creator-angle-card {
  padding: 22px 24px;
  color: var(--brand-blue);
  font-size: 1.05rem;
  line-height: 1.42;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.ato-creator-page .creator-workflow-card span,
.ato-creator-page .creator-offer-card span {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid rgba(1, 12, 128, 0.08);
  color: var(--brand-blue);
  font-weight: 900;
  font-size: .84rem;
  margin-bottom: 16px;
}

.ato-creator-page .creator-workflow-card strong,
.ato-creator-page .creator-problem-card strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1.08rem;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.ato-creator-page .creator-workflow-card p,
.ato-creator-page .creator-offer-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.ato-creator-page .creator-problem-card span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

/* =========================================================
   Audience cards / inline callouts
   ========================================================= */

.ato-creator-page .creator-audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ato-creator-page .creator-audience-card {
  padding: 12px 15px;
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(255,255,255,0.94);
  font-weight: 850;
  font-size: .95rem;
  line-height: 1;
}

.ato-creator-page .creator-audience-card:nth-child(3n) {
  background: rgba(247, 1, 1, 0.07);
  color: var(--brand-red);
  border-color: rgba(247, 1, 1, 0.10);
}

.ato-creator-page .creator-inline-callout {
  margin-top: 28px;
  border-radius: 28px;
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 72%, #273aeb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: -0.025em;
}

/* =========================================================
   Checklists
   ========================================================= */

.ato-creator-page .creator-checklist {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ato-creator-page .creator-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.ato-creator-page .creator-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 5px rgba(247, 1, 1, 0.10);
}

/* =========================================================
   Final CTA
   ========================================================= */

.ato-creator-page .creator-final-cta {
  padding-top: 64px;
}

.ato-creator-page .creator-cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 30px;
  align-items: start;
}

.ato-creator-page .cta-wrap .kicker {
  color: rgba(255,255,255,0.78);
}

.ato-creator-page .creator-apply-card {
  background: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.22);
  box-shadow: none;
}

.ato-creator-page .creator-apply-card h3 {
  color: var(--brand-blue);
}

.ato-creator-page .creator-apply-card .creator-checklist li {
  color: var(--muted);
}

.ato-creator-page .creator-final-cta .btn-primary {
  background: var(--brand-red) !important;
  color: #ffffff !important;
}

.ato-creator-page .creator-final-cta .btn-secondary {
  background: #ffffff !important;
  color: var(--brand-blue) !important;
  border-color: rgba(255,255,255,0.30) !important;
}

/* =========================================================
   Footer
   ========================================================= */

.ato-creator-page footer {
  padding: 24px 0 42px;
  border-top: 1px solid rgba(1, 12, 128, 0.08);
}

.ato-creator-page .footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: .95rem;
}

.ato-creator-page .footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ato-creator-page .footer-links a:hover {
  color: var(--brand-red);
}

/* =========================================================
   Responsive rules
   ========================================================= */

@media (max-width: 1080px) {
  .ato-creator-page .creator-hero-grid,
  .ato-creator-page .creator-two-col,
  .ato-creator-page .creator-cta-grid {
    grid-template-columns: 1fr;
  }

  .ato-creator-page .creator-hero-card,
  .ato-creator-page .creator-feature-panel,
  .ato-creator-page .creator-copy-card,
  .ato-creator-page .creator-checklist-card,
  .ato-creator-page .creator-disclosure-card {
    max-width: 760px;
  }

  .ato-creator-page .creator-workflow-grid,
  .ato-creator-page .creator-problem-grid,
  .ato-creator-page .creator-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ato-creator-page .creator-hero {
    padding: 38px 0 28px;
  }

  .ato-creator-page h1 {
    max-width: none;
  }

  .ato-creator-page .creator-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .ato-creator-page .creator-brand-text {
    font-size: 1rem;
  }

  .ato-creator-page .creator-hero-card,
  .ato-creator-page .creator-feature-panel,
  .ato-creator-page .creator-copy-card,
  .ato-creator-page .creator-checklist-card,
  .ato-creator-page .creator-disclosure-card,
  .ato-creator-page .creator-apply-card,
  .ato-creator-page .creator-workflow-card,
  .ato-creator-page .creator-problem-card,
  .ato-creator-page .creator-offer-card,
  .ato-creator-page .creator-angle-card {
    padding: 22px !important;
  }

  .ato-creator-page .creator-stat-grid,
  .ato-creator-page .creator-workflow-grid,
  .ato-creator-page .creator-problem-grid,
  .ato-creator-page .creator-offer-grid,
  .ato-creator-page .creator-angle-grid {
    grid-template-columns: 1fr;
  }

  .ato-creator-page .creator-inline-callout {
    padding: 22px;
    font-size: 1.04rem;
  }

  .ato-creator-page .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Hide native WordPress page title/header on Creator Partner Pilot page */
.page-id-3099 .entry-title,
.page-id-3099 .wp-block-post-title,
.page-id-3099 header.entry-header,
.page-id-3099 .entry-header {
  display: none !important;
}

/* Remove any leftover spacing from the hidden title area */
.page-id-3099 .entry-content,
.page-id-3099 .wp-block-post-content,
.page-id-3099 .site-content,
.page-id-3099 #primary,
.page-id-3099 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom landing page full width */
.page-id-3099 .entry-content,
.page-id-3099 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}
/* =========================================================
   ATO Use Cases parent page
   Page: /use-cases
   ========================================================= */

.ato-use-cases-page,
.ato-use-cases-page * {
  box-sizing: border-box;
}

.ato-use-cases-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-blue);
  background:
    radial-gradient(circle at top right, rgba(247, 1, 1, 0.05), transparent 22%),
    radial-gradient(circle at top left, rgba(1, 12, 128, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  line-height: 1.55;
  margin: 0;
  width: 100%;
  overflow: visible;
}

.ato-use-cases-page a {
  color: inherit;
  text-decoration: none;
}

.ato-use-cases-page .container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================================
   Hero
   ========================================================= */

.ato-use-cases-page .use-cases-hero {
  padding: 58px 0 42px;
}

.ato-use-cases-page .use-cases-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 460px);
  gap: 36px;
  align-items: center;
}

.ato-use-cases-page .use-cases-hero-copy {
  min-width: 0;
}

.ato-use-cases-page h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 5.7vw, 5.55rem);
  line-height: .93;
  letter-spacing: -.075em;
  color: var(--brand-blue);
  max-width: 13ch;
}

.ato-use-cases-page h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: .98;
  letter-spacing: -.06em;
  color: var(--brand-blue);
}

.ato-use-cases-page h3 {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 900;
}

.ato-use-cases-page .use-cases-intro-copy {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
  max-width: 68ch;
  margin: 0 0 24px;
}

.ato-use-cases-page .use-cases-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 28px;
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 65%, #273aeb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.ato-use-cases-page .use-cases-hero-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(247, 1, 1, 0.22);
  filter: blur(28px);
  pointer-events: none;
}

.ato-use-cases-page .use-cases-card-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.82);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
}

.ato-use-cases-page .use-cases-preview-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.ato-use-cases-page .use-cases-preview-item {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.ato-use-cases-page .use-cases-preview-item strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 5px;
}

.ato-use-cases-page .use-cases-preview-item span {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: .92rem;
  line-height: 1.45;
}

/* =========================================================
   Shared section layout
   ========================================================= */

.ato-use-cases-page .use-cases-section {
  position: relative;
}

.ato-use-cases-page .use-cases-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: start;
}

.ato-use-cases-page .use-cases-copy-card,
.ato-use-cases-page .use-cases-workflow-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.ato-use-cases-page .use-cases-copy-card {
  border-top: 5px solid var(--brand-red);
}

.ato-use-cases-page .use-cases-copy-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.72;
}

.ato-use-cases-page .use-cases-copy-card p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Benefit grid
   ========================================================= */

.ato-use-cases-page .use-cases-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.ato-use-cases-page .use-cases-benefit-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: var(--shadow-md);
}

.ato-use-cases-page .use-cases-benefit-card strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1.04rem;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.ato-use-cases-page .use-cases-benefit-card span {
  display: block;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.52;
}

/* =========================================================
   Use case cards
   ========================================================= */

.ato-use-cases-page .use-cases-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ato-use-cases-page .use-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.ato-use-cases-page .use-case-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -70px;
  top: -70px;
  border-radius: 50%;
  background: rgba(247, 1, 1, 0.06);
  filter: blur(20px);
  pointer-events: none;
}

.ato-use-cases-page .use-case-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid rgba(1, 12, 128, 0.08);
  color: var(--brand-blue);
  font-weight: 900;
  font-size: .84rem;
  margin-bottom: 18px;
}

.ato-use-cases-page .use-case-card h3 {
  font-size: 1.55rem;
}

.ato-use-cases-page .use-case-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.ato-use-cases-page .use-case-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: fit-content;
  padding: 0 18px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(1, 12, 128, 0.12);
  color: var(--brand-blue);
  font-weight: 850;
  text-decoration: none;
}

.ato-use-cases-page .use-case-card a:hover {
  color: var(--brand-red);
  border-color: rgba(247, 1, 1, 0.24);
  transform: translateY(-1px);
}

/* =========================================================
   Workflow
   ========================================================= */

.ato-use-cases-page .use-cases-workflow-card {
  border-top: 5px solid var(--brand-blue);
}

.ato-use-cases-page .use-cases-workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ato-use-case-flow;
  display: grid;
  gap: 12px;
}

.ato-use-cases-page .use-cases-workflow-list li {
  counter-increment: ato-use-case-flow;
  position: relative;
  padding: 14px 14px 14px 62px;
  border-radius: 18px;
  background: rgba(247,249,255,0.82);
  border: 1px solid rgba(1, 12, 128, 0.08);
  color: var(--muted);
  font-weight: 750;
  line-height: 1.42;
}

.ato-use-cases-page .use-cases-workflow-list li::before {
  content: counter(ato-use-case-flow, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(1, 12, 128, 0.10);
  color: var(--brand-blue);
  font-size: .76rem;
  font-weight: 900;
}

.ato-use-cases-page .use-cases-inline-callout {
  margin-top: 28px;
  border-radius: 28px;
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 72%, #273aeb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: -0.025em;
}

/* =========================================================
   Outcome grid
   ========================================================= */

.ato-use-cases-page .use-cases-outcome-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ato-use-cases-page .use-cases-outcome-card {
  padding: 13px 16px;
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: var(--shadow-md);
  font-weight: 850;
  font-size: .98rem;
  line-height: 1;
}

.ato-use-cases-page .use-cases-outcome-card:nth-child(3n) {
  background: rgba(247, 1, 1, 0.07);
  color: var(--brand-red);
  border-color: rgba(247, 1, 1, 0.10);
}

/* =========================================================
   Final CTA
   ========================================================= */

.ato-use-cases-page .use-cases-final-cta {
  padding-top: 64px;
}

.ato-use-cases-page .use-cases-final-cta .cta-wrap .btn-primary {
  background: var(--brand-red) !important;
  color: #ffffff !important;
}

.ato-use-cases-page .use-cases-final-cta .cta-wrap .btn-secondary {
  background: #ffffff !important;
  color: var(--brand-blue) !important;
  border-color: rgba(255,255,255,0.30) !important;
}

/* =========================================================
   Responsive rules
   ========================================================= */

@media (max-width: 1080px) {
  .ato-use-cases-page .use-cases-hero-grid,
  .ato-use-cases-page .use-cases-two-col {
    grid-template-columns: 1fr;
  }

  .ato-use-cases-page .use-cases-hero-card,
  .ato-use-cases-page .use-cases-copy-card,
  .ato-use-cases-page .use-cases-workflow-card {
    max-width: 760px;
  }

  .ato-use-cases-page .use-cases-benefit-grid,
  .ato-use-cases-page .use-cases-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ato-use-cases-page .use-cases-hero {
    padding: 38px 0 28px;
  }

  .ato-use-cases-page h1 {
    max-width: none;
  }

  .ato-use-cases-page .use-cases-hero-card,
  .ato-use-cases-page .use-cases-copy-card,
  .ato-use-cases-page .use-cases-workflow-card,
  .ato-use-cases-page .use-cases-benefit-card,
  .ato-use-cases-page .use-case-card {
    padding: 22px !important;
  }

  .ato-use-cases-page .use-cases-benefit-grid,
  .ato-use-cases-page .use-cases-card-grid {
    grid-template-columns: 1fr;
  }

  .ato-use-cases-page .use-cases-inline-callout {
    padding: 22px;
    font-size: 1.04rem;
  }
}
/* =========================================================
   Hide native WordPress heading on Use Cases page
   Replace 3110 with the actual WordPress page ID
   ========================================================= */

.page-id-3110 .entry-title,
.page-id-3110 .wp-block-post-title,
.page-id-3110 header.entry-header,
.page-id-3110 .entry-header {
  display: none !important;
}

/* Remove leftover spacing from the hidden title/header area */
.page-id-3110 .entry-content,
.page-id-3110 .wp-block-post-content,
.page-id-3110 .site-content,
.page-id-3110 #primary,
.page-id-3110 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom landing page full width */
.page-id-3110 .entry-content,
.page-id-3110 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}
/* =========================================================
   ATO top navigation dropdown for Use Cases
   Fixes hover gap between parent nav item and submenu
   ========================================================= */

.ato-homepage .ato-nav-with-dropdown,
.ato-pricing-page .ato-nav-with-dropdown,
.ato-use-cases-page .ato-nav-with-dropdown {
  overflow: visible !important;
}

.ato-homepage .nav-dropdown,
.ato-pricing-page .nav-dropdown,
.ato-use-cases-page .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 0;
}

/* Invisible bridge between parent link and dropdown menu */
.ato-homepage .nav-dropdown::after,
.ato-pricing-page .nav-dropdown::after,
.ato-use-cases-page .nav-dropdown::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 18px;
  background: transparent;
  pointer-events: auto;
}

.ato-homepage .nav-dropdown-toggle,
.ato-pricing-page .nav-dropdown-toggle,
.ato-use-cases-page .nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ato-homepage .nav-dropdown-toggle::after,
.ato-pricing-page .nav-dropdown-toggle::after,
.ato-use-cases-page .nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.72rem;
  line-height: 1;
  transform: translateY(-1px);
}

.ato-homepage .nav-dropdown-menu,
.ato-pricing-page .nav-dropdown-menu,
.ato-use-cases-page .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 280px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: 0 24px 54px rgba(1, 12, 128, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 2000;
}

.ato-homepage .nav-dropdown:hover .nav-dropdown-menu,
.ato-homepage .nav-dropdown:focus-within .nav-dropdown-menu,
.ato-pricing-page .nav-dropdown:hover .nav-dropdown-menu,
.ato-pricing-page .nav-dropdown:focus-within .nav-dropdown-menu,
.ato-use-cases-page .nav-dropdown:hover .nav-dropdown-menu,
.ato-use-cases-page .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ato-homepage .nav-dropdown-menu a,
.ato-pricing-page .nav-dropdown-menu a,
.ato-use-cases-page .nav-dropdown-menu a {
  display: block !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  color: var(--brand-blue) !important;
  font-size: .94rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.ato-homepage .nav-dropdown-menu a:hover,
.ato-pricing-page .nav-dropdown-menu a:hover,
.ato-use-cases-page .nav-dropdown-menu a:hover {
  background: rgba(1, 12, 128, 0.06) !important;
  color: var(--brand-red) !important;
}

@media (max-width: 1080px) {
  .ato-homepage .nav-dropdown,
  .ato-pricing-page .nav-dropdown,
  .ato-use-cases-page .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }

  .ato-homepage .nav-dropdown::after,
  .ato-pricing-page .nav-dropdown::after,
  .ato-use-cases-page .nav-dropdown::after {
    display: none;
  }

  .ato-homepage .nav-dropdown-menu,
  .ato-pricing-page .nav-dropdown-menu,
  .ato-use-cases-page .nav-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(247,249,255,0.92);
  }

  .ato-homepage .nav-dropdown:hover .nav-dropdown-menu,
  .ato-homepage .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-pricing-page .nav-dropdown:hover .nav-dropdown-menu,
  .ato-pricing-page .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-use-cases-page .nav-dropdown:hover .nav-dropdown-menu,
  .ato-use-cases-page .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }
}
/* =========================================================
   ATO Use Case Detail Pages
   Reusable for subordinate use-case pages
   First page: /use-cases/agencies
   ========================================================= */

.ato-use-case-detail-page,
.ato-use-case-detail-page * {
  box-sizing: border-box;
}

.ato-use-case-detail-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-blue);
  background:
    radial-gradient(circle at top right, rgba(247, 1, 1, 0.05), transparent 22%),
    radial-gradient(circle at top left, rgba(1, 12, 128, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  line-height: 1.55;
  margin: 0;
  width: 100%;
  overflow: visible;
}

.ato-use-case-detail-page a {
  color: inherit;
  text-decoration: none;
}

.ato-use-case-detail-page .container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================================
   Hero
   ========================================================= */

.ato-use-case-detail-page .use-case-detail-hero {
  padding: 58px 0 42px;
}

.ato-use-case-detail-page .use-case-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 460px);
  gap: 36px;
  align-items: center;
}

.ato-use-case-detail-page .use-case-detail-hero-copy {
  min-width: 0;
}

.ato-use-case-detail-page h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 5.7vw, 5.45rem);
  line-height: .93;
  letter-spacing: -.075em;
  color: var(--brand-blue);
  max-width: 13ch;
}

.ato-use-case-detail-page h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: .98;
  letter-spacing: -.06em;
  color: var(--brand-blue);
}

.ato-use-case-detail-page h3 {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 900;
}

.ato-use-case-detail-page .use-case-detail-intro-copy {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
  max-width: 68ch;
  margin: 0 0 24px;
}

.ato-use-case-detail-page .use-case-detail-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 28px;
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 65%, #273aeb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.ato-use-case-detail-page .use-case-detail-hero-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(247, 1, 1, 0.22);
  filter: blur(28px);
  pointer-events: none;
}

.ato-use-case-detail-page .use-case-card-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.82);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
}

.ato-use-case-detail-page .use-case-preview-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.ato-use-case-detail-page .use-case-preview-item {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.ato-use-case-detail-page .use-case-preview-item strong {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.15;
  font-weight: 900;
  margin-bottom: 5px;
}

.ato-use-case-detail-page .use-case-preview-item span {
  display: block;
  color: rgba(255,255,255,0.78);
  font-size: .92rem;
  line-height: 1.45;
}

/* =========================================================
   Shared section layout
   ========================================================= */

.ato-use-case-detail-page .use-case-detail-section {
  position: relative;
}

.ato-use-case-detail-page .use-case-detail-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: start;
}

.ato-use-case-detail-page .use-case-detail-copy-card,
.ato-use-case-detail-page .use-case-workflow-card,
.ato-use-case-detail-page .use-case-checklist-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.ato-use-case-detail-page .use-case-detail-copy-card {
  border-top: 5px solid var(--brand-red);
}

.ato-use-case-detail-page .use-case-detail-copy-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.72;
}

.ato-use-case-detail-page .use-case-detail-copy-card p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Problem / feature cards
   ========================================================= */

.ato-use-case-detail-page .use-case-problem-grid,
.ato-use-case-detail-page .use-case-feature-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.ato-use-case-detail-page .use-case-problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ato-use-case-detail-page .use-case-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ato-use-case-detail-page .use-case-problem-card,
.ato-use-case-detail-page .use-case-feature-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
}

.ato-use-case-detail-page .use-case-problem-card {
  padding: 22px;
}

.ato-use-case-detail-page .use-case-feature-card {
  padding: 24px;
}

.ato-use-case-detail-page .use-case-feature-card span {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid rgba(1, 12, 128, 0.08);
  color: var(--brand-blue);
  font-weight: 900;
  font-size: .84rem;
  margin-bottom: 16px;
}

.ato-use-case-detail-page .use-case-problem-card strong {
  display: block;
  color: var(--brand-blue);
  font-size: 1.08rem;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.ato-use-case-detail-page .use-case-problem-card span {
  display: block;
  color: var(--muted);
  line-height: 1.5;
}

.ato-use-case-detail-page .use-case-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

/* =========================================================
   Workflow
   ========================================================= */

.ato-use-case-detail-page .use-case-workflow-card {
  border-top: 5px solid var(--brand-blue);
}

.ato-use-case-detail-page .use-case-workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ato-use-case-detail-flow;
  display: grid;
  gap: 12px;
}

.ato-use-case-detail-page .use-case-workflow-list li {
  counter-increment: ato-use-case-detail-flow;
  position: relative;
  padding: 14px 14px 14px 62px;
  border-radius: 18px;
  background: rgba(247,249,255,0.82);
  border: 1px solid rgba(1, 12, 128, 0.08);
  color: var(--muted);
  font-weight: 750;
  line-height: 1.42;
}

.ato-use-case-detail-page .use-case-workflow-list li::before {
  content: counter(ato-use-case-detail-flow, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(1, 12, 128, 0.10);
  color: var(--brand-blue);
  font-size: .76rem;
  font-weight: 900;
}

.ato-use-case-detail-page .use-case-inline-callout {
  margin-top: 28px;
  border-radius: 28px;
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 72%, #273aeb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: -0.025em;
}

/* =========================================================
   Audience cards / checklist
   ========================================================= */

.ato-use-case-detail-page .use-case-audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ato-use-case-detail-page .use-case-audience-card {
  padding: 13px 16px;
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: var(--shadow-md);
  font-weight: 850;
  font-size: .98rem;
  line-height: 1;
}

.ato-use-case-detail-page .use-case-audience-card:nth-child(3n) {
  background: rgba(247, 1, 1, 0.07);
  color: var(--brand-red);
  border-color: rgba(247, 1, 1, 0.10);
}

.ato-use-case-detail-page .use-case-checklist {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ato-use-case-detail-page .use-case-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.ato-use-case-detail-page .use-case-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-red);
  box-shadow: 0 0 0 5px rgba(247, 1, 1, 0.10);
}

/* =========================================================
   Final CTA
   ========================================================= */

.ato-use-case-detail-page .use-case-final-cta {
  padding-top: 64px;
}

.ato-use-case-detail-page .use-case-final-cta .cta-wrap .btn-primary {
  background: var(--brand-red) !important;
  color: #ffffff !important;
}

.ato-use-case-detail-page .use-case-final-cta .cta-wrap .btn-secondary {
  background: #ffffff !important;
  color: var(--brand-blue) !important;
  border-color: rgba(255,255,255,0.30) !important;
}

/* =========================================================
   Responsive rules
   ========================================================= */

@media (max-width: 1080px) {
  .ato-use-case-detail-page .use-case-detail-hero-grid,
  .ato-use-case-detail-page .use-case-detail-two-col {
    grid-template-columns: 1fr;
  }

  .ato-use-case-detail-page .use-case-detail-hero-card,
  .ato-use-case-detail-page .use-case-detail-copy-card,
  .ato-use-case-detail-page .use-case-workflow-card,
  .ato-use-case-detail-page .use-case-checklist-card {
    max-width: 760px;
  }

  .ato-use-case-detail-page .use-case-problem-grid,
  .ato-use-case-detail-page .use-case-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ato-use-case-detail-page .use-case-detail-hero {
    padding: 38px 0 28px;
  }

  .ato-use-case-detail-page h1 {
    max-width: none;
  }

  .ato-use-case-detail-page .use-case-detail-hero-card,
  .ato-use-case-detail-page .use-case-detail-copy-card,
  .ato-use-case-detail-page .use-case-workflow-card,
  .ato-use-case-detail-page .use-case-checklist-card,
  .ato-use-case-detail-page .use-case-problem-card,
  .ato-use-case-detail-page .use-case-feature-card {
    padding: 22px !important;
  }

  .ato-use-case-detail-page .use-case-problem-grid,
  .ato-use-case-detail-page .use-case-feature-grid {
    grid-template-columns: 1fr;
  }

  .ato-use-case-detail-page .use-case-inline-callout {
    padding: 22px;
    font-size: 1.04rem;
  }
}
/* =========================================================
   Hide native WordPress heading on Agencies Use Case page
   Page ID: 3122
   ========================================================= */

.page-id-3122 .entry-title,
.page-id-3122 .wp-block-post-title,
.page-id-3122 header.entry-header,
.page-id-3122 .entry-header {
  display: none !important;
}

/* Remove leftover spacing from the hidden title/header area */
.page-id-3122 .entry-content,
.page-id-3122 .wp-block-post-content,
.page-id-3122 .site-content,
.page-id-3122 #primary,
.page-id-3122 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom landing page full width */
.page-id-3122 .entry-content,
.page-id-3122 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}
/* =========================================================
   ATO Consultants Use Case page
   Page: /use-cases/consultants
   Uses shared .ato-use-case-detail-page styling
   ========================================================= */

.ato-consultants-use-case-page {
  /* Reserved for any future consultant-specific styling. */
}
/* =========================================================
   Hide native WordPress heading on Consultants Use Case page
   Page ID: 3127
   ========================================================= */

.page-id-3127 .entry-title,
.page-id-3127 .wp-block-post-title,
.page-id-3127 header.entry-header,
.page-id-3127 .entry-header {
  display: none !important;
}

/* Remove leftover spacing from the hidden title/header area */
.page-id-3127 .entry-content,
.page-id-3127 .wp-block-post-content,
.page-id-3127 .site-content,
.page-id-3127 #primary,
.page-id-3127 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom landing page full width */
.page-id-3127 .entry-content,
.page-id-3127 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}
/* =========================================================
   ATO IT & MSPs Use Case page
   Page: /use-cases/it-msps
   Uses shared .ato-use-case-detail-page styling
   ========================================================= */

.ato-it-msps-use-case-page {
  /* Reserved for any future IT/MSP-specific styling. */
}
/* =========================================================
   Hide native WordPress heading on IT & MSPs Use Case page
   Page ID: 3132
   ========================================================= */

.page-id-3132 .entry-title,
.page-id-3132 .wp-block-post-title,
.page-id-3132 header.entry-header,
.page-id-3132 .entry-header {
  display: none !important;
}

/* Remove leftover spacing from the hidden title/header area */
.page-id-3132 .entry-content,
.page-id-3132 .wp-block-post-content,
.page-id-3132 .site-content,
.page-id-3132 #primary,
.page-id-3132 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom landing page full width */
.page-id-3132 .entry-content,
.page-id-3132 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}
/* =========================================================
   ATO SaaS & Technical Services Use Case page
   Page: /use-cases/saas-technical-services
   Uses shared .ato-use-case-detail-page styling
   ========================================================= */

.ato-saas-technical-use-case-page {
  /* Reserved for any future SaaS/technical-specific styling. */
}
/* =========================================================
   Hide native WordPress heading on SaaS & Technical Services Use Case page
   Page ID: 3138
   ========================================================= */

.page-id-3138 .entry-title,
.page-id-3138 .wp-block-post-title,
.page-id-3138 header.entry-header,
.page-id-3138 .entry-header {
  display: none !important;
}

/* Remove leftover spacing from the hidden title/header area */
.page-id-3138 .entry-content,
.page-id-3138 .wp-block-post-content,
.page-id-3138 .site-content,
.page-id-3138 #primary,
.page-id-3138 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom landing page full width */
.page-id-3138 .entry-content,
.page-id-3138 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}
/* =========================================================
   ATO Professional Services Use Case page
   Page: /use-cases/professional-services
   Uses shared .ato-use-case-detail-page styling
   ========================================================= */

.ato-professional-services-use-case-page {
  /* Reserved for any future professional-services-specific styling. */
}
/* =========================================================
   Hide native WordPress heading on Professional Services Use Case page
   Page ID: 3143
   ========================================================= */

.page-id-3143 .entry-title,
.page-id-3143 .wp-block-post-title,
.page-id-3143 header.entry-header,
.page-id-3143 .entry-header {
  display: none !important;
}

/* Remove leftover spacing from the hidden title/header area */
.page-id-3143 .entry-content,
.page-id-3143 .wp-block-post-content,
.page-id-3143 .site-content,
.page-id-3143 #primary,
.page-id-3143 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom landing page full width */
.page-id-3143 .entry-content,
.page-id-3143 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}
/* =========================================================
   ATO Local Service Businesses Use Case page
   Page: /use-cases/local-service-businesses
   Uses shared .ato-use-case-detail-page styling
   ========================================================= */

.ato-local-service-use-case-page {
  /* Reserved for any future local-service-specific styling. */
}
/* =========================================================
   Hide native WordPress heading on Local Service Businesses Use Case page
   Page ID: 3147
   ========================================================= */

.page-id-3147 .entry-title,
.page-id-3147 .wp-block-post-title,
.page-id-3147 header.entry-header,
.page-id-3147 .entry-header {
  display: none !important;
}

/* Remove leftover spacing from the hidden title/header area */
.page-id-3147 .entry-content,
.page-id-3147 .wp-block-post-content,
.page-id-3147 .site-content,
.page-id-3147 #primary,
.page-id-3147 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom landing page full width */
.page-id-3147 .entry-content,
.page-id-3147 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}
/* =========================================================
   ATO text-based brand logo
   Used with:
   <span class="creator-brand-mark">ATO</span>
   <span class="creator-brand-text">Growth Engine</span>
   ========================================================= */

.ato-homepage .brand,
.ato-pricing-page .brand,
.ato-use-cases-page .brand,
.ato-use-case-detail-page .brand,
.ato-creator-page .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: var(--brand-blue) !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  flex-shrink: 0 !important;
}

.ato-homepage .creator-brand-mark,
.ato-pricing-page .creator-brand-mark,
.ato-use-cases-page .creator-brand-mark,
.ato-use-case-detail-page .creator-brand-mark,
.ato-creator-page .creator-brand-mark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  font-size: 0.98rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.04em !important;
  box-shadow: 0 16px 34px rgba(1, 12, 128, 0.16) !important;
}

.ato-homepage .creator-brand-text,
.ato-pricing-page .creator-brand-text,
.ato-use-cases-page .creator-brand-text,
.ato-use-case-detail-page .creator-brand-text,
.ato-creator-page .creator-brand-text {
  display: inline-block !important;
  color: var(--brand-blue) !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.045em !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  .ato-homepage .creator-brand-mark,
  .ato-pricing-page .creator-brand-mark,
  .ato-use-cases-page .creator-brand-mark,
  .ato-use-case-detail-page .creator-brand-mark,
  .ato-creator-page .creator-brand-mark {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    font-size: 0.86rem !important;
  }

  .ato-homepage .creator-brand-text,
  .ato-pricing-page .creator-brand-text,
  .ato-use-cases-page .creator-brand-text,
  .ato-use-case-detail-page .creator-brand-text,
  .ato-creator-page .creator-brand-text {
    font-size: 0.98rem !important;
  }
}
/* =========================================================
   ATO Articles page header / logo / navigation support
   ========================================================= */

.ato-articles-page,
.ato-articles-page * {
  box-sizing: border-box;
}

.ato-articles-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-blue);
  background:
    radial-gradient(circle at top right, rgba(247, 1, 1, 0.04), transparent 24%),
    radial-gradient(circle at top left, rgba(1, 12, 128, 0.04), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  width: 100%;
  overflow: visible;
}

.ato-articles-page a {
  color: inherit;
  text-decoration: none;
}

.ato-articles-page .container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* Text-based ATO logo on Articles page */
.ato-articles-page .brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: var(--brand-blue) !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  flex-shrink: 0 !important;
}

.ato-articles-page .creator-brand-mark {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 16px !important;
  background: var(--brand-blue) !important;
  color: #ffffff !important;
  font-size: 0.98rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.04em !important;
  box-shadow: 0 16px 34px rgba(1, 12, 128, 0.16) !important;
}

.ato-articles-page .creator-brand-text {
  display: inline-block !important;
  color: var(--brand-blue) !important;
  font-size: 1.05rem !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  letter-spacing: -0.045em !important;
  white-space: nowrap !important;
}

/* Prevent nav text from wrapping into vertical letters */
.ato-articles-page .site-header,
.ato-articles-page .site-header-inner,
.ato-articles-page .site-nav,
.ato-articles-page .site-actions {
  overflow: visible !important;
}

.ato-articles-page .site-nav {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

.ato-articles-page .site-nav > a,
.ato-articles-page .nav-dropdown-toggle {
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Articles page dropdown support */
.ato-articles-page .ato-nav-with-dropdown {
  overflow: visible !important;
}

.ato-articles-page .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 0;
}

.ato-articles-page .nav-dropdown::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 18px;
  background: transparent;
  pointer-events: auto;
}

.ato-articles-page .nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ato-articles-page .nav-dropdown-toggle::after {
  content: "▾";
  font-size: 0.72rem;
  line-height: 1;
  transform: translateY(-1px);
}

.ato-articles-page .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 280px;
  padding: 10px;
  border-radius: 22px;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: 0 24px 54px rgba(1, 12, 128, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
  z-index: 2000;
}

.ato-articles-page .nav-dropdown:hover .nav-dropdown-menu,
.ato-articles-page .nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.ato-articles-page .nav-dropdown-menu a {
  display: block !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  color: var(--brand-blue) !important;
  font-size: .94rem !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.ato-articles-page .nav-dropdown-menu a:hover {
  background: rgba(1, 12, 128, 0.06) !important;
  color: var(--brand-red) !important;
}

@media (max-width: 1080px) {
  .ato-articles-page .site-nav {
    flex-wrap: wrap !important;
    white-space: normal !important;
  }

  .ato-articles-page .nav-dropdown {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
  }

  .ato-articles-page .nav-dropdown::after {
    display: none;
  }

  .ato-articles-page .nav-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 10px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(247,249,255,0.92);
  }

  .ato-articles-page .nav-dropdown:hover .nav-dropdown-menu,
  .ato-articles-page .nav-dropdown:focus-within .nav-dropdown-menu {
    transform: none;
  }
}

@media (max-width: 760px) {
  .ato-articles-page .creator-brand-mark {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    font-size: 0.86rem !important;
  }

  .ato-articles-page .creator-brand-text {
    font-size: 0.98rem !important;
  }
}
/* =========================================================
   Force Articles page to full width
   Replace 2875 with the Articles page ID
   ========================================================= */

.page-id-2875 .entry-content,
.page-id-2875 .wp-block-post-content,
.page-id-2875 .site-content,
.page-id-2875 #primary,
.page-id-2875 #main,
.page-id-2875 .content-area,
.page-id-2875 .wp-site-blocks {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Hide native WordPress title/header if it appears */
.page-id-2875 .entry-title,
.page-id-2875 .wp-block-post-title,
.page-id-2875 header.entry-header,
.page-id-2875 .entry-header {
  display: none !important;
}

/* Let the custom ATO wrapper span full width */
.page-id-2875 .ato-articles-page {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Keep the actual inner content neatly contained */
.page-id-2875 .ato-articles-page .container {
  width: min(var(--max), calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* =========================================================
   ATO Product Overview page
   Page: /product
   ========================================================= */

.ato-product-page,
.ato-product-page * {
  box-sizing: border-box;
}

.ato-product-page {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--brand-blue);
  background:
    radial-gradient(circle at top right, rgba(247, 1, 1, 0.05), transparent 22%),
    radial-gradient(circle at top left, rgba(1, 12, 128, 0.05), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  line-height: 1.55;
  margin: 0;
  width: 100%;
  overflow: visible;
}

.ato-product-page a {
  color: inherit;
  text-decoration: none;
}

.ato-product-page .container {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

/* =========================================================
   Product hero
   ========================================================= */

.ato-product-page .product-hero {
  padding: 58px 0 42px;
}

.ato-product-page .product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 460px);
  gap: 36px;
  align-items: center;
}

.ato-product-page .product-hero-copy {
  min-width: 0;
}

.ato-product-page h1 {
  margin: 0 0 18px;
  font-size: clamp(3rem, 5.7vw, 5.55rem);
  line-height: .93;
  letter-spacing: -.075em;
  color: var(--brand-blue);
  max-width: 11ch;
}

.ato-product-page h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 3.55rem);
  line-height: .98;
  letter-spacing: -.06em;
  color: var(--brand-blue);
}

.ato-product-page h3 {
  margin: 0 0 12px;
  color: var(--brand-blue);
  font-size: 1.35rem;
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 900;
}

.ato-product-page .product-intro-copy {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
  max-width: 68ch;
  margin: 0 0 24px;
}

.ato-product-page .product-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: 28px;
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 65%, #273aeb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.ato-product-page .product-hero-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -80px;
  bottom: -90px;
  border-radius: 50%;
  background: rgba(247, 1, 1, 0.22);
  filter: blur(28px);
  pointer-events: none;
}

.ato-product-page .product-card-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.82);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 900;
}

.ato-product-page .product-flow-mini {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.ato-product-page .product-flow-mini div {
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.18);
  color: #ffffff;
  font-weight: 900;
  line-height: 1.2;
}

.ato-product-page .product-flow-mini span {
  width: 2px;
  height: 14px;
  margin-left: 22px;
  background: rgba(255,255,255,0.38);
}

.ato-product-page .product-hero-card p {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.80);
  line-height: 1.62;
  margin: 18px 0 0;
}

/* =========================================================
   Shared product section layout
   ========================================================= */

.ato-product-page .product-section {
  position: relative;
}

.ato-product-page .product-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 28px;
  align-items: start;
}

.ato-product-page .product-copy-card,
.ato-product-page .product-workflow-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: 28px;
}

.ato-product-page .product-copy-card {
  border-top: 5px solid var(--brand-red);
}

.ato-product-page .product-copy-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.72;
}

.ato-product-page .product-copy-card p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Product module cards
   ========================================================= */

.ato-product-page .product-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ato-product-page .product-module-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.ato-product-page .product-module-card span {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: var(--panel);
  border: 1px solid rgba(1, 12, 128, 0.08);
  color: var(--brand-blue);
  font-weight: 900;
  font-size: .84rem;
  margin-bottom: 16px;
}

.ato-product-page .product-module-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

/* =========================================================
   Product workflow
   ========================================================= */

.ato-product-page .product-workflow-card {
  border-top: 5px solid var(--brand-blue);
}

.ato-product-page .product-workflow-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ato-product-flow;
  display: grid;
  gap: 12px;
}

.ato-product-page .product-workflow-list li {
  counter-increment: ato-product-flow;
  position: relative;
  padding: 14px 14px 14px 62px;
  border-radius: 18px;
  background: rgba(247,249,255,0.82);
  border: 1px solid rgba(1, 12, 128, 0.08);
  color: var(--muted);
  font-weight: 750;
  line-height: 1.42;
}

.ato-product-page .product-workflow-list li::before {
  content: counter(ato-product-flow, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 12px;
  width: 36px;
  height: 36px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border: 1px solid rgba(1, 12, 128, 0.10);
  color: var(--brand-blue);
  font-size: .76rem;
  font-weight: 900;
}

.ato-product-page .product-inline-callout {
  margin-top: 28px;
  border-radius: 28px;
  padding: 26px 30px;
  background: linear-gradient(135deg, var(--brand-blue), #1c2dc3 72%, #273aeb 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  font-size: 1.2rem;
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: -0.025em;
}

/* =========================================================
   Difference cards
   ========================================================= */

.ato-product-page .product-difference-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ato-product-page .product-difference-card {
  padding: 26px;
  border-radius: 26px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: var(--shadow-md);
}

.ato-product-page .product-difference-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

/* =========================================================
   Audience cards
   ========================================================= */

.ato-product-page .product-audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ato-product-page .product-audience-card {
  padding: 13px 16px;
  border-radius: 999px;
  color: var(--brand-blue);
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(1, 12, 128, 0.10);
  box-shadow: var(--shadow-md);
  font-weight: 850;
  font-size: .98rem;
  line-height: 1;
}

.ato-product-page .product-audience-card:nth-child(3n) {
  background: rgba(247, 1, 1, 0.07);
  color: var(--brand-red);
  border-color: rgba(247, 1, 1, 0.10);
}

.ato-product-page .product-audience-card:hover {
  color: var(--brand-red);
  transform: translateY(-1px);
}

/* =========================================================
   Final CTA
   ========================================================= */

.ato-product-page .product-final-cta {
  padding-top: 64px;
}

.ato-product-page .product-final-cta .cta-wrap .btn-primary {
  background: var(--brand-red) !important;
  color: #ffffff !important;
}

.ato-product-page .product-final-cta .cta-wrap .btn-secondary {
  background: #ffffff !important;
  color: var(--brand-blue) !important;
  border-color: rgba(255,255,255,0.30) !important;
}

/* =========================================================
   Responsive rules
   ========================================================= */

@media (max-width: 1080px) {
  .ato-product-page .product-hero-grid,
  .ato-product-page .product-two-col {
    grid-template-columns: 1fr;
  }

  .ato-product-page .product-hero-card,
  .ato-product-page .product-copy-card,
  .ato-product-page .product-workflow-card {
    max-width: 760px;
  }

  .ato-product-page .product-module-grid,
  .ato-product-page .product-difference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .ato-product-page .product-hero {
    padding: 38px 0 28px;
  }

  .ato-product-page h1 {
    max-width: none;
  }

  .ato-product-page .product-hero-card,
  .ato-product-page .product-copy-card,
  .ato-product-page .product-workflow-card,
  .ato-product-page .product-module-card,
  .ato-product-page .product-difference-card {
    padding: 22px !important;
  }

  .ato-product-page .product-module-grid,
  .ato-product-page .product-difference-grid {
    grid-template-columns: 1fr;
  }

  .ato-product-page .product-inline-callout {
    padding: 22px;
    font-size: 1.04rem;
  }
}
/* =========================================================
   Hide native WordPress heading on Product Overview page
   Page ID: 3187
   ========================================================= */

.page-id-3187 .entry-title,
.page-id-3187 .wp-block-post-title,
.page-id-3187 header.entry-header,
.page-id-3187 .entry-header {
  display: none !important;
}

/* Remove leftover spacing from the hidden title/header area */
.page-id-3187 .entry-content,
.page-id-3187 .wp-block-post-content,
.page-id-3187 .site-content,
.page-id-3187 #primary,
.page-id-3187 #main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Make the custom landing page full width */
.page-id-3187 .entry-content,
.page-id-3187 .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
}
/* =========================================================
   ATO custom pages — true full-width override
   Applies to known public pages, use-case pages, signup pages,
   product page, articles page, and contact page.
   ========================================================= */

/* Prevent horizontal scroll caused by 100vw breakout wrappers */
:is(
  .page-id-105,
  .page-id-2445,
  .page-id-2537,
  .page-id-2709,
  .page-id-2727,
  .page-id-2731,
  .page-id-3099,
  .page-id-3110,
  .page-id-3111,
  .page-id-3122,
  .page-id-3127,
  .page-id-3132,
  .page-id-3138,
  .page-id-3143,
  .page-id-3147,
  .page-id-3187
) {
  overflow-x: hidden !important;
}

/* Remove WordPress theme/content width constraints */
:is(
  .page-id-105,
  .page-id-2445,
  .page-id-2537,
  .page-id-2709,
  .page-id-2727,
  .page-id-2731,
  .page-id-3099,
  .page-id-3110,
  .page-id-3111,
  .page-id-3122,
  .page-id-3127,
  .page-id-3132,
  .page-id-3138,
  .page-id-3143,
  .page-id-3147,
  .page-id-3187
) :is(
  .entry-content,
  .wp-block-post-content,
  .site-content,
  .content-area,
  #primary,
  #main,
  .wp-site-blocks,
  .wp-block-group,
  .wp-block-group__inner-container
) {
  max-width: none !important;
}

/* Remove outer padding/margins from the main WordPress layout wrappers */
:is(
  .page-id-105,
  .page-id-2445,
  .page-id-2537,
  .page-id-2709,
  .page-id-2727,
  .page-id-2731,
  .page-id-3099,
  .page-id-3110,
  .page-id-3111,
  .page-id-3122,
  .page-id-3127,
  .page-id-3132,
  .page-id-3138,
  .page-id-3143,
  .page-id-3147,
  .page-id-3187
) :is(
  .entry-content,
  .wp-block-post-content,
  .site-content,
  .content-area,
  #primary,
  #main
) {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Force ATO custom wrappers to break out to true browser width */
:is(
  .page-id-105,
  .page-id-2445,
  .page-id-2537,
  .page-id-2709,
  .page-id-2727,
  .page-id-2731,
  .page-id-3099,
  .page-id-3110,
  .page-id-3111,
  .page-id-3122,
  .page-id-3127,
  .page-id-3132,
  .page-id-3138,
  .page-id-3143,
  .page-id-3147,
  .page-id-3187
) :is(
  .ato-homepage,
  .ato-pricing-page,
  .ato-product-page,
  .ato-use-cases-page,
  .ato-use-case-detail-page,
  .ato-articles-page,
  .ato-signup-page,
  .ato-growth-signup-page,
  .ato-creator-page,
  .ato-contact-page
) {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Keep the actual content neatly aligned inside the full-width wrapper */
:is(
  .page-id-105,
  .page-id-2445,
  .page-id-2537,
  .page-id-2709,
  .page-id-2727,
  .page-id-2731,
  .page-id-3099,
  .page-id-3110,
  .page-id-3111,
  .page-id-3122,
  .page-id-3127,
  .page-id-3132,
  .page-id-3138,
  .page-id-3143,
  .page-id-3147,
  .page-id-3187
) :is(
  .ato-homepage,
  .ato-pricing-page,
  .ato-product-page,
  .ato-use-cases-page,
  .ato-use-case-detail-page,
  .ato-articles-page,
  .ato-signup-page,
  .ato-growth-signup-page,
  .ato-creator-page,
  .ato-contact-page
) .container {
  width: min(var(--max), calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Make the custom headers span properly */
:is(
  .page-id-105,
  .page-id-2445,
  .page-id-2537,
  .page-id-2709,
  .page-id-2727,
  .page-id-2731,
  .page-id-3099,
  .page-id-3110,
  .page-id-3111,
  .page-id-3122,
  .page-id-3127,
  .page-id-3132,
  .page-id-3138,
  .page-id-3143,
  .page-id-3147,
  .page-id-3187
) .site-header {
  width: 100% !important;
}

/* Hide native WordPress headings on these custom landing pages */
:is(
  .page-id-105,
  .page-id-2445,
  .page-id-2537,
  .page-id-2709,
  .page-id-2727,
  .page-id-2731,
  .page-id-3099,
  .page-id-3110,
  .page-id-3111,
  .page-id-3122,
  .page-id-3127,
  .page-id-3132,
  .page-id-3138,
  .page-id-3143,
  .page-id-3147,
  .page-id-3187
) :is(
  .entry-title,
  .wp-block-post-title,
  header.entry-header,
  .entry-header
) {
  display: none !important;
}

/* Reduce mobile gutters so the page does not feel boxed in */
@media (max-width: 760px) {
  :is(
    .page-id-105,
    .page-id-2445,
    .page-id-2537,
    .page-id-2709,
    .page-id-2727,
    .page-id-2731,
    .page-id-3099,
    .page-id-3110,
    .page-id-3111,
    .page-id-3122,
    .page-id-3127,
    .page-id-3132,
    .page-id-3138,
    .page-id-3143,
    .page-id-3147,
    .page-id-3187
  ) :is(
    .ato-homepage,
    .ato-pricing-page,
    .ato-product-page,
    .ato-use-cases-page,
    .ato-use-case-detail-page,
    .ato-articles-page,
    .ato-signup-page,
    .ato-growth-signup-page,
    .ato-creator-page,
    .ato-contact-page
  ) .container {
    width: min(var(--max), calc(100% - 24px)) !important;
  }
}
/* =========================================================
   ATO About page — full-width patch
   Page ID: 2780
   ========================================================= */

.page-id-2780 {
  overflow-x: hidden !important;
}

/* Remove WordPress theme/content width constraints */
.page-id-2780 :is(
  .entry-content,
  .wp-block-post-content,
  .site-content,
  .content-area,
  #primary,
  #main,
  .wp-site-blocks,
  .wp-block-group,
  .wp-block-group__inner-container
) {
  max-width: none !important;
}

/* Remove outer padding/margins from main WordPress layout wrappers */
.page-id-2780 :is(
  .entry-content,
  .wp-block-post-content,
  .site-content,
  .content-area,
  #primary,
  #main
) {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Force ATO custom wrappers to true browser width */
.page-id-2780 :is(
  .ato-homepage,
  .ato-pricing-page,
  .ato-product-page,
  .ato-use-cases-page,
  .ato-use-case-detail-page,
  .ato-articles-page,
  .ato-signup-page,
  .ato-growth-signup-page,
  .ato-creator-page,
  .ato-contact-page,
  .ato-about-page
) {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* Keep inner content neatly aligned */
.page-id-2780 :is(
  .ato-homepage,
  .ato-pricing-page,
  .ato-product-page,
  .ato-use-cases-page,
  .ato-use-case-detail-page,
  .ato-articles-page,
  .ato-signup-page,
  .ato-growth-signup-page,
  .ato-creator-page,
  .ato-contact-page,
  .ato-about-page
) .container {
  width: min(var(--max), calc(100% - 32px)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Make header span properly */
.page-id-2780 .site-header {
  width: 100% !important;
}

/* Hide native WordPress heading */
.page-id-2780 :is(
  .entry-title,
  .wp-block-post-title,
  header.entry-header,
  .entry-header
) {
  display: none !important;
}

/* Reduce mobile gutters */
@media (max-width: 760px) {
  .page-id-2780 :is(
    .ato-homepage,
    .ato-pricing-page,
    .ato-product-page,
    .ato-use-cases-page,
    .ato-use-case-detail-page,
    .ato-articles-page,
    .ato-signup-page,
    .ato-growth-signup-page,
    .ato-creator-page,
    .ato-contact-page,
    .ato-about-page
  ) .container {
    width: min(var(--max), calc(100% - 24px)) !important;
  }
}
/* =========================================================
   ATO mobile nav dropdown fix
   Keeps Use Cases collapsed on mobile until tapped/focused
   ========================================================= */

@media (max-width: 1080px) {

  .ato-homepage .nav-dropdown,
  .ato-pricing-page .nav-dropdown,
  .ato-product-page .nav-dropdown,
  .ato-use-cases-page .nav-dropdown,
  .ato-use-case-detail-page .nav-dropdown,
  .ato-articles-page .nav-dropdown,
  .ato-signup-page .nav-dropdown,
  .ato-creator-page .nav-dropdown,
  .ato-contact-page .nav-dropdown,
  .ato-about-page .nav-dropdown {
    position: relative !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 0 !important;
  }

  .ato-homepage .nav-dropdown::after,
  .ato-pricing-page .nav-dropdown::after,
  .ato-product-page .nav-dropdown::after,
  .ato-use-cases-page .nav-dropdown::after,
  .ato-use-case-detail-page .nav-dropdown::after,
  .ato-articles-page .nav-dropdown::after,
  .ato-signup-page .nav-dropdown::after,
  .ato-creator-page .nav-dropdown::after,
  .ato-contact-page .nav-dropdown::after,
  .ato-about-page .nav-dropdown::after {
    display: none !important;
  }

  /* Mobile default: submenu collapsed */
  .ato-homepage .nav-dropdown-menu,
  .ato-pricing-page .nav-dropdown-menu,
  .ato-product-page .nav-dropdown-menu,
  .ato-use-cases-page .nav-dropdown-menu,
  .ato-use-case-detail-page .nav-dropdown-menu,
  .ato-articles-page .nav-dropdown-menu,
  .ato-signup-page .nav-dropdown-menu,
  .ato-creator-page .nav-dropdown-menu,
  .ato-contact-page .nav-dropdown-menu,
  .ato-about-page .nav-dropdown-menu {
    position: static !important;
    width: min(320px, calc(100vw - 48px)) !important;
    margin-top: 10px !important;
    padding: 10px !important;
    border-radius: 18px !important;
    background: rgba(247,249,255,0.98) !important;
    border: 1px solid rgba(1, 12, 128, 0.10) !important;
    box-shadow: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    max-height: 0 !important;
    overflow: hidden !important;

    transform: none !important;
    transition: max-height .18s ease, opacity .18s ease, visibility .18s ease !important;
  }

  /* Mobile open state: tap/focus Use Cases */
  .ato-homepage .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-pricing-page .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-product-page .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-use-cases-page .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-use-case-detail-page .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-articles-page .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-signup-page .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-creator-page .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-contact-page .nav-dropdown:focus-within .nav-dropdown-menu,
  .ato-about-page .nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: 520px !important;
    overflow: visible !important;
  }

  .ato-homepage .nav-dropdown-menu a,
  .ato-pricing-page .nav-dropdown-menu a,
  .ato-product-page .nav-dropdown-menu a,
  .ato-use-cases-page .nav-dropdown-menu a,
  .ato-use-case-detail-page .nav-dropdown-menu a,
  .ato-articles-page .nav-dropdown-menu a,
  .ato-signup-page .nav-dropdown-menu a,
  .ato-creator-page .nav-dropdown-menu a,
  .ato-contact-page .nav-dropdown-menu a,
  .ato-about-page .nav-dropdown-menu a {
    display: block !important;
    padding: 11px 12px !important;
    border-radius: 12px !important;
    white-space: normal !important;
  }
}
/* =========================================================
   ATO mobile burger navigation
   CSS-only menu using checkbox + details
   ========================================================= */

.ato-mobile-menu-toggle,
.ato-mobile-menu-button {
  display: none;
}

.ato-nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.ato-mobile-details {
  position: relative;
}

.ato-mobile-details summary {
  list-style: none;
  cursor: pointer;
}

.ato-mobile-details summary::-webkit-details-marker {
  display: none;
}

/* Desktop dropdown behaviour for details-based Use Cases menu */
@media (min-width: 1081px) {
  .ato-mobile-details .nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 280px;
    padding: 10px;
    border-radius: 22px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(1, 12, 128, 0.10);
    box-shadow: 0 24px 54px rgba(1, 12, 128, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
    z-index: 2000;
  }

  .ato-mobile-details:hover .nav-dropdown-menu,
  .ato-mobile-details:focus-within .nav-dropdown-menu,
  .ato-mobile-details[open] .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .ato-mobile-details .nav-dropdown-menu a {
    display: block !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
    color: var(--brand-blue) !important;
    font-size: .94rem !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  .ato-mobile-details .nav-dropdown-menu a:hover {
    background: rgba(1, 12, 128, 0.06) !important;
    color: var(--brand-red) !important;
  }
}

/* Mobile layout */
@media (max-width: 1080px) {
  .site-header-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .ato-mobile-menu-button {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(1, 12, 128, 0.12);
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(1, 12, 128, 0.08);
    flex-shrink: 0;
  }

  .ato-mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--brand-blue);
    transition: transform .18s ease, opacity .18s ease;
  }

  .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(2) {
    opacity: 0;
  }

  .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .ato-nav-panel {
    position: absolute !important;
    top: calc(100% + 14px);
    left: 16px;
    right: 16px;
    z-index: 3000;

    display: grid !important;
    gap: 18px !important;

    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(1, 12, 128, 0.10);
    box-shadow: 0 28px 70px rgba(1, 12, 128, 0.16);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .ato-mobile-menu-toggle:checked ~ .ato-nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .ato-nav-panel .site-nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    align-items: stretch !important;
    white-space: normal !important;
  }

  .ato-nav-panel .site-nav > a,
  .ato-nav-panel .nav-dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    color: var(--brand-blue) !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    background: rgba(247,249,255,0.78) !important;
    white-space: normal !important;
  }

  .ato-nav-panel .site-nav > a:hover,
  .ato-nav-panel .nav-dropdown-toggle:hover {
    color: var(--brand-red) !important;
    background: rgba(1, 12, 128, 0.06) !important;
  }

  .ato-nav-panel .nav-dropdown {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .ato-nav-panel .nav-dropdown-toggle::after {
    content: "▾";
    font-size: .78rem;
    margin-left: 8px;
  }

  .ato-nav-panel .nav-dropdown[open] .nav-dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .ato-nav-panel .nav-dropdown-menu {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    margin: 8px 0 4px !important;
    padding: 8px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(1, 12, 128, 0.08) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    overflow: visible !important;
  }

  .ato-nav-panel .nav-dropdown:not([open]) .nav-dropdown-menu {
    display: none !important;
  }

  .ato-nav-panel .nav-dropdown-menu a {
    display: block !important;
    padding: 11px 12px !important;
    border-radius: 13px !important;
    color: var(--brand-blue) !important;
    font-size: .95rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  .ato-nav-panel .nav-dropdown-menu a:hover {
    background: rgba(1, 12, 128, 0.06) !important;
    color: var(--brand-red) !important;
  }

  .ato-nav-panel .site-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .ato-nav-panel .site-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
  }
}

@media (max-width: 520px) {
  .creator-brand-text {
    font-size: .92rem !important;
  }

  .creator-brand-mark {
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
  }

  .ato-nav-panel {
    left: 12px;
    right: 12px;
    padding: 14px;
  }

  .ato-nav-panel .site-actions {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================================
   ATO signup pages — burger navigation support
   Applies to Starter, Team and Growth signup pages
   ========================================================= */

.ato-signup-page .ato-mobile-menu-toggle,
.ato-signup-page .ato-mobile-menu-button,
.ato-starter-signup-page .ato-mobile-menu-toggle,
.ato-starter-signup-page .ato-mobile-menu-button,
.ato-team-signup-page .ato-mobile-menu-toggle,
.ato-team-signup-page .ato-mobile-menu-button,
.ato-growth-signup-page .ato-mobile-menu-toggle,
.ato-growth-signup-page .ato-mobile-menu-button {
  display: none;
}

.ato-signup-page .ato-nav-panel,
.ato-starter-signup-page .ato-nav-panel,
.ato-team-signup-page .ato-nav-panel,
.ato-growth-signup-page .ato-nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

/* Mobile layout for signup pages */
@media (max-width: 1080px) {
  .ato-signup-page .site-header-inner,
  .ato-starter-signup-page .site-header-inner,
  .ato-team-signup-page .site-header-inner,
  .ato-growth-signup-page .site-header-inner {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .ato-signup-page .ato-mobile-menu-button,
  .ato-starter-signup-page .ato-mobile-menu-button,
  .ato-team-signup-page .ato-mobile-menu-button,
  .ato-growth-signup-page .ato-mobile-menu-button {
    display: inline-flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 1px solid rgba(1, 12, 128, 0.12);
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(1, 12, 128, 0.08);
    flex-shrink: 0;
  }

  .ato-signup-page .ato-mobile-menu-button span,
  .ato-starter-signup-page .ato-mobile-menu-button span,
  .ato-team-signup-page .ato-mobile-menu-button span,
  .ato-growth-signup-page .ato-mobile-menu-button span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    border-radius: 999px;
    background: var(--brand-blue);
    transition: transform .18s ease, opacity .18s ease;
  }

  .ato-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(1),
  .ato-starter-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(1),
  .ato-team-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(1),
  .ato-growth-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .ato-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(2),
  .ato-starter-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(2),
  .ato-team-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(2),
  .ato-growth-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(2) {
    opacity: 0;
  }

  .ato-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(3),
  .ato-starter-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(3),
  .ato-team-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(3),
  .ato-growth-signup-page .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .ato-signup-page .ato-nav-panel,
  .ato-starter-signup-page .ato-nav-panel,
  .ato-team-signup-page .ato-nav-panel,
  .ato-growth-signup-page .ato-nav-panel {
    position: absolute !important;
    top: calc(100% + 14px);
    left: 16px;
    right: 16px;
    z-index: 3000;

    display: grid !important;
    gap: 18px !important;

    padding: 18px;
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(1, 12, 128, 0.10);
    box-shadow: 0 28px 70px rgba(1, 12, 128, 0.16);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  }

  .ato-signup-page .ato-mobile-menu-toggle:checked ~ .ato-nav-panel,
  .ato-starter-signup-page .ato-mobile-menu-toggle:checked ~ .ato-nav-panel,
  .ato-team-signup-page .ato-mobile-menu-toggle:checked ~ .ato-nav-panel,
  .ato-growth-signup-page .ato-mobile-menu-toggle:checked ~ .ato-nav-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .ato-signup-page .ato-nav-panel .site-nav,
  .ato-starter-signup-page .ato-nav-panel .site-nav,
  .ato-team-signup-page .ato-nav-panel .site-nav,
  .ato-growth-signup-page .ato-nav-panel .site-nav {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    align-items: stretch !important;
    white-space: normal !important;
  }

  .ato-signup-page .ato-nav-panel .site-nav > a,
  .ato-signup-page .ato-nav-panel .nav-dropdown-toggle,
  .ato-starter-signup-page .ato-nav-panel .site-nav > a,
  .ato-starter-signup-page .ato-nav-panel .nav-dropdown-toggle,
  .ato-team-signup-page .ato-nav-panel .site-nav > a,
  .ato-team-signup-page .ato-nav-panel .nav-dropdown-toggle,
  .ato-growth-signup-page .ato-nav-panel .site-nav > a,
  .ato-growth-signup-page .ato-nav-panel .nav-dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 13px 14px !important;
    border-radius: 16px !important;
    color: var(--brand-blue) !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    background: rgba(247,249,255,0.78) !important;
    white-space: normal !important;
  }

  .ato-signup-page .ato-nav-panel .nav-dropdown,
  .ato-starter-signup-page .ato-nav-panel .nav-dropdown,
  .ato-team-signup-page .ato-nav-panel .nav-dropdown,
  .ato-growth-signup-page .ato-nav-panel .nav-dropdown {
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .ato-signup-page .ato-nav-panel .nav-dropdown-menu,
  .ato-starter-signup-page .ato-nav-panel .nav-dropdown-menu,
  .ato-team-signup-page .ato-nav-panel .nav-dropdown-menu,
  .ato-growth-signup-page .ato-nav-panel .nav-dropdown-menu {
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    margin: 8px 0 4px !important;
    padding: 8px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(1, 12, 128, 0.08) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    overflow: visible !important;
  }

  .ato-signup-page .ato-nav-panel .nav-dropdown:not([open]) .nav-dropdown-menu,
  .ato-starter-signup-page .ato-nav-panel .nav-dropdown:not([open]) .nav-dropdown-menu,
  .ato-team-signup-page .ato-nav-panel .nav-dropdown:not([open]) .nav-dropdown-menu,
  .ato-growth-signup-page .ato-nav-panel .nav-dropdown:not([open]) .nav-dropdown-menu {
    display: none !important;
  }

  .ato-signup-page .ato-nav-panel .nav-dropdown-menu a,
  .ato-starter-signup-page .ato-nav-panel .nav-dropdown-menu a,
  .ato-team-signup-page .ato-nav-panel .nav-dropdown-menu a,
  .ato-growth-signup-page .ato-nav-panel .nav-dropdown-menu a {
    display: block !important;
    padding: 11px 12px !important;
    border-radius: 13px !important;
    color: var(--brand-blue) !important;
    font-size: .95rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  .ato-signup-page .ato-nav-panel .site-actions,
  .ato-starter-signup-page .ato-nav-panel .site-actions,
  .ato-team-signup-page .ato-nav-panel .site-actions,
  .ato-growth-signup-page .ato-nav-panel .site-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .ato-signup-page .ato-nav-panel .site-actions .btn,
  .ato-starter-signup-page .ato-nav-panel .site-actions .btn,
  .ato-team-signup-page .ato-nav-panel .site-actions .btn,
  .ato-growth-signup-page .ato-nav-panel .site-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
  }
}

@media (max-width: 520px) {
  .ato-signup-page .ato-nav-panel,
  .ato-starter-signup-page .ato-nav-panel,
  .ato-team-signup-page .ato-nav-panel,
  .ato-growth-signup-page .ato-nav-panel {
    left: 12px;
    right: 12px;
    padding: 14px;
  }

  .ato-signup-page .ato-nav-panel .site-actions,
  .ato-starter-signup-page .ato-nav-panel .site-actions,
  .ato-team-signup-page .ato-nav-panel .site-actions,
  .ato-growth-signup-page .ato-nav-panel .site-actions {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================================
   ATO mobile burger menu — stronger scrollable version
   Use this if iPhone Safari still clips the bottom items
   ========================================================= */

@media (max-width: 1080px) {
  .ato-nav-panel {
    max-height: min(620px, calc(100dvh - 112px)) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
    padding-bottom: 22px !important;
  }
}

@media (max-width: 520px) {
  .ato-nav-panel {
    max-height: calc(100dvh - 96px) !important;
    padding-bottom: 26px !important;
  }
}
/* =========================================================
   ATO mobile burger menu — fixed drawer scroll fix
   Prevents iOS/Safari bounce-back hiding lower menu items
   Add AFTER all existing burger/nav CSS
   ========================================================= */

@media (max-width: 1080px) {
  .site-header {
    position: relative !important;
    z-index: 5000 !important;
  }

  .site-header-inner {
    position: relative !important;
    z-index: 5001 !important;
  }

  .ato-nav-panel {
    position: fixed !important;

    top: 86px !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;

    width: auto !important;
    max-width: none !important;
    max-height: none !important;

    display: grid !important;
    align-content: start !important;
    gap: 14px !important;

    padding: 16px 16px 22px !important;
    border-radius: 24px !important;

    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(1, 12, 128, 0.10) !important;
    box-shadow: 0 28px 70px rgba(1, 12, 128, 0.18) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: auto !important;
    overscroll-behavior: none !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-8px) !important;
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;

    z-index: 4999 !important;
  }

  .ato-mobile-menu-toggle:checked ~ .ato-nav-panel {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
  }

  .ato-nav-panel .site-nav {
    min-height: 0 !important;
  }

  .ato-nav-panel .site-actions {
    padding-bottom: 10px !important;
  }
}

/* Smaller phones */
@media (max-width: 520px) {
  .ato-nav-panel {
    top: 96px !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    padding: 14px 14px 24px !important;
  }
}
/* =========================================================
   ATO mobile burger menu — final drawer height override
   Fixes menu opening as a single-line strip
   Add this at the VERY BOTTOM of Custom CSS
   ========================================================= */

@media (max-width: 1080px) {

  body:has(.ato-mobile-menu-toggle:checked) {
    overflow: hidden !important;
  }

  .ato-mobile-menu-toggle:checked ~ .ato-nav-panel {
    position: fixed !important;

    top: 84px !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;

    width: auto !important;
    height: auto !important;
    min-height: calc(100dvh - 108px) !important;
    max-height: calc(100dvh - 108px) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    align-content: stretch !important;
    gap: 16px !important;

    padding: 16px 16px 24px !important;
    margin: 0 !important;

    border-radius: 24px !important;
    background: rgba(255,255,255,0.98) !important;
    border: 1px solid rgba(1, 12, 128, 0.10) !important;
    box-shadow: 0 28px 70px rgba(1, 12, 128, 0.18) !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;

    z-index: 99999 !important;
  }

  .ato-nav-panel .site-nav {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    gap: 7px !important;
    flex: 0 0 auto !important;
  }

  .ato-nav-panel .site-nav > a,
  .ato-nav-panel .nav-dropdown-toggle {
    display: flex !important;
    width: 100% !important;
    min-height: 46px !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-radius: 15px !important;
    background: rgba(247,249,255,0.82) !important;
    color: var(--brand-blue) !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
  }

  .ato-nav-panel .nav-dropdown {
    width: 100% !important;
    display: block !important;
    flex: 0 0 auto !important;
  }

  .ato-nav-panel .nav-dropdown-menu {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    min-height: 0 !important;
    margin: 8px 0 4px !important;
    padding: 8px !important;
    border-radius: 18px !important;
    background: #ffffff !important;
    border: 1px solid rgba(1, 12, 128, 0.08) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    overflow: visible !important;
  }

  .ato-nav-panel .nav-dropdown:not([open]) .nav-dropdown-menu {
    display: none !important;
  }

  .ato-nav-panel .nav-dropdown-menu a {
    display: block !important;
    width: 100% !important;
    padding: 11px 12px !important;
    border-radius: 13px !important;
    color: var(--brand-blue) !important;
    font-size: .95rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  .ato-nav-panel .site-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    flex: 0 0 auto !important;
    padding-bottom: 6px !important;
    margin-top: 4px !important;
  }

  .ato-nav-panel .site-actions .btn {
    width: 100% !important;
    min-height: 48px !important;
    justify-content: center !important;
  }
}

@media (max-width: 520px) {
  .ato-mobile-menu-toggle:checked ~ .ato-nav-panel {
    top: 76px !important;
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
    min-height: calc(100dvh - 86px) !important;
    max-height: calc(100dvh - 86px) !important;
    padding: 14px 14px 26px !important;
  }

  .ato-nav-panel .site-actions {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================================
   ATO mobile burger menu — close button inside drawer
   ========================================================= */

.ato-mobile-panel-head,
.ato-mobile-menu-close {
  display: none;
}

@media (max-width: 1080px) {
  .ato-mobile-panel-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 4px 2px 8px !important;
    border-bottom: 1px solid rgba(1, 12, 128, 0.08) !important;
    color: var(--brand-blue) !important;
    font-weight: 950 !important;
    font-size: 1rem !important;
    letter-spacing: -0.03em !important;
  }

  .ato-mobile-menu-close {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 14px !important;
    background: var(--brand-blue) !important;
    color: #ffffff !important;
    font-size: 1.8rem !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 14px 30px rgba(1, 12, 128, 0.14) !important;
    user-select: none !important;
  }

  .ato-mobile-menu-close:hover {
    background: var(--brand-red) !important;
  }

  /* Keep the burger button above normal content, but the drawer close button handles closing */
  .ato-mobile-menu-button {
    position: relative !important;
    z-index: 100001 !important;
  }

  .ato-nav-panel {
    z-index: 99999 !important;
  }
}
/* =========================================================
   ATO final mobile/nav polish
   Fix burger icon spacing on Contact page
   Make Use Cases nav label bold
   ========================================================= */

/* 1. Fix squashed burger lines, especially on Contact page */
.ato-mobile-menu-button {
  display: none;
}

@media (max-width: 1080px) {
  .ato-mobile-menu-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 16px !important;
    border: 1px solid rgba(1, 12, 128, 0.12) !important;
    background: #ffffff !important;
    box-shadow: 0 14px 30px rgba(1, 12, 128, 0.08) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
  }

  .ato-mobile-menu-button span {
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    min-height: 2px !important;
    max-height: 2px !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 999px !important;
    background: var(--brand-blue) !important;
    opacity: 1 !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
  }

  /* Keep the open-state X animation tidy */
  .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(1) {
    transform: translateY(7px) rotate(45deg) !important;
  }

  .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(2) {
    opacity: 0 !important;
  }

  .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg) !important;
  }
}

/* 2. Make Use Cases nav label match the other bold nav links */
.nav-dropdown-toggle,
.ato-nav-panel .nav-dropdown-toggle,
.site-nav .nav-dropdown-toggle,
.site-nav details summary.nav-dropdown-toggle {
  font-weight: 850 !important;
  color: var(--brand-blue) !important;
  text-decoration: none !important;
}

/* Also make all top nav links consistently bold */
.site-nav > a,
.site-nav .nav-dropdown-toggle {
  font-weight: 850 !important;
}
/* =========================================================
   ATO Contact page burger/close icon hard fix
   Draws burger and close icon with CSS, avoiding span/text conflicts
   Page ID: 105
   ========================================================= */

@media (max-width: 1080px) {

  /* Reset the contact page burger button completely */
  .page-id-105 .ato-mobile-menu-button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 16px !important;
    border: 1px solid rgba(1, 12, 128, 0.12) !important;
    background: #ffffff !important;
    box-shadow: 0 14px 30px rgba(1, 12, 128, 0.08) !important;

    cursor: pointer !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    line-height: 1 !important;
  }

  /* Hide the original span lines on Contact page */
  .page-id-105 .ato-mobile-menu-button span {
    display: none !important;
  }

  /* Draw the three burger lines using one pseudo-element */
  .page-id-105 .ato-mobile-menu-button::before {
    content: "" !important;
    display: block !important;
    width: 22px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: var(--brand-blue) !important;
    box-shadow:
      0 -7px 0 var(--brand-blue),
      0 7px 0 var(--brand-blue) !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* When open, turn burger into a clean X */
  .page-id-105 .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button::before {
    box-shadow: none !important;
    transform: rotate(45deg) !important;
  }

  .page-id-105 .ato-mobile-menu-button::after {
    content: "" !important;
    position: absolute !important;
    width: 22px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: var(--brand-blue) !important;
    transform: rotate(-45deg) !important;
    opacity: 0 !important;
  }

  .page-id-105 .ato-mobile-menu-toggle:checked + .ato-mobile-menu-button::after {
    opacity: 1 !important;
  }

  /* Reset the close button inside the drawer */
  .page-id-105 .ato-mobile-menu-close {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;

    padding: 0 !important;
    margin: 0 !important;

    border-radius: 14px !important;
    background: var(--brand-blue) !important;
    color: transparent !important;
    font-size: 0 !important;
    line-height: 1 !important;

    cursor: pointer !important;
    box-shadow: 0 14px 30px rgba(1, 12, 128, 0.14) !important;
    overflow: hidden !important;
  }

  /* Draw close X with CSS */
  .page-id-105 .ato-mobile-menu-close::before,
  .page-id-105 .ato-mobile-menu-close::after {
    content: "" !important;
    position: absolute !important;
    width: 20px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #ffffff !important;
  }

  .page-id-105 .ato-mobile-menu-close::before {
    transform: rotate(45deg) !important;
  }

  .page-id-105 .ato-mobile-menu-close::after {
    transform: rotate(-45deg) !important;
  }

  .page-id-105 .ato-mobile-menu-close:hover {
    background: var(--brand-red) !important;
  }
}
/* =========================================================
   ATO mobile header alignment
   Keep logo left and burger button right on same row
   ========================================================= */

@media (max-width: 1080px) {
  .site-header-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    flex-wrap: nowrap !important;
    width: min(var(--max), calc(100% - 24px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .site-header-inner .brand {
    display: inline-flex !important;
    align-items: center !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: calc(100% - 64px) !important;
  }

  .site-header-inner .creator-brand-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .site-header-inner .ato-mobile-menu-button {
    margin-left: auto !important;
    flex: 0 0 48px !important;
    align-self: center !important;
  }

  .site-header-inner .ato-mobile-menu-toggle {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* Slightly tighter for small phones */
@media (max-width: 420px) {
  .site-header-inner {
    width: calc(100% - 20px) !important;
    gap: 10px !important;
  }

  .site-header-inner .creator-brand-mark {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
  }

  .site-header-inner .creator-brand-text {
    font-size: 0.9rem !important;
  }

  .site-header-inner .ato-mobile-menu-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex-basis: 44px !important;
  }
}
/* =========================================================
   ATO mobile header final alignment fix
   Forces logo and burger onto the same row
   Add at VERY BOTTOM of Custom CSS
   ========================================================= */

@media (max-width: 1080px) {
  .site-header {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .site-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    align-items: center !important;
    column-gap: 12px !important;

    width: min(var(--max), calc(100% - 24px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;

    padding: 0 !important;
  }

  .site-header-inner .brand {
    grid-column: 1 !important;
    grid-row: 1 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-self: start !important;

    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .site-header-inner .ato-mobile-menu-toggle {
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .site-header-inner .ato-mobile-menu-button {
    grid-column: 2 !important;
    grid-row: 1 !important;

    justify-self: end !important;
    align-self: center !important;

    display: inline-flex !important;
    margin: 0 !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }

  .site-header-inner .ato-nav-panel {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 420px) {
  .site-header-inner {
    grid-template-columns: minmax(0, 1fr) 44px !important;
    width: calc(100% - 20px) !important;
  }

  .site-header-inner .ato-mobile-menu-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}
/* =========================================================
   ATO mobile header emergency alignment fix
   Removes hidden checkbox from layout and pins burger top-right
   Add at VERY BOTTOM of Custom CSS
   ========================================================= */

@media (max-width: 1080px) {

  .site-header {
    padding: 12px 0 !important;
  }

  .site-header-inner {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;

    width: min(var(--max), calc(100% - 24px)) !important;
    min-height: 52px !important;

    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 64px 0 0 !important;
  }

  .site-header-inner .brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
  }

  /* Crucial: remove checkbox from layout entirely */
  .site-header-inner .ato-mobile-menu-toggle {
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Pin burger to the right of the same header row */
  .site-header-inner .ato-mobile-menu-button {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 5px !important;

    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 16px !important;
    border: 1px solid rgba(1, 12, 128, 0.12) !important;
    background: #ffffff !important;
    box-shadow: 0 14px 30px rgba(1, 12, 128, 0.08) !important;

    z-index: 100001 !important;
  }

  .site-header-inner .ato-nav-panel {
    position: fixed !important;
  }
}

@media (max-width: 420px) {
  .site-header-inner {
    width: calc(100% - 20px) !important;
    min-height: 48px !important;
    padding-right: 56px !important;
  }

  .site-header-inner .ato-mobile-menu-button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 14px !important;
  }
}
/* =========================================================
   ATO individual article pages — mobile width fix
   Targets single blog/article posts only
   Keeps desktop layout unchanged
   ========================================================= */

@media (max-width: 760px) {

  /* Force individual post pages to use the full mobile viewport */
  body.single-post,
  body.post-template-default {
    overflow-x: hidden !important;
  }

  body.single-post :is(
    .site-content,
    .content-area,
    #primary,
    #main,
    .entry-content,
    .wp-block-post-content,
    .wp-site-blocks
  ),
  body.post-template-default :is(
    .site-content,
    .content-area,
    #primary,
    #main,
    .entry-content,
    .wp-block-post-content,
    .wp-site-blocks
  ) {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Break custom article wrappers out of the narrow WP column */
  body.single-post :is(
    .ato-homepage,
    .ato-article-page,
    .ato-article,
    .ato-blog-post,
    .ato-post-page,
    .ato-post-wrapper
  ),
  body.post-template-default :is(
    .ato-homepage,
    .ato-article-page,
    .ato-article,
    .ato-blog-post,
    .ato-post-page,
    .ato-post-wrapper
  ) {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }

  /* Widen the actual article content blocks/cards */
  body.single-post :is(
    article,
    .post,
    .entry,
    .wp-block-group,
    .wp-block-group__inner-container,
    .wp-block-column,
    .wp-block-columns
  ),
  body.post-template-default :is(
    article,
    .post,
    .entry,
    .wp-block-group,
    .wp-block-group__inner-container,
    .wp-block-column,
    .wp-block-columns
  ) {
    max-width: none !important;
  }

  /* Make the main readable article card wider on mobile */
  body.single-post :is(
    .entry-content > *,
    .wp-block-post-content > *,
    .wp-block-group__inner-container > *
  ),
  body.post-template-default :is(
    .entry-content > *,
    .wp-block-post-content > *,
    .wp-block-group__inner-container > *
  ) {
    max-width: calc(100vw - 24px) !important;
  }

  /* Keep paragraphs, headings and content from becoming too squeezed */
  body.single-post :is(
    p,
    h1,
    h2,
    h3,
    h4,
    ul,
    ol,
    blockquote
  ),
  body.post-template-default :is(
    p,
    h1,
    h2,
    h3,
    h4,
    ul,
    ol,
    blockquote
  ) {
    max-width: 100% !important;
  }
}
/* =========================================================
   ATO individual article pages — mobile inner padding fix
   Adds breathing room inside the article card/content area
   ========================================================= */

@media (max-width: 760px) {

  body.single-post .entry-content,
  body.single-post .wp-block-post-content,
  body.post-template-default .entry-content,
  body.post-template-default .wp-block-post-content {
    padding-left: 20px !important;
    padding-right: 14px !important;
  }

  body.single-post .entry-content p,
  body.single-post .entry-content h1,
  body.single-post .entry-content h2,
  body.single-post .entry-content h3,
  body.single-post .entry-content h4,
  body.single-post .entry-content ul,
  body.single-post .entry-content ol,
  body.single-post .entry-content blockquote,
  body.post-template-default .entry-content p,
  body.post-template-default .entry-content h1,
  body.post-template-default .entry-content h2,
  body.post-template-default .entry-content h3,
  body.post-template-default .entry-content h4,
  body.post-template-default .entry-content ul,
  body.post-template-default .entry-content ol,
  body.post-template-default .entry-content blockquote {
    padding-left: 2px !important;
    padding-right: 2px !important;
  }
}