.container{width:100%}@media (min-width:476px){.container{max-width:476px}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:900px){.container{max-width:900px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.cards-grid-wrapper .block{display:block}.cards-grid-wrapper .size-16{width:4rem;height:4rem}.cards-grid-wrapper .h-11{height:2.75rem}.cards-grid-wrapper .h-16{height:4rem}.cards-grid-wrapper .w-1\/2{width:50%}.cards-grid-wrapper .w-1\/3{width:33.333333%}.cards-grid-wrapper .w-1\/4{width:25%}.cards-grid-wrapper .w-11{width:2.75rem}.cards-grid-wrapper .w-48{width:12rem}@keyframes orderReviewSectionHighlight{0%{background-color:transparent}30%{background-color:#e6e6e6}70%{background-color:#e6e6e6}to{background-color:transparent}}.cards-grid-wrapper .animate-section-highlight{animation:orderReviewSectionHighlight 1.5s ease both}@keyframes slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}.cards-grid-wrapper .animate-slide-down{animation:slideDown .5s ease-out forwards}@keyframes slideUp{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.cards-grid-wrapper .animate-slide-up{animation:slideUp .5s ease-out forwards}.cards-grid-wrapper .rounded-md{border-radius:.375rem}.cards-grid-wrapper .object-contain{-o-object-fit:contain;object-fit:contain}.cards-grid-wrapper .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.cards-grid-wrapper .hover\:no-underline:hover{text-decoration-line:none}

/* Pre-compiled Custom CSS - Added at end */
.cards-grid-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 40px;
}

/* 3 Cards Per Row Layout */
.cards-grid-list.cards-grid-3-col {
  grid-template-columns: repeat(3, 1fr);
}

/* 4 Cards Per Row Layout */
.cards-grid-list.cards-grid-4-col {
  grid-template-columns: repeat(4, 1fr);
}

.card-item {
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: var(--background-color, #fff);
  overflow: hidden;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.card-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-item.non-interactive:hover {
  box-shadow: none;
  transform: none;
}

/* Remove border from card-item that contains grouped tile cards */
.card-item:has(.tile-bg-card-grouped) {
  border: none;
  background-color: transparent;
}

.card-item:has(.tile-bg-card-grouped):hover {
  box-shadow: none;
  transform: none;
}

/* Card Container */
.cards-grid-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  min-height: 80px;
  border-bottom: 1px solid #e0e0e0;
  background-color: #169fdb;
}

.card-header-text {
  color: white;
  font-weight: 700;
  font-size: 20px;
}

/* Card Link Wrapper - Remove default link styling */
.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.card-link:hover {
  text-decoration: none;
}

/* Card Image */
.card-image {
  line-height: 0;
  overflow: hidden;
  padding: 20px;
  box-sizing: border-box;
  width: 100%;
  text-align: center;
}

.card-image img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: scale-down;
  margin: 0 auto;
}

/* Main Image Mode - Full width image with richtext overlay */
.card-main-image {
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
  line-height: 0;
  overflow: hidden;
  text-align: center;
}

.card-main-image img {
  max-width: 100%;
  height: auto;
  max-height: 250px;
  display: block;
  object-fit: scale-down;
  margin: 0 auto;
}

/* Main Image Mode: Card body styling */
.card-body {
  padding: 20px;
  order: 2;
}

/* Image on bottom */
.cards-grid-container.image-bottom .card-image {
  order: 3;
}

.card-body p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: var(--text-color, #333);
}

.card-body p:last-child {
  margin-bottom: 0;
}

.card-body h1,
.card-body h2,
.card-body h3,
.card-body h4,
.card-body h5,
.card-body h6 {
  margin: 0 0 12px;
  color: var(--heading-color, #222);
}

.card-body ul,
.card-body ol {
  margin: 0 0 12px;
  padding-left: 20px;
}

.card-body a {
  color: var(--link-color, #0066cc);
  text-decoration: none;
}

.card-body a:hover {
  text-decoration: underline;
}

/* Center text for card-item-without-header (icon + text layout) */
.cards-grid-container .card-image ~ .card-body {
  text-align: center;
}

/* Hidden elements */
.card-header.hidden,
.card-body.hidden,
.card-image.hidden {
  display: none;
}

/*Industry Specific Cards*/

/*Card item with Title and Description*/
.industry-card-title {
  padding-bottom: 16px;
  color: #002948;
}

.industry-card-flex-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
}
.industry-card-flex-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 8px;
}
.industry-card-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.industry-card-flex-cta {
  margin-top: auto; /* magic line */
}

.industry-card-flex-image {
  background-color: white;
  height: 151px;
  padding: 16px;
  box-sizing: border-box;
}
.industry-card-flex-image img {
  width: 100%;
  height: 100%;
  margin: auto;
  object-fit: scale-down;
}

.cards-grid-list .industry-card-flex-image img {
  min-height: 151px;
}

.industry-card-flex-image img.image-fit-cover {
  object-fit: cover;
}

.industry-card-flex-image img.image-fit-fill {
  object-fit: fill;
}

.industry-card-flex-image img.image-fit-contain {
  object-fit: contain;
}

.industry-card-multiple-ctas {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.document-card-flex-image {
  background-color: #f2f5f9;
  height: auto;
  padding: 16px;
  text-align: center;
  @media screen and (min-width: 769px) {
      min-height: 410px;
  }
}

.document-card-flex-image img {
  max-width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: scale-down;
  margin: 0 auto;
}

.document-card-flex-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 16px;
  padding: 0 16px 16px 16px;
}
.document-card-flex-content h4 {
  padding-top: 0px;
}

/* End of Industry Specific Cards */

/* Tile Background Card Variant */
.tile-bg-card-grouped {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tile-bg-card-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: 24px 16px 24px 16px;
  /* height: 198px; */
  border: 1px solid #d1d5db;
}

.tile-bg-card-container .tile-bg-card-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 24px;
}

.tile-bg-card-description {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 24px;
}

.tile-bg-card-description p {
  color: inherit;
  margin: 0;
}

.tile-bg-card-cta {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 8px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 9999px;
  line-height: 20px;
  transition: opacity 0.3s ease;
}

.tile-bg-card-cta:hover {
  opacity: 0.9;
}

.tile-bg-card-cta-label {
  font-size: 16px;
}

/* End of Tile Background Card Variant */

/* Responsive Design */
@media (max-width: 768px) {
  .cards-grid-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-body {
    padding: 16px;
  }

  .card-header {
    padding: 12px;
  }
  .cards-grid-list.cards-grid-4-col {
    grid-template-columns: repeat(auto-fill, minmax(223px, 1fr));
  }
  .cards-grid-list.cards-grid-3-col {
    grid-template-columns: repeat(auto-fill, minmax(223px, 1fr));
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .cards-grid-list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

.industry-card-flex-image {
  padding: 0;
}

/*Date Title*/
.cards-grid .date-title {
  padding-bottom: 4px;
  color: #595F6B;
}

.industry-card-title {
  margin: 0;
}
.tile-bg-card-container .tile-bg-card-title {
  margin-top: 0;
}
.document-card-flex-content h4 {
  margin: 0;
}
.industry-card-flex-body p {
  margin: 0;
}