/*
Theme Name: ITStaffAugmentation Child
Theme URI: http://localhost/ITStaffAugmentation/blog/
Description: Custom child theme for the ITStaffAugmentation blog, based on Twenty Twenty-Five.
Author: ITStaffAugmentation
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: itstaffaugmentation-child
*/

:root {
  --itsa-ink: #12151f;
  --itsa-blue: #315eff;
  --itsa-mint: #8fe3c4;
  --itsa-paper: #f4f6fa;
}

/* Site typography: keep the public blog on the same two-font system. */
.wordpress-blog,
.wordpress-blog button,
.wordpress-blog input,
.wordpress-blog select,
.wordpress-blog textarea,
.wordpress-blog .ui-widget,
.wordpress-blog .ui-widget input,
.wordpress-blog .ui-widget select,
.wordpress-blog .ui-widget textarea,
.wordpress-blog .ui-widget button {
  font-family: Inter, sans-serif !important;
}

.wordpress-blog h1,
.wordpress-blog h2,
.wordpress-blog h3,
.wordpress-blog h4,
.wordpress-blog h5,
.wordpress-blog h6 {
  font-family: Montserrat, sans-serif !important;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wp-site-blocks {
  overflow-x: clip;
}

.wordpress-blog .wp-site-blocks {
  padding-top: 0;
  padding-bottom: 0;
}

.wordpress-blog {
  padding: 0 !important;
}

.wordpress-blog .wp-site-blocks > header,
.wordpress-blog .wp-site-blocks > footer,
.wordpress-blog .wp-site-blocks > main {
  margin-block-start: 0 !important;
}

.wordpress-blog header,
.wordpress-blog footer {
  font-family: Inter, sans-serif;
  letter-spacing: normal;
}

.wordpress-blog header *,
.wordpress-blog footer * {
  box-sizing: border-box;
}

.wordpress-blog header a,
.wordpress-blog footer a {
  color: inherit;
  text-decoration: none !important;
}

.wordpress-blog header .wrap,
.wordpress-blog footer .wrap {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto !important;
  padding-inline: 28px;
}

.wordpress-blog header .nav {
  padding-block: 13px;
}

.wordpress-blog footer {
  margin-top: 0;
  padding-top: 68px;
}

.wordpress-blog footer h5,
.wordpress-blog footer p {
  margin-block: 0;
}

/*
 * WordPress prints theme.json/global block styles after theme stylesheets.
 * Keep the directly included site chrome visually identical to the PHP site.
 */
.wordpress-blog header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(244, 246, 250, .72) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
}

.wordpress-blog header .nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 13px 28px !important;
  gap: 24px !important;
}

.wordpress-blog header .brand,
.wordpress-blog header .brand-logo,
.wordpress-blog header .nav-links,
.wordpress-blog header .nav-cta {
  margin: 0 !important;
}

.wordpress-blog header .brand-logo {
  display: block !important;
  width: 200px !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 780 / 253 !important;
  object-fit: contain !important;
  object-position: left center !important;
  flex-shrink: 1 !important;
}

.wordpress-blog header .nav-links {
  display: none !important;
  align-items: center !important;
  gap: 42px !important;
  padding: 0 !important;
  color: var(--muted) !important;
  font-family: Inter, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  list-style: none !important;
}

.wordpress-blog header .nav-links > .nav-item > a {
  position: relative !important;
  display: inline-block !important;
  padding: 4px 0 !important;
  color: var(--muted) !important;
  font: inherit !important;
  white-space: nowrap !important;
}

.wordpress-blog header .nav-links > .nav-item > a:hover,
.wordpress-blog header .nav-links > .nav-item > a.active {
  color: var(--ink) !important;
}

.wordpress-blog header .nav-menu-trigger {
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--muted) !important;
  font: 500 15px/1.5 Inter, sans-serif !important;
  text-transform: none !important;
}

