:root {
    --header-primary: #e19d65;
    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --text-muted: #B0B0B0;
    --orange-primary: #f9a06d;
    --orange-hover: #ffae68;
    --dark-bg: #0d1117;
    --dark-secondary: #161b22;
    --dark-tertiary: #21262d;
    --coral-primary: #EC6F66;
    --coral-secondary: #F3A183;
    --coral-gradient: linear-gradient(to left, var(--coral-primary), var(--coral-secondary));
    --firefly-primary: #78ffd6;
    --firefly-secondary: #a8ff78;
    --firefly-gradient: linear-gradient(to left, var(--firefly-primary), var(--firefly-secondary));
}

.slim-fw {
    background: #9ABA77 url("../img/slim-logo.jpg") center no-repeat;
    color: white;
    border-radius: 10px;
    border: 1px solid #000;
    background-size: contain;
    padding-top: 150px;
}

.ci-fw {
    background: orangered url("../img/ci-logo-black.png") top center no-repeat;
    color: white;
    border-radius: 10px;
    border: 1px solid #000;
    background-size: contain;
    padding-top: 150px;
}

.fastapi-fw {
    background: #009688 url("../img/fastapi.png") top center no-repeat;
    color: white;
    border-radius: 10px;
    border: 1px solid #000;
    background-size: contain;
    padding-top: 150px;
}

.fw-header {
    min-height: 150px;
    border-bottom: 5px solid #000;
    padding: 15px;
    background: rgba(0,0,0,0.6);
}

.fw-body {
    background: #090909;
    padding: 1em;
    border-radius: 0 0 10px 10px;
    border: 1px solid transparent;
}

.fw-body p:first-child {
    height: 8lh;
}



/* ==========================================================================
   Article Styles
   ========================================================================== */

#article {
    overflow: hidden;
}

.taxonomy-list, .taxonomy-list-tags {
    padding: 1em 0;
}

.taxonomy-list li {
    padding: 5px 10px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #CCC;
    transition: all ease 0.3s;
}

.taxonomy-list li:hover {
    border-color: #222;
    background: rgba(0,0,0,0.3);
    color: white;
    transition: all ease 0.3s;
}

.taxonomy-list-tags li {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #AAA;
    color: #AAA;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    border-radius: 15px;
    transition: all ease 0.3s;
}

.taxonomy-list-tags li:hover {
    border-color: white;
    color: white;
    transition: all ease 0.3s;
}

.taxonomy-list-tags li span {
    color: var(--orange-primary);
    font-weight: bold;
}

.article-listing {
    position: relative;
}

.article-listing-image {
    position: relative;
    width: 100%;
    border-radius: 25px;
    height: 400px;
    overflow: hidden;
    margin-bottom: 1em;
}

.article-listing-image img {
    width: 100%;
}

.article-listing-meta {
    position: absolute;
    background: rgba(0,0,0,0.6);
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 5px 25px;
    color: white;
    font-size: 14px;
}

.article-listing-meta span {
    display: inline-block;
    padding: 2px 3px;
    border: white 1px solid;
    border-radius: 2px;
    font-size: 14px;
}

.article-listing-readtime {
    display: inline-block;
    font-size: 24px;
    padding: 5px 10px;
    color: #888;
}

.article-listing-links {
    display: flex;
    align-items: center;
}

.article-listing-links div {
    flex: auto
}

.article-listing-links div:last-child {
    text-align: right;
}

.news-listing {
    display: flex;
    position: relative;
    overflow: hidden;
    flex-direction: row;
    flex-wrap: wrap;
    flex-basis: max-content;
    justify-content: center;
    align-items: start;
    background: rgba(0,0,0,0.6);
    padding: 1em;
    border: 3px solid var(--orange-hover);
    box-shadow: #000 0 3px 5px;
    margin-bottom: 3em;
}

.news-listing div {
    flex: auto;
}

.news-listing div:first-child {
    max-width: 300px;
}

.news-listing img {
    width: 256px;
    margin: 25px auto;
    border-radius: 10px;
}

.article-backlink {
    padding: 25px 0;
    border-bottom: 1px dotted #111;
}

#article pre {
    position: relative;
    background: #000;
    color: #CCC;
    border-color: transparent;
    padding: 5rem;
    margin: 25px 0;
}

