  .header-bg {
    top: -30px;
    height: 120px;
  }
.hero-container{
	padding:100px 30px 100px 30px;
	background-image:url(../images/hero-img.png);
	background-position:right bottom;
	background-repeat:no-repeat;
	background-size:36%;
}
.main-container{
	padding:100px 30px;
}
.main-container.ourprocess, 
.main-container.portfolio, 
.main-container.cost,
.main-container.faq{
	padding:100px 30px 100px 30px;
}
.main-container.testimonials{
		padding:100px 0 50px 0px;
		min-height:auto;
	}
.testimonials-indi .grid
h2.h2-big{
	font-size:55px;
	line-height: 55px;
	padding:10px 0 25px 5%;
	margin-bottom: 0;
	border-left:#000 3px solid;
	max-width:900px;
	color:#004dbc;
}
.webz-blue{
	color:#004dbc;
}
.test-logo {
	width:100%;
	max-width:300px;
}
a.main-button {
	max-width:320px;
}
.cd-primary-nav .grid{
	max-width:1170px;
}
.cta-container .grid{
	max-width:1170px;
}
footer .grid{
	max-width:1170px;
}
.footer-link li {
	margin-top:8px;
	margin-bottom:8px;
}

.work-content p {
		font-size:16px;
		line-height:22px;
		max-width:400px;
	}
.work-content.right p {
	margin-right:0;
	margin-left:auto;
}

.what-container{
	background:rgba(0,78,188,0);
	padding:25px 40px;
	border-radius:40px;
	border:#000 3px solid;
	min-height:330px;
	margin-bottom:20px;
}
.what-container hr{
	width:100%;
	max-width:100px;
	border:none;
	min-height:6px;
	border-radius:15px;
	background:#004dbc;
}
.what-row{
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
}
.what-row > div{
	width:48%;
	margin:0 0 50px 0;
}
.what-title{
	border-radius:1.5em;
	background-color: #333;
	width:65%;
	padding:30px 8%;
	position: relative;
	z-index: 100;
	border:#fff 8px solid;
	transition:all 0.5s;
}
.what-title:after{
	content:url(../images/icon-arrow-left.png);
	position:absolute;
	right:10px;
	bottom:10px;
	z-index: 101;
}
.what-content{
	width:90%;
	height: calc(100% - 80px);
	border-radius:1.5em;
	background-color: rgba(0,78,188,0.1);
	padding:120px 8% 30px 8%;
	margin: -100px 0 0 10%;
}
.what-row > div:hover .what-title{
	background-color: #004ebc;
}
.what-title h4{
	font-size:30px;
	line-height:34px;
	text-transform: lowercase;
	font-family: Quicksand,sans-serif;
	font-weight: 700;
	color:#fff;
}
.what-img{
	margin-top:40px;
}
.visual-img{
	position:absolute;
	right:3%;
	max-width:350px !important;
	z-index:1;
	animation: float 4s ease-in-out infinite;
}

@keyframes float {
	0% {
		transform: translatey(0px);
	}
	50% {
		transform: translatey(-30px);
	}
	100% {
		transform: translatey(0px);
	}
}

.service-row{
	padding:25px 5% 25px 5%;
	margin-bottom: 20px;
	border-bottom: #000 2px solid;
}
.service-row h3{
	position:relative;
	padding-left:20px;
}
.service-row h3:before{
	content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;          /* Thickness of the line */
    height: 100%;        /* Match the height of the parent */
    background-color: #004dbc;
    border-radius: 3px;  /* Half of width for rounded ends */
}
ul.bullet-list li{
	font-size:18px;
	line-height: 30px;
	position: relative;
	list-style:disc;
	margin-left:20px;
}
.process-row{
	padding:25px 5% 25px 5%;
}
/*ul.bullet-list li:before{
	content: "";
  width: 20px;
  height: 20px;
  border-radius: 100%;
  border: #00beda 5px solid;
  position: absolute;
  top: 5px;
  left: 0px;
}*/

