/* C101 Footer Spacing 1.0.0 - tightens vertical spacing in the Divi Theme Builder footer only.
   Spacing only: no content is removed or hidden, fonts/colors/order/columns unchanged. */

/* Section + rows: less vertical padding */
footer.et-l--footer .et_pb_section.et_pb_section_0_tb_footer { padding-top: 14px !important; padding-bottom: 14px !important; }
footer.et-l--footer .et_pb_row.et_pb_row_0_tb_footer { padding-top: 6px !important; padding-bottom: 6px !important; }
footer.et-l--footer .et_pb_row.et_pb_row_1_tb_footer { padding-top: 8px !important; padding-bottom: 0 !important; }

/* Modules: smaller gaps between stacked modules, none after the last one in a column */
footer.et-l--footer .et_pb_section_0_tb_footer .et_pb_column > .et_pb_module { margin-bottom: 6px !important; }
footer.et-l--footer .et_pb_section_0_tb_footer .et_pb_column > .et_pb_module:last-child { margin-bottom: 0 !important; }
/* column 1 ends with an empty (0px tall) code module, so the text above it is effectively last */
footer.et-l--footer .et_pb_text_0_tb_footer { margin-bottom: 0 !important; }

/* Line gaps inside the text modules (font sizes unchanged) */
footer.et-l--footer .et_pb_section_0_tb_footer .et_pb_text_inner p { margin-bottom: 0 !important; padding-bottom: 0 !important; }
footer.et-l--footer .et_pb_text_0_tb_footer .et_pb_text_inner p { line-height: 1.3 !important; }
footer.et-l--footer .et_pb_text_3_tb_footer .et_pb_text_inner p { line-height: 1.3 !important; }
footer.et-l--footer .et_pb_text_3_tb_footer .et_pb_module_header { padding-bottom: 0 !important; line-height: 1.4 !important; }
footer.et-l--footer .et_pb_text_1_tb_footer .et_pb_text_inner p { line-height: 1.3 !important; }

/* Social icons row: drop the extra bottom gap under the icons */
footer.et-l--footer .et_pb_social_media_follow_0_tb_footer li { margin-bottom: 0 !important; }

/* Bottom menu: no extra space above/below the links */
footer.et-l--footer .et_pb_menu_0_tb_footer .et-menu > li { margin-top: 0 !important; }
footer.et-l--footer .et_pb_menu_0_tb_footer .et-menu > li > a { padding-bottom: 0 !important; }

/* Phone/tablet (stacked columns): tighter gaps, but keep tap targets ~40px */
@media (max-width: 980px) {
  footer.et-l--footer .et_pb_section.et_pb_section_0_tb_footer { padding-top: 16px !important; padding-bottom: 12px !important; }
  /* Divi stacks the columns with a 30px / 20px flex gap here */
  footer.et-l--footer .et_pb_row.et_pb_row_0_tb_footer { row-gap: 16px !important; }
  footer.et-l--footer .et_pb_row.et_pb_row_1_tb_footer { row-gap: 6px !important; padding-top: 0 !important; } /* the menu links carry their own 13px tap padding */
  footer.et-l--footer .et_pb_text_0_tb_footer .et_pb_text_inner a[href^="tel:"] { display: inline-block; line-height: 40px; }
  footer.et-l--footer .et_pb_text_3_tb_footer .et_pb_text_inner a[href^="mailto:"] { display: inline-block; padding: 8px 0; line-height: 24px; }
  footer.et-l--footer .et_pb_menu_0_tb_footer .et-menu > li { margin-top: 0 !important; margin-bottom: 0 !important; }
  footer.et-l--footer .et_pb_menu_0_tb_footer .et-menu > li > a { padding-top: 13px !important; padding-bottom: 13px !important; }
}
