@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

:root {
  --ink: #161616;
  --muted: #4a4a4a;
  --line: #e4e4e4;
  --paper: #ffffff;
  --soft: #f5f5f5;
}

html { scroll-behavior: smooth; }

body {
  margin: 0 !important;
  background: var(--paper) !important;
  background-image: none !important;
  color: #222 !important;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

h1, h2, h3, h4, .widget h3 {
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  letter-spacing: -0.03em;
  line-height: 1.2 !important;
}

p, li { font-size: 16px !important; line-height: 1.65 !important; }

a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: #000; }

.wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: auto !important;
  max-width: 1120px;
  margin: 0 auto !important;
  padding: 0 32px 72px !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.wrapper > a:first-of-type {
  display: flex;
  align-items: center;
  margin-right: 28px;
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
}

#logo {
  width: auto !important;
  height: auto !important;
  max-height: 48px !important;
  max-width: 240px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  float: none !important;
}

#navwrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 22px 0 18px !important;
  background: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
}

.nav_top, .nav_bottom, #mobile_nav { display: none !important; }

#menu-primary-menu {
  display: flex;
  align-items: center;
  gap: 26px;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#menu-primary-menu > li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

#menu-primary-menu a {
  position: relative;
  display: inline-block;
  padding: 0 !important;
  background: none !important;
  color: #1a1a1a !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

#menu-primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: #111;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}

#menu-primary-menu a:hover::after { transform: scaleX(1); }

#menu-item-190 > a {
  padding: 11px 16px !important;
  background: #111 !important;
  color: #fff !important;
  border-radius: 4px !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

#menu-item-190 > a::after { display: none; }
#menu-item-190 > a:hover {
  background: #000 !important;
  transform: translateY(-1px);
}

#content {
  order: 3;
  flex: 1 0 100%;
  width: auto !important;
  float: none !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

#content .content_wrap {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

#content .content_wrap .content_wrap {
  display: flex !important;
  align-items: flex-start;
  gap: 28px;
}

#posts {
  flex: 2 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#sidebar {
  flex: 1 1 0 !important;
  width: auto !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 20px 16px 12px !important;
  background: var(--soft) !important;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: visible !important;
  max-height: none !important;
}

#sidebar .widget {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
}
#sidebar h3 { margin: 0 0 12px !important; font-size: 18px !important; }

#posts img,
#sidebar img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

#posts ul { list-style: none; padding-left: 0; }
#posts li {
  position: relative;
  padding-left: 28px;
  margin: 0 0 8px;
}
#posts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #161616 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.2 11.2 3.4 8.4l1-1 1.8 1.8 4.4-4.4 1 1z'/></svg>") center / 12px 12px no-repeat;
}

.vm-form {
  display: block;
  width: 100% !important;
  height: 1280px !important;
  min-height: 1280px !important;
  border: 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

#footer {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 28px 32px;
  background: #141414 !important;
  color: #fff !important;
  font-size: 14px !important;
  text-align: center;
}

#footer a { color: #fff !important; opacity: 0.7; text-decoration: none; }
#footer a:hover { opacity: 1; }

#comments, .clear { display: none !important; }

@media (max-width: 900px) {
  .wrapper { padding: 0 18px 48px !important; }
  .wrapper > a:first-of-type,
  #navwrap { width: 100%; margin-right: 0; justify-content: flex-start; }
  #menu-primary-menu { flex-wrap: wrap; gap: 14px 18px; }
  #content .content_wrap .content_wrap { display: block; }
  #posts, #sidebar { width: 100% !important; flex: none !important; }
  #sidebar { margin-top: 28px !important; }
  .vm-form { height: 1360px !important; min-height: 1360px !important; }
}

@media (prefers-reduced-motion: reduce) {
  #menu-primary-menu a,
  #menu-primary-menu a::after,
  #menu-item-190 > a { transition: none; }
}
