/* SHI consent styling on top of cookieconsent.css (3.1.0), v1.0.22. Navy actions (owner 18 Nov), navy text, warm grey. */
#cc-main{
  --cc-font-family:inherit;
  --cc-modal-border-radius:14px;
  --cc-btn-border-radius:10px;
  --cc-bg:#fff;
  --cc-primary-color:#0D1846;
  --cc-secondary-color:#3b4466;
  --cc-btn-primary-bg:#0D1846;
  --cc-btn-primary-color:#fff;
  --cc-btn-primary-border-color:#0D1846;
  --cc-btn-primary-hover-bg:#26346F;
  --cc-btn-primary-hover-color:#fff;
  --cc-btn-primary-hover-border-color:#26346F;
  --cc-btn-secondary-bg:#F0EEEB;
  --cc-btn-secondary-color:#0D1846;
  --cc-btn-secondary-border-color:#F0EEEB;
  --cc-btn-secondary-hover-bg:#E3E0DB;
  --cc-btn-secondary-hover-color:#0D1846;
  --cc-btn-secondary-hover-border-color:#E3E0DB;
  --cc-separator-border-color:#E7E5E1;
  --cc-toggle-on-bg:#0652AE;
  --cc-toggle-off-bg:#7d8496;
  --cc-toggle-on-knob-bg:#fff;
  --cc-toggle-readonly-bg:#C9D7EA;
  --cc-toggle-readonly-knob-bg:#fff;
  --cc-section-category-border:#E7E5E1;
  --cc-cookie-category-block-bg:#F7F6F4;
  --cc-cookie-category-block-border:#F0EEEB;
  --cc-cookie-category-block-hover-bg:#F0EEEB;
  --cc-cookie-category-block-hover-border:#E3E0DB;
  --cc-cookie-category-expanded-block-bg:#fff;
  --cc-cookie-category-expanded-block-hover-bg:#F7F6F4;
  --cc-overlay-bg:rgba(13,24,70,.55);
  --cc-link-color:#0652AE;
  --cc-z-index:2147483600;
  color:#0D1846;
}
#cc-main .cm{max-width:25rem;box-shadow:0 10px 36px rgba(13,24,70,.22);border-top:4px solid #0079C8}
#cc-main .cm__title{font-size:1.02rem;font-weight:700}
#cc-main .cm__desc{font-size:.86rem;line-height:1.5;max-height:none}
#cc-main .cm__btn{font-size:.9rem;font-weight:600;min-height:44px}
#cc-main .cc__link,#cc-main a{text-decoration:underline;text-underline-offset:2px;font-weight:600}
/* Buttons (v1.0.15, owner 18 Nov): Accept all = dark navy; Reject optional = white, navy text, clear navy border,
 * same size and weight as Accept; Customise / Save = white outlined secondary. Applies to the banner and the panel. */
