/*
 * Site-specific generated CSS.
 * Shared generated-site layout lives in /assets/css/bs-generated-sites.css.
 */
:root {
    --sg-site-accent: #206a73;
}

.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: 820px;
    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;
}

.sg-foundation-empty {
    border-style: dashed;
    background: #f9fcfb;
}

.sg-field-list {
    columns: 2;
    margin: .75rem 0 0;
}

.sg-field-list li {
    break-inside: avoid;
}

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

    .sg-field-list {
        columns: 1;
    }
}

.sg-focus-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}

.sg-focus-card {
    display: grid;
    gap: .45rem;
    align-content: start;
}

.sg-focus-card-primary {
    border-width: 2px;
}

.sg-focus-number {
    display: inline-grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--sg-site-accent);
    color: #fff;
    font-weight: 800;
}

.sg-focus-card strong {
    color: var(--bs-text-strong);
    font-size: 1.04rem;
}

@media (max-width: 820px) {
    .sg-focus-grid {
        grid-template-columns: 1fr;
    }
}

/* Pensacola-only official PDF viewer. */
.sg-pdf-viewer[hidden] {
    display: none !important;
}

.sg-pdf-viewer {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.sg-pdf-viewer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 31, 48, .72);
}

.sg-pdf-viewer-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: min(1180px, 96vw);
    height: min(900px, 92vh);
    padding: 1rem;
    border: 1px solid var(--bs-border, #cfe0e8);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(7, 31, 48, .28);
}

.sg-pdf-viewer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .8rem;
}

.sg-pdf-viewer-head h2,
.sg-pdf-viewer-head p {
    margin: 0;
}

.sg-pdf-viewer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .55rem;
}

.sg-pdf-viewer-frame {
    width: 100%;
    height: 100%;
    min-height: 0;
    border: 1px solid var(--bs-border, #cfe0e8);
    border-radius: 14px;
    background: #f7fafc;
}

.sg-pdf-viewer-fallback {
    margin: .65rem 0 0;
    color: var(--bs-text-soft);
    font-size: .88rem;
    text-align: center;
}

body.sg-pdf-viewer-open {
    overflow: hidden;
}

@media (max-width: 720px) {
    .sg-pdf-viewer {
        padding: .45rem;
    }

    .sg-pdf-viewer-panel {
        width: 100%;
        height: 96vh;
        padding: .75rem;
        border-radius: 16px;
    }

    .sg-pdf-viewer-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .sg-pdf-viewer-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

