/*
 * My Lotus Homes — A5 flyer printed from a site page.
 * Load with media="print" after brand/print.css. The page carries its flyer as
 * <div class="flyer mlh-sheet mlh-sheet--a5"> (hidden on screen); printing the page
 * prints only that sheet: A5 148 x 210 mm + 3 mm bleed, content in the 10 mm safe area.
 */
@media print {
    body > *:not(.flyer) { display: none !important; }
    body { margin: 0; background: var(--mlh-cream); }
}

@media screen {
    .flyer { display: none; }
}

.flyer {
    background: var(--mlh-cream);
    color: var(--mlh-ink);
    font-family: var(--mlh-font-body);
    font-size: 8.6pt;
    line-height: 1.4;
}

.flyer .mlh-safe {
    display: flex;
    flex-direction: column;
    gap: 4.2mm;
    /* the green band and the photo use the full width between the bleeds */
    inset: calc(var(--mlh-bleed) + 9mm) calc(var(--mlh-bleed) + 10mm) calc(var(--mlh-bleed) + 9mm);
}

.flyer__logo { width: 64mm; align-self: center; }

.flyer__photo {
    position: relative;
    height: 66mm;
    border-radius: 2mm;
    overflow: hidden;
    flex: none;
}
.flyer--tall .flyer__photo { height: 88mm; }
.flyer__photo img { width: 100%; height: 100%; object-fit: cover; }
.flyer__quote {
    position: absolute;
    left: 6mm;
    right: 6mm;
    bottom: 4mm;
    padding: 3.2mm 5mm;
    border-radius: 1.5mm;
    background: rgba(255, 253, 249, .93);
    text-align: center;
}
.flyer__quote > strong { display: block; font: 400 12.5pt/1.2 var(--mlh-font-display); color: var(--mlh-forest-900); margin-bottom: 1.2mm; }
.flyer__quote p { margin: 0; font-size: 8.4pt; }

.flyer h2 {
    margin: 1mm 0 0;
    text-align: center;
    font: 400 14pt/1.2 var(--mlh-font-display);
    color: var(--mlh-forest-900);
}

.flyer__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3mm; }
.flyer__card {
    padding: 3.5mm 3mm;
    border-radius: 1.5mm;
    background: var(--mlh-paper);
    text-align: center;
}
.flyer__card svg {
    width: 9mm;
    height: 9mm;
    margin: 0 auto 1.5mm;
    display: block;
    fill: none;
    stroke: var(--mlh-gold-500);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.flyer__card h3 { margin: 0 0 1.2mm; font: 400 10pt/1.2 var(--mlh-font-display); color: var(--mlh-forest-900); }
.flyer__card p { margin: 0; font-size: 7.6pt; line-height: 1.38; color: #4d564d; }

/* full-bleed green band */
.flyer__band {
    margin: 0 calc(-10mm - var(--mlh-bleed));
    padding: 3.6mm calc(10mm + var(--mlh-bleed));
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--mlh-forest-700);
    color: var(--mlh-cream);
    text-align: center;
}
.flyer__band div + div { border-left: .25mm solid rgba(247, 243, 234, .3); }
.flyer__band strong { display: block; font: 400 10.5pt/1.2 var(--mlh-font-display); color: #f3d493; }
.flyer__band span { display: block; margin-top: .6mm; font-size: 7.2pt; }

.flyer__cta { display: flex; align-items: center; justify-content: space-between; gap: 5mm; margin-top: auto; }
.flyer__cta-copy { display: grid; gap: 2.4mm; }
.flyer__button {
    justify-self: start;
    padding: 2.4mm 5mm;
    border-radius: 99mm;
    background: var(--mlh-action);
    color: #fff;
    font-weight: 700;
    font-size: 8.6pt;
}
.flyer__contact { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 1.2mm 4mm; font-size: 7.8pt; }
.flyer__contact li { display: flex; align-items: center; gap: 1.4mm; }
.flyer__contact svg { width: 3.4mm; height: 3.4mm; fill: none; stroke: var(--mlh-gold-500); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flyer__qr { display: flex; align-items: center; gap: 2.5mm; flex: none; }
.flyer__qr span { font-size: 7pt; line-height: 1.3; text-align: right; color: #4d564d; }
.flyer__qr img { width: 22mm; height: 22mm; padding: 2.4mm; background: #fff; border-radius: 1mm; }
.flyer .nw { white-space: nowrap; }
