.franchise-shell__panel--related {
    gap: 14px;
}

.franchise-related-grid {
    margin: 0;
}

.th-item--franchise .th-in {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 8px;
    text-decoration: none !important;
}

.th-item--franchise .th-img {
    position: relative;
    aspect-ratio: auto;
    height: 224px;
    overflow: hidden;
    background: #0c111a;
}

.th-item--franchise .th-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.14);
    transform-origin: center;
    transition: transform .35s ease;
}

.th-item--franchise:hover .th-img img {
    transform: scale(1.18);
}

.franchise-related-flag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(12, 16, 24, 0.78);
    border: 1px solid rgba(154, 255, 154, 0.24);
    color: #eef8ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
}

.franchise-related-meta {
    padding: 0 10px 10px !important;
}

.franchise-related-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.franchise-related-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(12, 16, 24, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5fb;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    backdrop-filter: blur(6px);
}

.franchise-related-badge--accent {
    border-color: rgba(255, 209, 102, 0.28);
    color: #ffd166;
}

.th-item--franchise .th-des {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    padding: 2px 5px 6px;
}

.th-item--franchise .th-title {
    line-height: 1.3;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .franchise-related-grid > .th-item--franchise:nth-child(n+7) {
        display: none;
    }

    .th-item--franchise .th-img {
        height: 198px;
    }

    .th-item--franchise .th-img img {
        transform: scale(1.12);
    }

    .th-item--franchise:hover .th-img img {
        transform: scale(1.16);
    }

    .franchise-related-flag {
        top: 8px;
        left: 8px;
        min-height: 25px;
        padding: 0 9px;
        font-size: 10px;
    }

    .franchise-related-meta {
        padding: 0 8px 8px !important;
    }

    .franchise-related-badge {
        min-height: 24px;
        padding: 0 8px;
        font-size: 10px;
    }

    .th-item--franchise .th-des {
        padding: 1px 4px 5px;
    }
}
