/* ==========================================================================
   Onkologia Zwierząt – wspólne poprawki wyglądu (czarno-biała paleta)
   Ładowany na końcu <head> każdej strony, po stylach motywu BeTheme.
   ========================================================================== */

:root {
  --oz-text: #1a1a1a;
  --oz-muted: #666666;
  --oz-line: #e5e5e5;
  --oz-black: #000000;
}

/* zaznaczenie tekstu – zamiast niebieskiego */
::selection { background: var(--oz-black); color: #fff; }
::-moz-selection { background: var(--oz-black); color: #fff; }

/* ozdobniki motywu, które były niebieskie */
hr.hr_color, .hr_color hr, .hr_dots span { color: var(--oz-black); background: var(--oz-black); }
.dropcap, .highlight:not(.highlight_image) { background-color: var(--oz-black); }

/* ---------- H1 dodane bez zmiany wyglądu ---------- */
h1.oz-as-h3 { font-size: 28px; line-height: 45px; font-weight: 400; letter-spacing: 0; }
@media only screen and (max-width: 767px) { h1.oz-as-h3 { font-size: 21px; line-height: 34px; } }

/* ---------- Nagłówek strony wpisu (Subheader z H1) ---------- */
#Subheader h1.title { font-size: 36px; line-height: 1.3; font-weight: 400; letter-spacing: 1px; margin: 0; }
@media only screen and (max-width: 767px) { #Subheader h1.title { font-size: 25px !important; line-height: 1.3 !important; } }

/* ---------- Treść wpisów i FAQ ---------- */
.post-wrapper-content .the_content_wrapper {
  max-width: 780px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.75;
  color: var(--oz-text);
}
.post-wrapper-content .the_content_wrapper p { margin-bottom: 1.1em; }
.post-wrapper-content .the_content_wrapper ul,
.post-wrapper-content .the_content_wrapper ol { color: var(--oz-text); margin: 0 0 1.4em 1.4em; }
.post-wrapper-content .the_content_wrapper li { margin-bottom: .5em; }
.post-wrapper-content .the_content_wrapper a { text-decoration: underline; text-underline-offset: 2px; }
.post-wrapper-content .the_content_wrapper h2 {
  font-size: 26px; line-height: 1.3; font-weight: 700;
  margin: 2.2em 0 .7em; padding-top: 1.2em; border-top: 1px solid var(--oz-line);
}
.post-wrapper-content .the_content_wrapper h3 { font-size: 20px; line-height: 1.35; font-weight: 700; margin: 1.8em 0 .5em; }
.post-wrapper-content .the_content_wrapper h2[id],
.post-wrapper-content .the_content_wrapper h3[id] { scroll-margin-top: 110px; }

.post-wrapper-content .the_content_wrapper .post-toc + h2 { border-top: 0; padding-top: 0; }
.post-lead { font-size: 18px; line-height: 1.7; }
.post-byline { color: var(--oz-muted); font-size: 14px; }

.post-toc { margin: 2em 0 1em; padding: 1.2em 0; border-top: 1px solid var(--oz-black); border-bottom: 1px solid var(--oz-line); }
.post-toc-title { font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: .6em !important; }
.post-wrapper-content .the_content_wrapper .post-toc ol { margin-bottom: 0; }
.post-wrapper-content .the_content_wrapper .post-toc li { margin-bottom: .25em; }
.post-wrapper-content .the_content_wrapper .post-toc a { text-decoration: none; }
.post-wrapper-content .the_content_wrapper .post-toc a:hover { text-decoration: underline; }

.post-cta { text-align: center; margin: 3em 0; padding: 2em 0; border-top: 1px solid var(--oz-line); border-bottom: 1px solid var(--oz-line); }
.post-cta p { margin-bottom: 1.4em !important; }
.post-wrapper-content .the_content_wrapper .post-cta a.button { text-decoration: none; margin: 0; }

.post-wrapper-content .the_content_wrapper ol.post-references { font-size: 13px; line-height: 1.6; color: var(--oz-muted); }

/* ---------- Lista „Moi pacjenci” ---------- */
.patients-intro { padding-top: 60px; }
.patients-intro h1 { font-size: 30px; line-height: 1.3; margin-bottom: .4em; }
.patients-intro p { max-width: 640px; margin: 0 auto; color: var(--oz-muted); }

/* ---------- Publikacje (komponent timeline motywu) ---------- */
.pub-intro { max-width: 860px; margin: 0 auto 40px; }
.pub-intro h1 { text-align: center; font-size: 30px; margin-bottom: .8em; }
.pub-intro p { font-size: 16px; line-height: 1.75; color: var(--oz-text); }
.timeline_items li h3 { line-height: 1.35; }
.timeline_items .desc p { margin-bottom: .9em; }
.timeline_items .pub-source { text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--oz-muted); margin-bottom: .6em !important; }
.timeline_items a.pub-link { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Menu: 5 pozycji obok logo ---------- */
@media only screen and (min-width: 1240px) and (max-width: 1440px) {
  #Top_bar .menu > li > a span:not(.description) { padding-left: 14px; padding-right: 14px; }
}

/* ---------- Telefon ---------- */
@media only screen and (max-width: 767px) {
  .post-wrapper-content .the_content_wrapper { font-size: 15px; }
  .post-wrapper-content .the_content_wrapper h2 { font-size: 21px; }
  .post-wrapper-content .the_content_wrapper h3 { font-size: 18px; }
  .patients-intro h1, .pub-intro h1 { font-size: 24px; }
}

/* ==========================================================================
   Baner (zamiast Revolution Slidera) – ten sam wygląd, bez 500 KB skryptów
   ========================================================================== */
.oz-hero { position: relative; width: 100%; aspect-ratio: 16 / 9; min-height: 240px; overflow: hidden; background: #e9e9e9; }
.oz-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.oz-hero__inner { position: absolute; z-index: 2; max-width: 40%; }
.oz-hero__title {
  margin: 0; padding: 0;
  font-family: 'Poppins', Arial, sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(24px, 3.125vw, 60px); line-height: 1.17; letter-spacing: .07em;
}
.oz-hero__lead { margin: 1.1em 0 0; font-family: 'Poppins', Arial, sans-serif; font-size: clamp(13px, 1.2vw, 23px); line-height: 1.48; letter-spacing: .03em; }
.oz-hero--dark::before { content: ""; position: absolute; z-index: 1; left: 2.6%; top: 4.6%; width: 15.6%; height: 16.7%; background: rgba(12, 12, 12, .3); }
.oz-hero--dark .oz-hero__title, .oz-hero--dark .oz-hero__lead { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.oz-hero--light .oz-hero__title, .oz-hero--light .oz-hero__lead { color: #000; }
@media only screen and (max-width: 767px) {
  .oz-hero__inner { max-width: 70%; }
  .oz-hero--light .oz-hero__title { color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .45); }
}

/* ==========================================================================
   Strona główna – nowe sekcje
   ========================================================================== */
#Content a h4, .column_attr h4 a { color: inherit; }
.column_attr h4 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.oz-home-section { padding: 90px 0 30px; }
.oz-home-section--line .section_wrapper { border-top: 1px solid var(--oz-line); padding-top: 70px; }
.oz-section-title { text-align: center; font-size: 30px; line-height: 1.3; margin-bottom: .4em; letter-spacing: 1px; }
.oz-section-lead { text-align: center; max-width: 680px; margin: 0 auto 50px; color: var(--oz-muted); }

.oz-steps { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.oz-steps li { margin: 0; }
.oz-step-no { display: block; font-size: 40px; font-weight: 300; line-height: 1; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--oz-black); }
.oz-steps h3 { font-size: 20px; line-height: 1.3; margin-bottom: .5em; }
.oz-steps p, .oz-place p { font-size: 15px; line-height: 1.7; }
.oz-steps a, .oz-place a, .oz-faq-links a, .oz-more a { text-decoration: underline; text-underline-offset: 2px; }

.oz-places { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 900px; margin: 40px auto 0; }
.oz-place h3 { font-size: 20px; margin-bottom: .6em; }
.oz-place-note { color: var(--oz-muted); }

.oz-patients { list-style: none; margin: 40px 0 0 !important; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.oz-patients li { margin: 0; }
.oz-patients a { display: block; text-decoration: none; color: inherit; }
.oz-patients img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 14px; transition: opacity .2s; }
.oz-patients a:hover img { opacity: .85; }
.oz-patients span { display: block; font-size: 18px; font-weight: 600; }
.oz-patients small { display: block; color: var(--oz-muted); font-size: 14px; }

.oz-faq-links { max-width: 760px; margin: 30px auto 0 !important; padding: 0; list-style: none; }
.oz-faq-links li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--oz-line); font-size: 16px; }
.oz-faq-links a { text-decoration: none; }
.oz-faq-links a:hover { text-decoration: underline; }
.oz-more { text-align: center; margin-top: 30px; font-weight: 600; }

/* ==========================================================================
   Podstrony leczenia
   ========================================================================== */
.oz-page { padding-top: 30px; }
.oz-page-icon { margin-bottom: .5em !important; }
.oz-page-icon img { width: 64px; height: 64px; }
.oz-service-list { margin: 2.5em 0; }
.oz-service { display: grid; grid-template-columns: 64px 1fr; gap: 28px; padding: 28px 0; border-top: 1px solid var(--oz-line); }
.oz-service:last-child { border-bottom: 1px solid var(--oz-line); }
.oz-service img { width: 64px; height: 64px; }
.post-wrapper-content .the_content_wrapper .oz-service h2 { border: 0; padding: 0; margin: 0 0 .3em; font-size: 22px; }
.post-wrapper-content .the_content_wrapper .oz-service h2 a { text-decoration: none; }
.post-wrapper-content .the_content_wrapper .oz-service p { margin-bottom: .4em; }
.post-related-links { margin: 3em 0 0; padding-top: 1.2em; border-top: 1px solid var(--oz-black); }
.post-wrapper-content .the_content_wrapper .post-related-links ul { margin-bottom: 0; }

/* ---------- Podmenu „Leczenie” ---------- */
#Top_bar .menu li ul.sub-menu { background: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
#Top_bar .menu li ul.sub-menu li a { color: var(--oz-text); }
#Top_bar .menu li ul.sub-menu li a:hover, #Top_bar .menu li ul.sub-menu li.current-menu-item > a { color: #000; background: #f4f4f4; }

/* ==========================================================================
   Stopka z adresami
   ========================================================================== */
.oz-footer { border-top: 1px solid var(--oz-line); padding: 60px 0 30px; font-size: 14px; line-height: 1.7; color: var(--oz-text); }
.oz-footer .container { padding: 0 20px; }
.oz-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.oz-footer-title { font-weight: 700; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; margin-bottom: .8em !important; }
.oz-footer ul { list-style: none; margin: 0; padding: 0; }
.oz-footer a { color: var(--oz-text); }
.oz-footer a:hover { text-decoration: underline; }

@media only screen and (max-width: 959px) {
  .oz-steps, .oz-patients, .oz-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media only screen and (max-width: 767px) {
  .oz-home-section { padding: 60px 0 10px; }
  .oz-places { grid-template-columns: 1fr; gap: 30px; }
  .oz-steps { grid-template-columns: 1fr; gap: 30px; }
  .oz-section-title { font-size: 24px; }
}
@media only screen and (max-width: 479px) {
  .oz-patients, .oz-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* ---------- poprawki po przeglądzie (2026-11-10) ---------- */
.post-cta .button_label { text-transform: uppercase; letter-spacing: .45em; margin-right: -.45em; }
.oz-patients li, .oz-faq-links li { list-style: none; background: none; padding-left: 0; }
.oz-patients li::before, .oz-faq-links li::before { content: none !important; display: none !important; }
.oz-hero__inner { max-width: 48%; }
@media only screen and (max-width: 767px) {
  .oz-hero--dark::after, .oz-hero--light::after { content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,0) 80%); }
  .oz-hero--dark::before { display: none; }
  .oz-hero__inner { left: 6% !important; max-width: 80%; }
}

/* ---------- Wirtualny spacer 3D (podgląd -> gra po kliknięciu) ---------- */
.oz-game { position: relative; margin: 2em 0 .6em; background: #111; }
.oz-game__launch { display: block; position: relative; text-decoration: none !important; }
.oz-game__launch img { display: block; width: 100%; height: auto; opacity: .35; filter: blur(1px); transition: opacity .2s; }
.oz-game__launch:hover img { opacity: .5; }
.oz-game__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  background: #fff; color: #000; padding: 14px 28px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,.35); }
.oz-game__launch:hover .oz-game__btn { background: #000; color: #fff; }
.oz-game__frame { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 480px; border: 0; }
.oz-game__links { font-size: 14px; color: var(--oz-muted); }
@media only screen and (min-width: 960px) {
  /* gra potrzebuje więcej miejsca niż kolumna tekstu */
  .oz-game { width: min(1100px, 92vw); left: 50%; transform: translateX(-50%); }
}

/* ---------- Pasek szkicu (strony nieopublikowane) ---------- */
.oz-draft { border: 2px dashed #000; padding: 12px 16px; margin-bottom: 2em; font-size: 14px; background: #fafafa; }

/* Przełącznik języka „PL / EN” – prawy górny róg nagłówka (wstawia _narzedzia/i18n/jezyki.py) */
.oz-lang-switch { position: absolute; top: 12px; right: 24px; z-index: 30; font-size: 12px; line-height: 1; letter-spacing: 1px; color: #999; }
.oz-lang-switch a, .oz-lang-switch span { display: inline-block; color: #999; text-decoration: none; font-weight: 400; }
.oz-lang-switch a { padding: 4px 2px; }
.oz-lang-switch a:hover, .oz-lang-switch a:focus { color: #000; }
.oz-lang-switch .oz-lang-current { color: #000; font-weight: 600; padding: 4px 2px; }
.oz-lang-switch .oz-lang-sep { margin: 0 3px; }
/* Telefon: przycisk menu (hamburger) stoi przy prawej krawędzi (right:10px, 34px szer., środek na 30px) –
   przełącznik obok niego, po lewej, na tej samej wysokości (także w przyklejonym nagłówku po przewinięciu). */
@media only screen and (max-width: 767px) { .oz-lang-switch { top: 30px; right: 54px; transform: translateY(-50%); } }

/* Strona główna – nazwy 5 usług pod ikonami: nieco mniejsza czcionka, żeby najdłuższe słowa (METRONOMICZNE)
   mieściły się w wąskiej kolumnie; ELEKTRO-CHEMIOTERAPIA łamie się miękkim podziałem (&shy;) w HTML */
@media only screen and (min-width: 960px) {
  .mcb-wrap.one-fifth .column_attr h4 { font-size: 21px; line-height: 28px; }
}

/* Menu mobilne (< 1240 px): podmenu „Leczenie” wyraźnie odróżnione od pozycji głównych */
@media only screen and (max-width: 1239px) {
  #Top_bar #menu ul li ul.sub-menu { background-color: #f2f2f2 !important; border-left: 2px solid #000; margin: 0 0 6px 25px !important; }
  #Top_bar #menu ul li ul.sub-menu li a { padding: 0 20px 0 18px; }
  #Top_bar #menu ul li ul.sub-menu li a span { font-size: 14px; line-height: 38px; color: #555; }
  #Top_bar #menu ul li ul.sub-menu li + li a { border-top: 1px solid #e2e2e2; }
}

/* Zdjęcia i filmy w historiach pacjentów (filmy ładują się dopiero po kliknięciu: preload="none" + plakat) */
.oz-media { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin: 1.5em 0 2em; }
.oz-media--1 { grid-template-columns: 1fr; max-width: 560px; }
.oz-media--3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.oz-media figure { margin: 0; }
.oz-media img { display: block; width: 100%; height: auto; }
.oz-media--video video { display: block; width: 100%; height: 420px; object-fit: contain; background: #000; }
.oz-media figcaption { font-size: 13px; line-height: 1.5; color: #666; margin-top: .5em; }
@media only screen and (max-width: 767px) { .oz-media--video video { height: 360px; } }
