.eyvi-blog-section,
.eyvi-blog-section *,
.eyvi-blog-section *::before,
.eyvi-blog-section *::after {
  box-sizing: border-box;
}

.eyvi-blog-section {
  --eyvi-blog-bg: #141414;
  --eyvi-blog-text: #F5F3ED;
  --eyvi-blog-cyan: #40E2EB;
  --eyvi-blog-card: rgba(245, 243, 237, .045);
  --eyvi-blog-border: rgba(245, 243, 237, .13);
  --eyvi-blog-radius: 16px;

  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 16% 10%, rgba(64, 226, 235, .09), transparent 34%),
    radial-gradient(circle at 86% 84%, rgba(205, 95, 225, .10), transparent 32%),
    var(--eyvi-blog-bg);
  color: var(--eyvi-blog-text);
  font-family: 'Lato', sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: auto;
  isolation: isolate;
}

.eyvi-blog-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(245, 243, 237, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 237, .018) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black, transparent 76%);
  opacity: .72;
}

.eyvi-blog-inner {
  position: relative;
  z-index: 1;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 8vw, 120px) 0;
}

.eyvi-blog-head {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(280px, .48fr);
  align-items: end;
  gap: clamp(24px, 5vw, 76px);
  margin-bottom: clamp(34px, 4.6vw, 60px);
}

.eyvi-blog-eyebrow {
  margin-bottom: 16px;
  color: var(--eyvi-blog-cyan);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
}

.eyvi-blog-head h2 {
  margin: 0;
  color: var(--eyvi-blog-text);
  font-size: clamp(54px, 9vw, 136px);
  line-height: .82;
  letter-spacing: -.075em;
  font-weight: 300;
  text-transform: none;
}

.eyvi-blog-head p {
  max-width: 520px;
  margin: 0;
  color: rgba(245, 243, 237, .66);
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.48;
  font-weight: 300;
}

.eyvi-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(16px, 1.7vw, 24px);
  perspective: 1200px;
}

.eyvi-blog-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--eyvi-blog-border);
  border-radius: var(--eyvi-blog-radius);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(245, 243, 237, .06), rgba(245, 243, 237, .025));
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
  transform: translate3d(0, 0, 0) rotateX(0deg);
  transition:
    transform .58s cubic-bezier(.22, 1, .36, 1),
    border-color .38s ease,
    box-shadow .58s cubic-bezier(.22, 1, .36, 1),
    background .38s ease;
  will-change: transform;
}

.eyvi-blog-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 3;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(64, 226, 235, .42) 35%, rgba(245, 243, 237, .22) 48%, transparent 66%);
  opacity: 0;
  transform: translateX(-70%);
  transition: opacity .35s ease, transform .78s cubic-bezier(.22, 1, .36, 1);
  mix-blend-mode: screen;
}

.eyvi-blog-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(245, 243, 237, .06);
}

.eyvi-blog-card-glow {
  position: absolute;
  inset: -30%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(64, 226, 235, .20), transparent 42%);
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(.96);
  transition: opacity .45s ease, transform .58s cubic-bezier(.22, 1, .36, 1);
}

.eyvi-blog-card:hover,
.eyvi-blog-card:focus-within {
  transform: translate3d(0, -10px, 0) rotateX(2deg);
  border-color: rgba(64, 226, 235, .55);
  background: linear-gradient(180deg, rgba(245, 243, 237, .085), rgba(245, 243, 237, .035));
  box-shadow: 0 28px 80px rgba(0, 0, 0, .36), 0 0 38px rgba(64, 226, 235, .08);
}

.eyvi-blog-card:hover::before,
.eyvi-blog-card:focus-within::before {
  opacity: .55;
  transform: translateX(72%);
}

.eyvi-blog-card:hover .eyvi-blog-card-glow,
.eyvi-blog-card:focus-within .eyvi-blog-card-glow {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.eyvi-blog-media {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(245, 243, 237, .09), rgba(64, 226, 235, .08));
}

.eyvi-blog-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 44%, rgba(20, 20, 20, .62) 100%);
  opacity: .74;
  transition: opacity .38s ease;
}

.eyvi-blog-media img,
.eyvi-blog-media span {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  filter: saturate(.88) contrast(1.02);
  transition:
    transform .78s cubic-bezier(.22, 1, .36, 1),
    filter .58s ease,
    opacity .3s ease;
}

.eyvi-blog-card:hover .eyvi-blog-media img,
.eyvi-blog-card:hover .eyvi-blog-media span,
.eyvi-blog-card:focus-within .eyvi-blog-media img,
.eyvi-blog-card:focus-within .eyvi-blog-media span {
  transform: scale(1.075);
  filter: saturate(1.08) contrast(1.06);
}

