/* ============================================================================
   FRONT-PAGE — DOS PILARES
   Solo se enqueue en home / front-page. Define:
   - Hero full-bleed con gradient y wordmark
   - Pilares 50/50 split con filtros interactivos
   - Cards Programa (acento violeta) / Dependencia (acento verde)
   - Bandas de soporte: Educación Continuada, Noticias, Eventos
   ============================================================================ */

/* Color tokens (locales al front-page; respeta los globales si existen) */
:root {
    --fmbog-pf-violet:        #5b3bb4;
    --fmbog-pf-violet-dark:   #3f278a;
    --fmbog-pf-violet-tint:   #f4eefe;
    --fmbog-pf-violet-shadow: rgba(91,59,180,0.18);

    --fmbog-pf-verde:         #94b43b;
    --fmbog-pf-verde-dark:    #6e8826;
    --fmbog-pf-verde-tint:    #f1f5dc;

    --fmbog-pf-azul:          #003087;
    --fmbog-pf-azul-dark:     #001e57;

    --fmbog-pf-bg:            #fafafa;
    --fmbog-pf-text:          #1d2327;
    --fmbog-pf-text-muted:    #6b7280;
    --fmbog-pf-card-bg:       #ffffff;
    --fmbog-pf-card-border:   rgba(0,0,0,0.06);
}

/* ============================================================================
   HERO
   ============================================================================ */
.fmbog-hero {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 75vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    padding: 0 5vw;
}

.fmbog-hero-gradient {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: var(--fmbog-pf-violet-dark);
}

.fmbog-hero-gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
}

.fmbog-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: transparent;
}

.fmbog-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.fmbog-hero-inner {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 0 80px;
}

.fmbog-hero-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.fmbog-hero-markline {
    width: 36px;
    height: 1px;
    background: rgba(255,255,255,0.5);
}

.fmbog-hero-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(48px, 7vw, 84px);
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 22px;
    letter-spacing: -0.02em;
}

.fmbog-hero-title::first-letter {
    color: #ffd76e;
}

.fmbog-hero-subtitle {
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.55;
    color: rgba(255,255,255,0.86);
    max-width: 640px;
    margin: 0 auto 36px;
    font-weight: 300;
}

.fmbog-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.fmbog-hero-anchor {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 42px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-decoration: none;
}

.fmbog-hero-anchor-dot {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: fmbog-anchor-bounce 1.6s ease-in-out infinite;
}

@keyframes fmbog-anchor-bounce {
    0%, 100% { transform: translateY(0); opacity: .9; }
    50%      { transform: translateY(14px); opacity: .35; }
}

/* CTA buttons (shared) */
.fmbog-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: transform .25s ease, box-shadow .25s ease, background .2s ease;
    border: 1px solid transparent;
}

.fmbog-cta:hover { transform: translateY(-2px); }

.fmbog-cta-violet {
    background: var(--fmbog-pf-violet);
    color: #fff;
    box-shadow: 0 12px 28px var(--fmbog-pf-violet-shadow);
}
.fmbog-cta-violet:hover { background: var(--fmbog-pf-violet-dark); }

.fmbog-cta-ghost {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
}
.fmbog-cta-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }

/* Hero adapts on dark-on-light where the CTA ghost is used outside the hero:
   Provide a "solid" variant for use in light contexts (pilar CTAs) */
.fmbog-pilar-foot-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.fmbog-pilar-foot-arrow {
    transition: transform .2s ease;
}
.fmbog-pilar-foot-link:hover .fmbog-pilar-foot-arrow { transform: translateX(5px); }

.fmbog-cta-arrow { display: inline-block; transition: transform .2s ease; }
.fmbog-cta:hover .fmbog-cta-arrow { transform: translateX(4px); }


/* ============================================================================
   DOS PILARES — split 50/50
   ============================================================================ */
