/* ============================================================
   Home - page stylesheet
   Only what this page uses. Anything shared with another page
   stays in /Shared/assets/css/site.css.
   ============================================================ */

.page-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.6rem;
}

/* Over the hero photo */
.btn-ghost {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
}

.btn-ghost:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--dbc-navy);
}

/* ============================================================
   IMAGE BLURBS  (home pillars)
   ============================================================ */
.blurb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
}

.blurb {
    display: flex;
    flex-direction: column;
    background: var(--dbc-white);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blurb:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(31, 45, 61, 0.12);
}

.blurb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.blurb-body {
    padding: 26px 26px 32px;
}

.blurb-title {
    color: var(--dbc-navy);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    margin: 0 0 0.8rem;
}

.blurb-text {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.8;
    color: var(--dbc-body);
    margin: 0;
}

/* ============================================================
   STATS  (Our Group at a Glance)
   ============================================================ */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.stat-number {
    color: var(--dbc-navy);
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.7;
    color: var(--dbc-body);
}

.stat-footnote {
    font-size: 0.66rem;
    letter-spacing: 0.02em;
    color: var(--dbc-muted);
    text-align: center;
    margin: 2.6rem 0 0;
}

/* ============================================================
   LOGO STRIP  (partnerships and associations - full colour)
   ============================================================ */
.logo-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
}

.logo-strip-item {
    width: 11rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-strip-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.embed-market { height: 460px; background: #ffffff; }

@media (max-width: 900px) {
.blurb-grid { grid-template-columns: 1fr; gap: 24px; }
.stat-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
}

@media (max-width: 600px) {
.stat-grid { grid-template-columns: 1fr; }
.logo-strip { gap: 2rem; }
.logo-strip-item { width: 8.5rem; height: 4rem; }
}

/* ============================================================
   PAGE-SPECIFIC BLOCKS
   ============================================================ */

/* Home - Our Group at a Glance sits on the firm background texture */
.glance-section {
    background-color: var(--dbc-tint);
    background-image: url('/Home/Media/GlanceBackground.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Home - Market Indicator */
.market-underline {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.market-embed {
    margin-top: 2.6rem;
    border: 1px solid var(--dbc-rule);
    background: var(--dbc-white);
}

@media (max-width: 900px) {
.glance-section { background-attachment: scroll; }
}
