:root {
  color-scheme: dark;
  --hhc-bg: #08111f;
  --hhc-bg-deep: #050914;
  --hhc-surface: #101827;
  --hhc-surface-2: #162033;
  --hhc-surface-3: #1f2b42;
  --hhc-text: #e8edf7;
  --hhc-text-strong: #ffffff;
  --hhc-muted: #9ca8bd;
  --hhc-border: #29364d;
  --hhc-border-soft: rgba(148, 163, 184, 0.18);
  --hhc-accent: #38bdf8;
  --hhc-accent-2: #f59e0b;
  --hhc-green: #34d399;
  --hhc-red: #fb7185;
  --hhc-purple: #a78bfa;
  --hhc-code-bg: #050816;
  --hhc-input-bg: #0b1220;
  --hhc-radius-sm: 10px;
  --hhc-radius: 16px;
  --hhc-radius-lg: 24px;
  --hhc-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --hhc-shadow-soft: 0 12px 34px rgba(0, 0, 0, 0.22);
  --hhc-container: min(100% - 32px, 1180px);
  --hhc-reading: min(100% - 32px, 820px);
  --hhc-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hhc-mono: "Cascadia Code", "Fira Code", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 34rem),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--hhc-bg) 0%, var(--hhc-bg-deep) 100%);
  color: var(--hhc-text);
  font-family: var(--hhc-font);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .hhc-site-header { top: 32px; }

img, svg, video, iframe { max-width: 100%; height: auto; }

a {
  color: var(--hhc-accent);
  text-decoration: none;
  text-underline-offset: 0.18em;
}

a:hover, a:focus { color: #7dd3fc; text-decoration: underline; }

button, input, textarea, select { font: inherit; }

::selection { background: rgba(56, 189, 248, 0.35); color: var(--hhc-text-strong); }

.hhc-container { width: var(--hhc-container); margin-inline: auto; }
.hhc-content-layout { width: var(--hhc-reading); }

.screen-reader-text,
.hhc-skip-link:not(:focus) {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.hhc-skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--hhc-accent);
  color: #06111d;
  border-radius: var(--hhc-radius-sm);
  font-weight: 800;
}

.hhc-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, 0.82);
  border-bottom: 1px solid var(--hhc-border-soft);
}

.hhc-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hhc-branding { min-width: 0; }
.hhc-site-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hhc-text-strong);
  font-weight: 900;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}
.hhc-site-title::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--hhc-accent);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.9);
}
.hhc-site-description {
  margin: 6px 0 0;
  color: var(--hhc-muted);
  font-size: 0.86rem;
  line-height: 1.3;
}
.custom-logo-link img { max-height: 58px; width: auto; }

.hhc-primary-nav { margin-left: auto; }
.hhc-primary-nav ul,
.hhc-footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.hhc-primary-nav .menu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hhc-primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--hhc-muted);
  font-size: 0.94rem;
  font-weight: 700;
}
.hhc-primary-nav a:hover,
.hhc-primary-nav a:focus,
.hhc-primary-nav .current-menu-item > a,
.hhc-primary-nav .current_page_item > a {
  color: var(--hhc-text-strong);
  background: rgba(148, 163, 184, 0.10);
  text-decoration: none;
}

.hhc-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--hhc-border);
  border-radius: 14px;
  color: var(--hhc-text);
  background: var(--hhc-surface);
  cursor: pointer;
}
.hhc-menu-toggle-line {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.hhc-main { padding-block: clamp(24px, 3vw, 48px); }

.hhc-hero {
  padding-block: clamp(30px, 4vw, 68px) clamp(24px, 3vw, 44px);
}
.hhc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.hhc-kicker {
  margin: 0 0 10px;
  color: var(--hhc-accent);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hhc-hero h1,
.hhc-page-header h1,
.hhc-article-title,
.hhc-style-hero h1 {
  margin: 0;
  color: var(--hhc-text-strong);
  font-size: clamp(1.95rem, 4.2vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}
.hhc-lead {
  max-width: 760px;
  margin: clamp(16px, 2vw, 24px) 0 0;
  color: #c8d3e7;
  font-size: clamp(0.98rem, 1.25vw, 1.18rem);
  line-height: 1.62;
}
.hhc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hhc-button,
.hhc-search-submit,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.hhc-button:hover,
.hhc-search-submit:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.hhc-button-primary,
.hhc-search-submit,
.wp-block-button__link {
  background: linear-gradient(135deg, var(--hhc-accent), #60a5fa);
  color: #07111f;
  box-shadow: 0 14px 30px rgba(56, 189, 248, 0.24);
}
.hhc-button-ghost {
  background: rgba(148, 163, 184, 0.08);
  color: var(--hhc-text);
  border-color: var(--hhc-border);
}
.hhc-hero-panel,
.hhc-card,
.hhc-post-card,
.hhc-note-box,
.hhc-review-box,
.hhc-empty-state,
.hhc-comments,
.hhc-style-hero,
.hhc-section {
  border: 1px solid var(--hhc-border-soft);
  border-radius: var(--hhc-radius-lg);
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.92), rgba(16, 24, 39, 0.72));
  box-shadow: var(--hhc-shadow-soft);
}
.hhc-hero-panel {
  padding: clamp(20px, 3vw, 32px);
  position: relative;
  overflow: hidden;
}
.hhc-hero-panel::before {
  content: "";
  position: absolute;
  inset: -60px -40px auto auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.11);
  filter: blur(2px);
}
.hhc-panel-line {
  position: relative;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--hhc-border-soft);
}
.hhc-panel-line:last-child { border-bottom: 0; }
.hhc-panel-line span {
  color: var(--hhc-accent-2);
  font-family: var(--hhc-mono);
  font-size: 0.84rem;
}
.hhc-panel-line strong { color: var(--hhc-text-strong); }

.hhc-section { padding: clamp(18px, 2.4vw, 26px); margin-block: 18px; }
.hhc-section-head { margin-bottom: 22px; }
.hhc-section-head h2,
.hhc-page-header h1,
.hhc-section h2 { color: var(--hhc-text-strong); }
.hhc-page-header { margin-bottom: 26px; }
.hhc-page-header h1 { font-size: clamp(1.85rem, 3.2vw, 3.2rem); }
.hhc-archive-description { color: var(--hhc-muted); max-width: 760px; }

.hhc-post-grid,
.hhc-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.hhc-post-card,
.hhc-card {
  overflow: hidden;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.hhc-post-card:hover,
.hhc-card:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.36);
}
.hhc-card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--hhc-surface-2);
}
.hhc-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}
.hhc-post-card:hover .hhc-card-media img { transform: scale(1.03); }
.hhc-post-card-body,
.hhc-card { padding: clamp(18px, 2.2vw, 24px); }
.hhc-entry-meta,
.hhc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-bottom: 12px;
  color: var(--hhc-muted);
  font-size: 0.82rem;
}
.hhc-entry-meta a { color: var(--hhc-accent); }
.hhc-categories a {
  display: inline-flex;
  padding: 4px 9px;
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.08);
  color: #bae6fd;
  font-weight: 800;
}
.hhc-categories a:hover { text-decoration: none; background: rgba(56, 189, 248, 0.14); }
.hhc-card-title,
.hhc-card h3 { margin: 0 0 10px; color: var(--hhc-text-strong); line-height: 1.2; letter-spacing: -0.03em; }
.hhc-card-title a { color: inherit; }
.hhc-card-excerpt,
.hhc-card p { color: #cbd5e1; }
.hhc-read-more,
.hhc-link {
  display: inline-flex;
  margin-top: 8px;
  font-weight: 900;
}

.hhc-article { padding-bottom: 20px; }
.hhc-article-header { margin-bottom: clamp(18px, 3vw, 30px); }
.hhc-article-title { font-size: clamp(1.85rem, 3.3vw, 3.35rem); }
.hhc-featured-media {
  margin: 0 0 clamp(24px, 4vw, 42px);
  border-radius: var(--hhc-radius-lg);
  overflow: hidden;
  border: 1px solid var(--hhc-border-soft);
  background: var(--hhc-surface);
}
.hhc-featured-media img { display: block; width: 100%; }

.hhc-entry-content,
.hhc-prose-demo {
  color: #dbe5f4;
  font-size: clamp(1rem, 1.08vw, 1.12rem);
}
.hhc-entry-content > *:first-child { margin-top: 0; }
.hhc-entry-content > *:last-child { margin-bottom: 0; }
.hhc-entry-content h1,
.hhc-entry-content h2,
.hhc-entry-content h3,
.hhc-entry-content h4,
.hhc-section h2,
.hhc-section h3 {
  color: var(--hhc-text-strong);
  letter-spacing: -0.04em;
  line-height: 1.16;
}
.hhc-entry-content h2,
.hhc-section h2 { margin-top: 1.75em; font-size: clamp(1.28rem, 2.05vw, 1.72rem); }
.hhc-entry-content h3,
.hhc-section h3 { margin-top: 1.45em; font-size: clamp(1.12rem, 1.55vw, 1.36rem); }
.hhc-entry-content p,
.hhc-entry-content ul,
.hhc-entry-content ol,
.hhc-entry-content blockquote { margin-block: 1.05em; }
.hhc-entry-content blockquote,
.hhc-prose-demo blockquote {
  margin-inline: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--hhc-accent);
  border-radius: 0 var(--hhc-radius) var(--hhc-radius) 0;
  background: rgba(56, 189, 248, 0.08);
  color: #dff3ff;
}

.hhc-badge-row,
.hhc-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.hhc-tag-row { margin-top: 16px; }
.hhc-tag-row a,
.hhc-badge,
.hhc-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--hhc-border-soft);
  background: rgba(148, 163, 184, 0.08);
  color: #dbeafe;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}
.hhc-tag-row a:hover { text-decoration: none; border-color: rgba(56, 189, 248, 0.38); }
.hhc-badge-project { color: #bae6fd; border-color: rgba(56, 189, 248, 0.35); background: rgba(56, 189, 248, 0.10); }
.hhc-badge-code { color: #c4b5fd; border-color: rgba(167, 139, 250, 0.35); background: rgba(167, 139, 250, 0.10); }
.hhc-badge-linux { color: #bbf7d0; border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.10); }
.hhc-badge-oc { color: #fed7aa; border-color: rgba(245, 158, 11, 0.42); background: rgba(245, 158, 11, 0.12); }
.hhc-badge-review { color: #ddd6fe; border-color: rgba(167, 139, 250, 0.35); background: rgba(167, 139, 250, 0.10); }
.hhc-badge-warning { color: #fecdd3; border-color: rgba(251, 113, 133, 0.38); background: rgba(251, 113, 133, 0.10); }
.hhc-badge-note { color: #cbd5e1; }

pre,
.hhc-code,
.hhc-filetree,
.hhc-terminal pre {
  max-width: 100%;
  overflow-x: auto;
  font-family: var(--hhc-mono);
  font-size: clamp(0.82rem, 1vw, 0.96rem);
  line-height: 1.62;
  tab-size: 2;
  white-space: pre;
}
.hhc-entry-content pre:not(.hhc-code),
.hhc-code,
.hhc-filetree,
.wp-block-code,
.wp-block-preformatted {
  position: relative;
  margin-block: 22px;
  padding: 18px;
  border: 1px solid var(--hhc-border-soft);
  border-radius: var(--hhc-radius);
  background: var(--hhc-code-bg);
  color: #dbeafe;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
code {
  font-family: var(--hhc-mono);
  color: #bfdbfe;
}
:not(pre) > code {
  padding: 2px 6px;
  border-radius: 7px;
  background: rgba(56, 189, 248, 0.10);
}
.hhc-terminal {
  margin-block: 22px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--hhc-radius-lg);
  background: #050816;
  box-shadow: var(--hhc-shadow);
}
.hhc-terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: linear-gradient(180deg, #111827, #0b1220);
}
.hhc-dot { width: 10px; height: 10px; border-radius: 999px; background: #475569; }
.hhc-dot:nth-child(1) { background: #fb7185; }
.hhc-dot:nth-child(2) { background: #fbbf24; }
.hhc-dot:nth-child(3) { background: #34d399; }
.hhc-terminal-title {
  margin-left: 6px;
  color: var(--hhc-muted);
  font-family: var(--hhc-mono);
  font-size: 0.82rem;
}
.hhc-terminal pre { margin: 0; padding: 18px; color: #d1fae5; background: transparent; }

.hhc-copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 5px 8px;
  border: 1px solid var(--hhc-border);
  border-radius: 9px;
  background: var(--hhc-input-bg);
  color: var(--hhc-muted);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
}
.hhc-terminal .hhc-copy-button { top: 52px; }
.hhc-copy-button:hover { color: var(--hhc-text); border-color: rgba(56, 189, 248, 0.4); }

.hhc-alert {
  margin-block: 14px;
  padding: 14px 16px;
  border-radius: var(--hhc-radius);
  border: 1px solid var(--hhc-border-soft);
  background: rgba(148, 163, 184, 0.08);
}
.hhc-alert-info { border-color: rgba(56, 189, 248, 0.35); background: rgba(56, 189, 248, 0.09); }
.hhc-alert-success { border-color: rgba(52, 211, 153, 0.34); background: rgba(52, 211, 153, 0.09); }
.hhc-alert-warning { border-color: rgba(245, 158, 11, 0.38); background: rgba(245, 158, 11, 0.10); }
.hhc-alert-danger { border-color: rgba(251, 113, 133, 0.36); background: rgba(251, 113, 133, 0.10); }

.hhc-table-wrap { width: 100%; overflow-x: auto; border-radius: var(--hhc-radius); border: 1px solid var(--hhc-border-soft); }
.hhc-table,
.hhc-entry-content table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  background: rgba(16, 24, 39, 0.55);
}
.hhc-table th,
.hhc-table td,
.hhc-entry-content th,
.hhc-entry-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--hhc-border-soft);
  text-align: left;
}
.hhc-table th,
.hhc-entry-content th {
  color: var(--hhc-text-strong);
  background: rgba(148, 163, 184, 0.08);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hhc-table tr:last-child td,
.hhc-entry-content tr:last-child td { border-bottom: 0; }
.hhc-status-ok { color: #bbf7d0; border-color: rgba(52, 211, 153, 0.35); background: rgba(52, 211, 153, 0.10); }
.hhc-status-warn { color: #fed7aa; border-color: rgba(245, 158, 11, 0.38); background: rgba(245, 158, 11, 0.10); }
.hhc-status-fail { color: #fecdd3; border-color: rgba(251, 113, 133, 0.36); background: rgba(251, 113, 133, 0.10); }

.hhc-review-box {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
}
.hhc-review-score {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0.04));
}
.hhc-score-number {
  color: var(--hhc-text-strong);
  font-size: 2.2rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.08em;
}
.hhc-score-label { color: var(--hhc-muted); font-weight: 800; }
.hhc-check-list { padding-left: 1.1em; }
.hhc-check-list li::marker { color: var(--hhc-green); }
.hhc-note-box { padding: clamp(16px, 2vw, 24px); }
.hhc-note-box h3 { margin-top: 0; }

.hhc-search-form {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  max-width: 640px;
}
.hhc-search-form label { flex: 1; }
.hhc-search-field {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--hhc-border);
  border-radius: 999px;
  background: var(--hhc-input-bg);
  color: var(--hhc-text);
  outline: none;
}
.hhc-search-field:focus { border-color: rgba(56, 189, 248, 0.56); box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.10); }

.hhc-empty-state {
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
}
.hhc-empty-state h1,
.hhc-empty-state h2 { margin-top: 0; color: var(--hhc-text-strong); }

.nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.nav-links a {
  display: block;
  padding: 16px;
  border: 1px solid var(--hhc-border-soft);
  border-radius: var(--hhc-radius);
  background: rgba(16, 24, 39, 0.65);
}
.nav-subtitle { display: block; color: var(--hhc-muted); font-size: 0.78rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.09em; }
.nav-title { color: var(--hhc-text-strong); font-weight: 900; }

.hhc-comments {
  margin-top: 42px;
  padding: clamp(18px, 3vw, 30px);
}
.hhc-comment-list { padding-left: 1.2em; }
.comment-body {
  margin-block: 12px;
  padding: 14px;
  border: 1px solid var(--hhc-border-soft);
  border-radius: var(--hhc-radius);
  background: rgba(148, 163, 184, 0.06);
}
textarea,
input[type="text"],
input[type="email"],
input[type="url"] {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--hhc-border);
  border-radius: 12px;
  background: var(--hhc-input-bg);
  color: var(--hhc-text);
}
input[type="submit"] {
  display: inline-flex;
  padding: 11px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--hhc-accent);
  color: #07111f;
  font-weight: 900;
  cursor: pointer;
}

.hhc-site-footer {
  margin-top: 50px;
  border-top: 1px solid var(--hhc-border-soft);
  background: rgba(5, 9, 20, 0.72);
}
.hhc-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 24px;
  align-items: start;
  padding-block: 34px;
}
.hhc-footer-brand strong { color: var(--hhc-text-strong); font-size: 1.1rem; }
.hhc-footer-brand p,
.hhc-footer-copy { margin: 6px 0 0; color: var(--hhc-muted); font-size: 0.9rem; }
.hhc-footer-nav ul { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.hhc-footer-nav a { color: var(--hhc-muted); font-weight: 700; }
.hhc-footer-widgets { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hhc-footer-copy { grid-column: 1 / -1; }

.alignwide { width: min(100%, 1100px); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-block-image img { border-radius: var(--hhc-radius); }
.wp-block-separator { border-color: var(--hhc-border-soft); }
.wp-block-quote { border-left-color: var(--hhc-accent); }

@media (min-width: 1600px) {
  :root { --hhc-container: min(100% - 80px, 1320px); --hhc-reading: min(100% - 80px, 860px); }
  .hhc-post-grid { gap: 28px; }
}

@media (min-width: 2200px) {
  :root { --hhc-container: min(100% - 120px, 1440px); --hhc-reading: min(100% - 120px, 900px); }
  body { font-size: 18px; }
}

@media (max-width: 1080px) {
  .hhc-hero-grid { grid-template-columns: 1fr; }
  .hhc-post-grid,
  .hhc-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  body.admin-bar .hhc-site-header { top: 46px; }
  .hhc-header-inner { min-height: 68px; }
  .hhc-menu-toggle { display: inline-block; }
  .hhc-primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    padding: 10px;
    border: 1px solid var(--hhc-border-soft);
    border-radius: var(--hhc-radius);
    background: rgba(8, 17, 31, 0.98);
    box-shadow: var(--hhc-shadow);
  }
  .hhc-primary-nav.is-open { display: block; }
  .hhc-primary-nav .menu { display: grid; gap: 4px; }
  .hhc-primary-nav a { width: 100%; border-radius: 12px; }
  .hhc-post-grid,
  .hhc-card-grid { grid-template-columns: 1fr; }
  .hhc-review-box { grid-template-columns: 1fr; }
  .hhc-review-score { width: 130px; }
  .hhc-footer-inner { grid-template-columns: 1fr; }
  .hhc-footer-nav ul { justify-content: flex-start; }
  .hhc-footer-widgets { grid-template-columns: 1fr; }
  .nav-links { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  :root { --hhc-container: min(100% - 22px, 1180px); --hhc-reading: min(100% - 22px, 820px); }
  body { font-size: 16px; }
  .hhc-main { padding-block: 24px; }
  .hhc-hero { padding-block: 26px 22px; }
  .hhc-hero h1,
  .hhc-page-header h1,
  .hhc-article-title,
  .hhc-style-hero h1 {
    font-size: clamp(1.7rem, 9vw, 2.45rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
  }
  .hhc-hero-actions,
  .hhc-search-form { flex-direction: column; }
  .hhc-button,
  .hhc-search-submit { width: 100%; }
  .hhc-panel-line { grid-template-columns: 1fr; gap: 2px; }
  .hhc-section,
  .hhc-post-card-body,
  .hhc-card { padding: 16px; }
  .hhc-terminal-header { min-height: 38px; }
  .hhc-terminal pre,
  .hhc-code,
  .hhc-filetree,
  .hhc-entry-content pre:not(.hhc-code) { padding: 14px; }
}


.hhc-entry-content > p:empty,
.hhc-styleguide > p:empty {
  display: none;
}

/* v1.0.5 homepage and review refresh */
.hhc-home-main {
  padding-block: 0 34px;
}

.hhc-home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding-block: clamp(42px, 7vw, 92px) clamp(28px, 5vw, 60px);
}

.hhc-home-intro h1 {
  margin: 0;
  color: var(--hhc-text-strong);
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hhc-home-intro .hhc-lead {
  max-width: 680px;
}

.hhc-home-console {
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 0%, rgba(56, 189, 248, 0.15), transparent 38%),
    linear-gradient(180deg, rgba(16, 24, 39, 0.82), rgba(10, 18, 31, 0.92));
  box-shadow: var(--hhc-shadow-soft);
}

.hhc-home-console-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--hhc-border-soft);
  color: var(--hhc-muted);
  font-family: var(--hhc-mono);
  font-size: 0.8rem;
}

.hhc-home-console-top span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #475569;
}

.hhc-home-console-top span:nth-child(1) { background: #fb7185; }
.hhc-home-console-top span:nth-child(2) { background: #fbbf24; }
.hhc-home-console-top span:nth-child(3) { background: #34d399; }
.hhc-home-console-top strong { margin-left: 6px; font-weight: 700; }

.hhc-home-console-body {
  display: grid;
  gap: 0;
  padding: 10px 18px 18px;
}

.hhc-home-console-body p {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid var(--hhc-border-soft);
  color: #dbe5f4;
  font-weight: 800;
}

.hhc-home-console-body p:last-child { border-bottom: 0; }
.hhc-home-console-body span {
  color: var(--hhc-accent-2);
  font-family: var(--hhc-mono);
  font-size: 0.78rem;
  font-weight: 900;
}

.hhc-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
  margin-top: 4px;
}

.hhc-home-feed,
.hhc-sidebar-card {
  border: 1px solid var(--hhc-border-soft);
  border-radius: var(--hhc-radius-lg);
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.86), rgba(12, 20, 34, 0.72));
  box-shadow: var(--hhc-shadow-soft);
}

.hhc-home-feed {
  padding: clamp(18px, 2.6vw, 30px);
}

.hhc-home-feed .hhc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.hhc-home-feed .hhc-section-head h2 {
  margin: 0;
  color: var(--hhc-text-strong);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.hhc-post-list {
  display: grid;
  gap: 14px;
}

.hhc-post-list .hhc-post-card {
  border-radius: 18px;
  background: rgba(8, 17, 31, 0.52);
  box-shadow: none;
}

.hhc-post-list .hhc-post-card:has(.hhc-card-media) {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
}

.hhc-post-list .hhc-card-media {
  height: 100%;
  aspect-ratio: auto;
}

.hhc-post-list .hhc-post-card-body {
  padding: clamp(16px, 2vw, 22px);
}

.hhc-post-list .hhc-card-title {
  font-size: clamp(1.18rem, 1.7vw, 1.48rem);
}

.hhc-post-list .hhc-card-excerpt {
  max-width: 720px;
}

.hhc-home-sidebar {
  display: grid;
  gap: 16px;
}

.hhc-sidebar-card {
  padding: 20px;
}

.hhc-sidebar-card h2 {
  margin: 0 0 14px;
  color: var(--hhc-text-strong);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}

.hhc-topic-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.hhc-topic-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hhc-border-soft);
}

.hhc-topic-list li:last-child { border-bottom: 0; }
.hhc-topic-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 10px;
  color: var(--hhc-accent);
  background: rgba(56, 189, 248, 0.08);
  font-family: var(--hhc-mono);
  font-size: 0.72rem;
  font-weight: 900;
}
.hhc-topic-list strong { color: var(--hhc-text-strong); line-height: 1.2; }
.hhc-topic-list em {
  color: var(--hhc-muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.35;
}

.hhc-category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hhc-category-pills a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.07);
  color: #dbeafe;
  font-size: 0.86rem;
  font-weight: 850;
}

.hhc-category-pills a:hover { text-decoration: none; background: rgba(56, 189, 248, 0.12); }
.hhc-category-pills span {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  color: var(--hhc-muted);
  font-size: 0.72rem;
}

.hhc-muted-text { color: var(--hhc-muted); margin: 0; }

.hhc-review-box {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: clamp(18px, 2.4vw, 24px);
  overflow: hidden;
}

.hhc-review-box::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--hhc-accent), var(--hhc-accent-2), transparent 76%);
  opacity: 0.75;
}

.hhc-review-score {
  width: 112px;
  min-height: 82px;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.16), rgba(56, 189, 248, 0.06)),
    rgba(8, 17, 31, 0.65);
}

.hhc-score-number {
  font-size: 2.05rem;
  letter-spacing: -0.075em;
}

.hhc-score-label {
  margin-top: 4px;
  color: #b9c7dc;
  font-size: 0.9rem;
}

.hhc-review-content h3 {
  margin: 0 0 8px;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
}

.hhc-review-content p {
  margin-top: 0;
  color: #dbe5f4;
}

.hhc-check-list {
  display: grid;
  gap: 5px;
  margin: 12px 0 0;
  padding-left: 1.1em;
}

@media (min-width: 1600px) {
  .hhc-home-layout { grid-template-columns: minmax(0, 1fr) 390px; }
}

@media (max-width: 1080px) {
  .hhc-home-hero,
  .hhc-home-layout { grid-template-columns: 1fr; }
  .hhc-home-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  .hhc-home-sidebar { grid-template-columns: 1fr; }
  .hhc-post-list .hhc-post-card:has(.hhc-card-media) { grid-template-columns: 1fr; }
  .hhc-post-list .hhc-card-media { aspect-ratio: 16 / 9; }
}

@media (max-width: 560px) {
  .hhc-home-hero { padding-block: 28px 24px; }
  .hhc-home-intro h1 { font-size: clamp(1.9rem, 12vw, 3rem); }
  .hhc-home-console-body p { grid-template-columns: 1fr; gap: 4px; }
  .hhc-home-feed .hhc-section-head { display: block; }
  .hhc-review-box { grid-template-columns: 1fr; }
  .hhc-review-score { width: 100%; min-height: 74px; justify-items: start; padding: 12px 16px; }
}

/* v1.1.0 Sydney-inspired structure refresh: independent hhc implementation */
:root {
  --hhc-container: min(100% - 32px, 1240px);
  --hhc-reading: min(100% - 32px, 860px);
}

.hhc-front-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--hhc-border-soft);
  background:
    radial-gradient(circle at 18% 0%, rgba(56, 189, 248, 0.16), transparent 32rem),
    radial-gradient(circle at 86% 18%, rgba(245, 158, 11, 0.10), transparent 28rem),
    linear-gradient(180deg, rgba(8, 17, 31, 0.94), rgba(5, 9, 20, 0.28));
}

.hhc-front-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: clamp(420px, 52vh, 620px);
  padding-block: clamp(54px, 8vw, 110px);
}

.hhc-front-copy h1 {
  max-width: 760px;
  margin: 0;
  color: var(--hhc-text-strong);
  font-size: clamp(2.15rem, 5.4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.hhc-front-copy .hhc-lead {
  max-width: 720px;
  margin-top: 18px;
  color: #cbd5e1;
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
}

.hhc-front-feature {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(56, 189, 248, 0.17), transparent 42%),
    linear-gradient(180deg, rgba(16, 24, 39, 0.88), rgba(10, 18, 31, 0.74));
  box-shadow: var(--hhc-shadow-soft);
}

.hhc-front-feature::before {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.13);
  filter: blur(0.2px);
}

.hhc-front-feature > * { position: relative; }
.hhc-front-feature h2 {
  margin: 0 0 12px;
  color: var(--hhc-text-strong);
  font-size: clamp(1.22rem, 2vw, 1.72rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.hhc-front-feature h2 a { color: inherit; }
.hhc-front-feature p:not(.hhc-kicker) { color: #cbd5e1; margin-bottom: 0; }

.hhc-topic-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(-36px, -2.8vw, -18px);
  position: relative;
  z-index: 2;
}

.hhc-topic-card {
  padding: clamp(17px, 2vw, 24px);
  border: 1px solid var(--hhc-border-soft);
  border-radius: 20px;
  background: rgba(16, 24, 39, 0.88);
  box-shadow: var(--hhc-shadow-soft);
  transition: transform 160ms ease, border-color 160ms ease;
}
.hhc-topic-card:hover { transform: translateY(-2px); border-color: rgba(56, 189, 248, 0.34); }
.hhc-topic-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: var(--hhc-accent);
  background: rgba(56, 189, 248, 0.08);
  font-family: var(--hhc-mono);
  font-size: 0.76rem;
  font-weight: 900;
}
.hhc-topic-card h2 {
  margin: 16px 0 8px;
  color: var(--hhc-text-strong);
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.hhc-topic-card p { margin: 0; color: var(--hhc-muted); font-size: 0.94rem; line-height: 1.55; }

.hhc-front-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
  padding-block: clamp(34px, 5vw, 68px);
}

.hhc-front-feed,
.hhc-front-sidebar .hhc-sidebar-card,
.hhc-sidebar .hhc-widget,
.hhc-related-posts {
  border: 1px solid var(--hhc-border-soft);
  border-radius: var(--hhc-radius-lg);
  background: linear-gradient(180deg, rgba(16, 24, 39, 0.84), rgba(12, 20, 34, 0.70));
  box-shadow: var(--hhc-shadow-soft);
}

.hhc-front-feed,
.hhc-related-posts { padding: clamp(18px, 2.6vw, 30px); }
.hhc-section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}
.hhc-section-head-row h2 { margin: 0; font-size: clamp(1.35rem, 2.1vw, 2rem); }

.hhc-front-posts {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.78fr);
  gap: 14px;
}

.hhc-front-post {
  border-radius: 18px;
  background: rgba(8, 17, 31, 0.50);
  box-shadow: none;
}
.hhc-front-post-large {
  grid-row: span 6;
}
.hhc-front-post-large .hhc-card-media {
  aspect-ratio: 16 / 9;
}
.hhc-front-post:not(.hhc-front-post-large) .hhc-card-excerpt,
.hhc-front-post:not(.hhc-front-post-large) .hhc-tag-row {
  display: none;
}
.hhc-front-post:not(.hhc-front-post-large) .hhc-post-card-body {
  padding: 15px;
}
.hhc-front-post:not(.hhc-front-post-large) .hhc-card-title {
  font-size: 1.02rem;
  margin-bottom: 0;
}
.hhc-front-post:not(.hhc-front-post-large) .hhc-entry-meta {
  margin-bottom: 8px;
  font-size: 0.75rem;
}
.hhc-front-post:not(.hhc-front-post-large) .hhc-read-more { display: none; }

