/*
Theme Name: Frontis child
Theme URI:  https://wordpress.org/themes/frontis/
Author:     WP Messiah
Author URI: https://wpmessiah.com/
Template:   frontis
Version:    1.0
License:    GNU General Public License v2 or later
*/
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wpmessiah-newsletter-form {
    background: #15171C;
}

.wpmsh-blog-archive .wpmessiah-newsletter-form {
    background: #ffffff;
}

.mc4wp-form-basic {
    width: 100%;
    margin: 0 !important;
}

.mc4wp-form input[type="submit"] {
    position: absolute;
    right: 10px;
    top: 10px;
    background: #0875FF;
    border: 1px solid transparent;
    padding: 17px 20px;
    color: #ffffff;
    font-family: Encode Sans;
    font-weight: 600;
    font-size: 18px;
    line-height: 132%;
    transition: 0.3s all ease;
    cursor: pointer;
}

.mc4wp-form input[type="submit"]:hover {
    background: transparent;
    border: 1px solid #0875FF;
}

.wpmsh-blog-archive .mc4wp-form input[type="submit"]:hover {
    color: #0875FF;
}

.wpmsh-blog-archive .mc4wp-form input#email {
    color: #6A758E;
    background: #ffffff;
    padding: 10px 56px 10px 24px;
}

.mc4wp-form input#email {
    width: 100%;
    border-radius: 0;
    border: none;
    height: 79px;
    box-sizing: border-box;
    font-size: 16px;
    padding: 10px 150px 10px 24px;
    color: #ffffff;
    background: #15171C;
    font-family: Mona Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0%;
}

.wpmessiah-newsletter-form button {
    height: 59px !important;
    top: 9px !important;
    border-radius: 2px !important;
}

.wpmessiah-footer .fb-advanced-button-wrapper .fb-advanced-button .fb-advanced-button-icon-wrapper .fb-advanced-button-icon-image {
    padding: 18px;
}

@media all and (max-width: 768px) {
    .wpmessiah-footer .fb-advanced-button-wrapper .fb-advanced-button .fb-advanced-button-icon-wrapper .fb-advanced-button-icon-image {
        padding: 14px;
    }

    .wpmessiah-footer .fb-advanced-button-wrapper .fb-advanced-button .fb-advanced-button-icon-wrapper .fb-advanced-button-icon-image img {
        width: 14px;
        height: 14px;
    }
}

.scroll-nav-indicator {
    position: fixed;
    z-index: 1000;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.scroll-nav-indicator.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-nav-numbers {
    display: flex;
    gap: 15px;
    align-items: center;
}

.scroll-nav-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.3);
    color: #666;
    border: 2px solid transparent;
}

