/*!
 * Bootstrap  v5.3.8 (https://getbootstrap.com/)
 * Copyright 2011-2025 The Bootstrap Authors
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
 */

.varbase-featured-card .card-title {
  margin-top: 0;
}

.varbase-featured-card.anchor-all {
  position: relative;
}

.varbase-featured-card.anchor-all .card-title {
  position: static;
}

.varbase-featured-card.anchor-all .card-title a {
  position: static;
}

.varbase-featured-card.anchor-all .card-title a::before {
  position: absolute;
  content: "";
  display: block;
  overflow: hidden;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
}

.varbase-featured-card.anchor-all a.card-link,.varbase-featured-card.anchor-all div.card-link>a {
  position: static;
}

.varbase-featured-card.anchor-all a.card-link::before,.varbase-featured-card.anchor-all div.card-link>a::before {
  position: absolute;
  content: "";
  display: block;
  overflow: hidden;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
}

.varbase-featured-card.anchor-all a {
  z-index: 3;
  position: relative;
}

.varbase-featured-card.border-0 .featured-card-content {
  padding: 0;
}

.varbase-featured-card.bordered .featured-card-content {
  padding: 0;
}

.varbase-featured-card.bordered .flex-row-reverse .featured-card-content {
  
  padding-left: auto;
  
  padding-right: 0;
}

[dir="rtl"] .varbase-featured-card.bordered .flex-row-reverse .featured-card-content {
  
  padding-right: auto;
  
  padding-left: 0;
}

.varbase-featured-card.xlarge .card-title {
  font-size: calc(1.325rem + .9vw);
}

@media (min-width: 1200px) {
  .varbase-featured-card.xlarge .card-title {
    font-size: 2rem;
  }
}

.varbase-featured-card.large .col-12:has(.featured-card-content) {
  display: flex;
}

.varbase-featured-card.large .col-12:has(.featured-card-content) .featured-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.varbase-featured-card.large .field--name-field-sub-title {
  margin-bottom: 20px;
  text-transform: uppercase;
  border-top: 1px solid #212529;
  padding-top: 5px;
  font-size: 1rem;
  letter-spacing: 1.6px;
}

.varbase-featured-card.large .field--name-field-caption {
  margin-top: .625rem;
  font-family: Inter;
  font-size: 1rem;
  font-style: italic;
}

.varbase-featured-card.large .field--name-field-caption p {
  margin-bottom: 0;
}

.varbase-featured-card.large .card-title {
  font-size: 1.25rem;
}

@media (max-width: 991.98px) {
  .varbase-featured-card.large .flex-row-reverse {
    flex-direction: column-reverse !important;
  }
}

.varbase-featured-card.medium .card-title {
  font-size: calc(1.265rem + .18vw);
}

@media (min-width: 1200px) {
  .varbase-featured-card.medium .card-title {
    font-size: 1.4rem;
  }
}

.varbase-featured-card.small .card-title {
  font-size: calc(1.265rem + .18vw);
}

@media (min-width: 1200px) {
  .varbase-featured-card.small .card-title {
    font-size: 1.4rem;
  }
}

.varbase-featured-card.small {
  font-size: 1rem;
  padding: 2.5rem 1.25rem;
  margin-bottom: 0 !important;
  border-top: 1px solid #ced4da !important;
  background-color: unset;
  position: relative;
}

.varbase-featured-card.small .field--name-bundle-fieldnode {
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  margin-top: .625rem;
}

.varbase-featured-card.small .field--name-node-title a {
  text-decoration: none;
}

.varbase-featured-card.small .field--name-node-post-date {
  margin-bottom: .625rem;
  font-size: 1.125rem;
}

.varbase-featured-card.small .field--search-api-excerpt {
  font-size: 1.125rem;
  margin-bottom: 1.875rem;
}

.varbase-featured-card.small .field--name-link {
  margin-top: auto;
}

.varbase-featured-card.small .field--name-link a.field-label-above {
  font-size: 1.125rem;
  font-weight: 700;
  position: relative;
  text-decoration: none;
}

.varbase-featured-card.small .field--name-link a.field-label-above::before {
  content: "";
  background-color: #1cabe2;
  position: absolute;
  
  left: .5rem;
  bottom: -0.125rem;
  width: 100%;
  height: .188rem;
  z-index: -1;
  transition: all .3s ease-in-out;
}

[dir="rtl"] .varbase-featured-card.small .field--name-link a.field-label-above::before {
  left: auto;
  
  right: .5rem;
}

.varbase-featured-card.small .field--name-link .field-item-hidden {
  height: 0;
}

.varbase-featured-card.small .field--name-link .field-item-hidden a {
  font-size: 0;
  position: static;
}

.varbase-featured-card.small .field--name-link .field-item-hidden a:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  content: "";
}

.varbase-featured-card.small .read-more-underline a {
  font-size: 1.125rem;
  font-weight: 700;
}

.varbase-featured-card.small:hover {
  box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5);
}

.varbase-featured-card.small:hover .field--name-link a:before,.varbase-featured-card.small:hover .read-more-underline a:before {
  
  left: -5px;
  bottom: -2px;
  height: calc(100% + 4px);
  width: calc(100% + 10px);
}

[dir="rtl"] .varbase-featured-card.small:hover .field--name-link a:before,[dir="rtl"] .varbase-featured-card.small:hover .read-more-underline a:before {
  left: auto;
  
  right: -5px;
}

.varbase-featured-card.xsmall .card-title {
  font-size: 1.2rem;
}

.image-right .varbase-featured-card>.row {
  flex-direction: row-reverse;
}

