﻿.dp-slot {
    width: min(100%, calc(var(--dp-slot-width, 1000) * 1px));
    max-width: calc(var(--dp-slot-width, 1000) * 1px);
    margin: clamp(20px, 4vw, 36px) auto;
}

.dp-slot__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.dp-slot__link--static {
    cursor: default;
}

.dp-slot__frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: var(--dp-slot-width, 728) / var(--dp-slot-height, 90);
    border-radius: 18px;
    border: 1px solid rgba(92, 217, 240, 0.16);
    background: rgba(9, 14, 31, 0.96);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.dp-slot__link:hover .dp-slot__frame,
.dp-slot__link:focus-visible .dp-slot__frame {
    border-color: rgba(92, 217, 240, 0.3);
    background: rgba(11, 18, 38, 0.98);
}

.dp-slot__link:focus-visible {
    outline: none;
}

.dp-slot__link:focus-visible .dp-slot__frame {
    box-shadow: 0 0 0 2px rgba(92, 217, 240, 0.18);
}

.dp-slot.dp-slot--glow-blue .dp-slot__frame {
    border-color: rgba(48, 173, 255, 0.95);
    box-shadow: 0 0 0 1px rgba(48, 173, 255, 0.45), 0 0 22px rgba(48, 173, 255, 0.75);
}

.dp-slot.dp-slot--glow-blue .dp-slot__frame--live,
.dp-slot.dp-slot--glow-blue .dp-slot__frame--preview,
.dp-slot.dp-slot--glow-blue.dp-slot--live .dp-slot__frame {
    background: rgba(7, 14, 31, 0.98);
}

.dp-slot.dp-slot--glow-blue.dp-slot--teal .dp-slot__frame,
.dp-slot.dp-slot--glow-blue.dp-slot--amber .dp-slot__frame,
.dp-slot.dp-slot--glow-blue.dp-slot--copper .dp-slot__frame,
.dp-slot.dp-slot--glow-blue.dp-slot--violet .dp-slot__frame {
    border-color: rgba(48, 173, 255, 0.95);
}

.dp-slot.dp-slot--glow-blue .dp-slot__link:hover .dp-slot__frame,
.dp-slot.dp-slot--glow-blue .dp-slot__link:focus-visible .dp-slot__frame,
.dp-slot.dp-slot--glow-blue .dp-slot__frame:hover {
    border-color: rgba(84, 197, 255, 1);
    box-shadow: 0 0 0 1px rgba(84, 197, 255, 0.55), 0 0 28px rgba(48, 173, 255, 0.95);
}

.dp-slot--billboard {
    max-width: 970px;
}

.dp-slot--panorama {
    width: min(100%, 1200px);
    max-width: 1200px;
}

.dp-slot--leaderboard {
    max-width: 728px;
}

.dp-slot--rectangle {
    max-width: 320px;
}

.dp-slot--skyscraper {
    max-width: 300px;
}

.dp-slot--custom {
    max-width: calc(var(--dp-slot-width, 1000) * 1px);
}

.dp-slot--live .dp-slot__frame {
    padding: 0;
    min-height: 100%;
    background: rgba(3, 8, 20, 0.94);
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.dp-slot__frame--live {
    position: relative;
    height: auto;
    min-height: 0;
}

.dp-slot__frame--preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 2vw, 18px);
    background: rgba(9, 14, 31, 0.96);
}

.dp-slot__placeholder-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.dp-slot__placeholder-id {
    color: #f7fbff;
    font-size: clamp(0.72rem, 1.1vw, 0.94rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.dp-slot__placeholder-price {
    display: none !important;
}

.dp-slot--billboard .dp-slot__placeholder-copy,
.dp-slot--panorama .dp-slot__placeholder-copy,
.dp-slot--leaderboard .dp-slot__placeholder-copy {
    flex-direction: row;
    gap: clamp(8px, 1.2vw, 16px);
    width: 100%;
    max-width: 100%;
}

.dp-slot--billboard .dp-slot__placeholder-id,
.dp-slot--panorama .dp-slot__placeholder-id,
.dp-slot--leaderboard .dp-slot__placeholder-id {
    font-size: clamp(0.68rem, 0.85vw, 0.88rem);
}

.dp-slot--skyscraper .dp-slot__placeholder-copy {
    width: 100%;
}

.dp-slot__creative {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
}

.dp-slot--skyscraper .dp-slot__frame--live {
    height: 100%;
}

.dp-slot--skyscraper .dp-slot__creative {
    height: 100%;
    object-fit: cover;
}


.dp-slot--teal .dp-slot__frame {
    border-color: rgba(92, 217, 240, 0.14);
}

.dp-slot--amber .dp-slot__frame {
    border-color: rgba(92, 217, 240, 0.14);
}

.dp-slot--copper .dp-slot__frame {
    border-color: rgba(92, 217, 240, 0.14);
}

.dp-slot--violet .dp-slot__frame {
    border-color: rgba(92, 217, 240, 0.14);
}

.blog-content .dp-slot,
.blog-post .dp-slot {
    margin: 2rem auto;
}

@media (max-width: 900px) {
}

@media (max-width: 640px) {
    .dp-slot {
        width: 100%;
    }
}
