/* =========================
   Color tokens 
   ========================= */

:root{
  --is-color-primary: #ea580c;/* orange-600 */
  --is-color-primary-soft: #f97316; /* orange-500 */
  --is-color-accent: #c2410c; /* orange-700 */
  --is-color-secondary: #374151; /* gray-700 */

  --is-color-ink: #111827; /* gray-900 */
  --is-color-muted: #484854; /* gray-600 */
  --is-color-surface: #f9fafb;
  --is-color-surface-alt: #ffffff;

  --is-color-border: #e5e7eb;

  /* UI tints for panels */

  --is-tint-green-faint: #f0fdf4; /*green-50*/
  --is-tint-green-light:#dcfce7; /*green-100*/
  --is-tint-green-accent:#15803d; /*green-700*/
  --is-tint-green-highlight: #4ade80; /*green-400 */

  --is-tint-red-faint: #fef2f2; /* red-50*/
  --is-tint-red-light:#fee2e2; /* red-100*/
   --is-tint-red-accent:#b91c1c; /* red-700*/
  --is-tint-red-highlight: #f87171; /* red-400 */

  --is-tint-blue-faint: #eff6ff; /* blue-50*/
  --is-tint-blue-light:#dbeafe; /* blue-100*/
   --is-tint-blue-accent:#1d4ed8; /* blue-700*/
  --is-tint-blue-ighlight: #60a5fa; /* blue-400 */

  --is-tint-purple-faint: #faf5ff; /* purple-50*/
  --is-tint-purple-light:#f3e8ff; /* purple-100*/
   --is-tint-purple-accent:#7e22ce; /* purple-700*/
  --is-tint-purple-ighlight: #c084fc; /* purple-400 */

  --is-tint-indigo-faint: #eef2ff; /* indigo-50*/
  --is-tint-indigo-light: #e0e7ff; /* indigo-100*/
   --is-tint-indigo-accent:#4338ca; /* indigo-700*/
  --is-tint-indigo-ighlight: #818cf8; /* indigo-400 */

  --is-tint-yellow-faint: #fefce8; /* yellow-50*/
  --is-tint-yellow-light:#fef9c3; /* yellow-100*/
   --is-tint-yellow-accent:#a16207; /* yellow-700*/
  --is-tint-yellow-ighlight: #facc15; /* yellow-400 */

  --is-tint-warm: #ffedd5; /* orange-100 */
  --is-tint-warmer: #fed7aa; /* orange-200 */

  /* Gradients (canonical) */
  --is-gradient-primary: linear-gradient(to bottom, var(--is-color-primary-soft), var(--is-color-primary));
  --is-gradient-primary-hover: linear-gradient(90deg, var(--is-color-primary), var(--is-color-accent));
  --is-gradient-soft: linear-gradient(to bottom, var(--is-tint-warm), var(--is-tint-warmer));

  --is-gradient-primary-text: linear-gradient(
    90deg,
    var(--is-color-primary-soft),
    var(--is-color-accent)
  );

  /* Orange glow (for drop-shadow) */
  --is-glow-primary: rgb(249 115 22 / 0.22);
  --is-border-primary: #f97316;

  /* Bridge to WP preset vars */

  --wp--preset--color--primary: var(--is-color-primary);
  --wp--preset--color--primary-accent: var(--is-color-accent);
  --wp--preset--color--main: var(--is-color-ink);
  --wp--preset--color--secondary: var(--is-color-muted);
  --wp--preset--color--base: var(--is-color-surface-alt);
  --wp--preset--color--tertiary: var(--is-color-surface);
  --wp--preset--color--border-light: var(--is-color-border);
}

/* =========================
  Site editor
   ========================= */
/* Block editor (backend) uses this wrapper inside an iframe */
.editor-styles-wrapper{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: 0;
}

/* Optional: make sure common text blocks inherit it */
.editor-styles-wrapper p,
.editor-styles-wrapper li,
.editor-styles-wrapper blockquote,
.editor-styles-wrapper .wp-block{
  font-family: inherit;
}

/* =========================
Pushing bottom of main section to the bottom
   ========================= */

.page-id-5296 main, .page-id-5303 main {
  padding-bottom: 0 !important;
}
/* =========================
   Background texture system
   Apply to a top-level wrapper group:
   class="has-bg-texture bg-grid-a" (or bg-grid-b)
   ========================= */
.has-bg-texture {
  position: relative;
  isolation: isolate; /* creates a clean stacking context */
}

/* The "background layer" */
.has-bg-texture::before {
  content: "";
  position: fixed;       /* page-wide */
  inset: 0;
  z-index: -1;           /* behind wrapper content */
  pointer-events: none;

  background-repeat: repeat;
  background-size: var(--bg-tile-size, 133px) var(--bg-tile-size, 133px);
  background-image: var(--bg-tile);

  /* Fade (one big fade over the repeated pattern) */
  -webkit-mask-image: var(--bg-mask, none);
          mask-image: var(--bg-mask, none);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-position: center;
          mask-position: center;
}

/* ---------- Variant A: current grid tile + current fade ---------- */

