/* ===============================================
   GLOWING HEADER + INTRO
   =============================================== */

.mfj-header {
    background: #1f3b70;
    color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

.mfj-header.glow {
    animation: mfjGlowPulse 4s ease-in-out infinite;
}

@keyframes mfjGlowPulse {
    0% { box-shadow: 0 0 20px rgba(255,255,255,0.2); }
    50% { box-shadow: 0 0 35px rgba(255,255,255,0.35); }
    100% { box-shadow: 0 0 20px rgba(255,255,255,0.2); }
}

.mfj-intro {
    font-size: 1.15rem;
    opacity: 0.9;
    margin: 0;
    color: #ffffff !important;
}

/* ===============================================
   DATE BADGE
   =============================================== */

.mfj-date-badge {
    display: inline-block;
    background: #ffffff;
    color: #1f3b70;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    margin-top: 15px;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    font-size: 1rem;
}

/* ===============================================
   PATHWAY HEADING (Navy, centred)
   =============================================== */

.mfj-pathway-heading {
    text-align: center;
    font-size: 1.8rem;
    margin: 20px 0 10px;
    color: #1f3b70 !important;   /* Fixes black heading issue */
    font-weight: 700;
}

/* ===============================================
   SELECTOR BUTTONS (Fixed, not full-width)
   =============================================== */

.mfj-selector {
    display: flex !important;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
    flex-wrap: wrap;
}

/* Fix Spacious forcing full-width buttons */
.mfj-selector a,
.mfj-select-btn {
    display: inline-block !important;   /* Stops full-width stretching */
    width: auto !important;             /* Prevents block behaviour */
    background: #ffffff;
    color: #1f3b70 !important;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 600;
    border: 2px solid #1f3b70;
    transition: 0.2s ease;
    cursor: pointer;
}

/* Hover */
.mfj-select-btn:hover {
    background: #1f3b70;
    color: #ffffff !important;
}

/* Active (selected pathway) */
.mfj-select-btn.active {
    background: #1f3b70 !important;
    color: #ffffff !important;
    border-color: #1f3b70 !important;
}

/* ===============================================
   DEVOTIONAL PANEL
   =============================================== */

.mfj-day {
    background: #1f3b70;
    color: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
    margin-top: 20px;
}

.mfj-heading {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

/* ===============================================
   ICONS
   =============================================== */

.mfj-icon {
    margin-right: 8px;
    font-size: 1.4rem;
    vertical-align: middle;
}
/* Force Scripture / Reflection / Action headings to white */
h3.mfj-heading,
h3.mfj-heading *,
.mfj-heading,
.mfj-heading * {
    color: #ffffff !important;
}
