/* ═══════════════════════════════════════
   Replek Media Center — Static Export CSS
   ═══════════════════════════════════════ */

/* .inner-scope *,
.inner-scope *::before,
.inner-scope *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
} */

:root {
  --replek-cyan: oklch(0.72 0.15 195);
  --replek-orange: oklch(0.7 0.18 55);
  --replek-yellow: oklch(0.82 0.17 85);
  --replek-purple: oklch(0.45 0.2 300);
  --replek-teal: oklch(0.6 0.12 175);
  --replek-text: oklch(0.25 0.02 260);
  --replek-text-light: oklch(0.45 0.02 260);
}

html {
  scroll-behavior: smooth;
  font-size: 16px !important;
}

.inner-scope {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--replek-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.inner-scope img {
  max-width: 100%;
  display: block;
}

/* .inner-scope a {
  color: inherit;
} */

.inner-scope button {
  font-family: inherit;
}

/* ── Container ── */
.replek-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  .replek-container { padding: 0 1.25rem; }
}

/* ── Section label ── */
.replek-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--replek-cyan);
  margin-bottom: 1.5rem;
}

.replek-section-label::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background-color: var(--replek-cyan);
}

/* ═══ HEADER ═══ */
.replek-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(1 0 0 / 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--replek-text-light) 10%, transparent);
}

.replek-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.replek-header-logo {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  flex-shrink: 0;
}

.replek-logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: conic-gradient(
    var(--replek-cyan) 0deg,
    var(--replek-teal) 72deg,
    var(--replek-purple) 144deg,
    var(--replek-orange) 216deg,
    var(--replek-yellow) 288deg,
    var(--replek-cyan) 360deg
  );
}

.replek-logo-text {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--replek-text);
  letter-spacing: -0.02em;
}

.replek-header-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.replek-header-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--replek-text-light);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.replek-header-link:hover {
  color: var(--replek-text);
  background: color-mix(in srgb, var(--replek-text-light) 6%, transparent);
}

.replek-header-link.active {
  color: var(--replek-cyan);
  font-weight: 600;
}

.replek-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.replek-header-search {
  background: none;
  border: none;
  color: var(--replek-text-light);
  cursor: pointer;
  padding: 0.375rem;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.replek-header-search:hover {
  color: var(--replek-text);
  background: color-mix(in srgb, var(--replek-text-light) 8%, transparent);
}

.replek-header-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--replek-cyan);
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}

.replek-header-cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.replek-header-burger {
  display: none;
  background: none;
  border: none;
  color: var(--replek-text);
  cursor: pointer;
  padding: 0.25rem;
}

.replek-mobile-menu {
  padding: 1rem 2rem 2rem;
  border-top: 1px solid color-mix(in srgb, var(--replek-text-light) 10%, transparent);
}

.replek-mobile-link {
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--replek-text-light);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--replek-text-light) 8%, transparent);
  transition: color 0.2s;
}

.replek-mobile-link:hover,
.replek-mobile-link.active {
  color: var(--replek-cyan);
}

.replek-mobile-cta {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--replek-cyan);
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  text-decoration: none;
  margin-top: 1.25rem;
}

@media (max-width: 860px) {
  .replek-header-nav,
  .replek-header-actions { display: none; }
  .replek-header-burger { display: flex; }
}

@media (min-width: 991px) {
    .header #logo {
        position: absolute;
        left: 15px;
    }
}

/* ═══ HERO ═══ */
/* .replek-hero-gradient {
  background: linear-gradient(
    160deg,
    oklch(0.97 0.015 200 / 0.35) 0%,
    oklch(0.98 0.01 80 / 0.25) 30%,
    oklch(0.99 0.005 300 / 0.1) 60%,
    oklch(0.985 0.008 200 / 0.15) 100%
  );
  overflow: hidden;
}

.replek-breadcrumb {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--replek-text-light);
  margin-bottom: 1.5rem;
}

.replek-breadcrumb-sep { margin: 0 0.5rem; color: var(--replek-text-light); }
.replek-breadcrumb-active { color: hsl(195, 95%, 50%); }

.replek-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--replek-text);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.replek-hero-underline {
  width: 3.5rem;
  height: 3.5px;
  background: var(--replek-cyan);
  margin-bottom: 1.75rem;
}

.replek-hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--replek-text-light);
  max-width: 440px;
}

.replek-media-hero {
  padding: 4.5rem 0 3.5rem;
  max-width: 640px;
}

@media (max-width: 768px) {
  .replek-media-hero { padding: 2.5rem 0 2rem; }
} */

