﻿.newsListItems {
    list-style: none;
    padding: 0;
    margin: 0 1em 0 .5em;
}

.newsListItem {
    border-bottom: 1px solid #e0e0e0;
}

    .newsListItem:last-child {
        border-bottom: none;
    }

.accordion-content .newsListItems {
    margin: 0 0 0 2em;
}

.accordion-content .newsListItem a {
    display: flex;
    flex-direction: row;
    text-decoration: none;
}

    .accordion-content .newsListItem a > div:first-child {
        padding-right: 1rem;
        border-right: 1px solid var(--cc-blue);
        margin-right: 1rem;
        min-width: 10.5rem;
    }

    .accordion-content .newsListItem a .articleTitle {
        min-width: 0;
    }

a.newsItemLink {
    display: block;
    transition: color 0.2s;
    padding: .75rem 1rem;
    transition: all 0.2s ease;
    margin: .75rem .5rem;
}

    a.newsItemLink:hover {
        background: #eef3f7;
        text-decoration: none;
        margin-left: 1rem;
        border-radius: .5rem;
    }

.newsItemTitle {
    font-size: 1.15rem;
    margin: 0 0 0.25rem 0;
    color: #333;
    font-weight: bold;
}

.newsListSummary {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 .25rem .5rem;
}

.newsListRelease {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin: 0 0 0 .5rem;
}

/*News Display view page*/
.news-feature-image img {
    width: 100%;
}

.news-content h2 {
    color: #333;
}

section.news-content {
    padding: 0 !important;
    /* display: flex; */
    /* justify-content: flex-end; */
}

/* News meta (author/date) */
.news-meta {
    display: flex;
    /* justify-self: flex-end; */
    padding: .25rem 0 2rem .5rem;
    clear: inline-start;
    border-top: 1px solid #333;
    /* border-bottom: 1px solid #ccc; */
    justify-content: space-between;
}

    .news-meta .news-date {
    }

    .news-meta .news-author {
        padding-left: .5em;
    }

/* Feature image */
.news-feature-image {
    background: #eee;
    max-width: 20rem;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.15);
}

    .news-feature-image figcaption.image-caption {
        text-align: center;
        padding: .5rem .5rem .2rem .5rem;
        font-weight: 400;
        letter-spacing: .05rem;
    }

/* News body */
.news-body {
    line-height: 2.15rem;
    font-size: 1.05rem;
}

/* Attachments */
.news-attachments {
}

    .news-attachments h4 {
        border-bottom: 1px solid var(--cc-blue);
    }

    .news-attachments ul {
        list-style: none;
        padding-left: 0;
    }

    .news-attachments li {
        padding: .35rem;
        border-bottom: 1px solid #bbb;
        border-left: .5rem solid transparent;
    }

        .news-attachments li:hover {
            background: #eee;
            border-left: 1rem solid var(--cc-yellowAccent);
            transition: all .2s ease;
        }

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

.news-share {
    display: flex;
    flex-direction: row;
    /* align-items: center; */
    justify-content: flex-end;
    /* margin-top: 0.5rem; */
    gap: 0.5rem;
    color: #333;
}

    .news-share > span {
        margin-right: 0.5rem;
        font-weight: 500;
        /* font-size: .8rem; */
        padding-top: .3rem;
    }

    .news-share .share-icons {
        display: flex;
        gap: 0.5rem;
        padding: 0;
        margin: 0;
        list-style: none;
    }

        .news-share .share-icons li {
            display: inline-block;
        }

        .news-share .share-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: .25rem;
            /* background-color: #f9f9f9; */
            color: #333;
            text-decoration: none;
            transition: all 0.2s ease;
            border: 1px solid transparent;
            border-left-color: #bbb;
            font-family: 'ccicons';
            font-size: 1.5rem;
        }

            .news-share .share-icons a:hover {
                border-color: #bbb;
                transform: translateY(-1px);
            }

    /* Brand setup and Hovers */
    /*.news-share .icon-x-social {
        font-size: .82rem;
    }*/

    .news-share .icon-x-social:hover {
        background-color: #eee;
    }

    .news-share .icon-linkedin:hover {
        background-color: #cae2f9;
    }

    .news-share .icon-facebook:hover {
        background-color: #95c1f9;
    }

    .news-share .icon-mail:hover {
        background-color: #ffd1d1;
    }


/* ------EVENTS------ */
section.eventTimePlace {
    background: #f5f5f5;
    border-radius: 1.5rem;
    padding: 1rem;
    margin: 0 1rem 1rem 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #d8e0e5;
    box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.15);
    min-width: 15rem;
}

    section.eventTimePlace .news-feature-image {
        max-width: 26rem;
        background: none;
        box-shadow: none;
    }

        section.eventTimePlace .news-feature-image img {
            border-radius: 1rem;
        }


@media (max-width: 800px) {
    .accordion-content .newsListItems {
        margin: 0;
    }

    .accordion-content .newsListItem a > div:first-child {
        min-width: 8rem;
        flex: 0 0 auto;
    }

    .articleTitle {
        overflow-wrap: anywhere;
    }
}
