
.cms-content p:empty {
    display: none;
    margin: 0;
}

.cms-content p {
    margin-bottom: 10px;
}

.cms-content p br:only-child {
    display: none;
}

.cms-content ul{
    list-style: none;
}

.cms-content ul li{
    position: relative;
    padding-left: 1.2rem;
}

.cms-content ul li::before{
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: #6b7280;
    font-weight: bold;
}


.cms-content ol{
    list-style: decimal;
    padding-left: 1.2rem;
    margin: 0.75rem 0;
}

.cms-content li{
    list-style: inherit;
    margin-bottom: 0.35rem;
}

.cms-content li p{
    margin: 0;
}
.cms-content b,
.cms-content strong{
    font-weight: 600;
}
/* Blockquote / Callout */
.cms-content blockquote{
    border-left: 4px solid #0f766e;
    padding: 12px 16px;
    margin: 16px 0;
    background: #f0fdfa;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
    font-style: italic;
}

/* Included / Highlight block */
.cms-content .retreat-highlight{
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #0f766e;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    margin: 14px 0;
    font-size: 0.95rem;
}

/* Alignment safety */
.cms-content p{
    text-align: left;
}

.cms-content p.text-center{
    text-align: center;
}

    .fayre-hero {
        border-radius: 16px;
        overflow: hidden;
    }

    .event-status-badges {
        position: absolute;
        top: 12px;
        left: 12px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        z-index: 3;
    }

    .event-status-badge {
        display: inline-flex;
        align-items: center;
        padding: 4px 10px;
        border-radius: 999px;
        font-size: 0.8rem;
        font-weight: 600;
        color: #ffffff;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.25);
        background: #111827;
    }

    .event-status-badge-ended {
        background: #b91c1c; /* red */
    }

    .event-status-badge-limited {
        background: #d97706; /* amber */
    }

    .event-status-badge-upcoming {
        background: #059669; /* green */
    }
    .fayre-hero {
        position: relative;
        overflow: hidden;
    }

    .fayre-ended-ribbon {
        position: absolute;
        top: 56px;
        left: -54px;
        background: #dc3545;
        color: #ffffff;
        padding: 6px 48px;
        transform: rotate(-45deg);
        text-transform: uppercase;
        font-size: 0.7rem;
        letter-spacing: 0.12em;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        z-index: 5;
        pointer-events: none;
    }

    .fayre-ended-ribbon span {
        white-space: nowrap;
    }
.bg-secondary {
    --bs-bg-opacity: 1;
        background-color: rgb(18 195 95) !important;
}
.stall-card {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    background: #fff;
    transition: all .25s ease;
}

.stall-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Filter button styling */
.stall-filter-btn {
    margin-right: 6px;
    margin-bottom: 6px;
}

.stall-filter-btn.active {
    background: #444;
    colour: #fff;
}

/* Floating Book a Stall Button */
.floating-book-stall {
    position: fixed;
    bottom: 18px;
    right: 260px;
    z-index: 9999;
    background: #28a745;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    font-weight: 600;
    transition: all .3s ease;
}

.floating-book-stall:hover {
    background: #218838;
    colour: #fff;
    transform: translateY(-3px);
}

.live-view-banner {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: fadeIn 0.8s ease forwards;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

@keyframes fadeIn {
    from {opacity: 0; transform: translateY(6px);}
    to   {opacity: 1; transform: translateY(0);}
}

    .fayre-hero {
        border-radius: 10px;
        overflow: hidden;
        border: 1px solid #e7e7e7;
        margin-bottom: 20px;
    }
    .fayre-hero img {
        width: 100%;
        height: auto;
        display: block;
    }
    .fayre-heading h1 {
        font-size: 1.9rem;
        margin-bottom: 10px;
    }
    .fayre-meta-badges span {
        display: inline-block;
        margin-right: 8px;
        margin-bottom: 6px;
        padding: 4px 10px;
        border-radius: 999px;
        font-size: 0.8rem;
    }
    .badge-entry {
        background: #007bff;
        color: #fff;
    }
    .badge-access {
        background: #28a745;
        color: #fff;
    }
    .badge-warning-custom {
        background: #ffc107;
        color: #000;
    }
    .badge-stalls {
        background: #6f42c1;
        color: #fff;
    }
    .fayre-tabs .nav-link {
        font-size: 0.95rem;
    }
    .fayre-tabs .nav-link.active {
        font-weight: 600;
    }
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    .gallery-grid img {
        width: 100%;
        height: 110px;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid #ddd;
    }
    .stall-card {
        border: 1px solid #e7e7e7;
        border-radius: 8px;
        padding: 10px 12px;
        margin-bottom: 10px;
        background: #f6f8ff;
    }
    .programme-table th,
    .programme-table td {
        vertical-align: middle;
        font-size: 0.9rem;
    }
    .sidebar-card {
        border: 1px solid #e7e7e7;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 15px;
        background: #f9f9f9;
    }
    .sidebar-card h5 {
        font-size: 1.05rem;
        margin-bottom: 10px;
    }
    .layout-image {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
        border: 1px solid #ddd;
    }
    @media (max-width: 767px) {
        .fayre-heading h1 {
            font-size: 1.5rem;
        }
    }
/* Fayre page layout width */
.fayre-container {
    max-width: 1380px;
    margin: 0 auto;
}

/* On tablets and below, let it go full width */
@media (max-width: 991.98px) {
    .fayre-container {
        max-width: 100%;
        padding-left: 40px;
        padding-right: 5px;
    }
}
    @media (max-width: 767px) {
    .fayre-container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media (min-width: 768px) {
    .col-md-4 {
        flex: 0 0 auto;
        width: 30%;
    }
}

    .col-md-8-course
 {
        flex: 0 0 auto;
        width: 105.6% !important;
    }
