/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* begin home particles */

.particles-row {
    position: relative !important;
    overflow: hidden !important;
}

#particles-js {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important; 
    pointer-events: none; 
}

.particles-row .uncode-row-background {
    z-index: 0 !important;
}

.particles-row .block-bg-overlay {
    z-index: 1 !important;
}

.particles-row .row-parent,
.particles-row .row-inner,
.particles-row .wpb_column {
    position: relative !important;
    z-index: 10 !important;
    background: transparent !important;
}

/* end home particles */

/* begin blog post */

html {
    scroll-behavior: smooth !important;
}

.bittensor-blog-skin {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: 'Inter', sans-serif !important;
    display: block;
    position: relative;
    overflow: visible !important;
}

.bittensor-blog-skin .post-layout-grid {
    display: flex !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 36px;
    gap: 60px;
    position: relative;
}

.bittensor-blog-skin .post-content-area {
    flex: 1;
    min-width: 0;
}

.bittensor-blog-skin .entry-content-text {
    font-size: 18px;
    line-height: 1.8;
}

.bittensor-blog-skin .entry-content-text a {
    color: #000000 !important;
    text-decoration: underline !important;
    font-weight: 500;
}

.bittensor-blog-skin .entry-content-text a:hover {
    text-decoration: none !important;
}

.post-content-area h2, 
.post-content-area h3 {
    scroll-margin-top: 120px;
}

.post-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 20px;
}

.meta-footer-left {
    display: flex;
    gap: 30px;
}

.bittensor-blog-skin .entry-content-text .meta-footer-link {
    color: #0d594f !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.bittensor-blog-skin .entry-content-text .meta-footer-link span {
    text-decoration: underline !important;
}

.bittensor-blog-skin .entry-content-text .meta-footer-link:hover {
    opacity: 0.8;
}
.bittensor-blog-skin .entry-content-text .meta-footer-link:hover span {
    text-decoration: none !important;
}

.bittensor-blog-skin .entry-content-text .meta-footer-link i {
    font-size: 18px;
    display: inline-block; 
    text-decoration: none !important;
}

.bittensor-blog-skin .entry-content-text .share-icons a,
.bittensor-blog-skin .share-icons a {
    color: #111 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    background: none !important;
    box-shadow: none !important;
}

.bittensor-blog-skin .share-icons a:hover {
    color: #0d594f !important;
}

.bittensor-blog-skin .share-icons a:after, 
.bittensor-blog-skin .share-icons a:before {
    display: none !important;
}

.meta-footer-right.share-icons {
    margin-top: 0;
    justify-content: flex-end;
}

@media (max-width: 600px) {
    .post-meta-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .meta-footer-right.share-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 960px) {
    .bittensor-blog-skin .post-layout-grid {
        flex-direction: column !important;
    }
    .bittensor-blog-skin .post-title-big {
        font-size: 36px !important;
    }
}

.bittensor-blog-skin .entry-content-text .row-parent.limit-width {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
}

/* end blog post */

/* begin blog post particles */

.bittensor-blog-skin .post-hero {
    position: relative !important;
    background-image: url('https://bittensor.pt/wp-content/uploads/2026/03/Bittensor-Background-image-scaled.webp') !important;
    background-size: cover !important;
    background-position: center center !important;
    padding: 120px 0 80px 0 !important;
    color: #ffffff !important;
    overflow: hidden !important;
}

.bittensor-blog-skin .post-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0e1013;
    opacity: 0.65;
    z-index: 1;
}

#particles-blog {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    pointer-events: none;
}

@media (min-width: 961px) {
    .bittensor-blog-skin .post-hero .limit-width {
        padding-right: 416px !important;
    }
}

.bittensor-blog-skin .post-hero .limit-width {
    position: relative !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 36px;
    z-index: 10 !important;
}

.bittensor-blog-skin .post-hero a {
    color: #ffffff !important;
    text-decoration: underline !important;
    transition: opacity 0.3s ease;
}

.bittensor-blog-skin .post-hero a:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

