body.blog main#content .page-content, body.single-post main#content .page-content { display: block; }
/* Self-contained page gutter (mobile): the layout owns its own side padding
   so the sidebar can never touch the viewport edge, regardless of theme wrappers. */
.trg-blog-layout { width: 100%; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; }
/* Single posts: own the container too. The theme doesn't give the inner post
   layout a proper centered container, so without this the grid stretches full
   width and the 320px sidebar ends up flush against the viewport's right edge
   on desktop. Mirrors the site's own 1240px/28px container pattern. */
body.single-post .trg-blog-layout { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 28px; padding-right: 28px; }
.trg-blog-main { min-width: 0; }
.trg-blog-main img { max-width: 100%; height: auto; }
body.blog .trg-blog-main { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
body.blog .trg-blog-main article.post { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; margin: 0; transition: transform .25s ease, box-shadow .25s ease; }
body.blog .trg-blog-main article.post:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 17, 15, .10); }
body.blog .trg-blog-main article.post > a { display: block; overflow: hidden; order: -1; }
body.blog .trg-blog-main article.post > a img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .45s ease; }
body.blog .trg-blog-main article.post:hover > a img { transform: scale(1.05); }
body.blog .trg-blog-main article.post h2.entry-title { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 19px; line-height: 1.35; margin: 0; padding: 20px 22px 0; }
body.blog .trg-blog-main article.post h2.entry-title a { color: var(--ink); text-decoration: none; }
body.blog .trg-blog-main article.post h2.entry-title a:hover { color: var(--red); }
body.blog .trg-blog-main article.post > p { margin: 0; padding: 0 22px; color: #4A4540; font-size: 14.5px; line-height: 1.65; flex: 1; }
body.blog .trg-blog-main article.post > p:last-of-type { padding-bottom: 22px; }
body.blog .trg-blog-main article.post::after { display: none !important; content: none !important; }
.card-meta { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px; width: 100%; margin: 14px 0 6px; font-size: 12.5px; color: var(--steel); }
.card-cat { background: var(--red); color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .07em; padding: 4px 10px; border-radius: 999px; }
.card-dot { opacity: .55; }
.card-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--red); font-weight: 700; font-size: 14px; text-decoration: none; }
.card-more:hover { color: var(--red-dk); }
.card-more span { display: inline-block; transition: transform .2s ease; }
.card-more:hover span { transform: translateX(3px); }
.trg-sidebar { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.trg-widget { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 22px; overflow-wrap: break-word; }
.trg-widget-title { font-family: 'Archivo', sans-serif; font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--red); display: inline-block; }
.trg-sidebar .search-form { display: flex; gap: 8px; }
.trg-sidebar .search-form label { flex: 1; min-width: 0; }
.trg-sidebar .search-field { width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; font-size: 14px; box-sizing: border-box; }
.trg-sidebar .search-submit { background: var(--red); color: #fff; border: 0; border-radius: 6px; padding: 10px 16px; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; }
.trg-sidebar .search-submit:hover { background: var(--red-dk); }
.trg-cats { list-style: none; margin: 0; padding: 0; }
.trg-cats li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.trg-cats li:last-child { border-bottom: 0; }
.trg-cats li a { color: var(--ink); text-decoration: none; }
.trg-cats li a:hover { color: var(--red); }
.trg-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.trg-recent a { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.trg-recent-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; display: block; }
.trg-recent-title { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.trg-recent a:hover .trg-recent-title { color: var(--red); }
.trg-recent-date { display: block; font-size: 12px; color: var(--steel); margin-top: 2px; }
.trg-widget.trg-cta { background: var(--ink); border: 0; }
.trg-widget.trg-cta .trg-widget-title { color: #fff; }
.trg-widget.trg-cta p { color: #C9C2B8; font-size: 14px; line-height: 1.6; margin: 0 0 4px; }
.trg-btn { display: inline-block; background: var(--red); color: #fff !important; font-weight: 700; font-size: 14.5px; padding: 12px 20px; border-radius: 6px; text-decoration: none; margin-top: 10px; }
.trg-btn:hover { background: var(--red-dk); }
.trg-featured-wrap { margin: 0 0 30px; }
.trg-featured-wrap img.trg-featured-img { width: 100%; height: auto; border-radius: 10px; display: block; }
.crumb-current { display: inline-block; max-width: 38vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
@media (min-width: 981px) { .crumb-current { max-width: 560px; } }
/* In-post quote CTA banner (dark, on-brand). Markup:
   <div class="trg-quote-banner"><h3>…</h3><p>…</p>
   <p class="trg-quote-cta"><a class="trg-btn" href="tel:…">…</a><span class="trg-quote-alt">…</span></p></div> */
.trg-quote-banner { background: #14110F; border: 1px solid #2A2521; border-top: 4px solid #E11E2B; border-radius: 14px; padding: 32px 32px 30px; margin: 42px 0; }
.trg-quote-banner h3 { font-family: 'Archivo', sans-serif !important; font-weight: 800 !important; font-size: 24px !important; letter-spacing: -0.02em !important; line-height: 1.25 !important; color: #fff !important; margin: 0 0 10px !important; }
.trg-quote-banner p { color: #C9C2B8 !important; font-size: 15.5px !important; line-height: 1.65 !important; margin: 0 0 6px !important; }
.trg-quote-banner p:last-child { margin-bottom: 0; }
.trg-quote-banner .trg-quote-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.trg-quote-banner .trg-btn { margin-top: 0; }
.trg-quote-banner .trg-quote-alt { color: #8E8880; font-size: 14px; }
@media (max-width: 980px) {
  body.blog .trg-blog-main { grid-template-columns: repeat(2, 1fr); }
  .trg-blog-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-left: 20px; padding-right: 20px; }
  body.single-post .trg-blog-layout { padding-left: 20px; padding-right: 20px; }
  .trg-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .trg-sidebar .trg-cta { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body.blog .trg-blog-main { grid-template-columns: 1fr; }
  .trg-blog-layout { gap: 40px; }
  .trg-sidebar { grid-template-columns: 1fr; gap: 30px; }
  .trg-widget { padding: 26px 22px; }
  .trg-widget.trg-cta { padding: 30px 24px; }
  body.single-post .trg-blog-main table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .trg-quote-banner { padding: 26px 22px; margin: 32px 0; }
  .trg-quote-banner h3 { font-size: 20px; }
}
