/* =============================================================
   Turbo H&F Builder — Recommendation Notice Board
   ============================================================= */

#hfb-turbo-notice {
    padding: 0 !important;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15, 22, 70, .12);
    margin: 16px 0 24px;
    cursor: default;
    width: 100%;
    max-width: 98%;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .06);
}

#hfb-turbo-notice .notice-dismiss {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 12px 24px rgba(0, 0, 0, .15);
}

#hfb-turbo-notice .notice-dismiss::before {
    color: #ffffff !important;
    font-size: 14px;
}

#hfb-turbo-notice .notice-dismiss:hover {
    background: rgba(255, 255, 255, .08);
}

/* ── Main wrapper ─────────────────────────────────────────── */
.hfb-notice-inner {
    display: flex;
    align-items: center;
    justify-content: stretch;
    background: linear-gradient(135deg, #1b2860 0%, #253a8b 45%, #243c94 100%);
    border-radius: 18px;
    overflow: hidden;
    min-height: 240px ;
    /* max-height: 250px; */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ── Accent stripe ────────────────────────────────────────── */
.hfb-notice-stripe {
    width: 8px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #ffb059, #ff6b29);
}

/* ── Body ─────────────────────────────────────────────────── */
.hfb-notice-body {
    flex: 1;
    min-width: 0;
    padding: 24px 24px 24px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.hfb-notice-heading {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.1;
    max-width: 100%;
}

.hfb-notice-headline {
    margin: 0;
    font-size: 16px;
    color: #e8ebff !important;
    line-height: 1.7;
    max-width: 42rem;
}

.hfb-notice-headline .hfb-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, .12);
    color: #ffe08e;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 999px;
}

.hfb-notice-features {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    color: #f5f7ff;
    font-size: 15px;
    line-height: 1.8;
    list-style: none;
}

.hfb-notice-features li {
    margin: 0;
    padding-left: 0;
}

.hfb-notice-subtitle_text{
    margin: 0;
    font-size: 16px !important;
    color: #fff !important;
    max-width: 30rem;
    line-height: 1.8;
}

.hfb-highlight-text {
    display: inline-flex;
    align-items: center;
    color: #ffe07a;
    font-weight: 700;
    background: rgba(255, 255, 255, .08);
    padding: 2px 8px;
    border-radius: 999px;
    margin: 0 2px;
    white-space: nowrap;
}

.hfb-highlight-nowrap {
    white-space: nowrap;
}

/* ── Action buttons ───────────────────────────────────────── */
.hfb-notice-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.hfb-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    background: linear-gradient(135deg, #ff8b1f, #ff5d22);
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 18px 50px rgba(255, 93, 34, .22);
    white-space: nowrap;
}

.hfb-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 60px rgba(255, 93, 34, .26);
    background: linear-gradient(135deg, #ff9939, #ff6d32);
}

.hfb-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: rgba(255, 255, 255, .08);
    color: #f7f8fb !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, .18);
    transition: background .18s ease, border-color .18s ease;
    white-space: nowrap;
}

.hfb-btn-secondary:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .3);
}

/* ── Right image ──────────────────────────────────────────── */
.hfb-notice-image {
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, .04);
}

.hfb-notice-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hfb-notice-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), transparent 55%);
    z-index: 0;
    pointer-events: none;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hfb-notice-image {
        width: 300px;
        min-width: 300px;
    }
     .hfb-notice-inner {
      min-height: 300px;
      max-height: 400px;
     }
}

@media (max-width: 860px) {
    .hfb-notice-inner {
        flex-direction: column;
    }

    .hfb-notice-image {
        width: 100%;
        min-width: auto;
        height: 200px;
    }

    .hfb-notice-body {
        padding: 22px 20px;
    }
    .hfb-notice-inner {
    min-height: 300px;
    max-height: 400px;
    }
}

@media (max-width: 600px) {
    .hfb-notice-body {
        padding: 20px 16px;
        gap: 12px;
    }

    .hfb-notice-heading {
        font-size: 18px;
        max-width: 100%;
    }

    .hfb-btn-primary,
    .hfb-btn-secondary {
        width: 100%;
        justify-content: center;
    }
}