.wordpress-blog header .has-mega-menu:hover > .nav-menu-trigger,
.wordpress-blog header .has-mega-menu:focus-within > .nav-menu-trigger,
.wordpress-blog header .has-mega-menu.menu-open > .nav-menu-trigger {
  color: var(--ink) !important;
}

.wordpress-blog header .mega-menu a {
  white-space: normal !important;
}

.wordpress-blog header .nav-cta {
  display: flex !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 0 !important;
}

.wordpress-blog header .nav-phone {
  display: none !important;
  color: var(--muted) !important;
  font-family: "Inter", sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
}

.wordpress-blog header .nav-cta .btn.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 11px 18px !important;
  background: var(--site-navy) !important;
  border: 1px solid var(--site-navy) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  white-space: nowrap !important;
}

.wordpress-blog footer.site-footer {
  width: 100% !important;
  margin: 0 !important;
  padding: 60px 0 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  color: var(--ink) !important;
}

.wordpress-blog footer .footer-inner {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr 1fr .8fr 1.2fr !important;
  gap: 30px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.wordpress-blog footer .footer-brand,
.wordpress-blog footer .footer-bottom {
  margin-block: 0 !important;
}

.wordpress-blog footer .footer-col h3 {
  position: relative !important;
  margin: 0 0 19px !important;
  padding-bottom: 10px !important;
  color: var(--ink) !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
}

.wordpress-blog footer .footer-col h3::after {
  content: "" !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, var(--blue), var(--green)) !important;
}

.wordpress-blog footer .footer-col h3.footer-subheading {
  margin-top: 28px !important;
}

.wordpress-blog footer .footer-col a {
  display: block !important;
  margin: 0 0 11px !important;
  color: var(--ink) !important;
  font-family: Inter, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.wordpress-blog footer .footer-col a:hover {
  color: var(--blue) !important;
}

.wordpress-blog footer .brand-logo {
  width: 200px !important;
  max-width: 100% !important;
  height: auto !important;
}

.wordpress-blog footer .footer-tagline {
  max-width: 285px !important;
  margin: 14px 0 0 !important;
  color: var(--muted) !important;
  font-family: Inter, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

.wordpress-blog footer .footer-contact .contact-line {
  font-weight: 600 !important;
  overflow-wrap: anywhere !important;
}

.wordpress-blog footer .footer-contact .footer-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 10px !important;
  padding: 11px 20px !important;
  border-radius: 999px !important;
  background: var(--site-navy) !important;
  color: #fff !important;
  font-weight: 700 !important;
}

.wordpress-blog footer .footer-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  margin-top: 42px !important;
  padding: 22px 0 !important;
  border-top: 1px solid var(--line) !important;
}

.wordpress-blog footer .footer-legal {
  display: flex !important;
  align-items: center !important;
  gap: 22px !important;
}

.wordpress-blog footer .footer-legal a {
  display: inline !important;
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 13px !important;
}

.wordpress-blog footer .footer-bottom span {
  color: var(--muted) !important;
  font-family: Inter, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

@media (min-width: 1120px) {
  .wordpress-blog header .nav-links {
    display: flex !important;
  }
}

@media (min-width: 860px) {
  .wordpress-blog header .nav-phone {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .wordpress-blog footer .footer-inner {
    grid-template-columns: 1fr 1fr !important;
  }

  .wordpress-blog footer .footer-brand {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 520px) {
  .wordpress-blog header .brand-logo {
    width: 144px !important;
  }

  .wordpress-blog header .nav {
    gap: 12px !important;
    padding-inline: 20px !important;
  }

  .wordpress-blog footer.site-footer {
    padding-top: 44px !important;
  }

  .wordpress-blog footer .footer-inner {
    grid-template-columns: 1fr !important;
  }

  .wordpress-blog footer .footer-brand {
    grid-column: auto !important;
  }

  .wordpress-blog footer .footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }
}

@media (max-width: 420px) {
  .wordpress-blog header .brand-logo {
    width: 116px !important;
  }

  .wordpress-blog header .nav-cta {
    gap: 8px !important;
  }

  .wordpress-blog header .nav-cta .btn.btn-primary {
    padding: 9px 12px !important;
    font-size: 12px !important;
  }
}

/* Blog index */
.itsa-blog-index,
.itsa-single-post {
  margin: 0 !important;
}

.itsa-blog-hero {
  position: relative;
  overflow: hidden;
  min-height: 610px;
  padding: 104px 28px 96px;
  background: linear-gradient(132deg, #070c19 0%, #111b31 55%, #172957 100%);
  color: #fff;
}

.itsa-blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
}

.itsa-blog-hero::after {
  content: '';
  position: absolute;
  top: -260px;
  right: -120px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49,94,255,.52), rgba(38,212,154,.08) 42%, transparent 69%);
}

