/* HIGHVIBES Signal Room — futuristic music editorial skin */
:root {
  --hv-void: #07090a;
  --hv-deep: #0b0f10;
  --hv-panel: #111719;
  --hv-panel-raised: #171e20;
  --hv-wire: rgba(215,255,69,.19);
  --hv-wire-white: rgba(238,243,233,.13);
  --hv-acid: #d7ff45;
  --hv-red: #ff3440;
  --hv-copy: #f1f4ed;
  --hv-muted: #a2aca6;
}
html { scroll-behavior: smooth; background: var(--hv-void); }
body {
  background: var(--hv-void);
  color: var(--hv-copy);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -.012em;
  overflow-x: hidden;
}
a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .28s ease, box-shadow .28s ease; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--hv-acid);
  outline-offset: 4px;
}
#tie-container, #tie-wrapper { background: var(--hv-void); }
#tie-wrapper { position: relative; }
#tie-wrapper:before {
  position: fixed;
  z-index: 0;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(rgba(215,255,69,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(215,255,69,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}
#theme-header, #content, #footer { position: relative; z-index: 1; }
#theme-header { z-index: 1000; }
.main-nav-wrapper, #main-nav { position: relative; z-index: 1001; overflow: visible; }
#main-nav .sub-menu { position: absolute; z-index: 1002; }

/* Signal masthead */
#theme-header {
  overflow: visible;
  color: var(--hv-copy);
  background: var(--hv-void);
  border-top: 3px solid var(--hv-red);
  border-bottom: 1px solid var(--hv-wire);
  box-shadow: 0 16px 44px rgba(0,0,0,.32);
}
#top-nav {
  background: #0d1112;
  color: var(--hv-muted);
  border-bottom: 1px solid var(--hv-wire-white);
}
#top-nav .container { min-height: 42px; }
#top-nav a, #top-nav .breaking-title { color: var(--hv-copy); }
#top-nav .breaking-title {
  color: var(--hv-acid);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
#top-nav .breaking-title:after { background: var(--hv-red); }
#top-nav .ticker-content, #top-nav .ticker-swipe { background: transparent !important; }
#top-nav .ticker-content a { color: #dfe6dd !important; font-size: 11px; }
.header-container {
  padding-top: 20px;
  padding-bottom: 20px;
}
#logo img { max-height: 76px !important; width: auto !important; }
#logo h1 { color: var(--hv-copy); }
.main-nav-wrapper, #main-nav, #main-nav .container {
  background: var(--hv-void);
}
#main-nav {
  border-top: 1px solid var(--hv-wire-white);
  border-bottom: 1px solid var(--hv-wire-white);
}
#main-nav .main-menu > ul > li > a {
  position: relative;
  color: #e8ece5;
  padding-top: 18px;
  padding-bottom: 18px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
#main-nav .main-menu > ul > li > a:after {
  position: absolute;
  right: 16px;
  bottom: 0;
  left: 16px;
  height: 2px;
  content: "";
  background: var(--hv-acid);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
#main-nav .main-menu > ul > li:hover > a,
#main-nav .main-menu > ul > li.current-menu-item > a,
#main-nav .main-menu > ul > li.current-menu-ancestor > a {
  color: var(--hv-acid);
  background: transparent !important;
}
#main-nav .main-menu > ul > li:hover > a:after,
#main-nav .main-menu > ul > li.current-menu-item > a:after,
#main-nav .main-menu > ul > li.current-menu-ancestor > a { transform: scaleX(1); }
#main-nav .sub-menu {
  background: #101516;
  border: 1px solid var(--hv-wire);
  border-top: 2px solid var(--hv-acid);
  box-shadow: 0 18px 40px rgba(0,0,0,.42);
}
#main-nav .sub-menu a { color: var(--hv-copy); }
#main-nav .sub-menu a:hover { color: var(--hv-acid); background: #192022; }

/* Dark interface canvas with a low-key signal glow. */
#content.site-content {
  padding-top: 58px;
  padding-bottom: 84px;
  background:
    radial-gradient(ellipse at 12% 0%, rgba(255,52,64,.10), transparent 30%),
    radial-gradient(ellipse at 94% 16%, rgba(215,255,69,.07), transparent 30%),
    var(--hv-void);
}
#main-content-row, .main-content-row, .main-content, .mag-box,
.mag-box .container-wrapper, .mag-box-container {
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.home #main-content-row .main-content,
body.single-post #main-content-row .main-content {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}
#posts-container.posts-items {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
}
#posts-container > .post-item {
  display: flex !important;
  flex-direction: column !important;
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--hv-copy);
  background: linear-gradient(145deg, rgba(255,255,255,.025), transparent 44%), var(--hv-panel);
  border: 1px solid var(--hv-wire-white);
  box-shadow: 0 12px 34px rgba(0,0,0,.24);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
