/*
 * _hero.css
 *
 * USED BY:
 *   - customize.html
 */

.hero {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero a {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
}

.hero a:active {
    transform: scale(0.95);
    opacity: 0.8;
}

/* ── Detail panel ────────────────────────────────── */
.detail {
    padding: var(--pad) var(--pad) 1rem;
}

.detail-label {
    color: var(--red);
    text-decoration: underline;
    font-family: var(--font-display);
    font-weight: 400;
}

.detail-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 0.25rem;
}

.detail-desc {
    line-height: 1.5;
    margin-top: 0.5rem;
}
