/* CFO Topic Hub Styles */

/* Hero Section - White Background */
.topic-hub-hero {
    background: #ffffff;
    padding: 60px 0;
    color: #333;
}

.topic-hub-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
}

.topic-hub-description {
    max-width: 900px;
    margin: 0 auto;
    color: #444;
    line-height: 1.8;
    font-size: 1.05rem;
}

.topic-hub-description h2 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin: 40px 0 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.topic-hub-description h3 {
    color: #1a1a1a;
    font-size: 1.3rem;
    margin: 25px 0 12px;
}

.topic-hub-description p {
    margin-bottom: 16px;
    color: #444;
}

.topic-hub-description ul {
    margin: 15px 0 20px 20px;
    list-style: disc;
}

.topic-hub-description ul li {
    margin-bottom: 10px;
    color: #444;
}

.topic-hub-description ul li strong {
    color: #1a1a1a;
}

.topic-hub-description a {
    color: #0F6E56;
    text-decoration: underline;
    font-weight: 600;
}

.topic-hub-description a:hover {
    color: #0a4f3d;
}

/* Benefit Cards */
.topic-hub-benefits {
    margin: 30px 0;
}

.benefit-card {
    background: #f5f7f6;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 15px;
    border-left: 4px solid #0F6E56;
}

.benefit-card h3 {
    margin-top: 0;
    font-size: 1.15rem;
    color: #1a1a1a;
}

.benefit-card p {
    margin-bottom: 0;
    color: #444;
}

/* Cost Table */
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #f5f7f6;
    border-radius: 8px;
    overflow: hidden;
}

.cost-table th {
    background: #0F6E56;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #fff;
}

.cost-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
}

.cost-table tr:last-child td {
    border-bottom: none;
}

/* FAQ Items */
.topic-hub-faqs {
    margin: 30px 0;
}

.faq-item {
    background: #f5f7f6;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 12px;
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    color: #1a1a1a;
}

.faq-item p {
    margin-bottom: 0;
    color: #444;
}

/* Resources Grid */
.topic-hub-resources {
    margin: 30px 0;
}

.resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}

.resource-card {
    background: #f5f7f6;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s, background 0.2s;
}

.resource-card:hover {
    transform: translateY(-2px);
    background: #e8ecea;
}

.resource-card h3 {
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.resource-card p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #555;
}

.resource-link {
    display: inline-block;
    color: #0F6E56;
    font-weight: 600;
    text-decoration: none;
}

.resource-link:hover {
    text-decoration: underline;
    color: #0a4f3d;
}

/* Post title subtitle */
.subtitle {
    display: block;
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .topic-hub-hero {
        padding: 40px 0;
    }
    .topic-hub-title {
        font-size: 1.8rem;
    }
    .resources-grid {
        grid-template-columns: 1fr;
    }
    .cost-table {
        font-size: 0.9rem;
    }
}