/* Roof of Worlds – Spolupráce */
.rwmk {
	--cyan: #01eefe;
	--navy: #0a2761;
	--ink: #0a0f1e;
	--text: #e8eef8;
	--muted: #9fb0cc;
	--line: rgba(1, 238, 254, .22);
	--r: 10px;
	box-sizing: border-box;
	max-width: 1080px;
	margin: 0 auto;
	background: var(--ink);
	border-radius: 14px;
	padding: 16px 16px 16px;
	overflow: hidden;
	color: var(--text);
	font-size: 17px;
	line-height: 1.6;
}
.rwmk *, .rwmk *::before, .rwmk *::after { box-sizing: border-box; }
.rwmk h2, .rwmk h3, .rwmk h4 { font-family: 'Oswald', 'Arial Narrow', Arial, sans-serif; text-transform: uppercase; letter-spacing: .02em; margin: 0; padding: 0; }
.rwmk p { margin: 0; padding: 0; }

/* Úvod */
.rwmk__hero {
	background: radial-gradient(ellipse at 20% 0%, #12306f 0%, var(--ink) 75%);
	border-radius: var(--r);
	border-top: 4px solid var(--cyan);
	padding: 56px 48px 48px;
}
.rwmk__kicker { color: var(--cyan) !important; font-family: 'Oswald', sans-serif; letter-spacing: .2em; text-transform: uppercase; font-size: 14px; margin-bottom: 14px !important; }
.rwmk__title { color: #fff !important; font-size: clamp(32px, 5vw, 52px); line-height: 1.05; font-weight: 600; max-width: 760px; }
.rwmk__lead { margin-top: 18px !important; max-width: 720px; color: #c8d4ea; font-size: 18px; }

/* Statistiky */
.rwmk__stats {
	margin-top: 16px;
	background: var(--navy);
	border-radius: var(--r);
	padding: 36px 48px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}
.rwmk__totals { display: flex; flex-wrap: wrap; gap: 20px 56px; }
.rwmk__total { display: flex; flex-direction: column; }
.rwmk__total-num { white-space: nowrap; font-family: 'Oswald', sans-serif; font-weight: 600; font-size: clamp(48px, 7vw, 76px); line-height: 1; color: var(--cyan); }
.rwmk__total-label { margin-top: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }

.rwmk__networks { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.rwmk__networks li { margin: 0 !important; padding: 0 !important; list-style: none; }
.rwmk__networks li::before { content: none !important; }
.rwmk__net {
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
	padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r);
	text-decoration: none !important; color: var(--text) !important;
	transition: border-color .15s ease, background .15s ease;
}
.rwmk__net:hover { border-color: var(--cyan); background: rgba(1, 238, 254, .06); }
.rwmk__net-icon { width: 22px; height: 22px; color: var(--cyan); }
.rwmk__net-icon svg { width: 100%; height: 100%; display: block; }
.rwmk__net-num { white-space: nowrap; font-family: 'Oswald', sans-serif; font-size: 26px; font-weight: 600; line-height: 1.1; color: #fff; }
.rwmk__net-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.rwmk__extra { grid-column: 1 / -1; list-style: none; margin: 0 !important; padding: 18px 0 0 !important; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 32px; color: var(--muted); }
.rwmk__extra li { margin: 0 !important; padding: 0 !important; list-style: none; }
.rwmk__extra li::before { content: none !important; }
.rwmk__extra strong { font-family: 'Oswald', sans-serif; color: #fff; font-size: 22px; font-weight: 600; margin-right: 4px; }
.rwmk__updated { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* Bloky */
.rwmk__block { margin-top: 56px; padding: 0 32px; }
@media (max-width: 720px) { .rwmk__block { padding: 0 6px; } }
.rwmk__h { color: #fff !important; font-size: 28px; font-weight: 600; margin-bottom: 14px !important; }
.rwmk__h::after { content: ''; display: block; width: 48px; height: 3px; background: var(--cyan); margin-top: 10px; }
.rwmk__p { max-width: 760px; color: #c8d4ea; }

.rwmk__offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 8px; }
.rwmk__offer {
	display: flex; flex-direction: column;
	background: var(--navy); border-radius: var(--r); padding: 24px 22px;
	border-top: 3px solid var(--cyan);
}
.rwmk__offer-title { color: #fff !important; font-size: 20px; font-weight: 600; line-height: 1.2; }
.rwmk__offer-text { margin-top: 10px !important; color: #c8d4ea; font-size: 15px; flex: 1; }
.rwmk__price { margin-top: 18px !important; color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.rwmk__price strong { display: block; font-family: 'Oswald', sans-serif; font-size: 26px; color: var(--cyan); letter-spacing: 0; text-transform: none; font-weight: 600; }
.rwmk__note { margin-top: 14px !important; font-size: 13px; color: var(--muted); }

/* Kontakt */
.rwmk__cta {
	margin-top: 56px; text-align: center;
	background: radial-gradient(ellipse at 50% 0%, #12306f 0%, var(--ink) 80%);
	border-radius: var(--r); border-top: 4px solid var(--cyan);
	padding: 48px 32px;
}
.rwmk__cta-title { color: #fff !important; font-size: clamp(26px, 4vw, 36px); font-weight: 600; line-height: 1.15; }
.rwmk__cta-text { margin: 14px auto 26px !important; max-width: 560px; color: #c8d4ea; }
.rwmk__btn {
	display: inline-block; background: var(--cyan); color: var(--navy) !important;
	font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .06em;
	padding: 15px 34px; border-radius: 8px; text-decoration: none !important;
	transition: filter .15s ease;
}
.rwmk__btn:hover { filter: brightness(1.1); }
.rwmk__mail { margin-top: 12px !important; font-size: 14px; color: var(--muted); }

@media (max-width: 720px) {
	.rwmk__hero { padding: 36px 22px 30px; }
	.rwmk__stats { padding: 26px 22px; }
	.rwmk__networks { grid-template-columns: 1fr 1fr; }
	.rwmk__block, .rwmk__cta { margin-top: 40px; }
	.rwmk__cta { padding: 36px 20px; }
}

/* Růst */
.rwmk__growth { grid-column: 1 / -1; }
.rwmk__growth-num { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 600; color: var(--cyan); margin: 0 0 8px !important; }
.rwmk__growth-num span:last-child { font-family: inherit; font-size: 14px; font-weight: 400; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-left: 4px; }
.rwmk__spark { display: block; width: 100%; height: 90px; }

/* Demografie */
.rwmk__demo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.rwmk__demo-card { background: var(--navy); border-radius: var(--r); padding: 24px 24px 20px; }
.rwmk__demo-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 12px !important; }
.rwmk__demo-card .rwmk__demo-label ~ .rwmk__demo-label { margin-top: 22px !important; }
.rwmk__bars { list-style: none; margin: 0 !important; padding: 0 !important; display: grid; gap: 10px; }
.rwmk__bars li { display: grid; grid-template-columns: 56px 1fr 48px; align-items: center; gap: 10px; margin: 0 !important; padding: 0 !important; list-style: none; }
.rwmk__bars li::before { content: none !important; }
.rwmk__bar-k { font-size: 14px; color: #c8d4ea; }
.rwmk__bar { height: 10px; background: rgba(255,255,255,.08); border-radius: 5px; overflow: hidden; }
.rwmk__bar span { display: block; height: 100%; background: var(--cyan); border-radius: 5px; }
.rwmk__bar-v { font-family: 'Oswald', sans-serif; font-size: 16px; color: #fff; text-align: right; }
.rwmk__split { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(255,255,255,.08); }
.rwmk__split-m { background: var(--cyan); }
.rwmk__split-f { background: #7d8fff; }
.rwmk__split-legend { display: flex; gap: 20px; margin-top: 10px !important; font-size: 14px; color: #c8d4ea; }
.rwmk__split-legend strong { font-family: 'Oswald', sans-serif; color: #fff; font-size: 16px; }
.rwmk__dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 0; }
.rwmk__dot--m { background: var(--cyan); }
.rwmk__dot--f { background: #7d8fff; }
.rwmk__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rwmk__chip { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: #e8eef8; }
.rwmk__chip strong { font-family: 'Oswald', sans-serif; color: var(--cyan); margin-left: 4px; }

/* Top videa */
.rwmk__videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.rwmk__video { display: flex; flex-direction: column; background: var(--navy); border-radius: var(--r); overflow: hidden; text-decoration: none !important; color: var(--text) !important; border: 1px solid transparent; transition: border-color .15s ease, transform .15s ease; }
.rwmk__video:hover { border-color: var(--cyan); transform: translateY(-2px); }
.rwmk__video-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.rwmk__video-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rwmk__video-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.rwmk__video-views { font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 600; color: var(--cyan); }
.rwmk__video-title { font-size: 15px; line-height: 1.4; color: #e8eef8; }

@media (max-width: 720px) {
	.rwmk__demo, .rwmk__videos { grid-template-columns: 1fr; }
}
.rwmk__legal { margin: 18px 4px 4px !important; font-size: 12px; color: var(--muted); text-align: center; }
.rwmk__legal a { color: var(--muted) !important; text-decoration: underline; }

/* Celá stránka Spolupráce: tmavé pozadí, bez nadpisu šablony a bez postranního panelu */
body.rwmk-page,
body.rwmk-page #page-container,
body.rwmk-page #main-content,
body.rwmk-page #et-main-area,
body.rwmk-page .site,
body.rwmk-page .site-content { background: #0a0f1e !important; }
body.rwmk-page #main-content .container::before { display: none !important; }      /* Divi svislá čára */
body.rwmk-page #sidebar { display: none !important; }
body.rwmk-page #left-area { width: 100% !important; padding: 0 !important; float: none !important; }
body.rwmk-page #main-content .container { padding-top: 40px !important; }
body.rwmk-page .entry-title.main_title,
body.rwmk-page #left-area > article > h1.entry-title,
body.rwmk-page .et_post_meta_wrapper > h1,
body.rwmk-page main .wp-block-post-title,
body.rwmk-page .entry-header .entry-title { display: none !important; }
body.rwmk-page .rwmk { background: transparent; padding: 0; border-radius: 0; }

/* Tlačítko PDF */
.rwmk__pdf { display: inline-block; margin-top: 22px; padding: 11px 20px; border: 1.5px solid var(--cyan); border-radius: 8px; color: var(--cyan) !important; text-decoration: none !important; font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; transition: background .15s ease, color .15s ease; }
.rwmk__pdf:hover { background: var(--cyan); color: var(--navy) !important; }
.rwmk__mail a { color: var(--cyan) !important; }

/* Animace demografie (jen když běží JS; bez JS jsou pruhy rovnou plné) */
.rwmk--anim .rwmk__bar span,
.rwmk--anim .rwmk__split span { width: 0 !important; transition: width 1.1s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.rwmk--anim.is-in .rwmk__bar span,
.rwmk--anim.is-in .rwmk__split span { width: var(--w) !important; }
.rwmk--anim .rwmk__bar-v,
.rwmk--anim .rwmk__split-legend strong { opacity: 0; transition: opacity .5s ease .5s; }
.rwmk--anim.is-in .rwmk__bar-v,
.rwmk--anim.is-in .rwmk__split-legend strong { opacity: 1; }
.rwmk__split-legend { flex-wrap: wrap; }
.rwmk__dot--u { background: rgba(255,255,255,.18); }
.rwmk__split-unk { color: var(--muted); }

/* Srovnání s O2 arenou */
.rwmk__compare { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; margin: -4px 0 0 !important; font-size: 15px; color: #c8d4ea; }
.rwmk__compare svg { width: 20px; height: 20px; flex: 0 0 20px; color: var(--cyan); }

/* Mapa publika */
.rwmk__map { margin-top: 16px; background: var(--navy); border-radius: var(--r); padding: 24px 24px 18px; }
.rwmk__map-svg { display: block; width: 100%; height: auto; max-height: 440px; overflow: visible; }
.rwmk__map .rwmk__dotm, .rwmk__map .rwmk__pulse { transform-box: fill-box; transform-origin: center; }
.rwmk__pulse { opacity: 0; }
.rwmk--anim .rwmk__dotm { transform: scale(0); transition: transform .7s cubic-bezier(.3,1.6,.5,1); transition-delay: var(--d, 0ms); }
.rwmk--anim.is-in .rwmk__dotm { transform: scale(1); }
.rwmk--anim .rwmk__lab { opacity: 0; transition: opacity .6s ease; transition-delay: var(--d, 0ms); }
.rwmk--anim.is-in .rwmk__lab { opacity: 1; }
.rwmk--anim.is-in .rwmk__pulse { animation: rwmk-pulse 2.6s ease-out var(--d, 0ms) 3; }
@keyframes rwmk-pulse { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
@media (max-width: 720px) { .rwmk__map { padding: 18px 12px 14px; } }

/* Křivka růstu se dokreslí */
.rwmk--anim .rwmk__spark-line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s ease-in-out; }
.rwmk--anim.is-in .rwmk__spark-line { stroke-dashoffset: 0; }
.rwmk--anim .rwmk__spark-area, .rwmk--anim .rwmk__spark-dot { opacity: 0; transition: opacity .8s ease 1.4s; }
.rwmk--anim.is-in .rwmk__spark-area, .rwmk--anim.is-in .rwmk__spark-dot { opacity: 1; }

/* O2 arena – výrazný blok */
.rwmk__arena { grid-column: 1 / -1; margin: 8px 0 4px; padding: 26px 28px; border-radius: 14px; background: linear-gradient(135deg, rgba(1,238,254,.13), rgba(1,238,254,.03) 60%); border: 1px solid rgba(1,238,254,.35); text-align: center; }
.rwmk__arena-icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; margin-bottom: 16px; color: var(--cyan); }
.rwmk__arena-ico svg { width: 52px; height: 35px; display: block; }
.rwmk__arena-txt { margin: 0 !important; color: #fff; line-height: 1.25; }
.rwmk__arena-kicker { display: block; font-size: 17px; color: #c8d4ea; margin-bottom: 6px; }
.rwmk__arena-big { display: block; font-family: Oswald, 'Arial Narrow', sans-serif; font-weight: 600; font-size: clamp(24px, 3.2vw, 34px); text-transform: uppercase; letter-spacing: .01em; color: var(--cyan); }
.rwmk__arena-note { margin: 12px 0 0 !important; font-size: 13px; color: #8193b3; }
.rwmk--anim .rwmk__arena-ico { opacity: 0; transform: translateY(14px) scale(.6); transition: opacity .45s ease, transform .55s cubic-bezier(.34,1.56,.64,1); transition-delay: calc(var(--i) * 110ms); }
.rwmk--anim.is-in .rwmk__arena-ico { opacity: 1; transform: none; }
.rwmk--anim .rwmk__arena-big { opacity: 0; transform: scale(.92); transition: opacity .6s ease .5s, transform .6s ease .5s; }
.rwmk--anim.is-in .rwmk__arena-big { opacity: 1; transform: none; }
@media (max-width: 600px) { .rwmk__arena { padding: 20px 16px; } .rwmk__arena-icons { gap: 8px 10px; } .rwmk__arena-ico svg { width: 34px; height: 23px; } }

/* Mobil: stránka Spolupráce přes celou šířku jako patička (Divi má na mobilu obsah jen na 80 % šířky) */
@media (max-width:720px){
	body.rwmk-page #main-content .container,body.rwmk-page .et_pb_row:has(.rwmk),body.rwmk-page .container:has(.rwmk){width:100%!important;max-width:100%!important;padding-left:16px!important;padding-right:16px!important;box-sizing:border-box}
	body.rwmk-page .et_pb_row:has(.rwmk) .et_pb_column{padding-left:0!important;padding-right:0!important}
}

/* Akcentní linka nahoře: tyrkysová linka, která se do stran ztrácí (stejně jako na úvodní stránce a v článcích) */
.rwmk__hero, .rwmk__offer, .rwmk__cta { position: relative; border-top: 0; }
.rwmk__hero::before, .rwmk__offer::before, .rwmk__cta::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--r) var(--r) 0 0;
	background: linear-gradient(90deg, rgba(1,238,254,0) 0%, rgba(1,238,254,.9) 35%, rgba(1,238,254,.9) 65%, rgba(1,238,254,0) 100%);
	pointer-events: none;
}
