/* HPA Home — only the dynamic intro and account buttons. */

.hpc-home-cabinet-intro {
    margin: 0;
    padding: 0;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1.65;
    text-align: inherit;
}

.hpc-home-cabinet-intro--left { text-align: left; }
.hpc-home-cabinet-intro--center { text-align: center; }
.hpc-home-cabinet-intro--right { text-align: right; }

.hpc-home-cabinet-actions {
    --hpc-home-cabinet-gold: #946c35;
    --hpc-home-cabinet-gold-hover: #765226;
    --hpc-home-cabinet-soft: #f4eee5;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
}

.hpc-home-cabinet-actions--left { justify-content: flex-start; }
.hpc-home-cabinet-actions--right { justify-content: flex-end; }

.hpc-home-cabinet-actions a.hpc-home-cabinet-button {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    max-width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 10px 20px;
    border: 1px solid var(--hpc-home-cabinet-gold);
    border-radius: 3px;
    box-shadow: none;
    background-image: none;
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    white-space: normal;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.hpc-home-cabinet-actions a.hpc-home-cabinet-button--primary,
.hpc-home-cabinet-actions a.hpc-home-cabinet-button--primary:visited {
    background-color: var(--hpc-home-cabinet-gold);
    color: #fff;
}

.hpc-home-cabinet-actions a.hpc-home-cabinet-button--secondary,
.hpc-home-cabinet-actions a.hpc-home-cabinet-button--secondary:visited {
    background-color: transparent;
    color: var(--hpc-home-cabinet-gold);
}

.hpc-home-cabinet-actions a.hpc-home-cabinet-button--primary:hover {
    border-color: var(--hpc-home-cabinet-gold-hover);
    background-color: var(--hpc-home-cabinet-gold-hover);
    color: #fff;
    text-decoration: none;
}

.hpc-home-cabinet-actions a.hpc-home-cabinet-button--secondary:hover {
    border-color: var(--hpc-home-cabinet-gold-hover);
    background-color: var(--hpc-home-cabinet-soft);
    color: var(--hpc-home-cabinet-gold-hover);
    text-decoration: none;
}

.hpc-home-cabinet-actions a.hpc-home-cabinet-button:focus-visible {
    outline: 2px solid var(--hpc-home-cabinet-gold-hover);
    outline-offset: 4px;
}

@media (max-width: 520px) {
    .hpc-home-cabinet-actions {
        gap: 12px;
    }

    .hpc-home-cabinet-actions a.hpc-home-cabinet-button {
        width: 100%;
        max-width: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hpc-home-cabinet-actions a.hpc-home-cabinet-button {
        transition: none;
    }
}