.ja-role .ja-jds-hero { min-height: clamp(200px, 18cqi, 265px); }
.ja-role .ja-jds-photo { width: 56%; }
.ja-role .ja-jds-hero-copy { width: 53%; }
.ja-role .ja-role-formats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.ja-role .ja-role-format {
    padding: 2px 2px 9px;
    border: 2px solid var(--ja-jds-line);
    border-radius: 12px;
    background: var(--ja-jds-panel);
}
.ja-role .ja-role-media { position: relative; }
.ja-role .ja-role-media > img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2.9;
    object-fit: cover;
    border-radius: 8px;
}
.ja-role .ja-role-format h3 {
    margin: 7px 8px 3px;
    text-align: center;
    font: 700 clamp(1.1rem, 2.95cqi, 2.32rem)/1.1 "DM Serif Text", Georgia, serif;
}
.ja-role .ja-role-format-copy {
    display: grid;
    grid-template-columns: clamp(42px, 6cqi, 82px) minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding-inline: clamp(8px, 1.4cqi, 20px);
    font-size: .92rem;
}
.ja-role .ja-role-format-copy img { width: 100%; height: auto; }
.ja-role .ja-role-gn-details,
.ja-role a.ja-role-gn-button { position: absolute; right: 9px; bottom: 9px; }
.ja-role .ja-role-gn-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: max-content;
    margin-inline-start: auto;
    padding: 5px 12px;
    border: 2px solid var(--ja-jds-indigo);
    border-radius: 8px;
    background: #fff;
    color: var(--ja-jds-indigo);
    cursor: pointer;
    text-decoration: none;
    list-style: none;
}
.ja-role .ja-role-gn-button::-webkit-details-marker { display: none; }
.ja-role .ja-role-gn-button:hover { text-decoration: underline; }
.ja-role .ja-role-gn-button:focus-visible { outline: 2px solid #696fc0; outline-offset: 2px; }
.ja-role .ja-role-gn-details { max-width: min(340px, calc(100% - 18px)); }
.ja-role .ja-role-gn-details p {
    position: absolute;
    z-index: 1;
    top: calc(100% + 5px);
    right: 0;
    width: min(340px, 75cqi);
    padding: 10px 12px;
    border: 1px solid var(--ja-jds-indigo);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 16px #222b4726;
    font-size: .88rem;
}
.ja-role .ja-role-benefits .ja-jds-card { flex: 1 1 0; }
.ja-role .ja-role-benefits img { margin-bottom: 4px; }
.ja-role .ja-role-benefits p { font-size: .92rem; }
.ja-role .ja-jds-game h4 { background: #0fb985; color: #102a22; }
@container ja-jds-page (max-width: 650px) {
    .ja-role .ja-role-formats { grid-template-columns: minmax(0, 1fr); }
    .ja-role .ja-role-benefits .ja-jds-card { flex-basis: 100%; }
}
@container ja-jds-page (max-width: 480px) {
    .ja-role .ja-jds-photo, .ja-role .ja-jds-hero-copy { width: 100%; }
}
