:root {
  --wenly-bg: #f8f9fa;
  --wenly-surface: #ffffff;
  --wenly-surface-low: #f3f4f5;
  --wenly-surface-mid: #edeeef;
  --wenly-surface-high: #e1e3e4;
  --wenly-ink: #191c1d;
  --wenly-muted: #414844;
  --wenly-outline: #717973;
  --wenly-line: #c1c8c2;
  --wenly-primary: #012d1d;
  --wenly-primary-soft: #c1ecd4;
  --wenly-primary-mid: #1b4332;
  --wenly-secondary: #206393;
  --wenly-secondary-soft: #cee5ff;
  --wenly-tertiary: #602e00;
  --wenly-tertiary-soft: #ffdcc5;
  --wenly-code-bg: #1e1e1e;
  --wenly-shadow: 0 10px 30px -10px rgba(27, 67, 50, 0.1);
  --wenly-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wenly-serif: "Playfair Display", Georgia, serif;
  --wenly-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --wenly-container: 1200px;
}

body {
  background: var(--wenly-bg);
  color: var(--wenly-ink);
  font-family: var(--wenly-sans);
  letter-spacing: 0;
}

a {
  color: var(--wenly-primary);
}

a:hover,
a:focus {
  color: var(--wenly-secondary);
}

.wenly-global-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--wenly-line);
  background: rgba(248, 249, 250, 0.96);
  box-shadow: 0 1px 10px rgba(25, 28, 29, 0.04);
  backdrop-filter: blur(14px);
}

.wenly-global-header__inner,
.wenly-global-footer__inner {
  display: flex;
  width: min(var(--wenly-container), calc(100% - 32px));
  margin: 0 auto;
}

.wenly-global-header__inner {
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wenly-brand {
  flex: 0 0 auto;
  color: var(--wenly-primary);
  font-family: var(--wenly-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.wenly-brand:hover,
.wenly-brand:focus {
  color: var(--wenly-secondary);
}

.wenly-global-nav,
.wenly-footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.wenly-global-nav a,
.wenly-footer-nav a,
.wenly-subscribe {
  color: var(--wenly-muted);
  font-family: var(--wenly-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.wenly-global-nav a:hover,
.wenly-global-nav a:focus,
.wenly-footer-nav a:hover,
.wenly-footer-nav a:focus {
  color: var(--wenly-secondary);
}

.wenly-global-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wenly-header-search {
  display: flex;
  align-items: center;
  min-height: 38px;
  width: 152px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--wenly-surface-low);
}

.wenly-header-search:focus-within {
  border-color: var(--wenly-secondary);
  background: var(--wenly-surface);
}

.wenly-header-search label {
  width: 18px;
  height: 18px;
  overflow: hidden;
  color: transparent;
}

.wenly-header-search label::before {
  content: "⌕";
  display: block;
  color: var(--wenly-outline);
  font-size: 16px;
  line-height: 18px;
}

.wenly-header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--wenly-ink);
  font-size: 13px;
}

.wenly-header-search input:focus {
  outline: 0;
}

.wenly-subscribe {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--wenly-primary);
  color: #ffffff;
}

.wenly-subscribe:hover,
.wenly-subscribe:focus {
  background: #3f6653;
  color: #ffffff;
}

.inside-article,
.sidebar .widget,
.comments-area {
  border: 1px solid var(--wenly-line);
  border-radius: 8px;
  background: var(--wenly-surface);
}

.entry-title,
.page-title {
  color: var(--wenly-ink);
  font-family: var(--wenly-serif);
  letter-spacing: 0;
}

.entry-meta,
.entry-summary,
.site-info {
  color: var(--wenly-muted);
}

.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border-radius: 8px;
  background: var(--wenly-primary);
  font-family: var(--wenly-sans);
  font-weight: 700;
  letter-spacing: 0;
}

.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background: #3f6653;
}

.wenly-site-shell {
  width: min(var(--wenly-container), calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 80px;
}

.wenly-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: end;
  margin: 10px 0 28px;
}

.wenly-kicker,
.wenly-search label,
.wenly-chip,
.wenly-read-link,
.wenly-section__heading a,
.wenly-post-meta {
  font-family: var(--wenly-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.wenly-kicker {
  margin: 0 0 12px;
  color: var(--wenly-outline);
}

.wenly-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--wenly-ink);
  font-family: var(--wenly-serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.wenly-hero p:not(.wenly-kicker) {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--wenly-muted);
  font-size: 18px;
  line-height: 1.65;
}

.wenly-search {
  display: grid;
  gap: 8px;
}

.wenly-search label {
  color: var(--wenly-outline);
}

.wenly-search div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--wenly-line);
  border-radius: 8px;
  background: var(--wenly-surface);
}

