/* Scoped CSS for Category Hub */
.cat-hub-wrapper {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
    letter-spacing: 0.3px;
    scroll-behavior: smooth;
}

/* Global p tag font size */
.cat-hub-wrapper p {
    font-size: 18px;
}

html {
    scroll-behavior: smooth;
}

.cat-hub-container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.cat-hub-breadcrumb {
    /* Light cyan/blue background from image */
    padding: 15px 0;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #e1f1f2;
}

.cat-hub-breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.cat-hub-breadcrumb a:hover {
    color: #00a3ad;
}

.cat-hub-breadcrumb .sep {
    margin: 0 8px;
    color: #999;
}

.cat-hub-breadcrumb .current {
    color: #005277;
    /* Teal color for current item */
    font-weight: 700;
}

/* Hero Section */
.cat-hub-hero {
    text-align: center;
    padding: 60px 0;
    background: radial-gradient(ellipse 70% 80% at 78% 18%, var(--teal-2) 0%, transparent 62%), linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
    position: relative;
    overflow: hidden;
}

/* Hero with Background Image */
.cat-hub-hero-has-bg {
    min-height: 80vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
    background: transparent;
}

/* Hero Image - Positioned like background but with alt tag for SEO */
.cat-hub-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Hero Background - Tablet */
@media (max-width: 992px) {
    .cat-hub-hero-has-bg {
        min-height: 60vh;
        padding: 60px 0;
    }
}

/* Hero Background - Mobile */
@media (max-width: 576px) {
    .cat-hub-hero-has-bg {
        min-height: 50vh;
        padding: 40px 0;
    }
}

.cat-hub-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.cat-hub-hero-has-bg .cat-hub-container {
    position: relative;
    z-index: 2;
}

.cat-hub-title {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
    line-height: 1.4;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.cat-hub-desc {
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
}

/* Hero Stats Bar */
.cat-hub-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.cat-hub-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cat-hub-stat svg {
    color: #fff;
}

.cat-hub-stat-expert {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Editorial Trust Links */
.cat-hub-trust-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cat-hub-trust-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.cat-hub-trust-link:hover {
    color: #fff;
}

.cat-hub-trust-link:visited,
.cat-hub-trust-link:focus,
.cat-hub-trust-link:active {
    color: rgba(255, 255, 255, 0.9);
}

.cat-hub-trust-link svg {
    opacity: 0.8;
}

.cat-hub-trust-sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

@media (max-width: 480px) {
    .cat-hub-trust-links {
        flex-direction: column;
        gap: 10px;
    }

    .cat-hub-trust-sep {
        display: none;
    }
}

/* Responsive - Stats */
@media (max-width: 768px) {
    .cat-hub-stats {
        gap: 16px;
    }

    .cat-hub-stat {
        font-size: 0.85rem;
    }

    .cat-hub-stat-expert {
        width: 100%;
        justify-content: center;
    }
}

/* Featured Section */
.cat-hub-featured {
    padding: 40px 0 60px;
    background: #fff;
}

.cat-hub-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.cat-hub-f-card {
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cat-hub-f-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cat-hub-f-img {
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    height: 180px;
    border-radius: 12px 12px 0 0;
}

.cat-hub-f-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.cat-hub-f-card:hover .cat-hub-f-img img {
    transform: scale(1.05);
}

.cat-hub-f-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #005277;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.cat-hub-f-content {
    padding: 25px;
}

.cat-hub-f-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.cat-hub-f-cat-pill {
    display: inline-block;
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #fff !important;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}

.cat-hub-f-cat-pill:hover {
    background: linear-gradient(135deg, #00a3ad 0%, #005277 100%);
    color: #fff !important;
    transform: translateY(-2px);
}

.cat-hub-f-author {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #777;
    text-transform: capitalize;
}

.cat-hub-f-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    order: -1;
    flex-shrink: 0;
    object-fit: cover;
}

.cat-hub-f-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.4;
    color: #011642;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-hub-f-title a {
    color: inherit;
    text-decoration: none;
}

.cat-hub-f-title a:hover {
    color: #00a3ad;
}

.cat-hub-f-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* View All Articles Button */
.cat-hub-view-all {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.cat-hub-view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 82, 119, 0.3);
}

.cat-hub-view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 82, 119, 0.4);
    color: #fff;
}

.cat-hub-view-all-btn:visited,
.cat-hub-view-all-btn:focus {
    color: #fff !important;
}

.cat-hub-view-all-btn:active {
    color: #fff !important;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 82, 119, 0.3);
}

