/* Separator block styling for accent color and spacing */
.wp-block-separator:not(.is-style-dots) {
  border-color: var(--fgt-primary-color) !important;
  background-color: var(--fgt-primary-color) !important;
  margin-bottom: 2em !important;
  margin-top: 2em !important;
  height: 1px;
  opacity: 1;
}

.wp-block-separator.is-style-dots {
  border: none;
  background: none;
  height: auto;
  opacity: 1;
  display: block;
  text-align: center;
  position: relative;
}

.wp-block-separator.is-style-dots::before {
  content: '\2022\2022\2022\2022\2022\2022\2022\2022\2022\2022'; /* 5 bullet dots */
  color: var(--fgt-accent-color);
  font-size: 0.75em;
  letter-spacing: 2.5em;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
}

/* Remove box and shadow from columns with .no-box class */
.wp-block-column.no-box {
  border: none !important;
  box-shadow: none !important;
  background: none !important;
}
/* FGT Theme WP Editor Overrides */

/* Headings */

/* Headings - match frontpage and style.css */
h1, h1.wp-block-heading, .wp-block-heading.h1 {
  font-size: 2rem;
  font-weight: var(--fgt-primary-font-weight);
  color: var(--fgt-heading-text-color);
  line-height: 1.12;
  margin: 1em 0 0.67em 0;
}
h2, h2.wp-block-heading, .wp-block-heading.h2 {
  font-size: 1.75rem;
  font-weight: var(--fgt-primary-font-weight);
  color: var(--fgt-heading-text-color);
  line-height: 1.16;
  margin: 0.83em 0;
}
h3, h3.wp-block-heading, .wp-block-heading.h3 {
  font-size: 1.5rem;
  font-weight: var(--fgt-primary-font-weight);
  color: var(--fgt-heading-text-color);
  line-height: 1.2;
  margin: 0 0 0.1em 0;
}
h4, h4.wp-block-heading, .wp-block-heading.h4 {
  color: var(--fgt-black);
}

/* Paragraphs */
.wp-block-paragraph, p {
  font-size: 1.08rem;
  color: var(--fgt-general-text-color);
  line-height: 1.5;
  margin-bottom: 1.2em;
}

/* Links */
.wp-block a, a {
  color: var(--fgt-primary-color);
  text-decoration: none;
  transition: color 0.2s;
}
.wp-block a:hover, a:hover {
  color: var(--fgt-secondary-color);
  text-decoration: underline;
}

/* Images */
.wp-block-image img, img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-sizing: border-box;
  display: block;
  margin: 0 auto 1em auto;
}

/* Columns & Rows */

/* Columns - let them fill available space and be central */
.wp-block-columns {
  display: flex;
  gap: 2em;
  margin: 0 auto 2em auto;
  max-width: 100%;
}
.wp-block-column {
  flex: 1 1 0;
  background: var(--fgt-white);
  border-radius: 8px;
  padding: 1.5em;
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
  border: 1.5px solid var(--fgt-primary-color);
  margin: 0 0.5em;
}

/* Buttons */
.wp-block-button__link, .button {
  background: var(--fgt-primary-color);
  color: var(--fgt-white);
  border-radius: 6px;
  padding: 0.7em 2.1em;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  display: inline-block;
  box-shadow: none;
  border: none;
}
.wp-block-button__link:hover {
  background: var(--fgt-secondary-color);
}

/* Lists */
.wp-block-list, ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
  color: var(--fgt-general-text-color);
}
.wp-block-list li, ul li, ol li {
  margin-bottom: 0.5em;
}

/* Quotes */
.wp-block-quote, blockquote {
  border-left: 4px solid var(--fgt-primary-color);
  padding-left: 1em;
  color: var(--fgt-general-text-color);
  font-style: italic;
  margin: 1.5em 0;
}

/* Responsive columns */
@media (max-width: 900px) {
  .wp-block-columns {
    flex-direction: column;
    gap: 1em;
  }
  .wp-block-column {
    width: 100%;
    margin: 0 0 1em 0;
  }
}


.committee-grid .wp-block-column {
  text-align: center;
  padding: 1rem;
}
.committee-grid img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-bottom: 0.75rem;
}
.committee-grid h5 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
}
.committee-grid p {
  color: #555;
  font-size: 0.9rem;
}
.committee-section h4 {
  margin-top: 1.5rem;
  border-bottom: 2px solid #ddd;
  display: inline-block;
  padding-bottom: 0.25rem;
}
