/*
=================================================
BLOKS UI CORE
Version: 2.1.0

Shared design system used by:
- bloks.net
- news.bloks.net
- shop.bloks.net
- labs.bloks.net

Author: BLOKS
=================================================
*/

/* =========================================
   DESIGN TOKENS
========================================= */

:root {
  --bloks-bg: #050816;
  --bloks-surface: #0F172A;
  --bloks-primary: #2F52FF;
  --bloks-primary-light: #4A7DFF;
  --bloks-accent: #38BDF8;
  --bloks-text: #F8FAFC;
  --bloks-text-soft: #CBD5E1;
  --bloks-text-muted: #94A3B8;

  --bloks-radius-sm: 12px;
  --bloks-radius-md: 18px;
  --bloks-radius-lg: 24px;

  --bloks-speed: .22s ease;
}

/* =========================================
   TYPOGRAPHY
========================================= */

.bloks-h1,
.bloks-h2,
.bloks-h3,
.bloks-card-content h3 {
  margin: 0;
  color: var(--bloks-text);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.bloks-h1 {
  font-size: clamp(52px, 8vw, 96px);
}

.bloks-h2 {
  font-size: clamp(38px, 5vw, 64px);
}

.bloks-h3,
.bloks-card-content h3 {
  font-size: clamp(30px, 3vw, 42px);
}

.bloks-body,
.bloks-card-content p {
  color: var(--bloks-text-soft);
  font-size: 18px;
  line-height: 1.6;
}

.bloks-caption {
  color: var(--bloks-text-muted);
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bloks-section-title {
  margin-bottom: 18px;
}

.bloks-readable {
  max-width: 72ch;
}

/* =========================================
   BUTTONS
========================================= */

.bloks-btn,
.bloks-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 9px 18px;

  border-radius: 999px;

  font-weight: 700;
  font-size: 15px;
  line-height: 1;

  text-decoration: none;

  transition:
    color var(--bloks-speed),
    background var(--bloks-speed),
    border-color var(--bloks-speed),
    box-shadow var(--bloks-speed),
    transform var(--bloks-speed);
}

.bloks-btn-primary,
.bloks-card-link {
  color: var(--bloks-text);

  background:
    linear-gradient(
      135deg,
      rgba(47,82,255,.92),
      rgba(56,189,248,.72)
    );

  border: 1px solid rgba(56,189,248,.55);

  box-shadow:
    0 0 18px rgba(47,82,255,.22),
    inset 0 1px 0 rgba(255,255,255,.16);
}

.bloks-btn-primary:hover,
.bloks-card-link:hover {
  color: #fff;

  transform: translateY(-1px);

  border-color: rgba(56,189,248,.85);

  box-shadow:
    0 0 26px rgba(56,189,248,.32),
    0 10px 26px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.22);
}

.bloks-btn-ghost {
  color: var(--bloks-text-soft);

  background: rgba(15,23,42,.5);

  border: 1px solid rgba(148,163,184,.22);
}

.bloks-btn-ghost:hover {
  color: var(--bloks-text);

  background: rgba(47,82,255,.16);

  border-color: rgba(74,125,255,.42);
}

/* =========================================
   CARDS
========================================= */

.bloks-card {
  position: relative;

  display: grid;
  grid-template-columns: 42% 1fr;
  align-items: center;
  gap: 24px;

  min-height: 320px;

  padding: 28px;

  border: 2px solid rgba(74,125,255,.65);
  border-radius: var(--bloks-radius-md);

  background:
    linear-gradient(
      180deg,
      rgba(10,18,40,.96),
      rgba(5,8,22,.985)
    );

  box-shadow:
    0 22px 60px rgba(0,0,0,.55),
    0 0 28px rgba(47,82,255,.16);

  overflow: hidden;

  transition:
    transform var(--bloks-speed),
    border-color var(--bloks-speed),
    box-shadow var(--bloks-speed);
}

.bloks-card:hover {
  transform: translateY(-4px);

  border-color: rgba(56,189,248,.9);

  box-shadow:
    0 30px 75px rgba(0,0,0,.65),
    0 0 44px rgba(47,82,255,.28);
}

