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

  :::  Typorgaphy Styles

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



/* --------------------------------------------------
  :::  Links
-------------------------------------------------- */
a {
    background: transparent;
    color: currentColor;
}

a:link,
a:visited {
    text-decoration: none;
}

a:hover,
a:active {
    outline: 0;
}



/* --------------------------------------------------
  :::  Headings
-------------------------------------------------- */
.text h1,
.h1 {
    font-family: var(--font-family-heading);
    font-size: var(--step-2);
    font-weight: var(--font-weight-heading);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracked-heading);
    width: 100%;
    margin-bottom: 1.25rem;
}

.text h2,
.h2 {
    font-family: var(--font-family-heading);
    font-size: var(--step-1);
    font-weight: var(--font-weight-heading);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracked-heading);
    width: 100%;
    margin-bottom: 1.25rem;
}

.text h3,
.h3 {
    font-family: var(--font-family-heading);
    font-size: var(--step-1);
    font-weight: var(--font-weight-heading);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracked-heading);
    width: 100%;
    margin-bottom: 1.25rem;
}

.text h4,
.h4 {
    font-family: var(--font-family-heading);
    font-size: var(--step-0);
    font-weight: var(--font-weight-heading);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracked-heading);
    width: 100%;
    margin-bottom: 1.25rem;
}

.text h5,
.h5 {
    font-family: var(--font-family-heading);
    font-size: var(--step-0);
    font-weight: var(--font-weight-heading);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracked-heading);
    width: 100%;
    margin-bottom: 1.25rem;
}

.text h6,
.h6 {
    font-family: var(--font-family-heading);
    font-size: var(--step--1);
    font-weight: var(--font-weight-heading);
    line-height: var(--leading-heading);
    letter-spacing: var(--tracked-heading);
    width: 100%;
    margin-bottom: 1.25rem;
}



/* --------------------------------------------------
  :::  Text
-------------------------------------------------- */
.text p, .text ul, .text ol {
    margin-bottom: var(--p-blank-line)!important;
}

.text a {
    text-decoration: none;
    font-weight: bold;
    color: var(--color-blue);
}

.text :first-child {
    margin-top: 0;
}


.text small,
.small {
    font-size: var(--step--1);
    font-weight: 600;
    line-height: var(--leading-small);
    margin-bottom: 1.25rem;
}

.text ul,
.text ol {
    margin-left: 1rem;
}

.text ul p,
.text ol p {
    margin-bottom: 0;
}

.text ul > li {
    list-style: none;
}

.text ul > li:before {
    content: "/ ";
    padding-right: 0.25rem;
}

.text li {
    list-style-type: none;
    text-indent: -1.125rem;
}




.text ol > li {
    list-style: decimal;
}

.text li {
    line-height: var(--leading-copy);
    margin-bottom: calc(var(--leading-copy) * 0.5em);
}

.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
    margin-bottom: 0;
}



/* --------------------------------------------------
  :::  Blockquote
-------------------------------------------------- */
.text blockquote {
    position: relative;
    font-size: var(--step-2);
    font-weight: var(--font-weight-heading);
    line-height: var(--leading-heading);
    text-align: center;
    margin: var(--space-l) auto;
}

.text blockquote p {
    margin-bottom: 0!important;
}
  
.text blockquote p::before,
.text blockquote p::after {
    content: "/";
    font-weight: var(--font-weight-copy);
    display: block;
    text-align: center;
    color: var(--color-red);
}

.text blockquote p::before {
    margin-bottom: var(--space-s);
}

.text blockquote p::after {
    margin-top: var(--space-s);
}
  
.text blockquote footer {
    font-size: var(--step--1);
    font-weight: var(--font-weight-copy);
    margin-top: var(--space-xs);
}





/* --------------------------------------------------
  :::  Codeblock
-------------------------------------------------- */
.text .codeblock {
    display: grid;
    margin-bottom: var(--p-blank-line);
}

.text pre {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-s-m);
    overflow-x: auto;
    overflow-y: hidden; 
    white-space: pre;
    max-width: 100%;
}

.text code {
    font-family: var(--font-family-mono);
    font-size: inherit;
    line-height: var(--leading-copy);
    display: inline-block;
}



/* --------------------------------------------------
  :::  Buttons
-------------------------------------------------- */
.btn {
    display: inline-flex;
    padding: 1rem 2.4rem;
    color: var(--color-text-negative);
    font-size: var(--step-0);
    line-height: var(--leading-copy);
    background-color: var(--color-black);
    border-radius: var(--border-radius-3xl);
    font-weight: 600;
    letter-spacing: var(--tracked-button);
    text-transform: uppercase;
    transition: background .3s linear, color .3s linear;
}

a.btn {
    text-decoration: none!important;
}

.btn:focus {
    outline: 2px solid var(--color-secondary);
}

.text .btn {
    margin-top: 1rem;
}

.btn:hover {
    background-color: var(--color-primary);
}

.btn--secondary {
    background-color: var(--color-secondary);
}

.btn--secondary:hover {
    background-color: var(--color-text);
}



/* --------------------------------------------------
  :::  Type utilities for dynamic settings in the panel 
-------------------------------------------------- */
.fs1 {font-size: var(--step-2)!important;}
.fs2 {font-size: var(--step-1)!important;}
.fs3 {font-size: var(--step-1)!important;}
.fs4 {font-size: var(--step-0)!important;}
.fs5 {font-size: var(--step-0)!important;}
.fs6 {font-size: var(--step-0)!important;}
.small {font-size: var(--step--1)!important;}
.smaller {font-size: var(--step--2)!important;}