.fmbog-pilares {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    gap: 0;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.fmbog-pilar {
    position: relative;
    isolation: isolate;
    padding: 64px 6vw 56px;
    overflow: hidden;
}

.fmbog-pilar-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.fmbog-pilar-programa .fmbog-pilar-bg {
    background:
        linear-gradient(180deg, var(--fmbog-pf-violet-tint) 0%, #ffffff 60%),
        radial-gradient(60% 50% at 80% 100%, rgba(91,59,180,0.08) 0%, transparent 50%);
}
.fmbog-pilar-programa .fmbog-pilar-bg::after {
    content: "";
    position: absolute;
    top: -160px;
    right: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91,59,180,0.10) 0%, transparent 70%);
}

.fmbog-pilar-dependencia .fmbog-pilar-bg {
    background:
        linear-gradient(180deg, var(--fmbog-pf-verde-tint) 0%, #ffffff 60%),
        radial-gradient(60% 50% at 80% 100%, rgba(148,180,59,0.10) 0%, transparent 50%);
}
.fmbog-pilar-dependencia .fmbog-pilar-bg::after {
    content: "";
    position: absolute;
    top: -160px;
    right: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(148,180,59,0.13) 0%, transparent 70%);
}

.fmbog-pilar-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 600px;
    height: 100%;
}

.fmbog-pilar-programa .fmbog-pilar-content { margin-left: auto; margin-right: 0; }
@media (max-width: 980px) {
    .fmbog-pilar-programa .fmbog-pilar-content,
    .fmbog-pilar-dependencia .fmbog-pilar-content {
        margin-left: 0;
    }
}

.fmbog-pilar-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    align-self: flex-start;
}
.fmbog-pilar-programa .fmbog-pilar-eyebrow {
    background: var(--fmbog-pf-violet);
    color: #fff;
}
.fmbog-pilar-dependencia .fmbog-pilar-eyebrow {
    background: var(--fmbog-pf-verde);
    color: #fff;
}

.fmbog-pilar-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 3.6vw, 48px);
    font-weight: 400;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.01em;
}
.fmbog-pilar-programa .fmbog-pilar-title { color: var(--fmbog-pf-violet-dark); }
.fmbog-pilar-dependencia .fmbog-pilar-title { color: var(--fmbog-pf-verde-dark); }

.fmbog-pilar-lead {
    font-size: 15px;
    line-height: 1.6;
    color: var(--fmbog-pf-text-muted);
    margin: 0 0 6px;
    max-width: 480px;
}

/* Chips */
.fmbog-pilar-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 4px;
}

.fmbog-chip {
    appearance: none;
    border: 1px solid var(--fmbog-pf-card-border);
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(2px);
    color: var(--fmbog-pf-text);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}
.fmbog-chip:hover {
    transform: translateY(-1px);
    background: #fff;
}
.fmbog-pilar-programa .fmbog-chip.is-active {
    background: var(--fmbog-pf-violet);
    color: #fff;
    border-color: var(--fmbog-pf-violet);
}
.fmbog-pilar-dependencia .fmbog-chip.is-active {
    background: var(--fmbog-pf-verde);
    color: #fff;
    border-color: var(--fmbog-pf-verde);
}

/* Card grid (inside each pilar) */
.fmbog-pilar-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 6px 0 auto;
    max-height: 480px;
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0,0,0,0.18) transparent;
}
.fmbog-pilar-grid::-webkit-scrollbar { width: 6px; }
.fmbog-pilar-grid::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.15); border-radius: 3px; }

@media (min-width: 1180px) {
    .fmbog-pilar-grid {
        grid-template-columns: 1fr 1fr;
        max-height: 520px;
    }
    .fmbog-pilares.has-tightgrid .fmbog-pilar-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards shared style */
.fmbog-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 16px;
    background: var(--fmbog-pf-card-bg);
    border: 1px solid var(--fmbog-pf-card-border);
    border-radius: 14px;
    padding: 12px;
    color: var(--fmbog-pf-text);
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    position: relative;
}

