/*
 Theme Name: SwiatUbezpieczen Child
 Theme URI: https://example.com/
 Description: Bazowy motyw potomny GeneratePress pod generator szablonów.
 Author: Slashnet
 Template: generatepress
 Version: 0.2.0
 Text Domain: swiatubezpieczen_net_pl-child
*/

/* ============================================
   ZMIENNE CSS - Będą nadpisywane przez generator
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Source+Sans+3:wght@200;300;400;500;600;700;900&display=swap');

/* Wygenerowane zmienne CSS z konfiguracji */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&family=Source+Sans+3:wght@200;300;400;500;600;700;900&display=swap');

/* Wygenerowane zmienne CSS z konfiguracji */
:root {
  --slash-color-primary: #0673ba;
  --slash-color-accent: #48a32a;
  --slash-color-background: #ffffff;
  --slash-color-header-bg: #ffffff;
  --slash-color-footer-bg: #222222;
  --slash-background: linear-gradient(135deg, rgba(6, 115, 186, 0.05) 0%, rgba(72, 163, 42, 0.05) 100%);

  --slash-font-heading: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --slash-font-heading-weight: 700;
  --slash-font-body: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --slash-font-body-weight: 400;
  --slash-font-size-base: 16px;

  --slash-radius: 8px;
  --slash-radius-sm: 5px;
  --slash-shadow-enabled: 1;
  --slash-card-border: subtle;
  --slash-logo-width: 249px;
  
  /* Dodatkowe zmienne dla pięknych efektów */
  --slash-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --slash-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --slash-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --slash-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --slash-profile: magazine;
}

/* Header background - niezależnie od profilu */
.site-header,
.main-navigation {
  background-color: var(--slash-color-header-bg) !important;
}

.site-header .inside-header,
.main-navigation .inside-navigation {
  background-color: var(--slash-color-header-bg) !important;
}

/* ============================================
   FIX: Nadpisanie problematycznego .grid-container
   ============================================ */
/* Naprawia problem z max-width: 100px który rozwala layout */
.grid-container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.inside-header.grid-container,
.inside-navigation.grid-container {
  max-width: 1200px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

/* ============================================
   HEADER & NAVIGATION OVERRIDES
   ============================================ */
/* Szerokość logo */
.site-logo img,
.site-branding img {
  max-width: var(--slash-logo-width);
  height: auto;
  width: auto;
}

/* Wymuszenie pozycji logo na center */
.header-aligned-center .site-header {
  text-align: center !important;
  background-color: #ffffff !important;
  max-width: 100% !important;
  width: 100% !important;
}

.header-aligned-center .site-header.grid-container {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.header-aligned-center .inside-header {
  text-align: center !important;
  background-color: #ffffff !important;
  max-width: 100% !important;
  width: 100% !important;
}

.header-aligned-center .inside-header.grid-container {
  max-width: 1200px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.header-aligned-center .inside-navigation.grid-container {
  max-width: 1200px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.header-aligned-center .site-branding-container {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  margin: 0 auto !important;
}

.header-aligned-center .site-branding,
.header-aligned-center .site-logo {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  display: block !important;
}

.header-aligned-center .site-logo img {
  margin: 0 auto !important;
  display: block !important;
}

.header-aligned-center .site-title,
.header-aligned-center .site-description {
  text-align: center !important;
}

/* Wymuszenie menu below header */
.nav-below-header .main-navigation {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}

.nav-below-header .main-navigation .inside-navigation {
  text-align: center !important;
}

.nav-below-header .main-navigation .main-nav {
  text-align: center !important;
  display: inline-block !important;
  width: auto !important;
  margin: 0 auto !important;
}

.nav-below-header .main-navigation .main-nav ul {
  justify-content: center !important;
  display: flex !important;
  flex-wrap: wrap !important;
  text-align: center !important;
}

.nav-below-header.nav-aligned-center .main-navigation .main-nav {
  text-align: center !important;
  margin: 0 auto !important;
}

/* ============================================
   PODSTAWOWE STYLE
   ============================================ */
body {
  margin: 0;
  padding: 0;
  background: var(--slash-background, var(--slash-color-background));
  font-family: var(--slash-font-body);
  font-weight: var(--slash-font-body-weight);
  font-size: var(--slash-font-size-base);
  line-height: 1.6;
  color: var(--contrast, #333);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--slash-font-heading);
  font-weight: var(--slash-font-heading-weight);
  line-height: 1.3;
  margin-top: 0;
}

a {
  color: var(--slash-color-primary);
  text-decoration: none;
  transition: var(--slash-transition);
}

a:hover {
  color: var(--slash-color-accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Optymalizacja renderowania obrazków dla lepszej jakości */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Zapobieganie rozmyciu przy transformacjach */
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}

/* ============================================
   KONTENERY
   ============================================ */
.slash-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.slash-section {
  padding: 60px 0;
  position: relative;
  /* Rozciągnięcie tła na całą szerokość */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.slash-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.slash-section__title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   SEKCJA HERO - Piękna, duża sekcja
   ============================================ */
.slash-hero {
  padding: 0;
  position: relative;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  background: transparent;
}

.slash-hero__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 20px;
  position: relative;
}

.slash-hero__grid {
  display: grid;
  gap: 0;
}

.slash-hero__article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: white;
  border-radius: var(--slash-radius);
  overflow: hidden;
  box-shadow: var(--slash-shadow-lg);
  position: relative;
}

.slash-hero__image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.slash-hero__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Lepsza jakość renderowania obrazka */
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Zapobieganie rozmyciu przy transformacjach */
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
}

.slash-hero__article:hover .slash-hero__img {
  transform: scale(1.05);
}

.slash-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
  opacity: 0;
  transition: opacity var(--slash-transition);
}

.slash-hero__article:hover .slash-hero__overlay {
  opacity: 1;
}

.slash-hero__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slash-hero__meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slash-hero__category {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slash-hero__title {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
  font-weight: 900;
}

.slash-hero__title a {
  color: inherit;
  transition: color var(--slash-transition);
}

.slash-hero__title a:hover {
  color: var(--slash-color-primary);
}

.slash-hero__excerpt {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #666;
}

.slash-hero__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
}

.slash-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--slash-color-primary);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--slash-transition);
  box-shadow: 0 4px 12px rgba(31, 110, 255, 0.3);
}

.slash-hero__btn:hover {
  background: var(--slash-color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 209, 102, 0.4);
  color: #333;
}

.slash-hero__btn-icon {
  transition: transform var(--slash-transition);
}

.slash-hero__btn:hover .slash-hero__btn-icon {
  transform: translateX(4px);
}

.slash-hero__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.slash-hero__avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.slash-hero__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.slash-hero__author-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #333;
}

.slash-hero__date {
  font-size: 0.8rem;
  color: #999;
}

/* ============================================
   SIATKA WPISÓW - Posts Grid
   ============================================ */
.slash-posts-grid {
  background: #fafafa;
}

.slash-grid {
  display: grid;
  gap: 32px;
}

