.hhtx-fb-embed {
    min-height: 320px;
}

.fb-page {
    display: none;
}

.hhtx-facebook-enabled .fb-page {
    display: block;
}

.hhtx-fb-consent-placeholder {
    min-height: 320px;
    padding: 2rem;
    border: 1px solid rgba(24, 126, 129, 0.28);
    border-radius: 15px;
    background: #f8f9fa;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
}

.hhtx-fb-consent-placeholder[hidden] {
    display: none;
}

.hhtx-fb-consent-placeholder h3,
.hhtx-fb-consent-placeholder p {
    margin: 0;
}

.hhtx-fb-consent-placeholder h3 {
    color: #187e81;
}

.hhtx-fb-consent-placeholder p {
    max-width: 430px;
    line-height: 1.6;
}

.hhtx-privacy-button {
    border: 0;
    border-radius: 8px;
    padding: 0.7rem 1.15rem;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.hhtx-privacy-button-primary {
    background: #187e81;
    color: #fff;
}

.hhtx-privacy-button-primary:hover,
.hhtx-privacy-button-primary:focus-visible {
    background: #0f5a5c;
}

.hhtx-privacy-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: transparent;
    color: #fff;
}

.hhtx-privacy-button-secondary:hover,
.hhtx-privacy-button-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.12);
}

.hhtx-fb-open-link {
    color: #187e81;
    font-weight: 600;
}

.hhtx-cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 10000;
    display: none;
    max-width: 760px;
    margin: 0 auto;
    padding: 1.1rem 1.25rem;
    border: 1px solid #7ed4d6;
    border-radius: 12px;
    background: #233536;
    box-shadow: 0 12px 42px rgba(0, 0, 0, 0.34);
    color: #fff;
}

.hhtx-cookie-banner.is-visible {
    display: block;
}

.hhtx-cookie-banner h2 {
    margin: 0 0 0.45rem;
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
}

.hhtx-cookie-banner p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.hhtx-cookie-choice-group {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hhtx-cookie-choice-group h3 {
    margin: 0 0 0.2rem;
    color: #a8e6e8;
    font-size: 0.98rem;
}

.hhtx-cookie-banner a {
    color: #a8e6e8;
    font-weight: 600;
}

.hhtx-cookie-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}

.hhtx-cookie-preferences {
    padding: 0;
    border: 0;
    background: transparent;
    color: #7ed4d6;
    font: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hhtx-cookie-preferences:hover,
.hhtx-cookie-preferences:focus-visible {
    color: #a8e6e8;
}

.hhtx-youtube-embed {
    max-width: 900px;
    margin: 1.5rem auto 0;
}

.hhtx-youtube-placeholder,
.hhtx-youtube-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.14);
}

.hhtx-youtube-placeholder {
    position: relative;
    overflow: hidden;
    background: #333;
}

.hhtx-youtube-placeholder[hidden],
.hhtx-youtube-disable[hidden] {
    display: none;
}

.hhtx-youtube-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hhtx-youtube-placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.05));
    pointer-events: none;
}

.hhtx-youtube-enable {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    white-space: nowrap;
}

.hhtx-youtube-enable:hover,
.hhtx-youtube-enable:focus-visible {
    transform: translateX(-50%);
}

.hhtx-external-media-note {
    margin: 0.85rem auto 0;
    max-width: 760px;
    color: #666;
    font-size: 0.88rem;
    line-height: 1.55;
    text-align: center;
}

.hhtx-external-media-note a {
    color: #187e81;
    font-weight: 600;
}

.hhtx-youtube-disable {
    display: block;
    margin: 0.75rem auto 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #187e81;
    font: inherit;
    font-size: 0.85rem;
    text-decoration: underline;
    cursor: pointer;
}

@media (max-width: 560px) {
    .hhtx-cookie-actions {
        flex-direction: column-reverse;
    }

    .hhtx-cookie-actions .hhtx-privacy-button {
        width: 100%;
    }

    .hhtx-youtube-enable {
        bottom: 1rem;
        width: calc(100% - 2rem);
        white-space: normal;
    }
}
