/* Build 45 — City Partners public opportunity page */
.city-partner-depth {
  display: grid;
  gap: 24px;
  margin: 26px 0 30px;
}

.city-partner-depth .cp-intro,
.city-partner-depth .cp-role,
.city-partner-depth .cp-section,
.city-partner-depth .cp-compare,
.city-partner-depth .cp-faq,
.city-partner-depth .cp-final-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.city-partner-depth .cp-intro {
  overflow: hidden;
}

.city-partner-depth .cp-intro-main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  background:
    radial-gradient(circle at 92% 8%, rgba(226,57,67,.14), transparent 32%),
    linear-gradient(135deg, #fff 0%, var(--blush) 100%);
}

.city-partner-depth .cp-kicker,
.city-partner-depth .cp-role-kicker {
  margin: 0 0 8px;
  color: var(--coral-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.city-partner-depth h2,
.city-partner-depth h3,
.city-partner-depth h4,
.city-partner-depth p {
  margin-top: 0;
}

.city-partner-depth .cp-intro h2 {
  max-width: 760px;
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.city-partner-depth .cp-intro-copy {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.city-partner-depth .cp-intro-badge {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(226,57,67,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
}

.city-partner-depth .cp-intro-badge strong {
  font-size: 18px;
  line-height: 1.2;
}

.city-partner-depth .cp-intro-badge span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.city-partner-depth .cp-quick-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-top: 1px solid var(--line);
}

.city-partner-depth .cp-quick-nav button {
  min-height: 58px;
  padding: 14px 18px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  transition: background .18s ease, color .18s ease;
}

.city-partner-depth .cp-quick-nav button:last-child { border-right: 0; }
.city-partner-depth .cp-quick-nav button:hover { background: var(--coral-soft); color: var(--coral-dark); }

.city-partner-depth .cp-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 20px;
}

.city-partner-depth .cp-role {
  position: relative;
  overflow: hidden;
  padding: 28px;
}

.city-partner-depth .cp-role::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--coral);
}

.city-partner-depth .cp-role-director::before { background: var(--blue); }

.city-partner-depth .cp-role-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.city-partner-depth .cp-role h3 {
  margin-bottom: 7px;
  font-size: 26px;
  letter-spacing: -.025em;
}

.city-partner-depth .cp-role-summary {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.city-partner-depth .cp-rate {
  flex: 0 0 auto;
  min-width: 98px;
  padding: 12px;
  border-radius: 14px;
  background: var(--coral-soft);
  text-align: center;
}

.city-partner-depth .cp-role-director .cp-rate { background: var(--blue-soft); }

.city-partner-depth .cp-rate strong {
  display: block;
  color: var(--coral-dark);
  font-size: 26px;
  line-height: 1;
}

.city-partner-depth .cp-role-director .cp-rate strong { color: var(--blue); }

.city-partner-depth .cp-rate span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.city-partner-depth .cp-role-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.city-partner-depth .cp-fact {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--blush);
}

.city-partner-depth .cp-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.city-partner-depth .cp-fact strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.city-partner-depth .cp-role-block {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.city-partner-depth .cp-role-block + .cp-role-block { margin-top: 18px; }

.city-partner-depth .cp-role-block h4 {
  margin-bottom: 11px;
  font-size: 15px;
}

.city-partner-depth .cp-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.city-partner-depth .cp-list li {
  position: relative;
  padding-left: 25px;
  color: #424550;
  font-size: 14px;
  line-height: 1.55;
}

.city-partner-depth .cp-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 950;
}

.city-partner-depth .cp-role-action {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.city-partner-depth .cp-role-action .btn { flex: 1 1 auto; }

.city-partner-depth .cp-section,
.city-partner-depth .cp-compare,
.city-partner-depth .cp-faq {
  padding: 28px;
}

.city-partner-depth .cp-section-head {
  max-width: 780px;
  margin-bottom: 22px;
}

.city-partner-depth .cp-section-head h3 {
  margin-bottom: 8px;
  font-size: 25px;
  letter-spacing: -.02em;
}

.city-partner-depth .cp-section-head p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.city-partner-depth .cp-day-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

.city-partner-depth .cp-day-card {
  min-height: 168px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--blush);
}

.city-partner-depth .cp-day-card span {
  display: inline-grid;
  place-items: center;
  width: 31px;
  height: 31px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.city-partner-depth .cp-day-card h4 { margin-bottom: 7px; font-size: 15px; }
.city-partner-depth .cp-day-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.city-partner-depth .cp-tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.city-partner-depth .cp-tool {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.city-partner-depth .cp-tool strong { display: block; margin-bottom: 5px; font-size: 14px; }
.city-partner-depth .cp-tool span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.city-partner-depth .cp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
}

.city-partner-depth .cp-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
}

.city-partner-depth .cp-table th,
.city-partner-depth .cp-table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
  line-height: 1.45;
}