.bloks-card-media img {
  width: 100%;
  max-width: 220px;

  display: block;

  margin: 0 auto;

  filter:
    drop-shadow(0 18px 26px rgba(0,0,0,.28))
    drop-shadow(0 0 20px rgba(47,82,255,.18));

  transition:
    transform .25s ease,
    filter .25s ease;
}

.bloks-card:hover .bloks-card-media img {
  transform: scale(1.035);

  filter:
    drop-shadow(0 22px 34px rgba(0,0,0,.34))
    drop-shadow(0 0 28px rgba(56,189,248,.24));
}

.bloks-card-content p {
  margin: 14px 0 18px;
}

.bloks-card::after {
  content: "";

  position: absolute;

  top: -120%;
  left: -40%;

  width: 80%;
  height: 300%;

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.045) 48%,
      rgba(255,255,255,.08) 50%,
      rgba(255,255,255,.045) 52%,
      rgba(255,255,255,0) 100%
    );

  transform: rotate(18deg);

  opacity: 0;

  transition:
    opacity .25s ease,
    transform .8s ease;

  pointer-events: none;
}

.bloks-card:hover::after {
  opacity: 1;
  transform: rotate(18deg) translateX(140%);
}

.bloks-card-icon {
  width: 46px;
  height: 46px;

  object-fit: contain;

  margin: 0 0 16px;

  filter:
    drop-shadow(0 0 14px rgba(56,189,248,.35));

  transition:
    transform var(--bloks-speed),
    filter var(--bloks-speed);
}

.bloks-card:hover .bloks-card-icon {
  transform: translateY(-2px) scale(1.05);

  filter:
    drop-shadow(0 0 20px rgba(56,189,248,.55));
}

/* =========================================
   SECTIONS / CONTAINERS / PANELS
========================================= */

.bloks-section {
  position: relative;
  padding: 100px 32px;
}

.bloks-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.bloks-panel {
  background:
    linear-gradient(
      180deg,
      rgba(15,23,42,.72),
      rgba(5,8,22,.82)
    );

  border: 1px solid rgba(74,125,255,.18);

  border-radius: var(--bloks-radius-lg);

  box-shadow:
    0 20px 55px rgba(0,0,0,.38);

  backdrop-filter: blur(10px);
}

/* =========================================
   GRIDS
========================================= */

.bloks-grid {
  display: grid;
  gap: 28px;
}

.bloks-grid-2 {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.bloks-grid-3 {
  grid-template-columns: repeat(3, minmax(0,1fr));
}

.bloks-grid-4 {
  grid-template-columns: repeat(4, minmax(0,1fr));
}

/* =========================================
   UTILITIES
========================================= */

.bloks-text-center {
  text-align: center;
}

.bloks-text-gradient {
  background:
    linear-gradient(
      135deg,
      var(--bloks-text),
      var(--bloks-accent),
      var(--bloks-primary-light)
    );

  -webkit-background-clip: text;
  background-clip: text;

  color: transparent;
}

.bloks-glow {
  box-shadow:
    0 0 28px rgba(47,82,255,.24),
    0 0 60px rgba(56,189,248,.12);
}

.bloks-soft-border {
  border: 1px solid rgba(74,125,255,.24);
}

.bloks-muted {
  color: var(--bloks-text-muted);
}

.bloks-stack-sm > * + * {
  margin-top: 12px;
}

.bloks-stack-md > * + * {
  margin-top: 22px;
}

.bloks-stack-lg > * + * {
  margin-top: 36px;
}

/* =========================================
   HERO
========================================= */

.bloks-hero {
  position: relative;

  min-height: 640px;

  display: flex;
  align-items: center;

  overflow: hidden;

  padding: 120px 32px;

  background:
    radial-gradient(circle at 20% 20%, rgba(47,82,255,.28), transparent 34%),
    radial-gradient(circle at 80% 30%, rgba(56,189,248,.18), transparent 32%),
    linear-gradient(180deg, #050816 0%, #0f172a 55%, #050816 100%);
}

.bloks-hero::before {
  content: "";

  position: absolute;

  width: 520px;
  height: 520px;

  top: -120px;
  left: -140px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(47,82,255,.28),
      transparent 70%
    );

  filter: blur(40px);

  animation:
    bloksFloat 14s ease-in-out infinite,
    bloksPulse 8s ease-in-out infinite;

  pointer-events: none;

  z-index: 1;
}

.bloks-hero::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  height: 220px;

  background:
    linear-gradient(180deg, transparent, #050816);

  pointer-events: none;

  z-index: 2;
}

.bloks-hero-bg {
  position: absolute !important;

  top: 50%;
  left: 50%;

  width: 72vw;
  height: 72vw;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(56,189,248,.30) 0%,
      rgba(47,82,255,.20) 34%,
      rgba(47,82,255,.08) 52%,
      transparent 70%
    );

  filter: blur(42px);

  opacity: .95;

  pointer-events: none;

  transition: transform .08s ease-out;

  will-change: transform;

  animation: none !important;

  z-index: 1;
}