#cc-main .cm__btn,#cc-main .pm__btn{font-weight:700;border-width:2px;border-style:solid;min-height:44px}
#cc-main .cm__btn[data-role="all"],#cc-main .pm__btn[data-role="all"]{background:#0D1846;color:#fff;border-color:#0D1846}
#cc-main .cm__btn[data-role="all"]:hover,#cc-main .pm__btn[data-role="all"]:hover{background:#26346F;color:#fff;border-color:#26346F}
#cc-main .cm__btn[data-role="necessary"],#cc-main .pm__btn[data-role="necessary"]{background:#fff;color:#0D1846;border-color:#0D1846}
#cc-main .cm__btn[data-role="necessary"]:hover,#cc-main .pm__btn[data-role="necessary"]:hover{background:#EDF0F7;color:#0D1846;border-color:#0D1846}
#cc-main .cm__btn[data-role="show"],#cc-main .pm__btn[data-role="save"]{background:#fff;color:#0D1846;border-color:#69718C;font-weight:600}
#cc-main .cm__btn[data-role="show"]:hover,#cc-main .pm__btn[data-role="save"]:hover{background:#F4F5F8;color:#0D1846;border-color:#0D1846}
/* Accept and Reject always share one row at exactly equal width (banner and panel, desktop and phone) */
#cc-main .cm__btn-group:has(>[data-role="all"]),#cc-main .pm__btn-group:has(>[data-role="all"]){display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
#cc-main .cm__btn[data-role="all"],#cc-main .cm__btn[data-role="necessary"],#cc-main .pm__btn[data-role="all"],#cc-main .pm__btn[data-role="necessary"]{width:100%;min-width:0;margin:0!important;white-space:normal}
@media (min-width:641px){#cc-main .pm__btn-group:has(>[data-role="all"]){grid-template-columns:1fr 1fr}#cc-main .pm__btn[data-role="all"],#cc-main .pm__btn[data-role="necessary"]{white-space:nowrap}}
/* very narrow phones (long labels such as Russian): keep the full word inside the button; hyphenate only as a last resort */
/* cookie and storage tables inside the panel */
#cc-main .pm__section-table{font-size:.8rem}
#cc-main .pm__table-caption{text-align:left;font-weight:700;font-size:.82rem;padding:.4em 0 .5em;color:#0D1846}
#cc-main .pm__table-th{color:#0D1846}
#cc-main .pm__table-td{color:#2b3352;vertical-align:top;overflow-wrap:anywhere}
#cc-main :focus-visible{outline:3px solid #D02670;outline-offset:2px}
#cc-main .pm__title{font-weight:700}
#cc-main .pm__section-desc{font-size:.88rem;line-height:1.55}

/* compact phone layout: accept + reject side by side, customise below, ~40% of the screen */
@media (max-width:640px){
  #cc-main .cm--box.cm--inline,#cc-main .cm{left:8px!important;right:8px!important;bottom:8px!important;max-width:none;width:auto}
  #cc-main .cm__body{padding:0}
  #cc-main .cm__texts{padding:14px 16px 4px}
  #cc-main .cm__title{font-size:.98rem;padding-top:0}
  #cc-main .cm__desc{font-size:.82rem;line-height:1.45;padding-bottom:8px}
  #cc-main .cm__btns{padding:8px 12px 12px;gap:8px}
  #cc-main .cm.cm--box .cm__btns .cm__btn-group{display:flex!important;gap:8px;flex-direction:row!important}
  #cc-main .cm.cm--box .cm__btns .cm__btn-group .cm__btn{flex:1 1 0;margin:0!important}
  #cc-main .cm.cm--box .cm__btns{flex-direction:column;gap:8px}
  #cc-main .cm__btn{min-height:44px;padding:.6em .5em;font-size:.86rem}
}

/* persistent settings control */
#shi-cc-open{position:fixed;left:8px;bottom:12px;z-index:2147483000;display:inline-flex;align-items:center;gap:6px;
  min-width:40px;min-height:40px;padding:0 10px;border-radius:999px;border:1px solid #C9D7EA;background:#fff;color:#0652AE;
  font-family:inherit;font-weight:600;font-size:13px;line-height:1;box-shadow:0 2px 10px rgba(13,24,70,.18);cursor:pointer;transition:bottom .15s ease}
