/* Shared detail panels used by articles and events. */

.article-panel,
.event-panel {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 22px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.article-quick-panel,
.event-quick-panel {
    overflow: visible;
}

.article-panel-body,
.event-panel-body {
    padding: 1.5rem;
}

.article-panel-body-lg,
.event-panel-body-lg {
    padding: clamp(1.5rem, 4vw, 3rem);
}

.article-quick-grid,
.event-quick-grid {
    display: grid;
    min-width: 0;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: center;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.article-quick-facts,
.event-quick-facts {
    display: grid;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.article-quick-fact,
.event-quick-fact {
    min-width: 0;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem;
    border: 1px solid #edf1f7;
    border-radius: 16px;
    background: #fbfcff;
    color: inherit;
    text-decoration: none;
}

.article-quick-fact i,
.event-quick-fact i {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(0, 98, 255, 0.08);
    color: var(--brand-color, #0062ff);
}

.article-quick-fact span,
.event-quick-fact span {
    display: block;
    margin-bottom: 0.08rem;
    color: #6b7280;
    font-size: 0.76rem;
}

.article-quick-fact strong,
.event-quick-fact strong {
    display: block;
    min-width: 0;
    color: #111827;
    font-size: 0.92rem;
    line-height: 1.25;
    font-weight: var(--font-weight-heading);
}

.article-quick-fact-link:hover,
.article-quick-fact-link:focus,
.event-quick-fact-link:hover,
.event-quick-fact-link:focus {
    border-color: rgba(0, 98, 255, 0.25);
    background: #f5f9ff;
}

.article-quick-actions,
.event-quick-actions {
    display: grid;
    min-width: 0;
    gap: 0.75rem;
}

.article-section-kicker,
.event-section-kicker {
    margin-bottom: 0.35rem;
    color: var(--brand-color, #0062ff);
    font-size: 0.74rem;
    font-weight: var(--font-weight-heading);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.article-section-title,
.event-section-title {
    margin-bottom: 1.25rem;
    color: #111827;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: var(--font-weight-heading);
}

.article-section-title-sm,
.event-section-title-sm {
    font-size: 1.15rem;
}

.article-section-title-sm {
    margin-bottom: 0;
}

.event-section-title-sm {
    margin-bottom: 1rem;
}

@media (max-width: 1199.98px) {
    .article-quick-grid,
    .event-quick-grid {
        grid-template-columns: 104px minmax(0, 1fr);
    }

    .article-quick-actions,
    .event-quick-actions {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .article-quick-grid,
    .article-quick-facts,
    .article-quick-actions,
    .event-quick-grid,
    .event-quick-facts,
    .event-quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .article-panel-body,
    .article-panel-body-lg,
    .event-panel-body,
    .event-panel-body-lg {
        padding: 1.25rem;
    }
}