.fmbog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.fmbog-pilar-programa .fmbog-card:hover {
    border-color: var(--fmbog-pf-violet);
    box-shadow: 0 12px 28px var(--fmbog-pf-violet-shadow);
}
.fmbog-pilar-dependencia .fmbog-card:hover {
    border-color: var(--fmbog-pf-verde);
    box-shadow: 0 12px 28px rgba(148,180,59,0.18);
}

.fmbog-card.is-hidden { display: none; }

.fmbog-card-img {
    width: 88px;
    height: 88px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    background-color: #e5e7eb;
}

.fmbog-card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-right: 24px;
}

.fmbog-card-badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 2px;
}
.fmbog-badge-programa {
    background: var(--fmbog-pf-violet-tint);
    color: var(--fmbog-pf-violet-dark);
}
.fmbog-badge-dependencia {
    background: var(--fmbog-pf-verde-tint);
    color: var(--fmbog-pf-verde-dark);
}

.fmbog-card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fmbog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 12px;
    color: var(--fmbog-pf-text-muted);
}
.fmbog-card-snies {
    color: var(--fmbog-pf-text-muted);
    font-variant-numeric: tabular-nums;
}

.fmbog-card-arrow {
    position: absolute;
    right: 16px;
    bottom: 14px;
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}
.fmbog-pilar-programa .fmbog-card-arrow { color: var(--fmbog-pf-violet); }
.fmbog-pilar-dependencia .fmbog-card-arrow { color: var(--fmbog-pf-verde); }
.fmbog-card:hover .fmbog-card-arrow { transform: translateX(4px); }

/* Pilar CTA at bottom */
.fmbog-pilar-foot {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed rgba(0,0,0,0.08);
}
.fmbog-pilar-programa .fmbog-pilar-foot-link { color: var(--fmbog-pf-violet-dark); }
.fmbog-pilar-dependencia .fmbog-pilar-foot-link { color: var(--fmbog-pf-verde-dark); }

/* Empty state */
.fmbog-pilar-empty {
    background: rgba(255,255,255,0.6);
    border: 1px dashed rgba(0,0,0,0.12);
    border-radius: 14px;
    padding: 36px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.fmbog-pilar-empty h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--fmbog-pf-text);
}
.fmbog-pilar-empty p {
    font-size: 14px;
    color: var(--fmbog-pf-text-muted);
    margin: 0;
    max-width: 360px;
    line-height: 1.55;
}
.fmbog-pilar-empty code {
    background: rgba(91,59,180,0.08);
    color: var(--fmbog-pf-violet-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
}
.fmbog-pilar-empty-mark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 300;
    background: var(--fmbog-pf-violet-tint);
    color: var(--fmbog-pf-violet-dark);
}
.fmbog-pilar-dependencia .fmbog-pilar-empty-mark {
    background: var(--fmbog-pf-verde-tint);
    color: var(--fmbog-pf-verde-dark);
}
.fmbog-pilar-dependencia .fmbog-pilar-empty code {
    background: rgba(148,180,59,0.10);
    color: var(--fmbog-pf-verde-dark);
}

/* Mobile: stack pillars */
@media (max-width: 980px) {
    .fmbog-pilares {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .fmbog-pilar {
        padding: 48px 6vw;
        min-height: 80vh;
    }
    .fmbog-pilar-grid {
        max-height: none;
    }
}

/* ============================================================================
   BANDAS DE SOPORTE (Educación, Noticias, Eventos)
   ============================================================================ */
.fmbog-band {
    padding: 80px 6vw;
    border-top: 1px solid rgba(0,0,0,0.06);
}

.fmbog-band-educacion { background: #fff; }
.fmbog-band-news      { background: var(--fmbog-pf-bg); }
.fmbog-band-events    { background: #fff; }

.fmbog-band-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.fmbog-band-header {
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}

.fmbog-band-eyebrow {
    display: inline-block;
    background: rgba(0,48,135,0.08);
    color: var(--fmbog-pf-azul);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.fmbog-band-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--fmbog-pf-text);
    margin: 0 0 12px;
}

.fmbog-band-lead {
    font-size: 16px;
    color: var(--fmbog-pf-text-muted);
    margin: 0 auto;
    max-width: 560px;
    line-height: 1.55;
}

.fmbog-band-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid var(--fmbog-pf-azul);
    color: var(--fmbog-pf-azul);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all .2s ease;
}
.fmbog-band-cta:hover {
    background: var(--fmbog-pf-azul);
    color: #fff;
    transform: translateY(-2px);
}

/* Educación Continuada — horizontal rail */
.fmbog-band-rail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

.fmbog-band-card {
    background: #fff;
    border: 1px solid var(--fmbog-pf-card-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--fmbog-pf-text);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
    position: relative;
}
.fmbog-band-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,48,135,0.14);
    border-color: var(--fmbog-pf-azul);
}

