/**
 * Thrust — WordPress core content styling.
 *
 * Styles everything WordPress itself generates (classic editor content,
 * core blocks, core widgets, comments, pagination, search, password forms,
 * galleries, captions...) so a site renders cleanly and on-brand even with
 * Elementor, Redux and Thrust Core NOT installed. Loaded after custom.css.
 *
 * Scoping: rules are scoped to the theme's own wrappers (.tc-classic for
 * main content, .tc-sidebar/.widget for sidebars, .footer-widget for the
 * footer) so they can never leak into Elementor-built pages or widgets.
 *
 * @package Thrust
 */

/* ==========================================================================
   1. Base: wrappers, links, media, overflow safety
   ========================================================================== */
.tc-classic,
.tc-sidebar,
.footer-widget {
  overflow-wrap: anywhere; /* a long non-breaking string can't break the layout */
}

.tc-classic img,
.tc-sidebar img,
.footer-widget img,
.tc-classic video,
.tc-classic iframe,
.tc-classic embed,
.tc-classic object {
  max-width: 100%;
  height: auto;
}
.tc-classic iframe {
  border: 0;
}

.tc-classic a:not(.btn):not(.wp-block-button__link):not(.page-numbers):not(.tc-tag-badge):not(.tc-cat-pill):not(.tc-read-more):not(.comment-reply-link),
.tc-sidebar a,
.comment-respond a {
  color: var(--tc-secondary-color);
  text-decoration: none;
  transition: color 0.15s ease;
}
.tc-classic a:not(.btn):not(.wp-block-button__link):not(.page-numbers):not(.tc-tag-badge):not(.tc-cat-pill):not(.tc-read-more):not(.comment-reply-link):hover,
.tc-sidebar a:hover,
.comment-respond a:hover {
  color: var(--tc-primary-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Clear floats (thumbnails / aligned images) so cards never collapse */
.entry-content::after,
.tc-post-card::after,
.comment-body::after,
.widget::after {
  content: "";
  display: table;
  clear: both;
}

/* Full-width / wide alignment for core blocks (only on layouts with no
   sidebar, where breaking out of the container is safe). */
.tc-classic--wide .entry-content > .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.tc-classic--wide .entry-content > .alignwide {
  width: min(1320px, 100vw - 2rem);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* ==========================================================================
   2. Archive / search / 404 headers
   ========================================================================== */
.tc-archive-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--tc-border-color);
}
.tc-archive-header .tc-archive-eyebrow {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tc-primary-hover);
}
.tc-archive-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
}
.tc-archive-header .archive-description {
  margin-top: 0.75rem;
  color: rgba(11, 19, 43, 0.65);
  color: color-mix(in srgb, var(--tc-dark-color) 65%, transparent);
}

.tc-no-results,
.tc-404 {
  padding: 3rem 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
}
.tc-no-results h2,
.tc-404 h1 {
  font-weight: 700;
}
.tc-404 .tc-404-code {
  display: block;
  font-family: var(--tc-secondary-font-family);
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: var(--tc-primary-color);
}
.tc-no-results .search-form,
.tc-404 .search-form {
  max-width: 420px;
  margin: 1.5rem auto 0;
}

/* ==========================================================================
   3. Post cards (blog index / archive / search)
   ========================================================================== */
.tc-post-card {
  margin-bottom: 2rem;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
  box-shadow: 0 1px 3px rgba(11, 19, 43, 0.05);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--tc-dark-color) 5%, transparent);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.tc-post-card:hover {
  box-shadow: 0 14px 28px -10px rgba(11, 19, 43, 0.18);
  box-shadow: 0 14px 28px -10px color-mix(in srgb, var(--tc-dark-color) 18%, transparent);
  transform: translateY(-2px);
}
.tc-post-card .tc-post-thumb {
  display: block;
  overflow: hidden;
}
.tc-post-card .tc-post-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.tc-post-card:hover .tc-post-thumb img {
  transform: scale(1.03);
}
.tc-post-card .tc-post-body {
  padding: 1.5rem 1.75rem 1.75rem;
}
.tc-post-title {
  margin: 0.5rem 0 0.6rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
}
.tc-post-title a {
  color: var(--tc-dark-color) !important;
  text-decoration: none !important;
}
.tc-post-title a:hover {
  color: var(--tc-primary-hover) !important;
}

/* Category pills + meta line */
.tc-cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tc-cat-pill {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tc-dark-color);
  background: rgba(245, 158, 11, 0.16);
  background: color-mix(in srgb, var(--tc-primary-color) 16%, transparent);
  border-radius: 999px;
  text-decoration: none;
}
.tc-cat-pill:hover {
  background: var(--tc-primary-color);
  color: var(--tc-dark-color);
}
.tc-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  color: rgba(11, 19, 43, 0.58);
  color: color-mix(in srgb, var(--tc-dark-color) 58%, transparent);
}
.tc-post-meta a {
  color: inherit !important;
}
.tc-post-meta .avatar {
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}
.tc-post-excerpt {
  margin-bottom: 1.1rem;
}
.tc-post-excerpt p:last-child {
  margin-bottom: 0;
}
.tc-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--tc-dark-color) !important;
  text-decoration: none !important;
  border-bottom: 2px solid var(--tc-primary-color);
  padding-bottom: 1px;
}
.tc-read-more:hover {
  color: var(--tc-primary-hover) !important;
}

/* Sticky posts: distinct and recognizable (required by Envato review) */
.tc-post-card.sticky {
  position: relative;
  padding-left: 0; /* reset the generic .sticky rule from custom.css */
  border-left: 1px solid var(--tc-border-color);
  border-top: 4px solid var(--tc-primary-color);
}
.tc-post-card.sticky[data-tc-sticky]::before {
  content: attr(data-tc-sticky);
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.25rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tc-dark-color);
  background: var(--tc-primary-color);
  border-radius: 999px;
}

/* Posts without any content must not collapse or distort the card */
.tc-post-excerpt:empty {
  display: none;
}

/* ==========================================================================
   4. Single post / page typography (.entry-content)
   ========================================================================== */
.tc-single-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.tc-single-thumb img {
  width: 100%;
  border-radius: var(--tc-radius-card);
}

.entry-content {
  font-size: 1.02rem;
  line-height: 1.8;
}
.entry-content > *:first-child {
  margin-top: 0;
}
.entry-content p {
  margin-bottom: 1.25rem;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  margin: 2rem 0 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}
.entry-content h1 { font-size: 2rem; }
.entry-content h2 { font-size: 1.65rem; }
.entry-content h3 { font-size: 1.4rem; }
.entry-content h4 { font-size: 1.2rem; }
.entry-content h5 { font-size: 1.05rem; }
.entry-content h6 {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.6rem;
}
.entry-content li {
  margin-bottom: 0.4rem;
}
.entry-content li > ul,
.entry-content li > ol {
  margin-top: 0.4rem;
  margin-bottom: 0;
}
.entry-content ul li::marker {
  color: var(--tc-primary-color);
}
.entry-content ol li::marker {
  font-weight: 700;
  color: var(--tc-primary-hover);
}

.entry-content dl {
  margin-bottom: 1.25rem;
}
.entry-content dt {
  font-weight: 700;
  color: var(--tc-dark-color);
}
.entry-content dd {
  margin: 0 0 0.75rem 1.25rem;
}

.entry-content hr,
.wp-block-separator {
  height: 2px;
  margin: 2.25rem 0;
  border: 0;
  background: var(--tc-border-color);
  opacity: 1;
}
.wp-block-separator.is-style-dots {
  background: none;
}

