.cpm-election-home {
  position: relative;
  z-index: 2;
  background: var(--cpm-yellow);
  color: #20132f;
}

.cpm-election-home__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 136px;
  padding-block: 24px;
  color: inherit;
  text-decoration: none;
}

.cpm-election-home__mark {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 2px solid #20132f;
  border-radius: 50%;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.cpm-election-home__copy {
  display: grid;
  gap: 4px;
}

.cpm-election-home__eyebrow {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.cpm-election-home__copy strong {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.cpm-election-home__copy > span:last-child {
  font-size: 17px;
}

.cpm-election-home__cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid #20132f;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cpm-election-home__inner:hover .cpm-election-home__cta,
.cpm-election-home__inner:focus-visible .cpm-election-home__cta {
  background: #20132f;
  color: #fff;
  transform: translateX(3px);
}

.cpm-election-home__inner:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.cpm-election-hub {
  background: #f7f5f1;
  color: #201a25;
}

.cpm-election-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--cpm-purple);
  color: #fff;
}

.cpm-election-hero__media,
.cpm-election-hero__veil {
  position: absolute;
  inset: 0;
}

.cpm-election-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .32;
  filter: saturate(.7) contrast(1.06);
}

.cpm-election-hero__veil {
  background: linear-gradient(90deg, rgba(40, 16, 68, .98) 0%, rgba(66, 30, 109, .91) 50%, rgba(66, 30, 109, .55) 100%);
}

.cpm-election-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 72px;
  align-items: center;
  min-height: 620px;
  padding-block: 72px;
}

.cpm-election-hero__copy {
  max-width: 780px;
}

.cpm-election-kicker {
  margin: 0 0 14px;
  color: var(--cpm-yellow);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.cpm-election-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 7vw, 88px);
  line-height: .97;
  letter-spacing: -.045em;
}

.cpm-election-hero__copy > p:not(.cpm-election-kicker) {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .84);
  font-size: 20px;
  line-height: 1.6;
}

.cpm-election-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cpm-election-date {
  display: grid;
  min-height: 300px;
  place-content: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 16px;
  background: rgba(30, 11, 51, .48);
  box-shadow: 0 24px 60px rgba(21, 7, 37, .26);
  text-align: center;
  backdrop-filter: blur(9px);
}

.cpm-election-date span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cpm-election-date strong {
  color: var(--cpm-yellow);
  font-size: 106px;
  line-height: .95;
}

.cpm-election-date em {
  width: fit-content;
  margin: 24px auto 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cpm-yellow);
  color: #20132f;
  font-style: normal;
  font-weight: 800;
}

.cpm-election-facts {
  border-bottom: 1px solid #ddd6e5;
  background: #fff;
}

.cpm-election-facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cpm-election-facts__grid > div {
  display: grid;
  gap: 4px;
  padding: 30px 26px;
  border-right: 1px solid #e5e0e8;
}

.cpm-election-facts__grid > div:first-child {
  border-left: 1px solid #e5e0e8;
}

.cpm-election-facts strong {
  color: var(--cpm-purple);
  font-size: 32px;
  line-height: 1;
}

.cpm-election-facts span {
  color: #635c68;
  font-size: 15px;
}

.cpm-election-section {
  padding: 88px 0;
}

.cpm-election-section--padrones {
  background: #fff;
}

.cpm-election-section__head {
  display: flex;
  gap: 42px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.cpm-election-section__head > div {
  max-width: 780px;
}

.cpm-election-section__head h2,
.cpm-election-contact h2 {
  margin: 0;
  color: #231a2b;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.cpm-election-section__head p:not(.cpm-election-kicker) {
  margin: 18px 0 0;
  color: #625a67;
  font-size: 18px;
  line-height: 1.65;
}

.cpm-election-text-link {
  color: var(--cpm-purple);
  font-weight: 800;
  text-decoration: none;
}

.cpm-election-text-link:hover,
.cpm-election-text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.cpm-election-padrones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #dcd7e0;
}

.cpm-election-padrones > a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 210px;
  padding: 28px;
  border-right: 1px solid #dcd7e0;
  border-bottom: 1px solid #dcd7e0;
  color: #241b2c;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

.cpm-election-padrones > a:first-child {
  border-left: 1px solid #dcd7e0;
}

.cpm-election-padrones > a:hover,
.cpm-election-padrones > a:focus-visible {
  background: #f2edf7;
  color: var(--cpm-purple);
  outline: 0;
}

.cpm-election-padrones__icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 8px;
  background: var(--cpm-purple);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.cpm-election-padrones > a > span:nth-child(2) {
  display: grid;
  gap: 8px;
}

.cpm-election-padrones strong {
  font-size: 21px;
  line-height: 1.25;
}

.cpm-election-padrones small {
  color: #6c6470;
  font-size: 15px;
  line-height: 1.5;
}

.cpm-election-padrones em {
  grid-column: 2;
  align-self: end;
  color: var(--cpm-purple);
  font-style: normal;
  font-weight: 800;
}

.cpm-election-news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cpm-election-news-card {
  display: grid;
  grid-template-columns: minmax(180px, .75fr) minmax(0, 1.25fr);
  min-height: 320px;
  overflow: hidden;
  border: 1px solid #ded7e2;
  border-radius: 12px;
  background: #fff;
}

.cpm-election-news-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(420px, 1.2fr) minmax(0, .8fr);
  max-width: 960px;
}

.cpm-election-news-card__media {
  min-height: 100%;
  background: #0875b9;
}

.cpm-election-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cpm-election-news-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px;
}