.bittensor-blog-skin .post-breadcrumbs {
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.bittensor-blog-skin .post-breadcrumbs a {
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
}

.bittensor-blog-skin .post-breadcrumbs a:hover {
    text-decoration: underline !important;
}

.bittensor-blog-skin .post-title-big {
    font-size: 54px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin: 20px 0 !important;
    color: #ffffff !important;
}

/* end blog post particles */

/* begin blog post sidebar */

.toc-invisible-h2 {
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    border: none !important;
}

.bittensor-blog-skin .post-sidebar-sticky {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.bittensor-blog-skin .sticky-box {
    padding: 25px;
    padding-top: 0;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    will-change: transform;
}

.bittensor-blog-skin .sticky-box h3 {
    font-size: 13px;
    text-transform: uppercase;
    border-bottom: 2px solid #0d594f;
    padding-bottom: 10px;
    margin-bottom: 15px;
 
    color: #000000 !important;
}

#dynamic-toc-display a {
    color: inherit !important;
    text-decoration: none !important;
    display: inline-block;
    width: 100%;
}

#dynamic-toc-display a:hover {
    text-decoration: underline !important;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.toc-header .toc-parent {
    margin-bottom: 0;
    flex: 1;
}

.toc-toggle {
    cursor: pointer;
    font-size: 10px;
    color: #888888;
    padding-left: 15px;
    padding-top: 2px;
    user-select: none;
    transition: color 0.3s ease;
}

.toc-toggle:hover {
    color: #0d594f;
}

.toc-parent {
    font-size: 12px;
    text-transform: uppercase;
    color: #888888;
    font-weight: 600;
    display: block;
}

.toc-child {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    color: #0d594f;
    display: block;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    font-size: 14px;
    line-height: 1.4;
    color: #aaaaaa;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.toc-item.is-active {
    color: #333333 !important;
    font-weight: 700;
}

.share-icons {
    font-size: 24px;
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.share-icons a {
    color: #111 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

.share-icons a:after, 
.share-icons a:before {
    display: none !important;
}

.share-icons a:hover {
    color: #0d594f;
}

@media (max-width: 960px) {
    .bittensor-blog-skin .post-sidebar-sticky {
        width: 100% !important;
    }
    
    .bittensor-blog-skin .post-sidebar-sticky .sticky-box:not(.sidebar-cta-widget) {
        display: none !important;
    }

    .bittensor-blog-skin .sidebar-cta-widget {
        margin-top: 0 !important;
    }
}

.sidebar-cta-widget {
    margin-top: 25px;
    padding-top: 25px !important;
    background-color: #0d594f !important;
    text-align: center;
    border: none;
}

.sidebar-cta-widget .cta-title {
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
    border: none;
    padding: 0;
    text-transform: none;
    line-height: 1.3;
}

.sidebar-cta-widget .cta-desc {
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.5;
}

.sidebar-cta-widget .cta-button {
    display: inline-block;
    background-color: #000;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none !important;
    width: 100%;
    transition: opacity 0.3s ease;
}

.sidebar-cta-widget .cta-button:hover {
    opacity: 0.8;
    color: #000 !important;
    background-color: #fff !important;
    text-decoration: none !important;
}

#toc-show-all {
    display: block;
    font-size: 13px;
    margin-top: 15px;
    color: #0d594f;
    text-decoration: underline !important;
    font-weight: 600;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    text-align: center;
}

#toc-show-all:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

/* end blog post sidebar */

/* begin blog post meta */

.meta-expanded-content {
    margin-top: 20px;
    padding: 25px;
    background: #fcfcfc;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

.meta-expanded-content .sources-intro {
    margin-bottom: 15px;
}

.meta-expanded-content .sources-intro p:last-child {
    margin-bottom: 0;
}

.meta-expanded-content .sources-list, .meta-expanded-content .history-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.meta-expanded-content .sources-list li, .meta-expanded-content .history-list li {
    margin-bottom: 10px;
    color: #555555;
}

.meta-expanded-content .sources-list a {
    color: #0d594f !important;
    text-decoration: underline !important;
    word-break: break-all;
    font-weight: 400;
}

.meta-expanded-content .sources-list a:hover {
    text-decoration: none !important;
    opacity: 0.8;
}

.meta-expanded-content .sources-list li:last-child, 
.meta-expanded-content .history-list li:last-child {
    margin-bottom: 0 !important;
}

.meta-expanded-content .history-list li:last-child p:last-child,
.meta-expanded-content .sources-list li:last-child p:last-child {
    margin-bottom: 0 !important;
}

/* end blog post meta */

/* begin blog post newsletter */

.custom-newsletter-box {
    background-color: #0d594f;
    border-radius: 12px;
    padding: 30px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 40px;
}

.custom-newsletter-box .newsletter-left {
    flex: 1;
}

.custom-newsletter-box .newsletter-left h3 {
    color: #ffffff !important;
    font-size: 26px;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
}

.custom-newsletter-box .newsletter-right {
    flex: 1.2;
    min-width: 0;
}

.bittensor-blog-skin .entry-content-text .custom-newsletter-box a {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.bittensor-blog-skin .entry-content-text .custom-newsletter-box a:hover {
    opacity: 0.8;
}

.newsletter-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    background: #fff;
    padding: 8px !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    min-width: 0;
    border: none !important;
    background: transparent !important;
    padding: 10px 15px !important;
    font-size: 16px;
    color: #333;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.newsletter-btn {
    flex-shrink: 0;
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 25px !important;
    border-radius: 7px !important; 
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none !important;
    margin: 0 !important;
}

.newsletter-btn:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
    box-shadow: inset 0 0 0 2px #000000;
    border-radius: 7px;
}

.newsletter-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.4;
    margin: 0;
}

.newsletter-disclaimer a {
    color: #ffffff !important;
    text-decoration: underline !important;
}

.newsletter-success-msg {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 768px) {
    .custom-newsletter-box {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }
    .newsletter-input-group {
        flex-direction: column;
        background: transparent;
        padding: 0;
    }
    .newsletter-input-group input[type="email"] {
        background: #fff !important;
        border-radius: 6px;
        margin-bottom: 10px !important;
    }
    .newsletter-btn {
        width: 100%;
        border-radius: 7px;
    }
}

/* end blog post newsletter */

/* begin blog sticky fix */

body.single-post .box-wrapper,
body.single-post .box-container,
body.single-post .main-wrapper,
body.single-post .main-container,
body.single-post .page-wrapper,
body.single-post .sections-container {
    overflow: visible !important;
    contain: none !important;
}

.bittensor-blog-skin .post-sidebar-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 140px !important;
    height: fit-content;
    transform: none !important;
}

