html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    font-size: 62.5%;
}

*, ::after, ::before {
    box-sizing: border-box;
}

body {
    background: #fff;
    color: #333;
    font-family: Merriweather, Georgia, Times New Roman, Times, serif;
    font-size: 1.8rem;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

/**************** Typography */

a {
    color: #7bc8a4;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
}

p {
    margin: 0 0 1.5em;
}

code, kbd, pre, samp {
    font-family: monospace,monospace;
    font-size: 1em;
}

code, pre {
    background-color: rgb(244, 244, 244);
    display: inline-block;
    font-size: 90%;
    padding: 2px 4px;
}

pre {
    font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
    display: block;
    padding: 9px;
    margin: 0 0 9px;
    white-space: pre;
    background-color: #f5f5f5;
    border: 1px solid rgba(0, 0, 0, 0.15);
    -webkit-border-radius: 4px;
    border-radius: 4px;
    overflow-x: scroll;
}

/**************** Layout */

.container {
    clear: both;
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
    padding: 0 15px;
}

.home #masthead {
    background: #93648d url('assets/bg-books.png') repeat-x bottom;
}

img {
    max-width: 100%;
    height: auto;
}

/**************** Nav */

.menu-toggle {
    color: #fff;
    cursor: pointer;
    display: block;
    font-size: 3.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

#site-navigation {
    display: none;
}
#site-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#site-navigation li {
    margin: 1em 0;
}
#site-navigation a {
    color: #fff;
}
#site-navigation ul ul {
    padding-left: 2em;
}
@media (min-width: 768px) {
    #header-wrap {
        display: flex;
        justify-content: space-between;
    }

    #site-navigation {
        display: block;
    }
    #site-navigation li {
        margin: 0;
        position: relative;
    }
    #site-navigation > ul > li {
        display: inline-block;
    }
    #site-navigation a {
        display: block;
        padding: 1em;
    }
    #site-navigation ul ul {
        background: #93648d;
        float: left;
        left: -999em;
        padding: 0;
        position: absolute;
        top: 1.5em;
        z-index: 99999;
    }
    #site-navigation li:hover ul {
        left: 0;
        top: 100%;
        width: 200px;
    }
    #site-navigation ul ul a:hover {
        background: rgba(0,0,0,.1);
    }
}

/**************** Header */

#masthead {
    background: #93648d;
    padding: 1em 0;
}

.site-title {
    margin: 0 0 1em;
    text-align: center;
}

@media (min-width: 768px) {
    .site-title {
        margin: 0;
        position: relative;
        top: 10px;
    }
}

/**************** Buttons */

button,
input,
optgroup,
select,
textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

.button,
button,
input[type="submit"] {
    background: #7bc8a4;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    padding: 10px 15px;
    text-align: center;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
    background: #53b887;
}

.button-alt {
    background: #93648d;
}

.button-alt:hover {
    background: #6b4066;
}

.button.button-secondary, button.button-secondary, input[type="submit"].button-secondary {
    background: #a8a8a8;
}
.button.button-secondary:hover, button.button-secondary:hover, input[type="submit"].button-secondary:hover {
    background: #757575;
}

.button-block {
    display: block;
    width: 100%;
}

.button-large {
    font-size: 3.6rem;
    padding: 15px 30px;
}

/**************** Home intro */

#home-intro {
    color: #fff;
    padding: 0 0 2em;
    text-align: center;
}

#home-intro h1 {
    font-size: 3.2rem;
    line-height: 1.4;
    margin: 0 auto .5em;
}

#home-intro h2 {
    font-size: 2.4rem;
    color: #d4aecf;
}

#home-intro .button {
    background: #fff;
    color: #93648d;
}

#home-intro .button:hover {
    background: #7bc8a4;
    color: #fff;
}

#home-intro .subtext,
#home-intro .subtext a {
    color: #d4aecf;
}

#home-intro .subtext a {
    text-decoration: underline;
}

#home-intro .subtext a:hover {
    text-decoration: none;
}

#home-cta-download {
    margin: 1.5em 0 .5em;
}

@media (min-width: 768px) {
    #home-intro h1 {
        font-size: 4.8rem;
        max-width: 680px;
        margin-top: 1em;
    }

    #home-intro h2 {
        max-width: 600px;
        margin: 0 auto;
    }
}

/**************** Jumbotron */

.jumbotron {
    padding: 4em 0;
}

.jumbotron h2 {
    margin: 0 auto 2em;
    text-align: center;
}

.home #main .jumbotron:nth-child(even) {
    background: #f4f4f4;
}