#posts-container > .post-item:hover {
  transform: translateY(-4px);
  border-color: rgba(215,255,69,.55);
  box-shadow: 0 18px 44px rgba(0,0,0,.42), 0 0 20px rgba(215,255,69,.06);
}
#posts-container .post-thumb {
  position: relative;
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #121819;
  border-bottom: 1px solid var(--hv-wire);
}
#posts-container .post-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(1.04);
  transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .4s ease;
}
#posts-container .post-item:hover .post-thumb img { transform: scale(1.045); filter: saturate(1.05) contrast(1.06); }
#posts-container .post-cat-wrap { top: 14px; left: 14px; }
.post-cat, #posts-container .post-cat {
  padding: 6px 9px;
  color: var(--hv-void) !important;
  background: var(--hv-acid) !important;
  border: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
#posts-container .post-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: 20px 22px 22px;
}
#posts-container .post-meta {
  width: 100%;
  margin: 0 0 13px;
  color: var(--hv-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#posts-container .post-meta a { color: var(--hv-acid); }
#posts-container .post-title {
  margin: 0 0 12px;
  font-size: clamp(20px, 1.8vw, 25px);
  font-weight: 750;
  line-height: 1.13;
  letter-spacing: -.045em;
}
#posts-container .post-title a { color: var(--hv-copy); }
#posts-container .post-title a:hover { color: var(--hv-acid); }
#posts-container .post-excerpt {
  margin: 0 0 18px;
  color: #b6c0b9;
  font-size: 13px;
  line-height: 1.7;
}
#posts-container .more-link {
  margin-top: auto;
  padding: 0;
  color: var(--hv-acid);
  background: none;
  border: 0;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
#posts-container .more-link:after { content: "  ↗"; }
#posts-container .more-link:hover { color: #fff; transform: translateX(3px); }

/* Feature story: split-screen image and signal panel. */
#posts-container > .post-item:first-child {
  display: grid !important;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  column-gap: 0;
  align-items: stretch;
  min-height: 430px;
  border-color: rgba(215,255,69,.35);
  background:
    radial-gradient(circle at 100% 0%, rgba(215,255,69,.1), transparent 36%),
    var(--hv-deep);
}
#posts-container > .post-item:first-child .post-thumb {
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  min-height: 430px;
  aspect-ratio: auto;
  border-right: 1px solid var(--hv-wire);
  border-bottom: 0;
}
#posts-container > .post-item:first-child .post-thumb:after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 68%, rgba(7,9,10,.32)),
    linear-gradient(0deg, rgba(7,9,10,.34), transparent 45%);
}
#posts-container > .post-item:first-child .post-details {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  padding: clamp(28px, 4vw, 60px);
  background-image: linear-gradient(rgba(215,255,69,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(215,255,69,.045) 1px, transparent 1px);
  background-size: 28px 28px;
}
#posts-container > .post-item:first-child .post-details:after {
  position: absolute;
  right: 26px;
  bottom: 24px;
  width: 92px;
  height: 28px;
  content: "";
  opacity: .5;
  background: repeating-linear-gradient(90deg, transparent 0 4px, var(--hv-acid) 4px 6px, transparent 6px 10px);
  clip-path: polygon(0 82%, 6% 82%, 6% 43%, 12% 43%, 12% 67%, 18% 67%, 18% 18%, 24% 18%, 24% 72%, 30% 72%, 30% 51%, 36% 51%, 36% 90%, 42% 90%, 42% 33%, 48% 33%, 48% 69%, 54% 69%, 54% 11%, 60% 11%, 60% 79%, 66% 79%, 66% 37%, 72% 37%, 72% 65%, 78% 65%, 78% 22%, 84% 22%, 84% 82%, 90% 82%, 90% 48%, 96% 48%, 96% 82%, 100% 82%, 100% 100%, 0 100%);
  pointer-events: none;
}
#posts-container > .post-item:first-child .post-title {
  max-width: 13ch;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.01;
  letter-spacing: -.055em;
}
#posts-container > .post-item:first-child .post-excerpt { max-width: 44ch; font-size: 14px; }

