:root {
  --consent-color: #558A32;
  --consent-danger: #a2353d;
  --consent-text: #4d5560;
  --consent-border: #d9dde1;
}

#cc-overlay {
  align-items: center;
  background: rgba(0, 0, 0, 0.8);
  bottom: 0;
  display: none;
  justify-content: center;
  left: 0;
  padding: 16px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 2147483630;
}

#consent-popup {
  background: #ffffff;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  color: var(--consent-text);
  display: none;
  font-family: Arial, Helvetica, sans-serif;
  left: 50%;
  line-height: 1.42;
  max-height: calc(100vh - 32px);
  overflow: auto;
  position: fixed;
  text-align: left;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(600px, calc(100vw - 32px));
  z-index: 2147483631;
}

#consent-popup.cc-modal-wide {
  width: min(760px, calc(100vw - 32px));
}

#consent-popup.cc-modal-age {
  width: min(600px, calc(100vw - 32px));
}

#consent-popup.cc-modal-image {
  width: min(600px, calc(100vw - 32px));
}

#consent-popup * {
  box-sizing: border-box;
}

#consent-popup .cc-logo {
  border-bottom: 1px solid var(--consent-border);
  padding: 24px 16px 16px;
  text-align: center;
}

#consent-popup .cc-logo img {
  display: inline-block;
  height: auto;
  max-width: 245px;
}

#consent-popup .cc-body {
  padding: 18px 16px 16px;
}

#consent-popup h2 {
  color: var(--consent-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 2px;
  text-transform: none;
}

#consent-popup h3 {
  color: var(--consent-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 14px 0 4px;
  text-transform: none;
}

#consent-popup p {
  color: var(--consent-text);
  font-size: 17px;
  line-height: 1.42;
  margin: 0 0 22px;
}

#consent-popup a {
  color: var(--consent-text);
  font-weight: 700;
  text-decoration: underline;
}

#consent-popup hr {
  border: 0;
  border-top: 1px solid var(--consent-border);
  margin: 12px 0 12px;
}

#consent-popup .cc-small-text {
  font-size: 13px;
  font-style: italic;
  line-height: 1.35;
  margin-bottom: 0;
}

#consent-popup .cc-actions {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-top: 22px;
}

#consent-popup .cc-actions-three .cc-button {
  flex: 1 1 0;
}

#consent-popup .cc-button {
  align-items: center;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.25;
  min-height: 48px;
  padding: 12px 18px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

#consent-popup .cc-button-primary {
  background: var(--consent-color);
  border: 2px solid var(--consent-color);
  color: #ffffff;
}

#consent-popup .cc-button-primary:hover {
  background: #46752a;
  border-color: #46752a;
}

#consent-popup .cc-button-danger {
  background: var(--consent-danger);
  border: 2px solid var(--consent-danger);
  color: #ffffff;
}

#consent-popup .cc-button-danger:hover {
  background: #8f2c34;
  border-color: #8f2c34;
}

#consent-popup .cc-button-outline {
  background: #ffffff;
  border: 2px solid var(--consent-color);
  color: var(--consent-color);
}

#consent-popup .cc-button-outline:hover {
  background: #f3f8ef;
}

#consent-popup .cc-split {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr 220px;
  padding-top: 18px;
}

#consent-popup .cc-side-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#consent-popup .cc-side-actions .cc-button {
  width: 100%;
}

#consent-popup .cc-image-layout {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr 230px;
}

#consent-popup .cc-image-copy p {
  font-size: 15px;
  margin-bottom: 14px;
}

#consent-popup .cc-danger-text {
  background: transparent;
  border: 0;
  color: var(--consent-danger);
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.42;
  margin: 0 0 14px;
  padding: 0;
  text-align: left;
}

#consent-popup .cc-danger-text:hover,
#consent-popup .cc-danger-text:focus {
  text-decoration: underline;
}

#consent-popup .cc-is-hidden {
  display: none;
}

#consent-popup .cc-link-button {
  background: transparent;
  border: 0;
  color: var(--consent-text);
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin: 8px 0 2px;
  padding: 0;
  text-align: left;
}

