/* ==========================================================================
   SONGS DELICIOUS - KOMPLETNY STYL BLOGA GENERATEPRESS (FINALNA WERSJA PRO)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ZMIENNE GLOBALNE I BAZA
   -------------------------------------------------------------------------- */
:root {
  --sd-bg-1: #1a0f2e;
  --sd-bg-2: #2a0f4a;
  --sd-magenta: #ff4fd8;
  --sd-cyan: #00d4ff;
  --sd-white: #f6f5ff;
  --sd-glow: 0 0 18px rgba(255, 79, 216, 0.55), 0 0 42px rgba(0, 212, 255, 0.25);

  --primary-dark: #20162D;
  --primary-medium: #2a1f3f;
  --primary-light: #8a79a8;
  --primary-lighter: #b19cd9;
  --accent-purple: #c9b8e0;
  --secondary-dark: #1a1525;
  --background-light: #ffffff;
  --text-dark: #2d2d2d;
  --text-gray: #666666;

  --radius-small: 4px;
  --radius-medium: 8px;
  --radius-pill: 50px;

  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.12);
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  line-height: 1.65;
  overflow-x: hidden; 
}

/* Rozszerzenie kontenerów do pełnej szerokości strony głównej (1400px) */
.grid-container,
#page,
.site-content {
  max-width: 1400px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* --------------------------------------------------------------------------
   2. GŁÓWNA NAWIGACJA (ZAKODOWANE MENU)
   -------------------------------------------------------------------------- */
.site-header,
body #site-navigation.main-navigation {
  display: none !important; 
}

.sd-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px; 
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--sd-bg-1) 0%, #2d1b4e 100%);
    box-shadow: 0 2px 20px rgba(138, 121, 168, 0.3);
    z-index: 1000;
}

.sd-topbar .sd-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.sd-nav {
    display: flex;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sd-nav li {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    line-height: 1; 
}

.sd-nav a {
    color: #EDEBFF;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    opacity: 0.9;
    padding: 10px 18px;
    border-radius: 4px; 
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent); 
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 0 4px;
    z-index: 1;
    display: inline-block;
}

.sd-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
    pointer-events: none;
    z-index: -1;
}

.sd-nav a:hover::before {
    left: 100%;
}

.sd-nav a:hover,
.sd-nav li.current-menu-item a,
.sd-nav li.current_page_item a {
    opacity: 1;
    border-radius: 20px; 
    background: linear-gradient(135deg, rgba(255,79,216,.15), rgba(0,212,255,.15));
    color: #fff;
    text-shadow: 0 0 15px rgba(255,255,255,.4), 0 0 25px rgba(255,79,216,.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,79,216,.2), 0 4px 10px rgba(0,212,255,.2);
}

.sd-lang {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
}

.sd-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: scale(0.9);
}

.sd-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.sd-pill:hover::before {
    left: 100%;
}

.sd-pill:hover {
    transform: translateY(-2px) scale(1.05);
    background: rgba(255,255,255,.15);
    border-color: rgba(255,255,255,.25);
    box-shadow: 0 6px 20px rgba(255,255,255,.1);
    text-shadow: 0 0 10px rgba(255,255,255,.3);
}

.sd-pill--accent {
    background: rgba(255,79,216,.16);
    border-color: rgba(255,79,216,.35);
}

.sd-pill--accent:hover {
    background: rgba(255,79,216,.25);
    border-color: rgba(255,79,216,.5);
    box-shadow: 0 6px 20px rgba(255,79,216,.3), 0 0 15px rgba(255,79,216,.2);
}

.sd-flag {
    font-size: 16px;
    line-height: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, #20162D 0%, #2a1f3f 50%, #1a1525 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav li {
    margin: 20px 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 10px 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.mobile-nav a:hover {
    color: #b19cd9;
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   3. BANER HERO NA STRONIE GŁÓWNEJ BLOGA (/blog/)
   -------------------------------------------------------------------------- */
.sd-blog-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 50px;
  background: linear-gradient(135deg, var(--sd-bg-1) 0%, #2d1b4e 50%, var(--sd-bg-1) 100%);
  padding: 95px 20px 70px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(26, 15, 46, 0.35);
  box-sizing: border-box;
  overflow: hidden;
}

.sd-blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 79, 216, 0.15), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.15), transparent 50%);
  pointer-events: none;
}

