/* Plugin-owned presentation/accessibility overrides. Vendor CSS remains untouched. */
#stcm-wrapper.sopsr-cc { color-scheme: light; }
#stcm-wrapper.sopsr-cc * { box-sizing: border-box; }
#stcm-wrapper.sopsr-cc #stcm-backdrop { z-index: 0; }
#stcm-wrapper.sopsr-cc #stcm-modal { position: relative; z-index: 2; }
#stcm-wrapper.sopsr-cc #stcm-banner, #stcm-wrapper.sopsr-cc #stcm-icon { z-index: 2; }
#stcm-wrapper.sopsr-cc #stcm-banner,
#stcm-wrapper.sopsr-cc #stcm-modal { background: var(--backgroundColor); color: var(--textColor); font-family: var(--fontFamily); border: 1px solid var(--cc-border); border-radius: var(--cc-radius); padding: var(--cc-spacing); max-height: calc(100dvh - 32px); overflow: auto; font-size: 16px; line-height: 1.6; opacity: 1; animation: none; transform: none; }
#stcm-wrapper.sopsr-cc #stcm-banner { width: min(var(--cc-banner-width), calc(100vw - 32px)); }
#stcm-wrapper.sopsr-cc #stcm-banner.stcm-pos-center { transform: translate(-50%, -50%); }
#stcm-wrapper.sopsr-cc #stcm-banner.stcm-pos-bottom-center { transform: translateX(-50%); }
#stcm-wrapper.sopsr-cc #stcm-modal { width: min(var(--cc-modal-width), calc(100vw - 32px)); }
#stcm-wrapper.sopsr-cc #stcm-modal h1 { font-size: 1.5rem; line-height: 1.3; padding-right: 36px; color: inherit; }
#stcm-wrapper.sopsr-cc .stcm-button { background: var(--cc-button-background, var(--primaryColor)); color: var(--cc-button-text, var(--cc-primary-text)); border: 0px solid var(--cc-button-border, var(--primaryColor)); border-radius: max(4px, calc(var(--cc-radius) / 2)); padding: 10px 20px; font: inherit; text-align: center; white-space: normal; cursor: pointer; }
#stcm-wrapper.sopsr-cc .stcm-button:hover { background: var(--cc-button-hover, var(--cc-hover)); color: var(--cc-button-hover-text, var(--cc-primary-text)); border-color: var(--cc-button-hover-border, var(--cc-hover)); }
#stcm-wrapper.sopsr-cc #stcm-banner .stcm-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#stcm-wrapper.sopsr-cc #stcm-banner .stcm-actions > .stcm-button { width: 100%; }
#stcm-wrapper.sopsr-cc #stcm-banner .stcm-preferences-button { --cc-button-background: var(--cc-secondary); --cc-button-text: var(--cc-secondary-text); }
#stcm-wrapper.sopsr-cc a { color: var(--primaryColor); text-decoration: underline; cursor: pointer; overflow-wrap: anywhere; }
#stcm-wrapper.sopsr-cc .sopsr-policy-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
#stcm-wrapper.sopsr-cc .sopsr-policy-links:empty { display: none; }
#stcm-wrapper.sopsr-cc :is(button,a,input,select):focus-visible { outline: 3px solid var(--cc-focus) !important; outline-offset: 4px; box-shadow: 0 0 0 2px var(--backgroundColor) !important; }
#stcm-wrapper.sopsr-cc .stcm-toggle:has(input:focus-visible) { outline: 3px solid var(--cc-focus); outline-offset: 4px; border-radius: 8px; }
#stcm-wrapper.sopsr-cc .stcm-toggle input:checked ~ .stcm-toggle-track { background: var(--cc-toggle); }
#stcm-wrapper.sopsr-cc .stcm-toggle span { pointer-events: none; }
#stcm-wrapper.sopsr-cc .stcm-toggle input { inset: 0; width: 100%; height: 100%; margin: 0; z-index: 1; cursor: pointer; }
#stcm-wrapper.sopsr-cc .stcm-toggle input:disabled { cursor: not-allowed; }
#stcm-wrapper.sopsr-cc #stcm-icon { width: var(--cc-float-size); height: var(--cc-float-size); min-width: 44px; min-height: 44px; background: var(--iconBackgroundColor); color: var(--iconColor); font-size: 28px; }
#stcm-wrapper.sopsr-cc #stcm-icon svg { fill: var(--iconColor); width: 65%; height: 65%; }
#stcm-wrapper.sopsr-cc #stcm-icon:hover { background: var(--cc-float-hover); }
#stcm-wrapper.sopsr-cc .stcm-modal-close { width: 44px; height: 44px; color: var(--textColor); }
#stcm-wrapper.sopsr-cc .stcm-modal-close svg { fill: currentColor; }
#stcm-wrapper.sopsr-cc select { max-width: 100%; min-height: 44px; font: inherit; color: var(--textColor); background: var(--backgroundColor); border: 1px solid var(--cc-border); border-radius: 6px; padding: 6px 10px; }
#stcm-wrapper.sopsr-cc fieldset { min-width: 0; border-color: var(--cc-border); }
#stcm-wrapper.sopsr-cc legend { color: inherit; }
#stcm-wrapper.sopsr-cc .stcm-consent-description { overflow-wrap: anywhere; }
#stcm-wrapper.sopsr-cc .sopsr-cc-status { position: fixed; z-index: 100000; bottom: 12px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 150px); border-radius: 8px; padding: 10px 16px; background: var(--backgroundColor); color: var(--textColor); box-shadow: 0 2px 16px #0003; font: 14px/1.5 var(--fontFamily); pointer-events: none; opacity: 1; transition: opacity 240ms ease, transform 240ms ease; }
#stcm-wrapper.sopsr-cc .sopsr-cc-status.is-leaving { opacity: 0; transform: translate(-50%, 8px); }
#stcm-wrapper.sopsr-cc .sopsr-cc-status:empty { display: none; }
.sopsr-cc-open { box-sizing: border-box; min-height: 44px; cursor: pointer; font-family: var(--sopsr-open-font-family, inherit); font-size: var(--sopsr-open-font-size, inherit); font-weight: var(--sopsr-open-font-weight, inherit); line-height: var(--sopsr-open-line-height, inherit); color: var(--sopsr-open-color, inherit); background: var(--sopsr-open-background, ButtonFace); border-color: var(--sopsr-open-border-color, ButtonBorder); border-style: var(--sopsr-open-border-style, solid); border-width: var(--sopsr-open-border-width, 1px); border-radius: var(--sopsr-open-border-radius, 4px); padding: var(--sopsr-open-padding-vertical, 8px) var(--sopsr-open-padding-horizontal, 14px); margin: var(--sopsr-open-margin, 0); text-decoration: var(--sopsr-open-text-decoration, none); }
.sopsr-cc-open:hover { color: var(--sopsr-open-hover-color, inherit); background: var(--sopsr-open-hover-background, ButtonFace); border-color: var(--sopsr-open-hover-border-color, ButtonBorder); text-decoration: var(--sopsr-open-hover-text-decoration, var(--sopsr-open-text-decoration, none)); }
.sopsr-cc-open:focus-visible { color: var(--sopsr-open-focus-color, inherit); background: var(--sopsr-open-focus-background, ButtonFace); outline: 3px solid #7c3aed; outline-offset: 3px; }
.sopsr-cc-open:active { color: var(--sopsr-open-active-color, var(--sopsr-open-color, inherit)); background: var(--sopsr-open-active-background, var(--sopsr-open-background, ButtonFace)); border-color: var(--sopsr-open-active-border-color, var(--sopsr-open-border-color, ButtonBorder)); text-decoration: var(--sopsr-open-active-text-decoration, var(--sopsr-open-text-decoration, none)); }
.sopsr-cc-open[data-sopsr-width="full"] { display: block; width: 100%; }
.sopsr-cc-open-link { display: inline; min-height: 0; width: auto; max-width: 100%; vertical-align: baseline; padding: var(--sopsr-open-padding-vertical, 0) var(--sopsr-open-padding-horizontal, 0); border: var(--sopsr-open-border-width, 0) var(--sopsr-open-border-style, none) var(--sopsr-open-border-color, transparent); border-radius: var(--sopsr-open-border-radius, 0); background: var(--sopsr-open-background, transparent); color: var(--sopsr-open-color, inherit); font-family: var(--sopsr-open-font-family, inherit); font-size: var(--sopsr-open-font-size, inherit); font-weight: var(--sopsr-open-font-weight, inherit); line-height: var(--sopsr-open-line-height, inherit); text-decoration: var(--sopsr-open-text-decoration, underline); appearance: none; }
.sopsr-cc-open-link:hover { background: var(--sopsr-open-hover-background, transparent); border-color: var(--sopsr-open-hover-border-color, var(--sopsr-open-border-color, transparent)); color: var(--sopsr-open-hover-color, currentColor); text-decoration: var(--sopsr-open-hover-text-decoration, underline); }
.sopsr-cc-open.sopsr-cc-open-link:active { color: var(--sopsr-open-active-color, var(--sopsr-open-color, currentColor)); background: var(--sopsr-open-active-background, transparent); border-color: var(--sopsr-open-active-border-color, transparent); text-decoration: var(--sopsr-open-active-text-decoration, underline); box-shadow: none; transform: none; filter: none; }
.sopsr-cc-open-link:focus-visible { background: var(--sopsr-open-focus-background, transparent); color: var(--sopsr-open-focus-color, currentColor); }
.sopsr-cc-open-custom { max-width: 100%; }
.sopsr-cc-open:focus-visible { outline: 3px solid #7c3aed; outline-offset: 3px; }
.sopsr-blocked-content { display: grid; place-items: center; position: relative; width: 100%; max-width: min(100%, var(--sopsr-block-max-width, 960px)); min-height: var(--sopsr-block-min-height, 180px); aspect-ratio: var(--sopsr-block-aspect, 16/9); overflow: hidden; background: rgba(var(--sopsr-block-bg-rgb, 248,250,252), var(--sopsr-block-opacity, .86)); color: var(--sopsr-block-heading-color, #172033); border: var(--sopsr-block-border-width, 1px) var(--sopsr-block-border-style, solid) var(--sopsr-block-border, #cbd5e1); border-radius: var(--sopsr-block-radius, 12px); font-family: inherit; }
.sopsr-blocked-copy { display: grid; gap: var(--sopsr-block-gap, 10px); width: min(100%, 680px); padding: var(--sopsr-block-padding, 20px); text-align: var(--sopsr-block-align, center); }
.sopsr-blocked-title { margin: 0; color: var(--sopsr-block-heading-color, #172033); font-family: var(--sopsr-block-heading-font-family, inherit); font-size: var(--sopsr-block-heading-font-size, 1.25rem); font-weight: var(--sopsr-block-heading-font-weight, 700); line-height: var(--sopsr-block-heading-line-height, 1.3); }
.sopsr-blocked-copy p { margin: 0; overflow-wrap: anywhere; }
.sopsr-blocked-meta { color: var(--sopsr-block-service-color, #475569); font-family: var(--sopsr-block-service-font-family, inherit); font-size: var(--sopsr-block-service-font-size, .875rem); font-weight: var(--sopsr-block-service-font-weight, 500); line-height: var(--sopsr-block-service-line-height, 1.4); }
.sopsr-blocked-description { color: var(--sopsr-block-description-color, #334155); font-family: var(--sopsr-block-description-font-family, inherit); font-size: var(--sopsr-block-description-font-size, .9375rem); font-weight: var(--sopsr-block-description-font-weight, 400); line-height: var(--sopsr-block-description-line-height, 1.5); }
.sopsr-blocked-icon { font-size: 24px; line-height: 1; }
.sopsr-blocked-actions { display: flex; gap: var(--sopsr-block-button-gap, 8px); align-items: stretch; width: 100%; }
.sopsr-blocked-actions button { flex: 1 1 0; min-width: 0; max-width: 100%; min-height: 44px; padding: var(--sopsr-block-button-padding-vertical, 10px) var(--sopsr-block-button-padding-horizontal, 12px); border: var(--sopsr-block-button-border-width, 1px) solid var(--sopsr-button-border); border-radius: var(--sopsr-block-button-radius, 8px); background: var(--sopsr-button-background); color: var(--sopsr-button-text); font-family: var(--sopsr-block-button-font-family, inherit); font-size: var(--sopsr-block-button-font-size, .875rem); font-weight: var(--sopsr-block-button-font-weight, 600); line-height: var(--sopsr-block-button-line-height, 1.3); text-align: center; overflow-wrap: anywhere; white-space: normal; cursor: pointer; }
.sopsr-blocked-actions button:hover { color: var(--sopsr-button-hover-text); background: var(--sopsr-button-hover-background); border-color: var(--sopsr-button-hover-border); }
.sopsr-blocked-actions button:focus-visible { color: var(--sopsr-button-focus-text); background: var(--sopsr-button-focus-background); border-color: var(--sopsr-button-focus-border); outline: 3px solid var(--sopsr-block-focus-ring, #7c3aed); outline-offset: 2px; }
.sopsr-blocked-actions button[data-sopsr-once] { --sopsr-button-text: var(--sopsr-block-once-text, #ffffff); --sopsr-button-background: var(--sopsr-block-once-background, #1f2937); --sopsr-button-border: var(--sopsr-block-once-border, #1f2937); --sopsr-button-hover-text: var(--sopsr-block-once-hover-text, #ffffff); --sopsr-button-hover-background: var(--sopsr-block-once-hover-background, #0f172a); --sopsr-button-hover-border: var(--sopsr-block-once-hover-border, #0f172a); --sopsr-button-focus-text: var(--sopsr-block-once-focus-text, #ffffff); --sopsr-button-focus-background: var(--sopsr-block-once-focus-background, #1f2937); --sopsr-button-focus-border: var(--sopsr-block-once-focus-border, #7c3aed); }
.sopsr-blocked-actions button[data-sopsr-category] { --sopsr-button-text: var(--sopsr-block-category-text, #1f2937); --sopsr-button-background: var(--sopsr-block-category-background, #ffffff); --sopsr-button-border: var(--sopsr-block-category-border, #64748b); --sopsr-button-hover-text: var(--sopsr-block-category-hover-text, #111827); --sopsr-button-hover-background: var(--sopsr-block-category-hover-background, #e2e8f0); --sopsr-button-hover-border: var(--sopsr-block-category-hover-border, #475569); --sopsr-button-focus-text: var(--sopsr-block-category-focus-text, #111827); --sopsr-button-focus-background: var(--sopsr-block-category-focus-background, #ffffff); --sopsr-button-focus-border: var(--sopsr-block-category-focus-border, #7c3aed); }
.sopsr-blocked-actions button[data-sopsr-preferences] { --sopsr-button-text: var(--sopsr-block-settings-text, #1f2937); --sopsr-button-background: var(--sopsr-block-settings-background, #ffffff); --sopsr-button-border: var(--sopsr-block-settings-border, #64748b); --sopsr-button-hover-text: var(--sopsr-block-settings-hover-text, #111827); --sopsr-button-hover-background: var(--sopsr-block-settings-hover-background, #e2e8f0); --sopsr-button-hover-border: var(--sopsr-block-settings-hover-border, #475569); --sopsr-button-focus-text: var(--sopsr-block-settings-focus-text, #111827); --sopsr-button-focus-background: var(--sopsr-block-settings-focus-background, #ffffff); --sopsr-button-focus-border: var(--sopsr-block-settings-focus-border, #7c3aed); }
.sopsr-blocked-content.sopsr-blocked-allowed { display: block; width: 100%; max-width: 100%; min-height: 0; aspect-ratio: var(--sopsr-frame-aspect, auto); overflow: visible; padding: 0; border: 0; border-radius: 0; background: transparent; }
.sopsr-blocked-allowed :is(iframe,object,embed) { display: block; width: 100%; height: 100%; min-height: 0; border: 0; }
.wp-embed-responsive .wp-embed-aspect-16-9 .wp-block-embed__wrapper.sopsr-blocked-embed::before,
.wp-embed-responsive .wp-block-embed__wrapper.sopsr-blocked-embed::before,
.wp-block-embed__wrapper.sopsr-blocked-embed::before { content: none !important; display: none !important; padding-top: 0 !important; }
#stcm-wrapper.sopsr-cc #stcm-banner > p { font-family: var(--sopsr-type-banner-body-font-family, inherit); font-size: var(--sopsr-type-banner-body-font-size, 16px); font-weight: var(--sopsr-type-banner-body-font-weight, inherit); line-height: var(--sopsr-type-banner-body-line-height, inherit); }
#stcm-wrapper.sopsr-cc #stcm-banner :is(h1,h2,h3) { font-family: var(--sopsr-type-banner-title-font-family, inherit); font-size: var(--sopsr-type-banner-title-font-size, inherit); font-weight: var(--sopsr-type-banner-title-font-weight, inherit); line-height: var(--sopsr-type-banner-title-line-height, inherit); }
#stcm-wrapper.sopsr-cc #stcm-modal h1 { font-family: var(--sopsr-type-modal-title-font-family, inherit); font-size: var(--sopsr-type-modal-title-font-size, 1.5rem); font-weight: var(--sopsr-type-modal-title-font-weight, 500); line-height: var(--sopsr-type-modal-title-line-height, 1.3); }
#stcm-wrapper.sopsr-cc #stcm-modal > p { font-family: var(--sopsr-type-modal-body-font-family, inherit); font-size: var(--sopsr-type-modal-body-font-size, inherit); font-weight: var(--sopsr-type-modal-body-font-weight, inherit); line-height: var(--sopsr-type-modal-body-line-height, inherit); }
#stcm-wrapper.sopsr-cc #stcm-modal fieldset legend { font-family: var(--sopsr-type-category-title-font-family, inherit); font-size: var(--sopsr-type-category-title-font-size, inherit); font-weight: var(--sopsr-type-category-title-font-weight, inherit); line-height: var(--sopsr-type-category-title-line-height, inherit); }
#stcm-wrapper.sopsr-cc .stcm-consent-description { font-family: var(--sopsr-type-category-description-font-family, inherit); font-size: var(--sopsr-type-category-description-font-size, inherit); font-weight: var(--sopsr-type-category-description-font-weight, inherit); line-height: var(--sopsr-type-category-description-line-height, inherit); }
#stcm-wrapper.sopsr-cc .stcm-button { font-family: var(--sopsr-type-buttons-font-family, inherit); font-size: var(--sopsr-type-buttons-font-size, inherit); font-weight: var(--sopsr-type-buttons-font-weight, inherit); line-height: var(--sopsr-type-buttons-line-height, inherit); }
@media (max-width: 600px) {
  .sopsr-blocked-content:not(.sopsr-blocked-allowed) { min-height: 0; aspect-ratio: auto; }
  .sopsr-blocked-copy { width: 100%; }
  .sopsr-blocked-icon { display: none; }
  .sopsr-blocked-meta { display: var(--sopsr-block-mobile-service, none); }
  .sopsr-blocked-description { display: var(--sopsr-block-mobile-description, none); }
  .sopsr-blocked-actions { flex-direction: column; }
  .sopsr-blocked-actions button { flex: 0 0 auto; width: 100%; }
}
.sopsr-blocked-content.sopsr-preview-mobile { min-height: 0; aspect-ratio: auto; }
.sopsr-preview-mobile .sopsr-blocked-copy { width: 100%; }
.sopsr-preview-mobile .sopsr-blocked-icon { display: none; }
.sopsr-preview-mobile .sopsr-blocked-meta { display: var(--sopsr-block-mobile-service, none); }
.sopsr-preview-mobile .sopsr-blocked-description { display: var(--sopsr-block-mobile-description, none); }
.sopsr-preview-mobile .sopsr-blocked-actions { flex-direction: column; }
.sopsr-preview-mobile .sopsr-blocked-actions button { flex: 0 0 auto; width: 100%; }
#stcm-wrapper.sopsr-cc #stcm-icon { font-family: var(--sopsr-type-floating-button-font-family, inherit); font-size: var(--sopsr-type-floating-button-font-size, 28px); font-weight: var(--sopsr-type-floating-button-font-weight, inherit); line-height: var(--sopsr-type-floating-button-line-height, 1); }
@media (max-width: 480px) {
  #stcm-wrapper.sopsr-cc #stcm-banner, #stcm-wrapper.sopsr-cc #stcm-banner.stcm-pos-center, #stcm-wrapper.sopsr-cc #stcm-banner.stcm-pos-bottom-center { left: 12px; right: 12px; top: auto; bottom: 12px; width: calc(100vw - 24px); transform: none; padding: min(var(--cc-spacing), 20px); }
  #stcm-wrapper.sopsr-cc #stcm-modal { width: calc(100vw - 24px); padding: min(var(--cc-spacing), 20px); }
  #stcm-wrapper.sopsr-cc #stcm-banner .stcm-actions { grid-template-columns: 1fr; }
  #stcm-wrapper.sopsr-cc .stcm-consent-row { gap: 12px; }
  #stcm-wrapper.sopsr-cc #stcm-modal footer { display: flex; flex-direction: column; }
  #stcm-wrapper.sopsr-cc .sopsr-cc-status { max-width: calc(100vw - 24px); bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  #stcm-wrapper.sopsr-cc *, #stcm-wrapper.sopsr-cc *::before, #stcm-wrapper.sopsr-cc *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
