/*
 * DO NOT EDIT THIS FILE.
 * See the following change record for more information,
 * https://www.drupal.org/node/3084859
 * @preserve
 */

/**
 * @file
 * Text Content.
 */

.text-content,
.cke_editable {
  color: var(--color-text-neutral-medium);
  font-family: var(--font-serif);
  line-height: var(--sp1-5);

  /*
    @todo

    text-decoration-thickness is supported by FF & Safari
    text-underline-offset is supported by Safari

    text-decoration-color supported by Chrome, FF, & Safari
  */
}

.text-content a:where(:not(.button)),
.cke_editable a:where(:not(.button)) {
  color: var(--color-text-primary-medium);
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
  overflow-wrap: break-word;
}

@supports (box-shadow: none) {
  .text-content a:where(:not(.button)),
  .cke_editable a:where(:not(.button)) {
    transition: box-shadow 0.3s cubic-bezier(0.55, 0.085, 0, 0.99);
    -webkit-text-decoration: none;
    text-decoration: none;
    box-shadow: inset 0 -2px 0 0 var(--color--primary-50);
  }

  .text-content a:where(:not(.button)):hover,
  .cke_editable a:where(:not(.button)):hover {
    -webkit-text-decoration: underline;
    text-decoration: underline;
    color: var(--color--black);
    box-shadow: inset 0 -2em 0 0 var(--color--primary-80);
    text-decoration-color: var(--color--primary-80);
  }
}

.text-content p,
.cke_editable p {
  margin-block-start: var(--sp);
  margin-block-end: var(--sp);
  font-family: "metropolis", sans-serif;
}

.text-content p:first-child,
.cke_editable p:first-child {
  margin-block-start: 0;
}

.text-content p:last-child,
.cke_editable p:last-child {
  margin-block-end: 0;
}

/****************************************************
 * OVERRIDES
 ****************************************************/
.text-content p.mt-2,
.cke_editable p.mt-2 {
  margin-block-start: 2rem;
}

@media (min-width: 43.75rem) {
  .text-content p,
  .cke_editable p {
    margin-block-start: var(--sp2);
    margin-block-end: var(--sp2);
  }
}

.text-content code,
.cke_editable code {
  background-color: var(--color--gray-100);
}

.text-content pre code,
.cke_editable pre code {
  display: block;
  overflow: auto;
  padding-block: var(--sp);
  padding-inline-start: var(--sp);
  padding-inline-end: var(--sp);
  color: var(--color-text-neutral-soft);
}

.text-content blockquote,
.cke_editable blockquote {
  position: relative;
  margin-block: var(--sp2);
  margin-inline-start: 0;
  margin-inline-end: 0;
  padding-inline-start: var(--sp2);
  letter-spacing: -0.01em;
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  line-height: var(--sp2);
}

.text-content blockquote::before,
.cke_editable blockquote::before {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  content: "\201C";
  color: var(--color--primary-60);
  font-size: 3.375rem;
}

.text-content blockquote::after,
.cke_editable blockquote::after {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: var(--sp0-5);
  height: calc(100% - 1.875rem);
  margin-inline-start: 0.25rem;
  content: "";
  background: var(--color--gray-100);
}

@media (min-width: 43.75rem) {
  .text-content blockquote,
  .cke_editable blockquote {
    font-size: 2rem;
    line-height: var(--sp3);
  }
}

@media (min-width: 62.5rem) {
  .text-content blockquote,
  .cke_editable blockquote {
    font-size: 2.5rem;
    line-height: var(--sp3-5);
  }
}

@media (min-width: 43.75rem) {
  .text-content,
  .cke_editable {
    font-size: 1.125rem;
    line-height: var(--sp2);
  }
}

/**
 * Special colors for footer that has a dark background.
 */
.site-footer .text-content .connect-with-us-icons {
  display: flex;
  justify-content: flex-start;
}

.site-footer .text-content {
  color: inherit;
}

.site-footer .text-content * {
  color: inherit;
}

.site-footer .text-content a {
  -webkit-text-decoration: underline;
  text-decoration: underline;
  color: var(--color--white);
  box-shadow: none;
}

.site-footer .text-content a:hover {
  -webkit-text-decoration: none;
  text-decoration: none;
  color: var(--color--white);
  box-shadow: none;
}

/**
 * Decrease font-size for blockquote placed in sidebar region.
 */

@media (min-width: 62.5rem) {
  .region--sidebar .text-content blockquote {
    font-size: 1.5rem;
    line-height: var(--sp2);
  }
}

/* Custom Overrides */

.site-footer .text-content .footerlinks-flexbox-container {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  align-content: center;
}

