/* ==================================================
   GadgetGems Unified Sub-Hub Layout
   Applies to: Voice, Writing, Video, Image hubs
   ================================================== */

.gg-home-shell {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Remove GeneratePress inner padding inside hubs */
.gg-home-shell .wp-block-group__inner-container {
  padding: 0 !important;
}

/* Disable alignwide / alignfull bleed inside hubs */
.gg-home-shell .alignwide,
.gg-home-shell .alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Consistent vertical rhythm */
.gg-home-shell > h2,
.gg-home-shell > section {
  margin-top: 32px;
}

/* Normalize lists */
.gg-home-shell ul {
  padding-left: 0;
  list-style-position: inside;
}

/* Hub grid consistency */
.gg-home-shell .gg-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .gg-home-shell {
    padding-left: 0;
    padding-right: 0;
  }
}
