/* Grey Box theme bridge — minimal overrides only */
.alert-success {
    background: #d4edda;
    color: #155724;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.alert-danger {
    background: #f8d7da;
    color: #721c24;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.alert-danger ul { margin: 0; padding-left: 18px; }
.main-header .navbar-brand img.logo-img { max-height: 40px; width: auto; }
.greybox-brand {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.2;
}
.greybox-brand__name {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}
.greybox-brand__tag {
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
    font-weight: 500;
}
.greybox-brand--footer .greybox-brand__name {
    font-size: 22px;
}
.greybox-preloader-brand {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 12px;
}
.main-header .navbar-brand .logo-text-brand {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
}
.main-header .navbar-brand .logo-text-brand small {
    display: block;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.75;
}

/* WhatsApp floating button (Grey Box layout does not load app.css) */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    line-height: 0;
    overflow: hidden;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
    display: block;
    width: 1.5rem !important;
    height: 1.5rem !important;
    max-width: 1.5rem;
    max-height: 1.5rem;
    fill: #fff;
}

@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
    }

    .whatsapp-float svg {
        width: 1.35rem !important;
        height: 1.35rem !important;
        max-width: 1.35rem;
        max-height: 1.35rem;
    }
}

/* Event gallery — consistent event photos */
.greybox-gallery .post-featured-image {
    overflow: hidden;
    border-radius: 16px;
    background: #f0f0f2;
}

.greybox-gallery .post-featured-image figure {
    display: block;
    margin: 0;
    width: 100%;
    height: 100%;
}

.greybox-gallery .post-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.greybox-gallery .post-featured-image--featured {
    aspect-ratio: 4 / 3;
    max-height: 420px;
}

.greybox-gallery .post-featured-image--thumb {
    width: 140px;
    min-width: 140px;
    height: 110px;
    flex-shrink: 0;
}

.greybox-gallery__list .post-item {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.greybox-gallery__list .post-item-body {
    flex: 1;
    min-width: 0;
}

@media (max-width: 575px) {
    .greybox-gallery .post-featured-image--thumb {
        width: 100px;
        min-width: 100px;
        height: 90px;
    }
}
