/* qr-feature.css
   The QR card section on the landing pages (weddings, birthday, photography,
   conference, the wedding QR and QR album pages): text beside a screenshot
   from the album-branding film, stacking on phones. Dark landing theme. */

.qr-feature {
    width: 100%;
    max-width: 1080px;
    margin: 40px auto 56px;
    padding: 0 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 36px;
    align-items: center;
    text-align: left;
}

.qr-feature--flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.qr-feature--flip .qr-feature__text {
    order: 2;
}

.qr-feature__text {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.qr-feature__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.qr-feature__title {
    margin: 0;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.15;
    font-weight: 700;
    color: #fff;
    text-wrap: balance;
}

.qr-feature__text p {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.78);
}

.qr-feature__text ul {
    margin: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.5;
}

.qr-feature__link {
    align-self: flex-start;
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.qr-feature__fig {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.qr-feature__fig img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.qr-feature__fig figcaption {
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.6);
}

/* Two screenshots side by side, under a section's text */
.qr-shots {
    width: 100%;
    max-width: 1080px;
    margin: 8px auto 48px;
    padding: 0 20px;
    box-sizing: border-box;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.qr-shots .qr-feature__fig img {
    box-shadow: none;
}

/* Long-form text block used by the QR landing pages */
.qr-prose {
    width: 100%;
    max-width: 760px;
    margin: 0 auto 48px;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.02rem;
    line-height: 1.65;
}

.qr-prose h2 {
    margin: 0 0 14px;
    font-size: clamp(1.4rem, 2.6vw, 1.9rem);
    line-height: 1.2;
    color: #fff;
    text-wrap: balance;
}

.qr-prose h3 {
    margin: 22px 0 8px;
    font-size: 1.12rem;
    color: #fff;
}

.qr-prose p {
    margin: 0 0 14px;
}

.qr-prose a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.qr-prose ul,
.qr-prose ol {
    margin: 0 0 16px;
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.qr-compare {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 20px;
    font-size: 0.95rem;
}

.qr-compare th,
.qr-compare td {
    text-align: left;
    vertical-align: top;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.qr-compare th {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
}

.qr-compare-wrap {
    overflow-x: auto;
}

@media (max-width: 820px) {
    .qr-feature,
    .qr-feature--flip {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin: 28px auto 40px;
    }

    .qr-feature--flip .qr-feature__text {
        order: 0;
    }
}

@media (max-width: 560px) {
    .qr-shots {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* The card on its own: a printed card, not a screenshot, so it stays card-sized */
.qr-feature__fig img.qr-feature__card {
    width: auto;
    max-width: min(100%, 380px);
    max-height: 520px;
    align-self: center;
    border-radius: 8px;
}

.qr-feature__fig:has(.qr-feature__card) figcaption {
    text-align: center;
}
