.ad-slot {
    width: min(100%, 1000px);
    margin: clamp(20px, 4vw, 36px) auto;
}

.ad-slot__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ad-slot__link--static {
    cursor: default;
}

.ad-slot__frame {
    position: relative;
    overflow: hidden;
    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;
}

.ad-slot__link:hover .ad-slot__frame,
.ad-slot__link:focus-visible .ad-slot__frame {
    border-color: rgba(92, 217, 240, 0.3);
    background: rgba(11, 18, 38, 0.98);
}

.ad-slot__link:focus-visible {
    outline: none;
}

.ad-slot__link:focus-visible .ad-slot__frame {
    box-shadow: 0 0 0 2px rgba(92, 217, 240, 0.18);
}

.ad-slot.ad-slot--glow-blue .ad-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);
}

.ad-slot.ad-slot--glow-blue .ad-slot__frame--live,
.ad-slot.ad-slot--glow-blue .ad-slot__frame--preview,
.ad-slot.ad-slot--glow-blue.ad-slot--live .ad-slot__frame {
    background: rgba(7, 14, 31, 0.98);
}

.ad-slot.ad-slot--glow-blue.ad-slot--teal .ad-slot__frame,
.ad-slot.ad-slot--glow-blue.ad-slot--amber .ad-slot__frame,
.ad-slot.ad-slot--glow-blue.ad-slot--copper .ad-slot__frame,
.ad-slot.ad-slot--glow-blue.ad-slot--violet .ad-slot__frame {
    border-color: rgba(48, 173, 255, 0.95);
}

.ad-slot.ad-slot--glow-blue .ad-slot__link:hover .ad-slot__frame,
.ad-slot.ad-slot--glow-blue .ad-slot__link:focus-visible .ad-slot__frame,
.ad-slot.ad-slot--glow-blue .ad-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);
}

.ad-slot--billboard {
    max-width: 970px;
}

.ad-slot--panorama {
    width: min(100%, 1200px);
    max-width: 1200px;
}

.ad-slot--leaderboard {
    max-width: 728px;
}

.ad-slot--rectangle {
    max-width: 320px;
}

.ad-slot--skyscraper {
    max-width: 160px;
}

.ad-slot--live .ad-slot__frame {
    padding: 0;
    min-height: 100%;
    background: rgba(3, 8, 20, 0.94);
}

.ad-slot__frame--live {
    position: relative;
}

.ad-slot__frame--preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 2vw, 18px);
    background: rgba(9, 14, 31, 0.96);
}

.ad-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;
}

.ad-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;
}

.ad-slot__placeholder-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(210, 220, 235, 0.92);
    font-size: clamp(0.68rem, 0.95vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: normal;
}

.ad-slot--billboard .ad-slot__placeholder-copy,
.ad-slot--panorama .ad-slot__placeholder-copy,
.ad-slot--leaderboard .ad-slot__placeholder-copy {
    flex-direction: row;
    gap: clamp(8px, 1.2vw, 16px);
    width: 100%;
    max-width: 100%;
}

.ad-slot--billboard .ad-slot__placeholder-id,
.ad-slot--panorama .ad-slot__placeholder-id,
.ad-slot--leaderboard .ad-slot__placeholder-id {
    font-size: clamp(0.68rem, 0.85vw, 0.88rem);
}

.ad-slot--billboard .ad-slot__placeholder-price,
.ad-slot--panorama .ad-slot__placeholder-price,
.ad-slot--leaderboard .ad-slot__placeholder-price {
    font-size: clamp(0.62rem, 0.8vw, 0.82rem);
}

.ad-slot--skyscraper .ad-slot__placeholder-copy {
    width: 100%;
}

.ad-slot--billboard .ad-slot__frame--preview {
    aspect-ratio: 970 / 250;
}

.ad-slot--panorama .ad-slot__frame--preview {
    aspect-ratio: 1200 / 200;
}

.ad-slot--leaderboard .ad-slot__frame--preview {
    aspect-ratio: 728 / 90;
}

.ad-slot--rectangle .ad-slot__frame--preview {
    aspect-ratio: 300 / 250;
}

.ad-slot--skyscraper .ad-slot__frame--preview {
    aspect-ratio: 160 / 600;
}

.ad-slot__creative {
    display: block;
    width: 100%;
    height: auto;
}

.ad-slot--billboard .ad-slot__creative,
.ad-slot--panorama .ad-slot__creative,
.ad-slot--leaderboard .ad-slot__creative,
.ad-slot--rectangle .ad-slot__creative,
.ad-slot--skyscraper .ad-slot__creative {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.ad-slot--teal .ad-slot__frame {
    border-color: rgba(92, 217, 240, 0.14);
}

.ad-slot--amber .ad-slot__frame {
    border-color: rgba(92, 217, 240, 0.14);
}

.ad-slot--copper .ad-slot__frame {
    border-color: rgba(92, 217, 240, 0.14);
}

.ad-slot--violet .ad-slot__frame {
    border-color: rgba(92, 217, 240, 0.14);
}

.blog-content .ad-slot,
.blog-post .ad-slot {
    margin: 2rem auto;
}

@media (max-width: 900px) {
}

@media (max-width: 640px) {
    .ad-slot {
        width: 100%;
    }
}