/* =============================================
   nev-event.css
   PrimeHouse - Single Event Page Template
   10 sekcji z designu Magdy + shared components
   ============================================= */

/* ---- Design Tokens ---- */
.nev-page {
  --nev-font: 'General Sans', sans-serif;
  --nev-font-serif: 'Newsreader', Georgia, serif;
  --nev-ink: #1c1b1f;
  --nev-ink-60: rgba(28, 27, 31, .6);
  --nev-ink-45: rgba(28, 27, 31, .45);
  --nev-cream: #f6ede3;
  --nev-beige: #eddbc7;
  --nev-beige-dark: #e2cdb8;
  --nev-bg: #f2f2f2;
  --nev-black: #111;
  --nev-white: #fff;
  --nev-radius: 12px;
  --nev-radius-lg: 16px;
  --nev-pill: 999px;
  --nev-section-py: 72px;
  --nev-split-px: 56px;
  --nev-container: 1140px;

  font-family: var(--nev-font);
  color: var(--nev-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


/* =============================================
   SHARED COMPONENTS
   ============================================= */

/* -- Container -- */
.nev-container {
  max-width: var(--nev-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* -- Eyebrow label -- */
.nev-eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nev-ink-45);
}

/* -- Section heading -- */
.nev-section-heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.15;
  color: var(--nev-ink);
  margin: 0;
}

/* -- CTA Buttons -- */
.nev-cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--nev-black);
  color: var(--nev-white);
  font-family: var(--nev-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--nev-pill);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.nev-cta-btn:hover {
  opacity: 0.8;
  color: var(--nev-white);
  text-decoration: none;
}

.nev-cta-btn--white {
  background: var(--nev-white);
  color: var(--nev-black);
}

.nev-cta-btn--white:hover {
  opacity: 0.8;
  color: var(--nev-black);
  text-decoration: none;
}

.nev-cta-btn--outline {
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, .15);
  color: var(--nev-black);
}

.nev-cta-btn--outline:hover {
  border-color: var(--nev-black);
  color: var(--nev-black);
  opacity: 1;
}


/* =============================================
   S1: HERO
   ============================================= */
.nev-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}

/* -- Left panel -- */
.nev-hero__left {
  background: var(--nev-cream);
  padding: 48px var(--nev-split-px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nev-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--nev-ink-45);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s;
}

.nev-hero__back:hover {
  color: var(--nev-black);
  text-decoration: none;
}

.nev-hero__type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nev-ink-45);
  margin-bottom: 10px;
}

.nev-hero__title {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  color: var(--nev-black);
  margin: 0 0 16px;
}

.nev-hero__host-name {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 300;
  color: var(--nev-black);
  opacity: 0.6;
  margin: 0 0 24px;
}

.nev-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--nev-black);
  margin-bottom: 20px;
}

.nev-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nev-hero__meta-item svg {
  opacity: 0.35;
}

.nev-hero__desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--nev-ink-60);
  margin-bottom: 28px;
  max-width: 440px;
}

.nev-hero__cta {
  display: inline-block;
  padding: 12px 28px;
  background: var(--nev-black);
  color: var(--nev-white);
  font-family: var(--nev-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--nev-pill);
  transition: opacity 0.2s;
}

.nev-hero__cta:hover {
  opacity: 0.8;
  color: var(--nev-white);
  text-decoration: none;
}

/* Hero footer - host + logo */
.nev-hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 28px;
}

.nev-hero__host-card {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nev-hero__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.nev-hero__host-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(28, 27, 31, .35);
}

.nev-hero__host-info-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--nev-black);
}

.nev-hero__logo {
  height: 22px;
  opacity: 0.25;
}

/* -- Right panel -- */
.nev-hero__right {
  position: relative;
  overflow: hidden;
  background: var(--nev-beige);
}

.nev-hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nev-hero__badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--nev-black);
  color: var(--nev-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 4px;
}


/* =============================================
   S1b: NAV TABS (below hero)
   ============================================= */
.nev-hero-tabs {
  background: var(--nev-cream);
}

.nev-hero-tabs__inner {
  max-width: var(--nev-container);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
}

.nev-hero-tabs__item {
  display: flex;
  flex-direction: column;
  padding: 20px 24px;
  border-right: 1px solid rgba(0, 0, 0, .06);
  flex: 1;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}

