/* --- Podstawowe resetowanie i globalne style --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Upewnij się, że te zmienne są zawsze zdefiniowane! */
    --primary-color: #007bff;
    --primary-color-hover: #0056b3;
    --secondary-color: #28a745; /* Użyty dla przycisku cookies i kategorii */
    --dark-blue: #2c3e50;
    --light-text-color: #ecf0f1;
    --text-color: #444; /* Domyślny kolor tekstu */
    --light-bg-color: #f8f8f8;
    --white-color: #ffffff;
    --light-grey-bg: #eef2f6; /* Dla sekcji why-us, testimonials, faq */
    --border-color: #e9ecef;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Domyślny padding boczny dla desktopu */
}

.section-padding {
    padding: 80px 0; /* Domyślny padding góra/dół dla sekcji */
}

.bg-light {
    background-color: var(--light-grey-bg);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    text-align: center;
    font-size: 3em;
    margin-bottom: 50px;
    position: relative;
    color: var(--dark-blue); /* Upewnienie się koloru H2 */
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

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

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

/* --- Przyciski (globalne) --- */
.btn {
    display: inline-flex; /* Użycie flexboxa dla lepszego wyrównania */
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    gap: 8px; /* Odstęp dla ikon w przyciskach */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* Animacja pulsu dla przycisków */
.btn-animated {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 15px rgba(0, 123, 255, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

/* --- Nagłówek Główny (FRONTEND) --- */
.main-header {
    background-color: var(--white-color);
    padding: 0; /* Wysokość będzie kontrolowana przez header-content min-height */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000; /* Upewnij się, że nagłówek jest zawsze na wierzchu */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 90px; /* Bazowa wysokość nagłówka dla desktopu */
    transition: min-height 0.3s ease, padding 0.3s ease; /* Płynne przejścia */
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Zapobiega zmniejszaniu się logo */
}

.logo img {
    max-height: 80px; /* Maksymalna wysokość logo na desktopie */
    width: auto;
    display: block;
    margin-right: 30px; /* Odstęp między logo a menu */
    transition: max-height 0.3s ease; /* Animacja zmiany rozmiaru logo */
}

.logo a { /* Jeśli logo jest linkiem tekstowym, te style są nadal potrzebne */
    font-size: 1.8em;
    font-weight: 700;
    color: var(--dark-blue);
    transition: color 0.3s ease, transform 0.3s ease;
}

.logo a:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    gap: 30px; /* Odstęp między linkami menu na desktopie */
}

.main-nav li {
    /* margin-left: 30px; - Używaj gap na ul zamiast margin-left na li */
}

.main-nav a {
    color: #555;
    font-weight: 600;
    font-size: 1.05em;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap; /* Zapobiega zawijaniu tekstu linku */
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Styl dla ikony hamburgera (domyślnie ukryta na desktopie) */
.hamburger-menu {
    display: none;
    font-size: 1.8em;
    color: var(--dark-blue); /* Kolor ikony hamburgera */
    cursor: pointer;
    z-index: 1001; /* Upewnij się, że jest na wierzchu menu */
}

/* --- Sekcja Powitalna (Hero) --- */
.hero-section {
    position: relative;
    height: 70vh; /* Wysokość ekranu */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white-color);
    background: url('https://via.placeholder.com/1920x1080?text=Twoje+tlo+Electro+Instal') no-repeat center center/cover;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 50px; /* Offset for sticky header */
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 20px;
    color: var(--white-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #eee;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Mniejszy Hero dla podstron */
.hero-small {
    height: 40vh;
}
.hero-small .hero-content h1 {
    font-size: 3em;
}
.hero-small .hero-content p {
    font-size: 1.2em;
}

/* --- Sekcja O nas --- */
.about-section {
    background-color: var(--white-color);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    font-size: 1.1em;
}

.about-text p {
    margin-bottom: 15px;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* --- Sekcja Dlaczego My? / Nasze Atuty --- */
.why-us-section {
    background-color: var(--light-grey-bg);
}

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

.advantage-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    font-size: 3.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    transform: rotateY(0deg);
    transition: color 0.3s ease, transform 0.4s ease;
}

.advantage-item:hover .advantage-icon {
    color: var(--primary-color-hover);
    transform: rotateY(180deg);
}

.advantage-item h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.advantage-item p {
    color: #666;
}

/* --- Sekcja Usługi --- */
.services-section {
    background-color: var(--white-color);
}

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

.service-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    transform: translateY(0);
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-item:hover .service-icon {
    color: var(--primary-color-hover);
    transform: translateY(-5px) scale(1.1);
}

.service-item h3 {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.service-item p {
    color: #666;
}

/* --- Sekcja Projektów --- */
.projects-section {
    background-color: var(--light-grey-bg);
}

.filter-buttons {
    text-align: center;
    margin: 0 0 40px;
}

.filter-buttons .btn {
    margin: 0 10px 10px 0;
    cursor: pointer;
}

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

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

.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    background-color: #fefefe;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Animacja pojawiania się */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.project-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white-color);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    text-align: center;
    backdrop-filter: blur(5px);
}

.project-item:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    color: var(--white-color);
    margin-bottom: 10px;
    font-size: 1.4em;
}

.project-info p {
    color: #ccc;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.btn-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--white-color); /* Zmiana koloru linku na hover w overlayu */
}

.btn-link i {
    margin-left: 8px;
    font-size: 0.9em;
    transition: margin-left 0.3s ease;
}

.btn-link:hover i {
    margin-left: 12px;
}

/* --- Sekcja Bloga / Aktualności --- */
.blog-section {
    background-color: var(--white-color);
}

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

.blog-post-item {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-post-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-post-item .post-content {
    padding: 25px;
}

.blog-post-item h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.blog-post-item h3 a {
    color: var(--dark-blue);
    transition: color 0.3s ease;
}

.blog-post-item h3 a:hover {
    color: var(--primary-color);
}

.blog-post-item .post-meta {
    font-size: 0.85em;
    color: #777;
    margin-bottom: 15px;
}

.blog-post-item .post-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-post-item p {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 20px;
}

.text-center {
    text-align: center;
}

/* --- Sekcja FAQ (Akordeon) --- */
.faq-section {
    background-color: var(--light-grey-bg);
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background-color: var(--white-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    overflow: hidden;
    opacity: 0; /* Animacja pojawiania się */
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.accordion-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.accordion-header {
    width: 100%;
    background-color: var(--white-color);
    padding: 20px 25px;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--dark-blue);
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f0f0f0;
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.2em;
    color: inherit;
}

.accordion-header i {
    transition: transform 0.3s ease;
    font-size: 0.9em;
    color: var(--primary-color);
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
}

.accordion-item.active .accordion-content {
    padding: 15px 25px 25px;
}

.accordion-content p {
    margin-bottom: 0;
    color: #444;
}

/* --- Sekcja Referencje / Opinie --- */
.testimonials-section {
    background-color: var(--white-color);
}

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

.testimonial-item {
    background-color: var(--light-grey-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    font-style: italic;
    color: #555;
}

.testimonial-item::before {
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2.5em;
    color: rgba(0, 123, 255, 0.2);
    z-index: 0;
}

.testimonial-item .quote {
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-item .author {
    font-weight: 600;
    color: var(--dark-blue);
    font-style: normal;
    font-size: 1.1em;
}

/* --- Sekcja Kontaktu --- */
.contact-section {
    background-color: var(--light-bg-color);
}

.contact-content {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.contact-form-wrapper, .contact-info-map {
    flex: 1;
    min-width: 300px;
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-wrapper h3, .contact-info-map h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark-blue);
    font-size: 1.8em;
}

/* Formularz kontaktowy */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 5px;
    min-height: 20px;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    margin-top: 20px;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.success-message.visible {
    opacity: 1;
    display: block;
}

/* Dane kontaktowe i mapa */
.contact-info-map {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1em;
    color: #555;
}

.info-item i {
    font-size: 1.8em;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.info-item a {
    color: #555;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

.map-container {
    flex-grow: 1;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Stopka (Footer) --- */
.main-footer {
    background-color: var(--dark-blue);
    color: var(--light-text-color);
    padding: 60px 0 20px;
    font-size: 0.95em;
}

.footer-content {
    display: grid; /* Używamy grid dla łatwiejszego zarządzania kolumnami */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Min-width 250px */
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column { /* Zmieniono na footer-column, aby pasowało do Twojej struktury */
    /* flex: 1 1 250px; Usunięto flex, bo grid to ogarnia */
    padding-right: 20px; /* Nadal potrzebne do odstępów na desktopie */
}

.footer-column:last-child {
    padding-right: 0;
}

.footer-column h3 {
    color: var(--white-color);
    margin-bottom: 25px;
    font-size: 1.4em;
}

.footer-column p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-column ul {
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ccc;
    position: relative;
    transition: color 0.3s ease;
}

.footer-column ul li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.footer-column ul li a:hover::after {
    width: 100%;
}

.social-icons a {
    color: var(--white-color);
    font-size: 1.5em;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    color: #999999;
}

.copyright a {
    color: #999999;
    text-decoration: none;
    margin: 0 5px;
}

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

/* --- Style dla podstrony szczegółów usług --- */
.service-detail-section {
    background-color: var(--white-color);
}

.service-detail-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.service-detail-text {
    flex: 2;
    font-size: 1.1em;
}

.service-detail-text h2, .service-detail-text h3 {
    text-align: left;
    margin-bottom: 20px;
    position: relative; /* Dla customowego podkreślenia */
}
.service-detail-text h2.section-title-dynamic {
    font-size: 3.5em;
    color: var(--primary-color);
    font-weight: 700;
    text-align: left;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.service-detail-text h2.section-title-dynamic::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background-color: var(--dark-blue);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 3px;
}

.service-detail-text h3 {
    font-size: 2em;
    color: var(--dark-blue);
    margin-top: 40px;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.service-detail-text h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

/* Ważna korekta: Usunięcie globalnego podkreślenia H2/H3 z ich ogólnych stylów na podstronach */
.service-detail-text h2::after,
.service-detail-text h3::after {
    /* Tylko jeśli nie chcesz linii pod WSZYSTKIMI h2/h3 na podstronie.
       Jeśli chcesz, by miały linie tylko te z klasami .section-title-dynamic, to to jest potrzebne. */
}


.service-detail-text ul {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.service-detail-text ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #444;
}

.service-detail-text ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
}

.service-detail-image {
    flex: 1;
    text-align: center;
}

.service-detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.additional-info {
    background-color: var(--light-grey-bg);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    border-radius: 8px;
    margin-top: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.additional-info h3 {
    text-align: left;
    margin-bottom: 15px;
    color: var(--dark-blue);
    font-size: 1.6em;
}
.additional-info p {
    font-size: 1em;
    color: #555;
}

/* Sekcja pokrewnych usług na podstronach */
.related-services-section {
    background-color: var(--light-bg-color);
    padding-top: 60px;
    border-top: 1px solid #eee;
}

/* Styl dla pogrubionych akapitów - CTA w tekście */
.call-to-action-text-bold {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 30px auto; /* Wyśrodkowanie */
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f0f0f0;
    max-width: 800px; /* Ogranicz szerokość */
}

/* Dynamiczne listy z ikonami (w treści) */
.dynamic-list, .dynamic-numbered-list {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.dynamic-list li, .dynamic-numbered-list li {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #333;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 40px;
}

.dynamic-list li i, .dynamic-numbered-list li i { /* Dla list z ikonami, gdzie i jest w html */
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.5em;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

/* Ikony specyficzne dla list ostrzeżeń */
.dynamic-list li .icon-red { color: #dc3545; }
.dynamic-list li .icon-blue { color: var(--primary-color); }
.dynamic-list li .icon-green { color: var(--secondary-color); } /* Dodano green */


/* Stylizacja listy numerowanej (procesu) */
.dynamic-numbered-list {
    counter-reset: step-counter;
}
.dynamic-numbered-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Stylizacja obrazka z podpisem */
.image-caption {
    text-align: center;
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* --- Style dla bloga i treści TinyMCE (Frontend) --- */
.blog-post-detail {
    background-color: var(--white-color);
}

.blog-post-detail .blog-post-header {
    text-align: center;
    margin-bottom: 40px;
}

.blog-post-detail .post-meta-detail {
    font-size: 1.1em;
    color: #777;
    margin-bottom: 20px;
}

.blog-post-detail .post-meta-detail i {
    margin-right: 8px;
    color: var(--primary-color);
}

/* --- WZMOCNIONE I FINALNE STYLE DLA TREŚCI POSTÓW WYŚWIETLANYCH NA FRONT-ENDZIE (GENEROWANE PRZEZ TINYMCE) --- */
.blog-post-content {
    line-height: 1.8;
    font-size: 1.05em;
    color: #444;
}

.blog-post-content p {
    margin-bottom: 1.5em;
    line-height: 1.8;
    color: #444;
    font-size: 1.05em;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4,
.blog-post-content h5,
.blog-post-content h6 {
    color: var(--dark-blue);
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    position: relative;
}

.blog-post-content h2::after,
.blog-post-content h3::after {
    display: none; /* Ukryj podkreślenia h2/h3 w treści bloga, bo masz ogólne. Jeśli chcesz inne, zmień to. */
}

.blog-post-content h1 { font-size: 2.8em; }
.blog-post-content h2 { font-size: 2.2em; }
.blog-post-content h3 { font-size: 1.8em; }
.blog-post-content h4 { font-size: 1.5em; }
.blog-post-content h5 { font-size: 1.2em; }
.blog-post-content h6 { font-size: 1em; }

/* Listy UL i OL w treści postu */
.blog-post-content ul:not(.dynamic-list),
.blog-post-content ol:not(.dynamic-numbered-list) {
    margin-left: 25px;
    margin-bottom: 1.5em;
    padding: 0;
    list-style-position: outside;
    font-size: 1.05em;
}

.blog-post-content ul:not(.dynamic-list) li {
    list-style: disc;
    margin-bottom: 0.8em;
    color: #444;
}

.blog-post-content ol:not(.dynamic-numbered-list) li {
    list-style: decimal;
    margin-bottom: 0.8em;
    color: #444;
}

/* Style dla list z ikonami (dynamic-list, dynamic-numbered-list) w treści posta */
.blog-post-content ul.dynamic-list,
.blog-post-content ol.dynamic-numbered-list {
    list-style: none;
    padding-left: 0;
    margin-top: 25px;
    margin-bottom: 25px;
}

.blog-post-content ul.dynamic-list > li,
.blog-post-content ol.dynamic-numbered-list > li {
    margin-bottom: 18px;
    font-size: 1.05em;
    color: #333;
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-left: 45px;
    line-height: 1.4;
}

.blog-post-content ul.dynamic-list > li > i,
.blog-post-content ol.dynamic-numbered-list > li > i {
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 1.8em;
    color: var(--primary-color);
    width: 35px;
    text-align: center;
    flex-shrink: 0;
}

.blog-post-content ul.dynamic-list > li > i.icon-red { color: #dc3545; }
.blog-post-content ul.dynamic-list > li > i.icon-blue { color: var(--primary-color); }
.blog-post-content ul.dynamic-list > li > i.icon-green { color: var(--secondary-color); }

.blog-post-content ol.dynamic-numbered-list {
    counter-reset: custom-counter;
}
.blog-post-content ol.dynamic-numbered-list > li::before {
    content: counter(custom-counter);
    counter-increment: custom-counter;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.5em;
    font-weight: 700;
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

.blog-post-content strong {
    color: var(--dark-blue);
    font-weight: 700;
}

.blog-post-content a {
    color: var(--primary-color);
    text-decoration: underline;
}
.blog-post-content a:hover {
    color: var(--primary-color-hover);
    text-decoration: none;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-post-content div {
    margin: 0;
    padding: 0;
}

/* Wyróżniony przycisk CTA na końcu artykułu */
.blog-post-cta {
    background-color: var(--light-grey-bg);
    padding: 40px 20px;
    border-radius: 8px;
    margin-top: 60px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center; /* Wyśrodkowanie tekstu i przycisku */
}
.blog-post-cta p {
    font-size: 1.5em;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 30px;
}
.blog-post-cta .btn {
    padding: 15px 35px;
    font-size: 1.2em;
}

/* Sekcja podobnych artykułów */
.related-articles-section {
    background-color: var(--light-bg-color);
    padding-top: 60px;
    border-top: 1px solid #eee;
}

.related-articles-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.related-articles-grid {
    display: grid; /* Dodane dla pewności */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px; /* Dodane dla pewności */
}

/* NOWE - Ulepszone i bardziej eleganckie style dla meta-danych posta na blogu */
.post-meta-elegant {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.9em;
}

.post-meta-elegant .meta-tag-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 25px;
    background-color: var(--light-grey-bg);
    color: #555;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.post-meta-elegant .meta-tag-item:hover {
    background-color: #e0e4e8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.post-meta-elegant .meta-tag-item i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 1em;
}

.post-meta-elegant .meta-tags-container {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 15px;
    border-radius: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
}

.post-meta-elegant .meta-tags-container i {
    color: var(--white-color);
    margin-right: 8px;
}

.post-meta-elegant .meta-tags-container a {
    color: var(--white-color);
    text-decoration: none;
    transition: text-decoration 0.3s ease, color 0.3s ease;
    margin-right: 5px;
}
.post-meta-elegant .meta-tags-container a:last-child {
    margin-right: 0;
}

.post-meta-elegant .meta-tags-container a:hover {
    text-decoration: underline;
    color: #c0dfff;
}

/* Nowa sekcja - Liczniki */
.numbers-section {
    background-color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}

.numbers-section h2 {
    color: var(--dark-blue);
    margin-bottom: 50px;
    text-align: center;
    font-size: 3em;
    position: relative;
}

.numbers-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    justify-content: center;
}

.number-item {
    background-color: var(--light-grey-bg);
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.number-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.number-icon {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.number-value {
    font-size: 3.8em;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5px;
    line-height: 1;
}

.number-label {
    font-size: 1.2em;
    color: #555;
    font-weight: 600;
}

/* Style dla komunikatów formularza kontaktowego (PHP) */
.message-box {
    padding: 15px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.5s ease-out;
    display: none;
}

.message-box.visible {
    opacity: 1;
    display: block;
}

.message-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Style dla Słownika Pojęć (Poradnik/slownik-pojec.php) --- */
.glossary-section {
    background-color: var(--light-grey-bg);
}

.glossary-intro h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex; /* Użyj flexboxa do wyrównania ikony i tekstu */
    align-items: center;
    justify-content: center; /* Wyśrodkowanie */
}

.glossary-intro h2 i {
    margin-right: 15px;
    font-size: 1.1em;
}

.glossary-intro p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
    color: var(--text-color);
}

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

.glossary-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.glossary-item h3 {
    font-size: 1.5em;
    color: var(--dark-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.glossary-item h3 i {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.glossary-item p {
    font-size: 1em;
    line-height: 1.7;
    color: #555;
    flex-grow: 1;
}

.glossary-category {
    display: inline-flex; /* Zmieniono na inline-flex dla lepszej kontroli */
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.85em;
    font-weight: 600;
    margin-top: 15px;
    align-self: flex-start;
    align-items: center; /* Wyśrodkowanie ikony w tagu */
    gap: 5px; /* Odstęp między ikoną a tekstem */
}
.glossary-category i {
    font-size: 0.9em;
    margin-right: 0; /* Usunięto margin-right, bo jest gap */
}

/* --- General styles for the main content sections (poradnik/index.php) --- */
/* Te style zostały już zaadaptowane lub są globalne, ale dla jasności dodane */
.content-center { text-align: center; }

/* Styles for the Poradnik/index.php card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card-item {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-item .service-icon { /* Używasz tej samej klasy ikony co w usługach, jest ok */
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.card-item h3 {
    font-size: 1.6em;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.card-item p {
    font-size: 1em;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-item .btn {
    margin-top: auto;
}

/* --- Styl dla Komunikatu o Cookies --- */
.cookie-consent-box {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background-color: rgba(0, 0, 0, 0.85);
    color: var(--white-color);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-consent-box p {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    flex-grow: 1;
    color: var(--white-color);
}

.cookie-consent-box p a {
    color: #87CEEB; /* Jasnoniebieski dla linków */
    text-decoration: underline;
}

.cookie-consent-btn {
    background-color: var(--secondary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    flex-shrink: 0;
}

.cookie-consent-btn:hover {
    background-color: var(--primary-color);
}

/* ========================================= */
/* === MEDIA QUERIES (RESPONSYWNOŚĆ) === */
/* Ujednolicona i poprawiona struktura */
/* ========================================= */

/* Tablet landscape i większe telefony (od 769px do 992px) */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }
    .section-padding {
        padding: 60px 0; /* Mniejszy padding dla sekcji */
    }

    /* Nagłówek */
    .header-content {
        min-height: 80px; /* Nieco mniejsza wysokość nagłówka */
        padding: 0 15px;
    }
    .logo img {
        max-height: 65px; /* Zmniejsz logo na tabletach */
        margin-right: 20px;
    }
    .main-nav {
        /* Ukryj menu desktop, będzie kontrolowane przez JS dla mobile */
        display: none;
    }
    .hamburger-menu {
        display: block; /* Pokaż ikonę hamburgera */
        color: var(--dark-blue); /* Kolor ikony hamburgera */
    }

    /* Sekcja Hero */
    .hero-section {
        height: 50vh;
    }
    .hero-content h1 {
        font-size: 3em;
    }
    .hero-content p {
        font-size: 1.2em;
    }
    .hero-section.hero-small {
        height: 30vh;
    }
    .hero-section.hero-small h1 {
        font-size: 2.5em;
    }

    /* Sekcje dwukolumnowe */
    .about-content,
    .contact-content,
    .service-detail-content {
        flex-direction: column;
        gap: 30px;
    }
    .about-text, .about-image,
    .contact-form-wrapper, .contact-info-map,
    .service-detail-text, .service-detail-image {
        flex: none;
        width: 100%;
        min-width: unset;
    }
    .about-image, .contact-info-map, .service-detail-image { /* Dodatkowe odstępy dla obrazków/map */
        margin-top: 20px;
    }
    .service-detail-text h2.section-title-dynamic,
    .service-detail-text h3 {
        text-align: center; /* Wyśrodkuj nagłówki na podstronach */
    }
    .service-detail-text h2.section-title-dynamic::after,
    .service-detail-text h3::after {
        margin: 10px auto 0; /* Wyśrodkuj podkreślenia */
        left: unset; /* Usuń lewą pozycję */
    }

    /* Siatki (grids) - jedna kolumna */
    .advantages-grid,
    .services-grid,
    .projects-grid,
    .blog-grid,
    .testimonials-grid,
    .glossary-list,
    .card-grid,
    .related-articles-grid { /* Wiele siatek przechodzi na jedną kolumnę */
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .numbers-grid { /* Liczniki mogą być 2 kolumny na tabletach */
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }


    /* Menu mobilne (rozwijane przez JS) */
    .main-nav.mobile-active { /* Klasa dodawana przez JS */
        display: flex; /* Pokaż menu po kliknięciu hamburgera */
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-color); /* Tło menu mobilnego */
        position: absolute;
        top: 80px; /* Dopasuj do wysokości nagłówka na tym breakpoint */
        left: 0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        padding: 10px 0;
    }
    .main-nav.mobile-active ul {
        flex-direction: column;
        gap: 0; /* Usuń gap dla pionowych elementów */
    }
    .main-nav.mobile-active ul li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .main-nav.mobile-active ul li:last-child {
        border-bottom: none;
    }
    .main-nav.mobile-active ul li a {
        padding: 12px 20px;
        display: block;
        color: var(--white-color);
        font-size: 1.1em;
    }
    .main-nav.mobile-active ul li a:hover {
        background-color: var(--primary-color-hover);
    }
    .main-nav.mobile-active a::after {
        display: none; /* Ukryj podkreślenie dla menu mobilnego */
    }

    /* Stopka */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* 2-3 kolumny na tabletach */
        text-align: center;
        gap: 30px;
    }
    .footer-column {
        padding-right: 0; /* Usuń padding z prawej */
    }
    .footer-column ul {
        text-align: center; /* Wyśrodkuj listę linków */
    }
    .footer-column ul li a::after {
        left: 50%; /* Wyśrodkuj podkreślenie */
        transform: translateX(-50%);
    }
    .social-icons {
        justify-content: center; /* Wyśrodkuj ikony społeczne */
    }

    /* Blog post content - nagłówki w treści */
    .blog-post-detail .blog-post-content h1 { font-size: 2.2em; }
    .blog-post-detail .blog-post-content h2 { font-size: 1.8em; }
    .blog-post-detail .blog-post-content h3 { font-size: 1.5em; }

    /* Meta-dane bloga */
    .post-meta-elegant {
        flex-direction: column;
        gap: 8px;
        padding: 15px;
    }
    .post-meta-elegant .meta-tag-item,
    .post-meta-elegant .meta-tags-container {
        width: auto;
        justify-content: center;
    }

    /* Liczniki */
    .number-value { font-size: 3em; }
    .number-icon { font-size: 3em; }

    /* Cookie consent */
    .cookie-consent-box {
        flex-direction: column;
        text-align: center;
        width: calc(100% - 40px);
        bottom: 10px;
        padding: 15px 20px;
    }
    .cookie-consent-box p {
        margin-bottom: 15px;
    }
}

/* Smartfony (do 768px) */
@media (max-width: 768px) {
    h2 {
        font-size: 2.5em;
    }
    h2::after {
        width: 50px; /* Krótsza linia */
    }

    /* Nagłówek */
    .header-content {
        min-height: 70px; /* Jeszcze mniejsza wysokość nagłówka */
    }
    .logo img {
        max-height: 50px; /* Mniejsze logo na smartfonach */
    }

    /* Hero */
    .hero-section {
        height: 40vh;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-content p {
        font-size: 1.1em;
    }
    .hero-section.hero-small {
        height: 25vh;
    }
    .hero-section.hero-small h1 {
        font-size: 2em;
    }

    .section-padding {
        padding: 40px 0;
    }

    /* Wszystkie siatki przechodzą na jedną kolumnę */
    .numbers-grid {
        grid-template-columns: 1fr;
    }

    /* Formularz kontaktowy i mapa */
    .map-container iframe {
        height: 250px;
    }

    /* Stopka */
    .footer-content {
        grid-template-columns: 1fr; /* Jedna kolumna w stopce na smartfonach */
    }

    /* Blog post content */
    .blog-post-detail .blog-post-content h1 { font-size: 2em; }
    .blog-post-detail .blog-post-content h2 { font-size: 1.6em; }
    .blog-post-detail .blog-post-content h3 { font-size: 1.4em; }
    .blog-post-detail .blog-post-content img { max-height: 300px; } /* Ogranicz wysokość obrazków w postach */

    .blog-post-cta p { font-size: 1.2em; }
    .blog-post-cta .btn { width: 100%; } /* Przycisk CTA na całą szerokość */

    /* Słownik pojęć */
    .glossary-intro h2 {
        font-size: 1.8em;
    }
}

/* Bardzo małe ekrany (do 480px) */
@media (max-width: 480px) {
    h2 {
        font-size: 2em;
        margin-bottom: 30px;
    }

    /* Nagłówek */
    .header-content {
        min-height: 60px;
        padding: 0 10px;
    }
    .logo img {
        max-height: 40px; /* Jeszcze mniejsze logo */
    }
    .hamburger-menu {
        font-size: 1.6em;
    }

    /* Hero */
    .hero-section {
        height: 30vh;
    }
    .hero-content h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }
    .hero-content p {
        font-size: 0.9em;
        margin-bottom: 20px;
    }
    .hero-section.hero-small {
        height: 20vh;
    }
    .hero-section.hero-small h1 {
        font-size: 1.5em;
    }

    .section-padding {
        padding: 30px 0;
    }

    /* Stopka */
    .footer-content {
        gap: center;
    }
    .footer-column h3 {
        font-size: 1.2em;
    }
    .social-icons a {
        font-size: 1.2em;
        margin-right: 10px;
    }

    /* Blog post content */
    .blog-post-detail .blog-post-content h1 { font-size: 1.8em; }
    .blog-post-detail .blog-post-content h2 { font-size: 1.5em; }
    .blog-post-detail .blog-post-content h3 { font-size: 1.3em; }
    .blog-post-detail .blog-post-content img { max-height: 200px; }

    .blog-post-cta p { font-size: 1em; }

    /* Liczniki */
    .number-value { font-size: 2.8em; }
    .number-icon { font-size: 2.8em; }

    /* Listy dynamiczne w treści bloga */
    .blog-post-content ul.dynamic-list > li,
    .blog-post-content ol.dynamic-numbered-list > li {
        font-size: 1em;
        padding-left: 35px;
        margin-bottom: 15px;
    }
    .blog-post-content ul.dynamic-list > li > i,
    .blog-post-content ol.dynamic-numbered-list > li > i {
        font-size: 1.5em;
        width: 30px;
        height: 30px;
        top: 2px;
    }
    .blog-post-content ol.dynamic-numbered-list > li::before {
        font-size: 1.3em;
        width: 30px;
        height: 30px;
    }

    /* Post meta elegant */
    .post-meta-elegant { font-size: 0.8em; }
    .post-meta-elegant .meta-tag-item, .post-meta-elegant .meta-tags-container { padding: 6px 12px; }

}