/* Google Support Style Community Board */
.hh-google-community {
    font-family: 'Google Sans', 'Roboto', 'Segoe UI', Arial, sans-serif;
    color: #202124;
    max-width: 1000px;
    margin: 0 auto;
    background: transparent;
}

/* Hero Search Section */
.hh-hero-section {
    text-align: center;
    padding: 3em 1em;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(60, 64, 67, 0.1), 0 1px 2px rgba(60, 64, 67, 0.06);
    margin-bottom: 2em;
}

.hh-hero-section h1 {
    font-size: 2.5em;
    font-weight: 400;
    margin: 0 0 0.2em 0;
    color: #202124;
}

.hh-hero-section p {
    font-size: 1.1em;
    color: #5f6368;
    margin-bottom: 2em;
}

.hh-hero-search {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

.hh-hero-search input {
    width: 100%;
    padding: 16px 24px 16px 56px;
    font-size: 1.1em;
    border: 1px solid #dfe1e5;
    border-radius: 30px;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.1);
    transition: box-shadow 0.2s, border-color 0.2s;
    outline: none;
}

.hh-hero-search input:focus {
    box-shadow: 0 1px 10px rgba(32, 33, 36, 0.2);
    border-color: #fff;
}

.hh-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

/* Main Layout Grid */
.hh-community-layout {
    display: flex;
    gap: 2em;
}

/* Sidebar */
.hh-community-sidebar {
    flex: 0 0 200px;
}

.hh-btn-ask {
    display: block;
    text-align: center;
    background: #1a73e8;
    color: #fff;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 24px;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, box-shadow 0.2s;
    margin-bottom: 2em;
}

.hh-btn-ask:hover {
    background: #f58458;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.hh-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hh-category-list li a {
    display: block;
    padding: 10px 16px;
    color: #3c4043;
    text-decoration: none;
    font-weight: 500;
    border-radius: 0 20px 20px 0;
    transition: background 0.2s;
}

.hh-category-list li.active a {
    background: #e8f0fe;
    color: #1a73e8;
}

.hh-category-list li a:hover {
    background: #f1f3f4;
}

/* Main List */
.hh-community-main {
    flex: 1;
    min-width: 0;
}

.hh-discussion-list {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.hh-discussion-row {
    display: flex;
    gap: 1em;
    align-items: flex-start;
    padding: 1.5em;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dadce0;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.03);
    transition: box-shadow 0.2s;
}

.hh-discussion-row:hover {
    box-shadow: 0 1px 4px rgba(60, 64, 67, 0.1);
}

.hh-row-avatar img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.hh-row-content {
    flex: 1;
    min-width: 0;
}

.hh-row-title {
    margin: 0 0 0.2em 0;
    font-size: 1.15em;
    font-weight: 500;
}

.hh-row-title a {
    color: #ffffff;
    text-decoration: none;
}

.hh-row-title a:hover {
    text-decoration: underline;
}

.hh-row-excerpt {
    color: #5f6368;
    font-size: 0.95em;
    margin-bottom: 0.5em;
    line-height: 1.4;
}

.hh-row-meta {
    font-size: 0.85em;
    color: #5f6368;
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.hh-badge-answered {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e6f4ea;
    color: #137333;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9em;
}

.hh-row-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #5f6368;
    font-size: 0.9em;
}

.hh-stat {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Pagination */
.hh-pagination {
    margin-top: 2em;
    text-align: center;
}

.hh-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border-radius: 4px;
    color: #f3afa3;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #dadce0;
}

.hh-pagination .current {
    background: #e8f0fe;
    border-color: #e8f0fe;
}

/* Responsive */
@media (max-width: 768px) {
    .hh-community-layout {
        flex-direction: column;
    }

    .hh-community-sidebar {
        flex: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hh-category-list {
        display: flex;
        gap: 1em;
    }

    .hh-category-list li a {
        border-radius: 20px;
    }
}

/* Modal Overlay */
.hh-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(32, 33, 36, 0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

.hh-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 2.5em;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.15);
    animation: hh-slide-up 0.3s ease-out;
}

@keyframes hh-slide-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hh-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5em;
    cursor: pointer;
    color: #5f6368;
    transition: color 0.2s;
}

.hh-modal-close:hover {
    color: #202124;
}

.hh-modal-content h3 {
    margin-top: 0;
    font-size: 1.5em;
    font-weight: 500;
    color: #202124;
    margin-bottom: 1em;
}

.hh-form-group {
    margin-bottom: 1.5em;
}

.hh-form-group label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
    color: #3c4043;
}

.hh-form-group input,
.hh-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1em;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.hh-form-group input:focus,
.hh-form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
}

.hh-btn-primary {
    background: #1a73e8;
    color: #fff;
    padding: 12px 24px;
    font-size: 1em;
    font-weight: 500;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.hh-btn-primary:hover {
    background: #1765cc;
}