/* TOURNIVOX - sponsor ads (assets/ads/ads.js) */
.tvx-ad-slot[hidden] { display: none; }
.tvx-ad {
    position: relative;
    margin: 18px 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0708;
}
.tvx-ad-tag {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    padding: 2px 7px;
    background: rgba(0, 0, 0, 0.6);
    color: #d8cfcb;
    font: 800 9px/1.4 Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
}
/* All ads of a place sit in the same spot (the slot keeps the tallest height, so nothing jumps).
   Switching: the old one slides out to the left and fades, the next slides in from the right. */
.tvx-ad-stack { display: grid; }
.tvx-ad-item {
    grid-area: 1 / 1;
    opacity: 0;
    transform: translateX(6%);
    visibility: hidden;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.7s;
}
.tvx-ad-item.is-on { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; z-index: 1; }
.tvx-ad-item.is-out { transform: translateX(-6%); }
/* Dots: which ad is showing; click one to jump to it */
.tvx-ad-dots { position: absolute; left: 50%; bottom: 6px; z-index: 3; display: flex; gap: 6px; transform: translateX(-50%); }
.tvx-ad-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.45); cursor: pointer; transition: width 0.3s, background 0.3s; }
.tvx-ad-dots button.is-on { width: 22px; border-radius: 4px; background: #f3b61f; }
.tvx-ad-item a { display: block; }
.tvx-ad-item img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: cover; }
/* Video ad card (Watch page): 16:9, muted until the speaker is pressed */
.tvx-ad.is-video-slot { max-width: 520px; }
.tvx-ad-item.is-video { position: relative; }
.tvx-ad-item video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.tvx-ad-sound {
    position: absolute;
    left: 8px;
    bottom: 8px;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    font-size: 15px;
    cursor: pointer;
}
@media (prefers-reduced-motion: reduce) { .tvx-ad-item, .tvx-ad-item.is-out { transform: none; transition: opacity 0.2s, visibility 0s linear 0.2s; } }

/* Homepage partners section: only "SPONSORED BY", the sponsor video and Visit website, centred.
   Hidden while Ads mode is OFF or there is no partner video. */
.tvx-partners-section { padding: 56px 0; background: #0b0708; border-top: 1px solid rgba(243, 182, 31, 0.18); }
.tvx-partners-section[hidden] { display: none; }
.tvx-partners-wrap { position: relative; width: min(calc(100% - 40px), 760px); margin-inline: auto; text-align: center; }
.tvx-partners-head { margin-bottom: 16px; }
.tvx-partner-kicker { color: #a39995; font: 800 12px/1.2 Arial, sans-serif; letter-spacing: 3px; text-transform: uppercase; }
.tvx-partner { display: grid; justify-items: center; gap: 16px; }
.tvx-partner-video { position: relative; width: 100%; }
.tvx-partner-video video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; border: 1px solid rgba(255, 255, 255, 0.08); }
.tvx-partner-cta {
    width: max-content;
    padding: 10px 20px;
    border: 1px solid #f3b61f;
    color: #ffd45a;
    font: 800 12px/1.2 Arial, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.tvx-partner-cta:hover, .tvx-partner-cta:focus-visible { background: #f3b61f; color: #160e00; outline: none; }
.tvx-partners-wrap .tvx-ad-dots { position: static; transform: none; justify-content: center; margin-top: 16px; }
@media (max-width: 560px) { .tvx-partners-section { padding: 40px 0; } }
