.container-seo {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#short-description h2, #short-description h3, #short-description h4 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
        line-height: 1 !important;
    margin-top: 10px !important;
}

/* Phần Mô tả */
.description-content {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
}

.short-text {
    margin-bottom: 15px;
    color: #555;
}
.toggleButton{
    background-color: var(--color-main);
}
/* Ẩn phần mô tả đầy đủ ban đầu */
.full-text-hidden {
    
    max-height: 140px; 
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease-out; 
    opacity: 1;
    padding-top: 0;
    margin-top: 0;
}

.full-text-visible {
    max-height: auto; 
    opacity: 1;
    border-top: 1px dashed #eee;
    transition: max-height 0.6s ease-in, opacity 0.5s ease-in; 
}

/* Nút Đọc thêm/Thu gọn */
#toggleButton {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

#toggleButton:hover {
    background-color: #0056b3;
}

/* Kiểu cho ul/li trong phần mở rộng */
.full-text-visible ul {
    list-style-type: disc;
    margin-left: 20px;
    padding-left: 0;
}
.description-content {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
    background-color: #fff;
    position: relative; 
    overflow: hidden;
}


.description-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px; 
    pointer-events: none; 
    
    background: linear-gradient(
        to bottom, 
        rgba(255, 255, 255, .3) 0%, /* Trong suốt ở trên */
        rgba(255, 255, 255, 1) 100% /* Màu trắng đục ở dưới */
    );
    
}
.description-content.expanded::after {
    display: none;
    opacity: 0;
}
@media(max-width: 768px){
    #short-description h2, #short-description h2 span, #short-description h3, #short-description h3 span {
        line-height: 25px !important;
        font-size: 1.3rem !important;
    }

    section#short-description {
        margin-top: 20px;
    }
}