/* =========================
   GLOBAL
========================= */

.home-page {
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================
   HERO
========================= */

.hero-section {
    background-color: #2ea2cc;
    color: #ffffff;
    padding: 80px 20px;
    margin-bottom: 60px;
    top:20px;
    border-radius: 12px;
    text-align: center;
}

.hero-title {
    margin-bottom: 20px;
}

.hero-text {
    margin-bottom: 30px;
}

.hero-button .wp-block-button__link {
    background: #ffffff;
    color: #000000;
    padding: 12px 24px;
    border-radius: 6px;
}


/* =========================
   BENEFITS
========================= */

.benefits-section {
    background: #f5f5f5;
    padding: 60px 20px;
    margin-bottom: 60px;
    border-radius: 12px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item h3 {
    margin-bottom: 10px;
}


/* =========================
   WORKOUT GRID
========================= */

.workouts-grid .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/** Home page fix */
.workouts-grid .course:not(body), .course-container, .course-container .course {
    margin: 0;
}
.workouts-grid :root :where(.is-layout-flow) > * {
        margin-block-start: 0;
}

/* Large tablets */
@media (max-width: 1024px) {
    .workouts-grid .wp-block-post-template {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablets */
@media (max-width: 768px) {
    .workouts-grid .wp-block-post-template {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Mobile */
@media (max-width: 480px) {
    .workouts-grid .wp-block-post-template {
        grid-template-columns: 1fr;
    }
    .hero-section {
        margin-bottom:20px;
    }
    .benefits-section {
        margin-bottom:10px;
    }
}
.workout-card {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    text-align: center;
    width:100%;
}

.workout-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}



/* =========================
   TESTIMONIALS
========================= */
.testimonials-section {
    padding: 40px 20px;
}

.testimonial-columns {
    gap: 40px;
    /* margin-top: 40px; */
}

.testimonial-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.stars {
    color: #f5b301;
    font-size: 18px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.testimonial-author span {
    display: block;
    font-size: 14px;
    color: #777;
    margin-top: 4px;
}

/* =========================
   CTA
========================= */

.cta-section {
    background-color: #2ea2cc;
    color: #ffffff;
    padding: 80px 20px;
    margin-top: 60px;
    border-radius: 12px;
    text-align: center;
}

.cta-button .wp-block-button__link {
    background: #ffffff;
    color: #000000;
    padding: 12px 24px;
    border-radius: 6px;
}


.tools-section{
    background-color: #502ecc;
    padding: 60px 20px;
    margin-bottom: 10px;
    border-radius: 12px;
    color: #FFF;
}