.nev-hero-tabs__item:last-child {
  border-right: none;
}

.nev-hero-tabs__item:hover {
  background: rgba(0, 0, 0, .03);
  text-decoration: none;
  color: inherit;
}

.nev-hero-tabs__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nev-ink);
}

.nev-hero-tabs__desc {
  font-size: 11px;
  font-weight: 400;
  color: var(--nev-ink-45);
  margin-top: 4px;
}


/* =============================================
   S2: BENEFITS
   ============================================= */
.nev-benefits {
  padding: var(--nev-section-py) 20px;
  max-width: 900px;
  margin: 0 auto;
}

.nev-benefits__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  text-align: center;
  margin: 0 0 16px;
}

.nev-benefits__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--nev-ink-60);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 32px;
}

.nev-benefits__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 700px;
}

.nev-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  line-height: 1.5;
}

.nev-benefits__item::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--nev-beige);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.nev-benefits__cta {
  text-align: center;
  margin-top: 32px;
}


/* =============================================
   S3: PLATFORM
   ============================================= */
.nev-platform {
  padding: var(--nev-section-py) 20px;
  background: var(--nev-cream);
  text-align: center;
}

.nev-platform__eyebrow {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nev-ink-45);
  margin-bottom: 12px;
}

.nev-platform__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  max-width: 700px;
  margin: 0 auto 16px;
}

.nev-platform__subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--nev-ink-60);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Tab navigation */
.nev-platform__tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 32px 0;
}

.nev-platform__tab {
  padding: 12px 24px;
  font-family: var(--nev-font);
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  cursor: pointer;
  color: var(--nev-ink-45);
  transition: color 0.2s, border-color 0.2s;
}

.nev-platform__tab:hover {
  color: var(--nev-ink);
}

.nev-platform__tab.is-active {
  border-bottom-color: var(--nev-black);
  color: var(--nev-black);
}

/* Tab content */
.nev-platform__panel {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nev-platform__panel[hidden] {
  display: none;
}

.nev-platform__footer {
  font-family: var(--nev-font-serif);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: var(--nev-ink-60);
  max-width: 700px;
  margin: 40px auto 24px;
}

.nev-platform__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--nev-ink-60);
  max-width: 600px;
  margin: 0 auto 28px;
}


/* =============================================
   S4: LIBRARY
   ============================================= */
.nev-library {
  padding: var(--nev-section-py) 20px;
  max-width: var(--nev-container);
  margin: 0 auto;
}

.nev-library__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 32px;
}

.nev-library__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.nev-library__card {
  border-radius: var(--nev-radius);
  overflow: hidden;
  background: var(--nev-bg);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.nev-library__card:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.nev-library__card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.nev-library__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nev-library__card-body {
  padding: 16px;
}

.nev-library__card-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nev-ink-45);
  margin-bottom: 6px;
}

.nev-library__card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.nev-library__card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--nev-ink-60);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* =============================================
   S5: EVENT TYPES
   ============================================= */
.nev-etypes {
  padding: var(--nev-section-py) 20px;
  max-width: var(--nev-container);
  margin: 0 auto;
}

.nev-etypes__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 32px;
}

.nev-etypes__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

/* Hide scrollbar but keep functionality */
.nev-etypes__grid::-webkit-scrollbar {
  height: 4px;
}

.nev-etypes__grid::-webkit-scrollbar-track {
  background: transparent;
}

.nev-etypes__grid::-webkit-scrollbar-thumb {
  background: var(--nev-beige-dark);
  border-radius: 4px;
}

.nev-etypes__card {
  min-width: 280px;
  border-radius: var(--nev-radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--nev-white);
}

.nev-etypes__card-img {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.nev-etypes__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nev-etypes__card-date {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--nev-beige);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--nev-ink);
}

.nev-etypes__card-body {
  padding: 20px;
}

.nev-etypes__card-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--nev-ink-45);
  margin-bottom: 6px;
}

.nev-etypes__card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.nev-etypes__card-desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--nev-ink-60);
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nev-etypes__card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.nev-etypes__card-host {
  font-size: 12px;
  font-weight: 500;
  color: var(--nev-ink-60);
}

.nev-etypes__card-logo {
  height: 18px;
  opacity: 0.25;
}


/* =============================================
   S6: CTA DARK
   ============================================= */
