/* 前台公共广告位 */
.pt-ad-slot {
    margin: 16px 0;
}
.pt-ad-slot-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #dbe7f6;
    box-shadow: 0 6px 18px rgba(16, 67, 148, 0.06);
}
.pt-ad-slot-item > a,
.pt-ad-slot-link {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}
.pt-ad-slot-item img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 140px;
    object-fit: cover;
}
.pt-ad-slot-title {
    display: block;
    padding: 13px 16px;
    color: #1f2d3d;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}
.pt-ad-slot-flag {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 1;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(17, 71, 168, 0.82);
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    letter-spacing: .5px;
}
.pt-ad-slot--side .pt-ad-slot-item {
    margin-bottom: 12px;
}
.pt-ad-slot--side .pt-ad-slot-item img {
    max-height: 170px;
}
.pt-ad-slot--side .pt-ad-slot-title {
    padding: 10px 12px;
    font-size: 13px;
}
.pt-ad-slot--text .pt-ad-slot-item {
    background: linear-gradient(135deg, #eef5ff, #fff);
}
.pt-ad-slot--text .pt-ad-slot-title {
    min-height: 46px;
    display: flex;
    align-items: center;
}
@media (max-width: 800px) {
    .pt-ad-slot {
        margin: 12px 0;
    }
    .pt-ad-slot-item img {
        max-height: 110px;
    }
}
