.post-share {
    margin-top: 24px;
    color: #002c55;
    font-size: 14px;
    padding: 15px;
    background: #f7fbfd;
    border-radius: 15px;
    border: 1px solid #e5f7ff;
    float: left;
    width: calc(100% - 32px);
}
.post-share > p {
margin-bottom: 12px;
    font-weight: 600;
    color: #003c78;
}
.post-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}
.post-share .post-share-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #002c55;
    font: inherit;
    cursor: pointer;
}
.post-share .post-share-action:hover {
    color: #00a9ef;
}
.post-share-action:focus-visible {
    outline: 2px solid #00a9ef;
    outline-offset: 4px;
}
.post-share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00a9ef;
    color: #fff;
}
.post-share-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}
.post-share-copy {
    background: #f1f3f5;
    color: #002c55;
}
.post-share-copy svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.content-sidebar .content{
    margin-top: 32px;
}

.content-sidebar-wrap{
    margin-bottom: 50px;
}

.single-post #toc_container {
    display: block;
    margin: 24px 0;
    padding: 16px 18px;
    border: 1px solid rgb(0 169 239 / 20%);
    border-radius: 10px;
    background: rgb(0 169 239 / 4%);
    font-size: 15px;
}
.single-post #toc_container p.toc_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-left: 28px;
    background: url('../../images/toc-list.svg') no-repeat left center / 18px 18px;
    color: #002c55;
    font-size: 18px;
    text-align: left;
}
.single-post #toc_container .toc_toggle {
    font-size: 13px;
}
.single-post #toc_container .toc_toggle a {
    color: #00a9ef;
}
.single-post #toc_container p.toc_title + ul.toc_list {
    margin-top: 12px;
}
.single-post #toc_container .toc_list a {
    display: block;
    padding: 5px 0;
    color: #002c55;
    line-height: 1.5;
    transition: color 0.2s ease;
}
.single-post #toc_container ul ul {
    margin: 4px 0 8px 10px;
    padding-left: 12px;
    border-left: 1px solid rgb(0 169 239 / 20%);
    font-size: 15px;
}
.single-post #toc_container a:hover,
.single-post #toc_container a:focus-visible {
    color: #00a9ef;
    text-decoration: none;
}

.single .entry-content .gallery-columns-2 .gallery-item, 
.page .entry-content .gallery-columns-2 .gallery-item ,
.taxonomy-description .gallery-columns-2 .gallery-item {
    width: calc(100% / 2 - 10px);
}

.single .entry-content .gallery-columns-2 .gallery-item:nth-child(2n+1), 
.page .entry-content .gallery-columns-2 .gallery-item:nth-child(2n+1),
.taxonomy-description .gallery-columns-2 .gallery-item:nth-child(2n+1) {
    clear: both;
}

.single .entry-content .gallery-columns-3 .gallery-item:nth-child(3n+1), 
.page .entry-content .gallery-columns-3 .gallery-item:nth-child(3n+1),
.taxonomy-description .gallery-columns-3 .gallery-item:nth-child(3n+1)  {
    clear: both;
}
.single .entry-content .gallery-columns-3 .gallery-item, 
.page .entry-content .gallery-columns-3 .gallery-item ,
.taxonomy-description .gallery-columns-3 .gallery-item {
    width: calc(100% / 3 - 10px);
}

.entry-content .gallery-item,
.taxonomy-description .gallery-item {
    float: left;
    width: calc(100% / 3 - 10px);
    margin: 5px;
    padding: 0;
    overflow: hidden;
}

.entry-content .gallery-item img,
.taxonomy-description .gallery-item img{
    width: 100%;
    aspect-ratio: 750 / 500; /* vuông 1:1 */
    object-fit: cover;
    display: block;
}

.entry-content .gallery,
.taxonomy-description .gallery{
    float: left;
    width: 100%;
    margin: 10px 0 15px;
}

@media (max-width: 480px) {
    .content-sidebar .content {
        margin-top: 5px;
    }

    .single-post #toc_container{
        padding: 15px;
    }

    .single-post #toc_container p.toc_title + ul.toc_list {
        margin-top: 2px;
    }

    .single-post #toc_container .toc_list a {
        padding: 3px 0;
        line-height: 1.2;
        font-size: 14px;
    }

    .single-post #toc_container ul ul {
        margin: 4px 0 8px 5px;
        padding-left: 5px;
    }

    .single-post #toc_container .toc_list li li a{
        font-size: 14px;
    }
}
