/*
 * Bridge styles for moving visual refresh content back into editable Divi modules.
 * This file should stay small: it only overrides pieces that now live in page content.
 */

.home .fcj-action-protocolos {
    --fcj-action-icon: url("/wp-content/themes/divi-hijo/assets/fcj-action-protocolos.svg");
    --fcj-action-color: #d71920;
}

.home .fcj-action-competiciones {
    --fcj-action-icon: url("/wp-content/themes/divi-hijo/assets/fcj-action-competiciones.svg");
    --fcj-action-color: #173650;
}

.home .fcj-action-rankings {
    --fcj-action-icon: url("/wp-content/themes/divi-hijo/assets/fcj-action-rankings.svg");
    --fcj-action-color: #536b86;
}

.home .fcj-action-copas {
    --fcj-action-icon: url("/wp-content/themes/divi-hijo/assets/fcj-action-copas.svg");
    --fcj-action-color: #d71920;
}

.home .fcj-action-galerias {
    --fcj-action-icon: url("/wp-content/themes/divi-hijo/assets/fcj-action-galerias.svg");
    --fcj-action-color: #173650;
}

.home .fcj-sidebar-action .et_pb_promo_description h2,
.home .fcj-sidebar-action .et_pb_module_header {
    margin: 0;
    padding: 0;
    color: var(--fcj-blue) !important;
    font-size: 17px;
    font-weight: 950;
    line-height: 1.08;
}

.home .fcj-sidebar-action.et_pb_promo {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
    min-height: 92px;
    margin-bottom: 14px !important;
    padding: 12px 14px !important;
    border: 1px solid rgba(23,54,80,.12) !important;
    border-left: 4px solid var(--fcj-action-color, var(--fcj-red)) !important;
    border-radius: 8px;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%) !important;
    background-image: linear-gradient(135deg, #fff 0%, #f8fafc 100%) !important;
    color: var(--fcj-blue) !important;
    text-align: left !important;
    box-shadow: 0 12px 28px rgba(15,34,52,.12);
}

.home .fcj-sidebar-action::before {
    content: "";
    width: 66px;
    height: 66px;
    border: 1px solid rgba(23,54,80,.08);
    border-radius: 12px;
    background-color: #fff;
    background-image: var(--fcj-action-icon);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: 0 8px 18px rgba(15,34,52,.08);
}

.home .fcj-sidebar-action::after {
    content: ">";
    width: 24px;
    color: var(--fcj-action-color, var(--fcj-red));
    font-size: 22px;
    font-weight: 950;
    text-align: right;
}

.home .fcj-sidebar-action .et_pb_promo_description {
    display: block !important;
    padding: 0 !important;
}

