/* --- TỐI ƯU GIAO DIỆN DANH SÁCH BÀI VIẾT TOKADO --- */

/* 1. Hiệu ứng nổi bật khi di chuột (Hover) */
.tokado-view .card {
    transition: all 0.3s ease-in-out;
    border: 1px solid #e7eaf3;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.tokado-view .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 42, 106, 0.08) !important;
    border-color: transparent;
}

/* 2. Cố định chiều cao và tỷ lệ ảnh (Không bao giờ bị méo hay thò thụt) */
.tokado-view .card-img {
    height: 220px;
    width: 100%;
    object-fit: cover; /* Tự động cắt cúp ảnh cho vừa vặn */
    border-radius: 12px 12px 0 0;
    transition: transform 0.5s ease;
}

/* Hiệu ứng zoom nhẹ ảnh khi di chuột */
.tokado-view .card:hover .card-img {
    transform: scale(1.05);
}

/* Khóa phần hình ảnh không bị tràn khi zoom */
.tokado-view .card-img-wrap {
    overflow: hidden;
}

/* 3. Tự động cắt gọn tiêu đề (Tối đa 2 dòng) */
.tokado-view .card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e2022;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tokado-view .card:hover .card-title {
    color: #0056b3; /* Đổi màu tiêu đề khi hover sang màu thương hiệu TOKADO */
}

/* 4. Tự động cắt gọn đoạn trích (Tối đa 3 dòng) */
.tokado-view .card-text {
    font-size: 0.95rem;
    color: #677788;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tokado-view .card-body {
    padding: 10px !important;
}


div.info-person{
    background: #677788;
    padding: 3px 15px 0 15px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 30px;
    color: #fff;
}

div.info-person-img{
	max-width: 110px;
}

img.info-person{
	width: 100px;
	margin-bottom: 30px;
}

#more-button {
    border: 0;
    background: 0;
    color: #377dff;
    font-weight: bold;
}

#more-content {
    display: none;
    padding-top: 35px !important;
    border-radius: .5rem;
    background: #fafafa;
}

.none {
    display: none;
}

.tokado-view ul > li {
    margin-bottom: 1rem !important;
}

.tokado-view blockquote {
    margin: 1rem 0;
    border-left: 10px solid #e77844;
    padding: 0 1rem;
    text-align: justify;
    font-style: italic;
}

.tokado-view img  {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
    max-width: 500px;
    height: auto !important;
}

.tokado-view iframe  {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
    max-width: 500px;
}

.tokado-view table {
    border-collapse: unset !important;
    border-spacing: 1px !important;
    width: 100% !important;
    min-width: 767px;
    border: 0;
}

.tokado-view table tr:nth-child(odd) {
    background: #eceff3;
}

.tokado-view table tr:nth-child(even) {
    background: #f7faff;
}

.tokado-view table td {
    padding: 5px;
}

.tokado-view table td p {
    margin-bottom: 0 !important;
}

.table-view {
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .table-view {
        overflow-x: scroll;
    }
}