/* Section label */
.replek-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--replek-cyan);
  margin-bottom: 1.5rem;
}
.replek-section-label::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background-color: var(--replek-cyan);
}

/* Heading */
.replek-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--replek-text);
  letter-spacing: -0.02em;
}
.replek-heading-accent { color: var(--replek-cyan); }

/* Body text */
.replek-body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--replek-text-light);
  max-width: 650px;
}
.replek-body-text p { margin-bottom: 1.5rem; }
.replek-body-text p:last-child { margin-bottom: 0; }

/* Hero gradient */
.replek-hero-gradient {
  background: linear-gradient(160deg, rgba(180,220,220,0.35) 0%, rgba(220,210,180,0.25) 30%, rgba(210,200,220,0.1) 60%, rgba(190,215,220,0.15) 100%);
  overflow: hidden;
  margin-top: 60px;
}

/* Breadcrumb */
.replek-breadcrumb {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--replek-text-light);
  margin-bottom: 1.5rem;
}
.replek-breadcrumb-sep { margin: 0 0.5rem; color: var(--replek-text-light); }
.replek-breadcrumb-active { color: hsl(195, 95%, 50%); }


/* Hero title */
.replek-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--replek-text);
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}
.replek-hero-underline { width: 3.5rem; height: 3.5px; background: hsl(195, 95%, 50%); margin-bottom: 1.75rem; }
.replek-hero-subtitle { font-size: 1.0625rem; line-height: 1.7; color: var(--replek-text-light); max-width: 440px; }

.replek-header-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  padding: 4.5rem 0 5rem;
  min-height: 520px;
}
@media (max-width: 768px) {
  .replek-header-section { grid-template-columns: 1fr; gap: 2rem; padding: 2.5rem 0; min-height: auto; }
}

/* Hero circles */
.replek-hero-circles {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    max-width: 560px;
    margin-left: auto;
}
.replek-hero-bg-image { position: absolute; width: 90%; height: 85%; top: 5%; right: 0; object-fit: cover; opacity: 0.12; filter: grayscale(40%); border-radius: 1rem; z-index: 0; }
.replek-icon-badge {
  position: absolute; width: 64px; height: 64px; border-radius: 50%; background: var(--replek-cyan);
  display: flex; align-items: center; justify-content: center; top: 0; right: 8%; z-index: 5;
  box-shadow: 0 4px 16px rgba(43,181,178,0.35);
}
.replek-circle { position: absolute; border-radius: 50%; overflow: hidden; border: 5px solid rgba(255,255,255,0.9); box-shadow: 0 10px 40px rgba(30,41,59,0.15); }
.replek-circle img { width: 100%; height: 100%; object-fit: cover; }
.replek-circle-lg { width: 62%; height: 62%; top: 8%; right: 2%; z-index: 1; }
.replek-circle-md { width: 42%; height: 42%; bottom: 5%; left: 8%; z-index: 2; }
.replek-circle-sm { width: 30%; height: 30%; top: 2%; left: 22%; z-index: 3; }
.replek-dot { position: absolute; border-radius: 50%; z-index: 4; }
.replek-dot-cyan { width: 16px; height: 16px; background: var(--replek-cyan); top: 38%; left: 35%; }
.replek-dot-purple { width: 14px; height: 14px; background: var(--replek-purple); bottom: 12%; right: 8%; }

@media (max-width: 768px) {
  .replek-hero-circles { max-width: 340px; margin: 0 auto; }
  .replek-icon-badge { width: 48px; height: 48px; }
  .replek-icon-badge svg { width: 20px; height: 20px; }
}

