/* mKropka – style motywu (strona i edytor). Kolory i kroje z theme.json. */
:root {
	--mk-bg: var(--wp--preset--color--base, #101112);
	--mk-text: var(--wp--preset--color--contrast, #ECE9E3);
	--mk-soft: var(--wp--preset--color--soft, #C4C2BC);
	--mk-muted: var(--wp--preset--color--muted, #A3A29D);
	--mk-line: var(--wp--preset--color--line, #2C2D2F);
	--mk-line2: var(--wp--preset--color--line-strong, #3A3B3E);
	--mk-panel: var(--wp--preset--color--panel, #1A1B1D);
	--mk-deep: var(--wp--preset--color--deep, #0B0B0C);
	--mk-accent: var(--wp--preset--color--accent, #8E9BFF);
	--mk-light: #F3F1EC;
	--mk-serif: var(--wp--preset--font-family--serif, 'Instrument Serif', Georgia, serif);
	--mk-sans: var(--wp--preset--font-family--sans, 'Geist', system-ui, sans-serif);
	--mk-mono: var(--wp--preset--font-family--mono, 'Geist Mono', ui-monospace, monospace);
	--mk-gutter: clamp(20px, 5vw, 64px);
	--mk-header-h: 77px;
}

html { scroll-padding-top: calc(var(--mk-header-h) + 8px); }
body { margin: 0; background: var(--mk-bg); color: var(--mk-text); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .72; }
img { display: block; max-width: 100%; }
input, textarea, button, select { font: inherit; }
:focus-visible { outline: 2px solid var(--mk-accent); outline-offset: 3px; }

/* Reset odstępów bloków wewnątrz treści motywu */
.mk-main p, .mk-main h1, .mk-main h2, .mk-main h3, .mk-main figure, .mk-main ul, .mk-main ol, .mk-main blockquote,
.mk-site-header p, .mk-site-footer p, .mk-site-footer figure { margin: 0; }
.mk-main .wp-block-group, .mk-main .wp-block-image, .mk-main .wp-block-gallery, .mk-main .wp-block-buttons { margin-block: 0; }
.mk-main .is-layout-flow > * + *, .mk-site-header .is-layout-flow > * + *, .mk-site-footer .is-layout-flow > * + * { margin-block-start: 0; }
.mk-main :where(.wp-block-image) img { height: auto; }

.mk-wrap { box-sizing: border-box; max-width: 1320px; margin-left: auto !important; margin-right: auto !important; padding-left: var(--mk-gutter); padding-right: var(--mk-gutter); width: 100%; }
.mk-sec { padding-top: clamp(64px, 8vw, 120px); padding-bottom: clamp(64px, 8vw, 120px); }
.mk-sec-top { padding-top: clamp(64px, 8vw, 120px); }
.mk-sec-xl { padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(72px, 9vw, 140px); }
.mk-panel { background: var(--mk-panel); }
.mk-border-top { border-top: 1px solid var(--mk-line); }

/* Typografia */
.mk-kicker, .mk-kicker-inline { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-muted); line-height: 1.5; }
.mk-accent-text, .mk-kicker.mk-accent-text { color: var(--mk-accent); }
.has-accent-color { color: var(--mk-accent) !important; }
.mk-main h1, .mk-main h2, .mk-main h3, .mk-main .mk-serif { font-family: var(--mk-serif); font-weight: 400; }
.mk-display { font-size: clamp(56px, 8.4vw, 132px) !important; line-height: .95 !important; letter-spacing: -.025em !important; }
.mk-display-xl { font-size: clamp(64px, 10vw, 168px) !important; line-height: .9 !important; letter-spacing: -.03em !important; }
.mk-display-2 { font-size: clamp(48px, 6vw, 96px) !important; line-height: .96 !important; letter-spacing: -.025em !important; }
.mk-display-s { font-size: clamp(48px, 6vw, 96px) !important; line-height: .95 !important; letter-spacing: -.02em !important; }
.mk-h2 { font-size: clamp(44px, 5.4vw, 80px) !important; line-height: 1 !important; letter-spacing: -.02em !important; }
.mk-h3 { font-size: clamp(36px, 4vw, 56px) !important; line-height: 1 !important; letter-spacing: -.02em !important; }
.mk-lead { max-width: 640px; font-size: 19px; color: var(--mk-soft); }
.mk-soft { color: var(--mk-soft); }
.mk-muted { color: var(--mk-muted); }
.mk-small { font-size: 15px; }
.mk-narrow { max-width: 460px; }
.mk-main em { font-style: italic; }
.mk-main mark.has-inline-color { background: transparent; }
.mk-link-mono { font-family: var(--mk-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.mk-link-mono a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--mk-text); }
.mk-link-mono.mk-nounderline a { border-bottom: 0; }

/* Przyciski */
.mk-main .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.mk-main .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-size: 17px; font-weight: 500; box-sizing: border-box; background: var(--mk-text); color: var(--mk-bg); }
.mk-main .is-style-accent .wp-block-button__link { background: var(--mk-accent); color: var(--mk-bg); }
.mk-main .is-style-outline .wp-block-button__link { background: transparent; color: var(--mk-text); border: 1px solid var(--mk-text); font-weight: 400; }
.mk-arrow .wp-block-button__link::after { content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat; }

/* Nagłówek */
.mk-site-header { position: sticky; top: 0; z-index: 50; background: rgba(16,17,18,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--mk-line); }
.admin-bar .mk-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .mk-site-header { top: 0; position: relative; } }
.mk-header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; }
.mk-logo a { display: flex; align-items: baseline; gap: 10px; }
.mk-logo-m { font-family: var(--mk-serif); font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.mk-logo-dot { color: var(--mk-accent); }
.mk-logo-tag { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-muted); }
.mk-nav { font-size: 15px; }
.mk-nav .wp-block-navigation__container { gap: 8px 28px; align-items: center; }
.mk-nav .wp-block-navigation-item__content { padding: 0; }
.mk-nav .current-menu-item > a:not(.mk-nav-cta a) { border-bottom: 2px solid var(--mk-accent); padding-bottom: 2px; }
.mk-nav .mk-nav-cta > a, .mk-nav .mk-nav-cta .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--mk-text); color: var(--mk-bg) !important; border: 0 !important; }
.mk-nav .mk-nav-back > a { color: var(--mk-muted); }
.mk-nav .wp-block-navigation__responsive-container.is-menu-open { background: rgba(16,17,18,.58) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--mk-text) !important; padding: 24px var(--mk-gutter); }
.mk-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 14px; font-size: 18px; }
.mk-nav .wp-block-navigation__responsive-container-open, .mk-nav .wp-block-navigation__responsive-container-close { color: var(--mk-text); }

/* Stopka */
.mk-site-footer { border-top: 1px solid var(--mk-line); }
.mk-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; padding-bottom: 28px; font-size: 14px; color: var(--mk-muted); }
.mk-footer-brand { display: flex; align-items: center; gap: 14px; }
.mk-footer-logo img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.mk-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* HERO */
.mk-hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 56px; display: flex; flex-direction: column; gap: 32px; }
.mk-stats { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-top: 24px; border-top: 1px solid var(--mk-line); }
.mk-stats--plain { border-top: 0; padding-top: 0; gap: 32px; }
.mk-stat { display: flex; flex-direction: column; }
.mk-stat-num { font-family: var(--mk-serif); font-size: 40px; line-height: 1; }
.mk-stats--plain .mk-stat-num { font-size: 44px; }
.mk-stat-label { font-size: 14px; color: var(--mk-muted); }

