:root {
  --blog-black: #080808;
  --blog-dark-gray: #202020;
  --blog-gray: #686868;
  --blog-light-gray: #ededed;
  --blog-off-white: #f7f7f5;
  --blog-white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--blog-off-white);
  color: var(--blog-black);
  font-family: "Contrail One", sans-serif;
}

.blog-page {
  overflow: hidden;
}

.blog-hero {
  position: relative;
  isolation: isolate;
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 88px clamp(24px, 7vw, 110px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(125deg, #050505 0%, #151515 60%, #2a2a2a 100%);
  color: var(--blog-white);
}

.blog-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--blog-white) 0 18%, #7d7d7d 18% 34%, #242424 34% 100%);
}

.blog-hero-decoration {
  position: absolute;
  z-index: -1;
  top: -190px;
  right: -90px;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.035),
    0 0 0 150px rgba(255, 255, 255, 0.025);
}

.blog-hero-content {
  width: min(790px, 100%);
  animation: blogReveal 0.75s ease-out both;
}

.blog-eyebrow {
  margin: 0 0 14px;
  color: #cfcfcf;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.blog-hero h1 {
  margin: 0;
  font-family: "Contrail One", sans-serif;
  font-size: clamp(3.3rem, 8vw, 6.7rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.blog-intro {
  max-width: 650px;
  margin: 27px 0 0;
  color: #dedede;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
}

.blog-feed-section {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 120px) 0;
}

.blog-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 42px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--blog-black);
}

.blog-eyebrow-dark {
  color: var(--blog-gray);
}

.blog-section-heading h2,
.blog-cta h2 {
  margin: 0;
  font-family: "Carter One", sans-serif;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}

.blog-section-heading > p {
  max-width: 520px;
  margin: 0 0 3px;
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.soro-blog-container {
  position: relative;
  min-height: 430px;
  padding: clamp(20px, 3vw, 36px);
  background: var(--blog-white);
  border: 1px solid #d4d4d4;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.09);
}

#soro-blog {
  width: 100%;
  min-height: 350px;
}

#soro-blog:empty {
  display: grid;
  place-items: center;
}

#soro-blog:empty::before {
  content: "Loading latest articles...";
  color: #6b6b6b;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

#soro-blog img,
#soro-blog iframe {
  max-width: 100%;
}

.blog-message {
  margin: 20px 0;
  padding: 18px;
  color: #353535;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  background: var(--blog-light-gray);
  border-radius: 10px;
}

.blog-cta {
  width: min(1240px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 0 auto clamp(70px, 9vw, 120px);
  padding: clamp(34px, 6vw, 64px);
  color: var(--blog-white);
  background: var(--blog-black);
  border-radius: 20px;
}

.blog-cta h2 {
  font-size: clamp(2rem, 4.2vw, 3.5rem);
}

.blog-cta > div > p:last-child {
  max-width: 650px;
  margin: 17px 0 0;
  color: #c8c8c8;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

.blog-cta a {
  flex: 0 0 auto;
  display: inline-block;
  padding: 16px 24px;
  color: var(--blog-black);
  font-size: 1.05rem;
  text-decoration: none;
  background: var(--blog-white);
  border: 2px solid var(--blog-white);
  border-radius: 10px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.blog-cta a:hover,
.blog-cta a:focus-visible {
  color: var(--blog-white);
  background: transparent;
}

@keyframes blogReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 760px) {
  .blog-hero {
    min-height: 360px;
    padding-top: 68px;
    padding-bottom: 70px;
  }

  .blog-section-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .soro-blog-container {
    min-height: 360px;
    padding: 14px;
    border-radius: 12px;
  }

  #soro-blog {
    min-height: 310px;
  }

  .blog-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .blog-feed-section,
  .blog-cta {
    width: min(100% - 24px, 1240px);
  }

  .blog-hero {
    padding-right: 20px;
    padding-left: 20px;
  }

  .blog-hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .blog-cta {
    border-radius: 14px;
  }

  .blog-cta a {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .blog-hero-content {
    animation: none;
  }
}