.city-partner-depth .cp-table tr:last-child td { border-bottom: 0; }
.city-partner-depth .cp-table th { background: var(--blush); color: var(--ink); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.city-partner-depth .cp-table td:first-child { width: 26%; font-weight: 850; color: var(--ink); }
.city-partner-depth .cp-table td { color: #4e515c; }

.city-partner-depth .cp-success-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}

.city-partner-depth .cp-success-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--blush);
}

.city-partner-depth .cp-success-card strong { display: block; margin-bottom: 7px; font-size: 14px; }
.city-partner-depth .cp-success-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }

.city-partner-depth .cp-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 10px;
}

.city-partner-depth .cp-step {
  position: relative;
  padding: 18px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.city-partner-depth .cp-step b {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}

.city-partner-depth .cp-step strong { display: block; margin-bottom: 5px; font-size: 13px; }
.city-partner-depth .cp-step span { color: var(--muted); font-size: 12px; line-height: 1.45; }

.city-partner-depth .cp-faq-list { display: grid; gap: 10px; }

.city-partner-depth .cp-faq details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}

.city-partner-depth .cp-faq summary {
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 850;
  list-style: none;
}

.city-partner-depth .cp-faq summary::-webkit-details-marker { display: none; }
.city-partner-depth .cp-faq details[open] summary { background: var(--blush); }
.city-partner-depth .cp-faq details p { padding: 0 18px 17px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }

.city-partner-depth .cp-final-cta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--coral-dark), var(--coral));
  border-color: transparent;
}

.city-partner-depth .cp-final-cta h3 { margin-bottom: 6px; font-size: 24px; }
.city-partner-depth .cp-final-cta p { margin-bottom: 0; color: rgba(255,255,255,.82); line-height: 1.55; }
.city-partner-depth .cp-final-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.city-partner-depth .cp-final-cta .cp-light-btn { border-color: #fff; background: #fff; color: var(--coral-dark); }
.city-partner-depth .cp-final-cta .cp-outline-btn { border-color: rgba(255,255,255,.65); background: transparent; color: #fff; }
.city-partner-depth .cp-final-cta .cp-outline-btn:hover { background: rgba(255,255,255,.12); }

.city-partner-depth .cp-disclosure {
  padding: 16px 18px;
  border: 1px solid #f0d69c;
  border-radius: 13px;
  background: var(--gold-soft);
  color: #6c5425;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .city-partner-depth .cp-intro-main,
  .city-partner-depth .cp-role-grid,
  .city-partner-depth .cp-final-cta { grid-template-columns: 1fr; }
  .city-partner-depth .cp-day-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .city-partner-depth .cp-tool-grid,
  .city-partner-depth .cp-success-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .city-partner-depth .cp-process { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .city-partner-depth .cp-final-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .city-partner-depth { gap: 16px; margin-top: 18px; }
  .city-partner-depth .cp-intro-main,
  .city-partner-depth .cp-role,
  .city-partner-depth .cp-section,
  .city-partner-depth .cp-compare,
  .city-partner-depth .cp-faq,
  .city-partner-depth .cp-final-cta { padding: 20px; }
  .city-partner-depth .cp-intro-main { gap: 20px; }
  .city-partner-depth .cp-intro h2 { font-size: 31px; }
  .city-partner-depth .cp-quick-nav { grid-template-columns: 1fr; }
  .city-partner-depth .cp-quick-nav button { border-right: 0; border-bottom: 1px solid var(--line); }
  .city-partner-depth .cp-quick-nav button:last-child { border-bottom: 0; }
  .city-partner-depth .cp-role-top { display: grid; }
  .city-partner-depth .cp-rate { width: 100%; }
  .city-partner-depth .cp-role-facts,
  .city-partner-depth .cp-day-grid,
  .city-partner-depth .cp-tool-grid,
  .city-partner-depth .cp-success-grid,
  .city-partner-depth .cp-process { grid-template-columns: 1fr; }
  .city-partner-depth .cp-role-action,
  .city-partner-depth .cp-final-actions { display: grid; grid-template-columns: 1fr; }
  .city-partner-depth .cp-role-action .btn,
  .city-partner-depth .cp-final-actions .btn { width: 100%; }
}