.sd-blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://songsdelicious.com/pl/blog/wp-content/uploads/2026/08/blog-vocals.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.sd-blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}

.sd-blog-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(138, 121, 168, 0.25);
  border: 1px solid rgba(177, 156, 217, 0.4);
  color: #ffffff;
  padding: 6px 18px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.sd-blog-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: 1px;
  text-shadow: 0 0 25px rgba(255, 79, 216, 0.25);
  margin: 0 0 16px 0;
}

.sd-blog-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--primary-lighter);
  font-weight: 400;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 750px;
}

body.blog .page-header, 
body.archive .page-header {
  display: none !important;
}

/* --------------------------------------------------------------------------
   4. SIATKA ARTYKUŁÓW I KAFELKI
   -------------------------------------------------------------------------- */
body.blog #main,
body.archive #main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 60px auto;
  padding: 0 20px;
  box-sizing: border-box;
}

body.blog article.post,
body.archive article.post {
  background: var(--background-light);
  border-radius: 2px;
  box-shadow: var(--shadow-card);
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  margin: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.blog article.post:hover,
body.archive article.post:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

body.blog .inside-article,
body.archive .inside-article {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  position: relative;
}

body.blog .post-image,
body.archive .post-image {
  order: 1;
  margin: 0;
  width: 100%;
  height: 240px;
  position: relative;
  overflow: hidden;
}

body.blog .post-image img,
body.archive .post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

body.blog article.post:hover .post-image img,
body.archive article.post:hover .post-image img {
  transform: scale(1.05);
}

/* PLAKIETKA KATEGORII */
body.blog .cat-links,
body.archive .cat-links {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  margin: 0;
  display: block;
}

body.blog .cat-links svg,
body.archive .cat-links svg,
body.blog .cat-links .gp-icon,
body.archive .cat-links .gp-icon,
body.blog .cat-links::before,
body.archive .cat-links::before {
  display: none !important;
}

body.blog .cat-links a,
body.archive .cat-links a {
  background: rgba(108, 88, 123, 0.95);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 3px;
  text-decoration: none;
  display: inline-block;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  text-shadow: none;
  transition: background 0.3s ease;
}

body.blog .cat-links a:hover,
body.archive .cat-links a:hover {
  background: var(--primary-light);
  color: #ffffff;
}

/* Tytuł artykułu */
body.blog .entry-header,
body.archive .entry-header {
  order: 2;
  padding: 24px 24px 12px 24px;
  margin: 0;
}

body.blog .entry-title,
body.archive .entry-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--sd-bg-1);
  margin: 0;
}

body.blog .entry-title a,
body.archive .entry-title a {
  color: var(--sd-bg-1);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.blog .entry-title a:hover,
body.archive .entry-title a:hover {
  color: var(--primary-light);
}

/* Krótki opis */
body.blog .entry-summary,
body.archive .entry-summary {
  order: 3;
  padding: 0 24px 24px 24px;
  margin: 0;
  flex-grow: 1;
}

body.blog .entry-summary p,
body.archive .entry-summary p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* Dolna belka metadanych */
body.blog footer.entry-meta,
body.archive footer.entry-meta {
  order: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  margin: auto 0 0 0;
  border-top: 1px solid #f0f0f0;
  font-size: 0.85rem;
  color: #777777;
  background: var(--background-light);
}

body.blog footer.entry-meta a,
body.archive footer.entry-meta a {
  color: #777777;
  text-decoration: none;
  font-weight: 500;
}

body.blog footer.entry-meta a:hover,
body.archive footer.entry-meta a:hover {
  color: var(--sd-bg-1);
}

body.blog footer.entry-meta .posted-on::before,
body.archive footer.entry-meta .posted-on::before {
  content: "\f017";
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  margin-right: 6px;
  color: var(--primary-light);
}

body.blog footer.entry-meta .byline::before,
body.archive footer.entry-meta .byline::before {
  content: "\f007";
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  margin-right: 6px;
  color: var(--primary-light);
}

/* --------------------------------------------------------------------------
   5. POJEDYNCZY ARTYKUŁ (SINGLE POST)
   -------------------------------------------------------------------------- */
body.single-post .featured-image,
body.single-post .page-header-image-single,
body.single-post .inside-article > .entry-header {
  display: none !important;
}

.sd-article-hero {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--sd-bg-1) 0%, #2d1b4e 100%);
  padding: 110px 20px 70px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 40px;
}