.cat-hub-view-all-btn svg {
    transition: transform 0.3s ease;
}

.cat-hub-view-all-btn:hover svg {
    transform: translateX(5px);
}

/* Ensure Badge Link Styling */
a.cat-hub-f-badge {
    text-decoration: none;
    color: #fff;
    transition: background 0.3s;
}

a.cat-hub-f-badge:visited {
    color: #fff;
}

a.cat-hub-f-badge:hover {
    background: #00a3ad;
    color: #fff;
}

a.cat-hub-f-badge:active {
    color: #fff;
}

/* Ensure Pill Link Styling */
a.cat-hub-f-cat-pill {
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

a.cat-hub-f-cat-pill:hover {
    background: #005277;
    color: #fff;
}

/* Subcategories Section */
.cat-hub-cats {
    padding: 60px 0;
    background: #f8fbff;
}

.cat-hub-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.cat-hub-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #011642;
    margin-bottom: 15px;
}

.cat-hub-section-sub {
    color: #666;
    font-size: 1.1rem;
}

.cat-hub-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cat-hub-c-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.cat-hub-c-card:hover {
    border-color: #011642;
    box-shadow: 0 10px 30px rgba(0, 212, 189, 0.1);
}

.cat-hub-c-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.cat-hub-c-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-hub-c-body {
    padding: 20px;
}

.cat-hub-c-body h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
    color: #011642;
}

.cat-hub-c-body h3 a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.cat-hub-c-body h3 a:hover {
    color: #00a3ad;
}

.cat-hub-c-body p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cat-hub-c-links {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 20px 0;
    color: #011642;
}

.cat-hub-c-links li {
    margin-bottom: 5px;
}

.cat-hub-c-links li a {
    color: #555;
    text-decoration: none;
    font-size: 19px;
    font-weight: 600;
    transition: 0.2s;
}

.cat-hub-c-links li a:hover {
    color: #011642;
    text-decoration: none;
}

.cat-hub-c-more {
    font-size: 16px;
    font-weight: 700;
    color: #005277;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
}

.cat-hub-c-more:hover {
    text-decoration: underline;
}

/* Grandchildren Tags */
.cat-hub-c-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.cat-hub-c-tag {
    background: #e0f7fa;
    color: #006064;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.2s;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cat-hub-c-tag:hover {
    background: #005277;
    color: #fff;
}

/* Subcategories (Grandchildren) - Different style from tags */
.cat-hub-c-subcats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.cat-hub-c-subcat {
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.cat-hub-c-subcat:hover {
    background: linear-gradient(135deg, #011642 0%, #005277 100%);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 82, 119, 0.3);
}

/* Expert Section - Dark Theme */
.cat-hub-expert.cat-hub-expert-dark {
    padding: 80px 0;
    background: transparent;
}

.cat-hub-expert-dark .cat-hub-section-title {
    color: #011642;
}

.cat-hub-expert-dark .cat-hub-section-sub {
    color: #666;
}

.cat-hub-expert-grid {
    max-width: 1200px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Single expert - full width centered */
.cat-hub-expert-grid.single-expert {
    grid-template-columns: 1fr;
    max-width: 900px;
}

/* 3 experts - special layout */
.cat-hub-expert-grid.three-experts {
    grid-template-columns: repeat(3, 1fr);
}

/* Card */
.cat-hub-expert-dark .cat-hub-e-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: transparent;
    /* border: 1px solid #e1f1f2; */
       border: 1px solid #00a3ad;
    border-radius: 20px;
    padding: 35px 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cat-hub-expert-dark .cat-hub-e-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border-color: #00a3ad;
}

.cat-hub-expert-dark .cat-hub-e-card:hover .cat-hub-e-stat {
    border-color: #00a3ad;
}

/* Expert Header - Image + Name side by side */
.cat-hub-e-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cat-hub-expert-dark .cat-hub-e-img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.cat-hub-e-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-hub-e-name-wrap {
    flex: 1;
}

.cat-hub-expert-dark .cat-hub-e-name-wrap h3 {
    font-size: 1.5rem;
    color: #011642;
    margin: 0 0 6px 0;
    font-weight: 700;
    text-transform: capitalize;
}

/* Expert Role/Specialist - Teal */
.cat-hub-expert-dark .cat-hub-e-role {
    font-size: 1rem;
    color: #00d4bd;
    font-weight: 500;
    margin: 0;
    text-transform: capitalize;
}

/* Expert Stats - Dark Boxes */
.cat-hub-expert-dark .cat-hub-e-stats {
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    border: none;
}

.cat-hub-expert-dark .cat-hub-e-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid #e1f1f2;
    border-radius: 12px;
    padding: 20px 15px;
}

.cat-hub-expert-dark .cat-hub-e-stat-num {
    font-size: 1.2rem;
    font-weight: 600;
    background: #011642;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.4;
}

.cat-hub-expert-dark .cat-hub-e-stat-text {
    font-size: 0.8rem;
    color: #666;
    text-transform: capitalize;
    margin-top: 5px;
}

/* Latest Post */
.cat-hub-expert-dark .cat-hub-e-latest {
    background: transparent;
    border: none;
    padding: 10px 0;
    border-radius: 0;
    margin: 0;
}

.cat-hub-expert-dark .cat-hub-e-latest-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.cat-hub-expert-dark .cat-hub-e-latest-link {
    display: block;
    font-size: 1rem;
    color: #011642;
    text-decoration: none;
    line-height: 1.5;
    font-weight: 500;
    transition: color 0.2s ease;
}

.cat-hub-expert-dark .cat-hub-e-latest-link:hover {
    color: #00a3ad;
}

/* Button - Gradient Teal */
.cat-hub-expert-dark .cat-hub-e-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 14px 28px;
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.cat-hub-expert-dark .cat-hub-e-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 163, 173, 0.4);
    color: #fff;
}

