/*
Theme Name: WeltasCorp Blog
Template: astra
Version: 1.0.0
*/

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #02040a;
  --bg-2: #070a12;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(190, 231, 255, 0.16);
  --text: #eef7ff;
  --muted: #9aa8ba;
  --cyan: #00f0ff;
  --magenta: #ff2d95;
  --gold: #d6b64d;
  --green: #44f0a5;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  background:
    radial-gradient(circle at 15% 10%, rgba(0, 240, 255, 0.12), transparent 24rem),
    radial-gradient(circle at 85% 12%, rgba(255, 45, 149, 0.08), transparent 28rem),
    linear-gradient(180deg, #02040a 0%, #060712 44%, #03050b 100%);
  color: var(--text);
  font-family: Archivo, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.78), transparent 82%);
}

h1,
h2,
h3,
.site-title,
.site-title a,
.entry-title,
.btn,
.button {
  font-family: "Space Grotesk", Archivo, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 4, 10, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.site-header .ast-container,
.site-content .ast-container,
.site-footer .ast-container {
  max-width: 1240px;
}

.ast-primary-header-bar {
  border: 0;
}

.site-header a:hover,
.site-header a:focus-visible {
  color: var(--cyan);
}

body.blog .site-content,
body.archive .site-content {
  padding-top: 0;
}

body.blog .site-main,
body.archive .site-main,
body.single-post .site-main {
  width: min(1240px, calc(100vw - 36px));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 54px) 0 72px;
}

.weltascorp-blog-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.62fr);
  gap: 18px;
  margin: 18px 0 34px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.weltascorp-blog-hero .eyebrow {
  margin: 0 0 14px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.weltascorp-blog-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
}

.weltascorp-blog-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.weltascorp-blog-hero .hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.weltascorp-blog-hero .hero-chips span,
.weltascorp-blog-note span,
.blog-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 999px;
  color: #d9faff;
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.22);
}

.weltascorp-blog-note {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(3, 6, 12, 0.55);
}

.weltascorp-blog-note strong {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.blog-card {
  display: grid;
  min-height: 260px;
  grid-column: span 4;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.blog-card.is-featured {
  grid-column: span 8;
  min-height: 360px;
  background:
    linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(255, 45, 149, 0.04)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.blog-card .post-thumb {
  min-height: 160px;
  margin: 0 0 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 240, 255, 0.22), transparent 40%),
    linear-gradient(135deg, rgba(214, 182, 77, 0.22), rgba(0, 240, 255, 0.16), rgba(255, 45, 149, 0.12)),
    #07101d;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.blog-card .post-thumb.has-image {
  background: none;
  overflow: hidden;
}

.blog-card .post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card .post-type {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card .entry-title {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2vw, 2.2rem);
  line-height: 1.04;
}

.blog-card .entry-meta,
.single .entry-meta {
  color: #b7c4d4;
  font-size: 0.86rem;
}

.blog-card .entry-content,
.single .entry-content {
  color: var(--muted);
}

.blog-card .entry-content p:last-child,
.single .entry-content p:last-child {
  margin-bottom: 0;
}

body.single-post .site-content article,
body.archive .site-content article {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

body.single-post .entry-title {
  font-size: clamp(2.3rem, 4vw, 4.6rem);
  line-height: 0.98;
}

body.single-post .post-navigation,
body.single-post .comments-area {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer {
  background: rgba(2, 4, 10, 0.8);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .weltascorp-blog-hero,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card,
  .blog-card.is-featured {
    grid-column: auto;
    min-height: auto;
  }
}

@media (max-width: 720px) {
  body.blog .site-main,
  body.archive .site-main,
  body.single-post .site-main {
    width: calc(100vw - 24px);
  }

  .weltascorp-blog-hero {
    padding: 20px;
  }

  .weltascorp-blog-hero h1 {
    font-size: clamp(2rem, 11vw, 3rem);
  }
}
