/* =============================================
   RADIO 17 — Main Stylesheet
   ============================================= */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black:     #0D0D0D;
  --black-mid: #141414;
  --gray-dark: #1C1C1C;
  --gray-mid:  #888888;
  --white:     #F0F0F0;
  --red:       #2AACB8;
  --yellow:    #00E676;
  --grad-start: #00E676;
  --grad-end:   #2AACB8;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Space Grotesk', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  cursor: none;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}

a { cursor: none; }
button { cursor: none; }
input, textarea, select { cursor: none; }

/* ---- CUSTOM CURSOR ---- */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease;
  will-change: transform;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 32, 32, 0.7);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              border-color 0.3s ease,
              opacity 0.3s ease;
  will-change: transform;
}

.cursor-ring.hover {
  width: 64px;
  height: 64px;
  border-color: var(--yellow);
  mix-blend-mode: difference;
}

.cursor-dot.hover {
  width: 12px;
  height: 12px;
  background: var(--yellow);
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2.5rem;
  transition: background 0.4s ease, border-bottom 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.05em;
  line-height: 1;
  z-index: 1001;
  position: relative;
}

.nav-logo span { color: var(--red); }

.nav-logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(1);
  transition: opacity 0.3s;
}

.nav-logo-img:hover { opacity: 0.85; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links-desktop {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links-desktop a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
  transition: opacity 0.3s;
  position: relative;
}

.nav-links-desktop a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links-desktop a:hover { opacity: 1; }
.nav-links-desktop a:hover::after { transform: scaleX(1); }

.nav-burger {
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  z-index: 1001;
  position: relative;
}

.nav-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.35s var(--ease-out-expo);
  transform-origin: center;
}

.nav-burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MENU OVERLAY ---- */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(140deg, #00E676 0%, #2AACB8 100%);
  z-index: 998;
  clip-path: circle(0% at calc(100% - 55px) 55px);
  transition: clip-path 0.85s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: stretch;
}

.menu-overlay.open {
  clip-path: circle(160% at calc(100% - 55px) 55px);
}

.menu-overlay-inner {
  width: 100%;
  padding: 7rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-link {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  color: var(--black);
  text-decoration: none;
  line-height: 1.05;
  display: block;
  position: relative;
  transform: translateX(-80px);
  opacity: 0;
  transition: transform 0.6s var(--ease-out-expo), opacity 0.5s ease;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 0.1em 0;
}

/* Biały tekst na wierzchu — pojawia się natychmiastowo przy hover */
.menu-link::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: transparent;
  pointer-events: none;
  transition: color 0.1s ease, left 0.1s ease, top 0.1s ease;
}

.menu-link:hover::after {
  color: var(--white);
  left: 0.06em;
  top: 0.03em;
}

.menu-overlay.open .menu-link { transform: translateX(0); opacity: 1; }
.menu-overlay.open .menu-link:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.open .menu-link:nth-child(2) { transition-delay: 0.18s; }
.menu-overlay.open .menu-link:nth-child(3) { transition-delay: 0.26s; }
.menu-overlay.open .menu-link:nth-child(4) { transition-delay: 0.34s; }

.menu-overlay-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.menu-social {
  display: flex;
  gap: 2rem;
}

.menu-social a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.menu-social a:hover { opacity: 1; }

.menu-tagline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--black);
  opacity: 0.4;
  letter-spacing: 0.05em;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 55%, rgba(42,172,184,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 25%, rgba(0,230,118,0.1) 0%, transparent 50%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(42,172,184,0.12);
  border: 1px solid rgba(42,172,184,0.4);
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  margin-bottom: 1.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  animation: fadeInDown 0.9s var(--ease-out-expo) 0.1s both;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,32,32,0.4); }
  50%       { opacity: 0.6; transform: scale(1.4); box-shadow: 0 0 0 6px rgba(255,32,32,0); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  margin-bottom: 1.4rem;
  overflow: hidden;
}

.hero-title-line {
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 19vw, 17rem);
  display: block;
  letter-spacing: -0.01em;
  animation: revealUp 0.9s var(--ease-out-expo) both;
}

.hero-title-line:nth-child(2) { animation-delay: 0.18s; }
.hero-title-line.accent { color: var(--red); }

