/*
Theme Name: Pixel Clinic Theme
Author: Agencja InterAktywni
Description: Dedykowany motyw dla Pixel Clinic by InterAktywni.
Version: 1.0
Text Domain: www.inter-aktywni.pl
*/


/* Custom CSS */


.breadcrumbs {text-align: right; color:#333333;}



html body {
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(10px, 1.5vw, 19px);
  line-height: 1.3;
  text-align: justify; 
  font-weight: 300;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #030207;
}

a {text-decoration: none!important;}
a:hover {text-decoration: none!important;}


p {  
  font-family: 'Titillium Web', sans-serif;
  font-size: clamp(14px, 2.5vw, 19px);
  line-height: 1.3;
  text-align: justify; 
  font-weight: 300;
  color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Titillium Web', serif;
}

body .container {max-width: 1440px!important;}

body h1 {
  font-size: clamp(28px, 3.5vw, 55px);
  font-weight: 500;
  line-height: 1.2;
  padding: 5px 0px 5px 0px;
  margin: 0px;
  color:#ffffff;
}

body h2 {
  font-size: clamp(34px, 3.5vw, 55px);
  font-weight: 300;
  line-height: 1.3;
  padding: 5px 0px 5px 0px;
  margin: 0px;
}

body h3 {
  font-size: 45px;
  font-weight: 300;
  line-height: 1.3;
  padding: 5px 0px 5px 0px;
  margin: 0px;
}

body h4 {
  font-size: clamp(10px, 0.8vw, 16px);
  font-weight: 500;
  line-height: 1.3;
  padding: 5px 0px 0px 0px;
  margin: 0px;
  color:#888888;
}

body h5 {
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.3;
  padding: 5px 0px 5px 0px;
  margin: 0px;
  color:#ffffff;
}

body h6 {
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 300;
  line-height: 1.3;
  padding: 5px 0px 5px 0px;
  margin: 0px;
}

/* dodatkowe własne klasy */

.z500 {z-index:500;}
.z900 {z-index:900;}
.z1500 {z-index:1500;}


/* STYLOWANIE NA STRONIE */


.pixel-image {
    position: relative;
    width: 100%;
    padding-bottom: 100%;  /* Proporcje 1:1 */
    background-image: url('https://pixelclinic.pl/wp-content/uploads/2023/10/tlo-zdjecie-1.webp');  /* Tło - warstwa 1 */
    background-size: cover;
}

.pixel-image img {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;   /* Pozostawiamy po 15% z każdej strony */
    height: 80%;
    object-fit: cover;  /* Obraz będzie miał proporcje 1:1 */
    z-index: 200;  /* Warstwa 2 */
}

.pixel-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://pixelclinic.pl/wp-content/uploads/2023/10/tlo-zdjecie-2.webp');  /* Warstwa 3 z przezroczystością */
    background-size: cover;
    z-index: 300;  /* Warstwa 3 */
}


.pixel-lekarz {
    position: relative;
    width: 100%;
    padding-bottom: 100%;  /* Proporcje 1:1 */
    background-image: url('https://pixelclinic.pl/wp-content/uploads/2023/10/tlo-zdjecie-3.webp');  /* Tło - warstwa 1 */
    background-size: cover;
}

.pixel-lekarz img {
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;   /* Pozostawiamy po 15% z każdej strony */
    height: 80%;
    object-fit: cover;  /* Obraz będzie miał proporcje 1:1 */
    z-index: 200;  /* Warstwa 2 */
}

.pixel-lekarz::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://pixelclinic.pl/wp-content/uploads/2023/10/tlo-zdjecie-4-1.webp');  /* Warstwa 3 z przezroczystością */
    background-size: cover;
    z-index: 300;  /* Warstwa 3 */
}



.morph-menu-button-right {
    right: 20px!important;
}


/* Usuń domyślne wypunktowanie dla list */

ul {
    list-style-type: none;
    padding-left: 20px;
}

ul li {
    position: relative;
    margin-bottom: 10px;
    color: white;
    padding-left: 10px;
    line-height: 1.4em;  /* Przykładowa wartość dla odstępu między liniami. Możesz dostosować według potrzeb. */
}