#shi-cc-open:hover{background:#DDEDF8}
#shi-cc-open:focus-visible{outline:3px solid #D02670;outline-offset:2px}
html.show--consent:not(.show--preferences) #shi-cc-open{display:none}
@media (max-width:640px){#shi-cc-open{padding:0;width:40px;justify-content:center}#shi-cc-open .shi-cc-open__t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}}
@media print{#shi-cc-open{display:none}}

/* click-to-load embeds */
[data-shi-embed]{position:relative}
.shi-embed-ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  padding:16px;text-align:center;background:#0D1846;color:#fff;border-radius:inherit;font-size:.92rem;line-height:1.45;z-index:2}
.shi-embed-ph p{margin:0;max-width:30em;color:#fff}
.shi-embed-ph button{min-height:44px;padding:0 18px;border-radius:10px;border:0;background:#fff;color:#0652AE;font-weight:700;cursor:pointer;font-family:inherit}
.shi-embed-ph button:focus-visible{outline:3px solid #D02670;outline-offset:2px}
/* Google Preferred Source: static deeplink button (no Google script until the visitor clicks) */
.shi-ps-link{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid #dadce0;
  background:#fff;color:#1f1f1f!important;font-family:inherit;font-size:14px;font-weight:500;line-height:1.2;text-decoration:none!important;white-space:nowrap}
.shi-ps-link:hover{background:#f6f8fc}
.shi-ps-link:focus-visible{outline:3px solid #D02670;outline-offset:2px}
.shi-ps-link--dark{background:#131314;border-color:#8e918f;color:#e3e3e3!important}
.shi-ps-link--dark:hover{background:#1f1f1f}
@media (max-width:400px){.shi-ps-link{white-space:normal}}

/* while the Customise panel is open the first-layer banner is inert and hidden */
html.shi-pm-open #cc-main .cm-wrapper,html.shi-pm-open #cc-main .cm-wrapper .cm{visibility:hidden!important;pointer-events:none}

/* ---------- Button hierarchy (v1.0.17, owner 18 Nov) ----------
 * Accept all and Reject optional are the largest actions, equal in size and weight (navy fill / white with navy border).
 * Customise (banner) and Save my choices (panel) are visibly secondary: smaller text, shorter, content-width, never
 * full width, but still at least 44px tall. Placed last so it wins over the library and phone-layout rules above. */
#cc-main .cm__btn[data-role="all"],#cc-main .cm__btn[data-role="necessary"],
#cc-main .pm__btn[data-role="all"],#cc-main .pm__btn[data-role="necessary"]{min-height:54px!important;font-size:1rem!important;font-weight:700!important;padding:.7em .9em!important;border-width:2px!important}
#cc-main .cm__btn[data-role="show"],#cc-main .pm__btn[data-role="save"]{min-height:44px!important;font-size:.84rem!important;font-weight:600!important;
  padding:.4em 1.1em!important;width:auto!important;flex:0 0 auto!important;max-width:100%;border-width:1.5px!important}
#cc-main .cm__btn-group:has(>[data-role="show"]),#cc-main .pm__btn-group:has(>[data-role="save"]){display:flex!important;justify-content:center!important;align-items:center}
@media (min-width:641px){
  /* equal columns sized by the longer label, and never narrower than 13.5em, so Save (content-width) stays narrower */
  #cc-main .pm__btn-group:has(>[data-role="all"]){grid-template-columns:1fr 1fr!important}
  #cc-main .pm__btn[data-role="all"],#cc-main .pm__btn[data-role="necessary"]{min-width:13.5em!important}
}
@media (max-width:640px){
  /* phones: Save is never wider than one of the two main buttons; long labels wrap instead */
  #cc-main .pm__btn[data-role="save"]{max-width:calc(50% - 4px)!important;white-space:normal!important}
}
/* long labels (e.g. Russian) wrap and hyphenate inside the button instead of overflowing; both stay equal (one grid row) */
#cc-main .cm__btn[data-role="all"],#cc-main .cm__btn[data-role="necessary"],
#cc-main .pm__btn[data-role="all"],#cc-main .pm__btn[data-role="necessary"]{white-space:normal!important;hyphens:auto;overflow-wrap:break-word}
@media (max-width:640px){
  #cc-main .cm__btn[data-role="all"],#cc-main .cm__btn[data-role="necessary"],
  #cc-main .pm__btn[data-role="all"],#cc-main .pm__btn[data-role="necessary"]{padding-left:.5em!important;padding-right:.5em!important}
}
/* very narrow phones: keep the full words inside the buttons */
@media (max-width:360px){
  #cc-main .cm__btn[data-role="all"],#cc-main .cm__btn[data-role="necessary"],
  #cc-main .pm__btn[data-role="all"],#cc-main .pm__btn[data-role="necessary"]{font-size:.92rem!important;padding:.6em .35em!important;hyphens:auto;overflow-wrap:break-word}
  #cc-main .cm__btn[data-role="show"],#cc-main .pm__btn[data-role="save"]{font-size:.8rem!important;hyphens:auto;overflow-wrap:break-word}
}

/* ---------- First-layer popup layout (v1.0.21, owner 22 Nov) ----------
 * Three full-width buttons stacked: 1 Accept all cookies, 2 Reject optional, 3 Customise. Same height and font size;
 * Accept and Reject equal in size and prominence. The Customise panel (and its Save my choices) is unchanged. */
#cc-main .cm.cm--box .cm__btns{display:flex!important;flex-direction:column!important;gap:8px!important}
#cc-main .cm.cm--box .cm__btns .cm__btn-group{display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important}
#cc-main .cm.cm--box .cm__btns .cm__btn-group .cm__btn{width:100%!important;max-width:none!important;flex:0 0 auto!important;margin:0!important;
  min-height:54px!important;font-size:1rem!important;font-weight:700!important;padding:.7em .9em!important;border-width:2px!important;white-space:normal!important}
@media (max-width:360px){
  #cc-main .cm.cm--box .cm__btns .cm__btn-group .cm__btn{font-size:.95rem!important;padding:.6em .5em!important}
}

/* ---------- Category switches: 24px minimum target (v1.0.22, WCAG 2.2 SC 2.5.8) ----------
 * The library draws them 50x23. Same look, 52x26, knob travel adjusted. */
#cc-main .pm__section--toggle .section__toggle,#cc-main .pm__section--toggle .section__toggle-wrapper,
#cc-main .pm__section--toggle .toggle__icon,#cc-main .pm__section--toggle .toggle__label{height:26px;width:52px}
#cc-main .pm__section--toggle .toggle__icon-circle{height:26px;width:26px}
#cc-main .pm__section--toggle .section__toggle:checked~.toggle__icon .toggle__icon-circle{transform:translateX(26px)}