.cat-hub-expert-dark .cat-hub-e-btn:focus,
.cat-hub-expert-dark .cat-hub-e-btn:visited {
    color: #fff;
}

.cat-hub-expert-dark .cat-hub-e-btn .btn-arrow {
    transition: transform 0.3s ease;
}

.cat-hub-expert-dark .cat-hub-e-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
    .cat-hub-expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cat-hub-expert-grid.three-experts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cat-hub-expert-grid {
        grid-template-columns: 1fr;
    }

    .cat-hub-expert-grid.three-experts {
        grid-template-columns: 1fr;
    }

    .cat-hub-expert-dark .cat-hub-e-card {
        padding: 25px 20px;
    }

    .cat-hub-e-header {
        flex-direction: column;
        text-align: center;
    }

    .cat-hub-expert-dark .cat-hub-e-img {
        width: 100px;
        height: 100px;
    }

    .cat-hub-e-name-wrap {
        text-align: center;
    }

    .cat-hub-expert-dark .cat-hub-e-stats {
        flex-direction: column;
        gap: 12px;
    }

    .cat-hub-expert-dark .cat-hub-e-stat {
        padding: 15px;
    }

    .cat-hub-expert-dark .cat-hub-e-stat-num {
        font-size: 1.4rem;
    }

    .cat-hub-expert-dark .cat-hub-e-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Verified Expert Badge */
.verified-badge {
    display: inline-block;
    background: #e0f7f6;
    color: #00a3ad;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid #b2ebeb;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

/* Center Expert Section Title */
.cat-hub-expert .cat-hub-section-title,
.cat-hub-expert .cat-hub-section-sub {
    text-align: center;
}

/* Tips Section */
.cat-hub-tips {
    padding: 60px 0;
    background: #fff;
}

.cat-hub-tips .cat-hub-section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #011642;
}

.cat-hub-tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.cat-hub-tip-card {
    background: transparent;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    /* Content aligns left */
}

.cat-hub-tip-icon {
    width: 70px;
    height: 70px;
    background: #e0f2f1;
    /* Light Teal */
    color: #009688;
    /* Teal Icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.cat-hub-tip-body {
    width: 100%;
}

.cat-hub-tip-body h3 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #011642;
    margin-bottom: 20px;
    text-transform: capitalize;
}

/* List Styling for Checkmarks */
.cat-hub-tip-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-hub-tip-body ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #5d6d74;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cat-hub-tip-body ul li::before {
    content: '\2713';
    /* Checkmark Unicode */
    position: absolute;
    left: 0;
    top: 0;
    color: #00d4bd;
    /* Teal Checkmark */
    font-weight: 700;
}

.cat-hub-tip-body p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    text-align: center;
    text-transform: capitalize;
}

/* FAQ Section */
.cat-hub-faq {
    padding: 60px 0;
    background: #fff;
}

.cat-hub-faq-list {
    margin: 40px auto 0;
}

.cat-hub-faq-item {
    border: 1px solid #e1f1f2;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #fff;
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
}

