body .grid-container {
  max-width: 100%;
  padding: 0px;
}
body .site-content {
  display: block;
}

.tax-solution.one-container .site-content {
	padding-bottom:0px
}



.tax-solution.one-container .site-content .solutions-grid {
	position:relative;
	z-index:3;
}

.wrapper-section {
  position: relative;
  overflow: hidden; /* prevents overflow on large screens */
  min-height: 80vh;
  background-image: url("../images/circles.png"); /* child theme path */
  background-repeat: no-repeat;
background-size: auto;
background-position: 121% 40%;
  /* pointer-events: none; */
  z-index: 0;	
}




.msc-wrapper {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 3rem 1rem 3rem 1rem;
}

#main-solution-image {
	position:absolute;
	right:0px;
	z-index:2;
	bottom: -8%;
	background-color: transparent;
}

#main-solution-image .container {
	background: none;
	padding-right: 0px;
}


/* container control */
#main-solution-image .msc {
  position: relative;
  margin-inline: auto;
  max-width: 100%;
}

/* rotating image */
.msc-rotating {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: 50% 50%;
  animation: msc-rotate 40s linear infinite;
  animation-direction: reverse;
  will-change: transform;
}

#main-solution-content, #main-solution-content > .container , .breadcrumb-section .container{
  position: relative;
  overflow: hidden; /* ensures rotation doesn't spill */
  background-color: transparent !important;
}



/* ensure content stays above */
#main-solution-content > * {
  position: relative;
  z-index: 1;
}


.breadcrumb-section .container {
    max-width: var(--content-width);
    margin-inline: auto;
    padding-inline: 16px;
	padding: 1rem;
}

.breadcrumb-section #breadcrumbs {margin-bottom:0px;}


.msc {
  max-width: 60%;
}
.msc-wrapper h2,
.msc-wrapper h3 {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
  font-family: Oxanium;
}
.msc-wrapper p {
  font-size: 1.8rem;
  margin: 15px 0 25px;
  line-height: 1.3;
  color:#000;
  font-weight:400;
}
.msc-wrapper a,
.msc-wrapper em,
.msc-wrapper h3 {
  text-decoration: none;
  font-weight: 700;
  font-style: normal;
  color: var(--global-color-blue);
}


h3.product-category-title-inner {
    color: var(--global-color-blue);
    font-size: 3rem;
    font-weight: 600;
}


/* ---------------------------------------
   HERO SECTION
--------------------------------------- */
.product-hero {
    position: relative;
    width: 100%;
    height: 60vh;               /* adjust as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: #fff;
	margin-top: 70px;
}

.archive.tax-solution .product-hero {
    height: 70vh;               /* adjust as needed */
}

.product-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;                /* above image, below dots + text */
	background: linear-gradient(
	  to top,
	  rgba(0, 0, 0, 0.80) 0%,
	  rgba(0, 0, 0, 0.55) 30%,
	  rgba(0, 0, 0, 0.20) 65%,
	  rgba(0, 0, 0, 0.00) 100%
	);
    pointer-events: none;
}

/* Background Image */
.product-hero .hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.product-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DEFAULT BANNER (when no hero image) */
.product-hero .hero-image.default-banner {
    background: var(--global-color-blue, #1c48f0);
}

/* HERO VIDEO SUPPORT */
.product-hero .hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0; /* same layer as hero image */
    overflow: hidden;
}

.product-hero .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile/Desktop video visibility */
.product-hero .hero-video-mobile {
    display: block;
}

.product-hero .hero-video-desktop {
    display: none;
}

@media (min-width: 768px) {
    .product-hero .hero-video-mobile {
        display: none;
    }
    
    .product-hero .hero-video-desktop {
        display: block;
    }
}

/* Dot Overlay */
.product-hero .dot-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.product-hero .dot-grid {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(15, 1fr);
    grid-template-rows: repeat(12, 1fr);
    width: 40%;                /* control width of dotted zone */
    opacity: 0.24;             /* light, subtle */
}

/* Hero Text Wrapper */