/* Article pages share the same visual system but keep a readable measure. */
#breadcrumb {
  margin-bottom: 30px;
  color: #8f9b94;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .08em;
}
#breadcrumb a { color: var(--hv-acid); }
.single-post .entry-header-outer, .page .entry-header-outer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 88% 48%, rgba(215,255,69,.08), transparent 30%),
    linear-gradient(135deg, rgba(255,52,64,.07), transparent 46%),
    var(--hv-deep);
  border-top: 1px solid var(--hv-wire);
  border-bottom: 1px solid var(--hv-wire-white);
}
.single-post .entry-header-outer:after, .page .entry-header-outer:after {
  position: absolute;
  z-index: 0;
  top: 8%;
  right: 6%;
  width: min(34vw, 440px);
  aspect-ratio: 1;
  content: "";
  pointer-events: none;
  opacity: .64;
  border: 1px solid rgba(215,255,69,.24);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(215,255,69,.55) 0 2px, transparent 3px),
    repeating-radial-gradient(circle, transparent 0 25px, rgba(215,255,69,.09) 26px 27px),
    radial-gradient(circle, rgba(215,255,69,.08), transparent 68%);
  box-shadow: inset 0 0 70px rgba(215,255,69,.04), 0 0 50px rgba(215,255,69,.04);
}
.single-post .entry-header-outer #breadcrumb,
.single-post .entry-header-outer .entry-header,
.page .entry-header-outer #breadcrumb,
.page .entry-header-outer .entry-header {
  position: relative;
  z-index: 1;
}
.single-post .entry-header, .page .entry-header { padding: 18px 0 28px; }
.single-post .entry-header .post-title, .page .entry-header .post-title {
  max-width: 17ch;
  color: var(--hv-copy);
  font-size: clamp(36px, 5.6vw, 72px);
  line-height: .99;
  letter-spacing: -.06em;
}
.single-post .single-post-meta { color: var(--hv-muted); }
.single-post .single-post-meta a { color: var(--hv-acid); }
.single-post .featured-area img {
  border: 1px solid var(--hv-wire-white);
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.single-post .entry-content, .page .entry-content {
  max-width: 780px;
  color: #d4dbd4;
  font-size: 17px;
  line-height: 1.85;
}
.single-post .entry-content h2, .single-post .entry-content h3,
.page .entry-content h2, .page .entry-content h3 {
  color: var(--hv-copy);
  letter-spacing: -.04em;
  line-height: 1.12;
}
.single-post .entry-content a, .page .entry-content a {
  color: var(--hv-acid);
  text-decoration: underline;
  text-decoration-color: rgba(215,255,69,.45);
  text-underline-offset: 4px;
}
.single-post .entry-content blockquote {
  padding: 22px 26px;
  color: var(--hv-copy);
  background: #12191a;
  border-left: 2px solid var(--hv-acid);
}
.widget, #sidebar .widget, #sidebar .container-wrapper {
  color: var(--hv-copy);
  background: var(--hv-panel);
  border-color: var(--hv-wire-white);
}
.widget-title, .block-title { color: var(--hv-copy); }
.widget-title:before, .block-title:before { background: var(--hv-red); }
.pagination a, .pagination span, .page-numbers {
  color: var(--hv-copy);
  background: var(--hv-panel);
  border-color: var(--hv-wire-white);
}
.pagination .current, .pagination a:hover, .page-numbers.current {
  color: var(--hv-void);
  background: var(--hv-acid);
  border-color: var(--hv-acid);
}

/* Footer: quiet dark end-frame, consistent with the masthead. */
.site-footer {
  color: #bac4bd;
  background: var(--hv-deep);
  border-top: 1px solid var(--hv-wire);
}
.site-footer a { color: var(--hv-copy); }
.site-footer a:hover { color: var(--hv-acid); }
#site-info { border-top: 1px solid var(--hv-wire-white); }
.copyright-text {
  color: #9ba69f;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  letter-spacing: .08em;
}
#go-to-top { color: var(--hv-void); background: var(--hv-acid); }

/* Responsive treatment */
@media (max-width: 991px) {
  #content.site-content { padding-top: 38px; padding-bottom: 58px; }
  #posts-container > .post-item:first-child {
    grid-template-columns: minmax(0, 1fr) minmax(290px, .9fr);
    min-height: 350px;
  }
  #posts-container > .post-item:first-child .post-thumb { min-height: 350px; }
  #posts-container > .post-item:first-child .post-details { padding: 28px; }
}
@media (max-width: 767px) {
  #theme-header { border-top-width: 3px; }
  .header-container { padding-top: 12px; padding-bottom: 12px; }
  #theme-header .logo-wrapper, #theme-header .logo-container,
  #theme-header .logo-row, #theme-header .mobile-header-components {
    background: var(--hv-void) !important;
  }
  #theme-header .logo-container { border-bottom: 1px solid var(--hv-wire-white); }
  #logo img { max-height: 54px !important; }
  #mobile-menu-icon .tie-mobile-menu-icon,
  #mobile-header-components-area_2 .tie-search-icon { color: var(--hv-acid); }
  #content.site-content { padding: 24px 0 48px; }
  #posts-container.posts-items { grid-template-columns: 1fr; gap: 14px; }
  #posts-container > .post-item:first-child {
    display: flex !important;
    flex-direction: column !important;
    grid-column: auto;
    min-height: 0;
  }
  #posts-container > .post-item:first-child .post-thumb {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-right: 0;
    border-bottom: 1px solid var(--hv-wire);
  }
  #posts-container > .post-item:first-child .post-details { padding: 22px; }
  #posts-container > .post-item:first-child .post-title { font-size: clamp(28px, 8vw, 38px); }
  #posts-container .post-details { padding: 18px 20px 21px; }
  #breadcrumb { margin-bottom: 20px; }
  .single-post .entry-header-outer:after, .page .entry-header-outer:after { display: none; }
  .single-post .entry-header .post-title, .page .entry-header .post-title { font-size: clamp(34px, 9vw, 48px); }
  .single-post .entry-content, .page .entry-content { font-size: 16px; line-height: 1.78; }
  .site-footer { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