.home .fcj-sidebar-action .et_pb_promo_description p {
    margin: 3px 0 0;
    padding: 0;
    color: var(--fcj-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.home .fcj-sidebar-action .et_pb_promo_description > div {
    margin: 3px 0 0;
    padding: 0;
    color: var(--fcj-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
}

.home .fcj-home-main-row.et_pb_row {
    width: min(1120px, 92%) !important;
    max-width: 1120px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 34px;
    align-items: start;
    margin: 0 auto 46px !important;
    padding: 0 !important;
}

.home .fcj-home-main-row > .et_pb_column {
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

.home .fcj-calendar-row.et_pb_row {
    position: relative;
    z-index: 2;
    width: min(1120px, 92%) !important;
    max-width: 1120px !important;
}

.home .fcj-home-news-heading-row.et_pb_row {
    width: min(1120px, 92%) !important;
    max-width: 1120px !important;
    margin: 12px auto 22px !important;
    padding: 0 !important;
}

.home .fcj-home-news-heading-row > .et_pb_column {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.home .fcj-home-news-heading {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

body.home.fcj-home-news-boosted .fcj-home-news-heading .et_pb_text_inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: end;
}

body.home.fcj-home-news-boosted .fcj-home-news-heading .et_pb_text_inner > a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid rgba(23,54,80,.12);
    border-radius: 6px;
    background: #fff;
    color: var(--fcj-blue) !important;
    font-size: 13px;
    font-weight: 950;
    line-height: 1.1;
    box-shadow: 0 12px 28px rgba(15,34,52,.08);
}

.home .fcj-partners-module img {
    display: block;
    width: 100% !important;
    max-width: 500px !important;
    height: auto !important;
    max-height: 92px;
    margin: 0 auto;
    object-fit: contain;
}

.fcj-news-archive-marker {
    display: none !important;
}

body.page-id-338 .fcj-news-manual-page {
    background: linear-gradient(180deg, #f4f6f9 0%, #fff 100%) !important;
}

body.page-id-338 .fcj-news-page-blog {
    margin-top: 28px;
}

body.page-id-338 .fcj-news-page-blog .et_pb_ajax_pagination_container,
body.page-id-338 .fcj-news-page-blog .et_pb_salvattore_content {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.page-id-338 .fcj-news-page-blog .column {
    width: auto !important;
    float: none !important;
}

body.page-id-338 .fcj-news-page-blog .et_pb_post {
    overflow: hidden;
    margin: 0 !important;
    padding: 0 0 22px !important;
    border: 1px solid rgba(23,54,80,.1) !important;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 42px rgba(15,34,52,.1);
}

body.page-id-338 .fcj-news-page-blog .entry-featured-image-url {
    display: block;
    margin: 0 0 18px !important;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e8edf3;
}

body.page-id-338 .fcj-news-page-blog .entry-featured-image-url img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-id-338 .fcj-news-page-blog .entry-title,
body.page-id-338 .fcj-news-page-blog .post-meta,
body.page-id-338 .fcj-news-page-blog .post-content {
    padding-right: 20px;
    padding-left: 20px;
}

body.page-id-338 .fcj-news-page-blog .entry-title {
    color: var(--fcj-blue) !important;
    font-size: 21px;
    line-height: 1.16;
    font-weight: 950;
}

body.page-id-338 .fcj-news-page-blog .post-meta {
    color: var(--fcj-red) !important;
    font-size: 12px;
    font-weight: 900;
}

body.page-id-338 .fcj-news-page-blog .more-link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--fcj-red);
    color: #fff !important;
    font-size: 12px;
    font-weight: 950;
}

body.single-post .fcj-entry-template {
    background:
        linear-gradient(180deg, rgba(247,249,252,.94), #fff 34%),
        radial-gradient(circle at 18% 0%, rgba(218,24,35,.12), transparent 34%),
        radial-gradient(circle at 88% 8%, rgba(247,193,61,.16), transparent 28%);
}

body.single-post .fcj-entry-template .et_pb_row {
    max-width: 1080px !important;
}

body.single-post .fcj-entry-brand-image {
    overflow: hidden;
    margin-bottom: 26px !important;
    border-radius: 14px;
    box-shadow: 0 20px 55px rgba(9,28,46,.14);
}

body.single-post .fcj-entry-brand-image img {
    width: 100%;
    height: clamp(170px, 24vw, 300px);
    object-fit: cover;
}

body.single-post .fcj-entry-post-title {
    margin-bottom: 24px !important;
}

body.single-post .fcj-entry-post-title .et_pb_title_container h1,
body.single-post .fcj-entry-post-title h1 {
    margin: 0 0 22px !important;
    color: var(--fcj-blue) !important;
    font-size: clamp(34px, 4.4vw, 60px);
    line-height: 1.02;
    font-weight: 950;
}

body.single-post .fcj-entry-post-title .et_pb_title_featured_container {
    overflow: hidden;
    border-radius: 14px;
    background: #e8edf3;
    box-shadow: 0 18px 48px rgba(15,34,52,.12);
}

body.single-post .fcj-entry-post-title .et_pb_title_featured_container img {
    display: block;
    width: 100%;
    max-height: 560px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

body.single-post .fcj-entry-copy {
    max-width: 880px;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: clamp(24px, 4vw, 42px);
    border: 1px solid rgba(23,54,80,.09);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(15,34,52,.09);
}

body.single-post .fcj-entry-copy p {
    color: #26394c;
    font-size: 18px;
    line-height: 1.78;
}

body.single-post .fcj-entry-copy .fcj-post-lead {
    color: var(--fcj-blue);
    font-size: 21px;
    line-height: 1.55;
    font-weight: 850;
}

@media (max-width: 980px) {
    .home .fcj-home-main-row.et_pb_row {
        grid-template-columns: 1fr;
    }

    body.home.fcj-home-news-boosted .fcj-home-news-heading .et_pb_text_inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    body.home.fcj-home-news-boosted .fcj-home-news-heading .et_pb_text_inner > a {
        width: fit-content;
    }

    body.page-id-338 .fcj-news-page-blog .et_pb_ajax_pagination_container,
    body.page-id-338 .fcj-news-page-blog .et_pb_salvattore_content {
        grid-template-columns: 1fr;
    }

    body.single-post .fcj-entry-copy {
        padding: 22px;
    }

    body.single-post .fcj-entry-post-title .et_pb_title_container h1,
    body.single-post .fcj-entry-post-title h1 {
        font-size: 34px;
    }
}