.sd-article-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 79, 216, 0.18), transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(0, 212, 255, 0.15), transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.sd-article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--article-hero-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
  z-index: 1;
}

.sd-article-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
}

.sd-article-category-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--sd-magenta), #FF6B35);
  color: #ffffff;
  padding: 7px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
  box-shadow: 0 4px 15px rgba(255, 79, 216, 0.35);
}

.sd-article-hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 20px 0;
  text-shadow: 0 0 25px rgba(255, 79, 216, 0.25);
}

.sd-article-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--primary-lighter);
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 500;
}

.sd-article-meta i {
  color: var(--sd-magenta);
  margin-right: 6px;
}

.sd-article-excerpt {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.7;
}

body.single-post .site-content {
  max-width: 1200px !important;
  margin: 20px auto 60px auto !important;
  padding: 0 24px !important;
  box-sizing: border-box;
}

body.single-post .inside-article,
body.single-post.separate-containers .inside-article {
  padding: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  border: none !important;
}

body.single-post .entry-content h2 {
  font-size: 1.85rem;
  color: var(--sd-bg-1);
  margin-top: 50px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--primary-light);
  font-weight: 700;
}

body.single-post .entry-content h3 {
  font-size: 1.4rem;
  color: #2d1b4e;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 700;
}

body.single-post .entry-content p,
body.single-post .entry-content li {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #3d3d3d;
  margin-bottom: 18px;
}

/* --------------------------------------------------------------------------
   6. KOMPONENTY ARTYKUŁU (TOC, CALLOUTY, CTA, CYTATY)
   -------------------------------------------------------------------------- */

/* Odchudzony Spis Treści (TOC) */
.toc {
  background: linear-gradient(135deg, rgba(138, 121, 168, 0.05), rgba(177, 156, 217, 0.03));
  border-left: 3px solid var(--primary-light);
  padding: 18px 24px;
  margin: 20px 0 30px 0;
  border-radius: 4px;
  max-width: 90%; 
}

/* Nadpisanie globalnych stylów H2, które psuły wygląd */
body.single-post .entry-content .toc h2,
.toc h2, .toc h3, .toc h4 {
  font-size: 1.15rem !important; 
  color: var(--sd-bg-1);
  margin-top: 0 !important; 
  margin-bottom: 12px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important; 
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  column-count: 2;
  column-gap: 30px; 
}

.toc li {
  break-inside: avoid;
  margin-bottom: 8px !important; 
  padding-left: 0 !important; 
}

.toc li::before {
  content: none !important; 
}

.toc a {
  color: #6a5a82; 
  text-decoration: none;
  font-weight: 500; 
  font-size: 0.95rem; 
  transition: all 0.25s ease;
  display: inline-block;
  line-height: 1.4;
}

.toc a:hover {
  color: var(--sd-magenta);
  padding-left: 4px;
}

/* === PRZYWRÓCONE TWOJE STARE STYLE CALLOUTÓW === */
.highlight-box {
  background: linear-gradient(135deg, rgba(255, 79, 216, 0.08), rgba(138, 121, 168, 0.05));
  border-left: 4px solid var(--sd-magenta);
  padding: 24px 28px;
  margin: 30px 0;
  border-radius: 4px;
}

.highlight-box h4 {
  color: var(--sd-magenta);
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.tip-box {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(138, 121, 168, 0.05));
  border-left: 4px solid var(--sd-cyan);
  padding: 24px 28px;
  margin: 30px 0;
  border-radius: 4px;
}

.tip-box h4 {
  color: #0099cc;
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.warning-box {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(255, 79, 216, 0.05));
  border-left: 4px solid #FF6B35;
  padding: 24px 28px;
  margin: 30px 0;
  border-radius: 4px;
}