.slash-grid--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.slash-grid--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.slash-card {
  background: white;
  border-radius: var(--slash-radius);
  overflow: hidden;
  transition: all var(--slash-transition);
  box-shadow: var(--slash-shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.slash-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--slash-shadow-lg);
}

.slash-card__image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.slash-card__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Wysoka jakość renderowania */
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Wymuszenie ignorowania atrybutów width/height z HTML */
.slash-card__image img,
.slash-hero__image img,
.slash-masonry-item__image img,
.slash-magazine-featured__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
}

.slash-card:hover .slash-card__img {
  transform: scale(1.1);
}

.slash-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--slash-color-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slash-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.slash-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #999;
}

.slash-card__sep {
  color: #ddd;
}

.slash-card__date,
.slash-card__reading-time {
  font-weight: 500;
}

.slash-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.slash-card__title a {
  color: #222;
  transition: color var(--slash-transition);
}

.slash-card__title a:hover {
  color: var(--slash-color-primary);
}

.slash-card__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  flex: 1;
}

.slash-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.slash-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slash-card__avatar {
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.slash-card__author-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
}

.slash-card__link {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f5f5f5;
  color: var(--slash-color-primary);
  transition: all var(--slash-transition);
}

.slash-card__link:hover {
  background: var(--slash-color-primary);
  color: white;
  transform: translateX(4px);
}

/* ============================================
   RESPONSIVE DESIGN - MENU
   ============================================ */

