/* Disclosure hub / reports hub card layout — aligned with former home landing cards.
   Production DASH landing (/) styles live in css/dash/dash-components-pinnacle.css. */

.disclosure-hub-landing,
.disclosure-reports-hub {
    --dash-home-radius-card: var(--radius-card, 18px);
    --dash-home-radius-btn: 10px;
    --dash-home-color-text-primary: var(--color-text-primary, #2f546a);
    --dash-home-color-text-secondary: var(--color-text-secondary, #4a7a95);
    --dash-home-color-text-muted: var(--color-text-muted, #587f9b);
    --dash-home-color-card-bg: var(--color-card-bg, rgba(255, 255, 255, 0.92));
    --dash-home-color-card-border: var(--color-card-border, rgba(16, 120, 190, 0.13));
    --dash-home-font-title: var(--font-title, 'Montserrat', sans-serif);
    --dash-home-font-body: var(--font-body, 'Lato', sans-serif);
}

/* Card grid */
.disclosure-hub-landing .home-landing-cards,
.disclosure-reports-hub .home-landing-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

/* Product cards */
.disclosure-hub-landing .home-landing-cards .dash-card-container,
.disclosure-hub-landing .home-landing-cards a.dash-card-link,
.disclosure-reports-hub .home-landing-cards .dash-card-container,
.disclosure-reports-hub .home-landing-cards a.dash-card-link {
    width: 260px;
    max-width: 260px;
    flex: 0 0 260px;
    height: auto;
    align-self: stretch;
    min-height: 420px;
    margin-bottom: 0;
    padding: 44px 28px 32px;
    border-radius: var(--dash-home-radius-card);
    background: var(--dash-home-color-card-bg);
    border: 0.5px solid var(--dash-home-color-card-border);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow:
        0 4px 28px rgba(16, 120, 190, 0.08),
        0 1px 6px rgba(16, 120, 190, 0.05);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.disclosure-hub-landing .home-landing-cards a.dash-card-link:hover,
.disclosure-hub-landing .home-landing-cards .dash-card-container:hover,
.disclosure-reports-hub .home-landing-cards a.dash-card-link:hover,
.disclosure-reports-hub .home-landing-cards .dash-card-container:hover {
    box-shadow:
        0 10px 40px rgba(16, 120, 190, 0.14),
        0 2px 8px rgba(16, 120, 190, 0.07);
    transform: translateY(-3px);
    border-color: var(--dash-home-color-card-border);
}

.disclosure-hub-landing .home-landing-cards .disabled-card,
.disclosure-reports-hub .home-landing-cards .disabled-card {
    opacity: 1;
    cursor: default;
}

.disclosure-hub-landing .home-landing-cards .disabled-card:hover,
.disclosure-reports-hub .home-landing-cards .disabled-card:hover {
    transform: none;
    box-shadow:
        0 4px 28px rgba(16, 120, 190, 0.08),
        0 1px 6px rgba(16, 120, 190, 0.05);
}

/* Card icon */
.disclosure-hub-landing .home-landing-cards .dash-card-img-container,
.disclosure-reports-hub .home-landing-cards .dash-card-img-container {
    border: none;
    width: 110px;
    height: 110px;
    margin: 0 0 32px;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.disclosure-hub-landing .home-landing-cards .dash-card-img-container .dash-logo,
.disclosure-reports-hub .home-landing-cards .dash-card-img-container .dash-logo {
    height: auto !important;
    width: 68%;
    max-height: 100%;
    object-fit: contain;
}

/* Card text */
.disclosure-hub-landing .home-landing-cards .dash-card-heading,
.disclosure-reports-hub .home-landing-cards .dash-card-heading {
    font-family: var(--dash-home-font-title);
    font-size: 15px;
    font-weight: 600;
    color: var(--dash-home-color-text-primary);
    margin-bottom: 12px;
    flex-shrink: 0;
}

.disclosure-hub-landing .home-landing-cards .dash-card-content,
.disclosure-reports-hub .home-landing-cards .dash-card-content {
    font-family: var(--dash-home-font-body);
    font-size: 12px;
    font-weight: 400;
    color: var(--dash-home-color-text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    min-height: 3.4em;
    padding: 0 4px;
    flex: 1 1 auto;
    display: block;
    width: 100%;
}

.disclosure-hub-landing .home-landing-cards .line-spacer-4,
.disclosure-reports-hub .home-landing-cards .line-spacer-4 {
    display: none;
}

/* CTA button */
.disclosure-hub-landing .home-landing-cards .dash-card-btn-container,
.disclosure-reports-hub .home-landing-cards .dash-card-btn-container {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 13px 16px;
    margin-top: auto;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #1078be 0%, #5cc3dd 100%);
    color: #fff;
    font-family: var(--dash-home-font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    height: auto;
    flex-shrink: 0;
    text-align: center;
    box-sizing: border-box;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.disclosure-hub-landing .home-landing-cards a.dash-card-link:hover .dash-card-btn-container,
.disclosure-hub-landing .home-landing-cards .dash-card-container:not(.disabled-card):hover .dash-card-btn-container,
.disclosure-reports-hub .home-landing-cards a.dash-card-link:hover .dash-card-btn-container,
.disclosure-reports-hub .home-landing-cards .dash-card-container:not(.disabled-card):hover .dash-card-btn-container {
    background: linear-gradient(90deg, #1078be 0%, #5cc3dd 100%);
    opacity: 0.88;
    transform: translateY(-1px);
}

.disclosure-hub-landing .home-landing-cards .disabled-card .dash-card-btn-container,
.disclosure-reports-hub .home-landing-cards .disabled-card .dash-card-btn-container {
    background: linear-gradient(90deg, #b0c8d8 0%, #c8dce8 100%);
    pointer-events: none;
    opacity: 1;
    transform: none;
}

/* Welcome page shell background (MainLayout welcome-page) */
.main_container.welcome-page {
    background-image: none;
    background: var(--dash-shell-background);
}

.main_container.welcome-page .content--welcome {
    padding: 0 !important;
    max-width: none;
}

/* Disclosure hub summary stats — aligned with home landing card layout */
.disclosure-hub-landing .home-landing-cards .disclosure-hub-dash-card__stats,
.disclosure-reports-hub .home-landing-cards .disclosure-hub-dash-card__stats {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 0.75rem;
    padding: 0 0.25rem;
    width: 100%;
}

.disclosure-hub-landing .home-landing-cards .disclosure-hub-dash-card__stats--single,
.disclosure-reports-hub .home-landing-cards .disclosure-hub-dash-card__stats--single {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.disclosure-hub-landing .home-landing-cards .disclosure-hub-dash-card__stat,
.disclosure-reports-hub .home-landing-cards .disclosure-hub-dash-card__stat {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.disclosure-hub-landing .home-landing-cards .disclosure-hub-dash-card__stat-value,
.disclosure-reports-hub .home-landing-cards .disclosure-hub-dash-card__stat-value {
    color: var(--dash-home-color-text-primary);
    font-family: var(--dash-home-font-title);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
}

.disclosure-hub-landing .home-landing-cards .disclosure-hub-dash-card__stat-value--muted,
.disclosure-reports-hub .home-landing-cards .disclosure-hub-dash-card__stat-value--muted {
    color: var(--dash-home-color-text-muted);
}

.disclosure-hub-landing .home-landing-cards .disclosure-hub-dash-card__stat-label,
.disclosure-reports-hub .home-landing-cards .disclosure-hub-dash-card__stat-label {
    color: var(--dash-home-color-text-muted);
    font-family: var(--dash-home-font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    opacity: 1;
    text-align: center;
    text-transform: uppercase;
}

.disclosure-hub-landing .home-landing-cards .disclosure-hub-dash-card__icon,
.disclosure-reports-hub .home-landing-cards .disclosure-hub-dash-card__icon {
    color: var(--dash-home-color-text-primary);
    font-size: 2.75rem;
    line-height: 1;
}

.disclosure-hub-landing .home-landing-cards .disclosure-hub-dash-card .gcx-metric-missing-data-badge,
.disclosure-reports-hub .home-landing-cards .disclosure-hub-dash-card .gcx-metric-missing-data-badge {
    font-size: 10px;
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

@media (max-width: 640px) {
    .disclosure-hub-landing .home-landing-cards .disclosure-hub-dash-card__stats,
    .disclosure-reports-hub .home-landing-cards .disclosure-hub-dash-card__stats {
        grid-template-columns: 1fr;
    }
}
