#tmt-post-shell {
  --font-display: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .tmt-post-header {
  top: var(--wp-admin-bar-height);
}

.tmt-post-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tmt-post-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tmt-post-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.tmt-post-logo-text {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.tmt-post-header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tmt-post-header-nav a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.tmt-post-header-nav a:hover {
  color: #fff;
}

.tmt-single-main,
.tmt-archive-main {
  padding: clamp(48px, 8vw, 96px) 24px clamp(72px, 10vw, 120px);
}

.tmt-single-container,
.tmt-archive-container {
  max-width: 920px;
  margin: 0 auto;
}

.tmt-archive-container {
  max-width: 1200px;
}

.tmt-single-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: color 0.2s ease;
}

.tmt-single-back:hover {
  color: var(--accent);
}

.tmt-single-article {
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(13, 27, 42, 0.06);
}

.tmt-single-featured {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}

.tmt-single-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tmt-single-content-wrap {
  padding: clamp(32px, 5vw, 56px);
}

.tmt-single-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.tmt-single-category {
  color: var(--accent);
}

.tmt-single-date,
.tmt-single-read-time {
  color: var(--brand-text-muted);
  letter-spacing: 0.06em;
}

.tmt-single-dot {
  color: rgba(13, 27, 42, 0.2);
}

.tmt-single-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
}

.tmt-single-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--brand-text-muted);
  margin: 0 0 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(13, 27, 42, 0.08);
}

.tmt-single-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--brand-text);
}

.tmt-single-content > *:first-child {
  margin-top: 0;
}

.tmt-single-content > *:last-child {
  margin-bottom: 0;
}

.tmt-single-content p {
  margin: 0 0 1.35em;
}

.tmt-single-content h2,
.tmt-single-content h3,
.tmt-single-content h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.25;
  margin: 2em 0 0.75em;
}

.tmt-single-content h2 { font-size: 1.75rem; }
.tmt-single-content h3 { font-size: 1.4rem; }

.tmt-single-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tmt-single-content ul,
.tmt-single-content ol {
  margin: 0 0 1.35em;
  padding-left: 1.4em;
}

.tmt-single-content blockquote {
  margin: 1.75em 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent);
  background: var(--brand-bg-alt);
  color: var(--brand-text);
}

.tmt-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5em 0;
}

.tmt-single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
}

.tmt-single-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-bg-alt);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.tmt-archive-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.tmt-archive-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.tmt-archive-title {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 16px 0 18px;
}

.tmt-archive-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.tmt-archive-description {
  font-size: 17px;
  line-height: 1.7;
  color: var(--brand-text-muted);
  margin: 0;
}

.tmt-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tmt-insight-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.tmt-insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(13, 27, 42, 0.10);
  border-color: rgba(13, 27, 42, 0.20);
}

.tmt-insight-card:hover .tmt-insight-card-accent {
  transform: scaleX(1);
}

.tmt-insight-card:hover .tmt-insight-card-img {
  transform: scale(1.04);
}

.tmt-insight-card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s ease;
  z-index: 2;
}

.tmt-insight-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
}

.tmt-insight-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.tmt-insight-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tmt-insight-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.tmt-insight-card-category {
  color: var(--accent);
}

.tmt-insight-card-dot {
  color: rgba(13, 27, 42, 0.2);
}

.tmt-insight-card-date {
  color: var(--brand-text-muted);
  letter-spacing: 0.06em;
}

.tmt-insight-card-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 14px;
}

.tmt-insight-card-excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--brand-text-muted);
  margin: 0 0 24px;
  flex-grow: 1;
}

.tmt-insight-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
  padding-top: 16px;
}

.tmt-insight-card-read-time {
  font-size: 12px;
  color: var(--brand-text-muted);
  letter-spacing: 0.04em;
}

