/* Shared by the news editor and the public site. Only new media is affected. */
.tuba-news-media {
    box-sizing: border-box;
    max-width: 100%;
    height: auto;
}
figure.tuba-news-media img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}
figure.tuba-news-media figcaption {
    padding: 8px 0;
    color: #627181;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}
.tuba-news-clear { clear: both; }
#newsDetailPage .post-content::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) {
    .tuba-news-media {
        float: none !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 16px 0 !important;
    }
}


/* Responsive article blocks saved by the CMS news builder. */
.tuba-news-layout { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:24px; align-items:start; width:100%; }
.tuba-news-layout > .tnb-block { min-width:0; padding:0; border:0; background:transparent; overflow-wrap:anywhere; }
.tnb-rich-content { font-size:16px; line-height:1.85; }
.tnb-rich-content p { margin:0 0 18px; }
.tnb-rich-content h2 { font-size:26px; line-height:1.4; font-weight:600; margin:0 0 18px; color:#26394d; }
.tnb-rich-content h3 { font-size:21px; line-height:1.5; margin:0 0 16px; }
.tnb-rich-content img { max-width:100%; height:auto; }
.tnb-rich-content blockquote { padding:10px 0 10px 24px; border-left:3px solid #a32438; margin:0; color:#596b7e; font:italic 23px/1.7 Georgia,serif; }
.tnb-media-grid { display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); }
.tnb-media-grid[data-layout="single"] { grid-template-columns:minmax(0,1fr); }
.tnb-media-grid[data-layout="three"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
.tnb-media-grid[data-layout="feature"] { grid-template-columns:2fr 1fr; }
.tnb-media-grid[data-layout="feature"] > figure:first-child:nth-last-child(n+3) { grid-row:span 2; display:flex; flex-direction:column; }
.tnb-media-grid[data-layout="feature"] > figure:first-child:nth-last-child(n+3) img { height:100%; min-height:0; flex:1; aspect-ratio:auto !important; }
.tnb-media-grid figure { margin:0; min-width:0; }
.tnb-media-grid img { display:block; width:100%; max-width:100%; height:auto; background:#f0f3f7; }
.tnb-media-grid figcaption { padding:9px 0; font:12px/1.6 Arial,sans-serif; color:#77879a; text-align:left; }
@media(max-width:600px) {
    .tuba-news-layout { grid-template-columns:minmax(0,1fr); column-gap:0; }
    .tuba-news-layout > .tnb-block { grid-column:1 / -1 !important; }
    .tnb-media-grid,.tnb-media-grid[data-layout="three"],.tnb-media-grid[data-layout="feature"] { grid-template-columns:minmax(0,1fr); }
    .tnb-media-grid[data-layout="feature"] > figure:first-child:nth-last-child(n+3) { grid-row:auto; }
    .tnb-media-grid[data-layout="feature"] > figure:first-child:nth-last-child(n+3) img { height:auto; aspect-ratio:4 / 3 !important; }
    .tnb-rich-content h2 { font-size:23px; }
    .tnb-rich-content blockquote { font-size:20px; }
}
