/*
Theme Name: FileCroco v2
Theme URI: https://filecroco.com/
Description: FileCroco — 2026 redesign. Forest green + lime accent, Bricolage Grotesque + Geist.
Author: FileCroco
Version: 2.0.0
*/

/* =========================================================================
   1. TOKENS
   ========================================================================= */
:root {
  --forest:       #0d3b2e;
  --forest-deep:  #082018;
  --moss:         #1a5a45;
  --green:        #427d00;
  --lime:         #c2f04c;
  --lime-soft:    #e8fab8;
  --cream:        #faf8f3;
  --paper:        #f3efe6;
  --ink:          #0a0a0a;
  --ink-soft:     #2a2a2a;
  --muted:        #6b6b6b;
  --line:         #e5e1d6;
  --warn:         #d97706;
  --safe:         #059669;
  --danger:       #dc2626;

  --radius-sm:    8px;
  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    24px;

  --shadow-sm:    0 1px 2px rgba(13,59,46,0.05);
  --shadow:       0 4px 12px -4px rgba(13,59,46,0.10);
  --shadow-lg:    0 16px 40px -16px rgba(13,59,46,0.20);

  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --container:    1280px;
}

/* =========================================================================
   2. RESET + BASE
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--forest); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--green); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
}
p { color: var(--ink-soft); line-height: 1.65; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
@media (max-width: 768px) { .container { padding: 0 16px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* =========================================================================
   3. HEADER
   ========================================================================= */
.site-header {
  background: rgba(250, 248, 243, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--forest);
  flex-shrink: 0;
}
.logo:hover { color: var(--forest); }
.logo-mark {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  gap: 24px;
  flex: 0 1 auto;
}
.main-nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  position: relative;
  text-decoration: none;
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-menu-parent > a {
  color: var(--forest);
}
.main-nav .current-menu-item > a::after,
.main-nav .current-menu-parent > a::after {
  content: '';
  position: absolute;
  bottom: -19px;
  left: 0; right: 0;
  height: 2px;
  background: var(--lime);
}

.header-search {
  flex: 1 1 0;
  min-width: 0;
  max-width: 420px;
  position: relative;
}
.header-search form {
  display: flex;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  transition: all .15s ease;
  min-width: 0;
  position: relative;
}
.header-search input[type="search"],
.header-search input[type="text"] {
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}
.header-search button {
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
}
.header-search form:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(13,59,46,0.08);
}
.header-search input[type="search"],
.header-search input[type="text"] {
  flex: 1;
  border: none;
  padding: 10px 18px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  min-width: 0;
}
.header-search input[type="search"]::placeholder,
.header-search input[type="text"]::placeholder { color: var(--muted); }
.header-search button {
  border: none;
  background: var(--forest);
  color: white;
  padding: 0 22px;
  font-weight: 500;
  font-size: 13px;
  transition: background .15s ease;
}
.header-search button:hover { background: var(--green); }

/* Live search dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(13,59,46,0.12);
  max-height: 70vh;
  overflow-y: auto;
  z-index: 200;
}
.search-dropdown[hidden] { display: none; }
.search-dropdown-list {
  list-style: none;
  margin: 0;
  padding: 6px;
}
.search-dropdown-list li { margin: 0; }
.search-dropdown-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}
.search-dropdown-list a:hover,
.search-dropdown-list a:focus {
  background: var(--paper);
  outline: none;
}
.search-dropdown-list img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
}
.search-dropdown-icon-fallback {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.search-dropdown-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.search-dropdown-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-dropdown-version {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 400;
  margin-left: 4px;
}
.search-dropdown-cat {
  font-size: 11px;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.search-dropdown-foot {
  border-top: 1px solid var(--line);
  padding: 10px 14px;
  text-align: center;
}
.search-dropdown-foot a {
  font-size: 12px;
  color: var(--forest);
  text-decoration: none;
  font-weight: 600;
}
.search-dropdown-foot a:hover { text-decoration: underline; }
.search-dropdown-empty {
  padding: 20px 14px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-mute);
}

/* Header social pills (Facebook, X) — pinned to far right */
.header-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}
.header-social-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--line);
  color: var(--forest);
  text-decoration: none;
  transition: all 0.15s;
}
.header-social-pill:hover {
  background: var(--forest);
  color: var(--lime);
  border-color: var(--forest);
  transform: translateY(-1px);
}