/* end blog sticky fix */

/* begin hippus button fix */

#post-1001 a.btn-color-xsdn.btn-outline[href="https://hippius.com/"]:hover {
    background-color: #ffffff !important; 
    box-shadow: inset 0 0 0 2px #102b65 !important; /* Rahmen in eurem korrekten Blau */
    color: #102b65 !important; /* Schrift in eurem korrekten Blau */
}

#post-1001 a.btn-color-xsdn.btn-outline[href="https://hippius.com/"]:hover i {
    color: #102b65 !important;
}

/* end hippus button fix */

/* begin metrics page */

.box-wrapper:has(.bts-dashboard-wrapper),
.box-container:has(.bts-dashboard-wrapper),
.main-wrapper:has(.bts-dashboard-wrapper),
.main-container:has(.bts-dashboard-wrapper),
.page-wrapper:has(.bts-dashboard-wrapper),
.sections-container:has(.bts-dashboard-wrapper) {
    overflow: visible !important;
    contain: none !important;
}

.bts-dashboard-wrapper {
    padding: 60px 15px;
}

.bts-dashboard-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.bts-dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.bts-widget-row-50-50 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.bts-dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
    min-width: 0; 
}

@media (min-width: 960px) {
    .bts-dashboard-wrapper {
        padding: 60px 36px;
    }

    .bts-dashboard-layout {
        grid-template-columns: 280px 1fr; 
        gap: 50px;
    }
    
    .bts-dashboard-sidebar {
        margin: 0;
        max-width: 100%;
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 150px !important;
        height: max-content !important;
        z-index: 90;
    }
}

.bts-page-bg {
    background-color: #f5f5f7 !important;
}

/* end metrics page */

/* begin custom wpb styles */

.btsw-btn-hero {
    position: relative;
    z-index: 999999999 !important;
}

html body .main-container .row-parent .btsw-image-card .uncell {
    overflow: hidden !important;
}

html body .main-container .row-parent .btsw-image-card .uncont > .uncode-single-media:first-child {
    margin-top: -40px !important;
    margin-left: -40px !important;
    margin-right: -40px !important;
    margin-bottom: 24px !important;
    width: calc(100% + 80px) !important;
    max-width: none !important;
    display: block !important;
}

html body .main-container .row-parent .btsw-image-card .uncode-single-media img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

@media (max-width: 959px) {
    html body .main-container .row-parent .btsw-image-card .uncont > .uncode-single-media:first-child {
        margin-top: -24px !important;
        margin-left: -24px !important;
        margin-right: -24px !important;
        margin-bottom: 20px !important;
        width: calc(100% + 48px) !important;
    }
}

#submeter .wpcf7-submit {
    background-color: #0d594f !important;
    color: #ffffff !important;
    border: 2px solid #0d594f !important;
    transition: all 0.3s ease !important;
}

#submeter .wpcf7-submit:hover,
#submeter .wpcf7-submit:focus {
    background-color: transparent !important;
    color: #0d594f !important;
    border: 2px solid #0d594f !important;
}

/* end custom wpb styles */

@media screen and (max-width: 1340px) {
    div.hide-btn-early {
        display: none !important;
    }
}

@media screen and (max-width: 1060px) {
    div.hide-btn-late {
        display: none !important;
    }
}