/* V17: Marketing case-study design — only new marketing elements and preview rules. */
.mkt-hero h1{max-width:1000px;letter-spacing:-.055em;font-size:clamp(3rem,6.6vw,6.1rem);line-height:1.04}.mkt-dot{color:#086fdb}.mkt-hero .rice-eyebrow{display:block;margin-top:30px}.mkt-narrow{max-width:1000px}.mkt-paragraph{max-width:930px;font-size:clamp(1rem,1.55vw,1.21rem);line-height:1.8;color:#425064}.mkt-overview{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.mkt-overview img{width:100%;border-radius:17px;box-shadow:0 16px 50px rgba(8,18,34,.12)}.mkt-metrics-section{padding:50px 0;background:#0f1930;color:white}.mkt-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.mkt-metrics>div{padding:22px;border-left:2px solid #086fdb}.mkt-metrics strong{display:block;font-size:clamp(1.65rem,3.6vw,3rem);font-weight:800;color:#fff}.mkt-metrics span{font-size:.85rem;color:#c6d1e0}.mkt-disclaimer{margin:20px 0 0;color:#bfcee1;font-size:.8rem}.mkt-gallery{display:grid;gap:25px;margin-top:30px}.mkt-gallery figure{margin:0;border:1px solid #dee7f1;background:#fff;border-radius:16px;padding:16px}.mkt-gallery img{max-width:100%;height:auto;display:block;margin:auto;border-radius:8px}.mkt-gallery figcaption{font-size:.9rem;color:#516177;padding:12px 0 0}.mkt-portfolio-card>a.mkt-image-link{display:block;overflow:hidden}.mkt-portfolio-card>a.mkt-image-link>img{width:100%;height:300px;object-fit:cover;object-position:center;display:block}.mkt-portfolio-card{overflow:hidden}.mkt-portfolio-card .rice-card-body{padding:24px}.g7-work-grid .mkt-home-card img{height:300px;aspect-ratio:auto;object-fit:cover}.mkt-home-card{display:block}.mkt-home-card>span{display:grid;grid-template-columns:1fr auto;padding:20px 0 5px;gap:6px 15px;align-items:center}.mkt-home-card small{color:#627887;font-size:.64rem;letter-spacing:.12em;font-weight:800;grid-column:1/-1}.mkt-home-card strong{font-size:1.25rem;font-weight:800;letter-spacing:-.03em}.mkt-home-card i{border:1px solid #bec7d0;width:35px;height:35px;border-radius:50%;display:grid;place-items:center}@media(max-width:780px){.mkt-overview{grid-template-columns:1fr}.mkt-metrics{grid-template-columns:1fr}.mkt-hero h1{font-size:clamp(2.4rem,10vw,4rem)}.mkt-portfolio-card>a.mkt-image-link>img,.g7-work-grid .mkt-home-card img{height:300px}}

/* V21: display the three marketing case-study overview images at a readable, consistent height.
   Avoid the old squeezed/stretch appearance on wider and smaller viewports. */
.mkt-overview > img {
  display: block;
  width: 100%;
  height: 400px;
  max-height: 400px;
  object-fit: contain;
  object-position: center center;
  background: #f5f7fc;
  border-radius: 17px;
}
@media (max-width: 780px) {
  .mkt-overview > img { height: 400px; max-height: 400px; }
}


/* V41 SEO portfolio card image fix */
.seo-portfolio-card>a.mkt-image-link{background:linear-gradient(135deg,#0f133d,#261b6f);display:flex;align-items:center;justify-content:center;padding:0;min-height:300px}.seo-portfolio-card>a.mkt-image-link>img{width:100%;height:300px;object-fit:contain;object-position:center top;background:#eef2f8;padding:0}@media(max-width:780px){.seo-portfolio-card>a.mkt-image-link,.seo-portfolio-card>a.mkt-image-link>img{height:300px;min-height:300px}}
