/* Shared tokens mirror the already-reviewed Aplicaciones administrativas page. */
:root {
  --ivc-pilot-green: #038146;
  --ivc-pilot-dark: #0b4b31;
  --ivc-pilot-lime: #83bd2d;
  --ivc-pilot-ink: #17231e;
  --ivc-pilot-muted: #5e6b65;
  --ivc-pilot-soft: #f2f7f4;
  --ivc-pilot-line: #d8e5dd;
}

body.page-id-271 #intro,
body.page-id-252 #intro,
body.page-id-29 #intro,
body.page-id-227 #intro,
body.page-id-265 #intro {
  display: none !important;
}

body.page-id-271 #content,
body.page-id-271 #content-core,
body.page-id-271 #main,
body.page-id-271 #main-core,
body.page-id-252 #content,
body.page-id-252 #content-core,
body.page-id-252 #main,
body.page-id-252 #main-core,
body.page-id-29 #content,
body.page-id-29 #content-core,
body.page-id-29 #main,
body.page-id-29 #main-core,
body.page-id-227 #content,
body.page-id-227 #content-core,
body.page-id-227 #main,
body.page-id-227 #main-core,
body.page-id-265 #content,
body.page-id-265 #content-core,
body.page-id-265 #main,
body.page-id-265 #main-core {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.ivc-pilot-status {
  box-sizing: border-box;
  width: 100%;
  padding: 11px 16px;
  background: #fff4d6;
  color: #594510;
  text-align: center;
  font: 800 13px/1.45 Inter, Arial, sans-serif;
  letter-spacing: .01em;
}

.ivc-pilot-hero {
  box-sizing: border-box;
  width: 100%;
  padding: 72px 0 68px;
  color: #fff;
  background: linear-gradient(110deg, rgba(7, 55, 35, .97), rgba(3, 129, 70, .91));
  font-family: Inter, Arial, sans-serif;
}

.ivc-pilot-wrap {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.ivc-pilot-hero,
.ivc-pilot-hero * {
  box-sizing: border-box;
  min-width: 0;
}

.ivc-pilot-kicker {
  display: inline-flex;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  color: #d7f1b1;
  font: 800 12px/1.35 Inter, Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ivc-pilot-title {
  display: block !important;
  width: auto !important;
  max-width: 900px;
  height: auto !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  color: #fff !important;
  font: 400 clamp(38px, 5.3vw, 62px)/1.06 Inter, Arial, sans-serif !important;
  letter-spacing: -.04em;
  text-align: left !important;
  text-transform: none;
  overflow-wrap: anywhere;
}

.ivc-pilot-content {
  box-sizing: border-box;
  width: min(1120px, calc(100% - 36px)) !important;
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 54px 0 72px !important;
  color: var(--ivc-pilot-ink) !important;
  background: transparent !important;
  font: 400 16px/1.62 Inter, Arial, sans-serif !important;
  float: none !important;
  overflow-wrap: anywhere;
}

.ivc-pilot-content,
.ivc-pilot-content * {
  box-sizing: border-box;
  min-width: 0;
}

.ivc-pilot-section {
  margin: 0 0 22px !important;
  padding: clamp(22px, 3.2vw, 36px) !important;
  border: 1px solid var(--ivc-pilot-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(21, 72, 48, .06);
}

.ivc-pilot-section:last-child {
  margin-bottom: 0 !important;
}

.ivc-pilot-content .ivc-pilot-category {
  max-width: 900px;
  margin: 0 0 22px !important;
  padding: 1px 0 1px 16px !important;
  border-left: 5px solid var(--ivc-pilot-lime);
  color: var(--ivc-pilot-dark) !important;
  font: 800 clamp(25px, 3.4vw, 34px)/1.16 Inter, Arial, sans-serif !important;
  letter-spacing: -.025em;
  text-align: left !important;
}

.ivc-pilot-content .ivc-pilot-subheading {
  max-width: 880px;
  margin: 20px 0 10px !important;
  padding-left: 12px;
  border-left: 3px solid #b6d58b;
  color: var(--ivc-pilot-dark) !important;
  font: 750 19px/1.35 Inter, Arial, sans-serif !important;
  text-align: left !important;
}

.ivc-pilot-content .ivc-pilot-label {
  margin: 22px 0 9px !important;
  color: var(--ivc-pilot-green) !important;
  font: 900 12px/1.4 Inter, Arial, sans-serif !important;
  letter-spacing: .09em;
  text-align: left !important;
  text-transform: uppercase;
}

.ivc-pilot-content .ivc-pilot-copy {
  max-width: 900px;
  margin: 0 0 18px !important;
  color: var(--ivc-pilot-muted) !important;
  font: 400 16px/1.7 Inter, Arial, sans-serif !important;
  text-align: left !important;
}

.ivc-pilot-content p:last-child,
.ivc-pilot-content h2:last-child,
.ivc-pilot-content h3:last-child {
  margin-bottom: 0 !important;
}

.ivc-pilot-content .wp-block-image,
.ivc-pilot-content figure.wp-block-gallery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  margin: 24px auto !important;
  padding: 14px;
  border: 1px solid var(--ivc-pilot-line);
  border-radius: 14px;
  background: #fbfdfb;
}

.ivc-pilot-content figure.wp-block-image {
  display: flex;
  justify-content: center;
  width: auto;
  max-width: 100%;
  margin: 0 auto !important;
  padding: 0;
  border: 0;
  background: transparent;
}

.ivc-pilot-content img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: contain;
}

.ivc-pilot-content a {
  color: var(--ivc-pilot-green);
  overflow-wrap: anywhere;
}

@media (max-width: 700px) {
  .ivc-pilot-hero {
    padding: 52px 0 48px;
  }

  .ivc-pilot-wrap,
  .ivc-pilot-content {
    width: calc(100% - 24px) !important;
  }

  .ivc-pilot-title {
    font-size: clamp(34px, 10vw, 46px) !important;
    line-height: 1.08 !important;
  }

  .ivc-pilot-content {
    padding: 30px 0 48px !important;
    font-size: 15px !important;
  }

  .ivc-pilot-section {
    margin-bottom: 16px !important;
    padding: 21px !important;
    border-radius: 14px;
  }

  .ivc-pilot-content .ivc-pilot-category {
    font-size: 25px !important;
  }

  .ivc-pilot-content .ivc-pilot-subheading {
    font-size: 17px !important;
  }
}

.ivc-pilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ivc-pilot-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 800 14px/1.25 Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}

