
/* ==========================================
   TEAMVIBE — UNIFIED SPONSORED BANNERS
========================================== */

.tv-sponsored-section {
    --tv-sponsored-orange: #f47720;
    --tv-sponsored-dark: #142650;
    --tv-sponsored-border: #f4d6c4;
}

/* SECTION */
.tv-sponsored-section {
    padding: 20px 0 28px;
    background: #fff;
}

/* MAIN BANNER */
.tv-sponsored-section .tv-sponsored-banner {
    display: grid !important;
    grid-template-columns: 48% minmax(0, 1fr) !important;
    align-items: stretch !important;

    width: 100%;
    min-height: 320px;

    border: 1px solid var(--tv-sponsored-border);
    border-radius: 18px;
    background: #fff;

    overflow: hidden;

    box-shadow: 0 7px 20px rgba(35, 26, 19, .05);
    transition: box-shadow .25s ease, transform .25s ease;
}

.tv-sponsored-section .tv-sponsored-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(35, 26, 19, .09);
}

/* ==========================================
   IMAGE
========================================== */

.tv-sponsored-section .tv-sponsored-media {
    display: block;
    position: relative;

    width: 100%;
    height: 100%;
    min-height: 320px;

    overflow: hidden;
    background: #f6f1ed;
}

.tv-sponsored-section .tv-sponsored-media img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 320px;

    object-fit: cover;
    object-position: center;

    transition: transform .35s ease;
}

.tv-sponsored-section .tv-sponsored-banner:hover
.tv-sponsored-media img {
    transform: scale(1.035);
}

/* ==========================================
   RIGHT CONTENT
========================================== */

.tv-sponsored-section .tv-sponsored-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    min-width: 0;
    padding: 20px 24px !important;
    gap: 0 !important;
}

/* CATEGORY */
.tv-sponsored-section .tv-sponsored-category {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;

    margin-bottom: 7px;

    color: #ef631e;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tv-sponsored-category i {
    font-size: 12px;
}

/* TITLE */
.tv-sponsored-section .tv-sponsored-title {
    margin: 0 0 8px !important;

    font-size: clamp(18px, 1.5vw, 23px) !important;
    line-height: 1.25 !important;
    font-weight: 850;

    color: var(--tv-sponsored-dark);
    letter-spacing: -.025em;
}

.tv-sponsored-title a {
    color: inherit;
    text-decoration: none;
}

.tv-sponsored-title a:hover {
    color: var(--tv-sponsored-orange);
}

/* DESCRIPTION */
.tv-sponsored-section .tv-sponsored-description {
    margin: 0 0 15px !important;

    font-size: 12px !important;
    line-height: 1.55 !important;
    color: #647085;

    max-width: none !important;
}

/* ==========================================
   PRICE + DURATION
========================================== */

.tv-sponsored-section .tv-sponsored-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap;

    gap: 10px !important;
    width: 100%;

    margin-top: auto;
    margin-bottom: 12px;

    font-size: 12px;
}

.tv-sponsored-price {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
}

.tv-sponsored-price strong {
    color: #142650;
    font-size: 14px;
    font-weight: 850;
}

.tv-sponsored-price span {
    color: #7b8798;
    font-size: 12px;
}

.tv-sponsored-duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    font-size: 12px;
    color: #142650;
}

.tv-sponsored-duration i {
    color: var(--tv-sponsored-orange);
}

.tv-sponsored-duration strong {
    font-weight: 750;
}

/* ==========================================
   MIN / MAX CAPACITY
========================================== */

.tv-sponsored-section .tv-sponsored-capacity {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    align-items: center !important;

    width: 100%;
    padding: 9px 12px;

    margin-bottom: 12px;

    background: #fff5ee;
    border-radius: 9px;
    box-sizing: border-box;
}

.tv-sponsored-capacity > span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tv-sponsored-capacity > span + span {
    border-left: 1px solid #efd9ca;
    padding-left: 15px;
}

.tv-sponsored-capacity small {
    color: #b18c7d;
    font-size: 9px;
    line-height: 1;
}

.tv-sponsored-capacity strong {
    color: #142650;
    font-size: 11px;
    font-weight: 800;
}

/* ==========================================
   REQUEST QUOTE + CALL + WHATSAPP
========================================== */

.tv-sponsored-section .tv-sponsored-actions {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;

    width: 100%;
    margin-bottom: 12px;
}

.tv-sponsored-quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    flex: 1;
    min-width: 0;
    min-height: 36px;

    padding: 8px 14px;

    border: 1px solid #f47720;
    border-radius: 30px;

    color: #ef631e;
    background: #fff;

    font-size: 11px;
    font-weight: 800;
    text-decoration: none;

    transition: .2s ease;
}