.bg-grid-a {
  --bg-tile-size: 133px;

  --bg-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cpath d='M.5 200V.5H200' fill='none' stroke='%23e5e7eb'/%3E%3C/svg%3E");

  /* Repeating fade bands: fade in â†’ strong â†’ fade out â†’ repeat */
  --bg-mask: repeating-linear-gradient(
    to bottom,
    transparent 0,
    rgba(255,255,255,0.35) 12rem,
    white 20rem,
    white 36rem,
    rgba(255,255,255,0.35) 44rem,
    transparent 56rem
  );
}

/* ---------- Variant B: slot for an alternate SVG ---------- */
/* Replace the data URL with your other SVG tile. */
.bg-grid-b {
  --bg-tile-size: 200px;

  --bg-tile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cpath d='M0 0H200V200H0Z' fill='none' stroke='%23e5e7eb'/%3E%3C/svg%3E");

  --bg-mask: radial-gradient(32rem 32rem at center, white, transparent);
}

/* ---------- Easy toggles ---------- */

/* Turn fade off (keep repeat) by adding class "bg-no-fade" */
.bg-no-fade { --bg-mask: none; }

/* Make it denser by adding "bg-dense" */
.bg-dense { --bg-tile-size: 120px; }

/* ---------- Body ---------- */

body { 
  color: var(--is-color-muted); 
  background: var(--is-color-surface);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
 }

h2,h3,h4,h5,h6 { 
  color: var(--is-color-ink);
 }

h1, .wp-block-post-title,
.wp-block-heading.is-style-h1 {

  font-weight:550;
  font-size:3.5em;
  letter-spacing:-0.04em;
  line-height:1.65;
  position: relative;
  padding-bottom: 0.6rem;
}
.h1-accent {
	  color:#4a1448;
}
.h1-accent::after
 {
    content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 4rem;
  height: 3px;
  background: #111827; 
}
.illustration-card h2, .illustration-band h2 {
  color: #d9480f !important;
  color: #4a1448 !important;
}

h2 {
    font-weight: 550;
    letter-spacing: -0.015em;
    line-height: 1.4;
    font-size: 2.7rem;
    font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.3rem);


}  
h2 .measure{
  display: inline-block;
  max-width: 18ch;
}
h3 {
  font-weight:500;
  line-height:1.4;
  letter-spacing:-0.02em;
  font-size: 2rem;
  font-size: clamp(1.25rem, 1.125rem + 1.25vw, 1.78rem);

}
h2, h3, p {
  text-wrap: balance;
}
.illustration-card h3, .illustration-band h3 {
  color: var(--is-color-muted) !important; 
  color: #d9480f !important;
} 
.illustration-card p, .illustration-band p {
font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem);
}
.illustration-list li {
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.25rem);
}

/* =========================
   Layout widths — default page template only
   ========================= */

body.page.page-template-default {
  --wp--style--global--content-size: 990px !important;
  --wp--style--global--wide-size: 1200px !important;
}

/* =========================
   Header
   ========================= */
.site-header--sticky{
    position:sticky;
    top:0;
    z-index:9999;
    background: var(--wp--preset--color--base, #fff);
}

/* If WP admin bar is present */
.wpadminbar .site-header--sticky{
  top: 32px;
}
/* Logged-in only: keep sticky header from fighting the admin bar */
@media (max-width: 600px){
  .wpadminbar .site-header--sticky{ top: 46px; } /* mobile admin bar is taller */
}
/* Medium screens: logo on its own row; nav + CTA on row below.*/
@media (max-width: 1260px) and (min-width: 991px){
.site-header--sticky{
    padding-left: var(--wp--preset--spacing--small);
    padding-right: var(--wp--preset--spacing--small);
  }
  /* Flex row that  holds logo, nav, buttons */
  .site-header--sticky > .wp-block-group.alignwide.is-layout-flex{
    flex-wrap: wrap;
    row-gap: var(--wp--preset--spacing--small);
    align-items: center;
  }
/* tighten spacing between top-level menu items */
  .site-header--sticky nav.wp-block-navigation .wp-block-navigation__container{
    gap: 16px !important;
  }
  /* Row 1: logo takes full width and is centered */
  .site-header--sticky > .wp-block-group.alignwide.is-layout-flex > .wp-block-site-logo{
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
  }

  /* Row 2: nav expands, CTA stays sized */
  .site-header--sticky > .wp-block-group.alignwide.is-layout-flex > nav.wp-block-navigation{
    flex: 1 1 auto;
    min-width: 0; /* prevents weird overflow */
  }

   /* distribute top-level items across the nav width */
  .site-header--sticky nav.wp-block-navigation .wp-block-navigation__container{
    width: 100%;
    justify-content: space-between;
    gap: 16px !important; /* keep your tightened gap */
  }
  .site-header--sticky > .wp-block-group.alignwide.is-layout-flex > .wp-block-buttons{
    flex: 0 0 auto;
    justify-content: flex-end;
  }
 /*add a little space to left of CTA*/
 .site-header--sticky
  > .wp-block-group.alignwide.is-layout-flex
  > .wp-block-buttons{
    margin-left: 16px;
  }

  /* if the nav sits too tall compared to the CTA, tweak vertical alignment */
  .site-header--sticky > .wp-block-group.alignwide.is-layout-flex > nav.wp-block-navigation,
  .site-header--sticky > .wp-block-group.alignwide.is-layout-flex > .wp-block-buttons{
    align-self: center;
  }
}

/* so CTA fits on one line up until break */
@media (max-width: 1030px) and (min-width: 991px){
/*add a little less space to left of CTA*/
 .site-header--sticky
  > .wp-block-group.alignwide.is-layout-flex
  > .wp-block-buttons{
    margin-left: 8px;
  }
}

/* for mobile */
/* Force WP Navigation block to switch to overlay earlier */
@media (max-width: 990px){

  /* Show the hamburger button */
  .interact-top-menu .wp-block-navigation__responsive-container-open{
    display: flex !important;
    align-items: center;
    transform: translateY(10px);
  }

  /* Hide the inline list ONLY when the modal/overlay is NOT open */
  .interact-top-menu .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container{
    display: none !important;
  }

  /* When overlay IS open, show the vertical list */
  .interact-top-menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{
    display: flex !important;
    flex-direction: column;
    gap: 12px; /* tweak */
  }
}

@media (max-width: 599px){
  .interact-top-menu .wp-block-navigation__responsive-container-open{
    transform: translateY(2px);
  }
}


@media (max-width: 420px) {
   .site-header--sticky .wp-block-buttons{ display: none; }
}


/* .admin-bar header.site-header{
  top: 32px;
  background: var(--wp--preset--color--base, #fff);
} */



/* ---------- Header links ---------- */

.wp-block-navigation a:where(:not(.wp-element-button)), .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
  color: var(--is-color-secondary);

}
.wp-block-navigation a:where(:not(.wp-element-button)):hover {
  text-decoration: none;
  color: var(--is-color-primary);
}

