/*
Theme Name: Nick Portfolio Theme
Description: A monochrome black and white portfolio block theme for showcasing projects.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Author: Custom Theme
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nick-portfolio-theme
Tags: block-theme, one-column, portfolio, black-and-white, accessibility-ready
*/

.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before {
  display: none !important;
}

.wp-block-gallery .wp-element-caption,
.wp-block-image .wp-element-caption {
  font-size: 1rem !important;
  line-height: 1.2 !important;
  text-shadow: none !important;
}

.no-first-bullet {
  padding-left: 1.2em; /* keep bullet items aligned normally */
}

.no-first-bullet li:first-child {
  list-style: none !important; /* remove bullet */
  margin-left: -1.2em !important; /* pull ONLY the first item left */
}

/* Any separator inside the "narrow-separators" block */
.narrow-separators .wp-block-separator {
  max-width: 80%;      /* only half the page width */
  margin-left: auto;   /* center horizontally */
  margin-right: auto;
}

.narrow-paragraph {
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}


.multi-lists-center {
  display: flex;
  justify-content: center;   /* center as a group */
  align-items: flex-start;
  gap: 4rem;                 /* adjust spacing between lists */
  width: fit-content;        /* shrink-wrap to the content */
  margin-left: auto;
  margin-right: auto;        /* center in the page */
  flex-wrap: nowrap;           /* stack on mobile */
}


@media (max-width: 768px) {
  .narrow-paragraph {
    max-width: 90%;
  }

  .multi-lists-center {
    gap: 1rem;                 
    flex-wrap: wrap;           
  }

  .multi-lists-center > * {
    flex: 0 0 calc(50% - 0.5rem); 
  }
}