.cat-hub-faq-item[open] {
    border-color: #00a3ad;
    box-shadow: 0 4px 12px rgba(0, 212, 189, 0.1);
}

.cat-hub-faq-q {
    list-style: none;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
    user-select: none;
}

.cat-hub-faq-question {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #011642;
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cat-hub-faq-q::-webkit-details-marker {
    display: none;
}

.cat-hub-faq-a {
    font-family: 'Poppins', sans-serif;
    padding: 0 25px 25px;
    color: #555;
    font-size: 18px;
    line-height: 1.6;
    letter-spacing: 0.3px;
    border-top: 1px solid transparent;
    text-transform: capitalize;
}

.cat-hub-faq-item[open] .cat-hub-faq-a {
    border-top-color: #f0fbfd;
}

.faq-icon {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid #00a3ad;
    border-bottom: 2px solid #00a3ad;
    transform: rotate(45deg);
    transition: transform 0.3s;
    margin-left: 15px;
}

.cat-hub-faq-item[open] .faq-icon {
    transform: rotate(-135deg);
    border-color: #000;
}

/* Center FAQ Section Title */
.cat-hub-faq .cat-hub-section-title {
    text-align: center;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .cat-hub-faq {
        padding: 48px 0;
    }

    .cat-hub-faq-list {
        margin-top: 30px;
    }

    .cat-hub-faq-q {
        padding: 16px 20px;
    }

    .cat-hub-faq-question {
        font-size: 18px;
        line-height: 1.4;
        padding-right: 10px;
    }

    .cat-hub-faq-a {
        padding: 0 20px 20px;
        font-size: 16px;
    }

    .faq-icon {
        width: 10px;
        height: 10px;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .cat-hub-faq {
        padding: 40px 0;
    }

    .cat-hub-faq-q {
        padding: 14px 16px;
    }

    .cat-hub-faq-question {
        font-size: 16px;
    }

    .cat-hub-faq-a {
        padding: 0 16px 16px;
        font-size: 15px;
    }
}

/* Ensure Checkmarks for Tips even if p tags are used (fallback) */
.cat-hub-tip-body p {
    margin-bottom: 10px;
}

/* Specific List Styling Override */
.cat-hub-tip-body ul {
    margin-top: 5px;
}

.cat-hub-tip-body ul li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    list-style: none;
    /* Force remove default bullets */
}

.cat-hub-tip-body ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 2px;
    color: #00d4bd;
    font-weight: bold;
    font-size: 1rem;
}

/* Related Categories Section */
.cat-hub-related {
    padding: 60px 0;
    background: #fff;
}

.cat-hub-related .cat-hub-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.cat-hub-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.cat-hub-rel-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cat-hub-rel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cat-hub-rel-img {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

/* Card without image - simple style */
.cat-hub-rel-card.no-img {
    background: #fff;
    border: 1px solid #e5e5e5;
}

.cat-hub-rel-content-simple {
    padding: 25px;
}

.cat-hub-rel-content-simple h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #011642;
    margin-bottom: 12px;
}

.cat-hub-rel-content-simple p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.cat-hub-rel-content-simple .cat-hub-rel-btn {
    color: #005277;
    border-color: #005277;
}

.cat-hub-rel-card.no-img:hover {
    border-color: #011642;
}

.cat-hub-rel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.4;
}

.cat-hub-rel-content {
    position: relative;
    z-index: 2;
    padding: 25px;
    color: #fff;
}

.cat-hub-rel-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}

