.tr-container{max-width:var(--content-width,1200px);margin:0 auto;padding:0 20px}
.tr-hero-wrap{display:grid;grid-template-columns:2fr 1fr;gap:28px;margin:28px 0 10px}
@media (max-width:1024px){.tr-hero-wrap{grid-template-columns:1fr}}
.tr-hero{background:#fff;border:1px solid #eef1f5;border-radius:18px;overflow:hidden;box-shadow:0 10px 22px rgba(0,0,0,.05)}
.tr-hero-thumb img{width:100%;display:block;aspect-ratio:16/9;object-fit:cover}
.tr-hero-body{padding:22px}
.tr-hero-meta{color:#6b7280;font-size:.9rem;display:flex;gap:.5rem;align-items:center;margin-bottom:.35rem}
.tr-hero-title{font-size:clamp(1.6rem,2.2vw,2.2rem);line-height:1.2;margin:.35rem 0 .6rem}
.tr-hero-excerpt{color:#4b5563;margin-bottom:.9rem}

.tr-panel{background:#fff;border:1px solid #eef1f5;border-radius:18px;overflow:hidden}
.tr-panel-head{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid #eef1f5}
.tr-panel-head h3{margin:0;font-size:1.1rem}
.tr-trending{list-style:none;margin:0;padding:8px 12px}
.tr-trending-item{display:grid;grid-template-columns:92px 1fr;gap:12px;padding:12px;border-radius:12px}
.tr-trending-item:hover{background:#f8fafc}
.tr-trending-thumb img{width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}
.tr-trending-title{font-weight:600;line-height:1.25;display:block;margin-bottom:4px}
.tr-trending-meta{color:#6b7280;font-size:.85rem}

.tr-chips{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 12px}
.tr-chip{display:inline-block;padding:.42rem .8rem;border-radius:999px;border:1px solid #e5e7eb;background:#f8fafc;color:inherit;text-decoration:none;font-size:.9rem}
.tr-chip.is-active{background:var(--global-palette9,#eef2ff);border-color:var(--global-palette4,#c7d2fe)}

.tr-feed{margin:8px 0 36px}
.tr-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
@media (max-width:1024px){.tr-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.tr-grid{grid-template-columns:1fr}}

.tr-card{background:#fff;border:1px solid #eef1f5;border-radius:16px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 18px rgba(0,0,0,.04)}
.tr-card-thumb img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}
.tr-card-body{padding:18px}
.tr-card-meta{color:#6b7280;font-size:.85rem;display:flex;gap:.5rem;align-items:center;margin-bottom:.35rem}
.tr-card-title{font-size:1.1rem;line-height:1.3;margin:.25rem 0 .55rem}
.tr-card-excerpt{color:#4b5563;margin-bottom:.75rem}

.tr-button{display:inline-block;padding:.6rem .9rem;border-radius:10px;color:#fff;background:var(--global-palette1,#1f3bd6);text-decoration:none}
.tr-button:hover{filter:brightness(.95)}
.tr-button.tr-ghost{background:transparent;color:var(--global-palette1,#1f3bd6);border:1px solid currentColor}
.tr-dot{opacity:.6}

.tr-pagination{display:flex;justify-content:center;gap:10px;margin-top:26px}
.tr-pagination a,.tr-pagination span{padding:.5rem .75rem;border-radius:8px;border:1px solid #e5e7eb}
.tr-pagination .current{background:#111827;color:#fff;border-color:#111827}

/* Make category links look like chips in meta */
.entry-categories a{display:inline-block;padding:.22rem .55rem;border-radius:999px;border:1px solid #e5e7eb;background:#f8fafc;font-size:.8rem}