.fmbog-band-card-img {
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: var(--fmbog-pf-azul);
}

.fmbog-band-card-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0,48,135,0.95);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fmbog-band-card-title {
    font-size: 16px;
    font-weight: 600;
    padding: 14px 16px 18px;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Noticias — 3-up with first card larger */
.fmbog-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 760px) {
    .fmbog-news-grid {
        grid-template-columns: 1fr 1fr;
    }
    .fmbog-news-card--lead {
        grid-column: 1 / -1;
    }
}

.fmbog-news-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--fmbog-pf-card-border);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.fmbog-news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.fmbog-news-card-img {
    display: block;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #1f2937;
}

.fmbog-news-card--lead .fmbog-news-card-img { height: 320px; }

.fmbog-news-card-body {
    padding: 22px 24px 26px;
}

.fmbog-news-card-date {
    font-size: 12px;
    color: var(--fmbog-pf-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
}

.fmbog-news-card-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    margin: 10px 0 0;
}
.fmbog-news-card--lead .fmbog-news-card-title { font-size: 30px; }
.fmbog-news-card-title a {
    color: var(--fmbog-pf-text);
    text-decoration: none;
}
.fmbog-news-card-title a:hover { color: var(--fmbog-pf-azul); }

.fmbog-news-card-excerpt {
    font-size: 15px;
    line-height: 1.55;
    color: var(--fmbog-pf-text-muted);
    margin: 12px 0 0;
}

/* Eventos — list with date pill */
.fmbog-events-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fmbog-event-row {
    display: grid;
    grid-template-columns: 78px 1fr 28px;
    gap: 18px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--fmbog-pf-card-border);
    border-radius: 14px;
    padding: 16px 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.fmbog-event-row:hover {
    transform: translateX(3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

.fmbog-event-datepill {
    width: 64px;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--fmbog-pf-azul);
    color: #fff;
    border-radius: 12px;
}
.fmbog-event-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}
.fmbog-event-month {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.06em;
    opacity: .9;
}

.fmbog-event-body { min-width: 0; }
.fmbog-event-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 4px;
    line-height: 1.3;
}
.fmbog-event-title a {
    color: var(--fmbog-pf-text);
    text-decoration: none;
}
.fmbog-event-title a:hover { color: var(--fmbog-pf-azul); }

.fmbog-event-meta {
    font-size: 13px;
    color: var(--fmbog-pf-text-muted);
    margin: 0;
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.fmbog-event-lugar::before { content: ""; }

.fmbog-event-arrow {
    font-size: 20px;
    color: var(--fmbog-pf-azul);
    text-align: right;
}

/* ============================================================================
   REDES SOCIALES — closing CTA band
   - Full-bleed gradient (azul → violeta) para cerrar la página con peso visual
   - 4 icon tiles circulares con brand color en hover
   - Render condicional: si no hay URLs, el bloque no se imprime en PHP
   ============================================================================ */
.fmbog-social {
    position: relative;
    isolation: isolate;
    width: 100%;
    padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 80px);
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.fmbog-social-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(55% 60% at 18% 18%, rgba(91,59,180,0.55) 0%, transparent 60%),
        radial-gradient(55% 70% at 88% 90%, rgba(0,48,135,0.55) 0%, transparent 65%),
        linear-gradient(160deg, var(--fmbog-pf-azul-dark) 0%, var(--fmbog-pf-violet-dark) 100%);
}
.fmbog-social-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 50%, rgba(148,180,59,0.10) 0%, transparent 55%),
        radial-gradient(circle at 8% 95%, rgba(255,255,255,0.06) 0%, transparent 35%);
}