.wenly-search span {
  color: var(--wenly-outline);
}

.wenly-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--wenly-ink);
  font-size: 15px;
}

.wenly-search input:focus {
  outline: 0;
}

.wenly-topic-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 32px;
}

.wenly-topic-nav a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--wenly-line);
  border-radius: 999px;
  background: var(--wenly-surface);
  color: var(--wenly-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.wenly-topic-nav a:hover,
.wenly-topic-nav a:focus {
  border-color: var(--wenly-secondary);
  color: var(--wenly-secondary);
}

.wenly-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr);
  gap: 24px;
  min-height: 600px;
  margin-bottom: 80px;
}

.wenly-feature-stack {
  display: grid;
  gap: 24px;
}

.wenly-feature-card,
.wenly-spotlight-card,
.wenly-post-card,
.wenly-empty-state {
  overflow: hidden;
  border: 1px solid rgba(193, 200, 194, 0.78);
  border-radius: 8px;
  background: var(--wenly-surface);
}

.wenly-feature-card {
  position: relative;
  min-height: 100%;
}

.wenly-feature-card--small {
  min-height: 280px;
}

.wenly-feature-card__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  background: var(--wenly-surface-high);
}

.wenly-feature-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.82));
}

.wenly-feature-card__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 32px;
}

.wenly-feature-card--small .wenly-feature-card__content {
  padding: 24px;
}

.wenly-feature-card h2,
.wenly-spotlight-card h2,
.wenly-post-card h3,
.wenly-empty-state h3 {
  margin: 14px 0 0;
  font-family: var(--wenly-serif);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.wenly-feature-card h2 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(34px, 4.7vw, 56px);
}

.wenly-feature-card--small h2 {
  font-size: 25px;
}

.wenly-feature-card h2 a,
.wenly-spotlight-card h2 a,
.wenly-post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.wenly-feature-card p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.6;
}

.wenly-post-visual__image,
.wenly-post-visual__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.wenly-feature-card:hover .wenly-post-visual__image,
.wenly-feature-card:focus-within .wenly-post-visual__image,
.wenly-post-card:hover .wenly-post-visual__image,
.wenly-post-card:focus-within .wenly-post-visual__image {
  transform: scale(1.045);
}

.wenly-post-visual__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  padding: 24px;
  color: #ffffff;
  font-family: var(--wenly-serif);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.wenly-post-visual__fallback--camping {
  background:
    linear-gradient(135deg, rgba(1, 45, 29, 0.86), rgba(63, 102, 83, 0.74)),
    radial-gradient(circle at top left, #a5d0b9, transparent 38%);
}

.wenly-post-visual__fallback--food {
  background:
    linear-gradient(135deg, rgba(96, 46, 0, 0.9), rgba(246, 138, 47, 0.72)),
    radial-gradient(circle at top left, #ffdcc5, transparent 38%);
}

.wenly-post-visual__fallback--tech {
  align-items: center;
  justify-content: flex-start;
  background: var(--wenly-code-bg);
  color: #a5d0b9;
  font-family: var(--wenly-mono);
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
}

.wenly-post-visual__fallback--tech code {
  white-space: normal;
}

.wenly-post-visual__fallback--tech span {
  color: #ffb783;
}

.wenly-post-visual__fallback--tech b {
  color: #96ccff;
  font-weight: 400;
}

.wenly-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  text-decoration: none;
}

.wenly-chip--camping {
  background: var(--wenly-primary-mid);
  color: #a5d0b9;
}

.wenly-chip--food {
  background: var(--wenly-tertiary);
  color: #ffb783;
}

.wenly-chip--tech {
  background: var(--wenly-secondary-soft);
  color: #004a75;
}

.wenly-chip:hover,
.wenly-chip:focus {
  color: #ffffff;
}

.wenly-spotlight-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  padding: 24px;
  background: var(--wenly-surface-high);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wenly-spotlight-card:hover,
.wenly-spotlight-card:focus-within,
.wenly-post-card:hover,
.wenly-post-card:focus-within {
  border-color: rgba(63, 102, 83, 0.45);
  box-shadow: var(--wenly-shadow);
  transform: translateY(-2px);
}

.wenly-spotlight-card h2 {
  color: var(--wenly-ink);
  font-size: 27px;
}

.wenly-spotlight-card p {
  margin: 12px 0 0;
  color: var(--wenly-muted);
  line-height: 1.65;
}

.wenly-read-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: 22px;
  color: var(--wenly-secondary);
  text-decoration: none;
}