.process-grid{
	display:flex;
	flex-wrap:wrap;
	justify-content: flex-start;
}
.process-grid.right{
	justify-content: flex-end;
}
.process-grid > div{
	width:40%;
	margin: 2.5% 0;
	display:flex;
	flex-wrap:wrap;
}
.process-grid .process-num{
	font-size:120px;
	font-weight:700;
	font-style:italic;
	letter-spacing:-0.05em;
	color:#E8E8E8;
	width:28%;
	font-family: Quicksand,sans-serif;
	margin-top: 25px;
}
.process-grid .process-content{
	padding:30px 8% 30px 4%;
	border: 6px solid #00beda;
	border-left:0;
	border-radius: 0 1.5em 1.5em 0;
	width:70%;
}
.process-grid h4{
	font-size:30px;
	line-height:30px;
	text-transform: lowercase;
	font-family: Quicksand,sans-serif;
	font-weight: 700;
}
.portfolio-content{
	max-width:none;
}
.testi-row{
	width:100%;
	margin: 0 auto;
}

.afc {
  background: url(../images/work-afc.jpg) center/cover no-repeat;
}
.enviros {
  background: url(../images/work-enviros.jpg) center/cover no-repeat;
}
.bhpetrol {
  background: url(../images/work-bhpetrol.jpg) center/cover no-repeat;
}

.answer p {
  font-size: 18px;
  line-height: 30px;
}
.cost h2{
	/*background-color: #DCDCDC;*/
	margin-bottom:40px;
}
.cost-grid{
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items:flex-end;
	position:relative;
}
.cost-content{
	position:relative;
	width:48%;
	margin: 2.5% 0;
	padding:40px 5% 50px 5%;
	background-color: #333;
	border-radius: 1.5em;
	color:#fff;
	z-index:1;
}
.cost-content h3{
	margin-bottom:30px;
}
.cost-img{
	position:absolute;
	top:-12%;
	left:18%;
	z-index:2;
	max-width:310px !important;
	animation: float 4s ease-in-out infinite;
}
.cta-container {
  height: auto;
	padding:80px 30px 250px 30px;
}
.cta-content {
  margin-top: 0;
}
.cta-content h2 {
  font-size: 55px;
  line-height: 55px;
  margin-bottom: 40px;
  color: #fff;
}
.cta-content p {
	width:100%;
	max-width:none;
}
.portfolio-content h2 {
  font-size: 55px;
  line-height: 55px;
  margin-bottom: 40px;
  color: #fff;
}
.form-container {
  margin-top: 10px;
}
label{
	padding: 25px 0 0 0;
	color:#fff;
}
input[type="text"], textarea, select{
	color:#fff;
	border-bottom:2px solid rgba(255,255,255,1);
}
textarea{
	border:2px solid rgba(255,255,255,1);
}

@media (max-width: 1400px) {
  .hero-container p, p {
    font-size: 16px;
    line-height: 22px;
  }
}


@media screen and (max-width: 1024px) {
  .main-container {
    padding: 50px 30px 20px 30px;
  }
	.main-container.ourprocess, 
	.main-container.portfolio, 
	.main-container.cost,
	.main-container.testimonials, 
	.main-container.faq{
		padding:60px 30px 60px 30px;
	}
	.cta-container {
		padding:80px 30px 150px 30px;
	}
	.cta-content p {
	  max-width: none;
	}
}

