/*
Theme Name: Impreza Child
Template: Impreza
Description: Child theme for Impreza, for Jefferson-Brown Plumbing. Put custom CSS and code here so theme updates never overwrite it.
Version: 1.1
*/

/* Layout fixes (main style rules live in Impreza > Theme Options > Custom Code) */

/* Even 40px gap between rows of cards, and a small gap under a heading */
.vc_column-inner > .g-cols.wpb_row + .g-cols.wpb_row { margin-top: 40px; }
.vc_column-inner > .wpb_text_column + .g-cols.wpb_row { margin-top: 8px; }

/* Jump links (e.g. /services/#repairs) stop below the sticky header */
.g-cols[id] { scroll-margin-top: 130px; }

/* Space between a button and the text after it */
.w-btn-wrapper + .wpb_text_column { margin-top: 24px; }

/* Menu links: no underline, underline on hover/current only */
.w-nav-anchor { text-decoration: none !important; }
.w-nav-anchor:hover .w-nav-title,
.current-menu-item > .w-nav-anchor .w-nav-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* Card headings that are links: no underline until hover */
.jb-card h3 a { text-decoration: none; }
.jb-card h3 a:hover { text-decoration: underline; }

/* Stacked cards on phones need a gap */
@media (max-width: 767px) {
  .jb-card, .jb-card-lg { margin-bottom: 24px; }
  .jb-card-lg > .vc_column-inner { padding: 24px; }
}
/* Button spacing: room for the hard shadow between side-by-side buttons */
.w-btn-wrapper { margin-right: 24px !important; }