.hero-subtitle {
  font-size: clamp(0.8rem, 1.8vw, 1.1rem);
  color: var(--gray-mid);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.9s var(--ease-out-expo) 0.35s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s var(--ease-out-expo) 0.5s both;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color 0.3s;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--yellow);
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-out-expo);
  z-index: 0;
}

.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { color: var(--black); }
.btn-primary > * { position: relative; z-index: 1; }
.btn-primary > svg { position: relative; z-index: 1; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 0.9rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s, background 0.3s;
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.06);
}

/* ---- HERO FLOATS ---- */
.hero-float {
  position: absolute;
  font-family: var(--font-display);
  pointer-events: none;
  z-index: 1;
  letter-spacing: 0.05em;
  user-select: none;
}

.hero-float-1 {
  font-size: clamp(5rem, 12vw, 13rem);
  bottom: 12%;
  left: 3%;
  color: rgba(255,255,255,0.03);
  animation: float 7s ease-in-out infinite;
}

.hero-float-2 {
  font-size: clamp(4rem, 10vw, 11rem);
  top: 12%;
  right: 4%;
  color: rgba(255,255,255,0.03);
  animation: float 9s ease-in-out infinite reverse;
}

.hero-float-3 {
  font-size: clamp(2rem, 5vw, 5.5rem);
  top: 48%;
  right: 12%;
  color: rgba(42,172,184,0.1);
  animation: float 5.5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-22px); }
}

/* ---- SCROLL INDICATOR ---- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 2;
  animation: fadeInUp 1s ease 1.2s both;
}

.scroll-text {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--gray-mid);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gray-mid), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%    { transform: scaleY(0); transform-origin: top; }
  49%   { transform: scaleY(1); transform-origin: top; }
  50%   { transform: scaleY(1); transform-origin: bottom; }
  100%  { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- MARQUEE ---- */
.marquee-wrapper {
  background: linear-gradient(90deg, var(--grad-start), var(--grad-end));
  overflow: hidden;
  padding: 0.8rem 0;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: marquee 32s linear infinite;
  will-change: transform;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--black);
}

.marquee-dot {
  color: var(--gray-dark) !important;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- PLAYER ---- */
.player-section {
  background: var(--gray-dark);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.player-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42,172,184,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.player-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.player-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
  min-width: 250px;
}

/* Vinyl */
.vinyl-record {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  background: conic-gradient(
    #1a1a1a 0deg, #2a2a2a 4deg, #1a1a1a 8deg,
    #222 12deg, #1a1a1a 16deg, #2a2a2a 20deg,
    #1a1a1a 24deg, #222 28deg
  );
  background-size: 100% 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(42,172,184,0.3), inset 0 0 0 12px rgba(0,0,0,0.4);
  transition: box-shadow 0.4s ease;
  position: relative;
}

.vinyl-record::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
}

.vinyl-record.spinning {
  animation: spin 3s linear infinite;
  box-shadow: 0 0 40px rgba(42,172,184,0.55), inset 0 0 0 12px rgba(0,0,0,0.4);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.vinyl-label {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.6rem;
  color: var(--white);
  letter-spacing: 0.05em;
  z-index: 1;
}

.player-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(42,172,184,0.18);
  color: var(--red);
  padding: 0.15rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 0.4rem;
  border-radius: 2px;
}

.player-track-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.player-program {
  color: var(--gray-mid);
  font-size: 0.82rem;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Waveform */
.player-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 36px;
}

.waveform-bar {
  width: 3px;
  border-radius: 3px;
  background: var(--red);
  height: 4px;
  transition: none;
  flex-shrink: 0;
}

/* Play button */
.play-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 20px rgba(42,172,184,0.35);
}

.play-btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: scale(1.08);
  box-shadow: 0 0 28px rgba(0,230,118,0.4);
}

/* Volume */
.player-volume {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--gray-mid);
}

.volume-slider {
  -webkit-appearance: none;
  width: 90px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  outline: none;
  border: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  background: var(--red);
  border-radius: 50%;
  transition: background 0.25s;
}

.volume-slider:hover::-webkit-slider-thumb { background: var(--yellow); }