.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content a:hover {
      color: var(--is-color-primary);
}
.wp-block-navigation a:not(.wp-element-button) {
    color: var(--is-color-primary);
    padding: 15px;
}

.wp-block-navigation a:not(.wp-element-button):hover,
.wp-block-navigation a:not(.wp-element-button):focus-visible {
    color: var(--is-color-primary);
    padding: 15px;
    text-decoration: none;
}
.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container .current-menu-item > a {
    text-decoration: none;
    color: var(--is-color-primary);
}
.wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container .current-menu-item > a:hover {
     color: var(--is-color-primary);
}

/* =========================
   Call to Action Button
   ========================= */

.wp-block-button.is-style-button-brand .wp-block-button__link,
.wp-block-button .wp-block-button__link {
  background: var(--is-gradient-primary);
  text-decoration: none;
  color: #fff;

  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;

  will-change: transform;

  /* shadow-lg */
  box-shadow:
    0 10px 15px -3px rgba(0,0,0,.1),
    0 4px 6px -4px rgba(0,0,0,.1);
}

.wp-block-button.is-style-button-brand .wp-block-button__link:hover,
.wp-block-button.is-style-button-brand .wp-block-button__link:focus-visible,
.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus-visible {
  transform: scale(1.05);

  /* shadow-xl */
  box-shadow:
    0 20px 25px -5px rgba(0,0,0,.1),
    0 8px 10px -6px rgba(0,0,0,.1);

  background: var(--is-gradient-primary-hover);
}
.wp-block-button.is-style-button-brand .wp-block-button__link:focus-visible,
.wp-block-button .wp-block-button__link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--is-color-primary), white 40%);
  outline-offset: 2px;
}


/* =========================
   Card system (global)
   Use ONE of:
   - .feature-card
   - .info-card
   - .card.card--feature
   - .card.card--info
   ========================= */

/* Base primitives */
.card,
.feature-card,
.info-card {
  position: relative;
  isolation: isolate;
  border: 1px solid var(--is-color-border);
  border-radius: 1rem;
  background: var(--wp--preset--color--base);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, filter 300ms ease;
  will-change: transform, filter;
}

/* -------------------------
   Feature cards (CTA)
   ------------------------- */

/* Glow layer */
.feature-card::before,
.card.card--feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms ease;
  background: radial-gradient(
    600px circle at 20% 10%,
    rgb(249 115 22 / 0.20),
    transparent 45%
  );
}

.feature-card:hover,
.feature-card:focus-within,
.card.card--feature:hover,
.card.card--feature:focus-within {
  transform: translateY(-0.25rem);
  border-color: var(--is-border-primary);
  box-shadow:
    0 20px 25px -5px rgb(0 0 0 / 0.10),
    0 8px 10px -6px rgb(0 0 0 / 0.10);
  filter: drop-shadow(0 14px 24px var(--is-glow-primary));
}

.feature-card:hover::before,
.feature-card:focus-within::before,
.card.card--feature:hover::before,
.card.card--feature:focus-within::before {
  opacity: 0.10;
}

/* Icon + title behaviors (feature only) */
.feature-card .feature-icon,
.card.card--feature .feature-icon {
  transition: transform 300ms ease;
}

.feature-card:hover .feature-icon,
.feature-card:focus-within .feature-icon,
.card.card--feature:hover .feature-icon,
.card.card--feature:focus-within .feature-icon {
  transform: scale(1.05);
}