.wenly-section {
  margin-bottom: 80px;
}

.wenly-section__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wenly-line);
}

.wenly-section__heading h2 {
  margin: 0;
  color: var(--wenly-ink);
  font-family: var(--wenly-serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
}

.wenly-section__heading a {
  color: var(--wenly-secondary);
  text-decoration: none;
}

.wenly-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wenly-post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wenly-post-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--wenly-surface-high);
}

.wenly-post-card__body,
.wenly-empty-state {
  padding: 24px;
}

.wenly-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.wenly-post-card h3 {
  color: var(--wenly-ink);
  font-size: 24px;
}

.wenly-post-card h3 a:hover,
.wenly-post-card h3 a:focus {
  color: var(--wenly-primary);
}

.wenly-post-card p,
.wenly-empty-state p {
  color: var(--wenly-muted);
  line-height: 1.65;
}

.wenly-post-card p {
  margin: 12px 0 20px;
}

.wenly-post-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--wenly-surface-high);
  color: var(--wenly-outline);
  font-family: var(--wenly-mono);
}

.wenly-post-meta span {
  padding: 0 6px;
}

.wenly-empty-state {
  min-height: 180px;
}

.site-footer {
  border-top: 1px solid var(--wenly-line);
  background: var(--wenly-surface);
}

.site-info {
  background: transparent;
  color: var(--wenly-muted);
}

.wenly-global-footer {
  border-top: 1px solid var(--wenly-line);
  background: var(--wenly-surface);
}

.wenly-global-footer__inner {
  justify-content: space-between;
  gap: 32px;
  padding: 48px 0;
}

.wenly-global-footer p {
  max-width: 420px;
  margin: 10px 0 0;
  color: var(--wenly-muted);
  line-height: 1.6;
}

.wenly-archive-hero,
.wenly-about-hero,
.wenly-page__header,
.wenly-single__header {
  overflow: hidden;
  border: 1px solid rgba(193, 200, 194, 0.78);
  border-radius: 8px;
  background: var(--wenly-surface);
}

.wenly-archive-hero,
.wenly-about-hero {
  min-height: 300px;
  margin-bottom: 48px;
  padding: 56px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(248, 249, 250, 0.94)),
    radial-gradient(circle at top right, rgba(165, 208, 185, 0.9), transparent 34%);
}

.wenly-archive-hero--food {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(248, 249, 250, 0.94)),
    radial-gradient(circle at top right, rgba(255, 183, 131, 0.9), transparent 34%);
}

.wenly-archive-hero--tech {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(248, 249, 250, 0.94)),
    radial-gradient(circle at top right, rgba(150, 204, 255, 0.86), transparent 34%);
}

.wenly-archive-hero h1,
.wenly-about-hero h1,
.wenly-page__header h1,
.wenly-single__header h1 {
  max-width: 820px;
  margin: 0;
  color: var(--wenly-primary);
  font-family: var(--wenly-serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.wenly-archive-hero p:not(.wenly-kicker),
.wenly-about-hero p:not(.wenly-kicker) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--wenly-muted);
  font-size: 18px;
  line-height: 1.65;
}

.wenly-card-grid--archive {
  margin-bottom: 44px;
}

.wenly-pagination {
  margin-top: 42px;
}

.wenly-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.wenly-pagination .page-numbers {
  display: inline-flex;
  min-width: 38px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--wenly-line);
  border-radius: 8px;
  background: var(--wenly-surface);
  color: var(--wenly-muted);
  text-decoration: none;
}

.wenly-pagination .page-numbers.current {
  background: var(--wenly-primary);
  color: #ffffff;
}

.wenly-single-shell {
  width: min(980px, calc(100% - 32px));
}

.wenly-single__header {
  padding: 48px;
  background: var(--wenly-surface);
}

.wenly-single__header h1 {
  margin-top: 18px;
  color: var(--wenly-ink);
}

.wenly-single__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  color: var(--wenly-outline);
  font-family: var(--wenly-mono);
  font-size: 13px;
  text-transform: uppercase;
}

