.freeprivacypolicy-com---palette-light .cc-nb-okagree {
    color: #fff !important;
    background-color: #282828 !important;
    border: 1px solid rgb(240 245 249);
}
.freeprivacypolicy-com---palette-light .cc-nb-reject {
    color: #fff !important;
    background-color: #282828 !important;
    border: 1px solid rgb(240 245 249);
}
.freeprivacypolicy-com---palette-light.freeprivacypolicy-com---nb {
    background-color: rgb(183 181 165 / 87%) !important;
    color: #111;
    border: 1px solid rgb(240 245 249);
}
.freeprivacypolicy-com---reset {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    font-size: 1rem;
    font-weight: 400;
    line-height: 0.9 !important;
    color: #212529;
    text-align: center !important;
}
.freeprivacypolicy-com---nb-simple {
    right: 0;
    top: auto;
    bottom: 0;
    left: auto;
    max-width: 100% !important;
    position: fixed;
}
.freeprivacypolicy-com---palette-light .cc-cp-foot-save {
    background: #283349 !important;
    color: #fff;
}

/* Desktop: full width + shorter without hiding text */
@media (min-width: 1024px) {
  .freeprivacypolicy-com---nb,
  .freeprivacypolicy-com---nb-simple {
    max-width: 100% !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    /* remove the hard cap that was hiding content */
    /* max-height: 120px;  <-- delete */
    /* overflow: hidden;   <-- delete */
  }

  /* Tighten inner spacing instead */
  .freeprivacypolicy-com---nb .cc-nb-main-container,
  .freeprivacypolicy-com---nb-simple .cc-nb-main-container {
    padding: 12px 18px !important;
  }

  /* Title & body text sizes */
  .freeprivacypolicy-com---nb .cc-nb-title,
  .freeprivacypolicy-com---nb-simple .cc-nb-title {
    font-size: 20px !important;
    margin: 0 0 6px !important;
  }

  /* Correct selector: .cc-nb-text (limit to ~2 lines) */
  .freeprivacypolicy-com---nb .cc-nb-text,
  .freeprivacypolicy-com---nb-simple .cc-nb-text {
    font-size: 14px !important;
    line-height: 1.35 !important;
    margin: 0 0 8px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Buttons a bit shorter */
  .freeprivacypolicy-com---nb .cc-nb-buttons button,
  .freeprivacypolicy-com---nb-simple .cc-nb-buttons button {
    padding: 8px 12px !important;
    min-height: 38px !important;
    font-size: 14px !important;
  }
}

/* Compact cookie banner on small screens */
@media (max-width: 575.98px) {

  /* Container: full-width bar at bottom */
  .freeprivacypolicy-com---nb,
  .freeprivacypolicy-com---nb-simple {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    border-radius: 0 !important;
  }

  /* Inner padding trimmed */
  .freeprivacypolicy-com---nb .cc-nb-main-container,
  .freeprivacypolicy-com---nb-simple .cc-nb-main-container {
    padding: 12px 14px !important;
  }

  /* Title + body text smaller/denser */
  .freeprivacypolicy-com---nb .cc-nb-title,
  .freeprivacypolicy-com---nb-simple .cc-nb-title {
    font-size: 18px !important;
    margin: 0 0 6px !important;
  }

  .freeprivacypolicy-com---nb .cc-nb-text,
  .freeprivacypolicy-com---nb-simple .cc-nb-text {
    font-size: 13px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
    max-height: 3.4em;           /* ~2 lines */
    overflow: hidden;            /* trim extra text */
  }

  /* Buttons: tighter + side-by-side to save height */
  .freeprivacypolicy-com---nb .cc-nb-buttons,
  .freeprivacypolicy-com---nb-simple .cc-nb-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 40px;
    gap: 8px;
  }

  /* “Change my preferences” full width on second row */
  .freeprivacypolicy-com---nb .cc-nb-buttons .cc-nb-change,
  .freeprivacypolicy-com---nb-simple .cc-nb-buttons .cc-nb-change {
    grid-column: 1 / -1;
  }

  /* Button padding/font trimmed */
  .freeprivacypolicy-com---nb .cc-nb-buttons button,
  .freeprivacypolicy-com---nb-simple .cc-nb-buttons button {
    padding: 8px 10px !important;
    min-height: 40px !important;
    font-size: 14px !important;
  }
}