.games-directory .directory-item {
        position: relative;
    }

    .games-directory .directory-title > a::after {
        content: '';
        position: absolute;
        z-index: 1;
        inset: 0;
    }

    .games-directory .directory-image,
    .games-directory .row-action {
        position: relative;
        z-index: 2;
    }

    .games-directory .row-action {
        min-height: 40px;
    }

    .games-directory .directory-item.is-featured {
        margin: 4px 0;
        padding: 16px 12px;
        border-radius: 14px;
        background: linear-gradient(135deg, rgba(255, 75, 32, .15), rgba(255, 255, 255, .96) 72%);
        box-shadow: 0 7px 20px rgba(173, 99, 81, .07);
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
    }

    .games-directory .directory-item.is-featured:hover {
        border-color: rgba(255, 75, 32, .36);
        box-shadow: 0 10px 26px rgba(173, 99, 81, .12);
        transform: translateY(-1px);
    }

    .directory-featured-badge {
        position: absolute;
        z-index: 3;
        top: -7px;
        left: -7px;
        display: grid;
        place-items: center;
        width: 27px;
        height: 27px;
        border: 2px solid #fff;
        border-radius: 10px 10px 10px 4px;
        color: #fff !important;
        background: #ff4b20;
        box-shadow: 0 5px 12px rgba(255, 75, 32, .3);
        font-size: 12px !important;
        font-weight: 800;
        line-height: 1;
    }

    .directory-total strong {
        color: var(--accent);
        font-weight: 700;
    }

    .directory-section-title {
        position: relative;
        padding-left: 12px;
        color: var(--ink);
        font-size: 18px;
        font-weight: 700;
        line-height: 1.4;
    }

    .directory-section-title::before {
        content: '';
        position: absolute;
        top: 2px;
        bottom: 2px;
        left: 0;
        width: 4px;
        border-radius: 2px;
        background: var(--accent);
    }

    @media (max-width: 760px) {
        .page-intro .breadcrumb {
            padding: 12px 0 6px;
        }

        .directory-heading-row {
            padding: 5px 0 15px;
        }

        .directory-tools {
            padding: 8px 0;
        }

        .directory-tools > .directory-filter-panel {
            padding: 8px 9px 7px;
        }

        .directory-filter-panel .type-filter {
            max-height: 74px;
            gap: 6px 7px;
            padding-bottom: 0;
        }

        .directory-filter-panel .type-filter a {
            padding: 5px 12px;
        }

        .directory-filter-panel .type-filter.expanded {
            max-height: 37vh;
            padding: 0 4px 6px 0;
        }

        .directory-filter-panel .type-filter-toggle {
            min-height: 30px;
            margin-top: 4px;
            padding: 3px 9px;
            font-size: 11px;
        }

        .games-directory.section {
            padding-top: 14px;
            padding-bottom: 32px;
        }

        .directory-summary {
            margin-bottom: 2px;
        }

        .directory-section-title {
            font-size: 18px;
        }

        .games-directory .directory-item {
            min-height: 96px;
            padding-block: 12px;
            cursor: pointer;
        }

        .games-directory .directory-item.is-featured {
            margin: 3px 0;
            padding: 12px 8px;
            border-radius: 12px;
            background: linear-gradient(135deg, rgba(255, 75, 32, .15), rgba(255, 255, 255, .98) 76%);
            box-shadow: 0 4px 14px rgba(173, 99, 81, .06);
        }

        .directory-featured-badge {
            top: -6px;
            left: -6px;
            width: 24px;
            height: 24px;
            border-radius: 8px 8px 8px 3px;
            font-size: 11px !important;
        }

        .games-directory .row-action {
            min-width: 54px;
            min-height: 40px;
        }
    }
