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

File#: _3_article-v3
Title: Article v3
Descr: Article template
Usage: codyhouse.co/license

-------------------------------- */
/* reset */


/* variables */
:root {
  /* colors */
  --ab0-color-primary-hsl: 250, 84%, 54%;
  --ab0-color-bg-hsl: 0, 0%, 100%;
  --ab0-color-contrast-high-hsl: 230, 7%, 23%;
  --ab0-color-contrast-higher-hsl: 230, 13%, 9%;
  --ab0-color-contrast-lower-hsl: 240, 4%, 85%;
  --ab0-color-contrast-low-hsl: 240, 4%, 65%;
  --ab0-color-contrast-medium-hsl: 225, 4%, 47%;
  --ab0-color-accent-hsl: 342, 89%, 48%;

  /* spacing */
  --ab0-space-xs: 0.5rem;
  --ab0-space-md: 1.25rem;
  --ab0-space-lg: 2rem;
  --ab0-space-xl: 3.25rem;
  --ab0-space-2xl: 5.25rem;
  --ab0-space-sm: 0.75rem;

  /* typography */
  --ab0-text-3xl: 2.488rem;
  --ab0-text-sm: 0.833rem;
  --ab0-text-sm: 0.833rem;
}

@media(min-width: 64rem){
  :root {
    /* spacing */
    --ab0-space-xs: 0.75rem;
    --ab0-space-md: 2rem;
    --ab0-space-lg: 3.125rem;
    --ab0-space-xl: 5.125rem;
    --ab0-space-2xl: 8.25rem;
    --ab0-space-sm: 1.125rem;

    /* typography */
    --ab0-text-3xl: 3.815rem;
    --ab0-text-sm: 1rem;
    --ab0-text-sm: 1rem;
  }
}

/* icons */
.ab0-icon {
  height: var(--ab0-size, 1em);
  width: var(--ab0-size, 1em);
  display: inline-block;
  color: inherit;
  fill: currentColor;
  line-height: 1;
  flex-shrink: 0;
  max-width: initial;
}

/* component */
.t-article-v3__hero {
  background-color: hsl(var(--ab0-color-contrast-lower-hsl));
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: var(--ab0-space-2xl) 0;
  /* -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 2em), 0% 100%); */
  /* clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 2em), 0% 100%); */
}

