/*
Te damos la bienvenida al CSS personalizado.

Para saber cómo funciona, ve a https://wp.me/PEmnE-Bt
*/
.alingfull {
	background-color: white;
	background: white;
}
/* CSS GENERAL */
.wp-block-paragraph {
            max-width: 70% !important;
        }
        
        .wp-block-image {
            max-width: 70% !important;
        }
        
        .contact-form {
            display: flex;
        }
        
        .wp-block-jetpack-contact-form,
        .is-layout-flex,
        .wp-container-jetpack-contact-form-is-layout-b9bba262,
        .wp-block-jetpack-contact-form-is-layout-flex {
            width: 100vw !important;
            max-width: 100vw !important;
            margin-left: calc(-35vw + 50%) !important;
            margin-right: calc(-35vw + 50%) !important;
        }
        
        @media (max-width: 768px) {
            .wp-block-jetpack-contact-form {
                width: 95% !important;
                max-width: 95% !important;
                margin-left: auto !important;
            }
            
            .wp-block-image {
                max-width: 30% !important;
                margin-left: calc(-35vw + 50%) !important;
            }
        }
        
        @media (max-width: 480px) {
            .wp-block-jetpack-contact-form {
                width: 90% !important;
                max-width: 90% !important;
                margin-left: auto !important;
            }
        }
!important;
    }
}


/* CSS PAGINAS CONCRETAS*/

body.page-id-1299 .entry-content .wp-block {
    max-width: 70% !important;
}

body.page-id-1299 .entry-content p {
    max-width: 70% !important;
}

body.page-id-1299 .entry-content h4,
body.page-id-1299 .entry-content h5 {
    max-width: 70% !important;
}

body.page-id-1299 .entry-content ul {
    max-width: 70% !important;
}
body.page-id-3247 .wp-block-paragraph{
    max-width: 40% !important;
}

body.page-id-1299 .entry-content img {
    max-width: 100%;
}


body.page-id-122 .wp-block-columns.alignwide {
    max-width: 86vw !important;
    width: 86vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page-id-122 .wp-block-column {
    min-width: 0 !important;
    overflow: hidden !important;
}

body.page-id-122 .wp-block-image img {
    max-width: 100% !important;
    height: auto !important;
}
body.page-id-122 .wp-block-heading.has-text-align-center {
    text-align: left !important;
}

body.page-id-122 .wp-block-paragraph.has-text-align-center {
    text-align: left !important;
}

body.page-id-122 .jetpack-contact-form-container {
    width: 86% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

body.page-id-122 .jetpack-contact-form__form {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
}

body.page-id-122 .grunion-field-wrap {
    width: 100% !important;
    display: block !important;
}

body.page-id-122 .grunion-field {
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}

@media (max-width: 768px) {
    body.page-id-122 .wp-block-columns.alignwide {
        flex-direction: column !important;
        width: 95vw !important;
    }
}

/*Algunas paginas tienen el ancho a numero porque no las pilla el% o no aumenta el %*/

body.page-id-163 .wp-block-columns.alignwide {
    max-width: 86vw !important;
    width: 86vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page-id-163 .wp-block-column {
    min-width: 0 !important;
    overflow: hidden !important;
}


body.page-id-376 .is-layout-flex {
    width: 100% !important;
    max-width: 79% !important;
}



/* CSS PLUGINS */

#palmares-container {
    max-width: 70% !important;
    width: 70% !important;
}

.rfeta-torneos {
    max-width: 70% !important;
    width: 70% !important;
}

.rfeta-torneos > div {
    border: none !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    margin: 16px 0 !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.05),
        0 1px 3px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.rfeta-torneos > div::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
    border-radius: 16px 0 0 16px;
}

.rfeta-torneos > div:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(0,0,0,0.08),
        0 4px 8px rgba(0,0,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

/* ===== TÍTULOS ===== */

.rfeta-torneos h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

/* ===== DESCRIPCIÓN ===== */

.rfeta-torneos p {
    font-size: 16px;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.6;
    font-weight: 400;
}

/* ===== BOTÓN / ENLACE ===== */

.rfeta-torneos a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
    border: none;
    cursor: pointer;
}

.rfeta-torneos a::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.25s ease;
}

.rfeta-torneos a:hover {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.3);
}

.rfeta-torneos a:hover::after {
    transform: translateX(4px);
}

.rfeta-torneos a:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.tribe-events-calendar-list,
.tribe-common,
.tribe-events,
#tribe-events-pg-template,
#tribe-events {
    max-width: 96% !important;
    width: 96% !important;
}


.tribe-common .tribe-common-l-container {
    max-width: 1200px !important; 
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* .site-main {
            width: 100vw !important;
            max-width: 100vw !important;
            margin-left: calc(-50vw + 50%) !important;
        }

        .entry-content {
            width: 100% !important;
            max-width: 100% !important;
        } */