/* Ukryj menu na mobile gdy jest nav-below-header */
@media (max-width: 1024px) {
  /* Ukryj elementy menu przed otwarciem hamburgera */
  .nav-below-header .main-navigation:not(.toggled) .main-nav > ul {
    display: none !important;
  }
  
  /* Pokaż menu po kliknięciu hamburgera */
  .nav-below-header .main-navigation.toggled .main-nav > ul {
    display: block !important;
  }
  
  /* Wymuś układ pionowy dla menu mobilnego */
  .nav-below-header .main-navigation.toggled .main-nav ul {
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .nav-below-header .main-navigation.toggled .main-nav ul li {
    width: 100% !important;
    text-align: left !important;
  }
  
  /* Upewnij się, że hamburger jest widoczny */
  .nav-below-header .menu-toggle {
    display: block !important;
  }
}

/* Desktop - pokaż menu normalnie */
@media (min-width: 1025px) {
  .nav-below-header .main-navigation .main-nav > ul {
    display: flex !important;
  }
  
  /* Ukryj hamburger na desktop */
  .nav-below-header .menu-toggle {
    display: none !important;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablety */
@media (min-width: 768px) and (max-width: 1024px) {
  .slash-hero__article {
    grid-template-columns: 1fr;
  }
  
  .slash-hero__title {
    font-size: 2.5rem;
  }
  
  .slash-grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop duże */
@media (min-width: 1025px) {
  .slash-hero__article {
    grid-template-columns: 1.2fr 1fr;
  }
  
  .slash-hero__image {
    height: 100%;
    min-height: 600px;
  }
  
  .slash-hero__content {
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .slash-section {
    padding: 40px 0;
    /* Zachowanie rozciągnięcia tła na mobile */
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
  }
  
  .slash-container {
    padding: 0 16px;
  }
  
  .slash-section__title {
    font-size: 2rem;
  }
  
  .slash-hero__container {
    padding: 40px 16px;
  }
  
  .slash-hero__content {
    padding: 32px 24px;
  }
  
  .slash-hero__title {
    font-size: 1.75rem;
  }
  
  .slash-hero__excerpt {
    font-size: 1rem;
  }
  
  .slash-hero__footer {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .slash-grid--cols-2,
  .slash-grid--cols-3 {
    grid-template-columns: 1fr;
  }
  
  .slash-grid {
    gap: 24px;
  }
  
  .slash-card__title {
    font-size: 1.2rem;
  }
  
  /* Masonry responsive */
  .slash-masonry {
    grid-template-columns: 1fr !important;
    gap: 16px;
    column-gap: 16px;
  }
  
  .slash-masonry--cols-2,
  .slash-masonry--cols-3,
  .slash-masonry--cols-4 {
    grid-template-columns: 1fr !important;
  }
  
  .slash-masonry-item {
    margin-bottom: 16px;
  }
  
  .slash-masonry-item__content {
    padding: 16px;
  }
  
  .slash-masonry-item__title {
    font-size: 1.1rem;
  }
  
  /* Carousel responsive */
  .slash-carousel {
    padding: 0 50px;
  }
  
  .slash-carousel__track {
    gap: 16px;
  }
  
  .slash-carousel__slide {
    flex: 0 0 100% !important;
    min-width: 0;
  }
  
  .slash-carousel[data-slides="2"] .slash-carousel__slide,
  .slash-carousel[data-slides="3"] .slash-carousel__slide,
  .slash-carousel[data-slides="4"] .slash-carousel__slide {
    flex: 0 0 100% !important;
  }
  
  .slash-carousel__prev,
  .slash-carousel__next {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  
  .slash-carousel__prev {
    left: 8px;
  }
  
  .slash-carousel__next {
    right: 8px;
  }
  
  /* Magazine responsive */
  .slash-magazine {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  
  .slash-magazine-featured__content {
    padding: 24px 20px;
  }
  
  .slash-magazine-featured__title {
    font-size: 1.5rem;
  }
  
  .slash-magazine-featured__excerpt {
    font-size: 1rem;
  }
  
  .slash-magazine__small {
    gap: 16px;
  }
  
  .slash-magazine-small {
    padding: 16px;
    gap: 12px;
  }
  
  .slash-magazine-small__image {
    flex: 0 0 100px;
  }
  
  .slash-magazine-small__title {
    font-size: 1rem;
  }
  
  /* Compact responsive */
  .slash-compact-item {
    padding: 20px 0;
  }
  
  .slash-compact-item__title {
    font-size: 1.1rem;
  }
  
  .slash-compact-item__meta {
    font-size: 0.8rem;
  }
}

/* ============================================
   ANIMACJE
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slash-section {
  animation: fadeInUp 0.6s ease-out;
}

/* ============================================
   UTILITIES
   ============================================ */
.slash-text-center {
  text-align: center;
}

.slash-mt-0 {
  margin-top: 0 !important;
}

.slash-mb-0 {
  margin-bottom: 0 !important;
}

/* ============================================
   ARCHIVE & SEARCH - Strony archiwum i wyszukiwania
   ============================================ */
.slash-archive-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.slash-archive-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 32px;
  border-bottom: 2px solid #f0f0f0;
}

.slash-archive-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slash-archive-title span {
  font-style: italic;
  font-weight: 900;
}

.slash-archive-description {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.slash-search-count {
  font-size: 1rem;
  color: #999;
  margin-top: 8px;
}

.slash-no-results {
  text-align: center;
  padding: 80px 20px;
  max-width: 600px;
  margin: 0 auto;
}

.slash-no-results h1 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #333;
}

.slash-no-results p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 32px;
}

.slash-no-results .search-form {
  max-width: 500px;
  margin: 0 auto;
}

/* Featured Plus List Layout */
.slash-featured-plus-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.slash-featured-post {
  background: white;
  border-radius: var(--slash-radius);
  overflow: hidden;
  box-shadow: var(--slash-shadow-lg);
  border: 1px solid #f0f0f0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  transition: all var(--slash-transition);
}

.slash-featured-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.slash-featured-post__image {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.slash-featured-post__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Wysoka jakość renderowania */
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.slash-featured-post:hover .slash-featured-post__img {
  transform: scale(1.05);
}

.slash-featured-post__content {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.slash-featured-post__category {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.slash-featured-post__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}

.slash-featured-post__title a {
  color: #222;
  transition: color var(--slash-transition);
}

.slash-featured-post__title a:hover {
  color: var(--slash-color-primary);
}

.slash-featured-post__excerpt {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
}

.slash-featured-post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.slash-featured-post__avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.slash-featured-post__author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.slash-featured-post__author {
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
}

.slash-featured-post__date {
  font-size: 0.85rem;
  color: #999;
}

/* Paginacja */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #f0f0f0;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: var(--slash-radius-sm);
  color: #333;
  font-weight: 600;
  transition: all var(--slash-transition);
  text-decoration: none;
}

.pagination .page-numbers:hover {
  background: var(--slash-color-primary);
  color: white;
  border-color: var(--slash-color-primary);
  transform: translateY(-2px);
}

.pagination .page-numbers.current {
  background: var(--slash-color-primary);
  color: white;
  border-color: var(--slash-color-primary);
}

.pagination .page-numbers.dots {
  border: none;
  background: transparent;
}

.pagination .page-numbers.dots:hover {
  background: transparent;
  transform: none;
}

/* Responsive Archive Layouts */
@media (max-width: 1024px) {
  .slash-featured-post {
    grid-template-columns: 1fr;
  }
  
  .slash-featured-post__image {
    min-height: 350px;
    height: 350px;
  }
  
  .slash-featured-post__content {
    padding: 32px 24px;
  }
  
  .slash-featured-post__title {
    font-size: 1.75rem;
  }
  
  .slash-card__image {
    height: 220px;
  }
}

@media (max-width: 767px) {
  .slash-archive-header {
    margin-bottom: 40px;
  }
  
  .slash-archive-title {
    font-size: 1.75rem;
  }
  
  .slash-archive-description {
    font-size: 1rem;
  }
  
  .slash-featured-post__image {
    min-height: 250px;
    height: 250px;
  }
  
  .slash-featured-post__content {
    padding: 24px 20px;
  }
  
  .slash-featured-post__title {
    font-size: 1.5rem;
  }
  
  .slash-featured-post__excerpt {
    font-size: 1rem;
  }
  
  .slash-card__image {
    height: 200px;
  }
  
  .slash-list-item__image {
    width: 100%;
    height: 200px;
  }
  
  .pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.9rem;
  }
}

/* ============================================
   TABLE OF CONTENTS (Easy TOC) - Nadpisanie stylów
   ============================================ */
#ez-toc-container,
.ez-toc-v2_0_55,
div.ez-toc-container {
  background: white !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: var(--slash-radius) !important;
  padding: 24px !important;
  margin: 32px 0 !important;
  box-shadow: var(--slash-shadow-sm) !important;
}

.ez-toc-title-container {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 16px !important;
}

.ez-toc-title {
  font-family: var(--slash-font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: var(--slash-font-heading-weight) !important;
  color: #222 !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

.ez-toc-list {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ez-toc-list li {
  background: transparent !important;
  border: none !important;
  padding: 8px 0 !important;
  margin: 0 !important;
}

.ez-toc-list li a {
  color: #333 !important;
  text-decoration: none !important;
  background: transparent !important;
  padding: 0 !important;
  transition: color var(--slash-transition) !important;
  font-weight: 500 !important;
}

.ez-toc-list li a:hover {
  color: var(--slash-color-primary) !important;
  background: transparent !important;
}

/* Usunięcie numeracji z kolorowym tłem */
.ez-toc-list li::before {
  background: transparent !important;
  color: var(--slash-color-primary) !important;
  font-weight: 600 !important;
}

/* Toggle button */
.ez-toc-toggle {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.ez-toc-toggle svg {
  fill: #666 !important;
  color: #666 !important;
}

.ez-toc-toggle:hover svg {
  fill: var(--slash-color-primary) !important;
  color: var(--slash-color-primary) !important;
}

/* ============================================
   SEKCJA LATEST POSTS - Lista
   ============================================ */
.slash-latest-posts {
  background: white;
}

.slash-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.slash-list-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  background: white;
  border-radius: var(--slash-radius);
  overflow: hidden;
  transition: all var(--slash-transition);
  box-shadow: var(--slash-shadow-sm);
  border: 1px solid #e5e7eb;
}

.slash-list-item:hover {
  box-shadow: var(--slash-shadow-md);
  border-color: #d1d5db;
  transform: translateX(8px);
}

.slash-list-item__image {
  width: 240px;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}

.slash-list-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Wysoka jakość renderowania */
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.slash-list-item:hover .slash-list-item__img {
  transform: scale(1.1);
}

.slash-list-item__content {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slash-list-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #999;
}

.slash-list-item__sep {
  color: #ddd;
}

.slash-list-item__date,
.slash-list-item__author {
  font-weight: 500;
}

.slash-list-item__title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.slash-list-item__title a {
  color: #222;
  transition: color var(--slash-transition);
}

.slash-list-item__title a:hover {
  color: var(--slash-color-primary);
}

.slash-list-item__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
}

.slash-list-item__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--slash-color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--slash-transition);
  margin-top: auto;
}

.slash-list-item__link svg {
  transition: transform var(--slash-transition);
}

.slash-list-item__link:hover {
  color: var(--slash-color-accent);
}

.slash-list-item__link:hover svg {
  transform: translateX(4px);
}

/* ============================================
   SEKCJA SPLIT - Podzielona 2/3 + 1/3
   ============================================ */
.slash-split {
  background: white;
  padding: 60px 0;
}

.slash-split__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.slash-split__grid {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

/* Proporcje 2/3 + 1/3 (domyślne) */
.slash-split--ratio-2-1 .slash-split__grid {
  grid-template-columns: 2fr 1fr;
}

/* Proporcje 1/3 + 2/3 */
.slash-split--ratio-1-2 .slash-split__grid {
  grid-template-columns: 1fr 2fr;
}

/* Proporcje 1/2 + 1/2 */
.slash-split--ratio-1-1 .slash-split__grid {
  grid-template-columns: 1fr 1fr;
}

/* Lewa strona (2/3) */
.slash-split__left {
  min-width: 0;
}

/* Hero w lewej kolumnie */
.slash-split__hero-article {
  background: white;
  border-radius: var(--slash-radius);
  overflow: hidden;
  box-shadow: var(--slash-shadow-md);
  transition: all var(--slash-transition);
}

.slash-split__hero-article:hover {
  box-shadow: var(--slash-shadow-lg);
  transform: translateY(-4px);
}

.slash-split__hero-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slash-split__hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slash-split__hero-article:hover .slash-split__hero-img {
  transform: scale(1.05);
}

.slash-split__hero-content {
  padding: 32px;
}

.slash-split__hero-category {
  display: inline-block;
  padding: 6px 14px;
  background: var(--slash-color-primary);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.slash-split__hero-title {
  font-size: 1.75rem;
  line-height: 1.3;
  margin: 0 0 16px 0;
  font-weight: var(--slash-font-heading-weight);
}

.slash-split__hero-title a {
  color: inherit;
  transition: color var(--slash-transition);
}

.slash-split__hero-title a:hover {
  color: var(--slash-color-primary);
}

.slash-split__hero-excerpt {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.slash-split__hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--slash-color-primary);
  font-weight: 600;
  transition: all var(--slash-transition);
}

.slash-split__hero-link:hover {
  color: var(--slash-color-accent);
  gap: 12px;
}

/* Grid Posts w lewej kolumnie */
.slash-split__grid-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.slash-split__card {
  background: white;
  border-radius: var(--slash-radius);
  overflow: hidden;
  box-shadow: var(--slash-shadow-sm);
  transition: all var(--slash-transition);
}

.slash-split__card:hover {
  box-shadow: var(--slash-shadow-md);
  transform: translateY(-4px);
}

.slash-split__card-image {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.slash-split__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slash-split__card:hover .slash-split__card-img {
  transform: scale(1.05);
}

.slash-split__card-content {
  padding: 20px;
}

.slash-split__card-title {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 10px 0;
  font-weight: 700;
}

.slash-split__card-title a {
  color: inherit;
  transition: color var(--slash-transition);
}

.slash-split__card-title a:hover {
  color: var(--slash-color-primary);
}

.slash-split__card-meta {
  font-size: 0.875rem;
  color: #999;
}

/* List w lewej kolumnie */
.slash-split__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slash-split__list-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  background: white;
  border-radius: var(--slash-radius);
  overflow: hidden;
  padding: 16px;
  box-shadow: var(--slash-shadow-sm);
  transition: all var(--slash-transition);
}

.slash-split__list-item:hover {
  box-shadow: var(--slash-shadow-md);
  transform: translateX(4px);
}

.slash-split__list-image {
  width: 150px;
  height: 100px;
  overflow: hidden;
  border-radius: var(--slash-radius-sm);
}

.slash-split__list-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slash-split__list-item:hover .slash-split__list-img {
  transform: scale(1.05);
}

.slash-split__list-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slash-split__list-title {
  font-size: 1.1rem;
  line-height: 1.4;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.slash-split__list-title a {
  color: inherit;
  transition: color var(--slash-transition);
}

.slash-split__list-title a:hover {
  color: var(--slash-color-primary);
}

.slash-split__list-meta {
  font-size: 0.875rem;
  color: #999;
}

/* Prawa strona (1/3) */
.slash-split__right {
  min-width: 0;
}

/* Compact Posts w prawej kolumnie */
.slash-split__compact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slash-split__compact-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 12px;
  background: white;
  border-radius: var(--slash-radius-sm);
  box-shadow: var(--slash-shadow-sm);
  transition: all var(--slash-transition);
}

.slash-split__compact-item:hover {
  box-shadow: var(--slash-shadow-md);
  transform: translateX(4px);
}

.slash-split__compact-image {
  width: 80px;
  height: 80px;
  overflow: hidden;
  border-radius: var(--slash-radius-sm);
}

.slash-split__compact-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slash-split__compact-item:hover .slash-split__compact-img {
  transform: scale(1.05);
}

.slash-split__compact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slash-split__compact-title {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 6px 0;
  font-weight: 600;
}

.slash-split__compact-title a {
  color: inherit;
  transition: color var(--slash-transition);
}

.slash-split__compact-title a:hover {
  color: var(--slash-color-primary);
}

.slash-split__compact-meta {
  font-size: 0.8rem;
  color: #999;
}

/* Info Box w prawej kolumnie */
.slash-split__info-box {
  padding: 24px;
  background: #f8f9fa;
  border-radius: var(--slash-radius);
  border-left: 4px solid var(--slash-color-primary);
}

.slash-split__info-box p {
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.slash-split__info-box p:last-child {
  margin-bottom: 0;
}

/* Responsive Split */
@media (max-width: 1024px) {
  .slash-split__grid,
  .slash-split--ratio-2-1 .slash-split__grid,
  .slash-split--ratio-1-2 .slash-split__grid,
  .slash-split--ratio-1-1 .slash-split__grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  
  .slash-split__grid-posts {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .slash-split__hero-image {
    height: 250px;
  }
  
  .slash-split__hero-title {
    font-size: 1.5rem;
  }
  
  .slash-split__grid-posts {
    grid-template-columns: 1fr;
  }
  
  .slash-split__list-item {
    grid-template-columns: 100px 1fr;
  }
  
  .slash-split__list-image {
    width: 100px;
    height: 70px;
  }
}

/* ============================================
   SEKCJA INFO BOX
   ============================================ */
.slash-info-box {
  background: linear-gradient(135deg, rgba(31, 110, 255, 0.03) 0%, rgba(255, 209, 102, 0.03) 100%);
}

.slash-info-box__card {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: var(--slash-radius);
  box-shadow: var(--slash-shadow-md);
  border: 1px solid #f0f0f0;
}

.slash-info-box__content {
  padding: 48px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.slash-info-box__content p:first-child {
  margin-top: 0;
}

.slash-info-box__content p:last-child {
  margin-bottom: 0;
}

.slash-info-box__content a {
  color: var(--slash-color-primary);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: all var(--slash-transition);
}

.slash-info-box__content a:hover {
  color: var(--slash-color-accent);
  text-decoration-color: currentColor;
}

/* ============================================
   RESPONSIVE - Latest Posts & Info Box
   ============================================ */
@media (max-width: 767px) {
  .slash-list-item {
    grid-template-columns: 1fr;
  }
  
  .slash-list-item__image {
    width: 100%;
    height: 200px;
  }
  
  .slash-list-item__content {
    padding: 0 20px 24px 20px;
  }
  
  .slash-info-box__content {
    padding: 32px 24px;
    font-size: 1rem;
  }
}

/* ============================================
   SINGLE POST - Pojedynczy wpis
   ============================================ */
.slash-single-post {
  background: white;
  border-radius: var(--slash-radius);
  box-shadow: var(--slash-shadow-md);
  border: 1px solid #f0f0f0;
  overflow: hidden;
}

.slash-single__hero {
  position: relative;
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 0;
}

.slash-single__hero-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.slash-single__hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  pointer-events: none;
}

.slash-single__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.slash-single-post .slash-single__container {
  padding: 60px 40px;
}

.slash-single__header {
  margin-bottom: 48px;
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 2px solid #f0f0f0;
}

.slash-single__title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 40px 0;
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slash-single__meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid #f0f0f0;
}

.slash-single__meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.slash-single__meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  font-weight: 600;
}

.slash-single__category {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slash-single__date {
  color: #333;
  font-weight: 600;
  font-size: 0.95rem;
}

.slash-single__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.slash-single__avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  border: 2px solid var(--slash-color-primary);
}

.slash-single__author-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

.slash-single__content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 48px;
  padding: 0 4px;
}

.slash-single__content p {
  margin-bottom: 1.5em;
}

.slash-single__content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 2em;
  margin-bottom: 1em;
  color: #222;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #f0f0f0;
}

.slash-single__content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  color: #222;
  padding-left: 12px;
  border-left: 4px solid var(--slash-color-primary);
}

.slash-single__content a {
  color: var(--slash-color-primary);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: all var(--slash-transition);
  font-weight: 500;
}

.slash-single__content a:hover {
  color: var(--slash-color-accent);
  text-decoration-color: currentColor;
}

.slash-single__content img {
  border-radius: var(--slash-radius);
  margin: 2em 0;
  box-shadow: var(--slash-shadow-md);
  border: 1px solid #f0f0f0;
  max-width: 100%;
  height: auto;
}

.slash-single__content blockquote {
  border-left: 4px solid var(--slash-color-primary);
  padding: 20px 24px;
  margin: 2em 0;
  font-style: italic;
  color: #666;
  font-size: 1.25rem;
  background: #f8f9fa;
  border-radius: var(--slash-radius-sm);
  box-shadow: var(--slash-shadow-sm);
  position: relative;
}

.slash-single__content blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 4rem;
  color: var(--slash-color-primary);
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.slash-single__content ul,
.slash-single__content ol {
  margin: 1.5em 0;
  padding-left: 2em;
  background: #f8f9fa;
  padding: 1.5em 2em;
  border-radius: var(--slash-radius-sm);
  border-left: 4px solid var(--slash-color-primary);
}

.slash-single__content li {
  margin-bottom: 0.5em;
}

.slash-single__content code {
  background: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  color: var(--slash-color-primary);
  font-weight: 500;
}

.slash-single__content pre {
  background: #1e1e1e;
  color: #d4d4d4;
  padding: 1.5em;
  border-radius: var(--slash-radius);
  overflow-x: auto;
  margin: 2em 0;
  box-shadow: var(--slash-shadow-md);
  border: 1px solid #333;
}

.slash-single__content pre code {
  background: transparent;
  padding: 0;
  color: inherit;
  font-weight: normal;
}

.slash-single__page-links {
  margin: 2em 0;
  padding: 1em 0;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.slash-single__page-links a {
  display: inline-block;
  padding: 8px 16px;
  margin: 0 4px;
  background: var(--slash-color-primary);
  color: white;
  border-radius: var(--slash-radius-sm);
  transition: all var(--slash-transition);
}

.slash-single__page-links a:hover {
  background: var(--slash-color-accent);
  color: #333;
}

.slash-single__footer {
  padding-top: 32px;
  border-top: 1px solid #f0f0f0;
  margin-top: 48px;
}

.slash-single__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.slash-single__tags-label {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
}

.slash-single__tag {
  display: inline-block;
  padding: 6px 14px;
  background: #f5f5f5;
  color: var(--slash-color-primary);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--slash-transition);
}

.slash-single__tag:hover {
  background: var(--slash-color-primary);
  color: white;
  transform: translateY(-2px);
}

/* Navigation między wpisami */
.post-navigation {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  padding: 24px;
  background: white;
  border-radius: var(--slash-radius);
  box-shadow: var(--slash-shadow-sm);
  border: 1px solid #f0f0f0;
  transition: all var(--slash-transition);
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
  box-shadow: var(--slash-shadow-md);
  transform: translateY(-4px);
  border-color: var(--slash-color-primary);
}

.post-navigation .nav-subtitle {
  display: block;
  font-size: 0.875rem;
  color: #999;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-navigation .nav-title {
  display: block;
  font-weight: 700;
  color: #222;
  font-size: 1.1rem;
}

.post-navigation .nav-next {
  text-align: right;
}

/* Responsive Single Post */
@media (max-width: 767px) {
  .slash-single-post .slash-single__container {
    padding: 40px 20px;
  }

  .slash-single__title {
    font-size: 2rem;
  }

  .slash-single__meta-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .slash-single__content {
    font-size: 1rem;
  }

  .slash-single__content h2 {
    font-size: 1.5rem;
  }

  .slash-single__content h3 {
    font-size: 1.25rem;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-next {
    text-align: left;
  }
}

/* Tablety - 2 kolumny dla meta */
@media (min-width: 768px) and (max-width: 1024px) {
  .slash-single__meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .slash-single__meta-item:last-child {
    grid-column: 1 / -1;
  }
}

/* ============================================
   POSTS MASONRY - Układ masonry
   ============================================ */
.slash-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  column-gap: 24px;
}

.slash-masonry--cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.slash-masonry--cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.slash-masonry--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.slash-masonry-item {
  break-inside: avoid;
  background: white;
  border-radius: var(--slash-radius);
  overflow: hidden;
  box-shadow: var(--slash-shadow-sm);
  border: 1px solid #f0f0f0;
  transition: all var(--slash-transition);
  margin-bottom: 24px;
}

.slash-masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--slash-shadow-md);
}

.slash-masonry-item__image {
  position: relative;
  overflow: hidden;
}

.slash-masonry-item__img {
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  display: block;
  transition: transform var(--slash-transition);
}

.slash-masonry-item:hover .slash-masonry-item__img {
  transform: scale(1.05);
}

.slash-masonry-item__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  background: var(--slash-color-primary);
  color: white;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.slash-masonry-item__content {
  padding: 20px;
}

.slash-masonry-item__meta {
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #999;
}

.slash-masonry-item__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.slash-masonry-item__title a {
  color: #222;
  transition: color var(--slash-transition);
}

.slash-masonry-item__title a:hover {
  color: var(--slash-color-primary);
}

.slash-masonry-item__excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #666;
}

/* ============================================
   POSTS CAROUSEL - Karuzela
   ============================================ */
.slash-carousel {
  position: relative;
  overflow: hidden;
  padding: 30px 60px;
  width: 100%;
}

.slash-carousel__track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 24px;
  will-change: transform;
}