.footerlinks-flex-item-header {
  text-transform: uppercase;
}

.site-footer .text-content .connect-with-us-block {
  display: block;
  flex-basis: calc(100% - 2rem);
  font-family: "metropolis", sans-serif;
  margin: 1rem;
}

.site-footer .text-content .connect-with-us {
  display: block;
  flex-direction: row;
  flex-basis: calc(100% - 2rem);
  padding: 3rem 2rem;
}

.site-footer .text-content .connect-with-us-icons .footerlinks-flex-item {
  margin: 0 1.5rem;
}

.site-footer
  .text-content
  .connect-with-us-icons
  .footerlinks-flex-item:first-child {
  margin: 0 1.5rem 0 0;
}

.site-footer
  .text-content
  .connect-with-us-icons
  .footerlinks-flex-item:last-child {
  margin: 0 0 0 1.5rem;
}

.site-footer .text-content .connect-with-us-icons div svg {
  width: 20px;
  height: auto;
  transition: fill 0.3s ease;
  fill: #f7f9fc;
}

.site-footer .text-content .connect-with-us-icons div:hover svg {
  fill: #fb6340;
}

.site-footer .text-content .footerlinks-flexbox-item {
  flex-basis: calc(33% - 2rem);
  font-family: "metropolis", sans-serif;
  font-size: 0.999rem;
  margin: 1rem;
}

.site-footer .text-content .footerlinks-flex-item a {
  text-decoration: none;
}

.site-footer .text-content .copyright-block {
  font-family: "metropolis", sans-serif;
  font-size: 0.999rem;
}

.site-footer .text-content .hr-line hr {
  border-color: rgba(255, 255, 255, 0.1);
}

.site-footer .text-content .copyright-block a {
  text-decoration: none;
  color: #b5b4b4;
  font-family: "metropolis", sans-serif;
}

/* Common button styles */
a.button-white,
.text-content a.button-white,
.button-white,
a.button-blue,
.text-content a.button-blue,
.button-blue,
.button-blue-text,
a.button-orange,
.text-content a.button-orange,
.button-orange,
a.button-gray,
.text-content a.button-gray,
.button-gray,
a.button-orange-shadow,
.text-content a.button-orange-shadow,
.button-organge-shadow {
  padding: 0.65rem 1.5rem;
  font-size: 0.8rem;
  font-family: system-ui, sans-serif;
  border-radius: 0.3rem;
  text-transform: uppercase;
  display: inline-block;
  line-height: 1;
  box-shadow: none;
  text-decoration: none;
}

/* White button */
a.button-white,
.text-content a.button-white,
.button-white {
  color: #0a4d8b;
  background-color: #ffffff;
  border-color: #ffffff;
  font-weight: 600;
}

/* Blue button */
a.button-blue,
.text-content a.button-blue,
.button-blue {
  color: #ffffff;
  background-color: #0a4d8b;
  border-color: #0a4d8b;
  font-size: 1rem;
}

/* Blue Text button */
.button-blue-text {
  color: #0a4d8b;
  background: none;
  border-color: #0a4d8b;
  line-height: unset;
}

/* Orange button */
a.button-orange,
.text-content a.button-orange,
.button-orange {
  padding: 0.7rem 1.4rem;
  color: #ffffff;
  background-color: #fb6340;
  border-color: #fb6340;
  font-size: 0.9rem;
  font-weight: 300;
}

/* Gray shadow button */
a.button-gray,
.text-content a.button-gray,
.button-gray {
  color: #2e6cd7;
  background-color: transparent;
  border-color: #686868;
  padding: 1rem 1.5rem;
  border-radius: 0.4rem;
  margin: 1em;
  box-shadow: inset 0 -2px 0 0 #868686;
}

/* Orange shadow button */
a.button-orange-shadow,
.text-content a.button-orange-shadow,
.button-orange-shadow {
  color: #2e6cd7;
  background-color: transparent;
  border-color: #686868;
  padding: 1rem 1.5rem;
  border-radius: 0.4rem;
  margin: 1em;
  box-shadow: inset 0 -2px 0 0 #d85920;
}

.main-content__container .button-white,
.main-content__container .button-blue-text,
.main-content__container .button-blue,
.main-content__container .button-gray,
.main-content__container .button-orange,
.main-content__container .button-orange-shadow {
  font-size: 1rem;
}

