.portfolio-list .arrow-link svg {
	min-height: 21px !important;
}

.case_study:nth-child(4n+3) .twi-wrapper .flex, .case_study .twi-wrapper .flex {
  flex-direction: row !important;
}

.portfolio-content .arrow-icon {
	bottom: -10px !important;
}

.podcast-subscribe .arrow-link {
	color: #fff !important;
}

@media screen and (max-width: 1024px) {
  .case_study:nth-child(4n+3) .twi-wrapper .flex, .case_study .twi-wrapper .flex {
    flex-direction: column !important;
  }
}

.home .panel[class*="podcast"] h2 a, .panel[class*="podcast"] h2 a:visited {
    text-decoration: none;
    color: #000;
}
	
	.podcast-header-content * p a, .podcast-header-content * p a:visited {
    color: #fff;
}
/* === Word Clouds: preview styles (scoped to page 488) === */
.page-id-488{
  --ink:#0B1220; --slate:#2B3345; --cloud:#F6F7F9; --ivory:#FCFBF7;
  --accent:#1E7F8F; --accent2:#C6613A; --blue:#2F6DF6;
}

/* HERO container (we'll set the background image in the block UI) */
.page-id-488 .wp-block-group.hero-grid{
  position:relative; overflow:hidden; background-color:var(--cloud);
  padding-top:96px; padding-bottom:96px;
}

/* Subtle grid overlay */
.page-id-488 .wp-block-group.hero-grid::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(11,18,32,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,18,32,.06) 1px, transparent 1px);
  background-size:32px 32px; mix-blend-mode:multiply;
}

/* Buttons */
.page-id-488 .wp-element-button,
.page-id-488 .wp-block-button__link{
  border-radius:12px; padding:14px 20px; font-weight:600;
}
.page-id-488 .is-style-outline .wp-block-button__link{
  background:transparent; border:1.5px solid var(--accent); color:var(--accent);
}

/* Cards (Services / Case Briefs) */
.page-id-488 .card{
  background:var(--ivory); border-radius:16px; padding:24px;
  box-shadow:0 2px 16px rgba(0,0,0,.06);
}
/* === HERO (page 488) — universal selector, works with any block that has class "hero-grid" === */
.page-id-488 .hero-grid{
  position:relative; overflow:hidden;
  background-color:#F6F7F9;                     /* Cloud */
  background-size:cover; background-position:center;
  padding-top:96px; padding-bottom:96px;
}
.page-id-488 .hero-grid::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background-image:
    linear-gradient(to right, rgba(11,18,32,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,18,32,.06) 1px, transparent 1px);
  background-size:32px 32px; mix-blend-mode:multiply;
}
/* Buttons + cards (scoped to page 488 so rest of site is untouched) */
.page-id-488 .wp-element-button,
.page-id-488 .wp-block-button__link{ border-radius:12px; padding:14px 20px; font-weight:600; }
.page-id-488 .is-style-outline .wp-block-button__link{ background:transparent; border:1.5px solid #1E7F8F; color:#1E7F8F; }
.page-id-488 .card{ background:#FCFBF7; border-radius:16px; padding:24px; box-shadow:0 2px 16px rgba(0,0,0,.06); }
/* Hide theme page header/title only on page 488 */
.page-id-488 .page-header,
.page-id-488 .entry-header,
.page-id-488 .entry-title,
.page-id-488 .custom-page-header { display: none !important; }

/* Remove any extra top spacing the theme adds on this page */
.page-id-488 .site-main,
.page-id-488 .content-area,
.page-id-488 .container,
.page-id-488 .content { margin-top: 0 !important; padding-top: 0 !important; }

/* Ensure the page background is our neutral "cloud" */
.page-id-488 { background: #F6F7F9 !important; }
