/* BluSup Headline Section V1 - scoped, additive, public home page only */
.bs-headlines {
    position: relative;
    isolation: isolate;
    max-width: 1180px;
    margin: 1.05rem auto 1.4rem;
    padding: 0 1rem;
    color: #f7fbff;
}

.bs-headlines * { box-sizing: border-box; }

.bs-headlines__glow {
    position: absolute;
    inset: 0.5rem 1.5rem auto auto;
    width: min(22rem, 58vw);
    height: 10rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 188, 94, 0.35), transparent 67%);
    filter: blur(8px);
    opacity: 0.92;
    z-index: -1;
    pointer-events: none;
}

.bs-headlines__inner {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    padding: clamp(1rem, 2.4vw, 1.55rem);
    background:
        radial-gradient(circle at top left, rgba(87, 204, 255, 0.22), transparent 42%),
        linear-gradient(135deg, rgba(13, 32, 49, 0.96), rgba(10, 64, 83, 0.9));
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
    overflow: hidden;
}

.bs-headlines__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
    gap: 1rem;
    align-items: end;
}

.bs-headlines__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.45rem;
    color: #ffe1a6;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.bs-headlines__kicker::before {
    content: "";
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: #ffb14a;
    box-shadow: 0 0 0 6px rgba(255, 177, 74, 0.12);
}

.bs-headlines h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.75rem, 4.6vw, 3.15rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.bs-headlines__lede {
    max-width: 54rem;
    margin: 0.78rem 0 0;
    color: rgba(247, 251, 255, 0.83);
    font-size: clamp(1rem, 2vw, 1.14rem);
    line-height: 1.45;
}

.bs-headlines__note {
    display: grid;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 0.92rem;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bs-headlines__note strong {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.18;
}

.bs-headlines__note span {
    color: rgba(247, 251, 255, 0.78);
    font-size: 0.94rem;
    line-height: 1.38;
}

.bs-headlines__ticker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.62rem;
    align-items: center;
    margin: 1rem 0 0;
    padding: 0.75rem 0.88rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.92rem;
}

.bs-headlines__ticker span {
    color: #ffe1a6;
    font-weight: 900;
}

.bs-headlines__ticker a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
}

.bs-headlines__ticker a:hover,
.bs-headlines__ticker a:focus,
.bs-headline-card__link:hover,
.bs-headline-card__link:focus {
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.bs-headlines__ticker b { color: rgba(255, 255, 255, 0.36); }

.bs-headlines__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.82rem;
    margin-top: 0.95rem;
}

.bs-headline-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 22px;
    padding: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.07)),
        rgba(0, 0, 0, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.bs-headline-card--hot { --bs-headline-accent: #ff9b53; }
.bs-headline-card--blue { --bs-headline-accent: #76ddff; }
.bs-headline-card--gold { --bs-headline-accent: #ffe083; }
.bs-headline-card--green { --bs-headline-accent: #8df0b7; }

.bs-headline-card__topline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.72rem;
}

.bs-headline-card__topline span {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.34rem 0.58rem;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bs-headline-card__topline small {
    color: var(--bs-headline-accent);
    font-size: 0.74rem;
    font-weight: 900;
    text-align: right;
}

.bs-headline-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.16rem;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.bs-headline-card p {
    flex: 1 1 auto;
    margin: 0.62rem 0 1rem;
    color: rgba(247, 251, 255, 0.8);
    font-size: 0.94rem;
    line-height: 1.42;
}

.bs-headline-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    align-self: flex-start;
    border: 0;
    border-radius: 999px;
    padding: 0.78rem 0.95rem;
    color: #102436;
    background: var(--bs-headline-accent);
    font: inherit;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

@media (max-width: 980px) {
    .bs-headlines__intro { grid-template-columns: 1fr; }
    .bs-headlines__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
    .bs-headlines {
        padding: 0 0.72rem;
        margin-top: 0.85rem;
    }

    .bs-headlines__inner {
        border-radius: 22px;
        padding: 0.9rem;
    }

    .bs-headlines__grid { grid-template-columns: 1fr; }
    .bs-headline-card__link { width: 100%; }
}

/* Front Porch V2 - dual project actions and clearer current-milestone behavior */
.bs-headline-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.58rem;
    align-items: center;
}

.bs-headline-card__link--secondary {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.bs-headline-card__link--secondary:hover,
.bs-headline-card__link--secondary:focus {
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 620px) {
    .bs-headline-card__actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }
}