/* =========================================================================
   4. BREADCRUMBS
   ========================================================================= */
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--forest); }
.breadcrumbs .sep,
.breadcrumbs > span:not(.current):not(.breadcrumb_last) { margin: 0 6px; opacity: 0.5; }
.breadcrumbs .current,
.breadcrumbs .breadcrumb_last { color: var(--ink); font-weight: 500; }

/* Inline list rendering (parent theme outputs <ul><li>...</li></ul>) */
.breadcrumbs ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li:not(:last-child)::after {
  content: '/';
  margin: 0 8px;
  color: var(--line);
  opacity: 0.6;
}
.breadcrumbs li:last-child { color: var(--ink); font-weight: 500; }

/* =========================================================================
   5. HERO (HOMEPAGE)
   ========================================================================= */
.hero {
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--lime-soft) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: end;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--safe);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 18px;
  font-variation-settings: "opsz" 96;
}
.hero h1 em {
  font-style: italic;
  color: var(--forest);
  font-weight: 400;
}
.hero p.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.5;
}
.hero-stats {
  display: flex;
  gap: 32px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* Featured card (right side of hero) */
.featured {
  background: var(--forest);
  color: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.featured-link {
  display: block;
  color: inherit;
  text-decoration: none;
  position: relative;
  margin-bottom: 20px;
  cursor: pointer;
}
.featured-link:hover { color: inherit; }
.featured-link:hover .featured-name { color: var(--lime); transition: color .15s ease; }
.featured::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(194,240,76,0.2), transparent);
  pointer-events: none;
}
.featured-tag {
  display: inline-block;
  background: var(--lime);
  color: var(--forest-deep);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  position: relative;
}
.featured-app {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  position: relative;
}
.featured-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
  overflow: hidden;
}
.featured-icon img { width: 48px; height: 48px; object-fit: contain; }
.featured-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: white;
}
.featured-version {
  font-size: 13px;
  opacity: 0.7;
  font-family: var(--font-mono);
}
.featured p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  margin-bottom: 20px;
  position: relative;
}
.btn-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--lime);
  color: var(--forest-deep);
  border: none;
  padding: 14px 20px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  position: relative;
}
.btn-download:hover {
  background: white;
  color: var(--forest-deep);
  transform: translateY(-1px);
}
.btn-download .size {
  font-size: 12px;
  opacity: 0.7;
  font-family: var(--font-mono);
}

/* =========================================================================
   6. CATEGORIES STRIP (HOMEPAGE)
   ========================================================================= */
.categories-strip {
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 40px;
  background: white;
}
.cat-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all 0.2s;
  text-decoration: none;
}
.cat-pill:hover { background: var(--paper); color: var(--ink-soft); }
.cat-pill.active {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.cat-pill .count {
  font-size: 11px;
  opacity: 0.6;
  font-family: var(--font-mono);
}

/* =========================================================================
   7. HOMEPAGE MAIN GRID
   ========================================================================= */
.main-content { padding: 32px 0 16px; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
}
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  margin-top: 8px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.section-link {
  color: var(--forest);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.section-link:hover { gap: 8px; transition: gap 0.2s; }

/* Software grid (Most popular) */
.software-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 0;
}
.software-grid--3col {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.software-grid > * { min-width: 0; }
.sw-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all 0.2s;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
}
/* Compact card: just icon + name + version, no rating/license footer */
.sw-card.sw-card-compact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
}
.sw-card.sw-card-compact .sw-icon { width: 48px; height: 48px; border-radius: 12px; font-size: 28px; }
.sw-card.sw-card-compact .sw-icon img { width: 36px; height: 36px; }
.sw-card.sw-card-compact .sw-info { min-width: 0; flex: 1; }
.sw-card.sw-card-compact .sw-date {
  font-size: 11px;
  color: var(--safe);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 600;
}
.sw-card:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -10px rgba(13,59,46,0.15);
  color: inherit;
}
.sw-card-top {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}
.sw-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
  overflow: hidden;
}
.sw-icon img { width: 48px; height: 48px; object-fit: contain; }
.sw-info { flex: 1; min-width: 0; }
.sw-name {
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sw-version {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.sw-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.sw-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-soft);
}
.sw-rating svg { color: var(--lime); }
.sw-meta {
  font-size: 12px;
  color: var(--muted);
}