/* Hover styles */
a.button-white:hover,
.text-content a.button-white:hover,
.button-white:hover,
a.button-blue:hover,
.text-content a.button-blue:hover,
.button-blue-hover,
.button-blue-text:hover,
a.button-orange:hover,
.text-content a.button-orange:hover,
.button-orange:hover,
#wallet-connect-button.is-disabled:hover,
a.button-gray:hover,
.text-content a.button-gray:hover,
.button-gray:hover,
a.button-orange-shadow:hover,
.text-content a.button-orange-shadow:hover,
.button-orange-shadow:hover,
#global-wallet-connect.is-disabled:hover {
  background-color: #333333;
  color: #ffffff;
  box-shadow: none;
  text-decoration: none;
}

.banner-section-wrapper a.button-white {
  padding: 1rem 2rem;
  font-size: 0.95rem;
}

@media only screen and (min-width: 36.875rem) {
  /* for css/components/text-content.css overriden by line 312 */
  /* min-width: 36.875rem */
  .text-content a.button-orange {
    padding: 0.7rem 1.4rem;
  }
}

@media only screen and (max-width: 36.813rem) {
  /* for css/components/text-content.css overriden by line 312 */
  /* max-width: 36.813rem */
  .text-content a.button-orange {
    padding: 0.5rem 1.2rem;
    font-size: 0.7rem;
  }

  .site-footer .text-content .footerlinks-flexbox-container {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    align-content: stretch;
    flex-direction: column;
    justify-content: center;
  }

  .site-footer .text-content .connect-with-us-icons {
    margin-top: 0.5rem;
  }

  .site-footer .text-content .connect-with-us-icons .footerlinks-flex-item {
    margin: 0 0.8rem;
  }

  .site-footer
    .text-content
    .connect-with-us-icons
    .footerlinks-flex-item:first-child {
    margin: 0 0.8rem 0 0;
  }

  .site-footer
    .text-content
    .connect-with-us-icons
    .footerlinks-flex-item:last-child {
    margin: 0 0 0 0.8rem;
  }
}

.token-tabs {
  display: flex;
  gap: 1rem;
  margin: 0 0 2rem;
  border-bottom: 2px solid #eeeeee;
  padding: 0 0 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}

#block-cosmotheme-main-menu .primary-nav__menu-link-create-token span,
#global-wallet-connect,
.token-action,
#edit-rainbowkit-container #create-token,
.token-tabs a.tab-link.active,
.token-tabs .tab-link {
  background-color: #fb6340;
  padding: 0.8rem 1.6rem;
  line-height: 1.5;
  color: #ffffff;
  font-family: system-ui, sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 0.3rem;
  display: inline-block;
  letter-spacing: inherit;
  text-decoration: none;
}

.token-tabs .tab-link {
  background-color: #f7f7f7;
  font-size: 1rem;
  color: #0a4d8b;
  border: 1px solid #ececec;
  font-weight: 600;
  width: 16rem;
  text-align: center;
}
.token-tabs a.tab-link.active {
  font-size: 1rem;
  border: none;
  background-color: #0a4d8b;
  letter-spacing: 1.1px;
}

.token-action,
#edit-rainbowkit-container #create-token,
#edit-rainbowkit-container .payment-modal .token-action {
  font-size: 1rem;
  line-height: 1.4;
  font-family: system-ui, sans-serif;
  background: #0a4d8b;
  color: #ffffff;
  font-weight: 600;
  height: auto;
  border: #0a4d8b;
  cursor: pointer;
}

#block-cosmotheme-main-menu .primary-nav__menu-link-create-token span {
  background: none;
  letter-spacing: 1.1px;
  color: #0a4d8b;
  font-weight: 600;
  border: 2px solid #0a4d8b;
}

#block-cosmotheme-main-menu .primary-nav__menu-link-create-token span:hover,
#global-wallet-connect:hover,
#edit-rainbowkit-container #create-token:hover,
.token-tabs .tab-link:hover {
  background-color: #333333;
  color: #ffffff;
  box-shadow: none;
  text-decoration: none;
}

#block-cosmotheme-main-menu
  .primary-nav__menu-link-create-token
  .primary-nav__menu-link-inner::after {
  border-top: transparent;
}

ul.primary-nav__menu a.primary-nav__menu-link {
  font-family: system-ui, sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #0a4d8b;
  font-weight: 600;
  letter-spacing: normal;
  padding: 0.5rem 0 0;
}

#edit-rainbowkit-container button:disabled,
#global-wallet-connect.is-disabled,
#wallet-connect-button.is-disabled,
.token-action.is-disabled,
.token-action.is-disabled:hover,
#edit-rainbowkit-container #create-token.is-disabled,
#edit-rainbowkit-container #create-token.is-disabled:hover {
  cursor: default;
  color: var(--color--gray-90);
  border-color: var(--color--gray-90);
  border: 2px solid currentColor;
  background: none;
}