.warning-box h4 {
  color: #FF6B35;
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.checklist {
  background: linear-gradient(135deg, rgba(138, 121, 168, 0.05), rgba(177, 156, 217, 0.03));
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
}

.checklist-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.check-icon {
  color: #00d4ff;
  font-size: 1.3rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin: 35px 0;
}

.dont-box, .do-box {
  padding: 25px;
  border-radius: 4px;
  border-left: 4px solid;
}

.dont-box {
  background: rgba(255, 107, 53, 0.07);
  border-left-color: #FF6B35;
}

.dont-box h4 {
  color: #FF6B35;
  font-size: 1.15rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.do-box {
  background: rgba(0, 212, 255, 0.07);
  border-left-color: var(--sd-cyan);
}

.do-box h4 {
  color: #0099cc;
  font-size: 1.15rem;
  margin-bottom: 15px;
  font-weight: 700;
}

blockquote {
  background: linear-gradient(135deg, rgba(32, 22, 45, 0.94) 0%, rgba(20, 12, 33, 0.96) 100%);
  border-left: 4px solid var(--sd-magenta);
  border-radius: var(--radius-small);
  padding: 24px 30px;
  color: #f1edfa;
  margin: 35px 0;
  box-shadow: var(--shadow-card);
}

blockquote p {
  color: #f1edfa;
  font-size: 1.05rem;
  font-style: italic;
  margin: 0;
}

.article-cta {
  background: linear-gradient(135deg, var(--sd-bg-1) 0%, #2d1b4e 50%, var(--sd-bg-1) 100%);
  padding: 50px 30px;
  text-align: center;
  margin-top: 60px;
  border-radius: 8px;
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(26, 15, 46, 0.3);
}

.article-cta h2, .article-cta h3 {
  color: #ffffff;
  border-bottom: none;
  margin: 0 0 15px 0;
  padding: 0;
  font-size: 1.9rem;
}

.article-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  margin: 0 auto 25px auto;
}

.article-cta .cta-button {
  display: inline-block;
  background: #ffffff;
  color: var(--sd-bg-1);
  padding: 14px 38px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.article-cta .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 79, 216, 0.4);
  background: linear-gradient(135deg, var(--sd-magenta), var(--sd-cyan));
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. ELEMENTY GLOBALNE (PRZYCISKI, FORMULARZE, PAGINACJA, STOPKA)
   -------------------------------------------------------------------------- */
body .button, 
body .wp-block-button__link,
body input[type="submit"] {
  background: linear-gradient(135deg, var(--sd-bg-1) 0%, var(--primary-light) 100%);
  color: #ffffff;
  border-radius: var(--radius-pill);
  padding: 12px 28px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  box-shadow: 0 4px 15px rgba(138, 121, 168, 0.3);
  transition: all 0.3s ease;
}

body .button:hover, 
body .wp-block-button__link:hover,
body input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 79, 216, 0.4);
}

input[type="text"],
input[type="email"],
textarea {
  border-radius: var(--radius-small);
  border: 1px solid rgba(138, 121, 168, 0.3);
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(138, 121, 168, 0.2);
  outline: none;
}

.paging-navigation {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 20px;
}

