/*
Theme Name: Ngoi Sao Asia Magazine
Theme URI: https://ngoisao.asia/
Author: Le Thao x ChatGPT
Author URI: https://ngoisao.asia/
Description: Theme tin tức/magazine cao cấp cho Ngôi Sao Asia. Thiết kế cảm hứng báo điện tử hiện đại, không sao chép giao diện hay tài sản của bên thứ ba.
Version: 1.0.6
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ngoisao-asia
Tags: news, magazine, blog, grid-layout, custom-logo, featured-images, responsive
*/

:root {
  --na-bg: #ffffff;
  --na-soft: #f7f4f6;
  --na-ink: #15151a;
  --na-muted: #6b6873;
  --na-line: #e8e3e7;
  --na-brand: #a30c43;
  --na-brand-2: #d82d6d;
  --na-gold: #c89435;
  --na-radius: 18px;
  --na-shadow: 0 18px 45px rgba(28, 17, 31, .08);
  --na-container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--na-bg);
  color: var(--na-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--na-brand); }
img { max-width: 100%; height: auto; display: block; }
html, body { max-width: 100%; overflow-x: hidden; }
.na-site-header, .na-site-main, .na-footer { max-width: 100%; overflow-x: clip; }
.na-container, .na-card, .na-widget, .na-article, .na-empty-state { min-width: 0; }
h1, h2, h3, h4, h5, h6, p, a, li, span { overflow-wrap: break-word; }
iframe, video, embed, object { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.na-container { width: 100%; max-width: var(--na-container); margin-inline: auto; padding-inline: 16px; }
.screen-reader-text { position: absolute; left: -999em; }

.na-topbar {
  border-bottom: 1px solid var(--na-line);
  color: var(--na-muted);
  font-size: 13px;
  background: #fff;
}
.na-topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 14px; }
.na-top-links, .na-top-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.na-pill-link { color: var(--na-brand); font-weight: 700; }
.na-header-main { padding: 24px 0 18px; background: linear-gradient(180deg,#fff 0%,#fff 65%,#fbf8fa 100%); }
.na-brand-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.na-logo-wrap { text-align: center; }
.na-logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(34px, 5vw, 58px);
  letter-spacing: -.04em;
  line-height: .9;
  color: var(--na-brand);
  font-weight: 800;
}
.na-logo-text span:last-child { color: var(--na-gold); font-style: italic; font-size: .62em; letter-spacing: 0; }
.na-tagline { color: var(--na-muted); margin-top: 8px; font-size: 14px; }
.custom-logo-link img { max-height: 74px; width: auto; margin-inline: auto; }
.na-search-mini { justify-self: end; width: min(280px, 100%); }
.na-search-form { position: relative; display: flex; align-items: center; }
.na-search-field {
  width: 100%; border: 1px solid var(--na-line); border-radius: 999px; padding: 10px 44px 10px 16px;
  outline: none; background: #fff; color: var(--na-ink);
}
.na-search-field:focus { border-color: rgba(163,12,67,.35); box-shadow: 0 0 0 4px rgba(163,12,67,.07); }
.na-search-submit {
  position: absolute; right: 5px; width: 34px; height: 34px; border: 0; border-radius: 50%;
  background: var(--na-brand); color: #fff; cursor: pointer;
}
.na-mobile-toggle { display: none; border: 1px solid var(--na-line); background: #fff; border-radius: 999px; padding: 9px 14px; font-weight: 700; }

.na-nav-wrap { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-top: 1px solid var(--na-line); border-bottom: 1px solid var(--na-line); }
.na-nav { display: flex; align-items: center; gap: 20px; min-height: 50px; overflow-x: auto; scrollbar-width: none; }
.na-nav::-webkit-scrollbar { display: none; }
.na-nav ul { list-style: none; display: flex; align-items: center; gap: 20px; padding: 0; margin: 0; white-space: nowrap; }
.na-nav li { position: relative; }
.na-nav a { font-weight: 700; font-size: 14px; }
.na-nav .current-menu-item > a, .na-nav .current_page_item > a { color: var(--na-brand); }
.na-nav .menu-item-has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.na-nav .sub-menu { position: absolute; top: calc(100% + 12px); left: 0; display: grid; gap: 8px; min-width: 190px; padding: 14px; background: #fff; border: 1px solid var(--na-line); border-radius: 14px; box-shadow: var(--na-shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s ease; }
.na-breaking { display: flex; gap: 10px; align-items: center; padding: 16px 0; color: var(--na-muted); font-size: 14px; }
.na-breaking strong { color: #fff; background: linear-gradient(135deg,var(--na-brand),var(--na-brand-2)); border-radius: 999px; padding: 5px 10px; font-size: 12px; text-transform: uppercase; }

.na-section { margin: 28px 0 42px; }
.na-hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 26px; align-items: start; }
.na-hero-card, .na-card, .na-widget, .na-empty-state, .na-article { background: #fff; border: 1px solid var(--na-line); border-radius: var(--na-radius); overflow: hidden; box-shadow: 0 8px 25px rgba(28,17,31,.04); }
.na-hero-card { box-shadow: var(--na-shadow); }
.na-thumb { position: relative; background: linear-gradient(135deg,#f4ecf0,#fff6fa); overflow: hidden; }
.na-thumb::before { content: ''; display: block; aspect-ratio: 16/9; }
.na-thumb > a, .na-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.na-thumb.placeholder { display: grid; place-items: center; }
.na-thumb.placeholder::after { content: 'Ngôi Sao Asia'; color: rgba(163,12,67,.22); font-family: Georgia, serif; font-size: clamp(22px, 3vw, 44px); font-weight: 800; position: absolute; }
.na-card-body { padding: 18px; }
.na-hero-card .na-card-body { padding: 24px; }
.na-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--na-brand); margin-bottom: 8px; }
.na-kicker::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--na-gold); }
.na-title { margin: 0; line-height: 1.2; letter-spacing: -.02em; }
.na-title-xl { font-size: clamp(30px, 4vw, 48px); }
.na-title-lg { font-size: clamp(23px, 2.6vw, 32px); }
.na-title-md { font-size: 20px; }
.na-title-sm { font-size: 16px; }
.na-excerpt { color: var(--na-muted); margin: 12px 0 0; }
.na-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--na-muted); font-size: 13px; margin-top: 12px; }
.na-side-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.na-side-stack .na-card:first-child { grid-column: span 2; }
.na-side-stack .na-card:first-child .na-title { font-size: 22px; }
.na-trending { margin-top: 18px; padding: 14px 0 2px; border-top: 1px solid var(--na-line); display: flex; gap: 14px; overflow-x: auto; }
.na-trending a { min-width: 220px; font-weight: 700; color: var(--na-ink); }
.na-trending span { color: var(--na-brand); font-family: Georgia, serif; font-weight: 900; margin-right: 8px; }

