/* Stylesheet for [da_quy_faq_page] Shortcode */

.thdq-faq-section {
    background-color: #fafcfc; /* Nền xanh kem rất nhẹ, thanh mát */
    border: 1px solid #d0ece7; /* Viền màu ngọc nhẹ */
    border-radius: 12px;
    padding: 35px;
    margin: 40px auto;
    max-width: 1200px;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
}

.thdq-section-title {
    font-size: 24px;
    font-weight: 700;
    color: #0e6251; /* Xanh ngọc bích đậm sang trọng */
    margin-bottom: 25px;
    text-transform: uppercase;
    border-bottom: 2px solid #c5a880; /* Viền vàng kim cổ điển */
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.thdq-faq-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 20px;
}

.thdq-faq-item {
    background: #ffffff;
    border: 1px solid #e5ebea;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 3px 10px rgba(14,98,81,0.02);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.thdq-faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(14,98,81,0.06);
    border-color: #0e6251; /* Đổi viền sang xanh ngọc khi hover */
}

.thdq-faq-question {
    font-size: 19px;
    font-weight: 600;
    color: #0e6251; /* Xanh ngọc bích đậm */
    margin: 0 0 12px 0 !important;
    line-height: 1.4;
    border: none !important;
}

.thdq-faq-content {
    color: #333333;
    font-size: 15px;
    line-height: 1.65;
}

.thdq-faq-content p {
    margin-bottom: 12px;
}

.thdq-faq-content p:last-child {
    margin-bottom: 0;
}

.thdq-faq-content ul, .thdq-faq-content ol {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

.thdq-faq-content ul li, .thdq-faq-content ol li {
    margin-bottom: 8px;
}

.thdq-faq-content ul li strong, .thdq-faq-content ol li strong {
    color: #0e6251;
}

/* FAQ Table */
.thdq-faq-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.thdq-faq-table th, .thdq-faq-table td {
    border: 1px solid #d0ece7;
    padding: 12px 15px;
    text-align: left;
}

.thdq-faq-table th {
    background-color: #e8f8f5; /* Nền tiêu đề th xanh ngọc nhạt */
    color: #0e6251;
    font-weight: 600;
}

.thdq-faq-table tr:nth-child(even) {
    background-color: #f9fcfc;
}

.thdq-faq-table td strong {
    color: #0e6251;
}

.thdq-faq-content a {
    color: #d27b2a;
    font-weight: bold;
    text-decoration: underline;
}

.thdq-faq-content a:hover {
    color: #0e6251;
}

/* Responsive */
@media (max-width: 768px) {
    .thdq-faq-section {
        padding: 20px 15px;
        margin: 20px auto;
    }
    .thdq-section-title {
        font-size: 20px;
        padding-bottom: 8px;
    }
    .thdq-faq-question {
        font-size: 16px;
    }
    .thdq-faq-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}
