/* 2. TYPOGRAFIA MARCELLUS */
h1, h2, h3, h4, h5, h6, .pq-section-main-title, .pq-member-name, .pq-icon-box-title, .motto-main {
    font-family: 'Marcellus', serif !important;
}

/* 3. RESET ZAOKRĄGLEŃ */
.pq-button, 
.pq-button::before, 
.pq-team-box, 
.team-card-border, 
.pq-team-img, 
.pq-team-img img, 
.pq-accordion-box,
input, 
textarea {
    border-radius: 0 !important;
}

/* 4. SEKCJA ZESPÓŁ - SZEROKOŚĆ I NAGŁÓWKI */
.team-title-full-width {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    margin-top: 50px !important;
}

/* REDUKCJA ODSTĘPÓW MIĘDZY SEKCJAMI */
.pq-custom-section {
    padding-bottom: 10px !important;
}
.about-us {
    padding-top: 10px !important;
}

.service pq-bg-dark {
    padding-top: 10px !important;
}

.pq-section-main-title {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    font-size: 48px !important;
    margin: 5px auto 30px auto !important;
    line-height: 1.2 !important;
}

.motto-main {
    color: #bf9d53 !important;
    font-size: 28px !important;
    margin: 5px auto 30px auto !important;
    font-style: italic !important;
    text-align: center !important;
}

.team-description-text {
    text-align: left !important;
}

/* 13. STYL DLA LINII HR */
hr {
    border: 0 !important;
    border-top: 1px solid #bf9d53 !important; /* Złoty kolor linii */
    opacity: 0.6 !important; /* Subtelna przezroczystość */
    margin: 30px 0 !important; /* Odstęp góra/dół */
    height: 0 !important;
    display: block !important;
    width: 100% !important;
}

.pq-team-info {
    padding: 10px !important;
    text-align: center !important;
}

.pq-team-info p {
    text-align: left !important;
    line-height: 1.4 !important;
    font-size: 16px !important;
    margin-top: 10px !important;
}

.pq-team-designation {
    color: #bf9d53 !important;
    text-transform: uppercase !important;
    display: block !important;
    font-size: 14px !important; 
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    letter-spacing: 0px !important;
}

/* 6. ZŁOTE AKCENTY SZABLONU */
.pq-section-sub-title, .pq-icon i {
    color: #bf9d53 !important;
}

.pq-section-title.pq-style-1 .pq-section-sub-title span.left-sep:before, 
.pq-section-title.pq-style-1 .pq-section-sub-title span.right-sep:before {
    background: #bf9d53 !important;
}

.pq-section-second-title {
    text-align: left !important;
    font-size: 33px !important; 
}

.pq-section-description {
    text-align: left !important;
    margin-bottom: 30px !important;
    margin-top: 20px !important;
}

.pq-section-main-title-spec {
    color: #ffffff !important;
    font-size: 38px !important;
    line-height: 1.2 !important;
}

.specjalizacje-title {
    text-align: left !important;
    margin-bottom: 10px !important;
    margin-top: 50px !important;
}
/* --- DOPASOWANIE ODSTĘPÓW --- */

/* Zmniejszenie odstępu ciemnej sekcji od tytułu powyżej */
.service.pq-bg-dark {
    padding-top: 0px !important;
}

/* --- STYL PRZYCISKU W SEKCI SPECJALIZACJE --- */

/* Stan początkowy: złoty przycisk, czarny napis */
.spec-btn {
    background-color: #bf9d53 !important;
}

.spec-btn .pq-button-text {
    color: #0a1d35 !important;
}

/* Stan po najechaniu: granatowy przycisk, biały napis */
.spec-btn:hover {
    background-color: #0a1d35 !important;
}

.spec-btn:hover .pq-button-text {
    color: #ffffff !important;
}

/* Usunięcie marginesu pod samym tytułem */
.specjalizacje-title .pq-section-title {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Usunięcie marginesu dolnego całej sekcji tytułowej przed ciemnym tłem */
.specjalizacje-title {
    margin-bottom: 20px !important;
    padding-bottom: 10px !important; /* Mały odstęp, żeby tekst nie dotykał krawędzi ciemnego tła */
}

/* Ustawienie ciemnej sekcji tak, by zaczynała się zaraz pod białym pasem */
.service.pq-bg-dark {
    margin-top: 0 !important;
    padding-top: 40px !important; /* Odstęp treści wewnątrz ciemnego tła od jego górnej krawędzi */
}

/* --- STYL PRZYCISKU (Złoty -> Granatowy) --- */
.spec-btn {
    background-color: #bf9d53 !important;
}

.spec-btn .pq-button-text {
    color: #0a1d35 !important;
}

.spec-btn:hover {
    background-color: #0a1d35 !important;
}

.spec-btn:hover .pq-button-text {
    color: #ffffff !important;
}