
    /* =====================================================
       REUSABLE SIDEBAR ADS
       Used only where the sidebarAds fragment is included
       Does not modify existing site components
       ===================================================== */

.content-sidebar-ad {
    width: 100%;
    max-width: 300px;
    min-width: 0;
    margin: 0 auto 24px;
    align-self: start;
    box-sizing: border-box;
}

.sidebar-ad-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #18283c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.sidebar-ad-heading::after {
    content: "";
    flex: 1;
    height: 1px;
    margin-left: 12px;
    background: #dce4ed;
}

.sidebar-ad-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    box-sizing: border-box;
    background: #edf2f7;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(15, 35, 60, 0.08);
    text-decoration: none;
    transition: transform 0.25s ease,
    box-shadow 0.25s ease;
}

.sidebar-ad-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.sidebar-ad-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(15, 35, 60, 0.15);
}

.sidebar-ad-card:hover img {
    transform: scale(1.025);
}

.sidebar-ad-label {
    margin-top: 7px;
    color: #7a8796;
    font-size: 10px;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .content-sidebar-ad {
        max-width: 300px;
        margin: 20px auto 24px;
    }
}

@media (max-width: 360px) {
    .content-sidebar-ad {
        max-width: 100%;
    }
}
