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

File#: _1_card-v9
Title: Card v9
Descr: Container of information used as teaser for further content exploration
Usage: codyhouse.co/license

-------------------------------- */
/* reset */
*, *::after, *::before {
  box-sizing: border-box;
}

* {
  font: inherit;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background-color: hsl(0, 0%, 100%);
  font-family: system-ui, sans-serif;
  color: hsl(230, 7%, 23%);
  font-size: 1rem;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  color: hsl(230, 13%, 9%);
  font-weight: 700;
}

h1 {
  font-size: 2.0736rem;
}

h2 {
  font-size: 1.728rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.2rem;
}

ol, ul, menu {
  list-style: none;
}

button, input, textarea, select {
  background-color: transparent;
  border-radius: 0;
  color: inherit;
  line-height: inherit;
  appearance: none;
}

textarea {
  resize: vertical;
  overflow: auto;
  vertical-align: top;
}



table {
  border-collapse: collapse;
  border-spacing: 0;
}

img, video, svg {
  display: block;
  max-width: 100%;
}

@media (min-width: 64rem) {
  body {
    font-size: 1.25rem;
  }

  h1 {
    font-size: 3.051rem;
  }

    h2 {
    font-size: 2.44rem;
  }

    h3 {
    font-size: 1.75rem;
  }

    h4 {
    font-size: 1.5625rem;
  }
}

/* variables */
:root {
  /* colors */
  --co4-color-primary-hsl: 250, 84%, 54%;
  --co4-color-bg-hsl: 0, 0%, 100%;
  --co4-color-contrast-high-hsl: 230, 7%, 23%;
  --co4-color-contrast-higher-hsl: 230, 13%, 9%;
  --co4-color-contrast-lower-hsl: 240, 4%, 85%;

  /* spacing */
  --co4-space-2xs: 0.375rem;
  --co4-space-xs: 0.5rem;
  --co4-space-sm: 0.75rem;
  --co4-space-md: 1.25rem;
  --co4-space-3xl: 8.5rem;

  /* typography */
  --co4-text-xl: 1.728rem;
  --co4-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --co4-space-2xs: 0.5625rem;
    --co4-space-xs: 0.75rem;
    --co4-space-sm: 1.125rem;
    --co4-space-md: 2rem;
    --co4-space-3xl: 13.25rem;

    /* typography */
    --co4-text-xl: 2.44rem;
    --co4-text-sm: 1rem;
  }
}

/* component */
.card-v9 {
  display: block;
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: inherit;
  background-color: hsl(var(--co4-color-contrast-lower-hsl));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  box-shadow: 0 0.3px 0.4px rgba(0, 0, 0, 0.025),0 0.9px 1.5px rgba(0, 0, 0, 0.05), 0 3.5px 6px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}


.card-v9::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgb(255 255 255 / 30%) 0%, rgb(131 181 241 / 50%) 100%);
  z-index: 2;
}

.card-v9:hover::before {
  background: linear-gradient(to bottom, rgba(134,182,243,0.2) 0%, rgba(66,121,188,0.7) 100%); 
}


.card-v9:hover {
  box-shadow: 0 0.9px 1.5px rgba(0, 0, 0, 0.03),0 3.1px 5.5px rgba(0, 0, 0, 0.08),0 14px 25px rgba(0, 0, 0, 0.12);
}

.card-v9__content {
  display: flex;
  height: 100%;
  min-height: 110px;
  flex-direction: column;
  position: relative;
  z-index: 2;
  padding:var(--sp-m);
}

@media (max-width: 767px) {
  .card-v9__content {
    min-height: 130px;
  }

}

.card-v9__btn {
  position: relative;
  display: inline-block;
  padding: var(--sp-xs) var(--sp-m);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size:var(--text-size-100);
}
.card-v9__btn i {
  position: relative;
  z-index: 2;
  color: hsl(var(--co4-color-bg-hsl));
  opacity: 0;
  transition: opacity 0.3s;
}
.card-v9__btn::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 0.25em;
  background-color: #163c6b;
  opacity: 0;
  -webkit-transform: translateY(25%);
  transform: translateY(25%);
  transition: opacity 0.3s, -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  transition: opacity 0.3s, transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.card-v9:hover .card-v9__btn i {
  opacity: 1;
}
.card-v9:hover .card-v9__btn::after {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.card-v9--overlay-bg::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: hsla(var(--co4-color-bg-hsl), 0.5);
  transition: background-color 0.3s;
}
.card-v9--overlay-bg:hover::before {
  background-color: hsla(var(--co4-color-bg-hsl), 0.8);
}

/* utility classes */
.co4-margin-top-auto {
  margin-top: auto;
}

.co4-text-xl {
  font-size: var(--co4-text-xl);
}

.co4-margin-bottom-2xs {
  margin-bottom: var(--co4-space-2xs);
}

.co4-color-contrast-higher {
  --co4-color-o: 1;
  color: hsla(var(--co4-color-contrast-higher-hsl), var(--co4-color-o, 1));
}

.co4-text-sm {
  font-size: var(--co4-text-sm);
}

.co4-max-width-2xs {
  max-width: 32rem;
}

.co4-padding-bottom-3xl {
  padding-bottom: var(--co4-space-3xl);
}

.co4-padding-md {
  padding: var(--co4-space-md);
}

.co4-radius-md {
  border-radius: 0.25em;
}

.co4-color-opacity-50\% {
  --co4-color-o: 0.5;
}

.card_prev_flex{
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.card_hd_help{
  font-size: var(--text-size-200);
  font-weight:bold;
  color:black;
}

.sm_info_hlp{
  font-size: var(--text-size-90);
  color: #163C6B;
  background-color: white;
  border-radius: 1em;
  width:max-content;
  padding:3px var(--sp-xs);
  margin-bottom:var(--sp-xs);
}