/* Similar Apps Styles - All classes prefixed with aap_ */

.aap_gam-thumbnail-label {
    top: 10px;
    right: 10px;
    border-radius: 3px;
    font-weight: bold;
    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: bold;
    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, 0.1);
    color: #0056b3;
}

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

.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;
}

.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: 0.9em;
    color: #666;
}