:root {
  --primary: #f59e0b;
  --primary-2: #facc15;
  --primary-dark: #d97706;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --text: #111827;
  --text-soft: #374151;
  --muted: #6b7280;
  --border: #e5e7eb;
  --dark: #0f172a;
  --green: #16a34a;
  --red: #dc2626;
  --shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}

html[data-theme="dark"] {
  --bg: #0b1120;
  --surface: #111827;
  --surface-2: #1f2937;
  --text: #f9fafb;
  --text-soft: #d1d5db;
  --muted: #9ca3af;
  --border: #273244;
  --dark: #020617;
  --shadow: 0 14px 35px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

/* Topbar */
.topbar {
  background: var(--dark);
  color: #d1d5db;
  font-size: 13px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-links,
.topbar-links ul {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.topbar a:hover {
  color: var(--primary-2);
}

/* Market ticker */
.market-strip {
  background: #020617;
  color: #e5e7eb;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ticker-track {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  padding: 9px 0;
  font-size: 13px;
  animation: tickerMove 28s linear infinite;
}

.ticker-track strong {
  color: #fff;
}

.up {
  color: var(--green);
  font-weight: 800;
}

.down {
  color: var(--red);
  font-weight: 800;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-48%);
  }
}

/* Header */
.header {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  white-space: nowrap;
}

.logo img {
  max-height: 54px;
  width: auto;
}

.logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  display: grid;
  place-items: center;
  color: #111827;
  font-weight: 900;
}

/* Menus */
.nav {
  display: flex;
  align-items: center;
}

.primary-menu,
.primary-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu {
  display: flex;
  gap: 20px;
  font-weight: 800;
  font-size: 14px;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  color: var(--text-soft);
  display: block;
  padding: 10px 0;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-parent > a {
  color: var(--primary-dark);
}

.primary-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 8px;
  display: none;
  z-index: 60;
}

.primary-menu li:hover > .sub-menu {
  display: grid;
}

.primary-menu .sub-menu a {
  padding: 10px 12px;
  border-radius: 10px;
}

.primary-menu .sub-menu a:hover {
  background: var(--surface-2);
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-mini {
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 14px;
  width: 190px;
  outline: none;
}

.btn,
.icon-btn,
.search-submit {
  border: none;
  background: var(--primary);
  color: #111827;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn,
.search-submit {
  padding: 11px 16px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.btn:hover,
.icon-btn:hover,
.search-submit:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.menu-toggle {
  display: none;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.62);
  z-index: 100;
  display: none;
}

.mobile-menu.active {
  display: block;
}

.mobile-panel {
  width: min(360px, 88vw);
  height: 100%;
  background: var(--surface);
  padding: 22px;
  display: grid;
  align-content: start;
  gap: 16px;
  box-shadow: var(--shadow);
}

.mobile-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mobile-nav,
.mobile-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
}

.mobile-nav .sub-menu {
  padding-left: 14px;
}

/* Main */
.site-main {
  padding-bottom: 34px;
}

.breaking {
  margin: 22px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.breaking-label {
  background: var(--primary);
  color: #111827;
  font-weight: 900;
  padding: 14px 18px;
  white-space: nowrap;
}

.breaking-text {
  padding: 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
  margin-bottom: 28px;
}

.card,
.hero-card,
.widget,
.category-box,
.article-box,
.form-box,
.page-title,
.author-card,
.list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card {
  min-height: 430px;
  position: relative;
  display: flex;
  align-items: flex-end;
  color: white;
  padding: 30px;
  background-position: center;
  background-size: cover;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.05),
    rgba(17, 24, 39, 0.94)
  );
}

.hero-card > * {
  position: relative;
  z-index: 2;
}

.badge {
  display: inline-flex;
  background: var(--primary);
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero-card h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  margin: 0 0 12px;
  letter-spacing: -1.5px;
}

.meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-card .meta {
  color: #d1d5db;
}

.small-stack {
  display: grid;
  gap: 18px;
}

.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.card-body,
.widget-body,
.category-body {
  padding: 16px;
}