/* Recently updated by category — full-width 3-col grid (homepage) */
.cat-recent-section {
  padding: 8px 0 48px;
}
.category-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.category-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
}
.cat-block-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.cat-block-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cat-block-title:hover { color: var(--forest); }
.cat-block-more {
  font-size: 11px;
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.cat-block-more:hover { text-decoration: underline; text-decoration-color: var(--lime); }
.cat-block-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cat-block-list li { margin: 0; }
.cat-block-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  margin: 0 -10px;
  text-decoration: none;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: all .18s ease;
}
.cat-block-item:hover {
  background: white;
  border-color: var(--forest);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -10px rgba(13,59,46,0.18);
  color: inherit;
}
.cat-block-item:hover .cat-block-name { color: var(--forest); }
.cat-block-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.cat-block-icon img { width: 28px; height: 28px; object-fit: contain; }
.cat-block-info { flex: 1; min-width: 0; }
.cat-block-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 1px;
}
.cat-block-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}
.cat-block-meta .v { font-family: var(--font-mono); }
.cat-block-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.cat-block-rating svg { color: var(--lime); }

@media (max-width: 968px) { .category-blocks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .category-blocks { grid-template-columns: 1fr; } }

/* Categories SEO cloud — below recently-updated grid */
.cat-cloud-section {
  padding: 0 0 64px;
}
.cat-cloud-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.cat-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-cloud-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: white;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
}
.cat-cloud-pill:hover {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.cat-cloud-pill .count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  opacity: 0.55;
}
.cat-cloud-pill:hover .count { opacity: 0.85; }

/* Recently updated list (legacy, used by Latest updates page template) */
.latest-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
}
.latest-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.latest-item:last-child { border-bottom: none; }
.latest-item:hover { background: var(--paper); color: inherit; }
.latest-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  overflow: hidden;
}
.latest-icon img { width: 40px; height: 40px; object-fit: contain; }
.latest-info { flex: 1; min-width: 0; }
.latest-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.latest-name .v {
  color: var(--muted);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  margin-left: 4px;
}
.latest-tagline {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.latest-date {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

/* Homepage sidebar — stretch to grid row height, push CTA to bottom */
.content-grid > aside.sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.content-grid > aside.sidebar .top-list-cta {
  margin-top: auto;
}

/* Sidebar lists (top downloads / popular categories) */
.sidebar h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.top-list {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 8px;
  margin-bottom: 24px;
}
.top-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  transition: background 0.15s;
  text-decoration: none;
  color: inherit;
}
.top-item:hover { background: var(--paper); color: inherit; }
.top-rank {
  width: 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--muted);
  text-align: center;
  flex-shrink: 0;
}
.top-rank.gold { color: var(--lime); -webkit-text-stroke: 1px var(--forest); }
.top-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  overflow: hidden;
}
.top-icon img { width: 32px; height: 32px; object-fit: contain; }
.top-info { flex: 1; min-width: 0; }
.top-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-downloads,
.top-meta {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
}
.top-list-cta {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--forest-deep);
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  transition: all .15s ease;
}
.top-list-cta:hover {
  background: var(--forest);
  color: var(--lime);
  transform: translateY(-1px);
}

/* =========================================================================
   8. PRODUCT PAGE (single)
   ========================================================================= */
.main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  padding: 8px 0 80px;
}

.product-hero {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.product-icon {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px -10px rgba(0,0,0,0.12);
  overflow: hidden;
}
.product-icon img { width: 64px; height: 64px; object-fit: contain; }
.product-info { flex: 1; padding-top: 4px; min-width: 0; }
.product-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--muted);
}
.tag.safe {
  color: var(--safe);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.tag.free { color: var(--forest); }
.tag-dot {
  width: 3px;
  height: 3px;
  background: var(--line);
  border-radius: 50%;
  display: inline-block;
}
.product-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
  color: var(--ink);
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
}
.stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
}
.stars-num { font-weight: 600; color: var(--ink); }
.meta-divider {
  width: 4px;
  height: 4px;
  background: var(--line);
  border-radius: 50%;
}
.meta-mono { font-family: var(--font-mono); font-size: 12px; }