.scroll-nav-number.active {
    background: #4285f4;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.scroll-nav-number:hover:not(.active) {
    background: rgba(66, 133, 244, 0.2);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-nav-indicator {
        padding: 15px;
        border-radius: 12px;
    }

    .scroll-nav-numbers {
        gap: 10px;
    }

    .scroll-nav-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Sticky header */
body header.wp-block-template-part.fb-sticky-header.scrolled {
    background: #000 !important;
}

/* tag/category default height remove */
body .wp-block-post-terms.is-style-FWP_-post-terms-pill a {
    height: unset !important;
    background: #0875FF;
    border-radius: 2px;
}

/* Comment form */
.wp-block-comments .wp-block-comments-title {
    font-family: var(--fb-global-all--font-family);
    font-weight: var(--fb-global-all--font-weight);
    font-size: var(--fb-global-h5--font-size);
    line-height: var(--fb-global-h5--font-line-height);
    margin-top: 0;
    margin-bottom: 24px;
}

ol.wp-block-comment-template {
    margin: 0 !important;
}

.wp-block-comment-author-name {
    font-family: var(--fb-global-body--font-family);
    font-weight: var(--fb-global-body--font-weight);
    font-size: var(--fb-global-body--font-size) !important;
    line-height: var(--fb-global-body--line-height);
}

.wp-block-comment-date time a {
    font-family: var(--fb-global-fb_customtypo_1lkbz--font-family);
    font-size: var(--fb-global-fb_customtypo_1lkbz--font-size);
    line-height: var(--fb-global-fb_customtypo_1lkbz--font-line-height);
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
}

.wp-block-comment-content p {
    font-family: var(--fb-global-fb_customtypo_1lkbz--font-family);
    font-size: var(--fb-global-fb_customtypo_1lkbz--font-size);
    line-height: var(--fb-global-fb_customtypo_1lkbz--font-line-height);
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
}

.comment-respond.wp-block-post-comments-form {
    background: #FAFAFA;
    padding: 42px;
    border-radius: 2px;
}

.comment-form {
    display: flex;
    flex-direction: column;
}

.comment-form-comment {
    order: 2;
}

.comment-form-inline-fields {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    order: 1;
}

.form-submit.wp-block-button {
    order: 3;
    margin-top: 48px !important;
}

.comment-form-author,
.comment-form-email {
    flex: 1;
}

.comment-form-author label,
.comment-form-email label {
    display: block;
    font-family: var(--fb-global-fb_customtypo_48kkq--font-family);
    font-size: var(--fb-global-fb_customtypo_48kkq--font-size);
    font-weight: var(--fb-global-fb_customtypo_48kkq--font-weight);
    line-height: var(--fb-global-fb_customtypo_48kkq--font-line-height);
    margin: 0px 0px 8px 0px !important;
    color: #15171C;
    border: none;
    transition: all .3s ease-in-out;
}

.comment-form-author input,
.comment-form-email input {
    width: 100%;
    padding: 20px;
    border: 1px solid #E1E3E8;
    border-radius: 2px;
    font-family: var(--fb-global-fb_customtypo_1lkbz--font-family);
    font-size: var(--fb-global-fb_customtypo_1lkbz--font-size);
    line-height: var(--fb-global-fb_customtypo_1lkbz--font-line-height);
    margin: 0px 0px 0px 0px;
    transition: all .3s ease-in-out;
}

.comment-form-comment label {
    display: block;
    margin-bottom: 8px !important;
    color: #15171C;
    font-family: var(--fb-global-fb_customtypo_48kkq--font-family);
    font-size: var(--fb-global-fb_customtypo_48kkq--font-size);
    font-weight: var(--fb-global-fb_customtypo_48kkq--font-weight);
    line-height: var(--fb-global-fb_customtypo_48kkq--font-line-height);
}

.comment-form-comment textarea {
    width: 100%;
    padding: 20px;
    border: 1px solid #E1E3E8;
    border-radius: 2px;
    font-family: var(--fb-global-fb_customtypo_1lkbz--font-family);
    font-size: var(--fb-global-fb_customtypo_1lkbz--font-size);
    line-height: var(--fb-global-fb_customtypo_1lkbz--font-line-height);
    resize: vertical;
}

.comment-reply-title {
    font-family: var(--fb-global-all--font-family);
    font-weight: var(--fb-global-all--font-weight);
    font-size: var(--fb-global-h6--font-size);
    line-height: var(--fb-global-h6--font-line-height);
    color: #15171C;
    margin: 0 0 24px 0 !important;

}

.comment-notes {
    margin-bottom: 12px !important;
}

/* Submit button styling */
.form-submit input[type="submit"] {
    background-color: #0875FF;
    color: #ffffff;
    padding: 22px 43px;
    border: none;
    border-radius: 2px;
    font-family: var(--fb-global-button--font-family);
    font-size: var(--fb-global-button--font-size);
    font-weight: var(--fb-global-button--font-weight);
    line-height: 18px;
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit input[type="submit"]:hover {
    background-color: #0875ffb3;
}

.logged-in-as a {
    color: #0875FF;
    margin-bottom: 12px !important;
}

/* Remove website field if it still appears */
.comment-form-url {
    display: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .comment-form-inline-fields {
        flex-direction: column;
        gap: 15px;
    }
}

div#fst_login_form {
    width: 100% !important;
    max-width: 100%;
}

.page-id-1147 header,
.page-id-1084 header,
.search-results header,
.error404 header,
.search-no-results header,
.page-id-52356 header,
.page-id-52374 header,
.page-id-52383 header,
.page-id-52378 header,
.page-id-52369 header,
.page-id-40898 header,
.page-id-72 header,
.page-id-40842 header {
    background: #000000;
}

.search-no-results .wp-block-query-no-results p {
    margin-bottom: 24px;
}

.search-no-results .wp-block-search__inside-wrapper {
    min-height: 65px;
    box-sizing: border-box;
    padding: 18px 24px;
    border: 1px solid #E1E3E8;
    border-radius: 2px;
}

.search-no-results .wp-block-search__button {
    padding: 0;
    background: transparent;
}

.search-no-results .wp-block-search__button svg.search-icon {
    fill: #15171C;
}

.search-no-results .wp-block-search__input {
    font-family: var(--fb-global-body--font-family);
    font-weight: var(--fb-global-body--font-weight);
    font-size: var(--fb-global-body--font-size);
    line-height: var(--fb-global-body--line-height);
    padding: 0;
}

.page-id-40892 header.wp-block-template-part,
.page-id-40893 header.wp-block-template-part,
.page-id-40963 header.wp-block-template-part,
.page-id-52472 header.wp-block-template-part,
.page-id-52551 header.wp-block-template-part {
    display: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    padding: 0;
    margin: 0;
}

body a {
    color: #0875FF;
}

.wpmsh-support-header .wp-block-navigation-item__content {
    color: #15171C;
    font-family: var(--fb-global-fb_customtypo_epdbg--font-family);
    font-size: var(--fb-global-fb_customtypo_epdbg--font-size);
    font-weight: var(--fb-global-fb_customtypo_epdbg--font-weight);
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
}

.wpmsh-docs-header .wp-block-navigation-item__content {
    color: #404655;
    font-family: var(--fb-global-all--font-family);
    font-size: var(--fb-global-fb_customtypo_g3kqo--font-size);
    font-weight: 500;
    line-height: var(--fb-global-fb_customtypo_g3kqo--font-line-height);
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
}

.wpmsh-support-header .wp-block-navigation-item__content:hover,
.wpmsh-docs-header .wp-block-navigation-item__content:hover {
    color: #0875FF;
}

/* Docs archive page */
.wp-block-post-template-is-layout-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media all and (max-width: 1024px) {
    .wp-block-post-template-is-layout-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

li.wp-block-post.type-docs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    border: 1px solid #CEE3FF;
    border-radius: 4px;
    padding: 50px 20px;
    transition: all 0.3s ease;
}

li.wp-block-post.type-docs:hover {
    background: #E6F1FF;
    border-color: #CEE3FF;
}

li.wp-block-post.type-docs .wp-post-image {
    width: 54px !important;
    height: 62px !important;
}

li.wp-block-post.type-docs .wp-block-post-title {
    border: none;
    padding: 0 !important;
    margin-top: 24px !important;
}

li.wp-block-post.type-docs .wp-block-post-title a {
    font-family: var(--fb-global-fb_customtypo_ektib--font-family);
    font-size: 18px;
    line-height: 25px;
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
}

li.wp-block-post.type-docs .wp-block-post-title a:hover {
    color: #0875FF;
}

.single-docs .breadcrumb-item .breadcrumb-link {
    color: #404655 !important;
}

.single-docs .breadcrumb-item .breadcrumb-current {
    color: #0B0C0E !important;
}

.current-menu-item .wp-block-navigation-item__content {
    color: #0875FF !important;
}

/* surecart cart icon bg */
.wp-block-surecart-cart-icon {
    background: #0875FF !important;
}

/* Blog single page heading size */
.post-template-default.single-post h1,
.wpmsh-legal-info h1 {
    font-size: var(--fb-global-h2--font-size);
    line-height: var(--fb-global-h2--font-line-height);
}

.post-template-default.single-post h2,
.wpmsh-legal-info h2 {
    font-size: var(--fb-global-h3--font-size);
    line-height: var(--fb-global-h3--font-line-height);
}

.post-template-default.single-post .entry-content.wp-block-post-content h3,
.wpmsh-legal-info h3 {
    font-size: var(--fb-global-h4--font-size);
    line-height: var(--fb-global-h4--font-line-height);
}

.post-template-default.single-post h4,
.wpmsh-legal-info h4 {
    font-size: var(--fb-global-h5--font-size);
    line-height: var(--fb-global-h5--font-line-height);
}

.post-template-default.single-post h5,
.wpmsh-legal-info h5 {
    font-size: var(--fb-global-h6--font-size);
    line-height: var(--fb-global-h6--font-line-height);
}

/* Default spacing for blog single page elements */
.post-template-default.single-post .entry-content h1,
.post-template-default.single-post .entry-content h2,
.post-template-default.single-post .entry-content h3,
.post-template-default.single-post .entry-content h4,
.post-template-default.single-post .entry-content h5,
.post-template-default.single-post .entry-content h6,
.wpmsh-legal-info h1,
.wpmsh-legal-info h2,
.wpmsh-legal-info h3,
.wpmsh-legal-info h4,
.wpmsh-legal-info h5,
.wpmsh-legal-info h6,
ul.wp-block-list {
    margin-bottom: 12px;
}

.post-template-default.single-post .entry-content p {
    margin-bottom: 24px;
}

.wp-block-list li {
    font-family: var(--fb-global-body--font-family);
    font-weight: var(--fb-global-body--font-weight);
    font-size: var(--fb-global-body--font-size);
    line-height: var(--fb-global-body--line-height);
}

.wp-block-image {
    margin-bottom: 24px;
}

.attachment-post-thumbnail.size-post-thumbnail.wp-post-image {
    height: auto !important;
    border-radius: 2px;
}

.wpmsh-legal-info p,
.wpmsh-legal-info ul {
    margin-bottom: 24px !important;
}

.frontis-blocks-container-inner-blocks-wrap.wpmsh-docs-single:before {
    content: "";
    background-image: linear-gradient(90deg, #6DBDFF 0%, #FFAD56 25%, #DE64FF 52.5%, #92F0FE 75%, #2C6CFF 100%);
    opacity: 0.5;
    filter: blur(200px);
    position: absolute;
    top: -100%;
    visibility: visible;
    width: 100%;
    height: 100%;
}

/* Docs shortcode */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .docs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

@media (max-width: 480px) {
    .docs-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.doc-card {
    border: 1px solid #E1E3E8;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    transition: all 0.3s ease;
}

.doc-card:hover {
    background: #E6F1FF;
    border-color: #CEE3FF;
}

.doc-card .doc-content {
    margin-top: 24px;
}

.doc-link {
    display: block;
    padding: 42px 24px;
    text-decoration: none;
    color: inherit;
}

.doc-image img {
    width: 54px;
    height: 62px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.doc-title {
    font-family: var(--fb-global-fb_customtypo_ektib--font-family);
    font-size: var(--fb-global-fb_customtypo_ektib--font-size);
    line-height: var(--fb-global-fb_customtypo_ektib--font-line-height);
    color: #15171C;
    margin: 0px 0px 0px 0px;
    border: none;
    transition: all .3s ease-in-out;
    word-wrap: break-word;
}