/**************** Feature list */

#home-feature-list-wrap h3 {
    font-weight: bold;
    margin: 0 0 10px;
}

@media (min-width: 768px) {
    #home-feature-list-wrap {
        display: flex;
        flex-flow: row wrap;
        margin: 0 -15px;
    }

    #home-feature-list-wrap > div {
        padding: 15px 15px 15px 70px;
        position: relative;
        width: 50%;
    }

    #home-feature-list-wrap > div::before {
        background-color: #7bc8a4;
        content: '';
        height: 36px;
        left: 15px;
        mask-image: url('/assets/icons/book-solid-full.svg');
        mask-repeat: no-repeat;
        mask-size: contain;
        -webkit-mask-image: url('/assets/icons/book-solid-full.svg');
        -webkit-mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        position: absolute;
        top: 21px;
        width: 36px;
    }

    #feature-drag-drop::before {
        mask-image: url('/assets/icons/object-group-sharp-regular-full.svg') !important;
        -webkit-mask-image: url('/assets/icons/object-group-sharp-regular-full.svg') !important;
    }

    #feature-book-management::before {
        mask-image: url('/assets/icons/pen-to-square-regular-full.svg') !important;
        -webkit-mask-image: url('/assets/icons/pen-to-square-regular-full.svg') !important;
    }

    #feature-purchase-links::before {
        mask-image: url('/assets/icons/cart-shopping-solid-full.svg') !important;
        -webkit-mask-image: url('/assets/icons/cart-shopping-solid-full.svg') !important;
    }

    #feature-book-grids::before {
        mask-image: url('/assets/icons/grid-solid-full.svg') !important;
        -webkit-mask-image: url('/assets/icons/grid-solid-full.svg') !important;
    }

    #feature-documentation::before {
        mask-image: url('/assets/icons/file-lines-regular-full.svg') !important;
        -webkit-mask-image: url('/assets/icons/file-lines-regular-full.svg') !important;
    }

    #home-feature-list-wrap p {
        margin: 0;
    }
}

/**************** Testimonial */

.testimonial {
    color: #707070;
    font-style: italic;
}

.testimonial blockquote {
    margin: 0;
}

/**************** Add-ons */

#featured-addons {
    clear: both;
    overflow: hidden;
}

#featured-addon-wrap {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}

#featured-addon-wrap .addon {
    background: #93648d;
    color: #fff;
    display: block;
    margin-bottom: .8em;
    padding: 1em;
    text-align: center;
    transition: background 0.3s;
    width: 48%;
}

#featured-addon-wrap .addon:hover {
    background: #7bc8a4;
}

.btn-icon {
    display: inline-block;
    filter: brightness(0) invert(1);
    height: 1em;
    margin-right: 5px;
    vertical-align: middle;
    width: 1em;
}

.addon-icon {
    display: block;
    filter: brightness(0) invert(1);
    height: 50px;
    margin: 0 auto 5px;
    width: 50px;
}

@media (min-width: 768px) {
    #featured-addon-links {
        float: left;
        width: 40%;
    }

    #addons-description {
        float: right;
        width: 57%;
    }
}

/**************** FAQ */

#faq h2 {
    margin-bottom: .5em;
}

#faq > .container > p {
    margin: 0 auto 3em;
    max-width: 700px;
    text-align: center;
}

.toggle {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-top: -1px;
}

.toggle > h3 {
    cursor: pointer;
    margin: 0;
    padding: 1em 0 1em 25px;
    position: relative;
}

.toggle > h3::before {
    color: rgba(0, 0, 0, 0.1);
    content: '›';
    display: inline-block;
    font-size: 3rem;
    line-height: 1;
    position: absolute;
    top: 23px;
    left: 0;
    transition: transform .3s ease;
}

.toggle > div {
    display: none;
    padding-left: 25px;
}

.toggle.open > h3::before {
    transform: rotate(90deg);
}

.toggle.open > div {
    display: block;
}

/**************** Final CTA */

#home-final-cta {
    text-align: center;
}

#home-final-cta .button {
    font-size: 2.4rem;
    padding: 20px 25px;
}

/**************** Footer */

#footer {
    background: #93648d url('/assets/bg-books.png') repeat-x center bottom;
    color: #fff;
    padding: 2em 0;
}

#footer p {
    color: #d4aecf;
}

#footer a {
    color: #dfc0db;
    text-decoration: underline;
}

#footer a:hover {
    text-decoration: none;
}

body:not(.home):not(.single-download) #footer {
    margin-top: 2em;
}