.product-hero .hero-text {
    position: relative;
    z-index: 3;
    text-align: left;
    /* Respect global max width */
    width: min(var(--content-width), 100%);
    /* Center horizontally */
    margin-left: auto;
    margin-right: auto;

    /* Add horizontal padding so text never touches edges */
    /*padding-left: 24px;
    padding-right: 24px; */
    /* Positioning inside hero */
	padding-top: 10rem;
    padding-bottom: 2rem;
	padding-left: 1rem;
	margin-top: 4rem;
}

.product-hero .hero-title {
    font-size: 6rem;
    line-height: 1;
    font-weight: 700;
    margin: 0 0 0px;
	color:#fff;
	text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.35);
}

.product-hero .hero-subtitle p {
    font-size: 2.8rem;
    margin: 0 0 25px;
    line-height: 1;
}

/* CTA Button */
.product-hero .hero-ctas .btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
	border: 1px solid #fff;
	color:#ffffff;
}
.hero-ctas .btn.btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hero-ctas .btn.btn-secondary::after {
    content: "";
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-size: contain;
    /* WHITE stroke, transparent fill — EXACT MATCH */
	background-image: url("../images/triangle-white.svg");
	  transition: transform 0.2s ease, background-image 0.2s ease;

}

.hero-ctas .btn.btn-secondary:hover {
	color:var(--global-color-blue);
	background:#fff;
}


.hero-ctas .btn.btn-secondary:hover::after {
	background-image: url("../images/triangle-blue.svg");
	transform: translateX(3px); /* small right movement */
}

.tax-solution .site-link-alt.site-link {
    background: #000000;
    color: #fff;
}




/* SECTION WRAPPER
-------------------------------------*/
.solution-products-grid {
    padding: 2rem 0 1rem;

}

/* CATEGORY TITLE
-------------------------------------*/
.product-category-section {
  max-width: var(--content-width);
    margin: 0 auto 64px;
	padding-inline: 16px;
}

.product-category-title {
    margin: 0 0 24px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
}

/* NAV WRAPPER */
.solution-products-nav {
  margin: 0rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 0.5rem 1rem 0.5rem 16px;  
  margin-bottom: 2.5rem;
  /* prepare for sticky animation */
  transform: translateY(-10px);
  opacity: 1;
  transition: transform 260ms ease, opacity 260ms ease, box-shadow 260ms ease;
  will-change: transform;  
}

.is-sticky-tax .solution-products-nav {
  position: fixed;
  left: 0;
  right: 0;
  /* sits below header (set by JS via CSS variable) */
	top: 60px;
  z-index: 999;
  margin-inline: 0;
  max-width: none;
  /* nicer “dock” effect */
  transform: translateY(0);
  opacity: 1;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  backdrop-filter: blur(8px); 
  -webkit-backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.92);
}

.is-sticky-tax .solution-products-nav a {
    font-size: 1.2rem;
}	

.is-sticky-tax .solution-products-nav a.active::after {
    bottom: 3px;
}	

/* Optional: reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .solution-products-nav,
  .is-sticky-tax .solution-products-nav {
    transition: none;
    transform: none;
  }
}



.solution-products-nav ul {
  display: flex;
  gap: 3rem; /* spacing between items like screenshot */
  padding: 0;
  margin: 0;
  list-style: none;
}

/* NAV LINKS */
.solution-products-nav a {
  position: relative;
  display: inline-block;
  padding: 0.3rem 0;
  font-size: 1.5rem;
  color: #5a5a5a; /* light grey like screenshot */
  font-weight: 400;
  text-decoration: none;
  transition: color 0.25s ease;
	line-height: 1.2;
 
}

/* ACTIVE LINK (via .active added in JS or via :target) */
.solution-products-nav a.active {
  color: #000; /* darker text */
  font-weight: 600;
}

/* ACTIVE underline */
.solution-products-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 2px;
  background: #0053ff; /* blue underline */
  border-radius: 4px;
}

/* HOVER */
.solution-products-nav a:hover {
  color: #000;
}

/* Section spacing */
.solution-category-section {
  margin-block: 1rem;
}

.solution-category-section .container {
  position: relative;
  z-index: 2;
  max-width: var(--content-width);
  margin-inline: auto;
  padding: 2rem 1rem;  
}

.solution-category-title {
  margin-bottom: 1.5rem;
  font-size:3rem;
}

/* Products grid: 1 col mobile, 2 cols desktop */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Product card – smaller shadow */
ul.solution-subnav-list {
    display: flex;
    list-style-type: none;
    margin: 0 0 30px;
}

