.cer-radar-mark {
  background: #fff !important;
  border: 1px solid rgba(15, 23, 42, .1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.25rem;
  line-height: 1;
}

body.home .cer-grid .cer-card:nth-child(n + 6) {
  display: none;
}

.cer-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin: 2rem 0 .5rem;
}

.cer-pagination a {
  align-items: center;
  background: #0b2442;
  border: 1px solid rgba(148, 163, 184, .32);
  border-radius: 999px;
  color: #f8fafc;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: .65rem .9rem;
  text-decoration: none;
}

.cer-pagination a:hover,
.cer-pagination a:focus-visible {
  border-color: #5eead4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, .18);
}

.cer-pagination a.is-current {
  background: #5eead4;
  border-color: #5eead4;
  color: #062034;
}

.cer-page-dots {
  color: #94a3b8;
  padding: 0 .15rem;
}

.cer-pagination-summary {
  color: #94a3b8;
  flex-basis: 100%;
  font-size: .9rem;
  margin: .15rem 0 0;
  text-align: center;
}

.cer-nearby-map-section {
  margin: 2rem 0;
}

.cer-nearby-map-head {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: .85rem;
}

.cer-nearby-map-head h2,
.cer-nearby-map-head p {
  margin-bottom: .25rem;
}

.cer-map-legend {
  display: flex;
  flex-wrap: wrap;
  font-size: .78rem;
  font-weight: 800;
  gap: .65rem;
}

.cer-map-legend span::before {
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: .75rem;
  margin-right: .35rem;
  vertical-align: -.08rem;
  width: .75rem;
}

.cer-legend-red::before { background: #ef4444; }
.cer-legend-blue::before { background: #3b82f6; }
.cer-legend-green::before { background: #22c55e; }

.cer-nearby-map {
  background: #dbeafe;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 20px;
  box-shadow: 0 18px 45px rgba(2, 6, 23, .22);
  height: min(62vh, 520px);
  min-height: 390px;
  overflow: hidden;
  width: 100%;
  z-index: 1;
}

.cer-map-popup {
  color: #0f172a;
  display: grid;
  gap: .25rem;
  line-height: 1.35;
  min-width: 170px;
}

.cer-map-popup strong { font-size: .95rem; }
.cer-map-popup span { color: #475569; }
.cer-map-popup a { font-weight: 800; margin-top: .2rem; }
.cer-map-note { color: #94a3b8; }

.cer-nearby-list-wrap {
  margin-top: 1.25rem;
}

.cer-nearby-list-wrap h3 {
  font-size: 1.15rem;
  margin: 0 0 .75rem;
}

.cer-nearby-list {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cer-nearby-listing {
  align-items: center;
  background: rgba(15, 35, 62, .78);
  border: 1px solid rgba(148, 163, 184, .25);
  border-radius: 15px;
  color: #f8fafc;
  display: grid;
  gap: .7rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 86px;
  padding: .85rem;
  text-decoration: none;
}

.cer-nearby-listing:hover,
.cer-nearby-listing:focus-visible {
  border-color: #5eead4;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, .14);
  transform: translateY(-1px);
}

.cer-nearby-listing-copy {
  display: grid;
  gap: .18rem;
  min-width: 0;
}

.cer-nearby-listing-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cer-nearby-listing-copy span {
  color: #b9c7d8;
  font-size: .83rem;
}

.cer-nearby-listing-dot {
  border: 2px solid #fff;
  border-radius: 50%;
  height: .9rem;
  width: .9rem;
}

.cer-dot-red { background: #ef4444; }
.cer-dot-blue { background: #3b82f6; }
.cer-dot-green { background: #22c55e; }
.cer-nearby-listing-arrow { color: #5eead4; font-size: 1.2rem; font-weight: 900; }
.cer-nearby-more { color: #94a3b8; font-size: .88rem; margin: .7rem 0 0; }

.cer-affiliate-note {
  background: #fff;
  border: 2px solid #f59e0b;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .14);
  color: #243244;
  font-size: .94rem;
  line-height: 1.5;
  margin: 0 0 .85rem;
  padding: .9rem 1rem;
}

.cer-affiliate-note strong {
  color: #92400e;
  display: block;
  font-size: 1rem;
  margin-bottom: .18rem;
}

@media (max-width: 560px) {
  .cer-page-direction { flex: 1 1 42%; }
  .cer-pagination { gap: .4rem; }
  .cer-pagination a { padding: .6rem .75rem; }
  .cer-nearby-map { height: 430px; min-height: 360px; }
  .cer-map-legend { line-height: 1.6; }
  .cer-nearby-list { grid-template-columns: 1fr; }
}