.card h3 {
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

.excerpt {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0 16px;
  gap: 14px;
}

.section-title h2,
.page-title h1 {
  margin: 0;
  letter-spacing: -0.8px;
}

.section-title h2 {
  font-size: 25px;
}

.section-title a {
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 14px;
}

/* Page title */
.page-title {
  margin: 8px 0 22px;
  padding: 24px;
}

.page-title h1 {
  font-size: clamp(28px, 4vw, 42px);
}

.page-title p {
  color: var(--muted);
  margin: 10px 0 0;
  line-height: 1.7;
}

/* Grids */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.news-list {
  display: grid;
  gap: 16px;
}

.list-card {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 18px;
  padding: 14px;
}

.list-card img {
  width: 230px;
  height: 150px;
  object-fit: cover;
  border-radius: 16px;
}

.list-card h2 {
  margin: 8px 0;
  font-size: 23px;
  line-height: 1.2;
}

/* Category block */
.category-box {
  margin-bottom: 28px;
}

.category-head {
  padding: 18px;
  background: var(--dark);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.category-head h2 {
  margin: 0;
}

.mini-list {
  display: grid;
  gap: 14px;
}

.mini-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.mini-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mini-item img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
}

.mini-item h3 {
  margin: 0 0 7px;
  font-size: 16px;
  line-height: 1.3;
}

/* Sidebar */
.sidebar {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 100px;
}

.widget {
  padding: 0;
}

.widget-title {
  padding: 16px 16px 0;
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.widget ul {
  margin: 0;
  padding: 16px;
  list-style: none;
}

.widget li {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}

.widget li:last-child {
  border-bottom: 0;
}

.popular-list {
  counter-reset: popular;
  display: grid;
  gap: 12px;
}

.popular-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.popular-item:last-child {
  border-bottom: 0;
}

.popular-item::before {
  counter-increment: popular;
  content: counter(popular);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary);
  color: #111827;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.popular-item h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.coin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.coin-table th,
.coin-table td {
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.coin-table th {
  color: var(--muted);
  font-size: 12px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.tag {
  padding: 8px 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-soft);
}

.ad-box {
  min-height: 260px;
  background: linear-gradient(135deg, #111827, #374151);
  color: white;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.ad-box strong {
  display: block;
  font-size: 25px;
  margin-bottom: 8px;
}

.newsletter {
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
}

/* Forms */
.input,
.textarea,
.search-field {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
}

.textarea {
  min-height: 130px;
  resize: vertical;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.field label {
  font-weight: 900;
  font-size: 14px;
}

/* Single */
.article-box {
  padding: 0;
}

.article-cover {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.article-content {
  padding: clamp(20px, 4vw, 42px);
}

.article-content h1 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.04;
  margin: 0 0 14px;
  letter-spacing: -1.8px;
}

.article-content h2 {
  margin-top: 30px;
  font-size: 27px;
}

.article-content p {
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 17px;
}

.article-content ul,
.article-content ol {
  color: var(--text-soft);
  line-height: 1.85;
  font-size: 17px;
}

.article-summary {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  margin: 22px 0;
}

.article-summary strong {
  display: block;
  margin-bottom: 8px;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.share-row a {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 900;
}

/* Author */
.author-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
}

.avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
}

/* Search */
.search-page-form {
  display: grid;
  grid-template-columns: 1fr 150px;
  gap: 12px;
  margin-bottom: 22px;
}

/* Comments */
.comments-area {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.comment-list {
  padding-left: 0;
  list-style: none;
}

.comment-body {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
}

.form-submit .submit {
  border: none;
  background: var(--primary);
  color: #111827;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  padding: 12px 18px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #d1d5db;
  margin-top: 40px;
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer h3,
.footer h4 {
  color: white;
  margin-top: 0;
}

.footer a {
  display: block;
  margin: 9px 0;
  color: #d1d5db;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin: 9px 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 26px;
  padding-top: 18px;
  color: #9ca3af;
  font-size: 13px;
}

/* WP helpers */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.screen-reader-text {
  position: absolute;
  left: -9999px;
}

/* Responsive */
@media (max-width: 1080px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav,
  .search-mini {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 0;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
  }

  .hero-grid,
  .news-grid,
  .footer-grid,
  .search-page-form {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 360px;
    padding: 22px;
  }

  .breaking {
    align-items: stretch;
    flex-direction: column;
  }

  .breaking-text {
    padding: 14px 16px;
  }

  .list-card {
    grid-template-columns: 1fr;
  }

  .list-card img {
    width: 100%;
    height: 200px;
  }

  .mini-item {
    grid-template-columns: 90px 1fr;
  }

  .mini-item img {
    width: 90px;
  }

  .article-cover {
    height: 240px;
  }

  .author-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .avatar {
    margin: 0 auto;
  }
}

/* Pagination */
.pagination {
  margin: 28px 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 13px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.page-numbers.current {
  background: var(--primary);
  color: #111827;
}

/* Widget compatibility */
.widget select,
.widget input,
.widget textarea {
  max-width: 100%;
}

.widget img {
  height: auto;
}

.widget_calendar table {
  width: 100%;
  border-collapse: collapse;
}

.widget_calendar th,
.widget_calendar td {
  padding: 8px;
  border: 1px solid var(--border);
  text-align: center;
}

.widget_recent_entries li,
.widget_recent_comments li,
.widget_categories li,
.widget_archive li,
.widget_meta li,
.widget_pages li,
.widget_nav_menu li {
  line-height: 1.45;
}

.single-author {
  margin-top: 24px;
  margin-bottom: 28px;
}

.article-tags {
  margin-top: 24px;
}

.related-posts {
  margin-top: 28px;
}

.page-links {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.page-links a,
.page-links span {
  min-width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.comments-title,
.comment-reply-title {
  margin-top: 0;
  letter-spacing: -0.6px;
}

.comment-meta,
.comment-metadata {
  color: var(--muted);
  font-size: 13px;
}

.comment-author {
  font-weight: 900;
}

.comment-content {
  color: var(--text-soft);
  line-height: 1.7;
}

.reply a {
  font-weight: 900;
  color: var(--primary-dark);
}

.no-comments {
  color: var(--muted);
}
.error-page {
  text-align: center;
  padding: 60px 24px;
}

.error-page .search-page-form {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.header-ad-wrap {
  /*max-width: 728px;*/
  width: 100%;
  display: flex;
  justify-content: center;
}

.header-ad-wrap img,
.header-ad-wrap iframe {
  max-width: 100%;
}
.widget .newsletter {
  border-radius: 22px;
  overflow: hidden;
}

.widget_kg_newsletter_widget {
  background: transparent;
  border: none;
  box-shadow: none;
}

.widget_kg_newsletter_widget .newsletter {
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.widget .newsletter {
  border-radius: 22px;
  overflow: hidden;
}

.widget_kg_newsletter_widget {
  background: transparent;
  border: none;
  box-shadow: none;
}

.widget_kg_newsletter_widget .newsletter {
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.popular-view-count {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}
.kg-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.kg-breadcrumbs a {
  color: var(--text-soft);
}

.kg-breadcrumbs a:hover {
  color: var(--primary-dark);
}

.kg-breadcrumbs span {
  color: var(--muted);
}
.breaking-marquee {
  align-items: stretch;
}

.breaking-marquee-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.breaking-marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: breakingMove 35s linear infinite;
  padding: 0 18px;
}

.breaking-marquee-track a {
  color: var(--text-soft);
  font-weight: 800;
}

.breaking-marquee-track a::before {
  content: "•";
  color: var(--primary-dark);
  margin-right: 10px;
}

.breaking-marquee-track a:hover {
  color: var(--primary-dark);
}

@keyframes breakingMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 760px) {
  .breaking-marquee {
    flex-direction: row;
  }

  .breaking-label {
    display: flex;
    align-items: center;
  }

  .breaking-marquee-track {
    padding: 0 14px;
  }
}
.breaking-marquee {
  align-items: stretch;
}

.breaking-marquee-wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.breaking-marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: breakingMove var(--breaking-speed, 35s) linear infinite;
  padding: 0 18px;
}

.breaking-marquee-track:hover {
  animation-play-state: paused;
}

.breaking-marquee-track a,
.breaking-marquee-track span {
  color: var(--text-soft);
  font-weight: 800;
}

.breaking-marquee-track a::before,
.breaking-marquee-track span::before {
  content: "•";
  color: var(--primary-dark);
  margin-right: 10px;
}

.breaking-marquee-track a:hover {
  color: var(--primary-dark);
}

@keyframes breakingMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}
.news-comments {
  padding: 0;
  overflow: hidden;
}

.comments-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary) 10%, var(--surface)),
    var(--surface)
  );
}

.comments-title {
  margin: 8px 0 0;
  font-size: 26px;
  letter-spacing: -0.7px;
}

.kg-comment-list {
  list-style: none;
  margin: 0;
  padding: 20px 24px;
}

.kg-comment {
  list-style: none;
}

.kg-comment-body {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.kg-comment-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 999px;
}

.kg-comment-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}

.kg-comment-author {
  color: var(--text);
  font-size: 15px;
}

.kg-comment-date {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 3px;
  font-weight: 700;
}

.kg-comment-reply a {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.kg-comment-reply a:hover {
  background: var(--primary);
  color: #111827;
}

.kg-comment-text {
  color: var(--text-soft);
  line-height: 1.75;
}

.kg-comment-text p {
  margin-top: 0;
}

.kg-comment-list .children {
  list-style: none;
  margin-left: 70px;
  padding-left: 18px;
  border-left: 2px solid var(--border);
}

.no-comments-box {
  margin: 24px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px dashed var(--border);
  border-radius: 18px;
}

.no-comments-box p {
  margin-bottom: 0;
  color: var(--muted);
}

.comment-form-card {
  padding: 24px;
  background: var(--surface);
}

.comment-form-card .comment-reply-title {
  margin-top: 0;
  font-size: 24px;
  letter-spacing: -0.6px;
}

.comment-notes,
.logged-in-as {
  color: var(--muted);
  font-size: 14px;
}

.comment-form label {
  display: block;
  margin-bottom: 7px;
  font-weight: 900;
}

.comment-form p {
  margin-bottom: 16px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
}

.comment-form textarea {
  min-height: 150px;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--primary);
}

.comment-awaiting-moderation {
  display: block;
  color: var(--primary-dark);
  margin-bottom: 8px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .comments-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .kg-comment-body {
    grid-template-columns: 44px 1fr;
  }

  .kg-comment-avatar img {
    width: 44px;
    height: 44px;
  }

  .kg-comment-list .children {
    margin-left: 20px;
    padding-left: 12px;
  }

  .kg-comment-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}
.header-ad-wrap {
  padding: 14px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-ad-wrap .container {
  display: flex;
  justify-content: center;
}

.header-ad,
.header-ad img,
.header-ad iframe {
  max-width: 100%;
}
.logo,
.logo-fallback,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-fallback {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  white-space: nowrap;
}

.custom-logo {
  max-height: 54px;
  width: auto;
}