.slash-carousel__slide {
  flex: 0 0 33.333%;
  min-width: 0;
  box-sizing: border-box;
}

.slash-carousel[data-slides="2"] .slash-carousel__slide {
  flex: 0 0 50%;
}

.slash-carousel[data-slides="4"] .slash-carousel__slide {
  flex: 0 0 25%;
}

.slash-carousel__prev,
.slash-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  font-size: 24px;
  color: #222;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--slash-transition);
  box-shadow: var(--slash-shadow-sm);
  font-weight: bold;
}

.slash-carousel__prev:hover,
.slash-carousel__next:hover {
  background: var(--slash-color-primary);
  color: white;
  border-color: var(--slash-color-primary);
  transform: translateY(-50%) scale(1.1);
}

.slash-carousel__prev {
  left: 20px;
}

.slash-carousel__next {
  right: 20px;
}

/* ============================================
   POSTS MAGAZINE - Styl magazynowy
   ============================================ */
.slash-magazine {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

.slash-magazine-featured {
  background: white;
  border-radius: var(--slash-radius);
  overflow: hidden;
  box-shadow: var(--slash-shadow-md);
  border: 1px solid #f0f0f0;
}

.slash-magazine-featured__image {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.slash-magazine-featured__img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform var(--slash-transition);
}

.slash-magazine-featured:hover .slash-magazine-featured__img {
  transform: scale(1.05);
}

.slash-magazine-featured__badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  background: var(--slash-color-primary);
  color: white;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.slash-magazine-featured__content {
  padding: 32px;
}

.slash-magazine-featured__meta {
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #999;
}

.slash-magazine-featured__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.slash-magazine-featured__title a {
  color: #222;
  transition: color var(--slash-transition);
}

.slash-magazine-featured__title a:hover {
  color: var(--slash-color-primary);
}

.slash-magazine-featured__excerpt {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #666;
}

.slash-magazine__small {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.slash-magazine-small {
  display: flex;
  gap: 16px;
  background: white;
  border-radius: var(--slash-radius);
  padding: 20px;
  box-shadow: var(--slash-shadow-sm);
  border: 1px solid #f0f0f0;
  transition: all var(--slash-transition);
}

.slash-magazine-small:hover {
  transform: translateX(4px);
  box-shadow: var(--slash-shadow-md);
}

.slash-magazine-small__image {
  flex: 0 0 120px;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: var(--slash-radius-sm);
}

.slash-magazine-small__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--slash-transition);
}

