/* ================================================================
   LPB Ad Zones & Monetisation Components
   Brand: #d2591f orange | #DDF247 lime | #161616 dark
   ================================================================ */

/* ── Ad Zone Base ── */
.lpb-ad-zone {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lpb-ad-zone__label {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    background: #161616;
    padding: 2px 10px;
    border-radius: 2px;
    white-space: nowrap;
    pointer-events: none;
}

/* ── Shared "Advertise Here" Placeholder ── */
.lpb-ad-placeholder {
    width: 100%;
    background: linear-gradient(135deg, #181008 0%, #1a1a1a 100%);
    border: 1px dashed rgba(210, 89, 31, 0.35);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: border-color 0.25s, background 0.25s;
    padding: 20px 24px;
    min-height: 90px;
    cursor: pointer;
}

.lpb-ad-placeholder:hover {
    border-color: #d2591f;
    background: linear-gradient(135deg, #1f1006 0%, #1e1e1e 100%);
}

.lpb-ad-placeholder__eyebrow {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d2591f;
    font-weight: 700;
    line-height: 1;
}

.lpb-ad-placeholder__headline {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
}

.lpb-ad-placeholder__sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    text-align: center;
}

.lpb-ad-placeholder__cta {
    margin-top: 6px;
    padding: 7px 20px;
    background: linear-gradient(135deg, #d2591f 0%, #ff7b3d 100%);
    color: #fff !important;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: opacity 0.2s;
}

.lpb-ad-placeholder__cta:hover {
    opacity: 0.9;
    color: #fff !important;
}

/* Actual ad content wrapper (when an ad is live) */
.lpb-ad-live {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* ── Leaderboard Ad (listing pages, above grid) ── */
.lpb-ad-leaderboard {
    padding: 10px 0 24px;
}

.lpb-ad-leaderboard .lpb-ad-placeholder {
    max-width: 100%;
    min-height: 100px;
}

/* ── Mid-Rail Ad (single venue page) ── */
.lpb-ad-midrail {
    padding: 24px 0;
}

.lpb-ad-midrail .lpb-ad-placeholder {
    max-width: 560px;
    min-height: 80px;
    margin: 0 auto;
}

/* ── Pre-Footer Ad ── */
.lpb-ad-prefooter {
    padding: 28px 0;
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.lpb-ad-prefooter .lpb-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lpb-ad-prefooter .lpb-ad-placeholder {
    max-width: 970px;
    min-height: 90px;
}

/* ── Sponsored Venue Card ── */
.lpb-sponsored-wrap {
    position: relative;
}

.lpb-sponsored-wrap .tf-card-article {
    border: 1px solid rgba(210, 89, 31, 0.4) !important;
    background: linear-gradient(160deg, #1d1108 0%, #1a1a1a 100%) !important;
    outline: none;
}

.lpb-sponsored-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    background: linear-gradient(135deg, #d2591f 0%, #ff7b3d 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 3px 9px;
    border-radius: 3px;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(210, 89, 31, 0.45);
}

/* Sponsored "Advertise Here" card */
.lpb-sponsored-placeholder {
    background: linear-gradient(160deg, #181008 0%, #1a1a1a 100%);
    border: 1px dashed rgba(210, 89, 31, 0.3);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    padding: 32px 20px;
    gap: 8px;
    min-height: 260px;
    transition: border-color 0.25s, background 0.25s;
    width: 100%;
}

.lpb-sponsored-placeholder:hover {
    border-color: #d2591f;
    background: linear-gradient(160deg, #1f1006 0%, #1e1e1e 100%);
}

.lpb-sponsored-placeholder__badge {
    background: rgba(210, 89, 31, 0.15);
    color: #d2591f;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 3px 10px;
    border-radius: 3px;
}

.lpb-sponsored-placeholder__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 4px 0 0;
}

.lpb-sponsored-placeholder__sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
}

.lpb-sponsored-placeholder__cta {
    margin-top: 6px;
    padding: 8px 20px;
    background: linear-gradient(135deg, #d2591f 0%, #ff7b3d 100%);
    color: #fff !important;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Featured Venues Strip ── */
.lpb-featured-strip {
    padding: 30px 0 20px;
}

.lpb-featured-strip__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.lpb-featured-strip__title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.2px;
}

.lpb-featured-strip__pill {
    background: linear-gradient(135deg, #d2591f 0%, #ff7b3d 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 3px 10px;
    border-radius: 20px;
}

.lpb-featured-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

@media (max-width: 991px) {
    .lpb-featured-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .lpb-featured-cards {
        grid-template-columns: 1fr;
    }
}

.lpb-featured-card {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(210, 89, 31, 0.3);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.lpb-featured-card:hover {
    border-color: #d2591f;
    transform: translateY(-2px);
    text-decoration: none;
}

.lpb-featured-card__img {
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.lpb-featured-card__img-placeholder {
    width: 100px;
    min-width: 100px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lpb-featured-card__img-placeholder i {
    font-size: 28px;
    color: #d2591f;
    opacity: 0.5;
}

.lpb-featured-card__body {
    padding: 14px 16px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}

.lpb-featured-card__badge {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #DDF247;
}

.lpb-featured-card__name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lpb-featured-card__meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
}

.lpb-featured-card__meta i {
    font-size: 10px;
    color: #d2591f;
}

.lpb-featured-card__arrow {
    position: absolute;
    bottom: 10px;
    right: 12px;
    color: rgba(210, 89, 31, 0.6);
    font-size: 14px;
    transition: color 0.2s;
}

.lpb-featured-card:hover .lpb-featured-card__arrow {
    color: #d2591f;
}

/* Featured card "Add yours" placeholder (admin only) */
.lpb-featured-card--placeholder {
    border-style: dashed;
    border-color: rgba(210, 89, 31, 0.2);
    background: transparent;
    min-height: 72px;
    align-items: center;
    justify-content: center;
}

.lpb-featured-card--placeholder .lpb-featured-card__body {
    align-items: center;
    text-align: center;
}

/* ── Newsletter Strip ── */
.lpb-newsletter-strip {
    background: linear-gradient(135deg, #150b03 0%, #1a1a1a 50%, #0e1600 100%);
    border-top: 1px solid rgba(210, 89, 31, 0.18);
    border-bottom: 1px solid rgba(221, 242, 71, 0.12);
    padding: 52px 0;
    text-align: center;
}

.lpb-newsletter-strip__eyebrow {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #DDF247;
    margin-bottom: 10px;
}

.lpb-newsletter-strip__title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.25;
}

.lpb-newsletter-strip__sub {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 28px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.lpb-newsletter-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.lpb-newsletter-form__input {
    flex: 1;
    min-width: 200px;
    padding: 13px 18px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    font-family: inherit;
}

.lpb-newsletter-form__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.lpb-newsletter-form__input:focus {
    border-color: #d2591f;
    background: rgba(255, 255, 255, 0.09);
}

.lpb-newsletter-form__btn {
    padding: 13px 26px;
    background: linear-gradient(135deg, #d2591f 0%, #ff7b3d 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s, transform 0.15s;
    white-space: nowrap;
    font-family: inherit;
}

.lpb-newsletter-form__btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.lpb-newsletter-form__btn:active {
    transform: translateY(0);
}

.lpb-newsletter-strip__disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 14px;
}

.lpb-newsletter-success {
    display: none;
    color: #DDF247;
    font-weight: 600;
    font-size: 15px;
    margin-top: 10px;
    animation: fadeInUp 0.4s ease;
}

.lpb-newsletter-error {
    display: none;
    color: #ff6b6b;
    font-size: 13px;
    margin-top: 8px;
}

@media (max-width: 575px) {
    .lpb-newsletter-strip__title {
        font-size: 20px;
    }

    .lpb-newsletter-form {
        flex-direction: column;
        padding: 0 16px;
    }

    .lpb-newsletter-form__btn {
        width: 100%;
    }
}