/* ---- CONTAINER & SECTION HEADER ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.02em;
}

.section-title .accent { color: var(--red); }

.see-all-link {
  color: var(--gray-mid);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
  white-space: nowrap;
  align-self: flex-end;
  padding-bottom: 0.2rem;
}

.see-all-link:hover { color: var(--white); }

/* ---- ARTICLES PREVIEW ---- */
.articles-preview {
  padding: 6rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1.5rem;
}

.article-card {
  background: var(--gray-dark);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-expo);
  position: relative;
}

.article-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}

.article-card:hover { transform: translateY(-6px); }
.article-card:hover::after { transform: scaleX(1); }

.article-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.article-card--featured .article-card-img { aspect-ratio: 4/3; }

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  transition: transform 0.5s var(--ease-out-expo);
}

.article-card:hover .img-placeholder { transform: scale(1.06); }

.article-category {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--red);
  color: var(--white);
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.article-card-body { padding: 1.4rem; }

.article-date {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-mid);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.15;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.article-excerpt {
  color: var(--gray-mid);
  font-size: 0.83rem;
  line-height: 1.65;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-read-more {
  color: var(--red);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  transition: color 0.3s, letter-spacing 0.3s;
}

.article-read-more:hover { color: var(--yellow); letter-spacing: 0.18em; }

/* ---- ABOUT TEASER ---- */
.about-teaser {
  padding: 6rem 0;
  background: var(--gray-dark);
  overflow: hidden;
}

.about-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-teaser-text p {
  color: var(--gray-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 460px;
  font-size: 0.95rem;
}

.about-visual-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.about-stat {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.about-stat::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out-expo);
}

.about-stat:hover { border-color: rgba(255,255,255,0.18); }
.about-stat:hover::after { transform: scaleX(1); }

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--yellow);
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--gray-mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- FOOTER ---- */
.footer {
  background: #070707;
  padding: 4.5rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: inline-block;
  text-decoration: none;
  line-height: 1;
}

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.footer-brand p {
  color: var(--gray-mid);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.3rem;
}

.footer-nav a {
  color: var(--gray-mid);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.3s;
}

.footer-nav a:hover { color: var(--white); }

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-content: flex-start;
  padding-top: 0.3rem;
}

.social-link {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-mid);
  text-decoration: none;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--red);
  color: var(--red);
  background: rgba(42,172,184,0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  text-align: center;
  color: var(--gray-mid);
  font-size: 0.78rem;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(42,172,184,0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(0,230,118,0.08) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
}

.page-hero-title .accent { color: var(--red); }

.page-hero-subtitle {
  color: var(--gray-mid);
  font-size: 1rem;
  margin-top: 1.2rem;
  max-width: 560px;
}

/* ---- ARTICLES PAGE ---- */
.articles-page {
  padding: 5rem 0;
}

.filter-bar {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray-mid);
  padding: 0.45rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.articles-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ---- ABOUT PAGE ---- */
.about-mission {
  padding: 6rem 0;
}

.about-mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-mission-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.about-mission-text p {
  color: var(--gray-mid);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.about-team-photo {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

.team-photo-img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,0.08);
}

.team-photo-fallback {
  display: none;
  width: 100%;
  flex: 1;
  min-height: 340px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.15);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray-mid);
}

.team-photo-fallback span { font-size: 3rem; opacity: 0.25; }
.team-photo-fallback p { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.team-photo-fallback small { font-size: 0.7rem; opacity: 0.45; font-family: monospace; }

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.values-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.values-list li:first-child { border-top: 1px solid rgba(255,255,255,0.07); }

.value-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--red);
  line-height: 1;
  min-width: 2.5rem;
}

.value-text h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.value-text p {
  color: var(--gray-mid);
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0;
}

/* Team */
.team-section {
  padding: 6rem 0;
  background: var(--gray-dark);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.team-card {
  position: relative;
  overflow: hidden;
  background: var(--black-mid);
  transition: transform 0.4s var(--ease-out-expo);
}

.team-card:hover { transform: translateY(-6px); }

.team-avatar {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-avatar-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.team-avatar-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  z-index: 1;
}

.team-avatar-initials {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(6,6,18,0.82) 0%, rgba(6,6,18,0.45) 55%, transparent 100%);
  z-index: 2;
}

.team-info {
  padding: 1.2rem;
}