/* ═══ TABS ═══ */
.replek-media-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1.5px solid color-mix(in srgb, var(--replek-text-light) 15%, transparent);
  margin-top: 0.5rem;
  margin-bottom: 3rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.replek-media-tab {
  background: none;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--replek-text-light);
  padding: 1rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.replek-media-tab::after {
  content: "";
  position: absolute;
  bottom: -1.5px;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--replek-cyan);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.replek-media-tab:hover { color: var(--replek-text); }
.replek-media-tab.active { color: var(--replek-cyan); font-weight: 600; }
.replek-media-tab.active::after { transform: scaleX(1); }

@media (max-width: 768px) {
  .replek-media-tab { padding: 0.75rem 1rem; font-size: 0.8125rem; }
}

/* ═══ SECTION ═══ */
.replek-media-section { padding-bottom: 2rem; }

/* ═══ PRESS RELEASES ═══ */
.replek-press-featured {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  background: linear-gradient(135deg, oklch(0.97 0.015 200 / 0.3), oklch(0.99 0.005 80 / 0.15));
  border: 1px solid color-mix(in srgb, var(--replek-cyan) 15%, transparent);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}

.replek-press-featured::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--replek-cyan);
}

.replek-press-featured-image {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.replek-press-featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.replek-press-featured:hover .replek-press-featured-image img { transform: scale(1.03); }

.replek-press-featured-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.replek-press-featured-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--replek-cyan);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  z-index: 2;
}

.replek-press-featured-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--replek-text-light);
  margin-bottom: 0.75rem;
}

.replek-press-dot { color: var(--replek-cyan); }

.replek-press-featured h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--replek-text);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.replek-press-featured p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--replek-text-light);
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.replek-press-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  outline: none;
  border: none;
  background: none;
  font-weight: 600;
  color: var(--replek-cyan);
  cursor: pointer;
  transition: gap 0.2s ease;
  margin-top: auto;
  text-decoration: none;
}

.replek-press-read-more:hover { gap: 0.75rem; }
.replek-press-read-more:focus { outline: none; box-shadow: none; }

@media (max-width: 768px) {
  .replek-press-featured { grid-template-columns: 1fr; padding: 1.25rem; }
  .replek-press-featured-image { aspect-ratio: 16/9; }
}

/* Press grid */
.replek-press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) { .replek-press-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .replek-press-grid { grid-template-columns: 1fr; } }

.replek-press-card {
  cursor: pointer;
  border-radius: 0.75rem;
  overflow: hidden;
  background: oklch(0.97 0.005 200 / 0.3);
  border: 1px solid color-mix(in srgb, var(--replek-cyan) 10%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.replek-press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -8px color-mix(in srgb, var(--replek-cyan) 20%, oklch(0 0 0 / 0.15));
}

.replek-press-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.replek-press-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.replek-press-card:hover .replek-press-card-image img { transform: scale(1.05); }

.replek-press-card-body { padding: 1.25rem; }

.replek-press-card-body time {
  font-size: 0.75rem;
  color: var(--replek-text-light);
  display: block;
  margin-bottom: 0.5rem;
}

.replek-press-card-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--replek-text);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.replek-press-card:hover h3 { color: var(--replek-cyan); }

.replek-press-card-body p {
  font-size: 0.8125rem;
  color: var(--replek-text-light);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.replek-press-card-body .replek-press-read-more { font-size: 0.8125rem; }

/* ═══ NEWS (Актуелно) ═══ */
.replek-news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.replek-news-card-large {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 768px) {
  .replek-news-grid { grid-template-columns: 1fr; }
  .replek-news-card-large { grid-template-columns: 1fr; }
}

.replek-news-card {
  cursor: pointer;
  transition: transform 0.25s ease;
}

.replek-news-card:hover { transform: translateY(-2px); }

.replek-news-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.replek-news-card-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.replek-news-card:hover .replek-news-card-image img { transform: scale(1.03); }

.replek-news-tag {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--replek-cyan);
  color: white;
  padding: 0.2rem 0.625rem;
  border-radius: 2rem;
}

.replek-news-card-body { padding-top: 1rem; }