#consent-popup .cc-image-action-panel {
  align-self: center;
  background: #f3f8ef;
  border-radius: 12px;
  padding: 10px;
}

#consent-popup .cc-image-action-panel .cc-button {
  min-height: 74px;
  width: 100%;
}

#consent-popup .cc-toggle-grid {
  border: 1px solid var(--consent-border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 20px 0;
}

#consent-popup .cc-toggle-box {
  align-items: center;
  border-right: 1px solid var(--consent-border);
  color: var(--consent-text);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 9px;
  justify-content: center;
  margin: 0;
  min-height: 86px;
  padding: 12px 8px;
}

#consent-popup .cc-toggle-box:last-child {
  border-right: 0;
}

#consent-popup .cc-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

#consent-popup .cc-switch input {
  height: 0;
  opacity: 0;
  width: 0;
}

#consent-popup .cc-slider {
  background: #c7cdd2;
  border-radius: 34px;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.2s;
}

#consent-popup .cc-slider:before {
  background: #ffffff;
  border-radius: 50%;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: 0.2s;
  width: 26px;
}

#consent-popup .cc-switch input:checked + .cc-slider {
  background: #558a32;
}

#consent-popup .cc-switch input:checked + .cc-slider:before {
  transform: translateX(26px);
}

#consent-popup .cc-switch input:disabled + .cc-slider {
  cursor: not-allowed;
  opacity: 0.65;
}

#consent-popup .cc-toggle-text {
  color: #000000;
  font-size: 14px;
  line-height: 1.2;
}

#consent-popup .cc-toggle-text.disabled {
  color: #8b9298;
}

#consent-popup .cc-details {
  border-top: 1px solid var(--consent-border);
  color: var(--consent-text);
  font-size: 14px;
  padding-top: 12px;
}

#consent-popup .cc-details summary {
  cursor: pointer;
  font-weight: 700;
}

#consent-popup .cc-details p {
  font-size: 14px;
  margin-bottom: 8px;
}

#small-consent-box {
  bottom: 10px;
  cursor: pointer;
  left: 10px;
  padding: 10px;
  position: fixed;
  z-index: 1000;
}

#small-consent-box .material-symbols-outlined {
  color: var(--consent-color);
  font-size: 24px;
  transition: transform 0.2s ease;
}

#small-consent-box .material-symbols-outlined:hover {
  transform: scale(1.15);
}

body div.toggle-image-visibility,
div#newlaw,
body div.iqitcontent-element-id-48 {
  display: none;
}

@media (max-width: 768px) {
  #cc-overlay {
    padding: 8px;
  }

  #consent-popup,
  #consent-popup.cc-modal-wide,
  #consent-popup.cc-modal-age,
  #consent-popup.cc-modal-image {
    width: calc(100vw - 16px);
  }

  #consent-popup .cc-logo {
    padding: 18px 12px 12px;
  }

  #consent-popup .cc-logo img {
    max-width: 210px;
  }

  #consent-popup .cc-body {
    padding: 16px 14px;
  }

  #consent-popup h2 {
    font-size: 18px;
  }

  #consent-popup p {
    font-size: 14px;
    margin-bottom: 14px;
  }

  #consent-popup .cc-actions,
  #consent-popup .cc-actions-three,
  #consent-popup .cc-side-actions {
    flex-direction: column;
    gap: 9px;
  }

  #consent-popup .cc-split,
  #consent-popup .cc-image-layout {
    display: block;
  }

  #consent-popup .cc-side-actions,
  #consent-popup .cc-image-action-panel {
    margin-top: 16px;
  }

  #consent-popup .cc-toggle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  #consent-popup .cc-toggle-box:nth-child(2) {
    border-right: 0;
  }

  #consent-popup .cc-toggle-box:nth-child(1),
  #consent-popup .cc-toggle-box:nth-child(2) {
    border-bottom: 1px solid var(--consent-border);
  }

  #consent-popup .cc-button {
    font-size: 15px;
    min-height: 44px;
    width: 100%;
  }
}