.team-role {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.team-bio {
  color: var(--gray-mid);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* ---- CONTACT PAGE ---- */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.contact-item:first-of-type { border-top: 1px solid rgba(255,255,255,0.07); }

.contact-item-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
}

.contact-item-value {
  font-size: 1rem;
  color: var(--white);
}

.contact-item-value a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item-value a:hover { color: var(--red); }

.contact-social-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
}

/* Contact cards */
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-card {
  background: var(--gray-dark);
  border: 1px solid rgba(255,255,255,0.07);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: border-color 0.3s, background 0.3s;
  text-decoration: none;
}

.contact-card:hover {
  border-color: var(--red);
  background: rgba(255,32,32,0.04);
}

.contact-card-icon {
  width: 36px;
  height: 36px;
  color: var(--red);
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
}

.contact-card-desc {
  font-size: 0.82rem;
  color: var(--gray-mid);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.contact-card-email {
  font-size: 0.88rem;
  color: var(--white);
  font-weight: 600;
  margin: 0;
  word-break: break-all;
}

.contact-intro h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.03em;
  margin-bottom: 1rem;
}

.contact-intro p {
  font-size: 0.92rem;
  color: var(--gray-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* ---- ANIMATIONS ---- */
@keyframes revealUp {
  from { transform: translateY(80px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  from { transform: translateY(28px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInDown {
  from { transform: translateY(-24px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr; }
  .articles-full-grid { grid-template-columns: repeat(2, 1fr); }
  .about-teaser-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual-card { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-mission-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .nav-links-desktop { display: none; }
}

@media (max-width: 600px) {
  .nav { padding: 1.2rem 1.5rem; }
  .container { padding: 0 1.5rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .player-container { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .player-controls { width: 100%; justify-content: space-between; }
  .about-visual-card { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .articles-full-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .contact-cards-grid { grid-template-columns: 1fr; }
  .page-hero { min-height: 40vh; }
}

/* =============================================
   PHASE 2 — ENHANCEMENTS
   ============================================= */

/* ---- MENU HOVER ---- */

/* ---- LOGO BIGGER ---- */
.nav-logo-img { height: 30px; }

/* ---- PLAYER — STICKY ON SCROLL ---- */
.player-section {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  z-index: 900;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
  overflow: visible;
}

.player-section.player-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
}

/* Gdy player jest przeniesiony do <body> przez SPA (podstrony) — zawsze przyklejony do dołu */
body > .player-section {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 900;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
}

.player-section .player-container {
  padding: 0.85rem 2.5rem;
  flex-wrap: nowrap;
}

@media (max-width: 600px) {
  .player-section .player-container {
    flex-direction: row !important;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: nowrap;
    padding: 0.7rem 1rem;
  }
  .player-section .player-info { min-width: 0; flex: 1; }
  .player-section .player-controls { width: auto; flex-shrink: 0; }
  .player-waveform,
  .player-volume    { display: none; }
  .player-program   { display: none; }
  .player-track-title { font-size: 1rem; }
}

/* ---- EDITORIAL ARTICLES (homepage) ---- */
.articles-editorial {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 360px;
}

.article-featured {
  padding: 3rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.article-featured::before {
  content: '01';
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
}

.article-featured-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-featured-top .article-date {
  margin: 0;
}

.article-featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  flex: 1;
}

.article-featured-excerpt {
  color: var(--gray-mid);
  font-size: 0.9rem;
  line-height: 1.75;
  flex: 1;
}

/* Sidebar article list */
.articles-sidebar {
  display: flex;
  flex-direction: column;
}

.article-side-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.6rem 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  color: var(--white);
  transition: background 0.25s;
  position: relative;
}

.article-side-item:last-child { border-bottom: none; }

.article-side-item:hover { background: rgba(255,255,255,0.03); }

.article-side-item:hover .article-side-arrow {
  transform: translateX(4px);
  color: var(--red);
}

.article-side-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: rgba(255,255,255,0.07);
  line-height: 1;
  min-width: 2rem;
  flex-shrink: 0;
}

.article-side-body {
  flex: 1;
}

.article-side-cat {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.article-side-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}

.article-side-body time {
  font-size: 0.7rem;
  color: var(--gray-mid);
}

.article-side-arrow {
  color: var(--gray-mid);
  font-size: 0.9rem;
  transition: transform 0.3s, color 0.3s;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .articles-editorial { grid-template-columns: 1fr; }
  .article-featured { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ---- ARTICLE CARD GRID (artykuly.html) ---- */
.articles-grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.article-card-v2 {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
  cursor: none;
}

.article-card-v2:hover {
  border-color: rgba(255,255,255,0.16);
  transform: translateY(-4px);
}

.acv2-visual {
  position: relative;
  height: 175px;
  overflow: hidden;
}

.acv2-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.article-card-v2:hover .acv2-bg { transform: scale(1.06); }

.acv2-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  padding: 0.28em 0.7em;
  text-transform: uppercase;
}

.acv2-body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.acv2-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.2;
  color: var(--off-white);
  transition: color 0.2s;
}

.article-card-v2:hover .acv2-title { color: var(--red); }

.acv2-excerpt {
  font-size: 0.8rem;
  color: var(--gray-mid);
  line-height: 1.65;
  flex: 1;
}

.acv2-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--gray-mid);
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.acv2-arrow {
  color: var(--red);
  font-weight: 700;
  transition: transform 0.2s;
}

.article-card-v2:hover .acv2-arrow { transform: translateX(5px); }

/* Load more */
.articles-load-more {
  text-align: center;
  padding: 3rem 0 1rem;
}

.load-more-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--off-white);
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  padding: 0.9rem 2.8rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.load-more-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

@media (max-width: 900px) {
  .articles-grid-view { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .articles-grid-view { grid-template-columns: 1fr; }
}

/* ---- RAMÓWKA (SCHEDULE) ---- */
.schedule-section {
  padding: 6rem 0;
  background: var(--gray-dark);
}

.schedule-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: 0;
}

.schedule-tabs::-webkit-scrollbar { display: none; }

.schedule-tab {
  background: none;
  border: none;
  color: var(--gray-mid);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  padding: 0.85rem 1.5rem;
  transition: color 0.3s;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
}

.schedule-tab::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.schedule-tab:hover { color: var(--white); }
.schedule-tab.active { color: var(--white); }
.schedule-tab.active::after { transform: scaleX(1); }

.schedule-panels { }

.schedule-panel { display: none; }
.schedule-panel.active { display: block; }

.schedule-slot {
  display: grid;
  grid-template-columns: 5.5rem 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.5rem 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s, padding-left 0.2s;
}

.schedule-slot:hover {
  background: rgba(255,255,255,0.02);
  padding-left: 0.6rem;
  margin-left: -0.6rem;
  margin-right: -0.6rem;
  padding-right: 2.1rem;
}

.schedule-slot--now {
  background: rgba(42,172,184,0.06);
  border-left: 2px solid var(--red);
  padding-left: 1rem;
}

.slot-time {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--gray-mid);
  line-height: 1;
}

.schedule-slot--now .slot-time { color: var(--red); }

.slot-info h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.slot-info p {
  font-size: 0.75rem;
  color: var(--gray-mid);
  line-height: 1.4;
}

.slot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}

.slot-host {
  font-size: 0.75rem;
  color: var(--gray-mid);
  font-weight: 500;
  text-align: right;
}

.slot-now-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(42,172,184,0.15);
  color: var(--red);
  padding: 0.15rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  border-radius: 2px;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .schedule-slot { grid-template-columns: 4rem 1fr auto; gap: 0.8rem; }
  .slot-info p { display: none; }
}

/* ---- SINGLE ARTICLE PAGE ---- */
.single-article-hero {
  padding: 8rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.single-back {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--gray-mid);
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}

.single-back:hover { color: var(--white); }

.single-meta-top {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.single-cat {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 700;
  border: 1px solid var(--red);
  padding: 0.25rem 0.7rem;
}

.single-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin-bottom: 1rem;
}

.single-subtitle {
  font-size: 1.1rem;
  color: var(--gray-mid);
  margin-bottom: 2rem;
}

.single-byline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--gray-mid);
}

.single-author { color: var(--white); font-weight: 600; }
.single-sep { color: var(--red); }

.single-visual {
  height: 420px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #0d2137 50%, #0f1e2e 100%);
}

.single-visual-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-body {
  padding: 5rem 0 6rem;
}

.single-content {
  max-width: 720px;
  margin: 0 auto;
}

.single-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--white);
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.single-content h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  letter-spacing: 0.04em;
  margin: 2.5rem 0 1rem;
  color: var(--white);
}