.wenly-single__meta span + span::before {
  content: "•";
  margin-right: 10px;
}

.wenly-single__cover {
  overflow: hidden;
  margin: 32px 0 0;
  border-radius: 8px;
}

.wenly-single__cover img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.wenly-single__content,
.wenly-page__content {
  margin: 40px auto 0;
  color: var(--wenly-ink);
  font-size: 18px;
  line-height: 1.8;
}

.wenly-single__content {
  max-width: 760px;
}

.wenly-single__content h2,
.wenly-single__content h3,
.wenly-page__content h2,
.wenly-page__content h3,
.wenly-author-box h2,
.wenly-about-panel h2 {
  color: var(--wenly-ink);
  font-family: var(--wenly-serif);
  line-height: 1.25;
  letter-spacing: 0;
}

.wenly-single__content h2 {
  margin-top: 46px;
  font-size: 34px;
}

.wenly-single__content h3 {
  margin-top: 34px;
  font-size: 26px;
}

.wenly-single__content pre,
.wenly-single__content code {
  font-family: var(--wenly-mono);
}

.wenly-single__content pre {
  overflow-x: auto;
  padding: 22px;
  border-radius: 8px;
  background: var(--wenly-code-bg);
  color: #a5d0b9;
  font-size: 14px;
  line-height: 1.65;
}

.wenly-single__content :not(pre) > code {
  padding: 0.12em 0.34em;
  border-radius: 4px;
  background: var(--wenly-surface-high);
  color: var(--wenly-secondary);
}

.wenly-author-box,
.wenly-page {
  margin: 48px auto 80px;
  padding: 28px;
  border: 1px solid var(--wenly-line);
  border-radius: 8px;
  background: var(--wenly-surface-low);
}

.wenly-author-box {
  max-width: 760px;
}

.wenly-author-box h2 {
  margin: 8px 0 0;
  font-size: 28px;
}

.wenly-author-box p:not(.wenly-kicker) {
  margin: 12px 0 0;
  color: var(--wenly-muted);
  line-height: 1.65;
}

.wenly-about-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}

.wenly-about-panel {
  min-height: 260px;
  padding: 28px;
  border-radius: 8px;
  color: #ffffff;
}

.wenly-about-panel .wenly-kicker,
.wenly-about-panel p {
  color: rgba(255, 255, 255, 0.8);
}

.wenly-about-panel h2 {
  margin: 12px 0 0;
  color: #ffffff;
  font-size: 30px;
}

.wenly-about-panel p:not(.wenly-kicker) {
  margin-top: 16px;
  line-height: 1.65;
}

.wenly-about-panel--tech {
  background: var(--wenly-code-bg);
}

.wenly-about-panel--camping {
  background: var(--wenly-primary-mid);
}

.wenly-about-panel--food {
  background: var(--wenly-tertiary);
}

.wenly-page {
  max-width: 860px;
  background: var(--wenly-surface);
}

.wenly-page--about {
  margin-top: 0;
}

.wenly-page__header {
  padding: 48px;
}

@media (max-width: 1024px) {
  .wenly-global-header__inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .wenly-global-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .wenly-global-nav a {
    flex: 0 0 auto;
  }

  .wenly-site-shell {
    width: min(100% - 32px, 860px);
  }

  .wenly-hero,
  .wenly-feature-grid {
    grid-template-columns: 1fr;
  }

  .wenly-feature-grid {
    min-height: 0;
  }

  .wenly-feature-card--large {
    min-height: 520px;
  }

  .wenly-feature-card--small {
    min-height: 320px;
  }

  .wenly-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wenly-about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .wenly-global-header__inner,
  .wenly-global-footer__inner {
    width: min(100% - 32px, 100%);
  }

  .wenly-global-actions {
    width: 100%;
  }

  .wenly-header-search {
    flex: 1;
  }

  .wenly-subscribe {
    padding: 0 14px;
  }

  .wenly-global-footer__inner,
  .wenly-footer-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .wenly-site-shell {
    width: min(100% - 32px, 100%);
    padding-top: 24px;
  }

  .wenly-hero {
    gap: 22px;
  }

  .wenly-hero h1 {
    font-size: 38px;
  }

  .wenly-hero p:not(.wenly-kicker) {
    font-size: 16px;
  }

  .wenly-topic-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .wenly-topic-nav a {
    flex: 0 0 auto;
  }

  .wenly-feature-card--large {
    min-height: 460px;
  }

  .wenly-feature-card__content {
    padding: 24px;
  }

  .wenly-feature-card h2 {
    font-size: 34px;
  }

  .wenly-card-grid {
    grid-template-columns: 1fr;
  }

  .wenly-section__heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .wenly-archive-hero,
  .wenly-about-hero,
  .wenly-page__header,
  .wenly-single__header {
    padding: 28px;
  }

  .wenly-archive-hero h1,
  .wenly-about-hero h1,
  .wenly-page__header h1,
  .wenly-single__header h1 {
    font-size: 36px;
  }

  .wenly-single__content,
  .wenly-page__content {
    font-size: 16px;
  }
}

