/*
 * public/home/board-actions.css
 * The two buttons above the calendar filters: gold "Get Events by Email" (the hummingbird
 * perches on it, see perch-bird.css) and the red home link (a ShortLinks entry marked
 * "show on home", filled in by home-link.js).
 */

/* ---- Top buttons: gold "Get Events by Email" (with the bird) + the red home link ----
 * Phones: stacked, full width. Tablet and up: side by side (the gold one fills the row
 * when there's no home link). The top margin is headroom for the perched hummingbird.
 */
.etw-board-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 48px;
    margin-bottom: 12px;
}

@media (min-width: 600px) {
    .etw-board-actions {
        margin-top: 60px;
        margin-bottom: 16px;
    }

    .etw-board-actions.has-home-link {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- Gold "Get Events by Email" button ---- */
.etw-alerts-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 2px solid var(--c-gold);
    border-radius: 999px;
    background: var(--etw-gold-gradient);
    color: var(--c-gold-text);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(185, 138, 38, 0.35);
    transition: filter 0.2s ease, transform 0.2s ease;
}

.etw-alerts-btn:hover,
.etw-alerts-btn:focus-visible {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

/* ---- Red "show on home" short link button: same size as the gold one ---- */
.etw-home-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 2px solid var(--c-home-link);
    border-radius: 999px;
    background: var(--c-home-link);
    color: var(--c-home-link-text);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: filter 0.2s ease, transform 0.2s ease;
}

.etw-home-link-btn:hover,
.etw-home-link-btn:focus-visible {
    filter: brightness(1.12);
    transform: translateY(-1px);
}

.etw-home-link-btn.is-hidden {
    display: none;
}
