/* v5 page sections (includes/v5PageSections.php): customer strip, quote band,
   checklist, edition cards and closing call to action. Everything is scoped
   under .v5-ps so it can sit on any page without touching anything else.
   Colours and type follow the v5 feature block (v5featureblock.css) and hero
   (v5solutionhero.css): brand blue #2491eb, orange #fbb03b, ink #232122,
   grey #575556, tint #f5f9fd. */

.v5-ps,
.v5-ps *,
.v5-ps *::before,
.v5-ps *::after { box-sizing: border-box; }

.v5-ps {
    --ps-ink: #232122;
    --ps-gray: #575556;
    --ps-blue: #2491eb;
    --ps-orange: var(--orange-cta, #fbb03b);
    width: 100%;
    background: #ffffff;
    color: var(--ps-ink);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    overflow-x: clip;
}

.v5-ps--tint { background: #f5f9fd; }

.v5-ps-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 88px 32px;
}

/* ---------- shared heading ---------- */
.v5-ps-head {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.v5-ps .v5-ps-title {
    margin: 0 0 16px;
    font-family: inherit;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--ps-ink);
}

.v5-ps .v5-ps-intro {
    margin: 0;
    font-family: inherit;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ps-gray);
}

/* ---------- ticks ---------- */
.v5-ps-tick {
    flex: none;
    width: 24px;
    height: 24px;
    margin-top: 1px;
    border-radius: 50%;
    background: #dcecfb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.v5-ps-tick svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: var(--ps-blue);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.v5-ps-tick--plus { background: #fef3e2; }
.v5-ps-tick--plus svg { stroke: #d98a0b; }

/* ---------- buttons ---------- */
.v5-ps .v5-ps-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    padding: 14px 32px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.15s ease;
}

.v5-ps .v5-ps-btn-primary,
.v5-ps .v5-ps-btn-primary:visited {
    background: var(--ps-orange);
    color: #ffffff !important;
}

.v5-ps .v5-ps-btn-primary:hover,
.v5-ps .v5-ps-btn-primary:focus { background: var(--orange-hover, #ffc15e); }

/* ---------- customer logos ----------
   The logos are square badges with small wording inside, so each sits on a white
   card and is shown large (140px) - at a thumbnail size the wording can't be read.
   They scroll right to left in an endless loop: the list holds the logos several
   times over and slides by exactly half its own width (-50%), so the end of each
   cycle looks identical to the start. Cards are spaced with margin, not gap, so
   both halves are exactly the same width and the loop doesn't jump.
   --ps-loop (set inline by the PHP) is the length of one cycle. */
.v5-ps--customers { background: #f5f9fd; padding: 52px 0; }

.v5-ps .v5-ps-caption {
    margin: 0 auto 28px;
    padding: 0 20px;
    max-width: 760px;
    text-align: center;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.5;
    color: var(--ps-gray);
}

.v5-ps-marquee {
    overflow: hidden;
    /* fade the logos in and out at the edges instead of cutting them off */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.v5-ps-logos {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    width: max-content;
    animation: v5-ps-loop var(--ps-loop, 48s) linear infinite;
}

.v5-ps-logos li {
    flex: none;
    width: 172px;
    margin: 0 20px 0 0;
    padding: 22px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(35, 32, 31, 0.05);
}

.v5-ps-logos img {
    display: block;
    width: 100%;
    max-width: 140px;
    height: auto;
}

@keyframes v5-ps-loop {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* No motion: show one set of logos, wrapped and centred, and hide the copies. */
@media (prefers-reduced-motion: reduce) {
    .v5-ps-logos {
        animation: none;
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 0 20px;
    }
    .v5-ps-logos li { margin: 0; }
    .v5-ps-logos li[aria-hidden="true"] { display: none; }
    .v5-ps-marquee { -webkit-mask-image: none; mask-image: none; }
}


/* ---------- quote band ---------- */
.v5-ps--quote {
    background: linear-gradient(135deg, #004bad 0%, #2491eb 100%);
    color: #ffffff;
}

.v5-ps--quote .v5-ps-inner { padding-top: 64px; padding-bottom: 64px; }

.v5-ps-quote {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    gap: 56px;
    align-items: center;
}

.v5-ps-quote--solo { grid-template-columns: minmax(0, 1fr); }

.v5-ps-quote-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}

.v5-ps-quote-media a { display: block; }

.v5-ps-quote-body { text-align: center; }

.v5-ps .v5-ps-quote-title {
    margin: 0 0 20px;
    font-family: inherit;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    text-transform: none;
    color: #ffffff;
}

.v5-ps-figure { margin: 0; }

.v5-ps-figure blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
}

.v5-ps-figure blockquote p {
    margin: 0;
    font-family: inherit;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    color: #ffffff;
}

.v5-ps-figure figcaption {
    margin-top: 18px;
    font-size: 17px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);   /* orange on this blue is under 3:1 */
}

.v5-ps-figure figcaption::before { content: "\2014\00a0"; }

/* ---------- checklist ---------- */
.v5-ps-checks {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 64px;
}

.v5-ps-checks ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.v5-ps-checks li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid #ececec;
    font-size: 17px;
    line-height: 1.55;
    color: var(--ps-gray);
}

.v5-ps-checks li strong { color: var(--ps-ink); font-weight: 700; }

/* ---------- editions ---------- */
.v5-ps-plans {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.v5-ps-plan {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 24px;
    padding: 36px 32px;
    box-shadow: 0 24px 60px rgba(35, 32, 31, 0.07);
}

.v5-ps-plan-head h3 {
    margin: 0 0 12px;
    font-family: inherit;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
    text-transform: none;
    color: var(--ps-ink);
}

.v5-ps-plan-head p {
    margin: 0 0 24px;
    font-size: 16.5px;
    line-height: 1.6;
    color: var(--ps-gray);
}

.v5-ps-plan-list {
    flex: 1;
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.v5-ps-plan-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0;
    padding: 10px 0;
    border-top: 1px solid #f0f0f0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ps-ink);
}

.v5-ps-plan-text { flex: 1; }

.v5-ps-new {
    flex: none;
    align-self: center;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--ps-orange);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.v5-ps-plan .v5-ps-btn { align-self: center; }

/* ---------- closing call to action ---------- */
.v5-ps--cta .v5-ps-inner {
    text-align: center;
    padding-top: 96px;
    padding-bottom: 72px;
}

.v5-ps--cta .v5-ps-title,
.v5-ps--cta .v5-ps-intro {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.v5-ps-cta-actions { margin-top: 32px; }

.v5-ps .v5-ps-note {
    margin: 18px 0 0;
    font-size: 16px;
    font-style: italic;
    color: var(--ps-gray);
}

.v5-ps-badges {
    list-style: none;
    margin: 56px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px 32px;
}

.v5-ps-badges li { margin: 0; padding: 0; }

.v5-ps-badges img {
    display: block;
    height: 72px;
    width: auto;
    max-width: 100%;
}

/* ---------- smaller screens ---------- */
@media (max-width: 900px) {
    .v5-ps-inner { padding: 64px 20px; }
    .v5-ps .v5-ps-title { font-size: 34px; }
    .v5-ps-head { margin-bottom: 40px; }
    .v5-ps--customers { padding: 40px 0; }
    .v5-ps-quote { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .v5-ps-quote-media { max-width: 420px; margin: 0 auto; }
    .v5-ps-figure blockquote p { font-size: 21px; }
    .v5-ps-checks { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .v5-ps-plans { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
    .v5-ps-inner { padding: 48px 16px; }
    .v5-ps--customers { padding: 28px 0; }
    .v5-ps .v5-ps-title { font-size: 30px; }
    .v5-ps-logos li { width: 132px; margin-right: 14px; padding: 14px 10px; border-radius: 14px; }
    .v5-ps-plan { padding: 28px 22px; }
    .v5-ps-badges img { height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
    .v5-ps .v5-ps-btn { transition: none; }
}

/* ---------- customer stories ('v5_render_testimonial') and quote cards ('v5_render_quote_cards') ----------
   A story is the customer's heading, summary and button on the left and their quote in a white card on the right (or a picture that opens a video).
   The cards are the same card, in a row of three. Sections alternate on the page by passing 'background' => 'tint'. */
.v5-ps--testimonial .v5-ps-inner { padding-top: 72px; padding-bottom: 72px; }

.v5-ps-story {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: center;
}

.v5-ps .v5-ps-story-title {
    margin: 0 0 16px;
    font-family: inherit;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--ps-ink);
}

.v5-ps-story-copy p {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ps-gray);
}

.v5-ps-card {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 32px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(35, 32, 31, 0.07);
}

.v5-ps-card blockquote { margin: 0; padding: 0; border: 0; background: none; }

.v5-ps-card blockquote p {
    margin: 0;
    font-family: inherit;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--ps-ink);
}

.v5-ps-person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 24px; }

.v5-ps-avatar {
    flex: none;
    width: 56px;
    height: 56px;
    overflow: hidden;
    border-radius: 50%;
    background: #f5f9fd;
}

.v5-ps-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* a logo, not a photo: white behind it, shown whole with a little room round it */
.v5-ps-avatar--logo { background: #ffffff; border: 1px solid #ececec; }
.v5-ps-avatar--logo img { object-fit: contain; padding: 6px; }

.v5-ps-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.v5-ps-who strong { font-size: 16px; font-weight: 700; color: var(--ps-ink); }
.v5-ps-who span { font-size: 14.5px; color: var(--ps-gray); }

.v5-ps-story-video { display: block; }
.v5-ps-story-video img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(35, 32, 31, 0.12);
}

.v5-ps--quotecards .v5-ps-inner { padding-top: 72px; padding-bottom: 72px; }

.v5-ps-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.v5-ps-cards .v5-ps-card blockquote p { font-size: 18px; }

@media (max-width: 900px) {
    .v5-ps--testimonial .v5-ps-inner,
    .v5-ps--quotecards .v5-ps-inner { padding-top: 48px; padding-bottom: 48px; }
    .v5-ps-story { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .v5-ps .v5-ps-story-title { font-size: 28px; }
    .v5-ps-cards { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 520px) {
    .v5-ps-card { padding: 24px 22px; }
    .v5-ps-card blockquote p { font-size: 18px; }
}

/* text for screen readers and search engines only (the customer's name added to a button) */
.v5-ps-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ---------- video cards ('v5_render_video_cards') ----------
   A picture (16:9) with a play button over it, a title and a short description; the whole card is one link and lifts a little on hover. */
.v5-ps--videos .v5-ps-inner { padding-top: 72px; padding-bottom: 72px; }

.v5-ps-vcards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

/* fewer than four cards fill the row instead of leaving a gap (the card count is in the class, from the PHP) */
.v5-ps-vcards--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v5-ps-vcards--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v5-ps-vcards--n1 { grid-template-columns: minmax(0, 420px); justify-content: center; }

.v5-ps a.v5-ps-vcard,
.v5-ps a.v5-ps-vcard:visited {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(35, 32, 31, 0.07);
    color: var(--ps-ink);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.v5-ps a.v5-ps-vcard:hover,
.v5-ps a.v5-ps-vcard:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 22px 50px rgba(35, 32, 31, 0.12);
}

.v5-ps-vthumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #e9f4fd; }
.v5-ps-vthumb img { display: block; width: 100%; height: 100%; object-fit: cover; }

.v5-ps-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    border-radius: 50%;
    background: rgba(35, 33, 34, 0.62);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease;
}

.v5-ps-play svg { width: 24px; height: 24px; margin-left: 3px; fill: #ffffff; }
.v5-ps a.v5-ps-vcard:hover .v5-ps-play,
.v5-ps a.v5-ps-vcard:focus-visible .v5-ps-play { background: var(--ps-orange); }

.v5-ps-vbody { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }

.v5-ps .v5-ps-vtitle {
    margin: 0;
    font-family: inherit;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ps-ink);
}

.v5-ps-vtext { font-size: 15px; line-height: 1.55; color: var(--ps-gray); }

@media (max-width: 1100px) {
    .v5-ps-vcards, .v5-ps-vcards--n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .v5-ps--videos .v5-ps-inner { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 560px) {
    .v5-ps-vcards, .v5-ps-vcards--n3, .v5-ps-vcards--n2, .v5-ps-vcards--n1 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .v5-ps a.v5-ps-vcard, .v5-ps-play { transition: none; }
    .v5-ps a.v5-ps-vcard:hover, .v5-ps a.v5-ps-vcard:focus-visible { transform: none; }
}


/* ---------- solution cards ('v5_render_solutions') and the button under quote cards ----------
   Each card is a coloured icon tile, a title and a line of text, and is one link. */
.v5-ps-cards-cta { margin-top: 40px; text-align: center; }

.v5-ps--solutions .v5-ps-inner { padding-top: 72px; padding-bottom: 72px; }
.v5-ps-sgroup + .v5-ps-sgroup { margin-top: 48px; }

.v5-ps .v5-ps-sgroup-title {
    margin: 0 0 20px;
    font-family: inherit;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ps-ink);
}

.v5-ps-scards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.v5-ps a.v5-ps-scard,
.v5-ps a.v5-ps-scard:visited {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 24px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(35, 32, 31, 0.05);
    color: var(--ps-ink);
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.v5-ps a.v5-ps-scard:hover,
.v5-ps a.v5-ps-scard:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(35, 32, 31, 0.10);
}

.v5-ps-scard img { flex: none; width: 48px; height: 48px; }

.v5-ps-stext { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.v5-ps-stext b { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ps-ink); }
.v5-ps-stext small { font-size: 14.5px; line-height: 1.5; color: var(--ps-gray); }

@media (max-width: 1000px) {
    .v5-ps-scards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .v5-ps--solutions .v5-ps-inner { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 600px) {
    .v5-ps-scards { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .v5-ps a.v5-ps-scard { transition: none; }
    .v5-ps a.v5-ps-scard:hover, .v5-ps a.v5-ps-scard:focus-visible { transform: none; }
}


/* a featured video ('featured' => true): one large card, the picture beside the text */
.v5-ps-vcards--featured { grid-template-columns: minmax(0, 1000px); justify-content: center; }
.v5-ps-vcards--featured a.v5-ps-vcard { flex-direction: row; align-items: center; }
.v5-ps-vcards--featured .v5-ps-vthumb { flex: 0 0 52%; align-self: stretch; aspect-ratio: auto; min-height: 260px; }
.v5-ps-vcards--featured .v5-ps-vthumb img { position: absolute; inset: 0; }
.v5-ps-vcards--featured .v5-ps-vbody { flex: 1; gap: 12px; padding: 32px 36px; }
.v5-ps-vcards--featured .v5-ps-vtitle { font-size: 26px; line-height: 1.25; }
.v5-ps-vcards--featured .v5-ps-vtext { font-size: 17px; }

@media (max-width: 900px) {
    .v5-ps-vcards--featured a.v5-ps-vcard { flex-direction: column; align-items: stretch; }
    .v5-ps-vcards--featured .v5-ps-vthumb { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
    .v5-ps-vcards--featured .v5-ps-vbody { padding: 22px 22px 26px; }
    .v5-ps-vcards--featured .v5-ps-vtitle { font-size: 22px; }
}


/* ---------- super feature ('v5_render_super_feature') ----------
   A hero-style band over a row of feature cards: the heading, summary and button beside a large picture (the picture can sit on either side), then the cards. */
.v5-ps--superfeature .v5-ps-inner { padding-top: 88px; padding-bottom: 88px; }

.v5-ps-sf-top {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: center;
}

.v5-ps-sf-top--visual-left { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.v5-ps-sf-top--visual-left .v5-ps-sf-copy { order: 2; }
.v5-ps-sf-top--visual-left .v5-ps-sf-media { order: 1; }

/* the big icon above the heading: the coloured tile from action/icon-ideas/round3, shown large */
.v5-ps-sf-icon { display: block; width: 88px; height: 88px; margin-bottom: 20px; }

.v5-ps .v5-ps-sf-title {
    margin: 0 0 16px;
    font-family: inherit;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--ps-ink);
}

.v5-ps-sf-copy p { margin: 0 0 28px; font-size: 19px; line-height: 1.6; color: var(--ps-gray); }
.v5-ps-sf-copy .v5-ps-btn { margin-bottom: 4px; }

.v5-ps-sf-media { min-width: 0; }
.v5-ps-sf-media .v5fv,
.v5-ps-sf-media .v5fv-fallback { width: 100%; max-width: 640px; margin: 0 auto; }
.v5-ps-sf-media { --v5fv-clear-cap: var(--ps-gray); }   /* the small caption of a 'clear' visual sits on the band, so it takes the text colour */
.v5-ps-sf-media .v5fv:not(.v5fv--clear) { box-shadow: 0 28px 60px rgba(20, 60, 100, 0.16); }
.v5-ps-sf-media--square .v5fv,
.v5-ps-sf-media--square .v5fv-fallback { max-width: 500px; }
.v5-ps-sf-media .v5fv-fallback img,
.v5-ps-sf-media > img { display: block; width: 100%; max-width: 640px; height: auto; margin: 0 auto; border-radius: 16px; box-shadow: 0 28px 60px rgba(20, 60, 100, 0.16); }

.v5-ps-sf-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 64px;
}

.v5-ps-sf-cards--n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v5-ps-sf-cards--n1 { grid-template-columns: minmax(0, 560px); justify-content: center; }

.v5-ps-sf-card {
    padding: 28px 28px 30px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(35, 32, 31, 0.06);
}

.v5-ps-sf-card img { display: block; width: 48px; height: 48px; margin-bottom: 16px; }

.v5-ps .v5-ps-sf-card h3 {
    margin: 0 0 8px;
    font-family: inherit;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ps-ink);
}

.v5-ps-sf-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--ps-gray); }

@media (max-width: 1000px) {
    .v5-ps-sf-cards, .v5-ps-sf-cards--n2 { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
    .v5-ps--superfeature .v5-ps-inner { padding-top: 56px; padding-bottom: 56px; }
    .v5-ps-sf-top, .v5-ps-sf-top--visual-left { grid-template-columns: minmax(0, 1fr); gap: 36px; }
    /* the copy first, then the picture, whichever side the picture is on at full width */
    .v5-ps-sf-top--visual-left .v5-ps-sf-copy { order: 1; }
    .v5-ps-sf-top--visual-left .v5-ps-sf-media { order: 2; }
    .v5-ps .v5-ps-sf-title { font-size: 30px; }
    .v5-ps-sf-icon { width: 72px; height: 72px; margin-bottom: 16px; }
    .v5-ps-sf-copy p { font-size: 17px; }
    .v5-ps-sf-cards { margin-top: 40px; }
}