.hhc-front-sidebar { display: grid; gap: 16px; }
.hhc-front-sidebar .hhc-sidebar-card,
.hhc-sidebar .hhc-widget { padding: 20px; }
.hhc-sidebar-card h2,
.hhc-widget .widget-title {
  margin: 0 0 14px;
  color: var(--hhc-text-strong);
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.hhc-search-card .hhc-search-form { margin-top: 0; }

.hhc-mini-terminal { padding: 0 !important; overflow: hidden; }
.hhc-mini-terminal .hhc-terminal-header { border-radius: 0; }
.hhc-mini-terminal-body { padding: 14px 18px 18px; }
.hhc-mini-terminal-body p {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px;
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--hhc-border-soft);
}
.hhc-mini-terminal-body p:last-child { border-bottom: 0; }
.hhc-mini-terminal-body span { color: var(--hhc-accent-2); font-family: var(--hhc-mono); font-size: 0.78rem; font-weight: 900; }
.hhc-mini-terminal-body strong { color: #dbe5f4; font-size: 0.92rem; }

.hhc-archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 330px);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}
.hhc-sidebar { display: grid; gap: 16px; }
.hhc-post-grid-balanced { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hhc-list-header p:not(.hhc-kicker) { color: var(--hhc-muted); margin-bottom: 0; }

.hhc-related-posts { margin-top: 42px; }
.hhc-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hhc-related-grid .hhc-card-excerpt { display: none; }

/* Review box: compact technical score instead of big circular badge */
.hhc-review-box {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 150px !important;
  gap: clamp(16px, 3vw, 28px) !important;
  align-items: stretch !important;
  padding: clamp(18px, 2.4vw, 26px) !important;
  border-radius: 20px !important;
}
.hhc-review-score {
  order: 2;
  width: auto !important;
  min-height: auto !important;
  aspect-ratio: auto !important;
  border-radius: 18px !important;
  align-content: center;
  background:
    linear-gradient(180deg, rgba(56, 189, 248, 0.15), rgba(56, 189, 248, 0.05)),
    rgba(8, 17, 31, 0.70) !important;
}
.hhc-review-content { order: 1; min-width: 0; }
.hhc-score-number { font-size: clamp(2rem, 3vw, 2.6rem) !important; }
.hhc-score-label { font-size: 0.9rem; }
.hhc-review-content h3 { margin-top: 0 !important; }
.hhc-review-content .hhc-check-list { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 1.05em; }

.hhc-footer-inner { grid-template-columns: 1fr auto; }
.hhc-footer-columns {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.hhc-footer-column,
.hhc-footer-widgets .hhc-footer-widget {
  padding: 16px;
  border: 1px solid var(--hhc-border-soft);
  border-radius: var(--hhc-radius);
  background: rgba(16, 24, 39, 0.50);
}
.hhc-footer-widget .widget-title { margin-top: 0; color: var(--hhc-text-strong); font-size: 1rem; }
.hhc-canvas-main { padding-block: 0; }
.hhc-canvas-entry > .hhc-entry-content { width: var(--hhc-container); margin-inline: auto; }

@media (min-width: 1600px) {
  :root { --hhc-container: min(100% - 56px, 1320px); }
  .hhc-front-content { grid-template-columns: minmax(0, 1fr) 380px; }
}

@media (min-width: 2200px) {
  :root { --hhc-container: min(100% - 72px, 1440px); }
  .hhc-front-copy h1 { font-size: 5rem; }
}

@media (max-width: 1180px) {
  .hhc-topic-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hhc-front-content,
  .hhc-archive-layout { grid-template-columns: 1fr; }
  .hhc-front-sidebar,
  .hhc-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hhc-front-hero-grid,
  .hhc-front-posts { grid-template-columns: 1fr; }
  .hhc-front-hero-grid { min-height: 0; }
  .hhc-front-post-large { grid-row: auto; }
  .hhc-post-grid-balanced { grid-template-columns: 1fr; }
  .hhc-footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 782px) {
  body.admin-bar .hhc-site-header { top: 46px; }
  .hhc-front-sidebar,
  .hhc-sidebar { grid-template-columns: 1fr; }
  .hhc-topic-strip { margin-top: 20px; }
  .hhc-review-box { grid-template-columns: 1fr !important; }
  .hhc-review-score { order: 1; justify-items: start; padding: 14px 16px; }
  .hhc-review-content { order: 2; }
  .hhc-review-content .hhc-check-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hhc-front-hero-grid { padding-block: 34px; }
  .hhc-front-copy h1 { font-size: clamp(2rem, 12vw, 3rem); }
  .hhc-topic-strip { grid-template-columns: 1fr; }
  .hhc-section-head-row { display: block; }
  .hhc-footer-columns { grid-template-columns: 1fr; }
  .hhc-mini-terminal-body p { grid-template-columns: 1fr; }
}

/* v1.2.0 classic blog direction: sade liste + görselli yazılar + sidebar */
:root {
  --hhc-container: min(100% - 32px, 1120px);
  --hhc-reading: min(100% - 32px, 820px);
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(56, 189, 248, 0.10), transparent 26rem),
    linear-gradient(180deg, #07101d 0%, #050914 100%);
}

.hhc-site-header {
  background: rgba(7, 16, 29, 0.92);
}

.hhc-header-inner {
  min-height: 64px;
}

.hhc-site-title {
  font-size: clamp(1.18rem, 1.55vw, 1.5rem);
}

.hhc-site-description {
  display: none;
}

.hhc-main.hhc-blog-main {
  padding-block: clamp(22px, 3vw, 42px) clamp(34px, 5vw, 70px);
}

.hhc-blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(18px, 3vw, 30px);
  align-items: start;
}

.hhc-blog-feed {
  min-width: 0;
}

.hhc-blog-header,
.hhc-page-header {
  margin: 0 0 18px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--hhc-border-soft);
}

.hhc-blog-header h1,
.hhc-page-header h1 {
  margin: 0;
  color: var(--hhc-text-strong);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hhc-blog-header p:not(.hhc-kicker),
.hhc-page-header p:not(.hhc-kicker),
.hhc-archive-description {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--hhc-muted);
  font-size: 0.96rem;
}

.hhc-post-list {
  display: grid;
  gap: 16px;
}

.hhc-post-card-list,
.hhc-post-grid .hhc-post-card,
.hhc-archive-main .hhc-post-card {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid var(--hhc-border-soft);
  background: transparent;
  box-shadow: none;
  transform: none !important;
}

.hhc-post-card-list {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.5vw, 26px) 0;
}

.hhc-post-card-list.has-thumbnail {
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  align-items: start;
}

.hhc-post-card-list.no-thumbnail {
  grid-template-columns: 1fr;
}

.hhc-post-card-list:first-child {
  padding-top: 4px;
}

.hhc-post-card-list .hhc-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--hhc-border-soft);
  border-radius: 14px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(56, 189, 248, 0.13), rgba(245, 158, 11, 0.07)),
    var(--hhc-surface);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
}

.hhc-post-card-list .hhc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hhc-post-card-list:hover .hhc-card-media img {
  transform: scale(1.025);
}

.hhc-post-card-list .hhc-post-card-body {
  padding: 0;
}

.hhc-post-card-list .hhc-entry-meta {
  margin-bottom: 8px;
  gap: 7px 9px;
  font-size: 0.78rem;
}

.hhc-post-card-list .hhc-card-title {
  margin: 0 0 8px;
  font-size: clamp(1.28rem, 2.1vw, 1.8rem);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.hhc-post-card-list .hhc-card-title a:hover {
  text-decoration-thickness: 2px;
}

.hhc-post-card-list .hhc-card-excerpt {
  max-width: 720px;
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.68;
}

.hhc-post-card-list .hhc-card-excerpt p {
  margin: 0;
}

.hhc-card-footerline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.hhc-card-footerline .hhc-tag-row {
  margin-top: 0;
}

.hhc-post-card-list .hhc-read-more {
  margin-top: 0;
  font-size: 0.88rem;
}

.hhc-post-card-list .hhc-read-more::after {
  content: " →";
}

.hhc-categories a,
.hhc-tag-row a,
.hhc-badge,
.hhc-status {
  min-height: 23px;
  padding: 3px 8px;
  font-size: 0.72rem;
}

.hhc-meta-item {
  display: inline-flex;
  align-items: center;
}

.hhc-comment-count::before {
  content: "💬";
  margin-right: 4px;
  opacity: 0.8;
}

.hhc-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.hhc-sidebar .hhc-widget,
.hhc-front-sidebar .hhc-sidebar-card,
.hhc-sidebar-card {
  padding: 18px;
  border: 1px solid var(--hhc-border-soft);
  border-radius: 0;
  background: rgba(16, 24, 39, 0.66);
  box-shadow: none;
}

.hhc-sidebar .widget-title,
.hhc-sidebar-card h2,
.hhc-widget .widget-title {
  margin: 0 0 13px;
  color: var(--hhc-text-strong);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.hhc-sidebar ul,
.hhc-footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hhc-sidebar li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--hhc-muted);
  font-size: 0.92rem;
}

.hhc-sidebar li:last-child {
  border-bottom: 0;
}

.hhc-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.hhc-search-field,
.hhc-search-submit {
  min-height: 42px;
  border-radius: 0;
}

.hhc-search-submit {
  padding-inline: 14px;
}

.navigation.posts-navigation,
.hhc-pagination {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--hhc-border-soft);
}

.navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.navigation .nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--hhc-border-soft);
  background: rgba(16, 24, 39, 0.66);
  color: var(--hhc-text);
  font-weight: 800;
}

.navigation .nav-links a:hover {
  border-color: rgba(56, 189, 248, 0.42);
  color: var(--hhc-text-strong);
  text-decoration: none;
}

/* Eski vitrin blokları artık kullanılmıyor; şablon klasikte kaldı. */
.hhc-front-hero,
.hhc-topic-strip,
.hhc-front-content {
  display: none;
}

/* İnceleme kutusu: dairesiz, sade, teknik özet kartı. */
.hhc-review-box {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 16px 22px !important;
  align-items: start !important;
  padding: clamp(18px, 2.4vw, 24px) !important;
  border-radius: 14px !important;
  border-left: 4px solid var(--hhc-accent) !important;
  background: rgba(12, 20, 34, 0.72) !important;
  box-shadow: none !important;
}

.hhc-review-box::before {
  display: none !important;
}

.hhc-review-content {
  order: 1;
}

.hhc-review-score {
  order: 2;
  width: auto !important;
  min-width: 104px;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  display: inline-flex !important;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 9px 12px;
  border-radius: 999px !important;
  background: rgba(56, 189, 248, 0.10) !important;
  border: 1px solid rgba(56, 189, 248, 0.26) !important;
}

.hhc-score-number {
  font-size: 1.32rem !important;
  line-height: 1;
  letter-spacing: -0.04em;
}

.hhc-score-label {
  margin-top: 0 !important;
  font-size: 0.82rem !important;
}

.hhc-review-content h3 {
  margin: 0 0 8px !important;
}

.hhc-review-content p {
  max-width: 760px;
}

.hhc-review-content .hhc-check-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 18px;
}

@media (min-width: 1600px) {
  :root { --hhc-container: min(100% - 56px, 1180px); }
}

@media (min-width: 2200px) {
  :root { --hhc-container: min(100% - 72px, 1240px); }
}

@media (max-width: 1180px) {
  .hhc-blog-layout,
  .hhc-archive-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  }
}

@media (max-width: 960px) {
  .hhc-blog-layout,
  .hhc-archive-layout {
    grid-template-columns: 1fr;
  }

  .hhc-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .hhc-header-inner {
    min-height: 60px;
  }

  .hhc-post-card-list.has-thumbnail {
    grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
  }

  .hhc-post-card-list .hhc-card-title {
    font-size: clamp(1.18rem, 5vw, 1.55rem);
  }

  .hhc-review-box {
    grid-template-columns: 1fr !important;
  }

  .hhc-review-score {
    order: 1;
    width: fit-content !important;
  }

  .hhc-review-content {
    order: 2;
  }

  .hhc-review-content .hhc-check-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root { --hhc-container: min(100% - 22px, 1120px); }

  .hhc-post-card-list.has-thumbnail {
    grid-template-columns: 1fr;
  }

  .hhc-post-card-list .hhc-card-media {
    aspect-ratio: 16 / 9;
  }

  .hhc-card-footerline {
    align-items: flex-start;
    flex-direction: column;
  }

  .hhc-sidebar {
    grid-template-columns: 1fr;
  }

  .navigation .nav-links {
    flex-direction: column;
  }
}

/* v1.2.1 - Blog list image/text layout fix.
   The list card uses flex instead of mixed grid/:has rules so featured images
   cannot sit under the title/meta area on wide screens. */
.hhc-post-list .hhc-post-card-list.has-thumbnail,
.hhc-blog-feed .hhc-post-card-list.has-thumbnail,
.hhc-archive-main .hhc-post-card-list.has-thumbnail {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: clamp(16px, 2.2vw, 24px);
  overflow: visible;
}

.hhc-post-list .hhc-post-card-list.has-thumbnail > .hhc-card-media,
.hhc-blog-feed .hhc-post-card-list.has-thumbnail > .hhc-card-media,
.hhc-archive-main .hhc-post-card-list.has-thumbnail > .hhc-card-media {
  flex: 0 0 clamp(220px, 32%, 300px);
  width: clamp(220px, 32%, 300px);
  max-width: 36%;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  position: relative;
  z-index: 0;
}

.hhc-post-list .hhc-post-card-list.has-thumbnail > .hhc-post-card-body,
.hhc-blog-feed .hhc-post-card-list.has-thumbnail > .hhc-post-card-body,
.hhc-archive-main .hhc-post-card-list.has-thumbnail > .hhc-post-card-body {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  z-index: 1;
  padding: 0;
}

@media (max-width: 782px) {
  .hhc-post-list .hhc-post-card-list.has-thumbnail,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail {
    gap: 16px;
  }

  .hhc-post-list .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail > .hhc-card-media {
    flex-basis: 190px;
    width: 190px;
    max-width: 42%;
  }
}

@media (max-width: 640px) {
  .hhc-post-list .hhc-post-card-list.has-thumbnail,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail {
    flex-direction: column;
  }

  .hhc-post-list .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail > .hhc-card-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9 !important;
  }
}

/* v1.2.2 - Single post lower area cleanup: related posts, previous/next and comments. */
.hhc-single-main {
  padding-block: clamp(22px, 3vw, 42px) clamp(36px, 5vw, 76px);
}

.hhc-single-wrap {
  width: min(100% - 32px, 820px);
  margin-inline: auto;
}

.hhc-single-wrap > * {
  max-width: 100%;
}

.hhc-single-wrap .hhc-article {
  padding-bottom: 0;
}

.hhc-after-post,
.hhc-single-wrap .hhc-comments {
  margin-top: clamp(22px, 3vw, 34px) !important;
  padding: clamp(18px, 2.4vw, 24px) !important;
  border: 1px solid var(--hhc-border-soft) !important;
  border-radius: 16px !important;
  background: rgba(16, 24, 39, 0.72) !important;
  box-shadow: none !important;
  overflow: hidden;
}

.hhc-after-head {
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hhc-border-soft);
}

.hhc-after-head h2,
.hhc-comments-title,
.comment-reply-title {
  margin: 0;
  color: var(--hhc-text-strong);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.hhc-after-head .hhc-kicker {
  margin: 0 0 5px;
}

.hhc-related-posts {
  display: block !important;
}

.hhc-related-list {
  display: grid;
  gap: 12px;
}

.hhc-related-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--hhc-border-soft);
  border-radius: 13px;
  background: rgba(8, 17, 31, 0.46);
}

.hhc-related-card.no-thumbnail {
  grid-template-columns: 1fr;
}

.hhc-related-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 10px;
  background: var(--hhc-surface-2);
}

.hhc-related-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hhc-related-body {
  min-width: 0;
}

.hhc-related-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  align-items: center;
  margin-bottom: 6px;
  color: var(--hhc-muted);
  font-size: 0.76rem;
}

.hhc-related-card h3 {
  margin: 0;
  color: var(--hhc-text-strong);
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hhc-related-card h3 a {
  color: inherit;
}

.hhc-related-card h3 a:hover {
  color: var(--hhc-accent);
  text-decoration: none;
}

.hhc-post-nav-wrap .post-navigation {
  margin: 0;
  padding: 0;
  border: 0;
}

.hhc-post-nav-wrap .nav-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px;
  margin: 0 !important;
}

.hhc-post-nav-wrap .nav-previous,
.hhc-post-nav-wrap .nav-next {
  min-width: 0;
}

.hhc-post-nav-wrap .nav-next {
  text-align: right;
}

.hhc-post-nav-wrap .nav-next:only-child {
  grid-column: 2;
}

.hhc-post-nav-wrap a {
  display: block !important;
  min-height: 82px;
  padding: 14px 15px !important;
  border: 1px solid var(--hhc-border-soft) !important;
  border-radius: 13px !important;
  background: rgba(8, 17, 31, 0.48) !important;
  color: var(--hhc-text) !important;
  overflow-wrap: anywhere;
}

.hhc-post-nav-wrap a:hover {
  border-color: rgba(56, 189, 248, 0.42) !important;
  color: var(--hhc-text-strong) !important;
  text-decoration: none !important;
}

.hhc-post-nav-wrap .nav-subtitle {
  margin-bottom: 4px;
}

.hhc-post-nav-wrap .nav-title {
  display: block;
  font-size: 0.98rem;
  line-height: 1.32;
}

.hhc-single-wrap .hhc-comments {
  margin-bottom: 0;
}

.hhc-comments-title {
  margin-bottom: 14px;
}

.hhc-comment-list {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0 !important;
  list-style: none;
}

.hhc-comment-list .children {
  margin: 12px 0 0 18px;
  padding: 0;
  list-style: none;
}

.hhc-comment-list .comment-body {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--hhc-border-soft);
  border-radius: 13px;
  background: rgba(8, 17, 31, 0.42);
}

.hhc-comment-list .comment-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--hhc-muted);
  font-size: 0.82rem;
}

.hhc-comment-list .comment-author .avatar {
  width: 28px;
  height: 28px;
  margin-right: 7px;
  border-radius: 999px;
  vertical-align: middle;
}

.hhc-comment-list .comment-author .fn,
.hhc-comment-list .comment-author .fn a {
  color: var(--hhc-text-strong);
  font-weight: 800;
}

.hhc-comment-list .reply a {
  font-size: 0.84rem;
  font-weight: 800;
}

.hhc-single-wrap .comment-respond {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--hhc-border-soft);
}

.hhc-single-wrap .comment-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.hhc-single-wrap .comment-form p {
  margin: 0;
}

.hhc-single-wrap .comment-notes,
.hhc-single-wrap .logged-in-as,
.hhc-single-wrap .comment-form-cookies-consent {
  color: var(--hhc-muted);
  font-size: 0.9rem;
}

.hhc-single-wrap .comment-form label {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--hhc-text-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.hhc-single-wrap textarea,
.hhc-single-wrap input[type="text"],
.hhc-single-wrap input[type="email"],
.hhc-single-wrap input[type="url"] {
  width: 100%;
  border-radius: 12px;
}

.hhc-single-wrap textarea {
  min-height: 150px;
  resize: vertical;
}

.hhc-single-wrap .form-submit {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .hhc-single-wrap {
    width: min(100% - 22px, 820px);
  }

  .hhc-related-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 11px;
  }

  .hhc-post-nav-wrap .nav-links {
    grid-template-columns: 1fr !important;
  }

  .hhc-post-nav-wrap .nav-next:only-child {
    grid-column: auto;
  }

  .hhc-post-nav-wrap .nav-next {
    text-align: left;
  }
}


/* v1.2.3 mobile logged-in header fix: prevent invisible WP admin-bar offset gap */
@media (max-width: 600px) {
  body.admin-bar .hhc-site-header {
    top: 0 !important;
  }
}


/* v1.2.4 long-read scroll controls */
.hhc-scroll-controls {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hhc-scroll-controls.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hhc-scroll-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(56, 189, 248, 0.42);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
  color: var(--hhc-text-strong);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.hhc-scroll-button:hover,
.hhc-scroll-button:focus-visible {
  border-color: rgba(56, 189, 248, 0.82);
  background: rgba(14, 165, 233, 0.22);
  color: #ffffff;
  outline: none;
}

.hhc-scroll-button:active {
  transform: translateY(1px);
}

@media (max-width: 640px) {
  .hhc-scroll-controls {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(max(14px, env(safe-area-inset-bottom)) + 58px);
    gap: 8px;
  }

  .hhc-scroll-button {
    width: 42px;
    height: 42px;
    font-size: 1.08rem;
  }
}


/* v1.2.6 - Visual refinement based on hhc v1.2.4 baseline.
   Softer Ubuntu typography, calmer list cards, better inner spacing and cleaner dates. */
:root {
  --hhc-font: "Ubuntu", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hhc-text: #dce6f4;
  --hhc-text-strong: #f8fbff;
  --hhc-muted: #91a0b8;
  --hhc-surface: #0f1929;
  --hhc-surface-2: #141f31;
  --hhc-border-soft: rgba(148, 163, 184, 0.16);
  --hhc-radius: 18px;
}

body {
  font-family: var(--hhc-font);
  font-size: clamp(15.5px, 0.92vw, 17px);
  line-height: 1.72;
  letter-spacing: -0.006em;
}

h1, h2, h3, h4, h5, h6,
.hhc-card-title,
.hhc-site-title {
  font-family: var(--hhc-font);
  font-weight: 700;
  letter-spacing: -0.035em;
}

.hhc-kicker {
  letter-spacing: 0.16em;
  font-weight: 700;
}

.hhc-blog-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: clamp(24px, 3.2vw, 42px);
}

.hhc-blog-feed {
  max-width: 860px;
}

.hhc-blog-header,
.hhc-page-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
}

.hhc-blog-header h1,
.hhc-page-header h1 {
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  letter-spacing: -0.04em;
}

.hhc-post-list {
  gap: 22px;
}

.hhc-post-card-list,
.hhc-post-list .hhc-post-card-list,
.hhc-blog-feed .hhc-post-card-list,
.hhc-archive-main .hhc-post-card-list {
  border: 1px solid var(--hhc-border-soft) !important;
  border-radius: 18px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008)),
    rgba(15, 25, 41, 0.86) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18) !important;
  padding: clamp(18px, 2.2vw, 24px) !important;
}

.hhc-post-list .hhc-post-card-list.has-thumbnail,
.hhc-blog-feed .hhc-post-card-list.has-thumbnail,
.hhc-archive-main .hhc-post-card-list.has-thumbnail {
  gap: clamp(22px, 3vw, 34px) !important;
  align-items: center;
}

.hhc-post-list .hhc-post-card-list.has-thumbnail > .hhc-card-media,
.hhc-blog-feed .hhc-post-card-list.has-thumbnail > .hhc-card-media,
.hhc-archive-main .hhc-post-card-list.has-thumbnail > .hhc-card-media {
  flex-basis: clamp(220px, 34%, 310px);
  width: clamp(220px, 34%, 310px);
  max-width: 38%;
  border-radius: 15px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.24);
}

.hhc-post-card-list .hhc-post-card-body {
  padding: 2px 4px;
}