.tmt-insight-card-link {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.tmt-insight-card-link:hover {
  color: var(--accent-dark);
}

.tmt-archive-pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.tmt-archive-pagination .nav-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tmt-archive-pagination a,
.tmt-archive-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.tmt-archive-pagination span.current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.tmt-archive-empty {
  text-align: center;
  color: var(--brand-text-muted);
  font-size: 17px;
}

.tmt-post-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.35);
  padding: 24px;
}

.tmt-post-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.75rem;
}

.tmt-post-footer-inner p {
  margin: 0;
}

.tmt-post-footer-inner a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.tmt-post-footer-inner a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .tmt-insights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .tmt-post-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .tmt-single-content-wrap {
    padding: 28px 22px 32px;
  }
}

/* Comments */
.tmt-single-comments {
  margin-top: 40px;
}

.tmt-comments {
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 18px;
  padding: clamp(28px, 4vw, 40px);
  box-shadow: 0 16px 40px rgba(13, 27, 42, 0.04);
}

.tmt-comments-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 28px;
  line-height: 1.2;
}

.tmt-comment-list {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
}

.tmt-comment-list .children {
  list-style: none;
  margin: 20px 0 0;
  padding-left: clamp(16px, 4vw, 32px);
  border-left: 2px solid rgba(13, 27, 42, 0.08);
}

.tmt-comment {
  margin-bottom: 24px;
}

.tmt-comment:last-child {
  margin-bottom: 0;
}

.tmt-comment-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tmt-comment-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tmt-comment-avatar-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: block;
}

.tmt-comment-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tmt-comment-author {
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
  font-size: 15px;
}

.tmt-comment-date {
  font-size: 12px;
  color: var(--brand-text-muted);
  letter-spacing: 0.02em;
}

.tmt-comment-awaiting {
  margin: 0;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brand-bg-alt);
  color: var(--brand-text-muted);
  font-size: 14px;
}

.tmt-comment-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--brand-text);
}

.tmt-comment-content p {
  margin: 0 0 0.75em;
}

.tmt-comment-content p:last-child {
  margin-bottom: 0;
}

.tmt-comment-reply a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
}

.tmt-comment-reply a:hover {
  color: var(--accent-dark);
}

.tmt-comments-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 14px;
}

.tmt-comments-navigation a {
  color: var(--accent-dark);
  text-decoration: none;
  font-weight: 600;
}

.tmt-comments-closed {
  margin: 0 0 24px;
  color: var(--brand-text-muted);
  font-size: 15px;
}

.tmt-comment-form {
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
}

.tmt-comment-form .comment-reply-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 20px;
  line-height: 1.2;
}

.tmt-comment-form .comment-reply-title small {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  margin-left: 12px;
}

.tmt-comment-form .comment-reply-title small a {
  color: var(--accent);
  text-decoration: none;
}

.tmt-comment-notes,
.tmt-comment-form .logged-in-as {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--brand-text-muted);
}

.tmt-comment-form .logged-in-as a {
  color: var(--accent-dark);
}

.tmt-comment-form p {
  margin: 0 0 18px;
}

.tmt-comment-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

.tmt-comment-form .required {
  color: var(--accent);
}

.tmt-comment-form input[type="text"],
.tmt-comment-form input[type="email"],
.tmt-comment-form input[type="url"],
.tmt-comment-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(13, 27, 42, 0.12);
  border-radius: 10px;
  background: var(--brand-bg);
  color: var(--brand-text);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tmt-comment-form input[type="text"]:focus,
.tmt-comment-form input[type="email"]:focus,
.tmt-comment-form input[type="url"]:focus,
.tmt-comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.tmt-comment-form textarea {
  min-height: 140px;
  resize: vertical;
}

.tmt-comment-form .form-submit {
  margin-bottom: 0;
}

.tmt-comment-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.tmt-comment-submit:hover {
  background: var(--accent-dark);
}

@media (max-width: 767px) {
  .tmt-comments {
    padding: 24px 20px;
  }

  .tmt-comment-list .children {
    padding-left: 16px;
  }
}