/* Pasek z hasłami */
.mk-ribbon { border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); overflow: hidden; }
.mk-ribbon-text { box-sizing: border-box; max-width: 1320px; margin: 0 auto !important; padding: 20px var(--mk-gutter); font-family: var(--mk-serif); font-size: clamp(22px, 2.4vw, 32px); font-style: italic; color: var(--mk-soft); word-spacing: .1em; }
.mk-ribbon-text .mk-dot { color: var(--mk-accent); margin: 0 .5em; }

/* Nagłówki sekcji */
.mk-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px !important; }
.mk-section-head--tight { margin-bottom: 20px !important; gap: 12px 24px; }
.mk-head-l { display: flex; flex-direction: column; gap: 16px; }
.mk-head-l .mk-h2 { max-width: 760px; }
.mk-head-wide { flex: 1 1 560px; min-width: 0; gap: 20px; }
.mk-head-p { max-width: 420px; }
.mk-order-3 { order: 3; }
.mk-sub-head { margin-top: clamp(64px, 8vw, 112px) !important; margin-bottom: 32px !important; }
.mk-sub-head .mk-head-p { max-width: 460px; }

/* WIZJER (wspólne) */
.mk-vf { position: relative; background: var(--mk-deep); color: var(--mk-light); }
.mk-vf .mk-scene { position: relative; }
/* Bez JS: kadry jeden pod drugim */
.mk-vf .mk-scene { display: grid; grid-template-columns: minmax(0,1fr); }
.mk-vf .mk-scene-img img, .mk-vf .mk-scene-img video { width: 100%; height: 60vh; min-height: 320px; object-fit: cover; }
.mk-vf .mk-scene > p, .mk-vf .mk-scene > h1, .mk-vf .mk-scene > h2 { padding: 0 var(--mk-gutter); max-width: 620px; }
.mk-vf .mk-scene-label { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-accent); padding-top: 20px !important; }
.mk-vf .mk-scene-title { font-size: clamp(40px, 5.6vw, 88px) !important; line-height: .96 !important; letter-spacing: -.025em !important; margin: 10px 0 !important; }
.mk-vf--film .mk-scene-title { font-size: clamp(44px, 7vw, 112px) !important; line-height: .95 !important; max-width: 900px !important; }
.mk-vf .mk-scene-sub { font-size: 17px; color: #E4E1DA; max-width: 460px !important; padding-bottom: 32px !important; }
.mk-vf .mk-scene-exp { display: none; }

/* Wizjer z JS */
.mk-js .mk-vf.is-ready { height: var(--mk-vf-h, 2400px); }
.mk-js .mk-vf--film.is-ready { height: var(--mk-vf-h, 2600px); }
.mk-vf.is-ready .mk-vf-stage { position: sticky; top: var(--mk-header-h); height: min(780px, calc(100vh - var(--mk-header-h))); min-height: 560px; overflow: hidden; }
.mk-vf--film.is-ready .mk-vf-stage { min-height: 520px; }
.mk-vf.is-ready .mk-scene { position: absolute; inset: 0; display: block; opacity: 0; }
.mk-vf.is-ready .mk-scene.is-first { opacity: 1; }
.mk-vf.is-ready .mk-scene-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; pointer-events: none; }
.mk-vf.is-ready .mk-scene > p, .mk-vf.is-ready .mk-scene > h1, .mk-vf.is-ready .mk-scene > h2 { position: relative; z-index: 3; }
.mk-vf.is-ready .mk-scene-copy { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; box-sizing: border-box; max-width: 1320px; margin: 0 auto; padding: 0 var(--mk-gutter) calc(clamp(32px, 5vw, 56px) + 64px); display: flex; flex-direction: column; gap: 14px; pointer-events: none; }
.mk-vf--film.is-ready .mk-scene-copy { max-width: none; padding: 0 clamp(36px, 6vw, 88px) calc(clamp(36px, 5vw, 64px) + 64px); gap: 16px; }
.mk-vf.is-ready .mk-scene-copy > * { padding: 0 !important; margin: 0 !important; }
.mk-vf.is-ready .mk-scene-label { color: var(--mk-accent); }
.mk-vf--film.is-ready .mk-scene-label { color: #D8D5CE; }
/* portret: rozmyte tło + ramka 4:5 po prawej */
.mk-vf--portrait.is-ready .mk-scene-img { position: absolute; inset: 0; margin: 0; }
.mk-vf--portrait.is-ready .mk-scene-img img { height: 100%; min-height: 0; }
.mk-vf-bg { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); object-fit: cover; filter: blur(40px) brightness(.34) saturate(.95); }
.mk-vf-frame { position: absolute; top: clamp(20px, 5%, 48px); bottom: clamp(20px, 5%, 48px); right: max(var(--mk-gutter), calc(50% - 596px)); aspect-ratio: 4 / 5; max-width: calc(100% - 32px); overflow: hidden; border-radius: 2px; }
.mk-vf--portrait.is-ready .mk-vf-frame .mk-scene-img { position: absolute; inset: 0; }
.mk-vf--portrait.is-ready .mk-vf-frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.mk-vf-grid { position: absolute; pointer-events: none; z-index: 2; }
.mk-vf-grid > span { position: absolute; }
.mk-vf-grid .g { background: rgba(255,255,255,.16); }
.mk-vf-grid .gv1 { left: 33.333%; top: 0; bottom: 0; width: 1px; } .mk-vf-grid .gv2 { left: 66.666%; top: 0; bottom: 0; width: 1px; }
.mk-vf-grid .gh1 { top: 33.333%; left: 0; right: 0; height: 1px; } .mk-vf-grid .gh2 { top: 66.666%; left: 0; right: 0; height: 1px; }
.mk-vf-grid .c { width: 32px; height: 32px; border: 0 solid var(--mk-light); }
.mk-vf-grid .c1 { left: 12px; top: 12px; border-left-width: 2px; border-top-width: 2px; } .mk-vf-grid .c2 { right: 12px; top: 12px; border-right-width: 2px; border-top-width: 2px; }
.mk-vf-grid .c3 { left: 12px; bottom: 12px; border-left-width: 2px; border-bottom-width: 2px; } .mk-vf-grid .c4 { right: 12px; bottom: 12px; border-right-width: 2px; border-bottom-width: 2px; }
.mk-vf--portrait .mk-vf-grid { top: clamp(20px, 5%, 48px); bottom: clamp(20px, 5%, 48px); right: max(var(--mk-gutter), calc(50% - 596px)); aspect-ratio: 4 / 5; max-width: calc(100% - 32px); }
.mk-vf--film .mk-vf-grid { inset: clamp(16px, 3vw, 32px); }
.mk-vf--film .mk-vf-grid .g { background: rgba(255,255,255,.14); }
.mk-vf--film .mk-vf-grid .c { width: 36px; height: 36px; }
.mk-vf--film .mk-vf-grid .c1, .mk-vf--film .mk-vf-grid .c3 { left: 0; } .mk-vf--film .mk-vf-grid .c2, .mk-vf--film .mk-vf-grid .c4 { right: 0; }
.mk-vf--film .mk-vf-grid .c1, .mk-vf--film .mk-vf-grid .c2 { top: 0; } .mk-vf--film .mk-vf-grid .c3, .mk-vf--film .mk-vf-grid .c4 { bottom: 0; }
.mk-vf-focus { position: absolute; border: 1px solid rgba(243,241,236,.8); border-radius: 2px; transition: left .3s ease, top .3s ease, width .3s ease, height .3s ease, margin .3s ease, border-color .2s ease, border-radius .3s ease; }
.mk-vf-hud { position: absolute; display: flex; align-items: center; gap: 8px; font-family: var(--mk-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 8px; background: rgba(8,8,9,.55); border-radius: 2px; color: var(--mk-light); }
.mk-vf--film .mk-vf-hud { font-size: 12px; background: none; padding: 0; gap: 10px; }
.mk-vf-hud .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--mk-accent); }
.mk-vf-hud .rec { width: 10px; height: 10px; border-radius: 999px; background: #FF4D3D; }
.mk-vf-hud--l { left: 24px; top: 22px; } .mk-vf-hud--r { right: 24px; top: 22px; }
.mk-vf--film .mk-vf-hud--l { left: 20px; top: 16px; } .mk-vf--film .mk-vf-hud--r { right: 20px; top: 16px; }
.mk-vf-hud--b { left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; background: none; padding: 0; letter-spacing: .12em; }
.mk-vf-hud--b span { padding: 4px 8px; background: rgba(8,8,9,.55); border-radius: 2px; }
.mk-vf-shade { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(to top, rgba(8,8,9,.82) 0%, rgba(8,8,9,.25) 45%, rgba(8,8,9,0) 70%); }
.mk-vf--film .mk-vf-shade { background: rgba(8,8,9,.30); }
.mk-vf-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; box-sizing: border-box; max-width: 1320px; margin: 0 auto; padding: 0 var(--mk-gutter) clamp(32px, 5vw, 56px); display: flex; flex-direction: column; gap: 14px; pointer-events: none; }
.mk-vf--film .mk-vf-ui { max-width: none; padding: 0 clamp(36px, 6vw, 88px) clamp(36px, 5vw, 64px); }
.mk-vf-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.mk-vf--film .mk-vf-tabs { gap: 8px 28px; }
.mk-vf-tabs span { font-family: var(--mk-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 6px; border-bottom: 2px solid transparent; color: rgba(243,241,236,.6); }
.mk-vf-tabs span.is-on { border-bottom-color: var(--mk-light); color: var(--mk-light); }
.mk-vf-tabs .mk-vf-hint { border: 0; color: #D8D5CE; font-size: 12px; }
.mk-vf--film .mk-vf-tabs .mk-vf-hint { margin-left: auto; }
.mk-vf-bar { max-width: 620px; height: 2px; background: rgba(255,255,255,.18); }
.mk-vf--film .mk-vf-bar { max-width: none; }
.mk-vf-bar > i { display: block; height: 2px; width: 0; background: var(--mk-light); }
.mk-vf--film.is-ready .mk-scene-img, .mk-vf--film.is-ready .mk-scene-img img, .mk-vf--film.is-ready .mk-scene-img video { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; object-fit: cover; }
.mk-vf--film.is-ready .mk-scene-img img, .mk-vf--film.is-ready .mk-scene-img video { transform-origin: 50% 40%; will-change: transform; }
.mk-vf--film .mk-scene-copy .mk-scene-sub { max-width: 520px !important; }
.mk-vf--film .mk-scene-title, .mk-vf--portrait .mk-scene-title { color: var(--mk-light); }
@media (max-width: 700px) {
	.mk-vf--portrait .mk-vf-frame, .mk-vf--portrait .mk-vf-grid { left: 0; right: 0; top: 0; bottom: auto; margin: 0; width: 100%; max-width: none; height: auto; aspect-ratio: 4 / 5; max-height: 66%; border-radius: 0; }
	.mk-vf.is-ready .mk-scene-copy { padding-bottom: 96px; }
}

/* DLA KOGO – zakładki */
.mk-tablist { display: flex; flex-wrap: wrap; gap: 4px 8px; border-bottom: 1px solid var(--mk-line2); margin-bottom: 40px; }
.mk-tablist button { min-height: 52px; padding: 0 20px; margin-bottom: -1px; background: transparent; border: 0; border-bottom: 2px solid transparent; cursor: pointer; font-size: 17px; color: var(--mk-muted); }
.mk-tablist button[aria-selected="true"] { color: var(--mk-text); font-weight: 500; border-bottom-color: var(--mk-accent); }
.mk-tab { display: flex; flex-direction: column; gap: 40px; }
.mk-tabs { display: flex; flex-direction: column; gap: 64px; }
.mk-tabs.is-ready { gap: 0; }
.mk-tabs.is-ready .mk-tab[hidden] { display: none; }
.mk-tab-label { font-family: var(--mk-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-muted); }
.mk-tabs.is-ready .mk-tab-label { display: none; }
.mk-tab-band { position: relative; overflow: hidden; border-radius: 4px; background: var(--mk-panel); display: flex; flex-wrap: wrap; align-items: stretch; }
.mk-tab-band .mk-band-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; filter: blur(36px) brightness(.38) saturate(.9); pointer-events: none; }
.mk-tab-band-text { position: relative; flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; padding: clamp(28px, 4vw, 56px); }
.mk-tab-title { max-width: 620px; font-size: clamp(40px, 4.4vw, 64px) !important; line-height: 1 !important; letter-spacing: -.02em; }
.mk-tab-img { position: relative; flex: 0 1 480px; width: 480px; max-width: 100%; }
.mk-tab-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
.mk-tab-body { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.mk-col { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mk-tab-body .mk-col + .mk-col { flex-basis: 420px; gap: 24px; }
.mk-tab-lead { max-width: 560px; font-size: 18px; color: var(--mk-soft); }
.mk-tab-note { font-size: 15px; color: var(--mk-muted); }
.mk-numlist { list-style: none; padding: 0 !important; display: flex; flex-direction: column; border-top: 1px solid var(--mk-line2); counter-reset: mk; }
.mk-numlist li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--mk-line2); counter-increment: mk; }
.mk-numlist li::before { content: counter(mk, decimal-leading-zero); font-family: var(--mk-mono); font-size: 13px; color: var(--mk-accent); padding-top: .2em; }
.mk-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.mk-price { font-family: var(--mk-mono); font-size: 13px; }
.mk-price-lg { font-size: 14px; }
.mk-tab .mk-link-mono { align-self: flex-start; }

/* Pozycje obiektu-* (object-position) */
.mk-pos-15 img { object-position: 50% 15%; } .mk-pos-20 img { object-position: 50% 20%; } .mk-pos-25 img { object-position: 50% 25%; }
.mk-pos-30 img { object-position: 50% 30%; } .mk-pos-40 img { object-position: 50% 40%; } .mk-pos-50 img { object-position: 50% 50%; }

/* Wybrane portrety */
.mk-grid-portraits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px 20px; }
.mk-portrait { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mk-portrait img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 20%; border-radius: 4px; background: var(--mk-panel); }
.mk-main .wp-element-caption, .mk-portrait figcaption { margin: 0; text-align: left; font-family: var(--mk-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-muted); }