.feature-card p[style*="font-weight:600"],
.card.card--feature p[style*="font-weight:600"] {
  transition: color 300ms ease;
}

.feature-card:hover p[style*="font-weight:600"],
.feature-card:focus-within p[style*="font-weight:600"],
.card.card--feature:hover p[style*="font-weight:600"],
.card.card--feature:focus-within p[style*="font-weight:600"] {
  color: transparent;
  background-image: var(--is-gradient-primary-text);
  -webkit-background-clip: text;
  background-clip: text;
}

/* -------------------------
   Info cards (non-CTA)
   ------------------------- */

/* Info cards: resting state */
.info-card,
.card.card--info {
  box-shadow:
    0 2px 6px rgb(0 0 0 / 0.08);
}

/* Info cards: hover / focus */
.info-card:hover,
.info-card:focus-within,
.card.card--info:hover,
.card.card--info:focus-within {
  transform: translateY(-0.125rem);
  border-color: #E5E7EB;
  box-shadow:
    0 6px 14px rgb(0 0 0 / 0.12);
  filter: none;
}

.feature-heading-with-icon {
gap: 0.75rem; /* try 0.5remâ€“1rem */
display: flex;
align-items: center;
}

.feature-heading-with-icon > .feature-icon {
display: inline-flex;
  width: 4rem;
  height: 4rem;
  padding: 10px;
  border-radius: 1rem;
  align-items: center;
  justify-content: center;
  background: var(--is-gradient-soft);
  flex: 0 0 4rem;
  align-self: flex-start; /* or center */


}
.feature-heading-with-icon > .feature-icon svg {
width: 100%;
height: 100%;
display: block;


}
.info-card .feature-heading-with-icon > .feature-icon {
 border-radius: 50%;


}
.info-card .feature-heading-with-icon > .feature-icon svg {
width: 100%;
height: 100%;
display: block;


}
.feature-heading-with-icon > .wp-block-heading{
  margin: 0;
}




.card ul, .info-card ul, .feature-card ul {
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

/* green cards */
.feature-card.green li::marker,
.info-card.green li::marker,
.card.green li::marker {
  color: var(--is-tint-green-accent);
}

.feature-card.green .feature-heading-with-icon > .feature-icon,
.info-card.green .feature-heading-with-icon > .feature-icon,
.card.green .feature-heading-with-icon > .feature-icon {
  background: var(--is-tint-green-light);
  color: var(--is-tint-green-accent);
}

.feature-card.green .feature-heading-with-icon > .feature-icon.reversed,
.info-card.green .feature-heading-with-icon > .feature-icon.reversed,
.card.green .feature-heading-with-icon > .feature-icon.reversed {
  background: var(--is-tint-green-accent);
  color: var(--is-tint-green-light);
}


/* blue cards */
.feature-card.blue li::marker,
.info-card.blue li::marker,
.card.blue li::marker {
  color: var(--is-tint-blue-accent);
}

.feature-card.blue .feature-heading-with-icon > .feature-icon,
.info-card.blue .feature-heading-with-icon > .feature-icon,
.card.blue .feature-heading-with-icon > .feature-icon {
  background: var(--is-tint-blue-light);
  color: var(--is-tint-blue-accent);
}

.feature-card.blue .feature-heading-with-icon > .feature-icon.reversed,
.info-card.blue .feature-heading-with-icon > .feature-icon.reversed,
.card.blue .feature-heading-with-icon > .feature-icon.reversed {
  background: var(--is-tint-blue-accent);
  color: var(--is-tint-blue-light);
}


/* purple cards */
.feature-card.purple li::marker,
.info-card.purple li::marker,
.card.purple li::marker {
  color: var(--is-tint-purple-accent);
}

.feature-card.purple .feature-heading-with-icon > .feature-icon,
.info-card.purple .feature-heading-with-icon > .feature-icon,
.card.purple .feature-heading-with-icon > .feature-icon {
  background: var(--is-tint-purple-light);
  color: var(--is-tint-purple-accent);
}

.feature-card.purple .feature-heading-with-icon > .feature-icon.reversed,
.info-card.purple .feature-heading-with-icon > .feature-icon.reversed,
.card.purple .feature-heading-with-icon > .feature-icon.reversed {
  background: var(--is-tint-purple-accent);
  color: var(--is-tint-purple-light);
}


.illustration-band {
  background: #f3f0f6 !important;
}
/* -------------------------
   Section cards (non-CTA)
   ------------------------- */
.illustration-card, .section-card {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}




/* =========================
   Blog carousel (Query Loop)
   ========================= */

.blog-carousel .wp-block-post-template {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  gap: var(--wp--preset--spacing--large);
  padding-bottom: var(--wp--preset--spacing--small);

  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--wp--preset--spacing--large);

  /* Optional: nicer momentum scrolling on iOS */
  -webkit-overflow-scrolling: touch;
}

/* Each <li> becomes a â€œslideâ€ */
.blog-carousel .wp-block-post-template > li {
  scroll-snap-align: start;

  /* 3-up layout */
  flex: 0 0 calc((100% - (2 * var(--wp--preset--spacing--large))) / 3);
}