.itsa-blog-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1400px !important;
  margin-inline: auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, .65fr) !important;
  align-items: center !important;
  gap: 80px !important;
}

.itsa-blog-hero-copy { margin: 0 !important; }

.itsa-kicker {
  margin: 0 !important;
  color: #8fe3c4;
  font: 500 12px/1.4 "Inter", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.itsa-blog-title {
  max-width: 870px;
  margin: 18px 0 0 !important;
  color: #fff;
  font: 600 clamp(46px, 6vw, 76px)/1.02 "Montserrat", sans-serif;
  letter-spacing: -.045em;
}

.itsa-blog-title em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(100deg, #79a0ff, #65e8bd);
  background-clip: text;
  -webkit-background-clip: text;
}

.itsa-blog-intro {
  max-width: 700px;
  margin: 25px 0 0 !important;
  color: rgba(255,255,255,.66);
  font-size: 17px;
  line-height: 1.75;
}

.itsa-hero-topics {
  gap: 9px !important;
  margin-top: 30px !important;
}

.itsa-hero-topics p {
  margin: 0 !important;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.72);
  font: 500 10px/1.4 "Inter", sans-serif;
  letter-spacing: .04em;
}

.itsa-hero-insight-card {
  position: relative;
  margin: 0 !important;
  padding: 34px !important;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 30px 80px -45px rgba(0,0,0,.9);
  backdrop-filter: blur(14px);
  transform: rotate(1.25deg);
}

.itsa-hero-insight-card h2 {
  margin: 18px 0 24px !important;
  color: #fff;
  font-size: 27px;
  line-height: 1.22;
  letter-spacing: -.025em;
}

.itsa-hero-insight-card > p:not(.itsa-insight-label) {
  color: rgba(255,255,255,.62);
  font-size: 13px;
  line-height: 1.65;
}

.itsa-insight-label {
  margin: 0 !important;
  color: #65e8bd;
  font: 500 10px "Inter", sans-serif;
  letter-spacing: .1em;
}

.itsa-hero-insight-card hr { border-color: rgba(255,255,255,.14); }
.itsa-insight-metric { margin-top: 28px !important; color: #fff; }
.itsa-insight-metric p { margin: 0 !important; font-size: 12px; }

.itsa-latest-section {
  width: 100%;
  max-width: 1400px !important;
  margin-inline: auto !important;
  padding: 94px 28px 105px;
}

.wordpress-blog .itsa-latest-section.is-layout-constrained > *,
.wordpress-blog .itsa-blog-content-grid,
.wordpress-blog .itsa-post-query,
.wordpress-blog .itsa-post-query .wp-block-post-template {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.itsa-blog-content-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 330px !important;
  align-items: start !important;
  gap: 34px !important;
}

.itsa-blog-content-grid > .itsa-blog-sidebar {
  position: sticky;
  top: 98px;
  grid-template-columns: 1fr !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.itsa-section-heading {
  align-items: flex-end !important;
  gap: 20px;
  margin-bottom: 42px !important;
}

.itsa-section-heading h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -.03em;
}

.itsa-section-heading p {
  margin: 0;
  color: #6b7280;
  font-size: 13px;
}

.itsa-post-query .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 26px !important;
}