@media screen and (max-width:980px){
	.hero-container {
		padding:100px 30px 200px 30px !important;
		min-height:auto !important;
		background-size:75%;
	}
	.clients-img {
    position: absolute;
    left: auto;
    max-width: 250px !important;
    z-index: 1;
    animation: float 4s ease-in-out infinite;
    right: 0;
  }
  .visual-img{
	position:relative;
	right:3%;
	max-width:250px !important;
	z-index:1;
	animation: float 4s ease-in-out infinite;
}
	.what-row > div{
		width:100%;
		margin:0 0 20px 0;
	}
	.process-grid > div{
		width:100%;
	}
	.cost-content{
		width:100%;
	}
	.testimonials-bluebg .grid, .testimonials-greybg .grid {
  padding: 50px 30px 50px 30px !important;
}
.flex-container {
  width: 130px !important;
  height: 130px !important;
}
.testi-content {
  padding-left: 40px;
}
.testi-content::before {
  top: -20px !important;
  left: -30px !important;
  font-size: 100px !important;
}
.ourprocess .grid {
	display:flex;
	flex-direction:column;
}
.item-1 { order: 2; padding-bottom:0 !important; width:100%; } /* Displays second */
.item-2 { order: 1; width:100%; } /* Displays first */
.item-3 { order: 3; padding-top:0 !important; width:100%; } /* Displays third */
.item-4 { order: 4; width:100%; } /* Displays fourth */

.what-container {
	min-height:auto;
}
.what-img {
  max-width: 300px !important;
  margin: 0 auto;
  display: block;
}
.portfolio-content p {
  margin-bottom: 20px;
}
.button-container {
  padding: 20px 0 !important;
  float:none !important;
}
.button-container.cost-btn {
  padding: 20px 0 !important;
  float:none !important;
  text-align: left;
}
.cost-img {
  top: -22%;
  left: auto;
  max-width: 250px !important;
  right: 0;
}
.cta-content h2 {
    font-size: 36px !important;
    line-height: 36px;
    letter-spacing: -.03em;
}
}

@media screen and (max-width: 767px) {
	h1 {
    font-size: 33px;
    line-height: 36px;
  }
  h2 {
    font-size: 33px;
    line-height: 36px;
    letter-spacing: -.03em;
  }
	h3{
		font-size:24px;
		line-height: 28px;
	}
	.hero-container{
		padding:100px 20px 250px 20px;
	}
	.hero-container .col-8-12{
		padding:10px 0 !important;
	}
  .main-container {
    padding: 50px 20px 20px 20px;
  }
	.main-container.ourprocess, 
	.main-container.portfolio, 
	.main-container.cost, 
    .main-container.testimonials, 
	.main-container.faq{
		padding:50px 20px 50px 20px;
	}
	h2.h2-big{
		font-size:36px;
		line-height: 39px;
	}
	.clients-img{
		position:relative;
		top:20px;
	}
	.testi-content {
    padding-left: 0px;
    }
	.testi-content::before {
    top: -20px !important;
    left: -40px !important;
    font-size: 60px !important;
    }
	.testi-content h3 {
    font-size: 30px !important;
    line-height: 31px !important;
    }
	.testimonials-bluebg .grid, .testimonials-greybg .grid {
    padding: 50px 20px 50px 20px !important;
    }
	.what-title{
		width:80%;
		padding:30px 5%;
	}
	.what-title h4{
		font-size:24px;
		line-height:28px;
	}
	.service-row {
  		padding: 0 0 50px 0 !important;
	}
	ul.bullet-list li{
		font-size:16px;
		line-height: 24px;
		padding-left:0;
	}
	ul.bullet-list li:before{
	  width: 16px;
	  height: 16px;
	  border: #00beda 4px solid;
	  top: 4px;
	  left: 0px;
	}
	.process-grid .process-num{
		font-size:65px;
		width:25%;
		margin-top: 30px;
	}
	.process-grid .process-content{
		padding:30px 5% 30px 5%;
		width:75%;
	}
	.process-grid h4{
		font-size:24px;
		line-height:28px;
	}
	.portfolio-content h2 {
		font-size:36px;
		line-height:39px;
	}
	.cost-img {
		position:relative;
	}
	.work-content h3 {
		font-size:38px;
		line-height:38px;
	}
	.cta-container {
		padding:40px 20px 80px 20px;
	}
}

.client-content {
	display:block;
	padding:40px 0;
}

.logo-slider { overflow: hidden; width: 100%; position: relative; } 
/* Track */ 
.logo-track { display: flex; width: max-content; animation: scroll 40s linear infinite; } 
/* Logos */ 
.logo-track img { height: 120px; margin-right: 50px; object-fit: contain; } 
/* Pause on hover */ 
.logo-slider:hover .logo-track { animation-play-state: paused; } 
/* Animation */ 
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #fff, transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #fff, transparent);
}

