/*
Theme Name: Patomorfologia 2026 v3.1
Theme URI: https://www.webinar-med.pl/patomorfologia/
Author: InterAktywni / Sans Souci Konferencje
Author URI: https://sans-souci.pl/
Description: Lekki motyw bazowy dla landing page warsztatów CLDN18.2, przygotowany pod Visual Composer i dedykowane shortcody PM26.
Version: 3.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: patomorfologia-2026
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --pm26-font: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --pm26-teal-700: #0b6d7c;
  --pm26-teal-600: #0e7c8c;
  --pm26-teal-500: #1da3b4;
  --pm26-teal-400: #35b8c6;
  --pm26-blue-500: #4870b8;
  --pm26-purple-600: #63489a;
  --pm26-purple-500: #7858b0;
  --pm26-purple-400: #9b7fc9;

  --pm26-ink-900: #0b1020;
  --pm26-ink-800: #151d36;
  --pm26-ink-700: #2a3352;
  --pm26-ink-500: #5a6484;
  --pm26-ink-400: #8a93ad;

  --pm26-white: #ffffff;
  --pm26-surface-1: #f7f9fc;
  --pm26-surface-2: #eef3f9;
  --pm26-surface-lav: #f1effb;
  --pm26-border: #e2e8f2;
  --pm26-border-strong: #cbd5e6;

  --pm26-gradient: linear-gradient(100deg, #1da3b4 0%, #4870b8 52%, #7858b0 100%);
  --pm26-gradient-soft: linear-gradient(135deg, rgba(29, 163, 180, 0.1), rgba(72, 112, 184, 0.08) 52%, rgba(120, 88, 176, 0.1));

  --pm26-radius-sm: 10px;
  --pm26-radius-md: 16px;
  --pm26-radius-lg: 24px;
  --pm26-radius-xl: 32px;

  --pm26-shadow-1: 0 1px 2px rgba(11, 16, 32, 0.03), 0 10px 30px rgba(11, 16, 32, 0.055);
  --pm26-shadow-2: 0 18px 50px rgba(24, 39, 92, 0.09);
  --pm26-shadow-3: 0 28px 80px rgba(42, 51, 82, 0.13);

  --pm26-container: 1240px;
  --pm26-container-wide: 1440px;
  --pm26-gutter: clamp(18px, 3.5vw, 40px);
  --pm26-section-y: clamp(58px, 6vw, 88px);

  --pm26-text-xs: clamp(0.76rem, 0.73rem + 0.1vw, 0.82rem);
  --pm26-text-sm: clamp(0.88rem, 0.85rem + 0.12vw, 0.95rem);
  --pm26-text-base: clamp(1rem, 0.96rem + 0.16vw, 1.08rem);
  --pm26-text-lg: clamp(1.12rem, 1.04rem + 0.34vw, 1.28rem);
  --pm26-h3: clamp(1.35rem, 1.15rem + 0.65vw, 1.72rem);
  --pm26-h2: clamp(2rem, 1.55rem + 1.8vw, 3rem);
  --pm26-h1: clamp(2.75rem, 1.9rem + 3.4vw, 4.7rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--pm26-white);
  color: var(--pm26-ink-700);
  font-family: var(--pm26-font);
  font-size: var(--pm26-text-base);
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
  font-family: var(--pm26-font);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  color: var(--pm26-ink-900);
  font-family: var(--pm26-font);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--pm26-teal-600);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pm26-purple-600);
}

button,
input,
select,
textarea {
  font-size: inherit;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid rgba(29, 163, 180, 0.38);
  outline-offset: 3px;
}

.pm26-site-container,
.site-container {
  width: min(calc(100% - (2 * var(--pm26-gutter))), var(--pm26-container));
  margin-inline: auto;
}

.pm26-site-container--wide {
  width: min(calc(100% - (2 * var(--pm26-gutter))), var(--pm26-container-wide));
  margin-inline: auto;
}

.site-main,
.site-main--front,
.site-main--full-width {
  width: 100%;
  min-height: 50vh;
}

.entry-content,
.wpb-content-wrapper,
.vc_row,
.vc_column_container,
.vc_column-inner,
.wpb_wrapper {
  max-width: none;
}

.entry-content > :first-child,
.wpb_wrapper > :first-child {
  margin-top: 0;
}

.entry-content > :last-child,
.wpb_wrapper > :last-child {
  margin-bottom: 0;
}

/* Visual Composer: neutral base, layout is controlled by shortcodes. */
body.pm26-landing-page .vc_row,
body.pm26-landing-page .wpb_content_element,
body.pm26-landing-page .wpb_wrapper {
  margin-bottom: 0 !important;
}

body.pm26-landing-page .vc_row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.pm26-landing-page .vc_column_container > .vc_column-inner {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.pm26-breakout {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-left: -50vw;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: fixed !important;
  top: 16px;
  left: 16px;
  z-index: 2147483647;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: var(--pm26-ink-900);
  border-radius: 10px;
  box-shadow: var(--pm26-shadow-2);
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 767px) {
  :root {
    --pm26-section-y: 64px;
  }

  html {
    scroll-padding-top: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* v3.1: continuous landing surface; visual sections are controlled by PM26 shortcodes. */
body.pm26-landing-page {
  background: #ffffff;
}