.entry-content blockquote,
.wp-block-quote {
  position: relative;
  margin: 1.75rem 0;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--tc-dark-color);
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-left: 4px solid var(--tc-primary-color);
  border-radius: 0 var(--tc-radius-card) var(--tc-radius-card) 0;
}
.entry-content blockquote p:last-child,
.wp-block-quote p:last-child {
  margin-bottom: 0;
}
.entry-content blockquote cite,
.wp-block-quote cite,
.wp-block-quote__citation,
.wp-block-pullquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
  color: rgba(11, 19, 43, 0.6);
  color: color-mix(in srgb, var(--tc-dark-color) 60%, transparent);
}
.wp-block-pullquote {
  margin: 2rem 0;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 4px solid var(--tc-primary-color);
  border-bottom: 4px solid var(--tc-primary-color);
}
.wp-block-pullquote blockquote {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  font-size: 1.4rem;
}

.entry-content pre,
.wp-block-code,
.wp-block-preformatted,
.wp-block-verse {
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.25rem;
  overflow: auto;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #E2E8F0;
  background: var(--tc-dark-color);
  border-radius: var(--tc-radius-card);
}
.wp-block-verse {
  font-family: inherit;
}
.entry-content pre code,
.wp-block-code code {
  padding: 0;
  color: inherit;
  background: none;
}
.entry-content code,
.entry-content kbd,
.entry-content samp,
.tc-sidebar code {
  padding: 0.15rem 0.4rem;
  font-size: 0.88em;
  color: var(--tc-dark-color);
  background: rgba(11, 19, 43, 0.07);
  background: color-mix(in srgb, var(--tc-dark-color) 7%, transparent);
  border-radius: 4px;
}
.entry-content kbd {
  color: #fff;
  background: var(--tc-dark-color-alt);
}
.entry-content mark {
  padding: 0.05rem 0.3rem;
  background: rgba(245, 158, 11, 0.3);
  background: color-mix(in srgb, var(--tc-primary-color) 30%, transparent);
  border-radius: 3px;
}
.entry-content abbr[title] {
  text-decoration: underline dotted;
  cursor: help;
}
.entry-content ins {
  text-decoration: none;
  background: rgba(34, 197, 94, 0.18);
}
.entry-content del {
  color: rgba(11, 19, 43, 0.5);
  color: color-mix(in srgb, var(--tc-dark-color) 50%, transparent);
}
.entry-content address {
  font-style: normal;
  line-height: 1.7;
}

/* Tables (classic editor + core Table block) */
.entry-content table,
.wp-block-table table {
  width: 100%;
  margin-bottom: 1.5rem;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
}
.entry-content th,
.entry-content td,
.wp-block-table th,
.wp-block-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--tc-border-color);
}
.entry-content thead th,
.wp-block-table thead th {
  font-family: var(--tc-secondary-font-family);
  color: var(--tc-dark-color);
  background: rgba(11, 19, 43, 0.04);
  background: color-mix(in srgb, var(--tc-dark-color) 4%, transparent);
  border-bottom: 2px solid var(--tc-primary-color);
}
.entry-content tbody tr:nth-child(even) td {
  background: rgba(11, 19, 43, 0.015);
  background: color-mix(in srgb, var(--tc-dark-color) 1.5%, transparent);
}
.wp-block-table {
  max-width: 100%;
  overflow-x: auto; /* wide tables scroll instead of breaking the layout */
}
.wp-block-table figcaption,
.wp-block-image figcaption,
.wp-block-embed figcaption,
.wp-block-gallery figcaption,
.entry-content figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(11, 19, 43, 0.6);
  color: color-mix(in srgb, var(--tc-dark-color) 60%, transparent);
}

.entry-content img {
  border-radius: var(--tc-radius-card);
}
.entry-content figure {
  max-width: 100%;
  margin: 0 0 1.5rem;
}
.entry-content .wp-block-image img,
.entry-content .wp-caption img {
  height: auto;
}

/* Classic galleries */
.gallery {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}
.gallery-columns-1 { grid-template-columns: 1fr; }
.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }
.gallery-columns-5 { grid-template-columns: repeat(5, 1fr); }
.gallery-columns-6 { grid-template-columns: repeat(6, 1fr); }
.gallery-columns-7 { grid-template-columns: repeat(7, 1fr); }
.gallery-columns-8 { grid-template-columns: repeat(8, 1fr); }
.gallery-columns-9 { grid-template-columns: repeat(9, 1fr); }
.gallery .gallery-item {
  margin: 0;
  width: auto !important;
}
.gallery .gallery-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border-radius: var(--tc-radius-card);
}
.gallery .gallery-caption {
  margin-top: 0.35rem;
  text-align: center;
}
@media (max-width: 767.98px) {
  .gallery[class*="gallery-columns-"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Core Buttons / Cover / Columns / File / Media-Text blocks */
.wp-block-button__link,
.wp-element-button {
  padding: 0.7rem 1.4rem;
  font-weight: 700;
  color: var(--tc-dark-color);
  background: var(--tc-primary-color);
  border-radius: var(--tc-radius-button);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--tc-primary-color) 25%, transparent);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.wp-block-button__link:hover,
.wp-element-button:hover {
  color: var(--tc-dark-color);
  background: var(--tc-primary-hover);
  transform: translateY(-1px);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--tc-dark-color);
  background: transparent;
  border: 2px solid var(--tc-dark-color);
  box-shadow: none;
}
.wp-block-cover {
  margin-bottom: 1.5rem;
  border-radius: var(--tc-radius-card);
  overflow: hidden;
}
.wp-block-cover,
.wp-block-cover p,
.wp-block-cover h1,
.wp-block-cover h2,
.wp-block-cover h3,
.wp-block-cover h4 {
  color: #fff;
}
.wp-block-columns {
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}
.wp-block-file {
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
}
.wp-block-media-text {
  margin-bottom: 1.5rem;
}
.wp-block-audio audio,
.wp-block-video video {
  width: 100%;
}
.wp-block-embed iframe,
.wp-block-embed__wrapper iframe {
  max-width: 100%;
}
.wp-block-group.has-background {
  padding: 1.5rem;
  border-radius: var(--tc-radius-card);
}

/* Tags / categories footer under a single post */
.tc-post-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--tc-border-color);
}
.tc-post-footer .tc-label {
  margin-right: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(11, 19, 43, 0.55);
  color: color-mix(in srgb, var(--tc-dark-color) 55%, transparent);
}

/* Paginated posts (<!--nextpage-->) */
.tc-page-links,
.page-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 1.75rem 0;
  font-weight: 700;
}
.tc-page-links a,
.tc-page-links > .post-page-numbers,
.page-links > .post-page-numbers {
  min-width: 2.2rem;
  padding: 0.3rem 0.65rem;
  text-align: center;
  color: var(--tc-dark-color);
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-button);
  text-decoration: none;
}
.tc-page-links .post-page-numbers.current,
.page-links .post-page-numbers.current {
  background: var(--tc-primary-color);
  border-color: var(--tc-primary-color);
}

/* ==========================================================================
   5. Pagination & post navigation
   ========================================================================== */
