.wnvhome-page {
  --wnvhome-bg: #f6f7f9;
  --wnvhome-paper: #ffffff;
  --wnvhome-text: #111827;
  --wnvhome-muted: #5f6368;
  --wnvhome-border: #e7e7e7;
  --wnvhome-accent: #d32f2f;
}

body.home.ast-theme-transparent-header #masthead,
body.home.transparent-header #masthead,
body.home .site-header {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  background: #ffffff !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

body.home.ast-theme-transparent-header .main-header-bar,
body.home.transparent-header .main-header-bar,
body.home .main-header-bar {
  background: #ffffff !important;
}

body.home.admin-bar.ast-theme-transparent-header #masthead,
body.home.admin-bar.transparent-header #masthead,
body.home.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.home.admin-bar.ast-theme-transparent-header #masthead,
  body.home.admin-bar.transparent-header #masthead,
  body.home.admin-bar .site-header {
    top: 46px;
  }
}

body.ast-separate-container .wnvhome-page .ast-article-post,
body.ast-separate-container .wnvhome-page .ast-article-single {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.wnvhome-container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.wnvhome-hero {
  padding: 56px 0 34px;
}

.wnvhome-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: center;
}

.wnvhome-hero-title {
  margin: 0;
  color: var(--wnvhome-text);
  font-size: clamp(2.1rem, 5vw, 4.15rem);
  line-height: 1.07;
  letter-spacing: -0.01em;
}

.wnvhome-hero-subtitle {
  margin: 14px 0 0;
  color: var(--wnvhome-muted);
  line-height: 1.8;
}

.wnvhome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  min-width: 150px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--wnvhome-accent);
  background: var(--wnvhome-accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.wnvhome-btn:hover {
  opacity: 0.92;
  color: #fff;
}

.wnvhome-btn-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  margin-right: 8px;
  flex: 0 0 auto;
}

.wnvhome-btn-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.wnvhome-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.wnvhome-btn-row .wnvhome-btn {
  margin-top: 0;
}

.wnvhome-btn-ghost {
  background: #fff;
  color: var(--wnvhome-accent);
}

.wnvhome-btn-ghost:hover {
  color: var(--wnvhome-accent);
  background: #fff4f4;
}

.wnvhome-hero-visual {
  background: #c9c0b4;
  border-radius: 8px;
  padding: 16px;
}

.wnvhome-hero-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.wnvhome-section {
  padding: 38px 0;
}

.wnvhome-section-title {
  margin: 0 0 20px;
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: var(--wnvhome-text);
}

.wnvhome-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.wnvhome-featured-card {
  margin: 0;
  border: 1px solid var(--wnvhome-border);
  border-radius: 10px;
  background: var(--wnvhome-paper);
  overflow: hidden;
}

.wnvhome-featured-link {
  text-decoration: none;
  color: inherit;
}

.wnvhome-featured-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.wnvhome-featured-fallback {
  background: linear-gradient(135deg, #ffe0d2, #ffd2c3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #8b2d0a;
}

.wnvhome-featured-body {
  padding: 10px;
}

.wnvhome-tags {
  margin: 0;
  font-size: 12px;
  color: #bf2a2a;
  line-height: 1.4;
}

.wnvhome-featured-body h3 {
  margin: 8px 0 0;
  font-size: 1.2rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wnvhome-latest-wrap {
  padding-top: 20px;
  padding-bottom: 64px;
}

.wnvhome-main-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}

.wnvhome-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.wnvhome-all-link {
  color: var(--wnvhome-accent);
  font-weight: 700;
  text-decoration: none;
}

.wnvhome-all-link:hover {
  text-decoration: underline;
}

.wnvhome-latest-list {
  display: grid;
  gap: 16px;
}

.wnvhome-latest-item {
  border: 1px solid var(--wnvhome-border);
  border-radius: 10px;
  background: var(--wnvhome-paper);
  padding: 14px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 14px;
}

.wnvhome-latest-thumb-link {
  display: block;
}

.wnvhome-latest-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.wnvhome-latest-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffe0d2, #ffd2c3);
  color: #8b2d0a;
  font-weight: 700;
}

.wnvhome-meta {
  margin: 0;
  color: var(--wnvhome-muted);
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.wnvhome-latest-title {
  margin: 8px 0;
  font-size: 1.5rem;
  line-height: 1.25;
}

.wnvhome-latest-title a {
  color: var(--wnvhome-text);
  text-decoration: none;
}

.wnvhome-latest-title a:hover {
  color: var(--wnvhome-accent);
}

.wnvhome-latest-excerpt {
  margin: 0;
  color: var(--wnvhome-muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wnvhome-sidebar {
  position: sticky;
  top: 20px;
}

.wnvhome-widget {
  border: 1px solid var(--wnvhome-border);
  border-radius: 10px;
  background: var(--wnvhome-paper);
  padding: 14px;
}

.wnvhome-widget + .wnvhome-widget {
  margin-top: 16px;
}

.wnvhome-widget-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.wnvhome-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wnvhome-category-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.wnvhome-category-list li:last-child {
  border-bottom: 0;
}

.wnvhome-category-list a {
  color: var(--wnvhome-text);
  text-decoration: none;
}

.wnvhome-category-list a:hover {
  color: var(--wnvhome-accent);
}

.wnvhome-empty {
  margin: 0;
  color: var(--wnvhome-muted);
}

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

  .wnvhome-main-layout {
    grid-template-columns: 1fr;
  }

  .wnvhome-sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .wnvhome-hero-grid {
    grid-template-columns: 1fr;
  }

  .wnvhome-hero-content {
    text-align: center;
  }

  .wnvhome-btn {
    margin-left: auto;
    margin-right: auto;
  }

  .wnvhome-btn-row {
    justify-content: center;
  }

  .wnvhome-featured-grid {
    grid-template-columns: 1fr;
  }

  .wnvhome-latest-item {
    grid-template-columns: 1fr;
  }
}