/* Oferta */
.mk-offer { display: flex; flex-wrap: wrap; gap: 48px; }
.mk-offer-intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mk-offer-intro .mk-h2 { font-size: clamp(44px, 5vw, 72px) !important; }
.mk-offer-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--mk-text); }
.mk-offer-row { position: relative; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--mk-line2); }
.mk-row-num { font-family: var(--mk-mono); font-size: 13px; color: var(--mk-accent); width: 40px; }
.mk-row-main { flex: 1 1 320px; display: flex; flex-direction: column; gap: 6px; }
.mk-row-title { font-family: var(--mk-serif); font-size: 34px; line-height: 1.1; }
.mk-row-title a::after { content: ""; position: absolute; inset: 0; }
.mk-row-desc { color: var(--mk-muted); font-size: 16px; }
.mk-row-price { font-family: var(--mk-mono); font-size: 13px; }

/* Proces */
.mk-proces-title { max-width: 900px; font-size: clamp(44px, 5vw, 72px) !important; margin: 20px 0 56px !important; }
.mk-steps { display: flex; flex-wrap: wrap; gap: 32px; }
.mk-step { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--mk-text); }
.mk-step-num { font-family: var(--mk-serif); font-size: 56px; line-height: 1; color: var(--mk-accent); }
.mk-step-title { font-weight: 500; font-size: 19px; }
.mk-step-desc { color: var(--mk-muted); font-size: 16px; }

