/* Mom + kids hub pages — body.page-hub.theme-* */

.section-title {
    font-family: "Fredoka", sans-serif;
    color: var(--page-accent);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.content-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-bottom: 5px solid var(--page-accent);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    opacity: 1;
    transform: translateY(0);
    animation: popIn 0.6s ease;
    animation-fill-mode: backwards;
}

.content-card:nth-child(1) {
    animation-delay: 0.1s;
}
.content-card:nth-child(2) {
    animation-delay: 0.2s;
}
.content-card:nth-child(3) {
    animation-delay: 0.3s;
}
.content-card:nth-child(4) {
    animation-delay: 0.4s;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 90px;
    height: 90px;
    background-color: color-mix(in srgb, var(--page-accent) 15%, transparent);
    border-radius: 50%;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: transform 0.3s ease;
}

.content-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.content-card h3 {
    font-family: "Fredoka", sans-serif;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.content-card p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    flex-grow: 1;
}

.action-button {
    background-color: var(--page-accent);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    display: inline-block;
    transition: filter 0.2s;
}

.action-button:hover {
    filter: brightness(0.92);
}

.theme-mom {
    --page-accent: #e84393;
}
.theme-audrey {
    --page-accent: #ff7675;
}
.theme-noah {
    --page-accent: #f39c12;
}
.theme-claire {
    --page-accent: #eebb44;
}
.theme-oliver {
    --page-accent: #55efc4;
}
.theme-ella {
    --page-accent: #00b894;
}
.theme-ruth {
    --page-accent: #74b9ff;
}
.theme-emmett {
    --page-accent: #a29bfe;
}