.navigation .nav-links,
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.8rem;
  font-weight: 700;
  color: var(--tc-dark-color) !important;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-button);
  text-decoration: none !important;
  transition: all 0.15s ease;
}
a.page-numbers:hover {
  background: rgba(245, 158, 11, 0.15);
  background: color-mix(in srgb, var(--tc-primary-color) 15%, transparent);
  border-color: var(--tc-primary-color);
}
.page-numbers.current {
  background: var(--tc-primary-color);
  border-color: var(--tc-primary-color);
}
.page-numbers.dots {
  background: transparent;
  border-color: transparent;
}
.navigation.pagination {
  margin-top: 1rem;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.post-navigation .nav-previous a,
.post-navigation .nav-next a {
  display: block;
  height: 100%;
  padding: 1rem 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--tc-dark-color) !important;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
  text-decoration: none !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.post-navigation .nav-next {
  grid-column: 2;
  text-align: right;
}
.post-navigation a:hover {
  border-color: var(--tc-primary-color);
  box-shadow: 0 8px 18px -8px rgba(11, 19, 43, 0.2);
  box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--tc-dark-color) 20%, transparent);
}
.post-navigation .nav-subtitle {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tc-primary-hover);
}
@media (max-width: 575.98px) {
  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }
  .post-navigation .nav-next {
    grid-column: 1;
  }
}

/* ==========================================================================
   6. Forms (search, comment form, password form, widgets)
   ========================================================================== */
.tc-classic input[type="text"],
.tc-classic input[type="email"],
.tc-classic input[type="url"],
.tc-classic input[type="password"],
.tc-classic input[type="search"],
.tc-classic input[type="number"],
.tc-classic input[type="tel"],
.tc-classic input[type="date"],
.tc-classic textarea,
.tc-classic select,
.tc-sidebar input[type="text"],
.tc-sidebar input[type="email"],
.tc-sidebar input[type="search"],
.tc-sidebar textarea,
.tc-sidebar select,
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea,
.footer-widget input[type="text"],
.footer-widget input[type="search"],
.footer-widget input[type="email"],
.footer-widget select {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.9rem;
  font-family: var(--tc-primary-font-family);
  font-size: 0.95rem;
  color: var(--tc-dark-text-color);
  background-color: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-button);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.tc-classic input:focus,
.tc-classic textarea:focus,
.tc-classic select:focus,
.tc-sidebar input:focus,
.tc-sidebar select:focus,
.comment-respond input:focus,
.comment-respond textarea:focus,
.footer-widget input:focus,
.footer-widget select:focus {
  outline: 0;
  border-color: var(--tc-primary-color);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.22);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc-primary-color) 22%, transparent);
}
.tc-classic select,
.tc-sidebar select,
.footer-widget select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%230B132B' stroke-width='2' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.tc-classic textarea,
.comment-respond textarea {
  min-height: 9rem;
  resize: vertical;
}
.tc-classic label,
.comment-respond label,
.tc-sidebar label {
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--tc-dark-color);
}

.tc-classic input[type="submit"],
.tc-classic button[type="submit"],
.tc-sidebar input[type="submit"],
.tc-sidebar button[type="submit"],
.comment-respond input[type="submit"],
.footer-widget input[type="submit"],
.footer-widget button[type="submit"],
.post-password-form input[type="submit"],
.wp-block-search__button {
  padding: 0.65rem 1.3rem;
  font-family: var(--tc-primary-font-family);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--tc-dark-color);
  background: var(--tc-primary-color);
  border: 0;
  border-radius: var(--tc-radius-button);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
  box-shadow: 0 4px 10px color-mix(in srgb, var(--tc-primary-color) 25%, transparent);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.tc-classic input[type="submit"]:hover,
.tc-classic button[type="submit"]:hover,
.tc-sidebar input[type="submit"]:hover,
.tc-sidebar button[type="submit"]:hover,
.comment-respond input[type="submit"]:hover,
.footer-widget input[type="submit"]:hover,
.footer-widget button[type="submit"]:hover,
.post-password-form input[type="submit"]:hover,
.wp-block-search__button:hover {
  background: var(--tc-primary-hover);
  transform: translateY(-1px);
}

/* Core search form (classic widget + 404/no-results + Search block) */
.search-form,
.wp-block-search__inside-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: stretch;
}
.search-form label {
  flex: 1 1 auto;
  margin: 0;
}
.search-form .search-field,
.wp-block-search__input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-button);
}
.search-form .search-submit {
  flex: 0 0 auto;
}

/* Search block: keep the button label on one line, let the input take the
   remaining width, and drop the core "button inside" wrapper border/padding
   (core sets it with :where(), so these rules win without !important). */
.wp-block-search__input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}
.wp-block-search__button,
.search-form .search-submit {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
}
.wp-block-search__button-outside .wp-block-search__inside-wrapper {
  padding: 0;
  border: 0;
  background: transparent;
}
/* "Button inside": one bordered pill/box that holds the input AND the
   button, so the button really sits inside the field. */
.wp-block-search__button-inside .wp-block-search__inside-wrapper {
  gap: 0.25rem;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-button);
}
.wp-block-search__button-inside .wp-block-search__input {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.wp-block-search__button-inside .wp-block-search__inside-wrapper:focus-within {
  border-color: var(--tc-primary-color);
}
.wp-block-search__button-inside .wp-block-search__button {
  box-shadow: none;
}
.wp-block-search__button.has-icon {
  padding: 0.65rem 0.85rem;
}
.wp-block-search__label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

/* Password-protected posts */
.post-password-form {
  max-width: 520px;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-left: 4px solid var(--tc-primary-color);
  border-radius: var(--tc-radius-card);
}
.post-password-form label {
  display: block;
  margin-top: 0.75rem;
}
.post-password-form p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   7. Sidebar & core widgets
   ========================================================================== */
.tc-sidebar .widget {
  margin-bottom: 1.75rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
  box-shadow: 0 1px 3px rgba(11, 19, 43, 0.04);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--tc-dark-color) 4%, transparent);
}
.tc-sidebar .widget-title,
.tc-sidebar .wp-block-heading,
.tc-sidebar .widget h2 {
  position: relative;
  margin: 0 0 1.1rem;
  padding-bottom: 0.7rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.tc-sidebar .widget-title::after,
.tc-sidebar .widget > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.25rem;
  height: 3px;
  background: var(--tc-primary-color);
  border-radius: 2px;
}

/* Every list-based widget (Archives, Categories, Pages, Meta, Recent
   Posts/Comments, RSS, Nav Menu + their block equivalents) */
.tc-sidebar .widget ul,
.tc-sidebar .wp-block-archives,
.tc-sidebar .wp-block-categories,
.tc-sidebar .wp-block-latest-posts,
.tc-sidebar .wp-block-latest-comments,
.tc-sidebar .wp-block-page-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tc-sidebar .widget li {
  position: relative;
  padding: 0.5rem 0;
  font-size: 0.93rem;
  border-bottom: 1px dashed var(--tc-border-color);
}
.tc-sidebar .widget li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.tc-sidebar .widget li:first-child {
  padding-top: 0;
}
.tc-sidebar .widget ul ul,
.tc-sidebar .widget .children,
.tc-sidebar .widget .sub-menu {
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(245, 158, 11, 0.35);
  border-left: 2px solid color-mix(in srgb, var(--tc-primary-color) 35%, transparent);
}
.tc-sidebar .widget_archive li,
.tc-sidebar .widget_categories li,
.tc-sidebar .wp-block-archives li,
.tc-sidebar .wp-block-categories li {
  color: rgba(11, 19, 43, 0.55);
  color: color-mix(in srgb, var(--tc-dark-color) 55%, transparent);
}
.tc-sidebar .post-date,
.tc-sidebar .rss-date,
.tc-sidebar .wp-block-latest-posts__post-date,
.tc-sidebar .wp-block-latest-comments__comment-date {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: rgba(11, 19, 43, 0.5);
  color: color-mix(in srgb, var(--tc-dark-color) 50%, transparent);
}
.tc-sidebar .wp-block-latest-comments__comment {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--tc-border-color);
}
.tc-sidebar .wp-block-latest-comments__comment-avatar {
  border-radius: 50%;
}
.tc-sidebar .wp-block-latest-comments__comment-excerpt p {
  margin: 0.3rem 0 0;
  font-size: 0.85rem;
}
.tc-sidebar .rsswidget img {
  display: inline;
}
.tc-sidebar .rssSummary {
  margin: 0.3rem 0;
  font-size: 0.85rem;
}
.tc-sidebar cite {
  font-size: 0.8rem;
}