.bloks-hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.bloks-hero-content .bloks-body {
  margin-top: 22px;
  font-size: 21px;
}

.bloks-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.bloks-hero .bloks-container {
  position: relative;
  z-index: 3;
}

/* =========================================
   AMBIENT MOTION
========================================= */

@keyframes bloksFloat {
  0% {
    transform: translate3d(0,0,0) rotate(0deg);
  }

  50% {
    transform: translate3d(0,-18px,0) rotate(1deg);
  }

  100% {
    transform: translate3d(0,0,0) rotate(0deg);
  }
}

@keyframes bloksPulse {
  0% {
    opacity: .45;
  }

  50% {
    opacity: .75;
  }

  100% {
    opacity: .45;
  }
}

/* =========================================
   PARTICLES
========================================= */

.bloks-particles {
  position: absolute !important;

  inset: 0;

  overflow: hidden;

  pointer-events: none;

  z-index: 1;
}

.bloks-particles span {
  position: absolute;

  display: block;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: rgba(56,189,248,.7);

  box-shadow: 0 0 12px rgba(56,189,248,.5);

  opacity: .4;

  animation: bloksParticleFloat linear infinite;
}

.bloks-particles span:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-duration: 18s;
}

.bloks-particles span:nth-child(2) {
  top: 70%;
  left: 18%;
  width: 4px;
  height: 4px;
  animation-duration: 24s;
}

.bloks-particles span:nth-child(3) {
  top: 30%;
  left: 72%;
  width: 7px;
  height: 7px;
  animation-duration: 22s;
}

.bloks-particles span:nth-child(4) {
  top: 80%;
  left: 82%;
  animation-duration: 28s;
}

.bloks-particles span:nth-child(5) {
  top: 55%;
  left: 50%;
  width: 3px;
  height: 3px;
  animation-duration: 20s;
}

.bloks-particles span:nth-child(6) {
  top: 12%;
  left: 58%;
  width: 5px;
  height: 5px;
  animation-duration: 26s;
}

@keyframes bloksParticleFloat {
  0% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-30px) translateX(12px);
  }

  100% {
    transform: translateY(0) translateX(0);
  }
}

/* =========================================
   HEADER / LOGO
========================================= */

.custom-logo-link,
.site-logo,
.site-branding {
  background: transparent !important;
}

.custom-logo-link img,
.site-logo img,
.site-branding img {
  background: transparent !important;

  mix-blend-mode: screen;

  opacity: .92;

  filter:
    drop-shadow(0 0 6px rgba(56,189,248,.75))
    drop-shadow(0 0 16px rgba(47,82,255,.45))
    drop-shadow(0 0 28px rgba(47,82,255,.22));

  transition:
    opacity var(--bloks-speed),
    filter var(--bloks-speed),
    transform var(--bloks-speed);
}

.custom-logo-link:hover img,
.site-logo:hover img,
.site-branding:hover img {
  opacity: 1;

  transform:
    translateY(-1px)
    scale(1.03);

  filter:
    drop-shadow(0 0 8px rgba(56,189,248,.95))
    drop-shadow(0 0 22px rgba(47,82,255,.60))
    drop-shadow(0 0 36px rgba(47,82,255,.32));
}

