/* ==========================================================================
   Roman-Adwokat.pl - Combined Styles
   External CSS file for better caching (Google Core Web Vitals)
   ========================================================================== */

/* CSS Variables */
:root {
  --color-gold: #c8b291;
  --color-dark: #2f2e42;
  --color-darker: #14171f;
  --color-darkest: #121212;
  --color-text: #f5f5f5;
  --color-text-muted: rgba(255, 255, 255, 0.7);
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: clip; /* clip zamiast hidden - nie blokuje sticky */
}

body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: var(--color-text);
  line-height: 1.8;
  background: var(--color-darkest);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

header {
  background: #000000;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

header .container {
  padding: 0 !important;
  max-width: 100% !important;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  color: var(--color-gold);
  font-size: 20px;
  font-weight: 700;
}

.logo-sub {
  color: var(--color-gold);
  font-size: 20px;
  font-weight: 700;
  margin-top: -8px;
}

.logo:hover .logo-main {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links > a,
.dropdown > a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-links > a:hover,
.dropdown > a:hover,
.nav-links > a.active {
  color: var(--color-gold);
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--color-dark);
  min-width: 250px;
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border-top: 2px solid var(--color-gold);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  color: var(--color-text);
  padding: 12px 20px;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s;
  text-transform: none;
}

.dropdown-menu a:hover {
  background: rgba(200, 178, 145, 0.1);
  color: var(--color-gold);
  padding-left: 25px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: var(--color-dark);
  margin-top: -10px;
  padding: 38px 0 19px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 32px;
}

.footer-logo-section {
    /* Mobile: centruj logo */
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer-logo-section img {
  height: 105px;
  width: auto;
  margin-right: 60px;
}

.footer-info {
  display: contents;
}

.footer-section h3 {
  color: var(--color-gold);
  font-size: 20px;
  margin-bottom: 15px;
}

.footer-section p {
  color: var(--color-text-muted);
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-section a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--color-gold);
}

.footer-company {
  text-align: left;
}

.footer-contact {
  text-align: left;
}

.footer-bottom {
  border-top: 1px solid rgba(200, 178, 145, 0.2);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  color: var(--color-text-muted);
  font-size: 13px;
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--color-gold);
  transition: all 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ==========================================================================
   Hero Sections
   ========================================================================== */

.page-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  contain: layout;
}

.hero-box {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 60px;
  background: rgba(47, 46, 66, 0.68);
  border-radius: 8px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-overline {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-weight: 400;
}

.page-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: white;
  margin: 0;
  line-height: 1.2;
}

/* ==========================================================================
   HERO SECTION (Homepage)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  background: linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.15)), url('/img/hero-bg.webp') center/cover no-repeat;
}

.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 400px;
}

.hero .hero-overlay,
.hero-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 100px;
  background: rgba(47, 46, 66, 0.7);
  border-radius: 8px;
  max-width: 1800px;
  margin: 0 auto;
}

.hero .hero-subtitle,
.hero-subtitle {
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
}

.hero-name {
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services {
  padding: 45px 0;
  background: var(--color-darker);
}

.section-title {
  font-size: 42px;
  font-weight: 600;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 60px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: #2f2e42;
  padding: 40px 30px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(200, 178, 145, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(200, 178, 145, 0.2);
  border-color: var(--color-gold);
  background: #3a3952;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.service-icon i {
  font-size: 22px;
  color: var(--color-darkest);
  width: 22px;
  height: 22px;
  display: inline-block;
}

.service-card h3 {
  font-size: 20px;
  color: var(--color-gold);
  margin-bottom: 15px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about {
  padding: 45px 0;
  background: var(--color-darkest);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 100px;
  aspect-ratio: 616/690;
  max-width: 616px;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.about-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.text-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--color-dark);
  border-radius: 8px;
  transition: all 0.3s;
  margin-bottom: 15px;
}

.text-item:hover {
  transform: translateX(5px);
  background: rgba(40, 38, 35, 0.9);
}

.text-item i {
  font-size: 24px;
  color: var(--color-gold);
  min-width: 24px;
  margin-top: 2px;
}

.text-item p {
  flex: 1;
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin: 0;
}

.expert-badge-image {
  margin-top: 20px;
  padding: 20px;
  background: var(--color-dark);
  border-left: 4px solid var(--color-gold);
  border-radius: 4px;
}

.expert-badge-image p:first-child {
  font-size: 16px;
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 8px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.expert-badge-image .badge-text {
  font-size: 13px;
  color: var(--color-text-muted);
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   KANCELARIA SECTION
   ========================================================================== */
.kancelaria {
  padding: 5px 0;
  background: var(--color-darker);
}

.kancelaria-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.kancelaria-intro p {
  font-size: 18px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.kancelaria-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 50px;
  margin-bottom: 60px;
}