#article pre code {
    font-family: monospace;
    font-size: 16px;
}

#article blockquote {
    margin: 50px 0;
    border-color: #222;
    font-style: italic;
    line-height: 1.2em;
}

#article hr {
    border-style: dotted;
    border-color: #111;
}

#article img {
    display: block;
    max-width: 100%;
    margin: 25px auto;
    padding: 0;
    border: 5px solid #111;
    border-radius: 0;
}

#article a {
    border-bottom: 1px dotted #CCC;
}

#article ul,
#article ol,
#article dl {
    margin: 25px 0;
}

#article ul li {
    padding: 5px 10px;
    vertical-align: center;
    border-bottom: 1px dotted #111;
}

#article ul li:before {
    content: "~>";
    color: #333;
    font-size: 48px;
    vertical-align: middle;
    padding-right: 10px;
}

#article ul li:last-child {
    border-bottom: none;
}

#article dl dd {
    padding: 5px 0 5px 10px;
    color: #AAA;
}

#article dl dt em {
    color: #f7b733;
}

#article dl dd em {
    color: #f7b733;
}

#article p {
    padding: 15px 0;
    line-height: 1.5em;
}

.article-cta {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    background: rgba(0,0,0,1);
    padding: 25px;
    margin: 50px 0;
    border-radius: 25px;
}

.article-cta div:first-child {
    flex: 2;
}

.article-cta div:last-child {
    flex: 2;
    text-align: right;
}

.article-cta a {
    display: inline-block;
    font-size: 28px;
    color: white;
    padding: 15px 30px;
    border: 3px solid white;
}

.article-alert {
    padding: 25px;
    border-radius: 15px;
    color: white;
    font-size: 22px;
    box-shadow: #111 0 3px 5px;
    line-height: 1.5em;
}

.article-alert-info {
    background: rgba(135, 206, 235, 0.32);
    border-left: 3px solid rgba(135, 206, 235, 1);
}

.article-alert-warning {
    background: rgba(255, 99, 71, 0.32);
    border-left: 3px solid rgba(255, 99, 71, 1);
}

#support-articles {
    color: white;
}

#support-articles img {
    max-width: 256px;
}

.support-product {
    padding: 25px;
    background: rgba(0,0,0,0.4);
    box-shadow: inset #111 0 3px 5px;
    border-radius: 10px;
    border: 3px solid #212121;
    text-align: center;
    margin: 25px 0;
}

/* Coral Support Styles */
.section-coral {
    background: #EC6F66;
    background: -webkit-linear-gradient(to right, #EC6F66 , #F3A183);
    background: linear-gradient(to right, #EC6F66 , #F3A183);
    box-shadow: inset 0 5px 10px #d36960;
}

.section-coral h1,
.section-coral h2,
.section-coral h3,
.section-coral p {
    color: white;
}

.support-articles-list {
    margin: 50px 0;
}

.support-articles-list li {
    display: flex;
    font-size: 24px;
    padding: 25px;
    background: transparent;
    transition: all ease 0.3s;
}

.support-articles-list li:hover {
    background: rgba(0,0,0,0.6);
    transition: all ease 0.3s;
}

.support-articles-list li span:last-child {
    font-size: 22px;
    color: #AAA;
}

.support-articles-list li img {
    height: 64px;
    margin-right: 10px;
}

.pagination a.page-link {
    background: rgba(0,0,0,0);
    color: white;
    border: none;
    transition: all ease 0.3s;
}

.pagination .active a.page-link,
.pagination a.page-link:hover {
    background: rgba(0,0,0,0.05);
    color: #f5af19;
    transition: all ease 0.3s;
}

.pagination .disabled a.page-link,
.pagination .disabled a.page-link:hover,
.pagination .disabled a.page-link:focus {
    background: transparent;
    color: #333;
}

button.copy-code {
    background: black;
    color: #f5af19;
    border: 1px solid #f5af19;
    border-radius: 3px;
    font-weight: bold;
    padding: 0.5em 1em;
    transition: all ease 0.3s;
}

button.copy-code:hover {
    color: white;
    border-color: white;
    transition: all ease 0.3s;
}

#article pre {
    position: relative;
}

pre button.copy-code, summary button.copy-code {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
}