/*!
Theme Name: Pay2S
Theme URI: https://pay2s.vn
Author: Dương Lam
Author URI: https://pay2s.vn
Description: Theme by Lam
Version: 1.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: pay-2s
*/


.navbar-header img {
    width: 100px;
}

.contact-intro ul {
    display: flex;
}

.contact-intro ul li {
    display: inline-block;
    max-width: 100%;
    /* hoặc tùy theo thiết kế */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}


a {
    color: #2b7c51;
}

a:hover {
    color: #0d2719;
}

.wpo-blog-content {
    padding-top: 0 !important;
}

.thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 55%;

    overflow: hidden;
    display: block;
    border-radius: 8px;
    /* optional */
    background-color: #f0f0f0;
    /* fallback */
}

.thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pagination-wrapper {
    text-align: center;
    margin-top: 40px;
}

.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    background: #eee;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
}

.pagination-wrapper .page-numbers.current {
    background: #2b7c51;
    color: #fff;
}

.pagination-wrapper .page-numbers:hover {
    background: #ccc;
}

.custom-meta h2 {
    font-size: 20px;
}



.custom-meta li {
    list-style: none;
}

/* Mục lục desktop */
.toc-desktop {
    background: #f9f9f9;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 30px;
    max-width: 300px;
}

.toc-desktop ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-desktop li {
    margin: 5px 0;
}

.toc-desktop a {
    color: #2b7c51;
    text-decoration: none;
}

.toc-desktop a:hover {
    text-decoration: underline;
}

/* Mục lục mobile: nút fixed bottom */
#toc-mobile {
    display: none;
    position: fixed;
    bottom: 65px;
    left: 10px;
    max-width: 90vw;
    max-height: 50vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    border-radius: 6px;
    z-index: 9999;
}

#toc-toggle {
    position: fixed;
    bottom: 25px;
    left: 10px;
    background: #2b7c51;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 30px;
    cursor: pointer;
    z-index: 10000;
}

/* Hiện mục lục trên màn hình nhỏ */
@media (max-width: 768px) {
    .toc-desktop {
        display: none;
    }

    #toc-mobile {
        display: block;
    }
}