/* Tablet: 2-up */
@media (max-width: 1024px) {
  .blog-carousel .wp-block-post-template > li {
    flex-basis: calc((100% - var(--wp--preset--spacing--large)) / 2);
  }
}

/* Mobile: 1-up */
@media (max-width: 640px) {
  .blog-carousel .wp-block-post-template > li {
    flex-basis: 100%;
  }
}

/* Optional: hide scrollbar but keep scrollability (use if you want) */
.blog-carousel .wp-block-post-template {
  scrollbar-width: thin;              /* Firefox */
}
.blog-carousel .wp-block-post-template::-webkit-scrollbar {
  height: 10px;                       /* WebKit */
}

/* While teleporting, disable snap so you don't see a snap correction */
.blog-carousel .wp-block-post-template.is-teleporting {
  scroll-snap-type: none !important;
}

.blog-carousel .wp-block-post-template > li{
  min-width: 0;
}
.blog-carousel .wp-block-post-template{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  scroll-padding-inline: 0 !important; /* temporarily */
}
.blog-carousel .wp-block-post-template{
  scrollbar-width: none;            /* Firefox */
}
.blog-carousel .wp-block-post-template::-webkit-scrollbar{
  display: none;                    /* Chrome/Safari */
}
/* blog carousel buttons */

/* Give the carousel section its own side gutters for arrows */
.blog-carousel {
  position: relative;
  padding-inline: 4.5rem; /* gutter width = a bit bigger than 4rem arrow */
  box-sizing: border-box;
}

/* Keep the inner Query/UL from re-adding padding/margins that mess with the gutter */
.blog-carousel .wp-block-query,
.blog-carousel .wp-block-post-template {
  margin-left: 0;
  margin-right: 0;
}
.blog-carousel .blog-carousel__prev,
.blog-carousel .blog-carousel__next {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  z-index: 5;
  text-decoration: none;
  color: var(--is-color-muted);
  font-size: 4rem;
  line-height: 6rem;
  text-align: center;
  background: transparent;
  cursor: pointer;
}

.blog-carousel .blog-carousel__prev { left: -1.75rem; }
.blog-carousel .blog-carousel__next { right: -1.75rem; }

.blog-carousel .blog-carousel__prev:hover,
.blog-carousel .blog-carousel__next:hover,
.blog-carousel .blog-carousel__prev:focus-visible,
.blog-carousel .blog-carousel__next:focus-visible {
  color: var(--is-color-primary);
}

.blog-carousel .wp-block-post-template {
  padding-inline: 0rem;
}
.blog-carousel .blog-carousel__prev .wp-block-button__link::before,
.blog-carousel .blog-carousel__next .wp-block-button__link::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-top: 0.5rem solid transparent;
  border-bottom: 0.5rem solid transparent;
}

/* left */
.blog-carousel .blog-carousel__prev .wp-block-button__link::before {
  border-right: 0.75rem solid var(--is-color-muted);
}

/* right */
.blog-carousel .blog-carousel__next .wp-block-button__link::before {
  border-left: 0.75rem solid var(--is-color-muted);
}
.blog-carousel .blog-carousel__prev:hover .wp-block-button__link::before,
.blog-carousel .blog-carousel__next:hover .wp-block-button__link::before,
.blog-carousel .blog-carousel__prev:focus-within .wp-block-button__link::before,
.blog-carousel .blog-carousel__next:focus-within .wp-block-button__link::before {
  border-left-color: var(--is-color-primary);
  border-right-color: var(--is-color-primary);
}
/* =========================
   Handling SVGs
   ========================= */
/* Make Safe SVG icons inherit color from the surrounding block */
.wp-block-safe-svg-svg-icon .safe-svg-inside{
  color: inherit !important;
  background-color: transparent !important;
}

/* Ensure the actual svg uses currentColor */
.wp-block-safe-svg-svg-icon svg{
  stroke: currentColor;
  fill: none;
  display: block;
}

/* =========================
   Pill heading (icon + text)
   ========================= */

.pill-heading{
  /* theme knobs */
  --pill-bg: var(--is-tint-green-light);
  --pill-ink: var(--is-tint-green-accent);

 position: relative;
  /* display: inline-flex; */
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  gap: 0.5rem;               /* spacing between icon and text */
  padding: 0.35rem 0.85rem;  /* pill padding */
  border-radius: 9999px;
  background: #86efac;
  background: #cb7ac8;
   /* background: #000; */
  color: var(--pill-ink);
  color: #4a1448;
  overflow: hidden;          /* contain shimmer */
  isolation: isolate;        /* keep shimmer behind content */
}
.pill-heading.left {
  margin-left:0;
}

/* Make sure Gutenbergâ€™s default margins donâ€™t add weird vertical space */
.pill-heading p{
  margin: 0;
}

