/*
Theme Name: Theatre WP Child
Theme URI: 
Author: Curly Themes
Author URI: 
Description: Child Theme for Theatre WP Theme
Version: 1
Template: theatre-wp

*/
@import url("../theatre-wp/style.css");

/* ---------- Collapse vertical gaps (aggressive) ---------- */

/* normalize box sizing just in case */
html, body, .vc_row, .vc_row * {
  box-sizing: border-box;
}

/* Core WPBakery rows */
.vc_row,
.vc_row.wpb_row,
.vc_row.vc_row-fluid,
.vc_row.vc_row-o-full-height,
.vc_row.vc_row-o-equal-height {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Inner rows */
.vc_row .vc_row_inner,
.vc_row_inner,
.vc_inner.vc_row {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Column-level padding that commonly creates vertical gaps */
.vc_column_container > .vc_column-inner,
.wpb_column .vc_column-inner,
.wpb_column .wpb_wrapper {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Theme content wrappers that may add spacing */
.content-area,
.entry-content,
.page-content,
.section,
.theatre-container,
.theatre-content,
.main-content,
.site-content {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Adjacent row separators */
.vc_row + .vc_row,
.section + .section,
.vc_row + .section,
.section + .vc_row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* If theme injects pseudo-element separators, hide them */
.vc_row::before,
.vc_row::after,
.section::before,
.section::after,
.content-area::before,
.content-area::after {
  display: none !important;
  content: none !important;
}

/* Slight consistent vertical rhythm you can tweak (feel free to change 1.25rem) */
.vc_row {
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

/* Tighten for mobile */
@media (max-width: 767px) {
  .vc_row { padding-top: 0.9rem !important; padding-bottom: 0.9rem !important; }
}

/* Page-specific selector example (replace 123 with page id) */
/* .page-id-123 .vc_row { padding-top: 2rem !important; padding-bottom: 2rem !important; } */
/* Reduce spacing between WPBakery rows */
.vc_row {
  margin-bottom: 15px !important; /* try 10–25px depending on your design */
}

/* Ensure columns inside rows don’t create extra vertical gaps */
.vc_column_container > .vc_column-inner {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}