/* AeroParacas Travel — landing premium
   Prefijo apt- para convivir con Divi sin colisiones */
:root {
  --apt-gold: #c5a059;
  --apt-gold-bright: #e2c37e;
  --apt-gold-dark: #997a38;
  --apt-ink: #0f1722;
  --apt-ink-soft: #1b1c18;
  --apt-terracotta: #b85d3b;
  --apt-cream: #f8f6f0;
  --apt-cream-2: #f3ede2;
  --apt-sand: #efe8dc;
  --apt-paper: #ffffff;
  --apt-muted: #4e4639;
  --apt-line: #d1c5b4;
  --apt-wa: #25d366;
  --apt-wa-deep: #1ea952;
  --apt-radius: 20px;
  --apt-radius-sm: 12px;
  --apt-shadow: 0 18px 50px rgba(15, 23, 34, 0.08);
  --apt-header: 84px;
  --apt-max: 1180px;
  --apt-font-display: "Outfit", system-ui, sans-serif;
  --apt-font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 96px;
}

.apt-page {
  margin: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: var(--apt-cream);
  color: var(--apt-ink-soft);
  font-family: var(--apt-font-body);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.apt-page *,
.apt-page *::before,
.apt-page *::after {
  box-sizing: border-box;
}

.apt-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.apt-wrap {
  width: min(var(--apt-max), calc(100% - 32px));
  margin-inline: auto;
}

.apt-kicker {
  display: inline-block;
  font-family: var(--apt-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--apt-gold-dark);
}

.apt-h2 {
  font-family: var(--apt-font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 8px 0 12px;
  color: var(--apt-ink);
}

.apt-lead {
  font-size: 1.05rem;
  color: var(--apt-muted);
  max-width: 42rem;
}

.apt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 14px 22px;
  font-family: var(--apt-font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.apt-btn:hover {
  transform: translateY(-1px);
}

.apt-btn-wa {
  background: var(--apt-wa);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.apt-btn-wa:hover {
  background: var(--apt-wa-deep);
}

.apt-btn-gold {
  background: var(--apt-gold);
  color: #1a1305;
}

.apt-btn-gold:hover {
  background: var(--apt-gold-bright);
}

.apt-btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}

.apt-btn-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.apt-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* Header */
.apt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 246, 240, 0.88);
  border-bottom: 1px solid rgba(209, 197, 180, 0.45);
}

.apt-header__bar {
  height: var(--apt-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.apt-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.apt-brand__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.apt-brand__name {
  font-family: var(--apt-font-display);
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--apt-ink);
}

.apt-brand__sub {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apt-gold-dark);
  font-weight: 700;
}

.apt-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

.apt-nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--apt-muted);
}

.apt-nav a:hover,
.apt-nav a[aria-current="page"] {
  color: var(--apt-ink);
}

.apt-header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apt-header .apt-btn {
  padding: 11px 16px;
}

.apt-menu-btn {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--apt-line);
  border-radius: 12px;
  background: #fff;
  color: var(--apt-ink);
}

.apt-mobile {
  display: none;
  background: #fff;
  border-bottom: 1px solid var(--apt-line);
  padding: 8px 0 20px;
}

.apt-mobile.is-open {
  display: block;
}

.apt-mobile a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  border-bottom: 1px solid #eee8dc;
}

/* Hero */
.apt-hero {
  position: relative;
  color: #f8f6f0;
  background: #0b1119;
  overflow: hidden;
  padding: 36px 0 48px;
}

.apt-hero__photo,
.apt-hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.apt-hero__photo {
  object-fit: cover;
  object-position: center 40%;
}

.apt-hero__shade {
  background:
    linear-gradient(90deg, rgba(11, 17, 25, 0.82) 0%, rgba(11, 17, 25, 0.55) 52%, rgba(11, 17, 25, 0.78) 100%),
    linear-gradient(180deg, rgba(11, 17, 25, 0.2), rgba(11, 17, 25, 0.88));
}