.fmbog-social-inner {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
}

.fmbog-social-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.78);
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 999px;
    margin-bottom: 22px;
}

.fmbog-social-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #fff;
    letter-spacing: -0.01em;
}

.fmbog-social-lead {
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.55;
    color: rgba(255,255,255,0.86);
    margin: 0 auto 44px;
    max-width: 640px;
}

.fmbog-social-icons {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 2vw, 28px);
}

.fmbog-social-icons li { margin: 0; }

.fmbog-social-tile {
    --tile-size: 88px;
    width: var(--tile-size);
    min-height: calc(var(--tile-size) + 28px);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 8px 8px;
    border-radius: 18px;
    text-decoration: none;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.fmbog-social-tile-glyph {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.10);
    transition: background-color .22s ease, transform .22s ease;
}

.fmbog-social-tile-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.92);
    text-align: center;
    line-height: 1;
}

.fmbog-social-tile:hover,
.fmbog-social-tile:focus-visible {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.45);
    box-shadow: 0 14px 32px rgba(0,0,0,0.28);
    outline: none;
}
.fmbog-social-tile:hover .fmbog-social-tile-glyph,
.fmbog-social-tile:focus-visible .fmbog-social-tile-glyph {
    transform: scale(1.06);
}

/* Brand color accents — solo el glifo y borde superior toman el color
   en hover, para no romper la coherencia oscura del fondo. */
.fmbog-social-fb:hover,
.fmbog-social-fb:focus-visible { border-color: rgba(24,119,242,0.7); box-shadow: 0 14px 32px rgba(24,119,242,0.28); }
.fmbog-social-fb:hover .fmbog-social-tile-glyph,
.fmbog-social-fb:focus-visible .fmbog-social-tile-glyph { background: #1877F2; }

.fmbog-social-tw:hover,
.fmbog-social-tw:focus-visible { border-color: rgba(255,255,255,0.7); box-shadow: 0 14px 32px rgba(255,255,255,0.16); }
.fmbog-social-tw:hover .fmbog-social-tile-glyph,
.fmbog-social-tw:focus-visible .fmbog-social-tile-glyph { background: #000; }

.fmbog-social-ig:hover,
.fmbog-social-ig:focus-visible { border-color: rgba(214,41,118,0.7); box-shadow: 0 14px 32px rgba(214,41,118,0.28); }
.fmbog-social-ig:hover .fmbog-social-tile-glyph,
.fmbog-social-ig:focus-visible .fmbog-social-tile-glyph { background: #d62976; }

.fmbog-social-yt:hover,
.fmbog-social-yt:focus-visible { border-color: rgba(255,0,0,0.7); box-shadow: 0 14px 32px rgba(255,0,0,0.28); }
.fmbog-social-yt:hover .fmbog-social-tile-glyph,
.fmbog-social-yt:focus-visible .fmbog-social-tile-glyph { background: #FF0000; }

.fmbog-social-foot {
    margin: 8px 0 0;
    font-size: 13px;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.04em;
}

/* Mobile: un poco más compacto, los tiles se reescalan */
@media (max-width: 540px) {
    .fmbog-social-tile {
        --tile-size: 76px;
        padding: 12px 6px 6px;
        border-radius: 14px;
    }
    .fmbog-social-tile-glyph {
        width: 48px;
        height: 48px;
    }
    .fmbog-social-tile-name { font-size: 11px; }
    .fmbog-social-lead { margin-bottom: 32px; }
}

/* ============================================================================
   ACTUALIDAD — split 60/40 (Noticias | Agenda)
   - Header compartido (eyebrow + title + lead + CTA "Ver archivo")
   - Grid 1.5fr 1fr — izquierda más ancha porque las noticias pesan más.
   - News: 1 lead card (imagen 1.1fr + body 1fr) + 2 filas densas con thumb 110px.
   - Events: 4 event-cards apilados con date pill vertical azul (64px).
   - Mobile: stack vertical; news primero.
   ============================================================================ */
.fmbog-actualidad {
    width: 100%;
    padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 80px);
    background: var(--fmbog-pf-bg);
    color: var(--fmbog-pf-text);
}

.fmbog-actualidad-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.fmbog-actualidad-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 36px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--fmbog-pf-card-border);
}

.fmbog-actualidad-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 12px;
    font-weight: 600;
    color: var(--fmbog-pf-violet);
    margin-bottom: 10px;
}

