/* ── Becky's Related Posts Popup ────────────────────────────────────────── */

#brp-overlay {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: rgba(14, 14, 14, 0.97);
    padding: 24px 28px 20px;
    box-shadow: 0 -6px 40px rgba(0,0,0,0.5);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transform: translateY(100%);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
                opacity   0.42s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

#brp-overlay.brp-visible {
    display: block;
}
#brp-overlay.brp-animate {
    transform: translateY(0);
    opacity: 1;
}

/* ── Thin accent line across top ────────────────────────────────────────── */
#brp-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 0;
}

/* ── Header row ─────────────────────────────────────────────────────────── */
#brp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#brp-heading {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin: 0;
}

/* Subtle trigger label — tells user WHY this appeared */
#brp-trigger-label {
    font-size: 10px;
    color: #444;
    margin-left: 10px;
    font-style: italic;
    white-space: nowrap;
}

#brp-close {
    background: rgba(255,255,255,0.07);
    border: none;
    cursor: pointer;
    color: #bbb;
    font-size: 18px;
    line-height: 1;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}
#brp-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ── Cards grid ─────────────────────────────────────────────────────────── */
#brp-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    #brp-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    #brp-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    #brp-overlay { padding: 18px 14px 14px; }
    #brp-heading { font-size: 13px; }
}

/* ── Individual card ────────────────────────────────────────────────────── */
.brp-card {
    background: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.16s ease, background 0.16s ease;
    border: 1px solid rgba(255,255,255,0.06);
}
.brp-card:hover {
    transform: translateY(-3px);
    background: #242424;
    text-decoration: none !important;
}

.brp-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    background: #222;
}
.brp-thumb-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #222 0%, #2e2e2e 100%);
    font-size: 26px;
    color: #3a3a3a;
}

.brp-card-body {
    padding: 10px 11px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.brp-category {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
}

.brp-title {
    color: #efefef;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.brp-date {
    color: #444;
    font-size: 9px;
    margin-top: auto;
    padding-top: 4px;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
#brp-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
#brp-dismiss a {
    color: #3a3a3a;
    font-size: 10px;
    cursor: pointer;
    text-decoration: underline;
    transition: color 0.2s;
}
#brp-dismiss a:hover { color: #666; }

/* ════════════════════════════════════════════════════════════════════════
   BOOKING PROMPT
   ════════════════════════════════════════════════════════════════════════ */

#brp-booking {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    background: rgba(14, 14, 14, 0.97);
    padding: 22px 28px 18px;
    box-shadow: 0 -6px 40px rgba(0,0,0,0.5);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transform: translateY(100%);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
                opacity   0.42s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}
#brp-booking.brp-visible  { display: block; }
#brp-booking.brp-animate  { transform: translateY(0); opacity: 1; }

#brp-booking-topbar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}

/* Header */
#brp-booking-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
#brp-booking-heading {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
#brp-booking-close {
    background: rgba(255,255,255,0.07);
    border: none;
    cursor: pointer;
    color: #bbb;
    font-size: 18px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
#brp-booking-close:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* Sections layout — side by side when both hotels + experiences exist */
#brp-booking-sections {
    display: flex;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.brp-booking-section {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.brp-booking-section-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Buttons */
.brp-booking-btn {
    display: block;
    padding: 13px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    text-align: center;
    transition: transform 0.15s ease, filter 0.15s ease;
    cursor: pointer;
}
.brp-booking-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    text-decoration: none !important;
}

/* Hotel button */
.brp-booking-btn--hotel {
    background: #003b96;
    color: #ffffff !important;
}

/* Viator button */
.brp-booking-btn--viator {
    background: #0e8d70;
    color: #ffffff !important;
}

/* Footer disclaimer */
#brp-booking-footer {
    max-width: 1200px;
    margin: 12px auto 0;
}
#brp-booking-disclaimer {
    color: #383838;
    font-size: 10px;
    margin: 0;
    text-align: center;
}

@media (max-width: 640px) {
    #brp-booking { padding: 18px 14px 14px; }
    #brp-booking-sections { flex-direction: column; gap: 16px; }
    .brp-booking-btn { font-size: 13px; padding: 12px 16px; }
}
