/*
|--------------------------------------------------------------------------
| FONT SIZE
|--------------------------------------------------------------------------
*/
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }


/* =========================================================
   AUG NEWS
   SINGLE ARTICLE
   ========================================================= */


/* ---------------------------------------------------------
   ARTICLE META
   --------------------------------------------------------- */

.aug-news-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    width: 100%;

    margin: 0 0 28px;

    font-size: 0.9375rem;
    line-height: 1.5;

    color: #727475;
}


/* Author */

.aug-news-article-meta__author {
    font-weight: 700;
    color: #444;
}


/* Updated date */

.aug-news-article-meta__updated {
    font-weight: 400;
}


/* Reading time */

.aug-news-article-meta__reading-time {
    font-weight: 400;
}


/* Separator */

.aug-news-article-meta__separator {
    opacity: 0.55;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .aug-news-article-meta {
        gap: 6px;

        margin-bottom: 24px;

        font-size: 0.875rem;
        line-height: 1.5;
    }
}

/* =========================================================
   PREVIOUS / NEXT ARTICLE
   ========================================================= */

.aug-news-post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 40px;

    width: 100%;

    margin-top: 50px;
    padding-top: 30px;

    border-top: 1px solid #e5e5e5;
}


/* Individual navigation item */

.aug-news-post-navigation__item {
    width: 50%;
}


/* Next article */

.aug-news-post-navigation__next {
    text-align: right;
}


/* Link */

.aug-news-post-navigation__item a {
    display: block;
    text-decoration: none;
}


/* Previous / Next label */

.aug-news-post-navigation__label {
    display: block;

    margin-bottom: 8px;

    font-size: 0.75rem;
    line-height: 1.6;

    color: #727475;
}


/* Article title */

.aug-news-post-navigation__title {
    display: block;

    font-size: 0.875rem;
    line-height: 1.6;
    font-weight: 700;

    color: #727475;
}


/* Hover */

.aug-news-post-navigation__item a:hover
.aug-news-post-navigation__title {
    text-decoration: underline;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .aug-news-post-navigation {
        flex-direction: column;
        gap: 25px;

        margin-top: 40px;
        padding-top: 25px;
    }


    .aug-news-post-navigation__item {
        width: 100%;
    }


    .aug-news-post-navigation__next {
        text-align: left;
    }
}


.aug-news-breadcrumb {
    color: #727475;
}

.aug-news-breadcrumb-separator {
    margin-left: 6px;
    margin-right: 6px;
}

.aug-news-article-meta__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 2rem;
    height: 2rem;
    flex: 0 0 2rem;

    border-radius: 50%;

    background-color: #001a3f;
    color: #fff;

    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.aug-news-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;

    margin-bottom: 1.5rem;

    font-size: 0.875rem;
    line-height: 1.5;
}

.aug-news-article-meta__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.aug-news-article-meta__separator {
    display: block;

    width: 1px;
    height: 1rem;

    background: #d1d5db;
}

.aug-news-article-meta__date,
.aug-news-article-meta__reading-time,
.aug-news-article-meta__author-name {
    white-space: nowrap;
}

/* =========================================================
 * TABLE OF CONTENTS
 * ========================================================= */

.aug-news-toc, .aug-related-news {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #fff;
    overflow: hidden;
}

.aug-news-toc__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e5e7eb;
}

.aug-news-toc__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}


/* Icon */

.aug-news-toc__icon {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    width: 1rem;
    flex: 0 0 1rem;
}

.aug-news-toc__icon span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: #0067d9;
}


/* List */

.aug-news-toc__list {
    position: relative;
    margin: 0;
    padding: 0.75rem 1.25rem 0.75rem 2.75rem;
    list-style: none;
}

.aug-news-toc__list::before {
    content: "";
    position: absolute;
    top: 0.75rem;
    bottom: 0.75rem;
    left: 1.25rem;
    width: 1px;
    background: #e1e7ef;
}


/* Items */

.aug-news-toc__item {
    position: relative;
    margin: 0;
    padding: 0;
}

.aug-news-toc__item a {
    display: block;
    padding: 0.55rem 0;
    color: #004f91;
    font-size: 0.875rem;
    line-height: 1.45;
    text-decoration: none;
    transition:
        color 0.2s ease,
        font-weight 0.2s ease;
}

.aug-news-toc__item a:hover {
    color: #0067d9;
}


/* Dot */

.aug-news-toc__item::before {
    content: "";
    position: absolute;
    top: 1.05rem;
    left: -1.5rem;
    width: 0.3rem;
    height: 0.3rem;
    border-radius: 50%;
    background: #dbe4ef;
    transform: translateX(-50%);
}


/* Active item */

.aug-news-toc__item.is-active::after {
    content: "";
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: -1.5rem;
    width: 3px;
    border-radius: 3px;
    background: #0067d9;
    transform: translateX(-50%);
}

.aug-news-toc__item.is-active::before {
    display: none;
}

.aug-news-toc__item.is-active a {
    color: #0067d9;
    font-weight: 700;
}

.aug-news-sidebar-content {
    /* position: sticky; */
    top: 2rem;

    max-height: calc(100vh - 4rem);

    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
}

.aug-news-sidebar-content > * + * {
    margin-top: 1.5rem;
}

.aug-news-sidebar-content {
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.aug-news-sidebar-content::-webkit-scrollbar {
    width: 5px;
}

.aug-news-sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.aug-news-sidebar-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

/* =========================================================
 * STICKY NEWS SIDEBAR
 * ========================================================= */

.nd_options_container.nd_options_clearfix
> .nd_options_width_33_percentage:has(.aug-news-sidebar-content) {
    position: sticky;
    top: 2rem;
    align-self: flex-start;
}


/*
 * Sidebar content can scroll independently
 * when taller than the viewport.
 */
.aug-news-sidebar-content {
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    overflow-x: hidden;

    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}

.aug-news-sidebar-content::-webkit-scrollbar {
    width: 5px;
}

.aug-news-sidebar-content::-webkit-scrollbar-track {
    background: transparent;
}

.aug-news-sidebar-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}