﻿.featured-post-banner {
    top: 0;
    right: 0;
    width: 50px;
    border-radius: 0 var(--bs-border-radius-lg);
}

#extlink-url {
    color: var(--accent-color1);
}

#img-captcha {
    cursor: pointer;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 3px 0 0 3px;
}

#imgzoom {
    height: max-content;
    margin: 0 auto;
    width: max-content;
}

.ul-cat-list-desktop,
.ul-tag-list-desktop {
    a.btn {
        margin-right: 10px;
    }
}

.modal-imgzoom {
    display: table;
}

.article-post-slug {
    padding: 28px 38px;
    
    [data-bs-theme=dark] & {
        background-color: transparent !important;
        padding: 0;
        border: 0 none !important;
    }
}

h1.post-title,
.post-content h1 {
    font-size: 1.6rem;
    
    @media (max-width: 767px) {
        font-size: 1.4rem;
    }
}

.post-content {
    h2 {
        font-size: 1.35rem;
        
        @media (max-width: 767px) {
            font-size: 1.3rem;
        }
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    h4 {
        font-size: 1.15rem;
    }
    
    p {
        font-size: 0.95rem;
        line-height: 1.6rem;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    img {
        cursor: pointer;
        min-height: 4px;
        min-width: 4px;
    }
    
    a {
        border-bottom: 1px dashed var(--accent-color1);
    }
    
    blockquote,
    .blockquote {
        border-left: 5px solid var(--bs-gray-300);
        color: var(--bs-secondary);
        margin: 0 0 20px;
        padding: 10px 20px;
        
        p:last-child,
        ul:last-child,
        ol:last-child {
            margin-bottom: 0;
        }
        
        footer,
        small,
        .small {
            font-size: 80%;
        }
        
        [data-bs-theme=dark] & {
            border-left: 5px solid var(--bs-border-color);
            color: var(--bs-secondary-color);
        }
    }
}

.post-header-hr {
    margin-bottom: 5px;
}

.post-publish-info {
    font-size: 0.75rem;
}

.post-slug-actions {
    font-size: 1rem;
}

.comment-form-containter {
    padding: 20px 38px;
    
    .card-subtitle {
        font-size: 1rem;
    }
    
    [data-bs-theme=dark] & {
        background-color: transparent !important;
    }
}

.comment-list {
    .thumbnail {
        padding: 0;
    }
    
    .card {
        position: relative;
    }
}

.comment-item {
    background-color: var(--bs-white);
    
    [data-bs-theme=dark] & {
        background-color: var(--bs-body-bg);
    }
}

pre {
    display: grid !important;
}

pre,
code {
    font-family: "Cascadia Code", Consolas, SFMono-Regular, Menlo, Monaco, "Liberation Mono", "Courier New", monospace;
    white-space: pre-wrap;
    word-wrap: break-word;
}

math {
    background-color: #f9f9f9;
    border: 1px solid #d3d6db;
    display: inline-block;
    overflow-x: auto;
    padding: 1em;
    border-radius: 5px;
    font-size: 1rem;
    
    [data-bs-theme=dark] & {
        background-color: #2e2e2e;
        border: 1px solid #454545;
        color: #e3e3e3;
    }
}

.dynamic-heading-tag {
    display: block;
    position: relative;
    top: -65px;
    visibility: hidden;
}