/*
 * Buttons for the [ftl_button] shortcode.
 *
 * The original button styles are scattered and mostly not global: .btn-green
 * is used 18 times but defined in 12 separate page stylesheets, .btn-booking
 * only in contact.css, .btn-snap only in our-chiropractors.css. Drop any of
 * them onto a page builder layout and they render as plain links.
 *
 * These use their own `fth-btn` names rather than reusing the originals, so
 * this file can load on every page — including ones that ship their own CSS —
 * with no chance of a collision in either direction. Visually they reproduce
 * the originals exactly.
 */

.fth-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Matches .btn.btn-primary — the hero "Book a Consultation". */
.fth-btn--primary {
    background: #8cc63f;
    color: #fff;
    border-color: #8cc63f;
}

.fth-btn--primary:hover {
    background: #7ab332;
    border-color: #7ab332;
    color: #fff;
}

/* Matches .btn-green — the workhorse on service and event pages. */
.fth-btn--green {
    background-color: #8cc63f;
    color: #fff;
    padding: 12px 30px;
    border-color: transparent;
}

.fth-btn--green:hover {
    background-color: #7ab32e;
    color: #fff;
}

/* Matches .btn-booking — the dark contact-page pair. */
.fth-btn--dark {
    background-color: #2c4c3b;
    color: #fff;
    padding: 12px 25px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.fth-btn--dark:hover {
    background-color: #1f372a;
    color: #fff;
    transform: translateY(-2px);
}

/* Matches .btn-glass — for use over a photographic background. */
.fth-btn--glass {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    backdrop-filter: blur(5px);
}

.fth-btn--glass:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* Matches .btn-outline-white — for use on a dark panel. */
.fth-btn--outline {
    padding: 12px 25px;
    border: 1px solid #fff;
    border-radius: 25px;
    color: #fff;
    font-weight: normal;
    background: transparent;
}

.fth-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Layout helpers, since a builder module has no wrapper of its own. */
.fth-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 25px 0;
}

.fth-btns--center {
    justify-content: center;
}

.fth-btns--right {
    justify-content: flex-end;
}

.fth-btns--stack {
    flex-direction: column;
    align-items: stretch;
}

/* Equal-width pair, as on the original contact page. */
.fth-btns--fill > .fth-btn {
    flex: 1;
}

.fth-btn--block {
    display: block;
    width: 100%;
}

@media screen and (max-width: 600px) {
    .fth-btns {
        flex-direction: column;
    }
}