.t-article-v3__intro-text {
  padding: var(--ab0-space-md);
  color: hsl(var(--ab0-color-bg-hsl));
  background-color: hsl(0deg 0% 47.18% / 42%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: 0.5em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.t-article-v3__intro-text p {
  opacity: 0.75;
}

.t-article-v3__divider {
  display: flex;
  align-items: center;
}
.t-article-v3__divider span {
  display: block;
  margin: 0 var(--ab0-space-xs);
  height: 10px;
  width: 10px;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  background-color: hsl(var(--ab0-color-contrast-low-hsl));
}
.t-article-v3__divider::before, .t-article-v3__divider::after {
  content: "";
  display: block;
  height: 1px;
  width: auto;
  flex-grow: 1;
  background-color: hsl(var(--ab0-color-contrast-lower-hsl));
}

/* utility classes */
.ab0-text-sm {
  font-size: var(--ab0-text-sm);
}

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

.ab0-text-gap-2xs {
  --ab0-space-multiplier: 0.25;
}

.ab0-text-component :where(h1, h2, h3, h4) {
  line-height: var(--ab0-heading-line-height, 1.2);
  margin-top: calc(var(--ab0-space-md) * var(--ab0-space-multiplier, 1));
  margin-bottom: calc(var(--ab0-space-sm) * var(--ab0-space-multiplier, 1));
  /* font-family: "Frank Ruhl Libre", serif; */
  /* font-weight: normal; */
}

.ab0-text-component :where(p, blockquote, ul li, ol li) {
  line-height: var(--ab0-body-line-height, 1.4);
}

.ab0-text-component :where(ul, ol, p, blockquote, .ab0-text-component__block) {
  margin-bottom: calc(var(--ab0-space-sm) * var(--ab0-space-multiplier, 1));
}

.ab0-text-component :where(ul, ol) {
  padding-left: 1.25em;
}

.ab0-text-component ul :where(ul, ol), .ab0-text-component ol :where(ul, ol) {
  padding-left: 1em;
  margin-bottom: 0;
}

.ab0-text-component ul {
  list-style-type: disc;
}

.ab0-text-component ol {
  list-style-type: decimal;
}

.ab0-text-component img {
  display: block;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.ab0-text-component figcaption {
  margin-top: calc(var(--ab0-space-xs) * var(--ab0-space-multiplier, 1));
  font-size: var(--ab0-text-sm);
  text-align: center;}

.ab0-text-component em {
  font-style: italic;
}

.ab0-text-component strong {
  font-weight: bold;
}

.ab0-text-component s {
  text-decoration: line-through;
}

.ab0-text-component u {
  text-decoration: underline;
}

.ab0-text-component mark {
  background-color: hsla(var(--ab0-color-accent-hsl), 0.2);
  color: inherit;
}

.ab0-text-component blockquote {
  padding-left: 1em;
  border-left: 4px solid hsl(var(--ab0-color-contrast-lower-hsl));
  font-style: italic;
}

.ab0-text-component hr {
  margin: calc(var(--ab0-space-md) * var(--ab0-space-multiplier, 1)) auto;
  background: hsl(var(--ab0-color-contrast-lower-hsl));
  height: 1px;
}

.ab0-text-component > *:first-child {
  margin-top: 0;
}

.ab0-text-component > *:last-child {
  margin-bottom: 0;
}

.ab0-text-component.ab0-line-height-xs {
  --ab0-heading-line-height: 1;
  --ab0-body-line-height: 1.1;
}

.ab0-text-component.ab0-line-height-sm {
  --ab0-heading-line-height: 1.1;
  --ab0-body-line-height: 1.2;
}

.ab0-text-component.ab0-line-height-md {
  --ab0-heading-line-height: 1.15;
  --ab0-body-line-height: 1.4;
}

.ab0-text-component.ab0-line-height-lg {
  --ab0-heading-line-height: 1.22;
  --ab0-body-line-height: 1.58;
}

.ab0-text-component.ab0-line-height-xl {
  --ab0-heading-line-height: 1.3;
  --ab0-body-line-height: 1.72;
}

.ab0-max-width-adaptive-sm {
  max-width: 32rem;
}

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

.ab0-container {
  width: calc(100% - 2*var(--ab0-space-md));
  margin-left: auto;
  margin-right: auto;
}

.ab0-margin-bottom-xl {
  margin-bottom: var(--ab0-space-xl);
}

:where(.ab0-media-wrapper-16\:9) {
  position: relative;
  height: 0;
}

.ab0-media-wrapper-16\:9 {
  padding-bottom: 56.25%;
}

.ab0-media-wrapper-16\:9 > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ab0-media-wrapper-16\:9 > *:not(iframe) {
  object-fit: cover;
}

@media (min-width: 90rem) {
  .ab0-text-component__block--outset {
    width: calc(100% + 12rem);  
  }

  .ab0-text-component__block--outset img {
    display: block;width: 100%;
  }

  .ab0-text-component__block--outset:not(.ab0-text-component__block--right) {
    margin-left: -6rem;
  }

  .ab0-text-component__block--right.ab0-text-component__block--outset {
    margin-right: -6rem;
  }
}

.ab0-gap-xs {
  gap: var(--ab0-space-xs);
}

.ab0-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}

.ab0-grid > * {
  min-width: 0;
  grid-column-end: span 12;
}

@media (min-width: 48rem) {
  .ab0-text-component__block--left, .ab0-text-component__block--right {
    width: 45%;
  }

  .ab0-text-component__block--left img, .ab0-text-component__block--right img {
    display: block;
    width: 100%;
  }

  .ab0-text-component__block--left {
   float: left;
   margin-right: calc(var(--ab0-space-sm) * var(--ab0-space-multiplier, 1));
  }

  .ab0-text-component__block--right {
   float: right;
    margin-left: calc(var(--ab0-space-sm) * var(--ab0-space-multiplier, 1));
  }
}

@media (min-width: 90rem) {
  .ab0-text-component__block--left, .ab0-text-component__block--right {
    width: 50%;
  }
}

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

.ab0-text-gap-md {
  --ab0-space-multiplier: 1.25;
}

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

.ab0-color-inherit {
  color: inherit;
}

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

.ab0-margin-bottom-lg {
  margin-bottom: var(--ab0-space-lg);
}

.ab0-padding-bottom-lg {
  padding-bottom: 0px;
}

.ab0-col-6 {
  grid-column-end: span 6;
}