/* Presentation-only sizing for the existing TermsFeed component. */
#termsfeed-com---nb {
    box-sizing: border-box;
    max-height: min(70vh, 38rem);
    overflow-y: auto;
    overscroll-behavior: contain;
}

#termsfeed-com---nb *,
#termsfeed-com---preferences-center,
#termsfeed-com---preferences-center * { box-sizing: border-box; }

#termsfeed-com---nb .cc-nb-title-container,
#termsfeed-com---nb .cc-nb-text-container,
#termsfeed-com---nb .cc-nb-title,
#termsfeed-com---nb .cc-nb-text {
    min-width: 0;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
}

#termsfeed-com---nb .cc-nb-buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

#termsfeed-com---nb .cc-nb-buttons-container button { flex: 1 1 8rem; min-height: 2.75rem; }

#termsfeed-com---preferences-center {
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem);
    overflow: auto;
    overscroll-behavior: contain;
    padding-bottom: .5rem;
}

#termsfeed-com---preferences-center button,
#termsfeed-com---preferences-center a,
#termsfeed-com---nb button,
#termsfeed-com---nb a { min-height: 2.75rem; }

body:has(#termsfeed-com---nb) #termsfeed-com---nb {
    right: 6rem !important;
    max-width: calc(100vw - 7rem) !important;
}

body:has(#termsfeed-com---preferences-center) #termsfeed-com---preferences-center {
    left: .5rem !important;
    right: 6rem !important;
    width: auto !important;
    max-width: none !important;
}

#termsfeed-com---preferences-center .cc-cp-body-tabs {
    flex: 0 0 10rem;
    width: 10rem;
    min-width: 10rem;
}

#termsfeed-com---preferences-center .cc-cp-body-content {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}

#termsfeed-com---preferences-center .cc-cp-body-tabs-item-link {
    width: 100%;
    white-space: normal;
    word-break: normal;
}

body:has(#termsfeed-com---nb) .whatsapp-float {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.back-to-top {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#termsfeed-com---preferences-center :focus-visible,
#termsfeed-com---nb :focus-visible { outline: 3px solid #146c94; outline-offset: 2px; }

@media (max-width: 575.98px) {
    #termsfeed-com---nb { left: .5rem; right: .5rem; bottom: .5rem; width: auto; max-width: none; max-height: 65vh; }
    #termsfeed-com---nb .cc-nb-buttons-container { flex-direction: column; }
    #termsfeed-com---nb .cc-nb-buttons-container button { flex: 0 0 auto; width: 100%; min-height: 2.75rem; height: auto !important; padding: .75rem 1rem !important; line-height: 1.25; }
    #termsfeed-com---nb .cc-nb-okagree,
    #termsfeed-com---nb .cc-nb-reject,
    #termsfeed-com---nb .cc-nb-changep { flex: 0 0 auto; min-height: 2.75rem; height: auto !important; padding: .75rem 1rem !important; line-height: 1.25; }
    #termsfeed-com---nb { right: 6rem !important; max-width: calc(100vw - 7rem) !important; }
    #termsfeed-com---preferences-center { left: .5rem !important; right: 6rem !important; width: auto !important; max-width: none !important; }
    #termsfeed-com---preferences-center .cc-cp-body { flex-direction: column; min-width: 0; }
    #termsfeed-com---preferences-center .cc-cp-body-tabs { flex: 0 0 auto; width: 100%; min-width: 0; }
    #termsfeed-com---preferences-center .cc-cp-body-content { flex: 1 1 auto; width: 100%; }
    #termsfeed-com---preferences-center .cc-pc-head,
    #termsfeed-com---preferences-center .cc-pc-head-lang,
    #termsfeed-com---preferences-center .cc-cp-foot { min-width: 0; max-width: 100%; flex-wrap: wrap; }
    #termsfeed-com---preferences-center .cc-pc-head-lang { display: flex; width: 100%; gap: .5rem; }
    #termsfeed-com---preferences-center .cc-pc-head-lang select { flex: 1 1 8rem; width: auto; min-width: 0; max-width: 100%; }
    #termsfeed-com---preferences-center .cc-pc-head-close { flex: 0 0 auto; margin-left: auto; }
    #termsfeed-com---preferences-center .cc-cp-foot { gap: .5rem; }
    #termsfeed-com---preferences-center .cc-cp-foot > * { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: break-word; }
    #termsfeed-com---preferences-center .cc-cp-foot-save { flex: 1 1 100%; }
}