#footer-columns {
    border-top: 1px solid #ab87a6;
    font-size: 1.4rem;
    margin: 2em 0;
    padding: 2em 0;
}

#footer-columns h3 {
    color: #d4aecf;
    font-weight: bold;
    margin: 0 0 10px;
}

#footer-columns p {
    margin: 0;
}

@media (min-width: 768px) {
    #footer-columns {
        display: flex;
        gap: 30px;
    }

    .footer-column {
        flex: 1;
    }
}

#footer-links {
    font-size: 1.2rem;
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    text-align: center;
}

#footer-links li {
    display: inline-block;
    margin: 0 5px;
}

#copyright {
    color: #dfc0db;
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
}

/**************** Utilities */

.text-right {
    text-align: right;
}

.subtext {
    color: #a9a9a9;
    font-size: 80%;
    font-style: italic;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}
.alignleft {
    float: left;
    margin-right: 1.5em;
}
.aligncenter {
    display: block;
    margin: 0 auto 1.5em;
}

/**************** Articles */
.entry-header, .page-header {
    background: #f4f4f4;
    margin-bottom: 2em;
    padding: 2em 15px;
    text-align: center;
}
.entry-header h1, .page-header h1 {
    margin: 0;
}
.page-template-minimal .entry-content {
    margin: 0 auto 2em;
    max-width: 700px;
    padding: 0 15px;
}

/**************** Features */

.page-template-plugin-features .entry-header {
    margin-bottom: 0;
}

.page-template-plugin-features .entry-content .jumbotron:nth-child(even) {
    background: #f4f4f4;
}

.feature h2 {
    font-size: 2.1rem;
    font-weight: bold;
    margin: 0 0 10px;
    text-align: left;
}

@media (min-width: 768px) {
    .feature {
        display: flex;
        gap: 60px;
    }

    .feature-image,
    .feature-text {
        flex: 1;
        min-width: 0;
    }

    .page-template-plugin-features .entry-content .jumbotron:nth-child(even) .feature {
        flex-direction: row-reverse;
    }
}

/**************** Downloads */

#novelist-product-grid img {
    display: block;
    height: auto;
    max-width: 100%;
}

#novelist-product-grid .novelist-download-item {
    margin-bottom: 2em;
    position: relative;
    vertical-align: top;
}

#novelist-product-grid .entry-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 .5em;
}

#novelist-product-grid .entry-title a {
    color: #333;
}

#novelist-product-grid .download-item-info {
    padding: 1em 1em 3em;
}

#novelist-product-grid .download-bundle {
    background: #93648d;
    border-color: #93648d;
    color: #fff;
}

#novelist-product-grid .download-bundle .entry-title a {
    color: #fff;
}

#novelist-product-grid .download-bundle .download-item-price {
    color: #d4aecf;
}

#novelist-product-grid .download-item-price {
    color: #adadad;
    font-size: 1.4rem;
    font-style: italic;
    text-transform: lowercase;
}

@media (min-width: 500px) {
    #novelist-product-grid {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
    }

    #novelist-product-grid .novelist-download-item {
        border: 2px solid #f4f4f4;
        transition: border-color 0.3s;
        width: 48%;
    }

    #novelist-product-grid .novelist-download-item:hover {
        border-color: #93648d;
    }

    #novelist-product-grid .novelist-download-item > a {
        display: block;
    }

    #novelist-product-grid .download-item-more {
        bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1em 1em;
        position: absolute;
        width: 100%;
    }
}

@media (min-width: 768px) {
    #novelist-product-grid .novelist-download-item:not(.download_category-themes) {
        width: 31%;
    }
}

/**************** Single Download */

.download-container article,
.sidebar {
    padding-bottom: 2em;
}

/* Sidebar lists (details, requirements) */

.sidebar ul {
    background: #fff;
    font-size: 1.4rem;
    list-style: none;
    margin: 0 0 1.5em;
    padding: 0;
}

.sidebar ul li {
    border-top: 2px solid #f4f4f4;
    padding: .25em .5em;
}

.sidebar ul li:first-child {
    border-top: none;
}

.sidebar ul li > span {
    display: inline-block;
    vertical-align: top;
    width: 48%;
}

.sidebar ul li > span:nth-child(even) {
    text-align: right;
}

/* Pricing */

.product-pricing {
    background: #93648d;
    color: #fff;
    padding: 1em;
}

.product-pricing .widget-title {
    color: #fff;
    margin-top: 0;
}

.product-pricing .button {
    display: block;
    width: 100%;
}

.pricing-form {
    margin-bottom: 1em;
}