.site-header {
  position: sticky;

  top: 0;

  z-index: 9999;

  background: rgba(5, 8, 22, .72) !important;

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(74, 125, 255, .18);

  box-shadow:
    0 10px 30px rgba(0,0,0,.28),
    0 0 24px rgba(47,82,255,.10);

  transition:
    background var(--bloks-speed),
    box-shadow var(--bloks-speed),
    border-color var(--bloks-speed);
}

.site-header:hover {
  background: rgba(5, 8, 22, .84) !important;

  border-color: rgba(56, 189, 248, .24);
}

/* =========================================
   HERO CANVAS / SHADER LAYER
========================================= */

.bloks-hero-canvas,
.bloks-hero-shader {
  position: absolute !important;

  inset: 0 !important;

  width: 100% !important;
  height: 100% !important;

  max-width: none !important;

  display: block !important;

  z-index: 0 !important;

  pointer-events: none !important;

  overflow: hidden;
}

.bloks-hero-shader {
  opacity: .45;
}

.bloks-hero-canvas,
.bloks-hero-shader canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* =========================================
   TUTORIAL TEMPLATE
========================================= */

.bloks-tutorial {
  background: var(--bloks-bg);
  color: var(--bloks-text);
}

.bloks-tutorial-hero {
  min-height: 520px;
}

.bloks-tutorial-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.bloks-meta-pill {
  display: inline-flex;
  align-items: center;

  padding: 7px 12px;

  border: 1px solid rgba(56,189,248,.28);
  border-radius: 999px;

  color: var(--bloks-text-soft);
  background: rgba(15,23,42,.55);

  font-size: 13px;
  letter-spacing: .03em;
}

.bloks-article {
  padding: 90px 32px;
}

.bloks-article-inner {
  max-width: 860px;
  margin: 0 auto;
}

.bloks-article-section {
  margin-bottom: 78px;
}

.bloks-article-section h2 {
  margin-bottom: 18px;
}

.bloks-article-section p {
  color: var(--bloks-text-soft);
  font-size: 19px;
  line-height: 1.75;
}

.bloks-demo {
  margin: 38px 0;
  padding: 18px;

  border: 1px solid rgba(56,189,248,.22);
  border-radius: var(--bloks-radius-lg);

  background:
    linear-gradient(
      180deg,
      rgba(15,23,42,.72),
      rgba(5,8,22,.9)
    );

  box-shadow:
    0 22px 60px rgba(0,0,0,.42),
    0 0 36px rgba(47,82,255,.14);

  overflow: hidden;
}