/* Calendar (classic widget + Calendar block) */
.tc-sidebar .calendar_wrap,
.tc-sidebar .wp-block-calendar {
  overflow-x: auto;
}
.tc-sidebar table {
  width: 100%;
  font-size: 0.85rem;
  text-align: center;
  border-collapse: separate;
  border-spacing: 2px;
}
.tc-sidebar caption {
  padding: 0 0 0.6rem;
  font-family: var(--tc-secondary-font-family);
  font-weight: 700;
  text-align: center;
  caption-side: top;
  color: var(--tc-dark-color);
}
.tc-sidebar th {
  padding: 0.35rem 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(11, 19, 43, 0.55);
  color: color-mix(in srgb, var(--tc-dark-color) 55%, transparent);
}
.tc-sidebar td {
  padding: 0.35rem 0;
  border-radius: 4px;
}
.tc-sidebar td a {
  display: block;
  font-weight: 700;
  color: var(--tc-dark-color) !important;
  background: rgba(245, 158, 11, 0.2);
  background: color-mix(in srgb, var(--tc-primary-color) 20%, transparent);
  border-radius: 4px;
  text-decoration: none !important;
}
.tc-sidebar td a:hover {
  background: var(--tc-primary-color);
}
.tc-sidebar #today,
.tc-sidebar td.today {
  font-weight: 700;
  color: #fff;
  background: var(--tc-dark-color);
}
.tc-sidebar tfoot td {
  padding-top: 0.5rem;
}
.tc-sidebar tfoot td a {
  display: inline;
  background: none;
  color: var(--tc-secondary-color) !important;
}
.tc-sidebar .wp-calendar-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* Tag cloud — WordPress prints inline font-size styles, so !important is
   required to bring wildly varying sizes under control. */
.tagcloud,
.wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tagcloud a,
.wp-block-tag-cloud a {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.78rem !important;
  line-height: 1.3;
  color: var(--tc-dark-color) !important;
  background: rgba(11, 19, 43, 0.06);
  background: color-mix(in srgb, var(--tc-dark-color) 6%, transparent);
  border-radius: 999px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
.tagcloud a:hover,
.wp-block-tag-cloud a:hover {
  background: var(--tc-primary-color);
}

/* Text / custom HTML / media widgets */
.tc-sidebar .textwidget,
.tc-sidebar .widget_text {
  font-size: 0.93rem;
}
.tc-sidebar .textwidget p:last-child {
  margin-bottom: 0;
}
.tc-sidebar .widget_media_image img,
.tc-sidebar .widget_media_gallery img,
.tc-sidebar .wp-block-image img {
  border-radius: var(--tc-radius-card);
}
.tc-sidebar .widget_media_gallery .gallery {
  grid-template-columns: repeat(3, 1fr);
}
.tc-sidebar .widget select,
.tc-sidebar .wp-block-archives-dropdown select,
.tc-sidebar .wp-block-categories-dropdown select {
  margin-top: 0.25rem;
}
.tc-sidebar .widget_nav_menu a,
.tc-sidebar .widget_pages a,
.tc-sidebar .widget_meta a,
.tc-sidebar .widget_recent_entries a,
.tc-sidebar .widget_archive a,
.tc-sidebar .widget_categories a,
.tc-sidebar .widget_rss a.rsswidget {
  font-weight: 600;
  color: var(--tc-dark-color);
}
.tc-sidebar .widget_nav_menu a:hover,
.tc-sidebar .widget_pages a:hover,
.tc-sidebar .widget_meta a:hover,
.tc-sidebar .widget_recent_entries a:hover,
.tc-sidebar .widget_archive a:hover,
.tc-sidebar .widget_categories a:hover {
  color: var(--tc-primary-hover);
  text-decoration: none;
}
.tc-sidebar .current-menu-item > a,
.tc-sidebar .current_page_item > a,
.tc-sidebar .current-cat > a {
  color: var(--tc-primary-hover);
}

/* Footer widgets (dark background) */
.footer-widget {
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}
.footer-widget img {
  border-radius: var(--tc-radius-card);
}
.footer-widget select,
.footer-widget input[type="text"],
.footer-widget input[type="search"] {
  color: var(--tc-dark-text-color);
}
.footer-widget table {
  width: 100%;
  font-size: 0.8rem;
  text-align: center;
}
.footer-widget caption,
.footer-widget th,
.footer-widget td {
  color: rgba(255, 255, 255, 0.8);
}
.footer-widget .tagcloud a,
.footer-widget .wp-block-tag-cloud a {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
}
.footer-widget .tagcloud a:hover,
.footer-widget .wp-block-tag-cloud a:hover {
  color: var(--tc-dark-color) !important;
  background: var(--tc-primary-color);
}
.footer-widget .search-form {
  flex-wrap: wrap;
}

/* ==========================================================================
   8. Comments
   ========================================================================== */
.tc-comments {
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
}
.tc-comments .comments-title,
.tc-comments h3 {
  font-size: 1.4rem;
}
.tc-comments .comment-list,
.tc-comments .comment-list .children {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tc-comments .comment-list .children {
  margin-left: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(245, 158, 11, 0.35);
  border-left: 2px solid color-mix(in srgb, var(--tc-primary-color) 35%, transparent);
}
.tc-comments .comment-body {
  position: relative;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--tc-border-color);
}
.tc-comments .comment-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
  color: var(--tc-dark-color);
}
.tc-comments .comment-author .avatar {
  width: 48px;
  height: 48px;
  margin: 0;
  border-radius: 50%;
}
.tc-comments .comment-author .says {
  display: none;
}
.tc-comments .comment-author .fn {
  font-style: normal;
}
.tc-comments .comment-metadata {
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  color: rgba(11, 19, 43, 0.55);
  color: color-mix(in srgb, var(--tc-dark-color) 55%, transparent);
}
.tc-comments .comment-metadata a {
  color: inherit !important;
}
.tc-comments .comment-content p:last-child {
  margin-bottom: 0.5rem;
}
.tc-comments .comment-awaiting-moderation {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  font-style: italic;
  background: rgba(245, 158, 11, 0.15);
  background: color-mix(in srgb, var(--tc-primary-color) 15%, transparent);
  border-radius: 4px;
}
.tc-comments .reply a,
.tc-comments .comment-reply-link {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--tc-dark-color) !important;
  border: 1px solid var(--tc-border-color);
  border-radius: 999px;
  text-decoration: none !important;
}
.tc-comments .reply a:hover {
  background: var(--tc-primary-color);
  border-color: var(--tc-primary-color);
}
/* Post author's own comments */
.tc-comments .bypostauthor > .comment-body {
  padding-left: 1rem;
  border-left: 3px solid var(--tc-primary-color);
}
.tc-comments .bypostauthor > .comment-body .fn::after {
  content: "Author";
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tc-dark-color);
  background: var(--tc-primary-color);
  border-radius: 999px;
}
/* Pingbacks / trackbacks */
.tc-comments .pingback .comment-body,
.tc-comments .trackback .comment-body {
  font-size: 0.9rem;
}