.replek-news-card-body time {
  font-size: 0.75rem;
  color: var(--replek-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.replek-news-card-body h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--replek-text);
  line-height: 1.35;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.replek-news-card:hover h3 { color: var(--replek-cyan); }

.replek-news-card-body p {
  font-size: 0.875rem;
  color: var(--replek-text-light);
  line-height: 1.65;
}

/* ═══ INTERVIEWS ═══ */
.replek-interviews-list {
  display: flex;
  flex-direction: column;
}

.replek-interview-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1.75rem;
  padding: 2rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--replek-text-light) 10%, transparent);
  cursor: pointer;
  transition: background 0.2s ease;
}

.replek-interview-item:hover { background: transparent; }
.replek-interview-item:last-child { border-bottom: none; }

.replek-interview-avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, oklch(0.94 0.01 200), oklch(0.96 0.005 80));
}

.replek-interview-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.replek-interview-item:hover .replek-interview-avatar img { transform: scale(1.05); }

.replek-interview-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.replek-interview-role {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--replek-cyan);
}

.replek-interview-meta time {
  font-size: 0.75rem;
  color: var(--replek-text-light);
}

.replek-interview-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--replek-text);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.replek-interview-item:hover h3 { color: var(--replek-cyan); }

.replek-interview-content p {
  font-size: 0.9375rem;
  color: var(--replek-text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
  max-width: 600px;
}

@media (max-width: 768px) {
  .replek-interview-item { grid-template-columns: 1fr; gap: 1rem; }
}

/* ═══ VIDEO ═══ */
.replek-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.replek-video-card-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .replek-video-grid { grid-template-columns: repeat(2, 1fr); }
  .replek-video-card-featured { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .replek-video-grid { grid-template-columns: 1fr; }
}

.replek-video-card { cursor: pointer; }

.replek-video-card:hover .replek-video-play { transform: translate(-50%, -50%) scale(1.1); }

.replek-video-thumbnail-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.replek-video-card:hover .replek-video-thumbnail-img { transform: scale(1.05); }

.replek-video-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.replek-video-thumb img {
  aspect-ratio: 16/9;
}

.replek-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--replek-cyan);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px oklch(0.72 0.15 195 / 0.4);
  padding-left: 3px;
}

.replek-video-duration {
  position: absolute;
  bottom: 0.5rem; right: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: oklch(0.1 0 0 / 0.7);
  color: white;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
}

.replek-video-info { padding-top: 0.75rem; }

.replek-video-info h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--replek-text);
  line-height: 1.4;
  margin-bottom: 0.35rem;
  transition: color 0.2s ease;
}

.replek-video-card:hover h3 { color: var(--replek-cyan); }

.replek-video-info p {
  font-size: 0.875rem;
  color: var(--replek-text-light);
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.replek-video-info time {
  font-size: 0.75rem;
  color: var(--replek-text-light);
}

/* ═══ VIEW ALL ═══ */
.replek-view-all {
  margin-top: 3rem;
  text-align: center;
}

.replek-view-all a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--replek-cyan);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease;
}

.replek-view-all a:hover { opacity: 0.7; }

/* ═══ PAGINATION ═══ */
.replek-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--replek-text-light) 12%, transparent);
}

.replek-page-item a,
.replek-page-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.625rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
  border: 1.5px solid color-mix(in srgb, var(--replek-text-light) 20%, transparent);
  color: var(--replek-text-light);
  background: transparent;
  line-height: 1;
}

.replek-page-item a:hover {
  background: color-mix(in srgb, var(--replek-cyan) 10%, transparent);
  border-color: var(--replek-cyan);
  color: var(--replek-cyan);
}

/* Current page */
.replek-page-item span.current {
  background: var(--replek-cyan);
  border-color: var(--replek-cyan);
  color: #fff;
  font-weight: 700;
}

/* Dots */
.replek-page-item span.dots {
  border-color: transparent;
  color: var(--replek-text-light);
  min-width: 28px;
}

/* Prev / Next arrows */
.replek-page-item:first-child a,
.replek-page-item:last-child a {
  font-size: 1.125rem;
  font-weight: 400;
}

/* ═══════════════════════════════════════
   SINGLE ARTICLE PAGE
   ═══════════════════════════════════════ */