ul.solution-subnav-list > li {
    margin-right: 20px;
}

.product-card {
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.product-image img {
  display: block;
  width: 100%;
  height: auto;
}

.product-info {
  padding: 1rem 1.25rem 1.25rem;
}

.product-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.product-excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.product-card:hover {

}


/* PRODUCT GRID
-------------------------------------*/
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* exactly 2 columns */
    gap: 22px; /* adjust spacing */
}


/* PRODUCT CARD
-------------------------------------*/
.product-card {
    list-style: none;
}

.product-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 0;
    overflow: hidden;
}

/* IMAGE PART */
.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;          /* keeps all cards same height */
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.35s ease-out;
}

/* TEXT PART */
.product-info {
    padding: 1.2rem 1.5rem 2rem 0px;
}

.product-title {
    margin: 0 0 8px;
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
	line-height: 2.3rem;
}

.product-title::after {
    content: "";
    width: 20px;
    height: 18px;
    display: inline-block;
    background: url(../images/chevron-right-black.svg) no-repeat center / contain;
    margin-left: 1rem;
    opacity: 0;
    transform: translateX(-8px); /* start from LEFT */
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .product-title::after {
    opacity: 1;
    transform: translateX(0);
}

.product-title span {
	font-size: 1.5rem;
	font-weight:400;
}	

.product-excerpt {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #1B2128;
}

/* HOVER EFFECTS */
.product-card a:hover .product-image img {
    transform: scale(1.05);
}

/* RESPONSIVE TWEAKS
-------------------------------------*/
@media (max-width: 767.98px) {

    .solution-products-grid {
        padding: 10px 0 64px;
    }
	
	.msc-wrapper {
		padding: 0.5rem 1rem 2rem 1rem;
	}	

    .product-category-section {
        margin-bottom: 48px;
        padding: 0 16px;
		margin-top: 50px;
    }

    .solution-products-nav {
        padding: 0 16px;
    }

    .products-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
        gap: 20px;
    }

    .product-info {
        padding: 12px 12px 16px;
    }
}

.solution-subnav-list {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.solution-subnav-label {
    cursor: pointer;
    padding: 8px 14px;
    font-weight: 600;
    opacity: 0.6;
}

.solution-subnav-label.active {
    opacity: 1;
    border-bottom: 2px solid #0077ff;
}

.solution-subcat-panel {
    display: none;
}

.solution-subcat-panel.active {
    display: block;
}



/* ---------------------------------------
   RESPONSIVE
--------------------------------------- */
@media (max-width: 1024px) {
    .product-hero {
        height: 420px;
    }
    .product-hero .hero-title {
		font-size: 4rem;
        font-weight: 500;
    }
    .product-hero .hero-text {
        max-width: 60%;
    }
    .product-hero .dot-grid {
        width: 50%;
    }
	
	.product-hero .hero-subtitle p {
		font-size: 1.8rem;
		line-height: 1.4;
	}	
	
	
}

@media (max-width: 768px) {
    .product-hero {
        height: auto;
        padding: 60px 20px;
    }
    .product-hero .hero-text {
        max-width: 100%;
        padding-left: 0;
        text-align: left;
    }
    .product-hero .hero-title {
		font-size: 4rem;
        font-weight: 500;
		text-align:left;
    }
    .product-hero .dot-grid {
        display: none; /* hide dots on small screens */
    }
	
	.msc
	 {
		max-width: 100%;
	}	
	
	.msc-wrapper p {
		font-size: 1.2rem;
		line-height: 1.3;
	}	
	
	.mosaic.mosaic--2 {
		display: grid;
		grid-template-columns: 1fr;
		height: 80vh;
		max-height: none;
	}	
	
	.solution-products-nav ul {
		flex-direction: column;
		gap: 0.5rem;
	}	
	
	.solution-category-title {
		font-size: 2.2rem;
		margin-bottom: 0.5rem;
	}	
	
	.product-title {
		margin: 0 0 8px;
		font-size: 1.5rem;
		line-height: 2rem;
	}	
	
	h3.product-category-title-inner {
		color: var(--global-color-dark);
		font-size: 2rem;
		font-weight: 600;
		line-height: 1;
	}	
	
}
