.xtimeline {
    margin: 50px 0;
    display: flex;
    justify-content: center;
}
.xtimeline-inner {
    max-width: 700px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background-color: white;
}
.xtimeline-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #dedede;
}
.xtimeline-head span {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
}
.xtimeline-head a {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    background-color: black;
    text-decoration: none;
    white-space: nowrap;
}
.xtimeline-body {
    height: 590px;
    overflow: scroll;
}
.xtimeline-list {

}
.xtimeline-item {
    padding: 10px 20px 20px;
    border-bottom: 1px solid #dedede;
    display: flex;
    gap: 15px;
    cursor: pointer;
}
.xtimeline-item:hover {
    background-color: #f9f9f9;
}
.xtimeline-item:last-child {
    border-bottom: 1px solid #dedede;
}
.xtimeline-item-head a {
    width: 40px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    display: block;
}
.xtimeline-item-head a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.xtimeline-item-meta {
    margin: 10px 0;
    display: flex;
    gap: 10px;
}
.xtimeline-item-meta a {
    color: black;
    text-decoration: none;
}
.xtimeline-item-meta em:hover,
.xtimeline-item-meta time:hover {
    text-decoration: underline;
}
.xtimeline-item-meta span {
    font-size: 16px;
    color: #999;
    word-break: break-word;
}
.xtimeline-item-meta time {
    font-size: 16px;
    color: #999;
}
.xtimeline-item-meta em {
    font-size: 16px;
    font-weight: bold;
    font-style: normal;
}
.xtimeline-item-text {
    font-size: 16px;
    line-height: 1.5;
}
.xtimeline-item-text p {
    white-space: pre-wrap;
}
.xtimeline-item-text p a {
    color: rgb(29, 155, 240);
    text-decoration: none;
}
.xtimeline-item-text p a:hover {
    text-decoration: underline;
}
.xtimeline-item-img {
    overflow: hidden;
    border-radius: 20px;
    margin-top: 20px;
}
.xtimeline-item-img a {
    overflow: hidden;
}
.xtimeline-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: top;
}
.xtimeline-item-img .at-double {
    display: flex;
    gap: 2px;
}
.xtimeline-item-img .at-triple {
    display: grid;
    /* grid-template-columns: 200px repeat(2, 1fr);
    grid-template-rows: 200px repeat(2, 1fr);  */
    grid-column-gap: 2px;
    grid-row-gap: 2px;
    grid-auto-flow: row;
    grid-auto-columns: calc(50% - 1px);
}
.xtimeline-item-img .at-triple a:first-child {
    grid-area: 1 / 1 / 3 / 2;
}
.xtimeline-item-img .at-triple a:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}
.xtimeline-item-img .at-triple a:nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
}

.xtimeline-item-img .at-quad {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
}
.xtimeline-item-img .at-quad a {
    width: calc(50% - 1px);
}





@media screen and (max-width: 767px) {
    .xtimeline {
        margin: 50px 0 5% 0;
    }
    .xtimeline-item-meta a {
        flex-wrap: wrap;
    }
}