/* Stitch 2026-05 Tech-Craft refresh. */
:root {
  --wenly-bg: #101416;
  --wenly-surface: #1c2022;
  --wenly-surface-low: #181c1e;
  --wenly-surface-mid: #262b2c;
  --wenly-surface-high: #313537;
  --wenly-ink: #e0e3e5;
  --wenly-muted: #c6c6cc;
  --wenly-outline: #909096;
  --wenly-line: #45474c;
  --wenly-primary: #c1c6d7;
  --wenly-primary-soft: #1a202c;
  --wenly-primary-mid: #002613;
  --wenly-secondary: #ffb783;
  --wenly-secondary-soft: #4f2500;
  --wenly-tertiary: #74db9d;
  --wenly-tertiary-soft: #00391f;
  --wenly-code-bg: #0d1117;
  --wenly-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --wenly-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wenly-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --wenly-container: 1200px;
}

body,
.site-content,
.inside-article,
.sidebar .widget,
.comments-area {
  background: var(--wenly-bg);
  color: var(--wenly-ink);
  font-family: var(--wenly-sans);
}

a {
  color: var(--wenly-primary);
}

a:hover,
a:focus {
  color: var(--wenly-secondary);
}

.material-symbols-outlined {
  display: inline-block;
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  font-style: normal;
  font-weight: normal;
  letter-spacing: normal;
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
}

.wenly-global-header {
  border-bottom-color: var(--wenly-line);
  background: rgba(16, 20, 22, 0.96);
  box-shadow: none;
}

.wenly-global-header__inner {
  min-height: 80px;
}

.wenly-brand {
  color: var(--wenly-ink);
  font-family: var(--wenly-sans);
  font-size: 32px;
  font-weight: 800;
}

.wenly-global-nav {
  gap: 24px;
}

.wenly-global-nav a,
.wenly-footer-nav a,
.wenly-subscribe {
  color: var(--wenly-muted);
  font-family: var(--wenly-sans);
  font-size: 16px;
  font-weight: 500;
  text-transform: none;
}

.wenly-global-nav a:hover,
.wenly-global-nav a:focus,
.wenly-footer-nav a:hover,
.wenly-footer-nav a:focus {
  color: var(--wenly-primary);
}

.wenly-icon-link {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  color: var(--wenly-muted);
  text-decoration: none;
}