ul li::before {
    content: "";
    position: absolute;
    top: 0.5em;  /* Ustawia kwadracik w połowie wysokości pierwszej linii tekstu */
    left: -10px;
    width: 8px;
    height: 8px;
    background-color: #e8004c;
}

@media only screen and (max-width: 767px) {
ul {
    list-style-type: none;
    padding-left: 20px;
}

ul li {
    font-size:11pt;
	position: relative;
    margin-bottom: 10px;
    color: white;
    padding-left: 10px;
    line-height: 1.3em;  /* Przykładowa wartość dla odstępu między liniami. Możesz dostosować według potrzeb. */
}

ul li::before {
    content: "";
    position: absolute;
    top: 0.5em;  /* Ustawia kwadracik w połowie wysokości pierwszej linii tekstu */
    left: -10px;
    width: 8px;
    height: 8px;
    background-color: #e8004c;
}
}

.grid-lekarze {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    row-gap: 40px;
    column-gap: 20px;
}

.grid-lekarze .lekarz {
    text-align: center;
}

.grid-lekarze .lekarz img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .grid-lekarze {
        grid-template-columns: 1fr 1fr;
    }
}

.specjalizacje {line-height:0.8}

.specjalizacje-lekarza {
    display: flex;
    flex-direction: column;
    align-items: center; /* Wyśrodkowanie przycisków w poziomie */
}

.specjalizacja-button {
    width: 100%; /* Pełna szerokość kontenera */
    padding: 5px 20px 5px 20px;
    margin: 5px 0; /* Dodajemy margines tylko z góry i dołu, by nie rozszerzać przycisków poza kontener */
    border: 1px solid #e8004c;
    color: white;
    background-color: transparent;
    text-align: center; /* Tekst na środku przycisku */
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s;
	font-size:16px;

    /* Opcjonalny efekt hover */
    &:hover {
        background-color: #e8004c;
		color:#ffffff;
    }
}

.tytul-naukowy {
    display: block;
    font-size: clamp(10px, 1vw, 16px);
    color: #888888;
    margin-bottom: 4px; 
}

.specjalizacja-lekarza {
    display: block;
    font-size: clamp(8px, 0.8vw, 14px);
    color: #FF69B4; /* Różowy kolor, możesz dostosować według potrzeb */
    margin-top: 4px;
}


/* STYLOWANIE BLOGA */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* Odstępy między elementami */
}

.blog-item {
    position: relative;
}

.blog-image-wrapper {
    position: relative;
    padding: 20px; /* Odstęp od krawędzi kontenera */
}

.blog-image {
    width: calc(100% - 40px); /* Odejmujemy padding */
    height: auto;
    display: block;
    margin: 0 auto;
}

.blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Nakładka na całą szerokość */
    height: 100%; /* Nakładka na całą wysokość */
    z-index: 1;
}

.blog-title {
    position: absolute;
    right: 30px;
    bottom: 30px;
    z-index: 2;
    color: white;
    font-family: 'Titillium Web', sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 1px 1px 2px black;
}