.ivc-pilot-cta.is-primary {
  background: #b4df70;
  color: #123d29 !important;
}

.ivc-pilot-cta.is-secondary {
  border-color: rgba(255, 255, 255, .78);
  background: transparent;
  color: #fff !important;
}

.ivc-pilot-cta:hover,
.ivc-pilot-cta:focus-visible {
  background: #fff;
  color: #0b4b31 !important;
  outline: 3px solid rgba(255, 255, 255, .5);
  outline-offset: 3px;
}

.ivc-pilot-content .ivc-pilot-contact-link {
  margin: 0 0 12px !important;
  color: var(--ivc-pilot-ink) !important;
  font: 600 16px/1.55 Inter, Arial, sans-serif !important;
  text-align: left !important;
}

body.page-id-227 .ivc-pilot-content .ivc-pilot-category,
body.page-id-265 .ivc-pilot-content .ivc-pilot-category,
body.page-id-227 .ivc-pilot-content .ivc-pilot-subheading,
body.page-id-265 .ivc-pilot-content .ivc-pilot-subheading,
body.page-id-227 .ivc-pilot-content .ivc-pilot-category *,
body.page-id-265 .ivc-pilot-content .ivc-pilot-category *,
body.page-id-227 .ivc-pilot-content .ivc-pilot-subheading *,
body.page-id-265 .ivc-pilot-content .ivc-pilot-subheading * {
  text-transform: none !important;
}

body.page-id-265 .ivc-pilot-content .pagelayer-image_map {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 820px !important;
  margin: 22px auto !important;
  overflow: hidden;
  border: 1px solid var(--ivc-pilot-line);
  border-radius: 14px;
  background: #fbfdfb;
}

body.page-id-265 .ivc-pilot-content .pagelayer-image_map img {
  max-width: 100% !important;
  height: auto !important;
}

@media (max-width: 700px) {
  .ivc-pilot-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .ivc-pilot-cta {
    width: 100%;
  }

  body.page-id-265 .ivc-pilot-content .pagelayer-image_map {
    margin: 16px auto !important;
  }
}
