/* --- Footer --- */
.restatify-footer {
  background: var(--rs-color-background);
  color: var(--rs-color-text);
  padding: 40px 0;
  border-top: 1px solid color-mix(in srgb, var(--rs-color-text) 14%, transparent);
}

.restatify-footer a {
  color: var(--rs-color-secondary);
}

.restatify-footer a:hover,
.restatify-footer a:focus {
  color: var(--rs-color-secondary-hover);
}

.footer2.integrationm5.cid-v910uKC3F3 {
  background-color: var(--rs-color-background) !important;
  background-image: linear-gradient(
    180deg,
    color-mix(in srgb, var(--rs-color-secondary) 18%, var(--rs-color-background)) 0%,
    var(--rs-color-background) 100%
  ) !important;
  border-top: 1px solid color-mix(in srgb, var(--rs-color-text) 18%, transparent);
  color: var(--rs-color-text);
}

.footer2.integrationm5.cid-v910uKC3F3 .container-fluid {
  max-width: 100% !important;
  width: 100%;
  padding-left: clamp(1rem, 3vw, 2.4rem);
  padding-right: clamp(1rem, 3vw, 2.4rem);
}

.footer2.integrationm5.cid-v910uKC3F3,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-fonts-style,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-text,
.footer2.integrationm5.cid-v910uKC3F3 .list,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-copy {
  font-family: var(--wp--preset--font-family--ubuntu, Ubuntu, sans-serif);
  color: var(--rs-color-text);
}

.footer2.integrationm5.cid-v910uKC3F3 .mbr-section-title {
  font-family: var(--wp--preset--font-family--science-gothic, "Science Gothic", sans-serif);
  color: var(--rs-color-text);
}

.footer2.integrationm5.cid-v910uKC3F3 .mbr-label,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-list-title,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-text,
.footer2.integrationm5.cid-v910uKC3F3 .list,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-copy {
  color: var(--rs-color-text);
}

.footer2.integrationm5.cid-v910uKC3F3 .title-wrapper {
  margin-bottom: clamp(1.4rem, 2.8vw, 2.2rem);
}

.footer2.integrationm5.cid-v910uKC3F3 .nav-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.2vw, 1.6rem);
}

.footer2.integrationm5.cid-v910uKC3F3 .nav-wrap {
  min-width: 0;
  width: auto !important;
  padding-left: 0 !important;
}

.footer2.integrationm5.cid-v910uKC3F3 .mbr-label,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-section-title,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-text,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-list-title,
.footer2.integrationm5.cid-v910uKC3F3 .list a,
.footer2.integrationm5.cid-v910uKC3F3 .list a span,
.footer2.integrationm5.cid-v910uKC3F3 .mbr-copy {
  word-break: normal;
  word-wrap: normal;
  overflow-wrap: normal;
  white-space: normal;
  hyphens: none;
  line-height: 1.35;
}

.footer2.integrationm5.cid-v910uKC3F3 .list a {
  color: var(--rs-color-text);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer2.integrationm5.cid-v910uKC3F3 .list a .restatify-footer-item-icon {
  display: inline-block;
  margin-right: 0.45rem;
  font-size: 0.95em;
  vertical-align: middle;
  opacity: 0.9;
}

.footer2.integrationm5.cid-v910uKC3F3 .list a:hover,
.footer2.integrationm5.cid-v910uKC3F3 .list a:focus-visible {
  color: var(--rs-color-primary);
  opacity: 1;
}

.footer2.integrationm5.cid-v910uKC3F3 .list a.restatify-footer-vcard-item {
  opacity: 0.8;
}

.footer2.integrationm5.cid-v910uKC3F3 .list a.restatify-footer-vcard-item:hover,
.footer2.integrationm5.cid-v910uKC3F3 .list a.restatify-footer-vcard-item:focus-visible {
  opacity: 1;
}

.footer2.integrationm5.cid-v910uKC3F3 .border-wrap {
  background-color: color-mix(in srgb, var(--rs-color-text) 28%, transparent);
}

.footer2.integrationm5.cid-v910uKC3F3 .social-wrapper .social-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.footer2.integrationm5.cid-v910uKC3F3 .restatify-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.footer2.integrationm5.cid-v910uKC3F3 .restatify-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--rs-color-text) 14%, transparent);
  background: color-mix(in srgb, var(--rs-color-background) 88%, transparent);
}

.footer2.integrationm5.cid-v910uKC3F3 .restatify-trust-badge-image {
  display: block;
  max-width: 96px;
  max-height: 38px;
  width: auto;
  height: auto;
}

