/* Bratonien buttons: theme-owned, platform-neutral, gold highlighted. */

.social-icon {
    font-size: 32px;
    padding: 10px;
}

.button,
button {
    position: relative;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin-bottom: 1rem;
    padding: 13px 16px;
    overflow: visible;
    color: var(--br-text-light) !important;
    background:
        linear-gradient(180deg, rgba(31,75,56,.96) 0%, rgba(18,54,58,.96) 58%, rgba(12,38,40,.98) 100%) !important;
    border: 1px solid rgba(212,175,55,.72) !important;
    border-radius: 2px !important;
    box-shadow:
        0 5px 14px rgba(0,0,0,.36),
        inset 0 1px 0 rgba(255,226,138,.14),
        inset 0 -1px 0 rgba(0,0,0,.34);
    font-family: "Almendra SC", Georgia, serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .035em;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(0,0,0,.72);
    cursor: pointer;
    transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
}

.button::before,
button::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255,226,138,.70), transparent);
}

.button::after,
button::after {
    content: "";
    position: absolute;
    inset: -4px;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    border-radius: 4px;
    background: rgba(212,175,55,.26);
    filter: blur(12px);
    transition: opacity 180ms ease;
}

.button:hover,
.button:focus,
button:hover,
button:focus {
    color: var(--br-gold-light) !important;
    border-color: var(--br-gold-light) !important;
    box-shadow:
        0 8px 18px rgba(0,0,0,.46),
        0 0 0 1px rgba(212,175,55,.24),
        inset 0 1px 0 rgba(255,226,138,.25),
        inset 0 -1px 0 rgba(0,0,0,.30);
    filter: brightness(1.06);
    transform: translateY(-1px);
    outline: none;
}

.button:hover::after,
.button:focus::after,
button:hover::after,
button:focus::after {
    opacity: 1;
}

.button .icon,
button .icon,
.icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,.45));
}