.single-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(240,240,240,0.75);
  margin-bottom: 1.2rem;
}

.single-content blockquote {
  border-left: 3px solid var(--red);
  margin: 2.5rem 0;
  padding: 1rem 0 1rem 2rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--white);
  font-style: italic;
}

.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.single-tag {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--gray-mid);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.3rem 0.8rem;
  text-transform: uppercase;
}

.single-content ul,
.single-content ol {
  margin: 1rem 0 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.single-content li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(240,240,240,0.75);
}

.single-content strong { color: var(--white); font-weight: 600; }
.single-content em { color: rgba(240,240,240,0.9); font-style: italic; }

.single-link {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid rgba(42,172,184,0.3);
  transition: border-color 0.2s;
}
.single-link:hover { border-color: var(--red); }

.single-img-block {
  margin: 2.5rem 0;
}

.single-img-placeholder {
  width: 100%;
  height: 280px;
  background: linear-gradient(135deg, #0a1628 0%, #0d2137 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.single-img-placeholder p {
  font-size: 0.8rem !important;
  color: var(--gray-mid) !important;
  letter-spacing: 0.06em;
  margin: 0 !important;
}

.single-img-caption {
  font-size: 0.75rem !important;
  color: var(--gray-mid) !important;
  margin-top: 0.5rem !important;
  font-style: italic;
}

.single-sources {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
}

.single-sources-label {
  font-size: 0.65rem !important;
  letter-spacing: 0.18em;
  color: var(--red) !important;
  font-weight: 700;
  margin-bottom: 0.75rem !important;
}

.single-sources ul {
  margin: 0 0 0 1rem !important;
  gap: 0.35rem !important;
}

.single-sources li {
  font-size: 0.82rem !important;
  color: var(--gray-mid) !important;
}

.single-sources cite { font-style: italic; }

/* AUTHOR SECTION */
.single-author-section {
  padding: 4rem 0 5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.single-author-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0 4rem;
}

.single-author-inner > * {
  grid-column: 1;
}

.single-author-inner .section-label {
  margin-bottom: 1.5rem;
}

.single-author-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.single-author-avatar {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.single-author-avatar .team-avatar-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.single-author-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.single-author-bio {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(240,240,240,0.7);
  padding-top: 0.25rem;
}

@media (max-width: 900px) {
  .single-author-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .single-author-row { grid-template-columns: 1fr; }
  .single-author-avatar { aspect-ratio: 16/9; }
}

/* ---- ARTICLE LAYOUT WITH SIDEBAR ---- */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.single-layout .single-content {
  max-width: none;
  margin: 0;
}

.single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.sidebar-panel {
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--red);
  background: rgba(255,255,255,0.02);
  padding: 1.4rem;
}

.sidebar-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--red);
  margin: 0 0 1.1rem;
}