.eyvi-blog-card:hover .eyvi-blog-media::after,
.eyvi-blog-card:focus-within .eyvi-blog-media::after {
  opacity: .46;
}

.eyvi-blog-content {
  position: relative;
  z-index: 4;
  padding: clamp(18px, 1.65vw, 24px);
}

.eyvi-blog-content time {
  display: block;
  margin-bottom: 12px;
  color: rgba(245, 243, 237, .45);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyvi-blog-content h3 {
  margin: 0;
  font-size: clamp(20px, 1.65vw, 28px);
  line-height: 1.04;
  letter-spacing: -.03em;
  font-weight: 300;
}

.eyvi-blog-content h3 a,
.eyvi-blog-read,
.eyvi-blog-actions a {
  color: var(--eyvi-blog-text);
  text-decoration: none;
}

.eyvi-blog-content h3 a:focus-visible,
.eyvi-blog-read:focus-visible,
.eyvi-blog-actions a:focus-visible {
  outline: 2px solid var(--eyvi-blog-cyan);
  outline-offset: 4px;
  border-radius: 6px;
}

.eyvi-blog-content p {
  margin: 14px 0 0;
  color: rgba(245, 243, 237, .62);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 300;
}

.eyvi-blog-read {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  color: var(--eyvi-blog-cyan);
  font-size: 14px;
  line-height: 1.2;
  transition: gap .28s cubic-bezier(.22, 1, .36, 1), color .25s ease;
}

.eyvi-blog-read span {
  transform: translateX(0);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.eyvi-blog-card:hover .eyvi-blog-read,
.eyvi-blog-card:focus-within .eyvi-blog-read {
  gap: 13px;
  color: #7df6fb;
}

.eyvi-blog-card:hover .eyvi-blog-read span,
.eyvi-blog-card:focus-within .eyvi-blog-read span {
  transform: translateX(4px);
}

.eyvi-blog-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3.8vw, 52px);
}

.eyvi-blog-actions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid rgba(245, 243, 237, .22);
  border-radius: 999px;
  background: rgba(245, 243, 237, .025);
  transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.eyvi-blog-actions a:hover {
  border-color: rgba(64, 226, 235, .7);
  background: rgba(64, 226, 235, .08);
  transform: translateY(-2px);
}

.eyvi-blog-empty {
  grid-column: 1 / -1;
  color: rgba(245, 243, 237, .65);
}

@media (min-width: 901px) and (max-height: 840px) {
  .eyvi-blog-inner {
    padding: 54px 0;
  }

  .eyvi-blog-head {
    margin-bottom: 28px;
  }

  .eyvi-blog-head h2 {
    font-size: clamp(48px, 7vw, 96px);
  }

  .eyvi-blog-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 1100px) {
  .eyvi-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .eyvi-blog-section {
    min-height: auto;
    overflow: visible;
    display: block;
  }

  .eyvi-blog-inner {
    width: min(100% - 32px, 720px);
    padding: 72px 0;
  }

  .eyvi-blog-head {
    display: block;
  }

  .eyvi-blog-head h2 {
    font-size: clamp(46px, 16vw, 82px);
  }

  .eyvi-blog-head p {
    margin-top: 20px;
  }

  .eyvi-blog-grid {
    grid-template-columns: 1fr;
  }

  .eyvi-blog-card:hover,
  .eyvi-blog-card:focus-within {
    transform: translate3d(0, -6px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .eyvi-blog-card,
  .eyvi-blog-card::before,
  .eyvi-blog-card-glow,
  .eyvi-blog-media img,
  .eyvi-blog-media span,
  .eyvi-blog-read,
  .eyvi-blog-read span,
  .eyvi-blog-actions a {
    transition: none !important;
  }

  .eyvi-blog-card:hover,
  .eyvi-blog-card:focus-within,
  .eyvi-blog-actions a:hover {
    transform: none !important;
  }
}

/* EYVI plugin v1.3.2 — Elementor font/position controls */
.eyvi-blog-section {
  --eyvi-blog-head-x: 0px;
  --eyvi-blog-head-y: 0px;
}

.eyvi-blog-head {
  transform: translate3d(var(--eyvi-blog-head-x, 0px), var(--eyvi-blog-head-y, 0px), 0);
}

/* EYVI plugin v1.3.3 — Blog cards without hover glow */
.eyvi-blog-card-glow {
  display: none !important;
}

.eyvi-blog-card:hover,
.eyvi-blog-card:focus-within {
  border-color: rgba(245, 243, 237, .28);
  box-shadow: 0 26px 66px rgba(0, 0, 0, .34);
}

.eyvi-blog-card:hover .eyvi-blog-card-glow,
.eyvi-blog-card:focus-within .eyvi-blog-card-glow {
  opacity: 0 !important;
  transform: none !important;
}

/* EYVI Blog Post — single article widget */
.eyvi-blog-post-section,
.eyvi-blog-post-section *,
.eyvi-blog-post-section *::before,
.eyvi-blog-post-section *::after {
  box-sizing: border-box;
}

.eyvi-blog-post-section {
  --eyvi-post-bg: #141414;
  --eyvi-post-text: #F5F3ED;
  --eyvi-post-muted: rgba(245, 243, 237, .62);
  --eyvi-post-line: rgba(245, 243, 237, .12);
  --eyvi-post-cyan: #40E2EB;

  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 8%, rgba(64, 226, 235, .08), transparent 32%),
    radial-gradient(circle at 92% 18%, rgba(205, 95, 225, .075), transparent 30%),
    var(--eyvi-post-bg);
  color: var(--eyvi-post-text);
  font-family: 'Lato', sans-serif;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

.eyvi-blog-post-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(245, 243, 237, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 243, 237, .016) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black, transparent 86%);
  -webkit-mask-image: linear-gradient(180deg, black, transparent 86%);
  opacity: .52;
}

