:root {
	--ink:        #161616;
	--ink-2:      #262626;
	--red:        #eb1423;
	--red-dark:   #c8101d;
	--text:       #6e6e6e;
	--muted:      #a0a0a0;
	--line:       #e8e8e8;
	--line-2:     #d9d9d9;
	--bg:         #ffffff;
	--bg-soft:    #f6f6f6;
	--card:       #ffffff;
	--shadow:     0 2px 14px rgba(0,0,0,.06);
	--shadow-h:   0 8px 28px rgba(0,0,0,.12);
	--sans:       'PT Sans', -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--serif:      'Amarante', 'PT Sans', Georgia, serif;
	--radius:     8px;
	--container:  1200px;
}

body {
	font-family: var(--sans);
	color: var(--text);
	background: var(--bg);
	font-size: 16px;
	line-height: 1.6;
}

#main { overflow-x: clip; }

.rd-container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

a { color: var(--red); font-family: inherit; }
a:hover { color: var(--red-dark); }

img { max-width: 100%; height: auto; }

.rd-btn {
	display: inline-block;
	background: var(--red);
	color: #fff;
	border: 0;
	border-radius: 50px;
	padding: 13px 26px;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0;
	cursor: pointer;
	transition: background .18s;
	line-height: 1.2;
	text-align: center;
}
.rd-btn:hover { background: var(--red-dark); color: #fff; }
.rd-btn--ghost {
	background: transparent;
	color: var(--ink);
	border: 2px solid var(--ink);
}
.rd-btn--ghost:hover { background: var(--ink); color: #fff; }
.rd-btn--block { display: block; width: 100%; box-sizing: border-box; }

.rd-section { padding: 46px 0; }
.rd-section--soft { background: var(--bg-soft); }

.rd-h2 {
	font-family: var(--sans);
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .01em;
	color: var(--ink);
	margin: 0 0 26px;
	line-height: 1.15;
}
.rd-h2--inline { margin-bottom: 0; }

.rd-section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
	flex-wrap: wrap;
}
.rd-section-head .rd-h2 { margin: 0; }
.rd-section-head .rd-nameday { color: var(--muted); font-size: 15px; }

header { background: var(--ink); position: relative; z-index: 100; display: flex; flex-direction: column; height: auto; min-height: 0; }

.rd-topbar {
	position: relative;
	font-family: var(--sans);
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	box-sizing: border-box;
	display: flex;
	align-items: stretch;
	gap: 20px;
	padding-left: 20px;
	padding-right: 86px;
	min-height: 64px;
}
.rd-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.rd-logo img { height: 30px; width: auto; display: block; }

.rd-nav {
	flex: 1;
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 4px;
}
.rd-nav-item { position: static; display: flex; align-items: stretch; }
.rd-nav-item > a {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 0 16px;
	color: #fff;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
	transition: color .15s, background .15s;
}

.rd-nav-item > a:hover,
.rd-nav-item.is-open > a { background: #fff; color: var(--ink); }
.rd-nav-item > a .rd-plus {
	display: inline-block;
	font-weight: 400;
	color: #fff;
	font-size: 18px;
	line-height: 1;
	transition: transform .2s, color .15s;
}
.rd-nav-item > a:hover .rd-plus,
.rd-nav-item.is-open > a .rd-plus { color: var(--ink); }
.rd-nav-item:hover > a .rd-plus,
.rd-nav-item.is-open > a .rd-plus { transform: rotate(45deg); }

.rd-date {
	position: absolute;
	top: 0;
	right: 0;
	width: 66px;
	height: calc(100% + 16px);
	background: var(--red);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	line-height: 1;
	border-radius: 0 0 7px 7px;
	z-index: 5;
}
.rd-date .d { font-family: var(--serif); font-size: 26px; font-weight: 400; }
.rd-date .m { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-top: 5px; }
.rd-date { transition: color .15s; }
.rd-date:hover { color: #000; }

.rd-mega {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%) translateY(8px);
	background: #fff;
	z-index: 200;
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s, transform .18s, visibility .18s;
}
.rd-mega-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 34px 20px;
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr;
	gap: 40px;
	box-sizing: border-box;
}

.rd-nav-item.is-open .rd-mega {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

header:has(.rd-nav-item.is-open)::after {
	content: "";
	position: fixed;
	left: 0;
	top: 64px;
	width: 100vw;
	height: 100vh;
	background: rgba(0,0,0,.45);
	z-index: -1;
	pointer-events: none;
}

.rd-mega-promo .t {
	font-size: 26px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ink);
	line-height: 1.1;
	margin: 0 0 14px;
}
.rd-mega-promo p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

.rd-mega-list, .rd-mega-types { list-style: none; margin: 0; padding: 0; }
.rd-mega-list > li, .rd-mega-types > li { margin-bottom: 2px; }
.rd-mega-list > li > a,
.rd-mega-types > li > a {
	display: inline-block;
	padding: 7px 16px;
	color: var(--ink);
	font-size: 16px;
	border-radius: 4px;
	transition: background .12s, color .12s;
}
.rd-mega-list > li > a:hover,
.rd-mega-types > li:hover > a,
.rd-mega-types > li.active > a { background: var(--ink); color: #fff; }

.rd-mega-signs {
	background: var(--bg-soft);
	margin: -34px -20px -34px 0;
	padding: 30px 34px;
	align-self: stretch;
}
.rd-mega-signs ul { list-style: none; margin: 0; padding: 0; }
.rd-mega-signs ul[hidden] { display: none; }
.rd-mega-signs li > a {
	display: block;
	padding: 5px 0;
	color: var(--text);
	font-size: 15px;
}
.rd-mega-signs li > a:hover { color: var(--red); }

.rd-burger {
	display: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	width: 56px;
	padding: 0;
}

.rd-burger span { display: block; width: 26px; height: 2px; background: #fff; position: relative; }
.rd-burger span::before, .rd-burger span::after { content: ""; position: absolute; right: 0; width: 26px; height: 2px; background: #fff; }
.rd-burger span::before { top: -8px; }
.rd-burger span::after  { top: 8px; width: 16px; }

.rd-mobile {
	position: fixed;
	inset: 0;
	font-family: var(--sans);
	background: #000;
	z-index: 1000;
	transform: translateX(100%);
	transition: transform .28s ease;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}
.rd-mobile.active { transform: translateX(0); }
.rd-mobile-top { display: flex; justify-content: flex-end; padding: 22px 24px; }
.rd-mobile-close { position: relative; width: 36px; height: 36px; background: none; border: 0; font-size: 0; cursor: pointer; flex-shrink: 0; }
.rd-mobile-close::before, .rd-mobile-close::after {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 22px; height: 2px; background: #fff;
}
.rd-mobile-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.rd-mobile-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.rd-mobile nav { padding: 0 24px 30px; }
.rd-mobile nav > ul { list-style: none; margin: 0; padding: 0; }
.rd-mobile nav > ul > li { border: 0; }
.rd-mobile-row { display: flex; align-items: center; justify-content: space-between; }
.rd-mobile nav > ul > li > .rd-mobile-row > a,
.rd-mobile nav > ul > li > a {
	display: block;
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	padding: 14px 0;
	flex: 1;
}

.rd-mobile li.open > .rd-mobile-row > a { font-weight: 700; }

.rd-mobile-toggle {
	position: relative;
	width: 34px; height: 34px;
	border: 1px solid #565656;
	border-radius: 50%;
	background: transparent;
	font-size: 0;
	cursor: pointer;
	flex-shrink: 0;
}
.rd-mobile-toggle::before, .rd-mobile-toggle::after {
	content: ""; position: absolute; top: 50%; left: 50%;
	width: 13px; height: 2px; background: #fff;
	transform: translate(-50%, -50%);
	transition: background .15s;
}
.rd-mobile-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.rd-mobile-sub { list-style: none; margin: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height .35s ease; }

.rd-mobile li.open > .rd-mobile-sub { max-height: 3000px; }

.rd-mobile li.open > .rd-mobile-row > .rd-mobile-toggle { transform: rotate(45deg); background: #fff; border-color: #fff; }
.rd-mobile li.open > .rd-mobile-row > .rd-mobile-toggle::before,
.rd-mobile li.open > .rd-mobile-row > .rd-mobile-toggle::after { background: #111; }

.rd-mobile-sub > li > .rd-mobile-row > a,
.rd-mobile-sub > li > a { display: block; color: #cfcfcf; font-size: 19px; font-weight: 400; padding: 11px 0; flex: 1; }
.rd-mobile-sub > li > .rd-mobile-row > a:hover,
.rd-mobile-sub > li > a:hover { color: #fff; }
.rd-mobile-sub > li { border-top: 1px solid rgba(255,255,255,.08); }

.rd-mobile-sub > li.open { background: rgba(255,255,255,.03); }
.rd-mobile-sub > li.open > .rd-mobile-row > a { color: #fff; font-weight: 700; }

.rd-mobile-sub--signs { background: rgba(255,255,255,.05); padding: 4px 0 10px; }
.rd-mobile-sub--signs > li { border-top: 0; }
.rd-mobile-sub--signs > li > a { display: block; color: #cdcdcd; font-size: 16px; font-weight: 400; padding: 8px 0 8px 16px; }
.rd-mobile-sub--signs > li > a:hover { color: var(--red); }

.rd-mobile-sub .rd-mobile-toggle { width: 30px; height: 30px; font-size: 18px; }

.rd-today { display: flex; gap: 30px; align-items: flex-start; }
.rd-today-main { flex: 1; min-width: 0; }
.rd-rail { width: 300px; flex-shrink: 0; }
.rd-rail > div { margin: 0 !important; }

.rd-signs {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.rd-sign-card {
	position: relative;
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	aspect-ratio: 1 / 1;
	transition: transform .18s, box-shadow .18s;
}
.rd-sign-card a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
	box-sizing: border-box;
	padding: 14px 12px;
	color: inherit;
}
.rd-sign-card .ico { width: 60px; height: 60px; margin-bottom: 12px; }
.rd-sign-card .ico img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(.63); }
.rd-sign-card .nm { font-family: var(--serif); font-size: 21px; font-weight: 400; color: var(--ink); line-height: 1.1; }
.rd-sign-card .dt { color: var(--text); font-size: 14px; font-weight: 400; margin-top: 6px; }
.rd-sign-card:hover { background: var(--ink); box-shadow: var(--shadow-h); }
.rd-sign-card:hover .nm { color: #fff; }
.rd-sign-card:hover .dt { color: #cfcfcf; }
.rd-sign-card:hover .ico img { filter: brightness(0) invert(1); }
.rd-sign-card.is-active { background: var(--ink); }
.rd-sign-card.is-active .nm { color: #fff; }
.rd-sign-card.is-active .dt { color: #cfcfcf; }
.rd-sign-card.is-active .ico img { filter: brightness(0) invert(1); }

.rd-inspiration { display: flex; align-items: center; gap: 60px; }
.rd-inspiration-card { flex-shrink: 0; width: 340px; }
.rd-inspiration-card img { width: 100%; display: block; }
.rd-inspiration-body { flex: 1; }
.rd-inspiration-body .rd-h2 { margin-bottom: 16px; }
.rd-inspiration-body p { color: var(--text); font-size: 17px; line-height: 1.65; margin: 0 0 24px; max-width: 560px; }

.rd-tools {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}
.rd-tool {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 26px 24px;
	display: flex;
	flex-direction: column;
}
.rd-tool { text-align: center; align-items: stretch; }
.rd-tool .tt { font-family: var(--serif); font-size: 25px; font-weight: 400; color: var(--ink); }
.rd-tool .ds { color: var(--muted); font-size: 14px; margin: 6px 0 18px; }
.rd-tool form { margin-top: auto; }

.rd-calc { text-align: center; }
.rd-calc .rd-btn { display: inline-block; }
.rd-calc label { display: block; text-align: center; }
.rd-calc select { text-align: left; }

.rd-subhead { font-family: var(--serif); font-size: 27px; font-weight: 400; color: var(--ink); margin: 0 0 14px; line-height: 1.2; }
.rd-found { list-style: none; margin: 0; padding: 0; }
.rd-found li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.rd-found a { color: var(--red); font-size: 16px; }
.rd-found a:hover { color: var(--red-dark); }
.rd-tool .rd-field input,
.rd-calc .rd-field input {
	text-align: center;
	max-width: 240px;
	margin-left: auto;
	margin-right: auto;
}
.rd-field { margin-bottom: 12px; }
.rd-field input[type="text"],
.rd-field select {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--line-2);
	border-radius: 50px;
	padding: 12px 20px;
	font-family: var(--sans);
	font-size: 15px;
	color: var(--text);
	background: #fff;
}
.rd-field input::placeholder { color: var(--text); }
.rd-field input:focus, .rd-field select:focus { border-color: #000; color: #000; }
.rd-field--2 { display: flex; gap: 10px; }
.rd-field--2 select { flex: 1; }

.rd-table { width: 100%; border-collapse: collapse; }
.rd-table tr { border-bottom: 1px solid var(--line); }
.rd-table tr:last-child { border-bottom: 0; }
.rd-table th[scope] { text-align: left; }
.rd-table td { padding: 13px 10px; vertical-align: top; }
.rd-table td:first-child { width: 230px; }
.rd-table td:first-child a { color: var(--ink); font-weight: 700; }
.rd-table td:first-child a:hover { color: var(--red); }
.rd-table .links { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.rd-table .links a { color: var(--text); font-size: 14px; }
.rd-table .links a:hover { color: var(--red); }

.rd-decor { position: relative; }
.rd-decor::before, .rd-decor::after {
	content: "";
	position: absolute;
	top: 30px;
	width: 240px; height: 460px;
	background: url("/static/img/rd/decor/img-footer.webp") no-repeat;
	background-size: contain;
	opacity: .05;
	pointer-events: none;
	z-index: 0;
}
.rd-decor::before { left: -70px; transform: scaleX(-1); }
.rd-decor::after  { right: -70px; }
.rd-decor > * { position: relative; z-index: 1; }

.rd-page { padding-top: 34px; padding-bottom: 50px; position: relative; }

.rd-page > * { position: relative; z-index: 1; }
.rd-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.rd-breadcrumb a { color: var(--muted); }
.rd-breadcrumb a:hover { color: var(--red); }
.rd-breadcrumb span { margin: 0 7px; }

.rd-h1 {
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--ink);
	margin: 0 0 8px;
	line-height: 1.12;
}
.rd-lead { color: var(--muted); margin: 0 0 26px; }

.rd-layout { display: flex; gap: 36px; align-items: flex-start; }
.rd-main { flex: 1; min-width: 0; }
.rd-aside { width: 300px; flex-shrink: 0; }
.rd-aside > div { margin: 0 0 20px !important; }

.rd-prose { color: var(--text); line-height: 1.75; }
.rd-prose h2, .rd-prose h3 { color: var(--ink); margin: 28px 0 12px; font-weight: 700; }
.rd-prose h2 { font-size: 26px; }
.rd-prose h3 { font-size: 18px; }
.rd-prose p { margin: 0 0 16px; }
.rd-prose ul, .rd-prose ol { margin: 0 0 16px; padding-left: 22px; }
.rd-prose ul { list-style: disc; }
.rd-prose li { margin: 6px 0; }

.rd-panel {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 30px;
}
.rd-panel--center { text-align: center; }

.rd-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 5px; }

.rd-share { margin: 26px 0 0; }
/* Desktop: ikonové tlačidlá (moderné SVG badge ikony vrátane X) */
.rd-share-icons { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.rd-share-icons li a { display: block; width: 40px; height: 40px; transition: transform .15s, opacity .15s; }
.rd-share-icons li a:hover { transform: translateY(-2px); opacity: .85; }
.rd-share-icons li a img { width: 100%; height: 100%; display: block; }
/* Mobil: jedno natívne tlačidlo „Zdieľať" (Web Share API) */
.rd-share-native {
	display: none;
	align-items: center; gap: 8px;
	background: var(--ink); color: #fff; border: 0; border-radius: 50px;
	padding: 11px 24px; font-family: var(--sans); font-size: 15px; cursor: pointer;
	transition: background .15s;
}
.rd-share-native:hover { background: var(--red-dark); }
@media (max-width: 767px) {
	.rd-share-icons { display: none; }
	.rd-share-native { display: inline-flex; }
}
/* fallback: ak prehliadač nemá Web Share API, zobraz ikony aj na mobile */
.rd-share-no-native .rd-share-native { display: none !important; }
.rd-share-no-native .rd-share-icons { display: flex !important; }

.rd-siglist { list-style: none; margin: 0; padding: 0; }
.rd-siglist > li { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rd-siglist .ico { flex-shrink: 0; width: 76px; height: 76px; }
.rd-siglist .ico img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(.63); }
.rd-siglist .body h2 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 0; }
.rd-siglist .body h2 a { color: var(--ink); }
.rd-siglist .body h2 a:hover { color: var(--red); }
.rd-siglist .body .dt { color: var(--text); font-size: 14px; font-weight: 400; }
.rd-siglist .body p { margin: 8px 0 0; color: var(--text); }

.rd-detail-head { display: flex; align-items: center; gap: 26px; margin-bottom: 22px; }
.rd-detail-head .ico { width: 110px; height: 110px; flex-shrink: 0; }
.rd-detail-head .ico img { width: 100%; height: 100%; object-fit: contain; }
.rd-detail-head .rd-h1 { margin: 0; }
.rd-detail-head .sub { color: var(--red); font-weight: 600; }

.rd-back { display: inline-flex; align-items: center; color: var(--red); font-size: 14px; font-weight: 400; margin: -2px 0 16px; }
.rd-back::before {
	content: ""; display: inline-block; width: 7px; height: 7px;
	border-left: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg); margin-right: 8px; position: relative; left: 2px;
}
.rd-back:hover { color: var(--red-dark); }
.rd-detail-flow { display: flex; gap: 36px; align-items: flex-start; }
.rd-detail-flow .ico {
	width: 200px; flex-shrink: 0; box-sizing: border-box;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 26px; display: flex; align-items: center; justify-content: center;
}
.rd-detail-flow .ico img { width: 100%; height: auto; }
.rd-detail-flow .body { flex: 1; min-width: 0; }
.rd-detail-date { color: var(--ink); font-weight: 400; font-size: 18px; margin-bottom: 6px; }

.rd-detail-flow .rd-prose h2 { margin: 25px 0 2px; }

.rd-prose p:empty { display: none; }

.rd-detail-flow .rd-prose > *:first-child,
.rd-detail-flow .rd-prose > p:empty:first-child + * { margin-top: 0; }

.rd-rel { display: flex; flex-direction: column; gap: 16px; }
.rd-rel-item {
	display: flex; gap: 30px; align-items: flex-start;
	background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
	padding: 20px 26px;
}
.rd-rel-item .rel-title { width: 200px; flex-shrink: 0; font-weight: 700; }
.rd-rel-item .rel-title a { color: var(--ink); }
.rd-rel-item .rel-title a:hover { color: var(--red); }
.rd-rel-item .rel-text { flex: 1; color: var(--text); font-size: 15px; }
@media (max-width: 600px) {
	.rd-detail-flow { flex-direction: column; gap: 16px; }
	.rd-detail-flow .ico { width: 150px; }
	.rd-rel-item { flex-direction: column; gap: 6px; }
	.rd-rel-item .rel-title { width: auto; }
}

.rd-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rd-card {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 22px;
}
.rd-card h3 { font-size: 18px; color: var(--ink); margin: 0 0 8px; }
.rd-card p { color: var(--text); font-size: 14px; margin: 0 0 12px; }

.rd-num-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 16px;
}
.rd-num-card {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	aspect-ratio: 1 / 1;
	transition: transform .18s, box-shadow .18s;
}
.rd-num-card a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; box-sizing: border-box; padding: 12px 8px; color: inherit; }
.rd-num-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.rd-num-card .ico { height: 67px; display: flex; align-items: center; justify-content: center; }
.rd-num-card .ico img { max-height: 67px; width: auto; max-width: 100%; }
.rd-num-card .lbl { font-family: var(--serif); font-size: 18px; color: var(--ink); margin-top: 10px; }

.rd-num-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; }

.rd-num-top { display: flex; gap: 40px; align-items: flex-start; margin-bottom: 30px; }
.rd-num-top .form-col { width: 300px; flex-shrink: 0; }
.rd-num-top .content-col { flex: 1; min-width: 0; }
.rd-result-headline { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--ink); line-height: 1.15; margin-bottom: 14px; }
.rd-result-headline strong { color: inherit; font-weight: 400; }
@media (max-width: 820px) { .rd-num-top { flex-direction: column; } .rd-num-top .form-col { width: 100%; max-width: 420px; } }

.rd-tarot-grid {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 14px;
}
.rd-tarot-cell {
	background: var(--card);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	aspect-ratio: 1 / 1;
	transition: transform .18s, box-shadow .18s;
}
.rd-tarot-cell a { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; box-sizing: border-box; padding: 12px 6px; color: inherit; }
.rd-tarot-cell:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }
.rd-tarot-cell .ico { height: 67px; display: flex; align-items: center; justify-content: center; }
.rd-tarot-cell .ico img { max-height: 67px; width: auto; max-width: 100%; object-fit: contain; }
.rd-tarot-cell .nm { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--ink); margin-top: 10px; text-align: center; line-height: 1.1; }
.rd-tarot-cell .num { font-size: 14px; color: var(--muted); margin-top: 3px; }

.rd-tarot-detail { display: flex; gap: 44px; align-items: flex-start; }

.rd-tarot-img {
	flex-shrink: 0; width: 296px; position: relative; box-sizing: border-box;
	background: #fff; border-radius: 10px;
	box-shadow: var(--shadow); padding: 18px;
}
.rd-tarot-img img { width: 100%; display: block; border-radius: 4px; }

.rd-tarot-img .rd-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.rd-tarot-img .rd-btn:hover { transform: translate(-50%, -50%); }

.rd-card-name { font-family: var(--serif); font-size: 30px; font-weight: 400; color: var(--ink); margin: 0 0 16px; line-height: 1.15; }

.rd-card-flow::after { content: ""; display: block; clear: both; }
.rd-card-flow-img {
	float: left;
	width: 290px;
	box-sizing: border-box;
	margin: 4px 36px 20px 0;
	background: #fff;
	border-radius: 10px;
	box-shadow: var(--shadow);
	padding: 18px;
}
@media (max-width: 560px) {
	.rd-card-flow-img { float: none; display: block; width: 240px; margin: 0 auto 22px; }
}

.rd-shuffle { display: flex; flex-direction: column; align-items: center; }
.rd-shuffle-card { width: 230px; margin-bottom: 22px; }
.rd-shuffle-card img { width: 100%; border-radius: 10px; box-shadow: var(--shadow-h); }

.rd-alpha { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 28px; }
.rd-alpha a, .rd-alpha span { color: var(--ink); font-size: 16px; line-height: 1.4; }
.rd-alpha a:hover { color: var(--red); }
.rd-alpha .is-active { color: var(--muted); }
.rd-word-list { columns: 4; column-gap: 30px; list-style: none; margin: 0; padding: 0; }
.rd-word-list li { padding: 5px 0; break-inside: avoid; }
.rd-pills-label { color: var(--text); margin: 0 0 14px; }
.rd-pills { display: flex; flex-wrap: wrap; gap: 12px; }
.rd-pill { display: inline-flex; align-items: center; padding: 10px 22px; border: 1px solid var(--line-2); border-radius: 50px; background: #fff; color: var(--ink); font-size: 15px; transition: background .15s, color .15s, border-color .15s; }
.rd-pill:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.rd-articles { display: grid; grid-template-columns: 1fr; gap: 22px; }
.rd-article-item { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.rd-article-item h3 { font-size: 20px; margin: 0 0 6px; }
.rd-article-item h3 a { color: var(--ink); }
.rd-article-item h3 a:hover { color: var(--red); }
.rd-article-item p { color: var(--text); margin: 0; }
.rd-readmore { color: var(--red); font-weight: 400; }

.rd-pager { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.rd-pager a, .rd-pager span {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 10px;
	border: 1px solid var(--line-2); border-radius: 4px;
	color: var(--ink); font-weight: 600;
}
.rd-pager a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.rd-pager .is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.rd-fmag { margin-top: 50px; padding-top: 40px; border-top: 1px solid var(--line); }
.rd-fmag-title { margin-bottom: 22px; }
.rd-fmag-title a { color: var(--ink); }
.rd-fmag-title a:hover { color: var(--red); }
.rd-fmag-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 24px; }
.rd-fmag-item { display: block; color: inherit; }
.rd-fmag-item .img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.rd-fmag-item .img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.rd-fmag-item:hover .img img { transform: scale(1.05); }
.rd-fmag-item .tt { display: block; margin-top: 12px; color: var(--ink); font-family: var(--sans); font-size: 17px; font-weight: 700; line-height: 1.35; }
.rd-fmag-item:hover .tt { color: var(--red); }
@media (max-width: 991px) {
	.rd-fmag-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
}
@media (max-width: 460px) {
	.rd-fmag { margin-top: 36px; padding-top: 28px; }
	.rd-fmag-grid { gap: 22px 14px; }
	.rd-fmag-item .tt { font-size: 15px; }
}

footer, #zFooter { background: transparent; max-width: none !important; width: auto !important; margin: 0 !important; padding: 0 !important; }

#zFooter { position: relative; }
#zFooter::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -300px;
	left: calc(50% - 880px);
	width: 600px;
	height: 620px;
	background: url("/static/img/rd/decor/img-footer.webp") no-repeat bottom left;
	background-size: contain;
	opacity: .8;
	pointer-events: none;
}
#zFooter .zoznam-custom-footer {

	max-width: calc(var(--container) - 40px) !important;
	margin: 40px auto 40px !important;
	padding: 46px 50px;
	background: var(--ink);
	border-radius: 14px;
	box-sizing: border-box;
	display: flex !important;
	flex-wrap: wrap;
	gap: 30px 40px;
	color: #fff;
	float: none !important;
	width: auto !important;
	padding: 46px 50px !important;
}
#zFooter .zoznam-custom-footer-column { flex: 1 1 0; min-width: 170px; margin: 0; padding: 0; float: none !important; width: auto !important; }
#zFooter .zoznam-custom-footer-link-menu { list-style: none; margin: 0; padding: 0; }
#zFooter .zoznam-custom-footer-link-menu li { margin: 0 0 11px; padding: 0; list-style: none; }
#zFooter .zoznam-custom-footer-link-menu li:first-child { margin-bottom: 16px; }
#zFooter .zoznam-custom-footer-link-menu a {
	color: #a0a0a0;
	font-family: var(--sans);
	font-size: 14px;
	text-decoration: none;
	transition: color .15s;
}
#zFooter .zoznam-custom-footer-link-menu a:hover { color: #fff; }
#zFooter .zoznam-custom-footer-link-menu strong a { color: #fff; font-weight: 700; font-size: 16px; }
#zFooter .zoznam-custom-footer-copyright p { color: #8d8d8d; font-size: 13px; line-height: 1.6; margin: 0; }
#zFooter .zoznam-custom-footer-copyright a { color: #8d8d8d; text-decoration: none; }
#zFooter .zoznam-custom-footer-copyright a:hover { color: #fff; }
#zFooter .zoznam-custom-footer-logos { margin-top: 20px; }
#zFooter .zoznam-custom-footer-logos i,
#zFooter .zoznam-custom-footer-logos [class*="icon-footer"],
#zFooter .zoznam-custom-footer-logos [class*="icon-footer"]::before { color: #e2e2e2; font-size: 26px; }
@media (max-width: 720px) {
	#zFooter .zoznam-custom-footer { flex-direction: column; gap: 26px; margin: 24px 16px 24px !important; padding: 30px 24px !important; }
	#zFooter .zoznam-custom-footer-column { width: 100% !important; flex: none; min-width: 0; }
}

@media (max-width: 1100px) {
	.rd-signs { grid-template-columns: repeat(3, 1fr); }
	.rd-num-grid { grid-template-columns: repeat(5, 1fr); }
	.rd-tarot-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 991px) {
	.rd-nav { display: none; }

	.rd-topbar { padding-right: 0; }
	.rd-logo { margin-right: auto; }
	.rd-date { right: 56px; }
	.rd-burger { display: flex; }
	.rd-today, .rd-layout, .rd-inspiration, .rd-tarot-detail { flex-direction: column; }

	.rd-rail, .rd-aside, .rd-today-main, .rd-main { width: 100%; min-width: 0; }
	.rd-rail, .rd-aside { display: none; }
	.rd-tarot-img { width: 100%; max-width: 300px; margin: 0 auto; }
	.rd-inspiration { gap: 26px; text-align: center; }
	.rd-inspiration-card { width: 100%; max-width: 360px; margin: 0 auto; }
	.rd-inspiration-body p { margin-left: auto; margin-right: auto; }
	.rd-tools { grid-template-columns: repeat(2, 1fr); }
	.rd-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
	.rd-h2 { font-size: 24px; }
	.rd-h1 { font-size: 26px; }
	.rd-signs { grid-template-columns: repeat(3, 1fr); gap: 12px; }
	.rd-sign-card a { padding: 16px 5px 12px; }
	.rd-sign-card .ico { width: 46px; height: 46px; margin-bottom: 8px; }
	.rd-sign-card .nm { font-size: 18px; }
	.rd-sign-card .dt { font-size: 12px; }
	.rd-num-grid { grid-template-columns: repeat(4, 1fr); }
	.rd-tarot-grid { grid-template-columns: repeat(3, 1fr); }
	.rd-tools { grid-template-columns: 1fr; }
	.rd-cards { grid-template-columns: 1fr; }
	.rd-word-list { columns: 2; }
	.rd-table td:first-child { width: auto; }
	.rd-table td, .rd-table tr { display: block; }
	.rd-table td:first-child { padding-bottom: 2px; }
	.rd-num-forms { grid-template-columns: 1fr; }
	.rd-decor::before, .rd-decor::after { display: none; }
	.rd-detail-head { flex-direction: column; text-align: center; gap: 14px; }
}
@media (max-width: 460px) {
	.rd-signs { grid-template-columns: repeat(3, 1fr); }
	.rd-word-list { columns: 1; }
}
@media (max-width: 360px) {
	.rd-signs { grid-template-columns: repeat(2, 1fr); }
}

.rd-adv { position: relative; display: flex; align-items: flex-start; justify-content: center; box-sizing: border-box; overflow: hidden; }
.rd-adv::before {
	content: "Reklama";
	position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
	display: flex; align-items: center; justify-content: center;
	background: #ddd; color: #808080; text-transform: uppercase;
	font-family: var(--sans); font-size: 14px; letter-spacing: .08em;
	z-index: 0;
}
.rd-adv > div { position: relative; z-index: 1; }
.rd-adv--leaderboard { height: 0; }
.rd-adv--leaderboard::before { width: 728px; max-width: 100%; }
@media (min-width: 760px) { .rd-adv--leaderboard { height: 90px; margin: 30px auto 10px; } }
.rd-adv--sidebar { height: 0; }
.rd-adv--sidebar::before { width: 300px; max-width: 100%; }
@media (min-width: 991px) { .rd-adv--sidebar { height: 600px; } }
@media (min-width: 991px) { .rd-adv--sticky { position: sticky; top: 30px; } }
.rd-adv--mobilbox { height: 250px; margin: 10px auto 30px; }
.rd-adv--mobilbox::before { width: 300px; max-width: 100%; }
@media (min-width: 720px) { .rd-adv--mobilbox { height: 0; margin: 0; } }