/* Screenshots */
.screenshots {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 360px;
  margin-bottom: 48px;
  border-radius: 20px;
  overflow: hidden;
}
.screenshot {
  background: linear-gradient(135deg, var(--paper) 0%, #e8e3d4 100%);
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
  position: relative;
  overflow: hidden;
}
.screenshot img { width: 100%; height: 100%; object-fit: cover; }
.screenshot:hover { opacity: 0.85; }
.screenshot:first-child { grid-row: span 2; }
.screenshot.more {
  background: var(--forest);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

/* Sections in product page */
section.content-section {
  margin-bottom: 56px;
  scroll-margin-top: 100px;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-h {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 20px;
}
.section-h.smaller {
  font-size: 22px;
  margin-bottom: 14px;
}

/* Description (the_content) */
.description p {
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 16px;
}
.description strong { color: var(--ink); font-weight: 600; }
.description a {
  color: var(--forest);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: all .15s ease;
}
.description a:hover {
  color: var(--green);
  text-decoration-color: var(--green);
  background: var(--lime-soft);
}
.description h2,
.description h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 36px;
  margin-bottom: 14px;
  color: var(--ink);
}
.description h2:first-child,
.description h3:first-child { margin-top: 0; }
.description ul, .description ol {
  margin: 0 0 16px 22px;
  list-style: disc;
  color: var(--ink-soft);
}
.description ul li, .description ol li {
  margin-bottom: 6px;
  line-height: 1.7;
}

/* Pros & Cons */
.proscons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.proscons-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.proscons-card.pros { border-top: 3px solid var(--safe); }
.proscons-card.cons { border-top: 3px solid var(--warn); }
.proscons-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.proscons-list { list-style: none; }
.proscons-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}
.proscons-list li svg { flex-shrink: 0; margin-top: 4px; }
.pros .proscons-list svg { color: var(--safe); }
.cons .proscons-list svg { color: var(--warn); }

/* FAQ */
.faq-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 8px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: white;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.15s;
}
.faq-q:hover { background: var(--paper); }
.faq-q-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-right: 4px;
}
.faq-q .icon {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: var(--muted);
}
.faq-item.open .faq-q .icon { transform: rotate(45deg); color: var(--forest); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner {
  padding: 0 20px 18px 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.feature-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
}
.feature-check {
  width: 22px;
  height: 22px;
  background: var(--lime-soft);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--forest);
}
.feature-text strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.feature-text span { color: var(--muted); font-size: 13px; }

/* Tech specs */
.tech-specs {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.tech-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: center;
}
.tech-row:last-child { border-bottom: none; }
.tech-label { color: var(--muted); font-weight: 500; }
.tech-value {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 13px;
  word-break: break-all;
}
.tech-value.normal { font-family: inherit; font-size: 14px; }

