/* Global cookie consent banner + facades for gated third-party embeds (Vimeo/YouTube
   showreels, Calendly booking widget). Loaded on every page via
   partials/layout/cookie-banner.htm. */

.hgw-cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    background: #0c1014;
    color: #fff;
    padding: 20px;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}

.hgw-cookie-banner__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.hgw-cookie-banner__text {
    flex: 1 1 320px;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.hgw-cookie-banner__text a {
    color: #41bac2;
}

.hgw-cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Outline counterpart to .btn-hgw (style.min.css), same size/padding so both banner
   buttons carry equal visual weight - no default-styled "accept" vs. plain "reject". */
.btn-hgw-outline {
    background-color: transparent;
    text-decoration: none;
    padding: 12px 40px 12px 50px;
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    border: 1px solid #fff;
    transition: all ease .2s;
    display: inline-block;
}

.btn-hgw-outline:hover,
.btn-hgw-outline:focus,
.btn-hgw-outline:active {
    background-color: rgba(255, 255, 255, 0.12);
    color: #fff;
}

@media (max-width: 575px) {
    .hgw-cookie-banner__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .hgw-cookie-banner__actions {
        flex-direction: column;
    }

    .hgw-cookie-banner__actions .btn-hgw,
    .hgw-cookie-banner__actions .btn-hgw-outline {
        text-align: center;
    }
}

/* Video facade: direct child of Bootstrap's .ratio.ratio-16x9, which already makes its
   children position:absolute/inset:0 - no positioning needed here, just the look. */
.hgw-media-facade {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    text-align: center;
    background: #0c1014;
}

.hgw-media-facade-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #199eac;
    color: #fff;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background-color .2s ease;
}

.hgw-media-facade-play:hover,
.hgw-media-facade-play:focus {
    background: #41bac2;
}

/* Calendly facade: own wrapper (not a Bootstrap .ratio), so position it explicitly. */
.hgw-calendly-wrap {
    position: relative;
}

.hgw-calendly-facade-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    text-align: center;
    background: rgba(12, 16, 20, 0.9);
}

/* Shared hint text under both facade buttons (video play, Calendly load), explaining that
   the click will set third-party cookies. */
.hgw-facade-hint {
    margin: 0;
    color: #d0d3d6;
    font-size: 0.8rem;
    line-height: 1.4;
}