/* Opinie */
.mk-reviews { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.mk-reviews-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.mk-rating { display: flex; align-items: baseline; gap: 14px; }
.mk-rating-num { font-family: var(--mk-serif); font-size: 72px; line-height: .9; }
.mk-rating-meta { font-size: 14px; color: var(--mk-muted); line-height: 1.6; }
.mk-stars { color: var(--mk-accent); letter-spacing: .12em; font-size: 17px; }
.mk-reviews-list { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.mk-review { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 20px; }
.mk-review p { font-family: var(--mk-serif); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -.01em; }
.mk-review p::before { content: "\201C"; display: block; font-size: 96px; line-height: .6; color: var(--mk-accent); margin-bottom: 8px; }
.mk-review cite { font-style: normal; padding-top: 20px; border-top: 1px solid var(--mk-line); font-family: var(--mk-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-muted); }
.mk-rev-name { color: var(--mk-text); }
.mk-reviews.is-ready .mk-reviews-list { gap: 0; }
.mk-reviews.is-ready .mk-review { display: none; }
.mk-reviews.is-ready .mk-review.is-current { display: flex; }
.mk-review-quote { min-height: 240px; transition: opacity .16s ease, transform .16s ease; }
.mk-review-quote.is-fading { opacity: 0; transform: translateY(8px); }
.mk-review.is-len-s p { font-size: clamp(34px, 4.2vw, 60px); }
.mk-review.is-len-m p { font-size: clamp(26px, 3vw, 42px); }
.mk-review.is-len-l p { font-size: clamp(20px, 2.1vw, 28px); }
.mk-rev-nums { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.mk-rev-nums button, .mk-rev-arrow { width: 44px; height: 44px; padding: 0; border-radius: 999px; background: transparent; cursor: pointer; font-family: var(--mk-mono); font-size: 12px; color: var(--mk-muted); border: 1px solid var(--mk-line2); transition: color .2s, border-color .2s; }
.mk-rev-nums button[aria-current="true"] { color: var(--mk-bg); background: var(--mk-accent); border-color: var(--mk-accent); }
.mk-rev-arrow { color: var(--mk-text); font-family: var(--mk-sans); font-size: 16px; }
.mk-rev-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--mk-line); font-family: var(--mk-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-muted); }
.mk-reviews.is-ready .mk-review cite { display: none; }
.mk-rev-ctrl { display: flex; align-items: center; gap: 8px; }
.mk-rev-count { min-width: 64px; text-align: center; }
.mk-rev-bar { height: 1px; background: var(--mk-line); }
.mk-rev-bar > i { display: block; height: 1px; background: var(--mk-accent); transition: width .3s; }

/* O mnie */
.mk-about { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.mk-about-img { flex: 0 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mk-about-img img { width: 100%; max-width: 360px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; background: var(--mk-panel); filter: grayscale(1); }
.mk-about-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.mk-about-text .mk-h2 { font-size: clamp(44px, 5vw, 72px) !important; }
.mk-about-text .mk-soft { max-width: 620px; }
.mk-underlinks { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
.mk-underlinks a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--mk-text); }

/* Pasek Przestrzeń */
.mk-band-wrap { background: var(--mk-deep); }
.mk-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 36px; padding-bottom: 36px; }
.mk-band-text { display: flex; flex-direction: column; gap: 6px; }
.mk-band-title { font-family: var(--mk-serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.mk-band .wp-block-button__link { min-height: 48px; padding: 0 22px; font-size: 15px; }

/* Kontakt */
.mk-contact { padding-top: clamp(72px, 9vw, 140px); padding-bottom: clamp(72px, 9vw, 140px); display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; justify-content: space-between; }
.mk-contact-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.mk-contact-big { font-family: var(--mk-serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.2; }

/* Formularze */
.mk-form { flex: 1 1 480px; min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 28px; padding: clamp(24px, 3vw, 40px); background: var(--mk-panel); border-radius: 8px; border: 1px solid var(--mk-line); }
.mk-form--przestrzen { flex-basis: 520px; }
.mk-fstep { border: 0; margin: 0; padding: 20px 0 0; min-inline-size: 0; border-top: 1px solid var(--mk-line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mk-fstep:first-child { padding-top: 0; border-top: 0; }
.mk-fstep[hidden] { display: none; }
.mk-fstep-legend { padding: 0; margin-bottom: 12px; font-family: var(--mk-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-muted); }
.mk-fstep-no { color: var(--mk-accent); }
.mk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-chip { position: relative; display: inline-flex; }
.mk-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mk-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; cursor: pointer; background: transparent; color: var(--mk-text); border: 1px solid var(--mk-line2); box-sizing: border-box; }
.mk-chip input:checked + span { background: var(--mk-accent); color: var(--mk-bg); border-color: var(--mk-accent); }
.mk-chip input:focus-visible + span { outline: 2px solid var(--mk-accent); outline-offset: 2px; }
.mk-row { display: flex; flex-wrap: wrap; gap: 16px; }
.mk-field { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--mk-muted); }
.mk-field input, .mk-field textarea { min-height: 48px; padding: 0 14px; border: 1px solid var(--mk-line2); border-radius: 6px; background: var(--mk-bg); color: var(--mk-text); font-size: 16px; box-sizing: border-box; width: 100%; }
.mk-field textarea { padding: 12px 14px; resize: vertical; }
.mk-fstep--data { gap: 16px; }
.mk-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; padding: 14px 16px; border-radius: 6px; background: var(--mk-bg); border: 1px solid var(--mk-line); font-size: 15px; }
.mk-summary-label { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-muted); }
.mk-submit { min-height: 52px; border: 0; border-radius: 999px; background: var(--mk-text); color: var(--mk-bg); font-size: 16px; font-weight: 500; cursor: pointer; }
.mk-submit[disabled] { opacity: .6; cursor: progress; }
.mk-consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--mk-soft); cursor: pointer; }
.mk-consent input { flex: 0 0 auto; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--mk-accent); cursor: pointer; }
.mk-consent a { text-decoration: underline; }
.mk-form-msg { margin: 0; padding: 12px 16px; border-radius: 6px; font-size: 15px; }
.mk-form-msg--ok { border: 1px solid var(--mk-accent); }
.mk-form-msg--err { border: 1px solid #E39A7B; color: #F0C2AE; }
.mk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Galeria / realizacje */
.mk-phero { padding-top: clamp(48px, 7vw, 104px); padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-end; justify-content: space-between; }
.mk-phero-l { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mk-phero-r { flex: 0 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mk-filterbar { position: sticky; top: var(--mk-header-h); z-index: 5; background: rgba(16,17,18,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); }
.mk-filterbar-inner { box-sizing: border-box; max-width: 1320px; margin: 0 auto; padding: 12px var(--mk-gutter); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mk-filterbar button { min-height: 44px; padding: 0 18px; border-radius: 999px; font-size: 15px; cursor: pointer; background: transparent; color: var(--mk-text); border: 1px solid var(--mk-line2); }
.mk-filterbar button[aria-selected="true"] { background: var(--mk-text); color: var(--mk-bg); border-color: var(--mk-text); }
.mk-filterbar button span { font-family: var(--mk-mono); font-size: 12px; opacity: .7; }
.mk-gallery-wrap { padding-top: 32px; padding-bottom: clamp(64px, 8vw, 120px); }
.mk-main .wp-block-gallery.mk-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px !important; }
.mk-main .wp-block-gallery.mk-case-photos, .mk-main .wp-block-gallery.mk-study-photos { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px !important; align-content: start; }
.mk-main .wp-block-gallery.mk-study-photos { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.mk-main .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; flex: none; display: flex; flex-direction: column; overflow: visible; }
.mk-main .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; background: var(--mk-panel); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mk-main .wp-block-gallery.mk-wide { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important; }
.mk-main .wp-block-gallery.mk-wide figure.wp-block-image img { aspect-ratio: 3 / 2; }
.mk-main .mk-zoomable figure.wp-block-image { cursor: zoom-in; }
.mk-main .mk-zoomable .mk-zoom-btn { display: block; padding: 0; margin: 0; border: 0; background: var(--mk-panel); border-radius: 4px; overflow: hidden; cursor: zoom-in; width: 100%; }
.mk-main .mk-zoomable .mk-zoom-btn:hover img { transform: scale(1.04); }
.mk-gal-cap { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px 0; font-family: var(--mk-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-muted); }
.mk-main .wp-block-gallery figure.is-filtered-out, .mk-case.is-filtered-out { display: none !important; }
.mk-cases { padding-top: 16px; padding-bottom: clamp(64px, 8vw, 120px); display: flex; flex-direction: column; }
.mk-case { display: flex; flex-wrap: wrap; gap: 32px 56px; padding: clamp(40px, 5vw, 72px) 0; border-bottom: 1px solid var(--mk-line); }
.mk-case-text { flex: 1 1 340px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; gap: 18px; }
.mk-case-num, .mk-case-meta { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-muted); }
.mk-case-num + .mk-case-meta { margin-top: -14px !important; }
.mk-case-title { font-size: clamp(34px, 3.6vw, 52px) !important; line-height: 1.02 !important; letter-spacing: -.02em; }
.mk-case .wp-block-gallery { flex: 999 1 520px; min-width: 0; }
.mk-dl { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.mk-dl-row { display: grid; grid-template-columns: 5.5em 1fr; column-gap: 20px; margin: 0 !important; }
.mk-dl strong { font-weight: 400; color: var(--mk-muted); }
.mk-tags { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.mk-tags li { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--mk-line2); font-size: 13px; color: var(--mk-soft); }
.mk-cta-band { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.mk-cta-title { max-width: 760px; font-size: clamp(40px, 5vw, 72px) !important; }

/* Lightbox */
.mk-lb { position: fixed; inset: 0; z-index: 200; background: rgba(12,12,13,.96); color: var(--mk-light); display: flex; flex-direction: column; }
.mk-lb[hidden] { display: none; }
.mk-lb-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(16px, 3vw, 32px); font-family: var(--mk-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.mk-lb-mid { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 clamp(8px, 2vw, 24px); }
.mk-lb-mid img { flex: 1 1 auto; min-width: 0; max-width: 100%; max-height: 100%; height: 100%; object-fit: contain; }
.mk-lb button { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 999px; border: 1px solid rgba(243,241,236,.4); background: transparent; color: var(--mk-light); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.mk-lb .mk-lb-close { width: 48px; height: 48px; }
.mk-lb-cap { margin: 0; padding: 16px clamp(16px, 3vw, 32px) 24px; text-align: center; font-family: var(--mk-serif); font-size: 24px; }

/* Studium */
.mk-study-hero { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.mk-study-hero-text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mk-study-hero-text .mk-lead { max-width: 560px; }
.mk-study-hero-img { flex: 1 1 360px; min-width: 0; max-width: 480px; }
.mk-study-hero-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--mk-panel); }
.mk-study-grid { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; gap: 40px 64px; }
.mk-study-chall { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mk-study-sol { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.mk-serif-quote { font-family: var(--mk-serif); letter-spacing: -.02em; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; }
.mk-study-proc { padding-top: clamp(56px, 7vw, 96px); padding-bottom: 24px; display: flex; flex-direction: column; gap: 28px; }
.mk-proc { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.mk-proc-step { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 2px solid var(--mk-text); }
.mk-proc-num { font-family: var(--mk-serif); letter-spacing: -.02em; font-size: 44px; line-height: 1; }
.mk-study-ex { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 20px; }
.mk-study-ex .mk-head-l { gap: 8px; }
.mk-placeholder-box { padding: 48px 24px; border: 1px dashed #4A4A47; border-radius: 4px; background: var(--mk-panel); text-align: center; font-family: var(--mk-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mk-muted); }
.mk-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px !important; }
.mk-pills .mk-kicker-inline { margin-right: 8px; }
.mk-pills a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--mk-line2); font-size: 15px; }

/* Przestrzeń */
.mk-numbers { display: flex; flex-wrap: wrap; border-top: 1px solid var(--mk-line); border-bottom: 1px solid var(--mk-line); margin-bottom: 56px !important; }
.mk-numbers .mk-stat { flex: 1 1 200px; padding: 28px 0; gap: 4px; }
.mk-mono-num { font-family: var(--mk-mono) !important; font-size: clamp(36px, 4vw, 56px) !important; letter-spacing: -.03em; line-height: 1.2 !important; }
.mk-flag { position: relative; display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; margin-bottom: 20px !important; background: var(--mk-panel); border-radius: 6px; overflow: hidden; }
.mk-flag-img { flex: 1 1 420px; min-width: 0; }
.mk-flag-img img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #232426; }
.mk-flag-text { flex: 1 1 340px; min-width: 0; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.mk-flag-top { display: flex; flex-direction: column; gap: 14px; }
.mk-flag-title { font-family: var(--mk-serif); font-size: clamp(36px, 3.6vw, 52px); line-height: 1; }
.mk-flag-title a::after { content: ""; position: absolute; inset: 0; }
.mk-tiles { display: flex; flex-wrap: wrap; gap: 20px; }
.mk-tile { position: relative; flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding-bottom: 8px; }
.mk-tile-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 45%; border-radius: 6px; background: #232426; }
.mk-tile-meta { display: flex; justify-content: space-between; gap: 12px; font-family: var(--mk-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mk-muted); }
.mk-tile-title { font-family: var(--mk-serif); font-size: 32px; line-height: 1.05; }
.mk-tile-title a::after { content: ""; position: absolute; inset: 0; }
.mk-tile-desc { color: var(--mk-muted); font-size: 15px; }
.mk-tile-more { font-family: var(--mk-mono); font-size: 13px; color: var(--mk-text); }
.mk-tiles + .mk-small { margin-top: 28px !important; }
.mk-live { display: flex; flex-wrap: wrap; gap: 28px 20px; }
.mk-live-item { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mk-live-item .mk-kicker { letter-spacing: .1em; }
.mk-live-video video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #232426; display: block; }
.mk-main .wp-block-video { margin: 0; }
.mk-pano360 img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
.mk-pano { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 6px; background-color: #232426; background-size: auto 100%; background-repeat: repeat-x; background-position: 0 50%; cursor: grab; touch-action: pan-y; user-select: none; outline-offset: 4px; }
.mk-pano.is-drag { cursor: grabbing; }
.mk-pano-hint { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; background: rgba(16,17,18,.72); color: var(--mk-text); font-family: var(--mk-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.mk-reels { display: flex; flex-wrap: wrap; gap: 28px 20px; }
.mk-reel { position: relative; flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.mk-reel-img { position: relative; }
.mk-reel-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; background: #232426; }
.mk-reel-img::after { content: ""; position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 999px; background: rgba(16,17,18,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ECE9E3'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/16px no-repeat; }
.mk-reel-meta { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .1em; color: var(--mk-muted); }
.mk-reel-title { font-size: 16px; }
.mk-reel-title a::after { content: ""; position: absolute; inset: 0; }
.mk-museums { margin-top: clamp(64px, 8vw, 112px) !important; display: flex; flex-wrap: wrap; gap: 32px; }
.mk-mq { flex: 1 1 340px; min-width: 0; margin: 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--mk-line); display: flex; flex-direction: column; gap: 16px; }
.mk-mq p { font-family: var(--mk-serif); font-size: 26px; line-height: 1.2; }
.mk-mq cite { font-style: normal; font-size: 14px; color: var(--mk-muted); }
.mk-trusted { margin-top: 56px !important; display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mk-mono); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--mk-muted); }
.mk-trusted .mk-strong { color: var(--mk-text); }
#pakiety .mk-wrap { display: flex; flex-direction: column; gap: 56px; }
#pakiety .mk-section-head { margin-bottom: 0 !important; }
#pakiety .mk-h2 { font-size: clamp(44px, 5vw, 72px) !important; }
.mk-pkg-group { display: flex; flex-direction: column; gap: 20px; }
.mk-pkgs { display: flex; flex-wrap: wrap; gap: 20px; }
.mk-pkg { flex: 1 1 260px; min-width: 0; padding: 28px; border-radius: 6px; background: var(--mk-panel); color: var(--mk-text); display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; }
.mk-pkg--hi { background: var(--mk-text); color: var(--mk-bg); }
.mk-pkg--hi .mk-kicker, .mk-pkg--hi .mk-dash { color: #4A4A47; }
.mk-pkg-price { font-family: var(--mk-serif); font-size: 44px; line-height: 1; }
.mk-dash { list-style: none; padding: 0 !important; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--mk-muted); }
.mk-dash li { display: flex; gap: 10px; }
.mk-dash li::before { content: "—"; color: var(--mk-accent); }

/* Polityka */
.mk-policy { box-sizing: border-box; max-width: 860px; margin: 0 auto !important; padding: clamp(48px, 7vw, 96px) var(--mk-gutter) clamp(72px, 9vw, 120px); display: flex; flex-direction: column; gap: 20px; line-height: 1.65; }
.mk-policy .mk-display-s { font-size: clamp(48px, 6vw, 88px) !important; line-height: .96 !important; letter-spacing: -.025em !important; }
.mk-policy .mk-kicker + .mk-display-s + .mk-kicker { font-size: 13px; letter-spacing: .08em; }
.mk-policy-h2 { margin-top: 24px !important; padding-top: 32px; border-top: 1px solid var(--mk-line); font-size: clamp(30px, 3vw, 42px) !important; line-height: 1.1 !important; }
.mk-policy-list { padding-left: 22px !important; display: flex; flex-direction: column; gap: 6px; color: var(--mk-soft); }
.mk-policy a { text-decoration: underline; }
.mk-policy code { font-family: var(--mk-mono); font-size: 14px; background: none; }
.mk-table { overflow-x: auto; border: 1px solid var(--mk-line); border-radius: 8px; margin: 0 !important; }
.mk-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; color: var(--mk-soft); }
.mk-table th { text-align: left; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--mk-line2); font-family: var(--mk-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-muted); font-weight: 400; }
.mk-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--mk-line); vertical-align: top; }
.mk-table thead { border: 0; }
.mk-policy .wp-block-buttons { margin-top: 16px !important; }
.mk-policy .wp-block-button__link { min-height: 48px; padding: 0 22px; font-size: 15px; }

/* Baner cookies */
.mk-ck { position: fixed; right: 16px; bottom: 16px; left: 16px; z-index: 300; max-width: 380px; margin-left: auto; max-height: calc(100vh - 32px); overflow-y: auto; padding: 18px; box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; background: rgba(26,27,29,.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--mk-text); border: 1px solid var(--mk-line); border-radius: 10px; box-shadow: 0 16px 40px rgba(0,0,0,.45); font-family: var(--mk-sans); font-size: 14px; line-height: 1.5; }
.mk-ck[hidden], .mk-ck-settings[hidden] { display: none; }
.mk-ck-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mk-ck-kicker { font-family: var(--mk-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mk-muted); }
.mk-ck-link { text-decoration: underline; }
.mk-ck-text { margin: 0; color: var(--mk-soft); }
.mk-ck-settings { display: flex; flex-direction: column; }
.mk-ck-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--mk-line); }
.mk-ck-name { display: flex; flex-direction: column; gap: 1px; }
.mk-ck-name small { font-size: 12px; color: var(--mk-muted); }
.mk-switch { position: relative; flex: 0 0 auto; width: 44px; height: 26px; padding: 0; border-radius: 999px; cursor: pointer; border: 1px solid var(--mk-line2); background: var(--mk-bg); }
.mk-switch span { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 999px; background: var(--mk-muted); transition: left .15s; }
.mk-switch[aria-checked="true"] { border-color: var(--mk-accent); background: var(--mk-accent); }
.mk-switch[aria-checked="true"] span { left: 21px; background: var(--mk-bg); }
.mk-ck-actions { display: flex; gap: 8px; }
.mk-ck-btn { flex: 1 1 0; min-height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14px; cursor: pointer; background: transparent; color: var(--mk-text); border: 1px solid var(--mk-text); }
.mk-ck-mid { align-self: center; min-height: 32px; padding: 0 8px; border: 0; background: transparent; color: var(--mk-muted); font-size: 13px; text-decoration: underline; cursor: pointer; }

/* Ogólne strony (index/single) */
.mk-single .wp-block-post-content > * + * { margin-top: 1em; }

/* Mniej ruchu */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
	.mk-main .wp-block-gallery figure img { transform: none !important; }
}

/* Edytor: wizjery i zakładki pokazują wszystkie kadry jeden pod drugim */
.editor-styles-wrapper { background: var(--mk-bg); color: var(--mk-text); }
.editor-styles-wrapper .mk-vf .mk-scene { border-bottom: 1px dashed var(--mk-line2); }
.editor-styles-wrapper .mk-tab { padding-bottom: 32px; border-bottom: 1px dashed var(--mk-line2); }

/* 1.0.3: nagłówki podstron i opisy realizacji na całą szerokość (prośba Michała 2026-10-20) */
.mk-phero { flex-direction: column; align-items: stretch; }
.mk-phero-l, .mk-phero-r { flex: 1 1 auto; }
.mk-phero-r { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 64px; }
.mk-phero-r > .mk-soft { flex: 1 1 560px; max-width: none; font-size: 19px; }
.mk-case-text { flex: 1 1 100%; max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; row-gap: 18px; align-items: start; }
.mk-case-text > * { margin: 0 !important; }
.mk-case-text > .mk-case-num { grid-column: 1; grid-row: 1; }
.mk-case-text > .mk-case-meta { grid-column: 1; grid-row: 2; margin-top: -10px !important; }
.mk-case-text > .mk-case-title { grid-column: 1; grid-row: 3 / span 3; }
.mk-case-text > .mk-soft { grid-column: 2; grid-row: 1 / span 3; }
.mk-case-text > .mk-dl { grid-column: 2; grid-row: 4; }
.mk-case-text > .mk-tags { grid-column: 2; grid-row: 5; }
.mk-case .wp-block-gallery { flex: 1 1 100%; }
@media (max-width: 820px) {
	.mk-case-text { display: flex; flex-direction: column; }
}

/* 1.0.5: opisy na całą szerokość treści */
.mk-lead, .mk-head-p, .mk-sub-head .mk-head-p, .mk-study-hero-text .mk-lead, .mk-tab-lead { max-width: none !important; }
.mk-phero-r > .mk-soft { flex: 1 1 100% !important; }
.mk-tab-body > .mk-col:first-child { flex: 1 1 100%; }
.mk-case-text { display: flex !important; flex-direction: column; gap: 18px; }
.mk-case-text > .mk-case-meta { margin-top: -10px !important; }

/* 1.0.5: menu na telefonie – rozmycie nagłówka w ::before, żeby nakładka menu zajmowała cały ekran */
.mk-site-header { background: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.mk-site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16,17,18,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.mk-nav .wp-block-navigation__responsive-container.is-menu-open { position: fixed !important; inset: 0 !important; height: 100vh; height: 100dvh; overflow-y: auto; z-index: 100000; }
.mk-nav .wp-block-navigation__responsive-container.is-menu-open .mk-nav-cta a { padding: 8px 28px !important; }

/* 1.0.5: menu mobilne półprzezroczyste, mniejsza czcionka */
.mk-nav .wp-block-navigation__responsive-container.is-menu-open { background: rgba(16,17,18,.58) !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mk-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 14px !important; font-size: 18px !important; }
.mk-reviews.is-ready .mk-reviews-list { touch-action: pan-y; }
/* 1.0.8: Przestrzeń – fotografia nieruchomości (mini galeria) i wirtualny spacer HTML5 */
html body .mk-nier-gal.wp-block-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px !important; margin: 40px 0 0; }
html body .mk-nier-gal.wp-block-gallery > figure.wp-block-image { width: auto !important; margin: 0 !important; border-radius: 4px; overflow: hidden; background: #1A1B1D; }
html body .mk-nier-gal.wp-block-gallery > figure.wp-block-image img { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10 !important; object-fit: cover !important; display: block; cursor: zoom-in; }
html body .mk-tour-head { margin-top: clamp(56px, 7vw, 96px) !important; }
.mk-nier-titles { display: flex; flex-direction: column; gap: 16px; }
.mk-tour { display: block; width: 100%; aspect-ratio: 16 / 9; min-height: 320px; border: 0; border-radius: 6px; background: #1A1B1D; margin-top: 32px; }
html body .mk-nier-gal.wp-block-gallery > figure.wp-block-image { display: block !important; align-self: start; }
html body .mk-nier-gal.wp-block-gallery > figure.wp-block-image img { flex: none !important; }
@media (max-width: 600px) { html body .mk-nier-gal.wp-block-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px !important; } }

/* 1.0.9: Wirtualne spacery (podstrona) */
html body .mk-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
html body .mk-chips li { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mk-soft); border: 1px solid var(--mk-line2); border-radius: 999px; padding: 7px 12px; }
html body .mk-tours { margin-top: 40px; border-top: 1px solid var(--mk-line); }
html body .mk-tour-item { border-bottom: 1px solid var(--mk-line); }
html body .mk-tour-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 48px 1fr auto 24px; align-items: baseline; gap: 16px; padding: 22px 0; }
html body .mk-tour-item summary::-webkit-details-marker { display: none; }
html body .mk-tour-item summary::after { content: "+"; font-family: var(--mk-mono); font-size: 20px; color: var(--mk-accent); text-align: right; transition: transform .3s ease; }
html body .mk-tour-item[open] summary::after { transform: rotate(45deg); }
html body .mk-tour-no { font-family: var(--mk-mono); font-size: 13px; color: var(--mk-muted); }
html body .mk-tour-name { font-family: var(--mk-serif); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; color: var(--mk-text); }
html body .mk-tour-meta { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--mk-muted); text-align: right; }
html body .mk-tour-item summary:hover .mk-tour-name { color: var(--mk-accent); }
html body .mk-tour-body { padding: 0 0 32px 64px; }
html body .mk-tour-body .mk-tour { margin-top: 16px !important; }
html body .mk-tour-body .mk-link-mono { margin-top: 12px; }
html body .mk-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 40px; }
html body .mk-why-t { font-family: var(--mk-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; margin: 0 0 12px; }
html body .mk-why-cta { margin-top: 40px !important; }
@media (max-width: 780px) {
  html body .mk-tour-item summary { grid-template-columns: 36px 1fr 20px; row-gap: 4px; }
  html body .mk-tour-meta { grid-column: 2; grid-row: 2; text-align: left; }
  html body .mk-tour-item summary::after { grid-column: 3; grid-row: 1; }
  html body .mk-tour-body { padding-left: 0; }
  html body .mk-why { grid-template-columns: 1fr; }
}

/* 1.0.9: slajd 360 obraca się o 40°; kwadrat 114vmax × scale 1,25 zakrywa przekątną kadru, więc nie widać narożników. */
html body .mk-vf--film.is-ready .mk-hud-deg .mk-scene-img img { inset: auto !important; left: calc(50% - 57vmax) !important; top: calc(50% - 57vmax) !important; width: 114vmax !important; height: 114vmax !important; max-width: none !important; transform-origin: 50% 50% !important; }

/* 1.0.9: pasek usług w jednej linii (przewija się w pętli) i nowe zdjęcie „O mnie” w proporcji pionowej */
html body .mk-ribbon-track { display: flex; width: max-content; padding: 20px 0; font-family: var(--mk-serif); font-size: clamp(22px, 2.4vw, 32px); font-style: italic; color: var(--mk-soft); animation: mkMarquee 40s linear infinite; }
html body .mk-ribbon-track:hover { animation-play-state: paused; }
html body .mk-ribbon-track > span { display: flex; flex: none; align-items: center; gap: 36px; padding-right: 36px; white-space: nowrap; }
html body .mk-ribbon-track .mk-dot { color: var(--mk-accent); }
@keyframes mkMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html body .mk-ribbon-track { animation: none; } }
html body .mk-about-img img { aspect-ratio: 1200 / 1674 !important; object-fit: contain !important; }

/* 1.0.9: studium przypadku – sekcja „Więcej niż zdjęcia · Wideo z sesji” */
html body .mk-study-video { padding-top: clamp(56px, 7vw, 96px); display: flex; flex-direction: column; gap: 20px; }
html body .mk-study-video .mk-h3 { max-width: 900px; }
html body .mk-study-video-p { max-width: 760px; }
html body .mk-study-video .mk-why { margin-top: 12px; }
html body .mk-study-video .mk-why > div { padding-top: 16px; border-top: 1px solid var(--mk-line2); }

/* 1.0.9: formularz zwijany (na start tylko imię i kontakt) */
.mk-form--collapsible .mk-fstart { display: flex; flex-direction: column; gap: 16px; }
.mk-form--collapsible .mk-fstart .mk-fstep-legend { margin: 0; }
.mk-fstart-hint { margin: 0; font-size: 14px; color: var(--mk-muted); transition: opacity .3s ease; }
.mk-form--collapsible.is-open .mk-fstart-hint { display: none; }
.mk-form-more { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: -28px; visibility: hidden; transition: grid-template-rows .55s ease, opacity .45s ease, margin-top .55s ease, visibility 0s linear .55s; }
.mk-form-more-in { overflow: hidden; min-height: 0; display: flex; flex-direction: column; gap: 28px; }
.mk-form--collapsible.is-open .mk-form-more { grid-template-rows: 1fr; opacity: 1; margin-top: 0; visibility: visible; transition: grid-template-rows .55s ease, opacity .45s ease, margin-top .55s ease, visibility 0s linear 0s; }
.mk-form-more-in > .mk-fstep:first-child { padding-top: 20px; border-top: 1px solid var(--mk-line); }
@media (prefers-reduced-motion: reduce) { .mk-form-more { transition: none !important; } }

/* 1.0.9: blog (stare wpisy przeniesione ze starej strony) */
html body .mk-single { max-width: 860px; margin-left: auto !important; margin-right: auto !important; }
html body .mk-single-head { display: flex; flex-direction: column; gap: 16px; }
html body .mk-single-meta, html body .mk-blog-meta { gap: 8px 20px; }
html body .mk-single-meta > *, html body .mk-blog-meta > * { margin: 0 !important; }
html body .mk-single-img { margin: 40px 0 0 !important; }
html body .mk-single-img img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 6px; }
html body .mk-single-body { margin-top: 40px !important; font-size: 18px; line-height: 1.7; color: var(--mk-soft); }
html body .mk-single-body h2, html body .mk-single-body h3 { font-family: var(--mk-serif); font-weight: 400; color: var(--mk-text); line-height: 1.15; letter-spacing: -.01em; margin-top: 1.8em !important; }
html body .mk-single-body h2 { font-size: clamp(28px, 3vw, 38px); }
html body .mk-single-body h3 { font-size: clamp(24px, 2.4vw, 30px); }
html body .mk-single-body img { max-width: 100%; height: auto; border-radius: 6px; display: block; }
html body .mk-single-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 6px; }
html body .mk-single-body a { color: var(--mk-text); text-decoration: underline; text-underline-offset: 3px; }
html body .mk-single-body ul, html body .mk-single-body ol { padding-left: 1.3em; }
html body .mk-post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
html body .mk-post-gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
html body .mk-single-cta { margin-top: 64px !important; padding-top: 32px; border-top: 1px solid var(--mk-line); display: flex; flex-direction: column; gap: 12px; }
html body .mk-single-cta-t { font-family: var(--mk-serif); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; margin: 0; }
html body .mk-single-cta .mk-link-mono a { margin-right: 28px; display: inline-block; margin-top: 8px; }
html body .mk-blog { display: flex; flex-direction: column; gap: 16px; }
html body .mk-blog-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 48px 32px; }
html body .mk-blog-grid > li { display: flex; flex-direction: column; gap: 12px; margin: 0; }
html body .mk-blog-grid > li > * { margin: 0 !important; }
html body .mk-blog-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
html body .mk-blog-title { font-family: var(--mk-serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
html body .mk-blog-title a { color: var(--mk-text); text-decoration: none; }
html body .mk-blog-title a:hover { color: var(--mk-accent); }
html body .mk-blog-pag { margin-top: 56px !important; display: flex; gap: 32px; font-family: var(--mk-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
/* 1.0.11 Blog: tematy, wyróżniony wpis, czas czytania, CTA wg tematu */
html body .mk-blog-lead { max-width: 640px; font-size: 18px; line-height: 1.6; margin: 0 !important; }
html body .mk-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
html body .mk-topics a { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 16px; border: 1px solid var(--mk-line); border-radius: 999px; color: var(--mk-soft); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
html body .mk-topics a:hover { border-color: var(--mk-accent); color: var(--mk-text); }
html body.blog .mk-topics a[data-t="all"], html body.category-portret-i-wizerunek .mk-topics a[data-t="portret-i-wizerunek"], html body.category-nieruchomosci-i-wnetrza .mk-topics a[data-t="nieruchomosci-i-wnetrza"], html body.category-spacery-360-i-street-view .mk-topics a[data-t="spacery-360-i-street-view"], html body.category-realizacje .mk-topics a[data-t="realizacje"] { background: var(--mk-accent); border-color: var(--mk-accent); color: #111; }
html body .mk-blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 56px 32px !important; }
html body .mk-blog-txt { display: flex; flex-direction: column; gap: 12px; }
html body .mk-blog-txt > * { margin: 0 !important; }
html body .mk-blog-meta .wp-block-post-terms a { color: inherit; text-decoration: none; }
html body .mk-blog-ex { font-size: 16px; line-height: 1.55; }
html body .mk-blog-ex .wp-block-post-excerpt__more-text { display: none; }
html body .mk-blog-more { font-family: var(--mk-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mk-text) !important; text-decoration: none; }
html body .mk-blog-more:hover { color: var(--mk-accent) !important; }
html body .mk-blog-img { overflow: hidden; border-radius: 6px; }
html body .mk-blog-img img { transition: transform .5s ease; }
html body .mk-blog-grid > li:hover .mk-blog-img img { transform: scale(1.03); }
html body .mk-ttr::before { content: "· "; }
html body.blog:not(.paged) .mk-blog-grid > li:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--mk-line); }
html body.blog:not(.paged) .mk-blog-grid > li:first-child .mk-blog-title { font-size: clamp(32px, 3.6vw, 52px); }
html body.blog:not(.paged) .mk-blog-grid > li:first-child .mk-blog-img img { aspect-ratio: 16 / 10; }
html body .mk-blog-pag { align-items: center; }
html body .mk-blog-pag .page-numbers { color: var(--mk-soft); text-decoration: none; padding: 0 6px; }
html body .mk-blog-pag .page-numbers.current { color: var(--mk-accent); }
html body .mk-blog-pag a { color: var(--mk-text); text-decoration: none; }
html body .mk-single-body h2 { padding-top: .2em; }
html body .mk-single-body li + li { margin-top: .5em; }
html body .mk-single-cta { padding: 40px; border: 1px solid var(--mk-line) !important; border-radius: 8px; }
html body .mk-single-cta .mk-muted { margin: 0; font-size: 17px; }
html body .mk-cta-przestrzen { display: none !important; }
html body .mk-single:has(.mk-single-meta a[href*="nieruchomosci-i-wnetrza"], .mk-single-meta a[href*="spacery-360"], .mk-single-meta a[href*="/realizacje"]) .mk-cta-przestrzen { display: flex !important; }
html body .mk-single:has(.mk-single-meta a[href*="nieruchomosci-i-wnetrza"], .mk-single-meta a[href*="spacery-360"], .mk-single-meta a[href*="/realizacje"]) .mk-cta-portret { display: none !important; }
@media (max-width: 1000px) { html body .mk-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 700px) {
  html body .mk-blog-grid { grid-template-columns: 1fr !important; gap: 40px !important; }
  html body.blog:not(.paged) .mk-blog-grid > li:first-child { grid-template-columns: 1fr; gap: 16px; padding-bottom: 40px; }
  html body .mk-topics { flex-wrap: nowrap; overflow-x: auto; margin-right: -20px; padding-right: 20px; scrollbar-width: none; }
  html body .mk-topics a { white-space: nowrap; }
  html body .mk-single-cta { padding: 28px 22px; }
}
html body .mk-topics { margin-bottom: 16px; }
html body .mk-blog-meta { row-gap: 4px !important; }

html body .mk-ttr { white-space: nowrap; }
html body .mk-ttr::before { content: none !important; }
html body .mk-ttr { opacity: .75; }
html body .mk-single-body .mk-lead { font-size: 22px; line-height: 1.5; color: var(--mk-text); }
html body .mk-single-body figcaption { font-size: 14px; color: var(--mk-soft); margin-top: 8px; }
html body .mk-single-body details { border-top: 1px solid var(--mk-line); padding: 16px 0; }
html body .mk-single-body details:last-of-type { border-bottom: 1px solid var(--mk-line); }
html body .mk-single-body summary { cursor: pointer; color: var(--mk-text); font-size: 19px; }
html body .mk-single-body details > * + * { margin-top: 10px; }

/* 1.0.15 telefon: słuchawka w nagłówku (telefony), numer w stopce, wizytówka */
html body .mk-head-call { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--mk-line); color: var(--mk-text) !important; text-decoration: none !important; }
html body .mk-head-call:active { background: var(--mk-accent); color: #111 !important; }
@media (max-width: 900px), (hover: none) { html body .mk-head-call { display: inline-flex; } html body .mk-header-inner { flex-wrap: nowrap; } }
html body .mk-footer-links a.mk-foot-tel { color: var(--mk-text); }
html body .mk-vcard-link { margin-top: 4px !important; }
html body .mk-vcard-link a { color: var(--mk-text); text-decoration: none; border-bottom: 1px solid var(--mk-accent); padding-bottom: 2px; }
@media (max-width: 900px), (hover: none) {
  html body .mk-header-inner { gap: 10px !important; }
  html body .mk-header-inner > .mk-logo { flex: 1 1 auto; min-width: 0; }
  html body .mk-header-inner > .mk-logo a { min-width: 0; }
  html body .mk-header-inner .mk-logo-tag { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html body .mk-head-call, html body .mk-header-inner > .mk-nav { flex: none; }
}
