

article {
    padding-top: 40px;
    width: min(calc(100% - 2rem), 1200px);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
}
.article{
    width: 720px;
}
.article>.ttl {
    font-size: var(--clamp-40);
    color: #333;
    font-weight: bold;
}

.article .hashtags {
    padding-top: 40px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.article .hashtags li {
    color: #333;
    border: 1px solid #333;
    border-radius: 5px;
    padding: .5rem 1rem;
}

.article .thumbnail {
    margin-top: 1rem;
    width: 100%;
}
.article .thumbnail img{
    border: 1px solid rgba(23, 21, 21, 0.2);
    border-radius: 10px;
}
.article .table_of_contents {
    margin-top: 1rem;
    background: rgba(199, 199, 199, 0.15);
    padding: 1rem calc(.75rem + 5px);
    color: #333;
    border-top: 4px double #C7C7C7;
    border-bottom: 4px double #C7C7C7;
}

.table_of_contents .head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}

.table_of_contents .head p {
    font-weight: bold;
    font-size: 20px;
}
.table_of_contents .body{
    padding-bottom: 2rem;
}
.table_of_contents .main_headline,
.table_of_contents .sub_headline {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    cursor: pointer;
}
.table_of_contents .main_headline{
    font-size: 20px;
    text-decoration: none;
    color: #333;
    margin-top: 2rem;

}
.insert_img{
    padding-top: 2rem;
}

.table_of_contents .sub_headline{
    margin-left: 2rem;
}
.table_of_contents .section_bar{
    width: 1px;
    height: 16px;
    background-color: #333;
}
.article > .main_headline{
    width: 100%;
    background: #3AA3CD;
    margin-top: 1rem;
}
.article > .main_headline p{
    color: #fff;
    font-weight: bold;
    font-size: 28px;
    margin: 5px;
    padding: .75rem;
    border: 1px dashed #fff;
    display: inline-block;
    width: calc(100% - (.75rem * 2) - 10px - 2px);
}
.article > .sub_headline{
    margin-top: 2rem;
    border-bottom: 3px solid #3AA3CD;
    width: 100%;
}
.article > .sub_headline p{
    font-weight: bold;
    font-size: 24px;
    padding-left: calc(.75rem + 5px);
    color: #333;
    padding-bottom:.75rem;
}
.article .body_text{
    padding-top: 2rem;
    line-height: 36px;
}
.side{
    width: 350px;
}
.side .profile{
    padding:2rem;
    border: 1px solid #D3D3D3;
    border-radius: 10px;
}
.side .profile .img{
    width: 100px;
    border-radius: 50%;
    margin-inline:auto;
}
.side .profile .name{
    text-align: center;
    font-weight: bold;
    padding-block:1rem;
}

.side .profile .explanation{
line-height: 24px;
}
.side .sns{
    text-align: center;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    padding-top: .5rem;
}
.popular_articles>.ttl{
    width: 100%;
    border-bottom: 3px solid #3AA3CD;
    margin-top: 2rem;
    padding-bottom: .5rem;
    font-weight: bold;
    color: #333;
}
.popular_articles ul li>a{
    display:flex;
    align-items:flex-start;
    gap: .5rem;
    padding-top: 1rem;
    text-decoration: none;
}

.popular_articles li .thumbnail{
    flex: 1;
}
.popular_articles li .thumbnail img{
    border:1px solid rgba(23, 21, 21, 0.2);
    border-radius: 5px;
}
.popular_articles li .info{
    width: 200px;
    color: #333;
}
.popular_articles li .info .ttl{
    font-weight: bold;
    padding-bottom: .5rem;
}
*[contenteditable=true]{
    caret-color: red;
    outline: none;
}

@media (max-width:768px) {
    article {
        display: block;
    }
    .article{
        width: 100%;
        padding-bottom: 40px;
    }
    .side{
        width: 100%;
    }
}