.footer2.integrationm5.cid-v910uKC3F3 .social-wrapper .social-wrap .iconfont-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--rs-color-text) 22%, transparent);
  background: color-mix(in srgb, var(--rs-color-background) 75%, transparent);
  color: var(--rs-color-text);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer2.integrationm5.cid-v910uKC3F3 .social-wrapper .social-wrap .iconfont-wrapper .mbr-iconfont {
  color: currentColor;
  font-size: 1.2rem;
}

.footer2.integrationm5.cid-v910uKC3F3 .social-wrapper .social-wrap .iconfont-wrapper:hover,
.footer2.integrationm5.cid-v910uKC3F3 .social-wrapper .social-wrap .iconfont-wrapper:focus-visible {
  color: var(--rs-color-primary);
  border-color: var(--rs-color-primary);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--rs-color-primary) 70%, transparent);
  transform: translateY(-1px);
}

@media (min-width: 768px) {
  .footer2.integrationm5.cid-v910uKC3F3 .nav-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .footer2.integrationm5.cid-v910uKC3F3 .nav-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (prefers-color-scheme: dark) {
  .footer2.integrationm5.cid-v910uKC3F3 {
    background-image: linear-gradient(
      180deg,
      color-mix(in srgb, var(--rs-color-primary) 12%, var(--rs-color-background)) 0%,
      var(--rs-color-background) 100%
    ) !important;
  }

  .footer2.integrationm5.cid-v910uKC3F3 .social-wrapper .social-wrap .iconfont-wrapper {
    background: color-mix(in srgb, var(--rs-color-text) 9%, transparent);
  }

  .footer2.integrationm5.cid-v910uKC3F3 .restatify-trust-badge {
    background: color-mix(in srgb, var(--rs-color-text) 8%, transparent);
  }
}

.footer2.integrationm5.cid-v910uKC3F3 .restatify-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1rem;
}

.footer2.integrationm5.cid-v910uKC3F3 .restatify-footer-meta .mbr-copy {
  margin: 0;
}

.restatify-cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10055;
  background: rgba(11, 18, 33, 0.56);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.restatify-cookie-backdrop.is-hidden {
  display: none;
}

.restatify-cookie-banner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, calc(100vw - 32px));
  z-index: 10060;
  border-radius: 14px;
  border: 1px solid var(--rs-color-menu-border);
  background: var(--rs-color-menu-panel);
  color: var(--rs-color-text);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
  padding: 0.95rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.restatify-cookie-banner.is-hidden {
  display: none;
}

