.rfeg-tabs {
  background-color: #0A0A0F;
  padding: 60px 40px 90px;
}

.rfeg-tabs__nav,
.rfeg-tabs__panels {
  max-width: 1540px;
  width: 100%;
  margin: 0 auto;
}

.rfeg-tabs__nav {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 60px;
  flex-wrap: wrap;
  padding-bottom: 34px;
}

.rfeg-tabs__tab {
  appearance: none;
  background: none;
  border: 0;
  border-bottom: 4px solid transparent;
  color: white;
  cursor: pointer;
  font-family: "neulis-sans", sans-serif;
  display: inline-flex;
  align-items: flex-end;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  padding: 0 0 14px;
  text-align: left;
}

.rfeg-tabs__tab.is-active,
.rfeg-tabs__tab[aria-selected="true"] {
  border-color: #480BB6;
}

.rfeg-tabs__panels {
  width: 100%;
}

.rfeg-tabs__panel[hidden] {
  display: none;
}

.rfeg-tabs__panel > section > .inner,
.rfeg-tabs__panel > div > .inner {
  padding-left: 0;
  padding-right: 0;
}

.rfeg-tabs-editor {
  background: #0A0A0F;
  padding: 60px 40px 90px;
}

.rfeg-tabs__nav--editor {
  padding-bottom: 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(91, 90, 102, 0.4);
}

.rfeg-tabs__placeholder {
  color: #B3B2D2;
  font-size: 1em;
}

.rfeg-tab-panel-editor {
  border: 0;
  padding: 0;
  background: transparent;
}

.editor-styles-wrapper .rfeg-tabs-editor.wp-block,
.editor-styles-wrapper .rfeg-tab-panel-editor.wp-block,
.editor-styles-wrapper .rfeg-tabs-editor.block-editor-block-list__block,
.editor-styles-wrapper .rfeg-tab-panel-editor.block-editor-block-list__block {
  width: 100%;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.editor-styles-wrapper [data-type="rfeg/tabs"].block-editor-block-list__block,
.editor-styles-wrapper [data-type="rfeg/tab-panel"].block-editor-block-list__block {
  width: 100%;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.rfeg-tab-panel-editor + .rfeg-tab-panel-editor {
  margin-top: 16px;
}

.rfeg-tab-panel-editor__title {
  color: white;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1em;
  margin-bottom: 26px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(91, 90, 102, 0.4);
}

.rfeg-tab-panel-editor__content {
  color: white;
  width: 100%;
}

.rfeg-tab-panel-editor__content .block-editor-inner-blocks,
.rfeg-tab-panel-editor__content .block-editor-block-list__layout,
.rfeg-tab-panel-editor__content .block-editor-block-list__layout.is-root-container {
  width: 100%;
  max-width: 100%;
}

.rfeg-tab-panel-editor__content .wp-block,
.rfeg-tab-panel-editor__content .block-list-appender {
  width: 100%;
  max-width: 100%;
}

.rfeg-tab-panel-editor__content > .block-editor-inner-blocks > .block-editor-block-list__layout,
.rfeg-tab-panel-editor__content > .block-editor-inner-blocks > .block-editor-block-list__layout.is-root-container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.rfeg-tab-panel-editor__content > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block,
.rfeg-tab-panel-editor__content > .block-editor-inner-blocks > .block-editor-block-list__layout.is-root-container > .wp-block {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.rfeg-tab-panel-editor__content section > .inner,
.rfeg-tab-panel-editor__content div > .inner {
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.rfeg-tab-panel-editor__content .standings .inner,
.rfeg-tab-panel-editor__content .teams-league .inner,
.rfeg-tab-panel-editor__content .block-documents-tabs .inner {
  max-width: 100%;
}

.rfeg-tab-panel-editor__content .standings__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.rfeg-tab-panel-editor__content .standings__head,
.rfeg-tab-panel-editor__content .standings__row {
  grid-template-columns: 76px 72px minmax(140px, 1fr);
}

.rfeg-tab-panel-editor__content .standings__head span,
.rfeg-tab-panel-editor__content .standings__row span {
  min-width: 0;
}

.rfeg-tab-panel-editor__content .standings__head span:last-child,
.rfeg-tab-panel-editor__content .standings__row span:last-child {
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

.rfeg-tab-panel-editor__content .standings .fx--header {
  margin-bottom: 24px;
}

.rfeg-tab-panel-editor__content .standings .fx--header .title {
  font-size: 2rem;
}

.rfeg-tab-panel-editor__content .standings .fx--header .subtitle {
  font-size: 1.875rem;
}

.rfeg-tab-panel-editor__content .standings__card-title {
  font-size: 2rem;
}

.rfeg-tab-panel-editor__content .standings__head span {
  font-size: 0.875rem;
  padding: 0 6px;
}

.rfeg-tab-panel-editor__content .standings__row span {
  font-size: 1rem;
}

.rfeg-tab-panel-editor__content .standings__row span:first-child,
.rfeg-tab-panel-editor__content .standings__row span:nth-child(2) {
  font-size: 0.9375rem;
}

@media (max-width: 1400px) {
  .rfeg-tab-panel-editor__content .standings__grid {
    grid-template-columns: 1fr;
  }

  .rfeg-tab-panel-editor__content .standings__head,
  .rfeg-tab-panel-editor__content .standings__row {
    grid-template-columns: 76px 72px minmax(0, 1fr);
  }
}

@media (max-width: 1024px) {
  .rfeg-tabs__nav {
    gap: 36px;
  }

  .rfeg-tabs__tab {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .rfeg-tabs,
  .rfeg-tabs-editor {
    padding: 50px 20px 70px;
  }

  .rfeg-tabs__nav {
    gap: 20px;
    padding-bottom: 22px;
  }

  .rfeg-tabs__tab {
    font-size: 20px;
    padding-bottom: 10px;
  }
}