/* Blog hero */
.replek-blog-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.replek-blog-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.1 0.03 260 / 0.88) 0%,
    oklch(0.15 0.03 260 / 0.55) 40%,
    oklch(0.2 0.02 260 / 0.15) 100%
  );
}

.replek-blog-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 3.5rem;
  padding-top: 8rem;
}

.replek-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.6);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.replek-blog-back:hover { color: oklch(1 0 0 / 0.9); }

.replek-blog-meta-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.replek-blog-category {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.replek-blog-meta-item {
  font-size: 0.8125rem;
  color: oklch(1 0 0 / 0.55);
  font-weight: 400;
}

.replek-blog-meta-sep { color: oklch(1 0 0 / 0.3); }

.replek-blog-hero-title {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  letter-spacing: -0.02em;
  max-width: 720px;
}

/* Blog layout */
.replek-blog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  padding: 3rem 0 4rem;
  align-items: start;
}

@media (max-width: 960px) {
  .replek-blog-layout { grid-template-columns: 1fr; gap: 0; }
}

.replek-blog-sidebar {
  position: sticky;
  top: 2rem;
}

@media (max-width: 960px) {
  .replek-blog-sidebar { display: none; }
}

/* TOC */
.replek-toc { margin-bottom: 2rem; }

.replek-toc-title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--replek-text-light);
  margin-bottom: 0.875rem;
}

.replek-toc ul { list-style: none; padding: 0; margin: 0; }
.replek-toc li { margin-bottom: 0.125rem; }

.replek-toc-link {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--replek-text-light);
  padding: 0.375rem 0 0.375rem 0.875rem;
  border-left: 2px solid transparent;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  text-transform: lowercase;
  display: inline-block;
}
.replek-toc-link::first-letter {
  text-transform: uppercase;
}

.replek-toc-link:hover { color: var(--replek-text); }

.replek-toc-link.active {
  color: var(--replek-cyan);
  border-left-color: var(--replek-cyan);
  font-weight: 600;
}

/* H3 sub-items indented */
.replek-toc-link-sub {
  padding-left: 1.5rem;
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Share bar */
.replek-share-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.375rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--replek-text-light) 12%, transparent);
}

.replek-share-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--replek-text-light);
  margin-bottom: 0.375rem;
}

.replek-share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--replek-text-light) 18%, transparent);
  background: none;
  color: var(--replek-text-light);
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.replek-share-btn:hover {
  border-color: var(--replek-cyan);
  color: var(--replek-cyan);
  background: color-mix(in srgb, var(--replek-cyan) 8%, transparent);
}

.replek-share-facebook:hover { border-color: oklch(0.45 0.15 250); color: oklch(0.45 0.15 250); }
.replek-share-twitter:hover { border-color: oklch(0.6 0.12 230); color: oklch(0.6 0.12 230); }
.replek-share-linkedin:hover { border-color: oklch(0.5 0.13 245); color: oklch(0.5 0.13 245); }
.replek-share-email:hover { border-color: var(--replek-orange); color: var(--replek-orange); }
.replek-share-copy:hover { border-color: var(--replek-teal); color: var(--replek-teal); }

/* Mobile share */
.replek-blog-mobile-share {
  display: none;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--replek-text-light) 12%, transparent);
}

.replek-blog-mobile-share .replek-share-bar {
  flex-direction: row;
  border-top: none;
  padding-top: 0;
  gap: 0.5rem;
}

.replek-blog-mobile-share .replek-share-label {
  margin-bottom: 0;
  margin-right: 0.5rem;
  align-self: center;
}

@media (max-width: 960px) {
  .replek-blog-mobile-share { display: block; }
}

/* Scroll to top */
.replek-scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--replek-cyan);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px oklch(0.72 0.15 195 / 0.35);
  transition: transform 0.2s, opacity 0.2s;
  z-index: 50;
}

.replek-scroll-top:hover { transform: translateY(-2px); }

/* Article body */
.replek-blog-body { max-width: 700px; padding: 0; overflow-wrap: break-word; word-break: break-word; min-width: 0; }

.replek-blog-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--replek-text-light) 15%, transparent);
}

.replek-blog-author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--replek-cyan), var(--replek-teal));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.replek-blog-author-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--replek-text);
}

