.fcc-instagram-feed {
    --fcc-ig-ink: #050b1f;
    --fcc-ig-muted: #52627d;
    --fcc-ig-line: rgba(5, 11, 31, .10);
    --fcc-ig-green: #18c778;
    width: 100%;
    max-width: 1120px;
    margin: clamp(28px, 4vw, 58px) auto;
    padding: clamp(18px, 3vw, 32px);
    color: var(--fcc-ig-ink);
    border: 1px solid var(--fcc-ig-line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 8%, rgba(24, 199, 120, .14), transparent 28%),
        linear-gradient(145deg, #ffffff 0%, #f5f8fc 100%);
    box-shadow: 0 28px 80px rgba(5, 11, 31, .08);
}

.fcc-social-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: center;
    width: 100%;
    max-width: 1180px;
    margin: clamp(28px, 5vw, 70px) auto;
    padding: clamp(22px, 4vw, 46px);
    border: 1px solid rgba(5, 11, 31, .10);
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 0%, rgba(24, 199, 120, .12), transparent 26%),
        linear-gradient(145deg, #ffffff 0%, #f4f8fc 100%);
    box-shadow: 0 28px 90px rgba(5, 11, 31, .08);
}

.fcc-social-hero,
.fcc-social-hero * {
    box-sizing: border-box;
}

.fcc-social-hero__copy h1 {
    margin: 0;
    color: #050b1f;
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 950;
    letter-spacing: -.06em;
    line-height: .92;
}

.fcc-social-hero__copy p {
    max-width: 560px;
    margin: 18px 0 0;
    color: #52627d;
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.55;
}

.fcc-social-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.fcc-social-hero__primary,
.fcc-social-hero__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 950;
    border-radius: 999px;
}

.fcc-social-hero__primary {
    color: #fff !important;
    background: #050b1f;
    box-shadow: 0 18px 40px rgba(5, 11, 31, .18);
}

.fcc-social-hero__secondary {
    color: #050b1f !important;
    border: 1px solid rgba(5, 11, 31, .14);
    background: #fff;
}

.fcc-social-hero__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.fcc-social-hero__media figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #eaf0f7;
    box-shadow: 0 22px 55px rgba(5, 11, 31, .12);
}

.fcc-social-hero__media img {
    display: block;
    width: 100% !important;
    height: clamp(360px, 36vw, 520px) !important;
    object-fit: cover !important;
    object-position: center center !important;
}

.fcc-instagram-feed,
.fcc-instagram-feed * {
    box-sizing: border-box;
}

.fcc-instagram-feed__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.fcc-instagram-feed__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #6b7a97;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.fcc-instagram-feed__eyebrow::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--fcc-ig-green);
    box-shadow: 0 0 0 7px rgba(24, 199, 120, .13);
}

.fcc-youtube-feed__eyebrow::before {
    background: #ff0033;
    box-shadow: 0 0 0 7px rgba(255, 0, 51, .12);
}

.fcc-instagram-feed h2 {
    margin: 0;
    color: var(--fcc-ig-ink);
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 950;
    letter-spacing: -.05em;
    line-height: .95;
}

.fcc-instagram-feed p {
    max-width: 620px;
    margin: 12px 0 0;
    color: var(--fcc-ig-muted);
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
}

.fcc-instagram-feed__profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    color: #fff !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 900;
    border-radius: 999px;
    background: var(--fcc-ig-ink);
    box-shadow: 0 16px 35px rgba(5, 11, 31, .18);
}

.fcc-youtube-feed__profile {
    background: #ff0033;
    box-shadow: 0 16px 35px rgba(255, 0, 51, .20);
}

.fcc-instagram-feed__grid {
    display: grid;
    grid-template-columns: repeat(var(--fcc-ig-columns), minmax(0, 1fr));
    gap: 14px;
}

.fcc-instagram-card {
    position: relative;
    min-height: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    color: #fff !important;
    text-decoration: none;
    border-radius: 24px;
    background: #0b1020;
    box-shadow: 0 18px 45px rgba(5, 11, 31, .14);
    isolation: isolate;
}

.fcc-youtube-card {
    aspect-ratio: 16 / 10;
}

.fcc-instagram-card__media,
.fcc-instagram-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.fcc-instagram-card__media img {
    object-fit: cover;
    transform: scale(1.01);
    transition: transform .35s ease, filter .35s ease;
}

.fcc-instagram-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 62%;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 11, 31, .88) 100%);
}

.fcc-instagram-card:hover .fcc-instagram-card__media img {
    transform: scale(1.055);
    filter: saturate(1.08) contrast(1.04);
}

.fcc-instagram-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 7px 11px;
    color: var(--fcc-ig-ink);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
}

.fcc-youtube-card__badge {
    color: #fff;
    background: #ff0033;
}

.fcc-instagram-card__body {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    z-index: 2;
    display: grid;
    gap: 8px;
}

.fcc-instagram-card__body span {
    font-size: 16px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .35);
}

.fcc-instagram-card:first-child .fcc-instagram-card__body span {
    font-size: 16px;
    letter-spacing: -.04em;
}