.eyvi-blog-post-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 148px) 0 clamp(84px, 10vw, 168px);
}

.eyvi-blog-post-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin-bottom: clamp(34px, 5vw, 76px);
  color: rgba(245, 243, 237, .72);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: .02em;
  transition: color .25s ease, transform .25s cubic-bezier(.22, 1, .36, 1);
}

.eyvi-blog-post-back:hover,
.eyvi-blog-post-back:focus-visible {
  color: var(--eyvi-post-cyan);
  transform: translateX(-4px);
}

.eyvi-blog-post-head {
  max-width: 980px;
  margin-bottom: clamp(36px, 5.4vw, 76px);
}

.eyvi-blog-post-eyebrow {
  margin-bottom: 18px;
  color: var(--eyvi-post-cyan);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 400;
}

.eyvi-blog-post-title {
  margin: 0;
  color: var(--eyvi-post-text);
  font-size: clamp(48px, 7.8vw, 118px);
  line-height: .88;
  letter-spacing: -.072em;
  font-weight: 300;
}

.eyvi-blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: clamp(22px, 3vw, 36px);
  color: rgba(245, 243, 237, .56);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.eyvi-blog-post-meta span,
.eyvi-blog-post-meta time {
  position: relative;
}

.eyvi-blog-post-meta span:not(:last-child)::after,
.eyvi-blog-post-meta time:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -11px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(245, 243, 237, .32);
}

.eyvi-blog-post-hero-media {
  width: 100%;
  height: 520px;
  margin: 0 0 clamp(54px, 6vw, 92px);
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--eyvi-post-line);
  background: rgba(245, 243, 237, .035);
}

.eyvi-blog-post-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--eyvi-post-image-x, 50%) var(--eyvi-post-image-y, 50%);
  filter: saturate(.92) contrast(1.02);
}

.eyvi-blog-post-body {
  max-width: 780px;
  margin: 0 auto;
}

.eyvi-blog-post-content {
  color: rgba(245, 243, 237, .78);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.72;
  font-weight: 300;
}

.eyvi-blog-post-content > *:first-child {
  margin-top: 0;
}

.eyvi-blog-post-content > *:last-child {
  margin-bottom: 0;
}

.eyvi-blog-post-content p,
.eyvi-blog-post-content ul,
.eyvi-blog-post-content ol,
.eyvi-blog-post-content blockquote,
.eyvi-blog-post-content figure {
  margin: 0 0 1.45em;
}

.eyvi-blog-post-content h2,
.eyvi-blog-post-content h3,
.eyvi-blog-post-content h4 {
  color: var(--eyvi-post-text);
  font-weight: 300;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 1.8em 0 .72em;
}

.eyvi-blog-post-content h2 {
  font-size: clamp(34px, 3.8vw, 58px);
}

.eyvi-blog-post-content h3 {
  font-size: clamp(28px, 3vw, 42px);
}

.eyvi-blog-post-content a {
  color: var(--eyvi-post-cyan);
  text-decoration: none;
  border-bottom: 1px solid rgba(64, 226, 235, .34);
}

