﻿
.title{
    display:flex;
    justify-content: center;
    align-items:center;
    color: black;
    /*margin-bottom: 50px;*/
    margin-top: 50px;
    text-align:center;
}

.title h1{
    font-size: 6rem !important;
    font-family: Impact;
}

.blog-list .pagination li {
    padding-bottom: 12px;
    align-items: center;
    display: flex;
    flex-direction: row-reverse;
    gap: 10px;
}

.blog-list .pagination li:before {
    /*font-family: 'FontAwesome';*/
    content: '';
    /*padding-right: 3px;*/
}

.blog-list {
    margin-left:-14px;
    padding: 20px;
    padding-top: 50px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(230, 230, 150, 0.2) 10%, rgba(230, 230, 230, 0.8) 90%, #f2f2f2 100% );
    width: 100vw;
    display: flex;
    justify-content: center;
    gap:50px;
}

    .blog-list hr {
        border: none;
        height: 2px;
        background-color: #ccc;
        margin: 30px auto;
        border-radius: 50px;
    }

.blog-list-container {
    display: grid;
    order:0;
    /*gap: 50px;*/
}

.blog-posts, .blog-posts-inside, .blog-comments-inside {
    background-color: white;
    width: 70vw;
    display: grid;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 1px 8px 4px rgba(0,0,0,0.4);
}

/*.blog-posts-inside {
    width: 90vw;
}*/

.blog-comments-inside {
    width:70vw;
    border-radius: 15px;
    text-align: start;
    padding: 20px;
}

    .blog-comments-inside b {
        font-weight: bold;
    }

    .blog-comments-inside h1 {
        justify-self: center;
        font-size: 3rem;
        color: black;
    }

.blog-comments-text {
    gap: 25px;
    display: grid;
}

.blog-comments-text-inputs {
    display: flex;
    width: 100%;
    gap: 6%;
}

.blog-comments-list {
    display: grid;
    width: 80%;
    justify-self: center;
    gap: 25px;
}

.blog-comments-input-boxes {
    width: 47%;
}

.blog-comments-input-textarea {
    width: 100%;
}

.blog-comments-input-boxes span {
    font-size: 1.5rem;
}

.blog-sidebar {
    order:1;
    padding: 20px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    background-color: #fafafa;
    border-left: 2px solid #ddd;
    border-radius: 15px;
    width: 250px;
    min-height: 250px;
    box-shadow: 0 1px 8px 4px rgba(0,0,0,0.4);
}

    .blog-sidebar h3 {
        font-size: 14px;
        color: #444;
        text-transform: uppercase;
        margin-bottom: 10px;
        border-bottom: 1px dotted #ccc;
        padding-bottom: 5px;
    }

.archive-list {
    list-style: none;
    padding-left: 0;
}

    .archive-list button {
        background: none;
        border: none;
        cursor: pointer;
        padding: 4px;
        font-weight: bold;
        color: #3a4cc4;
    }

    .archive-list li {
        margin-bottom: 5px;
    }

    .archive-list a {
        color: #3a4cc4;
        text-decoration: none;
    }

        .archive-list a:hover {
            text-decoration: underline;
        }

.nested {
    list-style: none;
    margin-left: 15px;
    padding-left: 10px;
    border-left: 1px dotted #ccc;
}

.collapsed {
    display: none;
}

.blog-comment-author-title {
    font-size: 20px;
}

    .blog-comment-author-title b {
        font-size: 25px;
        font-weight: bold;
        color: black;
    }

.blog-comment-content-text {
    font-size: 15px;
}

#pagination-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

    #pagination-controls button {
        padding: 8px 16px;
        font-size: 16px;
        border: none;
        background-color: #007bff;
        color: white;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.2s ease-in-out;
    }

        #pagination-controls button:hover:not(:disabled) {
            background-color: #0056b3;
        }

        #pagination-controls button:disabled {
            background-color: #ccc;
            cursor: default;
            color: #666;
        }

.blog-comment-content-text blockquote {
    font-style: italic;
    padding: 10px 20px;
    margin: 0;
    border-left: 4px solid #ccc;
    background-color: #f9f9f9;
    quotes: "“" "”" "‘" "’";
}

    .blog-comment-content-text blockquote::before {
        content: open-quote;
        font-size: 2rem;
        vertical-align: top;
        line-height: 0;
    }

    .blog-comment-content-text blockquote::after {
        content: close-quote;
        font-size: 2rem;
        vertical-align: bottom;
        line-height: 0;
    }


.blog-post-preview {
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
    /*margin: 40px 0;*/
}


    .blog-post-preview hr {
        border: none;
        height: 3px;
        border-radius: 50px;
        background-color: lightgray;
        width: 20%;
        margin: 30px auto;
    }

.blog-published-at {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    gap: 20px;
    justify-content: center;
    display: flex;
}

.blog-container-title {
    position: relative;
    margin-bottom: 10px;
    bottom: 20px;
    display: grid;
    /*gap: 5px;*/
}

.blog-container-post {
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
    height: auto;
    line-height: 1.75;
}

    .blog-container-post strong {
        font-weight: bold;
    }

    .blog-container-post img, .blog-container-post-mobile  img{
        max-width: 70%;
        height: auto;
    }

.blog-container-post-mobile {
    display: none;
}

.blog-container-footer {
    margin-top: 50px;
    position: relative;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
}

    .blog-container-footer button {
        height: 40px;
        backgroung-color: green;
    }

#id-published-at {
    color: dodgerblue;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
}

#id-published-at-2 {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
    font-size: 1.5rem;
}

.blog-title {
    font-size: 36px;
    margin-bottom: 10px;
    text-align: center;
}


.meta {
    color: gray;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.blog-details {
    width: 100vw;
}


.pagination {
    justify-self: center;
    display: flex;
}


@media (max-width:768px){
    .blog-posts, .blog-posts-inside, .blog-comments-inside{
        justify-self: center;
        width: 95vw;
    }

    .blog-container-post{
        display: none;
    }

    .blog-container-post-mobile{
        display: block;
    }


    .title h1{
        font-size: 3rem !important;
    }

    .blog-list{
        display:grid;
    }

    .blog-sidebar{
        order:0;
        width: 95vw;
        justify-self:center;
        min-height: 0px;
    }

    .blog-list-container{
        order: 1;
    }


}

.grecaptcha-badge {
    display: none;
}