/* Basic styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  --transition-duration: 0.25s;
  --transition-timing-function: ease-out;
}

a {
  transition: all var(--transition-duration) var(--transition-timing-function);
}

a:focus,
a:focus-within {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
}

.wp-element-button:has(img) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (max-width: 767px) {
  h1 br,
  h2 br,
  h3 br,
  h4 br,
  h5 br,
  h6 br,
  p br,
  .on-mobile-hide {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .on-tablet-hide {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .on-desktop-hide {
    display: none !important;
  }
}

footer.wp-block-template-part {
  margin-top: 0 !important;
}

/* Navigation */
@media (min-width: 992px) {
  header .wp-block-navigation {
    gap: 24px;
  }
}

@media (max-width: 599px) {
  header
    .wp-block-navigation__responsive-container.is-menu-open
    .wp-block-navigation__responsive-container-content
    .wp-block-navigation__container {
    gap: 1.5rem;
  }
}

header .wp-block-navigation {
  font-weight: 600;
  color: var(--wp--preset--color--black);
}

header .wp-block-navigation-link > .wp-block-navigation-item__content:focus {
  outline: none;
}

header
  .wp-block-navigation-link:hover
  > .wp-block-navigation-item__content
  .wp-block-navigation-item__label,
header
  .current-menu-item
  > .wp-block-navigation-item__content
  .wp-block-navigation-item__label {
  color: var(--wp--preset--color--gray-900);
}

header .wp-block-navigation__responsive-container.is-menu-open {
  padding: 2rem 1.125rem;
}

header .wp-block-navigation__container:hover .wp-block-navigation-item {
  opacity: 0.5;
}

header .wp-block-navigation__container .wp-block-navigation-item:hover {
  opacity: 1;
}

header
  .wp-block-navigation__container
  .wp-block-navigation-item:hover
  .wp-block-navigation-item__content
  .wp-block-navigation-item__label {
  text-decoration: none;
  color: var(--wp--preset--color--primary);
}

.has-transparent-header header .wp-block-navigation {
  color: var(--wp--preset--color--white);
}

.has-transparent-header
  header
  .wp-block-navigation-link:hover
  > .wp-block-navigation-item__content
  .wp-block-navigation-item__label,
.has-transparent-header
  header
  .current-menu-item
  > .wp-block-navigation-item__content
  .wp-block-navigation-item__label {
  color: var(--wp--preset--color--white);
}

/* footer */
.footer-menu .wp-block-navigation-link:hover .wp-block-navigation-item__label {
  transition: all var(--transition-duration) var(--transition-timing-function);
}

.footer-menu .wp-block-navigation-link:hover .wp-block-navigation-item__label {
  color: var(--wp--preset--color--white);
}

/*********************************
 * weDocs single docs
 *********************************/
.post-type-archive-changelog,
.single-docs,
.single-post,
.single-changelog {
  position: relative;
}

