/* -------------------------------- 

File#: _1_feature
Title: Feature
Descr: Content group containing text + media (img, video, iframe, inline SVG)
Usage: codyhouse.co/license

-------------------------------- */


/* -------------------------------- 

Buttons 

-------------------------------- */

.cd-btn {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.375em;
  font-size: 1em;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  transition: 0.2s;
  will-change: transform;
}

.cd-btn:focus-visible {
  outline: none;
}

.cd-btn:active {
  transform: translateY(2px);
}

.cd-btn--primary {
  background: var(--color-accent-darker);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.15), 0 1px 3px hsl(6.37deg 43.35% 58.96%), 0 2px 6px hsl(6.37deg 50.19% 78.69%), 0 6px 10px -2px hsl(6.37deg 100% 92.05%);
  color: hsl(0, 0%, 100%);
}

.cd-btn--primary:hover {
  background: var(--color-accent-darker);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.15), 
              0 1px 2px hsla(250, 84%, 38%, 0.25), 
              0 1px 4px hsla(250, 84%, 38%, 0.1), 
              0 3px 6px -2px hsla(250, 84%, 38%, 0.25);
}

.cd-btn--primary:focus-visible {
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.15), 
              0 1px 2px hsla(250, 84%, 38%, 0.25), 
              0 1px 4px hsla(250, 84%, 38%, 0.1), 
              0 3px 6px -2px hsla(250, 84%, 38%, 0.25), 
              0 0 0 2px hsl(0, 0%, 100%), 
              0 0 0 4px hsl(250, 84%, 54%);
}

/* --------------------------------

Component 

-------------------------------- */

.feature {}
.dark_contentA{}
.dark_contentA strong{
    color: var(--color-bg-light);
}

.feature__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.feature__grid > * {
  min-width: 0;
}

.feature__content {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}

.feature__label {
  font-size: 0.9375rem;
  color: hsl(240, 4%, 65%);
  text-transform: capitalize;
}

.feature__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.feature--center-x .feature__actions {
  justify-content: center;
}

.feature__img {
  width: 100%;
  border-radius: 0.75em;
  box-shadow: 0 0.3px 0.4px hsla(var(--sh4-color-black-hsl), 0.025),0 0.9px 1.5px hsla(var(--sh4-color-black-hsl), 0.05), 0 3.5px 6px hsla(var(--sh4-color-black-hsl), 0.1);
}

@media (min-width: 64rem) {
  .feature__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature--invert .feature__grid > *:first-child {
    order: 2;
  }
}

/* -------------------------------- 

Utilities 

-------------------------------- */

.cd-container {
  width: calc(100% - 3rem);
  margin-left: auto;
  margin-right: auto;
}

.cd-max-width-adaptive-lg {
  max-width: 32rem;
}

@media (min-width: 48rem) {
  .cd-max-width-adaptive-lg {
    max-width: 48rem;
  }
}

@media (min-width: 64rem) {
  .cd-max-width-adaptive-lg {
    max-width: 64rem;
  }
}

@media (min-width: 80rem) {
  .cd-max-width-adaptive-lg {
    max-width: 80rem;
  }
}

.cd-position-relative {
  position: relative;
}

.cd-z-index-1 {
  z-index: 1;
}

.cd-margin-y-2xl {
  margin-top: 8rem;
  margin-bottom: 8rem;
}

.cd-text-center {
  text-align: center;
}

.cd-line-height-lg {
  line-height: 1.58;
}

.cd-link {
  color: var(--color-accent-darker);
  text-decoration: none;
  background-image: linear-gradient(to right, hsl(6.37deg 37.07% 53.89%) 50%, hsl(6.37deg 76.87% 71.18%) 50%);
  background-size: 200% 1px;
  background-repeat: no-repeat;
  background-position: 100% 100%;
  transition: background-position 0.2s;
}

.cd-link:hover {
  background-position: 0% 100%;
}