﻿.issuer-box {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.issuer-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.issuer-box:hover::before {
    opacity: 0.6;
}

.issuer-box h2 {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

.issuer-box h2 a {
    color: var(--fg-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    width: 100%;
    height: 100%;
}

.issuer-box h2 a:hover {
    color: var(--fg-primary-hover);
}

.issuer-box label {
    position: relative;
    z-index: 2;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}