.wenly-header-search {
  display: flex;
  width: clamp(180px, 20vw, 230px);
  min-height: 36px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(144, 144, 150, 0.38);
  border-radius: 4px;
  background: rgba(28, 32, 34, 0.72);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.wenly-header-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.wenly-header-search label::before {
  content: none;
}

.wenly-header-search input {
  width: 100%;
  min-width: 0;
  height: 36px;
  border: 0;
  background: rgba(28, 32, 34, 0.72) !important;
  box-shadow: none;
  color: #e0e3e5 !important;
  font-family: var(--wenly-sans);
  font-size: 13px;
  padding: 0 10px 0 12px;
  opacity: 1;
  -webkit-appearance: none;
  appearance: none;
}

.wenly-header-search input::placeholder {
  color: rgba(198, 198, 204, 0.62);
}

.wenly-header-search input:focus {
  background: rgba(24, 28, 30, 0.96) !important;
  color: #e0e3e5 !important;
  outline: 0;
}

.wenly-header-search input:-webkit-autofill,
.wenly-header-search input:-webkit-autofill:hover,
.wenly-header-search input:-webkit-autofill:focus {
  -webkit-text-fill-color: #e0e3e5;
  box-shadow: 0 0 0 1000px #181c1e inset;
}

.wenly-header-search:focus-within {
  border-color: rgba(255, 183, 131, 0.72);
  background: rgba(24, 28, 30, 0.96);
}

.wenly-header-search button {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(144, 144, 150, 0.28);
  border-radius: 0;
  background: transparent;
  color: var(--wenly-muted);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.wenly-header-search button:hover,
.wenly-header-search button:focus {
  background: rgba(255, 183, 131, 0.14);
  color: var(--wenly-secondary);
}

.wenly-header-search button .material-symbols-outlined {
  font-size: 19px;
}

.wenly-home-shell,
.wenly-site-shell {
  width: min(var(--wenly-container), calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.wenly-home-shell,
.wenly-archive-shell,
.wenly-single-shell {
  position: relative;
}

.wenly-side-nav {
  position: fixed;
  top: 104px;
  left: max(24px, calc((100vw - var(--wenly-container)) / 2));
  z-index: 20;
  display: flex;
  width: 256px;
  max-height: calc(100vh - 128px);
  flex-direction: column;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--wenly-line);
  border-radius: 8px;
  background: var(--wenly-surface-low);
}

.wenly-side-nav__profile {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 24px;
  text-align: center;
}

.wenly-side-nav__profile img {
  width: 80px;
  height: 80px;
  border: 2px solid var(--wenly-line);
  border-radius: 999px;
  object-fit: cover;
}

.wenly-side-nav__profile h2 {
  margin: 4px 0 0;
  color: var(--wenly-ink);
  font-family: var(--wenly-sans);
  font-size: 22px;
  font-weight: 700;
}

.wenly-side-nav__profile p,
.wenly-side-nav a {
  font-family: var(--wenly-mono);
  font-size: 13px;
}

.wenly-side-nav__profile p {
  margin: 0;
  color: var(--wenly-muted);
}

.wenly-side-nav__profile > a,
.wenly-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 4px;
  background: #b15b00;
  color: #fff7f3;
  font-family: var(--wenly-mono);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.wenly-side-nav__profile > a:hover,
.wenly-cta:hover,
.wenly-cta:focus {
  color: #fff7f3;
  filter: brightness(1.12);
  transform: translateY(-2px);
}

.wenly-side-nav nav {
  display: grid;
  gap: 8px;
}

.wenly-side-nav nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--wenly-muted);
  text-decoration: none;
}

.wenly-side-nav nav a:hover,
.wenly-side-nav nav a:focus,
.wenly-side-nav nav a.is-active {
  background: #b15b00;
  color: #fff7f3;
}

.wenly-home-hero {
  position: relative;
  display: grid;
  min-height: 614px;
  place-items: center;
  overflow: hidden;
  margin: -48px calc(50% - 50vw) 64px;
  padding: 80px max(24px, calc((100vw - 760px) / 2));
  text-align: center;
}

.wenly-home-hero__media,
.wenly-home-hero__media::after,
.wenly-home-hero__fallback {
  position: absolute;
  inset: 0;
}

.wenly-home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: brightness(1.18) saturate(1.04);
}

.wenly-home-hero__fallback {
  background:
    linear-gradient(180deg, rgba(16, 20, 22, 0.2), rgba(16, 20, 22, 0.95)),
    radial-gradient(circle at 42% 48%, rgba(255, 183, 131, 0.45), transparent 0 16%, rgba(255, 183, 131, 0.16) 17%, transparent 32%),
    linear-gradient(135deg, #0b0f10, #1a202c 48%, #101416);
}

.wenly-home-hero__media::after {
  content: "";
  background:
    linear-gradient(0deg, var(--wenly-bg), rgba(16, 20, 22, 0.38) 34%, rgba(16, 20, 22, 0.1) 68%, rgba(16, 20, 22, 0.04)),
    linear-gradient(90deg, rgba(16, 20, 22, 0.28), rgba(16, 20, 22, 0.04) 38%, rgba(16, 20, 22, 0.06) 62%, rgba(16, 20, 22, 0.3));
}

.wenly-home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.wenly-home-hero h1 {
  margin: 0;
  color: var(--wenly-ink);
  font-family: var(--wenly-sans);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
}

.wenly-home-hero p {
  margin: 18px auto 32px;
  color: var(--wenly-muted);
  font-size: 18px;
  line-height: 1.7;
}

.wenly-section {
  margin-bottom: 64px;
}

.wenly-section__heading {
  border-bottom-color: var(--wenly-line);
}

.wenly-section__heading h2,
.wenly-spotlight-card h2,
.wenly-post-card h3,
.wenly-empty-state h3,
.entry-title,
.page-title,
.wenly-archive-hero h1,
.wenly-about-hero h1,
.wenly-page__header h1,
.wenly-single__header h1,
.wenly-single__content h2,
.wenly-single__content h3,
.wenly-page__content h2,
.wenly-page__content h3,
.wenly-author-box h2,
.wenly-about-panel h2 {
  color: var(--wenly-ink);
  font-family: var(--wenly-sans);
  letter-spacing: 0;
}

.wenly-section__heading h2 {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 700;
}

#wenly-latest-title {
  color: #000000;
}

