/* Article-only layout: native local media, readable copy, no viewport-sized videos. */
.tn-single-layout .tn-single-article { min-width: 0; }
.tn-single-article .tn-post-hero-copy--below { margin: 0 0 24px; }
.tn-single-layout .tn-single-article h1.tn-post-hero-title { font-size: clamp(28px, 2.6vw, 38px) !important; line-height: 1.2 !important; text-wrap: pretty; letter-spacing: -.02em; margin: 12px 0 16px; }
.tn-single-article .post-hero { margin: 0 0 28px; }
.tn-single-article .post-hero.tn-article-video-hero { height: auto !important; max-height: none !important; background: #080b12; overflow: hidden; border: 1px solid #ffffff12; border-radius: 16px; }
.tn-single-article .post-hero.tn-article-video-hero figure { margin: 0 !important; height: auto !important; max-height: none !important; padding: 0; display: flex; justify-content: center; align-items: flex-start; background: #080b12; }
.tn-single-article .post-hero.tn-article-video-hero video,
.tn-single-article #article-content video { display: block; width: 100% !important; height: auto !important; max-height: min(64vh, 560px) !important; object-fit: contain !important; margin: 0 auto; background: #080b12; }
.tn-single-article { --tn-video-height: min(60vh, 480px); }
.tn-single-article .post-hero.tn-article-video-hero.tn-video-portrait {
  width: min(100%, calc(var(--tn-video-height) * var(--tn-video-ratio))) !important;
  margin-inline: auto !important;
}
.tn-single-article .post-hero.tn-article-video-hero video { aspect-ratio: var(--tn-video-ratio, 16 / 9); max-height: none !important; }
.tn-single-article #article-content video.tn-video-portrait { width: min(100%, calc(var(--tn-video-height) * var(--tn-video-ratio))) !important; aspect-ratio: var(--tn-video-ratio); max-height: none !important; }
.tn-single-article #article-content video.tn-video-landscape { aspect-ratio: var(--tn-video-ratio); max-height: none !important; }
.tn-single-article #article-content .wp-video,
.tn-single-article #article-content .wp-block-video { max-width: 100%; width: 100% !important; margin: 24px auto; }
.tn-single-article #article-content { font-size: 18px; line-height: 1.75; overflow-wrap: anywhere; }
.tn-single-article #article-content p { margin: 0 0 1.2em; }
.tn-single-article #article-content > p:first-child { font-size: 20px; line-height: 1.6; color: #e4e7ef; }
.tn-single-article #article-content .wp-block-image img { max-height: 640px; width: auto; max-width: 100%; object-fit: contain; margin-inline: auto; border-radius: 12px; }
.tn-single-article .tn-post-hero-meta { flex-wrap: wrap; row-gap: 8px; }
.tn-single-article .tn-post-hero-meta { font-size: 13px; color: #9fa9ba; }
.tn-single-article .tn-post-hero-badge--static { font-size: 12px; padding: 5px 10px; box-shadow: none; }
.tn-single-article .tn-article-lead { font-size: 20px; line-height: 1.65; color: #d7deeb; margin-bottom: 24px; max-width: 75ch; }
.tn-single-layout .tn-article-sidebar > section:first-child { margin-top: 0; }
.tn-single-layout .tn-article-sidebar h2 { font-size: 18px; line-height: 1.4; }
.tn-single-layout .tn-article-sidebar .tn-sidebar-telegram__button { padding-block: 10px; font-size: 14px; }
.tn-single-article #article-content > p:first-child { font-size: 18px; font-weight: 400; }
.tn-single-article #share-block { flex-wrap: wrap; }
.tn-single-article .tn-article-video-caption { padding: 10px 16px; margin: 0; color: #aeb7c7; font-size: 13px; line-height: 1.5; }
@media (max-width: 767px) {
  .tn-single-article { --tn-video-height: 52svh; }
  .tn-single-article .tn-article-lead { font-size: 17px; line-height: 1.6; margin-bottom: 20px; }
  .tn-single-article .tn-post-hero-copy--below { margin-bottom: 18px; }
  .tn-single-layout .tn-single-article h1.tn-post-hero-title { font-size: clamp(26px, 6.8vw, 34px) !important; }
  .tn-single-article .post-hero { margin-bottom: 22px; }
  .tn-single-article .post-comments__body { padding: 16px; }
  .tn-single-article .cs-comments__empty { font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; padding-block: 20px; }
  .tn-single-article #article-content { font-size: 16px; line-height: 1.7; }
  .tn-single-article #article-content > p:first-child { font-size: 18px; }
  .tn-single-article #article-content > p:first-child { font-size: 16px; }
  .tn-single-article .post-hero.tn-article-video-hero video,
  .tn-single-article #article-content video { max-height: 60svh !important; }
  .tn-single-article .post-hero.tn-article-video-hero video,
  .tn-single-article #article-content video.tn-video-portrait,
  .tn-single-article #article-content video.tn-video-landscape { max-height: none !important; }
}
@media (min-width: 1024px) {
  .tn-single-article #mobile-action-bar { position: static !important; width: 100% !important; transform: none !important; margin: 28px 0 0; }
}
