.public-home-page {
    max-width: 1180px;
}

.public-home-titlebar {
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
}

.public-home-eyebrow {
    color: #6c757d;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.public-home-card {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: .75rem;
    box-shadow: 0 .45rem 1.35rem rgba(15, 23, 42, .06);
}

.public-home-card-link {
    color: inherit;
    text-decoration: none;
}

.public-home-card-link .public-home-card {
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.public-home-card-link:hover .public-home-card {
    border-color: color-mix(in srgb, var(--fw-primary-color, #dc3545) 42%, transparent);
    box-shadow: 0 .85rem 1.8rem rgba(15, 23, 42, .1);
    transform: translateY(-1px);
}

.public-home-post-body {
    white-space: pre-line;
}

.public-media-gallery-card {
    overflow: hidden;
}

.public-media-gallery-cover,
.public-media-gallery-placeholder {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.public-media-gallery-placeholder {
    align-items: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, .14), rgba(15, 23, 42, .06));
    color: #475569;
    display: flex;
    font-weight: 800;
    justify-content: center;
}

.public-home-meta {
    color: #6c757d;
    font-size: .875rem;
}

.public-hero {
    background: linear-gradient(135deg, rgba(220, 53, 69, .1), rgba(15, 23, 42, .04));
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: .9rem;
    margin-bottom: 1.5rem;
    padding: clamp(1.35rem, 3vw, 2.35rem);
}

.public-hero h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
}

.public-emergency-card {
    align-items: center;
    background: #fff1f2;
    border: 2px solid #dc3545;
    border-radius: .9rem;
    box-shadow: 0 .7rem 1.7rem rgba(220, 53, 69, .16);
    color: #68111a;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    padding: 1.4rem 1.6rem;
}

.public-emergency-card h2 {
    color: #7f1d1d;
    font-size: clamp(1.55rem, 2.7vw, 2.35rem);
    font-weight: 800;
}

.public-emergency-card p {
    font-size: 1.05rem;
}

.public-emergency-number {
    align-items: center;
    background: #dc3545;
    border-radius: .75rem;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    min-height: 5.1rem;
    min-width: 7.5rem;
    padding: .7rem 1rem;
    text-decoration: none;
}

.public-emergency-number:hover {
    color: #fff;
    filter: brightness(.95);
}

.public-contact-panel {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: .75rem;
    padding: 1.25rem;
}

.public-status-pill {
    border-radius: 999px;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 700;
    gap: .35rem;
    line-height: 1;
    padding: .45rem .7rem;
}

.public-status-draft {
    background: #f1f5f9;
    color: #334155;
}

.public-status-planned {
    background: #dbeafe;
    color: #1e40af;
}

.public-status-visible {
    background: #dcfce7;
    color: #166534;
}

.public-status-expired {
    background: #fee2e2;
    color: #991b1b;
}

.go-live-check {
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: .75rem;
    padding: 1rem;
}

.go-live-check-ok {
    background: #f0fdf4;
}

.go-live-check-warning {
    background: #fffbeb;
}

.go-live-check-danger {
    background: #fff1f2;
}

@media (max-width: 575.98px) {
    .public-emergency-card {
        align-items: stretch;
        flex-direction: column;
    }

    .public-emergency-number {
        width: 100%;
    }
}
