/* Revision 3: one aligned row; full-image lead and compact secondary cards. */
.td-hero-small .td-image img{object-fit:contain!important}
.td-hero-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:12px;align-items:stretch;height:320px}.td-hero-secondary{display:contents}.td-hero-main,.td-hero-small{height:320px;border-radius:12px;margin:0!important;min-width:0;border:1px solid #e7e8eb}.td-hero-main>a{position:relative;height:100%;display:block}.td-hero-main .td-image{height:100%;aspect-ratio:auto;border-radius:0}.td-hero-main .td-image::after{display:block;background:linear-gradient(180deg,transparent 20%,rgba(0,0,0,.18) 38%,rgba(0,0,0,.94) 100%)}.td-hero-main .td-hero-copy{position:absolute;inset:auto 0 0;padding:18px;background:none;color:white;z-index:1}.td-hero-main h2,.tredam-news:not(.td-preview) .td-hero-main .td-hero-copy h2{color:#fff;font-size:23px;line-height:1.5;text-shadow:0 1px 4px #0008;margin:9px 0}.td-hero-main .td-hero-copy time{color:#f0f0f0}.td-hero-small>a{display:flex;height:100%;flex-direction:column}.td-hero-small .td-image{flex:0 0 auto;height:auto;aspect-ratio:16/10;background:#f7f7f7;overflow:hidden}.td-hero-small .td-hero-copy{position:static;inset:auto;padding:13px;display:flex;flex:1;flex-direction:column;align-items:flex-start;min-height:0}.td-hero-small h2{font-size:14px;line-height:1.6;margin:7px 0;color:var(--td-ink)}.td-hero-small time{margin-top:auto;padding-top:5px}.td-hero-small .td-category{font-size:10px}.td-hero-main .td-image img,.td-hero-small .td-image img{object-fit:cover}.tredam-news .td-hero-main .td-image.td-trim-canvas img,.tredam-news .td-hero-small .td-image.td-trim-canvas img{transform:scale(1.65)}.tredam-news:not(.td-preview) #list .td-hero-grid{height:320px}
@media(min-width:768px) and (max-width:1150px){.td-hero-grid{grid-template-columns:1.6fr 1fr 1fr;height:300px;gap:10px}.td-hero-main,.td-hero-small{height:300px}.td-hero-main h2,.tredam-news:not(.td-preview) .td-hero-main .td-hero-copy h2{font-size:19px}.td-hero-small h2{font-size:12px}.td-hero-small .td-hero-copy{padding:10px}.tredam-news:not(.td-preview) #list .td-hero-grid{height:300px}}
@media(max-width:767px){.td-hero-grid{display:block;height:auto}.td-hero-main{height:280px;border-radius:12px}.td-hero-main .td-image{height:100%;aspect-ratio:auto}.td-hero-main .td-hero-copy{padding:14px;position:absolute;inset:auto 0 0}.td-hero-main h2,.tredam-news:not(.td-preview) .td-hero-main .td-hero-copy h2{font-size:19px;line-height:1.5;margin:8px 0}.td-hero-main .td-hero-copy time{font-size:10px}.tredam-news .td-hero-main .td-image.td-trim-canvas img{transform:scale(1.22)}.td-hero-secondary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}.td-hero-small{height:238px;border-radius:12px}.td-hero-small .td-image{aspect-ratio:16/10}.td-hero-small .td-hero-copy{padding:10px}.td-hero-small h2{font-size:12px;line-height:1.55}.td-hero-small .td-hero-copy time{font-size:9px}.td-hero-small .td-category{font-size:9px}.tredam-news:not(.td-preview) #list .td-hero-grid{height:auto}.td-latest-title{margin-top:22px}}
@media(max-width:360px){.td-hero-main{height:270px}.td-hero-main h2,.tredam-news:not(.td-preview) .td-hero-main .td-hero-copy h2{font-size:17px}.td-hero-small{height:234px}.td-hero-small h2{font-size:11px}}
@media(max-width:767px){.tredam-news .td-hero-main .td-image.td-trim-canvas img{transform:translateY(-24px) scale(1.22)}}
/* Revision 4: thumbnail canvas fills the secondary card; compact mobile copy. */
.td-hero-small .td-image{aspect-ratio:1.75}.tredam-news .td-hero-small .td-image.td-trim-canvas img{transform:scale(1.84)}
@media(max-width:767px){.td-hero-small{height:auto;min-height:0}.td-hero-small>a{height:100%}.td-hero-small .td-hero-copy{padding:8px 9px;flex:0 0 auto}.td-hero-small h2{margin:5px 0;line-height:1.5}.td-hero-small time{margin-top:3px;padding-top:0}.td-hero-small .td-hero-copy time{margin-top:3px}}
/* Revision 5: unbroken mobile category names with horizontal scrolling. */
@media(max-width:767px){.td-nav{overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain}.td-nav>div,.td-nav ul{display:flex;flex-wrap:nowrap;min-width:max-content;width:max-content}.td-nav a,.td-nav .td-nav-pending,.td-nav li{flex:0 0 auto;min-width:75px;width:auto;max-width:none}.td-nav a,.td-nav .td-nav-pending{padding-left:12px;padding-right:12px}.td-nav .td-pending-label{white-space:nowrap;word-break:normal;overflow:visible;text-overflow:clip}.td-nav .td-pending-label small{white-space:nowrap}}
/* Revision 6: a fixed visible-edge cue for the mobile category scroller. */
.td-nav-scroll-hint{display:none}
@media(max-width:767px){.td-header,.tredam-news:not(.td-preview) #header-in{position:relative}.td-nav-scroll-hint:not([hidden]){position:absolute;display:flex;align-items:center;justify-content:flex-end;width:32px;padding-right:5px;background:linear-gradient(90deg,rgba(255,255,255,0),#fff 65%);color:#555;font-size:25px;font-weight:700;line-height:1;pointer-events:none;z-index:5}}
/* Real Cocoon mobile override: keep the lead title inside its image card. */
@media(max-width:767px){.tredam-news:not(.td-preview) .td-hero-main .td-hero-copy{position:absolute;inset:auto 0 0}}

/* Footer links: readable against the light footer, including visited links. */
.tredam-news #footer #navi-footer a,
.tredam-news #footer #navi-footer a:visited {
  color: #222;
  background-color: transparent;
}
.tredam-news #footer #navi-footer a:hover {
  color: #111;
  background-color: #fff4b3;
  text-decoration: underline;
}
.tredam-news #footer #navi-footer a:focus-visible {
  color: #111;
  background-color: #fff4b3;
  outline: 2px solid #222;
  outline-offset: -2px;
}

/* Preserve the full wordmark inside the operator page's site card. */
.tredam-news.page-id-77 .internal-blogcard-thumbnail img[src*='tredam-brand-logo-20261021']{object-fit:contain;object-position:center;background-color:#fff}