.slash-magazine-small:hover .slash-magazine-small__img {
  transform: scale(1.1);
}

.slash-magazine-small__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slash-magazine-small__meta {
  margin-bottom: 8px;
  font-size: 0.8rem;
  color: #999;
}

.slash-magazine-small__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.slash-magazine-small__title a {
  color: #222;
  transition: color var(--slash-transition);
}

.slash-magazine-small__title a:hover {
  color: var(--slash-color-primary);
}

/* ============================================
   POSTS COMPACT - Kompaktowa lista
   ============================================ */
.slash-compact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.slash-compact-item {
  padding: 24px 0;
  border-bottom: 1px solid #f0f0f0;
  transition: all var(--slash-transition);
}

.slash-compact-item:last-child {
  border-bottom: none;
}

.slash-compact-item:hover {
  padding-left: 12px;
  background: #fafafa;
  border-radius: var(--slash-radius-sm);
}

.slash-compact-item__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #999;
  flex-wrap: wrap;
}

.slash-compact-item__sep {
  color: #ddd;
}

.slash-compact-item__date,
.slash-compact-item__author,
.slash-compact-item__category {
  font-weight: 500;
}

.slash-compact-item__category {
  color: var(--slash-color-primary);
}

.slash-compact-item__title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.slash-compact-item__title a {
  color: #222;
  transition: color var(--slash-transition);
}

