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

File#: _2_article-v4
Title: Article v4
Descr: Article template
Usage: codyhouse.co/license

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

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

  /* typography */
  --ak1-text-3xl: 2.488rem;
  --ak1-text-xs: 0.694rem;
  --ak1-text-sm: 0.833rem;
}

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

    /* typography */
    --ak1-text-3xl: 3.815rem;
    --ak1-text-xs: 0.8rem;
    --ak1-text-sm: 1rem;
  }
}

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

/* utility classes */
.ak1-shadow-xs {
  box-shadow:0 0.1px 0.3px rgba(0, 0, 0, 0.06),0 1px 2px rgba(0, 0, 0, 0.12);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ak1-text-component :where(h1, h2, h3, h4) {
  line-height: var(--ak1-heading-line-height, 1.2);
  margin-top: calc(var(--ak1-space-md) * var(--ak1-space-multiplier, 1));
  margin-bottom: calc(var(--ak1-space-sm) * var(--ak1-space-multiplier, 1));
}

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

.ak1-text-component :where(ul, ol, p, blockquote, span, .ak1-text-component__block) {
  margin-bottom: calc(var(--ak1-space-sm) * var(--ak1-space-multiplier, 1));
  font-family: "Poppins", serif !important;
}

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

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

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

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

.ak1-text-component img {
  display: block;
  margin: 0 auto;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ak1-margin-y-lg {
  margin-top: var(--ak1-space-lg);
  margin-bottom: var(--ak1-space-lg);
}

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

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

.ak1-letter-spacing-lg {
  letter-spacing: 0.1em;
}

.ak1-text-uppercase {
  text-transform: uppercase;
}

.ak1-text-xs {
  font-size: var(--ak1-text-xs);
}

.ak1-margin-x-auto {
  margin-left: auto;
  margin-right: auto;
}

.ak1-max-width-xs {
  max-width: 38rem;
}

.ak1-text-gap-2xl {
  --ak1-space-multiplier: 2;
}

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

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

.ak1-bg {
  --ak1-bg-o: 1;
  background-color: hsla(var(--ak1-color-bg-hsl), var(--ak1-bg-o, 1));
}

.ak1-max-width-adaptive-md {
  max-width: 32rem;
}

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

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

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

.ak1-padding-y-lg {
  padding-top: var(--ak1-space-lg);
  padding-bottom: var(--ak1-space-lg);
}

.ak1-bg-dark {
  --ak1-bg-o: 1;
}

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

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

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

@media(min-width: 64rem){
  .ak1-padding-y-xl\@md {
    padding-top: var(--ak1-space-xl);
    padding-bottom: var(--ak1-space-xl);
  }

  .ak1-padding-x-lg\@md {
    padding-left: var(--ak1-space-lg);
    padding-right: var(--ak1-space-lg);
  }
}