.apt-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.apt-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.apt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(226, 195, 126, 0.22);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--apt-gold-bright);
}

.apt-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--apt-gold-bright);
}

.apt-hero h1 {
  font-family: var(--apt-font-display);
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 16px;
  max-width: 16ch;
  color: #fff;
}

.apt-hero h1 em {
  font-style: normal;
  color: var(--apt-gold-bright);
}

.apt-hero__intro {
  font-size: 1.05rem;
  color: rgba(248, 246, 240, 0.82);
  max-width: 38rem;
  margin-bottom: 22px;
}

.apt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.apt-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 13px;
  color: rgba(248, 246, 240, 0.75);
}

.apt-trust b {
  color: var(--apt-gold-bright);
  font-weight: 700;
  margin-right: 6px;
}

.apt-aside {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  border-radius: var(--apt-radius);
  padding: 22px;
}

.apt-aside h2 {
  margin: 0;
  font-family: var(--apt-font-display);
  font-size: 1.25rem;
  color: var(--apt-gold-bright);
}

.apt-aside p {
  margin: 6px 0 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 246, 240, 0.6);
}

.apt-aside a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 8px;
  font-size: 14px;
}

.apt-aside a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.apt-aside a.apt-btn {
  display: inline-flex;
  justify-content: center;
  margin-bottom: 0;
  background: var(--apt-gold);
  color: #1a1305;
}

.apt-notice {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  color: rgba(248, 246, 240, 0.8);
}

.apt-notice strong {
  color: #fff;
}

.apt-quote {
  position: relative;
  z-index: 2;
  margin-top: 18px;
  background: #fff;
  color: var(--apt-ink);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--apt-shadow);
}

.apt-quote form {
  display: grid;
  gap: 12px;
}

.apt-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--apt-muted);
  margin-bottom: 6px;
}

.apt-field input,
.apt-field select {
  width: 100%;
  border: 0;
  background: var(--apt-cream-2);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--apt-ink);
}

.apt-quote .apt-btn {
  width: 100%;
  min-height: 48px;
}

/* Sections */
.apt-section {
  padding: 72px 0;
}

.apt-section--sand {
  background: var(--apt-sand);
}

.apt-section--paper {
  background: #fff;
}

.apt-section--dark {
  background: var(--apt-ink);
  color: #f3ede2;
}

.apt-section--dark .apt-h2,
.apt-section--dark .apt-kicker {
  color: var(--apt-gold-bright);
}

.apt-section--dark .apt-lead {
  color: rgba(243, 237, 226, 0.78);
}

.apt-center {
  text-align: center;
}

.apt-center .apt-lead {
  margin-inline: auto;
}

.apt-center .apt-split,
.apt-center .apt-card {
  text-align: left;
}

.apt-center .apt-card > h3 {
  text-align: center;
}

/* Packages */
.apt-packages {
  display: grid;
  gap: 18px;
}

.apt-pack {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(209, 197, 180, 0.6);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.apt-pack--featured {
  border-color: var(--apt-gold);
  box-shadow: var(--apt-shadow);
}

.apt-pack__media {
  position: relative;
  height: 190px;
  background: #2b2114 center/cover no-repeat;
}

.apt-pack__pills {
  position: absolute;
  left: 14px;
  top: 14px;
  display: flex;
  gap: 8px;
}

.apt-pill {
  background: rgba(11, 17, 25, 0.78);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.apt-pill--gold {
  background: var(--apt-gold);
  color: #1a1305;
}

.apt-pack__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.apt-pack h3 {
  font-family: var(--apt-font-display);
  font-size: 1.4rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.apt-pack p {
  margin: 0;
  color: var(--apt-muted);
  font-size: 14.5px;
}

.apt-pack ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.apt-pack li {
  position: relative;
  padding-left: 18px;
  margin: 7px 0;
  font-size: 14px;
  color: var(--apt-muted);
}

.apt-pack li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--apt-gold);
}

.apt-pack__price {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.apt-pack__price small {
  display: block;
  color: var(--apt-muted);
  font-size: 12px;
}

.apt-pack__price strong {
  font-family: var(--apt-font-display);
  font-size: 1.35rem;
}

.apt-compare {
  margin-top: 28px;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--apt-line);
  background: #fff;
}

.apt-compare table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}