.cpm-election-news-card time {
  color: var(--cpm-purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cpm-election-news-card h3 {
  margin: 12px 0;
  font-size: 27px;
  line-height: 1.16;
}

.cpm-election-news-card h3 a {
  color: inherit;
  text-decoration: none;
}

.cpm-election-news-card h3 a:hover,
.cpm-election-news-card h3 a:focus-visible {
  color: var(--cpm-purple);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cpm-election-news-card p {
  margin: 0 0 24px;
  color: #625a67;
  line-height: 1.6;
}

.cpm-election-news-card .cpm-election-text-link {
  margin-top: auto;
}

.cpm-election-contact {
  padding: 68px 0;
  background: var(--cpm-purple);
  color: #fff;
}

.cpm-election-contact__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(2, minmax(240px, .9fr));
  gap: 20px;
  align-items: stretch;
}

.cpm-election-contact h2 {
  color: #fff;
}

.cpm-election-contact__grid > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 136px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
}

.cpm-election-contact__grid > a:hover,
.cpm-election-contact__grid > a:focus-visible {
  border-color: var(--cpm-yellow);
  background: rgba(255, 255, 255, .08);
  outline: 0;
}

.cpm-election-contact__grid > a span {
  color: var(--cpm-yellow);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.cpm-election-contact__grid > a strong {
  margin-top: 8px;
  overflow-wrap: anywhere;
  font-size: 15px;
  letter-spacing: -.01em;
}

.cpm-election-post {
  display: grid;
  gap: 8px;
}

.cpm-election-post h2 {
  margin-top: 38px;
}

.cpm-election-post__lead {
  padding: 24px;
  border-left: 5px solid var(--cpm-yellow);
  background: #f6f2f9;
  color: #2a2032;
  font-size: 19px;
  line-height: 1.65;
}

.cpm-election-post__notice {
  padding: 20px 22px;
  border: 1px solid #dccb72;
  border-radius: 8px;
  background: #fff9d9;
}

.cpm-election-post__venues {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.cpm-election-post__venues li {
  padding: 18px 20px;
  border-left: 4px solid var(--cpm-purple);
  background: #f7f5f8;
}

.cpm-election-post__venues strong {
  display: block;
  margin-bottom: 4px;
  color: var(--cpm-purple);
}

.cpm-election-post__padrones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.cpm-election-post__padrones a {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 8px;
  background: var(--cpm-purple);
  color: #fff;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.cpm-election-post__padrones a:hover,
.cpm-election-post__padrones a:focus-visible {
  background: #2d104e;
  color: #fff;
}

.cpm-election-post__contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.cpm-election-post__contacts a {
  display: grid;
  gap: 5px;
  padding: 20px;
  border: 1px solid #ddd6e2;
  border-radius: 8px;
  color: var(--cpm-purple);
  text-decoration: none;
}

.cpm-election-post__contacts span {
  color: #68606c;
  font-size: 14px;
}

.cpm-election-post__contacts strong {
  overflow-wrap: anywhere;
  font-size: 15px;
  letter-spacing: -.01em;
}

@media (max-width: 960px) {
  .cpm-election-home__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .cpm-election-home__cta {
    grid-column: 2;
    width: fit-content;
  }

  .cpm-election-hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cpm-election-date {
    grid-template-columns: auto auto auto;
    gap: 12px;
    min-height: auto;
    align-items: baseline;
    justify-content: start;
    text-align: left;
  }

  .cpm-election-date strong {
    font-size: 64px;
  }

  .cpm-election-date em {
    grid-column: 1 / -1;
    margin: 0;
  }

  .cpm-election-facts__grid,
  .cpm-election-padrones,
  .cpm-election-contact__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cpm-election-news-grid {
    grid-template-columns: 1fr;
  }

  .cpm-election-contact__grid > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .cpm-election-home__inner {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    padding-block: 20px;
  }

  .cpm-election-home__mark {
    width: 54px;
    height: 54px;
    font-size: 24px;
  }

  .cpm-election-home__copy strong {
    font-size: 24px;
  }

  .cpm-election-home__copy > span:last-child {
    font-size: 15px;
  }

  .cpm-election-home__cta {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: space-between;
  }

  .cpm-election-hero,
  .cpm-election-hero__inner {
    min-height: auto;
  }

  .cpm-election-hero__inner {
    padding-block: 56px;
  }

  .cpm-election-hero h1 {
    font-size: clamp(44px, 14vw, 62px);
  }

  .cpm-election-hero__copy > p:not(.cpm-election-kicker) {
    font-size: 17px;
  }

  .cpm-election-date {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .cpm-election-date em {
    grid-column: auto;
    margin-top: 14px;
  }

  .cpm-election-facts__grid,
  .cpm-election-padrones,
  .cpm-election-contact__grid,
  .cpm-election-post__padrones,
  .cpm-election-post__contacts {
    grid-template-columns: 1fr;
  }

  .cpm-election-facts__grid > div,
  .cpm-election-facts__grid > div:first-child {
    border-right: 1px solid #e5e0e8;
    border-bottom: 1px solid #e5e0e8;
    border-left: 1px solid #e5e0e8;
  }

  .cpm-election-facts__grid > div + div {
    border-top: 0;
  }

  .cpm-election-section {
    padding: 62px 0;
  }

  .cpm-election-section__head {
    display: grid;
    align-items: start;
  }

  .cpm-election-padrones > a,
  .cpm-election-padrones > a:first-child {
    min-height: 170px;
    border-left: 1px solid #dcd7e0;
  }

  .cpm-election-news-card {
    grid-template-columns: 1fr;
  }

  .cpm-election-news-card--featured {
    grid-template-columns: 1fr;
  }

  .cpm-election-news-card__media {
    min-height: 210px;
  }
}