/* Alternatives grid */
.alt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.alt-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
}
.alt-card:hover {
  border-color: var(--forest);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -10px rgba(13,59,46,0.15);
  color: inherit;
}
.alt-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
}
.alt-icon img { width: 28px; height: 28px; object-fit: contain; }
.alt-info {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.alt-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alt-version {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Bits container (32-bit / 64-bit variants) */
.bits-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.bits-cards .alt-card { padding: 18px; }

/* =========================================================================
   9. PRODUCT SIDEBAR (sticky download card + TOC)
   ========================================================================= */
.product-sidebar {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.product-sidebar .toc-card {
  position: sticky;
  top: 90px;
}

/* Sticky mini-bar that appears once the hero scrolls out of view */
.product-stickybar {
  position: fixed;
  top: 67px;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.product-stickybar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.product-stickybar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.product-stickybar-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.product-stickybar-meta img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
}
.product-stickybar-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.btn-mini-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.1s ease, background 0.15s;
}
.btn-mini-download:hover {
  background: #b8e63d;
  transform: translateY(-1px);
}
.btn-mini-download svg { stroke: var(--ink); }
@media (max-width: 568px) {
  .product-stickybar { padding: 8px 0; }
  .product-stickybar-name { font-size: 14px; }
  .btn-mini-download { padding: 7px 12px; font-size: 12px; }
}

/* Mobile-only bottom-fixed download bar */
.product-mobilebar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  padding: 12px 16px;
  background: rgba(250, 248, 243, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 0.25s ease;
  pointer-events: none;
}
.product-mobilebar.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.btn-mobile-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--lime);
  color: var(--ink);
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(13,59,46,0.18);
  transition: transform 0.1s ease, background 0.15s;
}
.btn-mobile-download:hover { background: #b8e63d; }
.btn-mobile-download:active { transform: translateY(1px); }
.btn-mobile-download svg { stroke: var(--ink); }
.btn-mobile-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.btn-mobile-size {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: rgba(13, 59, 46, 0.7);
}

/* Show mobile bar / hide top bar on small screens */
@media (max-width: 768px) {
  .product-mobilebar { display: block; }
  .product-stickybar { display: none; }
  /* leave room for fixed bottom bar so footer/content isn't hidden behind it */
  body.single-post { padding-bottom: 80px; }
}

.download-card {
  background: var(--forest);
  color: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}
.download-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(194,240,76,0.18), transparent 60%);
  pointer-events: none;
}
.download-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  position: relative;
}
.download-size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  position: relative;
  gap: 12px;
}
.download-size {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.download-size-unit {
  font-size: 14px;
  opacity: 0.7;
  margin-left: 4px;
  font-weight: 400;
}
.download-card .checks {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: 12px;
  opacity: 0.95;
  line-height: 1;
}
.download-card .check-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.download-card .check-row svg { color: var(--lime); flex-shrink: 0; }

.btn-download-big {
  width: 100%;
  background: var(--lime);
  color: var(--forest-deep);
  border: none;
  padding: 18px;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
  text-decoration: none;
}
.btn-download-big:hover {
  background: white;
  color: var(--forest-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(194,240,76,0.5);
}
.download-secondary {
  width: 100%;
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 11px;
  border-radius: var(--radius);
  font-family: inherit;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}
.download-secondary:hover { background: rgba(255,255,255,0.12); color: white; }

.download-info-list {
  list-style: none;
  padding: 18px 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 18px;
  position: relative;
}
.download-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  font-size: 13px;
  gap: 12px;
}
.download-info-list .label { opacity: 0.65; }
.download-info-list .value {
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: right;
  word-break: break-word;
}

.toc-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
}
.toc-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--ink);
}
.toc-list { list-style: none; }
.toc-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s;
  border-left: 2px solid transparent;
}
.toc-list a:hover {
  background: var(--paper);
  border-left-color: var(--lime);
  color: var(--forest);
}

/* Generic sidebar card wrapper (matches .toc-card) */
.sidebar-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
}
.sidebar-card-eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--ink);
}
.popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.popular-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.popular-item:last-child { border-bottom: 0; }
.popular-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 18px;
}
.popular-icon img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.popular-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.popular-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.popular-name:hover {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
}
.popular-sub {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--ink-mute);
  margin-top: 2px;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-card-title,
.sidebar-widget-card h2,
.sidebar-widget-card h3,
.sidebar-widget-card h4,
.sidebar-widget-card .widgettitle,
.sidebar-widget-card .widget-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 12px;
  color: var(--ink);
  letter-spacing: 0;
}
.sidebar-widget-card .sidebar-widget + .sidebar-widget {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.sidebar-widget-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-widget-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.4;
}
.sidebar-widget-card ul li:last-child { border-bottom: 0; }
.sidebar-widget-card ul li a {
  color: var(--forest);
  text-decoration: none;
  font-weight: 500;
}
.sidebar-widget-card ul li a:hover { color: var(--ink); }
.sidebar-widget-card img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 2px;
}
.sidebar-widget-card .post-date,
.sidebar-widget-card .rpwwt-post-date,
.sidebar-widget-card .post-meta {
  display: block;
  font-size: 11px;
  color: var(--ink-mute);
  margin-top: 2px;
}

/* =========================================================================
   10. DOWNLOAD PAGE
   ========================================================================= */
