/*----------------- page_title_box -----------------*/
.page_title_box {
    padding-bottom: 60px;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--dark-line);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page_date {
    font-size: var(--ft16);
    color: var(--gray-500);
}
.item_profile,
.item_tag {
    width: fit-content;
}
.item_tag {
    margin-top: 50px;
    flex-wrap: wrap;
}
.item_tag li {
    padding: 0;
    color: var(--gray-400);
}
.item_tag a {
    padding: 8px 12px;
}


/*----------------- detail -----------------*/
.thumb {
    width: 100%;
    max-width: 540px;
    margin: 0 auto 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
}
.content_link {
    width: 100%;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid var(--dark-line);
}
.content_link a {
    display: flex;
    align-items: center;
    gap: 10px;
}
.content_link .icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--gray-100);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.content_link img {
    width: 16px;
    height: 16px;
}
.content_link p {
    font-size: var(--ft14);
}
.content_link:hover {
    text-decoration: underline;
}

/*----------------- detail_btm -----------------*/
.detail_btm {
    margin-top: 120px;
}

/*-- list --*/
.list {
    display: flex;
    align-items: center;
    gap: 30px;
}
.list > div {
    width: calc(50% - 15px);
}
.list_top {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.list_top.next {
    justify-content: end;
}
.list_top img {
    width: 20px;
    height: 20px;
}
.list_top span {
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    color: var(--gray-400);
}
.list_box {
    width: 100%;
    border-radius: var(--radius-md);
    background-color: var(--gray-100);
}
.null .list_box,
.list_box a {
    padding: 20px 36px 20px 20px;
    display: flex;
    align-items: center;
    gap: 24px;
}
.list_img {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}
.list_text_box {
    width: calc(100% - 100px - 24px);
    display: flex;
    flex-direction: column;
}  
.item_name {
    margin-top: 0;
    margin-bottom: 12px;
}
.null .item_name {
    margin: 0;
    color: var(--gray-400);
}
.list_btm {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list_btm .date {
    font-size: var(--ft16);
    color: var(--gray-500);
}

/*-- list_btn --*/
.list_btn {
    width: fit-content;
    margin: 80px auto 0;
    border-radius: var(--radius-md);
    background-color: var(--gray-600);
}
.list_btn a {
    padding: 12px 32px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.list_btn p {
    font-size: var(--ft18);
    font-weight: var(--semi-bold);
    color: var(--white);
}
.list_btn img {
    width: 14px;
    height: 14px;
}

@media all and (max-width: 1200px) {
    .page_title {
        font-size: var(--ft40);
    }
    .item_tag {
        margin-top: 32px;
    }

}

@media all and (max-width: 1024px) {
    .list {
        flex-direction: column;
        gap: 12px;
    }
    .list > div {
        width: 100%;
    }
    .list_top {
        display: none;
    }
}
@media all and (max-width: 768px) {
    .page_title_box {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }
    .page_title {
        margin: 16px 0;
        font-size: var(--ft28);
    }
    .page_date {
        font-size: var(--ft14);
    }
    .item_tag {
        margin-top: 24px;
    }

    .thumb {
        margin-bottom: 32px;
    }

    .detail_btm {
        margin-top: 60px;
    }
    .null .list_box, 
    .list_box a {
        gap: 16px;
    }
    .list_img {
        width: 70px;
        height: 70px;
    }
    .list_text_box {
        width: calc(100% - 70px - 16px);
    }
    .item_name {
        font-size: var(--ft18);
    }
    .list_btm .item_profile {
        display: none;
    }
    .list_btm .date {
        font-size: var(--ft14);
    }
    .list_btn {
        margin-top: 50px;
    }
    .list_btn p {
        font-size: var(--ft16);
    }
}