.fmbog-actualidad-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 4.2vw, 44px);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 10px;
    color: var(--fmbog-pf-text);
    letter-spacing: -0.01em;
}

.fmbog-actualidad-lead {
    font-size: clamp(14px, 1.3vw, 17px);
    line-height: 1.55;
    color: var(--fmbog-pf-text-muted);
    margin: 0;
    max-width: 640px;
}

.fmbog-actualidad-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 0;
    background: var(--fmbog-pf-card-bg);
    border: 1px solid var(--fmbog-pf-card-border);
    border-radius: 18px;
    overflow: hidden;
}

/* Column head — eyebrow + columna-cta alineados en una fila */
.fmbog-actualidad-col-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 18px;
}

.fmbog-actualidad-col-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    font-weight: 700;
    color: var(--fmbog-pf-violet);
}

.fmbog-actualidad-col-eyebrow--blue { color: var(--fmbog-pf-azul); }

.fmbog-actualidad-col-cta {
    font-size: 12px;
    font-weight: 600;
    color: var(--fmbog-pf-azul);
    text-decoration: none;
    letter-spacing: 0.02em;
}
.fmbog-actualidad-col-cta:hover { text-decoration: underline; }

/* --------- News column --------- */
.fmbog-actualidad-news {
    padding: 30px 32px 32px;
    border-right: 1px solid var(--fmbog-pf-card-border);
    min-width: 0;
}

/* Lead card: imagen izquierda 1.1fr, body derecha 1fr */
.fmbog-news-lead {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 22px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--fmbog-pf-card-border);
}

.fmbog-news-lead-img {
    display: block;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    background-color: #1f2937;
    transition: transform .25s ease, box-shadow .25s ease;
}
.fmbog-news-lead:hover .fmbog-news-lead-img {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.fmbog-news-lead-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.fmbog-news-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 11px;
    font-weight: 700;
    color: var(--fmbog-pf-violet);
    margin-bottom: 8px;
}
.fmbog-news-tag--sm {
    font-size: 10px;
    margin-bottom: 4px;
}

.fmbog-news-lead-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 400;
    line-height: 1.22;
    margin: 0 0 10px;
}
.fmbog-news-lead-title a {
    color: var(--fmbog-pf-text);
    text-decoration: none;
}
.fmbog-news-lead-title a:hover { color: var(--fmbog-pf-violet); }

.fmbog-news-lead-excerpt {
    font-size: 14px;
    line-height: 1.55;
    color: var(--fmbog-pf-text-muted);
    margin: 0 0 12px;
}

.fmbog-news-lead-meta {
    font-size: 12px;
    color: var(--fmbog-pf-text-muted);
    letter-spacing: 0.02em;
}