/* Share buttons */
.sidebar-share {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(240,240,240,0.6);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 2px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.share-btn:hover { background: rgba(255,255,255,0.09); color: var(--white); }
.share-fb:hover { color: #1877f2; }
.share-x:hover { color: var(--white); }
.share-li:hover { color: #0a66c2; }

/* Sidebar featured article */
.sidebar-featured {
  display: block;
  text-decoration: none;
  color: inherit;
}

.sidebar-featured-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0d1a2e, #1a0d2e);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.sidebar-featured-body { display: flex; flex-direction: column; gap: 0.4rem; }

.sidebar-featured-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--white);
  margin: 0;
  transition: color 0.2s;
}
.sidebar-featured:hover .sidebar-featured-title { color: var(--red); }

.sidebar-cat {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--red);
}

.sidebar-meta {
  font-size: 0.72rem;
  color: rgba(240,240,240,0.4);
}

/* Sidebar related articles */
.sidebar-related {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sidebar-related-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  align-items: start;
}

.sidebar-related-img {
  width: 72px;
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, #0d1a2e, #1a0d2e);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sidebar-related-body { display: flex; flex-direction: column; gap: 0.25rem; }

.sidebar-related-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(240,240,240,0.85);
  margin: 0;
  transition: color 0.2s;
}
.sidebar-related-item:hover .sidebar-related-title { color: var(--white); }