.replek-blog-author-role {
  font-size: 0.8125rem;
  color: var(--replek-text-light);
  margin-top: 0.125rem;
}

.replek-blog-intro {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--replek-text);
  border-left: 3px solid var(--replek-cyan);
  padding-left: 1.5rem;
  margin: 0 0 2.5rem 0;
  box-sizing: border-box;
  width: 100%;
}

.replek-blog-body h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--replek-text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.replek-blog-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--replek-text-light);
  margin-bottom: 1.5rem;
}

.replek-blog-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.replek-blog-body ul li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--replek-text-light);
  margin-bottom: 0.75rem;
}

.replek-blog-body ul li::before {
  content: none !important;
  display: none !important;
}

.replek-blog-body ul li strong { color: var(--replek-text); }

.replek-blog-callout {
  background: color-mix(in srgb, var(--replek-cyan) 6%, transparent);
  border-left: 3px solid var(--replek-cyan);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--replek-text);
}

.replek-blog-callout strong {
  color: var(--replek-text);
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Tags */
.replek-blog-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid color-mix(in srgb, var(--replek-text-light) 15%, transparent);
}

.replek-blog-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--replek-text-light);
  background: color-mix(in srgb, var(--replek-text-light) 8%, transparent);
  padding: 0.35rem 0.875rem;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.replek-blog-tag:hover {
  background: color-mix(in srgb, var(--replek-cyan) 12%, transparent);
  color: var(--replek-cyan);
}

/* Related */
.replek-blog-related {
  background: color-mix(in srgb, var(--replek-text) 3%, transparent);
  padding: 3.5rem 0;
}

.replek-media-related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .replek-media-related-list { grid-template-columns: 1fr; }
}

.replek-media-related-item {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--replek-text-light) 12%, transparent);
  background: oklch(0.98 0.005 200 / 0.3);
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.replek-media-related-item:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--replek-cyan) 30%, transparent);
  box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--replek-cyan) 15%, oklch(0 0 0 / 0.1));
}

.replek-media-related-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--replek-cyan);
}

.replek-media-related-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--replek-text);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.replek-media-related-item:hover h3 { color: var(--replek-cyan); }

.replek-media-related-item time {
  font-size: 0.75rem;
  color: var(--replek-text-light);
  margin-top: auto;
}

/* Media article hero bg */
/* .replek-media-article-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, oklch(0.18 0.04 220), oklch(0.22 0.06 195), oklch(0.15 0.03 260));
  z-index: 0;
} */

.replek-media-article-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Stats grid */
.replek-media-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

@media (max-width: 768px) { .replek-media-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .replek-media-stats-grid { grid-template-columns: 1fr; } }

.replek-media-stat-card {
  background: linear-gradient(135deg, oklch(0.97 0.015 200 / 0.4), oklch(0.99 0.005 80 / 0.2));
  border: 1px solid color-mix(in srgb, var(--replek-cyan) 15%, transparent);
  border-radius: 0.75rem;
  padding: 1.25rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.replek-media-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--replek-cyan) 15%, oklch(0 0 0 / 0.1));
}

.replek-media-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--replek-cyan);
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.replek-media-stat-label {
  font-size: 0.8125rem;
  color: var(--replek-text-light);
  margin-bottom: 0.35rem;
}

.replek-media-stat-change {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.replek-media-stat-change.positive { color: oklch(0.65 0.2 145); }

/* ═══ FOOTER ═══ */
.replek-footer {
  background: oklch(0.97 0.005 200 / 0.5);
  border-top: 1px solid color-mix(in srgb, var(--replek-text-light) 10%, transparent);
  padding: 2.5rem 0;
}

.replek-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.replek-footer-brand p {
  font-size: 0.8125rem;
  color: var(--replek-text-light);
  margin-top: 0.5rem;
}

.replek-footer-copy {
  font-size: 0.75rem;
  color: var(--replek-text-light);
}

/* ═══ ANIMATIONS ═══ */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

[data-animate="fade-up"].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--replek-cyan);
  outline-offset: 2px;
}

