/* RWD i czytelnosc - poprawki nowej strony (motyw ciemny). 22.10.2026. Tryb jasny = stara strona, bez zmian.
   Zrodlo: skan RWD 72 stron x 8 szerokosci + test kontrastu (work/rwd-2026-10-22). */

/* 1. Teksty ze starej palety (czarne #000 / #121212) na ciemnym tle - niewidoczne */
html:not(.t-light) :is(.elementor-element-7e4d519, .elementor-element-155ff8a, .elementor-element-32246be, .elementor-element-10c6154,
  .elementor-element-79ee4ff, .elementor-element-78a7478, .elementor-element-f8f2a05, .elementor-element-b754641,
  .elementor-element-3f6922f, .elementor-element-4063098) :is(h1, h2, h3, .wcf--title) { color: #F5F1EB !important; }
html:not(.t-light) :is(.elementor-element-ce77a06, .elementor-element-49fa6a6, .elementor-element-ae0818a,
  .elementor-element-fd71dae, .elementor-element-b769cd5) :is(p, span, li) { color: #C4B9B0 !important; }
/* Nasza klinika: duza lista podstron 01-11 */
html:not(.t-light) :is(.elementor-element-7846206, .elementor-element-876392e, .elementor-element-bb87264, .elementor-element-84a1e88,
  .elementor-element-38f4f88, .elementor-element-405e85c, .elementor-element-8a53211, .elementor-element-2edcd16,
  .elementor-element-2e422f2, .elementor-element-93e2b18, .elementor-element-744858c) :is(a, span) { color: #F5F1EB !important; }
html:not(.t-light) :is(.elementor-element-7846206, .elementor-element-876392e, .elementor-element-bb87264, .elementor-element-84a1e88,
  .elementor-element-38f4f88, .elementor-element-405e85c, .elementor-element-8a53211, .elementor-element-2edcd16,
  .elementor-element-2e422f2, .elementor-element-93e2b18, .elementor-element-744858c) a:hover :is(span) { color: #E65A36 !important; }
/* Media: jasny tekst na jasnej sekcji */
html:not(.t-light) .elementor-element-f29cbc0 :is(h1, h2, .wcf--title),
html:not(.t-light) .elementor-element-3cedb18 :is(span, li) { color: #181117 !important; }

/* 2. Opiekun Pacjenta: dwa przesuniete tytuly nachodzily linia na linie (Bodoni ma mniejsza interlinie niz stary Kanit) */
/* widget ma position: relative, a margines nie przesuwal go (kontener o stalej wysokosci) - przesuniecie przez top */
@media (min-width: 1025px) { html:not(.t-light) .elementor-element-c7ecf1f { top: 40px !important; } }
@media (min-width: 768px) and (max-width: 1024px) { html:not(.t-light) .elementor-element-c7ecf1f { top: 20px !important; } }

/* 3. Tablet: tytuly hero szersze niz kolumna (wchodzily na zdjecie) */
@media (min-width: 768px) and (max-width: 1024px) {
  html:not(.t-light) :is(.elementor-element-1ce4761, .elementor-element-e2e7142, .elementor-element-375ffa6) :is(h1, h2, .wcf--title) { font-size: 40px !important; line-height: 1.15 !important; }
  html:not(.t-light) :is(.elementor-element-dfdc1d6, .elementor-element-61f1d40, .elementor-element-89383c0) :is(h1, h2, .wcf--title) { font-size: 40px !important; }
  /* pionowy napis STOMATOLOGIA OLSZTYN nachodzil na akapit */
  html:not(.t-light) :is(.elementor-element-ead2e78, .elementor-element-d6a7a71, .elementor-element-aa5d637, .elementor-element-9f05863,
    .elementor-element-d478f63, .elementor-element-3a959ad, .elementor-element-2bfb3a0, .elementor-element-9bc3bbb, .elementor-element-5cb92b8) { display: none !important; }
  /* kroki leczenia (6) i zalecenia (5) w jednym rzedzie - na tablecie po 3 */
  html:not(.t-light) :is(.elementor-element-b718ae4, .elementor-element-4564cb8) { flex-wrap: wrap !important; row-gap: 28px !important; }
  html:not(.t-light) :is(.elementor-element-b718ae4, .elementor-element-4564cb8) > .e-con { flex: 1 1 30% !important; width: auto !important; max-width: none !important; }
}

/* 4. Telefon: ostatnie slowo naglowka ucinane za prawa krawedzia */
@media (max-width: 767px) {
  html:not(.t-light) :is(.elementor-element-a36e63f, .elementor-element-2727d71, .elementor-element-edc9579) :is(h1, h2, h3, .wcf--title) { font-size: 34px !important; }
  html:not(.t-light) .elementor-element-2ae9082 :is(h1, h2, h3, .wcf--title) { font-size: 30px !important; }
}

/* 05.11 sekcje „Ile kosztuje … w Alfa Dental?” - nowe elementy jak istniejąca sekcja cen (wzór: Kids, leczenie kanałowe) */
.ad-ile-kosztuje .wcf--title { font-family: "Plus Jakarta Sans", sans-serif !important; font-weight: 400 !important; }
.ad-ile-kosztuje .elementor-widget-text-editor, .ad-ile-kosztuje .elementor-widget-text-editor p { font-family: Montserrat, sans-serif !important; font-weight: 300 !important; }
.ad-ile-kosztuje .elementor-widget-text-editor a { color: inherit !important; text-decoration: underline; text-underline-offset: 3px; }
.ad-ile-kosztuje .elementor-icon-list-text { font-family: Montserrat, sans-serif !important; }
.ad-ile-kosztuje .ad-ik-przyciski, .ad-ile-kosztuje .ad-ik-przyciski > .e-con-inner { flex-direction: row !important; flex-wrap: wrap !important; gap: 15px !important; }
.ad-ile-kosztuje .wc-btn-primary { font-family: Kanit, sans-serif !important; font-size: 15px !important; font-weight: 500 !important; text-transform: uppercase !important; padding: 15px 42.3px !important; border-radius: 50px !important; }
.ad-ile-kosztuje .wc-btn-play { font-size: 14px !important; border-radius: 50px !important; }
html:not(.t-light) .ad-ile-kosztuje .wc-btn-primary, html:not(.t-light) .ad-ile-kosztuje .wc-btn-play { background-color: #E65A36 !important; color: #F5F1EB !important; }
html.t-light .ad-ile-kosztuje .wc-btn-primary, html.t-light .ad-ile-kosztuje .wc-btn-play { background-color: #F39200 !important; color: #fff !important; }
html.t-light .ad-ile-kosztuje .elementor-widget-text-editor, html.t-light .ad-ile-kosztuje .elementor-widget-text-editor p { color: #fff !important; }
@media (max-width: 767px) { .ad-ile-kosztuje .wc-btn-primary { padding: 10px 25px !important; } }
.ad-ile-kosztuje .ad-ik-przyciski, .ad-ile-kosztuje .ad-ik-przyciski > .e-con-inner { align-items: center !important; }
.ad-ile-kosztuje .ad-ik-przyciski > .elementor-widget { margin-top: 0 !important; margin-bottom: 0 !important; }
.ad-ile-kosztuje .wc-btn-play { width: 60px !important; height: 60px !important; min-width: 60px !important; display: inline-flex !important; align-items: center; justify-content: center; }
.ad-ile-kosztuje .wc-btn-primary { line-height: 30px !important; height: 60px !important; box-sizing: border-box !important; display: inline-flex !important; align-items: center; }
.ad-ile-kosztuje .ad-ik-przyciski .elementor-widget-container, .ad-ile-kosztuje .ad-ik-przyciski .elementor-widget { margin: 0 !important; }
.ad-ile-kosztuje .ad-ik-przyciski .elementor-widget, .ad-ile-kosztuje .ad-ik-przyciski .wc-btn-wrapper { padding: 0 !important; margin: 0 !important; left: 0 !important; transform: none !important; }