/* News row (secondary) — thumb 110px + body + arrow */
.fmbog-news-row {
    display: grid;
    grid-template-columns: 110px 1fr 20px;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--fmbog-pf-card-border);
    text-decoration: none;
    color: inherit;
    transition: background-color .15s ease, transform .15s ease;
}
.fmbog-news-row:first-of-type {
    border-top: 1px solid var(--fmbog-pf-card-border);
}
.fmbog-news-row:last-of-type { border-bottom: none; }
.fmbog-news-row:hover {
    background-color: rgba(91,59,180,0.04);
}
.fmbog-news-row:hover .fmbog-news-row-arrow { transform: translateX(3px); color: var(--fmbog-pf-violet); }

.fmbog-news-row-thumb {
    width: 110px;
    height: 78px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-color: #1f2937;
    display: block;
}

.fmbog-news-row-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.fmbog-news-row-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.32;
    color: var(--fmbog-pf-text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.fmbog-news-row-meta {
    font-size: 11px;
    color: var(--fmbog-pf-text-muted);
    letter-spacing: 0.02em;
}

.fmbog-news-row-arrow {
    color: var(--fmbog-pf-azul);
    font-size: 16px;
    text-align: right;
    transition: transform .15s ease, color .15s ease;
}

/* --------- Events column --------- */
.fmbog-actualidad-events {
    padding: 30px 28px 32px;
    background: linear-gradient(180deg, #fcfcff 0%, #faf6fe 100%);
    min-width: 0;
}

.fmbog-events-rail {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fmbog-event-card {
    display: grid;
    grid-template-columns: 64px 1fr 22px;
    gap: 14px;
    align-items: center;
    padding: 14px 12px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--fmbog-pf-card-border);
    transition: transform .18s ease, box-shadow .18s ease;
}
.fmbog-event-card:hover {
    transform: translateX(3px);
    box-shadow: 0 8px 20px rgba(0,48,135,0.10);
}

.fmbog-event-datepill {
    width: 64px;
    height: 64px;
    background: var(--fmbog-pf-azul);
    color: #fff;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.fmbog-event-day {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}
.fmbog-event-month {
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    letter-spacing: 0.06em;
}

.fmbog-event-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fmbog-event-tag {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 10px;
    font-weight: 700;
    color: var(--fmbog-pf-azul);
}

.fmbog-event-card-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}
.fmbog-event-card-title a {
    color: var(--fmbog-pf-text);
    text-decoration: none;
}
.fmbog-event-card-title a:hover { color: var(--fmbog-pf-azul); }

.fmbog-event-card-where {
    font-size: 12px;
    color: var(--fmbog-pf-text-muted);
}

.fmbog-event-card-arrow {
    color: var(--fmbog-pf-azul);
    font-size: 18px;
    text-align: right;
}

/* Empty state (compartido por news/events cuando no hay posts) */
.fmbog-actualidad-empty {
    padding: 30px 20px;
    text-align: center;
    color: var(--fmbog-pf-text-muted);
    font-size: 14px;
    background: rgba(0,0,0,0.02);
    border-radius: 10px;
}

/* ============================================================================
   ACTUALIDAD — responsive
   ============================================================================ */
@media (max-width: 960px) {
    .fmbog-actualidad-grid {
        grid-template-columns: 1fr;
    }
    .fmbog-actualidad-news {
        border-right: none;
        border-bottom: 1px solid var(--fmbog-pf-card-border);
    }
    .fmbog-actualidad-events {
        background: #fcfcff;
    }
}

@media (max-width: 640px) {
    .fmbog-actualidad-header {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 12px;
    }
    .fmbog-news-lead {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .fmbog-news-lead-img { height: 200px; }
    .fmbog-news-row { grid-template-columns: 90px 1fr 18px; }
    .fmbog-news-row-thumb { width: 90px; height: 64px; }
    .fmbog-actualidad-news,
    .fmbog-actualidad-events { padding: 22px 20px; }
    .fmbog-event-card { grid-template-columns: 56px 1fr 20px; padding: 12px 10px; }
    .fmbog-event-datepill { width: 56px; height: 56px; }
    .fmbog-event-day { font-size: 20px; }
}