.apt-compare th,
.apt-compare td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid #efe8dc;
}

.apt-compare th {
  background: var(--apt-ink);
  color: #fff;
  font-weight: 600;
}

.apt-compare tr:last-child td {
  border-bottom: 0;
}

/* Pillars / steps */
.apt-cards {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.apt-card {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  border: 1px solid rgba(209, 197, 180, 0.45);
}

.apt-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(197, 160, 89, 0.16);
  color: var(--apt-gold-dark);
  font-family: var(--apt-font-display);
  font-weight: 700;
  margin-bottom: 16px;
}

.apt-card h3 {
  margin: 0 0 8px;
  font-family: var(--apt-font-display);
  font-size: 1.2rem;
}

.apt-card p {
  margin: 0;
  color: var(--apt-muted);
}

.apt-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* Include / exclude */
.apt-split {
  display: grid;
  gap: 16px;
}

.apt-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.apt-list li {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.apt-list li > span:last-child {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.apt-check,
.apt-x {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex: 0 0 auto;
  margin-top: 3px;
  position: relative;
}

.apt-check {
  background: var(--apt-wa);
}

.apt-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.apt-x {
  background: #c5c0b6;
}

.apt-x::before,
.apt-x::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 2px;
  height: 10px;
  background: #fff;
}

.apt-x::before {
  transform: rotate(45deg);
}

.apt-x::after {
  transform: rotate(-45deg);
}

/* Figures */
.apt-figures {
  display: grid;
  gap: 16px;
}

.apt-fig {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(209, 197, 180, 0.45);
}

.apt-fig img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.apt-fig__body {
  padding: 18px;
}

.apt-fig__meta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apt-terracotta);
}

.apt-fig h3 {
  margin: 6px 0 8px;
  font-family: var(--apt-font-display);
  font-size: 1.25rem;
}

.apt-fig p {
  margin: 0;
  color: var(--apt-muted);
  font-size: 14.5px;
}

.apt-note {
  margin-top: 16px;
  text-align: center;
  font-size: 13px;
  color: var(--apt-muted);
  background: #fff;
  padding: 12px 16px;
  border-radius: 12px;
}

/* Story */
.apt-story {
  display: grid;
  gap: 28px;
  align-items: center;
}

.apt-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.apt-fact {
  background: var(--apt-cream-2);
  border-radius: 14px;
  padding: 14px;
}

.apt-fact b {
  display: block;
  font-family: var(--apt-font-display);
  font-size: 1.3rem;
  color: var(--apt-gold-dark);
}

.apt-photo {
  position: relative;
}

.apt-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
}

.apt-quote-card {
  position: relative;
  margin-top: -36px;
  margin-left: 16px;
  max-width: 280px;
  background: #fff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: var(--apt-shadow);
  font-size: 13px;
  font-weight: 600;
}

/* Arrival */
.apt-routes {
  display: grid;
  gap: 14px;
}

.apt-route h3 {
  margin: 0 0 6px;
  font-family: var(--apt-font-display);
}

.apt-route p {
  margin: 0;
  color: var(--apt-muted);
}

/* FAQ */
.apt-faq {
  max-width: 760px;
  margin: 0 auto;
}

.apt-acc {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 10px;
  border: 1px solid rgba(209, 197, 180, 0.45);
  overflow: hidden;
}

.apt-acc button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 18px 20px;
  font-family: var(--apt-font-display);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--apt-ink);
}

.apt-acc__panel {
  display: none;
  padding: 0 20px 18px;
  color: var(--apt-muted);
}