.paging-navigation .page-numbers {
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  margin: 0 5px;
  border: 1px solid rgba(138, 121, 168, 0.25);
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.paging-navigation .page-numbers.current,
.paging-navigation .page-numbers:hover {
  background: var(--primary-dark);
  color: #ffffff;
  border-color: var(--primary-dark);
}

body .site-footer {
  background-color: #0c0a11;
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 0 25px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body .site-footer a {
  color: #ffffff;
  text-decoration: none;
}

body .site-footer a:hover {
  color: var(--primary-lighter);
}

/* ==========================================================================
   NOWE KOMPONENTY Z ARTYKUŁU O PRODUKCJI
   ========================================================================== */

/* Customowe listy (strzałki zamiast kropek) */
.article-content ul {
    margin: 20px 0 20px 30px;
    line-height: 2;
    list-style: none;
}

.article-content li {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: #444;
    position: relative;
    padding-left: 25px;
}

.article-content ul li::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #8a79a8;
    font-size: 1.1rem;
}

.article-content ol {
    list-style: decimal;
    padding-left: 30px;
}

.article-content ol li::before {
    content: none;
}

.article-content ol li {
    padding-left: 10px;
}

/* Tabela Cen */
.price-table {
    background: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.price-row {
    display: grid;
    grid-template-columns: 2fr 1fr 3fr;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    gap: 20px;
    align-items: center;
}

.price-row:first-child {
    background: linear-gradient(135deg, #8a79a8, #b19cd9);
    color: white;
    font-weight: 700;
}

.price-row:hover:not(:first-child) {
    background: rgba(138, 121, 168, 0.05);
}

.price-service {
    font-weight: 600;
}

.price-cost {
    font-weight: 700;
    color: #8a79a8;
    font-size: 1.1rem;
}

.price-row:first-child .price-cost {
    color: white;
}

/* Oś czasu (Timeline) */
.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    bottom: -40px;
    width: 2px;
    background: linear-gradient(180deg, #8a79a8, #b19cd9);
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #8a79a8, #b19cd9);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 3px 15px rgba(138, 121, 168, 0.3);
}

.timeline-content h3 {
    margin-top: 0;
    color: #1a0f2e;
}

.timeline-content ul li::before {
    color: #8a79a8;
}

/* Sekcja FAQ */
.faq-section {
    background: transparent !important;
    padding: 10px 0 !important;
    margin-top: 40px !important;
}

.faq-container {
    max-width: 100% !important;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: left !important;
    font-size: 1.85rem !important;
    color: var(--sd-bg-1) !important;
    margin-bottom: 25px !important;
}

.faq-item {
    background: #ffffff !important;
    margin-bottom: 16px !important;
    border-radius: 8px !important;
    overflow: hidden;
    border: 1px solid #e7dff2 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
}

.faq-question {
    padding: 25px;
    cursor: pointer;
    font-weight: 600;
    color: #1a0f2e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(138, 121, 168, 0.05);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   8. RESPONSYWNOŚĆ
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  body.blog #main,
  body.archive #main {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  body.blog #main,
  body.archive #main {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .mobile-menu-btn { display: flex; }
  .sd-nav { display: none; }
  .sd-topbar { padding: 15px 20px; }
  .sd-lang { margin-left: 0; gap: 8px; }
  .sd-pill { padding: 8px 12px; font-size: 14px; }

  .sd-blog-hero {
    padding: 65px 15px 45px;
    margin-bottom: 30px;
  }

  .sd-article-hero {
    padding: 70px 15px 45px;
  }

  body.single-post .inside-article {
    padding: 24px 18px;
  }

  .toc ul {
    column-count: 1;
  }

  .do-dont-grid {
    grid-template-columns: 1fr;
  }

  .price-row {
      grid-template-columns: 1fr;
      gap: 10px;
  }

  .timeline-item {
      padding-left: 40px;
  }
}

/* ==========================================================================
   DYNAMICZNA SEKCJA KONTAKTOWA ZE STRONY GŁÓWNEJ NA BLOGU
   ========================================================================== */

.sd-blog-contact-wrapper {
  margin-top: 50px;
  width: 100%;
}

.sd-blog-contact-wrapper .contact-hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 24px 50px;
  color: #ffffff;
  background: radial-gradient(1200px 600px at 70% 20%, rgba(255, 79, 216, 0.15), transparent 60%),
              radial-gradient(900px 500px at 20% 80%, rgba(0, 212, 255, 0.18), transparent 60%),
              linear-gradient(135deg, #12091c, #1f1130);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
}

.sd-blog-contact-wrapper .contact-hero-section::before {
  content: "";
  position: absolute;
  inset: -200px;
  background: conic-gradient(from 0deg, #0000, rgba(255, 79, 216, 0.2), #0000 35%, rgba(0, 212, 255, 0.2));
  filter: blur(60px);
  pointer-events: none;
}

.sd-blog-contact-wrapper .contact-hero-section > * {
  position: relative;
  z-index: 2;
  width: 100%;
}

.sd-blog-contact-wrapper .contact-hero-section .section-title {
  text-align: center;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Testimonial Compact */
.sd-blog-contact-wrapper .testimonials-section {
  margin-bottom: 25px;
}

.sd-blog-contact-wrapper .testimonial-container {
  max-width: 800px;
  margin: 0 auto;
}

.sd-blog-contact-wrapper .testimonial-card-compact {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 16px 20px;
}

.sd-blog-contact-wrapper .testimonial-content-compact {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sd-blog-contact-wrapper .author-photo-compact {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.sd-blog-contact-wrapper .testimonial-text-compact {
  margin: 0 0 8px 0;
  color: #f3e8ff;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.5;
}

.sd-blog-contact-wrapper .author-info-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.sd-blog-contact-wrapper .author-name-compact {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.9rem;
  margin-right: 8px;
}

.sd-blog-contact-wrapper .author-title-compact {
  color: #c084fc;
  font-size: 0.85rem;
}

.sd-blog-contact-wrapper .author-rating-compact {
  color: #fbbf24;
  font-size: 0.85rem;
}

/* Wrapper formularza i treści */
.sd-blog-contact-wrapper .contact-content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
}

.sd-blog-contact-wrapper .contact-info,
.sd-blog-contact-wrapper .contact-info p,
.sd-blog-contact-wrapper .contact-info .section-text,
.sd-blog-contact-wrapper .contact-hero-section p,
.sd-blog-contact-wrapper .contact-hero-section .section-text,
body.single-post .entry-content .sd-blog-contact-wrapper p,
body.single-post .entry-content .sd-blog-contact-wrapper .section-text,
body.single-post .entry-content .contact-hero-section p {
  flex: 1;
  color: #ffffff !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
  margin-bottom: 18px !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.sd-blog-contact-wrapper .contact-info b,
.sd-blog-contact-wrapper .contact-info strong,
body.single-post .entry-content .sd-blog-contact-wrapper b,
body.single-post .entry-content .sd-blog-contact-wrapper strong {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.sd-blog-contact-wrapper .demo-terms-wrapper {
  margin-top: 20px;
}

.sd-blog-contact-wrapper .demo-terms-link,
body.single-post .entry-content .sd-blog-contact-wrapper .demo-terms-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #38bdf8 !important;
  font-weight: 600;
  text-decoration: underline;
  font-size: 0.95rem;
}

/* Formularz */
.sd-blog-contact-wrapper .contact-form-container {
  flex: 1;
  background: rgba(0, 0, 0, 0.25);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.sd-blog-contact-wrapper .form-group {
  margin-bottom: 16px;
}

.sd-blog-contact-wrapper .form-label {
  display: block;
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  margin-bottom: 6px;
  text-align: left;
}

.sd-blog-contact-wrapper .form-control {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 8px;
  color: #ffffff !important;
  font-size: 0.95rem !important;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.sd-blog-contact-wrapper .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

.sd-blog-contact-wrapper .form-control:focus {
  border-color: #a855f7;
  background: rgba(255, 255, 255, 0.12);
}

.sd-blog-contact-wrapper textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.sd-blog-contact-wrapper .submit-btn {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #8a79a8, #b19cd9);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(138, 121, 168, 0.4);
}

.sd-blog-contact-wrapper .submit-btn:hover {
  background: linear-gradient(135deg, #9d8bb6, #c4b0ea);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(138, 121, 168, 0.6);
}

.sd-blog-contact-wrapper .form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
}

.sd-blog-contact-wrapper .form-message.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid #10b981;
  color: #34d399;
}

.sd-blog-contact-wrapper .form-message.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #ef4444;
  color: #f87171;
}

.sd-blog-contact-wrapper .social-links {
  text-align: center;
  margin-top: 20px;
}

.sd-blog-contact-wrapper .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.2rem;
  transition: all 0.2s ease;
}

.sd-blog-contact-wrapper .social-link:hover {
  background: #e1306c;
  transform: scale(1.1);
}

/* RWD dla modułu na blogu */
@media (max-width: 768px) {
  .sd-blog-contact-wrapper .contact-content-wrapper {
    flex-direction: column;
    gap: 25px;
  }
  .sd-blog-contact-wrapper .testimonial-content-compact {
    flex-direction: column;
    text-align: center;
  }
  .sd-blog-contact-wrapper .author-info-compact {
    justify-content: center;
  }
}