.cat-hub-rel-content p {
    font-size: 16px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.cat-hub-rel-btn {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

.cat-hub-rel-card:hover .cat-hub-rel-btn {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .cat-hub-related-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }

    .cat-hub-rel-img {
        height: 240px;
    }
}

/* ========================================
   MEDICAL DISCLAIMER SECTION
   ======================================== */
.cat-hub-disclaimer {
    background: linear-gradient(135deg, #fff8e6 0%, #fff3d6 100%);
    border: 1px solid #f0e6c8;
    border-radius: 8px;
    padding: 20px;
}

.cat-hub-disclaimer-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.cat-hub-disclaimer-content svg {
    flex-shrink: 0;
    color: #b8860b;
    margin-top: 2px;
}

.cat-hub-disclaimer-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #5c4a1f;
    letter-spacing: 0.3px;
}

.cat-hub-disclaimer-content p strong {
    color: #8b6914;
}

@media (max-width: 768px) {
    .cat-hub-disclaimer {
        padding: 16px;
        border-radius: 6px;
    }

    .cat-hub-disclaimer-content {
        gap: 10px;
    }

    .cat-hub-disclaimer-content p {
        font-size: 13px;
    }

    .cat-hub-disclaimer-content svg {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   FEATURED POSTS SECTION (Latest Articles)
   Same design as Subcategory Page
   ======================================== */
.cat-hub-posts-section {
    padding: 60px 0;
    background: #f8fbff;
}

.cat-hub-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.cat-hub-posts-grid.cols-1 {
    grid-template-columns: 1fr;
}

.cat-hub-posts-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.cat-hub-post-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.cat-hub-post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.cat-hub-post-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 12px 12px 0 0;
}

.cat-hub-post-thumbnail a {
    display: block;
    width: 100%;
}

.cat-hub-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cat-hub-post-card:hover .cat-hub-post-thumbnail img {
    transform: scale(1.05);
}

.cat-hub-post-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    z-index: 2;
}

.cat-hub-post-tag {
    display: inline-block;
    background: linear-gradient(135deg, #005277 0%, #00a3ad 100%);
    color: #ffffff !important;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: fit-content;
    max-width: max-content;
}

.cat-hub-post-tag:hover {
    background: linear-gradient(135deg, #00a3ad 0%, #005277 100%);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.cat-hub-post-content {
    padding: 24px;
}

/* Post Header - Author + Meta Row */
.cat-hub-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.cat-hub-post-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-hub-post-author-link {
    display: block;
    flex-shrink: 0;
}

.cat-hub-post-author-avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 2px solid #e0e0e0;
    background: #f3f4f6;
    image-rendering: auto;
}

.cat-hub-post-author-info {
    display: flex;
    flex-direction: column;
}

.cat-hub-post-author-name {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

.cat-hub-post-author-name:hover {
    color: #005277;
}

.cat-hub-post-author-credential {
    font-size: 12px;
    color: #00a3ad;
    font-weight: 500;
}

/* Post Meta - Date + Reading Time */
.cat-hub-post-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 12px;
    color: #666;
}

.cat-hub-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cat-hub-post-meta svg {
    width: 14px;
    height: 14px;
    color: #005277;
}

.cat-hub-post-date,
.cat-hub-post-reading-time {
    font-weight: 500;
}

/* Post Title */
.cat-hub-post-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px 0;
    line-height: 1.4;
    letter-spacing: 0.3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-hub-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cat-hub-post-title a:hover {
    color: #005277;
}

/* Post Excerpt */
.cat-hub-post-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    letter-spacing: 0.3px;
    margin: 0 0 16px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read Article Button */
.cat-hub-post-btn {
    font-family: 'Poppins', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gradient);
    border-color: transparent;
    color: var(--accent-ink) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.cat-hub-post-btn:hover {
    background: var(--accent-gradient);
    transform: translateX(5px);
    color: var(--accent-ink) !important;
}

.cat-hub-post-btn:active {
    background: var(--accent-gradient);
    transform: translateX(2px);
    color: var(--accent-ink) !important;
}

.cat-hub-post-btn svg {
    transition: transform 0.3s ease;
}

.cat-hub-post-btn:hover svg {
    transform: translateX(5px);
}

/* Posts Grid Responsive */
@media (max-width: 992px) {
    .cat-hub-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cat-hub-posts-grid.cols-1 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cat-hub-posts-section {
        padding: 48px 0;
    }

    .cat-hub-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cat-hub-post-content {
        padding: 20px;
    }

    .cat-hub-post-title {
        font-size: 16px;
    }

    .cat-hub-post-header {
        flex-direction: column;
        gap: 12px;
    }

    .cat-hub-post-meta {
        flex-direction: row;
        align-items: center;
        gap: 15px;
    }

    .cat-hub-post-excerpt {
        font-size: 13px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .cat-hub-post-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .cat-hub-posts-section {
        padding: 40px 0;
    }

    .cat-hub-section-header {
        padding: 0 10px;
    }

    .cat-hub-section-title {
        font-size: 1.6rem;
    }

    .cat-hub-section-sub {
        font-size: 0.95rem;
    }

    .cat-hub-post-author-avatar {
        width: 36px;
        height: 36px;
    }

    .cat-hub-post-author-name {
        font-size: 13px;
    }

    .cat-hub-post-author-credential {
        font-size: 11px;
    }

    .cat-hub-post-tags {
        gap: 4px;
    }

    .cat-hub-post-tag {
        font-size: 9px;
        padding: 3px 8px;
    }
}