.testimonials-bluebg{
	width:95%;
	background-color:#004dbc;
    margin:0 auto;
	border-radius:40px;
}
.testimonials-bluebg .grid{
    padding:50px 70px 50px 70px;	
}

.testimonials-greybg{
	width:95%;
	background-color:#eee;
    margin:0 auto;
	border-radius:40px;
	border:#000 4px solid;
}
.testimonials-greybg .grid{
    padding:50px 70px 50px 70px;	
}

.flex-container {
	display:flex;
	align-items:center;
	justify-content:center;
	width:150px;
	height:150px;
	padding:20px;
	background:#fff;
	border-radius:50%;
	box-shadow: 8px 6px 0px 0px rgba(0,0,0,1);
-webkit-box-shadow: 8px 6px 0px 0px rgba(0,0,0,1);
-moz-box-shadow: 8px 6px 0px 0px rgba(0,0,0,1);
}
.testi-content {
	position:relative;
	color:#fff;
}
.testi-content:before {
	content:'❞';
	font-family:"Times New Roman", Times, serif;
	position:absolute;
	top:-30px;
	left:-80px;
	font-size:120px;
	color:rgba(0,0,0,1);
}
.testi-content h3 {
	font-size:36px;
}

.testimonials-greybg .testi-content {
	color:#000;
}

.accordion-link:hover {
	color:#004dbc;
}

.case-container {
	min-height:100vh;
	padding:200px 3% 80px 3%;
	background:#eee;
}
.case-content {
	margin:60px 0;
}
.case-right-col {
}

.case-slider { overflow: hidden; width: 100%; position: relative; } 
/* Track */ 
.case-track { display: flex; width: max-content; animation: scroll 40s linear infinite; } 
/* Logos */ 
.case-track img { height: 300px; margin-right: 30px; object-fit: contain; box-shadow: rgba(149, 157, 165, 0.15) 0px 3px 6px 0px; } 
/* Pause on hover */ 
.case-slider:hover .case-track { animation-play-state: paused; } 
/* Animation */ 
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.case-slider::before,
.case-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.case-slider::before {
  left: 0;
  background: linear-gradient(to right, #eee, transparent);
}

.case-slider::after {
  right: 0;
  background: linear-gradient(to left, #eee, transparent);
}
.case-info {
	padding:0 30px;
	margin-bottom:60px;
	border-left:#004dbc 2px solid;
}
.case-info p, .case-info ul {
	font-size:16px;
	line-height:1.4em;
	margin:5px 0;
}
.case-info ul {
	margin:20px;
}
.case-info ul li {
	list-style:disc;
}
.case-link {
	position: sticky;
    top: 80px; /* Offset from the top */
    z-index: 1;
	padding:20px 0 20px 20px;
	border-radius:8px;
	background: #FFFFFF;
background: -webkit-linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 30%);
background: -moz-linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 30%);
background: linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 30%);
filter: progid:DXImageTransform.Microsoft.gradient(
  startColorstr="#FFFFFF",
  endColorstr="#FFFFFF",
  GradientType=1
);
}
.case-link p {
	font-size:16px;
	font-weight:500;
	line-height:1.4em;
	color:#888;
}
.lastyard {
  background: url(../images/work-lastyard.jpg) center/cover no-repeat;
}
.cta-content h3 {
	margin-bottom: 0px;
}
.more-wrapper {
	width:90%;
	max-width:1170px;
	margin:0 auto;
}

@media only screen and (min-width: 1024px) {
  .header-bg {
	top: -200px;
    height: 150px;
  }
}
@media screen and (max-width: 980px) {
	.case-link {
		margin-left:0;
	}
}
@media screen and (max-width: 767px) {
	.case-link {
		margin-bottom:40px;
		margin-left:3%;
	}
}