@media (max-width: 900px) {
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
}

/* ---- FEATURED ARTICLE WITH GRAPHIC (artykuly.html) ---- */
.article-featured-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: 400px;
  overflow: hidden;
  margin-bottom: 4rem;
  text-decoration: none;
  color: var(--white);
  transition: border-color 0.3s;
}

.article-featured-row:hover { border-color: rgba(255,255,255,0.16); }

.afr-visual {
  position: relative;
  overflow: hidden;
}

.afr-visual > div {
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.article-featured-row:hover .afr-visual > div { transform: scale(1.05); }

.afr-cat-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: var(--red);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 0.3rem 0.65rem;
  text-transform: uppercase;
}

.afr-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border-left: 1px solid rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.afr-num {
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 1;
  color: rgba(255,255,255,0.04);
  position: absolute;
  bottom: 1rem;
  right: 1.5rem;
  pointer-events: none;
}

.afr-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  transition: color 0.25s;
}

.article-featured-row:hover .afr-title { color: var(--red); }

.afr-excerpt {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.75;
  flex: 1;
}

.afr-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: auto;
}

.afr-meta time {
  font-size: 0.75rem;
  color: var(--gray-mid);
}

.afr-read {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gray-mid);
  transition: color 0.25s;
}

.article-featured-row:hover .afr-read { color: var(--red); }

@media (max-width: 768px) {
  .article-featured-row { grid-template-columns: 1fr; }
  .afr-visual { min-height: 220px; }
  .afr-body { border-left: none; border-top: 1px solid rgba(255,255,255,0.08); padding: 2rem; }
}

/* ---- CHAT BUTTON ---- */
.chat-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--gray-mid);
  width: 40px;
  height: 40px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  cursor: none;
}

.chat-btn:hover,
.chat-btn.active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(42,172,184,0.1);
}

/* ---- CHAT PANEL ---- */
.chat-panel {
  position: absolute;
  bottom: 100%;
  right: 2.5rem;
  width: 320px;
  background: var(--gray-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  box-shadow: 0 -12px 40px rgba(0,0,0,0.55);
  display: flex;
  flex-direction: column;
  max-height: 380px;
  transform: translateY(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out-expo), transform 0.3s var(--ease-out-expo);
  z-index: 901;
}

.chat-panel.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chat-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.chat-panel-who {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--white);
}

.chat-close {
  background: none;
  border: none;
  color: var(--gray-mid);
  font-size: 1.2rem;
  line-height: 1;
  cursor: none;
  padding: 0.2rem 0.3rem;
  transition: color 0.2s;
}

.chat-close:hover { color: var(--white); }

.chat-close-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.chat-triple-hint {
  display: none;
  font-size: 0.6rem;
  color: var(--gray-mid);
  opacity: 0.55;
  letter-spacing: 0.02em;
  pointer-events: none;
  user-select: none;
}

@media (hover: none), (pointer: coarse) {
  .chat-triple-hint { display: block; }
}


.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}

.chat-msg {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 82%;
}

.chat-msg--host     { align-self: flex-start; }
.chat-msg--user     { align-self: flex-end; text-align: right; }
.chat-msg--listener { align-self: flex-start; }
.chat-msg--listener .chat-msg-author { color: var(--gray-mid); }

.chat-msg-author {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
}

.chat-msg--user .chat-msg-author { color: var(--gray-mid); }