.fcc-instagram-card__body small {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fcc-instagram-feed__empty {
    display: grid;
    gap: 6px;
    padding: 26px;
    color: var(--fcc-ig-ink);
    border: 1px dashed rgba(5, 11, 31, .22);
    border-radius: 20px;
    background: rgba(255, 255, 255, .74);
}

.fcc-instagram-feed__empty strong {
    font-size: 18px;
}

.fcc-instagram-feed__empty span {
    color: var(--fcc-ig-muted);
}

@media (max-width: 900px) {
    .fcc-instagram-feed__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .fcc-instagram-feed {
        width: min(100% - 20px, 480px);
        padding: 18px;
        border-radius: 24px;
    }

    .fcc-instagram-feed__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .fcc-instagram-feed__profile {
        width: 100%;
    }

    .fcc-instagram-feed__grid {
        grid-template-columns: 1fr;
    }

    .fcc-instagram-card {
        aspect-ratio: 4 / 5;
    }
}

/* Blindaje para la pagina antigua de redes: algunos iconos SVG heredados salen sin tamano. */
.page-id-5534 .elementor-widget-text-editor svg,
.page-id-6263 .elementor-widget-text-editor svg {
    width: 34px !important;
    height: 34px !important;
    max-width: 34px !important;
    max-height: 34px !important;
}

.page-id-5534 .e-fab-instagram,
.page-id-5534 .e-fab-youtube,
.page-id-5534 .e-fab-facebook-f,
.page-id-6263 .e-fab-instagram,
.page-id-6263 .e-fab-youtube,
.page-id-6263 .e-fab-facebook-f {
    display: none !important;
}

/* Ajuste especifico del bloque superior en /fredys-cool-cars/. */
.page-id-5534 .elementor-element-4245f8f {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
}

.page-id-5534 .elementor-element-b9abebd,
.page-id-5534 .elementor-element-3eefaca {
    height: 100%;
}

.page-id-5534 .elementor-element-b9abebd img,
.page-id-5534 .elementor-element-3eefaca img {
    display: block !important;
    width: 100% !important;
    height: clamp(360px, 38vw, 540px) !important;
    object-fit: cover !important;
    object-position: center center !important;
    border-radius: 26px !important;
    box-shadow: 0 22px 60px rgba(5, 11, 31, .12) !important;
}

.page-id-5534 .elementor-element-b9abebd .elementor-widget-container,
.page-id-5534 .elementor-element-3eefaca .elementor-widget-container {
    height: 100%;
}

@media (max-width: 760px) {
    .page-id-5534 .elementor-element-4245f8f {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .page-id-5534 .elementor-element-b9abebd img,
    .page-id-5534 .elementor-element-3eefaca img {
        height: 360px !important;
    }
}

.fcc-blog-grid {
    width: 100%;
    max-width: 1120px;
    margin: clamp(34px, 5vw, 72px) auto;
    padding: clamp(18px, 3vw, 32px);
    color: #050b1f;
}

.fcc-blog-grid,
.fcc-blog-grid * {
    box-sizing: border-box;
}

.fcc-blog-grid__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.fcc-blog-grid__header h2 {
    margin: 0;
    color: #050b1f;
    font-size: clamp(30px, 4vw, 54px);
    font-weight: 950;
    letter-spacing: -.05em;
    line-height: .98;
}

.fcc-blog-grid__header p {
    max-width: 720px;
    margin: 12px 0 0;
    color: #52627d;
    font-size: 17px;
    line-height: 1.55;
}

.fcc-blog-grid__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    border-radius: 999px;
    background: #050b1f;
    box-shadow: 0 16px 35px rgba(5, 11, 31, .16);
}

.fcc-blog-grid__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.fcc-blog-card {
    overflow: hidden;
    border: 1px solid rgba(5, 11, 31, .10);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(5, 11, 31, .08);
}

.fcc-blog-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    color: #fff !important;
    text-decoration: none;
    font-weight: 950;
    background: #050b1f;
}

.fcc-blog-card__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .3s ease;
}

.fcc-blog-card:hover .fcc-blog-card__image img {
    transform: scale(1.045);
}

.fcc-blog-card__body {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.fcc-blog-card__body small {
    color: #7b8aa5;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .10em;
    text-transform: uppercase;
}

.fcc-blog-card__body h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 950;
    line-height: 1.1;
}

.fcc-blog-card__body h3 a {
    color: #050b1f !important;
    text-decoration: none !important;
}

.fcc-blog-card__body p {
    margin: 0;
    color: #52627d;
    font-size: 14px;
    line-height: 1.5;
}

.fcc-blog-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 4px;
    padding: 0 18px;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 900;
    border-radius: 999px;
    background: #050b1f;
}

@media (max-width: 900px) {
    .fcc-social-hero {
        grid-template-columns: 1fr;
    }

    .fcc-blog-grid__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .fcc-social-hero {
        padding: 18px;
        border-radius: 26px;
    }

    .fcc-social-hero__media {
        grid-template-columns: 1fr;
    }

    .fcc-social-hero__media img {
        height: 360px !important;
    }

    .fcc-blog-grid {
        padding: 16px;
    }

    .fcc-blog-grid__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .fcc-blog-grid__all {
        width: 100%;
    }

    .fcc-blog-grid__items {
        grid-template-columns: 1fr;
    }
}
