/* Shared timeline layout for News, Media and Press listings. */
.news-timeline-content h2 a:focus-visible,
.news-read-more:focus-visible{
    outline:2px solid var(--pwg-accent);
    outline-offset:4px;
    border-radius:2px;
}
.news-page{
    width:var(--pwg-frame-width,min(1420px,calc(100% - 40px)));
    padding:clamp(28px,3vw,46px) clamp(24px,3.4vw,52px);
}
.news-page-header{
    margin-bottom:clamp(30px,3vw,46px);
}
.news-page-header h1{
    position:relative;
    margin:0 0 24px;
    color:var(--pwg-theme-text,#000);
    font-family:"Alegreya Sans SC",sans-serif;
    font-size:clamp(2.75rem,3.7vw,4.25rem);
    font-weight:700;
    line-height:.9;
    letter-spacing:-.02em;
    overflow-wrap:anywhere;
}
.news-page-header h1::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-13px;
    width:58px;
    height:4px;
    border-radius:2px;
    background:var(--pwg-accent);
}
.news-page-header p{
    margin:0;
    color:var(--pwg-theme-text,#333);
    font-family:"Lato",Arial,sans-serif;
    font-size:clamp(.95rem,.9rem + .22vw,1.08rem);
    font-weight:400;
}
.news-timeline{
    margin:0;
    padding:0!important;
    list-style:none;
}
.news-timeline-item[hidden]{
    display:none;
}
.news-timeline-item{
    display:grid;
    grid-template-columns:180px 28px minmax(190px,240px) minmax(0,1fr);
    gap:clamp(16px,2vw,30px);
    align-items:center;
    min-height:170px;
    margin:0;
    padding:0 0 30px;
}
.news-timeline-item:last-child{
    padding-bottom:0;
}
.news-timeline-date{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    min-width:0;
    gap:0 .28em;
    color:var(--pwg-theme-text,#111);
    font-family:"Alegreya Sans SC",sans-serif;
    font-size:clamp(.98rem,.92rem + .18vw,1.1rem);
    font-weight:700;
    line-height:1.1;
    text-align:right;
    text-transform:uppercase;
}
.news-timeline-rail{
    position:relative;
    align-self:stretch;
}
.news-timeline-rail::before{
    content:"";
    position:absolute;
    top:0;
    bottom:-42px;
    left:50%;
    width:2px;
    background:var(--pwg-accent);
    transform:translateX(-50%);
}
.news-timeline-item:first-child .news-timeline-rail::before{
    top:50%;
}
.news-timeline-item:last-child .news-timeline-rail::before{
    bottom:50%;
}
.news-timeline-rail span{
    position:absolute;
    z-index:1;
    top:50%;
    left:50%;
    width:14px;
    height:14px;
    border:3px solid #fff;
    border-radius:50%;
    background:var(--pwg-accent);
    box-shadow:0 0 0 1px var(--pwg-accent);
    transform:translate(-50%,-50%);
}
.news-timeline-image{
    display:block;
    overflow:hidden;
    aspect-ratio:3 / 2;
    border:1px solid #d5dbe0;
    border-radius:14px;
    background:var(--pwg-theme-raised,#f4f6f7);
}
.news-timeline-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .25s ease;
}
.news-timeline-image:hover img{
    transform:scale(1.035);
}
.media-timeline-image{
    position:relative;
    border-color:var(--pwg-accent);
    background:var(--pwg-theme-surface,#fff);
}
/* Logo cards follow the selected accent while keeping dark artwork legible. */
.media-timeline-image:not(.has-preview){
    --media-logo-base:#fff;
    --media-logo-tint:16%;
    --media-logo-hover-tint:24%;
    background:color-mix(in srgb,var(--pwg-accent) var(--media-logo-tint),var(--media-logo-base));
    transition:background-color .2s ease,border-color .2s ease;
}
html[data-theme="dark"] .media-timeline-image:not(.has-preview){
    --media-logo-base:#a1aaa6;
    --media-logo-tint:12%;
    --media-logo-hover-tint:20%;
}
.media-timeline-image:not(.has-preview):is(:hover,:focus-visible){
    background:color-mix(in srgb,var(--pwg-accent) var(--media-logo-hover-tint),var(--media-logo-base));
    border-color:var(--pwg-theme-border-hover);
}
.media-timeline-image:not(.has-preview):focus-visible{
    outline:2px solid var(--pwg-theme-link);
    outline-offset:3px;
}
@media print{
    html[data-theme="dark"] .media-timeline-image:not(.has-preview){
        --media-logo-base:#fff;
        --media-logo-tint:16%;
        border-color:var(--pwg-accent);
    }
}
.media-timeline-image.has-preview{
    aspect-ratio:16 / 9;
}
.news-timeline-content{
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
    min-width:0;
    padding:18px 0;
    border-bottom:1px solid #d8dde3;
}
.news-timeline-item:last-child .news-timeline-content{
    border-bottom:0;
}
.news-category{
    color:var(--pwg-theme-link);
    font-family:"Alegreya Sans SC",sans-serif;
    font-size:.86rem;
    font-weight:700;
    letter-spacing:.06em;
    line-height:1;
    text-transform:uppercase;
}
.news-timeline-content h2{
    margin:7px 0 7px;
    color:var(--pwg-theme-text,#000);
    font-family:"Alegreya Sans SC",sans-serif;
    font-size:clamp(calc(.86rem + 3px),calc(.82rem + .16vw + 3px),calc(.98rem + 3px));
    font-weight:700;
    line-height:1.15;
}
.news-timeline-content h2 a{
    color:inherit;
    font-family:"Alegreya Sans SC",sans-serif;
    font-size:inherit;
    font-weight:inherit;
    line-height:inherit;
    text-decoration:none;
}
.news-timeline-content h2 a:hover,
.news-timeline-content h2 a:focus-visible{
    color:var(--pwg-theme-link);
    text-decoration:none;
}
.news-timeline-content p{
    max-width:780px;
    margin:0 0 8px;
    font-size:clamp(.86rem,.82rem + .16vw,.98rem);
    line-height:1.48;
}
.news-read-more{
    align-self:flex-start;
    color:var(--pwg-theme-link);
    font-family:"Alegreya Sans SC",sans-serif;
    font-size:.95rem;
    font-weight:700;
    text-decoration:none;
}
.news-read-more:hover{
    color:var(--pwg-theme-text,#000);
    text-decoration:none;
}
.news-read-more span{
    display:inline-block;
    margin-left:.2em;
    transition:transform .16s ease;
}
.news-read-more:hover span{
    transform:translateX(3px);
}
@media(max-width:1100px){
    .news-timeline-item{
        min-height:0;
        padding-bottom:34px;
    }
    .news-timeline-date{
        grid-row:1;
        justify-content:flex-start;
        margin-bottom:12px;
        text-align:left;
    }
    .media-timeline-date-undated{
        justify-content:flex-start;
    }
    .news-timeline-rail{
        grid-column:1;
    }
    .news-timeline-rail::before,
    .news-timeline-item:first-child .news-timeline-rail::before{
        top:6px;
        bottom:-42px;
    }
    .news-timeline-item:last-child .news-timeline-rail::before{
        bottom:calc(100% - 14px);
    }
    .news-timeline-rail span{
        top:7px;
    }
}
@media(min-width:769px) and (max-width:1100px){
    .news-timeline-item{
        grid-template-columns:20px minmax(150px,190px) minmax(0,1fr);
        gap:0 16px;
    }
    .news-timeline-date{
        grid-column:2 / 4;
    }
    .news-timeline-rail{
        grid-row:1 / 3;
    }
    .news-timeline-image{
        grid-row:2;
        grid-column:2;
        width:100%;
    }
    .news-timeline-content{
        grid-row:2;
        grid-column:3;
    }
}
@media(max-width:768px){
    .news-page{
        width:auto;
        padding:22px 18px;
    }
    .news-page-header{
        text-align:center;
    }
    .news-page-header h1::after{
        left:50%;
        transform:translateX(-50%);
    }
    .news-timeline-item{
        grid-template-columns:20px minmax(0,1fr);
        gap:0 14px;
    }
    .news-timeline-date{
        grid-column:2;
    }
    .news-timeline-rail{
        grid-row:1 / 4;
    }
    .news-timeline-image{
        grid-row:2;
        grid-column:2;
        width:100%;
        margin-bottom:15px;
    }
    .news-timeline-content{
        grid-row:3;
        grid-column:2;
        padding:0 0 24px;
    }
    .news-timeline-item:last-child .news-timeline-content{
        padding-bottom:0;
    }
}

