:root {
    --medium-corner: 44px;
    --teamc-light-grey: rgba(255,255,255,0.5);
}
#tdd_newsarea {
    width: 100%;
    max-width: none;
    color: var(--teamc-black);
    padding-bottom: 2em;
}
#newsStories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5em;
}
.newsOuter {
    background-color: var(--teamc-light-grey);
    clip-path: polygon(0 0, calc(100% - var(--medium-corner)) 0, 100% calc(var(--medium-corner)), 100% 100%, 0 100%);
    text-decoration: none!important;
    padding: 0.5em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}
.newsOuter:hover {
    background-color: var(--teamc-white);
    color: white;
}
.newsImage {
    width: 100%;
    height: 190px;
    clip-path: polygon(0 0, calc(100% - var(--medium-corner) + 0.25em) 0, 100% calc(var(--medium-corner) - 0.25em), 100% 100%, 0 100%);
}
.newsImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex: 0;
}
#newsStories h3 {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5em 0;
    flex: 0;
    margin: 0;
}
.newsContent {
    padding: 0.5em 0;
    flex: 1 1;
}
.newsDate {
    font-size: 0.8em;  
    padding: 0.5em 0 0;
}
.newsfoot {
    margin-top: 0.25em;
    border-top: 1px solid var(--teamc-black);
    display: flex;
    justify-content: space-between;
    flex: 0;
}
.newsnav  {
    --global--color-primary: var(--fencor-grey);
    background-color: var(--fencor-grey);
    padding: 1em 0;
    width: 1200px;
    max-width: 95vw;
    margin-inline: auto;
}
.newsnav .navigation {
    padding: 0;
}
.newsnav .nav-links {  
    display: flex;
    justify-content: center;
    width: 100%;
}
.newsnav .nav-links > * {
    margin: 0!important;
}
.newsnav a {
    margin: 0;
    text-decoration: none!important;
    text-wrap: balance;
    display: flex;
    flex-direction: column;
}
.newsnav .button {
    display: inline;
    width: 70%;
}
.newsnav .nav-next .button {
    margin-left: auto;
}
.newsnav a:focus {
    background: none!important;
}
.newsnav .post-title {
    font-size: 1.3rem;
    border: 2px solid var(--fencor-grey);
    padding: 0.25em;
    margin: 0;
    background-color: white;
    display: flex;
    gap: 0.5em;
    align-items: center;
}
.newsnav .post-title i {
    font-size: 1.5em;
}
.newsnav .post-title:hover {
    box-shadow: 0 0 0 3px solid white;
    color: var(--global--color-primary);
}
