/* ================= FONTY ================= */
/* FONTY */
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Book.woff2') format('woff2'), url('../fonts/Gotham-Book.woff') format('woff'), url('https://cdn-prod.neonet.pl/richcontent/1348800/fonts/Gotham-Book.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Bold.woff2') format('woff2'), url('../fonts/Gotham-Bold.woff') format('woff'), url('https://cdn-prod.neonet.pl/richcontent/1348800/fonts/Gotham-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Gotham'; src: url('../fonts/Gotham-Medium.woff2') format('woff2'), url('../fonts/Gotham-Medium.woff') format('woff'), url('../fonts/Gotham-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }


/* ================= GŁÓWNY KONTENER ================= */
.rpc-container { max-width: 920px; min-width: 320px; margin: 0 auto; padding: 16px; font-family: 'Gotham', 'Montserrat', 'Lato', Verdana, sans-serif; color: #333; background-color: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.rpc-container * { margin: 0; padding: 0; box-sizing: border-box; }


/* ================= TYTUŁY, SEKCJE ================= */
.rpc-container .rpc-section { text-align: center; overflow: hidden; margin-bottom: 64px; }
.rpc-container .rpc-subtitle { font-size: 1.5rem; font-weight: 600; margin: 20px 0 10px 0; text-align: center; }
.rpc-container img, .rpc--container video { width: 100%; max-width: 800px; height: auto; display: block; margin: 0 auto;}
.rpc-container .rpc-description { font-size: 1rem; line-height: 1.5; font-weight: 400; font-family: 'Gotham', 'Montserrat', 'Lato', Verdana, sans-serif; margin-bottom: 20px; text-align: center; }
.rpc-container .rpc-small-text { font-size: 0.75rem; line-height: 1.2; color: #666; margin-bottom: 20px; text-align: center; }
.rpc-container figure { margin: 0; padding: 0; display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.rpc-container figcaption { margin-top: 12px; padding-bottom: 0; font-size: 0.8rem; line-height: 1.5; color: #555; text-align: center; font-style: normal; max-width: 90%; }

/* ================= OBRAZKI ================= */
.rpc-container .rpc-section img,
.rpc-container img.lazy { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* ============ BREAKPOINTY ============ */

/* WIDE DESKTOP: >1230px */
@media (min-width: 1230px) {
    .rpc-container { max-width: 920px; }
}

/* NARROW DESKTOP: 960px – 1229px */
@media (min-width: 960px) and (max-width: 1229px) {
    .rpc-container { max-width: 680px; }
}

/* MOBILE: <960px */
@media (max-width: 959px) {
    .rpc-container { width: 100%; max-width: 680px; min-width: 320px; padding: 0 1px; }
    .rpc-container .rpc-title { font-size: 1.4rem; }
    .rpc-container .rpc-description { font-size: 0.95rem; }
}