/* Cards block (acf/pc-cards). Page-only looks from site.css generalised to the block's own classes;
 * the pg-* originals stay in site.css, so the source pages render exactly as before. */

/* Style "illustrated", option "Numbered cards" (div.with-steps): outlined step number on each card.
 * From .pg-franchise-website-design rules; the free-consultation page also uses .with-steps but without numbers, so it is excluded. */
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .row { counter-reset: ws; }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card { position: relative; padding-top: 30px; counter-increment: ws; }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card::before { content: counter(ws, decimal-leading-zero); display: grid; place-items: center; width: 52px; height: 52px; margin: 0 28px 22px; border-radius: 16px; background: linear-gradient(135deg, #ff4f9b, #d4237a); box-shadow: 0 14px 26px -12px rgba(234, 37, 125, .6); font-family: var(--px-head); font-size: 18px; font-weight: 700; color: #fff; }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card::after { content: ""; position: absolute; left: 92px; right: 28px; top: 56px; height: 1px; background: linear-gradient(90deg, #f3cfe0, transparent); }
@media (max-width: 767.98px) { body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card::before { margin-left: 22px; margin-right: 22px; } body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card::after { left: 86px; right: 22px; } }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card::before { display: block; width: auto; height: auto; margin: 0 28px 14px; border-radius: 0; background: none; box-shadow: none; font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--px-pink); }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card::after { content: none; }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card::before { color: #fff; -webkit-text-stroke: 3px var(--px-pink); paint-order: stroke fill; }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card { isolation: isolate; background: radial-gradient(160px 120px at 0% 0%, rgba(234, 37, 125, .08), transparent 70%), #fff; transition: box-shadow .35s ease; }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card::before { font-size: 48px; transition: color .35s ease; }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card:hover { box-shadow: 0 0 0 1px rgba(234, 37, 125, .3), 0 30px 50px -32px rgba(234, 37, 125, .4); }
body:not(.pg-free-consultation) .wp-legacy .with-steps .art-cards .new-cs-problem-card:hover::before { color: var(--px-pink); }

/* Style "checklists" (.inc-list): bigger two-tone icon tiles and soft pink check badges.
 * From .pg-technical-seo-audits rules (same specificity, .wp-legacy instead of the page class). */
.wp-legacy .inc-list .icon-teaser.style2 > img:not(#_) { width: 84px; height: 84px; padding: 12px; border-radius: 22px; }
.wp-legacy .inc-list .list_check li:not(#_)::before { top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #fde7f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea257d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; box-shadow: none; }
