/* Front page specific styles */
body {
    padding: 20px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

section {
    text-align: center;
    width: 100%;
}

h1 {
    margin: 0 0 10px 0;
    font-size: 32px;
    text-align: center;
}

p {
    margin: 0 0 20px 0;
    font-size: 16px;
    text-align: center;
}

svg {
    max-width: 900px;
    width: 100%;
    height: auto;
}

.breadcrumb {
    text-align: center;
    display: none;
}

.breadcrumb.show {
    display: block;
}

#communities-sidebar {
    width: 100%;
    max-width: 900px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    overflow-y: auto;
    padding: 20px;
    margin: 0;
    display: none;
}

#communities-sidebar.show {
    display: block;
}

.sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

#cta-wrapper {
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0;
    padding: 20px;
    background: #f9fbfe;
    border-radius: 8px;
}

#cta-wrapper > a {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 15px;
}

#cta-wrapper > a:hover {
    text-decoration: underline;
}

#cta-wrapper section {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
}

#cta-wrapper .primary {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    #communities-sidebar {
        width: 100%;
    }

    svg {
        max-width: 100%;
    }
}
