.child-posts-grid {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.child-posts-grid h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
    color: #333;
}

.child-posts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.child-post-card {
    flex: 1 1 calc(25% - 10px);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.child-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.child-post-card a {
    text-decoration: none;
    color: #0073aa;
    font-size: 1em;
}

.child-post-card a:hover {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .child-post-card {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 600px) {
    .child-post-card {
        flex: 1 1 100%;
    }
}

.site-list {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.site-list h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    text-align: center;
    color: #333;
}

.site-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.site-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2em;
    color: #0073aa;
}

.site-item h4 a {
    text-decoration: none;
    color: inherit;
}

.site-item h4 a:hover {
    text-decoration: underline;
}

.site-item p {
    margin: 0;
    font-size: 0.9em;
    color: #555;
}

.pagination {
    margin-top: 20px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 2px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0073aa;
}

.pagination .page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.pagination .page-numbers:hover {
    background-color: #0056b3;
    color: #fff;
    border-color: #0056b3;
}

.site-url {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.site-url strong {
    color: #333;
}

.site-url a {
    color: #0073aa;
    text-decoration: none;
}

.site-url a:hover {
    text-decoration: underline;
}