.download-hero { padding: 32px 0 24px; }
.hero-card {
  background: var(--forest);
  color: white;
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(194,240,76,0.18), transparent 60%);
  pointer-events: none;
}
.hero-card::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(66,125,0,0.25), transparent 70%);
  pointer-events: none;
}
.hero-card .hero-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 32px;
}
.hero-icon-wrap {
  width: 88px;
  height: 88px;
  background: white;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 32px -10px rgba(0,0,0,0.4);
  overflow: hidden;
}
.hero-icon-wrap img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.hero-icon-wrap .emoji-icon { font-size: 56px; line-height: 1; }
.hero-text { flex: 1; min-width: 0; }
.hero-card .hero-eyebrow {
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-card .hero-eyebrow .pulse-dot {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
  color: white;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  opacity: 0.85;
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-meta-item .lime-tag {
  background: var(--lime);
  color: var(--forest-deep);
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-meta-divider {
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
}

.download-main { padding: 8px 0 64px; }
.download-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* Mirrors */
.mirrors-section {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.mirror-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mirror-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all .2s ease;
  text-decoration: none;
  color: inherit;
}
.mirror-card:hover {
  background: white;
  border-color: var(--forest);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: inherit;
}
.mirror-card.recommended {
  background: linear-gradient(135deg, var(--lime-soft) 0%, var(--cream) 100%);
  border-color: var(--lime);
}
.mirror-card.recommended:hover { border-color: var(--green); }

.mirror-flag {
  width: 44px;
  height: 32px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.mirror-flag img { width: 100%; height: 100%; object-fit: cover; }

.mirror-info { flex: 1; min-width: 0; }
.mirror-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.mirror-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.mirror-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--forest);
  color: white;
}
.mirror-badge.lime { background: var(--lime); color: var(--forest-deep); }
.mirror-badge.outline {
  background: white;
  color: var(--forest);
  border: 1px solid var(--line);
}
.mirror-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
  align-items: center;
}
.mirror-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
}
.mirror-meta-item svg { color: var(--green); }
.mirror-meta-divider {
  width: 3px;
  height: 3px;
  background: var(--line);
  border-radius: 50%;
}
.mirror-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--forest);
  color: white;
  padding: 11px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
  transition: all .15s ease;
}
.mirror-card.recommended .mirror-action {
  background: var(--lime);
  color: var(--forest-deep);
}
.mirror-card:hover .mirror-action {
  background: var(--green);
  transform: translateX(2px);
}
.mirror-card.recommended:hover .mirror-action { background: white; }

.auto-notice {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.auto-notice svg { color: var(--green); flex-shrink: 0; }
.auto-notice strong { color: var(--ink); font-weight: 600; }
.auto-notice .countdown {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--forest);
  background: white;
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

/* Install steps */
.install-section {
  margin-top: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
}
.step-num {
  width: 28px;
  height: 28px;
  background: var(--forest);
  color: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 14px;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.step-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

/* Troubleshoot */
.troubleshoot {
  margin-top: 32px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.help-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.help-item {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}
.help-q {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.help-q::before {
  content: '?';
  width: 22px;
  height: 22px;
  background: var(--forest);
  color: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.help-a {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* Download sidebar */
.download-page-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
}

.security-card {
  background: linear-gradient(135deg, var(--lime-soft) 0%, var(--cream) 100%);
  border: 1px solid var(--lime);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 16px;
}
.security-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--forest);
  margin-bottom: 14px;
}
.security-list { list-style: none; }
.security-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.security-list svg { color: var(--safe); flex-shrink: 0; margin-top: 3px; }

.info-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}
.info-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.file-info-list { list-style: none; }
.file-info-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
}
.file-info-list li:last-child { border-bottom: none; }
.file-info-list .label { color: var(--muted); }
.file-info-list .value {
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.file-info-list .value.normal {
  font-family: inherit;
  font-size: 13px;
}
/* Long mono values (MD5 hash) — keep on one line, scale font to fit */
.file-info-list .value.md5 {
  font-size: 10.5px;
  letter-spacing: -0.02em;
}

/* Sidebar small alternatives list */
.alt-card-sidebar {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.alt-list-sidebar { list-style: none; }
.alt-list-sidebar a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  transition: background .15s ease;
  text-decoration: none;
  color: inherit;
}
.alt-list-sidebar a:hover { background: var(--paper); }

/* Variant: items without an outer <a> wrapper (link-on-name only).
   Used for the "Most downloaded" sidebar where we don't want the whole
   row to be clickable, only the title. */
.alt-list-sidebar--prose li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
}
.alt-list-sidebar--prose .alt-name {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.alt-list-sidebar--prose .alt-name:hover {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
}
.alt-subtitle {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.4;
  margin-top: 2px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* =========================================================================
   11. COMMENTS (wpDiscuz wrapper)
   ========================================================================= */
.comments-wrapper {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.comments-wrapper #wpdcom,
.comments-wrapper .wpd-comment-info,
.comments-wrapper .comments-area { font-family: inherit; }

.fc-comment-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}
.fc-comment-form .form-row {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}
.avatar-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lime-soft), var(--lime));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--forest-deep);
  flex-shrink: 0;
  font-size: 14px;
}