/* Comment form */
.comment-respond {
  margin-top: 2rem;
}
.comment-reply-title {
  font-size: 1.3rem;
  font-weight: 700;
}
.comment-reply-title small {
  margin-left: 0.5rem;
  font-size: 0.8rem;
}
.comment-form p {
  margin-bottom: 1rem;
}
.comment-form .comment-notes,
.comment-form .logged-in-as {
  font-size: 0.85rem;
  color: rgba(11, 19, 43, 0.6);
  color: color-mix(in srgb, var(--tc-dark-color) 60%, transparent);
}
.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.comment-form-cookies-consent label {
  margin: 0;
  font-weight: 400;
}
.comment-form .required {
  color: #DC2626;
}

/* ==========================================================================
   9. Responsive
   ========================================================================== */
@media (max-width: 767.98px) {
  .tc-post-card .tc-post-body {
    padding: 1.25rem;
  }
  .tc-comments {
    padding: 1.25rem;
  }
  .tc-comments .comment-list .children {
    margin-left: 0.5rem;
    padding-left: 0.75rem;
  }
  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin: 0 auto 1rem;
  }
  .search-form {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tc-post-card,
  .tc-post-card .tc-post-thumb img {
    transition: none;
  }
  .tc-post-card:hover,
  .tc-post-card:hover .tc-post-thumb img {
    transform: none;
  }
}

/* ===== Registered block styles (see inc/block-patterns.php) ===== */
.wp-block-button.is-style-tc-pill .wp-block-button__link {
  border-radius: 999px;
  padding-left: 1.75rem;
  padding-right: 1.75rem;
}
.wp-block-quote.is-style-tc-highlight {
  background: #E0F2FE;
  background: color-mix(in srgb, var(--tc-secondary-color) 12%, #fff);
  border-left: 4px solid var(--tc-secondary-color);
  border-radius: var(--tc-radius-card);
  padding: 1.5rem 1.75rem;
}
.wp-block-group.is-style-tc-card {
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(11, 19, 43, 0.06);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--tc-dark-color) 6%, transparent);
}

/* ===== Core WordPress classes (moved from custom.css) ===== */
/* ===== WordPress core alignment / caption / comment classes =====
   Theme Check / Envato review requires these standard classes to be
   present so that core-generated markup (image alignment, [caption]
   shortcode output, comment listings, the_tags(), etc.) is styled
   consistently rather than left completely unstyled if a client ever
   uses classic editor content, widgets, or comments on a page. ===== */
.alignleft {
  float: left;
  margin: 0 1.5rem 1rem 0;
}
.alignright {
  float: right;
  margin: 0 0 1rem 1.5rem;
}
.aligncenter {
  display: block;
  margin: 0 auto 1rem;
}
.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
}
.wp-caption img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tc-radius-card);
}
.wp-caption-text {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(11, 19, 43, 0.6);
  color: color-mix(in srgb, var(--tc-dark-color) 60%, transparent);
  text-align: center;
}
.gallery-caption {
  font-size: 0.85rem;
  color: rgba(11, 19, 43, 0.6);
  color: color-mix(in srgb, var(--tc-dark-color) 60%, transparent);
}
.bypostauthor {
  /* No visual distinction by design — present only so the class exists
     for themes/plugins that key off it. */
}
.sticky {
  border-left: 3px solid var(--tc-primary-color);
  padding-left: 1rem;
}

/* ===== WordPress-generated accessibility class =====
   Used by core functions (the_posts_pagination, comment_form, skip
   links, etc.) to visually hide text while keeping it available to
   screen readers. Standard WordPress.org-recommended implementation. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ===== Single post: tags, page links, comments ===== */