.hhc-post-card-list .hhc-entry-meta,
.hhc-entry-meta {
  gap: 8px 12px;
  color: var(--hhc-muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.hhc-post-card-list .hhc-card-title {
  margin: 6px 0 10px;
  font-size: clamp(1.22rem, 1.9vw, 1.68rem);
  line-height: 1.22;
}

.hhc-post-card-list .hhc-card-excerpt {
  font-size: 0.96rem;
  line-height: 1.72;
  color: #c9d5e6;
}

.hhc-card-footerline {
  margin-top: 14px;
}

.hhc-read-more,
.hhc-post-card-list .hhc-read-more {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hhc-widget,
.hhc-sidebar .widget {
  border-radius: 16px;
  background: rgba(15, 25, 41, 0.72);
  border-color: var(--hhc-border-soft);
}

.hhc-single-content,
.hhc-section,
.hhc-related-posts,
.hhc-comments-area {
  font-family: var(--hhc-font);
}

.hhc-entry-title,
.single .hhc-entry-title {
  font-size: clamp(1.75rem, 3.4vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hhc-single-content p,
.hhc-entry-content p {
  color: #d5deec;
}

.hhc-featured-media img {
  border-radius: 18px;
}

.hhc-review-box {
  border-radius: 16px;
}

/* Avoid doubled published/modified dates anywhere WordPress adds both classes. */
.updated:not(.published) {
  display: none !important;
}

@media (max-width: 980px) {
  .hhc-blog-feed { max-width: none; }
}

@media (max-width: 782px) {
  body { font-size: 15.5px; }
  .hhc-post-list .hhc-post-card-list.has-thumbnail,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail {
    gap: 18px !important;
    align-items: flex-start;
  }
  .hhc-post-list .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail > .hhc-card-media {
    flex-basis: 190px;
    width: 190px;
    max-width: 42%;
  }
}

@media (max-width: 640px) {
  .hhc-post-card-list,
  .hhc-post-list .hhc-post-card-list,
  .hhc-blog-feed .hhc-post-card-list,
  .hhc-archive-main .hhc-post-card-list {
    padding: 16px !important;
  }
  .hhc-post-list .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail > .hhc-card-media {
    width: 100%;
    max-width: 100%;
  }
  .hhc-post-card-list .hhc-card-title {
    font-size: clamp(1.18rem, 6vw, 1.48rem);
  }
}


/* v1.2.7 - More elegant typography, smarter sticky header and centered footer. */
:root {
  --hhc-font: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --hhc-text: #d8e2f0;
  --hhc-text-strong: #f4f8ff;
  --hhc-muted: #95a4ba;
}

body {
  font-family: var(--hhc-font);
  font-size: clamp(15px, 0.88vw, 16.5px);
  line-height: 1.68;
  letter-spacing: -0.004em;
}

h1, h2, h3, h4, h5, h6,
.hhc-site-title,
.hhc-card-title,
.hhc-article-title,
.hhc-blog-header h1,
.hhc-page-header h1 {
  font-family: var(--hhc-font);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.hhc-site-header {
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hhc-header-inner {
  min-height: 78px;
  transition: min-height 180ms ease, gap 180ms ease;
}

.hhc-branding {
  display: grid;
  gap: 3px;
}

.hhc-site-title {
  font-size: clamp(1.18rem, 1.35vw, 1.42rem);
  letter-spacing: -0.035em;
}

.hhc-site-description {
  display: block !important;
  margin: 0 0 0 23px;
  color: #9fb0c8;
  font-size: 0.82rem;
  line-height: 1.2;
  opacity: 0.95;
  max-width: 360px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 160ms ease, transform 160ms ease, max-height 160ms ease, margin 160ms ease;
}

.hhc-primary-nav a {
  min-height: 38px;
  padding: 7px 12px;
  font-size: 0.9rem;
  font-weight: 800;
}

.hhc-site-header.is-scrolled {
  background: rgba(7, 16, 29, 0.96);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.hhc-site-header.is-scrolled .hhc-header-inner {
  min-height: 54px;
}

.hhc-site-header.is-scrolled .hhc-site-title {
  font-size: 1.08rem;
}

.hhc-site-header.is-scrolled .hhc-site-title::before {
  width: 10px;
  height: 10px;
}

.hhc-site-header.is-scrolled .hhc-site-description {
  opacity: 0;
  max-height: 0;
  margin-top: -4px;
  transform: translateY(-4px);
  pointer-events: none;
}

.hhc-site-header.is-scrolled .hhc-primary-nav a {
  min-height: 34px;
  padding-block: 5px;
}

.hhc-blog-header h1,
.hhc-page-header h1 {
  font-size: clamp(1.42rem, 2.05vw, 1.92rem);
  line-height: 1.15;
}

.hhc-blog-header p:not(.hhc-kicker),
.hhc-page-header p:not(.hhc-kicker),
.hhc-archive-description {
  font-size: 0.92rem;
}

.hhc-kicker {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hhc-post-card-list .hhc-card-title {
  font-size: clamp(1.14rem, 1.62vw, 1.48rem);
  line-height: 1.24;
}

.hhc-post-card-list .hhc-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.68;
}

.hhc-post-card-list .hhc-entry-meta,
.hhc-entry-meta {
  font-size: 0.74rem;
}

.hhc-categories a,
.hhc-tag-row a,
.hhc-badge,
.hhc-status {
  font-size: 0.72rem;
  font-weight: 800;
}

.hhc-read-more,
.hhc-post-card-list .hhc-read-more {
  font-size: 0.92rem;
}

.hhc-entry-content,
.hhc-prose-demo {
  font-size: clamp(0.96rem, 1vw, 1.06rem);
  line-height: 1.72;
}

.hhc-entry-content h2,
.hhc-section h2 {
  font-size: clamp(1.16rem, 1.74vw, 1.48rem);
}

.hhc-entry-content h3,
.hhc-section h3 {
  font-size: clamp(1.02rem, 1.32vw, 1.22rem);
}

.hhc-article-title,
.hhc-entry-title,
.single .hhc-entry-title {
  font-size: clamp(1.62rem, 2.8vw, 2.65rem) !important;
  line-height: 1.12;
}

.hhc-section,
.hhc-single-content,
.hhc-comments,
.hhc-related-posts,
.hhc-post-nav-wrap {
  border-radius: 18px;
}

.hhc-site-footer {
  margin-top: 48px;
  background: rgba(5, 9, 20, 0.58);
}

.hhc-footer-inner.hhc-footer-simple {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-block: 28px;
  text-align: center;
  justify-items: center;
}

.hhc-footer-brand,
.hhc-footer-nav {
  display: none !important;
}

.hhc-footer-copy {
  grid-column: auto;
  margin: 0;
  color: #9fb0c8;
  font-size: 0.88rem;
  text-align: center;
}

.hhc-footer-widgets,
.hhc-footer-columns {
  width: 100%;
  text-align: left;
}

@media (max-width: 782px) {
  .hhc-header-inner {
    min-height: 68px;
  }

  .hhc-site-description {
    max-width: 220px;
    font-size: 0.76rem;
  }

  .hhc-site-header.is-scrolled .hhc-header-inner {
    min-height: 56px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .hhc-site-description {
    max-width: 180px;
  }

  .hhc-post-card-list .hhc-card-title {
    font-size: clamp(1.08rem, 5.6vw, 1.36rem);
  }

  .hhc-article-title,
  .hhc-entry-title,
  .single .hhc-entry-title {
    font-size: clamp(1.45rem, 8vw, 2.05rem) !important;
  }
}

/* v1.2.8 - Home cleanup, better responsive stacking and footer timing. */
.home .hhc-blog-header,
.front-page .hhc-blog-header,
body.home .hhc-blog-header {
  display: none !important;
}

.home .hhc-main.hhc-blog-main,
body.home .hhc-main.hhc-blog-main {
  padding-top: clamp(28px, 3.2vw, 48px);
}

/* Desktop: first post aligns with the top of the sidebar widgets. */
.home .hhc-post-card-list:first-child,
body.home .hhc-post-card-list:first-child {
  padding-top: clamp(18px, 2.2vw, 24px) !important;
}

.hhc-footer-perf {
  margin: 6px 0 0;
  color: rgba(159, 176, 200, 0.72);
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: center;
}

/* Search widget polish. */
.hhc-search-field,
.search-field {
  background: rgba(8, 17, 31, 0.86) !important;
  color: var(--hhc-text) !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
}

.hhc-search-field:focus,
.search-field:focus {
  outline: 2px solid rgba(56, 189, 248, 0.34);
  outline-offset: 2px;
  border-color: rgba(56, 189, 248, 0.48) !important;
}

/* Wider breakpoint: sidebar must go below the posts before cards get squeezed. */
@media (max-width: 1100px) {
  .hhc-blog-layout,
  .hhc-archive-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .hhc-blog-feed {
    max-width: none !important;
    width: 100%;
  }

  .hhc-sidebar {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
    width: 100%;
  }
}

@media (max-width: 740px) {
  :root {
    --hhc-container: min(100% - 24px, 1180px);
  }

  .hhc-main.hhc-blog-main {
    padding-top: 22px;
  }

  .hhc-sidebar {
    grid-template-columns: 1fr !important;
  }

  .hhc-post-card-list,
  .hhc-post-list .hhc-post-card-list,
  .hhc-blog-feed .hhc-post-card-list,
  .hhc-archive-main .hhc-post-card-list {
    width: 100% !important;
    min-width: 0 !important;
    padding: 18px !important;
  }

  .hhc-post-list .hhc-post-card-list.has-thumbnail,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hhc-post-list .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail > .hhc-card-media,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail > .hhc-card-media {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9 !important;
  }

  .hhc-post-card-list .hhc-entry-meta {
    display: flex;
    flex-wrap: wrap;
  }

  .hhc-post-card-list .hhc-card-title {
    font-size: clamp(1.18rem, 6.2vw, 1.42rem) !important;
    line-height: 1.22;
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 420px) {
  :root {
    --hhc-container: min(100% - 18px, 1180px);
  }

  .hhc-post-card-list,
  .hhc-post-list .hhc-post-card-list,
  .hhc-blog-feed .hhc-post-card-list,
  .hhc-archive-main .hhc-post-card-list {
    padding: 16px !important;
  }

  .hhc-post-card-list .hhc-card-title {
    font-size: clamp(1.08rem, 7vw, 1.32rem) !important;
  }

  .hhc-card-footerline {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* HHC 1.2.9: standardized post cards, colored tags, tag cloud and stacked navigation */
.hhc-post-list .hhc-post-card-list.has-thumbnail,
.hhc-blog-feed .hhc-post-card-list.has-thumbnail,
.hhc-archive-main .hhc-post-card-list.has-thumbnail {
  display: grid !important;
  grid-template-columns: minmax(210px, 290px) minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: clamp(20px, 2.6vw, 30px) !important;
}

.hhc-card-visual {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hhc-card-visual > .hhc-card-media {
  width: 100% !important;
  max-width: none !important;
  flex-basis: auto !important;
  margin: 0 !important;
}

.hhc-card-visual .hhc-tag-row {
  margin: 0;
  justify-content: flex-start;
}

.hhc-post-card-list .hhc-post-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hhc-post-card-list .hhc-card-title {
  min-height: 2.48em;
  margin-bottom: 10px;
}

.hhc-post-card-list .hhc-card-excerpt {
  max-width: none;
  min-height: 4.85em;
}

.hhc-card-footerline {
  margin-top: auto !important;
  padding-top: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.hhc-card-footerline .hhc-tag-row,
.hhc-card-footer-spacer {
  flex: 1 1 auto;
  min-width: 0;
}

.hhc-post-card-list .hhc-read-more {
  flex: 0 0 auto;
  margin-left: auto;
  white-space: nowrap;
}

.hhc-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 8px;
  align-items: center;
}

.hhc-tag-row a,
.hhc-sidebar .tagcloud a,
.widget_tag_cloud .tagcloud a,
.wp-block-tag-cloud a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  margin: 0 6px 8px 0;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.62);
  color: #cfe6ff;
  font-size: 0.74rem !important;
  line-height: 1.15;
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.hhc-tag-row a:hover,
.hhc-sidebar .tagcloud a:hover,
.widget_tag_cloud .tagcloud a:hover,
.wp-block-tag-cloud a:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.hhc-tag-row a.hhc-tag-hot,
.hhc-article-footer .hhc-tag-row a.hhc-tag-hot,
.hhc-sidebar .tagcloud a:nth-child(1),
.widget_tag_cloud .tagcloud a:nth-child(1),
.wp-block-tag-cloud a:nth-child(1) {
  color: #06111d;
  background: linear-gradient(135deg, #38bdf8, #22d3ee);
  border-color: rgba(56, 189, 248, 0.72);
}

.hhc-tag-row a.hhc-tag-warm,
.hhc-sidebar .tagcloud a:nth-child(2),
.hhc-sidebar .tagcloud a:nth-child(3),
.widget_tag_cloud .tagcloud a:nth-child(2),
.widget_tag_cloud .tagcloud a:nth-child(3),
.wp-block-tag-cloud a:nth-child(2),
.wp-block-tag-cloud a:nth-child(3) {
  color: #fff3d6;
  background: rgba(245, 158, 11, 0.17);
  border-color: rgba(245, 158, 11, 0.42);
}

.hhc-tag-row a.hhc-tag-mid,
.hhc-sidebar .tagcloud a:nth-child(4),
.hhc-sidebar .tagcloud a:nth-child(5),
.hhc-sidebar .tagcloud a:nth-child(6),
.widget_tag_cloud .tagcloud a:nth-child(4),
.widget_tag_cloud .tagcloud a:nth-child(5),
.widget_tag_cloud .tagcloud a:nth-child(6),
.wp-block-tag-cloud a:nth-child(4),
.wp-block-tag-cloud a:nth-child(5),
.wp-block-tag-cloud a:nth-child(6) {
  color: #d8fff1;
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.38);
}

.hhc-tag-row a.hhc-tag-cool,
.hhc-sidebar .tagcloud a:nth-child(n+7),
.widget_tag_cloud .tagcloud a:nth-child(n+7),
.wp-block-tag-cloud a:nth-child(n+7) {
  color: #d7d2ff;
  background: rgba(139, 92, 246, 0.13);
  border-color: rgba(139, 92, 246, 0.32);
}

.hhc-article-footer {
  display: block;
  margin-top: 24px;
}

.hhc-article-footer .hhc-tag-row {
  padding-top: 14px;
  border-top: 1px solid var(--hhc-border-soft);
}

.hhc-post-nav-stack {
  display: grid;
  gap: 12px;
}

.hhc-post-nav-stack .hhc-nav-card {
  display: block;
  min-height: 0;
  padding: 15px 16px;
  border: 1px solid var(--hhc-border-soft);
  border-radius: 14px;
  background: rgba(8, 17, 31, 0.48);
  color: var(--hhc-text);
  text-decoration: none;
}

.hhc-post-nav-stack .hhc-nav-card:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(15, 25, 41, 0.72);
}

.hhc-post-nav-stack .nav-subtitle {
  display: block;
  margin-bottom: 5px;
  color: var(--hhc-accent);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hhc-post-nav-stack .nav-title {
  display: block;
  color: var(--hhc-text-strong);
  font-size: 0.96rem;
  line-height: 1.34;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .hhc-post-list .hhc-post-card-list.has-thumbnail,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail {
    grid-template-columns: 1fr !important;
  }

  .hhc-card-visual > .hhc-card-media {
    max-width: none !important;
  }

  .hhc-post-card-list .hhc-card-title,
  .hhc-post-card-list .hhc-card-excerpt {
    min-height: 0;
  }

  .hhc-card-footerline {
    align-items: flex-start;
    flex-direction: column;
  }

  .hhc-post-card-list .hhc-read-more {
    margin-left: 0;
  }
}

/* v1.3.1 - Single post sidebar visibility for Customizer widgets.
   The blog sidebar is now rendered on single posts too, so WordPress Customizer
   can expose and edit the right-side widget area while previewing a post. */
.hhc-single-layout {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 820px) minmax(280px, 340px);
  gap: clamp(24px, 3.2vw, 42px);
  align-items: start;
}

.hhc-single-layout .hhc-single-wrap {
  width: 100%;
  margin-inline: 0;
}

.hhc-single-layout .hhc-sidebar {
  position: sticky;
  top: 96px;
}

body.customize-partial-edit-shortcuts-shown .hhc-single-layout .hhc-sidebar,
body.customize-preview .hhc-single-layout .hhc-sidebar {
  position: static;
}

@media (max-width: 1120px) {
  .hhc-single-layout {
    width: min(100% - 32px, 860px);
    grid-template-columns: 1fr;
  }

  .hhc-single-layout .hhc-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .hhc-single-layout {
    width: min(100% - 24px, 860px);
  }

  .hhc-single-layout .hhc-sidebar {
    grid-template-columns: 1fr;
  }
}

/* Customizer-driven layout refinements */
body.hhc-card-density-compact .hhc-post-card,
body.hhc-card-density-compact .hhc-card {
  padding: clamp(18px, 2vw, 24px);
}

body.hhc-card-density-spacious .hhc-post-card,
body.hhc-card-density-spacious .hhc-card {
  padding: clamp(28px, 3vw, 40px);
}

body.hhc-archive-sidebar-off .hhc-blog-layout,
body.hhc-single-sidebar-off .hhc-single-layout,
body.hhc-page-sidebar-off .hhc-page-layout {
  grid-template-columns: minmax(0, 1fr);
}

body.hhc-archive-sidebar-off .hhc-blog-feed,
body.hhc-single-sidebar-off .hhc-single-wrap,
body.hhc-page-sidebar-off .hhc-page-content {
  max-width: var(--hhc-reading);
  margin-inline: auto;
  width: 100%;
}

body.hhc-single-sidebar-on .hhc-single-layout {
  align-items: start;
}

body.hhc-single-sidebar-on .hhc-single-wrap {
  min-width: 0;
}

body.hhc-page-sidebar-on .hhc-page-content {
  min-width: 0;
}

@media (max-width: 980px) {
  body.hhc-single-sidebar-on .hhc-single-layout,
  body.hhc-page-sidebar-on .hhc-page-layout {
    grid-template-columns: 1fr;
  }
}

/* v1.3.3 - Archive/home sidebar sticky behavior.
   Keep the right widget column following the viewport on the homepage and archives,
   matching the calmer sticky behavior already used on single posts. */
@media (min-width: 1101px) {
  body.hhc-archive-sidebar-on .hhc-blog-layout,
  body.hhc-archive-sidebar-on .hhc-archive-layout,
  body.home.hhc-archive-sidebar-on .hhc-blog-layout,
  body.blog.hhc-archive-sidebar-on .hhc-blog-layout {
    align-items: start !important;
  }

  body.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar,
  body.hhc-archive-sidebar-on .hhc-archive-layout > .hhc-sidebar,
  body.home.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar,
  body.blog.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar {
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    height: max-content;
    max-height: calc(100vh - 116px);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  body.admin-bar.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar,
  body.admin-bar.hhc-archive-sidebar-on .hhc-archive-layout > .hhc-sidebar,
  body.admin-bar.home.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar,
  body.admin-bar.blog.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar {
    top: 128px !important;
    max-height: calc(100vh - 148px);
  }

  body.hhc-header-compact.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar,
  body.hhc-header-compact.hhc-archive-sidebar-on .hhc-archive-layout > .hhc-sidebar,
  body.hhc-header-compact.home.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar,
  body.hhc-header-compact.blog.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar {
    top: 78px !important;
    max-height: calc(100vh - 98px);
  }

  body.admin-bar.hhc-header-compact.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar,
  body.admin-bar.hhc-header-compact.hhc-archive-sidebar-on .hhc-archive-layout > .hhc-sidebar,
  body.admin-bar.hhc-header-compact.home.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar,
  body.admin-bar.hhc-header-compact.blog.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar {
    top: 110px !important;
    max-height: calc(100vh - 130px);
  }
}

@media (max-width: 1100px) {
  body.hhc-archive-sidebar-on .hhc-blog-layout > .hhc-sidebar,
  body.hhc-archive-sidebar-on .hhc-archive-layout > .hhc-sidebar {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }
}

/* v1.3.4 - Sidebar visual system, sticky archive sidebar and widget polish. */
:root {
  --hhc-sidebar-top: 92px;
}

body.admin-bar {
  --hhc-sidebar-top: 124px;
}

body.hhc-header-scrolled {
  --hhc-sidebar-top: 74px;
}

body.admin-bar.hhc-header-scrolled {
  --hhc-sidebar-top: 106px;
}

.hhc-blog-layout,
.hhc-archive-layout,
.hhc-single-layout {
  align-items: start !important;
}

.home .hhc-sidebar,
.blog .hhc-sidebar,
.archive .hhc-sidebar,
.search .hhc-sidebar,
.hhc-blog-layout > .hhc-sidebar,
.hhc-archive-layout > .hhc-sidebar {
  position: sticky !important;
  top: var(--hhc-sidebar-top) !important;
  align-self: start !important;
  display: grid !important;
  gap: 16px !important;
  height: fit-content;
  max-height: calc(100vh - var(--hhc-sidebar-top) - 22px);
  overflow: auto;
  padding-right: 2px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, .32) transparent;
}

.hhc-sidebar::-webkit-scrollbar { width: 6px; }
.hhc-sidebar::-webkit-scrollbar-track { background: transparent; }
.hhc-sidebar::-webkit-scrollbar-thumb {
  background: rgba(56, 189, 248, .24);
  border-radius: 999px;
}

.hhc-sidebar .hhc-widget,
.hhc-sidebar .widget,
.hhc-front-sidebar .hhc-sidebar-card,
.hhc-sidebar-card {
  position: relative;
  overflow: hidden;
  padding: 20px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(148, 163, 184, .16) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .026), rgba(255, 255, 255, .008)),
    rgba(15, 25, 41, .72) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16) !important;
}

.hhc-sidebar .hhc-widget::before,
.hhc-sidebar .widget::before,
.hhc-front-sidebar .hhc-sidebar-card::before,
.hhc-sidebar-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(56, 189, 248, .95), rgba(52, 211, 153, .25));
  opacity: .0;
  transition: opacity .18s ease;
}

.hhc-sidebar .hhc-widget:hover::before,
.hhc-sidebar .widget:hover::before,
.hhc-front-sidebar .hhc-sidebar-card:hover::before,
.hhc-sidebar-card:hover::before {
  opacity: .65;
}

.hhc-sidebar .widget-title,
.hhc-sidebar-card h2,
.hhc-widget .widget-title,
.hhc-sidebar h2,
.hhc-sidebar h3,
.hhc-front-sidebar h2,
.hhc-front-sidebar h3 {
  margin: 0 0 14px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  color: var(--hhc-accent) !important;
  font-size: .78rem !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
}

.hhc-sidebar .widget-title:empty,
.hhc-sidebar h2:empty,
.hhc-sidebar h3:empty {
  display: none !important;
}

.hhc-sidebar ul,
.hhc-sidebar ol {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hhc-sidebar li {
  margin: 0 !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid rgba(148, 163, 184, .10) !important;
  color: var(--hhc-muted) !important;
  font-size: .88rem !important;
  line-height: 1.5 !important;
}

.hhc-sidebar li:last-child { border-bottom: 0 !important; }

.hhc-sidebar a {
  color: var(--hhc-accent) !important;
  text-decoration: none !important;
}

.hhc-sidebar a:hover {
  color: var(--hhc-text-strong) !important;
}

/* Search widget: rounded, compact and consistent. */
.hhc-sidebar .hhc-search-form,
.hhc-sidebar .search-form,
.hhc-search-form,
.search-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: stretch !important;
}

.hhc-sidebar .hhc-search-form label,
.hhc-sidebar .search-form label,
.hhc-search-form label,
.search-form label {
  display: block !important;
  margin: 0 !important;
}

.hhc-search-field,
.search-field,
.hhc-sidebar input[type="search"] {
  width: 100% !important;
  min-height: 44px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(148, 163, 184, .24) !important;
  background: rgba(8, 17, 31, .88) !important;
  color: var(--hhc-text) !important;
  padding: 0 14px !important;
}

.hhc-search-submit,
.search-submit,
.hhc-sidebar button[type="submit"] {
  min-height: 44px !important;
  border-radius: 14px !important;
  border: 1px solid rgba(56, 189, 248, .32) !important;
  background: rgba(56, 189, 248, .16) !important;
  color: var(--hhc-text-strong) !important;
  padding: 0 17px !important;
  font-weight: 900 !important;
}

.hhc-search-submit:hover,
.search-submit:hover,
.hhc-sidebar button[type="submit"]:hover {
  background: rgba(56, 189, 248, .24) !important;
}

/* Tag cloud and post tags use the same chip language. */
.hhc-sidebar .tagcloud,
.widget_tag_cloud .tagcloud,
.wp-block-tag-cloud,
.hhc-tag-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
}

.hhc-sidebar .tagcloud a,
.widget_tag_cloud .tagcloud a,
.wp-block-tag-cloud a,
.hhc-tag-row a {
  margin: 0 !important;
  border-radius: 999px !important;
  min-height: 25px !important;
}

/* Günün Sözü plugin: remove nested card inside HHC sidebar panels. */
.hhc-sidebar .hhc-widget .hhc-gs-box,
.hhc-sidebar .widget .hhc-gs-box,
.hhc-front-sidebar .hhc-sidebar-card .hhc-gs-box {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hhc-sidebar .hhc-gs-kicker {
  margin: 0 0 12px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  color: var(--hhc-accent) !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
}

.hhc-sidebar .hhc-gs-quote {
  margin: 0 !important;
  padding: 0 0 0 14px !important;
  border-left: 3px solid rgba(56, 189, 248, .74) !important;
}

.hhc-sidebar .hhc-gs-quote p {
  font-size: .96rem !important;
  line-height: 1.65 !important;
  color: var(--hhc-text-strong) !important;
}

.hhc-sidebar .hhc-gs-quote cite {
  margin-top: 12px !important;
  color: var(--hhc-muted) !important;
  font-size: .82rem !important;
}

/* Recent comments / latest comments: keep them visually balanced, not pushed too far right. */
.hhc-sidebar .widget_recent_comments li,
.hhc-sidebar .wp-block-latest-comments__comment,
.hhc-sidebar .has-avatars .wp-block-latest-comments__comment {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 12px 0 !important;
}

.hhc-sidebar .wp-block-latest-comments__comment-avatar,
.hhc-sidebar .avatar {
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  grid-column: 1 !important;
}

.hhc-sidebar .wp-block-latest-comments__comment article,
.hhc-sidebar .wp-block-latest-comments__comment-excerpt,
.hhc-sidebar .wp-block-latest-comments__comment-meta {
  grid-column: 2 !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}

.hhc-sidebar .wp-block-latest-comments__comment-excerpt p {
  margin: 6px 0 0 !important;
  color: var(--hhc-muted) !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
}

.hhc-sidebar .wp-block-latest-comments__comment-date {
  color: rgba(159, 176, 200, .78) !important;
  font-size: .76rem !important;
}

/* Avoid duplicate plugin/title headings when a widget already supplies its own kicker. */
.hhc-sidebar .widget_hhc_gunun_sozu_widget > .widget-title {
  display: none !important;
}

@media (max-width: 1100px) {
  .home .hhc-sidebar,
  .blog .hhc-sidebar,
  .archive .hhc-sidebar,
  .search .hhc-sidebar,
  .hhc-blog-layout > .hhc-sidebar,
  .hhc-archive-layout > .hhc-sidebar {
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 740px) {
  .home .hhc-sidebar,
  .blog .hhc-sidebar,
  .archive .hhc-sidebar,
  .search .hhc-sidebar,
  .hhc-blog-layout > .hhc-sidebar,
  .hhc-archive-layout > .hhc-sidebar {
    grid-template-columns: 1fr !important;
  }

  .hhc-sidebar .hhc-search-form,
  .hhc-sidebar .search-form,
  .hhc-search-form,
  .search-form {
    grid-template-columns: 1fr !important;
  }
}

/* v1.3.5 - Sidebar no internal scroll, cleaner image cards, widget fallback titles. */
@media (min-width: 1101px) {
  .home .hhc-sidebar,
  .blog .hhc-sidebar,
  .archive .hhc-sidebar,
  .search .hhc-sidebar,
  .hhc-blog-layout > .hhc-sidebar,
  .hhc-archive-layout > .hhc-sidebar,
  .hhc-single-layout > .hhc-sidebar {
    position: sticky !important;
    top: var(--hhc-sidebar-top) !important;
    align-self: start !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding-right: 0 !important;
  }
}

/* Blog cards with featured images: keep the media column stable and the summary readable. */
.hhc-post-list .hhc-post-card-list.has-thumbnail,
.hhc-blog-feed .hhc-post-card-list.has-thumbnail,
.hhc-archive-main .hhc-post-card-list.has-thumbnail {
  grid-template-columns: minmax(250px, 320px) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: clamp(22px, 2.8vw, 34px) !important;
}

.hhc-post-card-list.has-thumbnail .hhc-card-visual {
  align-self: start !important;
}

.hhc-post-card-list.has-thumbnail .hhc-card-visual > .hhc-card-media,
.hhc-post-card-list.has-thumbnail .hhc-card-media {
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
}

.hhc-post-card-list.has-thumbnail .hhc-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.hhc-post-card-list.has-thumbnail .hhc-post-card-body {
  min-height: 100% !important;
}

.hhc-post-card-list.has-thumbnail .hhc-card-title {
  min-height: 0 !important;
  margin-top: 4px !important;
  margin-bottom: 10px !important;
}

.hhc-post-card-list.has-thumbnail .hhc-card-excerpt {
  min-height: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

.hhc-post-card-list.has-thumbnail .hhc-card-excerpt p {
  margin-bottom: 0 !important;
}

.hhc-post-card-list.has-thumbnail .hhc-card-footerline {
  margin-top: 12px !important;
}

/* Ensure colored chips have readable text, including tag-cloud inline font-size output. */
.hhc-tag-row a.hhc-tag-hot,
.hhc-sidebar .tagcloud a:nth-child(1),
.widget_tag_cloud .tagcloud a:nth-child(1),
.wp-block-tag-cloud a:nth-child(1) {
  color: #06111d !important;
}

.hhc-sidebar .tagcloud a,
.widget_tag_cloud .tagcloud a,
.wp-block-tag-cloud a,
.hhc-tag-row a {
  white-space: nowrap !important;
  max-width: 100%;
}

/* Fallback headings for block widgets that do not expose a title field in the widget editor. */
.hhc-sidebar .wp-block-tag-cloud::before,
.hhc-sidebar .tagcloud::before {
  content: "Etiketler";
}

.hhc-sidebar .wp-block-latest-posts::before {
  content: "Son Yazılar";
}

.hhc-sidebar .wp-block-latest-comments::before {
  content: "Son Yorumlar";
}

.hhc-sidebar .wp-block-archives::before {
  content: "Arşivler";
}

.hhc-sidebar .wp-block-categories::before {
  content: "Kategoriler";
}

.hhc-sidebar .wp-block-tag-cloud::before,
.hhc-sidebar .tagcloud::before,
.hhc-sidebar .wp-block-latest-posts::before,
.hhc-sidebar .wp-block-latest-comments::before,
.hhc-sidebar .wp-block-archives::before,
.hhc-sidebar .wp-block-categories::before {
  flex: 0 0 100%;
  width: 100%;
  display: block;
  margin: 0 0 12px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .12);
  color: var(--hhc-accent) !important;
  font-size: .78rem !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: .11em !important;
  text-transform: uppercase !important;
}

/* If the real widget title exists, do not duplicate the fallback for classic tag cloud. */
.hhc-sidebar .widget:has(> .widget-title) .tagcloud::before,
.hhc-sidebar .widget:has(> .widget-title) .wp-block-tag-cloud::before,
.hhc-sidebar .widget:has(> .widget-title) .wp-block-latest-posts::before,
.hhc-sidebar .widget:has(> .widget-title) .wp-block-latest-comments::before,
.hhc-sidebar .widget:has(> .widget-title) .wp-block-archives::before,
.hhc-sidebar .widget:has(> .widget-title) .wp-block-categories::before {
  content: none !important;
  display: none !important;
}

/* Comment widget alignment: keep avatar + text inside the card without drifting right. */
.hhc-sidebar .wp-block-latest-comments,
.hhc-sidebar .widget_recent_comments ul {
  display: grid !important;
  gap: 0 !important;
}

.hhc-sidebar .wp-block-latest-comments__comment {
  grid-template-columns: 36px minmax(0, 1fr) !important;
}

.hhc-sidebar .wp-block-latest-comments__comment-meta,
.hhc-sidebar .wp-block-latest-comments__comment-excerpt {
  width: 100% !important;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .hhc-post-list .hhc-post-card-list.has-thumbnail,
  .hhc-blog-feed .hhc-post-card-list.has-thumbnail,
  .hhc-archive-main .hhc-post-card-list.has-thumbnail {
    grid-template-columns: 1fr !important;
  }
}

/* v1.3.6 - Homepage/archive card layout: title full-width, image+tags left, summary right. */
.hhc-post-list .hhc-post-card-list,
.hhc-blog-feed .hhc-post-card-list,
.hhc-archive-main .hhc-post-card-list {
  display: block !important;
  padding: clamp(22px, 2.4vw, 30px) !important;
  border: 1px solid var(--hhc-border-soft) !important;
  border-radius: 20px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.026), rgba(255,255,255,0.010)),
    rgba(15, 25, 41, 0.88) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,0.20) !important;
  overflow: hidden;
}

.hhc-post-list .hhc-post-card-list .hhc-post-card-body,
.hhc-blog-feed .hhc-post-card-list .hhc-post-card-body,
.hhc-archive-main .hhc-post-card-list .hhc-post-card-body {
  display: block !important;
  padding: 0 !important;
  min-height: 0 !important;
}

.hhc-card-head {
  display: block;
  margin: 0 0 clamp(16px, 2vw, 22px);
}

.hhc-card-head .hhc-entry-meta {
  margin: 0 0 12px !important;
}

.hhc-post-card-list .hhc-card-head .hhc-card-title {
  min-height: 0 !important;
  margin: 0 !important;
  max-width: 980px;
  font-size: clamp(1.34rem, 1.82vw, 1.86rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.hhc-card-content-row {
  display: grid;
  grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
  gap: clamp(22px, 3.2vw, 36px);
  align-items: stretch;
}

.hhc-card-layout-featured .hhc-card-visual {
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}

.hhc-card-layout-featured .hhc-card-visual > .hhc-card-media,
.hhc-card-layout-featured .hhc-card-media {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 18px !important;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,0.28) !important;
}

.hhc-card-layout-featured .hhc-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.hhc-card-layout-featured .hhc-card-visual .hhc-tag-row {
  margin: 0 !important;
  justify-content: flex-start !important;
  gap: 8px;
}

.hhc-card-summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.hhc-card-layout-featured .hhc-card-summary {
  justify-content: center;
  padding: clamp(8px, 1.2vw, 18px) 0 2px;
}

.hhc-post-card-list .hhc-card-excerpt {
  max-width: none !important;
  min-height: 0 !important;
  color: #cbd5e1;
  font-size: clamp(0.96rem, 1.04vw, 1.05rem);
  line-height: 1.78;
}

.hhc-post-card-list.has-thumbnail .hhc-card-excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
}

.hhc-post-card-list .hhc-card-excerpt p {
  margin: 0 !important;
}

.hhc-card-summary > .hhc-read-more {
  align-self: flex-end;
  margin-top: auto !important;
  padding-top: 18px;
  white-space: nowrap;
}

.hhc-card-summary-full .hhc-card-footerline {
  margin-top: 18px !important;
}

@media (max-width: 900px) {
  .hhc-card-content-row {
    grid-template-columns: minmax(190px, 38%) minmax(0, 1fr);
    gap: 20px;
  }

  .hhc-post-card-list .hhc-card-head .hhc-card-title {
    font-size: clamp(1.22rem, 3.2vw, 1.58rem);
  }
}

@media (max-width: 640px) {
  .hhc-card-content-row {
    grid-template-columns: 1fr;
  }

  .hhc-post-list .hhc-post-card-list,
  .hhc-blog-feed .hhc-post-card-list,
  .hhc-archive-main .hhc-post-card-list {
    padding: 18px !important;
  }

  .hhc-card-layout-featured .hhc-card-summary {
    padding-top: 0;
  }

  .hhc-card-summary > .hhc-read-more {
    align-self: flex-start;
  }
}



/* HHC 1.3.7 - final list/sidebar normalization.
   This block intentionally overrides older experimental card/sidebar rules above. */
body .hhc-main.hhc-blog-main {
  padding-top: clamp(32px, 4.2vw, 56px) !important;
}

body .hhc-blog-layout,
body .hhc-archive-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) minmax(260px, 320px) !important;
  gap: clamp(24px, 3vw, 38px) !important;
  align-items: start !important;
  justify-content: center !important;
}

body .hhc-blog-feed,
body .hhc-archive-main {
  width: 100% !important;
  min-width: 0 !important;
}

body .hhc-post-list {
  display: grid !important;
  gap: 20px !important;
}

body .hhc-post-list article.hhc-post-card-list,
body .hhc-blog-feed article.hhc-post-card-list,
body .hhc-archive-main article.hhc-post-card-list {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: clamp(22px, 2.3vw, 28px) !important;
  border: 1px solid rgba(148, 163, 184, .17) !important;
  border-radius: 22px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.030), rgba(255,255,255,.010)),
    rgba(15, 25, 41, .80) !important;
  box-shadow: 0 16px 42px rgba(0,0,0,.18) !important;
  overflow: hidden !important;
  transform: none !important;
}

body .hhc-post-card-list .hhc-post-card-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body .hhc-post-card-list .hhc-card-head {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body .hhc-post-card-list .hhc-entry-meta {
  margin: 0 0 12px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
  align-items: center !important;
  font-size: .82rem !important;
  color: var(--hhc-muted) !important;
}

body .hhc-post-card-list .hhc-card-title,
body .hhc-post-card-list .hhc-card-head .hhc-card-title {
  min-height: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  color: var(--hhc-text-strong) !important;
  font-size: clamp(1.34rem, 1.70vw, 1.82rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -.045em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body .hhc-card-content-row {
  display: grid !important;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr) !important;
  gap: clamp(24px, 3vw, 36px) !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
}

body .hhc-card-layout-featured .hhc-card-visual,
body .hhc-card-visual {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  min-width: 0 !important;
  align-self: start !important;
}

body .hhc-card-layout-featured .hhc-card-visual > .hhc-card-media,
body .hhc-card-visual > .hhc-card-media,
body .hhc-post-card-list .hhc-card-visual > .hhc-card-media {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  background: rgba(8,17,31,.82) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.26) !important;
}

body .hhc-card-visual > .hhc-card-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body .hhc-card-visual .hhc-tag-row,
body .hhc-post-card-list .hhc-card-visual .hhc-tag-row {
  margin: 0 !important;
  justify-content: flex-start !important;
  align-items: center !important;
}

body .hhc-card-summary,
body .hhc-post-card-list .hhc-card-summary {
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-self: stretch !important;
  padding: 0 !important;
}

body .hhc-card-layout-featured .hhc-card-summary {
  padding-top: 4px !important;
}

body .hhc-post-card-list .hhc-card-excerpt,
body .hhc-post-card-list .hhc-card-excerpt p {
  color: #cfdaea !important;
  font-size: clamp(.96rem, 1.02vw, 1.04rem) !important;
  line-height: 1.74 !important;
}

body .hhc-post-card-list .hhc-card-excerpt {
  max-width: none !important;
  min-height: 0 !important;
  overflow: visible !important;
}

body .hhc-post-card-list.has-thumbnail .hhc-card-excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 7 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body .hhc-post-card-list .hhc-card-excerpt p {
  margin: 0 !important;
}

body .hhc-card-summary > .hhc-read-more,
body .hhc-post-card-list .hhc-read-more {
  align-self: flex-end !important;
  margin-top: auto !important;
  padding-top: 18px !important;
  color: var(--hhc-accent) !important;
  white-space: nowrap !important;
  font-weight: 900 !important;
}

body .hhc-post-card-list.no-thumbnail .hhc-card-footerline {
  margin-top: 18px !important;
  padding-top: 0 !important;
}

/* Search result cards must use the exact same post card system. */
body.search .hhc-blog-header {
  margin-bottom: 22px !important;
}
body.search .hhc-blog-header .hhc-search-form,
body.search .hhc-blog-header .search-form {
  max-width: 720px !important;
}

/* Sidebar: sticky without internal scrollbar. */
body .hhc-blog-layout > .hhc-sidebar,
body .hhc-archive-layout > .hhc-sidebar,
body .hhc-single-layout > .hhc-sidebar,
body.home .hhc-sidebar,
body.blog .hhc-sidebar,
body.archive .hhc-sidebar,
body.search .hhc-sidebar {
  position: sticky !important;
  top: var(--hhc-sidebar-top, 92px) !important;
  align-self: start !important;
  display: grid !important;
  gap: 16px !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding-right: 0 !important;
  scrollbar-width: auto !important;
}

body .hhc-sidebar .hhc-widget,
body .hhc-sidebar .widget,
body .hhc-front-sidebar .hhc-sidebar-card,
body .hhc-sidebar-card {
  width: 100% !important;
  padding: 20px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(148, 163, 184, .16) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .030), rgba(255, 255, 255, .010)),
    rgba(15, 25, 41, .76) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16) !important;
}

body .hhc-sidebar .widget-title,
body .hhc-sidebar-card h2,
body .hhc-widget .widget-title,
body .hhc-sidebar h2,
body .hhc-sidebar h3,
body .hhc-front-sidebar h2,
body .hhc-front-sidebar h3 {
  margin: 0 0 14px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .12) !important;
  color: var(--hhc-accent) !important;
  font-size: .76rem !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
}

body .hhc-sidebar .hhc-search-form,
body .hhc-sidebar .search-form,
body .hhc-search-form,
body .search-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: stretch !important;
}

body .hhc-sidebar input[type="search"],
body .hhc-search-field,
body .search-field {
  min-height: 42px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, .20) !important;
  background: rgba(8, 17, 31, .92) !important;
  color: var(--hhc-text) !important;
  padding: 0 15px !important;
}

body .hhc-search-submit,
body .search-submit,
body .hhc-sidebar button[type="submit"] {
  min-height: 42px !important;
  border-radius: 999px !important;
  padding: 0 17px !important;
}

body .hhc-sidebar .widget_recent_comments li,
body .hhc-sidebar .wp-block-latest-comments__comment,
body .hhc-sidebar .has-avatars .wp-block-latest-comments__comment {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 10px !important;
}
body .hhc-sidebar .wp-block-latest-comments__comment-avatar,
body .hhc-sidebar .avatar {
  width: 34px !important;
  height: 34px !important;
}

