/*
Theme Name: FlyWP
Theme URI: https://flywp.com
Description: A child theme of GeneratePress for FlyWP
Author: FlyWP
Author URI: https://flywp.com/
Text Domain: flywp
Version: 1.0.4
Template: generatepress
*/

/* ----------------------------------------------
 * weDocs Overrides - START
 * ------------------------------------------- */

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

.wedocs-single-wrap
  .wedocs-sidebar
  ul.doc-nav-list
  > li.current_page_parent
  > a {
  background: inherit;
  color: inherit;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li > ul.children {
  list-style: none;
  margin: 0 0 25px 0;
  padding: 0;
  border: none;
  border-left: none;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list li a {
  padding: 3px 10px 3px 0;
}

.wedocs-single-wrap .wedocs-sidebar ul.doc-nav-list > li.current_page_item > a,
.wedocs-single-wrap
  .wedocs-sidebar
  ul.doc-nav-list
  > li.current_page_ancestor
  > a {
  background: inherit;
  color: #333;
}

.wedocs-single-wrap
  .wedocs-sidebar
  ul.doc-nav-list
  > li.page_item_has_children
  > a {
  pointer-events: none;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 14px;
  color: #888;
}

.wedocs-single-wrap
  .wedocs-sidebar
  ul.doc-nav-list
  li.page_item_has_children
  > a
  > .wedocs-caret {
  display: none;
}

.wedocs-single-wrap
  .wedocs-sidebar
  ul.doc-nav-list
  li.page_item_has_children
  > a:before {
  display: none;
}

.wedocs-single-wrap
  .wedocs-sidebar
  ul.doc-nav-list
  > li.current_page_ancestor
  li.current_page_item
  > a {
  border-left: none;
}

.wedocs-single-wrap
  .wedocs-sidebar
  ul.doc-nav-list
  li.wd-state-closed
  ul.children {
  display: block;
}

.wedocs-single-wrap
  .wedocs-sidebar
  ul.doc-nav-list
  > li
  > ul.children
  ul.children {
  border-left: none;
  margin: 5px 0 5px 25px;
}

/* ------------- weDocs Overrides - END ------------------ */

/* ----------------------------------------------
 * Changelog - START
 * ------------------------------------------- */

body {
  background-color: #ffffff;
}

body.post-type-archive-changelog main.site-main header.page-header {
  display: none;
}

.single-changelog .site.grid-container.container.hfeed .site-content {
  margin-top: 60px;
}

body.post-type-archive-changelog main.site-main,
body.single-changelog main.site-main {
  margin-top: 0px;
}

body.post-type-archive-changelog .site.grid-container.container.hfeed,
body.single-changelog .site.grid-container.container.hfeed {
  max-width: 866px;
}

.site.grid-container.container.hfeed .changelog .inside-article {
  width: 100%;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-date {
  position: sticky;
  top: 50px;
  align-self: flex-start;
  max-width: 186px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0%;
  color: #374151;
  letter-spacing: -1px;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap {
  max-width: 600px;
}

.site.grid-container.container.hfeed .changelog:not(:last-of-type) {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #ced6de;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .post-image
  a
  img {
  display: block;
  object-fit: cover;
  max-height: 382px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .entry-header {
  margin-bottom: 10px;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .entry-header
  h2 {
  font-size: 28px;
  line-height: 130%;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .entry-header
  h2
  a {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 130%;
  letter-spacing: 0px;
  color: #111827;
  transition: color 0.3s ease;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .entry-header
  h2
  a:hover {
  color: #6a6aff;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .entry-content
  p,
.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .entry-summary
  p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  line-height: 32px;
  letter-spacing: 0px;
  color: #374151;
  margin: 0;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .read-more {
  display: block;
  max-width: 135px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-style: Semi Bold;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  border-radius: 20px;
  background-color: #6a6aff;
  color: #ffffff;
  padding: 10px 24px;
  padding-right: 37px;
  position: relative;
  transition: background-color 0.3s ease;
  margin-top: 48px;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .read-more::after {
  content: "\203A";
  font-size: 24px;
  position: absolute;
  top: 9px;
  right: 22px;
}

.site.grid-container.container.hfeed
  .changelog
  .inside-article
  .changelog-content-wrap
  .read-more:hover {
  background-color: #3131de;
}

body.post-type-archive-changelog article .entry-content,
body.single-changelog article .entry-content {
  margin-top: 0;
}

body.post-type-archive-changelog .changelog-content-wrap .entry-summary,
body.single-changelog .changelog-content-wrap .entry-summary {
  margin-top: 0px;
}

body.single-changelog .inside-article .changelog-content-wrap .featured-image {
  margin-bottom: 0px;
}

body.single-changelog
  .inside-article
  .changelog-content-wrap
  .featured-image
  img {
  display: block;
  border-radius: 10px;
  margin-bottom: 30px;
}

.changelog-content-wrap .entry-title {
  font-size: 30px;
  font-weight: 600;
}

.single-changelog .go-back-link a {
  font-size: 16px;
  color: #6a6aff;
  transition: color 0.3s ease;
}

.single-changelog .go-back-link a:hover {
  color: #3131de;
}

.single-changelog .changelog-content-wrap * {
  font-family: "Inter", sans-serif;
}

.changelog-date p {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  line-height: 32px;
  letter-spacing: 0px;
}

@media (max-width: 910px) {
  body.post-type-archive-changelog .site.grid-container.container.hfeed,
  body.single-changelog .site.grid-container.container.hfeed {
    margin-left: 20px;
    margin-right: 20px;
  }

  .site.grid-container.container.hfeed .changelog .inside-article {
    gap: 30px;
  }

  .site.grid-container.container.hfeed
    .changelog
    .inside-article
    .changelog-date {
    position: static;
  }
}

#nav-below {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

#nav-below .nav-links {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
}

#nav-below .page-numbers {
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 22.12px;
  letter-spacing: 0;
  color: #374151;
  border-radius: 7.9px;
  border: 0.79px solid #e5e9ed;
  padding-top: 9.48px;
  padding-right: 18.96px;
  padding-bottom: 9.48px;
  padding-left: 18.96px;
  transition: border-color 0.3s ease;
}

#nav-below .page-numbers:hover {
  border-color: #6a6aff;
}

#nav-below .page-numbers.prev, #nav-below .page-numbers.next {
  font-size: 0;
}
#nav-below .page-numbers span {
  font-size: 16px;
}

#nav-below .page-numbers.current {
  background-color: #6a6aff;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

/* ------------- Changelog - END ------------------ */

/* ------------- Tailwind Style Override - START ------------------ */
.prose :where(ul):not(:where([class~="not-prose"], [class~="not-prose"] *)),
.prose :where(ol):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose
  :where(ul > li):not(:where([class~="not-prose"], [class~="not-prose"] *)),
.prose
  :where(ol > li):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
  padding-inline-start: 0;
}
/* ------------- Tailwind Style Override - END ------------------ */

/* ------------- Search Field - START ------------------ */
.search-results .page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

@media (max-width: 767px) {
  .search-results .page-header {
    display: block;
  }
}

.search-results .page-header .flywp-post-search-wrap .search-submit {
  position: absolute;
  right: 17px;
  top: 50%;
  bottom: 0;
  cursor: pointer;
  background: transparent;
  transform: translateY(-50%);
  padding: 4px;
  width: auto;
}

.search-results
  .page-header
  .flywp-post-search-wrap
  .search-submit
  .gp-icon
  svg {
  height: 1em;
  width: 1em;
  top: 0.125em;
  position: relative;
  fill: #93abd0;
}

/* ------------- Search Field - END ------------------ */

/* ------------- Single Blog - START ------------------ */

body.single-post article h1.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h1.wp-block-heading,
body.single-post article h2.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h2.wp-block-heading,
body.single-post article h3.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h3.wp-block-heading,
body.single-post article h4.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h4.wp-block-heading,
body.single-post article h5.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h5.wp-block-heading,
body.single-post article h6.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h6.wp-block-heading {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  line-height: 130%;
  color: #111827;
  margin: 24px 0;
}

body.single-post article h1.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h1.wp-block-heading {
  margin-top: 48px;
  font-size: 42px;
  letter-spacing: 0;
}

body.single-post article h2.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h2.wp-block-heading {
  margin-top: 48px;
  font-size: 36px;
  letter-spacing: -0.02em;
}

body.single-post article h3.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h3.wp-block-heading {
  font-size: 28px;
  letter-spacing: -0.02em;
}

body.single-post article h4.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h4.wp-block-heading {
  font-size: 24px;
  letter-spacing: -0.02em;
}

body.single-post article h5.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h5.wp-block-heading {
  font-size: 20px;
  letter-spacing: -0.02em;
}

body.single-post article h6.wp-block-heading,
.editor-styles-wrapper .wp-block-post-content h6.wp-block-heading {
  font-size: 18px;
  letter-spacing: -0.02em;
}

body.single-post article p,
.editor-styles-wrapper .wp-block-post-content p {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #374151;
  margin: 24px 0;
   font-size: 18px;
  line-height: 170%;
}

body.single-post article .gb-block-image,
.wp-block-post-content .gb-block-image {
  margin: 0;
}

body.single-post .site.grid-container.container.hfeed article {
  max-width: 760px;
  margin: 0 auto;
}
body.single-post .site.grid-container.container.hfeed .featured-image {
  width: 100%;
}
body.single-post .site.grid-container.container.hfeed .featured-image img {
  width: 100%;
  max-height: 406px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

figure.wp-block-image {
  margin: 0;
}

body.single-post
  .site.grid-container.container.hfeed
  article
  .entry-header
  .post-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 10px 0
}

body.single-post
  .site.grid-container.container.hfeed
  article
  .entry-header
  .post-info .separator {
    font-size: 40px;
    color: #374151;
  }

body.single-post
  .site.grid-container.container.hfeed
  article
  .entry-header
  .post-info
  p {
  margin: 0;
}

body.single-post
  .site.grid-container.container.hfeed
  article
  .entry-header
  .post-info
  p,
body.single-post
  .site.grid-container.container.hfeed
  article
  .entry-header
  .post-info
  span,
body.single-post
  .site.grid-container.container.hfeed
  article
  .entry-header
  .post-info
  a {
  font-family: "Matter", sans-serif;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: 0;
  color: #374151;
}

body.single-post
  .site.grid-container.container.hfeed
  article
  .entry-header
  .post-info
  a {
  color: #0066ff;
}

body.single-post article .entry-header .entry-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 42px;
  line-height: 130%;
  letter-spacing: 0;
  color: #111827;
  margin-bottom: 24px;
}

body.single-post article .prose.entry-content {
  margin: 0;
}

body.single-post .entry-header .post-info .post-meta-info {
  display: flex;
  gap: 32px;
}

figure.wp-block-table {
  margin: 48px 0;
}

figure.wp-block-table table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e9e9e9;
  border-radius: 10px;
  overflow: hidden;
}

figure.wp-block-table table td,
.wp-block-table table th {
  border: 0.5px solid #e9e9e9;
}

.wp-block-table th,
.wp-block-table td {
  padding: 18px 28px !important;
}

.wp-block-table th {
  background-color: #6a6aff;
  color: #ffffff;
}
.wp-block-table td {
  color: #575757;
}
.wp-block-table th,
.wp-block-table td {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  letter-spacing: 0;
}

.wp-block-table tr:nth-child(odd) {
  background-color: #f8f9f8;
}

.wp-block-table thead {
  border-bottom: none;
}

body.single-post article .break {
  margin: 60px 0;
}

body.single-post article .post-extra-info {
  color: #111827;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 170%;
  letter-spacing: 0;
}

body.single-post article .post-extra-info .post-categories,
body.single-post article .post-extra-info .post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

body.single-post article .post-extra-info .post-tags {
  margin-bottom: 0;
}

body.single-post article .post-extra-info a {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 170%;
  letter-spacing: 0;
  vertical-align: middle;
  color: #1e293b;
  background: #ffffff;
  padding: 7.4px 20px;
  border: 1px solid #e5e9ed;
  border-radius: 60px;
  transition: all 0.3s ease;
}
body.single-post article .post-extra-info a:hover {
  color: #ffffff;
  background-color: #6a6aff;
}

@media (max-width: 767px) {
  body.single-post article h1,
  .editor-styles-wrapper .wp-block-post-content h1 {
    font-size: 35px !important;
    letter-spacing: -2px;
  }

  body.single-post article h2,
  .editor-styles-wrapper .wp-block-post-content h2 {
    font-size: 26px !important;
  }

  body.single-post article h3,
  .editor-styles-wrapper .wp-block-post-content h3 {
    font-size: 22px !important;
  }
}

@media (max-width: 460px) {
  body.single-post .site.grid-container.container.hfeed article .entry-header .post-info {
    row-gap: 10px;
  }
}

/* ------------- Single Blog - END ------------------ */