.tc-tag-badge {
  background: rgba(11, 19, 43, 0.06);
  background: color-mix(in srgb, var(--tc-dark-color) 6%, transparent);
  color: var(--tc-dark-color, #0B132B);
  font-weight: 600;
  font-size: 0.78rem;
  padding: 0.4rem 0.9rem;
  text-decoration: none;
}
.tc-tag-badge:hover {
  background: var(--tc-primary-color);
  color: #FFFFFF;
}
.tc-page-links a {
  margin-left: 0.5rem;
}
.tc-comments .comment-list {
  padding-left: 0;
}
.tc-comments .comment-list .children {
  list-style: none;
  padding-left: 2.5rem;
}
.tc-comments .comment-body {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(11, 19, 43, 0.08);
  border-bottom: 1px solid color-mix(in srgb, var(--tc-dark-color) 8%, transparent);
}
.tc-comments .comment-author .avatar {
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* ==========================================================================
   Footer widgets (dark background) — every core widget and block
   Scoped to .tc-footer-widgets, the wrapper footer.php puts around each
   footer widget area, so it works whatever markup a widget area registers.
   ========================================================================== */
.footer .tc-footer-widgets {
  min-width: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  overflow-wrap: anywhere;
}
.footer .tc-footer-widgets > * {
  margin-bottom: 1.75rem;
}
.footer .tc-footer-widgets img,
.footer .tc-footer-widgets video,
.footer .tc-footer-widgets iframe,
.footer .tc-footer-widgets embed,
.footer .tc-footer-widgets figure {
  max-width: 100%;
  height: auto;
}
.footer .tc-footer-widgets img {
  border-radius: var(--tc-radius-card);
}
.footer .tc-footer-widgets p,
.footer .tc-footer-widgets .textwidget {
  margin-bottom: 0.75rem;
}

/* Lists: no bullets, compact nesting that cannot run away on deep menus */
.footer .tc-footer-widgets ul,
.footer .tc-footer-widgets ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer .tc-footer-widgets li {
  margin-bottom: 0.5rem;
}
.footer .tc-footer-widgets ul ul,
.footer .tc-footer-widgets ol ol,
.footer .tc-footer-widgets .sub-menu,
.footer .tc-footer-widgets .children {
  margin: 0.5rem 0 0 0.9rem;
}
.footer .tc-footer-widgets ul ul ul ul,
.footer .tc-footer-widgets .sub-menu .sub-menu .sub-menu {
  margin-left: 0;
}

/* Links */
.footer .tc-footer-widgets a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s ease;
}
.footer .tc-footer-widgets a:hover,
.footer .tc-footer-widgets a:focus {
  color: var(--tc-primary-color);
}
.footer .tc-footer-widgets .current-menu-item > a,
.footer .tc-footer-widgets .current_page_item > a,
.footer .tc-footer-widgets .current-cat > a {
  color: var(--tc-primary-color);
}

/* Labels, forms */
.footer .tc-footer-widgets label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}
.footer .tc-footer-widgets label.screen-reader-text,
.footer .tc-footer-widgets .screen-reader-text {
  position: absolute !important;
}
.footer .tc-footer-widgets select,
.footer .tc-footer-widgets input[type="text"],
.footer .tc-footer-widgets input[type="search"],
.footer .tc-footer-widgets input[type="email"],
.footer .tc-footer-widgets input[type="url"],
.footer .tc-footer-widgets input[type="password"],
.footer .tc-footer-widgets textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.6rem 0.85rem;
  font-family: var(--tc-primary-font-family);
  font-size: 0.9rem;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--tc-radius-button);
}
.footer .tc-footer-widgets input::placeholder,
.footer .tc-footer-widgets textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.footer .tc-footer-widgets select {
  appearance: none;
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
}
.footer .tc-footer-widgets select option {
  color: var(--tc-dark-color);
  background: #fff;
}
.footer .tc-footer-widgets input:focus,
.footer .tc-footer-widgets select:focus,
.footer .tc-footer-widgets textarea:focus {
  outline: 0;
  border-color: var(--tc-primary-color);
}
.footer .tc-footer-widgets input[type="submit"],
.footer .tc-footer-widgets button[type="submit"],
.footer .tc-footer-widgets .wp-block-search__button {
  padding: 0.6rem 1.1rem;
  font-family: var(--tc-primary-font-family);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--tc-dark-color);
  background: var(--tc-primary-color);
  border: 0;
  border-radius: var(--tc-radius-button);
  white-space: nowrap;
  cursor: pointer;
}
.footer .tc-footer-widgets input[type="submit"]:hover,
.footer .tc-footer-widgets button[type="submit"]:hover,
.footer .tc-footer-widgets .wp-block-search__button:hover {
  background: var(--tc-primary-hover);
}
.footer .tc-footer-widgets .search-form,
.footer .tc-footer-widgets .wp-block-search__inside-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  align-items: stretch;
}
.footer .tc-footer-widgets .search-form label {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
.footer .tc-footer-widgets .wp-block-search__input {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}
.footer .tc-footer-widgets .wp-block-search__button-inside .wp-block-search__inside-wrapper {
  padding: 4px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.footer .tc-footer-widgets .wp-block-search__button-inside .wp-block-search__input {
  border: 0;
  background: transparent;
}

/* Calendar */
.footer .tc-footer-widgets table {
  width: 100%;
  font-size: 0.8rem;
  text-align: center;
  border-collapse: collapse;
}
.footer .tc-footer-widgets caption {
  padding: 0 0 0.5rem;
  font-weight: 700;
  color: #fff;
  caption-side: top;
}
.footer .tc-footer-widgets th,
.footer .tc-footer-widgets td {
  padding: 0.35rem 0.2rem;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.footer .tc-footer-widgets th {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.footer .tc-footer-widgets td a {
  font-weight: 700;
  color: var(--tc-primary-color);
}
.footer .tc-footer-widgets #today {
  background: rgba(255, 255, 255, 0.12);
}
.footer .tc-footer-widgets .wp-calendar-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

/* Tag cloud */
.footer .tc-footer-widgets .tagcloud,
.footer .tc-footer-widgets .wp-block-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.footer .tc-footer-widgets .tagcloud a,
.footer .tc-footer-widgets .wp-block-tag-cloud a {
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem !important; /* core sets inline sizes per tag weight */
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}
.footer .tc-footer-widgets .tagcloud a:hover,
.footer .tc-footer-widgets .wp-block-tag-cloud a:hover {
  color: var(--tc-dark-color) !important;
  background: var(--tc-primary-color);
}

/* Counts, dates, authors, small print */
.footer .tc-footer-widgets .post-count,
.footer .tc-footer-widgets .post-date,
.footer .tc-footer-widgets .rss-date,
.footer .tc-footer-widgets cite,
.footer .tc-footer-widgets .wp-block-latest-posts__post-date,
.footer .tc-footer-widgets .wp-block-latest-comments__comment-date {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Recent comments (block): compact avatar + text */
.footer .tc-footer-widgets .wp-block-latest-comments {
  padding: 0;
}
.footer .tc-footer-widgets .wp-block-latest-comments__comment {
  margin-bottom: 1rem;
}
.footer .tc-footer-widgets .wp-block-latest-comments__comment-avatar {
  width: 36px;
  height: 36px;
  margin-right: 0.6rem;
  border-radius: 50%;
}
.footer .tc-footer-widgets .wp-block-latest-comments__comment-excerpt p {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
}

/* Misc blocks inside widgets */
.footer .tc-footer-widgets pre,
.footer .tc-footer-widgets code {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.footer .tc-footer-widgets pre {
  padding: 0.75rem;
  overflow-x: auto;
  border-radius: var(--tc-radius-button);
}
.footer .tc-footer-widgets blockquote {
  margin: 0 0 0.75rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--tc-primary-color);
}
.footer .tc-footer-widgets figcaption,
.footer .tc-footer-widgets .wp-caption-text {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer .tc-footer-widgets hr {
  border-color: rgba(255, 255, 255, 0.2);
  opacity: 1;
}
.footer .tc-footer-title {
  font-family: var(--tc-secondary-font-family);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

/* Headings inside footer widgets (block widgets output real h1–h6; the
   global heading colour is dark navy, which disappears on the dark footer). */
.footer .tc-footer-widgets h1,
.footer .tc-footer-widgets h2,
.footer .tc-footer-widgets h3,
.footer .tc-footer-widgets h4,
.footer .tc-footer-widgets h5,
.footer .tc-footer-widgets h6,
.footer .tc-footer-widgets .wp-block-heading,
.footer .tc-footer-widgets .widget-title {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: var(--tc-secondary-font-family);
  font-weight: 700;
  line-height: 1.3;
}
.footer .tc-footer-widgets h1 { font-size: 1.5rem; }
.footer .tc-footer-widgets h2,
.footer .tc-footer-widgets .widget-title { font-size: 1.15rem; }
.footer .tc-footer-widgets h3 { font-size: 1.05rem; }
.footer .tc-footer-widgets h4 { font-size: 0.98rem; }
.footer .tc-footer-widgets h5,
.footer .tc-footer-widgets h6 { font-size: 0.9rem; }

/* ==========================================================================
   Single post polish + block-theme blocks used inside post content
   (Theme Unit Test "block category" posts render Query Loop, Navigation,
   Post Author, Post Terms, Comments … blocks right in the content.)
   ========================================================================== */

/* Header block of a single post */
.tc-single-title {
  letter-spacing: -0.02em;
}
.tc-single-thumb {
  overflow: hidden;
  border-radius: var(--tc-radius-card);
  box-shadow: 0 14px 32px -16px rgba(11, 19, 43, 0.3);
}
.tc-single-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.tc-post-meta {
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--tc-border-color);
}
.tc-post-footer {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--tc-border-color);
}

/* Vertical rhythm for dynamic blocks (their text labels sit right above) */
.entry-content .wp-block-post-title,
.entry-content .wp-block-post-date,
.entry-content .wp-block-post-author,
.entry-content .wp-block-post-terms,
.entry-content .wp-block-post-excerpt,
.entry-content .wp-block-post-featured-image,
.entry-content .wp-block-post-navigation-link,
.entry-content .wp-block-read-more,
.entry-content .wp-block-loginout,
.entry-content .wp-block-avatar,
.entry-content .wp-block-site-title,
.entry-content .wp-block-site-logo,
.entry-content .wp-block-site-tagline,
.entry-content .wp-block-navigation,
.entry-content .wp-block-query,
.entry-content .wp-block-comments,
.entry-content .wp-block-post-comments-form,
.entry-content .wp-block-post-author-biography {
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
}

/* Query Loop / Post Template */
.entry-content .wp-block-post-template {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.entry-content .wp-block-post-template > li {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--tc-border-color);
}
.entry-content .wp-block-post-template > li:last-child {
  border-bottom: 0;
}
.entry-content .wp-block-post-template .wp-block-post-title {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  line-height: 1.35;
}
.entry-content .wp-block-post-title a {
  color: var(--tc-dark-color);
  text-decoration: none;
}
.entry-content .wp-block-post-title a:hover {
  color: var(--tc-primary-hover);
}
.entry-content .wp-block-post-date,
.entry-content .wp-block-post-author__byline {
  font-size: 0.85rem;
  color: rgba(11, 19, 43, 0.6);
  color: color-mix(in srgb, var(--tc-dark-color) 60%, transparent);
}
.entry-content .wp-block-post-template .wp-block-post-featured-image {
  margin: 0 0 0.75rem;
}
.entry-content .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--tc-radius-card);
}
.entry-content .wp-block-post-excerpt p {
  margin-bottom: 0.5rem;
}
.entry-content .wp-block-post-excerpt__more-link,
.entry-content .wp-block-read-more {
  display: inline-block;
  font-weight: 700;
  color: var(--tc-dark-color);
  text-decoration: none;
  border-bottom: 2px solid var(--tc-primary-color);
}
.entry-content .wp-block-post-excerpt__more-link:hover,
.entry-content .wp-block-read-more:hover {
  color: var(--tc-primary-hover);
}

/* Query pagination (prev / numbers / next) */
.entry-content .wp-block-query-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1.75rem;
}
.entry-content .wp-block-query-pagination-previous,
.entry-content .wp-block-query-pagination-next {
  padding: 0.45rem 1rem;
  font-weight: 600;
  color: var(--tc-dark-color);
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-button);
}
.entry-content .wp-block-query-pagination-previous:hover,
.entry-content .wp-block-query-pagination-next:hover {
  color: var(--tc-dark-color);
  border-color: var(--tc-primary-color);
}