.chat-msg p {
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 0.5rem 0.75rem;
  background: rgba(255,255,255,0.05);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.chat-msg--host p {
  background: rgba(42,172,184,0.1);
  border-left: 2px solid var(--red);
}

.chat-msg--user p { background: rgba(255,255,255,0.08); }

.chat-msg p { position: relative; }

/* Badge — górny róg przeciwny do krawędzi */
.chat-msg-badge {
  position: absolute;
  top: -0.55rem;
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0.8;
  pointer-events: none;
  user-select: none;
}
/* user — bąbel po prawej, badge po lewej górze */
.chat-msg--user .chat-msg-badge   { left:  -0.35rem; }
/* host/listener — bąbel po lewej, badge po prawej górze */
.chat-msg--host .chat-msg-badge,
.chat-msg--listener .chat-msg-badge { right: -0.35rem; }

@keyframes badge-pop {
  0%   { transform: scale(0) rotate(-20deg); opacity: 0; }
  55%  { transform: scale(1.6) rotate(8deg);  opacity: 1; }
  75%  { transform: scale(0.85) rotate(-4deg); }
  90%  { transform: scale(1.15) rotate(2deg); }
  100% { transform: scale(1) rotate(0deg);    opacity: 0.8; }
}

.chat-msg-badge--pop {
  animation: badge-pop 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Delikatny gradient na wiadomościach ze specjalnym motywem */
.chat-msg--special p {
  background-image: linear-gradient(to bottom, rgba(255,255,255,0.06) 0%, transparent 100%);
}

.chat-input-row {
  display: flex;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.chat-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.7rem 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--white);
  outline: none;
}

.chat-input::placeholder { color: var(--gray-mid); }

.chat-send {
  background: var(--red);
  border: none;
  color: var(--white);
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: none;
  transition: background 0.2s;
}

.chat-send:hover { background: var(--yellow); color: var(--black); }

@media (max-width: 600px) {
  /* Przycisk czatu widoczny na mobile */
  .chat-btn { display: flex; }

  /* Panel fullscreen na mobile */
  .chat-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 100dvh;
    border: none;
    border-radius: 0;
    transform: translateY(100%);
    opacity: 1;
    z-index: 2000;
  }
  .chat-panel.open {
    transform: translateY(0);
  }
  /* Płynny powrót po niedokończonym swipe */
  .chat-panel.open:not(.swiping) {
    transition: transform 0.35s var(--ease-out-expo);
  }
  /* Przesuń header pod nav */
  .chat-panel .chat-panel-header {
    padding-top: calc(env(safe-area-inset-top, 0px) + 75px);
  }
  /* Input zawsze nad klawiaturą */
  .chat-input-row {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
}

/* ---- TEAM DEPARTMENTS ---- */
.team-department {
  margin-bottom: 4rem;
}

.dept-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ---- KOLEGIUM REDAKTORSKIE ---- */
.team-board {
  margin-bottom: 5rem;
  padding: 2.5rem;
  background: var(--gray-dark);
  border: 1px solid rgba(255,255,255,0.08);
}

.team-board-header {
  margin-bottom: 2rem;
}

.team-board-header h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  margin-top: 0.4rem;
}

.team-board-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.board-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--red);
  background: rgba(255,255,255,0.03);
}

.board-role {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.4;
}

.board-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.board-contact {
  font-size: 0.78rem;
  color: var(--gray-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.board-contact:hover { color: var(--white); }

/* ---- DEPT TABS (team section) ---- */
.dept-tabs-wrapper { margin-top: 0; }

.dept-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow-x: auto;
  scrollbar-width: none;
  margin-bottom: 2rem;
}

.dept-tabs::-webkit-scrollbar { display: none; }

.dept-tab {
  background: none;
  border: none;
  color: var(--gray-mid);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  padding: 0.85rem 1.5rem;
  transition: color 0.3s;
  white-space: nowrap;
  position: relative;
  flex-shrink: 0;
  cursor: none;
}

.dept-tab::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out-expo);
}

.dept-tab:hover { color: var(--white); }
.dept-tab.active { color: var(--white); }
.dept-tab.active::after { transform: scaleX(1); }

.dept-panel { display: none; }
.dept-panel.active { display: block; }

.dept-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  margin-top: 0 !important;
}

@media (max-width: 700px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .dept-tab { font-size: 0.88rem; padding: 0.7rem 1rem; }
}

/* =============================================
   MOBILE FIXES
   ============================================= */

/* 1. Ukryj kursor niestandardowy na urządzeniach dotykowych */
@media (hover: none), (pointer: coarse) {
  html { cursor: auto; }
  a, button, input, textarea, select { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* 2. Menu social — zawijaj na małych ekranach */
@media (max-width: 600px) {
  .menu-overlay-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .menu-social {
    flex-wrap: wrap;
    gap: 0.9rem 1.5rem;
  }
}
