/*
|--------------------------------------------------------------------------
| AUG RELATED NEWS
|--------------------------------------------------------------------------
*/

.aug-related-news,
.aug-related-news * {
    box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| MAIN CONTAINER
|--------------------------------------------------------------------------
*/

.aug-related-news {
    width: 100%;

    margin: 20px 0 0;

    padding: 0;
}


/*
|--------------------------------------------------------------------------
| HEADING
|--------------------------------------------------------------------------
*/

.aug-related-news__heading {
    margin: 0 0 8px;

    padding: 1rem 1.25rem 0 1rem;

    color: #111;
}


/*
|--------------------------------------------------------------------------
| LIST
|--------------------------------------------------------------------------
*/

.aug-related-news__list {
    width: 100%;

    margin: 0;

    padding: 0 0.625rem;
}


/*
|--------------------------------------------------------------------------
| NEWS ITEM
|--------------------------------------------------------------------------
|
| Entire item is a link.
|
*/

.aug-related-news__item {
    display: flex;

    align-items: center;

    gap: 8px;

    width: 100%;

    margin: 0;

    padding: 0.625rem;

    border: none;

    border-radius: 8px;

    color: inherit;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.2s ease;
}


/*
|--------------------------------------------------------------------------
| ITEM HOVER / FOCUS
|--------------------------------------------------------------------------
*/

.aug-related-news__item:hover,
.aug-related-news__item:focus {
    background-color: #eaf7fc;

    color: inherit;

    text-decoration: none;

    outline: none;
}


/*
|--------------------------------------------------------------------------
| THUMBNAIL
|--------------------------------------------------------------------------
|
| Source artwork ratio:
|
| 270 x 159
|
*/

.aug-related-news__image {
    display: block;
    flex: 0 0 5.5rem;
    width: 100%;
    aspect-ratio: 3 / 2;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: var(--aug-radius-md);
    background: #f2f2f2;
}


.aug-related-news__image img,
.aug-related-news__placeholder {
    display: block;

    width: 100%;

    height: 100%;

    border-radius: var(--aug-radius-md);
}


.aug-related-news__image img {
    object-fit: cover;
}


.aug-related-news__placeholder {
    background: #f2f2f2;
}


/*
|--------------------------------------------------------------------------
| CONTENT
|--------------------------------------------------------------------------
*/

.aug-related-news__content {
    display: block;

    flex: 1;

    min-width: 0;

    margin: 0;

    padding: 0;
}


/*
|--------------------------------------------------------------------------
| SIDEBAR TITLE
|--------------------------------------------------------------------------
|
| Manager feedback:
|
| font-size: 0.875rem
| line-height: 1.6
|
*/

.aug-related-news__title {
    display: -webkit-box;

    margin: 0 0 2px;

    padding: 0;

    overflow: hidden;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    font-size: 0.875rem;

    line-height: 1.4;

    color: #006fae;

    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| TITLE ON ITEM HOVER
|--------------------------------------------------------------------------
|
| No underline.
| The container background changes instead.
|
*/

.aug-related-news__item:hover
.aug-related-news__title,
.aug-related-news__item:focus
.aug-related-news__title {
    color: #006fae;

    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| SIDEBAR DATE
|--------------------------------------------------------------------------
|
| Manager feedback:
|
| font-size: 0.75rem
| line-height: 1.6
|
*/

.aug-related-news__date {
    display: block;

    margin: 0;

    padding: 0;

    font-size: 0.75rem;

    line-height: 1.4;

    font-weight: 400;

    color: #727475;
}


/*
|--------------------------------------------------------------------------
| VIEW ALL NEWS BUTTON
|--------------------------------------------------------------------------
*/

.aug-related-news__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.125rem;

    width: 100%;

    margin: 12px 0 0;

    padding: 6px 14px;

    border-radius: 20px;

    background: transparent;

    color: #006fae !important;

    text-align: center;

    text-decoration: none !important;
    transition: all 0.2s ease;
}


.aug-related-news__button:hover,
.aug-related-news__button:focus {
    opacity: 0.88;

    background: #00a9e8;
    color: #fff !important;

    text-decoration: none !important;
}


/*
|--------------------------------------------------------------------------
| MOBILE
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

    .aug-related-news__item {
        gap: 8px;

        padding: 10px;
    }


    .aug-related-news__image {
        flex: 0 0 90px;

        width: 90px;

        height: 53px;
    }

}

/* .aug-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;

    padding: 0.625rem 0.875rem;

    color: #006fae;
    background: transparent;

    border-radius: 0.375rem;

    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
} */

.aug-view-all__arrow {
    width: 1.125rem;
    height: 1.125rem;

    transition: transform 0.2s ease;
}

/* .aug-view-all:hover,
.aug-view-all:focus-visible {
    color: #fff;
    background-color: #00a9e8;
} */

.aug-related-news__button:hover .aug-view-all__arrow {
    transform: translateX(0.25rem);
}