.pricing-option {
    background: #6b4066;
    cursor: pointer;
    display: block;
    padding: .5em;
}

.pricing-option + .pricing-option {
    border-top: 1px solid #93648d;
}

.pricing-option input {
    margin-right: .5em;
}

.pricing-form .button {
    margin-top: 1em;
}

.product-pricing .subtext {
    color: #d4aecf;
    margin: 1em 0 0;
    text-align: center;
}

.product-pricing .subtext a {
    color: #e9d5e6;
    text-decoration: underline;
}

.product-pricing .subtext a:hover {
    text-decoration: none;
}

@media (min-width: 768px) {
    .download-container {
        display: flex;
    }

    .download-container article {
        margin-right: 5%;
        width: 67%;
    }

    .sidebar {
        background: #f4f4f4;
        padding: 1em;
        width: 28%;
    }

    .sidebar .product-pricing {
        margin: -1em -1em 0;
    }
}

/**************** Gallery */

.gallery {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, 1fr);
    margin: 1.5em 0;
}

@media (min-width: 768px) {
    .gallery-columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gallery-item {
    margin: 0;
}

.gallery-icon {
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-icon img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s;
    width: 100%;
}

.gallery-icon a:hover img {
    opacity: 0.8;
}
.gallery figcaption {
    font-size: 1.3rem;
    font-style: italic;
}

/**************** Blog */

#blog-wrap {
    display: flex;
    gap: 6%;
    align-items: flex-start;
}

#primary {
    flex: 1;
    min-width: 0;
}

#sidebar {
    flex: 0 0 28%;
}

#blog-wrap article {
    border-bottom: 3px solid #f4f4f4;
    margin-top: 2em;
    padding-bottom: 2em;
}

#blog-wrap .entry-header {
    background: none;
    margin-bottom: 1em;
    padding: 0;
    text-align: left;
}

#blog-wrap .entry-title {
    font-weight: bold;
}

#blog-wrap .entry-title a {
    color: #333;
}

#blog-wrap .entry-title a:hover {
    color: #93648d;
}

#blog-wrap .entry-meta {
    font-size: 80%;
    font-style: italic;
    color: #a9a9a9;
}

#blog-wrap .entry-meta a {
    color: #a9a9a9;
}

#blog-wrap .entry-meta a:hover {
    text-decoration: underline;
}

#blog-wrap .entry-meta .updated:not(.published) {
    display: none;
}

@media (min-width: 768px) {
    #blog-wrap .entry-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
}

.post .entry-content h3 {
    font-weight: 700;
}

/* Blog sidebar */

.widget-area .widget {
    background: #f4f4f4;
    font-size: 1.4rem;
    margin-top: 2em;
    padding: 1em;
}

.widget-area .widget-title {
    font-size: 1.6rem;
    margin: 0 0 10px;
}

.widget_featured_extensions ul {
    background: white;
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget_featured_extensions li {
    margin: 0;
}

.widget_featured_extensions a {
    border-top: 2px solid #f4f4f4;
    color: #333;
    display: block;
    padding: 1em;
}

.widget_featured_extensions li:first-child a {
    border: none;
}

.widget_featured_extensions a:hover {
    background: #f4f4f4;
}

.widget_featured_extensions .subtext {
    display: block;
    font-size: 1.2rem;
    color: #a9a9a9;
}

.sidebar-icon {
    background-color: #93648d;
    display: inline-block;
    height: 1em;
    margin-right: 5px;
    mask-repeat: no-repeat;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    vertical-align: middle;
    width: 1em;
}

/**************** Docs */

#docs-wrap {
    align-items: flex-start;
    display: flex;
    gap: 4%;
    margin-top: 2em;
    margin-bottom: 2em;
}

.docs-sidebar {
    flex: 0 0 22%;
}

.docs-content {
    flex: 1;
    min-width: 0;
}

.docs-content .entry-header {
    background: none;
    padding: 0;
    text-align: left;
}

.docs-content .entry-title {
    font-weight: bold;
}

/* Nav tree */

.docs-nav,
.docs-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.docs-nav a {
    color: #333;
    display: block;
    padding: 4px 10px;
}

.docs-nav a:hover {
    color: #93648d;
}

.docs-nav a[aria-current="page"] {
    background: #93648d;
    color: #fff;
}

/* Indent nested levels */

.docs-nav ul {
    border-left: 2px solid #f4f4f4;
    margin-left: 10px;
}

.docs-nav ul a[aria-current="page"] {
    border-left: 2px solid #93648d;
    margin-left: -2px;
}