/* =========================================================================
   12. ADS — transparent wrapper, AdSense ins handles its own dimensions
   ========================================================================= */
.ads {
  margin: 16px 0;
  text-align: center;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 90px; /* reserve vertical space so AdSense detects width on init */
}
.ads .theAd { width: 100%; }
.ads .adsbygoogle { min-height: 90px; }
.ads .adsbygoogle:empty { display: none; }

/* =========================================================================
   13. FOOTER (compact: inline links + Top button + copyright)
   ========================================================================= */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.7);
  margin-top: 64px;
  padding: 28px 0 24px;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 14px;
}
.footer-inline-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-inline-links li {
  display: inline-flex;
  align-items: center;
  margin: 0;
}
.footer-inline-links li:not(:last-child)::after {
  content: '|';
  margin: 0 14px;
  opacity: 0.25;
}
.footer-inline-links a {
  color: var(--lime);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}
.footer-inline-links a:hover { color: white; }

.footer-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(194,240,76,0.4);
  color: var(--lime);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.15s;
}
.footer-top-btn:hover {
  background: var(--lime);
  color: var(--forest-deep);
  border-color: var(--lime);
}

.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

/* =========================================================================
   14. CATEGORY / SEARCH / 404 / GENERIC LIST PAGES
   ========================================================================= */
/* Static page (terms, privacy, contact, etc.) — narrow measure for readability */
.static-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 80px;
}
.static-page-header {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.static-page-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 4px;
  color: var(--ink);
}
.static-page-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.static-page-body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 40px;
  margin-bottom: 14px;
}
.static-page-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 28px;
  margin-bottom: 10px;
}
.static-page-body ul,
.static-page-body ol {
  margin: 0 0 18px 22px;
  list-style: disc;
  color: var(--ink-soft);
}
.static-page-body ol { list-style: decimal; }
.static-page-body li {
  margin-bottom: 8px;
  line-height: 1.7;
}
.static-page-body strong { color: var(--ink); font-weight: 600; }
.static-page-body code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--paper);
  padding: 2px 6px;
  border-radius: 4px;
}
.static-page-body blockquote {
  border-left: 3px solid var(--lime);
  padding: 8px 0 8px 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--muted);
}

.archive-header {
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.archive-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 12px;
}
.archive-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 12px;
}
.archive-desc { font-size: 16px; color: var(--muted); max-width: 640px; }

.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 40px 0;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s;
}
.pagination a:hover { background: var(--paper); border-color: var(--forest); color: var(--forest); }
.pagination .current,
.pagination span.current {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}

/* Screenshots full-page gallery */
.screenshots-header {
  padding: 32px 0 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.screenshots-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.screenshots-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: white;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.screenshots-icon img { width: 56px; height: 56px; object-fit: contain; }
.screenshots-meta { flex: 1; min-width: 200px; }
.screenshots-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 4px;
}
.screenshots-title .v {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 6px;
}
.screenshots-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.screenshots-tab {
  padding: 9px 16px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: white;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
}
.screenshots-tab:hover { background: var(--paper); color: var(--forest); }
.screenshots-tab.active {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
.screenshots-tab.cta {
  background: var(--lime);
  color: var(--forest-deep);
  border-color: var(--lime);
  font-weight: 600;
}
.screenshots-tab.cta:hover { background: white; color: var(--forest-deep); }

.screenshots-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 80px;
}
.screenshot-tile {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.screenshot-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -16px rgba(13,59,46,0.30);
}
.screenshot-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.screenshot-num {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  color: white;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}
@media (max-width: 968px) { .screenshots-grid-full { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 568px) { .screenshots-grid-full { grid-template-columns: 1fr; } }

.no-results {
  padding: 80px 0;
  text-align: center;
}


/* 404 page: centered search */
.error-search {
  max-width: 480px;
  margin: 24px auto 8px;
  position: relative;
}
.error-search form {
  display: flex;
  background: white;
  border: 1px solid var(--line);
  border-radius: 100px;
  position: relative;
}
.error-search form:focus-within {
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(13,59,46,0.08);
}
.error-search input[type="search"],
.error-search input[type="text"] {
  flex: 1;
  border: none;
  padding: 12px 18px;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  border-top-left-radius: 100px;
  border-bottom-left-radius: 100px;
}
.error-search button {
  border: none;
  background: var(--forest);
  color: white;
  padding: 0 22px;
  font-weight: 500;
  font-size: 13px;
  border-top-right-radius: 100px;
  border-bottom-right-radius: 100px;
  transition: background .15s ease;
}
.error-search button:hover { background: var(--green); }
.no-results h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 12px;
}
.no-results p { color: var(--muted); margin-bottom: 20px; }

