/* ==========================================================================
   Edicions Prèvies Page Styles
   ========================================================================== */

/* Page Header Overrides (if any specific to Edicions) */
.page-header {
    background-color: var(--color-light);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-title {
    font-size: 2.5rem;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Sections */
.section-header-left {
    margin-bottom: 1.5rem;
    text-align: left;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
    border-bottom: 3px solid var(--color-primary);
    display: inline-block;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.edicions-section {
    max-width: 80rem;
    /* max-w-7xl */
    margin: 0 auto;
    padding: 4rem 1rem 2rem 1rem;
}

.section-header-mb {
    margin-bottom: 3rem;
}

.section-title-clean {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    color: #111827;
    /* text-gray-900 */
    margin-bottom: 1rem;
}

.section-desc-clean {
    font-size: 1.125rem;
    /* text-lg */
    color: #4b5563;
    /* text-gray-600 */
    /* max-w-3xl */
    line-height: 1.625;
}

/* Athlete Grid */
.athlete-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    /* gap-10 */
}

@media (min-width: 768px) {
    .athlete-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .athlete-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Athlete Card */
.athlete-card {
    cursor: pointer;
}

.athlete-img-container {
    aspect-ratio: 4 / 5;
    border-radius: 1rem;
    /* rounded-2xl */
    position: relative;
    overflow: hidden;
    background-color: #e5e7eb;
    /* bg-gray-200 */
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
    transition: box-shadow 0.3s ease;
}

.athlete-card:hover .athlete-img-container {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* shadow-md */
}

/* Image Placeholder fallback and Actual Image styling */
.athlete-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.athlete-card:hover .athlete-img-container img {
    transform: scale(1.05);
}

.athlete-placeholder {
    width: 100%;
    height: 100%;
    background-color: #d1d5db;
    /* bg-gray-300 */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    /* text-gray-400 */
}

.athlete-placeholder i {
    font-size: 2.25rem;
    /* text-4xl */
    transition: transform 0.5s ease;
}

.athlete-card:hover .athlete-placeholder i {
    transform: scale(1.05);
}

.athlete-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-color, #f97316);
    /* Fallback to orange */
    color: #ffffff;
    font-size: 0.75rem;
    /* text-xs */
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    /* rounded-full */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* tracking-wider */
    z-index: 10;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.athlete-info {
    margin-top: 1rem;
}

.athlete-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 800;
    /* font-extrabold */
    color: #111827;
    /* text-gray-900 */
    text-transform: uppercase;
    letter-spacing: -0.025em;
    /* tracking-tight */
    transition: color 0.2s ease;
}

.athlete-card:hover .athlete-name {
    color: var(--primary-color, #f97316);
}

.athlete-desc {
    font-size: 0.875rem;
    /* text-sm */
    color: #4b5563;
    /* text-gray-600 */
    margin-top: 0.5rem;
    line-height: 1.625;
}

/* Call to Action Section */
.cta-section {
    margin-top: 6rem;
    /* mt-24 */
    margin-bottom: 6rem;
    /* mb-24 */
    text-align: center;
    max-width: 48rem;
    /* max-w-3xl */
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.cta-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.875rem;
    /* text-3xl */
    font-weight: 700;
    color: #111827;
}

.cta-desc {
    color: #4b5563;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    line-height: 1.625;
    font-size: 1.125rem;
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary-color, #f97316);
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.025em;
    border-radius: 9999px;
    /* rounded-full */
    padding: 1rem 2.5rem;
    /* py-4 px-10 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    /* shadow-lg */
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-btn:hover {
    background-color: var(--primary-dark, #c2410c);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    /* shadow-xl */
    transform: translateY(-0.25rem);
    /* hover:-translate-y-1 */
    color: #ffffff;
}