.blog-grid .blog-item {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-grid .blog-item:hover .blog-image {
    transform: scale(1.05);
}


@media only screen and (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}


.blog-full-list {
    display: flex;
    flex-direction: column;
}

.blog-full-item {
    display: flex;
    margin-bottom: 20px;
}

.blog-full-image-wrapper {
    flex: 0 0 40%;
    position: relative;
    padding: 20px;
}

.blog-full-image {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    object-fit: cover;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
}

.blog-full-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-full-content {
    flex: 0 0 60%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
}

.blog-date {
    color: red;
    font-size: small;
}

.blog-list-title {
    font-size: 28px;
	font-weight:600;
	color:#ffffff;
    margin: 10px 0;
}

.blog-excerpt {
    margin-top: 10px;
}

.blog-separator {
    border: none;
    border-top: 1px dashed #ccc;
    margin: 20px 0;
}

/* Styl dla linii rozdzielającej */
.blog-separator-2 {
    border-color: #601f1f; /* Ustawia kolor linii na biały */
    margin-top: 0px; /* Opcjonalnie, dodaje margines na górze */
    margin-bottom: 0px; /* Opcjonalnie, dodaje margines na dole */
}


@media (max-width: 768px) {
    .blog-full-item {
        flex-direction: column;
    }

    .blog-full-image-wrapper,
    .blog-full-content {
        flex: 0 0 100%;
    }
}


/* Styl dla tabeli cenników */
.cennik-specjalizacji-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.cennik-specjalizacji-table .cena {
    text-align: right;
}

.cennik-specjalizacji-table th {
    background-color: #333333;
    color: #e8004d;
    padding: 10px 5px;
    font-weight: bold;
	font-size:18px;
	border-bottom-style: solid;
	border-bottom-width: 2px;
	border-bottom-color: #999999;
}

.cennik-specjalizacji-table th.cena {
    text-align: left;
}

.cennik-specjalizacji-table td {
    padding: 5px 5px;
    font-size:15px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #323232;
	color:#999999;
}

.cennik-specjalizacji-table td:first-child {
    font-weight: normal;
    text-align: left;
}

.cennik-specjalizacji-table tr:nth-child(even) {
    background-color: #222222;
}

.cennik-specjalizacji-table .section-header {
    background-color: #878787;
    font-weight: bold !important;
    text-align: center;
    padding: 2px 5px 2px 5px;
    font-size: 18px;
    border-top: 2px solid #999;
    color: #000000;
    text-transform: uppercase;
}


@media only screen and (max-width: 768px) {
    .cennik-specjalizacji-table td:first-child {
        width: 80%;
    }
    
    .cennik-specjalizacji-table td:not(:first-child) {
        width: 20%;
    }
}

.seo-pages-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}
.seo-pages-table th,
.seo-pages-table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
}
.seo-pages-table th {
    background: #f5f5f5;
    text-align: left;
}


/* ========== PixelClinic – Cennik (shortcode) ========== */

.pc-price-list {
  margin-top: 20px;
}

.pc-price-list__heading {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: clamp(18px, 2.2vw, 26px)!important;
  line-height: 1.2!important;
  font-weight: 500!important;
  color: #ffffff!important;
}

/* różowa linia pod nagłówkiem jak na screenie */
.pc-price-list__heading::after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  margin-top: 10px;
  background: #e6005c;
  opacity: 0.9;
}

.pc-price-list__subheading {
  margin: 16px 0 8px;
  font-size: 16px!important;
  letter-spacing: 0.04em!important;
  text-transform: uppercase;
}

.pc-price-list__table-wrap {
  /* dostępny scroll klawiaturą + fallback */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.pc-price-list__table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px!important;
}

.pc-price-list__table thead th {
  background: #3a3a3a;
  color: #fff!important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700!important;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.pc-price-list__table thead th.pc-price-list__col-price {
  text-align: right;
}

.pc-price-list__table tbody th,
.pc-price-list__table tbody td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  vertical-align: top;
}

.pc-price-list__table tbody th {
  font-weight: 600!important;
  text-align: left;
  color: rgba(255,255,255,0.92)!important;
}

.pc-price-list__table tbody td {
  text-align: right;
  color: rgba(255,255,255,0.92)!important;
  white-space: nowrap;
}

/* paskowanie jak na screenie */
.pc-price-list__table tbody tr.pc-price-list__row:nth-child(odd) {
  background: rgba(255,255,255,0.05);
}
.pc-price-list__table tbody tr.pc-price-list__row:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