.nev-cta-dark {
  padding: 80px 20px;
  background: var(--nev-black);
  color: var(--nev-white);
  text-align: center;
}

.nev-cta-dark__heading {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 20px;
}

.nev-cta-dark__text {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.6;
  max-width: 550px;
  margin: 0 auto 24px;
}

.nev-cta-dark__quote {
  font-family: var(--nev-font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  opacity: 0.5;
  max-width: 500px;
  margin: 24px auto 32px;
}

.nev-cta-dark__btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--nev-white);
  color: var(--nev-black);
  font-family: var(--nev-font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--nev-pill);
  transition: opacity 0.2s;
}

.nev-cta-dark__btn:hover {
  opacity: 0.8;
  color: var(--nev-black);
  text-decoration: none;
}


/* =============================================
   S7: SPEAKER
   ============================================= */
.nev-speaker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.nev-speaker__left {
  padding: var(--nev-split-px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--nev-bg);
}

.nev-speaker__type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.4;
  margin-bottom: 10px;
}

.nev-speaker__name {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin: 0 0 20px;
}

.nev-speaker__bio {
  font-size: 14px;
  line-height: 1.7;
  color: var(--nev-ink-60);
  margin-bottom: 24px;
}

.nev-speaker__social {
  display: flex;
  gap: 12px;
}

.nev-speaker__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nev-black);
  color: var(--nev-white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nev-speaker__social a:hover {
  opacity: 0.7;
}

.nev-speaker__social a svg {
  width: 16px;
  height: 16px;
}

/* -- Right panel -- */
.nev-speaker__right {
  position: relative;
  overflow: hidden;
  background: var(--nev-beige);
}

.nev-speaker__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nev-speaker__badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--nev-black);
  color: var(--nev-white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 4px;
}


/* =============================================
   S8: COMMUNITY VALUE
   ============================================= */
.nev-comval {
  padding: var(--nev-section-py) 20px;
  text-align: center;
  background: var(--nev-cream);
}

.nev-comval__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  max-width: 600px;
  margin: 0 auto 20px;
}

.nev-comval__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--nev-ink-60);
  max-width: 550px;
  margin: 0 auto 28px;
}


/* =============================================
   S9: CALENDAR
   ============================================= */
.nev-calendar {
  padding: var(--nev-section-py) 20px;
  max-width: var(--nev-container);
  margin: 0 auto;
}

.nev-calendar__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 32px;
  text-align: center;
}

.nev-calendar__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.nev-calendar__grid::-webkit-scrollbar {
  height: 4px;
}

.nev-calendar__grid::-webkit-scrollbar-track {
  background: transparent;
}

.nev-calendar__grid::-webkit-scrollbar-thumb {
  background: var(--nev-beige-dark);
  border-radius: 4px;
}

.nev-calendar__card {
  border-radius: var(--nev-radius-lg);
  padding: 28px;
  min-width: 280px;
  flex-shrink: 0;
  background: var(--nev-cream);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}

.nev-calendar__card:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

.nev-calendar__day {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.nev-calendar__month {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.6;
  margin-left: 6px;
}

.nev-calendar__card-type {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.5;
  margin: 14px 0 6px;
}

.nev-calendar__card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}

.nev-calendar__card-meta {
  font-size: 12px;
  opacity: 0.5;
}


/* =============================================
   S10: COMMUNITY GRID
   ============================================= */
.nev-comgrid {
  padding: var(--nev-section-py) 20px;
  max-width: var(--nev-container);
  margin: 0 auto;
}

.nev-comgrid__heading {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -1px;
  margin: 0 0 12px;
  text-align: center;
}

.nev-comgrid__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--nev-ink-60);
  max-width: 550px;
  margin: 0 auto 32px;
  text-align: center;
}

.nev-comgrid__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
}

.nev-comgrid__photo {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
  display: block;
}

.nev-comgrid__cta {
  text-align: center;
  margin-top: 32px;
}

.nev-comgrid__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.nev-comgrid__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--nev-black);
  color: var(--nev-white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nev-comgrid__social a:hover {
  opacity: 0.7;
}

.nev-comgrid__social a svg {
  width: 16px;
  height: 16px;
}


/* =============================================
   EDITOR CONTENT (post content block)
   ============================================= */
.nev-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px;
}

.nev-content__body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--nev-ink);
}

