/* 
 * CSS for FAQ Page Template
 */
:root {
    /* Brand Colors - Copied from style.css for local reference */
    --primary: #183059;
    --primary-light: #24447d;
    --secondary: #C59560;
    --accent: #B85C5C;
    --bg-linen: #FDFBF7;
    --bg-white: #FFFFFF;
    --text-dark: #183059;
    --text-body: #555555;
    --border: #E5E5E5;
    --radius-lg: 12px;
    --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

.page-template-template-faq #content {
    background-color: var(--bg-linen, #FDFBF7);
}

.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: var(--font-body, 'Be Vietnam Pro', sans-serif);
    color: var(--text-body);
    line-height: 1.6;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h1 {
    color: var(--primary);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
    font-family: var(--font-heading);
}

.faq-header p {
    color: var(--text-body);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

/* Layout Grid 2 cột */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid transparent;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--border);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 16px;
    user-select: none;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-linen);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.4s cubic-bezier(.4, 0, .2, 1), background-color 0.3s, color 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    background: var(--primary);
    color: var(--bg-white);
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active {
    border-color: var(--border);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(.4, 0, .2, 1);
    background: var(--bg-white);
}

.faq-answer-inner {
    padding: 0 24px 24px;
    color: var(--text-body);
    font-size: 15px;
    border-top: 1px dashed var(--border);
    margin: 0 24px;
    padding-top: 20px;
}

.faq-answer-inner p {
    margin-top: 0;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-answer-inner strong {
    color: var(--text-dark);
}

.faq-category-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-column:not(:first-child) .faq-category-title {
    margin-top: 40px;
}

.faq-category-title span {
    background: var(--bg-white);
    padding: 8px 16px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border);
}

.faq-contact {
    text-align: center;
    margin-top: 60px;
    padding: 40px 30px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-contact h3 {
    color: var(--primary);
    margin-top: 0;
    font-size: 22px;
    font-weight: 800;
}

.faq-contact p {
    margin-bottom: 24px;
    color: var(--text-body);
}

.faq-contact a {
    display: inline-block;
    padding: 12px 32px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(184, 92, 92, 0.3);
}

.faq-contact a:hover {
    background: var(--accent);
    box-shadow: 0 6px 15px rgba(24, 48, 89, 0.3);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .faq-container {
        padding: 40px 15px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-header {
        margin-bottom: 40px;
    }

    .faq-header h1 {
        font-size: 28px;
    }

    .faq-question {
        font-size: 15px;
        padding: 16px 20px;
    }

    .faq-answer-inner {
        padding: 0 20px 20px;
        margin: 0 20px;
    }

    .faq-column:not(:first-child) .faq-category-title {
        margin-top: 30px;
    }
}