/* Category / subcategory toolbar (sort dropdown) */
.archive-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}
.archive-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.archive-sort label {
  font-family: var(--font-mono);
  font-weight: 600;
}
.archive-sort select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: white url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' stroke='%230d3b2e' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 12px center;
  background-size: 10px 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 32px 8px 14px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.archive-sort select:hover { border-color: var(--ink-soft); }
.archive-sort select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 4px rgba(13,59,46,0.08);
}

/* Category / subcategory list cards */
.cat-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.cat-card {
  display: flex;
  gap: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.cat-card:hover {
  border-color: var(--ink-soft);
  box-shadow: 0 4px 12px rgba(13,59,46,0.06);
}
.cat-card-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-decoration: none;
}
.cat-card-icon img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
.cat-card-icon-fallback { font-size: 28px; }
.cat-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
}
.cat-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.25;
  flex: 1 1 auto;
  min-width: 0;
}
.cat-card-title a {
  color: var(--ink);
  text-decoration: none;
}
.cat-card-title a:hover { color: var(--forest); }
.cat-card-version {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 500;
  margin-left: 6px;
  vertical-align: middle;
}
.cat-card-meta {
  font-size: 11px;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cat-card-meta .dot { opacity: 0.5; }
.cat-card-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--forest);
  font-weight: 600;
}
.cat-card-rating-count {
  color: var(--ink-mute);
  font-weight: 400;
  font-size: 11px;
}
.cat-card-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.cat-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.btn-cat-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--forest);
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.btn-cat-download:hover { background: var(--ink); color: white; }

@media (max-width: 568px) {
  .cat-card { padding: 16px; gap: 14px; }
  .cat-card-icon { width: 48px; height: 48px; border-radius: 10px; }
  .cat-card-icon img { width: 48px; height: 48px; border-radius: 10px; }
  .cat-card-title { font-size: 16px; }
  .cat-card-excerpt { font-size: 13px; }
}

/* =========================================================================
   15. wp-postratings overrides (lightweight)
   ========================================================================= */
.post-ratings,
.post-ratings-text { font-size: 12px !important; color: var(--muted) !important; }
.post-ratings img { display: inline-block !important; vertical-align: middle; height: 16px; width: 16px; }
.stars .stars-interactive { display: inline-flex; align-items: center; gap: 2px; }
.stars .stars-interactive .post-ratings { display: inline-flex; align-items: center; gap: 2px; }
.stars .stars-interactive .post-ratings img { cursor: pointer; transition: transform .1s ease; }
.stars .stars-interactive .post-ratings img:hover { transform: scale(1.15); }

/* =========================================================================
   16. UTILITIES
   ========================================================================= */
.divider {
  height: 1px;
  background: var(--line);
  margin: 32px 0;
  border: none;
}
.text-muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }
#go_top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--forest);
  color: var(--lime);
  padding: 10px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 90;
  display: none;
}
#go_top.show { display: block; }

/* =========================================================================
   17. RESPONSIVE
   ========================================================================= */
@media (max-width: 1024px) {
  .main-layout,
  .download-grid {
    grid-template-columns: 1fr;
  }
  .product-sidebar,
  .download-page-sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 968px) {
  .hero-grid,
  .content-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .software-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .header-social { display: none; }
  .header-search { max-width: none; }
  .hero { padding: 32px 0 24px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .product-title { font-size: 32px; }
  .product-hero { flex-direction: column; gap: 16px; }
  .proscons-grid,
  .features-grid,
  .alt-grid,
  .help-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .tech-row { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-card { padding: 28px 24px; }
  .hero-card .hero-content { flex-direction: column; text-align: center; align-items: center; gap: 20px; }
  .hero-meta { justify-content: center; }
  .mirrors-section, .install-section, .troubleshoot { padding: 24px 20px; }
  .mirror-card { flex-wrap: wrap; padding: 16px 18px; }
  .mirror-action { width: 100%; justify-content: center; }
  .screenshots {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 120px 120px 120px;
    height: auto;
  }
  .screenshot:first-child { grid-column: span 2; grid-row: auto; }
}

