/* Баннер cookies и заглушки внешних материалов — в фирменных цветах сайта */
.fbm-embed { position: relative; display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 16 / 9; max-width: 720px; margin: 1em auto; padding: 24px;
  background: #14275C; color: #fff; text-align: center; font-family: Manrope, "Segoe UI", sans-serif; }
.fbm-embed--tall { aspect-ratio: 9 / 16; max-width: 300px; }
.fbm-embed__text { max-width: 46ch; margin: 0; font-size: .875rem; line-height: 1.45; color: rgba(255,255,255,.85); }
.fbm-embed__btn { min-height: 44px; padding: 0 22px; border: 0; background: #E30613; color: #fff; cursor: pointer; font: 600 .9375rem Oswald, sans-serif; letter-spacing: .1em; text-transform: uppercase; transition: background .2s; }
.fbm-embed__btn:hover { background: #B90812; }
.fbm-embed__more { font-size: .8125rem; color: #FFD200; }

/* Окно согласия по центру экрана с затемнением; «Отклонить все» и «Принять все» — две равные большие кнопки */
.fbm-cc { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(14,15,20,.5); overflow-y: auto; }
.fbm-cc__box { position: relative; box-sizing: border-box; width: min(560px, 100%); padding: 26px 26px 18px; background: #fff; border-top: 5px solid #234294; box-shadow: 0 18px 50px rgba(14,15,20,.3);
  font-family: Manrope, "Segoe UI", sans-serif; color: #0E0F14; }
.fbm-cc__title { margin: 0 52px 10px 0; font: 600 1.25rem Oswald, sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.fbm-cc__text { margin: 0 0 18px; font-size: .9375rem; line-height: 1.55; color: #3a3d48; }
.fbm-cc__settings { display: none; gap: 8px; margin: 0 0 18px; }
.fbm-cc.is-settings .fbm-cc__settings { display: grid; }
.fbm-cc__opt { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: #F4F2EE; font-size: .875rem; cursor: pointer; }
.fbm-cc__opt input { width: 18px; height: 18px; accent-color: #234294; }
.fbm-cc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fbm-cc__btn { min-height: 52px; padding: 0 16px; border: 2px solid #234294; background: #234294; color: #fff; cursor: pointer; font: 600 1rem Oswald, sans-serif; letter-spacing: .08em; text-transform: uppercase; transition: background .2s, border-color .2s, color .2s; }
.fbm-cc__btn:hover, .fbm-cc__btn:focus-visible { background: #14275C; border-color: #14275C; }
.fbm-cc__btn--main { background: #E30613; border-color: #E30613; }
.fbm-cc__btn--main:hover, .fbm-cc__btn--main:focus-visible { background: #B90812; border-color: #B90812; }
.fbm-cc__btn:focus-visible { outline: 3px solid #FFD200; outline-offset: 2px; }
/* «Сохранить выбор» — под переключателями, только в режиме настройки */
.fbm-cc__save { min-height: 44px; background: #fff; color: #234294; }
.fbm-cc__save:hover, .fbm-cc__save:focus-visible { color: #fff; }
.fbm-cc__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin: 14px 0 0; }
.fbm-cc__link { padding: 6px 0; border: 0; background: none; color: #234294; cursor: pointer; font: 600 .9375rem Manrope, "Segoe UI", sans-serif; text-decoration: none; }
.fbm-cc__link:hover, .fbm-cc__link:focus-visible { color: #E30613; text-decoration: underline; }
.fbm-cc.is-settings [data-cc="settings"] { display: none; }
/* Крестик: ровно по центру, 44 px, поворот при наведении */
.fbm-cc__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 50%;
  background: #234294; color: #fff; cursor: pointer; transition: background-color .25s ease, transform .25s ease; }
.fbm-cc__close:hover, .fbm-cc__close:focus-visible { background: #E30613; transform: rotate(90deg); outline: none; }
@media (max-width: 560px) {
  .fbm-cc { padding: 10px; }
  .fbm-cc__box { padding: 22px 18px 14px; }
  .fbm-cc__actions { gap: 8px; }
  .fbm-cc__btn { min-height: 48px; padding: 0 10px; font-size: .9375rem; letter-spacing: .05em; }
}
/* Плашка вместо нерабочего видео (includes/legacy-video.php) */
.fbm-video-gone { box-sizing: border-box; width: 100%; display: grid; place-items: center; align-content: center; gap: 6px; aspect-ratio: 16 / 9; max-width: 720px; margin: 1em auto; padding: 24px; text-align: center;
  background: #F4F2EE repeating-linear-gradient(-45deg, transparent 0 14px, rgba(20,39,92,.04) 14px 28px); border: 1px solid #E1DED7; color: #6B7080; }
.fbm-video-gone::before { content: ""; width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; opacity: .55;
  background: linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.fbm-video-gone__title { margin: 4px 0 0; font: 500 1.0625rem Oswald, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #2B2E36; }
.fbm-video-gone__text { max-width: 46ch; margin: 0; font-size: .875rem; line-height: 1.45; }
