.aap_gam-thumbnail-label {
    top: 10px;
    right: 10px;
    border-radius: 3px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    z-index: 100;
    line-height: 1.4;
}

.aap_post-thumbnail,
.aap_ct-media-container,
.aap_wp-post-image,
.aap_gam-image-wrapper {
    position: relative !important;
    display: inline-block;
}

.aap_gam-label-mobile {
    background-color: #2872fa;
}

.aap_gam-label-both {
    background-color: #2ecc71;
}

.aap_gam-label-tv {
    background-color: #e74c3c;
}

figure.aap_gam-image-wrapper {
    display: block;
    margin: 1em auto;
    text-align: center;
}

figure.aap_gam-image-wrapper img {
    max-width: 100%;
    height: auto;
}

.aap_similar-apps-container {
    padding-top: 40px;
}

.aap_similar-apps-header {
    font-weight: 700;
    font-size: 1.2em;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aap_arrow-link {
    font-size: 1.2em;
    text-decoration: none;
    color: #007BFF;
    border-radius: 50%;
    padding: 4px 10px;
    transition: background-color 0.3s, color 0.3s;
}

.aap_arrow-link:hover {
    background-color: rgba(0, 123, 255, .1);
    color: #0056b3;
}

.aap_similar-apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.aap_similar-app-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background-color: #fff;
    text-decoration: none;
    color: #222;
    transition: background-color 0.3s ease;
    border: 1px solid #f1f5f9;
}

.aap_similar-app-item:hover {
    background-color: #f2f2f2;
}

.aap_similar-app-item img {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    object-fit: cover;
    margin-right: 12px;
    flex-shrink: 0;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.aap_app-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.aap_app-name {
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aap_app-size,
.aap_app-rating {
    font-size: .9em;
    color: #666;
}

/* Mobile Horizontal Scroll */
@media (max-width: 767px) {
    .aap_similar-apps-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 12px;
        padding: 5px 2px 15px 2px;
        scrollbar-width: none; 
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .aap_similar-apps-grid::-webkit-scrollbar {
        display: none;
    }
    
    .aap_similar-app-item {
        flex: 0 0 260px;
        scroll-snap-align: start;
        background: #ffffff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
}