/* House & Land card action row — Brochure + Enquire buttons, equal width.
   Scoped to the plugin's own .hl-card__actions wrapper so it never touches
   other Bricks layouts. Overrides Bricks' default block gap. */
.hl-card__actions {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
}
.hl-card__actions > .hl-card__brochure,
.hl-card__actions > .hl-card__enquire {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    justify-content: center;
    white-space: nowrap;
    cursor: pointer;
}

/* Enquiry modal */
.hlb-enq { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; }
.hlb-enq[hidden] { display: none; }
.hlb-enq__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.hlb-enq__dialog {
    position: relative; z-index: 1; background: #fff; width: calc(100% - 32px); max-width: 640px;
    max-height: 90vh; overflow: auto; padding: 34px 36px 36px; border-radius: 8px;
}
.hlb-enq__close {
    position: absolute; top: 14px; right: 16px; border: 0; background: transparent;
    font-size: 26px; line-height: 1; cursor: pointer; color: var(--primary, #00431E);
}
.hlb-enq__title { margin: 0 0 4px; color: var(--primary, #00431E); font-size: 22px; }
.hlb-enq__pkg { font-weight: 400; color: rgba(0,0,0,0.5); font-size: 15px; }

/* ---- Rivervale H&L card: "Download Brochure" revealed on card hover ---- */
.ry-hl-media { position: relative; overflow: hidden; }
.ry-hl-media::after {
    content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
    background: rgba(20, 40, 30, 0); transition: background .22s ease;
}
.ry-hl-card:hover .ry-hl-media::after { background: rgba(20, 40, 30, .42); }
.ry-card-brochure {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    z-index: 4; display: inline-block; white-space: nowrap; text-decoration: none;
    background: var(--primary, #2c4a3e); color: #fff !important;
    padding: .8em 1.5em; border-radius: 7px;
    font-family: "DM Sans", system-ui, sans-serif; font-size: .72rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase;
    opacity: 0; pointer-events: none; transition: opacity .22s ease, background .2s ease;
}
.ry-hl-card:hover .ry-card-brochure { opacity: 1; pointer-events: auto; }
.ry-card-brochure:hover { background: var(--accent, #c4964a); }
