/* Real photographs, additive memory layer. */
.pg3-memory{box-sizing:border-box;position:relative;min-width:0;max-width:100%;margin:24px 0;padding:10px 10px 16px;background:#fffdf7;border:1px solid #d6bda7;border-radius:3px;box-shadow:0 10px 25px #61344918;break-inside:avoid;}
.pg3-memory img{display:block;width:100%;height:auto;max-width:100%;border-radius:2px;object-fit:contain;}
.pg3-memory figcaption{font:italic 15px/1.6 Georgia,serif;letter-spacing:.15px;color:#6b3c42;padding:12px 5px 0;text-align:center;}
.pg3-memory::before{content:"";position:absolute;top:-10px;left:calc(50% - 33px);width:66px;height:23px;background:#dcc5978c;transform:rotate(-5deg);pointer-events:none;}
.pg3-wide{width:min(100%,690px);margin:35px auto;transform:rotate(-1deg);padding:12px 12px 18px;}
.pg3-wide img{max-height:350px;background:#f2e6d8;}
.pg3-album{box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);align-items:center;gap:0;width:min(100%,690px);margin:45px auto 38px;padding:24px 24px 15px;border:1px solid #d9bba8;background:linear-gradient(125deg,#ead7cb,#f5eadd);border-radius:7px;box-shadow:inset 0 0 0 7px #fffaf344;}
.pg3-album .pg3-memory{margin:0;transform:rotate(-4deg);z-index:1;}
.pg3-album .pg3-memory+ .pg3-memory{margin:28px 0 0 -10px;transform:rotate(5deg);z-index:2;}
.pg3-album img{max-height:350px;background:#eee2d5;}
.pg3-seaside{background:linear-gradient(145deg,#e1ece8,#f4e8cd);border-color:#b6c9bd;}
.pg3-seaside .pg3-memory:first-child{transform:rotate(2deg);}
.pg3-seaside .pg3-memory+ .pg3-memory{transform:rotate(-4deg);}
.pg3-note{grid-column:1/-1;text-align:center;font:italic 17px/1.6 Georgia,serif;color:#754852;margin:25px 0 4px;}
.pg3-beside{float:right;width:230px;max-width:36%;margin:6px 0 20px 30px;transform:rotate(2deg);}
.pg3-beside img{max-height:295px;background:#efe3d4;}
section:has(>.pg3-beside)::after{content:"";display:block;clear:both;}
.pg3-card{margin:20px auto 4px;width:min(100%,230px);transform:rotate(-2deg);}
.pg3-card img{max-height:300px;background:#f4e8d8;}
.pg3-kids-memory{display:flex;align-items:center;gap:28px;margin:30px 0 34px;padding:25px;background:#fff8dc;border:1px dashed #b59859;border-radius:22px 6px;}
.pg3-kids-memory .pg3-memory{width:190px;flex:0 1 190px;margin:0;transform:rotate(-3deg);}
.pg3-kids-memory .pg3-memory img{max-height:270px;background:#f5e6cb;}
.pg3-kids-memory p{max-width:400px;font:19px/1.7 Georgia,serif;color:#6c3145;}
.pg3-travel{width:min(100%,760px);margin:30px auto;background:#fffaf0;border-bottom:4px solid #b89658;transform:rotate(1deg);}
.pg3-travel img{max-height:330px;background:#e9e0d5;}
@media(max-width:700px){.pg3-album{width:100%;padding:18px 15px;gap:18px;grid-template-columns:minmax(0,1fr);margin:30px auto;}.pg3-album .pg3-memory,.pg3-album .pg3-memory+ .pg3-memory{width:min(100%,310px);margin:0 auto;transform:none;}.pg3-album img{max-height:360px;}.pg3-beside{float:none;width:min(100%,280px);max-width:100%;margin:25px auto;transform:none;}.pg3-wide,.pg3-travel{transform:none;}.pg3-kids-memory{flex-direction:column;gap:8px;padding:23px 18px;}.pg3-kids-memory .pg3-memory{flex:auto;width:min(100%,210px);}.pg3-kids-memory p{font-size:17px;margin:12px 0 0;}.pg3-note{margin:5px 0;}.pg3-card{transform:none;}.pg3-memory::before{height:18px;top:-8px;}}
@media print{.pg3-memory,.pg3-album,.pg3-kids-memory{display:none!important;}}

#favourites .cards{align-items:start;}
.pg3-kids-memory{box-sizing:border-box;width:min(100%,740px);margin:30px auto 34px;}
.pg3-beside{width:190px;}
.pg3-beside img{max-height:245px;}
@media(max-width:700px){.pg3-beside{width:min(100%,280px);}.pg3-beside img{max-height:295px;}}