.itsa-post-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 1fr !important;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #e1e5ef;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px -38px rgba(8,13,27,.55);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.wordpress-blog .itsa-post-card.is-layout-constrained > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.itsa-post-card .itsa-card-image,
.itsa-post-card .itsa-card-image a,
.itsa-post-card .itsa-card-image img {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.wordpress-blog .itsa-post-card > figure.itsa-card-image.wp-block-post-featured-image {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.itsa-post-card .itsa-card-image,
.itsa-post-card .itsa-card-image a {
  display: block;
  aspect-ratio: 16 / 9 !important;
}

.itsa-post-card .itsa-card-image img {
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.itsa-post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(49,94,255,.35);
  box-shadow: 0 28px 52px -36px rgba(49,94,255,.42);
}

.itsa-card-image {
  margin: 0 !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: linear-gradient(135deg, #e9edf7, #d9e2f4);
}

.itsa-card-image img {
  border-radius: 0 !important;
  transition: transform .45s ease;
}

.itsa-post-card:hover .itsa-card-image img {
  transform: scale(1.035);
}

.itsa-card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  padding: 0 14px 8px !important;
}

.wordpress-blog .itsa-card-body.is-layout-constrained > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.itsa-card-meta {
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  gap: 18px;
}

.itsa-card-category,
.itsa-card-date {
  color: #315eff;
  font: 500 10px/1.5 "Inter", sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.itsa-card-category {
  margin: 0 0 0 auto !important;
  text-align: right;
}

.itsa-card-category a,
.itsa-card-title a,
.itsa-card-excerpt a {
  text-decoration: none !important;
}

.itsa-card-title {
  margin: 11px 0 0 !important;
  font-size: 21px;
  line-height: 1.3;
}

.itsa-blog-sidebar {
  position: sticky;
  top: 98px;
  display: grid !important;
  gap: 22px !important;
}

.itsa-sidebar-card {
  margin: 0 !important;
  padding: 28px !important;
  border: 1px solid #e1e5ef;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 20px 50px -42px rgba(8,13,27,.55);
}

.itsa-sidebar-card h3 {
  margin: 9px 0 20px !important;
  color: #12151f;
  font-size: 22px;
  line-height: 1.2;
}

.itsa-sidebar-eyebrow {
  margin: 0 !important;
  color: #315eff;
  font: 500 10px "Inter", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.itsa-category-list { margin: 0 !important; padding: 0 !important; list-style: none; }
.itsa-category-list li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid #edf0f5; color: #9298a7; font-size: 12px; }
.itsa-category-list li:last-child { border-bottom: 0; }
.itsa-category-list a { color: #303646; font-size: 13px; font-weight: 600; text-decoration: none !important; }
.itsa-category-list a:hover { color: #315eff; }

.itsa-lead-card {
  overflow: hidden;
  background: linear-gradient(155deg, #0b1326, #162344) !important;
  border-color: rgba(49,94,255,.3) !important;
}

.itsa-lead-card h3 { color: #fff; }
.itsa-lead-card > p:not(.itsa-sidebar-eyebrow) { margin: -8px 0 21px !important; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.6; }
.itsa-lead-card .wpcf7 p { margin: 0 0 13px !important; color: rgba(255,255,255,.78); font-size: 11px; font-weight: 600; }
.itsa-lead-card .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.itsa-lead-card .wpcf7 input:not([type="submit"]),
.itsa-lead-card .wpcf7 textarea,
.itsa-lead-card .wpcf7 select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;
  outline: 0;
  background: rgba(255,255,255,.08);
  color: #fff;
  font: 400 13px Inter, sans-serif;
}
.itsa-lead-card .wpcf7 textarea { min-height: 92px; resize: vertical; }
.itsa-lead-card .wpcf7 input:focus,
.itsa-lead-card .wpcf7 textarea:focus { border-color: #65e8bd; box-shadow: 0 0 0 3px rgba(101,232,189,.12); }
.itsa-lead-card .wpcf7-submit { width: 100%; min-height: 48px; border: 0; border-radius: 9px; background: linear-gradient(100deg, #315eff, #2478ff); color: #fff; font: 700 13px Inter, sans-serif; cursor: pointer; }
.itsa-lead-card .wpcf7-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 25px -15px #315eff; }
.itsa-lead-card .wpcf7-spinner { display: none; }
.itsa-lead-card .wpcf7-response-output { margin: 12px 0 0 !important; padding: 10px !important; border-width: 1px !important; color: #fff; font-size: 11px; }
.itsa-form-notice { color: rgba(255,255,255,.7); font-size: 12px; }

.itsa-card-title a {
  color: #12151f;
}

.itsa-card-excerpt {
  margin-top: 11px !important;
  color: #5b6172;
  font-size: 13px;
  line-height: 1.65;
}

.itsa-card-excerpt .wp-block-post-excerpt__more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 22px;
  padding: 7px 20px;
  border-radius: 999px;
  background: #315eff;
  color: #fff;
  font-weight: 600;
}

.itsa-card-date {
  margin: 0 !important;
  padding: 0;
  background: transparent;
  color: #315eff;
  text-align: left;
}

.itsa-pagination {
  gap: 7px;
  margin-top: 48px !important;
}

.itsa-pagination a,
.itsa-pagination .page-numbers.current {
  display: inline-grid;
  min-width: 40px;
  min-height: 40px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid #e1e5ef;
  border-radius: 9px;
  background: #fff;
  color: #12151f;
  text-decoration: none !important;
}

.itsa-pagination .page-numbers.current {
  border-color: #315eff;
  background: #315eff;
  color: #fff;
}

.itsa-no-posts {
  padding: 50px;
  border: 1px dashed #ccd3e1;
  border-radius: 18px;
  text-align: center;
  color: #6b7280;
}

.itsa-blog-cta,
.itsa-article-cta {
  width: calc(100% - 56px);
  max-width: 1124px !important;
  margin: 0 auto 105px !important;
  padding: 60px !important;
  border-radius: 28px;
  background: linear-gradient(145deg, #080d1b, #111b31);
  color: #fff;
  box-shadow: 0 30px 60px -42px rgba(8,13,27,.8);
}

.itsa-blog-cta {
  max-width: 1400px !important;
}

.itsa-blog-cta h2,
.itsa-article-cta h2 {
  max-width: 750px;
  margin: 12px 0 24px !important;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.itsa-blog-cta .wp-block-buttons,
.itsa-article-cta .wp-block-buttons {
  justify-content: flex-start !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.itsa-blog-cta .wp-block-button,
.itsa-article-cta .wp-block-button {
  margin-left: 0 !important;
}

.itsa-blog-cta .wp-block-button__link,
.itsa-article-cta .wp-block-button__link {
  border-radius: 10px;
  background: #ff7a45;
  color: #1a0d00;
}

/* Single article */
.itsa-article-hero {
  position: relative;
  overflow: hidden;
  padding: 34px 28px 58px;
  background: linear-gradient(145deg, #eef3ff 0%, #f8fafc 58%, #eefaf6 100%);
}

.itsa-article-hero::after {
  content: '';
  position: absolute;
  top: -280px;
  right: -180px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49,94,255,.14), rgba(38,212,154,.06) 44%, transparent 70%);
  pointer-events: none;
}

.itsa-article-heading {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  width: 100%;
  max-width: 1280px !important;
  margin-inline: auto !important;
}

.wordpress-blog .itsa-article-heading.is-layout-constrained > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.itsa-back-link {
  grid-column: 1 / -1;
  color: #315eff;
  font: 600 12px "Inter", sans-serif;
  text-decoration: none;
}

.itsa-article-category {
  grid-column: 2;
  grid-row: 3;
  align-self: center;
  width: fit-content !important;
  margin: 34px 0 0 28px !important;
  padding: 8px 13px;
  border: 1px solid rgba(49,94,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.7);
  color: #315eff;
  font: 700 11px "Inter", sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -20px rgba(49,94,255,.8);
}

.itsa-article-category a {
  text-decoration: none !important;
}

.itsa-article-title {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 22px 0 0 !important;
  color: #101522;
  font-size: clamp(46px, 5.2vw, 76px) !important;
  line-height: 1.05 !important;
  letter-spacing: -.045em;
}

.itsa-article-excerpt {
  max-width: 760px;
  margin-top: 22px !important;
  color: #5b6172;
  font-size: 18px;
  line-height: 1.7;
}

.itsa-article-excerpt .wp-block-post-excerpt__more-text {
  display: none;
}

.itsa-article-meta {
  grid-column: 1;
  grid-row: 3;
  align-self: center;
  width: fit-content !important;
  gap: 20px !important;
  margin: 34px 0 0 !important;
  padding: 12px 16px;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 12px;
  background: rgba(255,255,255,.62);
  color: #596378;
  font: 600 11px "Inter", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 16px 32px -28px rgba(15,23,42,.5);
}

.itsa-article-meta p {
  margin: 0;
}

.itsa-article-meta p + p::before {
  content: '•';
  margin-right: 20px;
}

.itsa-article-shell {
  width: calc(100% - 56px);
  max-width: 1280px !important;
  margin: 28px auto 100px !important;
}

.itsa-article-image {
  overflow: hidden;
  margin: 42px 0 58px !important;
  border: 8px solid #fff;
  border-radius: 26px !important;
  background: #e5e9f2;
  box-shadow: 0 28px 60px -42px rgba(8,13,27,.65);
}

.itsa-article-image img {
  border-radius: 18px !important;
}

.itsa-article-content {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  color: #303646;
  font-size: 18px;
  line-height: 1.85;
}

.itsa-article-body-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 330px !important;
  align-items: start;
  gap: 54px !important;
}

.itsa-article-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.itsa-article-main > .itsa-article-category {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  margin: 24px 0 0 24px !important;
  text-align: right;
}

.itsa-article-main > .itsa-article-title {
  grid-column: 1 / -1;
  grid-row: 1;
}

.itsa-article-main > .itsa-article-meta {
  grid-column: 1;
  grid-row: 2;
  margin-top: 24px !important;
}

.itsa-article-main > .itsa-article-image,
.itsa-article-main > .itsa-article-content,
.itsa-article-main > .itsa-article-divider,
.itsa-article-main > .itsa-article-footer {
  grid-column: 1 / -1;
}

.itsa-article-main > .itsa-article-title {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 22px 0 0 !important;
  font-size: clamp(38px, 4vw, 56px) !important;
  line-height: 1.1 !important;
}

.itsa-article-main > .itsa-article-meta {
  grid-column: 1;
  grid-row: 2;
  margin: 28px 0 0 !important;
}

.wordpress-blog .itsa-article-body-grid.is-layout-constrained > *,
.wordpress-blog .itsa-article-main > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wordpress-blog .itsa-article-main > .itsa-article-category,
.wordpress-blog .itsa-article-main > .itsa-article-meta {
  width: fit-content !important;
}

.wordpress-blog .itsa-article-main > .itsa-article-title {
  margin-top: 22px !important;
}

.wordpress-blog .itsa-article-main > .itsa-article-category,
.wordpress-blog .itsa-article-main > .itsa-article-meta {
  margin-top: 24px !important;
}

.itsa-article-sidebar {
  position: sticky;
  top: 112px;
}

.wordpress-blog .itsa-article-content.is-layout-constrained > *,
.wordpress-blog .itsa-article-content > *,
.wordpress-blog .itsa-article-content .is-layout-constrained > *,
.wordpress-blog .itsa-article-content .alignwide,
.wordpress-blog .itsa-article-content .alignfull {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.itsa-article-content > * + * {
  margin-block-start: 1.5em;
}

.itsa-article-content h2,
.itsa-article-content h3 {
  margin-top: 2.2em;
  margin-bottom: .65em;
  color: #12151f;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.itsa-article-content h2 {
  font-size: clamp(28px, 4vw, 38px);
}

.itsa-article-content h3 {
  font-size: 25px;
}

.itsa-article-content a {
  color: #315eff;
  font-weight: 600;
  text-decoration-thickness: 1px;
}

.itsa-article-content ul,
.itsa-article-content ol {
  padding-left: 1.35em;
}

.itsa-article-content li + li {
  margin-top: .55em;
}

.itsa-article-content img {
  height: auto;
  border-radius: 16px;
}

.itsa-article-content blockquote {
  margin-inline: 0;
  padding: 22px 26px;
  border-left: 4px solid #315eff;
  border-radius: 0 14px 14px 0;
  background: #f1f4fa;
}

.itsa-article-divider {
  max-width: none !important;
  margin: 76px 0 28px !important;
  border-color: #dfe4ed;
}

.itsa-article-footer {
  max-width: none !important;
  margin-inline: 0 !important;
  gap: 22px !important;
  color: #5b6172;
  font-size: 12px;
}

.itsa-article-footer a {
  color: #315eff;
  text-decoration: none !important;
}

.itsa-article-cta > p:not(.itsa-kicker) {
  max-width: 680px;
  color: rgba(255,255,255,.65);
}

@media (max-width: 900px) and (min-width: 821px) {
  .itsa-post-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 820px) {
  .itsa-blog-hero-inner {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .itsa-hero-insight-card {
    max-width: 560px !important;
    transform: none;
  }

  .itsa-blog-content-grid {
    grid-template-columns: 1fr !important;
  }

  .itsa-blog-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .itsa-post-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }

  .itsa-blog-hero {
    min-height: 420px;
    padding-top: 90px;
  }
}

@media (max-width: 600px) {
  .wordpress-blog header .wrap,
  .wordpress-blog footer .wrap {
    padding-inline: 20px;
  }

  .itsa-blog-hero {
    min-height: 390px;
    padding: 78px 20px 70px;
  }

  .itsa-blog-title {
    font-size: 43px;
  }

  .itsa-latest-section {
    padding: 70px 20px 78px;
  }

  .itsa-post-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .itsa-post-card {
    grid-template-columns: 1fr !important;
  }

  .itsa-post-card .itsa-card-image img {
    height: 100% !important;
  }

  .itsa-blog-sidebar {
    grid-template-columns: 1fr !important;
  }

  .itsa-blog-cta,
  .itsa-article-cta {
    width: calc(100% - 40px);
    margin-bottom: 78px !important;
    padding: 38px 24px !important;
  }

  .itsa-article-hero {
    padding: 28px 20px 46px;
  }

  .itsa-article-title {
    font-size: clamp(34px, 9vw, 44px) !important;
  }

  .itsa-article-heading {
    grid-template-columns: 1fr;
  }

  .itsa-article-category {
    grid-column: 1;
    grid-row: 4;
    margin: 14px 0 0 !important;
  }

  .itsa-article-meta {
    grid-column: 1;
    grid-row: 3;
    width: 100% !important;
    gap: 8px !important;
    align-items: flex-start !important;
    flex-direction: column;
  }

  .itsa-article-meta p + p::before {
    display: none;
  }

  .itsa-article-shell {
    width: calc(100% - 40px);
    margin-top: 20px !important;
  }

  .itsa-article-main {
    grid-template-columns: 1fr;
  }

  .itsa-article-main > .itsa-article-meta {
    grid-column: 1;
    grid-row: 2;
  }

  .itsa-article-main > .itsa-article-category {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    margin: 14px 0 0 !important;
    text-align: left;
  }

  .itsa-article-image {
    margin-bottom: 40px !important;
    border-width: 5px;
  }

  .itsa-article-content {
    width: 100% !important;
    font-size: 16px;
  }

  .itsa-article-body-grid {
    grid-template-columns: 1fr !important;
    gap: 44px !important;
  }

  .itsa-article-sidebar {
    position: static;
  }
}

a {
  text-underline-offset: 0.18em;
}

.wp-block-button__link {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -18px rgba(49, 94, 255, 0.8);
}

.wp-block-post-featured-image img,
.wp-block-image img {
  border-radius: 18px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
