@import url(variables.css);

/* ARTICLE PAGE STYLES */
.article-page {
    background-color: #202020;
    padding: 2% 5%;
    display: block;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-height: 80vh;
    margin-top: 84px;
}

@media screen and (max-width: 768px) {
    .article-page {
        padding: 2% 2% 5%;
    }
}

@media screen and (max-width: 500px) {
    .article-page {
        padding: 2% 2% 5%;
    }
}

.article-page #articleContent {
    height: 0;
    width: 0;
}

.article-page .article-actions {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto 10px;
    /* Safari */
    position: sticky;
    top: 83px;
    background-color: rgba(32, 32, 32, 0.6588235294);
    padding: 10px 0;
}

.article-page .article {
    border-radius: 8px;
    background-color: #171717;
    padding: 3% 5%;
    max-width: 1200px;
    margin: auto;
    /****** Header ******/
    /****** Content ******/
    /* Footer */
}

.article-page .btn-icon .icon {
    width: 9px;
    height: auto;
}

.article-page .article .article-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 10px;
}

.article-page .article .article-header .chips-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 10px;
}

.article-page .article .article-header .chips-wrapper .chip {
    background-color: #282828;
}

.article-page .article .article-header .article-title {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #fff;
    text-align: left;
    letter-spacing: normal;
}

.article-page table {
    color: #d0d0d0;
    font-size: 14px;
    border-collapse: collapse;
}

.article-page th,
.article-page td {
    border: 1px solid #d0d0d0;
    text-align: left;
    padding: 10px;
}


@media screen and (max-width: 768px) {
    .article-page .article .article-header .article-title {
        font-size: 28px;
    }
}

@media screen and (max-width: 550px) {
    .article-page .article .article-header .article-title {
        font-size: 24px;
    }
}

.article-page .article .article-header .article-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #868686;
}

@media screen and (max-width: 550px) {
    .article-page .article .article-header .article-description {
        font-size: 16px;
    }
}

.article-page .article .article-header .cover-img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 6px;
}

.article-page .article .article-header .cover-img .cover-img-wrapper {
    max-height: 580px;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.article-page .article .article-content {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

/* @media screen and (max-width: 768px) {
  .article-page .article .article-content {
    gap: 20px;
  }
} */
.article-page .article .article-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    padding: 5%;
    border-top: 1px dotted #868686;
    margin-top: 50px;
}

/********************* Classes for article ***************************************************************/
.article-content p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #d0d0d0;
    line-height: 24px;
    letter-spacing: 0.03em;
}

.article-content h1 {
    text-align: left;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #caf0ff;
    letter-spacing: 0.5px;
    margin: 10px 0 6px;
}

.article-content h2 {
    text-align: left;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: #caf0ff;
    letter-spacing: 0.5px;
    margin: 10px 0 6px;
}

.article-content h3 {
    text-align: left;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #caf0ff;
    letter-spacing: 0.5px;
    line-height: 28px;
    margin: 10px 0 6px;
}

.article-content h4 {
    text-align: left;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #caf0ff;
    letter-spacing: 0.5px;
    line-height: 28px;
    margin: 10px 0 6px;
}

.article-content ul {
    list-style-type: disc;
    margin-left: 40px;
}

.article-content ol {
    margin-left: 45px;
}

.article-content li {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #d0d0d0;
    line-height: 24px;
    letter-spacing: 0.03em;
    margin-bottom: 12px;
}

.article-content a {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #5ba9c8;
    text-decoration: underline;
}

@media (hover: hover) {
    .a-link:hover {
        color: var(--light-blue);
        text-decoration: underline;
    }
}

.article-content img {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-radius: 2px;
    overflow: hidden;
    height: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.image-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #868686;
    margin-top: 6px;
}

.image-description span {
    font-weight: 500;
}

.small {
    max-height: 300px;
    max-width: 300px;
}

.medium {
    max-height: 500px;
    max-width: 500px;
}

.large {
    max-height: 600px;
    max-width: 600px;
}

.a-caption,
blockquote {
    margin: 10px 0 10px 40px;
    border-left: 4px solid #5ba9c8;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 6px;
}

.a-caption .a-caption-text {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #b4b4b4;
    font-style: italic;
    line-height: 24px;
    letter-spacing: 0.03em;
    margin-left: 16px;
}

.a-caption .a-caption-author {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #b4b4b4;
    font-style: italic;
    line-height: 24px;
    letter-spacing: 0.03em;
    -ms-flex-item-align: end;
    align-self: flex-end;
}

blockquote {
    margin-left: 40px;
    border-left: 4px solid #5ba9c8;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 6px;
}

blockquote p {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #b4b4b4;
    font-style: italic;
    line-height: 24px;
    letter-spacing: 0.03em;
    margin-left: 16px;
}

pre {
    padding: 16px;
    overflow: auto;
    font-size: 85%;
    line-height: 1.45;
    border-radius: 3px;
    font-size: 18px;
    background-color: #484848;
    color: #f0f0f0;
}

code {
    display: inline;
    max-width: auto;
    padding: 6px;
    border-radius: 2px;
    margin: 0;
    overflow: visible;
    line-height: inherit;
    word-wrap: break-word;
    background-color: transparent;
    border: 0;
}

hr {
    border: 1px solid #585858;
    margin: 10px 0;
}

strong {
    color: #f1f1f1;
}

/********************* Media Queries ***************************************************************/

@media screen and (max-width: 768px) {
    .article-content p {
        font-size: 16px;
    }

    .article-content h1 {
        font-size: 26px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .article-content h4 {
        font-size: 16px;
    }

    .article-content li {
        font-size: 16px;
    }

    .article-content a {
        font-size: 16px;
    }
}