.post-type-archive-changelog::after,
.single-docs::after,
.single-post::after,
.single-changelog::after {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  content: "";
  height: 863px;
  background-image: linear-gradient(180deg, #f0f7ff 0.06%, #fff 99.94%);
  z-index: -1;
  pointer-events: none;
}

.wedocs-search-input input[type="search"] {
  height: 66px;
  padding: 16px 70px 16px 36px !important;
  border-radius: 60px !important;
}

.wedocs-search-input button.search-submit {
  right: 8px !important;
  top: 8px !important;
  height: 50px !important;
  width: 50px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wedocs-single-content {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  scroll-behavior: smooth;
}

@media (max-width: 767px) {
  .wedocs-single-content {
    padding: 0.625rem !important;
  }
}

.wedocs-single-content {
  overflow-y: scroll;
}

.wedocs-single-wrap {
  display: flex;
}

@media (min-width: 1441px) {
  .wedocs-single-wrap {
    justify-content: center;
  }
}

.single-docs .entry-content {
  color: #3f3f46;
  font-size: 1.125rem;
}

.single-docs .entry-content h1,
.single-docs .entry-content h2,
.single-docs .entry-content h3,
.single-docs .entry-content h4,
.single-docs .entry-content h5,
.single-docs .entry-content h6 {
  margin: 3rem 0 1.5rem;
  color: #000;
  font-weight: 700;
  line-height: 1.3;
}

.single-docs .entry-content h1 {
  margin-top: 0;
  font-size: 3.052rem;
}

.single-docs .entry-content h2 {
  font-size: 2.441rem;
}

.single-docs .entry-content h3 {
  font-size: 1.953rem;
}

.single-docs .entry-content h4 {
  font-size: 1.563rem;
}

.single-docs .entry-content h5 {
  font-size: 1.25rem;
}

.single-docs .entry-content ul,
.single-docs .entry-content ol {
  list-style-position: inside;
  margin: 2rem 0;
}

.single-docs .entry-content ul ul,
.single-docs .entry-content ol ul {
  padding-left: 1.5rem;
}

.single-docs .entry-content ul li,
.single-docs .entry-content ol li {
  margin-bottom: 0.75rem;
}

.single-docs .entry-content ul li:last-child,
.single-docs .entry-content ol li:last-child {
  margin-bottom: 0;
}

.single-docs .entry-content a {
  color: #0ea5e9;
  font-size: 1rem;
}

.single-docs .entry-content a:hover {
  text-decoration: underline;
}

.single-docs .entry-content p {
  margin: 1rem 0;
}

.single-docs .entry-content p:first-child {
  margin-top: 0;
}

.single-docs .entry-content pre {
  display: block;
  padding: 8.5px;
  margin: 1.5rem 0;
  word-wrap: break-word;
  white-space: pre-wrap;
  background-color: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}

.single-docs .entry-content pre code {
  background-color: transparent;
}

.single-docs .entry-content code {
  padding: 3px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
}

.single-docs .entry-content blockquote {
  padding: 1.25rem;
  margin: 1.5rem 0;
  border-left: 5px solid #eee;
  background: #eee;
  font-size: 1.25rem;
  font-style: italic;
  border-radius: 5px;
}

.single-docs .entry-content blockquote p:last-child {
  margin-bottom: 0;
}

.single-docs .entry-content .wp-block-image {
  margin: 2.5rem 0 !important;
}

.single-docs .single-doc-search-form .wp-block-search__inside-wrapper {
  border: none;
}

.single-docs .single-doc-search-form .wp-block-search__inside-wrapper button {
  margin-left: 0;
  border-radius: 0 5px 5px 0;
}

.single-docs
  .single-doc-search-form
  .wp-block-search__inside-wrapper
  button:hover {
  border: none;
  background: #f1634c;
  opacity: 0.8;
}

.single-docs .single-doc-search-form .wp-block-search__inside-wrapper > input {
  border-radius: 5px 0 0 5px;
}

/*********************************
 * Single Blog Post
 *********************************/
.single-post .wp-block-post-content h1,
.single-post .wp-block-post-content h2,
.single-post .wp-block-post-content h3,
.single-post .wp-block-post-content h4,
.single-post .wp-block-post-content h5,
.single-post .wp-block-post-content h6 {
  color: var(--wp--preset--color--heading, #000);
  font-weight: 700;
  margin: 38px 0;
}

.single-post .wp-block-post-content p {
  color: #393939;
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 32px;
}

.single-post .wp-block-post-content .wp-block-image {
  margin-bottom: 38px;
}

.single-post .wp-block-post-content ul,
.single-post .wp-block-post-content ol {
  color: #2a2a2a;
  font-size: 1.25rem;
  line-height: 1.5;
  padding-left: 2.5rem;
  margin: 0 0 38px;
  padding-left: 40px;
  list-style: initial;
}

.single-post .wp-block-post-content ul li,
.single-post .wp-block-post-content ol li {
  margin-bottom: 0.625rem;
}

.single-post .wp-block-post-content a {
  color: var(--wp--preset--color--primary);
  text-decoration: none;
  transition: all 0.25s;
}

.single-post .wp-block-post-content a:hover {
  color: var(--wp--preset--color--primary);
  text-decoration: underline;
}

.single-post .wp-block-post-content blockquote {
  position: relative;
  border: 0;
  margin: 0 0 38px;
  border-radius: 10px;
  padding: 60px 115px;
  background: #eaedf9;
}

@media (max-width: 767px) {
  .single-post .wp-block-post-content blockquote {
    padding: 30px 50px;
    font-size: 1.25rem;
  }
}

.single-post .wp-block-post-content blockquote p {
  color: #25252d;
  font-family: "Poppins";
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
}

.single-post .wp-block-post-content blockquote p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .single-post .wp-block-post-content blockquote p {
    font-size: 1.25rem;
  }
}

.single-post .wp-block-post-content blockquote::before,
.single-post .wp-block-post-content blockquote::after {
  position: absolute;
  content: "";
  width: 47px;
  height: 44px;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 767px) {
  .single-post .wp-block-post-content blockquote::before,
  .single-post .wp-block-post-content blockquote::after {
    width: 32px;
    height: 30px;
  }
}

.single-post .wp-block-post-content blockquote::before {
  left: 40px;
  top: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='47' height='44' fill='none'%3E%3Cpath fill='%237047EB' d='M1.886 43.012a1.874 1.874 0 0 1-1.874-1.874V22.51c-.09-2.948.335-5.715 1.273-8.307.938-2.59 2.255-4.868 3.953-6.834 1.695-1.964 3.728-3.595 6.096-4.891C13.7 1.185 16.27.358 19.04 0v8.844c-3.396 1.162-5.718 2.88-6.968 5.158-1.252 2.278-1.876 5.071-1.876 8.375h6.97c1.035 0 1.874.84 1.874 1.874v16.887c0 1.035-.84 1.874-1.874 1.874H1.886ZM29.847 43.012a1.875 1.875 0 0 1-1.874-1.874V22.51c-.09-2.948.335-5.715 1.273-8.307.938-2.59 2.255-4.868 3.952-6.834 1.696-1.964 3.73-3.595 6.097-4.891C41.661 1.185 44.23.358 47 0v8.844c-3.396 1.162-5.718 2.88-6.968 5.158-1.252 2.278-1.876 5.071-1.876 8.375h6.97c1.035 0 1.874.84 1.874 1.874v16.887c0 1.035-.84 1.874-1.874 1.874H29.847Z'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
  .single-post .wp-block-post-content blockquote::before {
    left: 10px;
    top: 25px;
  }
}

.single-post .wp-block-post-content blockquote::after {
  right: 40px;
  bottom: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='47' height='44' fill='none'%3E%3Cpath fill='%237047EB' d='M45.114 0c1.035 0 1.874.839 1.874 1.874V20.5c.09 2.947-.335 5.715-1.273 8.307-.938 2.59-2.255 4.868-3.953 6.834-1.695 1.964-3.729 3.595-6.096 4.89-2.366 1.295-4.935 2.122-7.705 2.48v-8.844c3.396-1.162 5.718-2.88 6.968-5.159 1.252-2.277 1.876-5.07 1.876-8.374h-6.97a1.874 1.874 0 0 1-1.874-1.875V1.874C27.96.84 28.8 0 29.835 0h15.279ZM17.153 0c1.035 0 1.874.839 1.874 1.874V20.5c.09 2.947-.335 5.715-1.273 8.307-.938 2.59-2.255 4.868-3.952 6.834-1.696 1.964-3.73 3.595-6.097 4.89C5.339 41.828 2.77 42.655 0 43.013v-8.844c3.396-1.162 5.718-2.88 6.968-5.159 1.252-2.277 1.876-5.07 1.876-8.374h-6.97A1.874 1.874 0 0 1 0 18.76V1.874C0 .84.84 0 1.874 0h15.279Z'/%3E%3C/svg%3E");
}

@media (max-width: 767px) {
  .single-post .wp-block-post-content blockquote::after {
    right: 10px;
    bottom: 25px;
  }
}

.single-post .wp-block-button__link {
  text-decoration: none !important;
}

.single-post .taxonomy-post_tag .wp-block-post-terms__separator {
  display: none;
}

.single-post .taxonomy-post_tag a {
  border: 1px solid hsla(0, 0%, 59.2%, 0.12);
  box-shadow: 0 3px 4px 0 rgba(0, 0, 0, 0.05);
  border-radius: 3px;
  display: inline-block;
  padding: 7px 13px;
  font-size: 0.8125rem;
  color: #3d566e;
  margin-right: 7px;
  margin-bottom: 7px;
}

.single-post .wp-block-cover {
  border-radius: 10px;
}

.single-post .wp-block-cover .wp-block-image {
  margin-bottom: 0 !important;
}
