/* Article blocks (Blog Detail design) – loaded on the front end and in the block editor. */

/* Icon cards 2×2 */
.vleer-feature-cards { display: flex; gap: 16px; margin: 0 0 16px; }
.vleer-feature-cards > .wp-block-column { flex: 1 1 0; margin: 0 !important; display: flex; }
.vleer-feature-card { flex: 1; margin: 0; padding: 22px 22px 24px; background: #fff; border: 1px solid #E3E5EA; border-radius: 6px; }
.vleer-feature-card > .wp-block-group__inner-container > *:first-child, .vleer-feature-card > *:first-child { margin-top: 0; }
.vleer-card-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 18px; border-radius: 8px; background: #EEF2FD; color: #102D93; }
.vleer-card-icon--purple { background: #F1EEFD; color: #4B3BB5; }
.vleer-card-icon--green { background: #E9F8EF; color: #18864B; }
.vleer-feature-card h4, .vleer-feature-card .wp-block-heading { margin: 0 0 6px !important; color: #000B2B; font-size: 16px !important; font-weight: 600; line-height: 1.3; }
.vleer-feature-card p { margin: 0 !important; color: #5A5F6B; font-size: 15px !important; line-height: 1.4; }

/* Check items */
.vleer-check-items { display: grid; gap: 10px; margin: 0 0 1.4em; }
.vleer-check-items > .wp-block-group__inner-container { display: grid; gap: 10px; }
.vleer-check-item { position: relative; margin: 0 !important; padding: 16px 18px 16px 54px; background: #F6F7FA; border: 1px solid #E3E5EA; border-radius: 6px; }
.vleer-check-item::before {
	content: ""; position: absolute; left: 18px; top: 17px; width: 22px; height: 22px; border-radius: 50%;
	background: #DDF4E6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318864B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.vleer-check-item p { margin: 0 !important; }
.vleer-check-item__title { color: #000B2B; font-size: 15px !important; line-height: 1.35; }
.vleer-check-item__text { margin-top: 2px !important; color: #6B6F7A; font-size: 13px !important; line-height: 1.4; }

/* Comparison table */
.wp-block-table.vleer-compare { margin: 1.4em 0; border: 1px solid #E3E5EA; border-radius: 6px; overflow: hidden; }
.vleer-compare table { width: 100%; border-collapse: collapse; margin: 0 !important; border: 0 !important; font-size: 14px; }
.vleer-compare th { padding: 16px 18px !important; background: #F6F7FA; border: 0 !important; border-bottom: 1px solid #E3E5EA !important; color: #000B2B; font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-align: left; text-transform: uppercase; }
.vleer-compare td { padding: 16px 18px !important; border: 0 !important; border-top: 1px solid #E3E5EA !important; color: #000B2B; vertical-align: middle; }
.vleer-compare td:last-child, .vleer-compare th:last-child { color: #102D93 !important; font-weight: 600; background: #F5F7FE !important; }

@media (max-width: 767px) {
	.vleer-feature-cards { flex-direction: column; }
	.wp-block-table.vleer-compare { overflow-x: auto; }
	.vleer-compare table { min-width: 560px; }
}

/* Card icons drawn with CSS masks (tinted by the card-icon colour). */
.vleer-card-icon::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.vleer-ico-dollar { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M14.5 9.5c-.4-1-1.4-1.5-2.5-1.5-1.5 0-2.5.8-2.5 2s1 1.6 2.5 2 2.5.8 2.5 2-1 2-2.5 2c-1.2 0-2.2-.6-2.6-1.6M12 6.5v11'/%3E%3C/svg%3E"); }
.vleer-ico-users { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20v-1a6 6 0 0 1 12 0v1M16 4.5a3 3 0 0 1 0 6M21 20v-1a5 5 0 0 0-3.5-4.8'/%3E%3C/svg%3E"); }
.vleer-ico-clock { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.vleer-ico-trend { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 17 6-6 4 4 8-8M15 7h6v6'/%3E%3C/svg%3E"); }
.vleer-ico-shield { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.vleer-ico-check { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.vleer-ico-chart { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.vleer-ico-globe { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.wp-block-table.vleer-compare thead { border-bottom: 0 !important; }
.wp-block-table.vleer-compare tfoot { border-top: 0 !important; }