.tv-sponsored-quote:hover {
    color: #fff;
    background: #f47720;
}

.tv-sponsored-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 36px;
    width: 36px;
    height: 36px;

    border: 1px solid #f6c6a9;
    border-radius: 50%;

    color: #f47720;
    background: #fff5ee;

    font-size: 13px;
    text-decoration: none;

    transition: .2s ease;
}

.tv-sponsored-contact:hover {
    color: #fff;
    background: #f47720;
    border-color: #f47720;
}

.tv-sponsored-contact.is-whatsapp {
    color: #13b557;
    background: #eafbf0;
    border-color: #b7ebca;
}

.tv-sponsored-contact.is-whatsapp:hover {
    color: #fff;
    background: #22c55e;
    border-color: #22c55e;
}

/* ==========================================
   LOCATION — BOTTOM ROW
========================================== */

.tv-sponsored-section .tv-sponsored-location {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;

    width: 100%;

    padding-top: 10px;
    border-top: 1px solid #f4e1d5;

    color: #647085;
    font-size: 12px;
    font-weight: 600;
}

.tv-sponsored-location i {
    color: #f47720;
    font-size: 13px;
}

/* ==========================================
   SPONSORED DISCLOSURE
========================================== */

.tv-sponsored-section .pl-sponsored-disclosure {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;

    margin-top: 9px;

    color: #9aa3b1;
    font-size: 11px;
}

.tv-sponsored-section .pl-sponsored-disclosure a {
    color: #8995a5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tv-sponsored-section .pl-sponsored-disclosure a:hover {
    color: #f47720;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .tv-sponsored-section .tv-sponsored-banner {
        grid-template-columns: 44% minmax(0, 1fr) !important;
    }

    .tv-sponsored-section .tv-sponsored-copy {
        padding: 16px !important;
    }

    .tv-sponsored-section .tv-sponsored-title {
        font-size: 19px !important;
    }

    .tv-sponsored-section .tv-sponsored-price-row {
        margin-top: 8px;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .tv-sponsored-section .tv-sponsored-banner {
        display: flex !important;
        flex-direction: column !important;

        min-height: 0;
        border-radius: 14px;
    }

    .tv-sponsored-section .tv-sponsored-media {
        width: 100%;
        height: 230px !important;
        min-height: 230px !important;
    }

    .tv-sponsored-section .tv-sponsored-media img {
        width: 100%;
        height: 100% !important;
        min-height: 0 !important;
    }

    .tv-sponsored-section .tv-sponsored-copy {
        padding: 16px !important;
    }

    .tv-sponsored-section .tv-sponsored-title {
        font-size: 19px !important;
    }

    .tv-sponsored-section .tv-sponsored-description {
        margin-bottom: 14px !important;
    }

    .tv-sponsored-section .tv-sponsored-price-row {
        margin-top: 0;
    }
}

@media (max-width: 400px) {

    .tv-sponsored-section .tv-sponsored-media {
        height: 200px !important;
        min-height: 200px !important;
    }

    .tv-sponsored-section .tv-sponsored-actions {
        gap: 7px !important;
    }

    .tv-sponsored-quote {
        padding: 7px 9px;
        font-size: 10px;
    }

    .tv-sponsored-contact {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }
}



/* All four sponsored actions */
.tv-sponsored-section .tv-sponsored-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

/* Preserve existing View Activity button */
.tv-sponsored-section .tv-sponsored-view {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 38px;
    padding: 9px 15px;

    border-radius: 999px;
    border: 1px solid #f47720;
    background: #f47720;
    color: #fff;

    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;

    transition: background .2s ease;
}

.tv-sponsored-section .tv-sponsored-view:hover {
    background: #dc5914;
    color: #fff;
}

@media (max-width: 575px) {
    .tv-sponsored-section .tv-sponsored-actions {
        gap: 8px;
    }

    .tv-sponsored-section .tv-sponsored-quote,
    .tv-sponsored-section .tv-sponsored-view {
        flex: 1 1 auto;
    }
}



/* Sponsored banners — action row spacing */
.tv-sponsored-section .tv-sponsored-actions {
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    gap: 9px !important;
}

/* Keep buttons vertically centered */
.tv-sponsored-section .tv-sponsored-actions > a {
    align-self: center;
}

/* Location spacing */
.tv-sponsored-section .tv-sponsored-location {
    margin-top: 4px !important;
    margin-bottom: 4px !important;
}

/* Mobile */
@media (max-width: 575px) {
    .tv-sponsored-section .tv-sponsored-actions {
        margin-top: 10px !important;
        margin-bottom: 10px !important;
    }
}