.service-area {
  background: var(--color-dark);
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.service-area h3 {
  font-size: 24px;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.service-area p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ==========================================================================
   BCC EXPERT SECTION
   ========================================================================== */
.bcc-expert {
  padding: 30px 0;
  background: var(--color-darkest);
}

.bcc-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.bcc-logo-link {
  display: block;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  transition: all 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.bcc-logo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bcc-logo-img {
  width: 130px;
  height: 107px;
  display: block;
}

.bcc-title {
  font-size: 36px;
  color: var(--color-gold);
  margin: 0;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.bcc-box {
  background: var(--color-dark);
  padding: 40px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
  max-width: 900px;
  margin: 0 auto;
}

.bcc-box p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

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

/* ==========================================================================
   CONTACT CTA SECTION
   ========================================================================== */
.contact-cta {
  padding: 27px 0;
  background: var(--color-darkest);
}

.contact-cta .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-cta .cta-box {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-darker) 100%);
  padding: 60px;
  border: 2px solid var(--color-gold);
  border-radius: 12px;
  text-align: center;
}

.contact-cta .cta-box h2 {
  font-size: 24px;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.contact-cta .cta-box > p {
  font-size: 17px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.contact-cta .cta-contact {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.contact-cta .cta-contact p {
  font-size: 17px;
  color: var(--color-text-muted);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-cta .cta-contact a {
  color: #e0d5c7;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-cta .cta-contact a:hover {
  color: var(--color-gold);
}

/* ==========================================================================
   CLS FIX - Reserve space for images
   ========================================================================== */
.content-image img,
.content-grid img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  height: auto;
}

.imported-content-wrapper img {
  max-width: 100%;
  height: auto;
}

.media-item img {
  aspect-ratio: 16/10;
}

/* ==========================================================================
   PAGE CONTENT
   ========================================================================== */
.page-content {
  padding: 30px 0;
  background: var(--color-darkest);
}

.content-block {
  padding: 30px 0;
}

.page-content > .content-block:nth-child(odd) {
  background: var(--color-darker);
}

.page-content > .content-block:nth-child(even) {
  background: var(--color-darkest);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.content-grid.reverse .content-image {
  order: 2;
}

.content-grid.reverse .content-text {
  order: 1;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.content-text h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.content-text p {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
}

.content-text ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.content-text ul li {
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 0;
  padding: 12px 0 12px 30px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-text ul li:last-child {
  border-bottom: none;
}

.content-text ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--color-gold);
  font-size: 18px;
  font-weight: 700;
}

/* Text Sections */
.text-sections {
  margin-top: 64px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.text-section {
  padding: 40px;
  background: rgba(47, 46, 66, 0.3);
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.text-section h2 {
  font-size: 24px;
  color: var(--color-gold);
  margin-bottom: 16px;
  margin-top: -10px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  line-height: 1.3;
}

.text-section p {
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
}

/* ==========================================================================
   CTA BOX
   ========================================================================== */
.cta-box {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-darker) 100%);
  padding: 60px;
  text-align: center;
  border-radius: 12px;
  border: 2px solid var(--color-gold);
  margin-top: 40px;
  margin-bottom: 40px;
}

.cta-box h2 {
  font-size: 24px;
  color: var(--color-gold);
  margin-bottom: 20px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.cta-box p {
  font-size: 18px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.cta-contact {
  display: flex !important;
  justify-content: center !important;
  gap: 40px !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
}

.cta-contact p {
  margin: 0;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-contact a {
  color: #e0d5c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.cta-contact a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-darkest);
  padding: 16px 48px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #c4a35a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 151, 96, 0.4);
}

/* ==========================================================================
   CONTENT SECTION
   ========================================================================== */
.main-content {
  padding: 60px 0;
  background: var(--color-darkest);
}

.content-section {
  margin-bottom: 60px;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
}

.content-section h2 {
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 30px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  border-bottom: 2px solid var(--color-gold);
  padding-bottom: 15px;
}

.content-section h3 {
  font-size: 24px;
  color: var(--color-gold);
  margin: 25px 0 15px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}

.content-section p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.content-section ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.content-section li {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-muted);
  padding-left: 30px;
  margin-bottom: 10px;
  position: relative;
}

.content-section li::before {
  content: "\2192";
  color: var(--color-gold);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.content-section strong {
  color: var(--color-gold);
}

/* Qualification items */
.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.qualification-item {
  background: rgba(47, 46, 66, 0.3);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.qualification-item h3 {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.qualification-item h3 i {
  color: var(--color-gold);
  font-size: 32px;
}

/* Service details */
.services-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-detail {
  background: rgba(47, 46, 66, 0.3);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.service-detail h3 {
  margin-top: -10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-detail h3 i {
  color: var(--color-gold);
}

/* Location section */
.location-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.location-item {
  background: rgba(47, 46, 66, 0.3);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--color-gold);
}

.location-item h3 {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  font-size: 20px;
}

.location-item h3 i {
  color: var(--color-gold);
}

.location-item a {
  color: var(--color-gold);
  text-decoration: none;
}

.location-item a:hover {
  text-decoration: underline;
}

/* Why us section */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.why-us-item {
  background: rgba(47, 46, 66, 0.3);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}

.why-us-item i {
  font-size: 48px;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.why-us-item h3 {
  margin-top: -10px;
  font-size: 20px;
}

.why-us-item p {
  margin-bottom: 0;
}

/* ==========================================================================
   MEDIA GRID
   ========================================================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.media-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 4px solid var(--color-gold);
}

.media-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.media-item a {
  display: block;
  text-decoration: none;
  color: var(--color-text);
}

.media-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.media-item p {
  padding: 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  color: var(--color-text);
  background: var(--color-dark);
}

/* Services section */
section.services-section {
  padding: 80px 0;
  background: var(--color-dark);
}

.content-section.services-section {
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
}

/* Home Hero */
.home-hero {
  /* Zdjęcie przesunięte 40px w lewo */
  min-height: 400px;
  background-size: cover;
  background-position: calc(50% - 90px) center;
  display: flex;
  align-items: center;
  position: relative;
}

.home-hero .home-hero .hero-overlay {
  width: 100%;
  min-height: 80vh;
  background: linear-gradient(to right, rgba(20,23,31,0.95), rgba(20,23,31,0.6));
  display: flex;
  align-items: center;
}

.home-hero .hero-content {
  max-width: 800px;
  padding: 60px;
}

.home-hero .hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: white;
  text-align: left;
}

.home-hero .hero-subtitle {
  font-size: 20px;
  color: var(--color-text-muted);
  margin-top: 20px;
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-content {
  background: var(--color-darkest);
  padding: 70px 20px 5px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.photo-column img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.info-column h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 20px;
}

.info-column .divider {
  border: none;
  border-top: 2px solid #e8e8e8;
  margin: 0 0 30px;
}

.firm-name {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 30px;
}

.contact-item {
  margin: 0 0 15px;
}

.contact-item a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

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

.contact-item .label {
  color: var(--color-gold);
  font-weight: 600;
}

.map-section {
  background: var(--color-darkest);
  padding-top: 25px;
  padding-bottom: 40px;
}

.map-section iframe {
  display: block;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .content-block {
    padding: 15px 0;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .content-grid .content-image,
  .content-grid.reverse .content-image {
    order: 1 !important;
  }

  .content-grid .content-text,
  .content-grid.reverse .content-text {
    order: 2 !important;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: relative;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-dark);
    flex-direction: column;
    gap: 0;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links > a,
  .dropdown > a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(200, 178, 145, 0.1);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    padding-left: 20px;
  }

  .footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-logo-section {
    /* Mobile: centruj logo */
    order: 2;
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
  }

  .footer-logo-section img {
    margin-right: 0;
  }

  .footer-info {
    display: contents;
  }

  .footer-company {
    text-align: center;
    order: 1;
    grid-row: 1;
  }

  .footer-contact {
    text-align: center;
    order: 3;
    grid-row: 3;
  }

  .page-hero {
    min-height: 280px;
    padding-top: 60px;
    padding-bottom: 40px;
  }

  .hero-box {
    padding: 40px 30px;
    max-width: 90%;
  }

  .hero-overline {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .hero {
    background-position: 77% center !important;
    background-size: auto 100% !important;
    padding: 60px 20px 40px;
    min-height: 280px;
  }

  .hero .hero-overlay,
  .hero-overlay {
    padding: 40px 30px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }

  .hero-overlay {
    padding: 20px 25px;
    max-width: 85%;
    margin: 0 auto;
  }

  /* Nadpisz istniejące */
  .hero-subtitle-override {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .hero-name {
    font-size: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    position: static;
  }

  .about, .services, .kancelaria, .bcc-expert, .contact-cta {
    padding: 15px 0;
  }

  .hero-wrapper {
    padding-bottom: 0;
    align-items: flex-end;
    padding-bottom: 30px;
  }

  .hero-box h1 {
    font-size: 24px;
  }

  .content-text h2 {
    font-size: 26px;
  }

  .text-section h2 {
    font-size: 24px;
  }

  .cta-box {
    padding: 40px 20px;
  }

  .cta-box h2 {
    font-size: 26px;
  }

  .cta-contact {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .contact-cta .cta-box {
    padding: 40px 20px;
  }

  .contact-cta .cta-contact {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .home-hero .hero-content h1 {
    font-size: 36px;
  }

  .home-hero .hero-content {
    padding: 40px 20px;
  }

  .media-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .media-item img {
    height: 250px;
  }

  .content-section {
    padding: 25px;
  }

  .content-section h2 {
    font-size: 28px;
  }

  .contact-content {
    padding: 40px 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .info-column h2 {
    font-size: 24px;
  }
}

/* ==========================================================================
   PAGE SPECIFIC STYLES (default.html)
   ========================================================================== */
.intro-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(200, 178, 145, 0.05);
  border-left: 4px solid var(--color-gold);
}

.section-content {
  color: var(--color-text-muted);
  line-height: 1.8;
}

.section-content p {
  margin-bottom: 20px;
}

.section-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.section-content li {
  margin-bottom: 10px;
  color: var(--color-text-muted);
}

/* CTA Section */
.cta-section {
  background: var(--color-dark);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   HOMEPAGE SPECIFIC STYLES (home.html)
   ========================================================================== */
.hero-content .hero-overline {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 56px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-cta {
  display: inline-block;
  padding: 16px 40px;
  background: var(--color-gold);
  color: var(--color-darkest);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.hero-cta:hover {
  background: #e0d5c7;
  transform: translateY(-2px);
}

/* About Section */
.about-section {
  padding: 100px 0;
  background: var(--color-dark);
}

.about-content h2 {
  font-size: 36px;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: gap 0.3s;
}

.about-link:hover {
  gap: 15px;
}

/* Why Us Section */
.why-section {
  padding: 100px 0;
  background: var(--color-darkest);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.why-card {
  text-align: center;
  padding: 40px 30px;
}

.why-card i {
  font-size: 56px;
  color: var(--color-gold);
  margin-bottom: 24px;
}

.why-card h3 {
  font-size: 22px;
  color: white;
  margin-bottom: 15px;
}

.why-card p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .intro-text {
    padding: 20px;
    font-size: 16px;
  }

  .cta-section {
    padding: 60px 20px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Blog Post - Article Styles
   ========================================================================== */

/* Article Hero */
.article-hero {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.article-hero .home-hero .hero-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(20, 23, 31, 0.95) 0%,
        rgba(20, 23, 31, 0.85) 40%,
        rgba(20, 23, 31, 0.4) 70%,
        rgba(20, 23, 31, 0.6) 100%
    );
    padding: 100px 20px 60px;
}

.article-hero .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c8b291;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.article-category:hover {
    color: #e0d5c7;
}

.article-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0 0 30px 0;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.article-meta .author-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-meta .author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200, 178, 145, 0.5);
}

.author-details {
    display: flex;
    flex-direction: column;
}

.article-meta .author-name {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.article-meta .author-title {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.meta-info .separator {
    color: rgba(255, 255, 255, 0.3);
}

/* Article Content */
.article-content {
    background: #14171f;
    padding: 60px 20px 80px;
}

.article-content .container {
    max-width: 800px;
}

/* Override for new 3-column layout */
.article-content .container:has(.article-layout) {
    max-width: 1400px;
}

.article-content .article-layout {
    max-width: 1400px;
}

.article-lead {
    font-size: 22px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(200, 178, 145, 0.2);
}

.article-body {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

.article-body h2 {
    font-size: 24px;
    font-weight: 700;
    color: #c8b291;
    margin: 50px 0 25px;
}

.article-body h3 {
    font-size: 24px;
    font-weight: 600;
    color: white;
    margin: 40px 0 20px;
}

.article-body p {
    margin-bottom: 25px;
}

.article-body ul,
.article-body ol {
    margin: 25px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 12px;
}

.article-body blockquote {
    margin: 40px 0;
    padding: 30px;
    background: rgba(200, 178, 145, 0.1);
    border-left: 4px solid #c8b291;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.article-body a {
    color: #c8b291;
    text-decoration: underline;
    transition: color 0.3s;
}

.article-body a:hover {
    color: #e0d5c7;
}

/* Tags */
.article-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tags-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(200, 178, 145, 0.15);
    border-radius: 20px;
    color: #c8b291;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.tag:hover {
    background: rgba(200, 178, 145, 0.25);
}

/* Author Box */
.author-box {
    margin-top: 60px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 178, 145, 0.2);
    border-radius: 12px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.author-box .author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c8b291;
    flex-shrink: 0;
}

.author-box h3 {
    font-size: 22px;
    color: white;
    margin: 0 0 5px 0;
}

.author-box .author-role {
    font-size: 14px;
    color: #c8b291;
    margin: 0 0 15px 0;
}

.author-box .author-bio {
    font-size: 15px;
    font-style: italic;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 15px 0;
    padding: 0;
    border: none;
    background: none;
}

/* Related Posts */
.related-posts {
    background: #1a1d24;
    padding: 80px 20px;
}

.related-posts h2 {
    font-size: 24px;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.related-card {
    background: #14171f;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
}

.related-card a {
    text-decoration: none;
}

.related-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
}

.related-card h3 {
    font-size: 18px;
    color: white;
    padding: 20px 20px 10px;
    margin: 0;
    transition: color 0.3s;
}

.related-card:hover h3 {
    color: #c8b291;
}

.related-card .date {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    padding: 0 20px 20px;
}

/* Article Navigation */
.article-nav {
    background: #14171f;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #c8b291;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: gap 0.3s;
}

.back-to-blog:hover {
    gap: 15px;
}

/* FAQ Section */
.faq-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(200, 178, 145, 0.2);
}

.faq-section h2 {
    font-size: 28px;
    color: #c8b291;
    margin-bottom: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 178, 145, 0.15);
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #c8b291;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Legal Disclaimer */
.legal-disclaimer {
    margin-top: 50px;
    padding: 25px 30px;
    background: rgba(200, 178, 145, 0.08);
    border: 1px solid rgba(200, 178, 145, 0.2);
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.disclaimer-icon {
    font-size: 24px;
    color: #c8b291;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(200, 178, 145, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disclaimer-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #c8b291;
    margin: 0 0 10px 0;
}

.disclaimer-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 10px 0;
}

.disclaimer-content p:last-child {
    margin-bottom: 0;
}

.disclaimer-meta {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Author Box Enhanced */
.author-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #c8b291;
    display: block;
    margin-bottom: 8px;
}

.author-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.contact-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #c8b291;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-link:hover {
    color: white;
}

.contact-separator {
    color: rgba(200, 178, 145, 0.4);
    font-size: 8px;
}

.author-cta {
    display: inline-block;
    padding: 12px 28px;
    background: #c8b291;
    color: #14171f;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.author-cta:hover {
    background: #e0d5c7;
    transform: translateY(-2px);
}

/* Article CTA Box */
.article-cta-box {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, var(--color-dark) 0%, rgba(47, 46, 66, 0.8) 100%);
    border: 2px solid #c8b291;
    border-radius: 12px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.cta-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #c8b291;
    flex-shrink: 0;
}

.cta-content h3 {
    font-size: 24px;
    color: #c8b291;
    margin: 0 0 10px 0;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 20px 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.cta-btn-primary {
    background: #c8b291;
    color: #14171f;
}

.cta-btn-primary:hover {
    background: #e0d5c7;
    transform: translateY(-2px);
}

.cta-btn-secondary {
    background: transparent;
    color: #c8b291;
    border: 2px solid #c8b291;
}

.cta-btn-secondary:hover {
    background: rgba(200, 178, 145, 0.1);
}

/* Blog Post Responsive */
@media (max-width: 768px) {
    .article-hero .hero-overlay {
        padding: 80px 20px 40px;
    }

    .article-hero h1 {
        font-size: 24px;
    }

    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .article-lead {
        font-size: 18px;
    }

    .article-body {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 26px;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .article-cta-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .cta-avatar {
        width: 100px;
        height: 100px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .faq-item {
        padding: 20px;
    }

    .faq-item h3 {
        font-size: 16px;
    }

    .legal-disclaimer {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }

    .author-contact {
        justify-content: center;
    }

    .author-cta {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   Blog Index & Category - Listing Styles
   ========================================================================== */

/* Featured Hero Section */
.featured-hero {
    min-height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: stretch;
    margin-top: -20px;
}

.featured-overlay {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    background: linear-gradient(
        to top,
        rgba(20, 23, 31, 0.95) 0%,
        rgba(20, 23, 31, 0.85) 40%,
        rgba(20, 23, 31, 0.4) 70%,
        rgba(20, 23, 31, 0.6) 100%
    );
    padding: 80px 20px 60px;
}

.featured-content {
    max-width: 900px;
    margin: 0 auto;
}

.featured-badges {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge-featured {
    background: rgba(200, 178, 145, 0.2);
    border: 1px solid rgba(200, 178, 145, 0.5);
    color: #c8b291;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.badge-category {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 8px 0;
    font-size: 14px;
}

.featured-title {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 24px 0;
}

.featured-excerpt {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0 0 32px 0;
    max-width: 800px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(200, 178, 145, 0.5);
}

.author-name {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
}

.article-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.article-info .separator {
    color: rgba(255, 255, 255, 0.3);
}

.read-article-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c8b291;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-article-link:hover {
    color: #e0d5c7;
}

.read-article-link .arrow {
    transition: transform 0.3s ease;
}

.read-article-link:hover .arrow {
    transform: translateX(4px);
}

/* Category Hero */
.category-hero {
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a1d24 100%);
    padding: 80px 20px 60px;
    text-align: center;
}

.category-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #c8b291;
    margin: 0 0 16px 0;
}

.category-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.article-count {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* Category Filter Pills */
.category-filter {
    background: linear-gradient(to bottom, rgba(20, 23, 31, 0.95), #14171f);
    padding: 40px 20px 50px;
}

.filter-container {
    max-width: 1200px;
    margin: 0 auto;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(200, 178, 145, 0.4);
    color: #ffffff;
}

.pill.active {
    background: rgba(200, 178, 145, 0.2);
    border-color: rgba(200, 178, 145, 0.5);
    color: #c8b291;
}

.pill-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.pill.active .pill-count {
    background: rgba(200, 178, 145, 0.3);
    color: #c8b291;
}

/* Articles Section */
.articles-section {
    background: #14171f;
    padding: 60px 20px 80px;
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.articles-count {
    font-size: 16px;
    color: #c8b291;
    margin: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

/* Article Grid Card */
.article-grid-card {
    background: #1e242c;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-image-link {
    display: block;
}

.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

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

.card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-dark), var(--color-darkest));
}

.article-grid-card:hover .card-image img {
    transform: scale(1.05);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    pointer-events: none;
}

.card-content {
    padding: 24px;
}

.card-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c8b291;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.card-category:hover {
    color: #e0d5c7;
}

.card-title-link {
    text-decoration: none;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.card-title-link:hover .card-title {
    color: #c8b291;
}

.card-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0 0 20px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-meta .separator {
    color: rgba(255, 255, 255, 0.3);
}

.no-articles {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.no-articles p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.back-link {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(200, 178, 145, 0.2);
    color: #c8b291;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
}

.back-link:hover {
    background: rgba(200, 178, 145, 0.3);
}

.coming-soon {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    border: 2px dashed rgba(200, 178, 145, 0.3);
}

.coming-soon h3 {
    font-size: 24px;
    color: #c8b291;
    margin: 0 0 12px 0;
}

.coming-soon p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Blog Listing Responsive */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .featured-hero {
        min-height: 500px;
    }

    .featured-overlay {
        padding: 60px 20px 40px;
    }

    .featured-title {
        font-size: 24px;
    }

    .featured-excerpt {
        font-size: 16px;
    }

    .featured-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .category-hero {
        padding: 60px 20px 40px;
    }

    .category-hero h1 {
        font-size: 24px;
    }

    .category-filter {
        padding: 30px 15px 40px;
    }

    .filter-pills {
        gap: 8px;
    }

    .pill {
        padding: 10px 18px;
        font-size: 13px;
    }

    .section-header h2 {
        font-size: 28px;
    }

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

@media (max-width: 480px) {
    .featured-title {
        font-size: 26px;
    }

    .featured-badges {
        flex-direction: column;
        gap: 8px;
    }

    .badge-featured,
    .badge-category {
        display: inline-block;
        width: fit-content;
    }

    .pill {
        padding: 8px 14px;
        font-size: 12px;
    }

    .pill-count {
        min-width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* ==========================================================================
   Blog Post Page Styles
   ========================================================================== */

/* Post Hero - płynne przejście do TOC */
.post-hero {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(20, 23, 31, 1) 100%
    );
    display: flex;
    align-items: flex-end;
}

.post-hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px 40px;
    text-align: center;
}

.post-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 24px 0;
    line-height: 1.2;
    font-family: Georgia, 'Times New Roman', serif;
}

.post-hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.post-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author-name {
    font-weight: 500;
}

.post-meta-sep {
    color: rgba(255, 255, 255, 0.4);
}

.post-meta-dot {
    color: rgba(255, 255, 255, 0.4);
}

/* TOC + Categories Section */
.post-toc-section {
    background: #14171f;
    padding: 0 30px 60px;
}

.post-toc-container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

/* TOC Box */
.post-toc-box {
    background: #1c1f2a;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.post-toc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.post-toc-icon {
    font-size: 18px;
    color: var(--color-gold, #c8b291);
}

.post-toc-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-gold, #c8b291);
}

.post-toc-list {
    display: flex;
    flex-direction: column;
}

.post-toc-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease;
}

.post-toc-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-toc-item:first-child {
    padding-top: 0;
}

.post-toc-item:hover {
    color: #fff;
}

.post-toc-num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    background: rgba(200, 178, 145, 0.1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gold, #c8b291);
    flex-shrink: 0;
}

.post-toc-text {
    padding-top: 5px;
}

/* Categories Box */
.post-categories-box {
    background: #1c1f2a;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    height: fit-content;
}

.post-categories-title {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 24px 0;
    font-family: Georgia, 'Times New Roman', serif;
}

.post-categories-list {
    display: flex;
    flex-direction: column;
}

.post-category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: color 0.2s ease;
}

.post-category-item:last-child {
    border-bottom: none;
}

.post-category-item:hover {
    color: #fff;
}

.post-category-item.active {
    color: var(--color-gold, #c8b291);
}

.post-category-arrow {
    opacity: 0.4;
    transition: all 0.2s ease;
}

.post-category-item:hover .post-category-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* Article Content */
.post-article {
    background: #14171f;
    padding: 60px 30px 80px;
}

.post-article-container {
    max-width: 800px;
    margin: 0 auto;
}

.post-lead {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    padding: 20px 24px;
    border-left: 3px solid #c9b494;
    background: #1b1e25;
    border-radius: 0 8px 8px 0;
}

.post-body {
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
}

.post-body h2 {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin: 50px 0 24px;
    font-family: Georgia, 'Times New Roman', serif;
}

.post-body h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 40px 0 16px;
}

.post-body p {
    margin-bottom: 20px;
}

.post-body ul, .post-body ol {
    margin: 20px 0;
    padding-left: 24px;
}

.post-body li {
    margin-bottom: 10px;
}

/* Post Disclaimer */
.post-disclaimer {
    display: flex;
    gap: 16px;
    background: rgba(200, 178, 145, 0.08);
    border: 1px solid rgba(200, 178, 145, 0.15);
    border-radius: 12px;
    padding: 24px;
    margin: 50px 0;
}

.post-disclaimer-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.post-disclaimer h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-gold, #c8b291);
    margin: 0 0 8px 0;
}

.post-disclaimer p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* Author Box */
.post-author-box {
    display: flex;
    gap: 24px;
    background: #1c1f2a;
    border-radius: 16px;
    padding: 32px;
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.post-author-photo {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.post-author-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--color-gold, #c8b291);
    display: block;
    margin-bottom: 8px;
}

.post-author-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px 0;
}

.post-author-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 16px 0;
}

.post-author-bio {
    font-size: 15px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
}

.post-author-cta {
    display: inline-block;
    color: var(--color-gold, #c8b291);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.post-author-cta:hover {
    opacity: 0.8;
}

/* Related Posts */
.post-related {
    background: #0d0f14;
    padding: 60px 30px;
}

.post-related h2 {
    font-size: 28px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.post-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.post-related-card a {
    display: block;
    text-decoration: none;
}

.post-related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.post-related-card h3 {
    font-size: 16px;
    color: #fff;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.post-related-card .date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* Back Navigation */
.post-back-nav {
    background: #14171f;
    padding: 30px;
    text-align: center;
}

.post-back-link {
    color: var(--color-gold, #c8b291);
    text-decoration: none;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .post-toc-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .post-hero-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .post-hero {
        min-height: 300px;
    }
    
    .post-hero-title {
        font-size: 26px;
    }
    
    .post-hero-meta {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .post-toc-box,
    .post-categories-box {
        padding: 24px;
    }
    
    .post-author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .post-author-photo {
        margin: 0 auto;
    }
    
    .post-related-grid {
        grid-template-columns: 1fr;
    }
}

/* FIXES - TOC i Categories */

/* TOC items - bez kresek, mniejsze odstępy */
.post-toc-item {
    padding: 10px 0;
    border-bottom: none;
}

.post-toc-item:first-child {
    padding-top: 0;
}

.post-toc-item:last-child {
    padding-bottom: 0;
}

/* Categories - boxy zamiast linii */
.post-category-item {
    padding: 14px 18px;
    border-bottom: none;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    margin-bottom: 8px;
}

.post-category-item:last-child {
    margin-bottom: 0;
}

.post-category-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.post-category-item.active {
    background: rgba(200, 178, 145, 0.12);
    border: 1px solid rgba(200, 178, 145, 0.3);
}

/* COMPACT FIXES - nadpisanie wszystkich poprzednich */

.post-toc-section {
    padding: 0 30px 40px;
}

.post-toc-container {
    gap: 30px;
}

.post-toc-box,
.post-categories-box {
    padding: 24px;
}

.post-toc-header {
    margin-bottom: 16px;
    padding-bottom: 14px;
}

.post-toc-list {
    text-align: left;
}

.post-toc-item {
    padding: 8px 0 !important;
    justify-content: flex-start;
    text-align: left;
}

.post-toc-num {
    min-width: 26px;
    height: 26px;
    font-size: 12px;
}

.post-toc-text {
    padding-top: 2px;
    font-size: 14px;
}

.post-categories-title {
    font-size: 18px;
    margin-bottom: 16px;
    text-align: left;
}

.post-categories-list {
    text-align: left;
}

.post-category-item {
    padding: 12px 16px !important;
    margin-bottom: 6px !important;
    font-size: 14px;
    justify-content: space-between;
    text-align: left;
}

.post-category-item span:first-child {
    text-align: left;
}

/* FINAL FIXES - wyrównanie do lewej */

.post-toc-list,
.post-categories-list {
    align-items: flex-start !important;
}

.post-toc-item {
    justify-content: flex-start !important;
    width: 100% !important;
}

.post-toc-num {
    flex-shrink: 0 !important;
}

.post-toc-text {
    text-align: left !important;
}

/* Kategorie - tekst do lewej, strzałka do prawej */
.post-category-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    text-align: left !important;
}

.post-category-item span:first-child {
    flex: 1 !important;
    text-align: left !important;
}

.post-category-arrow {
    flex-shrink: 0 !important;
    margin-left: auto !important;
}

/* Kategorie box - nie centruj zawartości */
.post-categories-box {
    text-align: left !important;
}

.post-categories-nav {
    align-items: stretch !important;
}

/* PADDING FIXES */

.post-toc-box {
    padding: 20px !important;
}

.post-toc-header {
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
}

.post-toc-list {
    padding: 0 !important;
    margin: 0 !important;
}

.post-toc-item {
    padding: 6px 0 !important;
    gap: 12px !important;
}

.post-categories-box {
    padding: 20px !important;
}

.post-categories-title {
    margin-bottom: 12px !important;
}

.post-categories-list {
    width: 100% !important;
}

.post-category-item {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 14px !important;
    margin-bottom: 4px !important;
}

/* COLOR FIX - tło #14171f */

.post-toc-section {
    background: #14171f !important;
}

.post-toc-box,
.post-categories-box {
    background: #1b1e25 !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.post-category-item {
    background: #21252c !important;
}

.post-category-item:hover {
    background: #333 !important;
}

.post-category-item.active {
    background: rgba(200, 178, 145, 0.15) !important;
    border: 1px solid rgba(200, 178, 145, 0.3) !important;
}

.post-article {
    background: #14171f !important;
}

.post-toc-box ol li { background: #21252c !important; padding: 6px 10px !important; margin-bottom: 4px !important; border-radius: 4px !important; }
/* ===== POST 2-COLUMN LAYOUT ===== */
.post-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #14171f;
}

/* Sidebar - lewa kolumna */
.post-sidebar {
    position: relative;
}

.post-sidebar-sticky {
    position: sticky;
    top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* TOC Box */
.post-toc-box {
    background: #1b1e25 !important;
    border-radius: 8px;
    padding: 16px;
}

.post-toc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.post-toc-icon {
    font-size: 16px;
}

.post-toc-list ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
}

.post-toc-list ol li {
    counter-increment: toc-counter;
    background: #21252c !important;
    border-radius: 4px;
    margin-bottom: 4px;
}

.post-toc-list ol li a {
    display: block;
    padding: 8px 10px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
    transition: color 0.2s;
}

.post-toc-list ol li a:before {
    content: counter(toc-counter) ". ";
    color: #9ca3af;
}

.post-toc-list ol li a:hover {
    color: #c9a962;
}

/* Categories Box */
.post-categories-box {
    background: #1b1e25 !important;
    border-radius: 8px;
    padding: 16px;
}

.post-categories-title {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.post-categories-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #21252c !important;
    padding: 8px 12px;
    border-radius: 4px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}

.post-category-item:hover,
.post-category-item.active {
    background: #2a2f38 !important;
    color: #c9a962;
}

.post-category-arrow {
    color: #6b7280;
    font-size: 12px;
}

/* Contact Box */
.post-contact-box {
    background: #222633 !important;
    border-radius: 8px;
    padding: 24px;
}

.post-contact-icon {
    width: 52px;
    height: 52px;
    background: #39393f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #c9b494;
}

.post-contact-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
    font-family: inherit;
}

.post-contact-text {
    color: #808080;
    font-size: 15px;
    margin: 0 0 20px 0;
    line-height: 1.6;
    font-family: inherit;
}

.post-contact-btn {
    display: block;
    background: linear-gradient(135deg, #c6b192 0%, #ab9978 100%);
    color: #14171f;
    text-align: center;
    padding: 14px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 24px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}

.post-contact-btn:hover {
    background: linear-gradient(135deg, #d4c4a6 0%, #bba888 100%);
    transform: translateY(-1px);
}

.post-contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-contact-row {
    display: flex;
    gap: 12px;
    font-size: 14px;
    line-height: 1.8;
}

.post-contact-label {
    color: #808080;
    min-width: 50px;
    font-family: inherit;
}

.post-contact-value {
    color: #c9b494;
    text-decoration: none;
    font-family: inherit;
    font-weight: 400;
}

.post-contact-value:hover {
    text-decoration: underline;
}

/* Article - prawa kolumna */
.post-layout .post-article {
    background: transparent !important;
    padding: 0 !important;
}

.post-layout .post-article-container {
    max-width: none;
    padding: 0;
}

/* Responsive */
@media (max-width: 900px) {
    .post-layout {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar-sticky {
        position: static;
    }
}

/* Usuń stare style sekcji TOC */
.post-toc-section {
    display: none !important;
}

/* Ukryj article-intro bo używamy post-lead */
.post-body .article-intro {
    display: none !important;
}

/* Notice/Warning Box */
.notice-box {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 12px;
    margin: 32px 0;
    border: 1px solid #c9a96244;
    background: linear-gradient(135deg, #1f2128 0%, #1a1c22 100%);
}

.notice-box.notice-warning {
    border-color: #c9a962;
    background: linear-gradient(135deg, #252218 0%, #1a1c22 100%);
}

.notice-icon {
    font-size: 28px;
    flex-shrink: 0;
    line-height: 1;
}

.notice-content {
    flex: 1;
}

.notice-content h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.notice-content p {
    color: #b8b8b8;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Key Points Box */
.key-points-box {
    padding: 28px 32px;
    border-radius: 12px;
    margin: 32px 0;
    border: 1px solid #c9a96244;
    background: #1a1c22;
}

.key-points-box h3 {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.key-points-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.key-points-box ul li {
    color: #c9b494;
    font-size: 15px;
    line-height: 1.7;
    padding: 10px 0;
    border-bottom: none;
}

.key-points-box ul li:last-child {
    padding-bottom: 0;
}

/* Disclaimer Box */
.disclaimer-box {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 12px;
    margin: 40px 0;
    border: 1px solid #4a6fa5;
    background: linear-gradient(135deg, #1a2332 0%, #1a1c22 100%);
}

.disclaimer-icon {
    width: 36px;
    height: 36px;
    background: #4a6fa5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.disclaimer-content {
    flex: 1;
}

.disclaimer-content h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.disclaimer-content p {
    color: #9ca3af;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.disclaimer-meta {
    color: #6b7280;
    font-size: 13px;
}

.disclaimer-meta strong {
    color: #9ca3af;
}

/* Ukryj duplikat disclaimera z content_html */
.notice-box.notice-info {
    display: none !important;
}

/* ===== CTA Section (pod artykułem) ===== */
.article-cta {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-radius: 16px;
    padding: 48px;
    margin: 48px 0;
    text-align: center;
    border: 1px solid rgba(201, 169, 98, 0.3);
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    margin: 0 0 16px 0 !important;
}

.cta-text {
    color: #9ca3af !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin: 0 0 32px 0 !important;
}

.cta-buttons {
    display: flex !important;
    gap: 16px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
}

.cta-btn-primary {
    background: linear-gradient(135deg, #c6b192 0%, #ab9978 100%) !important;
    color: #14171f !important;
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 98, 0.3);
}

.cta-btn-secondary {
    background: transparent !important;
    color: #c9b494 !important;
    border: 1px solid #c9b494 !important;
}

.cta-btn-secondary:hover {
    background: rgba(201, 169, 98, 0.1) !important;
}


/* ===== Post Content Wrapper ===== */
.post-content-wrapper {
    flex: 1;
    min-width: 0;
}

.post-components {
    max-width: 800px;
    padding: 0 20px;
}

/* ===== Author Box ===== */
.author-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 12px;
    margin-top: 24px;
    background: #1b1e25;
    border: 1px solid #2a2d35;
}

.author-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #c9a962;
}

.author-photo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #2a2d35;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    border: 2px solid #3a3d45;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-label {
    color: #6b7280;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.author-date {
    color: #9ca3af;
    font-size: 14px;
}

/* Disclaimer w components - bez top margin */
.post-components .disclaimer-box {
    margin-top: 40px;
    margin-bottom: 0;
}

/* ===== Author Box V2 (new design) ===== */
.author-box-v2 {
    display: flex;
    gap: 32px;
    padding: 40px;
    margin-top: 40px;
    background: #14171f;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-photo-v2 {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.author-photo-placeholder-v2 {
    width: 180px;
    height: 180px;
    background: #1c1f2a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    flex-shrink: 0;
}

.author-info-v2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.author-label-v2 {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.author-name-v2 {
    font-size: 36px;
    font-weight: 400;
    color: #fff;
    margin: 0 0 4px 0;
    font-family: Georgia, 'Times New Roman', serif;
}

.author-role-v2 {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.author-quote-v2 {
    font-size: 18px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 24px 0;
    padding: 0 0 0 20px;
    border-left: 3px solid #c8b291;
    line-height: 1.6;
}

.author-contact-v2 {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-contact-link {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.3s;
}

.author-contact-link:hover {
    color: #c8b291;
}

.author-contact-sep {
    font-size: 6px;
    color: rgba(255, 255, 255, 0.3);
}

/* Mobile responsive for author v2 */
@media (max-width: 768px) {
    .author-box-v2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 20px;
        gap: 24px;
    }
    
    .author-photo-v2,
    .author-photo-placeholder-v2 {
        width: 150px;
        height: 150px;
    }
    
    .author-name-v2 {
        font-size: 28px;
    }
    
    .author-quote-v2 {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid #c8b291;
        padding-top: 16px;
    }
    
    .author-contact-v2 {
        justify-content: center;
    }
}


/* ===== FAQ Section - Elegant Design ===== */
.faq-section {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, #1a1d24 0%, #14171f 100%);
    border: 1px solid rgba(200, 178, 145, 0.2);
    border-radius: 16px;
}

.faq-section h2 {
    font-size: 24px;
    color: #fff;
    margin: 0 0 32px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.faq-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #c8b291;
    margin: 0 0 12px 0;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-item h3::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    background: rgba(200, 178, 145, 0.15);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #c8b291;
    flex-shrink: 0;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding-left: 40px;
}

/* Mobile */
@media (max-width: 768px) {
    .faq-section {
        padding: 24px 20px;
        margin-top: 40px;
    }
    
    .faq-section h2 {
        font-size: 20px;
    }
    
    .faq-item h3 {
        font-size: 15px;
    }
    
    .faq-item p {
        padding-left: 0;
        margin-top: 8px;
    }
    
    .faq-item h3::before {
        min-width: 24px;
        height: 24px;
        font-size: 12px;
    }
}


/* ===== Checklist styling ===== */
.post-body ul li,
.post-body ol li {
    color: rgba(255, 255, 255, 0.85);
}

/* Checkmark lists - only the checkmark should be gold */
.post-body li {
    color: rgba(255, 255, 255, 0.85);
}

/* Override for any gold text in lists */
.checklist-item,
.post-body ul li,
.post-body ol li {
    color: rgba(255, 255, 255, 0.85) !important;
}


/* ===== Key Points Box - text white, checkmark gold ===== */
.key-points-box ul li {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 15px;
    line-height: 1.7;
    padding: 10px 0;
    border-bottom: none;
}

.key-points-box ul li::first-letter {
    color: #c9b494;
}


/* ===== Categories - full width background like TOC ===== */
.post-categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border-radius: 8px !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
    border: none !important;
}

.post-category-item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff;
}

.post-category-item.active {
    background: rgba(200, 178, 145, 0.15) !important;
    color: #c8b291;
}

.post-category-arrow {
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}

.post-category-item:hover .post-category-arrow {
    opacity: 1;
    transform: translateX(3px);
}

/* ===== Contact Box - sticky to top while scrolling ===== */
.post-contact-box {
    position: sticky;
    top: 20px;
    z-index: 100;
}

/* ==========================================================================
   STICKY CONTACT BOX - FIXED SOLUTION
   ========================================================================== */

/* 1. Rodzic (kolumna) NIE MOŻE być sticky. 
   Musi być wysoki na całą długość artykułu, aby sticky miało gdzie działać. */
.post-sidebar-column {
    position: static; /* Zmieniamy ze sticky na static */
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%; /* Ważne: zajmuje pełną wysokość siatki */
    /* Usuwamy align-self: start, aby kolumna rozciągnęła się do wysokości artykułu */
}

/* Sidebar (TOC + Kategorie) - przewijają się naturalnie */
.post-sidebar {
    position: static;
}

/* Odstępy między boksami */
.post-sidebar .post-toc-box {
    margin-bottom: 16px;
}

/* 2. To KONTAKT ma być sticky */
.post-contact-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 20px; /* Odstęp od góry ekranu, gdy się przyklei */
    z-index: 100;
    align-self: flex-start; /* Zapobiega rozciąganiu elementu w flexboxie */
}

/* Mobile - wyłącz sticky */
@media (max-width: 1024px) {
    .post-contact-sticky {
        position: static;
    }
}
/* Homepage hero - przeniesione z inline */
.home-hero .hero-bg-img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.home-hero::after{content:'';position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.15);z-index:1}
.home-hero .hero-wrapper{position:relative;z-index:2}
@media(max-width:768px){.home-hero .hero-bg-img{object-position:calc(50% - 330px) center}}

@media(max-width:768px){.services-detailed{grid-template-columns:1fr}.content-section{padding:20px;margin:0 -20px;border-radius:0}.content-section.services-section{margin:0;width:100%;max-width:100vw;overflow-x:hidden}.service-detail{padding:15px}.main-content{overflow-x:hidden}.bcc-box{padding:20px 15px}.kancelaria-services{grid-template-columns:1fr;gap:20px}.service-area{padding:20px 15px}}
