/* TERM-GAME Phase 6.1 overrides */

.hero-copy{
    padding-right:24px;
}

.hero-title{
    white-space:pre-line;
    text-wrap:balance;
    max-width:720px;
    margin-top:16px !important;
    margin-bottom:24px !important;
    line-height:1.12 !important;
    letter-spacing:-.045em !important;
}

.hero-subtitle{
    max-width:610px;
    line-height:1.85 !important;
    margin-top:0;
    margin-bottom:0;
}

.hero-actions{
    margin-top:30px !important;
}

.game-info h3{
    overflow:hidden;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
}

@media (max-width: 650px){
    .container{
        width:min(100% - 20px,1180px);
    }

    .hero{
        padding-top:34px;
    }

    .hero-copy{
        padding-right:0;
    }

    .hero-title{
        font-size:40px !important;
        line-height:1.12 !important;
        margin-bottom:18px !important;
    }

    .hero-subtitle{
        font-size:16px !important;
        line-height:1.75 !important;
    }

    .hero-art-shell{
        min-height:330px !important;
        border-radius:24px !important;
    }

    /* User requirement: 3 games per row on mobile */
    .game-grid,
    .game-grid.compact{
        grid-template-columns:repeat(3,minmax(0,1fr)) !important;
        gap:8px !important;
    }

    .game-card{
        border-radius:14px !important;
        min-width:0;
    }

    .game-art{
        aspect-ratio:1/1 !important;
    }

    .game-info{
        padding:9px 8px 10px !important;
        min-width:0;
    }

    .game-info h3{
        font-size:12px !important;
        line-height:1.3 !important;
        margin-bottom:3px !important;
        -webkit-line-clamp:2;
    }

    .game-info p{
        font-size:10px !important;
        line-height:1.25 !important;
        overflow:hidden;
        white-space:nowrap;
        text-overflow:ellipsis;
    }

    .section-head h2{
        font-size:28px !important;
    }

    .game-search-wrap input{
        width:100% !important;
    }

    .package-grid{
        grid-template-columns:repeat(2,minmax(0,1fr)) !important;
        gap:9px !important;
    }

    .package-card{
        padding:14px !important;
    }

    .package-card h3{
        font-size:14px !important;
    }

    .package-card strong{
        font-size:20px !important;
    }
}