.slash-compact-item__title a:hover {
  color: var(--slash-color-primary);
}

.slash-compact-item__excerpt {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-top: 8px;
}

/* ============================================
   FOOTER - Stopka
   ============================================ */

/* Wspólne style dla stopki */
#main-footer {
  margin-top: 60px;
  color: #fff;
  background-color: #222222;
}

/* FOOTER FULL - Pełna stopka z widgetami */
.footer-full {
  background-color: #222222;
}

.footer-widgets-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
}

.inside-footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-widget {
  color: #fff;
}

.footer-widget .widget-title,
.footer-widget h2,
.footer-widget h3,
.footer-widget h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-widget p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 15px;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-widget ul li {
  margin-bottom: 12px;
}

.footer-widget ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-widget ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

/* Widget Recent Posts w stopce */
.footer-widget .rpwwt-widget ul,
.footer-widget .widget_recent_entries ul {
  list-style: none;
  padding: 0;
}

.footer-widget .rpwwt-widget ul li,
.footer-widget .widget_recent_entries ul li {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget .rpwwt-widget ul li:last-child,
.footer-widget .widget_recent_entries ul li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.footer-widget .rpwwt-widget img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
}

.footer-widget .rpwwt-post-title {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Footer Bottom - Dolna część stopki */
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.inside-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.copyright-bar {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* FOOTER SIMPLE - Prosta stopka */
.footer-simple {
  background-color: #222222;
  padding: 30px 0;
}

.footer-simple-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-simple-left {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-simple-right nav {
  display: flex;
}

.footer-simple-right .footer-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

.footer-simple-right .footer-menu li {
  margin: 0;
}

.footer-simple-right .footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-simple-right .footer-menu a:hover {
  color: #fff;
}

/* ============================================
   MAGAZINE PROFILE - Specyficzne style
   ============================================ */

/* Badge kategorii w rogu obrazka - Magazine style */
body.slash-profile-magazine .slash-card__badge,
body.slash-profile-magazine .slash-hero__badge,
body.slash-profile-magazine .slash-list-item__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #374151;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

body.slash-profile-magazine .slash-card:hover .slash-card__badge,
body.slash-profile-magazine .slash-hero:hover .slash-hero__badge {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Badge dla Magazine powinien być zawsze widoczny */

/* Separator kategorii między sekcjami - Magazine style */
body.slash-profile-magazine .slash-section-separator {
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
}

body.slash-profile-magazine .slash-section-separator::before,
body.slash-profile-magazine .slash-section-separator::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
}

body.slash-profile-magazine .slash-section-separator::before {
  left: 0;
}

body.slash-profile-magazine .slash-section-separator::after {
  right: 0;
}

body.slash-profile-magazine .slash-section-separator__text {
  display: inline-block;
  padding: 8px 24px;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Magazine - Tytuły sekcji nie są używane (używamy separatorów) */

/* Magazine - kompaktowy design */
body.slash-profile-magazine .slash-card {
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.3s ease;
}

body.slash-profile-magazine .slash-card:hover {
  border-color: #d1d5db;
  transform: translateY(-4px);
}

body.slash-profile-magazine .slash-card__image {
  position: relative;
  overflow: hidden;
}

body.slash-profile-magazine .slash-card__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.slash-profile-magazine .slash-card:hover .slash-card__image::after {
  opacity: 0.5;
}

body.slash-profile-magazine .slash-card__img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(1) contrast(1);
}

body.slash-profile-magazine .slash-card:hover .slash-card__img {
  transform: scale(1.05);
}

/* Magazine - metadata style */
body.slash-profile-magazine .slash-card__meta {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.slash-profile-magazine .slash-card__date {
  color: #6b7280;
  font-weight: 500;
  background: #f3f4f6;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
}

body.slash-profile-magazine .slash-card__reading-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f3f4f6;
  color: #6b7280;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.7rem;
}

body.slash-profile-magazine .slash-card__reading-time::before {
  content: '📖';
  font-size: 0.85em;
}

/* Magazine - tytuły */
body.slash-profile-magazine .slash-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #1f2937;
}

body.slash-profile-magazine .slash-card__title a {
  color: #1f2937;
  transition: color 0.3s ease;
}

body.slash-profile-magazine .slash-card:hover .slash-card__title a {
  color: #4b5563;
}

/* Magazine - excerpt krótszy */
body.slash-profile-magazine .slash-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Magazine - footer karty */
body.slash-profile-magazine .slash-card__footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
}

/* Magazine - avatar autora */
body.slash-profile-magazine .slash-card__avatar {
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Magazine - hero section */
body.slash-profile-magazine .slash-hero {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

body.slash-profile-magazine .slash-hero__image {
  position: relative;
}

body.slash-profile-magazine .slash-hero__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(0,0,0,0.2) 0%, 
    transparent 30%, 
    transparent 70%, 
    rgba(0,0,0,0.6) 100%);
  z-index: 1;
}

body.slash-profile-magazine .slash-hero__content {
  position: relative;
  z-index: 2;
}

body.slash-profile-magazine .slash-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.slash-profile-magazine .slash-hero__category {
  background: rgba(255, 255, 255, 0.95);
  color: #374151;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
}

/* Magazine - list items */
body.slash-profile-magazine .slash-list-item {
  border-left: 3px solid #e5e7eb;
  padding: 16px 0 16px 16px;
  transition: all 0.3s ease;
  position: relative;
  margin-left: 0;
}

body.slash-profile-magazine .slash-list-item:hover {
  border-left-color: #9ca3af;
  padding-left: 20px;
  background: #f9fafb;
}

body.slash-profile-magazine .slash-list-item__title {
  font-weight: 600;
  color: #1f2937;
  transition: color 0.3s ease;
}

body.slash-profile-magazine .slash-list-item:hover .slash-list-item__title {
  color: #111827;
}

/* Magazine - shadows */
body.slash-profile-magazine .slash-card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

body.slash-profile-magazine .slash-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Magazine - button style */
body.slash-profile-magazine .slash-hero__btn {
  background: #1f2937;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

body.slash-profile-magazine .slash-hero__btn:hover {
  background: #374151;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Magazine - date badge (nadpisane powyżej - ten styl jest nieaktywny) */

/* Responsywność stopki */
@media (max-width: 1024px) {
  .inside-footer-widgets {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .inside-footer-widgets {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-simple-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-simple-right .footer-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .footer-widgets-container {
    padding: 40px 20px 30px;
  }
}

/* ============================================
   ABOUT PAGE - Strona O nas
   ============================================ */

/* Wspólne style */
.slash-about-page {
  background: var(--slash-background);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.slash-about-page .site-main {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

/* Ukryj container i grid dla strony About */
body.page-template-page-about .site {
  max-width: 100%;
  padding: 0;
}

body.page-template-page-about .site-content {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

body.page-template-page-about .content-area {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* ============================================
   VIEW 1: Hero + Dwukolumnowy
   ============================================ */
.slash-about-view1 .slash-about-hero {
  background: linear-gradient(135deg, var(--slash-color-primary) 0%, var(--slash-color-accent) 100%);
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.slash-about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}

.slash-about-hero__content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.slash-about-hero__title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.slash-about-hero__subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
}

.slash-about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.slash-about-description-section {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.slash-about-description__text {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.slash-about-description__text p:first-child {
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
}

.slash-about-logo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

.slash-about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.slash-about-value-card {
  background: #fff;
  padding: 40px;
  border-radius: var(--slash-radius);
  box-shadow: var(--slash-shadow-md);
  transition: transform var(--slash-transition), box-shadow var(--slash-transition);
}

.slash-about-value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--slash-shadow-lg);
}

.slash-about-value-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.slash-about-mission .slash-about-value-icon {
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  color: #fff;
}

.slash-about-vision .slash-about-value-icon {
  background: linear-gradient(135deg, var(--slash-color-accent), var(--slash-color-primary));
  color: #fff;
}

.slash-about-value-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

.slash-about-value-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #666;
}

.slash-about-value-text p {
  margin-bottom: 1em;
}

.slash-about-value-text p:last-child {
  margin-bottom: 0;
}

.slash-about-value-text ul,
.slash-about-value-text ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.slash-about-value-text li {
  margin-bottom: 0.5em;
}

.slash-about-value-text strong {
  font-weight: 600;
}

.slash-about-value-text a {
  color: var(--primary-color);
  text-decoration: underline;
}

.slash-about-value-text a:hover {
  opacity: 0.8;
}

/* ============================================
   VIEW 2: Centrowany Storytelling
   ============================================ */
.slash-about-view2 .slash-about-hero-minimal {
  padding: 100px 20px 60px;
  text-align: center;
  background: var(--slash-background);
}

.slash-about-hero-minimal__title {
  font-size: 3rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 16px;
}

.slash-about-hero-minimal__subtitle {
  font-size: 1.3rem;
  color: #666;
  font-weight: 300;
}

.slash-about-centered {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.slash-about-logo-centered {
  text-align: center;
  margin-bottom: 60px;
}

.slash-about-logo-centered img {
  width: 100%;
  max-width: 250px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.08));
}

.slash-about-description-centered {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  text-align: center;
  margin-bottom: 80px;
}

.slash-about-description-centered p:first-child {
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
}

.slash-about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.slash-about-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--slash-radius);
  text-align: center;
  box-shadow: var(--slash-shadow-sm);
  transition: all var(--slash-transition);
  border: 2px solid transparent;
}

.slash-about-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--slash-shadow-lg);
  border-color: var(--slash-color-primary);
}

.slash-about-card__icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  color: #fff;
}

.slash-about-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #222;
}

