/* style/user-community-hot-topics.css */
.page-user-community-hot-topics {
    font-family: 'Arial', sans-serif;
    color: #f5e6ce; /* Light text on dark background */
    background-color: #0A1931;
    line-height: 1.6;
}

.page-user-community-hot-topics .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-user-community-hot-topics .hero-section {
    background: linear-gradient(135deg, #0A1931 0%, #1a2a47 100%);
    padding: 100px 0;
    text-align: center;
    color: #FFD700;
    border-bottom: 2px solid #FFD700;
}

.page-user-community-hot-topics .hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-user-community-hot-topics .hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f5e6ce;
}

.page-user-community-hot-topics .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.page-user-community-hot-topics .btn-primary {
    background-color: #FFD700;
    color: #0A1931;
}

.page-user-community-hot-topics .btn-primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-user-community-hot-topics .btn-secondary {
    background-color: #1a2a47;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.page-user-community-hot-topics .btn-secondary:hover {
    background-color: #FFD700;
    color: #0A1931;
    transform: translateY(-2px);
}

.page-user-community-hot-topics .btn-outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-user-community-hot-topics .btn-outline:hover {
    background-color: #FFD700;
    color: #0A1931;
    transform: translateY(-2px);
}

.page-user-community-hot-topics .section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 60px;
    position: relative;
    padding-bottom: 10px;
}

.page-user-community-hot-topics .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #FFD700;
}

.page-user-community-hot-topics .section-subtitle {
    font-size: 1.1em;
    color: #f5e6ce;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-user-community-hot-topics .trending-topics-section {
    padding: 60px 0;
    background-color: #0A1931;
}

.page-user-community-hot-topics .topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-user-community-hot-topics .topic-card {
    background-color: #1a2a47;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-user-community-hot-topics .topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-user-community-hot-topics .topic-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-user-community-hot-topics .topic-card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-user-community-hot-topics .topic-card-description {
    font-size: 0.95em;
    color: #f5e6ce;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-user-community-hot-topics .featured-discussion-section {
    padding: 80px 0;
    background-color: #0A1931;
}

.page-user-community-hot-topics .discussion-post {
    background-color: #1a2a47;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.page-user-community-hot-topics .discussion-post:last-child {
    margin-bottom: 0;
}

.page-user-community-hot-topics .post-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 2px solid #FFD700;
}

.page-user-community-hot-topics .post-content {
    padding: 30px;
}

.page-user-community-hot-topics .post-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-user-community-hot-topics .post-meta {
    font-size: 0.85em;
    color: #999;
    margin-bottom: 20px;
}

.page-user-community-hot-topics .post-excerpt {
    font-size: 1em;
    color: #f5e6ce;
    margin-bottom: 25px;
}

.page-user-community-hot-topics .btn-read-more {
    background-color: #FFD700;
    color: #0A1931;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-user-community-hot-topics .btn-read-more:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-user-community-hot-topics .cta-section {
    background: linear-gradient(45deg, #1a2a47 0%, #0A1931 100%);
    padding: 80px 0;
    text-align: center;
    color: #f5e6ce;
    border-top: 2px solid #FFD700;
}

.page-user-community-hot-topics .cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-user-community-hot-topics .cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-user-community-hot-topics .cta-buttons .btn {
    margin: 0 10px;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-user-community-hot-topics .discussion-post {
        flex-direction: row;
    }

    .page-user-community-hot-topics .post-image {
        width: 35%;
        height: auto;
        border-bottom: none;
        border-right: 2px solid #FFD700;
    }

    .page-user-community-hot-topics .post-content {
        width: 65%;
    }
}

@media (max-width: 768px) {
    .page-user-community-hot-topics .hero-title {
        font-size: 2.2em;
    }

    .page-user-community-hot-topics .section-title {
        font-size: 2em;
    }

    .page-user-community-hot-topics .topic-grid {
        grid-template-columns: 1fr;
    }

    .page-user-community-hot-topics .post-title {
        font-size: 1.5em;
    }

    .page-user-community-hot-topics .cta-title {
        font-size: 2em;
    }

    .page-user-community-hot-topics .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-user-community-hot-topics .cta-buttons .btn {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .page-user-community-hot-topics .hero-section,
    .page-user-community-hot-topics .trending-topics-section,
    .page-user-community-hot-topics .featured-discussion-section,
    .page-user-community-hot-topics .cta-section {
        padding: 40px 0;
    }

    .page-user-community-hot-topics .hero-title {
        font-size: 1.8em;
    }

    .page-user-community-hot-topics .hero-description {
        font-size: 1em;
    }

    .page-user-community-hot-topics .section-title {
        font-size: 1.8em;
    }

    .page-user-community-hot-topics .topic-card-title {
        font-size: 1.3em;
    }

    .page-user-community-hot-topics .post-title {
        font-size: 1.3em;
    }

    .page-user-community-hot-topics .cta-title {
        font-size: 1.8em;
    }
}