/* Navigation block (site navigation inside content) */
.entry-content .wp-block-navigation {
  font-weight: 600;
}
.entry-content .wp-block-navigation__container,
.entry-content .wp-block-page-list {
  margin: 0;
  padding: 0;
  list-style: none;
  gap: 0.35rem 1.5rem;
}
.entry-content .wp-block-navigation-item__content {
  color: var(--tc-dark-text-color);
  text-decoration: none;
}
.entry-content .wp-block-navigation-item__content:hover,
.entry-content .current-menu-item > .wp-block-navigation-item__content {
  color: var(--tc-primary-hover);
}
.entry-content .wp-block-navigation__submenu-container {
  padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
  box-shadow: 0 12px 28px -12px rgba(11, 19, 43, 0.25);
}

/* Site identity blocks */
.entry-content .wp-block-site-title {
  font-family: var(--tc-secondary-font-family);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}
.entry-content .wp-block-site-title a {
  color: var(--tc-dark-color);
  text-decoration: none;
}
.entry-content .wp-block-site-tagline {
  color: rgba(11, 19, 43, 0.6);
  color: color-mix(in srgb, var(--tc-dark-color) 60%, transparent);
}
.entry-content .wp-block-site-logo img {
  max-width: 160px;
  height: auto;
}

/* Author, avatar, terms */
.entry-content .wp-block-post-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.entry-content .wp-block-post-author__avatar img,
.entry-content .wp-block-avatar img {
  display: block;
  border-radius: 50%;
}
.entry-content .wp-block-post-author__name {
  font-weight: 700;
  color: var(--tc-dark-color);
}
.entry-content .wp-block-post-author-biography {
  padding-left: 1rem;
  font-style: italic;
  border-left: 3px solid var(--tc-primary-color);
}
.entry-content .wp-block-post-terms a {
  display: inline-block;
  margin: 0 0.3rem 0.3rem 0;
  padding: 0.2rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--tc-dark-color);
  text-decoration: none;
  background: rgba(245, 158, 11, 0.16);
  background: color-mix(in srgb, var(--tc-primary-color) 16%, transparent);
  border-radius: 999px;
}
.entry-content .wp-block-post-terms a:hover {
  background: var(--tc-primary-color);
}
.entry-content .wp-block-post-terms__separator {
  display: none;
}

/* Next / previous post link blocks: cards like the theme's post navigation */
.entry-content .wp-block-post-navigation-link {
  padding: 0.9rem 1.1rem;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
}
.entry-content .wp-block-post-navigation-link a {
  font-weight: 700;
  color: var(--tc-dark-color);
  text-decoration: none;
}
.entry-content .wp-block-post-navigation-link a:hover {
  color: var(--tc-primary-hover);
}
.entry-content .post-navigation-link__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tc-primary-hover);
}

/* Login / logout link */
.entry-content .wp-block-loginout a {
  display: inline-block;
  padding: 0.45rem 1rem;
  font-weight: 600;
  color: var(--tc-dark-color);
  text-decoration: none;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-button);
}
.entry-content .wp-block-loginout a:hover {
  border-color: var(--tc-primary-color);
}

/* Comments block (+ comment form block) inside content */
.entry-content .wp-block-comments-title,
.entry-content .wp-block-comments h2,
.entry-content .wp-block-comments h3 {
  margin-top: 0;
  font-size: 1.35rem;
}
.entry-content .wp-block-comment-template {
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.entry-content .wp-block-comment-template > li {
  margin: 0;
  padding: 1rem 0;
  border-bottom: 1px solid var(--tc-border-color);
}
.entry-content .wp-block-comment-author-name,
.entry-content .wp-block-comment-author-name a {
  font-weight: 700;
  color: var(--tc-dark-color);
  text-decoration: none;
}
.entry-content .wp-block-comment-date,
.entry-content .wp-block-comment-edit-link {
  font-size: 0.8rem;
}
.entry-content .wp-block-comment-reply-link a {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tc-dark-color);
  text-decoration: none;
  border: 1px solid var(--tc-border-color);
  border-radius: 999px;
}
.entry-content .wp-block-comment-reply-link a:hover {
  border-color: var(--tc-primary-color);
}

/* ==========================================================================
   Single post as a white card (matches the blog index cards)
   ========================================================================== */
.tc-single-card {
  margin-bottom: 2rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-radius: var(--tc-radius-card);
  box-shadow: 0 1px 3px rgba(11, 19, 43, 0.05);
  box-shadow: 0 1px 3px color-mix(in srgb, var(--tc-dark-color) 5%, transparent);
}
.tc-single-card.sticky {
  padding-left: 0; /* reset the generic .sticky rule */
  border-left: 1px solid var(--tc-border-color);
  border-top: 4px solid var(--tc-primary-color);
}
.tc-single-card .tc-single-thumb {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.tc-single-card .tc-single-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}
.tc-single-body {
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

/* Alignment classes must beat ".entry-content figure { margin: 0 0 1.5rem }"
   (captioned images are <figure class="wp-caption alignleft">). */
.entry-content .alignleft {
  float: left;
  margin: 0.25rem 1.5rem 1rem 0;
}
.entry-content .alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
}
.entry-content .aligncenter {
  display: block;
  clear: both;
  margin-left: auto;
  margin-right: auto;
}
.entry-content .alignleft.wp-caption,
.entry-content .alignright.wp-caption {
  max-width: 50%;
}
@media (max-width: 575.98px) {
  .entry-content .alignleft,
  .entry-content .alignright {
    float: none;
    display: block;
    margin: 0 auto 1.25rem;
    max-width: 100%;
  }
}

/* ==========================================================================
   Unit Test QA pass: captions, groups, buttons, nested nav, cover, calendar
   ========================================================================== */

/* Floated captioned images: "overflow-wrap: anywhere" on .tc-classic lets the
   figure's min-content width shrink to one letter, so a shrink-to-fit float
   collapsed and the caption wrapped one character per line. Give floats a
   real width basis and keep the caption text breaking at word boundaries. */
.entry-content figure.wp-caption.alignleft,
.entry-content figure.wp-caption.alignright {
  width: auto;
  min-width: 10rem;
}
.entry-content .wp-caption-text,
.entry-content figcaption {
  overflow-wrap: break-word;
  word-break: normal;
}
.entry-content .wp-caption.alignleft img,
.entry-content .wp-caption.alignright img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Group block: border / background presets get breathing room (inline
   padding from the editor still wins) and consecutive groups are spaced. */