.wenly-card-grid,
.wenly-archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wenly-archive-list--food {
  grid-template-columns: 1fr;
}

.wenly-archive-list--food .wenly-post-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1fr);
  min-height: 320px;
}

.wenly-archive-list--food .wenly-post-card__media {
  aspect-ratio: auto;
}

.wenly-archive-list--food .wenly-post-card__body {
  justify-content: center;
  padding: 32px;
}

.wenly-post-card,
.wenly-empty-state,
.wenly-spotlight-card,
.wenly-author-box,
.wenly-page,
.wenly-single__header,
.wenly-archive-hero,
.wenly-about-hero,
.wenly-page__header,
.inside-article,
.sidebar .widget,
.comments-area {
  border-color: var(--wenly-line);
  background: var(--wenly-surface);
}

.wenly-post-card {
  border-radius: 8px;
  box-shadow: none;
}

.wenly-post-card:hover,
.wenly-post-card:focus-within {
  border-color: var(--wenly-outline);
  box-shadow: var(--wenly-shadow);
}

.wenly-post-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
}

.wenly-post-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 9px;
  border: 1px solid var(--wenly-line);
  border-radius: 999px;
  background: rgba(28, 32, 34, 0.92);
  color: var(--wenly-primary);
  font-family: var(--wenly-mono);
  font-size: 12px;
  font-weight: 600;
}

.wenly-post-card__badge .material-symbols-outlined {
  font-size: 16px;
}

.wenly-post-card__badge--camping,
.wenly-post-card__badge--food {
  color: var(--wenly-tertiary);
}

.wenly-post-card__badge--food span {
  color: var(--wenly-secondary);
}

.wenly-post-card h3 {
  font-size: 24px;
  font-weight: 700;
}

.wenly-post-card p,
.wenly-empty-state p,
.wenly-spotlight-card p,
.wenly-global-footer p,
.wenly-archive-hero p:not(.wenly-kicker),
.wenly-about-hero p:not(.wenly-kicker),
.wenly-author-box p:not(.wenly-kicker),
.entry-meta,
.entry-summary,
.site-info {
  color: var(--wenly-muted);
}

.wenly-post-meta,
.wenly-kicker,
.wenly-chip,
.wenly-read-link,
.wenly-section__heading a {
  font-family: var(--wenly-mono);
  letter-spacing: 0;
}

.wenly-post-meta {
  border-top-color: var(--wenly-line);
}

.wenly-chip {
  min-height: 28px;
  border: 1px solid var(--wenly-line);
  border-radius: 4px;
}

.wenly-chip--tech {
  background: #1a202c;
  color: var(--wenly-primary);
}

.wenly-chip--camping {
  background: #002613;
  color: var(--wenly-tertiary);
}

.wenly-chip--food {
  background: #4f2500;
  color: var(--wenly-secondary);
}

