/* WooCommerce Brand Lines — Line Archive Frontend */

/* ---- Wrapper ---- */
.wcbl-line-header {
    margin-bottom: 2.5em;
    width: 100%;
}

/* ---- Hero ---- */
.wcbl-line-header__hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}

.wcbl-line-header__hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.18) 55%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px 48px;
}

.wcbl-line-header__title {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.wcbl-line-header__title--no-image {
    color: inherit;
    text-shadow: none;
    font-size: 2em;
    margin-bottom: 0.75em;
}

/* ---- Body: brands + description ---- */
.wcbl-line-header__body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2em;
    padding: 1.75em 0 0.5em;
    border-top: 2px solid #f0f0f0;
    margin-top: 1.5em;
}

/* ---- Brand pills ---- */
.wcbl-line-header__brands {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wcbl-brand-pill {
    display: inline-block;
    padding: 6px 18px;
    border: 1.5px solid currentColor;
    border-radius: 24px;
    font-size: 0.78em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.wcbl-brand-pill:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

/* ---- Description ---- */
.wcbl-line-header__desc {
    flex: 1;
    font-size: 0.97em;
    line-height: 1.75;
    color: #555;
}

.wcbl-line-header__desc p:last-child {
    margin-bottom: 0;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .wcbl-line-header__hero {
        min-height: 35svh !important;
        border-radius: 6px;
    }
    .wcbl-line-header__hero-overlay {
        padding: 24px;
        background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    }
    .wcbl-line-header__title {
        font-size: 1.6em;
    }
    .wcbl-line-header__body {
        flex-direction: column;
        gap: 1em;
    }
}