.bloks-demo-label {
  margin-bottom: 12px;

  color: var(--bloks-accent);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bloks-callout {
  margin: 34px 0;
  padding: 26px 28px;

  border-left: 3px solid var(--bloks-accent);
  border-radius: var(--bloks-radius-md);

  background:
    linear-gradient(
      180deg,
      rgba(15,23,42,.78),
      rgba(5,8,22,.86)
    );

  box-shadow:
    0 0 28px rgba(56,189,248,.09);
}

.bloks-callout-title {
  margin-bottom: 8px;

  color: var(--bloks-accent);

  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bloks-takeaways {
  padding: 32px;

  border: 1px solid rgba(56,189,248,.25);
  border-radius: var(--bloks-radius-lg);

  background:
    linear-gradient(
      180deg,
      rgba(47,82,255,.14),
      rgba(5,8,22,.86)
    );
}

.bloks-takeaways ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.bloks-takeaways li {
  margin-bottom: 10px;

  color: var(--bloks-text-soft);

  font-size: 18px;
}

.bloks-next-grid {
  margin-top: 30px;
}

/* =========================================
   EDITORIAL ARTICLE TEMPLATE
========================================= */

.bloks-editorial-article {
  background: var(--bloks-bg);
  color: var(--bloks-text);
}

.bloks-article-hero {
  min-height: 560px;
}

.bloks-article-inner {
  max-width: 980px;
  margin: 0 auto;
}

.bloks-article-lede {
  margin: 0 0 52px;

  color: var(--bloks-text-soft);

  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.bloks-pullquote {
  margin: 56px 0 72px;
  padding: 34px 38px;

  border-left: 3px solid var(--bloks-accent);
  border-radius: var(--bloks-radius-lg);

  background:
    linear-gradient(
      180deg,
      rgba(15,23,42,.82),
      rgba(5,8,22,.92)
    );

  color: var(--bloks-text);

  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;

  box-shadow:
    0 22px 60px rgba(0,0,0,.42),
    0 0 36px rgba(56,189,248,.12);
}

.bloks-article-list {
  margin: 20px 0 0;
  padding-left: 22px;
}

.bloks-article-list li {
  margin-bottom: 9px;

  color: var(--bloks-text-soft);

  font-size: 17px;
  line-height: 1.55;
}

.bloks-closing-panel {
  margin-top: 90px;
  padding: 46px;

  border: 1px solid rgba(56,189,248,.24);
  border-radius: var(--bloks-radius-lg);

  background:
    radial-gradient(circle at 20% 20%, rgba(47,82,255,.18), transparent 38%),
    linear-gradient(180deg, rgba(15,23,42,.78), rgba(5,8,22,.95));
}

.bloks-closing-panel p {
  color: var(--bloks-text-soft);
  font-size: 20px;
  line-height: 1.7;
}

/* Timeline refinements */

.bloks-editorial-article .bloks-timeline {
  margin-top: 64px;
}

.bloks-editorial-article .timeline-item {
  padding: 34px;
}

.bloks-editorial-article .timeline-item h2 {
  margin: 0 0 16px;

  color: var(--bloks-text);

  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.03em;
}

.bloks-editorial-article .timeline-item p {
  color: var(--bloks-text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.bloks-editorial-article .timeline-item p:last-child {
  margin-bottom: 0;
}

/* =========================================
   EDITORIAL IMAGES
========================================= */

.bloks-feature-image {
  margin: 42px 0;

  border: 1px solid rgba(56,189,248,.22);
  border-radius: var(--bloks-radius-lg);

  overflow: hidden;

  box-shadow:
    0 24px 70px rgba(0,0,0,.48),
    0 0 36px rgba(47,82,255,.16);
}

.bloks-feature-image img {
  display: block;
  width: 100%;
  height: auto;
}

.bloks-editorial-card {
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: stretch;
}

.bloks-editorial-media,
.bloks-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
  align-content: start;
}

.bloks-image-grid {
  gap: 22px;
  margin: 42px 0;
}

.bloks-editorial-media figure,
.bloks-image-grid figure {
  margin: 0 !important;

  aspect-ratio: 1 / 1;

  overflow: hidden;

  border: 1px solid rgba(56,189,248,.18);
  border-radius: var(--bloks-radius-md);

  background: rgba(15,23,42,.5);

  box-shadow:
    0 18px 46px rgba(0,0,0,.38),
    0 0 24px rgba(47,82,255,.10);
}

.bloks-editorial-media img,
.bloks-image-grid img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  display: block !important;

  object-fit: cover;
  object-position: center;

  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* =========================================
   GLOBAL CODE BLOCKS
========================================= */

.entry-content pre,
.siteorigin-widget-tinymce pre,
.so-widget-sow-editor pre,
.bloks-article pre,
.bloks-editorial-article pre,
.bloks-card pre,
.bloks-code pre {
  margin: 1.25rem 0;
  padding: 1.4rem 1.5rem;

  background:
    linear-gradient(
      180deg,
      rgba(8, 12, 28, 0.96),
      rgba(5, 8, 20, 0.98)
    ) !important;

  border: 1px solid rgba(120, 170, 255, 0.16) !important;
  border-radius: 18px !important;

  overflow-x: auto;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.03),
    0 10px 30px rgba(0,0,0,0.28) !important;

  backdrop-filter: blur(8px);
}

.entry-content pre code,
.siteorigin-widget-tinymce pre code,
.so-widget-sow-editor pre code,
.bloks-article pre code,
.bloks-editorial-article pre code,
.bloks-card pre code,
.bloks-code pre code {
  display: block;

  color: rgba(215, 235, 255, 0.96) !important;

  font-family:
    "JetBrains Mono",
    "Fira Code",
    "IBM Plex Mono",
    Consolas,
    Monaco,
    monospace;

  font-size: 0.92rem;
  line-height: 1.7;

  white-space: pre;
}

.entry-content pre::-webkit-scrollbar,
.siteorigin-widget-tinymce pre::-webkit-scrollbar,
.so-widget-sow-editor pre::-webkit-scrollbar,
.bloks-article pre::-webkit-scrollbar,
.bloks-editorial-article pre::-webkit-scrollbar,
.bloks-card pre::-webkit-scrollbar,
.bloks-code pre::-webkit-scrollbar {
  height: 10px;
}

.entry-content pre::-webkit-scrollbar-track,
.siteorigin-widget-tinymce pre::-webkit-scrollbar-track,
.so-widget-sow-editor pre::-webkit-scrollbar-track,
.bloks-article pre::-webkit-scrollbar-track,
.bloks-editorial-article pre::-webkit-scrollbar-track,
.bloks-card pre::-webkit-scrollbar-track,
.bloks-code pre::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
}

.entry-content pre::-webkit-scrollbar-thumb,
.siteorigin-widget-tinymce pre::-webkit-scrollbar-thumb,
.so-widget-sow-editor pre::-webkit-scrollbar-thumb,
.bloks-article pre::-webkit-scrollbar-thumb,
.bloks-editorial-article pre::-webkit-scrollbar-thumb,
.bloks-card pre::-webkit-scrollbar-thumb,
.bloks-code pre::-webkit-scrollbar-thumb {
  background: rgba(120, 170, 255, 0.28);
  border-radius: 999px;
}

.entry-content pre::-webkit-scrollbar-thumb:hover,
.siteorigin-widget-tinymce pre::-webkit-scrollbar-thumb:hover,
.so-widget-sow-editor pre::-webkit-scrollbar-thumb:hover,
.bloks-article pre::-webkit-scrollbar-thumb:hover,
.bloks-editorial-article pre::-webkit-scrollbar-thumb:hover,
.bloks-card pre::-webkit-scrollbar-thumb:hover,
.bloks-code pre::-webkit-scrollbar-thumb:hover {
  background: rgba(120, 190, 255, 0.45);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 980px) {

  .bloks-grid-2,
  .bloks-grid-3,
  .bloks-grid-4 {
    grid-template-columns: 1fr;
  }

  .bloks-section {
    padding: 72px 22px;
  }

}

@media (max-width: 780px) {

  .bloks-card {
    grid-template-columns: 1fr;

    min-height: auto;

    text-align: center;

    gap: 18px;

    padding: 26px 22px 28px;

    margin-bottom: 22px;
  }

  .bloks-card-media img {
    max-width: 220px;
    width: 72%;
  }

  .bloks-card-content p {
    font-size: 17px;
    line-height: 1.45;
  }

  .bloks-card-icon {
    margin: 0 auto 14px;
  }

  .bloks-hero {
    min-height: 560px;
    padding: 90px 22px;
  }

  .bloks-hero-content .bloks-body {
    font-size: 18px;
  }

  .bloks-hero-bg {
    width: 110vw;
    height: 110vw;
  }

  .bloks-article {
    padding: 64px 22px;
  }

  .bloks-article-section {
    margin-bottom: 58px;
  }

  .bloks-article-section p {
    font-size: 17px;
    line-height: 1.65;
  }

  .bloks-article-hero {
    min-height: 520px;
  }

  .bloks-article-lede {
    font-size: 21px;
  }

  .bloks-pullquote {
    padding: 28px;
    margin: 42px 0 58px;
  }

  .bloks-closing-panel {
    padding: 30px 24px;
  }

  .bloks-closing-panel p {
    font-size: 18px;
  }

  .bloks-editorial-article .timeline-item {
    padding: 26px 22px;
  }

  .bloks-editorial-media,
  .bloks-image-grid {
    grid-template-columns: 1fr;
  }

}