/* style/ev88-community-forum.css */
.page-ev88-community-forum {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page-ev88-community-forum .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-ev88-community-forum .section-padding {
    padding: 80px 0;
}

.page-ev88-community-forum .bg-light {
    background-color: #e9ecef;
}

.page-ev88-community-forum .text-center {
    text-align: center;
}

/* Hero Section */
.page-ev88-community-forum-hero {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-ev88-community-forum-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:ev88_forum_hero_pattern,abstract_grid,tech_lines]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-ev88-community-forum-hero .container {
    position: relative;
    z-index: 1;
}

.page-ev88-community-forum-hero .hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffc107;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-ev88-community-forum-hero .hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-ev88-community-forum-hero .hero-actions .btn {
    margin: 0 10px;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Buttons */
.page-ev88-community-forum .btn-primary {
    background-color: #ffc107;
    color: #000;
    border: 2px solid #ffc107;
}

.page-ev88-community-forum .btn-primary:hover {
    background-color: #e0a800;
    border-color: #e0a800;
    transform: translateY(-2px);
}

.page-ev88-community-forum .btn-secondary {
    background-color: transparent;
    color: #ffc107;
    border: 2px solid #ffc107;
}

.page-ev88-community-forum .btn-secondary:hover {
    background-color: #ffc107;
    color: #000;
    transform: translateY(-2px);
}

.page-ev88-community-forum .btn-outline {
    background-color: transparent;
    color: #007bff;
    border: 1px solid #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-ev88-community-forum .btn-outline:hover {
    background-color: #007bff;
    color: #ffffff;
}

/* Section Titles and Subtitles */
.page-ev88-community-forum .section-title {
    font-size: 2.5em;
    color: #007bff;
    margin-bottom: 20px;
    font-weight: bold;
    text-align: center;
}

.page-ev88-community-forum .section-subtitle {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 40px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.page-ev88-community-forum-about .about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-ev88-community-forum-about .about-text {
    flex: 1;
    min-width: 300px;
}

.page-ev88-community-forum-about .about-text p {
    margin-bottom: 15px;
    color: #444;
}

.page-ev88-community-forum-about .about-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-ev88-community-forum-about .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* Discussion Areas Section */
.page-ev88-community-forum-areas .area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ev88-community-forum-areas .area-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-ev88-community-forum-areas .area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-ev88-community-forum-areas .area-item .area-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.page-ev88-community-forum-areas .area-item h3 {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-ev88-community-forum-areas .area-item p {
    color: #666;
    font-size: 0.95em;
}

/* Join Section (Steps) */
.page-ev88-community-forum-join {
    background-color: #ffffff;
}

.page-ev88-community-forum-join .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-ev88-community-forum-join .step-item {
    text-align: center;
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

.page-ev88-community-forum-join .step-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-ev88-community-forum-join .step-item .step-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-ev88-community-forum-join .step-item h4 {
    font-size: 1.3em;
    color: #007bff;
    margin-bottom: 10px;
}

.page-ev88-community-forum-join .step-item p {
    color: #666;
    font-size: 0.9em;
}

.page-ev88-community-forum-join .step-item a {
    color: #ffc107;
    text-decoration: none;
    font-weight: bold;
}

.page-ev88-community-forum-join .step-item a:hover {
    text-decoration: underline;
}

/* Rules Section */
.page-ev88-community-forum-rules .rules-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-ev88-community-forum-rules .rules-image {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-ev88-community-forum-rules .rules-list {
    flex: 1;
    min-width: 300px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-ev88-community-forum-rules .rules-list li {
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 15px 20px;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    color: #444;
}

.page-ev88-community-forum-rules .rules-list li strong {
    color: #007bff;
}

/* Platform Section */
.page-ev88-community-forum-platform {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #ffffff;
    padding: 80px 0;
}

.page-ev88-community-forum-platform .section-title,
.page-ev88-community-forum-platform .section-subtitle {
    color: #ffc107;
}

.page-ev88-community-forum-platform p {
    color: #e0e0e0;
    max-width: 900px;
    margin: 20px auto;
    font-size: 1.1em;
}

.page-ev88-community-forum-platform .platform-actions .btn {
    margin: 0 15px;
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Detail List Section */
.page-ev88-community-forum-details .detail-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-ev88-community-forum-details .detail-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-ev88-community-forum-details .detail-item h3 {
    font-size: 1.6em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-ev88-community-forum-details .detail-item p {
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .page-ev88-community-forum-hero .hero-title {
        font-size: 2.8em;
    }
    .page-ev88-community-forum .section-title {
        font-size: 2em;
    }
    .page-ev88-community-forum-about .about-content,
    .page-ev88-community-forum-rules .rules-content {
        flex-direction: column;
    }
    .page-ev88-community-forum-about .about-image,
    .page-ev88-community-forum-rules .rules-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-ev88-community-forum .section-padding {
        padding: 60px 0;
    }
    .page-ev88-community-forum-hero .hero-title {
        font-size: 2.2em;
    }
    .page-ev88-community-forum-hero .hero-description {
        font-size: 1.1em;
    }
    .page-ev88-community-forum-hero .hero-actions .btn {
        padding: 12px 25px;
        font-size: 1em;
        margin-bottom: 10px;
    }
    .page-ev88-community-forum-hero .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .page-ev88-community-forum .section-title {
        font-size: 1.8em;
    }
    .page-ev88-community-forum .section-subtitle {
        font-size: 1em;
    }
    .page-ev88-community-forum-areas .area-grid,
    .page-ev88-community-forum-join .steps-grid,
    .page-ev88-community-forum-details .detail-list-grid {
        grid-template-columns: 1fr;
    }
}