.slash-about-card__text {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
}

.slash-about-card__text p {
  margin-bottom: 1em;
}

.slash-about-card__text p:last-child {
  margin-bottom: 0;
}

.slash-about-card__text ul,
.slash-about-card__text ol {
  margin: 1em 0;
  padding-left: 1.5em;
  text-align: left;
}

.slash-about-card__text li {
  margin-bottom: 0.5em;
}

.slash-about-card__text strong {
  font-weight: 600;
}

.slash-about-card__text a {
  color: var(--primary-color);
  text-decoration: underline;
}

.slash-about-card__text a:hover {
  opacity: 0.8;
}

/* ============================================
   VIEW 3: Split Screen
   ============================================ */
.slash-about-view3 .slash-about-split {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 100vh;
}

.slash-about-split__left {
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.slash-about-split__logo {
  text-align: center;
}

.slash-about-split__logo img {
  width: 100%;
  max-width: 200px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.slash-about-split__box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 30px;
  border-radius: var(--slash-radius);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slash-about-split__icon {
  margin-bottom: 16px;
}

.slash-about-split__box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.slash-about-split__box > div {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.slash-about-split__box p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1em;
}

.slash-about-split__box p:last-child {
  margin-bottom: 0;
}

.slash-about-split__box ul,
.slash-about-split__box ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.slash-about-split__box li {
  margin-bottom: 0.5em;
}

.slash-about-split__box strong {
  font-weight: 600;
}

.slash-about-split__box a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
}

.slash-about-split__box a:hover {
  opacity: 0.8;
}

.slash-about-split__right {
  padding: 80px 60px;
  background: var(--slash-background);
}

.slash-about-split__title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 20px;
  line-height: 1.2;
}