.wenly-post-visual__fallback--camping {
  background:
    linear-gradient(135deg, rgba(0, 38, 19, 0.92), rgba(47, 153, 98, 0.44)),
    radial-gradient(circle at top left, #74db9d, transparent 36%);
}

.wenly-post-visual__fallback--food {
  background:
    linear-gradient(135deg, rgba(79, 37, 0, 0.92), rgba(177, 91, 0, 0.72)),
    radial-gradient(circle at top left, #ffb783, transparent 36%);
}

.wenly-archive-hero,
.wenly-about-hero {
  background:
    linear-gradient(135deg, rgba(28, 32, 34, 0.96), rgba(16, 20, 22, 0.94)),
    radial-gradient(circle at top right, rgba(193, 198, 215, 0.18), transparent 34%);
}

.wenly-archive-hero--food {
  background:
    linear-gradient(135deg, rgba(28, 32, 34, 0.96), rgba(16, 20, 22, 0.94)),
    radial-gradient(circle at top right, rgba(255, 183, 131, 0.25), transparent 34%);
}

.wenly-archive-hero--camping {
  background:
    linear-gradient(135deg, rgba(28, 32, 34, 0.96), rgba(16, 20, 22, 0.94)),
    radial-gradient(circle at top right, rgba(116, 219, 157, 0.22), transparent 34%);
}

.wenly-single-shell,
.wenly-archive-shell {
  max-width: var(--wenly-container);
}

.wenly-single__header {
  padding: 48px;
}

.wenly-single__content,
.wenly-page__content {
  color: var(--wenly-ink);
}

.wenly-single__content :not(pre) > code {
  background: var(--wenly-surface-high);
  color: var(--wenly-secondary);
}

/* Keep legacy post content readable even when the surrounding theme is dark. */
.wenly-single__content,
.wenly-page__content {
  max-width: 820px;
  padding: 36px;
  border: 1px solid #d8dde2;
  border-radius: 8px;
  background: #f8f9fa;
  color: #191c1d;
}

.wenly-single__content :where(p, li, td, th, blockquote, figcaption),
.wenly-page__content :where(p, li, td, th, blockquote, figcaption) {
  color: #191c1d;
}

.wenly-single__content :where(h1, h2, h3, h4, h5, h6),
.wenly-page__content :where(h1, h2, h3, h4, h5, h6) {
  color: #0f1720;
}

.wenly-single__content h1,
.wenly-single__content h2,
.wenly-single__content h3,
.wenly-single__content h4,
.wenly-single__content h5,
.wenly-single__content h6,
.wenly-page__content h1,
.wenly-page__content h2,
.wenly-page__content h3,
.wenly-page__content h4,
.wenly-page__content h5,
.wenly-page__content h6,
.wenly-single__content .wp-block-heading,
.wenly-page__content .wp-block-heading {
  color: #0f1720 !important;
}

.wenly-single__content a,
.wenly-page__content a {
  color: #005f8f;
}

.wenly-single__content a:hover,
.wenly-single__content a:focus,
.wenly-page__content a:hover,
.wenly-page__content a:focus {
  color: #8a4300;
}

.wenly-single__content :not(pre) > code,
.wenly-page__content :not(pre) > code {
  background: #e9edf1;
  color: #7a3700;
}

.wenly-newsletter {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--wenly-line);
  border-radius: 8px;
  background: var(--wenly-surface);
}

.wenly-newsletter h2 {
  margin: 0 0 8px;
  color: var(--wenly-ink);
  font-size: 32px;
}

.wenly-newsletter p {
  margin: 0;
  color: var(--wenly-muted);
}

.wenly-cta--outline {
  border: 1px solid var(--wenly-tertiary);
  background: var(--wenly-surface-high);
  color: var(--wenly-tertiary);
}

.wenly-cta--outline:hover,
.wenly-cta--outline:focus {
  background: var(--wenly-tertiary);
  color: #002110;
}

.wenly-global-footer {
  border-top-color: var(--wenly-line);
  background: var(--wenly-surface-low);
}

@media (min-width: 1200px) {
  .wenly-home-shell .wenly-section,
  .wenly-home-shell .wenly-newsletter,
  .wenly-archive-shell > :not(.wenly-side-nav),
  .wenly-single-shell > :not(.wenly-side-nav) {
    margin-left: 288px;
  }
}

@media (max-width: 1199px) {
  .wenly-side-nav {
    display: none;
  }
}

@media (max-width: 1024px) {
  .wenly-card-grid,
  .wenly-archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wenly-archive-list--food {
    grid-template-columns: 1fr;
  }

  .wenly-archive-list--food .wenly-post-card {
    grid-template-columns: 1fr;
  }

  .wenly-archive-list--food .wenly-post-card__media {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 720px) {
  .wenly-brand {
    font-size: 24px;
  }

  .wenly-global-nav {
    gap: 18px;
  }

  .wenly-global-actions {
    width: auto;
  }

  .wenly-header-search {
    width: min(100%, 220px);
  }

  .wenly-home-hero {
    min-height: 520px;
    padding-inline: 16px;
  }

  .wenly-card-grid,
  .wenly-archive-list {
    grid-template-columns: 1fr;
  }

  .wenly-newsletter {
    align-items: flex-start;
    flex-direction: column;
  }
}
