.webless-blog-cta {
  --webless-cta-green: #00cc66;
  --webless-cta-green-hover: #10df79;
  --webless-cta-surface: #13231c;
  --webless-cta-surface-strong: #0c1b15;
  --webless-cta-border: #2d4a3d;
  --webless-cta-border-action: #789287;
  --webless-cta-text: #d8e5df;
  --webless-cta-heading: #ffffff;
  --webless-cta-link: #8af0bb;
  --webless-cta-ink: #07120d;
  background: var(--webless-cta-surface);
  border: 1px solid var(--webless-cta-border);
  border-left: 4px solid var(--webless-cta-green);
  border-radius: 6px;
  color: var(--webless-cta-text);
  margin: 30px 0;
  padding: 20px;
}

.webless-blog-cta--emergency {
  background: var(--webless-cta-surface-strong);
}

.webless-blog-cta--closing {
  margin-bottom: 36px;
  padding: 24px;
}

.webless-blog-cta__header {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  margin: 0 0 9px;
}

.webless-blog-cta__icon {
  color: var(--webless-cta-green);
  flex: 0 0 21px;
  height: 21px;
  margin-top: 2px;
  width: 21px;
}

.webless-blog-cta__title {
  color: var(--webless-cta-heading);
  font-family: inherit;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
}

.webless-blog-cta--closing .webless-blog-cta__title {
  font-size: 25px;
  line-height: 1.25;
}

.webless-blog-cta__text {
  color: var(--webless-cta-text);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: 0;
  line-height: 1.7;
  margin: 0;
}

.webless-blog-cta__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  max-width: 100%;
}

