/* Custom CSS overrides for Labwyze site */

/* Reduce white space at the beginning of sections */
.module,
.module-small {
  padding: 80px 0 !important; /* Reduced from 140px/70px */
}

.module-extra-small {
  padding: 20px 0px !important; /* Reduced from 25px */
}

.module-medium {
  padding: 60px 0px !important; /* Reduced from 75px */
}

/* Specific adjustments for page headers */
.about-page-header,
.portfolio-page-header {
  padding: 100px 0 !important; /* Reduced header space */
  min-height: 300px;
}

/* Reduce top margin on first content section after header */
.about-page-header + .module,
.portfolio-page-header + .module {
  padding-top: 60px !important;
}

/* Fix text overlap in page headers */
.portfolio-page-header .module-title,
.about-page-header .module-title {
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  line-height: 1.2;
  margin-bottom: 10px !important;
}

.portfolio-page-header .module-subtitle,
.about-page-header .module-subtitle {
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

/* Blog section spacing adjustments */
#news.module {
  padding-top: 50px !important;
  padding-bottom: 0 !important;
}

#news .container {
  margin-bottom: 10px;
}

#news .module-subtitle {
  margin-bottom: 5px;
}