@media (max-width: 1100px) {
  body .hhc-blog-layout,
  body .hhc-archive-layout,
  body .hhc-single-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body .hhc-blog-layout > .hhc-sidebar,
  body .hhc-archive-layout > .hhc-sidebar,
  body .hhc-single-layout > .hhc-sidebar,
  body.home .hhc-sidebar,
  body.blog .hhc-sidebar,
  body.archive .hhc-sidebar,
  body.search .hhc-sidebar {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 760px) {
  body .hhc-blog-layout,
  body .hhc-archive-layout {
    gap: 22px !important;
  }

  body .hhc-card-content-row {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body .hhc-post-list article.hhc-post-card-list,
  body .hhc-blog-feed article.hhc-post-card-list,
  body .hhc-archive-main article.hhc-post-card-list {
    padding: 18px !important;
  }

  body .hhc-post-card-list .hhc-card-title,
  body .hhc-post-card-list .hhc-card-head .hhc-card-title {
    font-size: clamp(1.18rem, 6vw, 1.48rem) !important;
  }

  body .hhc-card-summary > .hhc-read-more {
    align-self: flex-start !important;
  }

  body .hhc-blog-layout > .hhc-sidebar,
  body .hhc-archive-layout > .hhc-sidebar,
  body .hhc-single-layout > .hhc-sidebar,
  body.home .hhc-sidebar,
  body.blog .hhc-sidebar,
  body.archive .hhc-sidebar,
  body.search .hhc-sidebar {
    grid-template-columns: 1fr !important;
  }
}


/* HHC 1.3.8 - stable, unified list card layout for home/archive/search.
   Hard reset for previous experimental card rules. */
body .hhc-blog-layout,
body .hhc-archive-layout,
body.search .hhc-archive-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 760px) minmax(280px, 320px) !important;
  gap: clamp(24px, 3vw, 38px) !important;
  align-items: start !important;
  justify-content: center !important;
}

body .hhc-post-list,
body .hhc-blog-feed,
body .hhc-archive-main {
  display: grid !important;
  gap: 22px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body .hhc-post-list > article.hhc-post-card-list,
body .hhc-blog-feed > article.hhc-post-card-list,
body .hhc-archive-main > article.hhc-post-card-list {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: clamp(22px, 2.2vw, 28px) !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.012)), rgba(15,25,41,.82) !important;
  box-shadow: 0 18px 46px rgba(0,0,0,.20) !important;
  overflow: hidden !important;
}

body article.hhc-post-card-list .hhc-post-card-body {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
}

body article.hhc-post-card-list .hhc-card-head {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

body article.hhc-post-card-list .hhc-entry-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px 12px !important;
  align-items: center !important;
  margin: 0 0 12px !important;
  min-width: 0 !important;
  color: var(--hhc-muted) !important;
  font-size: .82rem !important;
}

body article.hhc-post-card-list .hhc-card-title,
body article.hhc-post-card-list .hhc-card-title a {
  display: block !important;
  margin: 0 !important;
  color: var(--hhc-text-strong) !important;
  font-size: clamp(1.36rem, 1.75vw, 1.88rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -.045em !important;
  text-decoration: none !important;
  max-width: none !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}

body article.hhc-post-card-list.has-thumbnail .hhc-card-content-row {
  display: grid !important;
  grid-template-columns: minmax(250px, 330px) minmax(0, 1fr) !important;
  grid-template-areas: "visual summary" !important;
  gap: clamp(24px, 3vw, 34px) !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-post-card-list.has-thumbnail .hhc-card-visual {
  grid-area: visual !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  min-width: 0 !important;
  width: 100% !important;
  align-self: start !important;
}

body article.hhc-post-card-list.has-thumbnail .hhc-card-summary {
  grid-area: summary !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-width: 0 !important;
  width: 100% !important;
  align-self: stretch !important;
  padding: 6px 0 0 !important;
}

body article.hhc-post-card-list.has-thumbnail .hhc-card-media {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: rgba(8,17,31,.90) !important;
  border: 1px solid rgba(148,163,184,.18) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.22) !important;
}

body article.hhc-post-card-list.has-thumbnail .hhc-card-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body article.hhc-post-card-list .hhc-card-excerpt,
body article.hhc-post-card-list .hhc-card-excerpt p {
  color: #cfdaea !important;
  font-size: clamp(.96rem, 1.02vw, 1.05rem) !important;
  line-height: 1.74 !important;
}

body article.hhc-post-card-list.has-thumbnail .hhc-card-excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 7 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  margin: 0 !important;
  min-height: 0 !important;
}

body article.hhc-post-card-list .hhc-card-excerpt p {
  margin: 0 !important;
}

body article.hhc-post-card-list .hhc-read-more {
  display: inline-flex !important;
  align-self: flex-end !important;
  margin-top: 18px !important;
  padding-top: 0 !important;
  color: var(--hhc-accent) !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body article.hhc-post-card-list.has-thumbnail .hhc-card-visual .hhc-tag-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
}

body article.hhc-post-card-list.no-thumbnail .hhc-card-summary-full {
  display: block !important;
  padding: 0 !important;
}

body article.hhc-post-card-list.no-thumbnail .hhc-card-footerline {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-top: 18px !important;
}

/* Search and archive page headers use the same content width as the list. */
body.search .hhc-blog-header,
body.archive .hhc-blog-header,
body.blog .hhc-blog-header,
body.home .hhc-blog-header {
  max-width: 760px !important;
}

/* Sidebar: no internal scrollbar, visually consistent panels. */
body .hhc-blog-layout > .hhc-sidebar,
body .hhc-archive-layout > .hhc-sidebar,
body .hhc-single-layout > .hhc-sidebar,
body.home .hhc-sidebar,
body.blog .hhc-sidebar,
body.archive .hhc-sidebar,
body.search .hhc-sidebar {
  position: sticky !important;
  top: var(--hhc-sidebar-top, 92px) !important;
  align-self: start !important;
  display: grid !important;
  gap: 16px !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

body .hhc-sidebar .hhc-widget,
body .hhc-sidebar .widget,
body .hhc-sidebar-card {
  overflow: visible !important;
  max-height: none !important;
}

@media (max-width: 1100px) {
  body .hhc-blog-layout,
  body .hhc-archive-layout,
  body.search .hhc-archive-layout,
  body .hhc-single-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 760px !important;
    margin-inline: auto !important;
  }

  body .hhc-blog-layout > .hhc-sidebar,
  body .hhc-archive-layout > .hhc-sidebar,
  body .hhc-single-layout > .hhc-sidebar,
  body.home .hhc-sidebar,
  body.blog .hhc-sidebar,
  body.archive .hhc-sidebar,
  body.search .hhc-sidebar {
    position: static !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 760px) {
  body article.hhc-post-card-list.has-thumbnail .hhc-card-content-row {
    grid-template-columns: 1fr !important;
    grid-template-areas: "visual" "summary" !important;
    gap: 18px !important;
  }

  body article.hhc-post-card-list .hhc-card-title,
  body article.hhc-post-card-list .hhc-card-title a {
    font-size: clamp(1.18rem, 6vw, 1.48rem) !important;
  }

  body article.hhc-post-card-list .hhc-read-more {
    align-self: flex-start !important;
  }

  body .hhc-blog-layout > .hhc-sidebar,
  body .hhc-archive-layout > .hhc-sidebar,
  body .hhc-single-layout > .hhc-sidebar,
  body.home .hhc-sidebar,
  body.blog .hhc-sidebar,
  body.archive .hhc-sidebar,
  body.search .hhc-sidebar {
    grid-template-columns: 1fr !important;
  }
}

/* HHC 1.3.9 - definitive layout reset.
   Same content/sidebar grid on front page, blog, archive, search and single pages.
   Feed cards use hhc-feed-* classes only, so older card experiments cannot break them. */
:root {
  --hhc-layout-content: 820px;
  --hhc-layout-sidebar: 320px;
  --hhc-layout-gap: clamp(26px, 3vw, 40px);
}

body .hhc-container {
  width: min(100% - 32px, 1180px) !important;
}

body .hhc-blog-layout,
body .hhc-archive-layout,
body .hhc-single-layout,
body.search .hhc-blog-layout,
body.search .hhc-archive-layout,
body.archive .hhc-blog-layout,
body.archive .hhc-archive-layout,
body.blog .hhc-blog-layout,
body.home .hhc-blog-layout {
  display: grid !important;
  grid-template-columns: minmax(0, var(--hhc-layout-content)) minmax(280px, var(--hhc-layout-sidebar)) !important;
  gap: var(--hhc-layout-gap) !important;
  align-items: start !important;
  justify-content: center !important;
  max-width: none !important;
  margin-inline: auto !important;
}

body .hhc-blog-feed,
body .hhc-archive-main,
body .hhc-single-wrap {
  width: 100% !important;
  max-width: var(--hhc-layout-content) !important;
  min-width: 0 !important;
}

body .hhc-post-list {
  display: grid !important;
  gap: 22px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body article.hhc-feed-card,
body .hhc-post-list > article.hhc-feed-card,
body .hhc-blog-feed > article.hhc-feed-card,
body .hhc-archive-main > article.hhc-feed-card {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: clamp(24px, 2.3vw, 30px) !important;
  border: 1px solid rgba(148, 163, 184, .19) !important;
  border-radius: 24px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.014)),
    rgba(15, 25, 41, .86) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.22) !important;
  overflow: hidden !important;
  transform: none !important;
}

body article.hhc-feed-card .hhc-feed-inner {
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  gap: clamp(18px, 2vw, 22px) !important;
  width: 100% !important;
  min-width: 0 !important;
}

body article.hhc-feed-card .hhc-feed-head {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
}

body article.hhc-feed-card .hhc-feed-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 12px !important;
  margin: 0 0 13px !important;
  color: var(--hhc-muted) !important;
  font-size: .82rem !important;
}

body article.hhc-feed-card .hhc-feed-title,
body article.hhc-feed-card .hhc-feed-title a {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--hhc-text-strong) !important;
  font-size: clamp(1.42rem, 1.9vw, 1.95rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -.045em !important;
  text-decoration: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body article.hhc-feed-card .hhc-feed-main {
  display: grid !important;
  grid-template-columns: minmax(260px, 345px) minmax(0, 1fr) !important;
  gap: clamp(26px, 3.2vw, 38px) !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-feed-card.no-thumbnail .hhc-feed-main {
  grid-template-columns: 1fr !important;
}

body article.hhc-feed-card .hhc-feed-left {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  min-width: 0 !important;
  width: 100% !important;
}

body article.hhc-feed-card .hhc-feed-thumb,
body article.hhc-feed-card .hhc-feed-thumb .hhc-card-media {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: rgba(8,17,31,.92) !important;
  border: 1px solid rgba(148,163,184,.18) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.24) !important;
}

body article.hhc-feed-card .hhc-feed-thumb img,
body article.hhc-feed-card .hhc-feed-thumb .hhc-card-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
}

body article.hhc-feed-card:hover .hhc-feed-thumb img {
  transform: scale(1.025) !important;
}

body article.hhc-feed-card .hhc-feed-left .hhc-tag-row,
body article.hhc-feed-card .hhc-feed-bottom .hhc-tag-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  min-width: 0 !important;
}

body article.hhc-feed-card .hhc-feed-summary {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 4px 0 0 !important;
}

body article.hhc-feed-card .hhc-feed-excerpt,
body article.hhc-feed-card .hhc-feed-excerpt p {
  max-width: none !important;
  margin: 0 !important;
  color: #cfdaea !important;
  font-size: clamp(.98rem, 1.03vw, 1.08rem) !important;
  line-height: 1.76 !important;
}

body article.hhc-feed-card.has-thumbnail .hhc-feed-excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 7 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body article.hhc-feed-card .hhc-feed-bottom {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-top: auto !important;
  min-width: 0 !important;
}

body article.hhc-feed-card.has-thumbnail .hhc-feed-bottom {
  justify-content: flex-end !important;
}

body article.hhc-feed-card .hhc-feed-read-more,
body article.hhc-feed-card .hhc-read-more {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  color: var(--hhc-accent) !important;
  font-size: .93rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body article.hhc-feed-card .hhc-feed-read-more::after,
body article.hhc-feed-card .hhc-read-more::after {
  content: " →" !important;
}

body article.hhc-feed-card .hhc-feed-read-more:hover {
  color: var(--hhc-text-strong) !important;
}

/* Sidebar and widget consistency on every page type. */
body .hhc-blog-layout > .hhc-sidebar,
body .hhc-archive-layout > .hhc-sidebar,
body .hhc-single-layout > .hhc-sidebar,
body.home .hhc-sidebar,
body.blog .hhc-sidebar,
body.archive .hhc-sidebar,
body.search .hhc-sidebar,
body.single .hhc-sidebar {
  position: sticky !important;
  top: var(--hhc-sidebar-top, 92px) !important;
  align-self: start !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

body .hhc-sidebar .hhc-widget,
body .hhc-sidebar .widget,
body .hhc-front-sidebar .hhc-sidebar-card,
body .hhc-sidebar-card {
  width: 100% !important;
  max-height: none !important;
  overflow: visible !important;
  border-radius: 18px !important;
  border: 1px solid rgba(148, 163, 184, .16) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.012)), rgba(15,25,41,.78) !important;
  padding: 18px !important;
}

body .hhc-sidebar .widget-title,
body .hhc-sidebar-card h2,
body .hhc-widget .widget-title {
  display: block !important;
  margin: 0 0 14px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .12) !important;
  color: var(--hhc-accent) !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  letter-spacing: .13em !important;
  line-height: 1.2 !important;
  text-transform: uppercase !important;
}

body .hhc-sidebar .search-form,
body .hhc-sidebar .hhc-search-form,
body .hhc-widget .search-form,
body .hhc-widget .hhc-search-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
}

body .hhc-sidebar input[type="search"],
body .hhc-sidebar .search-field,
body .hhc-sidebar .hhc-search-field {
  width: 100% !important;
  min-height: 42px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(148, 163, 184, .18) !important;
  background: rgba(8,17,31,.70) !important;
  color: var(--hhc-text) !important;
  padding: 0 15px !important;
}

body .hhc-sidebar input[type="submit"],
body .hhc-sidebar button[type="submit"],
body .hhc-sidebar .search-submit,
body .hhc-sidebar .hhc-search-submit {
  min-height: 42px !important;
  border-radius: 999px !important;
  padding: 0 16px !important;
}

@media (max-width: 1100px) {
  body .hhc-blog-layout,
  body .hhc-archive-layout,
  body .hhc-single-layout,
  body.search .hhc-blog-layout,
  body.search .hhc-archive-layout,
  body.archive .hhc-blog-layout,
  body.archive .hhc-archive-layout,
  body.blog .hhc-blog-layout,
  body.home .hhc-blog-layout {
    grid-template-columns: minmax(0, var(--hhc-layout-content)) !important;
    max-width: var(--hhc-layout-content) !important;
    justify-content: center !important;
  }

  body .hhc-blog-layout > .hhc-sidebar,
  body .hhc-archive-layout > .hhc-sidebar,
  body .hhc-single-layout > .hhc-sidebar,
  body.home .hhc-sidebar,
  body.blog .hhc-sidebar,
  body.archive .hhc-sidebar,
  body.search .hhc-sidebar,
  body.single .hhc-sidebar {
    position: static !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 760px) {
  body .hhc-container {
    width: min(100% - 22px, 1180px) !important;
  }

  body article.hhc-feed-card {
    padding: 18px !important;
    border-radius: 20px !important;
  }

  body article.hhc-feed-card .hhc-feed-main {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body article.hhc-feed-card .hhc-feed-title,
  body article.hhc-feed-card .hhc-feed-title a {
    font-size: clamp(1.16rem, 6vw, 1.48rem) !important;
  }

  body article.hhc-feed-card .hhc-feed-excerpt {
    -webkit-line-clamp: 8 !important;
  }

  body article.hhc-feed-card .hhc-feed-bottom,
  body article.hhc-feed-card.no-thumbnail .hhc-feed-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body .hhc-blog-layout > .hhc-sidebar,
  body .hhc-archive-layout > .hhc-sidebar,
  body .hhc-single-layout > .hhc-sidebar,
  body.home .hhc-sidebar,
  body.blog .hhc-sidebar,
  body.archive .hhc-sidebar,
  body.search .hhc-sidebar,
  body.single .hhc-sidebar {
    grid-template-columns: 1fr !important;
  }
}

/* HHC 1.4.0 - final feed card contract. This block intentionally wins over all older card rules. */
:root {
  --hhc-layout-content: 820px;
  --hhc-layout-sidebar: 320px;
  --hhc-layout-gap: clamp(26px, 3vw, 40px);
}

body .hhc-blog-layout,
body .hhc-archive-layout,
body .hhc-single-layout,
body.home .hhc-blog-layout,
body.blog .hhc-blog-layout,
body.archive .hhc-archive-layout,
body.search .hhc-archive-layout,
body.search .hhc-blog-layout {
  display: grid !important;
  grid-template-columns: minmax(0, var(--hhc-layout-content)) minmax(280px, var(--hhc-layout-sidebar)) !important;
  gap: var(--hhc-layout-gap) !important;
  align-items: start !important;
  justify-content: center !important;
}

body .hhc-blog-feed,
body .hhc-archive-main,
body .hhc-single-wrap {
  width: 100% !important;
  max-width: var(--hhc-layout-content) !important;
  min-width: 0 !important;
}

body .hhc-post-list {
  display: grid !important;
  gap: 22px !important;
}

body article.hhc-feed-card-v2,
body .hhc-post-list > article.hhc-feed-card-v2,
body .hhc-blog-feed > article.hhc-feed-card-v2,
body .hhc-archive-main > article.hhc-feed-card-v2 {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: clamp(24px, 2.3vw, 30px) !important;
  border: 1px solid rgba(148, 163, 184, .20) !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.040), rgba(255,255,255,.014)), rgba(15, 25, 41, .88) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.22) !important;
  overflow: hidden !important;
  transform: none !important;
}

body article.hhc-feed-card-v2 .hhc-feed-inner {
  display: grid !important;
  grid-template-rows: auto auto !important;
  gap: clamp(18px, 2vw, 22px) !important;
  width: 100% !important;
  min-width: 0 !important;
}

body article.hhc-feed-card-v2 .hhc-feed-head {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-feed-card-v2 .hhc-feed-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 12px !important;
  margin: 0 0 13px !important;
  color: var(--hhc-muted) !important;
  font-size: .82rem !important;
}

body article.hhc-feed-card-v2 .hhc-feed-title,
body article.hhc-feed-card-v2 .hhc-feed-title a {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--hhc-text-strong) !important;
  font-size: clamp(1.42rem, 1.9vw, 1.95rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -.045em !important;
  text-decoration: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body article.hhc-feed-card-v2 .hhc-feed-main {
  display: grid !important;
  grid-template-columns: minmax(260px, 345px) minmax(0, 1fr) !important;
  gap: clamp(26px, 3.2vw, 38px) !important;
  align-items: stretch !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-feed-card-v2.no-thumbnail .hhc-feed-main {
  grid-template-columns: 1fr !important;
}

body article.hhc-feed-card-v2 .hhc-feed-left {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  min-width: 0 !important;
  width: 100% !important;
  align-self: start !important;
}

body article.hhc-feed-card-v2 .hhc-feed-thumb,
body article.hhc-feed-card-v2 .hhc-feed-thumb .hhc-card-media {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  background: rgba(8,17,31,.92) !important;
  border: 1px solid rgba(148,163,184,.18) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.24) !important;
  text-decoration: none !important;
}

body article.hhc-feed-card-v2 .hhc-feed-thumb img,
body article.hhc-feed-card-v2 .hhc-feed-thumb .hhc-card-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transform: none !important;
}

body article.hhc-feed-card-v2:hover .hhc-feed-thumb img {
  transform: scale(1.025) !important;
}

body article.hhc-feed-card-v2 .hhc-feed-left .hhc-tag-row,
body article.hhc-feed-card-v2 .hhc-feed-bottom .hhc-tag-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  min-width: 0 !important;
}

body article.hhc-feed-card-v2 .hhc-feed-summary {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 18px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding: 4px 0 0 !important;
}

body article.hhc-feed-card-v2 .hhc-feed-excerpt,
body article.hhc-feed-card-v2 .hhc-feed-excerpt p {
  max-width: none !important;
  margin: 0 !important;
  color: #cfdaea !important;
  font-size: clamp(.98rem, 1.03vw, 1.08rem) !important;
  line-height: 1.76 !important;
}

body article.hhc-feed-card-v2.has-thumbnail .hhc-feed-excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 7 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body article.hhc-feed-card-v2 .hhc-feed-bottom {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-top: auto !important;
  min-width: 0 !important;
}

body article.hhc-feed-card-v2.has-thumbnail .hhc-feed-bottom {
  justify-content: flex-end !important;
}

body article.hhc-feed-card-v2 .hhc-feed-read-more,
body article.hhc-feed-card-v2 .hhc-read-more {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  color: var(--hhc-accent) !important;
  font-size: .93rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

body article.hhc-feed-card-v2 .hhc-feed-read-more::after,
body article.hhc-feed-card-v2 .hhc-read-more::after {
  content: " →" !important;
}

body article.hhc-feed-card-v2 .hhc-feed-read-more:hover {
  color: var(--hhc-text-strong) !important;
}

body .hhc-blog-layout > .hhc-sidebar,
body .hhc-archive-layout > .hhc-sidebar,
body .hhc-single-layout > .hhc-sidebar,
body.home .hhc-sidebar,
body.blog .hhc-sidebar,
body.archive .hhc-sidebar,
body.search .hhc-sidebar,
body.single .hhc-sidebar {
  position: sticky !important;
  top: var(--hhc-sidebar-top, 92px) !important;
  align-self: start !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 0 !important;
}

@media (max-width: 1100px) {
  body .hhc-blog-layout,
  body .hhc-archive-layout,
  body .hhc-single-layout,
  body.home .hhc-blog-layout,
  body.blog .hhc-blog-layout,
  body.archive .hhc-archive-layout,
  body.search .hhc-archive-layout,
  body.search .hhc-blog-layout {
    grid-template-columns: minmax(0, var(--hhc-layout-content)) !important;
    max-width: var(--hhc-layout-content) !important;
    justify-content: center !important;
  }

  body .hhc-blog-layout > .hhc-sidebar,
  body .hhc-archive-layout > .hhc-sidebar,
  body .hhc-single-layout > .hhc-sidebar,
  body.home .hhc-sidebar,
  body.blog .hhc-sidebar,
  body.archive .hhc-sidebar,
  body.search .hhc-sidebar,
  body.single .hhc-sidebar {
    position: static !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  body .hhc-container {
    width: min(100% - 22px, 1180px) !important;
  }

  body article.hhc-feed-card-v2 {
    padding: 18px !important;
    border-radius: 20px !important;
  }

  body article.hhc-feed-card-v2 .hhc-feed-main {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body article.hhc-feed-card-v2 .hhc-feed-title,
  body article.hhc-feed-card-v2 .hhc-feed-title a {
    font-size: clamp(1.16rem, 6vw, 1.48rem) !important;
  }

  body article.hhc-feed-card-v2 .hhc-feed-bottom,
  body article.hhc-feed-card-v2.no-thumbnail .hhc-feed-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body .hhc-blog-layout > .hhc-sidebar,
  body .hhc-archive-layout > .hhc-sidebar,
  body .hhc-single-layout > .hhc-sidebar,
  body.home .hhc-sidebar,
  body.blog .hhc-sidebar,
  body.archive .hhc-sidebar,
  body.search .hhc-sidebar,
  body.single .hhc-sidebar {
    grid-template-columns: 1fr !important;
  }
}

/* HHC 1.4.3 - unified loop cards for home/blog/archive/search. */
body .hhc-post-list,
body .hhc-blog-feed,
body .hhc-archive-main {
  display: grid !important;
  gap: 24px !important;
  width: 100% !important;
  min-width: 0 !important;
}

body article.hhc-loop-card,
body .hhc-post-list > article.hhc-loop-card,
body .hhc-blog-feed > article.hhc-loop-card,
body .hhc-archive-main > article.hhc-loop-card {
  display: grid !important;
  grid-template-rows: auto 1fr auto !important;
  gap: 18px !important;
  width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: clamp(22px, 2.1vw, 32px) !important;
  border-radius: 24px !important;
  border: 1px solid rgba(148, 163, 184, .22) !important;
  background: linear-gradient(180deg, rgba(255,255,255,.042), rgba(255,255,255,.016)), rgba(15, 25, 41, .92) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.22) !important;
  overflow: hidden !important;
  transform: none !important;
}

body article.hhc-loop-card .hhc-loop-card__header {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-loop-card .hhc-loop-card__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 12px !important;
  margin: 0 0 12px !important;
  color: var(--hhc-muted) !important;
  font-size: .82rem !important;
  line-height: 1.35 !important;
}

body article.hhc-loop-card .hhc-loop-card__title,
body article.hhc-loop-card .hhc-loop-card__title a {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--hhc-text-strong) !important;
  font-size: clamp(1.32rem, 1.5vw, 1.78rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -.04em !important;
  font-weight: 900 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere !important;
}

body article.hhc-loop-card .hhc-loop-card__content {
  display: grid !important;
  grid-template-columns: minmax(210px, 300px) minmax(0, 1fr) !important;
  gap: clamp(24px, 2.5vw, 36px) !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-loop-card--text .hhc-loop-card__content {
  grid-template-columns: 1fr !important;
}

body article.hhc-loop-card .hhc-loop-card__thumb {
  display: block !important;
  width: 100% !important;
  max-width: 300px !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  border: 1px solid rgba(148, 163, 184, .20) !important;
  background: rgba(8,17,31,.94) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.24) !important;
  text-decoration: none !important;
  align-self: center !important;
}

body article.hhc-loop-card .hhc-loop-card__thumb img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

body article.hhc-loop-card .hhc-loop-card__text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  width: 100% !important;
  padding: 0 !important;
}

body article.hhc-loop-card .hhc-loop-card__excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 6 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  max-width: none !important;
  margin: 0 !important;
  color: #cfdaea !important;
  font-size: clamp(.98rem, 1vw, 1.06rem) !important;
  line-height: 1.72 !important;
}

body article.hhc-loop-card--text .hhc-loop-card__excerpt {
  -webkit-line-clamp: 8 !important;
}

body article.hhc-loop-card .hhc-loop-card__footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-loop-card .hhc-loop-card__tags,
body article.hhc-loop-card .hhc-tag-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  margin: 0 !important;
  min-width: 0 !important;
}

body article.hhc-loop-card .hhc-loop-card__more {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  margin: 0 0 0 auto !important;
  color: var(--hhc-accent) !important;
  font-size: .94rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  text-align: right !important;
}

body article.hhc-loop-card .hhc-loop-card__more::after {
  content: " →" !important;
}

body article.hhc-loop-card .hhc-loop-card__more:hover {
  color: var(--hhc-text-strong) !important;
}

@media (max-width: 760px) {
  body article.hhc-loop-card {
    padding: 18px !important;
    border-radius: 20px !important;
    gap: 16px !important;
  }

  body article.hhc-loop-card .hhc-loop-card__content {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body article.hhc-loop-card .hhc-loop-card__title,
  body article.hhc-loop-card .hhc-loop-card__title a {
    font-size: clamp(1.16rem, 5.6vw, 1.42rem) !important;
  }

  body article.hhc-loop-card .hhc-loop-card__thumb {
    width: min(100%, 330px) !important;
    max-width: 330px !important;
    margin-inline: auto !important;
    border-radius: 16px !important;
  }

  body article.hhc-loop-card .hhc-loop-card__footer {
    align-items: flex-start !important;
    gap: 12px !important;
  }

  body article.hhc-loop-card .hhc-loop-card__tags {
    flex: 1 1 auto !important;
  }

  body article.hhc-loop-card .hhc-loop-card__more {
    margin-left: auto !important;
    align-self: flex-start !important;
  }
}


/* HHC 1.4.4 - Mobile sidebar visibility controlled from Customizer.
   Default: hidden on phone/narrow screens for a cleaner reading experience. */
@media (max-width: 900px) {
  body.hhc-mobile-sidebar-off .hhc-sidebar,
  body.hhc-mobile-sidebar-off .hhc-blog-layout > .hhc-sidebar,
  body.hhc-mobile-sidebar-off .hhc-archive-layout > .hhc-sidebar,
  body.hhc-mobile-sidebar-off .hhc-single-layout > .hhc-sidebar,
  body.hhc-mobile-sidebar-off .hhc-page-layout > .hhc-sidebar,
  body.hhc-mobile-sidebar-off #secondary {
    display: none !important;
  }

  body.hhc-mobile-sidebar-off .hhc-blog-layout,
  body.hhc-mobile-sidebar-off .hhc-archive-layout,
  body.hhc-mobile-sidebar-off .hhc-single-layout,
  body.hhc-mobile-sidebar-off .hhc-page-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  body.hhc-mobile-sidebar-off .hhc-blog-feed,
  body.hhc-mobile-sidebar-off .hhc-single-wrap,
  body.hhc-mobile-sidebar-off .hhc-page-content {
    width: 100% !important;
    max-width: 100% !important;
  }
}


/* HHC renk profili: mevcut koyu görünüm Gece profilidir; Gündüz profili JS veya Customizer varsayılanıyla etkinleşir. */
html[data-hhc-color-mode="gunduz"] {
  color-scheme: light;
  --hhc-bg: #f4f7fb;
  --hhc-bg-deep: #e8eef7;
  --hhc-surface: #ffffff;
  --hhc-surface-2: #f2f6fb;
  --hhc-surface-3: #e7eef8;
  --hhc-text: #243042;
  --hhc-text-strong: #0f172a;
  --hhc-muted: #5f6f85;
  --hhc-border: #d7e0ee;
  --hhc-border-soft: rgba(92, 111, 135, 0.24);
  --hhc-accent: #0ea5e9;
  --hhc-accent-2: #d97706;
  --hhc-green: #059669;
  --hhc-red: #dc2626;
  --hhc-purple: #7c3aed;
  --hhc-code-bg: #111827;
  --hhc-shadow: 0 18px 50px rgba(30, 41, 59, 0.12);
  --hhc-shadow-soft: 0 12px 34px rgba(30, 41, 59, 0.10);
  --hhc-input-bg: #eef4fb;
}

html[data-hhc-color-mode="gunduz"] body {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.13), transparent 34rem),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.10), transparent 30rem),
    linear-gradient(180deg, var(--hhc-bg) 0%, var(--hhc-bg-deep) 100%);
}

html[data-hhc-color-mode="gunduz"] .hhc-site-header {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(30, 41, 59, 0.08);
}
html[data-hhc-color-mode="gunduz"] .hhc-site-header.is-scrolled { background: rgba(255, 255, 255, 0.96); }
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a:focus,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current-menu-item > a,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current_page_item > a { background: rgba(14, 165, 233, 0.10); }
html[data-hhc-color-mode="gunduz"] .hhc-site-description { color: #66758c; }
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav,
html[data-hhc-color-mode="gunduz"] .hhc-search-form,
html[data-hhc-color-mode="gunduz"] .search-form { color: var(--hhc-text); }
html[data-hhc-color-mode="gunduz"] .hhc-menu-toggle,
html[data-hhc-color-mode="gunduz"] .hhc-theme-toggle { background: rgba(255,255,255,.76); }

.hhc-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.hhc-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid var(--hhc-border-soft);
  border-radius: 999px;
  color: var(--hhc-text-strong);
  background: rgba(148, 163, 184, 0.10);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.hhc-theme-toggle:hover,
.hhc-theme-toggle:focus-visible {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.38);
  transform: translateY(-1px);
}

.hhc-theme-toggle-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--hhc-accent);
  color: #06111d;
  font-size: 0.96rem;
  line-height: 1;
}

.hhc-theme-toggle-text { white-space: nowrap; }