.restatify-cookie-reopen {
  border: 0;
  background: transparent;
  color: var(--rs-color-secondary);
  padding: 0;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.restatify-cookie-reopen:hover,
.restatify-cookie-reopen:focus-visible {
  color: var(--rs-color-secondary-hover);
  outline: none;
}

.restatify-cookie-reopen.is-hidden {
  display: none;
}

.restatify-cookie-reopen--inline {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
}

body.restatify-consent-pending {
  overflow: hidden;
}

body.restatify-consent-pending > *:not(#restatify-cookie-backdrop):not(#restatify-cookie-banner):not(script):not(style) {
  pointer-events: none !important;
}

.restatify-cookie-banner__title {
  margin: 0 0 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.restatify-cookie-banner__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.restatify-cookie-banner__text a {
  color: var(--rs-color-secondary);
}

.restatify-cookie-banner__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.restatify-cookie-btn {
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.restatify-cookie-btn--primary {
  background: var(--rs-color-primary);
  color: var(--rs-color-contrast);
  border-color: var(--rs-color-primary);
}

.restatify-cookie-btn--ghost {
  background: transparent;
  color: var(--rs-color-text);
  border-color: color-mix(in srgb, var(--rs-color-text) 35%, transparent);
}

.restatify-consent-rejected .mbr-slider,
.restatify-consent-rejected .embla,
.restatify-consent-rejected .testimonials-slider,
.restatify-consent-rejected .mbr-gallery,
.restatify-consent-rejected .popup-btn-cards,
.restatify-consent-rejected .mbr-wowslider {
  display: none !important;
}

@media (max-width: 767.98px) {
  .restatify-cookie-banner {
    top: 50%;
    flex-direction: column;
    align-items: stretch;
  }

  .restatify-cookie-banner__actions {
    width: 100%;
  }

  .restatify-cookie-btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .restatify-cookie-reopen {
    font-size: 0.9rem;
  }

  .footer2.integrationm5.cid-v910uKC3F3 .restatify-trust-badges,
  .footer2.integrationm5.cid-v910uKC3F3 .social-wrapper .social-wrap {
    justify-content: flex-start;
  }

  .footer2.integrationm5.cid-v910uKC3F3 .restatify-footer-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }
}

/* Keep multiline Gutenberg buttons readable despite legacy global anchor styles. */
.wp-block-button .wp-block-button__link,
a.wp-element-button {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  height: auto !important;
  min-height: auto !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-decoration: none !important;
  text-decoration-line: none !important;
  background-image: none !important;
  box-shadow: none !important;
}

.wp-block-button .wp-block-button__link::before,
.wp-block-button .wp-block-button__link::after,
a.wp-element-button::before,
a.wp-element-button::after {
  content: none !important;
  display: none !important;
}

.wp-block-button .wp-block-button__link br,
a.wp-element-button br {
  display: block;
}

/* Metrics fallback: enforce layout modes even if block inline CSS is outdated. */
.restatify-metrics-block.is-fullscreen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.restatify-metrics-block.is-parallax {
  background-attachment: fixed;
}

@media (max-width: 992px) {
  .restatify-metrics-block.is-fullscreen {
    min-height: 80vh;
  }

  .restatify-metrics-block.is-parallax {
    background-attachment: scroll;
  }
}

/* --- BLOG PATTERNS / QUERY CARD SYSTEM --- */
.restatify-blog-hero {
  margin-top: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: clamp(1.4rem, 2.8vw, 2.2rem);
}

.restatify-blog-hero__kicker {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rs-color-primary);
}

.restatify-blog-hero__title {
  margin: 0.5rem 0 0;
  color: var(--rs-color-text);
}

.restatify-blog-hero__text {
  margin: 0.8rem 0 0;
  color: color-mix(in srgb, var(--rs-color-text) 82%, transparent);
  max-width: 70ch;
}

.restatify-blog-query {
  margin-top: 1.4rem;
}

.restatify-blog-query .wp-block-post-template {
  gap: 1rem;
}

.restatify-blog-card {
  height: 100%;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--rs-color-text) 12%, transparent);
  background: var(--rs-color-menu-panel);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.restatify-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.13);
  border-color: color-mix(in srgb, var(--rs-color-primary) 28%, transparent);
}

.restatify-blog-card .restatify-blog-card__image {
  margin: 0;
}

.restatify-blog-card .restatify-blog-card__image img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.restatify-blog-card__content {
  padding: 1rem;
}

.restatify-blog-card__terms {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.restatify-blog-card__terms a {
  color: var(--rs-color-primary);
  text-decoration: none;
}

.restatify-blog-card__title {
  margin: 0;
  line-height: 1.3;
}

.restatify-blog-card__title a {
  color: var(--rs-color-text);
  text-decoration: none;
}

.restatify-blog-card__title a:hover {
  color: var(--rs-color-primary);
}

.restatify-blog-card__excerpt {
  margin-top: 0.7rem;
  color: color-mix(in srgb, var(--rs-color-text) 84%, transparent);
}

.restatify-blog-card__meta {
  margin-top: 0.8rem;
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--rs-color-text) 72%, transparent);
}

.restatify-blog-related {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.restatify-blog-related__title {
  margin-bottom: 1rem;
}

.restatify-blog-card--compact {
  padding-bottom: 0.75rem;
}

.restatify-blog-card--compact .restatify-blog-card__title,
.restatify-blog-card--compact .restatify-blog-card__date {
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

.restatify-blog-card--compact .restatify-blog-card__title {
  margin-top: 0.85rem;
}

.restatify-blog-card--compact .restatify-blog-card__date {
  margin-top: 0.45rem;
  font-size: 0.84rem;
  color: color-mix(in srgb, var(--rs-color-text) 72%, transparent);
}

.restatify-blog-query .wp-block-query-pagination {
  margin-top: 1.25rem;
  gap: 0.4rem;
}

.restatify-blog-query .wp-block-query-pagination a,
.restatify-blog-query .wp-block-query-pagination span {
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--rs-color-text) 16%, transparent);
  background: color-mix(in srgb, var(--rs-color-background) 88%, transparent);
  padding: 0.3rem 0.72rem;
  text-decoration: none;
}

.restatify-blog-query .wp-block-query-pagination .current {
  border-color: var(--rs-color-primary);
  background: color-mix(in srgb, var(--rs-color-primary) 18%, transparent);
}

@media (max-width: 990px) {
  .restatify-blog-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .restatify-blog-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .restatify-blog-hero {
    margin-top: 1.65rem;
  }
}