.nev-content__body h2,
.nev-content__body h3,
.nev-content__body h4 {
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-top: 2em;
  margin-bottom: 0.5em;
}

.nev-content__body p {
  margin-bottom: 1.2em;
}

.nev-content__body a {
  color: var(--nev-black);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nev-content__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--nev-radius);
}


/* =============================================
   RESPONSIVE - 1024px
   ============================================= */
@media (max-width: 1024px) {

  /* Hero + Speaker: single column */
  .nev-hero,
  .nev-speaker {
    grid-template-columns: 1fr;
  }

  .nev-hero__right {
    order: -1;
    min-height: 350px;
  }

  .nev-speaker__right {
    order: -1;
    min-height: 350px;
  }

  .nev-hero__left,
  .nev-speaker__left {
    padding: 32px 24px;
  }

  /* Library: 2 columns */
  .nev-library__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Nav tabs: allow wrapping */
  .nev-hero-tabs__inner {
    flex-wrap: wrap;
  }

  /* Horizontal scroll sections: show scroll hint */
  .nev-etypes__grid,
  .nev-calendar__grid {
    scroll-snap-type: x mandatory;
  }

  .nev-etypes__card,
  .nev-calendar__card {
    scroll-snap-align: start;
  }
}


/* =============================================
   RESPONSIVE - 768px
   ============================================= */
@media (max-width: 768px) {

  .nev-page {
    --nev-section-py: 48px;
  }

  /* Benefits: single column */
  .nev-benefits__list {
    grid-template-columns: 1fr;
  }

  /* Nav tabs: 3-col wrap */
  .nev-hero-tabs__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .nev-hero-tabs__item {
    border-right: 1px solid rgba(0, 0, 0, .06);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
  }

  .nev-hero-tabs__item:nth-child(3n) {
    border-right: none;
  }

  /* CTA dark: less padding */
  .nev-cta-dark {
    padding: 56px 20px;
  }

  /* Speaker name: smaller */
  .nev-speaker__name {
    font-size: clamp(28px, 5vw, 42px);
  }

  /* Community grid: larger min */
  .nev-comgrid__grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  }
}


/* =============================================
   RESPONSIVE - 480px
   ============================================= */
@media (max-width: 480px) {

  .nev-page {
    --nev-section-py: 40px;
  }

  /* Hero: compact padding */
  .nev-hero__left {
    padding: 24px 16px;
  }

  .nev-hero__right {
    min-height: 280px;
  }

  /* Meta: stack vertically */
  .nev-hero__meta {
    flex-direction: column;
    gap: 8px;
  }

  /* Speaker: compact */
  .nev-speaker__left {
    padding: 24px 16px;
  }

  .nev-speaker__right {
    min-height: 280px;
  }

  /* Library: single column */
  .nev-library__grid {
    grid-template-columns: 1fr;
  }

  /* Nav tabs: 2-col on smallest */
  .nev-hero-tabs__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .nev-hero-tabs__item:nth-child(3n) {
    border-right: 1px solid rgba(0, 0, 0, .06);
  }

  .nev-hero-tabs__item:nth-child(2n) {
    border-right: none;
  }

  /* Community grid: smaller photos */
  .nev-comgrid__grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 8px;
  }

  /* Event type cards: narrower */
  .nev-etypes__card {
    min-width: 240px;
  }

  /* Calendar cards: narrower */
  .nev-calendar__card {
    min-width: 240px;
    padding: 20px;
  }

  /* CTA dark: compact */
  .nev-cta-dark {
    padding: 40px 16px;
  }

  .nev-cta-dark__quote {
    font-size: 16px;
  }

  /* Platform tabs: scroll */
  .nev-platform__tabs {
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }

  .nev-platform__tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* =============================================
   HOMEPAGE COMPONENT REUSE
   Sekcje które reuse'ują klasy z newu.css (homepage)
   ============================================= */

/* S4 Library: match Elementor container width (1140px) */
.nev-library {
  padding: var(--nev-section-py) 20px;
  max-width: 1140px;
  margin: 0 auto;
}

/* S8 Community Value: reuse .newu-about-cta - dodaj margin */
.nev-page .newu-about-cta {
  margin-top: 0;
}

/* Pigułki filtrów pod hero - dopasuj do event page */
.nev-page .newu-filter {
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* CTA btn override na event page - zawsze czarny */
.nev-page .newu-about-cta__btn {
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