@media (max-width: 782px) {
  .hhc-header-actions { margin-left: auto; order: 2; }
  .hhc-menu-toggle { order: 3; }
  .hhc-theme-toggle { min-height: 40px; padding: 8px 10px; }
  .hhc-theme-toggle-text { display: none; }
  .hhc-primary-nav { background: rgba(8, 17, 31, 0.98); }
  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav { background: rgba(255, 255, 255, 0.98); }
}

/* HHC 1.4.7 - Gerçek Gece/Gündüz profil sistemi.
   Gece mevcut tasarımdır. Gündüz modu aynı yerleşimi daha açık, okunaklı bir paletle yeniden boyar. */
html[data-hhc-color-mode="gunduz"] {
  color-scheme: light;
  --hhc-bg: #eef4fb;
  --hhc-bg-deep: #dfe8f3;
  --hhc-surface: #ffffff;
  --hhc-surface-2: #f7fafe;
  --hhc-surface-3: #edf3fa;
  --hhc-text: #223044;
  --hhc-text-strong: #07111f;
  --hhc-muted: #64748b;
  --hhc-border: #d4deec;
  --hhc-border-soft: rgba(100, 116, 139, 0.28);
  --hhc-accent: #0284c7;
  --hhc-accent-2: #b45309;
  --hhc-green: #047857;
  --hhc-red: #dc2626;
  --hhc-purple: #6d28d9;
  --hhc-code-bg: #101827;
  --hhc-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --hhc-shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.10);
}

html[data-hhc-color-mode="gunduz"] body {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.10), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, #edf3fa 54%, #e2ebf6 100%) !important;
  color: var(--hhc-text) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-site-header {
  background: rgba(248, 251, 255, 0.88) !important;
  border-bottom-color: rgba(100, 116, 139, 0.22) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06) !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-site-title,
html[data-hhc-color-mode="gunduz"] .hhc-site-title:visited,
html[data-hhc-color-mode="gunduz"] h1,
html[data-hhc-color-mode="gunduz"] h2,
html[data-hhc-color-mode="gunduz"] h3,
html[data-hhc-color-mode="gunduz"] h4,
html[data-hhc-color-mode="gunduz"] .hhc-loop-card__title,
html[data-hhc-color-mode="gunduz"] .hhc-loop-card__title a,
html[data-hhc-color-mode="gunduz"] .hhc-entry-title,
html[data-hhc-color-mode="gunduz"] .hhc-article-title,
html[data-hhc-color-mode="gunduz"] .widget-title {
  color: var(--hhc-text-strong) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-site-description,
html[data-hhc-color-mode="gunduz"] .hhc-loop-card__meta,
html[data-hhc-color-mode="gunduz"] .hhc-entry-meta,
html[data-hhc-color-mode="gunduz"] .hhc-footer-perf,
html[data-hhc-color-mode="gunduz"] .hhc-footer-copy {
  color: var(--hhc-muted) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a {
  color: #475569 !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a:focus,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current-menu-item > a,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current_page_item > a {
  color: #0f172a !important;
  background: rgba(2, 132, 199, 0.12) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-loop-card,
html[data-hhc-color-mode="gunduz"] article.hhc-loop-card,
html[data-hhc-color-mode="gunduz"] .hhc-section,
html[data-hhc-color-mode="gunduz"] .hhc-card,
html[data-hhc-color-mode="gunduz"] .hhc-note-box,
html[data-hhc-color-mode="gunduz"] .hhc-review-box,
html[data-hhc-color-mode="gunduz"] .hhc-entry-content > .hhc-section,
html[data-hhc-color-mode="gunduz"] .hhc-single-card,
html[data-hhc-color-mode="gunduz"] .hhc-comments-area,
html[data-hhc-color-mode="gunduz"] .comment-respond,
html[data-hhc-color-mode="gunduz"] .hhc-related-posts,
html[data-hhc-color-mode="gunduz"] .hhc-post-navigation,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar .hhc-widget,
html[data-hhc-color-mode="gunduz"] .hhc-front-sidebar .hhc-sidebar-card,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar-card,
html[data-hhc-color-mode="gunduz"] .hhc-widget,
html[data-hhc-color-mode="gunduz"] .widget {
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,254,.94)) !important;
  border-color: rgba(100, 116, 139, 0.24) !important;
  color: var(--hhc-text) !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.10) !important;
}

html[data-hhc-color-mode="gunduz"] article.hhc-loop-card .hhc-loop-card__excerpt,
html[data-hhc-color-mode="gunduz"] article.hhc-loop-card .hhc-loop-card__excerpt p,
html[data-hhc-color-mode="gunduz"] .hhc-entry-content,
html[data-hhc-color-mode="gunduz"] .hhc-entry-content p,
html[data-hhc-color-mode="gunduz"] .hhc-card p,
html[data-hhc-color-mode="gunduz"] .hhc-card-excerpt,
html[data-hhc-color-mode="gunduz"] .hhc-review-content p,
html[data-hhc-color-mode="gunduz"] .comment-content,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar p,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar li,
html[data-hhc-color-mode="gunduz"] .hhc-quote-text {
  color: var(--hhc-text) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-loop-card__thumb,
html[data-hhc-color-mode="gunduz"] .hhc-card-media {
  background: #eaf1f9 !important;
  border-color: rgba(100, 116, 139, 0.26) !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12) !important;
}

