@charset "utf-8";

.inheritance-lead { max-width: 850px; margin: 0 auto 45px; text-align: center; font-size: 18px; line-height: 2; }
.inheritance-lead strong { display: block; margin-top: 8px; color: #006699; font-size: 21px; }
.inheritance-section { padding: 15px 0 45px; }
.inheritance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.inheritance-card { overflow: hidden; border: 1px solid #dbe5e9; background: #fff; box-shadow: 0 4px 16px rgba(0,51,102,.07); }
.inheritance-card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.inheritance-card-body { padding: 24px 26px 28px; text-align: left; }
.inheritance-card h3 { margin: 0 0 14px; padding-bottom: 11px; border-bottom: 2px solid #a5967a; color: #003366; font-size: 21px; line-height: 1.5; }
.inheritance-card p { margin: 0; line-height: 1.9; }
.flow-list { counter-reset: flow; max-width: 900px; margin: 0 auto; }
.flow-item { display: flex; gap: 25px; align-items: stretch; margin-bottom: 24px; background: #fff; border: 1px solid #dbe5e9; }
.flow-item img { width: 260px; min-height: 180px; object-fit: cover; }
.flow-copy { position: relative; flex: 1; padding: 25px 28px 25px 70px; text-align: left; }
.flow-copy:before { counter-increment: flow; content: counter(flow); position: absolute; left: 22px; top: 24px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: #006699; font-weight: bold; }
.flow-copy h3 { margin: 3px 0 12px; color: #003366; font-size: 21px; }
.flow-copy p { margin: 0; line-height: 1.9; }
.inheritance-cta { margin: 15px auto 45px; padding: 35px; text-align: center; background: #eef7fb; border-top: 3px solid #006699; }
.inheritance-cta p { font-size: 18px; line-height: 1.8; }
.inheritance-cta a { display: inline-block; margin-top: 8px; padding: 13px 35px; color: #fff; background: #006699; text-decoration: none; }
.inheritance-cta a:hover { background: #003f66; }

@media screen and (max-width: 768px) {
  .inheritance-lead { padding: 0 15px; text-align: left; font-size: 16px; }
  .inheritance-lead strong { font-size: 18px; }
  .inheritance-grid { display: block; }
  .inheritance-card { margin-bottom: 24px; }
  .inheritance-card img { height: 190px; }
  .inheritance-card-body { padding: 20px; }
  .flow-item { display: block; }
  .flow-item img { width: 100%; height: 180px; min-height: 0; }
  .flow-copy { padding: 20px 20px 24px 66px; }
  .inheritance-cta { margin-right: 12px; margin-left: 12px; padding: 25px 18px; }
}
