/* Center Content Area */
.main-content {
  /* max-width: 1000px; */
  margin: 0 auto;
}
.main-content .wp-block-embed {
  margin-left: 0px;
  margin-right: 0px;
}
#pageWrapper[data-v-8f076d18] {
  margin: 0px auto;
}
figure.wp-block-gallery.has-nested-images {
  margin: 0px auto;
}
/* Columns Block */
.wp-block-columns.is-layout-flex,
.wp-container-core-columns-is-layout-1,
.wp-block-columns-is-layout-flex {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .wp-block-columns.is-layout-flex,
  .wp-container-core-columns-is-layout-1,
  .wp-block-columns-is-layout-flex {
    flex-wrap: nowrap;
    /* Prevent wrapping on smaller screens */
    overflow-x: auto;
    /* Allow horizontal scrolling if needed */
  }
  .wp-block-columns.is-layout-flex .wp-block-image img {
    width: 100% !important;
  }

  .wp-block-columns.is-layout-flex {
    flex-wrap: unset !important;
    display: block;
  }

  .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-2
    .wp-block-column {
    flex: 1 1 100%;
    /* Single column per row on mobile */
  }
}

/* Column Block */
.wp-block-column {
  flex: 1 1 calc(33.333% - 1rem);
  box-sizing: border-box;
}

/* Ensure images inside columns are responsive */
.wp-block-column img {
  width: 100%;
  height: auto;
  display: block;
  /* Optional: add some rounding to the images */
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  /* If the provided conditions are met */
  .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-2.wp-block-columns-is-layout-flex
    .wp-block-column {
    flex: 1 1 calc(50% - 1rem);
    /* Two columns per row on larger screens */
  }
}

@media (min-width: 1024px) {
  /* Adjust the above media query as needed for larger screens */
  .wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-2.wp-block-columns-is-layout-flex
    .wp-block-column {
    flex: 1 1 calc(33.333% - 1rem);
    /* Three columns per row on even larger screens */
  }
}

/* Full-width and Wide Alignments */
.wp-block-cover.alignfull,
.wp-block-cover.alignwide,
.wp-block-image.alignfull,
.wp-block-image.alignwide,
.wp-block-columns.alignfull,
.wp-block-columns.alignwide {
  margin-left: calc(50% - 50vw + 75px);
  margin-right: calc(50% - 50vw + 75px);
  width: calc(100vw - 150px);
}

.wp-block-cover__inner-container,
.wp-block-image img {
  width: 100%;
  height: auto;
}

/* Headings */
.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
  color: #000;
  font-family: bbr;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.main-content h1 {
  font-size: 3.24rem;
}

.main-content h2 {
  font-size: 2.6rem;
}

.main-content h3 {
  font-size: 2rem;
}

.main-content h4 {
  font-size: 1.6rem;
}

.main-content h5 {
  font-size: 1.3rem;
}

.main-content h6 {
  font-size: 1.1rem;
}

/* Paragraphs */
.main-content p {
  font-size: 18px;
  line-height: 136%;
  color: #000000;
  font-family: bbr;
  font-weight: 400;
  line-height: 25px;
}
/* Common Spacing for Blocks */

.wp-block-cover,
.wp-block-columns,
.wp-block-media-text,
.wp-block-image {
  margin-top: 2rem;
  margin-bottom: 2rem;
  margin-left: 0px;
  margin-right: 0px;
}

/* Table Styles */
.main-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
  font-family: var(--font-primary);
}

.main-content table th,
.main-content table td {
  padding: 1rem;
  border: 1px solid #ddd;
  text-align: left;
}

.main-content table th {
  background-color: #f4f4f4;
  font-family: var(--font-primary-bold);
}

.main-content table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.main-content table tbody tr:hover {
  background-color: #f1f1f1;
}

/* Responsive Table - Horizontal Scrolling */
@media (max-width: 768px) {
  .main-content .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }

  .main-content .table-wrapper table {
    width: 100%; /* Optional: Expand table to full width inside the wrapper */
    min-width: 600px; /* Minimum width to maintain table structure */
  }
}
/* List Styles within Main Content */
.main-content ul,
.main-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  color: #000000;
  line-height: 1.5rem;
}

/* List Items */
.main-content ul li,
.main-content ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  position: relative;
}

/* Unordered List Items */
.main-content ul li::before {
  content: "•";
  position: absolute;
  left: -1rem;
  color: #000;
  font-size: 1.5rem;
  line-height: 1rem;
}

/* Ordered List Items */
.main-content ol {
  counter-reset: list-counter;
}

