/* 1.10.1: one homepage card layout. Scoped to the existing game directory. */
.gwm-unified-home #gry .game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}
.gwm-unified-home #gry .game-card {
    display: flex;
    min-width: 0;
    padding: 0;
    overflow: visible;
    border: 1px solid #e2e4da;
    border-radius: 22px;
    background: #fffefa;
    box-shadow: 0 8px 24px rgba(27, 46, 49, .035);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.gwm-unified-home #gry .game-card__link {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 24px;
    border-radius: inherit;
    color: #20323e;
    text-decoration: none;
}
.gwm-unified-home #gry .game-card__link:hover {
    text-decoration: none;
    color: #20323e;
}
.gwm-unified-home #gry .game-card:hover {
    border-color: #a9c6be;
    box-shadow: 0 12px 30px rgba(27, 46, 49, .075);
}
.gwm-unified-home #gry .game-card__link:focus-visible {
    outline: 3px solid #1e6963;
    outline-offset: 4px;
}
.gwm-unified-home #gry .game-card__link > :is(.gwm-game-illustration, [class$="-home__art"]) {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 5 / 2;
    margin: 0 0 18px;
    overflow: hidden;
    border-radius: 14px;
    background: #eef4ec;
}
.gwm-unified-home #gry .game-card__link > :is(.gwm-game-illustration, [class$="-home__art"]) img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.gwm-unified-home #gry .game-card__top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 22px;
    margin: 0;
}
.gwm-unified-home #gry .gwm-mystery-home__art img { object-fit: cover; }
.gwm-unified-home #gry .game-label {
    display: block;
    color: #53646a;
    font-size: .75rem;
    font-weight: 750;
    line-height: 1.5;
    letter-spacing: .01em;
    text-transform: none;
}
.gwm-unified-home #gry .game-card h3 {
    margin: 12px 0 12px;
    color: #20323e;
    font-size: clamp(1.2rem, 1.6vw, 1.4rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.025em;
    overflow-wrap: anywhere;
}
.gwm-unified-home #gry .game-card__link > p {
    margin: 0 0 22px;
    min-height: 4.95em;
    color: #596b76;
    font-size: .96rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.gwm-unified-home #gry .game-card__action {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    margin: auto 0 0;
    padding: 11px 16px;
    border: 1px solid #276c67;
    border-radius: 12px;
    background: #276c67;
    color: #fff;
    font-size: .94rem;
    font-weight: 750;
    line-height: 1.4;
    text-align: center;
}
.gwm-unified-home #gry .game-card__action > span {
    display: inline;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
}
.gwm-unified-home #gry .game-card__link:hover .game-card__action {
    border-color: #1e5652;
    background: #1e5652;
}
@media (max-width: 980px) {
    .gwm-unified-home #gry .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .gwm-unified-home #gry .game-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .gwm-unified-home #gry .game-card__link { padding: 20px; }
    .gwm-unified-home #gry .game-card__link > p { min-height: 0; }
    .gwm-unified-home #gry .game-card h3 { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
    .gwm-unified-home #gry .game-card { transition: none; }
}