html[data-hhc-color-mode="gunduz"] input,
html[data-hhc-color-mode="gunduz"] textarea,
html[data-hhc-color-mode="gunduz"] select,
html[data-hhc-color-mode="gunduz"] .search-field {
  color: #0f172a !important;
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}
html[data-hhc-color-mode="gunduz"] input::placeholder,
html[data-hhc-color-mode="gunduz"] textarea::placeholder {
  color: #748197 !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-search-submit,
html[data-hhc-color-mode="gunduz"] .search-submit,
html[data-hhc-color-mode="gunduz"] input[type="submit"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, #0ea5e9, #0284c7) !important;
  border-color: rgba(2, 132, 199, 0.40) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-table-wrap,
html[data-hhc-color-mode="gunduz"] .hhc-entry-content table,
html[data-hhc-color-mode="gunduz"] .hhc-table {
  background: #ffffff !important;
  border-color: rgba(100, 116, 139, 0.25) !important;
  color: var(--hhc-text) !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-table th,
html[data-hhc-color-mode="gunduz"] .hhc-entry-content th {
  color: #0f172a !important;
  background: #edf3fa !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-table td,
html[data-hhc-color-mode="gunduz"] .hhc-entry-content td {
  border-color: rgba(100, 116, 139, 0.22) !important;
  color: var(--hhc-text) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-terminal,
html[data-hhc-color-mode="gunduz"] .hhc-code,
html[data-hhc-color-mode="gunduz"] .hhc-filetree,
html[data-hhc-color-mode="gunduz"] .hhc-entry-content pre:not(.hhc-code) {
  background: #111827 !important;
  border-color: rgba(15, 23, 42, 0.35) !important;
  color: #dbeafe !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-terminal-header {
  background: #172033 !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #dbeafe !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-entry-content code,
html[data-hhc-color-mode="gunduz"] .hhc-code code,
html[data-hhc-color-mode="gunduz"] .hhc-filetree code,
html[data-hhc-color-mode="gunduz"] .hhc-terminal code {
  color: #e0f2fe !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-alert-info { background: rgba(2,132,199,.10) !important; border-color: rgba(2,132,199,.28) !important; }
html[data-hhc-color-mode="gunduz"] .hhc-alert-success { background: rgba(5,150,105,.10) !important; border-color: rgba(5,150,105,.26) !important; }
html[data-hhc-color-mode="gunduz"] .hhc-alert-warning { background: rgba(180,83,9,.10) !important; border-color: rgba(180,83,9,.28) !important; }
html[data-hhc-color-mode="gunduz"] .hhc-alert-danger { background: rgba(220,38,38,.09) !important; border-color: rgba(220,38,38,.26) !important; }

html[data-hhc-color-mode="gunduz"] .hhc-site-footer {
  background: rgba(226, 235, 246, 0.82) !important;
  border-top-color: rgba(100, 116, 139, 0.22) !important;
  color: var(--hhc-muted) !important;
}

/* Icon-only, fixed-size color mode button. */
.hhc-theme-toggle {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  justify-content: center !important;
  gap: 0 !important;
}
.hhc-theme-toggle-icon {
  width: 26px !important;
  height: 26px !important;
  font-size: 1rem !important;
}
.hhc-theme-toggle .hhc-theme-toggle-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-theme-toggle {
  background: #ffffff !important;
  border-color: rgba(100, 116, 139, 0.28) !important;
}


/* HHC 1.4.8 - component color consistency and Customizer-variable cleanup. */
:root {
  --hhc-input-bg: color-mix(in srgb, var(--hhc-code-bg) 82%, var(--hhc-surface) 18%);
  --hhc-panel-bg: linear-gradient(180deg, color-mix(in srgb, var(--hhc-surface) 94%, transparent), color-mix(in srgb, var(--hhc-surface-2) 82%, transparent));
  --hhc-soft-bg: color-mix(in srgb, var(--hhc-surface-2) 70%, transparent);
}

.hhc-site-header,
.hhc-loop-card,
.hhc-section,
.hhc-card,
.hhc-note-box,
.hhc-review-box,
.hhc-related-posts,
.hhc-post-nav-stack,
.hhc-nav-card,
.hhc-comments,
.hhc-comment-list .comment-body,
.comment-respond,
.hhc-sidebar .widget,
.hhc-sidebar-card,
.hhc-widget,
.widget {
  color: var(--hhc-text) !important;
  border-color: var(--hhc-border) !important;
}

.hhc-section,
.hhc-card,
.hhc-note-box,
.hhc-review-box,
.hhc-related-posts,
.hhc-post-nav-stack,
.hhc-nav-card,
.hhc-comments,
.hhc-comment-list .comment-body,
.comment-respond,
.hhc-sidebar .widget,
.hhc-sidebar-card,
.hhc-widget,
.widget {
  background: var(--hhc-panel-bg) !important;
}

.hhc-section h1,
.hhc-section h2,
.hhc-section h3,
.hhc-card h3,
.hhc-note-box h3,
.hhc-review-box h3,
.hhc-related-posts h2,
.hhc-comments-title,
.comment-reply-title,
.hhc-nav-card .nav-title,
.widget-title,
.hhc-widget-title,
.hhc-sidebar .widget-title {
  color: var(--hhc-text-strong) !important;
}

.hhc-entry-content,
.hhc-entry-content p,
.hhc-section p,
.hhc-card p,
.hhc-note-box p,
.hhc-review-content p,
.hhc-comment-list .comment-content,
.comment-notes,
.logged-in-as,
.hhc-related-posts p,
.hhc-sidebar p,
.hhc-sidebar li,
.hhc-sidebar .recentcomments,
.widget_recent_comments li,
.widget_recent_entries li,
.widget_block li {
  color: var(--hhc-text) !important;
}

.hhc-entry-meta,
.hhc-loop-card__meta,
.comment-metadata,
.comment-metadata a,
.hhc-nav-card .nav-subtitle,
.hhc-related-meta,
.hhc-footer-perf,
.hhc-footer-copy,
.hhc-sidebar small,
.widget .post-date {
  color: var(--hhc-muted) !important;
}

/* Forms/search fields: readable in both profiles. */
.hhc-search-form,
.search-form {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}
.hhc-search-form input[type="search"],
.search-form input[type="search"],
.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
  color: var(--hhc-text-strong) !important;
  background: var(--hhc-input-bg) !important;
  border: 1px solid var(--hhc-border) !important;
  border-radius: 16px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}
.hhc-search-form input[type="search"],
.search-form input[type="search"],
.search-field {
  min-height: 44px !important;
  padding: 0 16px !important;
}
.hhc-search-form input::placeholder,
.search-field::placeholder,
textarea::placeholder {
  color: var(--hhc-muted) !important;
  opacity: .85 !important;
}
.hhc-search-submit,
.search-submit,
button,
input[type="submit"] {
  border-radius: 16px !important;
  border: 1px solid color-mix(in srgb, var(--hhc-accent) 38%, var(--hhc-border)) !important;
  background: color-mix(in srgb, var(--hhc-accent) 22%, var(--hhc-surface-2)) !important;
  color: var(--hhc-text-strong) !important;
}

/* Code / terminal / bash blocks stay intentionally high contrast, but borders follow the palette. */
.hhc-terminal,
.hhc-code,
.hhc-filetree,
pre,
.wp-block-code,
.wp-block-preformatted {
  background: var(--hhc-code-bg) !important;
  color: #e7edf8 !important;
  border-color: color-mix(in srgb, var(--hhc-border) 70%, var(--hhc-accent) 30%) !important;
  box-shadow: 0 14px 34px rgba(2, 6, 23, .18) !important;
}
.hhc-terminal code,
.hhc-code code,
.hhc-filetree code,
pre code,
.wp-block-code code {
  color: #e7edf8 !important;
}
.hhc-terminal-header {
  background: color-mix(in srgb, var(--hhc-code-bg) 72%, var(--hhc-surface-2) 28%) !important;
  border-bottom-color: var(--hhc-border) !important;
}

/* Related posts and prev/next navigation. */
.hhc-related-posts,
.hhc-post-nav-stack,
.hhc-comments {
  border: 1px solid var(--hhc-border) !important;
  border-radius: 22px !important;
  padding: clamp(18px, 2vw, 26px) !important;
}
.hhc-related-list,
.hhc-related-grid {
  display: grid !important;
  gap: 10px !important;
}
.hhc-related-item,
.hhc-related-posts a,
.hhc-related-card {
  background: color-mix(in srgb, var(--hhc-surface-2) 78%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--hhc-border) 86%, transparent) !important;
  border-radius: 14px !important;
  color: var(--hhc-text-strong) !important;
}
.hhc-post-nav-stack {
  display: grid !important;
  gap: 12px !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.hhc-nav-card {
  display: grid !important;
  gap: 5px !important;
  border: 1px solid var(--hhc-border) !important;
  border-radius: 18px !important;
  padding: 16px 18px !important;
  text-decoration: none !important;
}
.hhc-nav-card:hover {
  border-color: color-mix(in srgb, var(--hhc-accent) 45%, var(--hhc-border)) !important;
  transform: translateY(-1px);
}

/* Comments: no dark leftovers in daylight, no white blocks in night mode. */
.hhc-comment-list,
.hhc-comment-list ol,
.hhc-comment-list ul {
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
.hhc-comment-list .comment-body {
  border: 1px solid var(--hhc-border) !important;
  border-radius: 18px !important;
  padding: 18px !important;
  margin: 0 0 14px !important;
}
.comment-author,
.comment-author a,
.comment-meta a,
.comment-reply-link {
  color: var(--hhc-accent) !important;
}
.comment-respond {
  border: 1px solid var(--hhc-border) !important;
  border-radius: 22px !important;
  padding: clamp(20px, 2.4vw, 32px) !important;
  margin-top: 18px !important;
}
.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100% !important;
  color: var(--hhc-text-strong) !important;
  background: var(--hhc-input-bg) !important;
}

/* Tags: stronger readability in loop cards, sidebar tag cloud and single footer. */
.hhc-tag,
.hhc-tag-row a,
.tag-cloud-link,
.wp-block-tag-cloud a,
.hhc-article-footer a[rel="tag"] {
  color: var(--hhc-text-strong) !important;
  text-shadow: none !important;
  font-weight: 850 !important;
  opacity: 1 !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-tag,
html[data-hhc-color-mode="gunduz"] .hhc-tag-row a,
html[data-hhc-color-mode="gunduz"] .tag-cloud-link,
html[data-hhc-color-mode="gunduz"] .wp-block-tag-cloud a,
html[data-hhc-color-mode="gunduz"] .hhc-article-footer a[rel="tag"] {
  color: #07324d !important;
}

/* Daylight palette: make every component use light-scheme variables, not hardcoded dark leftovers. */
html[data-hhc-color-mode="gunduz"] {
  --hhc-input-bg: #ffffff;
  --hhc-panel-bg: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,254,.96));
  --hhc-soft-bg: #eef5fb;
}
html[data-hhc-color-mode="gunduz"] body {
  color: var(--hhc-text) !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-section,
html[data-hhc-color-mode="gunduz"] .hhc-card,
html[data-hhc-color-mode="gunduz"] .hhc-note-box,
html[data-hhc-color-mode="gunduz"] .hhc-review-box,
html[data-hhc-color-mode="gunduz"] .hhc-related-posts,
html[data-hhc-color-mode="gunduz"] .hhc-nav-card,
html[data-hhc-color-mode="gunduz"] .hhc-comments,
html[data-hhc-color-mode="gunduz"] .hhc-comment-list .comment-body,
html[data-hhc-color-mode="gunduz"] .comment-respond,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar .widget,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar-card,
html[data-hhc-color-mode="gunduz"] .hhc-widget,
html[data-hhc-color-mode="gunduz"] .widget {
  background: var(--hhc-panel-bg) !important;
  color: var(--hhc-text) !important;
  border-color: var(--hhc-border) !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-terminal,
html[data-hhc-color-mode="gunduz"] .hhc-code,
html[data-hhc-color-mode="gunduz"] .hhc-filetree,
html[data-hhc-color-mode="gunduz"] pre,
html[data-hhc-color-mode="gunduz"] .wp-block-code,
html[data-hhc-color-mode="gunduz"] .wp-block-preformatted {
  background: #111827 !important;
  color: #eef6ff !important;
}
html[data-hhc-color-mode="gunduz"] .hhc-alert-info { background: #e0f2fe !important; color:#0c4a6e !important; border-color:#7dd3fc !important; }
html[data-hhc-color-mode="gunduz"] .hhc-alert-success { background:#dcfce7 !important; color:#14532d !important; border-color:#86efac !important; }
html[data-hhc-color-mode="gunduz"] .hhc-alert-warning { background:#fef3c7 !important; color:#78350f !important; border-color:#facc15 !important; }
html[data-hhc-color-mode="gunduz"] .hhc-alert-danger { background:#fee2e2 !important; color:#7f1d1d !important; border-color:#fca5a5 !important; }

/* Keep loop-card image layout stable from 1.4.3/1.4.2 successful baseline. */
body article.hhc-loop-card .hhc-loop-card__content {
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr) !important;
  align-items: center !important;
}
body article.hhc-loop-card .hhc-loop-card__thumb {
  max-width: 280px !important;
  align-self: center !important;
}
@media (max-width: 760px) {
  body article.hhc-loop-card .hhc-loop-card__content {
    grid-template-columns: 1fr !important;
  }
  body article.hhc-loop-card .hhc-loop-card__thumb {
    max-width: min(100%, 330px) !important;
  }
  body article.hhc-loop-card .hhc-loop-card__footer {
    align-items: flex-start !important;
  }
  body article.hhc-loop-card .hhc-loop-card__more {
    margin-left: auto !important;
    text-align: right !important;
  }
}


/* HHC 1.4.9 - final consistency pass for loop cards and search forms.
   This block intentionally comes last to override older experimental rules. */

/* Search widgets/forms: use the active profile palette, never hardcoded leftovers. */
body .hhc-sidebar .search-form,
body .hhc-sidebar form[role="search"],
body .hhc-search-card .search-form,
body .hhc-search-form {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 10px !important;
  align-items: center !important;
  width: 100% !important;
  margin: 0 !important;
}

body .hhc-sidebar .search-form label,
body .hhc-search-form label {
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
  margin: 0 !important;
}

body .hhc-sidebar input[type="search"],
body .hhc-sidebar .search-field,
body .hhc-search-form input[type="search"],
body .hhc-search-form .search-field,
body input.search-field {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 42px !important;
  border-radius: 999px !important;
  border: 1px solid var(--hhc-border) !important;
  background: var(--hhc-input-bg) !important;
  color: var(--hhc-text-strong) !important;
  padding: 0 16px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05) !important;
}

body .hhc-sidebar input[type="submit"],
body .hhc-sidebar button[type="submit"],
body .hhc-sidebar .search-submit,
body .hhc-search-form input[type="submit"],
body .hhc-search-form button[type="submit"],
body .hhc-search-form .search-submit {
  min-height: 42px !important;
  border-radius: 999px !important;
  padding: 0 17px !important;
  white-space: nowrap !important;
  border: 1px solid color-mix(in srgb, var(--hhc-accent) 38%, var(--hhc-border)) !important;
  background: color-mix(in srgb, var(--hhc-accent) 22%, var(--hhc-surface-2)) !important;
  color: var(--hhc-text-strong) !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar input[type="search"],
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .search-field,
html[data-hhc-color-mode="gunduz"] body .hhc-search-form input[type="search"],
html[data-hhc-color-mode="gunduz"] body .hhc-search-form .search-field,
html[data-hhc-color-mode="gunduz"] body input.search-field {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: inset 0 1px 0 rgba(15,23,42,.04) !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar input[type="submit"],
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar button[type="submit"],
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .search-submit,
html[data-hhc-color-mode="gunduz"] body .hhc-search-form input[type="submit"],
html[data-hhc-color-mode="gunduz"] body .hhc-search-form button[type="submit"],
html[data-hhc-color-mode="gunduz"] body .hhc-search-form .search-submit {
  background: #e0f2fe !important;
  color: #0f172a !important;
  border-color: #bae6fd !important;
}

/* One authoritative loop-card layout for home, blog, archives and search. */
body .hhc-blog-feed,
body .hhc-post-list,
body .hhc-archive-main,
body.search .hhc-archive-main,
body.archive .hhc-archive-main,
body.blog .hhc-blog-feed,
body.home .hhc-blog-feed {
  display: grid !important;
  gap: 24px !important;
}

body article.hhc-loop-card {
  display: grid !important;
  grid-template-rows: auto auto auto !important;
  gap: 16px !important;
  padding: clamp(22px, 2vw, 30px) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  min-width: 0 !important;
  width: 100% !important;
}

body article.hhc-loop-card .hhc-loop-card__header {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}

body article.hhc-loop-card .hhc-loop-card__meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px 12px !important;
  margin: 0 0 10px !important;
}

body article.hhc-loop-card .hhc-loop-card__title,
body article.hhc-loop-card .hhc-loop-card__title a {
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  overflow-wrap: anywhere !important;
}

body article.hhc-loop-card--media .hhc-loop-card__content {
  display: grid !important;
  grid-template-columns: minmax(190px, 280px) minmax(0, 1fr) !important;
  gap: clamp(24px, 2.4vw, 34px) !important;
  align-items: center !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-loop-card--media .hhc-loop-card__thumb {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: 280px !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 !important;
  align-self: center !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: var(--hhc-code-bg) !important;
}

body article.hhc-loop-card--media .hhc-loop-card__thumb img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

body article.hhc-loop-card--media .hhc-loop-card__text {
  grid-column: 2 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  align-self: center !important;
  padding: 0 !important;
}

body article.hhc-loop-card--text .hhc-loop-card__content {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-loop-card--text .hhc-loop-card__text {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  padding: 0 !important;
}

body article.hhc-loop-card .hhc-loop-card__excerpt {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  color: var(--hhc-text) !important;
  font-size: clamp(.95rem, .98vw, 1.04rem) !important;
  line-height: 1.68 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body article.hhc-loop-card--media .hhc-loop-card__excerpt { -webkit-line-clamp: 6 !important; }
body article.hhc-loop-card--text .hhc-loop-card__excerpt { -webkit-line-clamp: 8 !important; }

body article.hhc-loop-card .hhc-loop-card__footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body article.hhc-loop-card .hhc-loop-card__tags,
body article.hhc-loop-card .hhc-tag-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body article.hhc-loop-card .hhc-loop-card__more {
  flex: 0 0 auto !important;
  margin-left: auto !important;
  align-self: center !important;
  text-align: right !important;
  white-space: nowrap !important;
}

@media (max-width: 760px) {
  body article.hhc-loop-card--media .hhc-loop-card__content {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body article.hhc-loop-card--media .hhc-loop-card__thumb,
  body article.hhc-loop-card--media .hhc-loop-card__text {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  body article.hhc-loop-card--media .hhc-loop-card__thumb {
    max-width: min(100%, 340px) !important;
    margin-inline: auto !important;
  }

  body article.hhc-loop-card .hhc-loop-card__footer {
    align-items: flex-start !important;
  }

  body article.hhc-loop-card .hhc-loop-card__more {
    align-self: flex-start !important;
    margin-left: auto !important;
  }
}

/* HHC 1.5.1 - updated styleguide and current capability coverage. */

/* Category badges should be clearly visible in both profiles. */
body .hhc-categories a,
body .hhc-meta-item.hhc-categories a,
body .hhc-loop-card__meta .hhc-categories a,
body .hhc-entry-meta .hhc-categories a,
body .hhc-related-meta .hhc-categories a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 26px !important;
  padding: 4px 12px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  color: #e7fbff !important;
  background: color-mix(in srgb, var(--hhc-accent) 28%, var(--hhc-surface-2)) !important;
  border: 1px solid color-mix(in srgb, var(--hhc-accent) 72%, var(--hhc-border)) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.035) inset !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-categories a,
html[data-hhc-color-mode="gunduz"] body .hhc-meta-item.hhc-categories a,
html[data-hhc-color-mode="gunduz"] body .hhc-loop-card__meta .hhc-categories a,
html[data-hhc-color-mode="gunduz"] body .hhc-entry-meta .hhc-categories a,
html[data-hhc-color-mode="gunduz"] body .hhc-related-meta .hhc-categories a {
  color: #03647b !important;
  background: #e6f8ff !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.05) !important;
}

body .hhc-categories a:hover,
body .hhc-meta-item.hhc-categories a:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* Related posts: titles are normal links, not tag-like outlined pills. */
body .hhc-related-posts .hhc-related-card h3,
body .hhc-related-posts .hhc-related-card h3 a,
body .hhc-related-posts .hhc-related-card .hhc-related-body h3,
body .hhc-related-posts .hhc-related-card .hhc-related-body h3 a {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--hhc-text-strong) !important;
  font-size: clamp(1rem, 1.1vw, 1.16rem) !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

body .hhc-related-posts .hhc-related-card h3 a:hover {
  color: var(--hhc-accent) !important;
  text-decoration: none !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-related-posts .hhc-related-card h3 a {
  color: #0f172a !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-related-posts .hhc-related-card h3 a:hover {
  color: #0284c7 !important;
}

/* HHC 1.6.0 - release candidate polish: readable shortcode showcase and publication-ready test page. */
.hhc-shortcode-section {
  overflow: hidden;
}

.hhc-shortcode-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.hhc-shortcode-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid color-mix(in srgb, var(--hhc-border) 84%, transparent);
  border-radius: 16px;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--hhc-surface-2) 82%, transparent),
    color-mix(in srgb, var(--hhc-code-bg) 28%, var(--hhc-surface) 72%)
  );
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}

.hhc-shortcode-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--hhc-text-strong);
  background: color-mix(in srgb, var(--hhc-accent) 15%, var(--hhc-surface-2));
  border: 1px solid color-mix(in srgb, var(--hhc-accent) 42%, var(--hhc-border));
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hhc-shortcode-code,
pre.hhc-shortcode-code {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  overflow-x: auto;
  color: #dff6ff;
  background: color-mix(in srgb, var(--hhc-code-bg) 92%, #0ea5e9 8%);
  border: 1px solid color-mix(in srgb, var(--hhc-border) 65%, transparent);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .88rem;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.hhc-shortcode-code code {
  color: inherit;
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
}

.hhc-demo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 130px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 20% 20%, rgba(56,189,248,.35), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #0c4a6e 52%, #38bdf8 100%);
  color: #fff;
  font-weight: 900;
  letter-spacing: .02em;
}

html[data-hhc-color-mode="gunduz"] .hhc-shortcode-item {
  background: linear-gradient(180deg, #f8fbff, #eef5fc);
  border-color: #d5e1ee;
  box-shadow: 0 10px 24px rgba(15,23,42,.07), inset 0 1px 0 rgba(255,255,255,.85);
}

html[data-hhc-color-mode="gunduz"] .hhc-shortcode-label {
  color: #075985;
  background: #e0f2fe;
  border-color: #7dd3fc;
}

html[data-hhc-color-mode="gunduz"] .hhc-shortcode-code,
html[data-hhc-color-mode="gunduz"] pre.hhc-shortcode-code {
  color: #e0f2fe;
  background: #0f172a;
  border-color: rgba(15,23,42,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

html[data-hhc-color-mode="gunduz"] .hhc-demo-image {
  background:
    radial-gradient(circle at 20% 20%, rgba(14,165,233,.35), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #0369a1 58%, #38bdf8 100%);
}

/* Make the test-page demo loop card use the current loop-card grammar. */
.hhc-styleguide article.hhc-loop-card {
  max-width: 100%;
}

@media (max-width: 680px) {
  .hhc-shortcode-item {
    grid-template-columns: 1fr;
  }
  .hhc-shortcode-label {
    justify-self: start;
  }
}

/* HHC 1.6.1 - safer shortcode showcase layout.
   Prevent shortcode examples from collapsing into narrow/vertical blocks in pasted pages. */
.hhc-shortcode-showcase {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.hhc-shortcode-item,
.hhc-shortcode-item.hhc-shortcode-item-wide {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 14px !important;
  overflow: hidden !important;
}

.hhc-shortcode-label {
  display: inline-flex !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 0 9px 0 !important;
  writing-mode: horizontal-tb !important;
  transform: none !important;
}

.hhc-shortcode-code,
pre.hhc-shortcode-code,
.hhc-shortcode-item code.hhc-shortcode-code {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  white-space: pre-wrap !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  writing-mode: horizontal-tb !important;
  text-orientation: mixed !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-shortcode-item {
  background: linear-gradient(180deg, #ffffff, #f4f8fc) !important;
  border-color: #cbd8e6 !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-shortcode-code,
html[data-hhc-color-mode="gunduz"] pre.hhc-shortcode-code,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-item code.hhc-shortcode-code {
  color: #dff6ff !important;
  background: #101827 !important;
  border-color: #334155 !important;
}

/* HHC 1.6.2 - publish candidate polish: readable shortcode code/result panels and stricter demo loop card. */
.hhc-styleguide-loop-demo article.hhc-loop-card--demo {
  width: 100% !important;
  max-width: 100% !important;
}

.hhc-styleguide-loop-demo article.hhc-loop-card--demo .hhc-loop-card__content {
  align-items: center !important;
}

.hhc-styleguide-loop-demo article.hhc-loop-card--demo .hhc-loop-card__thumb {
  box-shadow: 0 18px 42px rgba(2, 8, 23, .22) !important;
}

.hhc-shortcode-examples {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.hhc-shortcode-example {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--hhc-border);
  border-radius: 18px;
  background: var(--hhc-surface-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.hhc-shortcode-example-wide {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}

.hhc-shortcode-example-code,
.hhc-shortcode-example-result {
  min-width: 0;
  border: 1px solid var(--hhc-border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(2, 8, 23, .18);
}

.hhc-shortcode-example-code > code,
.hhc-shortcode-example-code > pre {
  display: block;
  width: 100%;
  margin: 8px 0 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: var(--hhc-code-bg);
  color: #dff6ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .86rem;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.hhc-shortcode-example-code > pre code {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

.hhc-shortcode-example-result > .hhc-shortcode-label,
.hhc-shortcode-example-code > .hhc-shortcode-label {
  margin-bottom: 8px !important;
}

.hhc-shortcode-example-result .hhc-alert,
.hhc-shortcode-example-result .hhc-note-box,
.hhc-shortcode-example-result .hhc-terminal {
  margin-top: 8px;
  margin-bottom: 0;
}

.hhc-terminal-mini pre {
  font-size: .78rem;
  line-height: 1.55;
}

html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example {
  background: linear-gradient(180deg, #ffffff, #f3f8fd);
  border-color: #d2deea;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .06);
}

html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-code,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-result {
  background: #f8fbff;
  border-color: #d6e2ef;
}

html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-code > code,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-code > pre {
  background: #0f172a;
  color: #e0f2fe;
  border-color: #334155;
}

@media (max-width: 820px) {
  .hhc-shortcode-example,
  .hhc-shortcode-example-wide {
    grid-template-columns: 1fr;
  }
}


/* v1.7.0 - Stable rollback marker.
   Hero/parallax experiments removed from production theme. */


/* v1.7.1 - Empty state and search form color consistency */
.hhc-empty-state,
.hhc-404 {
  padding: clamp(24px, 4vw, 44px);
  text-align: center;
  color: var(--hhc-text);
  background: var(--hhc-surface);
  border: 1px solid var(--hhc-border);
  border-radius: var(--hhc-radius-lg);
  box-shadow: var(--hhc-shadow);
}

.hhc-empty-state h1,
.hhc-empty-state h2,
.hhc-404 h1 {
  margin-top: 0;
  color: var(--hhc-text-strong);
}

.hhc-empty-state p,
.hhc-404 p {
  color: var(--hhc-muted);
}

.hhc-empty-state .hhc-search-form,
.hhc-404 .hhc-search-form {
  margin-left: auto;
  margin-right: auto;
}

.hhc-search-field,
.widget_search .search-field,
.wp-block-search__input,
input[type="search"] {
  background: var(--hhc-surface-2) !important;
  color: var(--hhc-text-strong) !important;
  border-color: var(--hhc-border) !important;
}

.hhc-search-field::placeholder,
.widget_search .search-field::placeholder,
.wp-block-search__input::placeholder,
input[type="search"]::placeholder {
  color: var(--hhc-muted) !important;
  opacity: 0.9;
}

.hhc-search-submit,
.wp-block-search__button,
.search-submit,
button[type="submit"] {
  background: color-mix(in srgb, var(--hhc-accent) 18%, var(--hhc-surface-2)) !important;
  color: var(--hhc-text-strong) !important;
  border-color: color-mix(in srgb, var(--hhc-accent) 38%, var(--hhc-border)) !important;
}

.hhc-search-submit:hover,
.wp-block-search__button:hover,
.search-submit:hover,
button[type="submit"]:hover {
  background: color-mix(in srgb, var(--hhc-accent) 28%, var(--hhc-surface-2)) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-empty-state,
html[data-hhc-color-mode="gunduz"] .hhc-404 {
  background: var(--hhc-surface) !important;
  color: var(--hhc-text) !important;
  border-color: var(--hhc-border) !important;
  box-shadow: var(--hhc-shadow);
}

html[data-hhc-color-mode="gunduz"] .hhc-empty-state h1,
html[data-hhc-color-mode="gunduz"] .hhc-empty-state h2,
html[data-hhc-color-mode="gunduz"] .hhc-404 h1 {
  color: var(--hhc-text-strong) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-empty-state p,
html[data-hhc-color-mode="gunduz"] .hhc-404 p {
  color: var(--hhc-muted) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-search-field,
html[data-hhc-color-mode="gunduz"] .widget_search .search-field,
html[data-hhc-color-mode="gunduz"] .wp-block-search__input,
html[data-hhc-color-mode="gunduz"] input[type="search"] {
  background: var(--hhc-surface-2) !important;
  color: var(--hhc-text-strong) !important;
  border-color: var(--hhc-border) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-search-submit,
html[data-hhc-color-mode="gunduz"] .wp-block-search__button,
html[data-hhc-color-mode="gunduz"] .search-submit,
html[data-hhc-color-mode="gunduz"] button[type="submit"] {
  background: color-mix(in srgb, var(--hhc-accent) 18%, var(--hhc-surface-2)) !important;
  color: var(--hhc-text-strong) !important;
  border-color: color-mix(in srgb, var(--hhc-accent) 38%, var(--hhc-border)) !important;
}

/* Empty archive/category pages should still use the same feed/sidebar geometry. */
.hhc-blog-feed > .hhc-empty-state {
  width: 100%;
  box-sizing: border-box;
}


/* v1.7.2 - Color contract audit
   All common WordPress outputs must consume HHC variables instead of fixed dark/light colors. */

/* Palette-derived helper variables. */
:root,
html[data-hhc-color-mode="gece"] {
  --hhc-input-bg: var(--hhc-input-bg, #0b1220);
  --hhc-control-bg: color-mix(in srgb, var(--hhc-input-bg) 88%, var(--hhc-surface) 12%);
  --hhc-control-bg-focus: color-mix(in srgb, var(--hhc-input-bg) 78%, var(--hhc-accent) 22%);
  --hhc-panel-bg: linear-gradient(180deg, color-mix(in srgb, var(--hhc-surface) 96%, transparent), color-mix(in srgb, var(--hhc-surface-2) 86%, transparent));
  --hhc-subtle-bg: color-mix(in srgb, var(--hhc-surface-2) 74%, transparent);
}

html[data-hhc-color-mode="gunduz"] {
  --hhc-input-bg: var(--hhc-input-bg, #eef4fb);
  --hhc-control-bg: color-mix(in srgb, var(--hhc-input-bg) 86%, var(--hhc-surface) 14%);
  --hhc-control-bg-focus: color-mix(in srgb, var(--hhc-input-bg) 76%, var(--hhc-accent) 24%);
  --hhc-panel-bg: linear-gradient(180deg, color-mix(in srgb, var(--hhc-surface) 98%, transparent), color-mix(in srgb, var(--hhc-surface-2) 88%, transparent));
  --hhc-subtle-bg: color-mix(in srgb, var(--hhc-surface-2) 72%, transparent);
}

/* Text inheritance safety. */
body,
.hhc-entry-content,
.hhc-entry-content p,
.hhc-section,
.hhc-card,
.hhc-note-box,
.hhc-review-box,
.hhc-comments,
.comment-respond,
.comment-body,
.hhc-sidebar,
.widget,
.wp-block-group {
  color: var(--hhc-text) !important;
}

h1, h2, h3, h4, h5, h6,
.hhc-entry-title,
.hhc-article-title,
.hhc-blog-header h1,
.hhc-section h1,
.hhc-section h2,
.hhc-section h3,
.comment-reply-title,
.comments-title,
.hhc-comments-title,
.widget-title,
.hhc-widget-title,
label {
  color: var(--hhc-text-strong) !important;
}

/* Panels/cards generated by WordPress, widgets, related posts and comments. */
.hhc-loop-card,
.hhc-section,
.hhc-card,
.hhc-note-box,
.hhc-review-box,
.hhc-related-posts,
.hhc-post-nav-stack,
.hhc-nav-card,
.hhc-comments,
.comment-respond,
.comment-body,
.hhc-empty-state,
.hhc-404,
.hhc-sidebar .widget,
.hhc-sidebar-card,
.hhc-widget,
.widget,
.wp-block-group,
.wp-block-latest-posts,
.wp-block-latest-comments {
  background: var(--hhc-panel-bg) !important;
  color: var(--hhc-text) !important;
  border-color: var(--hhc-border) !important;
}

/* All normal form controls: comment form, search, sidebar widgets, WordPress blocks. */
input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
textarea,
select,
.hhc-search-field,
.search-field,
.wp-block-search__input,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
#comment,
#author,
#email,
#url {
  width: 100%;
  color: var(--hhc-text-strong) !important;
  background: var(--hhc-control-bg) !important;
  border: 1px solid var(--hhc-border) !important;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--hhc-text-strong) 7%, transparent) !important;
  caret-color: var(--hhc-accent) !important;
}

input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus,
.hhc-search-field:focus,
.search-field:focus,
.wp-block-search__input:focus,
.comment-form textarea:focus,
#comment:focus,
#author:focus,
#email:focus,
#url:focus {
  background: var(--hhc-control-bg-focus) !important;
  color: var(--hhc-text-strong) !important;
  border-color: color-mix(in srgb, var(--hhc-accent) 58%, var(--hhc-border)) !important;
  outline: none !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--hhc-accent) 16%, transparent), inset 0 1px 0 color-mix(in srgb, var(--hhc-text-strong) 9%, transparent) !important;
}

input::placeholder,
textarea::placeholder,
.hhc-search-field::placeholder,
.search-field::placeholder,
.wp-block-search__input::placeholder {
  color: var(--hhc-muted) !important;
  opacity: .85 !important;
}

/* Comment form specifics. */
.comment-respond {
  border-radius: var(--hhc-radius-lg) !important;
  padding: clamp(20px, 2.6vw, 36px) !important;
}

.comment-form label,
.comment-notes,
.logged-in-as,
.comment-form-cookies-consent,
.comment-form-cookies-consent label,
.akismet_comment_form_privacy_notice,
.comment-form .required {
  color: var(--hhc-text) !important;
}

.comment-form label {
  color: var(--hhc-text-strong) !important;
}

.comment-form-cookies-consent input[type="checkbox"],
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--hhc-accent) !important;
}

/* Buttons and submit controls. */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.hhc-button,
.hhc-search-submit,
.search-submit,
.wp-block-search__button,
.form-submit .submit {
  color: color-mix(in srgb, var(--hhc-text-strong) 92%, var(--hhc-bg) 8%) !important;
  background: linear-gradient(135deg, color-mix(in srgb, var(--hhc-accent) 92%, white 8%), color-mix(in srgb, var(--hhc-accent) 70%, var(--hhc-surface-2) 30%)) !important;
  border: 1px solid color-mix(in srgb, var(--hhc-accent) 52%, var(--hhc-border)) !important;
  box-shadow: var(--hhc-shadow-soft) !important;
}

button:hover,
input[type="submit"]:hover,
.hhc-button:hover,
.hhc-search-submit:hover,
.search-submit:hover,
.wp-block-search__button:hover,
.form-submit .submit:hover {
  filter: brightness(1.05);
  text-decoration: none !important;
}

/* Tables, code, terminal and pre blocks stay readable in both modes. */
table,
.hhc-table,
.wp-block-table table {
  color: var(--hhc-text) !important;
  border-color: var(--hhc-border) !important;
}

th,
.hhc-table th,
.wp-block-table th {
  color: var(--hhc-text-strong) !important;
  background: var(--hhc-subtle-bg) !important;
}

td,
.hhc-table td,
.wp-block-table td {
  border-color: var(--hhc-border) !important;
}

pre,
code,
.hhc-code,
.hhc-terminal,
.hhc-filetree {
  background: var(--hhc-code-bg) !important;
  color: #e5eefc !important;
  border-color: color-mix(in srgb, var(--hhc-border) 86%, var(--hhc-accent) 14%) !important;
}

/* Empty archive / 404 / search no-results. */
.hhc-empty-state,
.hhc-404 {
  text-align: center;
}

.hhc-empty-state p,
.hhc-404 p {
  color: var(--hhc-muted) !important;
}

/* WordPress default oddities. */
.wp-caption,
.gallery-caption,
.wp-block-quote,
blockquote {
  color: var(--hhc-text) !important;
  background: var(--hhc-subtle-bg) !important;
  border-color: color-mix(in srgb, var(--hhc-accent) 46%, var(--hhc-border)) !important;
}

/* Explicit light-mode safety: no form control may keep the dark terminal/code background. */
html[data-hhc-color-mode="gunduz"] input:not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]),
html[data-hhc-color-mode="gunduz"] textarea,
html[data-hhc-color-mode="gunduz"] select,
html[data-hhc-color-mode="gunduz"] .hhc-search-field,
html[data-hhc-color-mode="gunduz"] .search-field,
html[data-hhc-color-mode="gunduz"] .wp-block-search__input,
html[data-hhc-color-mode="gunduz"] .comment-form input[type="text"],
html[data-hhc-color-mode="gunduz"] .comment-form input[type="email"],
html[data-hhc-color-mode="gunduz"] .comment-form input[type="url"],
html[data-hhc-color-mode="gunduz"] .comment-form textarea,
html[data-hhc-color-mode="gunduz"] #comment,
html[data-hhc-color-mode="gunduz"] #author,
html[data-hhc-color-mode="gunduz"] #email,
html[data-hhc-color-mode="gunduz"] #url {
  background: var(--hhc-control-bg) !important;
  color: var(--hhc-text-strong) !important;
  border-color: var(--hhc-border) !important;
}


/* v1.7.3 - Optional archive/category header */
.hhc-blog-feed > .hhc-post-list:first-child,
.hhc-blog-feed > .hhc-post-list:first-child .hhc-loop-card:first-child {
  margin-top: 0;
}


/* v1.7.4 - Daylight code contrast policy
   Terminal/Bash stays dark. Generic code, file tree and shortcode demo boxes follow light theme. */

/* Terminal/Bash window is intentionally dark in both profiles. */
.hhc-terminal,
.hhc-terminal pre,
.hhc-terminal code,
pre.hhc-terminal,
pre.hhc-bash,
pre.hhc-shell,
pre.language-bash,
pre.language-shell,
pre.language-sh,
pre.language-console,
pre.language-terminal,
.wp-block-code.language-bash,
.wp-block-code.language-shell {
  background: #050816 !important;
  color: #e5eefc !important;
  border-color: color-mix(in srgb, var(--hhc-accent) 34%, #0f172a 66%) !important;
}

.hhc-terminal-header {
  background: linear-gradient(180deg, #111827, #0b1220) !important;
  border-bottom-color: rgba(148, 163, 184, 0.18) !important;
}

/* Gündüz modunda terminal dışındaki kod/örnek alanları koyu gece kartı gibi kalmasın. */
html[data-hhc-color-mode="gunduz"] .hhc-entry-content pre:not(.hhc-terminal pre):not(.hhc-code-dark):not(.hhc-bash):not(.hhc-shell):not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal),
html[data-hhc-color-mode="gunduz"] .hhc-code:not(.hhc-code-dark):not(.hhc-bash):not(.hhc-shell),
html[data-hhc-color-mode="gunduz"] .hhc-filetree,
html[data-hhc-color-mode="gunduz"] .wp-block-code:not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal),
html[data-hhc-color-mode="gunduz"] .wp-block-preformatted,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-code,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-result,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-item,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-showcase .hhc-shortcode-item {
  background: color-mix(in srgb, var(--hhc-surface-2) 78%, white 22%) !important;
  color: var(--hhc-text-strong) !important;
  border-color: var(--hhc-border) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.82), var(--hhc-shadow-soft) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-code:not(.hhc-code-dark):not(.hhc-bash):not(.hhc-shell) code,
html[data-hhc-color-mode="gunduz"] .hhc-filetree code,
html[data-hhc-color-mode="gunduz"] .wp-block-code:not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal) code,
html[data-hhc-color-mode="gunduz"] .wp-block-preformatted code,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-code code,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-result code,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-item code {
  color: var(--hhc-text-strong) !important;
}

/* Inline code is light readable in daytime, but not inside terminal. */
html[data-hhc-color-mode="gunduz"] :not(pre):not(.hhc-terminal) > code {
  color: color-mix(in srgb, var(--hhc-accent) 55%, var(--hhc-text-strong) 45%) !important;
  background: color-mix(in srgb, var(--hhc-accent) 10%, var(--hhc-surface-2) 90%) !important;
  border: 1px solid color-mix(in srgb, var(--hhc-accent) 22%, var(--hhc-border) 78%) !important;
}

/* If user explicitly wants dark generic code, add class="hhc-code-dark". */
.hhc-code-dark,
.hhc-code-dark code {
  background: #050816 !important;
  color: #e5eefc !important;
}

/* Demo/result captions and labels should also follow theme. */
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-label,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-title,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example strong {
  color: var(--hhc-text-strong) !important;
}


/* v1.7.5 - Final daytime code/readability override
   Goal: In light mode ONLY terminal/bash blocks stay dark.
   Every other code/example block becomes light, and all child spans/tokens stop painting black bars. */

/* 1) Terminal/Bash stays dark intentionally. */
.hhc-terminal,
.hhc-terminal *,
pre.hhc-terminal,
pre.hhc-terminal *,
pre.hhc-bash,
pre.hhc-bash *,
pre.hhc-shell,
pre.hhc-shell *,
pre.language-bash,
pre.language-bash *,
pre.language-shell,
pre.language-shell *,
pre.language-sh,
pre.language-sh *,
pre.language-console,
pre.language-console *,
pre.language-terminal,
pre.language-terminal *,
.wp-block-code.language-bash,
.wp-block-code.language-bash *,
.wp-block-code.language-shell,
.wp-block-code.language-shell *,
.wp-block-code.language-console,
.wp-block-code.language-console *,
.wp-block-code.language-terminal,
.wp-block-code.language-terminal * {
  background-color: #050816 !important;
  color: #e5eefc !important;
}

/* Terminal header keeps its own top bar. */
.hhc-terminal .hhc-terminal-header,
.hhc-terminal .hhc-terminal-header * {
  background-color: transparent !important;
}

/* 2) Light mode: normal code/example boxes must NOT look like night terminal. */
html[data-hhc-color-mode="gunduz"] pre:not(.hhc-terminal):not(.hhc-bash):not(.hhc-shell):not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark),
html[data-hhc-color-mode="gunduz"] .hhc-code:not(.hhc-code-dark):not(.hhc-terminal):not(.hhc-bash):not(.hhc-shell),
html[data-hhc-color-mode="gunduz"] .hhc-filetree,
html[data-hhc-color-mode="gunduz"] .wp-block-code:not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark),
html[data-hhc-color-mode="gunduz"] .wp-block-preformatted,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-code,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-result,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-item,
html[data-hhc-color-mode="gunduz"] .hhc-example-code,
html[data-hhc-color-mode="gunduz"] .hhc-example-result,
html[data-hhc-color-mode="gunduz"] .hhc-demo-code,
html[data-hhc-color-mode="gunduz"] .hhc-demo-result {
  background: #f8fbff !important;
  background-color: #f8fbff !important;
  color: #0f172a !important;
  border-color: #cbd8e6 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 14px 34px rgba(15,23,42,.08) !important;
}

/* 3) The actual bug in the screenshot: child spans/tokens inside light code were still painting dark backgrounds.
      Force all descendants in non-terminal light code to transparent backgrounds. */
html[data-hhc-color-mode="gunduz"] pre:not(.hhc-terminal):not(.hhc-bash):not(.hhc-shell):not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark) *,
html[data-hhc-color-mode="gunduz"] .hhc-code:not(.hhc-code-dark):not(.hhc-terminal):not(.hhc-bash):not(.hhc-shell) *,
html[data-hhc-color-mode="gunduz"] .hhc-filetree *,
html[data-hhc-color-mode="gunduz"] .wp-block-code:not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark) *,
html[data-hhc-color-mode="gunduz"] .wp-block-preformatted *,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-code *,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-example-result *,
html[data-hhc-color-mode="gunduz"] .hhc-shortcode-item *,
html[data-hhc-color-mode="gunduz"] .hhc-example-code *,
html[data-hhc-color-mode="gunduz"] .hhc-example-result *,
html[data-hhc-color-mode="gunduz"] .hhc-demo-code *,
html[data-hhc-color-mode="gunduz"] .hhc-demo-result * {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* 4) Readable token colors for common highlighters in light mode. */
html[data-hhc-color-mode="gunduz"] pre:not(.hhc-terminal):not(.hhc-bash):not(.hhc-shell):not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark),
html[data-hhc-color-mode="gunduz"] pre:not(.hhc-terminal):not(.hhc-bash):not(.hhc-shell):not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark) code,
html[data-hhc-color-mode="gunduz"] .hhc-code:not(.hhc-code-dark) code,
html[data-hhc-color-mode="gunduz"] .hhc-filetree code,
html[data-hhc-color-mode="gunduz"] .wp-block-code:not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark) code,
html[data-hhc-color-mode="gunduz"] .wp-block-preformatted code,
html[data-hhc-color-mode="gunduz"] .hljs,
html[data-hhc-color-mode="gunduz"] .prism,
html[data-hhc-color-mode="gunduz"] .token {
  color: #0f172a !important;
}

/* Prism/Highlight-ish token palette, still transparent background. */
html[data-hhc-color-mode="gunduz"] .token.comment,
html[data-hhc-color-mode="gunduz"] .token.prolog,
html[data-hhc-color-mode="gunduz"] .token.doctype,
html[data-hhc-color-mode="gunduz"] .token.cdata,
html[data-hhc-color-mode="gunduz"] .hljs-comment,
html[data-hhc-color-mode="gunduz"] .hljs-quote {
  color: #64748b !important;
}

html[data-hhc-color-mode="gunduz"] .token.keyword,
html[data-hhc-color-mode="gunduz"] .token.selector,
html[data-hhc-color-mode="gunduz"] .hljs-keyword,
html[data-hhc-color-mode="gunduz"] .hljs-selector-tag {
  color: #2563eb !important;
}

html[data-hhc-color-mode="gunduz"] .token.string,
html[data-hhc-color-mode="gunduz"] .token.attr-value,
html[data-hhc-color-mode="gunduz"] .hljs-string {
  color: #047857 !important;
}

html[data-hhc-color-mode="gunduz"] .token.number,
html[data-hhc-color-mode="gunduz"] .token.boolean,
html[data-hhc-color-mode="gunduz"] .token.function,
html[data-hhc-color-mode="gunduz"] .hljs-number,
html[data-hhc-color-mode="gunduz"] .hljs-function {
  color: #9333ea !important;
}

html[data-hhc-color-mode="gunduz"] .token.property,
html[data-hhc-color-mode="gunduz"] .token.tag,
html[data-hhc-color-mode="gunduz"] .token.attr-name,
html[data-hhc-color-mode="gunduz"] .hljs-attribute,
html[data-hhc-color-mode="gunduz"] .hljs-name {
  color: #b45309 !important;
}

/* 5) Copy buttons must remain visible and not inherit the code background reset. */
html[data-hhc-color-mode="gunduz"] .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .hhc-code-copy,
html[data-hhc-color-mode="gunduz"] .copy-button,
html[data-hhc-color-mode="gunduz"] button[data-copy],
html[data-hhc-color-mode="gunduz"] .hhc-terminal .hhc-copy-button {
  background: #38bdf8 !important;
  color: #082f49 !important;
  border-color: #7dd3fc !important;
  box-shadow: 0 8px 22px rgba(14,165,233,.22) !important;
}

/* 6) Dark forced normal code remains available. */
.hhc-code-dark,
.hhc-code-dark *,
pre.hhc-code-dark,
pre.hhc-code-dark * {
  background-color: #050816 !important;
  color: #e5eefc !important;
}

/* v1.7.6 - Sidebar cleanup + robust Bash/terminal body.
   This block intentionally comes last. It fixes the 1.7.5 side-widget divider noise
   and makes terminal/bash interiors a single dark surface in both color profiles. */

/* Sidebar cards stay as cards; menu/list/title separator lines are removed. */
body .hhc-sidebar .hhc-widget,
body .hhc-sidebar .widget,
body .hhc-front-sidebar .hhc-sidebar-card,
body .hhc-sidebar-card {
  overflow: hidden !important;
}

body .hhc-sidebar .hhc-widget::before,
body .hhc-sidebar .widget::before,
body .hhc-front-sidebar .hhc-sidebar-card::before,
body .hhc-sidebar-card::before {
  display: none !important;
  content: none !important;
}

body .hhc-sidebar .widget-title,
body .hhc-sidebar-card h2,
body .hhc-widget .widget-title,
body .hhc-sidebar h2,
body .hhc-sidebar h3,
body .hhc-front-sidebar h2,
body .hhc-front-sidebar h3,
body .hhc-sidebar .wp-block-tag-cloud::before,
body .hhc-sidebar .tagcloud::before,
body .hhc-sidebar .wp-block-latest-posts::before,
body .hhc-sidebar .wp-block-latest-comments::before,
body .hhc-sidebar .wp-block-archives::before,
body .hhc-sidebar .wp-block-categories::before {
  padding: 0 !important;
  margin: 0 0 12px !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body .hhc-sidebar ul,
body .hhc-sidebar ol,
body .hhc-front-sidebar ul,
body .hhc-front-sidebar ol {
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

body .hhc-sidebar li,
body .hhc-front-sidebar li,
body .hhc-sidebar .widget_recent_comments li,
body .hhc-sidebar .wp-block-latest-comments__comment,
body .hhc-sidebar .has-avatars .wp-block-latest-comments__comment {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body .hhc-sidebar li + li,
body .hhc-front-sidebar li + li,
body .hhc-sidebar .wp-block-latest-comments__comment + .wp-block-latest-comments__comment {
  margin-top: 10px !important;
}

body .hhc-sidebar a,
body .hhc-front-sidebar a {
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body .hhc-sidebar a:hover,
body .hhc-front-sidebar a:hover {
  text-decoration: none !important;
}

/* Tag cloud and badge rows in sidebar should remain chip-like, not menu-like. */
body .hhc-sidebar .tagcloud,
body .hhc-sidebar .wp-block-tag-cloud,
body .hhc-front-sidebar .tagcloud,
body .hhc-front-sidebar .wp-block-tag-cloud {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: flex-start !important;
}

body .hhc-sidebar .tagcloud a,
body .hhc-sidebar .wp-block-tag-cloud a,
body .hhc-front-sidebar .tagcloud a,
body .hhc-front-sidebar .wp-block-tag-cloud a {
  margin: 0 !important;
  border: 1px solid color-mix(in srgb, var(--hhc-accent) 24%, var(--hhc-border) 76%) !important;
  box-shadow: none !important;
}

/* Terminal/Bash windows: frame and header remain, interior is one dark surface. */
.hhc-terminal,
pre.hhc-terminal,
pre.hhc-bash,
pre.hhc-shell,
pre.language-bash,
pre.language-shell,
pre.language-sh,
pre.language-console,
pre.language-terminal,
pre:has(> code.language-bash),
pre:has(> code.language-shell),
pre:has(> code.language-sh),
pre:has(> code.language-console),
pre:has(> code.language-terminal),
.hhc-code.hhc-bash,
.hhc-code.hhc-shell,
.hhc-code:has(code.language-bash),
.hhc-code:has(code.language-shell),
.hhc-code:has(code.language-sh),
.hhc-code:has(code.language-console),
.hhc-code:has(code.language-terminal),
.wp-block-code.language-bash,
.wp-block-code.language-shell,
.wp-block-code.language-sh,
.wp-block-code.language-console,
.wp-block-code.language-terminal,
.wp-block-code:has(code.language-bash),
.wp-block-code:has(code.language-shell),
.wp-block-code:has(code.language-sh),
.wp-block-code:has(code.language-console),
.wp-block-code:has(code.language-terminal) {
  background: #050816 !important;
  background-color: #050816 !important;
  color: #e5eefc !important;
  border-color: color-mix(in srgb, var(--hhc-accent) 34%, #0f172a 66%) !important;
}

.hhc-terminal-header {
  background: linear-gradient(180deg, #111827, #0b1220) !important;
  background-color: #0b1220 !important;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18) !important;
}

.hhc-terminal .hhc-dot,
.hhc-dot {
  width: 10px !important;
  height: 10px !important;
  border-radius: 999px !important;
  background: #475569 !important;
}
.hhc-terminal .hhc-dot:nth-child(1),
.hhc-dot:nth-child(1) { background: #fb7185 !important; }
.hhc-terminal .hhc-dot:nth-child(2),
.hhc-dot:nth-child(2) { background: #fbbf24 !important; }
.hhc-terminal .hhc-dot:nth-child(3),
.hhc-dot:nth-child(3) { background: #34d399 !important; }

.hhc-terminal-title {
  color: #9ca8bd !important;
}

.hhc-terminal pre,
.hhc-terminal pre code,
pre.hhc-terminal code,
pre.hhc-bash code,
pre.hhc-shell code,
pre.language-bash code,
pre.language-shell code,
pre.language-sh code,
pre.language-console code,
pre.language-terminal code,
pre:has(> code.language-bash) code,
pre:has(> code.language-shell) code,
pre:has(> code.language-sh) code,
pre:has(> code.language-console) code,
pre:has(> code.language-terminal) code,
.hhc-code.hhc-bash code,
.hhc-code.hhc-shell code,
.hhc-code:has(code.language-bash) code,
.hhc-code:has(code.language-shell) code,
.hhc-code:has(code.language-sh) code,
.hhc-code:has(code.language-console) code,
.hhc-code:has(code.language-terminal) code,
.wp-block-code.language-bash code,
.wp-block-code.language-shell code,
.wp-block-code.language-sh code,
.wp-block-code.language-console code,
.wp-block-code.language-terminal code,
.wp-block-code:has(code.language-bash) code,
.wp-block-code:has(code.language-shell) code,
.wp-block-code:has(code.language-sh) code,
.wp-block-code:has(code.language-console) code,
.wp-block-code:has(code.language-terminal) code {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  border: 0 !important;
  box-shadow: none !important;
}

.hhc-terminal pre *,
.hhc-terminal pre code *,
pre.hhc-terminal *,
pre.hhc-bash *,
pre.hhc-shell *,
pre.language-bash *,
pre.language-shell *,
pre.language-sh *,
pre.language-console *,
pre.language-terminal *,
pre:has(> code.language-bash) *,
pre:has(> code.language-shell) *,
pre:has(> code.language-sh) *,
pre:has(> code.language-console) *,
pre:has(> code.language-terminal) *,
.hhc-code.hhc-bash *,
.hhc-code.hhc-shell *,
.hhc-code:has(code.language-bash) *,
.hhc-code:has(code.language-shell) *,
.hhc-code:has(code.language-sh) *,
.hhc-code:has(code.language-console) *,
.hhc-code:has(code.language-terminal) *,
.wp-block-code.language-bash *,
.wp-block-code.language-shell *,
.wp-block-code.language-sh *,
.wp-block-code.language-console *,
.wp-block-code.language-terminal *,
.wp-block-code:has(code.language-bash) *,
.wp-block-code:has(code.language-shell) *,
.wp-block-code:has(code.language-sh) *,
.wp-block-code:has(code.language-console) *,
.wp-block-code:has(code.language-terminal) * {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  border-color: transparent !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-terminal,
html[data-hhc-color-mode="gunduz"] pre.hhc-terminal,
html[data-hhc-color-mode="gunduz"] pre.hhc-bash,
html[data-hhc-color-mode="gunduz"] pre.hhc-shell,
html[data-hhc-color-mode="gunduz"] pre.language-bash,
html[data-hhc-color-mode="gunduz"] pre.language-shell,
html[data-hhc-color-mode="gunduz"] pre.language-sh,
html[data-hhc-color-mode="gunduz"] pre.language-console,
html[data-hhc-color-mode="gunduz"] pre.language-terminal,
html[data-hhc-color-mode="gunduz"] pre:has(> code.language-bash),
html[data-hhc-color-mode="gunduz"] pre:has(> code.language-shell),
html[data-hhc-color-mode="gunduz"] pre:has(> code.language-sh),
html[data-hhc-color-mode="gunduz"] pre:has(> code.language-console),
html[data-hhc-color-mode="gunduz"] pre:has(> code.language-terminal),
html[data-hhc-color-mode="gunduz"] .hhc-code.hhc-bash,
html[data-hhc-color-mode="gunduz"] .hhc-code.hhc-shell,
html[data-hhc-color-mode="gunduz"] .hhc-code:has(code.language-bash),
html[data-hhc-color-mode="gunduz"] .hhc-code:has(code.language-shell),
html[data-hhc-color-mode="gunduz"] .hhc-code:has(code.language-sh),
html[data-hhc-color-mode="gunduz"] .hhc-code:has(code.language-console),
html[data-hhc-color-mode="gunduz"] .hhc-code:has(code.language-terminal),
html[data-hhc-color-mode="gunduz"] .wp-block-code.language-bash,
html[data-hhc-color-mode="gunduz"] .wp-block-code.language-shell,
html[data-hhc-color-mode="gunduz"] .wp-block-code.language-sh,
html[data-hhc-color-mode="gunduz"] .wp-block-code.language-console,
html[data-hhc-color-mode="gunduz"] .wp-block-code.language-terminal,
html[data-hhc-color-mode="gunduz"] .wp-block-code:has(code.language-bash),
html[data-hhc-color-mode="gunduz"] .wp-block-code:has(code.language-shell),
html[data-hhc-color-mode="gunduz"] .wp-block-code:has(code.language-sh),
html[data-hhc-color-mode="gunduz"] .wp-block-code:has(code.language-console),
html[data-hhc-color-mode="gunduz"] .wp-block-code:has(code.language-terminal) {
  background: #050816 !important;
  background-color: #050816 !important;
  color: #e5eefc !important;
}

/* Normal hhc-code and hhc-filetree are still light in daylight unless marked as bash/shell/terminal. */
html[data-hhc-color-mode="gunduz"] pre.hhc-code:not(.hhc-code-dark):not(.hhc-bash):not(.hhc-shell):not(:has(code.language-bash)):not(:has(code.language-shell)):not(:has(code.language-sh)):not(:has(code.language-console)):not(:has(code.language-terminal)),
html[data-hhc-color-mode="gunduz"] .hhc-code:not(.hhc-code-dark):not(.hhc-bash):not(.hhc-shell):not(:has(code.language-bash)):not(:has(code.language-shell)):not(:has(code.language-sh)):not(:has(code.language-console)):not(:has(code.language-terminal)),
html[data-hhc-color-mode="gunduz"] .hhc-filetree,
html[data-hhc-color-mode="gunduz"] .wp-block-preformatted:not(:has(code.language-bash)):not(:has(code.language-shell)):not(:has(code.language-sh)):not(:has(code.language-console)):not(:has(code.language-terminal)) {
  background: #f8fbff !important;
  background-color: #f8fbff !important;
  color: #0f172a !important;
  border-color: #cbd8e6 !important;
}

/* v1.7.7 - Authoritative sidebar surface normalization.
   No new content/docs. Fixes right-side block internals in both Gece and Gündüz. */

/* Sidebar cards own the surface. Inner plugin/block wrappers must not paint their own boxes. */
body .hhc-sidebar .hhc-widget,
body .hhc-sidebar .widget,
body .hhc-front-sidebar .hhc-sidebar-card,
body .hhc-sidebar-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.010)),
    rgba(15, 25, 41, .78) !important;
  color: var(--hhc-text) !important;
  border: 1px solid rgba(148, 163, 184, .16) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16) !important;
  overflow: hidden !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .hhc-widget,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .widget,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .hhc-sidebar-card,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
  color: #334155 !important;
  border-color: #d7e2ee !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .09) !important;
}

/* Reset noisy inner surfaces without touching the card itself, search controls or tag chips. */
body .hhc-sidebar :where(.wp-block-group, .wp-block-columns, .wp-block-column, .wp-block-latest-posts, .wp-block-latest-comments, .wp-block-archives, .wp-block-categories, .widget_recent_entries, .widget_recent_comments, .widget_categories, .widget_archive, .widget_pages, .widget_meta, .widget_nav_menu, .hhc-gs-box, .hhc-gs-quote, nav, ul, ol, li, p, blockquote, section, article):not(.hhc-widget):not(.widget):not(.hhc-sidebar-card):not(.tagcloud):not(.wp-block-tag-cloud):not(.hhc-terminal):not(.hhc-terminal-header),
body .hhc-front-sidebar :where(.wp-block-group, .wp-block-columns, .wp-block-column, .wp-block-latest-posts, .wp-block-latest-comments, .wp-block-archives, .wp-block-categories, .widget_recent_entries, .widget_recent_comments, .widget_categories, .widget_archive, .widget_pages, .widget_meta, .widget_nav_menu, .hhc-gs-box, .hhc-gs-quote, nav, ul, ol, li, p, blockquote, section, article):not(.hhc-widget):not(.widget):not(.hhc-sidebar-card):not(.tagcloud):not(.wp-block-tag-cloud):not(.hhc-terminal):not(.hhc-terminal-header) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Text, links and headings inside side blocks are controlled by the active profile. */
body .hhc-sidebar :where(p, li, span, small, time, cite, figcaption),
body .hhc-front-sidebar :where(p, li, span, small, time, cite, figcaption) {
  color: var(--hhc-text) !important;
  background: transparent !important;
}

body .hhc-sidebar :where(.widget-title, h2, h3, .hhc-gs-kicker),
body .hhc-front-sidebar :where(.widget-title, h2, h3, .hhc-gs-kicker),
body .hhc-sidebar .wp-block-tag-cloud::before,
body .hhc-sidebar .tagcloud::before,
body .hhc-sidebar .wp-block-latest-posts::before,
body .hhc-sidebar .wp-block-latest-comments::before,
body .hhc-sidebar .wp-block-archives::before,
body .hhc-sidebar .wp-block-categories::before {
  color: var(--hhc-accent) !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
}

body .hhc-sidebar a,
body .hhc-front-sidebar a {
  color: var(--hhc-accent) !important;
  background: transparent !important;
  background-color: transparent !important;
  text-decoration: none !important;
  border: 0 !important;
  box-shadow: none !important;
}

body .hhc-sidebar a:hover,
body .hhc-front-sidebar a:hover {
  color: var(--hhc-accent-2) !important;
  background: transparent !important;
  text-decoration: none !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar :where(p, li, span, small, time, cite, figcaption),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar :where(p, li, span, small, time, cite, figcaption) {
  color: #475569 !important;
  background: transparent !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar :where(.widget-title, h2, h3, .hhc-gs-kicker),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar :where(.widget-title, h2, h3, .hhc-gs-kicker),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud::before,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud::before,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-latest-posts::before,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-latest-comments::before,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-archives::before,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-categories::before {
  color: #0f172a !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar a,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar a {
  color: #0369a1 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar a:hover {
  color: #075985 !important;
  background: transparent !important;
}

/* Sidebar lists: no extra lines, no dark strips, consistent spacing. */
body .hhc-sidebar :where(li, .wp-block-latest-comments__comment),
body .hhc-front-sidebar :where(li, .wp-block-latest-comments__comment) {
  border: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body .hhc-sidebar :where(ul, ol),
body .hhc-front-sidebar :where(ul, ol) {
  margin: 0 !important;
  padding-left: 0 !important;
  list-style-position: inside !important;
}

body .hhc-sidebar li + li,
body .hhc-front-sidebar li + li,
body .hhc-sidebar .wp-block-latest-comments__comment + .wp-block-latest-comments__comment {
  margin-top: 9px !important;
}

/* Search widgets keep their own controls, but the wrapper stays transparent. */
body .hhc-sidebar :where(.search-form, .hhc-search-form, form[role="search"]),
body .hhc-front-sidebar :where(.search-form, .hhc-search-form, form[role="search"]) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar input[type="search"],
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .search-field,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar input[type="search"],
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .search-field {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .04) !important;
}

/* Tag cloud chips are the only intentional mini-backgrounds inside sidebar. */
body .hhc-sidebar :where(.tagcloud, .wp-block-tag-cloud),
body .hhc-front-sidebar :where(.tagcloud, .wp-block-tag-cloud) {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body .hhc-sidebar :where(.tagcloud a, .wp-block-tag-cloud a, .tag-cloud-link),
body .hhc-front-sidebar :where(.tagcloud a, .wp-block-tag-cloud a, .tag-cloud-link) {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 25px !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  border: 1px solid color-mix(in srgb, var(--hhc-accent) 26%, var(--hhc-border) 74%) !important;
  background: color-mix(in srgb, var(--hhc-accent) 12%, transparent) !important;
  color: var(--hhc-text-strong) !important;
  box-shadow: none !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar :where(.tagcloud a, .wp-block-tag-cloud a, .tag-cloud-link),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar :where(.tagcloud a, .wp-block-tag-cloud a, .tag-cloud-link) {
  background: #eff6ff !important;
  color: #0f172a !important;
  border-color: #bfdbfe !important;
}

/* Plugin quote block in sidebar: no nested colored box. */
body .hhc-sidebar .hhc-gs-quote,
body .hhc-front-sidebar .hhc-gs-quote {
  border-left: 3px solid color-mix(in srgb, var(--hhc-accent) 62%, var(--hhc-border) 38%) !important;
  padding-left: 12px !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .hhc-gs-quote,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .hhc-gs-quote {
  border-left-color: #7dd3fc !important;
}

/* Terminal/Bash safety after sidebar reset. */
.hhc-terminal,
.hhc-terminal pre,
.hhc-terminal code,
pre.hhc-terminal,
pre.hhc-bash,
pre.hhc-shell,
pre.language-bash,
pre.language-shell,
pre.language-sh,
pre.language-console,
pre.language-terminal,
.wp-block-code.language-bash,
.wp-block-code.language-shell,
.wp-block-code.language-console,
.wp-block-code.language-terminal {
  background: #050816 !important;
  background-color: #050816 !important;
  color: #e5eefc !important;
}

.hhc-terminal pre *,
.hhc-terminal code *,
pre.hhc-terminal *,
pre.hhc-bash *,
pre.hhc-shell *,
pre.language-bash *,
pre.language-shell *,
pre.language-sh *,
pre.language-console *,
pre.language-terminal * {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}

/* v1.7.7 - Extra sidebar child background guard for unknown plugin/block markup. */
body .hhc-sidebar :where(div, span, strong, em, small, label, header, footer, main, aside):not(.hhc-widget):not(.widget):not(.hhc-sidebar-card):not(.tagcloud):not(.wp-block-tag-cloud):not(.hhc-terminal):not(.hhc-terminal-header):not(.hhc-dot):not(.hhc-badge):not(.hhc-status):not(.search-form):not(.hhc-search-form):not(.wp-block-search):not(.wp-block-search__inside-wrapper),
body .hhc-front-sidebar :where(div, span, strong, em, small, label, header, footer, main, aside):not(.hhc-widget):not(.widget):not(.hhc-sidebar-card):not(.tagcloud):not(.wp-block-tag-cloud):not(.hhc-terminal):not(.hhc-terminal-header):not(.hhc-dot):not(.hhc-badge):not(.hhc-status):not(.search-form):not(.hhc-search-form):not(.wp-block-search):not(.wp-block-search__inside-wrapper) {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Re-apply intended sidebar exceptions after the generic guard. */
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .hhc-widget,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .widget,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .hhc-sidebar-card,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar-card {
  background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
  color: #334155 !important;
  border-color: #d7e2ee !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .09) !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar input[type="search"],
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .search-field,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar input[type="search"],
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .search-field {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, .04) !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar :where(.tagcloud a, .wp-block-tag-cloud a, .tag-cloud-link),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar :where(.tagcloud a, .wp-block-tag-cloud a, .tag-cloud-link) {
  background: #eff6ff !important;
  color: #0f172a !important;
  border-color: #bfdbfe !important;
  box-shadow: none !important;
}

body .hhc-sidebar :where(.tagcloud a, .wp-block-tag-cloud a, .tag-cloud-link),
body .hhc-front-sidebar :where(.tagcloud a, .wp-block-tag-cloud a, .tag-cloud-link) {
  border-radius: 999px !important;
  text-decoration: none !important;
}

/* v1.7.8 - Mobile menu daylight surface + independent terminal body */

/* -------------------------------------------------
   1) MOBILE MENU: gündüz modunda şeffaf kalmasın
-------------------------------------------------- */
@media (max-width: 760px) {
  html[data-hhc-color-mode="gunduz"] .hhc-site-header,
  html[data-hhc-color-mode="gunduz"] .hhc-header-inner {
    background: rgba(255,255,255,.96) !important;
    border-color: rgba(148,163,184,.28) !important;
  }

  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav,
  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav.is-open,
  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .menu,
  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav ul,
  html[data-hhc-color-mode="gunduz"] .hhc-mobile-menu,
  html[data-hhc-color-mode="gunduz"] .menu-primary-container {
    background: rgba(255,255,255,.98) !important;
    color: #0f172a !important;
    border: 1px solid rgba(148,163,184,.28) !important;
    box-shadow: 0 22px 54px rgba(15,23,42,.16) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
  }

  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .menu {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav li,
  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a {
    background: transparent !important;
    color: #0f172a !important;
    border-color: transparent !important;
    box-shadow: none !important;
  }

  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a:hover,
  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a:focus,
  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current-menu-item > a,
  html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current_page_item > a {
    background: #e0f2fe !important;
    color: #082f49 !important;
  }

  html[data-hhc-color-mode="gunduz"] .hhc-menu-toggle {
    background: #38bdf8 !important;
    color: #082f49 !important;
    border-color: #7dd3fc !important;
    box-shadow: 0 12px 28px rgba(14,165,233,.28) !important;
  }

  html[data-hhc-color-mode="gunduz"] .hhc-menu-toggle-line {
    background: #082f49 !important;
  }
}

/* -------------------------------------------------
   2) TERMINAL: artık kod içinde kod gibi davranmasın
   Shortcode yeni yapıda .hhc-terminal-body üretir.
   Eski yazılardaki .hhc-terminal > pre > code da desteklenir.
-------------------------------------------------- */
.hhc-terminal {
  background: #050816 !important;
  color: #e5eefc !important;
  border: 1px solid color-mix(in srgb, var(--hhc-accent) 34%, #0f172a 66%) !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.24) !important;
}

.hhc-terminal-header {
  background: linear-gradient(180deg, #111827, #0b1220) !important;
  color: #94a3b8 !important;
  border-bottom: 1px solid rgba(148,163,184,.18) !important;
}

.hhc-terminal-body {
  display: block !important;
  margin: 0 !important;
  padding: 18px !important;
  background: #050816 !important;
  color: #e5eefc !important;
  font-family: var(--hhc-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace) !important;
  font-size: .92rem !important;
  line-height: 1.72 !important;
  white-space: pre !important;
  overflow-x: auto !important;
  border: 0 !important;
  box-shadow: none !important;
  tab-size: 2 !important;
}

/* Eski içerik uyumluluğu: .hhc-terminal içinde pre/code varsa tek gövde gibi göster. */
.hhc-terminal > pre,
.hhc-terminal pre,
.hhc-terminal > pre > code,
.hhc-terminal pre code {
  display: block !important;
  margin: 0 !important;
  padding: 18px !important;
  background: #050816 !important;
  color: #e5eefc !important;
  border: 0 !important;
  box-shadow: none !important;
  font-family: var(--hhc-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace) !important;
  font-size: .92rem !important;
  line-height: 1.72 !important;
  white-space: pre !important;
  overflow-x: auto !important;
}

/* İç içe pre/code durumunda iki kere padding oluşmasın. */
.hhc-terminal > pre {
  padding: 0 !important;
}

.hhc-terminal > pre > code {
  padding: 18px !important;
}

/* Highlight/span/tag arka planları terminal içinde zemini bozmasın. */
.hhc-terminal-body *,
.hhc-terminal pre *,
.hhc-terminal code * {
  background: transparent !important;
  background-color: transparent !important;
  color: inherit !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* Gündüz modu terminali de kesin koyu kalsın. */
html[data-hhc-color-mode="gunduz"] .hhc-terminal,
html[data-hhc-color-mode="gunduz"] .hhc-terminal-body,
html[data-hhc-color-mode="gunduz"] .hhc-terminal > pre,
html[data-hhc-color-mode="gunduz"] .hhc-terminal pre,
html[data-hhc-color-mode="gunduz"] .hhc-terminal > pre > code,
html[data-hhc-color-mode="gunduz"] .hhc-terminal pre code {
  background: #050816 !important;
  color: #e5eefc !important;
}

/* Normal kod blokları gündüzde açık kalmaya devam etsin; terminal bundan hariçtir. */
html[data-hhc-color-mode="gunduz"] pre:not(.hhc-terminal):not(.hhc-bash):not(.hhc-shell):not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark),
html[data-hhc-color-mode="gunduz"] .hhc-code:not(.hhc-code-dark):not(.hhc-terminal):not(.hhc-bash):not(.hhc-shell),
html[data-hhc-color-mode="gunduz"] .wp-block-code:not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark),
html[data-hhc-color-mode="gunduz"] .wp-block-preformatted:not(.hhc-terminal) {
  background: #f8fbff !important;
  color: #0f172a !important;
  border-color: #cbd8e6 !important;
}

/* pre.language-bash gibi doğrudan bash kullanılan bloklar da bağımsız terminal gövdesi gibi koyu kalsın. */
pre.hhc-bash,
pre.hhc-shell,
pre.language-bash,
pre.language-shell,
pre.language-sh,
pre.language-console,
pre.language-terminal,
.wp-block-code.language-bash,
.wp-block-code.language-shell,
.wp-block-code.language-console,
.wp-block-code.language-terminal {
  background: #050816 !important;
  color: #e5eefc !important;
  border-color: color-mix(in srgb, var(--hhc-accent) 34%, #0f172a 66%) !important;
}

pre.hhc-bash *,
pre.hhc-shell *,
pre.language-bash *,
pre.language-shell *,
pre.language-sh *,
pre.language-console *,
pre.language-terminal *,
.wp-block-code.language-bash *,
.wp-block-code.language-shell *,
.wp-block-code.language-console *,
.wp-block-code.language-terminal * {
  background: transparent !important;
  color: inherit !important;
  box-shadow: none !important;
}

/* -------------------------------------------------
   3) COPY BUTTON: terminal içinde gövdeyi ezmesin
-------------------------------------------------- */
.hhc-terminal .hhc-copy-button {
  background: #38bdf8 !important;
  color: #082f49 !important;
  border-color: #7dd3fc !important;
  z-index: 4 !important;
}

/* v1.7.10 - Daylight tag cloud final override
   Root cause: generic sidebar anchor reset was overriding the chip styles.
   This block comes last and uses explicit selectors, not :where(), so the tag cloud
   keeps its pill/chip appearance in daylight mode. */

body .hhc-sidebar .tagcloud,
body .hhc-sidebar .wp-block-tag-cloud,
body .hhc-front-sidebar .tagcloud,
body .hhc-front-sidebar .wp-block-tag-cloud {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: flex-start !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body .hhc-sidebar .tagcloud a,
body .hhc-sidebar .wp-block-tag-cloud a,
body .hhc-sidebar a.tag-cloud-link,
body .hhc-front-sidebar .tagcloud a,
body .hhc-front-sidebar .wp-block-tag-cloud a,
body .hhc-front-sidebar a.tag-cloud-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 6px 14px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border-width: 1px !important;
  border-style: solid !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  box-shadow: none !important;
  white-space: nowrap !important;
  background-clip: padding-box !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar a.tag-cloud-link,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar a.tag-cloud-link {
  color: #0f172a !important;
  background: #eff6ff !important;
  background-color: #eff6ff !important;
  border-color: #bfdbfe !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar a.tag-cloud-link:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar a.tag-cloud-link:hover {
  color: #082f49 !important;
  background: #dbeafe !important;
  background-color: #dbeafe !important;
  border-color: #93c5fd !important;
}

body .hhc-sidebar .tagcloud a:nth-child(1),
body .hhc-sidebar .wp-block-tag-cloud a:nth-child(1),
body .hhc-front-sidebar .tagcloud a:nth-child(1),
body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(1) {
  font-size: inherit !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a {
  background-image: none !important;
}

/* v1.7.11 - Copy button fixed overlay for horizontally scrollable code
   The copy button must not move with long code lines or disappear in daylight mode. */

/* Every scrollable code/terminal wrapper becomes a positioning context. */
.hhc-entry-content pre,
.hhc-code,
.hhc-filetree,
.wp-block-code,
.wp-block-preformatted,
.hhc-terminal,
.hhc-terminal-body,
pre.hhc-bash,
pre.hhc-shell,
pre.language-bash,
pre.language-shell,
pre.language-sh,
pre.language-console,
pre.language-terminal {
  position: relative !important;
}

/* Keep long code scrollable, but reserve room so text does not sit under the button. */
.hhc-entry-content pre,
.hhc-code,
.hhc-filetree,
.wp-block-code,
.wp-block-preformatted {
  overflow-x: auto !important;
  padding-right: 104px !important;
  scrollbar-gutter: stable both-edges !important;
}

.hhc-terminal-body,
.hhc-terminal > pre,
.hhc-terminal pre,
.hhc-terminal > pre > code,
.hhc-terminal pre code,
pre.hhc-bash,
pre.hhc-shell,
pre.language-bash,
pre.language-shell,
pre.language-sh,
pre.language-console,
pre.language-terminal {
  overflow-x: auto !important;
  padding-right: 104px !important;
  scrollbar-gutter: stable both-edges !important;
}

/* Copy button is fixed to the visible block corner, not to the scrolling text content. */
.hhc-copy-button,
.hhc-code-copy,
.copy-button,
button[data-copy],
pre .hhc-copy-button,
.hhc-code .hhc-copy-button,
.hhc-filetree .hhc-copy-button,
.wp-block-code .hhc-copy-button,
.wp-block-preformatted .hhc-copy-button,
.hhc-terminal .hhc-copy-button {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 20 !important;
  transform: none !important;
  margin: 0 !important;
  white-space: nowrap !important;
  min-width: 72px !important;
  max-width: 88px !important;
  height: 34px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: auto !important;
}

/* Terminal header has its own height; button should sit in body area if injected into terminal. */
.hhc-terminal .hhc-copy-button {
  top: 56px !important;
  right: 14px !important;
}

/* Daylight button visibility. */
html[data-hhc-color-mode="gunduz"] .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .hhc-code-copy,
html[data-hhc-color-mode="gunduz"] .copy-button,
html[data-hhc-color-mode="gunduz"] button[data-copy],
html[data-hhc-color-mode="gunduz"] pre .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .hhc-code .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .hhc-filetree .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .wp-block-code .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .wp-block-preformatted .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .hhc-terminal .hhc-copy-button {
  background: #38bdf8 !important;
  background-color: #38bdf8 !important;
  color: #082f49 !important;
  border: 1px solid #7dd3fc !important;
  box-shadow: 0 10px 24px rgba(14, 165, 233, .25) !important;
  opacity: 1 !important;
}

/* Night button visibility. */
html[data-hhc-color-mode="gece"] .hhc-copy-button,
html[data-hhc-color-mode="gece"] .hhc-code-copy,
html[data-hhc-color-mode="gece"] .copy-button,
html[data-hhc-color-mode="gece"] button[data-copy],
html[data-hhc-color-mode="gece"] .hhc-terminal .hhc-copy-button {
  background: #38bdf8 !important;
  background-color: #38bdf8 !important;
  color: #082f49 !important;
  border: 1px solid #7dd3fc !important;
  box-shadow: 0 10px 24px rgba(14, 165, 233, .22) !important;
  opacity: 1 !important;
}

/* On small screens, keep the button smaller but still anchored. */
@media (max-width: 760px) {
  .hhc-entry-content pre,
  .hhc-code,
  .hhc-filetree,
  .wp-block-code,
  .wp-block-preformatted,
  .hhc-terminal-body,
  .hhc-terminal > pre,
  .hhc-terminal pre,
  .hhc-terminal > pre > code,
  .hhc-terminal pre code {
    padding-right: 92px !important;
  }

  .hhc-copy-button,
  .hhc-code-copy,
  .copy-button,
  button[data-copy],
  pre .hhc-copy-button,
  .hhc-code .hhc-copy-button,
  .hhc-filetree .hhc-copy-button,
  .wp-block-code .hhc-copy-button,
  .wp-block-preformatted .hhc-copy-button {
    top: 12px !important;
    right: 12px !important;
    min-width: 66px !important;
    max-width: 78px !important;
    height: 32px !important;
    font-size: .78rem !important;
  }

  .hhc-terminal .hhc-copy-button {
    top: 54px !important;
    right: 12px !important;
  }
}

/* v1.7.12 - Final visual polish: copy wrapper, colored tags, comment cards, daylight link hover */

/* -------------------------------------------------
   1) COPY BUTTON
   JS artık butonu scroll edilen pre/code bloğunun içine değil,
   dış .hhc-copy-wrap katmanına ekler. Böylece yatay scroll butonu taşımaz.
-------------------------------------------------- */
.hhc-copy-wrap {
  position: relative !important;
  display: block !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.hhc-copy-wrap > .hhc-code,
.hhc-copy-wrap > .hhc-filetree,
.hhc-copy-wrap > pre,
.hhc-copy-wrap > .wp-block-code {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  padding-right: 112px !important;
  scrollbar-gutter: stable both-edges !important;
}

/* Buton sadece dış wrapper/terminal üzerinde sabit dursun. */
.hhc-copy-wrap > .hhc-copy-button,
.hhc-terminal > .hhc-copy-button {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 30 !important;
  transform: none !important;
  margin: 0 !important;
  min-width: 74px !important;
  max-width: 92px !important;
  height: 34px !important;
  padding: 0 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  pointer-events: auto !important;
}

.hhc-terminal > .hhc-copy-button {
  top: 56px !important;
}

/* Eski kurallardan kalan, scroll edilen bloğun içine eklenmiş buton davranışını etkisizleştir. */
.hhc-code > .hhc-copy-button,
.hhc-filetree > .hhc-copy-button,
.wp-block-code > .hhc-copy-button,
.wp-block-preformatted > .hhc-copy-button,
pre > .hhc-copy-button {
  display: none !important;
}

.hhc-copy-wrap > .hhc-copy-button,
.hhc-terminal > .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .hhc-copy-wrap > .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .hhc-terminal > .hhc-copy-button,
html[data-hhc-color-mode="gece"] .hhc-copy-wrap > .hhc-copy-button,
html[data-hhc-color-mode="gece"] .hhc-terminal > .hhc-copy-button {
  background: #38bdf8 !important;
  background-color: #38bdf8 !important;
  color: #082f49 !important;
  border: 1px solid #7dd3fc !important;
  border-radius: 999px !important;
  box-shadow: 0 10px 24px rgba(14, 165, 233, .26) !important;
  opacity: 1 !important;
  font-weight: 900 !important;
}

/* -------------------------------------------------
   2) RENKLİ ETİKETLER
   Tag cloud ve yazı kartı etiketleri tekrar renkli chip sistemine döner.
-------------------------------------------------- */
body .hhc-tag-row,
body .hhc-sidebar .tagcloud,
body .hhc-sidebar .wp-block-tag-cloud,
body .hhc-front-sidebar .tagcloud,
body .hhc-front-sidebar .wp-block-tag-cloud {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 9px 10px !important;
  align-items: center !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body .hhc-tag-row a,
body .hhc-sidebar .tagcloud a,
body .hhc-sidebar .wp-block-tag-cloud a,
body .hhc-sidebar a.tag-cloud-link,
body .hhc-front-sidebar .tagcloud a,
body .hhc-front-sidebar .wp-block-tag-cloud a,
body .hhc-front-sidebar a.tag-cloud-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 28px !important;
  padding: 6px 12px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border-width: 1px !important;
  border-style: solid !important;
  text-decoration: none !important;
  line-height: 1.15 !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  white-space: nowrap !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
}

/* Dark mode colored chips */
html[data-hhc-color-mode="gece"] body .hhc-tag-row a.hhc-tag-hot,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .tagcloud a:nth-child(1),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(1),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .tagcloud a:nth-child(1),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(1) {
  color: #06111d !important;
  background: linear-gradient(135deg, #38bdf8, #22d3ee) !important;
  border-color: rgba(56, 189, 248, .72) !important;
}

html[data-hhc-color-mode="gece"] body .hhc-tag-row a.hhc-tag-warm,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .tagcloud a:nth-child(2),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .tagcloud a:nth-child(3),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(2),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(3),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .tagcloud a:nth-child(2),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .tagcloud a:nth-child(3),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(2),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(3) {
  color: #fff3d6 !important;
  background: rgba(245, 158, 11, .17) !important;
  border-color: rgba(245, 158, 11, .42) !important;
}

html[data-hhc-color-mode="gece"] body .hhc-tag-row a.hhc-tag-mid,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .tagcloud a:nth-child(4),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .tagcloud a:nth-child(5),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .tagcloud a:nth-child(6),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(4),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(5),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(6),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .tagcloud a:nth-child(4),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .tagcloud a:nth-child(5),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .tagcloud a:nth-child(6),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(4),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(5),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(6) {
  color: #d8fff1 !important;
  background: rgba(16, 185, 129, .15) !important;
  border-color: rgba(16, 185, 129, .38) !important;
}

html[data-hhc-color-mode="gece"] body .hhc-tag-row a.hhc-tag-cool,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .tagcloud a:nth-child(n+7),
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(n+7),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .tagcloud a:nth-child(n+7),
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(n+7) {
  color: #d7d2ff !important;
  background: rgba(139, 92, 246, .16) !important;
  border-color: rgba(139, 92, 246, .36) !important;
}

/* Daylight colored chips */
html[data-hhc-color-mode="gunduz"] body .hhc-tag-row a.hhc-tag-hot,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:nth-child(1),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(1),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:nth-child(1),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(1) {
  color: #082f49 !important;
  background: #bae6fd !important;
  border-color: #38bdf8 !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-tag-row a.hhc-tag-warm,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:nth-child(2),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:nth-child(3),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(2),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(3),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:nth-child(2),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:nth-child(3),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(2),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(3) {
  color: #78350f !important;
  background: #fef3c7 !important;
  border-color: #f59e0b !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-tag-row a.hhc-tag-mid,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:nth-child(4),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:nth-child(5),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:nth-child(6),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(4),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(5),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(6),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:nth-child(4),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:nth-child(5),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:nth-child(6),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(4),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(5),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(6) {
  color: #14532d !important;
  background: #dcfce7 !important;
  border-color: #22c55e !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-tag-row a.hhc-tag-cool,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:nth-child(n+7),
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:nth-child(n+7),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:nth-child(n+7),
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:nth-child(n+7) {
  color: #3b0764 !important;
  background: #ede9fe !important;
  border-color: #a78bfa !important;
}

body .hhc-tag-row a:hover,
body .hhc-sidebar .tagcloud a:hover,
body .hhc-sidebar .wp-block-tag-cloud a:hover,
body .hhc-front-sidebar .tagcloud a:hover,
body .hhc-front-sidebar .wp-block-tag-cloud a:hover {
  transform: translateY(-1px) !important;
  filter: saturate(1.08) contrast(1.04) !important;
}

/* -------------------------------------------------
   3) YORUMLAR: her yorum ayrı tema kartı gibi görünsün
-------------------------------------------------- */
.hhc-comment-list,
.hhc-comment-list ol,
.hhc-comment-list ul {
  display: grid !important;
  gap: 14px !important;
  list-style: none !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.hhc-comment-list .comment-body,
body .hhc-sidebar .widget_recent_comments li,
body .hhc-sidebar .wp-block-latest-comments__comment,
body .hhc-sidebar .has-avatars .wp-block-latest-comments__comment,
body .hhc-front-sidebar .widget_recent_comments li,
body .hhc-front-sidebar .wp-block-latest-comments__comment {
  border-radius: 18px !important;
  padding: 14px !important;
  border: 1px solid var(--hhc-border) !important;
  background: color-mix(in srgb, var(--hhc-surface-2) 82%, transparent) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .10) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-comment-list .comment-body,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .widget_recent_comments li,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-latest-comments__comment,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .has-avatars .wp-block-latest-comments__comment,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .widget_recent_comments li,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-latest-comments__comment {
  background: linear-gradient(180deg, #ffffff, #f8fbff) !important;
  border-color: #d7e2ee !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .08) !important;
}

html[data-hhc-color-mode="gece"] .hhc-comment-list .comment-body,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .widget_recent_comments li,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-latest-comments__comment,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .has-avatars .wp-block-latest-comments__comment,
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .widget_recent_comments li,
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-latest-comments__comment {
  background: linear-gradient(180deg, rgba(20, 32, 52, .92), rgba(15, 23, 42, .86)) !important;
  border-color: rgba(148, 163, 184, .20) !important;
}

/* -------------------------------------------------
   4) GÜNDÜZ MODU LINK HOVER
-------------------------------------------------- */
html[data-hhc-color-mode="gunduz"] .hhc-entry-content a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-card a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-loop-card a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-front-sidebar a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-post-navigation a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-related-posts a:hover {
  color: #075985 !important;
  background: rgba(186, 230, 253, .70) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  box-shadow: 0 0 0 3px rgba(186, 230, 253, .38) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-read-more:hover,
html[data-hhc-color-mode="gunduz"] .hhc-link:hover,
html[data-hhc-color-mode="gunduz"] .hhc-loop-card__title a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-entry-title a:hover {
  color: #0369a1 !important;
  background: transparent !important;
  box-shadow: none !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}

@media (max-width: 760px) {
  .hhc-copy-wrap > .hhc-code,
  .hhc-copy-wrap > .hhc-filetree,
  .hhc-copy-wrap > pre,
  .hhc-copy-wrap > .wp-block-code {
    padding-right: 96px !important;
  }

  .hhc-copy-wrap > .hhc-copy-button,
  .hhc-terminal > .hhc-copy-button {
    top: 12px !important;
    right: 12px !important;
    min-width: 66px !important;
    max-width: 80px !important;
    height: 32px !important;
    font-size: .78rem !important;
  }

  .hhc-terminal > .hhc-copy-button {
    top: 54px !important;
  }
}

/* v1.7.13 - Daylight link hover refinement
   Previous daylight hover looked like a selected box.
   Links now behave closer to dark mode: color change + clean underline, no pill/box background. */

html[data-hhc-color-mode="gunduz"] .hhc-entry-content a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-card a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-loop-card a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-front-sidebar a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-post-navigation a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-related-posts a:hover,
html[data-hhc-color-mode="gunduz"] .widget a:hover {
  color: #0ea5e9 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}

/* Menu/current buttons, badges, tag chips and real buttons must keep their chip/button hover. */
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav a:focus,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current-menu-item > a,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current_page_item > a,
html[data-hhc-color-mode="gunduz"] .hhc-tag-row a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar .tagcloud a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-sidebar .wp-block-tag-cloud a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-front-sidebar .tagcloud a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-front-sidebar .wp-block-tag-cloud a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-badge:hover,
html[data-hhc-color-mode="gunduz"] .hhc-status:hover,
html[data-hhc-color-mode="gunduz"] .hhc-copy-button:hover,
html[data-hhc-color-mode="gunduz"] button:hover,
html[data-hhc-color-mode="gunduz"] .button:hover,
html[data-hhc-color-mode="gunduz"] input[type="submit"]:hover {
  text-decoration: none !important;
  border-radius: 999px !important;
}

/* Read-more/title links use underline only, without background. */
html[data-hhc-color-mode="gunduz"] .hhc-read-more:hover,
html[data-hhc-color-mode="gunduz"] .hhc-link:hover,
html[data-hhc-color-mode="gunduz"] .hhc-loop-card__title a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-entry-title a:hover,
html[data-hhc-color-mode="gunduz"] .hhc-card-title a:hover {
  color: #0284c7 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}

/* v1.7.14 - Global link hover normalization
   Site-wide rule: links must only change color on hover/focus.
   No underline, no selected box, no background strip, no border, no transform.
   Chip/button components keep their own static surface, but do not jump or draw extra hover boxes. */

/* 1) Plain text/content/navigation links: color-only hover in both color profiles. */
html[data-hhc-color-mode="gece"] body a:not(.hhc-badge):not(.hhc-status):not(.hhc-copy-button):not(.hhc-menu-toggle):not(.button):not(.wp-block-button__link):hover,
html[data-hhc-color-mode="gece"] body a:not(.hhc-badge):not(.hhc-status):not(.hhc-copy-button):not(.hhc-menu-toggle):not(.button):not(.wp-block-button__link):focus,
html[data-hhc-color-mode="gece"] body a:not(.hhc-badge):not(.hhc-status):not(.hhc-copy-button):not(.hhc-menu-toggle):not(.button):not(.wp-block-button__link):focus-visible {
  color: #f59e0b !important;
  text-decoration: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
}

html[data-hhc-color-mode="gunduz"] body a:not(.hhc-badge):not(.hhc-status):not(.hhc-copy-button):not(.hhc-menu-toggle):not(.button):not(.wp-block-button__link):hover,
html[data-hhc-color-mode="gunduz"] body a:not(.hhc-badge):not(.hhc-status):not(.hhc-copy-button):not(.hhc-menu-toggle):not(.button):not(.wp-block-button__link):focus,
html[data-hhc-color-mode="gunduz"] body a:not(.hhc-badge):not(.hhc-status):not(.hhc-copy-button):not(.hhc-menu-toggle):not(.button):not(.wp-block-button__link):focus-visible {
  color: #f59e0b !important;
  text-decoration: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
}

/* 2) Titles/read-more/sidebar/menu links: explicitly undo older underline/box rules. */
body .hhc-loop-card__title a:hover,
body .hhc-loop-card__title a:focus,
body .hhc-entry-title a:hover,
body .hhc-entry-title a:focus,
body .hhc-card-title a:hover,
body .hhc-card-title a:focus,
body .hhc-read-more:hover,
body .hhc-read-more:focus,
body .hhc-link:hover,
body .hhc-link:focus,
body .hhc-sidebar a:hover,
body .hhc-sidebar a:focus,
body .hhc-front-sidebar a:hover,
body .hhc-front-sidebar a:focus,
body .hhc-primary-nav a:hover,
body .hhc-primary-nav a:focus {
  text-decoration: none !important;
  text-decoration-line: none !important;
  text-decoration-thickness: initial !important;
  text-underline-offset: initial !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
}

/* 3) Current menu item may keep its selected pill. Hover itself still does not add extra lines. */
html[data-hhc-color-mode="gece"] .hhc-primary-nav .current-menu-item > a,
html[data-hhc-color-mode="gece"] .hhc-primary-nav .current_page_item > a {
  color: #e5f6ff !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current-menu-item > a,
html[data-hhc-color-mode="gunduz"] .hhc-primary-nav .current_page_item > a {
  color: #082f49 !important;
}

/* 4) Tag/chip links keep their original colored chip surface, but hover is color-only + no movement.
      This prevents the global link rule from flattening colored labels. */
body .hhc-tag-row a,
body .hhc-sidebar .tagcloud a,
body .hhc-sidebar .wp-block-tag-cloud a,
body .hhc-sidebar a.tag-cloud-link,
body .hhc-front-sidebar .tagcloud a,
body .hhc-front-sidebar .wp-block-tag-cloud a,
body .hhc-front-sidebar a.tag-cloud-link {
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08) !important;
  transform: none !important;
}

html[data-hhc-color-mode="gece"] body .hhc-tag-row a:hover,
html[data-hhc-color-mode="gece"] body .hhc-tag-row a:focus,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .tagcloud a:hover,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .tagcloud a:focus,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-tag-cloud a:hover,
html[data-hhc-color-mode="gece"] body .hhc-sidebar .wp-block-tag-cloud a:focus,
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .tagcloud a:hover,
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .tagcloud a:focus,
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-tag-cloud a:hover,
html[data-hhc-color-mode="gece"] body .hhc-front-sidebar .wp-block-tag-cloud a:focus {
  color: #facc15 !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10) !important;
  outline: 0 !important;
  transform: none !important;
  filter: none !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-tag-row a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-tag-row a:focus,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .tagcloud a:focus,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-sidebar .wp-block-tag-cloud a:focus,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .tagcloud a:focus,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-front-sidebar .wp-block-tag-cloud a:focus {
  color: #0ea5e9 !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85) !important;
  outline: 0 !important;
  transform: none !important;
  filter: none !important;
}

/* 5) Buttons/copy/menu toggle are not treated as text links. */
body .hhc-copy-button:hover,
body .hhc-copy-button:focus,
body button:hover,
body button:focus,
body .button:hover,
body .button:focus,
body input[type="submit"]:hover,
body input[type="submit"]:focus {
  text-decoration: none !important;
  transform: none !important;
}

/* 6) Last-resort cleanup for old underline rules from earlier versions. */
html[data-hhc-color-mode="gunduz"] body a,
html[data-hhc-color-mode="gece"] body a {
  text-decoration-thickness: initial !important;
  text-underline-offset: initial !important;
}

/* v1.7.15 - Image link hover radius lock
   Image cards must not change shape when the image/link is hovered.
   Link hover is color-only for text links; media links keep their existing image frame. */

/* Media wrappers keep their radius in all states. */
body .hhc-card-media,
body .hhc-loop-card__thumb,
body .hhc-card-visual,
body .hhc-feed-thumb,
body .hhc-feed-image,
body .hhc-post-card-list .hhc-card-visual,
body article.hhc-loop-card .hhc-loop-card__thumb,
body article.hhc-feed-card .hhc-feed-thumb,
body article.hhc-feed-card-v2 .hhc-feed-thumb,
body a.hhc-card-media,
body a.hhc-loop-card__thumb,
body a.hhc-feed-thumb {
  border-radius: 18px !important;
  overflow: hidden !important;
  background-clip: padding-box !important;
}

/* Images inside media wrappers keep the same corner radius and do not flatten on hover. */
body .hhc-card-media img,
body .hhc-card-media:hover img,
body .hhc-card-media:focus img,
body .hhc-loop-card__thumb img,
body .hhc-loop-card__thumb:hover img,
body .hhc-loop-card__thumb:focus img,
body .hhc-card-visual img,
body .hhc-card-visual:hover img,
body .hhc-card-visual:focus img,
body .hhc-feed-thumb img,
body .hhc-feed-thumb:hover img,
body .hhc-feed-thumb:focus img,
body .hhc-feed-image img,
body .hhc-feed-image:hover img,
body .hhc-feed-image:focus img,
body .wp-post-image,
body .wp-post-image:hover {
  border-radius: 18px !important;
  overflow: hidden !important;
}

/* Hovering image links must not receive text-link cleanup values like radius:0. */
body a.hhc-card-media:hover,
body a.hhc-card-media:focus,
body a.hhc-loop-card__thumb:hover,
body a.hhc-loop-card__thumb:focus,
body a.hhc-feed-thumb:hover,
body a.hhc-feed-thumb:focus,
body .hhc-card-media:hover,
body .hhc-loop-card__thumb:hover,
body .hhc-card-visual:hover,
body .hhc-feed-thumb:hover {
  border-radius: 18px !important;
  text-decoration: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  outline: 0 !important;
  transform: none !important;
}

/* The title/read-more text still only changes color; no underline or boxes. */
html[data-hhc-color-mode="gece"] body .hhc-loop-card__title a:hover,
html[data-hhc-color-mode="gece"] body .hhc-entry-title a:hover,
html[data-hhc-color-mode="gece"] body .hhc-card-title a:hover,
html[data-hhc-color-mode="gece"] body .hhc-read-more:hover,
html[data-hhc-color-mode="gece"] body .hhc-link:hover {
  color: #f59e0b !important;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transform: none !important;
}

html[data-hhc-color-mode="gunduz"] body .hhc-loop-card__title a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-entry-title a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-card-title a:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-read-more:hover,
html[data-hhc-color-mode="gunduz"] body .hhc-link:hover {
  color: #f59e0b !important;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* Extra safety for the exact WordPress thumbnail markup. */
body img.attachment-hhc-list,
body img.attachment-hhc-list:hover,
body .attachment-hhc-list.wp-post-image,
body .attachment-hhc-list.wp-post-image:hover {
  border-radius: 18px !important;
  display: block !important;
}

/* v1.7.16 - Unified tag color system
   Post tags, badge-like tag rows and WordPress tag clouds share the same usage-based classes:
   hot >= 10 uses, warm >= 5 uses, mid >= 2 uses, cool = 1 use.
   WordPress tag cloud receives these classes via wp_generate_tag_cloud_data filter. */

/* Base chip contrast: readable on white cards and dark cards. */
body .hhc-tag-row a,
body .hhc-tag-link,
body .tag-cloud-link,
body .wp-block-tag-cloud a,
body .hhc-sidebar .tagcloud a,
body .hhc-sidebar .wp-block-tag-cloud a,
body .hhc-front-sidebar .tagcloud a,
body .hhc-front-sidebar .wp-block-tag-cloud a,
body .hhc-badge {
  opacity: 1 !important;
  text-shadow: none !important;
  font-weight: 900 !important;
  border-width: 1px !important;
  border-style: solid !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 8px 20px rgba(15,23,42,.06) !important;
}

/* Layout for tag clouds remains compact and chip-like. */
body .hhc-sidebar .tagcloud,
body .hhc-sidebar .wp-block-tag-cloud,
body .hhc-front-sidebar .tagcloud,
body .hhc-front-sidebar .wp-block-tag-cloud {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  align-items: flex-start !important;
}

/* HOT / most used */
body .hhc-tag-hot,
body .hhc-tag-row a.hhc-tag-hot,
body .tag-cloud-link.hhc-tag-hot,
body .wp-block-tag-cloud a.hhc-tag-hot,
body .hhc-badge-project {
  color: #052e36 !important;
  background: linear-gradient(135deg, #67e8f9, #22d3ee) !important;
  border-color: #0891b2 !important;
}

/* WARM */
body .hhc-tag-warm,
body .hhc-tag-row a.hhc-tag-warm,
body .tag-cloud-link.hhc-tag-warm,
body .wp-block-tag-cloud a.hhc-tag-warm,
body .hhc-badge-oc,
body .hhc-badge-warning {
  color: #5f2a00 !important;
  background: linear-gradient(135deg, #fde68a, #fbbf24) !important;
  border-color: #d97706 !important;
}

/* MID */
body .hhc-tag-mid,
body .hhc-tag-row a.hhc-tag-mid,
body .tag-cloud-link.hhc-tag-mid,
body .wp-block-tag-cloud a.hhc-tag-mid,
body .hhc-badge-linux,
body .hhc-badge-note {
  color: #052e16 !important;
  background: linear-gradient(135deg, #bbf7d0, #4ade80) !important;
  border-color: #16a34a !important;
}

/* COOL / low use */
body .hhc-tag-cool,
body .hhc-tag-row a.hhc-tag-cool,
body .tag-cloud-link.hhc-tag-cool,
body .wp-block-tag-cloud a.hhc-tag-cool,
body .hhc-badge-code,
body .hhc-badge-review {
  color: #2e1065 !important;
  background: linear-gradient(135deg, #ede9fe, #c4b5fd) !important;
  border-color: #8b5cf6 !important;
}

/* Fallback for tag cloud links before cached HTML receives frequency classes. */
body .hhc-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(1),
body .hhc-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(1),
body .hhc-front-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(1),
body .hhc-front-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(1) {
  color: #052e36 !important;
  background: linear-gradient(135deg, #67e8f9, #22d3ee) !important;
  border-color: #0891b2 !important;
}

body .hhc-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(2),
body .hhc-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(3),
body .hhc-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(2),
body .hhc-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(3),
body .hhc-front-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(2),
body .hhc-front-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(3),
body .hhc-front-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(2),
body .hhc-front-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(3) {
  color: #5f2a00 !important;
  background: linear-gradient(135deg, #fde68a, #fbbf24) !important;
  border-color: #d97706 !important;
}

body .hhc-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(4),
body .hhc-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(5),
body .hhc-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(6),
body .hhc-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(4),
body .hhc-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(5),
body .hhc-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(6),
body .hhc-front-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(4),
body .hhc-front-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(5),
body .hhc-front-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(6),
body .hhc-front-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(4),
body .hhc-front-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(5),
body .hhc-front-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(6) {
  color: #052e16 !important;
  background: linear-gradient(135deg, #bbf7d0, #4ade80) !important;
  border-color: #16a34a !important;
}

body .hhc-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(n+7),
body .hhc-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(n+7),
body .hhc-front-sidebar .tagcloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(n+7),
body .hhc-front-sidebar .wp-block-tag-cloud a:not(.hhc-tag-hot):not(.hhc-tag-warm):not(.hhc-tag-mid):not(.hhc-tag-cool):nth-child(n+7) {
  color: #2e1065 !important;
  background: linear-gradient(135deg, #ede9fe, #c4b5fd) !important;
  border-color: #8b5cf6 !important;
}

/* Dark mode readability: keep the same palette but add subtle dark containment. */
html[data-hhc-color-mode="gece"] body .hhc-tag-row a,
html[data-hhc-color-mode="gece"] body .tag-cloud-link,
html[data-hhc-color-mode="gece"] body .wp-block-tag-cloud a,
html[data-hhc-color-mode="gece"] body .hhc-badge {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 8px 18px rgba(0,0,0,.20) !important;
}

/* Daylight readability: stronger text and borders on white cards. */
html[data-hhc-color-mode="gunduz"] body .hhc-tag-row a,
html[data-hhc-color-mode="gunduz"] body .tag-cloud-link,
html[data-hhc-color-mode="gunduz"] body .wp-block-tag-cloud a,
html[data-hhc-color-mode="gunduz"] body .hhc-badge {
  filter: saturate(1.08) contrast(1.03) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.80), 0 8px 18px rgba(15,23,42,.06) !important;
}

/* Hover remains stable: no movement, no extra underline, no flattening. */
body .hhc-tag-row a:hover,
body .tag-cloud-link:hover,
body .wp-block-tag-cloud a:hover,
body .hhc-badge:hover {
  text-decoration: none !important;
  transform: none !important;
  filter: saturate(1.14) contrast(1.06) !important;
}

/* Explain visual order via actual class where present, not nth-child. */
body .tag-cloud-link.hhc-tag-hot,
body .tag-cloud-link.hhc-tag-warm,
body .tag-cloud-link.hhc-tag-mid,
body .tag-cloud-link.hhc-tag-cool {
  font-size: .82rem !important;
}

/* v1.7.17 - Günün Sözü sidebar line cleanup
   Remove the vertical quote line only from the Günün Sözü widget.
   Other blockquotes/quote styles elsewhere in the theme are left untouched. */

.hhc-sidebar .widget_hhc_gunun_sozu_widget .hhc-gs-quote,
.hhc-front-sidebar .widget_hhc_gunun_sozu_widget .hhc-gs-quote,
.hhc-sidebar .hhc-widget .hhc-gs-quote,
.hhc-front-sidebar .hhc-sidebar-card .hhc-gs-quote {
  border-left: 0 !important;
  padding-left: 0 !important;
}

.hhc-sidebar .widget_hhc_gunun_sozu_widget .hhc-gs-quote::before,
.hhc-sidebar .widget_hhc_gunun_sozu_widget .hhc-gs-quote::after,
.hhc-front-sidebar .widget_hhc_gunun_sozu_widget .hhc-gs-quote::before,
.hhc-front-sidebar .widget_hhc_gunun_sozu_widget .hhc-gs-quote::after {
  display: none !important;
  content: none !important;
}

/* v1.7.18 - Terminal isolation + safety pass
   Terminal output must be completely isolated from daylight code/token rules.
   The terminal body is a dark, plain-text surface in both profiles. */

.hhc-terminal {
  isolation: isolate !important;
  contain: paint !important;
}

.hhc-terminal,
.hhc-terminal-body,
.hhc-terminal > pre,
.hhc-terminal pre,
.hhc-terminal > pre > code,
.hhc-terminal pre code,
html[data-hhc-color-mode="gunduz"] .hhc-terminal,
html[data-hhc-color-mode="gunduz"] .hhc-terminal-body,
html[data-hhc-color-mode="gunduz"] .hhc-terminal > pre,
html[data-hhc-color-mode="gunduz"] .hhc-terminal pre,
html[data-hhc-color-mode="gunduz"] .hhc-terminal > pre > code,
html[data-hhc-color-mode="gunduz"] .hhc-terminal pre code,
html[data-hhc-color-mode="gece"] .hhc-terminal,
html[data-hhc-color-mode="gece"] .hhc-terminal-body,
html[data-hhc-color-mode="gece"] .hhc-terminal > pre,
html[data-hhc-color-mode="gece"] .hhc-terminal pre,
html[data-hhc-color-mode="gece"] .hhc-terminal > pre > code,
html[data-hhc-color-mode="gece"] .hhc-terminal pre code {
  background: #050816 !important;
  background-color: #050816 !important;
  background-image: none !important;
  color: #e5eefc !important;
  -webkit-text-fill-color: #e5eefc !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
  font-family: var(--hhc-mono, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace) !important;
  font-weight: 700 !important;
  line-height: 1.72 !important;
  white-space: pre !important;
  tab-size: 2 !important;
  overflow-x: auto !important;
}

.hhc-terminal-body *,
.hhc-terminal pre *,
.hhc-terminal code *,
html[data-hhc-color-mode="gunduz"] .hhc-terminal-body *,
html[data-hhc-color-mode="gunduz"] .hhc-terminal pre *,
html[data-hhc-color-mode="gunduz"] .hhc-terminal code *,
html[data-hhc-color-mode="gece"] .hhc-terminal-body *,
html[data-hhc-color-mode="gece"] .hhc-terminal pre *,
html[data-hhc-color-mode="gece"] .hhc-terminal code * {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
  box-shadow: none !important;
}

/* Header is the only terminal child allowed to have a different surface. */
.hhc-terminal .hhc-terminal-header,
html[data-hhc-color-mode="gunduz"] .hhc-terminal .hhc-terminal-header,
html[data-hhc-color-mode="gece"] .hhc-terminal .hhc-terminal-header {
  background: linear-gradient(180deg, #111827, #0b1220) !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  border-bottom: 1px solid rgba(148, 163, 184, .18) !important;
  opacity: 1 !important;
  filter: none !important;
}

.hhc-terminal .hhc-terminal-header *,
html[data-hhc-color-mode="gunduz"] .hhc-terminal .hhc-terminal-header *,
html[data-hhc-color-mode="gece"] .hhc-terminal .hhc-terminal-header * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Terminal copy button must keep button colors, not terminal text colors. */
.hhc-terminal > .hhc-copy-button,
.hhc-terminal .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .hhc-terminal > .hhc-copy-button,
html[data-hhc-color-mode="gunduz"] .hhc-terminal .hhc-copy-button,
html[data-hhc-color-mode="gece"] .hhc-terminal > .hhc-copy-button,
html[data-hhc-color-mode="gece"] .hhc-terminal .hhc-copy-button {
  background: #38bdf8 !important;
  background-color: #38bdf8 !important;
  color: #082f49 !important;
  -webkit-text-fill-color: #082f49 !important;
  border-color: #7dd3fc !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none !important;
}

/* Keep normal code blocks outside terminal unaffected. */
html[data-hhc-color-mode="gunduz"] .hhc-copy-wrap > .hhc-code,
html[data-hhc-color-mode="gunduz"] .hhc-copy-wrap > .hhc-filetree,
html[data-hhc-color-mode="gunduz"] .hhc-copy-wrap > .wp-block-code,
html[data-hhc-color-mode="gunduz"] .hhc-entry-content pre:not(.hhc-terminal):not(.hhc-bash):not(.hhc-shell):not(.language-bash):not(.language-shell):not(.language-sh):not(.language-console):not(.language-terminal):not(.hhc-code-dark) {
  -webkit-text-fill-color: initial !important;
}

/* v1.7.20 - Sidebar recent posts with featured images */

.hhc-recent-thumb-list {
  display: grid !important;
  gap: 12px !important;
}

.hhc-recent-thumb-item {
  display: grid !important;
  grid-template-columns: 72px minmax(0, 1fr) !important;
  gap: 12px !important;
  align-items: center !important;
  padding: 8px !important;
  border-radius: 16px !important;
  border: 1px solid transparent !important;
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.hhc-recent-thumb-media {
  display: block !important;
  width: 72px !important;
  height: 50px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, rgba(56,189,248,.28), rgba(139,92,246,.24)) !important;
  border: 1px solid rgba(148,163,184,.18) !important;
}

.hhc-recent-thumb-img,
.hhc-recent-thumb-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

.hhc-recent-thumb-placeholder {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  background:
    radial-gradient(circle at 25% 20%, rgba(56,189,248,.45), transparent 34%),
    linear-gradient(135deg, rgba(15,23,42,.18), rgba(139,92,246,.28)) !important;
}

.hhc-recent-thumb-title {
  min-width: 0 !important;
  color: var(--hhc-accent) !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere !important;
}

html[data-hhc-color-mode="gece"] .hhc-recent-thumb-item:hover .hhc-recent-thumb-title,
html[data-hhc-color-mode="gece"] .hhc-recent-thumb-item:focus .hhc-recent-thumb-title {
  color: #f59e0b !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-recent-thumb-item:hover .hhc-recent-thumb-title,
html[data-hhc-color-mode="gunduz"] .hhc-recent-thumb-item:focus .hhc-recent-thumb-title {
  color: #f59e0b !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-recent-thumb-item {
  border-color: transparent !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-recent-thumb-media {
  border-color: #d7e2ee !important;
  background: linear-gradient(135deg, #e0f2fe, #ede9fe) !important;
}

.hhc-recent-thumb-item:hover,
.hhc-recent-thumb-item:focus {
  text-decoration: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 760px) {
  .hhc-recent-thumb-item {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .hhc-recent-thumb-media {
    width: 68px !important;
    height: 48px !important;
  }
}

/* v1.7.26 - Cookie consent banner */

.hhc-cookie-consent {
  position: fixed !important;
  left: 18px !important;
  right: 18px !important;
  bottom: 18px !important;
  z-index: 9999 !important;
  opacity: 0 !important;
  transform: translateY(10px) !important;
  transition: opacity .18s ease, transform .18s ease !important;
  pointer-events: none !important;
}

.hhc-cookie-consent.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.hhc-cookie-consent__inner {
  width: min(920px, 100%) !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 16px 18px !important;
  border-radius: 22px !important;
  border: 1px solid var(--hhc-border) !important;
  background: color-mix(in srgb, var(--hhc-surface) 94%, transparent) !important;
  color: var(--hhc-text) !important;
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}

.hhc-cookie-consent__text {
  display: grid !important;
  gap: 4px !important;
  font-size: .92rem !important;
  line-height: 1.5 !important;
}

.hhc-cookie-consent__text strong {
  color: var(--hhc-text-strong) !important;
  font-weight: 900 !important;
}

.hhc-cookie-consent__text a {
  width: max-content !important;
  color: var(--hhc-accent) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

.hhc-cookie-consent__actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.hhc-cookie-consent__button {
  min-height: 38px !important;
  padding: 0 16px !important;
  border-radius: 999px !important;
  border: 1px solid var(--hhc-border) !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  line-height: 1 !important;
}

.hhc-cookie-consent__button--reject {
  background: transparent !important;
  color: var(--hhc-text-strong) !important;
}

.hhc-cookie-consent__button--accept {
  background: #38bdf8 !important;
  color: #082f49 !important;
  border-color: #7dd3fc !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-cookie-consent__inner {
  background: rgba(255, 255, 255, .96) !important;
  border-color: #d7e2ee !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .16) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-cookie-consent__button--reject {
  background: #f8fbff !important;
  color: #334155 !important;
  border-color: #d7e2ee !important;
}

@media (max-width: 760px) {
  .hhc-cookie-consent {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
  }

  .hhc-cookie-consent__inner {
    display: grid !important;
    gap: 14px !important;
    padding: 14px !important;
    border-radius: 20px !important;
  }

  .hhc-cookie-consent__actions {
    width: 100% !important;
    justify-content: stretch !important;
  }

  .hhc-cookie-consent__button {
    flex: 1 !important;
  }
}

/* v1.7.31 - Slim cookie consent banner */

.hhc-cookie-consent {
  position: fixed !important;
  left: 16px !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 9999 !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
  transition: opacity .16s ease, transform .16s ease !important;
  pointer-events: none !important;
}

.hhc-cookie-consent.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.hhc-cookie-consent__inner {
  width: min(860px, 100%) !important;
  margin: 0 auto !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 14px !important;
  align-items: center !important;
  padding: 12px 14px !important;
  border-radius: 18px !important;
  border: 1px solid var(--hhc-border) !important;
  background: color-mix(in srgb, var(--hhc-surface) 96%, transparent) !important;
  color: var(--hhc-text) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, .20) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.hhc-cookie-consent__text {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px 10px !important;
  align-items: baseline !important;
  font-size: .86rem !important;
  line-height: 1.45 !important;
}

.hhc-cookie-consent__text strong {
  color: var(--hhc-text-strong) !important;
  font-weight: 900 !important;
}

.hhc-cookie-consent__text span {
  color: var(--hhc-text) !important;
}

.hhc-cookie-consent__text a {
  color: var(--hhc-accent) !important;
  font-weight: 850 !important;
  text-decoration: none !important;
}

.hhc-cookie-consent__actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.hhc-cookie-consent__button {
  min-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  border: 1px solid var(--hhc-border) !important;
  font-size: .84rem !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.hhc-cookie-consent__button--reject {
  background: transparent !important;
  color: var(--hhc-text-strong) !important;
}

.hhc-cookie-consent__button--accept {
  background: #38bdf8 !important;
  color: #082f49 !important;
  border-color: #7dd3fc !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-cookie-consent__inner {
  background: rgba(255, 255, 255, .97) !important;
  border-color: #d7e2ee !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .14) !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-cookie-consent__button--reject {
  background: #f8fbff !important;
  color: #334155 !important;
  border-color: #d7e2ee !important;
}

@media (max-width: 760px) {
  .hhc-cookie-consent {
    left: 10px !important;
    right: 10px !important;
    bottom: 10px !important;
  }

  .hhc-cookie-consent__inner {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px !important;
    border-radius: 16px !important;
  }

  .hhc-cookie-consent__text {
    display: grid !important;
    gap: 4px !important;
    font-size: .84rem !important;
  }

  .hhc-cookie-consent__actions {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }

  .hhc-cookie-consent__button {
    width: 100% !important;
  }
}

/* v1.7.32 - Compact cookie banner refinement */

.hhc-cookie-consent__inner {
  width: min(760px, 100%) !important;
  padding: 10px 12px !important;
  border-radius: 16px !important;
  gap: 12px !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18) !important;
}

.hhc-cookie-consent__text {
  font-size: .82rem !important;
  line-height: 1.35 !important;
  gap: 4px 8px !important;
}

.hhc-cookie-consent__text strong {
  font-size: .84rem !important;
}

.hhc-cookie-consent__button {
  min-height: 32px !important;
  padding: 0 12px !important;
  font-size: .8rem !important;
}

@media (max-width: 760px) {
  .hhc-cookie-consent__inner {
    padding: 11px !important;
  }

  .hhc-cookie-consent__text {
    font-size: .82rem !important;
  }
}

/* v1.8.0 - Footer technical info visibility */
.hhc-footer-perf {
  font-size: .78rem !important;
  line-height: 1.65 !important;
  opacity: .82 !important;
}

html[data-hhc-color-mode="gunduz"] .hhc-footer-perf {
  opacity: .72 !important;
}

/* v1.8.1 - Singular template/layout system */

body.hhc-singular-layout-full .hhc-single-layout,
body.hhc-singular-layout-narrow .hhc-single-layout,
body.hhc-singular-layout-cover .hhc-single-layout {
  grid-template-columns: minmax(0, 1fr) !important;
}

body.hhc-singular-layout-full .hhc-single-wrap,
body.hhc-singular-layout-full .hhc-page-content,
body.hhc-singular-layout-full .hhc-content-layout {
  width: min(100% - 32px, 1040px) !important;
  max-width: 1040px !important;
  margin-inline: auto !important;
}

body.hhc-singular-layout-narrow .hhc-single-wrap,
body.hhc-singular-layout-narrow .hhc-page-content,
body.hhc-singular-layout-narrow .hhc-content-layout {
  width: min(100% - 32px, 720px) !important;
  max-width: 720px !important;
  margin-inline: auto !important;
}

body.hhc-singular-layout-cover .hhc-single-wrap,
body.hhc-singular-layout-cover .hhc-page-content,
body.hhc-singular-layout-cover .hhc-content-layout {
  width: min(100% - 32px, 960px) !important;
  max-width: 960px !important;
  margin-inline: auto !important;
}

body.hhc-singular-featured-cover .hhc-featured-media {
  margin-top: clamp(10px, 2vw, 18px) !important;
  margin-bottom: clamp(24px, 4vw, 42px) !important;
  border-radius: clamp(18px, 2.2vw, 28px) !important;
}

body.hhc-singular-featured-cover .hhc-featured-media img {
  display: block !important;
  width: 100% !important;
  max-height: 520px !important;
  object-fit: cover !important;
  aspect-ratio: 16 / 8 !important;
}

body.hhc-singular-featured-card .hhc-featured-media img {
  display: block !important;
  width: 100% !important;
  object-fit: cover !important;
}

body.hhc-singular-title-hide .hhc-article-header:empty {
  display: none !important;
}

body.hhc-singular-layout-sidebar .hhc-single-layout {
  grid-template-columns: minmax(0, 820px) minmax(280px, 340px) !important;
}

body.hhc-singular-type-page.hhc-singular-layout-sidebar .hhc-page-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
  gap: clamp(24px, 3.2vw, 42px) !important;
  align-items: start !important;
}

@media (max-width: 980px) {
  body.hhc-singular-layout-sidebar .hhc-single-layout,
  body.hhc-singular-type-page.hhc-singular-layout-sidebar .hhc-page-layout {
    grid-template-columns: 1fr !important;
  }
}

/* v1.8.2 - Mobile LCP image safety */
.hhc-lcp-candidate {
  content-visibility: auto;
}

.hhc-loop-card__thumb img {
  aspect-ratio: 420 / 260;
}
