.pg-memorial { position: relative; background: #f3f4f2; border: 1px solid #d4dcd9; border-radius: 12px; padding: 30px; color: #374d50; }
.pg-memorial-heading h2 { font-size: 3rem; margin: 12px 0; font-weight: 500; }
.pg-memorial-heading > p { font-size: .85rem; }
.pg-lost-key, .pg-saved-key { display: inline-block; margin-left: 15px; color: #4e686a; }
.pg-memorial-blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: start; margin: 30px 0; }
.pg-memorial-block { min-width: 0; }
.pg-block-button { display: block; min-height: 60px; width: 100%; border: 0; border-bottom: 1px solid #c7d1ce; background: transparent; text-align: left; color: #304c50; cursor: pointer; padding: 10px 0; margin-bottom: 14px; }
.pg-block-button strong { display: block; font-size: 1rem; margin-bottom: 7px; }
.pg-block-button span { display: block; font-size: .7rem; }
.pg-block-button:hover { background: #e4ebe7; }
.pg-people-marks { display: block; width: 100%; overflow: visible; }
.pg-people-marks circle { r: 2.4px; fill: #557273; stroke: #557273; stroke-width: .7; cursor: pointer; }
.pg-people-marks circle.pg-saved { fill: #f3f4f2; }
@media (hover: hover) and (pointer: fine) {
    .pg-people-marks circle:hover { stroke-width: 2; stroke: #243f43; }
}
.pg-memorial-caption { font-size: .8rem; color: #536b6e; }
.pg-roll { padding: 44px 0; scroll-margin-top: 80px; }
.pg-roll-controls { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 12px; padding: 20px; background: #eef3f5; border-radius: 8px; }
.pg-roll-controls label { font-size: .72rem; display: grid; align-content: start; gap: 8px; }
.pg-roll-controls input, .pg-roll-controls select { width: 100%; min-width: 0; border: 1px solid #9fb2bf; border-radius: 4px; padding: 10px 7px; background: #fff; font: inherit; font-size: 1rem; color: #2f495a; }
.pg-roll-controls p { grid-column: 1 / -1; font-size: .8rem; margin: 0; }
.pg-roll ol { padding: 0; list-style: none; margin: 20px 0; }
.pg-roll li { border-bottom: 1px solid #e0e7e8; padding: 14px 0; font-size: .85rem; line-height: 1.7; }
.pg-roll a { color: #355d68; text-decoration-color: #b9cacd; text-underline-offset: 4px; }
.pg-titanic-context { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; border-top: 1px solid var(--line); padding: 40px 0; }
.pg-titanic-context figure { min-width: 0; margin: 0; }
.pg-titanic-context h2 { font-size: 1.6rem; }
.pg-titanic-context figcaption { font-size: .78rem; color: #586f77; line-height: 1.65; margin: 18px 0 10px; }
.pg-boarding-route ol { list-style: none; margin: 25px 0; padding: 0 0 0 20px; border-left: 2px solid #b6c7c6; }
.pg-boarding-route li { position: relative; padding: 12px 0 20px; }
.pg-boarding-route li::before { content: ''; position: absolute; left: -26px; top: 18px; width: 10px; height: 10px; background: #6e8988; border-radius: 50%; }
.pg-boarding-route span, .pg-boarding-route small { display: block; font-size: .78rem; margin-top: 6px; }
.pg-age-row { margin: 25px 0; font-size: .8rem; }
.pg-outcome-bar { height: 23px; display: flex; margin: 12px 0 8px; }
.pg-outcome-bar span { background: #557273; }
.pg-outcome-bar i { border: 1px solid #557273; background: #f3f4f2; }
.pg-boat-dots { display: grid; gap: 5px; }
.pg-boat-dots > div { display: grid; grid-template-columns: 88px 1fr 30px; align-items: center; gap: 12px; font-size: .72rem; min-height: 20px; }
.pg-boat-dots i { position: relative; display: block; width: var(--amount); border-top: 1px solid #91aaa9; }
.pg-boat-dots i::after { content: ''; position: absolute; right: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: #557273; }
.pg-fare-cards { display: grid; gap: 12px; }
.pg-fare-cards > div { border-bottom: 1px solid #dce4e4; padding: 12px 0; }
.pg-fare-cards h3 { margin: 0 0 10px; }
.pg-fare-cards strong { font-size: 1.8rem; color: #436366; }
.pg-fare-cards p, .pg-fare-cards small { font-size: .78rem; margin: 6px 0; }
.pg-remembrance { font-family: Georgia, serif; font-size: 1.35rem; color: #496366; padding: 35px 0; }
@media (max-width: 767px) {
    .pg-memorial { padding: 22px 15px; }
    .pg-memorial-blocks { grid-template-columns: 1fr; gap: 24px; }
    .pg-memorial-block { max-width: 100%; }
    .pg-people-marks { pointer-events: none; }
    .pg-roll-controls { grid-template-columns: 1fr 1fr; padding: 14px; }
    .pg-roll-controls label:first-child { grid-column: 1 / -1; }
    .pg-titanic-context { grid-template-columns: 1fr; gap: 40px; }
}
@media (pointer: coarse) {
    .pg-memorial-block { cursor: pointer; }
}