.eyvi-blog-post-content a:hover,
.eyvi-blog-post-content a:focus-visible {
  border-bottom-color: rgba(64, 226, 235, .86);
}

.eyvi-blog-post-content blockquote {
  padding: 0 0 0 28px;
  border-left: 1px solid var(--eyvi-post-cyan);
  color: rgba(245, 243, 237, .9);
  font-size: 1.12em;
}

.eyvi-blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

@media (max-width: 900px) {
  .eyvi-blog-post-section {
    min-height: auto;
    overflow: visible;
  }

  .eyvi-blog-post-inner {
    width: min(100% - 32px, 760px);
    padding: 64px 0 92px;
  }

  .eyvi-blog-post-title {
    font-size: clamp(42px, 14vw, 78px);
  }

  .eyvi-blog-post-hero-media {
    height: clamp(240px, 56vw, 420px);
    border-radius: 14px;
  }

  .eyvi-blog-post-body {
    max-width: none;
  }
}

/* EYVI plugin v1.3.9 — language switch, post spacing and author CTA */
[data-eyvi-native-smooth="true"] {
  scroll-behavior: smooth;
}

.eyvi-blog-language {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 5px;
  border: 1px solid rgba(245, 243, 237, .14);
  border-radius: 999px;
  background: rgba(245, 243, 237, .035);
}

.eyvi-blog-language a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(245, 243, 237, .66);
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .24s ease, color .24s ease, transform .24s ease;
}

.eyvi-blog-language a:hover,
.eyvi-blog-language a:focus-visible {
  color: #F5F3ED;
  transform: translateY(-1px);
}

.eyvi-blog-language a.is-active {
  color: #141414;
  background: #40E2EB;
}

.eyvi-blog-post-hero-media {
  margin-bottom: var(--eyvi-post-media-gap, clamp(84px, 8vw, 128px));
}

.eyvi-blog-post-content > h1:first-child,
.eyvi-blog-post-content > h2:first-child,
.eyvi-blog-post-content > h3:first-child,
.eyvi-blog-post-content > h4:first-child {
  margin-top: .55em;
}

.eyvi-blog-post-cta {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  width: min(980px, 100%);
  margin: clamp(72px, 9vw, 132px) auto 0;
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(245, 243, 237, .13);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(245, 243, 237, .07), rgba(245, 243, 237, .025)),
    radial-gradient(circle at 16% 10%, rgba(64, 226, 235, .12), transparent 38%);
  overflow: hidden;
}

.eyvi-blog-post-cta-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(245, 243, 237, .055);
}

.eyvi-blog-post-cta-media img,
.eyvi-blog-post-cta-media span {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eyvi-blog-post-cta-media span {
  background:
    radial-gradient(circle at 48% 28%, rgba(64, 226, 235, .18), transparent 34%),
    linear-gradient(135deg, rgba(245, 243, 237, .08), rgba(245, 243, 237, .02));
}

.eyvi-blog-post-cta-copy {
  min-width: 0;
}

.eyvi-blog-post-cta-kicker {
  margin-bottom: 16px;
  color: var(--eyvi-post-cyan);
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyvi-blog-post-cta h2 {
  margin: 0;
  color: var(--eyvi-post-text);
  font-size: clamp(34px, 4.3vw, 64px);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 300;
}

.eyvi-blog-post-cta p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(245, 243, 237, .68);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.58;
  font-weight: 300;
}

.eyvi-blog-post-cta a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 30px;
  padding: 0 22px;
  border: 1px solid rgba(64, 226, 235, .54);
  border-radius: 999px;
  color: #F5F3ED;
  text-decoration: none;
  background: rgba(64, 226, 235, .06);
  transition: background .24s ease, transform .24s ease, border-color .24s ease;
}

.eyvi-blog-post-cta a:hover,
.eyvi-blog-post-cta a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(64, 226, 235, .9);
  background: rgba(64, 226, 235, .12);
}

.eyvi-blog-post-cta a span {
  transition: transform .24s ease;
}

.eyvi-blog-post-cta a:hover span,
.eyvi-blog-post-cta a:focus-visible span {
  transform: translateX(4px);
}

@media (max-width: 760px) {
  .eyvi-blog-post-cta {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .eyvi-blog-post-cta-media {
    aspect-ratio: 16 / 10;
  }
}

/* EYVI plugin v1.3.17 — Blog card hover: usuwa tylko wewnętrzny cyan glow, zostawia tilt/unoszenie/obramowanie. */
.eyvi-blog-card-glow,
.eyvi-blog-card:hover .eyvi-blog-card-glow,
.eyvi-blog-card:focus-within .eyvi-blog-card-glow {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
}