.webz-redesign {
    --accent: #004ebc;
    --icon-bg: #f1edff;
    --heading: #1b1726;
    --body: #514c5c;
    --border: #e8e4ef;
    --gap: 20px;
    --card-width: calc((100% - 3 * var(--gap)) / 4);
  }

  .webz-redesign .webz-redesign-intro {
    max-width: 900px;
    margin-bottom: 28px;
  }

  .webz-redesign h2 {
    margin: 0 0 14px;
    color: var(--heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
  }

  .webz-redesign p {
    margin: 0;
    padding: 0;
    color: var(--body);
    line-height: 1.35;
  }

  .webz-redesign .webz-redesign-cards {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
  }

  .webz-redesign .webz-redesign-card {
    box-sizing: border-box;
    flex: 0 0 var(--card-width);
    min-width: 0;
    padding: clamp(18px, 2vw, 26px);
    border: 3px solid var(--border);
    border-radius: 16px;
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease,
            scale .2s ease, opacity .2s ease;
  }

  .webz-redesign .webz-redesign-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--icon-bg);
    color: var(--accent);
  }

  .webz-redesign .webz-redesign-icon svg {
    display: block;
    width: 48px;
    height: 48px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .webz-redesign .webz-redesign-card h3 {
    margin: 0 0 8px;
    padding: 0;
    color: var(--heading);
    font-size: clamp(1.25rem, 1.55vw, 1.55rem);
    line-height: 1.2;
  }

  @media (hover: hover) and (pointer: fine) {
  .webz-redesign .webz-redesign-cards:has(.webz-redesign-card:hover)
  .webz-redesign-card:not(:hover) {
    opacity: .45;
	scale: 0.9;
  }

  .webz-redesign .webz-redesign-card:hover {
    position: relative;
    z-index: 1;
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(47, 29, 89, .08);
    scale: 1.1;
  }
}

  @media (max-width: 980px) {
    .webz-redesign {
      --card-width: calc((100% - var(--gap)) / 2);
    }
  }

  @media (max-width: 600px) {
    .webz-redesign {
      --card-width: 100%;
      --gap: 14px;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .webz-redesign .webz-redesign-card {
      transition: none;
    }
  }
  
  
  .webz-redesign-services {
    --accent: #004ebc;
    --icon-bg: #f1edff;
    --heading: #1b1726;
    --body: #514c5c;
    --border: #e8e4ef;
  }

  .webz-redesign-services h2 {
    margin: 0 0 28px;
    padding: 0;
    color: var(--heading);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
  }

  .webz-redesign-services .webz-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .webz-redesign-services .webz-service-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
    padding: 24px;
    border: 3px solid var(--border);
    border-radius: 16px;
    background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease,
            scale .2s ease, opacity .2s ease;
  }

  .webz-redesign-services .webz-service-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 12px;
    background: var(--icon-bg);
    color: var(--accent);
  }

  .webz-redesign-services .webz-service-icon svg {
    display: block;
    width: 48px;
    height: 48px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .webz-redesign-services .webz-service-copy {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .webz-redesign-services h3 {
    margin: 0 0 8px;
    padding: 0;
    color: var(--heading);
    font-size: clamp(1.15rem, 1.7vw, 1.4rem);
    line-height: 1.25;
  }

  .webz-redesign-services p {
    margin: 0;
    padding: 0;
    color: var(--body);
    font-size: 1rem;
    line-height: 1.55;
  }
  
  @media (hover: hover) and (pointer: fine) {
  .webz-redesign-services .webz-services-grid:has(.webz-service-card:hover)
  .webz-service-card:not(:hover) {
    opacity: .45;
	scale: 0.9;
  }

  .webz-redesign-services .webz-service-card:hover {
    position: relative;
    z-index: 1;
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(47, 29, 89, .08);
    scale: 1.05;
  }
}

  @media (max-width: 980px) {
    .webz-redesign-services .webz-services-grid {
      grid-template-columns: minmax(0, 1fr);
    }
  }

  @media (max-width: 600px) {
    .webz-redesign-services h2 {
      margin-bottom: 20px;
    }

    .webz-redesign-services .webz-services-grid {
      gap: 14px;
    }

    .webz-redesign-services .webz-service-card {
	  display:block;
      gap: 14px;
      padding: 18px;
    }

    .webz-redesign-services .webz-service-icon {
	  margin-bottom:15px;
      /*width: 44px;
      height: 44px;
      border-radius: 10px;*/
    }

    /*.webz-redesign-services .webz-service-icon svg {
      width: 24px;
      height: 24px;
    }*/
  }
  
  
  /*======= STACK CARDS ======*/
  .scroll-stack--contained { border-radius: 1.25rem; background: #1b1d2b; outline: 1px solid #ffffff26; }
.scroll-stack--contained:focus-visible { outline: 2px solid #d9ccff; }
.scroll-stack-card h2 { max-width:50vw; font-size: clamp(1.85rem, 5vw, 3.5rem); letter-spacing: -.045em; line-height: 1.05; margin: 1.1rem 0 .45rem; }
.scroll-stack-card p { max-width:50vw; margin: 0; }
.scroll-stack-card .stack-number { font-size: 1.4rem; font-weight: 700; letter-spacing: .05em; color: #004dbb; }
.scroll-stack {
  position: relative;
  width: 100%;
  margin-top:60px;
}

.scroll-stack--contained {
  height: var(--stack-height, 600px);
  max-height: 75svh;
  overflow-x: hidden;
  overflow-y: auto;
}

.scroll-stack__inner {
  position: relative;
  padding-inline: clamp(1rem, 6%, 5rem);
}

.scroll-stack__slot {
  position: sticky;
}

.scroll-stack-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(13rem, 46svh, 20rem);
  padding: clamp(1.25rem, 5vw, 2.5rem);
  border-radius: 28px;
  border:#000 3px solid;
  background: var(--card-bg, #fff);
  color: #18181b;
  box-shadow:
    0 0 0 0px rgb(0 0 0 / 0.06),
    0 -12px 40px -16px rgb(0 0 0 / 0.35),
    0 24px 48px -24px rgb(0 0 0 / 0.4);
  transform-origin: 50% 0;
  will-change: transform;
}

.scroll-stack-card__shade {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #000;
  opacity: var(--scroll-stack-dim, 0);
  pointer-events: none;
}

.scroll-stack-card {
    --stack-icon-size: clamp(48px, 9vw, 88px);
  }

  img.scroll-stack-card__icon {
  position: absolute;
  object-fit: contain;
  right:3%;
  bottom:3%;
  max-width:140px;
}

.scroll-stack__slot {
  top: var(--stack-sticky-top, 0px);
}

.scroll-stack-card:has(> .scroll-stack-card__icon) {
  --stack-icon-size: clamp(64px, 10vw, 140px);
  --stack-icon-inset: clamp(16px, 3vw, 28px);
}

.scroll-stack-card > img.scroll-stack-card__icon {
  display: block;
  position: absolute;
  right: var(--stack-icon-inset);
  bottom: var(--stack-icon-inset);
  width: var(--stack-icon-size);
  height: var(--stack-icon-size);
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 980px) {
  .scroll-stack-card > h2,
  .scroll-stack-card > p {
    max-width: none;
  }

  .scroll-stack-card:has(> .scroll-stack-card__icon) {
    padding-bottom: calc(
      var(--stack-icon-size) + var(--stack-icon-inset) + 12px
    );
  }

  .scroll-stack-card:has(> .scroll-stack-card__icon) > p {
    padding-inline-end: 0;
    padding-block-end: 0;
  }
}

.scroll-stack.scroll-stack--window {
  height: auto;
  max-height: none;
  overflow: visible;
}

.scroll-stack--window > .scroll-stack__inner {
  overflow: visible;
}

.scroll-stack__slot[data-stack-slot] {
  position: sticky;
  top: 0; /* Fallback. The script sets the actual offset. */
}