.apt-acc.is-open .apt-acc__panel {
  display: block;
}

.apt-acc button span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--apt-cream-2);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

/* SEO article */
.apt-article {
  max-width: 760px;
}

.apt-article h3 {
  font-family: var(--apt-font-display);
  font-size: 1.35rem;
  margin: 28px 0 10px;
}

.apt-article p,
.apt-article li {
  color: var(--apt-muted);
}

.apt-article ul {
  padding-left: 18px;
}

/* CTA */
.apt-cta {
  background: #fff;
  border-radius: 28px;
  padding: 36px 22px;
  text-align: center;
  box-shadow: var(--apt-shadow);
}

.apt-cta p.apt-legal {
  margin-top: 18px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apt-muted);
}

/* Footer */
.apt-footer {
  background: #0b1119;
  color: #cfc8ba;
  padding: 64px 0 28px;
  margin: 0;
}

.apt-footer__grid {
  display: grid;
  gap: 28px;
}

.apt-footer h3,
.apt-footer .apt-brand__name {
  color: #fff;
  margin: 0 0 12px;
  font-family: var(--apt-font-display);
}

.apt-footer a:hover {
  color: var(--apt-gold-bright);
}

.apt-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.apt-footer li {
  margin: 8px 0;
  font-size: 14px;
}

.apt-footer__legal {
  margin-top: 28px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  font-size: 12.5px;
  line-height: 1.55;
}

.apt-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  font-size: 12px;
}

.apt-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
}

.apt-float a {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--apt-wa);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.apt-float strong {
  display: block;
  font-size: 14px;
  line-height: 1.1;
}

.apt-float small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

.apt-float__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
}

@media (min-width: 700px) {
  .apt-packages,
  .apt-cards,
  .apt-split,
  .apt-figures,
  .apt-routes {
    grid-template-columns: repeat(2, 1fr);
  }

  .apt-quote form {
    grid-template-columns: 1fr 1fr;
  }

  .apt-quote form .apt-btn {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .apt-nav,
  .apt-phone {
    display: flex;
  }

  .apt-menu-btn {
    display: none;
  }

  .apt-mobile {
    display: none !important;
  }

  .apt-hero__grid {
    grid-template-columns: 1.35fr 0.75fr;
    align-items: start;
  }

  .apt-packages {
    grid-template-columns: repeat(2, 1fr);
    max-width: 920px;
    margin-inline: auto;
  }

  .apt-cards,
  .apt-routes {
    grid-template-columns: repeat(3, 1fr);
  }

  .apt-figures {
    grid-template-columns: repeat(3, 1fr);
  }

  .apt-story,
  .apt-footer__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .apt-footer__grid {
    grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  }

  .apt-quote form {
    grid-template-columns: 1.1fr 1fr 1.3fr auto;
    align-items: end;
  }

  .apt-quote form .apt-btn {
    grid-column: auto;
    width: auto;
    min-width: 180px;
  }

  .apt-section {
    padding: 96px 0;
  }

  .apt-cta {
    padding: 56px;
  }
}

@media (max-width: 699px) {
  .apt-hero h1 {
    max-width: none;
  }

  .apt-header .apt-btn span.hide-sm {
    display: none;
  }

  .apt-photo img {
    height: 280px;
  }

  .apt-facts {
    grid-template-columns: 1fr;
  }

  .apt-float a {
    padding: 8px;
  }

  .apt-float a > span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .apt-btn {
    transition: none;
  }
}

/* Evita el hueco crema que Divi deja debajo del footer */
html, body {
  margin: 0;
}

body.et_blank_page #page-container,
body.et_blank_page #main-content,
body.et_blank_page #main-content .container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.et_pb_section:has(.apt-page),
.et_pb_row:has(.apt-page),
.et_pb_column:has(.apt-page),
.et_pb_code:has(.apt-page),
.et_pb_fullwidth_code:has(.apt-page),
.et_pb_code_inner:has(.apt-page) {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}