.na-section-head { display: flex; justify-content: space-between; gap: 18px; align-items: end; margin-bottom: 16px; border-bottom: 2px solid var(--na-ink); padding-bottom: 9px; }
.na-section-head h1, .na-section-head h2 { margin: 0; font-size: 26px; line-height: 1.18; letter-spacing: -.03em; }
.na-archive-head { align-items: start; }
.na-archive-desc { color: var(--na-muted); max-width: 720px; font-size: 15px; }
.na-archive-full { max-width: 880px; }
.na-section-head a { color: var(--na-brand); font-weight: 800; font-size: 14px; }
.na-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.na-grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.na-main-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.na-main-content, .na-sidebar, .na-list-body { min-width: 0; }
.na-sidebar ul, .na-sidebar ol { margin: 0; padding-left: 18px; }
.na-sidebar li { margin-bottom: 8px; }
.na-sidebar a { overflow-wrap: anywhere; }
.na-list-card > * { min-width: 0; }
.na-list { display: grid; gap: 18px; }
.na-list-card { display: grid; grid-template-columns: 240px 1fr; gap: 18px; padding: 16px; }
.na-list-card .na-thumb::before { aspect-ratio: 4/3; }
.na-widget { padding: 18px; margin-bottom: 18px; }
.na-widget-title { margin: 0 0 14px; font-size: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--na-line); }
.na-rank-list { counter-reset: rank; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.na-rank-list li { counter-increment: rank; display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.na-rank-list li::before { content: counter(rank); color: var(--na-brand); font-family: Georgia, serif; font-size: 28px; line-height: 1; font-weight: 900; }
.na-adbox { display: grid; place-items: center; min-height: 220px; border: 1px dashed #dccbd3; border-radius: 16px; background: #fbf8fa; color: var(--na-muted); text-align: center; padding: 18px; }

.na-article { padding: clamp(22px, 4vw, 44px); }
.na-article-header { max-width: 800px; margin-inline: auto; text-align: center; }
.na-article-title { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; margin: 10px 0; letter-spacing: -.04em; }
.na-article-content { max-width: 760px; margin: 30px auto 0; font-size: 18px; }
.na-article-content p { margin: 0 0 1.2em; }
.na-article-content h2, .na-article-content h3 { line-height: 1.2; margin-top: 1.8em; }
.na-article-content blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--na-brand); background: #fbf8fa; border-radius: 0 14px 14px 0; }
.na-post-nav { max-width: 760px; margin: 28px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.na-post-nav a { padding: 16px; border: 1px solid var(--na-line); border-radius: 14px; font-weight: 700; }
.na-comments { max-width: 760px; margin: 30px auto 0; }

.na-footer { margin-top: 50px; background: #151018; color: #f7f4f6; }
.na-footer a:hover { color: #fff; opacity: .8; }
.na-footer-top { padding: 38px 0; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; border-bottom: 1px solid rgba(255,255,255,.12); }
.na-footer-logo { font-family: Georgia, serif; font-size: 34px; color: #fff; margin-bottom: 10px; font-weight: 800; }
.na-footer p, .na-footer li { color: rgba(255,255,255,.72); }
.na-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.na-footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 0; color: rgba(255,255,255,.58); font-size: 13px; }
.na-backtop { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--na-brand); color: #fff; box-shadow: var(--na-shadow); cursor: pointer; opacity: 0; pointer-events: none; transition: .2s ease; }
.na-backtop.is-visible { opacity: 1; pointer-events: auto; }
.na-empty-state { padding: 32px; text-align: center; }
.na-empty-state h2 { margin-top: 0; }
.na-empty-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.na-button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 10px 16px; font-weight: 800; background: var(--na-brand); color: #fff; border: 1px solid var(--na-brand); }
.na-button.secondary { background: #fff; color: var(--na-brand); }

.navigation.pagination { margin-top: 24px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nav-links .page-numbers { border: 1px solid var(--na-line); border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.nav-links .current { background: var(--na-brand); color: #fff; border-color: var(--na-brand); }
.na-article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.na-article-content pre { max-width: 100%; overflow-x: auto; }
.na-article-content img, .na-article-content .wp-block-image, .na-article-content .wp-block-gallery { max-width: 100%; }
.size-full, .alignwide, .alignfull { max-width: 100%; }

.wp-caption, .gallery-caption, .bypostauthor { max-width: 100%; }
.alignleft { float: left; margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }



.na-main-sidebar, .na-archive-layout {
  width: 100%;
  max-width: var(--na-container);
  margin-inline: auto;
}
.na-archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.na-archive-layout.no-sidebar { grid-template-columns: 1fr; max-width: 880px; }
.na-archive-layout .na-main-content { min-width: 0; }
.na-sidebar .widget,
.na-sidebar .wp-block-group,
.na-sidebar .wp-block-search,
.na-sidebar .wp-block-latest-posts,
.na-sidebar .wp-block-archives,
.na-sidebar .wp-block-latest-comments,
.na-sidebar .wp-block-categories,
.na-sidebar .widget_block {
  background: #fff;
  border: 1px solid var(--na-line);
  border-radius: var(--na-radius);
  box-shadow: 0 8px 25px rgba(28,17,31,.04);
  padding: 18px;
  margin: 0 0 18px;
  overflow: hidden;
}
.na-sidebar .widget > *:last-child,
.na-sidebar .widget_block > *:last-child,
.na-sidebar .wp-block-group > *:last-child { margin-bottom: 0; }
.na-sidebar .widget-title,
.na-sidebar .wp-block-heading,
.na-sidebar h2,
.na-sidebar h3 {
  margin: 0 0 14px;
  font-size: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--na-line);
  line-height: 1.3;
}
.na-sidebar .wp-block-search__inside-wrapper,
.na-sidebar .search-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.na-sidebar .wp-block-search__input,
.na-sidebar input[type="search"],
.na-sidebar input[type="text"],
.na-sidebar input[type="email"],
.na-sidebar input[type="url"] {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--na-line);
  border-radius: 12px;
  padding: 11px 14px;
  outline: none;
  background: #fff;
}
.na-sidebar .wp-block-search__button,
.na-sidebar .search-submit,
.na-sidebar button,
.na-sidebar input[type="submit"] {
  border: 1px solid var(--na-brand);
  background: var(--na-brand);
  color: #fff;
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 700;
  cursor: pointer;
}
.na-sidebar ul,
.na-sidebar ol,
.na-sidebar .wp-block-latest-posts,
.na-sidebar .wp-block-archives-list,
.na-sidebar .wp-block-categories-list,
.na-sidebar .wp-block-latest-comments {
  margin: 0;
  padding-left: 18px;
}
.na-sidebar .wp-block-latest-posts li,
.na-sidebar .wp-block-latest-comments li,
.na-sidebar .wp-block-archives li,
.na-sidebar .wp-block-categories li,
.na-sidebar li {
  margin-bottom: 10px;
}
.na-sidebar .wp-block-latest-posts li:last-child,
.na-sidebar .wp-block-latest-comments li:last-child,
.na-sidebar .wp-block-archives li:last-child,
.na-sidebar .wp-block-categories li:last-child,
.na-sidebar li:last-child {
  margin-bottom: 0;
}
.na-sidebar label { display: block; margin-bottom: 8px; font-weight: 700; }
.na-section-head { width: 100%; }
.na-list { width: 100%; }
.na-list-card { align-items: start; }

@media (max-width: 980px) {
  .na-brand-row { grid-template-columns: auto 1fr auto; }
  .na-logo-wrap { text-align: left; }
  .na-search-mini { display: none; }
  .na-mobile-toggle { display: inline-flex; justify-self: end; }
  .na-nav-wrap { position: static; }
  .na-nav { display: none; padding: 14px 0; }
  .na-nav.is-open { display: block; }
  .na-nav ul { display: grid; gap: 12px; white-space: normal; width: 100%; }
  .na-nav li { min-width: 0; }
  .na-nav a { display: block; padding: 8px 0; }
  .na-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 8px 0 0 16px; }
  .na-hero-grid, .na-main-sidebar, .na-archive-layout { grid-template-columns: 1fr; }
  .na-grid-3, .na-grid-4 { grid-template-columns: repeat(2,1fr); }
  .na-footer-top { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .na-container { width: 100%; max-width: var(--na-container); padding-inline: 12px; }
  .na-topbar-inner { align-items: flex-start; flex-direction: column; padding: 8px 0; }
  .na-header-main { padding: 18px 0 14px; }
  .na-logo-text { font-size: 32px; }
  .na-tagline { font-size: 12px; }
  .na-breaking { align-items: flex-start; flex-direction: column; gap: 8px; }
  .na-title-xl { font-size: 30px; }
  .na-title-lg { font-size: 23px; }
  .na-section { margin: 20px 0 32px; }
  .na-hero-card .na-card-body, .na-card-body { padding: 15px; }
  .na-side-stack, .na-grid-3, .na-grid-4 { grid-template-columns: 1fr; }
  .na-side-stack .na-card:first-child { grid-column: auto; }
  .na-list-card { grid-template-columns: 1fr; }
  .na-list-card .na-thumb::before { aspect-ratio: 16/9; }
  .na-section-head { align-items: start; flex-direction: column; }
  .na-section-head h1, .na-section-head h2 { font-size: 24px; }
  .na-empty-state { padding: 22px 16px; }
  .na-widget { padding: 16px; }
  .na-post-nav { grid-template-columns: 1fr; }

  .na-sidebar .wp-block-search__inside-wrapper, .na-sidebar .search-form { flex-direction: column; }
  .na-sidebar .wp-block-search__button, .na-sidebar .search-submit, .na-sidebar button, .na-sidebar input[type="submit"] { width: 100%; }
}


/* v1.0.4 - Single post alignment and comments fix */
/* v1.0.5 - Widen single post frame for better desktop reading */
.na-single-wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
}
.na-single-wrap .na-article {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  overflow: hidden;
  padding: clamp(28px, 4vw, 58px);
}
.na-article-featured {
  margin-top: 24px;
  border-radius: 18px;
  overflow: hidden;
  background: #fbf8fa;
}
.na-article-featured img {
  width: 100%;
  height: auto;
  display: block;
}
.na-article .na-meta {
  justify-content: center;
}
.na-article-content > * {
  max-width: 100%;
}
.na-article-content a {
  color: var(--na-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.na-article-content ul,
.na-article-content ol {
  padding-left: 1.35em;
}
.na-comments {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--na-line);
  padding-top: 26px;
}
.na-comments h2,
.na-comments h3,
.comment-reply-title {
  line-height: 1.25;
  letter-spacing: -.02em;
}
.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list .children {
  list-style: none;
  margin: 18px 0 0 32px;
  padding: 0;
}
.comment,
.pingback,
.trackback {
  margin-bottom: 18px;
}
.comment-body {
  position: relative;
  border: 1px solid var(--na-line);
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(28,17,31,.04);
  overflow: hidden;
}
.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.comment-author .avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.comment-metadata,
.comment-meta {
  color: var(--na-muted);
  font-size: 13px;
  margin: 8px 0 10px;
}
.comment-content,
.comment-body p {
  overflow-wrap: anywhere;
}
.reply a,
.comment-reply-link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 800;
  color: var(--na-brand);
}
.comment-respond {
  margin-top: 24px;
  border: 1px solid var(--na-line);
  border-radius: 18px;
  padding: 20px;
  background: #fbf8fa;
}
.comment-form p {
  margin: 0 0 14px;
}
.comment-form label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--na-line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  outline: none;
}
.comment-form textarea {
  min-height: 140px;
  resize: vertical;
}
.form-submit .submit,
.comment-form input[type="submit"] {
  border: 1px solid var(--na-brand);
  background: var(--na-brand);
  color: #fff;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
}
.na-post-nav > div {
  min-width: 0;
}
.na-post-nav a {
  display: block;
  overflow-wrap: anywhere;
}

.na-single-wrap .na-article-header {
  max-width: 980px;
}
.na-single-wrap .na-article-title {
  font-size: clamp(36px, 4.4vw, 60px);
}
.na-single-wrap .na-article-content,
.na-single-wrap .na-comments,
.na-single-wrap .na-post-nav {
  max-width: 920px;
}
.na-single-wrap .na-article-content {
  font-size: 19px;
  line-height: 1.78;
}

@media (max-width: 780px) {
  .na-single-wrap { max-width: 100%; }
  .na-single-wrap .na-article { padding: 20px 14px; }
  .na-single-wrap .na-article-title { font-size: 30px; }
  .na-single-wrap .na-article-header { text-align: left; }
  .na-single-wrap .na-article .na-meta { justify-content: flex-start; }
  .na-single-wrap .na-article-content,
  .na-single-wrap .na-comments,
  .na-single-wrap .na-post-nav { max-width: 100%; }
  .na-single-wrap .na-article-content { font-size: 16px; line-height: 1.68; margin-top: 22px; }
  .comment-list .children { margin-left: 14px; }
  .comment-body { padding: 14px; }
  .comment-respond { padding: 16px; }
}

/* v1.0.6 - Ultra-wide single post layout: article uses more than 90% of screen */
.na-container.na-single-wrap,
.na-single-wrap {
  width: min(94vw, 1680px);
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}
.na-single-wrap .na-article {
  width: 100%;
  max-width: none;
  padding: clamp(24px, 2.4vw, 42px);
  margin-inline: auto;
}
.na-single-wrap .na-article-header,
.na-single-wrap .na-article-content,
.na-single-wrap .na-comments,
.na-single-wrap .na-post-nav {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}
.na-single-wrap .na-article-title {
  max-width: 100%;
  font-size: clamp(40px, 4.2vw, 72px);
}
.na-single-wrap .na-article-content {
  font-size: clamp(18px, 1.12vw, 21px);
  line-height: 1.78;
}
.na-single-wrap .na-article-content > * {
  max-width: 100%;
}
.na-single-wrap .na-article-content figure,
.na-single-wrap .na-article-content .wp-block-image,
.na-single-wrap .na-article-content .wp-block-gallery,
.na-single-wrap .na-article-content .wp-block-table,
.na-single-wrap .na-article-content .wp-block-embed {
  width: 100%;
  max-width: 100%;
}
.na-single-wrap .na-article-featured {
  width: 100%;
}

@media (min-width: 1200px) {
  .na-container.na-single-wrap,
  .na-single-wrap { width: 92vw; }
}
@media (min-width: 1600px) {
  .na-container.na-single-wrap,
  .na-single-wrap { width: 90vw; }
}
@media (max-width: 980px) {
  .na-container.na-single-wrap,
  .na-single-wrap { width: calc(100% - 24px); }
  .na-single-wrap .na-article { padding: 22px 16px; }
  .na-single-wrap .na-article-title { font-size: clamp(30px, 8vw, 44px); }
  .na-single-wrap .na-article-header { text-align: left; }
  .na-single-wrap .na-article .na-meta { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .na-container.na-single-wrap,
  .na-single-wrap { width: calc(100% - 16px); }
  .na-single-wrap .na-article { padding: 18px 12px; border-radius: 14px; }
  .na-single-wrap .na-article-content { font-size: 16px; line-height: 1.68; }
}