.webless-blog-cta .webless-blog-cta__action {
  align-items: center;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  justify-content: center;
  letter-spacing: 0;
  line-height: 20px;
  min-height: 40px;
  max-width: 100%;
  padding: 6px 18px 8px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.webless-blog-cta .webless-blog-cta__action--primary {
  background: var(--webless-cta-green);
  border: 2px solid var(--webless-cta-green);
  color: var(--webless-cta-ink);
  font-weight: 600;
}

.webless-blog-cta .webless-blog-cta__action--primary[data-cta-action="live_chat"] {
  font-weight: 700;
}

.webless-blog-cta .webless-blog-cta__action--primary:hover {
  background: var(--webless-cta-green-hover);
  border-color: var(--webless-cta-green-hover);
  color: var(--webless-cta-ink);
  transform: translateY(-1px);
}

.webless-blog-cta .webless-blog-cta__action--secondary {
  background: transparent;
  border: 2px solid var(--webless-cta-border-action);
  color: var(--webless-cta-heading);
}

.webless-blog-cta .webless-blog-cta__action--secondary:hover {
  background: rgba(0, 204, 102, 0.12);
  border-color: var(--webless-cta-green);
  color: var(--webless-cta-heading);
  transform: translateY(-1px);
}

.webless-blog-cta .webless-blog-cta__action--tertiary {
  border: 0;
  color: var(--webless-cta-link);
  min-height: 32px;
  padding: 4px 2px;
  text-transform: none;
  text-underline-offset: 3px;
}

.webless-blog-cta .webless-blog-cta__action--tertiary:hover {
  color: var(--webless-cta-heading);
  text-decoration: underline;
}

.webless-blog-cta .webless-blog-cta__action:focus-visible {
  outline: 3px solid var(--webless-cta-heading);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .webless-blog-cta,
  .webless-blog-cta--closing {
    margin: 24px 0;
    padding: 18px;
  }

  .webless-blog-cta--closing .webless-blog-cta__title {
    font-size: 22px;
  }

  .webless-blog-cta__actions {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .webless-blog-cta .webless-blog-cta__action {
    width: 100%;
  }

  .webless-blog-cta .webless-blog-cta__action--tertiary {
    justify-content: flex-start;
    text-align: left;
    width: auto;
  }
}

/* The WP Rocket incident tables lost these containment rules when its legacy
   inline component stylesheet was replaced by the global CTA component. */
.wp71-table-wrap {
  box-sizing: border-box;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wp71-table {
  table-layout: fixed;
  width: 100%;
}

.wp71-table th,
.wp71-table td,
.wp71-table code {
  overflow-wrap: anywhere;
  word-break: normal;
}

.wp71-table code {
  white-space: normal;
}

.wp71-evidence-table th:nth-child(1) {
  width: 40%;
}

.wp71-evidence-table th:nth-child(2) {
  width: 28%;
}

.wp71-evidence-table th:nth-child(3) {
  width: 32%;
}

.wp71-responsibility-table th:nth-child(1) {
  width: 30%;
}

.wp71-responsibility-table th:nth-child(2) {
  width: 24%;
}

.wp71-responsibility-table th:nth-child(3) {
  width: 46%;
}

@media (max-width: 767px) {
  body.single-post .elementor-location-header .elementor-element-18e942d.elementor-sticky--effects {
    background: #1e262b !important;
  }

  body.single-post .webless-responsive-table,
  body.single-post .webless-responsive-table tbody,
  body.single-post .webless-responsive-table tr:not(.webless-responsive-table__head),
  body.single-post .webless-responsive-table td {
    box-sizing: border-box;
    display: block;
    max-width: 100%;
    width: 100% !important;
  }

  body.single-post .webless-responsive-table {
    border: 0;
    table-layout: auto !important;
  }

  body.single-post .webless-responsive-table thead,
  body.single-post .webless-responsive-table__head {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  body.single-post .webless-responsive-table tbody {
    display: grid;
    gap: 14px;
  }

  body.single-post .webless-responsive-table tr:not(.webless-responsive-table__head) {
    border: 1px solid #4f5b58;
    border-radius: 4px;
    margin: 0 0 14px;
    overflow: hidden;
  }

  body.single-post .webless-responsive-table tbody > tr:last-child {
    margin-bottom: 0;
  }

  body.single-post .webless-responsive-table td {
    border: 0 !important;
    border-bottom: 1px solid #3b4844 !important;
    overflow-wrap: anywhere;
    padding: 12px 14px !important;
    word-break: normal;
  }

  body.single-post .webless-responsive-table td:last-child {
    border-bottom: 0 !important;
  }

  body.single-post .webless-responsive-table td::before {
    color: #8af0bb;
    content: attr(data-label);
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    margin: 0 0 5px;
    text-transform: uppercase;
  }

  body.single-post .webless-responsive-table td code,
  body.single-post .webless-responsive-table td pre {
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    word-break: normal;
  }

  .wp71-table-wrap {
    overflow: visible;
  }

  .wp71-table,
  .wp71-table tbody,
  .wp71-table tr,
  .wp71-table td {
    box-sizing: border-box;
    display: block;
    width: 100% !important;
  }

  .wp71-table {
    border: 0;
  }

  .wp71-table thead {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
  }

  .wp71-table tbody {
    display: grid;
    gap: 14px;
  }

  .wp71-table tr {
    border: 1px solid #4f5b58;
    border-radius: 4px;
    overflow: hidden;
  }

  .wp71-table td {
    border: 0 !important;
    border-bottom: 1px solid #3b4844 !important;
    padding: 12px 14px !important;
  }

  .wp71-table td:last-child {
    border-bottom: 0 !important;
  }

  .wp71-table td::before {
    color: #8af0bb;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.35;
    margin: 0 0 5px;
    text-transform: uppercase;
  }

  .wp71-evidence-table td:nth-child(1)::before {
    content: "What you can confirm";
  }

  .wp71-evidence-table td:nth-child(2)::before {
    content: "What it means";
  }

  .wp71-evidence-table td:nth-child(3)::before {
    content: "Next safe action";
  }

  .wp71-responsibility-table td:nth-child(1)::before {
    content: "Need";
  }

  .wp71-responsibility-table td:nth-child(2)::before {
    content: "Best owner";
  }

  .wp71-responsibility-table td:nth-child(3)::before {
    content: "Evidence to provide";
  }
}

@media (prefers-reduced-motion: reduce) {
  .webless-blog-cta .webless-blog-cta__action {
    transition: none;
  }

  .webless-blog-cta .webless-blog-cta__action:hover {
    transform: none;
  }
}