/* Safe SVG: control sizing */
.pill-heading .safe-svg-inside{
  width: 1.25rem !important;
  height: 1.25rem !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pill-heading svg{
  stroke-width: 1.25;
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

/* =========================
   Shimmer
   ========================= */


.pill-heading > *{
  position: relative;
  z-index: 1 !important;
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  .pill-heading::before{
    /* animation: none;
    opacity: 0; */
  }
}

.pill-heading::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;

  background: linear-gradient(
    110deg,
    transparent 0%,
    rgba(255,255,255,0) 35%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0) 65%,
    transparent 100%
  );

  /* mix-blend-mode: overlay; */
  opacity: 0.7;

   transform: translateX(-120%);
  animation: pill-shimmer 3.5s linear infinite;
}
 @keyframes pill-shimmer {
  /* shimmer sweep */
  0% {
    transform: translateX(-120%);
  }

  40% {
    transform: translateX(120%);
  }

  /* pause */
  100% {
    transform: translateX(120%);
  }
}


/* Icon Row */
/* 90px-tall icons, preserve aspect ratio */
.icon-row img{
  height: 30px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
   width: auto !important;
}
.icon-row figure.logo-large img {
  height: 60px !important;
}

/* Keep row flexible + wrapping */
.icon-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  align-items: center;
}
.icon-row figure{
  margin: 0;
  width: fit-content;
  justify-self: center;
}
.foot-cloud-stack img {
  height: 90px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
   width: auto !important;
}



/* =========================
   Blog Posts
   ========================= */
.single-post p {
text-align: justify !important;
color: #000 !important;

}
/* Restore float wrapping for classic-aligned images */
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
}

.aligncenter {
  display: block;
  margin: 1rem auto;
}

/* Ensure text wraps properly */
.wp-block-post-content::after {
  content: "";
  display: table;
  clear: both;
}
/* On small screens, let post images go full width */
@media (max-width: 600px) {

  .wp-block-post-content img.alignright,
  .wp-block-post-content img.alignleft {
    float: none;
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 1.25rem 0;
  }

}
/* ==========================================
   Legacy 2-column list layout and table layout
   Used in migrated blog posts (tables and table → UL)
   ========================================== */

.legacy-post-ul-two-col {
  list-style: none;
  padding-left: 0;
  margin: 2rem 0;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2.5rem; /* row gap, column gap */
}

.legacy-post-ul-two-col > li {
  list-style: none;
  padding-bottom: 1rem;
}

.legacy-post-ul-two-col > li > ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}
.legacy-post-ul-two-col > li > ul> li{
 padding-bottom: .5rem;


}
.legacy-post-ul-two-col > li img:first-child {
  margin-bottom: 1rem;
}
.legacy-post-ul-two-col p {
  text-align: left !important;
}
.legacy-post-ul-two-col img {
  max-width: 130px;   /* adjust if needed */
  height: auto;
  display: block;
  margin: 0 auto 1rem;
}