.main-content ol li {
  counter-increment: list-counter;
}

.main-content ol li::before {
  content: counter(list-counter) ".";
  position: absolute;
  left: -1.5rem;
  color: #000;
  font-size: 1rem;
  line-height: 1rem;
}

/* Nested Lists */
.main-content ul ul,
.main-content ul ol,
.main-content ol ul,
.main-content ol ol {
  margin: 0.5rem 0 0.5rem 1.5rem;
  padding-left: 1rem;
}

.main-content ul ul li::before,
.main-content ul ol li::before,
.main-content ol ul li::before,
.main-content ol ol li::before {
  content: "–";
  position: absolute;
  left: -1rem;
  color: #000;
  font-size: 1rem;
  line-height: 1rem;
}
/* Video Block Styles */
.wp-block-video {
  margin: 2rem 0; /* Adjust margin as needed */
}

/* Set max-width for the video */
.wp-block-video video {
  width: 100%; /* Ensure video spans full width */
}

/* Full-width Video */
.wp-block-video.alignfull video,
.wp-block-video.alignwide video {
  margin-left: calc(50% - 50vw + 75px);
  margin-right: calc(50% - 50vw + 75px);
  width: calc(100vw - 150px);
}
/* YouTube Video Styles */
.wp-block-embed__wrapper iframe {
  width: 100%; /* Ensure the video spans full width */
  height: auto; /* Maintain aspect ratio */
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the video horizontally */
}
/* YouTube Video Styles */
.wp-block-embed__wrapper {
  position: relative; /* Position the wrapper for aspect ratio */
  width: 100%; /* Ensure the video spans full width */
  padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
}

.wp-block-embed__wrapper iframe {
  position: absolute; /* Position the iframe within the wrapper */
  width: 100%; /* Ensure the video spans full width */
  height: 100%; /* Ensure the video spans full height of wrapper */
  top: 0;
  left: 0;
}
/* Text Tags */
.main-content strong {
  font-family: var(--font-primary-bold);
}

.main-content b {
  font-family: var(--font-primary-bold);
}

.main-content em {
  font-style: italic;
  font-family: var(--font-primary);
}

.main-content i {
  font-style: italic;
  font-family: var(--font-primary);
}

.main-content span {
  font-family: var(--font-primary);
}

.main-content small {
  font-size: 0.8rem;
  font-family: var(--font-primary);
}

.main-content article {
  font-family: var(--font-primary);
}

/* Responsive Padding for Text and Images */
@media (max-width: 993px) {
  .main-content p,
  .main-content h1,
  .main-content h2,
  .main-content h3,
  .main-content h4,
  .main-content h5,
  .main-content h6,
  .main-content ul,
  .main-content ol,
  .main-content img {
    padding-left: 0px;
    padding-right: 0px;
  }
  .main-content ul {
    margin-left: 20px;
  }

  /* Remove padding for full-width and wide elements */
  .main-content .wp-block-cover.alignfull,
  .main-content .wp-block-cover.alignwide,
  .main-content .wp-block-image.alignfull,
  .main-content .wp-block-image.alignwide,
  .main-content .wp-block-columns.alignfull,
  .main-content .wp-block-columns.alignwide,
  .main-content .wp-block-embed__wrapper.alignfull,
  .main-content .wp-block-embed__wrapper.alignwide {
    padding-left: 0;
    padding-right: 0;
    margin-left: calc(50% - 50vw + 20px);
    margin-right: calc(50% - 50vw + 20px);
    width: calc(100vw - 40px);
  }
  .wp-block-video.alignfull video,
  .wp-block-video.alignwide video {
    margin-left: calc(50% - 50vw + 20px);
    margin-right: calc(50% - 50vw + 20px);
    width: calc(100vw - 40px);
  }
  .main-content .slick-next {
    right: 10px !important;
  }
  .main-content .slick-prev {
    left: 10px !important;
  }
}
.blocks-gallery-grid:not(.has-nested-images),
.wp-block-gallery:not(.has-nested-images) {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  margin: 0 1em 1em 0;
  position: relative;
  width: calc(50% - 1em);
}
.blocks-gallery-grid:not(.has-nested-images)
  .blocks-gallery-image:nth-of-type(2n),
