/*
 * The partner and app pages rebuilt in the last batch: the pages of the craftsmen's companies that
 * work for Dryft (/partners/alnum/, /partners/clg-elservice/, /partners/swedel-stockholm/;
 * families/partner_hantverkare_ny_design.html) and /yale-doorman/. Loaded after ny_design.css on
 * those pages only, every rule scoped to the page's own class.
 */

/* "Vad kunder säger om ...": the partner's own customer quotes, which have no name, date or
   source, so they are not the rating module's cards. Shown as quotes, as on the reference pages
   (nd_ref_d_quote): the short dashed line over each, the words as body text, Regular 16/26 (Hanna,
   2026-11-17: quotes are not bold on the site), no white cards on the off-white section. Three to a row on desktop, under each other on phones. */
.nd_partner_craftsman_page .nd_partner_quotes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 40px;
    margin-top: 32px;
    list-style: none;
}
.nd_partner_craftsman_page .nd_partner_quotes li::before {
    content: "";
    display: block;
    width: 24px;
    height: 1px;
    margin-bottom: 16px;
    background-image: linear-gradient(to right, var(--nd_gray_dash) 50%, transparent 50%);
    background-size: 6px 100%;
}
.nd_partner_craftsman_page .nd_partner_quotes blockquote {
    margin: 0;
    font-weight: 400;
    text-wrap: pretty;
}

@media (max-width: 767px) {
    .nd_partner_craftsman_page .nd_partner_quotes {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Yale Doorman (pages/yale-doorman.html) ---------- */

/* "Hur vet jag om min dörr passar för Yale Doorman?": the four measuring pictures (3:2, with the
   measurements drawn in, so never cropped) with the condition under each, four to a row on
   desktop, two on tablets and one on phones. */
.nd_yale_page .nd_door_checks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 20px;
    margin-top: 24px;
    list-style: none;
}
.nd_yale_page .nd_door_checks img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
}
.nd_yale_page .nd_door_checks p {
    margin-top: 16px;
}
@media (max-width: 1023px) {
    .nd_yale_page .nd_door_checks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .nd_yale_page .nd_door_checks {
        grid-template-columns: minmax(0, 1fr);
    }
}
