.plot-plan-card {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fffefa;
  box-shadow: 0 4px 20px #43513d08;
}

.plot-plan-card .section-heading {
  align-items: end;
  gap: 16px;
}

.plot-plan-card .section-heading p:last-child {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 0;
}

.plot-plan-open {
  flex: none;
  text-decoration: none;
  font-size: 12px;
  padding: 10px 14px;
}

.plot-plan-open[hidden], .plot-plan-frame iframe[hidden] { display: none; }

.plot-plan-frame {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f2f3ef;
  overflow: hidden;
}

.plot-plan-frame p {
  padding: 28px;
  color: var(--muted);
  font-size: 13px;
}

.plot-plan-frame p[hidden] { display: none; }

.plot-plan-frame iframe {
  display: block;
  width: 100%;
  height: min(76vh, 850px);
  min-height: 420px;
  border: 0;
}

@media (max-width: 600px) {
  .plot-plan-card .section-heading { align-items: start; flex-direction: column; }
  .plot-plan-frame, .plot-plan-frame iframe { min-height: 350px; }
}