.blocks-gallery-grid:not(.has-nested-images)
  .blocks-gallery-item:nth-of-type(2n),
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n) {
  margin-right: 0;
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figure {
  align-items: flex-end;
  display: flex;
  height: 100%;
  justify-content: flex-start;
  margin: 0;
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image img,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item img {
  display: block;
  height: auto;
  max-width: 100%;
  width: auto;
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption {
  background: linear-gradient(0deg, #000000b3, #0000004d 70%, #0000);
  bottom: 0;
  box-sizing: border-box;
  color: #fff;
  font-size: 0.8em;
  margin: 0;
  max-height: 100%;
  overflow: auto;
  padding: 3em 0.77em 0.7em;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 2;
}
.blocks-gallery-grid:not(.has-nested-images)
  .blocks-gallery-image
  figcaption
  img,
.blocks-gallery-grid:not(.has-nested-images)
  .blocks-gallery-item
  figcaption
  img,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption img,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption img {
  display: inline;
}
.blocks-gallery-grid:not(.has-nested-images) figcaption,
.wp-block-gallery:not(.has-nested-images) figcaption {
  flex-grow: 1;
}
.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image a,
.blocks-gallery-grid:not(.has-nested-images).is-cropped
  .blocks-gallery-image
  img,
.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item a,
.blocks-gallery-grid:not(.has-nested-images).is-cropped
  .blocks-gallery-item
  img,
.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image a,
.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image img,
.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item a,
.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item img {
  flex: 1;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image,
.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item,
.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image,
.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item {
  margin-right: 0;
  width: 100%;
}
@media (min-width: 600px) {
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item {
    margin-right: 1em;
    width: calc(33.33333% - 0.66667em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item {
    margin-right: 1em;
    width: calc(25% - 0.75em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item {
    margin-right: 1em;
    width: calc(20% - 0.8em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item {
    margin-right: 1em;
    width: calc(16.66667% - 0.83333em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item {
    margin-right: 1em;
    width: calc(14.28571% - 0.85714em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image,
  .blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item,
  .wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image,
  .wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item {
    margin-right: 1em;
    width: calc(12.5% - 0.875em);
  }
  .blocks-gallery-grid:not(.has-nested-images).columns-1
    .blocks-gallery-image:nth-of-type(1n),
  .blocks-gallery-grid:not(.has-nested-images).columns-1
    .blocks-gallery-item:nth-of-type(1n),
  .blocks-gallery-grid:not(.has-nested-images).columns-2
    .blocks-gallery-image:nth-of-type(2n),
  .blocks-gallery-grid:not(.has-nested-images).columns-2
    .blocks-gallery-item:nth-of-type(2n),
  .blocks-gallery-grid:not(.has-nested-images).columns-3
    .blocks-gallery-image:nth-of-type(3n),
  .blocks-gallery-grid:not(.has-nested-images).columns-3
    .blocks-gallery-item:nth-of-type(3n),
  .blocks-gallery-grid:not(.has-nested-images).columns-4
    .blocks-gallery-image:nth-of-type(4n),
  .blocks-gallery-grid:not(.has-nested-images).columns-4
    .blocks-gallery-item:nth-of-type(4n),
  .blocks-gallery-grid:not(.has-nested-images).columns-5
    .blocks-gallery-image:nth-of-type(5n),
  .blocks-gallery-grid:not(.has-nested-images).columns-5
    .blocks-gallery-item:nth-of-type(5n),
  .blocks-gallery-grid:not(.has-nested-images).columns-6
    .blocks-gallery-image:nth-of-type(6n),
  .blocks-gallery-grid:not(.has-nested-images).columns-6
    .blocks-gallery-item:nth-of-type(6n),
  .blocks-gallery-grid:not(.has-nested-images).columns-7
    .blocks-gallery-image:nth-of-type(7n),
  .blocks-gallery-grid:not(.has-nested-images).columns-7
    .blocks-gallery-item:nth-of-type(7n),
  .blocks-gallery-grid:not(.has-nested-images).columns-8
    .blocks-gallery-image:nth-of-type(8n),
  .blocks-gallery-grid:not(.has-nested-images).columns-8
    .blocks-gallery-item:nth-of-type(8n),
  .wp-block-gallery:not(.has-nested-images).columns-1
    .blocks-gallery-image:nth-of-type(1n),
  .wp-block-gallery:not(.has-nested-images).columns-1
    .blocks-gallery-item:nth-of-type(1n),
  .wp-block-gallery:not(.has-nested-images).columns-2
    .blocks-gallery-image:nth-of-type(2n),
  .wp-block-gallery:not(.has-nested-images).columns-2
    .blocks-gallery-item:nth-of-type(2n),
  .wp-block-gallery:not(.has-nested-images).columns-3
    .blocks-gallery-image:nth-of-type(3n),
  .wp-block-gallery:not(.has-nested-images).columns-3
    .blocks-gallery-item:nth-of-type(3n),
  .wp-block-gallery:not(.has-nested-images).columns-4
    .blocks-gallery-image:nth-of-type(4n),
  .wp-block-gallery:not(.has-nested-images).columns-4
    .blocks-gallery-item:nth-of-type(4n),
  .wp-block-gallery:not(.has-nested-images).columns-5
    .blocks-gallery-image:nth-of-type(5n),
  .wp-block-gallery:not(.has-nested-images).columns-5
    .blocks-gallery-item:nth-of-type(5n),
  .wp-block-gallery:not(.has-nested-images).columns-6
    .blocks-gallery-image:nth-of-type(6n),
  .wp-block-gallery:not(.has-nested-images).columns-6
    .blocks-gallery-item:nth-of-type(6n),
  .wp-block-gallery:not(.has-nested-images).columns-7
    .blocks-gallery-image:nth-of-type(7n),
  .wp-block-gallery:not(.has-nested-images).columns-7
    .blocks-gallery-item:nth-of-type(7n),
  .wp-block-gallery:not(.has-nested-images).columns-8
    .blocks-gallery-image:nth-of-type(8n),
  .wp-block-gallery:not(.has-nested-images).columns-8
    .blocks-gallery-item:nth-of-type(8n) {
    margin-right: 0;
  }
}
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:last-child,
.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:last-child,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:last-child,
.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:last-child {
  margin-right: 0;
}
.blocks-gallery-grid:not(.has-nested-images).alignleft,
.blocks-gallery-grid:not(.has-nested-images).alignright,
.wp-block-gallery:not(.has-nested-images).alignleft,
.wp-block-gallery:not(.has-nested-images).alignright {
  max-width: 420px;
  width: 100%;
}
.blocks-gallery-grid:not(.has-nested-images).aligncenter
  .blocks-gallery-item
  figure,
.wp-block-gallery:not(.has-nested-images).aligncenter
  .blocks-gallery-item
  figure {
  justify-content: center;
}
.wp-block-gallery:not(.is-cropped) .blocks-gallery-item {
  align-self: flex-start;
}
figure.wp-block-gallery.has-nested-images {
  align-items: normal;
}
.wp-block-gallery.has-nested-images
  figure.wp-block-image:not(#individual-image) {
  margin: 0;
  width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) / 2);
}
.wp-block-gallery.has-nested-images figure.wp-block-image {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  max-width: 100%;
  position: relative;
}
.wp-block-gallery.has-nested-images figure.wp-block-image > a,
.wp-block-gallery.has-nested-images figure.wp-block-image > div {
  flex-direction: column;
  flex-grow: 1;
  margin: 0;
}
.wp-block-gallery.has-nested-images figure.wp-block-image img {
  display: block;
  height: auto;
  max-width: 100% !important;
  width: auto;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: linear-gradient(0deg, #000000b3, #0000004d 70%, #0000);
  bottom: 0;
  box-sizing: border-box;
  color: #fff;
  font-size: 13px;
  left: 0;
  margin-bottom: 0;
  max-height: 60%;
  overflow: auto;
  padding: 0 8px 8px;
  position: absolute;
  scrollbar-color: #0000 #0000;
  scrollbar-gutter: stable both-edges;
  scrollbar-width: thin;
  text-align: center;
  width: 100%;
  will-change: transform;
}
.wp-block-gallery.has-nested-images
  figure.wp-block-image
  figcaption::-webkit-scrollbar {
  height: 12px;
  width: 12px;
}
.wp-block-gallery.has-nested-images
  figure.wp-block-image
  figcaption::-webkit-scrollbar-track {
  background-color: initial;
}
.wp-block-gallery.has-nested-images
  figure.wp-block-image
  figcaption::-webkit-scrollbar-thumb {
  background-clip: padding-box;
  background-color: initial;
  border: 3px solid #0000;
  border-radius: 8px;
}
.wp-block-gallery.has-nested-images
  figure.wp-block-image
  figcaption:focus-within::-webkit-scrollbar-thumb,
.wp-block-gallery.has-nested-images
  figure.wp-block-image
  figcaption:focus::-webkit-scrollbar-thumb,
.wp-block-gallery.has-nested-images
  figure.wp-block-image
  figcaption:hover::-webkit-scrollbar-thumb {
  background-color: #fffc;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus,
.wp-block-gallery.has-nested-images
  figure.wp-block-image
  figcaption:focus-within,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover {
  scrollbar-color: #fffc #0000;
}
@media (hover: none) {
  .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    scrollbar-color: #fffc #0000;
  }
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img {
  display: inline;
}
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a {
  color: inherit;
}
.wp-block-gallery.has-nested-images
  figure.wp-block-image.has-custom-border
  img {
  box-sizing: border-box;
}
.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border > a,
.wp-block-gallery.has-nested-images
  figure.wp-block-image.has-custom-border
  > div,
.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded > a,
.wp-block-gallery.has-nested-images
  figure.wp-block-image.is-style-rounded
  > div {
  flex: 1 1 auto;
}
.wp-block-gallery.has-nested-images
  figure.wp-block-image.has-custom-border
  figcaption,
.wp-block-gallery.has-nested-images
  figure.wp-block-image.is-style-rounded
  figcaption {
  background: none;
  color: inherit;
  flex: initial;
  margin: 0;
  padding: 10px 10px 9px;
  position: relative;
}
.wp-block-gallery.has-nested-images figcaption {
  flex-basis: 100%;
  flex-grow: 1;
  text-align: center;
}
.wp-block-gallery.has-nested-images:not(.is-cropped)
  figure.wp-block-image:not(#individual-image) {
  margin-bottom: auto;
  margin-top: 0;
}
.wp-block-gallery.has-nested-images.is-cropped
  figure.wp-block-image:not(#individual-image) {
  align-self: inherit;
}
.wp-block-gallery.has-nested-images.is-cropped
  figure.wp-block-image:not(#individual-image)
  > a,
.wp-block-gallery.has-nested-images.is-cropped
  figure.wp-block-image:not(#individual-image)
  > div:not(.components-drop-zone) {
  display: flex;
}
.wp-block-gallery.has-nested-images.is-cropped
  figure.wp-block-image:not(#individual-image)
  a,
.wp-block-gallery.has-nested-images.is-cropped
  figure.wp-block-image:not(#individual-image)
  img {
  flex: 1 0 0%;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.wp-block-gallery.has-nested-images.columns-1
  figure.wp-block-image:not(#individual-image) {
  width: 100%;
}
@media (min-width: 600px) {
  .wp-block-gallery.has-nested-images.columns-3
    figure.wp-block-image:not(#individual-image) {
    width: calc(
      33.33333% - var(--wp--style--unstable-gallery-gap, 16px) * 0.66667
    );
  }
  .wp-block-gallery.has-nested-images.columns-4
    figure.wp-block-image:not(#individual-image) {
    width: calc(25% - var(--wp--style--unstable-gallery-gap, 16px) * 0.75);
  }
  .wp-block-gallery.has-nested-images.columns-5
    figure.wp-block-image:not(#individual-image) {
    width: calc(20% - var(--wp--style--unstable-gallery-gap, 16px) * 0.8);
  }
  .wp-block-gallery.has-nested-images.columns-6
    figure.wp-block-image:not(#individual-image) {
    width: calc(
      16.66667% - var(--wp--style--unstable-gallery-gap, 16px) * 0.83333
    );
  }
  .wp-block-gallery.has-nested-images.columns-7
    figure.wp-block-image:not(#individual-image) {
    width: calc(
      14.28571% - var(--wp--style--unstable-gallery-gap, 16px) * 0.85714
    );
  }
  .wp-block-gallery.has-nested-images.columns-8
    figure.wp-block-image:not(#individual-image) {
    width: calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px) * 0.875);
  }
  .wp-block-gallery.has-nested-images.columns-default
    figure.wp-block-image:not(#individual-image) {
    width: calc(
      33.33% - var(--wp--style--unstable-gallery-gap, 16px) * 0.66667
    );
  }
  .wp-block-gallery.has-nested-images.columns-default
    figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),
  .wp-block-gallery.has-nested-images.columns-default
    figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)
    ~ figure.wp-block-image:not(#individual-image) {
    width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) * 0.5);
  }
  .wp-block-gallery.has-nested-images.columns-default
    figure.wp-block-image:not(#individual-image):first-child:last-child {
    width: 100%;
  }
}
.wp-block-gallery.has-nested-images.alignleft,
.wp-block-gallery.has-nested-images.alignright {
  max-width: 420px;
  width: 100%;
}
.wp-block-gallery.has-nested-images.aligncenter {
  justify-content: center;
}

@media (max-width: 993px) {
  figure.wp-block-gallery.has-nested-images {
    padding: 0px 0px;
    margin: 0px;
  }

  figure.wp-block-gallery.has-nested-images img {
    padding: 0px !important;
  }
  .wp-block-video {
    padding: 0px 0px;
  }
}