.entry-content .wp-block-group {
  margin-bottom: 1.5rem;
}
.entry-content .wp-block-group.has-background,
.entry-content .wp-block-group.has-border-color {
  padding: 1.5rem;
  border-radius: var(--tc-radius-card);
}
.entry-content .wp-block-group > :last-child {
  margin-bottom: 0;
}
.entry-content .wp-block-group .wp-block-group {
  margin-bottom: 1rem;
}

/* Buttons: consistent gap, outline buttons no longer touch neighbours */
.entry-content .wp-block-buttons {
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.entry-content .wp-block-buttons > .wp-block-button {
  margin: 0;
}

/* Navigation / Page List blocks inside content: no bullets at any depth */
.entry-content .wp-block-navigation ul,
.entry-content .wp-block-navigation li,
.entry-content .wp-block-page-list,
.entry-content .wp-block-page-list ul,
.entry-content .wp-block-page-list li {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.entry-content .wp-block-navigation li::marker,
.entry-content .wp-block-page-list li::marker {
  content: none;
}
/* Only floating (hover/click) submenus get the card look; submenus that are
   rendered inline (Page List, mobile overlay) stay flat. */
.entry-content .wp-block-page-list .wp-block-navigation__submenu-container,
.entry-content .wp-block-page-list ul {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0 0 0 1rem;
}

/* Cover block: white text only as a default — a text colour chosen in the
   editor (has-text-color / inline style) always wins. */
.wp-block-cover:not(.has-text-color),
.wp-block-cover:not(.has-text-color) p,
.wp-block-cover:not(.has-text-color) h1,
.wp-block-cover:not(.has-text-color) h2,
.wp-block-cover:not(.has-text-color) h3,
.wp-block-cover:not(.has-text-color) h4 {
  color: #fff;
}
.wp-block-cover.has-text-color :is(p, h1, h2, h3, h4, h5, h6) {
  color: inherit;
}

/* Calendar inside post content (same look as the sidebar calendar) */
.entry-content .wp-block-calendar {
  overflow-x: auto;
  margin-bottom: 1.5rem;
}
.entry-content .wp-block-calendar table {
  width: 100%;
  font-size: 0.9rem;
  text-align: center;
  border-collapse: separate;
  border-spacing: 2px;
}
.entry-content .wp-block-calendar caption {
  padding: 0 0 0.6rem;
  font-family: var(--tc-secondary-font-family);
  font-weight: 700;
  text-align: center;
  caption-side: top;
  color: var(--tc-dark-color);
}
.entry-content .wp-block-calendar th,
.entry-content .wp-block-calendar td {
  padding: 0.4rem 0;
  border: 0;
  background: transparent;
}
.entry-content .wp-block-calendar th {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(11, 19, 43, 0.55);
  color: color-mix(in srgb, var(--tc-dark-color) 55%, transparent);
}
.entry-content .wp-block-calendar td a {
  display: block;
  font-weight: 700;
  color: var(--tc-dark-color);
  background: rgba(245, 158, 11, 0.2);
  background: color-mix(in srgb, var(--tc-primary-color) 20%, transparent);
  border-radius: 4px;
  text-decoration: none;
}
.entry-content .wp-block-calendar td a:hover {
  background: var(--tc-primary-color);
  color: #fff;
}
.entry-content .wp-block-calendar tfoot td {
  padding-top: 0.6rem;
}
.entry-content .wp-block-calendar tfoot a {
  background: transparent;
  color: var(--tc-primary-hover);
}

/* ==========================================================================
   Embeds: responsive 16:9 video iframes (classic oEmbed + Embed blocks)
   :where() keeps specificity at zero-ish so core's own responsive-embed CSS
   wins whenever it is active.
   ========================================================================== */
:where(.entry-content) iframe[src*="youtube.com"],
:where(.entry-content) iframe[src*="youtube-nocookie.com"],
:where(.entry-content) iframe[src*="youtu.be"],
:where(.entry-content) iframe[src*="vimeo.com"],
:where(.entry-content) iframe[src*="videopress.com"],
:where(.entry-content) iframe[src*="video.wordpress.com"],
:where(.entry-content) iframe[src*="wordpress.tv"],
:where(.entry-content) iframe[src*="dailymotion.com"],
:where(.entry-content) iframe[src*="ted.com"],
:where(.entry-content) iframe[src*="facebook.com/plugins/video"] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--tc-radius-card);
}
:where(.entry-content) .wp-block-embed__wrapper {
  max-width: 100%;
}
:where(.entry-content) .wp-block-embed.is-type-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
/* Audio / rich embeds with a fixed-height iframe still never overflow */
.entry-content iframe {
  max-width: 100%;
}

/* ==========================================================================
   Comment content: same typography as post content
   ========================================================================== */
.comment-content {
  line-height: 1.75;
  overflow-wrap: break-word;
}
.comment-content h1,
.comment-content h2,
.comment-content h3,
.comment-content h4,
.comment-content h5,
.comment-content h6 {
  margin: 1.25rem 0 0.6rem;
  font-weight: 700;
  line-height: 1.3;
}
.comment-content h1 { font-size: 1.5rem; }
.comment-content h2 { font-size: 1.3rem; }
.comment-content h3 { font-size: 1.15rem; }
.comment-content h4 { font-size: 1.05rem; }
.comment-content h5 { font-size: 0.95rem; }
.comment-content h6 {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.comment-content ul,
.comment-content ol {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
}
.comment-content ul { list-style: disc; }
.comment-content ol { list-style: decimal; }
.comment-content li { margin-bottom: 0.3rem; }
.comment-content ul li::marker { color: var(--tc-primary-color); }
.comment-content ol li::marker {
  font-weight: 700;
  color: var(--tc-primary-hover);
}
.comment-content dl { margin-bottom: 1rem; }
.comment-content dt {
  font-weight: 700;
  color: var(--tc-dark-color);
}
.comment-content dd { margin: 0 0 0.6rem 1.25rem; }
.comment-content blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  font-style: italic;
  color: var(--tc-dark-color);
  background: #fff;
  border: 1px solid var(--tc-border-color);
  border-left: 4px solid var(--tc-primary-color);
  border-radius: 0 var(--tc-radius-card) var(--tc-radius-card) 0;
}
.comment-content blockquote p:last-child { margin-bottom: 0; }
.comment-content blockquote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
}
.comment-content table {
  display: block;
  width: 100%;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
}
.comment-content th,
.comment-content td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border: 1px solid var(--tc-border-color);
}
.comment-content thead th {
  font-family: var(--tc-secondary-font-family);
  color: var(--tc-dark-color);
  background: rgba(11, 19, 43, 0.04);
  background: color-mix(in srgb, var(--tc-dark-color) 4%, transparent);
  border-bottom: 2px solid var(--tc-primary-color);
}
.comment-content pre {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1.1rem;
  overflow: auto;
  font-size: 0.85rem;
  color: #E2E8F0;
  background: var(--tc-dark-color);
  border-radius: var(--tc-radius-card);
}
.comment-content code,
.comment-content kbd {
  padding: 0.12rem 0.35rem;
  font-size: 0.88em;
  background: rgba(11, 19, 43, 0.07);
  background: color-mix(in srgb, var(--tc-dark-color) 7%, transparent);
  border-radius: 4px;
}
.comment-content pre code {
  padding: 0;
  color: inherit;
  background: none;
}
.comment-content hr {
  height: 2px;
  margin: 1.5rem 0;
  border: 0;
  background: var(--tc-border-color);
  opacity: 1;
}
.comment-content img,
.comment-content iframe,
.comment-content video {
  max-width: 100%;
  height: auto;
}