/* ── Interview subject card ── */
.replek-interview-subject {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #f8fbfd;
  border-left: 3px solid var(--replek-cyan, #27C4F3);
  border-radius: 8px;
  margin-bottom: 2rem;
}

.replek-interview-subject-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.replek-interview-subject-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.replek-interview-subject-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a2332;
}

.replek-interview-subject-title {
  font-size: 0.95rem;
  color: #6b7280;
}

.replek-interview-subject-title + .replek-interview-subject-title {
  font-size: 0.85rem;
  color: #9ca3af;
}

/* ── Media section title links ── */
.replek-press-featured h2 a,
.replek-press-card h3 a,
.replek-news-card h3 a,
.replek-interview-item h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.replek-press-featured h2 a:hover,
.replek-press-card h3 a:hover,
.replek-news-card h3 a:hover,
.replek-interview-item h3 a:hover,
.replek-press-featured h2 a:active,
.replek-press-card h3 a:active,
.replek-news-card h3 a:active,
.replek-interview-item h3 a:active {
  color: var(--replek-cyan);
}

.replek-press-featured h2 a:focus,
.replek-press-card h3 a:focus,
.replek-news-card h3 a:focus,
.replek-interview-item h3 a:focus,
.replek-press-featured-image a:focus,
.replek-press-card-image a:focus,
.replek-news-card-image a:focus,
.replek-interview-avatar a:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* ── Blog body inline links ── */
.replek-blog-body a {
  transition: color 0.15s;
}

.replek-blog-body a:hover,
.replek-blog-body a:focus,
.replek-blog-body a:active {
  color: var(--replek-cyan, #27C4F3);
  outline: none !important;
  box-shadow: none !important;
}

/* ── Blog content lists ── */
.replek-blog-body ol.wp-block-list,
.replek-blog-body ul.wp-block-list,
.replek-blog-body ol,
.replek-blog-body ul {
  margin: 0.75rem 0 1.25rem 0;
  padding-left: 1.6rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2d3748;
  line-height: 1.75;
  list-style: revert;
}

.replek-blog-body ul.wp-block-list,
.replek-blog-body ul {
  list-style-type: disc;
}

.replek-blog-body ol.wp-block-list,
.replek-blog-body ol {
  list-style-type: decimal;
}

.replek-blog-body ol li,
.replek-blog-body ul li {
  margin-bottom: 0.4rem;
}

.replek-blog-body ul li::marker,
.replek-blog-body ol li::marker {
  color: var(--replek-cyan, #27C4F3);
  font-weight: 700;
}

/* ── Blog content figures & images ── */
.replek-blog-body figure {
  width: 100% !important;
  max-width: 100% !important;
  margin: 1.5rem 0;
}

/* ── Blog content tables ── */
.replek-blog-body .wp-block-table,
.replek-blog-body figure.wp-block-table {
  margin: 2rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.replek-blog-body .wp-block-table table,
.replek-blog-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.replek-blog-body .wp-block-table table tbody tr:first-child td,
.replek-blog-body table thead th {
  background: var(--replek-cyan, #27C4F3);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  text-align: left;
  letter-spacing: 0.01em;
}

.replek-blog-body .wp-block-table table tbody tr:not(:first-child) td,
.replek-blog-body table tbody td {
  padding: 11px 18px;
  border-bottom: 1px solid #e9eef4;
  color: #1a2332;
  vertical-align: middle;
}

.replek-blog-body .wp-block-table table tbody tr:not(:first-child):nth-child(even) td,
.replek-blog-body table tbody tr:nth-child(even) td {
  background: #f4fbfe;
}

.replek-blog-body .wp-block-table table tbody tr:not(:first-child):last-child td,
.replek-blog-body table tbody tr:last-child td {
  border-bottom: none;
}

.replek-blog-body .wp-block-table table tbody tr:not(:first-child):hover td,
.replek-blog-body table tbody tr:hover td {
  background: #e8f8fd;
  transition: background 0.15s ease;
}

/* Caption / figcaption below table */
.replek-blog-body .wp-block-table figcaption,
.replek-blog-body figure.wp-block-table + p > strong {
  display: block;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--replek-cyan, #27C4F3);
  font-style: italic;
}