.slash-about-split__subtitle {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 40px;
  font-weight: 300;
}

.slash-about-split__description {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.slash-about-split__description p:first-child {
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
}

/* ============================================
   VIEW 6: Magazine Hero
   ============================================ */
.slash-about-view6 .slash-about-magazine-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  background: linear-gradient(135deg, var(--slash-color-primary) 0%, var(--slash-color-accent) 100%);
  position: relative;
  overflow: hidden;
}

.slash-about-magazine-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
}

.slash-about-magazine-hero > * {
  position: relative;
  z-index: 1;
}

.slash-about-magazine-hero__logo {
  margin-bottom: 40px;
}

.slash-about-magazine-hero__logo img {
  width: 100%;
  max-width: 280px;
  height: auto;
  filter: brightness(0) invert(1) drop-shadow(0 8px 32px rgba(0, 0, 0, 0.3));
}

.slash-about-magazine-hero__title {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: -0.02em;
}

.slash-about-magazine-hero__subtitle {
  font-size: 1.6rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
  margin-bottom: 40px;
}

.slash-about-magazine-hero__scroll {
  color: #fff;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.slash-about-magazine-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.slash-about-magazine-description {
  column-count: 2;
  column-gap: 60px;
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 80px;
  text-align: justify;
}

.slash-about-magazine-description p:first-child {
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  line-height: 1.6;
  margin-bottom: 30px;
}

.slash-about-magazine-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.slash-about-magazine-card {
  padding: 50px 40px;
  border-radius: var(--slash-radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;
}

.slash-about-magazine-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.1;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
}

.slash-about-magazine-card--accent {
  background: linear-gradient(135deg, var(--slash-color-accent), var(--slash-color-primary));
}

.slash-about-magazine-card--primary {
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
}

.slash-about-magazine-card > * {
  position: relative;
  z-index: 1;
}

.slash-about-magazine-card__icon {
  margin: 0 auto 30px;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.slash-about-magazine-card__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.slash-about-magazine-card__text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.slash-about-magazine-card__text p {
  margin-bottom: 1em;
}

.slash-about-magazine-card__text p:last-child {
  margin-bottom: 0;
}

.slash-about-magazine-card__text ul,
.slash-about-magazine-card__text ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

.slash-about-magazine-card__text li {
  margin-bottom: 0.5em;
}

.slash-about-magazine-card__text strong {
  font-weight: 600;
}

.slash-about-magazine-card__text a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
}

.slash-about-magazine-card__text a:hover {
  opacity: 0.8;
}

/* ============================================
   CONTACT PAGE - Strona Kontakt
   ============================================ */

/* Wspólne style */
.slash-contact-page {
  background: var(--slash-background);
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.slash-contact-page .site-main {
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: 100%;
}

/* Ukryj container dla strony Contact */
body.page-template-page-contact .site {
  max-width: 100%;
  padding: 0;
}

body.page-template-page-contact .site-content {
  width: 100%;
  max-width: 100%;
  padding: 0;
}

body.page-template-page-contact .content-area {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

/* Hero Section */
.slash-contact-hero {
  background: linear-gradient(135deg, var(--slash-color-primary) 0%, var(--slash-color-accent) 100%);
  padding: 120px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.slash-contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
  opacity: 0.3;
}

.slash-contact-hero__content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.slash-contact-hero__title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.slash-contact-hero__subtitle {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 300;
}

/* Container */
.slash-contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* Contact Info - 3 kolumny */
.slash-contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.slash-contact-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: var(--slash-radius);
  box-shadow: var(--slash-shadow-md);
  text-align: center;
  transition: transform var(--slash-transition), box-shadow var(--slash-transition);
}

.slash-contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--slash-shadow-lg);
}

.slash-contact-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--slash-color-primary), var(--slash-color-accent));
  color: #fff;
}

.slash-contact-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #222;
}

.slash-contact-card__content {
  font-size: 1rem;
  line-height: 1.8;
  color: #666;
}

.slash-contact-card__content a {
  color: var(--slash-color-primary);
  text-decoration: none;
  transition: color var(--slash-transition);
  font-weight: 500;
}

.slash-contact-card__content a:hover {
  color: var(--slash-color-accent);
  text-decoration: underline;
}

/* Advertising Section */
.slash-contact-advertising {
  background: linear-gradient(135deg, rgba(31, 111, 255, 0.05), rgba(255, 209, 102, 0.05));
  padding: 60px 40px;
  border-radius: var(--slash-radius);
  margin-bottom: 60px;
  border: 2px solid rgba(31, 111, 255, 0.1);
}

.slash-contact-advertising__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.slash-contact-advertising__title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
}

.slash-contact-advertising__text {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
}

.slash-contact-advertising__text p {
  margin-bottom: 16px;
}

/* Map Section - pełna szerokość */
.slash-contact-map {
  margin-top: 60px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  width: 100vw;
  overflow: hidden;
}

.slash-contact-map iframe {
  display: block;
  width: 100%;
  border: none;
}

/* ============================================
   RESPONSYWNOŚĆ - Contact Page
   ============================================ */
@media (max-width: 1024px) {
  .slash-contact-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .slash-contact-hero__title {
    font-size: 2.5rem;
  }
  
  .slash-contact-hero__subtitle {
    font-size: 1.2rem;
  }
  
  .slash-contact-container {
    padding: 60px 20px;
  }
  
  .slash-contact-advertising {
    padding: 40px 30px;
  }
  
  .slash-contact-advertising__title {
    font-size: 1.6rem;
  }
}

/* ============================================
   RESPONSYWNOŚĆ - About Page
   ============================================ */
@media (max-width: 1024px) {
  .slash-about-split {
    grid-template-columns: 1fr !important;
  }
  
  .slash-about-split__left {
    position: relative !important;
    height: auto !important;
  }
  
  .slash-about-magazine-description {
    column-count: 1;
  }
}

@media (max-width: 768px) {
  .slash-about-hero__title,
  .slash-about-magazine-hero__title {
    font-size: 2.5rem;
  }
  
  .slash-about-hero-minimal__title,
  .slash-about-split__title {
    font-size: 2.2rem;
  }
  
  .slash-about-description-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .slash-about-values,
  .slash-about-cards,
  .slash-about-magazine-values {
    grid-template-columns: 1fr;
  }
  
  .slash-about-split__right {
    padding: 60px 30px;
  }
  
  .slash-about-magazine-description {
    text-align: left;
  }
}
