/* Buying guides: the /guides/ list, tables, the runtime formula, the safety box and "Next" links. */

.bpg-guides { list-style: none; margin: var(--wp--preset--spacing--50) 0; padding: 0; display: grid; gap: var(--wp--preset--spacing--30); }
.bpg-guides__item { border: 1px solid var(--wp--preset--color--line); border-left: 4px solid var(--wp--preset--color--electric); padding: 1rem 1.25rem; }
.bpg-guides__link { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: var(--wp--preset--font-size--heading-sm); text-decoration: none; color: var(--wp--preset--color--ink); }
.bpg-guides__link:hover { color: var(--wp--preset--color--electric); }
.bpg-guides__summary { margin: 0.35rem 0 0; color: var(--wp--preset--color--slate); }

/* Tables scroll sideways on phones instead of squashing. */
.bpg-guide-table { overflow-x: auto; margin: var(--wp--preset--spacing--40) 0; }
.bpg-guide-table table { width: 100%; border-collapse: collapse; font-size: var(--wp--preset--font-size--small); }
.bpg-guide-table th,
.bpg-guide-table td { text-align: left; vertical-align: top; padding: 0.5rem 0.75rem 0.5rem 0; border: 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.bpg-guide-table thead th { border-bottom: 2px solid var(--wp--preset--color--ink); font-weight: 700; }
.bpg-guide-table tbody td:first-child { font-weight: 600; }
@media (max-width: 600px) {
	.bpg-guide-table table { min-width: 34rem; }
}

.bpg-guide-formula { background: var(--wp--preset--color--mist); border-left: 4px solid var(--wp--preset--color--electric); padding: 0.75rem 1rem; }

.bpg-guide-safety { margin-top: var(--wp--preset--spacing--50); padding: 0.25rem 1.25rem 0.5rem; border-left: 4px solid var(--wp--preset--color--volt); background: var(--wp--preset--color--mist); }
.bpg-page .wp-block-post-content .bpg-guide-safety h2 { margin-top: 0.75rem; }

.bpg-guide-next { margin-top: var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--30); border-top: 1px solid var(--wp--preset--color--line); }

.bpg-type-guide { margin-top: 0.25rem; }
