/* assets/css/board-guidebook.css */
.guidebook-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.guidebook-breadcrumb {
    margin-bottom: 30px;
    padding: 10px 0;
    border-bottom: 2px solid #3498db;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #7f8c8d;
}

.guidebook-breadcrumb a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.guidebook-breadcrumb .separator {
    color: #bdc3c7;
}

.faq-answer-content table {border-top:#aaa solid 1px;margin-bottom:20px;}
.faq-answer-content table td {padding:4px 12px;border-bottom:#ccc solid 1px;}

/* Level 1: Main Category Cards */
.guidebook-level1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.guidebook-card {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.guidebook-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
    background-color: #f8fbff;
}

.guidebook-card .card-icon {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 15px;
}

.guidebook-card h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Level 2: Sub Category List */
.guidebook-level2-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.guidebook-sub-item {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.2s;
}

.guidebook-sub-item:hover {
    background-color: #f8fbff;
    border-color: #3498db;
    padding-left: 30px;
}

.guidebook-sub-item h4 {
    margin: 0;
    font-size: 1.15rem;
}

.guidebook-sub-item .arrow {
    color: #3498db;
    font-size: 1.2rem;
}

/* Level 3: Post List (inherited from FAQ or custom) */
.guidebook-post-list {
    margin-top: 20px;
}

.guidebook-post-item {
    border-bottom: 1px solid #f1f1f1;
    padding: 15px 0;
}

.guidebook-post-item a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.guidebook-post-item a:hover {
    color: #3498db;
}

.guidebook-post-item .post-number {
    color: #95a5a6;
    font-size: 0.9rem;
    min-width: 30px;
}

/* Response for Mobile */
@media (max-width: 768px) {
    .guidebook-level1-grid {
        grid-template-columns: 1fr;
    }

    .guidebook-container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0x !important;
    }
    .guidebook-breadcrumb {
        font-size: 0.95rem;
        flex-wrap: wrap;
    }
    .board-actions {width:fit-content;margin: 12px 0px 0px auto;}

    .guidebook-level1-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        gap: 12px;
    }

    .guidebook-card {
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 12px;
        padding: 20px 16px;
        text-align: center;
        transition: all 0.3s ease;
        cursor: pointer;
        text-decoration: none;
        color: #2c3e50;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 150px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    }

    .guidebook-level2-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .guidebook-sub-item {
        background: #fff;
        border: 1px solid #e1e4e8;
        border-radius: 8px;
        padding: 12px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-decoration: none;
        color: #2c3e50;
        transition: all 0.2s;
    }    
    .faq-title {font-size:16px !important;}
}