/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/@wordpress/scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/@wordpress/scripts/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./blocks/content-with-toc/src/style.scss ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************/
/**
 * Content with TOC Block - Frontend Styles
 */
.content-with-toc {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg, 1.5rem);
  align-items: start;
  padding: var(--spacing-4xl) 0;
}
@media (min-width: 992px) {
  .content-with-toc {
    grid-template-columns: 3fr 8fr;
    gap: 8.3333333333%;
  }
}
.content-with-toc__sidebar {
  position: sticky;
  top: calc(60px + var(--spacing-md, 1rem));
  z-index: 10;
}
@media (min-width: 768px) {
  .content-with-toc__sidebar {
    top: calc(70px + var(--spacing-md, 1rem));
  }
}
@media (min-width: 992px) {
  .content-with-toc__sidebar {
    top: calc(80px + var(--spacing-2xl, 3rem));
  }
}
.content-with-toc__toc {
  border: solid 1px var(--border-gray);
  border-radius: var(--border-radius-brand);
  padding: var(--spacing-md);
  background-color: var(--white, #fff);
}
@media (min-width: 992px) {
  .content-with-toc__toc {
    padding: var(--spacing-lg) var(--spacing-xl);
  }
}
.content-with-toc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% + 1rem);
  padding: 0 1rem 0 0.5rem;
  margin: 0 -0.5rem;
  background: none;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  text-align: left;
  color: currentColor;
}
@media (min-width: 992px) {
  .content-with-toc__toggle {
    display: none;
  }
}
.content-with-toc__toc-title-desktop {
  display: none;
}
@media (min-width: 992px) {
  .content-with-toc__toc-title-desktop {
    display: block;
    font-family: var(--font-family-serif);
    font-size: var(--font-size-h5);
  }
}
.content-with-toc__toggle-icon {
  width: 12px;
  height: 12px;
  position: relative;
  flex-shrink: 0;
}
.content-with-toc__toggle-icon::before, .content-with-toc__toggle-icon::after {
  content: "";
  position: absolute;
  background-color: currentColor;
  transition: transform 0.2s ease;
}
.content-with-toc__toggle-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
.content-with-toc__toggle-icon::after {
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}
@media (min-width: 992px) {
  .content-with-toc__toggle-icon {
    display: none;
  }
}
.content-with-toc__toggle[aria-expanded=true] .content-with-toc__toggle-icon::after {
  transform: translateX(-50%) rotate(90deg);
}
.content-with-toc__toc-title {
  margin: 0;
}
.content-with-toc__toc > .content-with-toc__toc-title {
  display: none;
}
@media (min-width: 992px) {
  .content-with-toc__toc > .content-with-toc__toc-title {
    display: block;
  }
}
.content-with-toc__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: toc-counter;
  display: none;
  margin-top: var(--spacing-md, 1rem);
}
.content-with-toc__toggle[aria-expanded=true] + .content-with-toc__toc-list {
  display: block;
}
@media (min-width: 992px) {
  .content-with-toc__toc-list {
    display: block;
    margin-top: var(--spacing-md, 1rem);
  }
}
.content-with-toc__toc-item {
  counter-increment: toc-counter;
  margin-bottom: var(--spacing-xs);
}
.content-with-toc__toc-item:last-child {
  margin-bottom: 0;
}
.content-with-toc__toc-item a {
  display: block;
  padding: 2px 0;
  font-family: var(--font-family-sans, sans-serif);
  font-size: var(--font-size-small, 0.875rem);
  line-height: 1.4;
  color: var(--black);
  text-decoration: none;
  transition: color 0.2s ease;
}
.content-with-toc__toc-item a:hover, .content-with-toc__toc-item a:focus {
  text-decoration: underline;
}
.content-with-toc__toc-empty {
  font-size: var(--font-size-small, 0.875rem);
  color: var(--medium-gray, #A9A08C);
  font-style: italic;
  margin: 0;
}
.content-with-toc--no-toc {
  grid-template-columns: 1fr;
}
.content-with-toc__content {
  min-width: 0;
}
.content-with-toc__content > *:first-child {
  margin-top: 0;
}
.content-with-toc__content > *:last-child {
  margin-bottom: 0;
}
.content-with-toc__content h2,
.content-with-toc__content h3,
.content-with-toc__content h4 {
  scroll-margin-top: calc(116px + var(--spacing-lg, 1.5rem));
}
@media (min-width: 768px) {
  .content-with-toc__content h2,
  .content-with-toc__content h3,
  .content-with-toc__content h4 {
    scroll-margin-top: calc(126px + var(--spacing-lg, 1.5rem));
  }
}
@media (min-width: 992px) {
  .content-with-toc__content h2,
  .content-with-toc__content h3,
  .content-with-toc__content h4 {
    scroll-margin-top: calc(80px + var(--spacing-2xl, 3rem));
  }
}

/*# sourceMappingURL=style-index.css.map*/