#single{
    background: var(--main-color);

    h1{
        width: clamp(22.5rem, 100%, 30rem);
        line-height: 0;
        padding: 1rem 2rem;
    }
    figure{
        display: grid;

        img{
            width: 100%;
            height: 10rem;
            object-fit: cover;
            object-position: center;
            grid-column: 1;
            grid-row: 1;
        }
        figcaption{
            width: clamp(22.5rem, 100%, 30rem);
            background: var(--clear-color);
            color: var(--text-color);
            padding: 1rem;
            font-size: 1.5rem;
            grid-column: 1;
            grid-row: 1;
            align-self: center;
            justify-self: center;
            text-align: center;
        }
    }
}


article{
    padding: 4rem 0;

    section{
        width: clamp(48rem, 90%, 68.75rem);
        margin: 0 auto;

        h2{
            font-size: 1.5rem;
            text-align: center;
            font-weight: normal;
            border-bottom: 2px solid var(--main-color);
            padding-bottom: .5rem;
            margin-bottom: 1rem;
        }
        p{
            margin: 1rem auto;
            line-height: 1.8;
            text-align: justify;
        }
    }
}
@media (max-width: 767px){
    article{
        padding: 3rem 0;

        section{
            width: 90%;

            h2{
                font-size: 1.25rem;
            }
        }
    }
}

.blog__time{
    text-align: right;
    margin: 0 auto 3rem;
}

.pagenav{
    border-bottom: 2px solid;
    border-top: 2px solid;
    border-image:var(--main-gradation) 1;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;

    a{
        color: var(--text-color);
    }
}

.next{
    text-align: right;
}
@media (max-width: 767px){
    .pagenav{
        flex-direction: column;
    }
}


#archives{
    background: var(--sub-color);
    padding: 4rem 0;
}
#sidebar{
    width: clamp(48rem, 90%, 68.75rem);
    margin: 0 auto;

    h3{
        font-weight: normal;
        margin-bottom: 1rem;
        font-size: 1rem;
        background: var(--main-color);
        color: var(--clear-color);
        padding: .5rem 1rem;
    }
    a{
        color: var(--text-color);
    }
}
.widget-container{
    margin-bottom: 3rem;
}
.widget-container:last-of-type{
    margin-bottom: 0;  
}
@media (max-width: 767px){
    #sidebar{
        width: 90%;
    }
}