.plan-examples {
  --plan-ink: #1f3d31;
  --plan-accent: #315d48;
  color: var(--plan-ink);
  padding-block: clamp(32px, 5vw, 70px);
  scroll-margin-top: 84px;
}

.plan-examples-head {
  margin-bottom: 18px;
}

.plan-examples-head h2 {
  margin: 0;
  color: var(--plan-ink);
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -.045em;
  font-weight: 750;
  word-break: keep-all;
}

.plan-examples-head p {
  margin: 9px 0 0;
  color: #526559;
  line-height: 1.55;
  font-size: 16px;
}

.plan-examples-field {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0;
}

.plan-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, max-content)) 1fr;
  position: relative;
}

.plan-examples-choice,
.plan-examples-sr {
  position: absolute;
  height: 1px;
  width: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.plan-examples-label {
  grid-row: 1;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding-inline: clamp(12px, 2.2vw, 29px);
  border-bottom: 2px solid #cdd7ce;
  font-weight: 600;
  font-size: 16px;
  color: #536359;
  line-height: 1.35;
  white-space: nowrap;
  cursor: pointer;
}

.plan-examples-label:hover { color: var(--plan-ink); }
.plan-examples-choice:checked + .plan-examples-label {
  color: var(--plan-ink);
  border-bottom: 3px solid var(--plan-accent);
}

.plan-examples-choice:focus-visible + .plan-examples-label,
.plan-examples-link:focus-visible,
.plan-examples-photo a:focus-visible {
  outline: 3px solid #ad651f;
  outline-offset: 2px;
}

.plan-examples-panel {
  grid-column: 1 / -1;
  grid-row: 2;
  display: none;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  margin-top: 19px;
  overflow: hidden;
  background: #f1f3eb;
  border-radius: 14px;
}

.plan-examples-choice:checked + .plan-examples-label + .plan-examples-panel {
  display: grid;
}

.plan-examples-photo {
  position: relative;
  display: grid;
  margin: 0;
  min-width: 0;
  min-height: 240px;
  background: #9baea2;
  overflow: hidden;
}

.plan-examples-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plan-examples-photo figcaption {
  position: relative;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 35px 18px 10px;
  background: linear-gradient(0deg, #102319d9, transparent);
  color: white;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.5;
}

.plan-examples-photo a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.plan-examples-copy {
  align-self: center;
  padding: clamp(25px, 3.6vw, 48px);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.plan-examples-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px 10px;
  margin: 0 0 15px;
  color: var(--plan-accent);
  font-size: 14px;
  line-height: 1.55;
}

.plan-examples-meta span { display: inline-flex; align-items: center; gap: 10px; }
.plan-examples-meta span::before { content: ''; width: 3px; height: 3px; border-radius: 50%; background: #768d78; }

.plan-examples-copy h3 {
  font-size: clamp(22px, 2.55vw, 34px);
  font-weight: 720;
  line-height: 1.38;
  letter-spacing: -.04em;
  margin: 0;
  color: var(--plan-ink);
}

.plan-examples-advice {
  color: #415347;
  font-size: 16px;
  line-height: 1.75;
  margin: 14px 0 22px;
}

.plan-examples-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  background: #2e5943;
  border-radius: 8px;
  padding: 8px 17px;
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 650;
  text-decoration: none;
}

.plan-examples-link:hover { background: #1c4430; color: #fff; }

@media (max-width: 720px) {
  .plan-examples-head { margin-bottom: 12px; }
  .plan-examples-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan-examples-panel { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
  .plan-examples-photo { aspect-ratio: 2.35; min-height: 0; }
  .plan-examples-photo figcaption { padding: 23px 14px 3px; }
  .plan-examples-copy { padding: 22px 19px 23px; }
  .plan-examples-meta { margin-bottom: 10px; }
  .plan-examples-advice { margin-block: 10px 17px; }
}

@media (forced-colors: active) {
  .plan-examples-choice:checked + .plan-examples-label { border-bottom: 4px solid Highlight; }
  .plan-examples-link { border: 1px solid ButtonText; }
}