.legacy-post-ul-two-col h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .legacy-post-ul-two-col {
    grid-template-columns: 1fr;
  }
}
.legacy-post-table {
  width: 100%;
  border-collapse: collapse;
  border-collapse: separate;
  border-spacing: 0 1.5rem; /* 0 horizontal, 1.5rem vertical */
}
.legacy-post-table td {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
/* Inside each card: number image left, text right */
.legacy-post-ul-two-col .cc-item-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Left number icon */
.legacy-post-ul-two-col .cc-number {
  width: 60px;     /* tweak if needed */
  max-width: none; /* override the general 130px rule */
  margin: 0;       /* override the general centering */
  flex-shrink: 0;
}

/* Right text area */
.legacy-post-ul-two-col .cc-text {
  flex: 1;
}

/* Bottom image stays centered below */
.legacy-post-ul-two-col .cc-bottom-img {
  display: block;
  margin: 1rem auto 0;
  max-width: 130px;
  height: auto;
}

/* On small screens, stack number above text */
@media (max-width: 600px) {
  .legacy-post-ul-two-col .cc-item-top {
    flex-direction: column;
  }

  .legacy-post-ul-two-col .cc-number {
    margin-bottom: 0.5rem;
  }
}
/* ===============================================
   Post: Customer Care Dialogue (ID 3382)
   Legacy table layout normalization
   Added March 2026 during block theme migration
   =============================================== */



.postid-3382 .cc-table-1 td img {
  width: 51px;
  height: auto;
  display: block;
}

/* .postid-3382 table td:nth-child(2) {
  padding-right: 2rem;
  padding-bottom:2rem;
} */

/* Table 2 adjustments */
.postid-3382 .cc-table-2 td img {
  width: 19px;
  height: auto;
  display: block;
}

/* Table 3 adjustments */
.postid-3382 .cc-table-3 td img {
 display: block;
 align: center;
}
/* ===============================================
   Post: Rapid Transition to Fully Remote Operations Under Crisis Conditions (ID 3175)
   Legacy table layout normalization
   Added March 2026 during block theme migration
   =============================================== */
.postid-3175 li, .postid-4784 li {
padding-bottom: 2rem;
}

/* =========================
   Front Page
   ========================= */

/* =========================
   Bridge hero image polish
   ========================= */


/* Bridge image: fade left edge + bottom edge WITHOUT creating a corner artifact */
figure.bridge-image > img{
  display: block;
  width: 100%;
  height: auto;

  -webkit-mask-image:
    /* Left + right fade in ONE gradient */
    linear-gradient(to right,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    ),
    /* Bottom fade */
    linear-gradient(to bottom,
      #000 0%,
      #000 74%,
      transparent 100%
    );

  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;

  mask-image:
    linear-gradient(to right,
      transparent 0%,
      #000 14%,
      #000 86%,
      transparent 100%
    ),
    linear-gradient(to bottom,
      #000 0%,
      #000 74%,
      transparent 100%
    );
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-composite: intersect;
}


@media (min-width: 783px){
  figure.bridge-image{
    transform: translateY(-55px);
  }
}


/* Full-bleed background inside a padded parent */
.quote-band{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

/* Restore comfortable inner padding for the band content */
.quote-band > * {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
  /* padding-left: clamp(1.5rem, 5vw, 3rem);
  padding-right: clamp(1.5rem, 5vw, 3rem); */
}
/* ===============================================
   Monitoring Section under How We Work
   =============================================== */
 /* Inner wrapper: contains h3 + image */
.monitoring-section {
  position: relative;
}

/* Base h3 styles */
.monitoring-section h3{
  position: relative;
  z-index: 2;
  max-width: 28ch;
  margin: 0 0 -28px 0;       /* overlap (base) */
  padding: 20px 0 0 20px;    /* base inset */
}

/* Remove default image margins */
.monitoring-section .wp-block-image{
  position: relative;
  z-index: 1;
  margin: 0;
}

/* --- Desktop: push h3 rightward --- */
@media (min-width: 782px){
  .monitoring-section h3{
    padding-left: 80px;      /* increase inset (try 40–80px) */
    /* optional: also nudge down a touch if needed */
    padding-top: 20px; 
  }
}

/* --- Mobile: give more breathing room above curve --- */
@media (max-width: 781px){
  .monitoring-section h3{
    margin-bottom: -5px !important;    /* less overlap = more space to curve */
    padding-bottom: 5px !important; 
    padding-left: 20px;      /* or 0 if you prefer centered feel */
    max-width: 18ch;         /* optional: reduces tall wrapping */
  }
  .monitoring-section img {
    padding-top: 10px;
  }
}
/* ===============================================
   Services & Solutions
   =============================================== */


   .entry-points-card h3 {
        /* color: #471548 !important; */
        margin-top: 0px;
   }
   .entry-points-card hr {
    width: 50%;
    height: 2px !important;
   }
   ul li::marker {
  color: #4a1448;
  font-size: 1.2em;
}
ul.entry-points {
  list-style: none;
  padding-left: 0;
}

ul.entry-points li {
  position: relative;
  padding-left: 1.2rem;
}

ul.entry-points li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #4a1448;
  color: #d94718;
  font-size: 0.9em;
  top: 0.1em;
}
   .even-columns.wp-block-columns{
  align-items: stretch;
}
.even-columns.wp-block-columns > .wp-block-column{
  display: flex;
}
.even-columns .card{
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* ===============================================
   Resources page and other blog archives
   =============================================== */
.info-card .blog-card-title a:hover {
text-decoration: none !important;
color: var(--is-color-accent)!important;
}

/* Low contrast chip style for tags */
.wp-block-post-terms.taxonomy-post_tag a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  margin: 0 0.5rem 0.5rem 0;
  font-size: 0.75rem;
  line-height: 1;
  border-radius: 999px;

  background: #f2f2f2;     /* soft neutral */
  color: #444;
  text-decoration: none;
}

.wp-block-post-terms.taxonomy-post_tag a:hover {
  background: #e5e5e5;
}

/* .wp-block-query .wp-block-post-featured-image img {
  aspect-ratio: 4 / 2.75;  /* change ratio if desired 
  overflow: hidden;
}

.blog-card img {

  transition: filter 0.4s ease, opacity 0.4s ease;
}

.blog-card:hover img {
  filter: saturate(85%) contrast(95%) brightness(98%) !important;
  
} */
/* =========================
   Resources filter chips
   ========================= */
.resources-filter{
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center; /* centers the last row */
  margin: 0 0 1rem;
}


.resources-filter .chip{
  appearance:none;
  border:1px solid var(--wp--preset--color--contrast-2, #d1d5db);
  background: var(--wp--preset--color--base, #fff);
  color: var(--wp--preset--color--contrast, #111827);
  border-radius: 999px;
    padding: .5rem .9rem;
  font-size: .95rem;
  line-height: 1.2;
  cursor:pointer;
  /* control how many fit per row by controlling chip width */
    flex: 0 1 12.5rem; /* tweak this number */
  display: inline-flex;           /* allows vertical centering */
  align-items: center;            /* vertical center text */
  justify-content: center;
  min-height: 3.5rem;            /* make 1-line match 2-line */
  max-width: 16rem;
}
.resources-filter .chip:hover{
background:  #c1aac7;
}


.resources-filter .chip.is-active{
  background-color:  #4a1448;
  color: var(--wp--preset--color--base, #fff);
  border-color: var(--wp--preset--color--contrast, #111827);
}



/* Hide filtered posts */
.featured-blog-posts .wp-block-post-template > li[hidden]{
  display:none !important;
}


/* =========================
   Featured image: true "cover"
   ========================= */

/* Give the figure a predictable shape and hide overflow */
.featured-blog-posts .wp-block-post-featured-image{
  width: 100%;
  aspect-ratio: 4 / 2.75;     /* adjust if you want taller/shorter cards */
  overflow: hidden;
  margin: 0;                /* optional: removes default figure margins */
  border-radius: 4px;       /* optional: match card style */
}

/* Make the img fill the figure and crop like a background-cover image */
.featured-blog-posts .wp-block-post-featured-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  transition: filter 0.4s ease, opacity 0.4s ease;
}

/* Make the img fill the figure and crop like a background-cover image */
.featured-blog-posts .blog-card:hover .wp-block-post-featured-image img{
filter: saturate(85%) contrast(95%) brightness(98%) !important;
}
/* For tags and categories on cards */

.info-card.blog-card .wp-block-post-terms .term-label{
  display: inline-block;
  padding: .25rem .65rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
}
.info-card.blog-card .taxonomy-category .term-label{
  background: #f4f0f6;   /* very light purple */
  color: #374151;        /* slate */
}
.info-card.blog-card .taxonomy-post_tag .term-label{
  background: #f3f4f6;   /* very light gray */
  color: #374151;        /* slate */
 
}
/* =========================
  About Us
   ========================= */
.orange-h3 {
  color: #da4b09 !important;
}
.short-separator {
  width: 20rem;
  
}
/* =========================
  CloudBridgeCX
   ========================= */
figure.portal-image {
  max-width: 100%;
  overflow: hidden; /* optional, but can prevent visual bleed */
}

figure.portal-image > img {
  display: block;
  max-width: 100%;   /* better than width:100% in flexy contexts */
  width: 100%;
  height: auto;
}
@media (min-width: 783px){
  figure.portal-image{
    margin-top: -50px;
  }
}
.product-name {
  white-space: nowrap;
}
/* CloudBridge hero columns (cb-hero is on the GROUP wrapper) */
.cb-hero > .wp-block-columns.hero-columns {
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  flex-wrap: wrap;
}

.cb-hero > .wp-block-columns.hero-columns > .wp-block-column {
  min-width: 0; /* critical */
}

/* Left column: readable measure */
.cb-hero > .wp-block-columns.hero-columns > .wp-block-column:first-child {
  flex: 0 1 520px;
  max-width: 520px;
}

/* Right column: illustration gets remaining space */
.cb-hero > .wp-block-columns.hero-columns > .wp-block-column:last-child {
  flex: 1 1 0;
  min-width: 320px;
}

/* Stack sooner */
@media (max-width: 960px) {
  .cb-hero > .wp-block-columns.hero-columns {
    flex-direction: column;
    align-items: stretch;
  }

  .cb-hero > .wp-block-columns.hero-columns > .wp-block-column {
    flex-basis: auto;
    width: 100%;
    max-width: 100%;
  }
}

/* Make sure the portal image can’t overflow */
.portal-image img {
  display: block;
  max-width: 100%;
  height: auto;
}



/* ===== Footer: reduce overall height ===== */

/* Outer footer wrapper padding */
footer.wp-block-template-part
  > .wp-block-group.has-background {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

/* Tighten the address/contact paragraph (it has <br><br> which adds lots of height) */
footer.wp-block-template-part p.has-small-font-size {
  margin-top: 8px;
  margin-bottom: 12px;
  line-height: 1.45;
}

/* Reduce the *double* line breaks effect from <br><br> */
footer.wp-block-template-part p.has-small-font-size br + br {
  display: none;
}

/* Social icons row: pull up a bit */
footer.wp-block-template-part .wp-block-social-links {
  margin-top: 30px !important;
}

/* Copyright area spacing */
footer.wp-block-template-part .has-secondary-color[style*="padding-top"] {
  padding-top: 16px !important;
}
/* ===== Footer nav: tighten spacing ===== */

/* Reduce the vertical gap between rows/items */
footer .wp-block-navigation.footer-menu .wp-block-navigation__container {
  gap: 16px 48px;            /* row-gap col-gap (tweak) */
  row-gap: 16px;
  column-gap: 48px;
  align-items: flex-start;
  margin-top: 15px;
}

/* Remove any default margins/padding on items */
footer .wp-block-navigation.footer-menu .wp-block-navigation-item {
  margin: 0 !important;
}

footer  .address {
  margin-top: 15px;
}
footer .wp-block-navigation.footer-menu .wp-block-navigation-item__content {
  padding: 0 !important;
  line-height: 1.2;
  display: inline-block;
}

/* Optional: make the footer nav type a touch smaller so it feels “footer-y” */
footer .wp-block-navigation.footer-menu {
  font-size: 1rem; /* or 0.9rem */
}

/*iubenda*/
.iub__us-widget, .iubenda-tp-alert-btn:not([data-tp-nostyle],.iubenda-floatable-default-btn), .iubenda-tp-btn:not(.iubenda-floatable-tb-btn):not([data-tp-nostyle],.iubenda-floatable-default-btn), .iubenda-uspr-btn:not([data-tp-nostyle],.iubenda-floatable-default-btn) {
  display: none !important;
}
/* button.iubenda-tp-btn.iubenda-cs-preferences-link {
    opacity: 0 !important;
}
.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-icon=data-tp-icon] {
  background-image: none !important;
} */