/* kategoria (wiersz nagłówkowy) */
.pc-price-list__table tbody tr.pc-price-list__category th {
  background: rgba(255,255,255,0.18);
  color: #fff!important;
  text-transform: uppercase;
  letter-spacing: 0.05em!important;
  font-weight: 800!important;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* focus dla dostępności (gdy user tabuje do regionu tabeli) */
.pc-price-list__table-wrap:focus {
  box-shadow: 0 0 0 2px rgba(230,0,92,0.7);
  border-radius: 6px;
}

/* Hover subtelnie */
.pc-price-list__table tbody tr.pc-price-list__row:hover {
  background: rgba(230,0,92,0.08);
}

/* ========== Mobile: układ „karty” (bez przewijania w poziomie) ========== */
@media (max-width: 640px) {
  .pc-price-list__table,
  .pc-price-list__table thead,
  .pc-price-list__table tbody,
  .pc-price-list__table tr,
  .pc-price-list__table th,
  .pc-price-list__table td {
    display: block;
    width: 100%;
  }

  /* ukrywamy nagłówek tabeli */
  .pc-price-list__table thead {
    position: absolute;
    left: -9999px;
    top: -9999px;
  }

  .pc-price-list__table tbody tr.pc-price-list__row {
    margin: 10px 0;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 8px;
    overflow: hidden;
  }

  .pc-price-list__table tbody tr.pc-price-list__row:nth-child(odd),
  .pc-price-list__table tbody tr.pc-price-list__row:nth-child(even) {
    background: rgba(255,255,255,0.03);
  }

  .pc-price-list__table tbody th.pc-price-list__service,
  .pc-price-list__table tbody td.pc-price-list__price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    text-align: right;
    white-space: normal;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .pc-price-list__table tbody td.pc-price-list__price {
    border-bottom: none;
  }

  /* etykiety z data-label */
  .pc-price-list__table tbody th.pc-price-list__service::before,
  .pc-price-list__table tbody td.pc-price-list__price::before {
    content: attr(data-label);
    font-weight: 700!important;
    text-transform: uppercase;
    letter-spacing: 0.05em!important;
    font-size: 12px!important;
    color: rgba(255,255,255,0.75)!important;
    flex: 0 0 auto;
  }

  /* kategoria na mobile jako pasek */
  .pc-price-list__table tbody tr.pc-price-list__category th {
    border-radius: 8px;
    margin: 12px 0 6px;
  }
}


/* Spis treści na stronie cennika */
.pc-price-list__toc {
  margin: 12px 0 18px;
}

.pc-price-list__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.pc-price-list__toc-link {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
}

.pc-price-list__toc-link:hover,
.pc-price-list__toc-link:focus {
  outline: none;
  border-color: rgba(230,0,92,0.75);
  box-shadow: 0 0 0 2px rgba(230,0,92,0.25);
}

.pc-price-list__group {
  margin: 18px 0 22px;
}

.pc-price-list__group-title {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  font-size: 16px;
  color: #e8004c;
}

/* Akordeon (details/summary) */
.pc-price-list__group[open] > .pc-price-list__group-title {
  margin-bottom: 12px;
}

details.pc-price-list__group > summary.pc-price-list__group-title {
  cursor: pointer;
  list-style: none;
}

details.pc-price-list__group > summary.pc-price-list__group-title::-webkit-details-marker {
  display: none;
}

details.pc-price-list__group > summary.pc-price-list__group-title:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(230,0,92,0.7);
  border-radius: 6px;
  padding: 4px 6px;
}


/* ========== PixelClinic – Controls (search + select) ========== */
.pc-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

.pc-price-list__controls {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  margin: 14px 0 18px;
}

.pc-price-list__controls-left {
  flex: 1 1 auto;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pc-price-list__control {
  position: relative;
  display: block;
}

.pc-price-list__search,
.pc-price-list__select {
  width: 100%;
  padding: 10px 38px 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  outline: none;
}

.pc-price-list__select {
  padding-right: 12px;
}

.pc-price-list__search:focus,
.pc-price-list__select:focus {
  border-color: rgba(230,0,92,0.75);
  box-shadow: 0 0 0 2px rgba(230,0,92,0.25);
}

.pc-price-list__clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
}

.pc-price-list__clear:hover,
.pc-price-list__clear:focus {
  border-color: rgba(230,0,92,0.75);
  outline: none;
}

.pc-price-list__count {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.72);
}

/* Notka po prawej jak na screenie */
.pc-price-list__note {
  flex: 0 0 36%;
  max-width: 520px;
  padding: 10px 12px;
  border-left: 1px solid rgba(230,0,92,0.55);
  background: rgba(0,0,0,0.20);
  color: rgba(255,255,255,0.80);
  font-size: 13px;
  line-height: 1.45;
}

.pc-price-list__note strong {
  color: rgba(255,255,255,0.92);
}

/* Mobile stacking */
@media (max-width: 900px) {
  .pc-price-list__controls {
    flex-direction: column;
  }
  .pc-price-list__note {
    flex: 1 1 auto;
    max-width: none;
    border-left: none;
    border-top: 1px solid rgba(230,0,92,0.55);
  }
}


.pc-price-list__disclaimer{
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255,255,255,0.68);
}
