.page-community-hub {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding for non-homepage content */
}

.page-community-hub__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-community-hub__hero-image-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.page-community-hub__hero-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-community-hub__hero-content {
    width: 100%;
    max-width: 800px;
}

.page-community-hub__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #F2C14E;
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.6);
}

.page-community-hub__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #E5E5E5;
}

.page-community-hub__hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-community-hub__button {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    color: #111111; /* Ensure text color contrasts with button gradient */
}

.page-community-hub__button--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    box-shadow: 0 4px 10px rgba(255, 211, 107, 0.4);
}

.page-community-hub__button--secondary {
    background-color: #111111;
    color: #F2C14E;
    border: 1px solid #3A2A12;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-community-hub__button--tertiary {
    background-color: #111111;
    color: #FFD36B;
    border: 1px solid #F2C14E;
}

.page-community-hub__button--small {
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-community-hub__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 211, 107, 0.6);
}

.page-community-hub__button--secondary:hover, .page-community-hub__button--tertiary:hover {
    box-shadow: 0 6px 15px rgba(255, 211, 107, 0.6);
}

.page-community-hub__section-title {
    color: #F2C14E;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 211, 107, 0.4);
}

.page-community-hub__paragraph {
    max-width: 900px;
    margin: 0 auto 20px auto;
    text-align: center;
    color: #E5E5E5;
}

.page-community-hub__about-community-section,
.page-community-hub__guidelines-section,
.page-community-hub__events-section,
.page-community-hub__blog-news-section,
.page-community-hub__cta-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-community-hub__features-grid,
.page-community-hub__event-cards-grid,
.page-community-hub__blog-cards-grid {
    display: grid;
    gap: 30px;
    margin-top: 30px;
}

.page-community-hub__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-community-hub__feature-card,
.page-community-hub__event-card,
.page-community-hub__blog-card {
    background-color: #111111;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid #3A2A12;
    transition: transform 0.2s ease-in-out;
}

.page-community-hub__feature-card:hover,
.page-community-hub__event-card:hover,
.page-community-hub__blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.2);
}

.page-community-hub__feature-icon,
.page-community-hub__event-image,
.page-community-hub__blog-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-community-hub__feature-title,
.page-community-hub__event-title,
.page-community-hub__blog-title {
    color: #FFD36B;
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-community-hub__blog-title a {
    color: #FFD36B;
    text-decoration: none;
}

.page-community-hub__blog-title a:hover {
    text-decoration: underline;
}

.page-community-hub__feature-description,
.page-community-hub__event-description,
.page-community-hub__blog-excerpt {
    color: #E5E5E5;
    font-size: 0.95em;
}

.page-community-hub__event-date,
.page-community-hub__blog-meta {
    color: #F2C14E;
    font-size: 0.85em;
    margin-bottom: 10px;
}

.page-community-hub__guidelines-list {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 20px auto;
}

.page-community-hub__guideline-item {
    background-color: #111111;
    border-left: 5px solid #F2C14E;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    color: #E5E5E5;
    text-align: left;
}

.page-community-hub__event-cards-grid,
.page-community-hub__blog-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-community-hub__blog-card .page-community-hub__button--read-more {
    margin-top: 15px;
    background-color: #111111;
    color: #FFD36B;
    border: 1px solid #3A2A12;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.page-community-hub__blog-card .page-community-hub__button--read-more:hover {
    background-color: #F2C14E;
    color: #111111;
    border-color: #F2C14E;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 211, 107, 0.4);
}

.page-community-hub__view-all-button-wrapper {
    text-align: center;
    margin-top: 30px;
}

.page-community-hub__cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-community-hub__hero-section {
        padding: 15px;
    }

    .page-community-hub__main-title {
        font-size: 1.8em;
    }

    .page-community-hub__intro-text {
        font-size: 1em;
    }

    .page-community-hub__hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-community-hub__button {
        width: 80%;
        max-width: 300px;
    }

    .page-community-hub__section-title {
        font-size: 1.6em;
    }

    .page-community-hub__about-community-section,
    .page-community-hub__guidelines-section,
    .page-community-hub__events-section,
    .page-community-hub__blog-news-section,
    .page-community-hub__cta-section {
        padding: 30px 15px;
    }

    .page-community-hub__features-grid,
    .page-community-hub__event-cards-grid,
    .page-community-hub__blog-cards-grid {
        grid-template-columns: 1fr;
    }

    .page-community-hub__feature-title,
    .page-community-hub__event-title,
    .page-community-hub__blog-title {
        font-size: 1.1em;
    }

    .page-community-hub__guideline-item {
        font-size: 0.9em;
    }

    .page-community-hub__cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .page-community-hub img {
        max-width: 100%;
        height: auto;
    }
}