/* Interior editorial system — scoped to the draft, preserves article content and tools. */
body.tam-site:not(.home) .tam-reading{width:min(100% - 64px,1440px)!important;max-width:1440px!important;margin:34px auto 64px!important;padding:clamp(24px,3vw,52px)!important;border:1px solid #dbe2e7!important;border-top:3px solid #0c2236!important;border-radius:2px;background:#fff!important;box-shadow:none!important}
body.tam-site:not(.home) .tam-article-head{max-width:1100px;margin:0 auto 28px;padding-bottom:24px;border-bottom:1px solid #d7dce0!important}
body.tam-site:not(.home) .tam-article-head h1{font:700 clamp(34px,3.3vw,58px)/1.08 var(--tam-display)!important;letter-spacing:-.035em!important;color:#102334!important;max-width:none!important;width:100%!important}
body.tam-site:not(.home) .tam-article-head .tam-meta{color:#61717b!important;font-size:14px!important}
body.tam-site:not(.home) .tam-reading-grid{display:block!important}
body.tam-site:not(.home) .tam-reading-grid>div{max-width:1240px!important;width:100%!important;margin-inline:auto}
body.tam-site:not(.home) .tam-prose{font:400 18px/1.7 var(--tam-body)!important;color:#243440!important}
body.tam-site:not(.home) .tam-reading .tam-prose>p,
body.tam-site:not(.home) .tam-reading .tam-prose>ul,
body.tam-site:not(.home) .tam-reading .tam-prose>ol,
body.tam-site:not(.home) .tam-reading .tam-prose>blockquote{max-width:105ch!important;width:100%!important;margin-left:0!important;margin-right:0!important;font:inherit!important}
body.tam-site:not(.home) .tam-prose h2{font:700 clamp(27px,2.1vw,36px)/1.2 var(--tam-display)!important;color:#102334!important;margin-top:1.6em!important}
body.tam-site:not(.home) .tam-prose h3{font:700 25px/1.25 var(--tam-display)!important;color:#102334!important}
body.tam-site:not(.home) .tam-article-featured{max-width:1100px;margin:0 auto 30px!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.tam-site:not(.home) .tam-article-featured img{display:block;max-width:100%;width:auto;height:auto;max-height:760px;object-fit:contain;margin:auto}
body.tam-site:not(.home) .tam-prose figure img{max-width:100%;height:auto}
body.tam-site:not(.home) .tam-reading-contents,
body.tam-site:not(.home) .tam-quick-take{background:#f0f3f5!important;border:1px solid #d7e0e7!important;border-left:4px solid #14649a!important;border-radius:2px}
body.tam-site:not(.home) .tam-prose blockquote{border-left:4px solid #14649a!important;background:#f5f7f8!important;padding:18px 24px!important}
body.tam-site:not(.home) .tam-review-disclosure{max-width:100%!important;width:100%!important;border-top:1px solid #d7dce0;margin-top:36px;padding-top:20px;color:#53616c}
body.tam-site:not(.home) .tam-hub-intro,
body.tam-site:not(.home) .tam-dir-hero,
body.tam-site:not(.home) .tam-archive-head{border-bottom:1px solid #d7dce0;padding-bottom:26px;margin-bottom:28px}
body.tam-site:not(.home) .tam-hub-intro h1,
body.tam-site:not(.home) .tam-dir-hero h1,
body.tam-site:not(.home) .tam-archive-head h1{font:700 clamp(34px,3vw,52px)/1.1 var(--tam-display)!important;color:#102334!important}
body.tam-site:not(.home) .tam-review-filters,
body.tam-site:not(.home) .tam-dir-filters{background:#f0f3f5!important;border:1px solid #d8e1e7!important;border-radius:3px;padding:20px!important;gap:14px}
body.tam-site:not(.home) .tam-review-filters label,
body.tam-site:not(.home) .tam-dir-filters label{font:600 13px/1.35 var(--tam-body)!important;color:#243e50!important}
body.tam-site:not(.home) .tam-review-filters :is(input,select),
body.tam-site:not(.home) .tam-dir-filters :is(input,select){min-height:43px;border:1px solid #b8c6d0!important;background:#fff!important;border-radius:2px;color:#102334!important}
body.tam-site:not(.home) .tam-review-filters button,
body.tam-site:not(.home) .tam-dir-filters button{min-height:43px;background:#0c3554!important;color:#fff!important;border-radius:2px}
body.tam-site:not(.home) .tam-grid .tam-card,
body.tam-site:not(.home) .tam-dir-card{background:#fff!important;border:1px solid #dce3e8!important;border-radius:3px;overflow:hidden;box-shadow:none!important;transition:border-color .15s ease}
body.tam-site:not(.home) .tam-grid .tam-card:hover,
body.tam-site:not(.home) .tam-dir-card:hover{border-color:#89a9bf!important}
body.tam-site:not(.home) .tam-grid .tam-card-image img{width:100%;height:100%;object-fit:cover}
body.tam-site:not(.home) .tam-dir-screenshot{max-width:100%;object-fit:contain}
body.tam-site:not(.home) .tam-results-count,
body.tam-site:not(.home) .tam-dir-results{color:#53616c;font:600 14px/1.4 var(--tam-body)}
body.tam-site:not(.home) .tam-review-pagination a,
body.tam-site:not(.home) .tam-review-pagination .current{min-width:38px;min-height:38px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d7dce0;border-radius:2px}
body.tam-site:not(.home) .tam-review-pagination .current{background:#0c2236;color:#fff}
@media(min-width:1600px){body.tam-site:not(.home) .tam-reading{width:min(100% - 112px,1440px)!important}}
@media(max-width:760px){body.tam-site:not(.home) .tam-reading{width:calc(100% - 24px)!important;margin:16px auto 36px!important;padding:20px 16px!important}body.tam-site:not(.home) .tam-article-head h1{font-size:clamp(30px,7vw,42px)!important}body.tam-site:not(.home) .tam-prose{font-size:17px!important}body.tam-site:not(.home) .tam-review-filters,body.tam-site:not(.home) .tam-dir-filters{padding:14px!important}body.tam-site:not(.home) .tam-article-featured img{max-height:none}body.tam-site:not(.home) .tam-grid{gap:16px}}
/* Correct the original 730px grid track; display:block alone does not reset grid-template-columns. */
@media(min-width:900px){
 body.tam-site article.tam-reading[data-equipment-review="1"] .tam-reading-grid{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;
  width:100%!important;max-width:none!important;
 }
 body.tam-site article.tam-reading[data-equipment-review="1"] .tam-reading-grid>div{
  grid-column:1!important;min-width:0!important;width:100%!important;max-width:none!important;
 }
 body.tam-site article.tam-reading[data-equipment-review="1"] .tam-prose{
  display:block!important;min-width:0!important;width:100%!important;max-width:none!important;
 }
}
/* Explicit review-only desktop measure, independent of WordPress body classes. */
@media(min-width:900px){
 article.tam-reading[data-equipment-review="1"] .tam-reading-grid,
 article.tam-reading[data-equipment-review="1"] .tam-reading-grid>div,
 article.tam-reading[data-equipment-review="1"] .tam-prose{width:100%!important;max-width:100%!important;min-width:0!important}
 article.tam-reading[data-equipment-review="1"] .tam-prose :is(p,h2,h3,h4,ul,ol,blockquote){width:100%!important;max-width:100%!important;box-sizing:border-box!important}
 article.tam-reading[data-equipment-review="1"] .tam-review-disclosure{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
}
/* Nested editorial content wrappers: paragraphs are not direct children of .tam-prose. */
@media(min-width:900px){
 body.single-post.tam-site article.tam-reading .tam-prose,
 body.single-post.tam-site article.tam-reading .tam-prose .entry-content,
 body.single-post.tam-site article.tam-reading .tam-prose .pf-content{width:100%!important;max-width:100%!important}
 body.single-post.tam-site article.tam-reading .tam-prose p,
 body.single-post.tam-site article.tam-reading .tam-prose ul,
 body.single-post.tam-site article.tam-reading .tam-prose ol,
 body.single-post.tam-site article.tam-reading .tam-prose blockquote,
 body.single-post.tam-site article.tam-reading .tam-prose h2,
 body.single-post.tam-site article.tam-reading .tam-prose h3{max-width:105ch!important;width:100%!important;margin-left:0!important;margin-right:0!important}
}
/* Review articles: make full use of desktop article width without affecting mobile. */
@media(min-width:900px){
 body.single-post.tam-site article.tam-reading{max-width:1500px!important;width:calc(100% - 64px)!important}
 body.single-post.tam-site article.tam-reading .tam-reading-grid>div{max-width:1240px!important;width:100%!important}
 body.single-post.tam-site article.tam-reading .tam-article-head{max-width:none!important;width:100%!important;border:0!important;padding-bottom:0!important}
 body.single-post.tam-site article.tam-reading .tam-article-featured{max-width:1240px!important}
 body.single-post.tam-site article.tam-reading .tam-prose>p,
 body.single-post.tam-site article.tam-reading .tam-prose>ul,
 body.single-post.tam-site article.tam-reading .tam-prose>ol,
 body.single-post.tam-site article.tam-reading .tam-prose>blockquote,
 body.single-post.tam-site article.tam-reading .tam-prose>h2,
 body.single-post.tam-site article.tam-reading .tam-prose>h3{max-width:105ch!important;width:100%!important;margin-left:0!important;margin-right:0!important}
}
@media(min-width:1600px){
 body.single-post.tam-site article.tam-reading{width:calc(100% - 112px)!important}
}
/* One authoritative desktop layout for opened articles only. */
@media(min-width:900px){
 body.single-post.tam-site .ast-container,
 body.single-post.tam-site #primary,
 body.single-post.tam-site #main{width:100%!important;max-width:none!important;min-width:0!important}
 body.single-post.tam-site article.tam-reading{box-sizing:border-box!important;width:calc(100% - 24px)!important;max-width:1800px!important;margin-left:auto!important;margin-right:auto!important;padding-left:clamp(16px,1.5vw,28px)!important;padding-right:clamp(16px,1.5vw,28px)!important}
 body.single-post.tam-site article.tam-reading .tam-reading-grid{display:block!important;grid-template-columns:none!important;width:100%!important;max-width:none!important}
 body.single-post.tam-site article.tam-reading .tam-reading-grid>div{display:block!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important}
 body.single-post.tam-site article.tam-reading .tam-prose{display:block!important;width:100%!important;max-width:none!important;min-width:0!important}
 body.single-post.tam-site article.tam-reading .tam-prose :is(p,ul,ol,blockquote,h2,h3,h4){box-sizing:border-box!important;width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important}
}
@media(min-width:1600px){body.single-post.tam-site article.tam-reading{width:calc(100% - 32px)!important}}
/* ATC comparison: keep both monitors together at equal visual height. */
body.single-post.tam-site .tam-prose .tam-monitor-compare{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:start;gap:clamp(16px,2.5vw,36px);max-width:1200px!important;width:100%!important;margin:28px auto 36px!important}
body.single-post.tam-site .tam-prose .tam-monitor-compare>.wp-block-column{min-width:0!important;width:100%!important;flex:none!important;margin:0!important}
body.single-post.tam-site .tam-prose .tam-monitor-compare figure{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.single-post.tam-site .tam-prose .tam-monitor-compare figure img{display:block!important;width:100%!important;height:clamp(220px,27vw,380px)!important;max-height:380px!important;object-fit:contain!important;object-position:center center!important;margin:0 auto!important}
body.single-post.tam-site .tam-prose .tam-monitor-compare figcaption{margin:10px 0 0!important;text-align:center;font-size:15px;line-height:1.5}
@media(max-width:650px){body.single-post.tam-site .tam-prose .tam-monitor-compare{grid-template-columns:1fr!important;gap:26px}body.single-post.tam-site .tam-prose .tam-monitor-compare figure img{height:250px!important}}
/* Landing-page headings align with their cards, filters and content. */
@media(min-width:900px){
 body.tam-site .tam-directory .tam-dir-hero,
 body.tam-site .tam-hub-intro,
 body.tam-site .tam-archive-head{box-sizing:border-box!important;max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
 body.tam-site .tam-directory .tam-dir-hero>p{max-width:100%!important}
 body.page.tam-site .tam-reading>.tam-article-head{box-sizing:border-box!important;max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
}
@media(prefers-reduced-motion:reduce){body.tam-site:not(.home) .tam-grid .tam-card,body.tam-site:not(.home) .tam-dir-card{transition:none}}
