/*
 * Site-specific generated CSS.
 * BluSup's shared generated-site structure now lives in:
 * /assets/css/bs-generated-sites.css
 *
 * Keep this file for per-site accent tweaks, custom sections,
 * local image styles, or one-off polish. Avoid copying engine/layout CSS here.
 */
:root {
    --sg-site-accent: var(--bs-button-border-hover, #2f6f90);
}

.sg-public-header {
    margin-bottom: .2rem;
}

.sg-public-header .bs-public-header-title-block {
    display: grid;
    gap: .08rem;
    justify-items: center;
}

.sg-public-header .bs-common-brand {
    margin-bottom: .18rem !important;
}

.sg-public-header .bs-common-brand-location {
    display: none !important;
}

.sg-public-header .bs-app-copy {
    margin-top: .16rem !important;
}

.sg-public-header .bs-app-copy p {
    max-width: 760px;
    margin-inline: auto;
    font-size: clamp(.95rem, 1.15vw, 1.05rem);
    line-height: 1.35;
}

.sg-site-identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .12rem .45rem;
    margin: 0 auto .12rem;
    color: var(--bs-text-soft);
    text-align: center;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.3;
}

.sg-site-identity span {
    color: var(--bs-text-strong);
}

.sg-site-identity small {
    width: 100%;
    color: var(--bs-text-soft);
    font-size: .74rem;
    font-weight: 700;
}

@media (max-width: 720px) {
    .sg-public-header .bs-app-copy p {
        font-size: .94rem;
    }
}

/* Temporary/common event insert card. The renderer is shared in /includes/bs_event_inserts.php. */
.bs-event-insert {
    border-color: rgba(35, 112, 146, .25);
    background: linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(232, 249, 255, .95));
}

.bs-event-insert__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.bs-event-insert__subtitle,
.bs-event-insert__summary,
.bs-event-insert__source {
    color: var(--bs-text-soft);
    line-height: 1.55;
}

.bs-event-insert__summary {
    margin-top: .75rem;
    font-weight: 650;
}

.bs-event-insert__source {
    margin-top: .85rem;
    font-size: .92rem;
}

.bs-event-insert__date-card,
.bs-event-insert__facts > div,
.bs-event-insert__panel {
    border: 1px solid rgba(35, 112, 146, .18);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 28px rgba(12, 56, 78, .06);
}

.bs-event-insert__date-card {
    min-width: 12.5rem;
    padding: .85rem 1rem;
    text-align: center;
}

.bs-event-insert__date-card span,
.bs-event-insert__facts span {
    display: block;
    color: var(--bs-text-soft);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.bs-event-insert__date-card strong {
    display: block;
    margin-top: .18rem;
    color: var(--bs-text-strong);
    font-size: 1.05rem;
}

.bs-event-insert__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
    margin-top: .95rem;
}

.bs-event-insert__facts > div {
    padding: .85rem .95rem;
}

.bs-event-insert__facts strong {
    display: block;
    margin-top: .24rem;
    color: var(--bs-text-strong);
    line-height: 1.35;
}

.bs-event-insert__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    margin-top: .95rem;
}

.bs-event-insert__panel {
    padding: 1rem;
}

.bs-event-insert__panel h3 {
    margin: 0 0 .55rem;
    color: var(--bs-text-strong);
}

.bs-event-insert__panel ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--bs-text-soft);
    line-height: 1.5;
}

.bs-event-insert__panel li + li {
    margin-top: .35rem;
}

.bs-event-insert__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

@media (max-width: 860px) {
    .bs-event-insert__head,
    .bs-event-insert__facts,
    .bs-event-insert__grid {
        grid-template-columns: 1fr;
    }

    .bs-event-insert__date-card {
        min-width: 0;
        text-align: left;
    }
}


.bs-event-insert__media-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr;
    gap: .8rem;
    margin-top: 1rem;
}

.bs-event-insert__media {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(35, 112, 146, .2);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 16px 32px rgba(12, 56, 78, .08);
}

.bs-event-insert__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 13rem;
    object-fit: cover;
}

.bs-event-insert__media--primary {
    grid-row: span 2;
}

.bs-event-insert__media--primary img {
    min-height: 26.5rem;
}

.bs-event-insert__media figcaption {
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    padding: .55rem .7rem;
    border-radius: .85rem;
    background: rgba(255, 255, 255, .84);
    color: var(--bs-text-strong);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.25;
    box-shadow: 0 10px 24px rgba(12, 56, 78, .1);
}

@media (max-width: 860px) {
    .bs-event-insert__media-grid {
        grid-template-columns: 1fr;
    }

    .bs-event-insert__media--primary {
        grid-row: auto;
    }

    .bs-event-insert__media img,
    .bs-event-insert__media--primary img {
        min-height: 14.5rem;
    }
}
